1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # define SWIGTEMPLATEDISAMBIGUATOR
44 # define SWIGTEMPLATEDISAMBIGUATOR
48 /* inline attribute */
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
66 # define SWIGUNUSED __attribute__ ((__unused__))
72 #ifndef SWIGUNUSEDPARM
74 # define SWIGUNUSEDPARM(p)
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
80 /* internal SWIG method */
82 # define SWIGINTERN static SWIGUNUSED
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
102 # define SWIGEXPORT __declspec(dllexport)
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
113 /* calling conventions for Windows */
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
128 /* Python.h has to appear first */
131 /* -----------------------------------------------------------------------------
134 * This file contains generic CAPI SWIG runtime support for pointer
136 * ----------------------------------------------------------------------------- */
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
148 # define SWIG_TYPE_TABLE_NAME
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
161 # define SWIGRUNTIME SWIGINTERN
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
181 Flags/methods for returning states.
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
187 Use the following macros/flags to set or process the returning
190 In old swig versions, you usually write code as:
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
198 Now you can be more explicit as:
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
207 that seems to be the same, but now you can also do
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
213 if (SWIG_IsNewObj(res) {
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
227 int SWIG_ConvertPtr(obj, ptr,...) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
233 *ptr = <ptr to old object>;
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
256 just use the SWIG_AddCast()/SWIG_CheckState()
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE
int SWIG_AddCast(int r
) {
296 return SWIG_IsOK(r
) ? ((SWIG_CastRank(r
) < SWIG_MAXCASTRANK
) ? (r
+ 1) : SWIG_ERROR
) : r
;
298 SWIGINTERNINLINE
int SWIG_CheckState(int r
) {
299 return SWIG_IsOK(r
) ? SWIG_CastRank(r
) + 1 : 0;
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
315 typedef void *(*swig_converter_func
)(void *);
316 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info
{
320 const char *name
; /* mangled name of this type */
321 const char *str
; /* human readable name of this type */
322 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
324 void *clientdata
; /* language specific type data */
325 int owndata
; /* flag if the structure owns the clientdata */
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info
{
330 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter
; /* function to cast the void pointers */
332 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
333 struct swig_cast_info
*prev
; /* pointer to the previous cast */
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info
{
340 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size
; /* Number of types in this module */
342 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
343 swig_type_info
**type_initial
; /* Array of initially generated type structures */
344 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
345 void *clientdata
; /* Language specific module data */
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
356 SWIG_TypeNameComp(const char *f1
, const char *l1
,
357 const char *f2
, const char *l2
) {
358 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
359 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
360 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
361 if (*f1
!= *f2
) return (*f1
> *f2
) ? 1 : -1;
363 return (l1
- f1
) - (l2
- f2
);
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
371 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
373 const char* te
= tb
+ strlen(tb
);
375 while (!equiv
&& *ne
) {
376 for (nb
= ne
; *ne
; ++ne
) {
377 if (*ne
== '|') break;
379 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
390 SWIG_TypeCompare(const char *nb
, const char *tb
) {
392 const char* te
= tb
+ strlen(tb
);
394 while (!equiv
&& *ne
) {
395 for (nb
= ne
; *ne
; ++ne
) {
396 if (*ne
== '|') break;
398 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
408 swig_cast_info *iter = ty->cast; \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
418 if (ty->cast) ty->cast->prev = iter; \
430 SWIGRUNTIME swig_cast_info
*
431 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
432 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info
*
437 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
438 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
442 Cast a pointer up an inheritance hierarchy
444 SWIGRUNTIMEINLINE
void *
445 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
446 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
450 Dynamic pointer casting. Down an inheritance hierarchy
452 SWIGRUNTIME swig_type_info
*
453 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
454 swig_type_info
*lastty
= ty
;
455 if (!ty
|| !ty
->dcast
) return ty
;
456 while (ty
&& (ty
->dcast
)) {
457 ty
= (*ty
->dcast
)(ptr
);
464 Return the name associated with this type
466 SWIGRUNTIMEINLINE
const char *
467 SWIG_TypeName(const swig_type_info
*ty
) {
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
475 SWIGRUNTIME
const char *
476 SWIG_TypePrettyName(const swig_type_info
*type
) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
481 if (!type
) return NULL
;
482 if (type
->str
!= NULL
) {
483 const char *last_name
= type
->str
;
485 for (s
= type
->str
; *s
; s
++)
486 if (*s
== '|') last_name
= s
+1;
494 Set the clientdata field for a type
497 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
498 swig_cast_info
*cast
= ti
->cast
;
499 /* if (ti->clientdata == clientdata) return; */
500 ti
->clientdata
= clientdata
;
503 if (!cast
->converter
) {
504 swig_type_info
*tc
= cast
->type
;
505 if (!tc
->clientdata
) {
506 SWIG_TypeClientData(tc
, clientdata
);
513 SWIG_TypeNewClientData(swig_type_info
*ti
, void *clientdata
) {
514 SWIG_TypeClientData(ti
, clientdata
);
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
526 SWIGRUNTIME swig_type_info
*
527 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
528 swig_module_info
*end
,
530 swig_module_info
*iter
= start
;
533 register size_t l
= 0;
534 register size_t r
= iter
->size
- 1;
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i
= (l
+ r
) >> 1;
538 const char *iname
= iter
->types
[i
]->name
;
540 register int compare
= strcmp(name
, iname
);
542 return iter
->types
[i
];
543 } else if (compare
< 0) {
549 } else if (compare
> 0) {
553 break; /* should never happen */
558 } while (iter
!= end
);
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
571 SWIGRUNTIME swig_type_info
*
572 SWIG_TypeQueryModule(swig_module_info
*start
,
573 swig_module_info
*end
,
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info
*iter
= start
;
584 register size_t i
= 0;
585 for (; i
< iter
->size
; ++i
) {
586 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
587 return iter
->types
[i
];
590 } while (iter
!= end
);
593 /* neither found a match */
598 Pack binary data into a string
601 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
602 static const char hex
[17] = "0123456789abcdef";
603 register const unsigned char *u
= (unsigned char *) ptr
;
604 register const unsigned char *eu
= u
+ sz
;
605 for (; u
!= eu
; ++u
) {
606 register unsigned char uu
= *u
;
607 *(c
++) = hex
[(uu
& 0xf0) >> 4];
608 *(c
++) = hex
[uu
& 0xf];
614 Unpack binary data from a string
616 SWIGRUNTIME
const char *
617 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
618 register unsigned char *u
= (unsigned char *) ptr
;
619 register const unsigned char *eu
= u
+ sz
;
620 for (; u
!= eu
; ++u
) {
621 register char d
= *(c
++);
622 register unsigned char uu
;
623 if ((d
>= '0') && (d
<= '9'))
624 uu
= ((d
- '0') << 4);
625 else if ((d
>= 'a') && (d
<= 'f'))
626 uu
= ((d
- ('a'-10)) << 4);
630 if ((d
>= '0') && (d
<= '9'))
632 else if ((d
>= 'a') && (d
<= 'f'))
633 uu
|= (d
- ('a'-10));
642 Pack 'void *' into a string buffer.
645 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
647 if ((2*sizeof(void *) + 2) > bsz
) return 0;
649 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
650 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
655 SWIGRUNTIME
const char *
656 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
658 if (strcmp(c
,"NULL") == 0) {
665 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
669 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
671 size_t lname
= (name
? strlen(name
) : 0);
672 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
674 r
= SWIG_PackData(r
,ptr
,sz
);
676 strncpy(r
,name
,lname
+1);
683 SWIGRUNTIME
const char *
684 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
686 if (strcmp(c
,"NULL") == 0) {
693 return SWIG_UnpackData(++c
,ptr
,sz
);
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
717 /* Python.h has to appear first */
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
725 # define PyOS_snprintf snprintf
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
737 PyString_FromFormat(const char *fmt
, ...) {
739 char buf
[SWIG_PYBUFFER_SIZE
* 2];
742 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
744 return (res
< 0 || res
>= (int)sizeof(buf
)) ? 0 : PyString_FromString(buf
);
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
753 # define PyObject_DEL PyObject_Del
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
791 PyObject
*PyBool_FromLong(long ok
)
793 PyObject
*result
= ok
? Py_True
: Py_False
;
800 /* -----------------------------------------------------------------------------
802 * ----------------------------------------------------------------------------- */
804 SWIGRUNTIME PyObject
*
805 SWIG_Python_ErrorType(int code
) {
808 case SWIG_MemoryError
:
809 type
= PyExc_MemoryError
;
812 type
= PyExc_IOError
;
814 case SWIG_RuntimeError
:
815 type
= PyExc_RuntimeError
;
817 case SWIG_IndexError
:
818 type
= PyExc_IndexError
;
821 type
= PyExc_TypeError
;
823 case SWIG_DivisionByZero
:
824 type
= PyExc_ZeroDivisionError
;
826 case SWIG_OverflowError
:
827 type
= PyExc_OverflowError
;
829 case SWIG_SyntaxError
:
830 type
= PyExc_SyntaxError
;
832 case SWIG_ValueError
:
833 type
= PyExc_ValueError
;
835 case SWIG_SystemError
:
836 type
= PyExc_SystemError
;
838 case SWIG_AttributeError
:
839 type
= PyExc_AttributeError
;
842 type
= PyExc_RuntimeError
;
849 SWIG_Python_AddErrorMsg(const char* mesg
)
853 PyObject
*traceback
= 0;
855 if (PyErr_Occurred()) PyErr_Fetch(&type
, &value
, &traceback
);
857 PyObject
*old_str
= PyObject_Str(value
);
860 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
864 PyErr_Format(PyExc_RuntimeError
, mesg
);
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block
{
888 PyGILState_STATE state
;
890 void end() { if (status
) { PyGILState_Release(state
); status
= false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
894 class SWIG_Python_Thread_Allow
{
898 void end() { if (status
) { PyEval_RestoreThread(save
); status
= false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
956 /* Constant information structure */
957 typedef struct swig_const_info
{
963 swig_type_info
**ptype
;
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
984 * ----------------------------------------------------------------------------- */
986 /* Common SWIG API */
988 #if PY_VERSION_HEX < 0x02050000
989 typedef int Py_ssize_t
;
992 /* for raw pointers */
993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999 #define swig_owntype int
1001 /* for raw packed data */
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1005 /* for class or struct pointers */
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1009 /* for C or C++ function pointers */
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1013 /* for C++ member pointers, ie, member methods */
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1020 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1024 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028 #define SWIG_fail goto fail
1031 /* Runtime API implementation */
1033 /* Error manipulation */
1036 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1038 PyErr_SetObject(errtype
, obj
);
1040 SWIG_PYTHON_THREAD_END_BLOCK
;
1044 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1046 PyErr_SetString(errtype
, (char *) msg
);
1047 SWIG_PYTHON_THREAD_END_BLOCK
;
1050 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1052 /* Set a constant value */
1055 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1056 PyDict_SetItemString(d
, (char*) name
, obj
);
1060 /* Append a value to the result obj */
1062 SWIGINTERN PyObject
*
1063 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1067 } else if (result
== Py_None
) {
1071 if (!PyList_Check(result
)) {
1072 PyObject
*o2
= result
;
1073 result
= PyList_New(1);
1074 PyList_SetItem(result
, 0, o2
);
1076 PyList_Append(result
,obj
);
1085 } else if (result
== Py_None
) {
1089 if (!PyTuple_Check(result
)) {
1091 result
= PyTuple_New(1);
1092 PyTuple_SET_ITEM(result
, 0, o2
);
1094 o3
= PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3
, 0, obj
);
1097 result
= PySequence_Concat(o2
, o3
);
1105 /* Unpack the argument tuple */
1108 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1114 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1115 name
, (min
== max
? "" : "at least "), min
);
1119 if (!PyTuple_Check(args
)) {
1120 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1123 register int l
= PyTuple_GET_SIZE(args
);
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at least "), min
, l
);
1128 } else if (l
> max
) {
1129 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1130 name
, (min
== max
? "" : "at most "), max
, l
);
1134 for (i
= 0; i
< l
; ++i
) {
1135 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1137 for (; l
< max
; ++l
) {
1145 /* A functor is a function object with one single object argument */
1146 #if PY_VERSION_HEX >= 0x02020000
1147 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1149 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1157 #define SWIG_STATIC_POINTER(var) var
1159 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1162 /* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1166 /* Flags for new pointer objects */
1167 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1170 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1179 /* How to access Py_None */
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1182 # ifndef SWIG_PYTHON_BUILD_NONE
1183 # define SWIG_PYTHON_BUILD_NONE
1188 #ifdef SWIG_PYTHON_BUILD_NONE
1191 # define Py_None SWIG_Py_None()
1193 SWIGRUNTIMEINLINE PyObject
*
1196 PyObject
*none
= Py_BuildValue("");
1200 SWIGRUNTIME PyObject
*
1203 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1208 /* The python void return value */
1210 SWIGRUNTIMEINLINE PyObject
*
1213 PyObject
*none
= Py_None
;
1218 /* PySwigClientData */
1229 SWIGRUNTIMEINLINE
int
1230 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1232 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1233 return data
? data
->implicitconv
: 0;
1236 SWIGRUNTIMEINLINE PyObject
*
1237 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1238 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1239 PyObject
*klass
= data
? data
->klass
: 0;
1240 return (klass
? klass
: PyExc_RuntimeError
);
1244 SWIGRUNTIME PySwigClientData
*
1245 PySwigClientData_New(PyObject
* obj
)
1250 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1251 /* the klass element */
1253 Py_INCREF(data
->klass
);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj
)) {
1257 data
->newargs
= obj
;
1260 #if (PY_VERSION_HEX < 0x02020000)
1263 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1266 Py_INCREF(data
->newraw
);
1267 data
->newargs
= PyTuple_New(1);
1268 PyTuple_SetItem(data
->newargs
, 0, obj
);
1270 data
->newargs
= obj
;
1272 Py_INCREF(data
->newargs
);
1274 /* the destroy method, aka as the C++ delete method */
1275 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1280 if (data
->destroy
) {
1282 Py_INCREF(data
->destroy
);
1283 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1285 data
->delargs
= !(flags
& (METH_O
));
1292 data
->implicitconv
= 0;
1298 PySwigClientData_Del(PySwigClientData
* data
)
1300 Py_XDECREF(data
->newraw
);
1301 Py_XDECREF(data
->newargs
);
1302 Py_XDECREF(data
->destroy
);
1305 /* =============== PySwigObject =====================*/
1315 SWIGRUNTIME PyObject
*
1316 PySwigObject_long(PySwigObject
*v
)
1318 return PyLong_FromVoidPtr(v
->ptr
);
1321 SWIGRUNTIME PyObject
*
1322 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1324 PyObject
*res
= NULL
;
1325 PyObject
*args
= PyTuple_New(1);
1327 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1328 PyObject
*ofmt
= PyString_FromString(fmt
);
1330 res
= PyString_Format(ofmt
,args
);
1339 SWIGRUNTIME PyObject
*
1340 PySwigObject_oct(PySwigObject
*v
)
1342 return PySwigObject_format("%o",v
);
1345 SWIGRUNTIME PyObject
*
1346 PySwigObject_hex(PySwigObject
*v
)
1348 return PySwigObject_format("%x",v
);
1351 SWIGRUNTIME PyObject
*
1353 PySwigObject_repr(PySwigObject
*v
)
1355 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1358 const char *name
= SWIG_TypePrettyName(v
->ty
);
1359 PyObject
*hex
= PySwigObject_hex(v
);
1360 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1364 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1366 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1368 PyString_ConcatAndDel(&repr
,nrep
);
1374 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1377 PyObject
*repr
= PySwigObject_repr(v
);
1379 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1382 fputs(PyString_AsString(repr
), fp
);
1390 SWIGRUNTIME PyObject
*
1391 PySwigObject_str(PySwigObject
*v
)
1393 char result
[SWIG_BUFFER_SIZE
];
1394 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1395 PyString_FromString(result
) : 0;
1399 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1403 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1406 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1408 SWIGRUNTIME PyTypeObject
*
1409 PySwigObject_type(void) {
1410 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1414 SWIGRUNTIMEINLINE
int
1415 PySwigObject_Check(PyObject
*op
) {
1416 return ((op
)->ob_type
== PySwigObject_type())
1417 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1420 SWIGRUNTIME PyObject
*
1421 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1424 PySwigObject_dealloc(PyObject
*v
)
1426 PySwigObject
*sobj
= (PySwigObject
*) v
;
1427 PyObject
*next
= sobj
->next
;
1429 swig_type_info
*ty
= sobj
->ty
;
1430 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1431 PyObject
*destroy
= data
? data
->destroy
: 0;
1433 /* destroy is always a VARARGS method */
1435 if (data
->delargs
) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1438 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1441 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1442 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1443 res
= ((*meth
)(mself
, v
));
1447 const char *name
= SWIG_TypePrettyName(ty
);
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1457 SWIGRUNTIME PyObject
*
1458 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1460 PySwigObject
*sobj
= (PySwigObject
*) v
;
1463 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1466 if (!PySwigObject_Check(next
)) {
1471 return SWIG_Py_Void();
1474 SWIGRUNTIME PyObject
*
1476 PySwigObject_next(PyObject
* v
)
1478 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1481 PySwigObject
*sobj
= (PySwigObject
*) v
;
1483 Py_INCREF(sobj
->next
);
1486 return SWIG_Py_Void();
1490 SWIGINTERN PyObject
*
1492 PySwigObject_disown(PyObject
*v
)
1494 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1497 PySwigObject
*sobj
= (PySwigObject
*)v
;
1499 return SWIG_Py_Void();
1502 SWIGINTERN PyObject
*
1504 PySwigObject_acquire(PyObject
*v
)
1506 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1509 PySwigObject
*sobj
= (PySwigObject
*)v
;
1510 sobj
->own
= SWIG_POINTER_OWN
;
1511 return SWIG_Py_Void();
1514 SWIGINTERN PyObject
*
1515 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1518 #if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1521 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1528 PySwigObject
*sobj
= (PySwigObject
*)v
;
1529 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1532 if (PyObject_IsTrue(val
)) {
1533 PySwigObject_acquire(v
);
1535 PySwigObject_disown(v
);
1538 if (PyObject_IsTrue(val
)) {
1539 PySwigObject_acquire(v
,args
);
1541 PySwigObject_disown(v
,args
);
1551 swigobject_methods
[] = {
1552 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1562 swigobject_methods
[] = {
1563 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1573 #if PY_VERSION_HEX < 0x02020000
1574 SWIGINTERN PyObject
*
1575 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1577 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1581 SWIGRUNTIME PyTypeObject
*
1582 _PySwigObject_type(void) {
1583 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1585 static PyNumberMethods PySwigObject_as_number
= {
1586 (binaryfunc
)0, /*nb_add*/
1587 (binaryfunc
)0, /*nb_subtract*/
1588 (binaryfunc
)0, /*nb_multiply*/
1589 (binaryfunc
)0, /*nb_divide*/
1590 (binaryfunc
)0, /*nb_remainder*/
1591 (binaryfunc
)0, /*nb_divmod*/
1592 (ternaryfunc
)0,/*nb_power*/
1593 (unaryfunc
)0, /*nb_negative*/
1594 (unaryfunc
)0, /*nb_positive*/
1595 (unaryfunc
)0, /*nb_absolute*/
1596 (inquiry
)0, /*nb_nonzero*/
1603 (coercion
)0, /*nb_coerce*/
1604 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1605 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1606 (unaryfunc
)0, /*nb_float*/
1607 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1608 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1609 #if PY_VERSION_HEX >= 0x02020000
1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1611 #elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1616 static PyTypeObject pyswigobject_type
;
1617 static int type_init
= 0;
1619 const PyTypeObject tmp
1621 PyObject_HEAD_INIT(NULL
)
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject
), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1627 (printfunc
)PySwigObject_print
, /* tp_print */
1628 #if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1631 (getattrfunc
)0, /* tp_getattr */
1633 (setattrfunc
)0, /* tp_setattr */
1634 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1635 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1636 &PySwigObject_as_number
, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc
)0, /* tp_hash */
1640 (ternaryfunc
)0, /* tp_call */
1641 (reprfunc
)PySwigObject_str
, /* tp_str */
1642 PyObject_GenericGetAttr
, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1646 swigobject_doc
, /* tp_doc */
1647 0, /* tp_traverse */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
1651 #if PY_VERSION_HEX >= 0x02020000
1653 0, /* tp_iternext */
1654 swigobject_methods
, /* tp_methods */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
1673 #if PY_VERSION_HEX >= 0x02030000
1677 0,0,0,0 /* tp_alloc -> tp_next */
1680 pyswigobject_type
= tmp
;
1681 pyswigobject_type
.ob_type
= &PyType_Type
;
1684 return &pyswigobject_type
;
1687 SWIGRUNTIME PyObject
*
1688 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1690 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1697 return (PyObject
*)sobj
;
1700 /* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1712 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1714 char result
[SWIG_BUFFER_SIZE
];
1715 fputs("<Swig Packed ", fp
);
1716 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1720 fputs(v
->ty
->name
,fp
);
1725 SWIGRUNTIME PyObject
*
1726 PySwigPacked_repr(PySwigPacked
*v
)
1728 char result
[SWIG_BUFFER_SIZE
];
1729 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1730 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1732 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1736 SWIGRUNTIME PyObject
*
1737 PySwigPacked_str(PySwigPacked
*v
)
1739 char result
[SWIG_BUFFER_SIZE
];
1740 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1741 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1743 return PyString_FromString(v
->ty
->name
);
1748 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1752 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1753 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1756 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1758 SWIGRUNTIME PyTypeObject
*
1759 PySwigPacked_type(void) {
1760 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1764 SWIGRUNTIMEINLINE
int
1765 PySwigPacked_Check(PyObject
*op
) {
1766 return ((op
)->ob_type
== _PySwigPacked_type())
1767 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1771 PySwigPacked_dealloc(PyObject
*v
)
1773 if (PySwigPacked_Check(v
)) {
1774 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1780 SWIGRUNTIME PyTypeObject
*
1781 _PySwigPacked_type(void) {
1782 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type
;
1784 static int type_init
= 0;
1786 const PyTypeObject tmp
1788 PyObject_HEAD_INIT(NULL
)
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked
), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1794 (printfunc
)PySwigPacked_print
, /* tp_print */
1795 (getattrfunc
)0, /* tp_getattr */
1796 (setattrfunc
)0, /* tp_setattr */
1797 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1798 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc
)0, /* tp_hash */
1803 (ternaryfunc
)0, /* tp_call */
1804 (reprfunc
)PySwigPacked_str
, /* tp_str */
1805 PyObject_GenericGetAttr
, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1809 swigpacked_doc
, /* tp_doc */
1810 0, /* tp_traverse */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814 #if PY_VERSION_HEX >= 0x02020000
1816 0, /* tp_iternext */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
1836 #if PY_VERSION_HEX >= 0x02030000
1840 0,0,0,0 /* tp_alloc -> tp_next */
1843 pyswigpacked_type
= tmp
;
1844 pyswigpacked_type
.ob_type
= &PyType_Type
;
1847 return &pyswigpacked_type
;
1850 SWIGRUNTIME PyObject
*
1851 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1853 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1855 void *pack
= malloc(size
);
1857 memcpy(pack
, ptr
, size
);
1862 PyObject_DEL((PyObject
*) sobj
);
1866 return (PyObject
*) sobj
;
1869 SWIGRUNTIME swig_type_info
*
1870 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1872 if (PySwigPacked_Check(obj
)) {
1873 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1874 if (sobj
->size
!= size
) return 0;
1875 memcpy(ptr
, sobj
->pack
, size
);
1882 /* -----------------------------------------------------------------------------
1883 * pointers/data manipulation
1884 * ----------------------------------------------------------------------------- */
1886 SWIGRUNTIMEINLINE PyObject
*
1889 return PyString_FromString("this");
1892 SWIGRUNTIME PyObject
*
1895 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1901 SWIGRUNTIME PySwigObject
*
1902 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1904 if (PySwigObject_Check(pyobj
)) {
1905 return (PySwigObject
*) pyobj
;
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj
)) {
1910 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1912 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1913 if (dictptr
!= NULL
) {
1914 PyObject
*dict
= *dictptr
;
1915 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1917 #ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj
)) {
1919 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1920 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1923 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1927 if (PyErr_Occurred()) PyErr_Clear();
1933 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1937 if (PyErr_Occurred()) PyErr_Clear();
1941 if (obj
&& !PySwigObject_Check(obj
)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj
);
1946 return (PySwigObject
*)obj
;
1950 /* Acquire a pointer value */
1953 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1955 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1957 int oldown
= sobj
->own
;
1965 /* Convert a pointer value */
1968 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1969 if (!obj
) return SWIG_ERROR
;
1970 if (obj
== Py_None
) {
1974 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1976 void *vptr
= sobj
->ptr
;
1978 swig_type_info
*to
= sobj
->ty
;
1980 /* no type cast needed */
1981 if (ptr
) *ptr
= vptr
;
1984 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1986 sobj
= (PySwigObject
*)sobj
->next
;
1988 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1993 if (ptr
) *ptr
= vptr
;
1998 if (own
) *own
= sobj
->own
;
1999 if (flags
& SWIG_POINTER_DISOWN
) {
2004 int res
= SWIG_ERROR
;
2005 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2006 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2007 if (data
&& !data
->implicitconv
) {
2008 PyObject
*klass
= data
->klass
;
2011 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2013 data
->implicitconv
= 0;
2014 if (PyErr_Occurred()) {
2019 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2022 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2023 if (SWIG_IsOK(res
)) {
2026 /* transfer the ownership to 'ptr' */
2028 res
= SWIG_AddCast(res
);
2029 res
= SWIG_AddNewMask(res
);
2031 res
= SWIG_AddCast(res
);
2045 /* Convert a function ptr value */
2048 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2049 if (!PyCFunction_Check(obj
)) {
2050 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2054 /* here we get the method pointer for callbacks */
2055 const char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2056 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2058 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2059 if (!desc
) return SWIG_ERROR
;
2062 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2063 if (!tc
) return SWIG_ERROR
;
2064 *ptr
= SWIG_TypeCast(tc
,vptr
);
2072 /* Convert a packed value value */
2075 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2076 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2077 if (!to
) return SWIG_ERROR
;
2080 /* check type cast? */
2081 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2082 if (!tc
) return SWIG_ERROR
;
2088 /* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
2093 Create a new instance object, whitout calling __init__, and set the
2097 SWIGRUNTIME PyObject
*
2098 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2100 #if (PY_VERSION_HEX >= 0x02020000)
2102 PyObject
*newraw
= data
->newraw
;
2104 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2108 if (dictptr
!= NULL
) {
2109 PyObject
*dict
= *dictptr
;
2111 dict
= PyDict_New();
2113 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2117 PyObject
*key
= SWIG_This();
2118 PyObject_SetAttr(inst
, key
, swig_this
);
2122 PyObject
*dict
= PyDict_New();
2123 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2124 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2129 #if (PY_VERSION_HEX >= 0x02010000)
2131 PyObject
*dict
= PyDict_New();
2132 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2133 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2135 return (PyObject
*) inst
;
2137 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2141 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2142 Py_INCREF(inst
->in_class
);
2143 inst
->in_dict
= PyDict_New();
2144 if (inst
->in_dict
== NULL
) {
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst
->in_weakreflist
= NULL
;
2151 #ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst
);
2154 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2155 return (PyObject
*) inst
;
2161 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2166 if (dictptr
!= NULL
) {
2169 dict
= PyDict_New();
2172 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2176 dict
= PyObject_GetAttrString(inst
, "__dict__");
2177 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2182 SWIGINTERN PyObject
*
2183 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2185 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2188 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2190 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2192 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2194 return SWIG_Py_Void();
2198 /* Create a new pointer object */
2200 SWIGRUNTIME PyObject
*
2201 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2203 return SWIG_Py_Void();
2205 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2206 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2207 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2208 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2209 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2219 /* Create a new packed object */
2221 SWIGRUNTIMEINLINE PyObject
*
2222 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2223 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2226 /* -----------------------------------------------------------------------------*
2228 * -----------------------------------------------------------------------------*/
2230 #ifdef SWIG_LINK_RUNTIME
2231 void *SWIG_ReturnGlobalTypeList(void *);
2234 SWIGRUNTIME swig_module_info
*
2235 SWIG_Python_GetModule(void) {
2236 static void *type_pointer
= (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer
) {
2239 #ifdef SWIG_LINK_RUNTIME
2240 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2242 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2244 if (PyErr_Occurred()) {
2246 type_pointer
= (void *)0;
2250 return (swig_module_info
*) type_pointer
;
2253 #if PY_MAJOR_VERSION < 2
2254 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2255 is copied out of Python/modsupport.c in python version 2.3.4 */
2257 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2260 if (!PyModule_Check(m
)) {
2261 PyErr_SetString(PyExc_TypeError
,
2262 "PyModule_AddObject() needs module as first arg");
2266 PyErr_SetString(PyExc_TypeError
,
2267 "PyModule_AddObject() needs non-NULL value");
2271 dict
= PyModule_GetDict(m
);
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2275 PyModule_GetName(m
));
2278 if (PyDict_SetItemString(dict
, name
, o
))
2286 SWIG_Python_DestroyModule(void *vptr
)
2288 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2289 swig_type_info
**types
= swig_module
->types
;
2291 for (i
=0; i
< swig_module
->size
; ++i
) {
2292 swig_type_info
*ty
= types
[i
];
2294 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2295 if (data
) PySwigClientData_Del(data
);
2298 Py_DECREF(SWIG_This());
2302 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2303 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2305 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2306 swig_empty_runtime_method_table
);
2307 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2308 if (pointer
&& module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2311 Py_XDECREF(pointer
);
2315 /* The python cached type query */
2316 SWIGRUNTIME PyObject
*
2317 SWIG_Python_TypeCache() {
2318 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2322 SWIGRUNTIME swig_type_info
*
2323 SWIG_Python_TypeQuery(const char *type
)
2325 PyObject
*cache
= SWIG_Python_TypeCache();
2326 PyObject
*key
= PyString_FromString(type
);
2327 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2328 swig_type_info
*descriptor
;
2330 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2332 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2333 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2335 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2336 PyDict_SetItem(cache
, key
, obj
);
2345 For backward compatibility only
2347 #define SWIG_POINTER_EXCEPTION 0
2348 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2352 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2354 if (PyErr_Occurred()) {
2356 PyObject
*value
= 0;
2357 PyObject
*traceback
= 0;
2358 PyErr_Fetch(&type
, &value
, &traceback
);
2360 PyObject
*old_str
= PyObject_Str(value
);
2364 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2366 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2377 SWIG_Python_ArgFail(int argnum
)
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2382 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2383 return SWIG_Python_AddErrMesg(mesg
, 1);
2389 SWIGRUNTIMEINLINE
const char *
2390 PySwigObject_GetDesc(PyObject
*self
)
2392 PySwigObject
*v
= (PySwigObject
*)self
;
2393 swig_type_info
*ty
= v
? v
->ty
: 0;
2394 return ty
? ty
->str
: (char*)"";
2398 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2401 #if defined(SWIG_COBJECT_TYPES)
2402 if (obj
&& PySwigObject_Check(obj
)) {
2403 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2405 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2412 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2414 PyObject
*str
= PyObject_Str(obj
);
2415 const char *cstr
= str
? PyString_AsString(str
) : 0;
2417 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2420 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2427 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2429 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2434 /* Convert a pointer value, signal an exception on a type mismatch */
2436 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2438 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2440 if (flags
& SWIG_POINTER_EXCEPTION
) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2442 SWIG_Python_ArgFail(argnum
);
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2464 /* -------- TYPES TABLE (BEGIN) -------- */
2466 #define SWIGTYPE_p_buffer swig_types[0]
2467 #define SWIGTYPE_p_char swig_types[1]
2468 #define SWIGTYPE_p_double swig_types[2]
2469 #define SWIGTYPE_p_form_ops_t swig_types[3]
2470 #define SWIGTYPE_p_int swig_types[4]
2471 #define SWIGTYPE_p_unsigned_char swig_types[5]
2472 #define SWIGTYPE_p_unsigned_int swig_types[6]
2473 #define SWIGTYPE_p_unsigned_long swig_types[7]
2474 #define SWIGTYPE_p_wxANIHandler swig_types[8]
2475 #define SWIGTYPE_p_wxAcceleratorTable swig_types[9]
2476 #define SWIGTYPE_p_wxActivateEvent swig_types[10]
2477 #define SWIGTYPE_p_wxAlphaPixelData swig_types[11]
2478 #define SWIGTYPE_p_wxAlphaPixelData_Accessor swig_types[12]
2479 #define SWIGTYPE_p_wxBMPHandler swig_types[13]
2480 #define SWIGTYPE_p_wxBitmap swig_types[14]
2481 #define SWIGTYPE_p_wxBoxSizer swig_types[15]
2482 #define SWIGTYPE_p_wxBrush swig_types[16]
2483 #define SWIGTYPE_p_wxBrushList swig_types[17]
2484 #define SWIGTYPE_p_wxBufferedDC swig_types[18]
2485 #define SWIGTYPE_p_wxBufferedPaintDC swig_types[19]
2486 #define SWIGTYPE_p_wxCURHandler swig_types[20]
2487 #define SWIGTYPE_p_wxChar swig_types[21]
2488 #define SWIGTYPE_p_wxChildFocusEvent swig_types[22]
2489 #define SWIGTYPE_p_wxClientDC swig_types[23]
2490 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[24]
2491 #define SWIGTYPE_p_wxCloseEvent swig_types[25]
2492 #define SWIGTYPE_p_wxColour swig_types[26]
2493 #define SWIGTYPE_p_wxColourDatabase swig_types[27]
2494 #define SWIGTYPE_p_wxCommandEvent swig_types[28]
2495 #define SWIGTYPE_p_wxContextMenuEvent swig_types[29]
2496 #define SWIGTYPE_p_wxControl swig_types[30]
2497 #define SWIGTYPE_p_wxControlWithItems swig_types[31]
2498 #define SWIGTYPE_p_wxCursor swig_types[32]
2499 #define SWIGTYPE_p_wxDC swig_types[33]
2500 #define SWIGTYPE_p_wxDash swig_types[34]
2501 #define SWIGTYPE_p_wxDateEvent swig_types[35]
2502 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[36]
2503 #define SWIGTYPE_p_wxDropFilesEvent swig_types[37]
2504 #define SWIGTYPE_p_wxDuplexMode swig_types[38]
2505 #define SWIGTYPE_p_wxEffects swig_types[39]
2506 #define SWIGTYPE_p_wxEncodingConverter swig_types[40]
2507 #define SWIGTYPE_p_wxEraseEvent swig_types[41]
2508 #define SWIGTYPE_p_wxEvent swig_types[42]
2509 #define SWIGTYPE_p_wxEvtHandler swig_types[43]
2510 #define SWIGTYPE_p_wxFSFile swig_types[44]
2511 #define SWIGTYPE_p_wxFileSystem swig_types[45]
2512 #define SWIGTYPE_p_wxFlexGridSizer swig_types[46]
2513 #define SWIGTYPE_p_wxFocusEvent swig_types[47]
2514 #define SWIGTYPE_p_wxFont swig_types[48]
2515 #define SWIGTYPE_p_wxFontList swig_types[49]
2516 #define SWIGTYPE_p_wxFontMapper swig_types[50]
2517 #define SWIGTYPE_p_wxGBSizerItem swig_types[51]
2518 #define SWIGTYPE_p_wxGDIObjListBase swig_types[52]
2519 #define SWIGTYPE_p_wxGDIObject swig_types[53]
2520 #define SWIGTYPE_p_wxGIFHandler swig_types[54]
2521 #define SWIGTYPE_p_wxGridBagSizer swig_types[55]
2522 #define SWIGTYPE_p_wxGridSizer swig_types[56]
2523 #define SWIGTYPE_p_wxICOHandler swig_types[57]
2524 #define SWIGTYPE_p_wxIcon swig_types[58]
2525 #define SWIGTYPE_p_wxIconBundle swig_types[59]
2526 #define SWIGTYPE_p_wxIconLocation swig_types[60]
2527 #define SWIGTYPE_p_wxIconizeEvent swig_types[61]
2528 #define SWIGTYPE_p_wxIdleEvent swig_types[62]
2529 #define SWIGTYPE_p_wxImage swig_types[63]
2530 #define SWIGTYPE_p_wxImageHandler swig_types[64]
2531 #define SWIGTYPE_p_wxImageList swig_types[65]
2532 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[66]
2533 #define SWIGTYPE_p_wxInitDialogEvent swig_types[67]
2534 #define SWIGTYPE_p_wxJPEGHandler swig_types[68]
2535 #define SWIGTYPE_p_wxKeyEvent swig_types[69]
2536 #define SWIGTYPE_p_wxLanguageInfo swig_types[70]
2537 #define SWIGTYPE_p_wxLayoutConstraints swig_types[71]
2538 #define SWIGTYPE_p_wxLocale swig_types[72]
2539 #define SWIGTYPE_p_wxMask swig_types[73]
2540 #define SWIGTYPE_p_wxMaximizeEvent swig_types[74]
2541 #define SWIGTYPE_p_wxMemoryDC swig_types[75]
2542 #define SWIGTYPE_p_wxMenu swig_types[76]
2543 #define SWIGTYPE_p_wxMenuBar swig_types[77]
2544 #define SWIGTYPE_p_wxMenuEvent swig_types[78]
2545 #define SWIGTYPE_p_wxMenuItem swig_types[79]
2546 #define SWIGTYPE_p_wxMetaFile swig_types[80]
2547 #define SWIGTYPE_p_wxMetaFileDC swig_types[81]
2548 #define SWIGTYPE_p_wxMirrorDC swig_types[82]
2549 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[83]
2550 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[84]
2551 #define SWIGTYPE_p_wxMouseEvent swig_types[85]
2552 #define SWIGTYPE_p_wxMoveEvent swig_types[86]
2553 #define SWIGTYPE_p_wxNativeEncodingInfo swig_types[87]
2554 #define SWIGTYPE_p_wxNativeFontInfo swig_types[88]
2555 #define SWIGTYPE_p_wxNativePixelData swig_types[89]
2556 #define SWIGTYPE_p_wxNativePixelData_Accessor swig_types[90]
2557 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[91]
2558 #define SWIGTYPE_p_wxNcPaintEvent swig_types[92]
2559 #define SWIGTYPE_p_wxNotifyEvent swig_types[93]
2560 #define SWIGTYPE_p_wxObject swig_types[94]
2561 #define SWIGTYPE_p_wxPCXHandler swig_types[95]
2562 #define SWIGTYPE_p_wxPNGHandler swig_types[96]
2563 #define SWIGTYPE_p_wxPNMHandler swig_types[97]
2564 #define SWIGTYPE_p_wxPaintDC swig_types[98]
2565 #define SWIGTYPE_p_wxPaintEvent swig_types[99]
2566 #define SWIGTYPE_p_wxPalette swig_types[100]
2567 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[101]
2568 #define SWIGTYPE_p_wxPaperSize swig_types[102]
2569 #define SWIGTYPE_p_wxPen swig_types[103]
2570 #define SWIGTYPE_p_wxPenList swig_types[104]
2571 #define SWIGTYPE_p_wxPixelDataBase swig_types[105]
2572 #define SWIGTYPE_p_wxPoint swig_types[106]
2573 #define SWIGTYPE_p_wxPostScriptDC swig_types[107]
2574 #define SWIGTYPE_p_wxPrintData swig_types[108]
2575 #define SWIGTYPE_p_wxPrinterDC swig_types[109]
2576 #define SWIGTYPE_p_wxPseudoDC swig_types[110]
2577 #define SWIGTYPE_p_wxPyApp swig_types[111]
2578 #define SWIGTYPE_p_wxPyCommandEvent swig_types[112]
2579 #define SWIGTYPE_p_wxPyEvent swig_types[113]
2580 #define SWIGTYPE_p_wxPyFontEnumerator swig_types[114]
2581 #define SWIGTYPE_p_wxPyImageHandler swig_types[115]
2582 #define SWIGTYPE_p_wxPyLocale swig_types[116]
2583 #define SWIGTYPE_p_wxPySizer swig_types[117]
2584 #define SWIGTYPE_p_wxPyValidator swig_types[118]
2585 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[119]
2586 #define SWIGTYPE_p_wxRect swig_types[120]
2587 #define SWIGTYPE_p_wxRegion swig_types[121]
2588 #define SWIGTYPE_p_wxRegionIterator swig_types[122]
2589 #define SWIGTYPE_p_wxRendererNative swig_types[123]
2590 #define SWIGTYPE_p_wxRendererVersion swig_types[124]
2591 #define SWIGTYPE_p_wxScreenDC swig_types[125]
2592 #define SWIGTYPE_p_wxScrollEvent swig_types[126]
2593 #define SWIGTYPE_p_wxScrollWinEvent swig_types[127]
2594 #define SWIGTYPE_p_wxSetCursorEvent swig_types[128]
2595 #define SWIGTYPE_p_wxShowEvent swig_types[129]
2596 #define SWIGTYPE_p_wxSize swig_types[130]
2597 #define SWIGTYPE_p_wxSizeEvent swig_types[131]
2598 #define SWIGTYPE_p_wxSizer swig_types[132]
2599 #define SWIGTYPE_p_wxSizerItem swig_types[133]
2600 #define SWIGTYPE_p_wxSplitterRenderParams swig_types[134]
2601 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[135]
2602 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[136]
2603 #define SWIGTYPE_p_wxStockGDI swig_types[137]
2604 #define SWIGTYPE_p_wxString swig_types[138]
2605 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[139]
2606 #define SWIGTYPE_p_wxTIFFHandler swig_types[140]
2607 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[141]
2608 #define SWIGTYPE_p_wxValidator swig_types[142]
2609 #define SWIGTYPE_p_wxWindow swig_types[143]
2610 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[144]
2611 #define SWIGTYPE_p_wxWindowDC swig_types[145]
2612 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[146]
2613 #define SWIGTYPE_p_wxXPMHandler swig_types[147]
2614 static swig_type_info
*swig_types
[149];
2615 static swig_module_info swig_module
= {swig_types
, 148, 0, 0, 0, 0};
2616 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2617 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2619 /* -------- TYPES TABLE (END) -------- */
2621 #if (PY_VERSION_HEX <= 0x02000000)
2622 # if !defined(SWIG_PYTHON_CLASSIC)
2623 # error "This python version requires to use swig with the '-classic' option"
2626 #if (PY_VERSION_HEX <= 0x02020000)
2627 # error "This python version requires to use swig with the '-nomodern' option"
2629 #if (PY_VERSION_HEX <= 0x02020000)
2630 # error "This python version requires to use swig with the '-nomodernargs' option"
2633 # error "This python version requires to use swig with the '-nofastunpack' option"
2636 /*-----------------------------------------------
2637 @(target):= _gdi_.so
2638 ------------------------------------------------*/
2639 #define SWIG_init init_gdi_
2641 #define SWIG_name "_gdi_"
2643 #define SWIGVERSION 0x010329
2646 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2647 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2650 #include <stdexcept>
2654 class PyObject_ptr
{
2659 PyObject_ptr() :_obj(0)
2663 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2668 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2670 if (initial_ref
) Py_XINCREF(_obj
);
2673 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2675 Py_XINCREF(item
._obj
);
2686 operator PyObject
*() const
2691 PyObject
*operator->() const
2700 struct PyObject_var
: PyObject_ptr
{
2701 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2703 PyObject_var
& operator = (PyObject
* obj
)
2713 #include "wx/wxPython/wxPython.h"
2714 #include "wx/wxPython/pyclasses.h"
2717 static const wxString
wxPyEmptyString(wxEmptyString
);
2719 #define SWIG_From_long PyInt_FromLong
2722 SWIGINTERNINLINE PyObject
*
2723 SWIG_From_int (int value
)
2725 return SWIG_From_long (value
);
2731 # define LLONG_MIN LONG_LONG_MIN
2734 # define LLONG_MAX LONG_LONG_MAX
2737 # define ULLONG_MAX ULONG_LONG_MAX
2742 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2744 if (PyNumber_Check(obj
)) {
2745 if (val
) *val
= PyInt_AsLong(obj
);
2748 return SWIG_TypeError
;
2753 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2756 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2757 return SWIG_TypeError
;
2760 *val
= (unsigned long)v
;
2766 SWIG_AsVal_unsigned_SS_char (PyObject
* obj
, unsigned char *val
)
2769 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2770 if (SWIG_IsOK(res
)) {
2771 if ((v
> UCHAR_MAX
)) {
2772 return SWIG_OverflowError
;
2774 if (val
) *val
= static_cast< unsigned char >(v
);
2781 SWIGINTERNINLINE PyObject
*
2782 SWIG_From_unsigned_SS_long (unsigned long value
)
2784 return (value
> LONG_MAX
) ?
2785 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2789 SWIGINTERNINLINE PyObject
*
2790 SWIG_From_unsigned_SS_char (unsigned char value
)
2792 return SWIG_From_unsigned_SS_long (value
);
2795 SWIGINTERN
bool wxColour___eq__(wxColour
*self
,PyObject
*other
){
2796 wxColour temp
, *obj
= &temp
;
2797 if ( other
== Py_None
) return false;
2798 if ( ! wxColour_helper(other
, &obj
) ) {
2802 return self
->operator==(*obj
);
2804 SWIGINTERN
bool wxColour___ne__(wxColour
*self
,PyObject
*other
){
2805 wxColour temp
, *obj
= &temp
;
2806 if ( other
== Py_None
) return true;
2807 if ( ! wxColour_helper(other
, &obj
)) {
2811 return self
->operator!=(*obj
);
2815 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2817 if (obj
== Py_True
) {
2818 if (val
) *val
= true;
2820 } else if (obj
== Py_False
) {
2821 if (val
) *val
= false;
2825 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2826 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2831 SWIGINTERN PyObject
*wxColour_Get(wxColour
*self
,bool includeAlpha
=false){
2832 PyObject
* rv
= PyTuple_New(includeAlpha
? 4 : 3);
2836 int alpha
= wxALPHA_OPAQUE
;
2839 green
= self
->Green();
2840 blue
= self
->Blue();
2841 alpha
= self
->Alpha();
2843 PyTuple_SetItem(rv
, 0, PyInt_FromLong(red
));
2844 PyTuple_SetItem(rv
, 1, PyInt_FromLong(green
));
2845 PyTuple_SetItem(rv
, 2, PyInt_FromLong(blue
));
2847 PyTuple_SetItem(rv
, 3, PyInt_FromLong(alpha
));
2850 SWIGINTERN
unsigned long wxColour_GetRGB(wxColour
*self
){
2851 return self
->Red() | (self
->Green() << 8) | (self
->Blue() << 16);
2855 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2858 int res
= SWIG_AsVal_long (obj
, &v
);
2859 if (SWIG_IsOK(res
)) {
2860 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2861 return SWIG_OverflowError
;
2863 if (val
) *val
= static_cast< int >(v
);
2869 SWIGINTERN PyObject
*wxPen_GetDashes(wxPen
*self
){
2871 int count
= self
->GetDashes(&dashes
);
2872 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2873 PyObject
* retval
= PyList_New(0);
2874 for (int x
=0; x
<count
; x
++) {
2875 PyObject
* pyint
= PyInt_FromLong(dashes
[x
]);
2876 PyList_Append(retval
, pyint
);
2879 wxPyEndBlockThreads(blocked
);
2882 SWIGINTERN
void wxPen__SetDashes(wxPen
*self
,PyObject
*_self
,PyObject
*pyDashes
){
2883 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2884 int size
= PyList_Size(pyDashes
);
2885 wxDash
* dashes
= (wxDash
*)byte_LIST_helper(pyDashes
);
2887 // black magic warning! The array of wxDashes needs to exist as
2888 // long as the pen does because wxPen does not copy the array. So
2889 // stick a copy in a Python string object and attach it to _self,
2890 // and then call SetDashes with a pointer to that array. Then
2891 // when the Python pen object is destroyed the array will be
2893 PyObject
* strDashes
= PyString_FromStringAndSize((char*)dashes
, size
*sizeof(wxDash
));
2894 PyObject_SetAttrString(_self
, "_dashes", strDashes
);
2896 self
->SetDashes(size
, (wxDash
*)PyString_AS_STRING(strDashes
));
2898 Py_DECREF(strDashes
);
2899 wxPyEndBlockThreads(blocked
);
2901 SWIGINTERN
bool wxPen___eq__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
== *other
) : false; }
2902 SWIGINTERN
bool wxPen___ne__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
!= *other
) : true; }
2904 #include <wx/rawbmp.h>
2907 #include <wx/image.h>
2909 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
2910 char** cArray
= NULL
;
2913 if (!PyList_Check(listOfStrings
)) {
2914 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
2917 count
= PyList_Size(listOfStrings
);
2918 cArray
= new char*[count
];
2920 for(int x
=0; x
<count
; x
++) {
2921 // TODO: Need some validation and error checking here
2922 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
2928 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*listOfStrings
){
2929 char** cArray
= NULL
;
2932 cArray
= ConvertListOfStrings(listOfStrings
);
2935 bmp
= new wxBitmap(cArray
);
2939 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*bits
,int width
,int height
,int depth
=1){
2942 PyString_AsStringAndSize(bits
, &buf
, &length
);
2943 return new wxBitmap(buf
, width
, height
, depth
);
2945 SWIGINTERN
void wxBitmap_SetHandle(wxBitmap
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); }
2946 SWIGINTERN wxSize
wxBitmap_GetSize(wxBitmap
*self
){
2947 wxSize
size(self
->GetWidth(), self
->GetHeight());
2950 SWIGINTERN
void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
2951 wxMask
*mask
= new wxMask(*self
, colour
);
2952 self
->SetMask(mask
);
2954 SWIGINTERN
void wxBitmap_SetSize(wxBitmap
*self
,wxSize
const &size
){
2955 self
->SetWidth(size
.x
);
2956 self
->SetHeight(size
.y
);
2958 SWIGINTERN
bool wxBitmap___eq__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
== *other
) : false; }
2959 SWIGINTERN
bool wxBitmap___ne__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
!= *other
) : true; }
2961 // See http://tinyurl.com/e5adr for what premultiplying alpha means. It
2962 // appears to me that the other platforms are already doing it, so I'll just
2963 // automatically do it for wxMSW here.
2965 #define wxPy_premultiply(p, a) ((p) * (a) / 0xff)
2966 #define wxPy_unpremultiply(p, a) ((a) ? ((p) * 0xff / (a)) : (p))
2968 #define wxPy_premultiply(p, a) (p)
2969 #define wxPy_unpremultiply(p, a) (p)
2973 wxBitmap
* _BitmapFromBufferAlpha(int width
, int height
,
2974 buffer data
, int DATASIZE
,
2975 buffer alpha
, int ALPHASIZE
)
2977 if (DATASIZE
!= width
*height
*3) {
2978 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
2982 if (ALPHASIZE
!= width
*height
) {
2983 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
2987 wxBitmap
* bmp
= new wxBitmap(width
, height
, 32);
2988 wxAlphaPixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
2990 // raise an exception...
2991 wxPyErr_SetString(PyExc_RuntimeError
,
2992 "Failed to gain raw access to bitmap data.");
2997 wxAlphaPixelData::Iterator
p(pixData
);
2998 for (int y
=0; y
<height
; y
++) {
2999 wxAlphaPixelData::Iterator rowStart
= p
;
3000 for (int x
=0; x
<width
; x
++) {
3001 byte a
= *(alpha
++);
3002 p
.Red() = wxPy_premultiply(*(data
++), a
);
3003 p
.Green() = wxPy_premultiply(*(data
++), a
);
3004 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3009 p
.OffsetY(pixData
, 1);
3014 wxBitmap
* _BitmapFromBuffer(int width
, int height
, buffer data
, int DATASIZE
)
3016 if (DATASIZE
!= width
*height
*3) {
3017 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3021 wxBitmap
* bmp
= new wxBitmap(width
, height
, 24);
3022 wxNativePixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3024 // raise an exception...
3025 wxPyErr_SetString(PyExc_RuntimeError
,
3026 "Failed to gain raw access to bitmap data.");
3030 wxNativePixelData::Iterator
p(pixData
);
3031 for (int y
=0; y
<height
; y
++) {
3032 wxNativePixelData::Iterator rowStart
= p
;
3033 for (int x
=0; x
<width
; x
++) {
3034 p
.Red() = *(data
++);
3035 p
.Green() = *(data
++);
3036 p
.Blue() = *(data
++);
3040 p
.OffsetY(pixData
, 1);
3046 wxBitmap
* _BitmapFromBufferRGBA(int width
, int height
, buffer data
, int DATASIZE
)
3048 if (DATASIZE
!= width
*height
*4) {
3049 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3053 wxBitmap
* bmp
= new wxBitmap(width
, height
, 32);
3054 wxAlphaPixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3056 // raise an exception...
3057 wxPyErr_SetString(PyExc_RuntimeError
,
3058 "Failed to gain raw access to bitmap data.");
3063 wxAlphaPixelData::Iterator
p(pixData
);
3064 for (int y
=0; y
<height
; y
++) {
3065 wxAlphaPixelData::Iterator rowStart
= p
;
3066 for (int x
=0; x
<width
; x
++) {
3068 p
.Red() = wxPy_premultiply(*(data
++), a
);
3069 p
.Green() = wxPy_premultiply(*(data
++), a
);
3070 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3071 p
.Alpha() = a
; data
++;
3075 p
.OffsetY(pixData
, 1);
3081 typedef wxNativePixelData::Iterator wxNativePixelData_Accessor
;
3083 SWIGINTERN
bool wxNativePixelData___nonzero__(wxNativePixelData
*self
){ return self
->operator bool(); }
3084 SWIGINTERN
void wxNativePixelData_Accessor_nextPixel(wxNativePixelData_Accessor
*self
){ ++(*self
); }
3085 SWIGINTERN
void wxNativePixelData_Accessor_Set(wxNativePixelData_Accessor
*self
,byte red
,byte green
,byte blue
){
3087 self
->Green() = green
;
3088 self
->Blue() = blue
;
3090 SWIGINTERN PyObject
*wxNativePixelData_Accessor_Get(wxNativePixelData_Accessor
*self
){
3091 PyObject
* rv
= PyTuple_New(3);
3092 PyTuple_SetItem(rv
, 0, PyInt_FromLong(self
->Red()));
3093 PyTuple_SetItem(rv
, 1, PyInt_FromLong(self
->Green()));
3094 PyTuple_SetItem(rv
, 2, PyInt_FromLong(self
->Blue()));
3098 typedef wxAlphaPixelData::Iterator wxAlphaPixelData_Accessor
;
3100 SWIGINTERN
bool wxAlphaPixelData___nonzero__(wxAlphaPixelData
*self
){ return self
->operator bool(); }
3101 SWIGINTERN
void wxAlphaPixelData_Accessor_nextPixel(wxAlphaPixelData_Accessor
*self
){ ++(*self
); }
3102 SWIGINTERN
void wxAlphaPixelData_Accessor_Set(wxAlphaPixelData_Accessor
*self
,byte red
,byte green
,byte blue
,byte alpha
){
3103 self
->Red() = wxPy_premultiply(red
, alpha
);
3104 self
->Green() = wxPy_premultiply(green
, alpha
);
3105 self
->Blue() = wxPy_premultiply(blue
, alpha
);
3106 self
->Alpha() = alpha
;
3108 SWIGINTERN PyObject
*wxAlphaPixelData_Accessor_Get(wxAlphaPixelData_Accessor
*self
){
3109 PyObject
* rv
= PyTuple_New(4);
3110 int red
= self
->Red();
3111 int green
= self
->Green();
3112 int blue
= self
->Blue();
3113 int alpha
= self
->Alpha();
3115 PyTuple_SetItem(rv
, 0, PyInt_FromLong( wxPy_unpremultiply(red
, alpha
) ));
3116 PyTuple_SetItem(rv
, 1, PyInt_FromLong( wxPy_unpremultiply(green
, alpha
) ));
3117 PyTuple_SetItem(rv
, 2, PyInt_FromLong( wxPy_unpremultiply(blue
, alpha
) ));
3118 PyTuple_SetItem(rv
, 3, PyInt_FromLong( alpha
));
3121 SWIGINTERN wxMask
*new_wxMask(wxBitmap
const &bitmap
,wxColour
const &colour
=wxNullColour
){
3123 return new wxMask(bitmap
, *wxBLACK
);
3125 return new wxMask(bitmap
, colour
);
3128 #include <wx/iconbndl.h>
3130 SWIGINTERN wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
3131 wxIcon
* icon
= new wxIcon();
3132 icon
->CopyFromBitmap(bmp
);
3135 SWIGINTERN wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
3136 char** cArray
= NULL
;
3139 cArray
= ConvertListOfStrings(listOfStrings
);
3142 icon
= new wxIcon(cArray
);
3146 SWIGINTERN
void wxIcon_SetHandle(wxIcon
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); }
3147 SWIGINTERN wxIconLocation
*new_wxIconLocation(wxString
const *filename
=&wxPyEmptyString
,int num
=0){
3149 return new wxIconLocation(*filename
, num
);
3154 SWIGINTERN
void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
3156 self
->SetIndex(num
);
3161 SWIGINTERN
int wxIconLocation_GetIndex(wxIconLocation
*self
){
3163 return self
->GetIndex();
3168 SWIGINTERN wxCursor
*new_wxCursor(wxString
const &cursorName
,long type
,int hotSpotX
=0,int hotSpotY
=0){
3170 wxImage
img(cursorName
, type
);
3171 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_X
, hotSpotX
);
3172 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_Y
, hotSpotY
);
3173 return new wxCursor(img
);
3175 return new wxCursor(cursorName
, type
, hotSpotX
, hotSpotY
);
3178 SWIGINTERN
void wxCursor_SetHandle(wxCursor
*self
,long handle
){ self
->SetHandle((WXHANDLE
)handle
); }
3181 SWIGINTERN
void wxRegionIterator_Next(wxRegionIterator
*self
){
3184 SWIGINTERN
bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
3185 return self
->operator bool();
3188 #include <wx/fontutil.h>
3189 #include <wx/fontmap.h>
3190 #include <wx/fontenum.h>
3192 SWIGINTERN wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
3193 return self
->ToString();
3196 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
)
3197 { wxPyRaiseNotImplemented(); return NULL
; }
3199 bool wxTestFontEncoding(const wxNativeEncodingInfo
& info
)
3200 { wxPyRaiseNotImplemented(); return false; }
3203 SWIGINTERNINLINE PyObject
*
3204 SWIG_From_size_t (size_t value
)
3206 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
3210 SWIGINTERNINLINE
int
3211 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
3214 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
3215 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
3219 SWIGINTERN PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
=wxPyEmptyString
,bool interactive
=true){
3220 wxFontEncoding alt_enc
;
3221 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
3222 return PyInt_FromLong(alt_enc
);
3228 SWIGINTERN wxFont
*new_wxFont(wxString
const &info
){
3229 wxNativeFontInfo nfi
;
3230 nfi
.FromString(info
);
3231 return new wxFont(nfi
);
3233 SWIGINTERN wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxPyEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3234 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
3236 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,int family
,int style
,int weight
,bool underlined
=false,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3237 return wxFontBase::New(pixelSize
, family
,
3238 style
, weight
, underlined
,
3241 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3242 return wxFontBase::New(pixelSize
, family
, flags
, face
, encoding
);
3244 SWIGINTERN
bool wxFont___eq__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
== *other
) : false; }
3245 SWIGINTERN
bool wxFont___ne__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
!= *other
) : true; }
3247 class wxPyFontEnumerator
: public wxFontEnumerator
{
3249 wxPyFontEnumerator() {}
3250 ~wxPyFontEnumerator() {}
3252 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
3253 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
3258 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
3259 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
3262 SWIGINTERN PyObject
*wxPyFontEnumerator_GetEncodings(){
3264 wxArrayString arr
= wxFontEnumerator::GetEncodings();
3265 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3266 ret
= wxArrayString2PyList_helper(arr
);
3267 wxPyEndBlockThreads(blocked
);
3270 SWIGINTERN PyObject
*wxPyFontEnumerator_GetFacenames(){
3272 wxArrayString arr
= wxFontEnumerator::GetFacenames();
3273 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3274 ret
= wxArrayString2PyList_helper(arr
);
3275 wxPyEndBlockThreads(blocked
);
3281 SWIGINTERN wxLocale
*new_wxLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3284 loc
= new wxLocale();
3286 loc
= new wxLocale(language
, flags
);
3287 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3288 // for the floating point conversions and such to work right.
3289 #if PY_VERSION_HEX < 0x02040000
3290 setlocale(LC_NUMERIC
, "C");
3294 SWIGINTERN
bool wxLocale_Init1(wxLocale
*self
,wxString
const &szName
,wxString
const &szShort
=wxPyEmptyString
,wxString
const &szLocale
=wxPyEmptyString
,bool bLoadDefault
=true,bool bConvertEncoding
=false){
3295 bool rc
= self
->Init(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
);
3296 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3297 // for the floating point conversions and such to work right.
3298 #if PY_VERSION_HEX < 0x02040000
3299 setlocale(LC_NUMERIC
, "C");
3303 SWIGINTERN
bool wxLocale_Init2(wxLocale
*self
,int language
=wxLANGUAGE_DEFAULT
,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3304 bool rc
= self
->Init(language
, flags
);
3305 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3306 // for the floating point conversions and such to work right.
3307 #if PY_VERSION_HEX < 0x02040000
3308 setlocale(LC_NUMERIC
, "C");
3313 class wxPyLocale
: public wxLocale
3318 wxPyLocale(const wxChar
*szName
, // name (for messages)
3319 const wxChar
*szShort
= (const wxChar
*) NULL
, // dir prefix (for msg files)
3320 const wxChar
*szLocale
= (const wxChar
*) NULL
, // locale (for setlocale)
3321 bool bLoadDefault
= true, // preload wxstd.mo?
3322 bool bConvertEncoding
= false); // convert Win<->Unix if necessary?
3324 wxPyLocale(int language
, // wxLanguage id or custom language
3325 int flags
= wxLOCALE_LOAD_DEFAULT
| wxLOCALE_CONV_ENCODING
);
3329 virtual const wxChar
*GetString(const wxChar
*szOrigString
,
3330 const wxChar
*szDomain
= NULL
) const;
3331 virtual const wxChar
*GetString(const wxChar
*szOrigString
,
3332 const wxChar
*szOrigString2
, size_t n
,
3333 const wxChar
*szDomain
= NULL
) const;
3335 virtual wxChar
*GetSingularString(const wxChar
*szOrigString
,
3336 const wxChar
*szDomain
= NULL
) const;
3337 virtual wxChar
*GetPluralString(const wxChar
*szOrigString
,
3338 const wxChar
*szOrigString2
, size_t n
,
3339 const wxChar
*szDomain
= NULL
) const;
3343 DECLARE_NO_COPY_CLASS(wxPyLocale
)
3346 wxPyLocale::wxPyLocale() : wxLocale()
3350 wxPyLocale::wxPyLocale(const wxChar
*szName
, // name (for messages)
3351 const wxChar
*szShort
, // dir prefix (for msg files)
3352 const wxChar
*szLocale
, // locale (for setlocale)
3353 bool bLoadDefault
, // preload wxstd.mo?
3354 bool bConvertEncoding
) // convert Win<->Unix if necessary?
3355 : wxLocale(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
)
3359 wxPyLocale::wxPyLocale(int language
, // wxLanguage id or custom language
3360 int flags
) : wxLocale(language
, flags
)
3364 wxPyLocale::~wxPyLocale()
3368 const wxChar
*wxPyLocale::GetString(const wxChar
*szOrigString
,
3369 const wxChar
*szDomain
) const
3371 wxChar
*str
= GetSingularString(szOrigString
, szDomain
);
3372 return (str
!= NULL
) ? str
: wxLocale::GetString(szOrigString
, szDomain
);
3375 const wxChar
*wxPyLocale::GetString(const wxChar
*szOrigString
,
3376 const wxChar
*szOrigString2
, size_t n
,
3377 const wxChar
*szDomain
) const
3379 wxChar
*str
= GetPluralString(szOrigString
, szOrigString2
, n
, szDomain
);
3380 return (str
!= NULL
) ? str
: wxLocale::GetString(szOrigString
, szOrigString2
, n
, szDomain
);
3383 wxChar
*wxPyLocale::GetSingularString(const wxChar
*szOrigString
,
3384 const wxChar
*szDomain
) const
3387 static wxString str
;
3388 str
= _T("error in translation"); // when the first if condition is true but the second if condition is not we do not want to return the previously queried string.
3389 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3390 if((found
=wxPyCBH_findCallback(m_myInst
, "GetSingularString"))) {
3391 PyObject
* param1
= wx2PyString(szOrigString
);
3392 PyObject
* param2
= wx2PyString(szDomain
);
3393 PyObject
* ret
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OO)", param1
, param2
));
3397 str
= Py2wxString(ret
);
3401 wxPyEndBlockThreads(blocked
);
3402 return (found
? (wxChar
*)str
.c_str() : NULL
);
3405 wxChar
*wxPyLocale::GetPluralString(const wxChar
*szOrigString
,
3406 const wxChar
*szOrigString2
, size_t n
,
3407 const wxChar
*szDomain
) const
3410 static wxString str
;
3411 str
= _T("error in translation"); // when the first if condition is true but the second if condition is not we do not want to return the previously queried string.
3412 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3413 if((found
=wxPyCBH_findCallback(m_myInst
, "GetPluralString"))) {
3414 PyObject
* param1
= wx2PyString(szOrigString
);
3415 PyObject
* param2
= wx2PyString(szOrigString2
);
3416 PyObject
* param4
= wx2PyString(szDomain
);
3417 PyObject
* ret
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOiO)", param1
, param2
, (int)n
, param4
));
3422 str
= Py2wxString(ret
);
3426 wxPyEndBlockThreads(blocked
);
3427 return (found
? (wxChar
*)str
.c_str() : NULL
);
3430 SWIGINTERN wxPyLocale
*new_wxPyLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3433 loc
= new wxPyLocale();
3435 loc
= new wxPyLocale(language
, flags
);
3436 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3437 // for the floating point conversions and such to work right.
3438 #if PY_VERSION_HEX < 0x02040000
3439 setlocale(LC_NUMERIC
, "C");
3444 #include "wx/wxPython/pydrawxxx.h"
3446 SWIGINTERN wxColour
wxDC_GetPixel(wxDC
*self
,int x
,int y
){
3448 self
->GetPixel(x
, y
, &col
);
3451 SWIGINTERN wxColour
wxDC_GetPixelPoint(wxDC
*self
,wxPoint
const &pt
){
3453 self
->GetPixel(pt
, &col
);
3458 SWIG_AsVal_double (PyObject
*obj
, double* val
)
3460 if (PyNumber_Check(obj
)) {
3461 if (val
) *val
= PyFloat_AsDouble(obj
);
3464 return SWIG_TypeError
;
3467 SWIGINTERN wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
=wxALIGN_LEFT
|wxALIGN_TOP
,int indexAccel
=-1){
3469 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
3472 SWIGINTERN wxRect
wxDC_GetClippingRect(wxDC
*self
){
3474 self
->GetClippingBox(rect
);
3477 SWIGINTERN wxArrayInt
wxDC_GetPartialTextExtents(wxDC
*self
,wxString
const &text
){
3479 self
->GetPartialTextExtents(text
, widths
);
3483 #define SWIG_From_double PyFloat_FromDouble
3485 SWIGINTERN
void wxDC_SetLogicalOriginPoint(wxDC
*self
,wxPoint
const &point
){
3486 self
->SetLogicalOrigin(point
.x
, point
.y
);
3488 SWIGINTERN
void wxDC_SetDeviceOriginPoint(wxDC
*self
,wxPoint
const &point
){
3489 self
->SetDeviceOrigin(point
.x
, point
.y
);
3491 SWIGINTERN
void wxDC_CalcBoundingBoxPoint(wxDC
*self
,wxPoint
const &point
){
3492 self
->CalcBoundingBox(point
.x
, point
.y
);
3494 SWIGINTERN PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3495 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
3497 SWIGINTERN PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3498 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
3500 SWIGINTERN PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3501 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
3503 SWIGINTERN PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3504 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
3506 SWIGINTERN PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3507 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
3509 SWIGINTERN PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
3510 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
3513 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
3521 #include <wx/dcbuffer.h>
3524 #include <wx/dcps.h>
3527 #include <wx/metafile.h>
3531 SWIGINTERN
void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
3532 self
->AddColour(name
, wxColour(red
, green
, blue
));
3535 wxFontList
* _wxPyInitTheFontList() { return wxTheFontList
; }
3536 wxPenList
* _wxPyInitThePenList() { return wxThePenList
; }
3537 wxBrushList
* _wxPyInitTheBrushList() { return wxTheBrushList
; }
3538 wxColourDatabase
* _wxPyInitTheColourDatabase() { return wxTheColourDatabase
; }
3541 #include <wx/effects.h>
3544 #include "wx/renderer.h"
3547 SWIGINTERNINLINE PyObject
*
3548 SWIG_From_bool (bool value
)
3550 return PyBool_FromLong(value
? 1 : 0);
3554 #include "wx/wxPython/pseudodc.h"
3556 SWIGINTERN wxRect
wxPseudoDC_GetIdBounds(wxPseudoDC
*self
,int id
){
3558 self
->GetIdBounds(id
, rect
);
3564 SWIGINTERN PyObject
*_wrap_new_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3565 PyObject
*resultobj
= 0;
3566 wxGDIObject
*result
= 0 ;
3568 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObject",0,0,0)) SWIG_fail
;
3570 if (!wxPyCheckForApp()) SWIG_fail
;
3571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3572 result
= (wxGDIObject
*)new wxGDIObject();
3573 wxPyEndAllowThreads(__tstate
);
3574 if (PyErr_Occurred()) SWIG_fail
;
3576 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_NEW
| 0 );
3583 SWIGINTERN PyObject
*_wrap_delete_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3584 PyObject
*resultobj
= 0;
3585 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
3588 PyObject
*swig_obj
[1] ;
3590 if (!args
) SWIG_fail
;
3592 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_DISOWN
| 0 );
3593 if (!SWIG_IsOK(res1
)) {
3594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObject" "', expected argument " "1"" of type '" "wxGDIObject *""'");
3596 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
3598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3601 wxPyEndAllowThreads(__tstate
);
3602 if (PyErr_Occurred()) SWIG_fail
;
3604 resultobj
= SWIG_Py_Void();
3611 SWIGINTERN PyObject
*_wrap_GDIObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3612 PyObject
*resultobj
= 0;
3613 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
3617 PyObject
*swig_obj
[1] ;
3619 if (!args
) SWIG_fail
;
3621 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, 0 | 0 );
3622 if (!SWIG_IsOK(res1
)) {
3623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GDIObject_IsNull" "', expected argument " "1"" of type '" "wxGDIObject *""'");
3625 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
3627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3628 result
= (bool)(arg1
)->IsNull();
3629 wxPyEndAllowThreads(__tstate
);
3630 if (PyErr_Occurred()) SWIG_fail
;
3633 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3641 SWIGINTERN PyObject
*GDIObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3643 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3644 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObject
, SWIG_NewClientData(obj
));
3645 return SWIG_Py_Void();
3648 SWIGINTERN PyObject
*GDIObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3649 return SWIG_Python_InitShadowInstance(args
);
3652 SWIGINTERN PyObject
*_wrap_new_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3653 PyObject
*resultobj
= 0;
3654 byte arg1
= (byte
) 0 ;
3655 byte arg2
= (byte
) 0 ;
3656 byte arg3
= (byte
) 0 ;
3657 byte arg4
= (byte
) wxALPHA_OPAQUE
;
3658 wxColour
*result
= 0 ;
3659 unsigned char val1
;
3661 unsigned char val2
;
3663 unsigned char val3
;
3665 unsigned char val4
;
3667 PyObject
* obj0
= 0 ;
3668 PyObject
* obj1
= 0 ;
3669 PyObject
* obj2
= 0 ;
3670 PyObject
* obj3
= 0 ;
3671 char * kwnames
[] = {
3672 (char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
3675 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
3677 ecode1
= SWIG_AsVal_unsigned_SS_char(obj0
, &val1
);
3678 if (!SWIG_IsOK(ecode1
)) {
3679 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Colour" "', expected argument " "1"" of type '" "byte""'");
3681 arg1
= static_cast< byte
>(val1
);
3684 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
3685 if (!SWIG_IsOK(ecode2
)) {
3686 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Colour" "', expected argument " "2"" of type '" "byte""'");
3688 arg2
= static_cast< byte
>(val2
);
3691 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
3692 if (!SWIG_IsOK(ecode3
)) {
3693 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Colour" "', expected argument " "3"" of type '" "byte""'");
3695 arg3
= static_cast< byte
>(val3
);
3698 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
3699 if (!SWIG_IsOK(ecode4
)) {
3700 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Colour" "', expected argument " "4"" of type '" "byte""'");
3702 arg4
= static_cast< byte
>(val4
);
3705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3706 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
,arg4
);
3707 wxPyEndAllowThreads(__tstate
);
3708 if (PyErr_Occurred()) SWIG_fail
;
3710 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_NEW
| 0 );
3717 SWIGINTERN PyObject
*_wrap_new_NamedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3718 PyObject
*resultobj
= 0;
3719 wxString
*arg1
= 0 ;
3720 wxColour
*result
= 0 ;
3721 bool temp1
= false ;
3722 PyObject
* obj0
= 0 ;
3723 char * kwnames
[] = {
3724 (char *) "colorName", NULL
3727 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) SWIG_fail
;
3729 arg1
= wxString_in_helper(obj0
);
3730 if (arg1
== NULL
) SWIG_fail
;
3734 if (!wxPyCheckForApp()) SWIG_fail
;
3735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3736 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
3737 wxPyEndAllowThreads(__tstate
);
3738 if (PyErr_Occurred()) SWIG_fail
;
3740 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
3755 SWIGINTERN PyObject
*_wrap_new_ColourRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3756 PyObject
*resultobj
= 0;
3757 unsigned long arg1
;
3758 wxColour
*result
= 0 ;
3759 unsigned long val1
;
3761 PyObject
* obj0
= 0 ;
3762 char * kwnames
[] = {
3763 (char *) "colRGB", NULL
3766 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) SWIG_fail
;
3767 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
3768 if (!SWIG_IsOK(ecode1
)) {
3769 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ColourRGB" "', expected argument " "1"" of type '" "unsigned long""'");
3771 arg1
= static_cast< unsigned long >(val1
);
3773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3774 result
= (wxColour
*)new wxColour(arg1
);
3775 wxPyEndAllowThreads(__tstate
);
3776 if (PyErr_Occurred()) SWIG_fail
;
3778 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
3785 SWIGINTERN PyObject
*_wrap_delete_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3786 PyObject
*resultobj
= 0;
3787 wxColour
*arg1
= (wxColour
*) 0 ;
3790 PyObject
*swig_obj
[1] ;
3792 if (!args
) SWIG_fail
;
3794 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, SWIG_POINTER_DISOWN
| 0 );
3795 if (!SWIG_IsOK(res1
)) {
3796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Colour" "', expected argument " "1"" of type '" "wxColour *""'");
3798 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3803 wxPyEndAllowThreads(__tstate
);
3804 if (PyErr_Occurred()) SWIG_fail
;
3806 resultobj
= SWIG_Py_Void();
3813 SWIGINTERN PyObject
*_wrap_Colour_Red(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3814 PyObject
*resultobj
= 0;
3815 wxColour
*arg1
= (wxColour
*) 0 ;
3819 PyObject
*swig_obj
[1] ;
3821 if (!args
) SWIG_fail
;
3823 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3824 if (!SWIG_IsOK(res1
)) {
3825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Red" "', expected argument " "1"" of type '" "wxColour *""'");
3827 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3830 result
= (byte
)(arg1
)->Red();
3831 wxPyEndAllowThreads(__tstate
);
3832 if (PyErr_Occurred()) SWIG_fail
;
3834 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
3841 SWIGINTERN PyObject
*_wrap_Colour_Green(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3842 PyObject
*resultobj
= 0;
3843 wxColour
*arg1
= (wxColour
*) 0 ;
3847 PyObject
*swig_obj
[1] ;
3849 if (!args
) SWIG_fail
;
3851 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3852 if (!SWIG_IsOK(res1
)) {
3853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Green" "', expected argument " "1"" of type '" "wxColour *""'");
3855 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3858 result
= (byte
)(arg1
)->Green();
3859 wxPyEndAllowThreads(__tstate
);
3860 if (PyErr_Occurred()) SWIG_fail
;
3862 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
3869 SWIGINTERN PyObject
*_wrap_Colour_Blue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3870 PyObject
*resultobj
= 0;
3871 wxColour
*arg1
= (wxColour
*) 0 ;
3875 PyObject
*swig_obj
[1] ;
3877 if (!args
) SWIG_fail
;
3879 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3880 if (!SWIG_IsOK(res1
)) {
3881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Blue" "', expected argument " "1"" of type '" "wxColour *""'");
3883 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3886 result
= (byte
)(arg1
)->Blue();
3887 wxPyEndAllowThreads(__tstate
);
3888 if (PyErr_Occurred()) SWIG_fail
;
3890 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
3897 SWIGINTERN PyObject
*_wrap_Colour_Alpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3898 PyObject
*resultobj
= 0;
3899 wxColour
*arg1
= (wxColour
*) 0 ;
3903 PyObject
*swig_obj
[1] ;
3905 if (!args
) SWIG_fail
;
3907 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3908 if (!SWIG_IsOK(res1
)) {
3909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Alpha" "', expected argument " "1"" of type '" "wxColour *""'");
3911 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3914 result
= (byte
)(arg1
)->Alpha();
3915 wxPyEndAllowThreads(__tstate
);
3916 if (PyErr_Occurred()) SWIG_fail
;
3918 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
3925 SWIGINTERN PyObject
*_wrap_Colour_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3926 PyObject
*resultobj
= 0;
3927 wxColour
*arg1
= (wxColour
*) 0 ;
3931 PyObject
*swig_obj
[1] ;
3933 if (!args
) SWIG_fail
;
3935 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3936 if (!SWIG_IsOK(res1
)) {
3937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Ok" "', expected argument " "1"" of type '" "wxColour *""'");
3939 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3942 result
= (bool)(arg1
)->Ok();
3943 wxPyEndAllowThreads(__tstate
);
3944 if (PyErr_Occurred()) SWIG_fail
;
3947 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3955 SWIGINTERN PyObject
*_wrap_Colour_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3956 PyObject
*resultobj
= 0;
3957 wxColour
*arg1
= (wxColour
*) 0 ;
3961 byte arg5
= (byte
) wxALPHA_OPAQUE
;
3964 unsigned char val2
;
3966 unsigned char val3
;
3968 unsigned char val4
;
3970 unsigned char val5
;
3972 PyObject
* obj0
= 0 ;
3973 PyObject
* obj1
= 0 ;
3974 PyObject
* obj2
= 0 ;
3975 PyObject
* obj3
= 0 ;
3976 PyObject
* obj4
= 0 ;
3977 char * kwnames
[] = {
3978 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
3981 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
3982 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3983 if (!SWIG_IsOK(res1
)) {
3984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Set" "', expected argument " "1"" of type '" "wxColour *""'");
3986 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3987 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
3988 if (!SWIG_IsOK(ecode2
)) {
3989 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Set" "', expected argument " "2"" of type '" "byte""'");
3991 arg2
= static_cast< byte
>(val2
);
3992 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
3993 if (!SWIG_IsOK(ecode3
)) {
3994 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Colour_Set" "', expected argument " "3"" of type '" "byte""'");
3996 arg3
= static_cast< byte
>(val3
);
3997 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
3998 if (!SWIG_IsOK(ecode4
)) {
3999 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Colour_Set" "', expected argument " "4"" of type '" "byte""'");
4001 arg4
= static_cast< byte
>(val4
);
4003 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
4004 if (!SWIG_IsOK(ecode5
)) {
4005 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Colour_Set" "', expected argument " "5"" of type '" "byte""'");
4007 arg5
= static_cast< byte
>(val5
);
4010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4011 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
4012 wxPyEndAllowThreads(__tstate
);
4013 if (PyErr_Occurred()) SWIG_fail
;
4015 resultobj
= SWIG_Py_Void();
4022 SWIGINTERN PyObject
*_wrap_Colour_SetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4023 PyObject
*resultobj
= 0;
4024 wxColour
*arg1
= (wxColour
*) 0 ;
4025 unsigned long arg2
;
4028 unsigned long val2
;
4030 PyObject
* obj0
= 0 ;
4031 PyObject
* obj1
= 0 ;
4032 char * kwnames
[] = {
4033 (char *) "self",(char *) "colRGB", NULL
4036 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4037 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4038 if (!SWIG_IsOK(res1
)) {
4039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4041 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4042 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
4043 if (!SWIG_IsOK(ecode2
)) {
4044 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_SetRGB" "', expected argument " "2"" of type '" "unsigned long""'");
4046 arg2
= static_cast< unsigned long >(val2
);
4048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4050 wxPyEndAllowThreads(__tstate
);
4051 if (PyErr_Occurred()) SWIG_fail
;
4053 resultobj
= SWIG_Py_Void();
4060 SWIGINTERN PyObject
*_wrap_Colour_SetFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4061 PyObject
*resultobj
= 0;
4062 wxColour
*arg1
= (wxColour
*) 0 ;
4063 wxString
*arg2
= 0 ;
4066 bool temp2
= false ;
4067 PyObject
* obj0
= 0 ;
4068 PyObject
* obj1
= 0 ;
4069 char * kwnames
[] = {
4070 (char *) "self",(char *) "colourName", NULL
4073 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4074 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4075 if (!SWIG_IsOK(res1
)) {
4076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetFromName" "', expected argument " "1"" of type '" "wxColour *""'");
4078 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4080 arg2
= wxString_in_helper(obj1
);
4081 if (arg2
== NULL
) SWIG_fail
;
4085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4086 (arg1
)->InitFromName((wxString
const &)*arg2
);
4087 wxPyEndAllowThreads(__tstate
);
4088 if (PyErr_Occurred()) SWIG_fail
;
4090 resultobj
= SWIG_Py_Void();
4105 SWIGINTERN PyObject
*_wrap_Colour_GetAsString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4106 PyObject
*resultobj
= 0;
4107 wxColour
*arg1
= (wxColour
*) 0 ;
4108 long arg2
= (long) wxC2S_NAME
|wxC2S_CSS_SYNTAX
;
4114 PyObject
* obj0
= 0 ;
4115 PyObject
* obj1
= 0 ;
4116 char * kwnames
[] = {
4117 (char *) "self",(char *) "flags", NULL
4120 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_GetAsString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4121 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4122 if (!SWIG_IsOK(res1
)) {
4123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetAsString" "', expected argument " "1"" of type '" "wxColour const *""'");
4125 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4127 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
4128 if (!SWIG_IsOK(ecode2
)) {
4129 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_GetAsString" "', expected argument " "2"" of type '" "long""'");
4131 arg2
= static_cast< long >(val2
);
4134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4135 result
= ((wxColour
const *)arg1
)->GetAsString(arg2
);
4136 wxPyEndAllowThreads(__tstate
);
4137 if (PyErr_Occurred()) SWIG_fail
;
4141 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4143 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4152 SWIGINTERN PyObject
*_wrap_Colour_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4153 PyObject
*resultobj
= 0;
4154 wxColour
*arg1
= (wxColour
*) 0 ;
4158 PyObject
*swig_obj
[1] ;
4160 if (!args
) SWIG_fail
;
4162 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4163 if (!SWIG_IsOK(res1
)) {
4164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetPixel" "', expected argument " "1"" of type '" "wxColour const *""'");
4166 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4169 result
= (long)((wxColour
const *)arg1
)->GetPixel();
4170 wxPyEndAllowThreads(__tstate
);
4171 if (PyErr_Occurred()) SWIG_fail
;
4173 resultobj
= SWIG_From_long(static_cast< long >(result
));
4180 SWIGINTERN PyObject
*_wrap_Colour___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4181 PyObject
*resultobj
= 0;
4182 wxColour
*arg1
= (wxColour
*) 0 ;
4183 PyObject
*arg2
= (PyObject
*) 0 ;
4187 PyObject
* obj0
= 0 ;
4188 PyObject
* obj1
= 0 ;
4189 char * kwnames
[] = {
4190 (char *) "self",(char *) "other", NULL
4193 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4194 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4195 if (!SWIG_IsOK(res1
)) {
4196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___eq__" "', expected argument " "1"" of type '" "wxColour *""'");
4198 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4201 result
= (bool)wxColour___eq__(arg1
,arg2
);
4202 if (PyErr_Occurred()) SWIG_fail
;
4205 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4213 SWIGINTERN PyObject
*_wrap_Colour___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4214 PyObject
*resultobj
= 0;
4215 wxColour
*arg1
= (wxColour
*) 0 ;
4216 PyObject
*arg2
= (PyObject
*) 0 ;
4220 PyObject
* obj0
= 0 ;
4221 PyObject
* obj1
= 0 ;
4222 char * kwnames
[] = {
4223 (char *) "self",(char *) "other", NULL
4226 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4227 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4228 if (!SWIG_IsOK(res1
)) {
4229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___ne__" "', expected argument " "1"" of type '" "wxColour *""'");
4231 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4234 result
= (bool)wxColour___ne__(arg1
,arg2
);
4235 if (PyErr_Occurred()) SWIG_fail
;
4238 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4246 SWIGINTERN PyObject
*_wrap_Colour_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4247 PyObject
*resultobj
= 0;
4248 wxColour
*arg1
= (wxColour
*) 0 ;
4249 bool arg2
= (bool) false ;
4250 PyObject
*result
= 0 ;
4255 PyObject
* obj0
= 0 ;
4256 PyObject
* obj1
= 0 ;
4257 char * kwnames
[] = {
4258 (char *) "self",(char *) "includeAlpha", NULL
4261 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_Get",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4262 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4263 if (!SWIG_IsOK(res1
)) {
4264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Get" "', expected argument " "1"" of type '" "wxColour *""'");
4266 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4268 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4269 if (!SWIG_IsOK(ecode2
)) {
4270 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Get" "', expected argument " "2"" of type '" "bool""'");
4272 arg2
= static_cast< bool >(val2
);
4275 result
= (PyObject
*)wxColour_Get(arg1
,arg2
);
4276 if (PyErr_Occurred()) SWIG_fail
;
4285 SWIGINTERN PyObject
*_wrap_Colour_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4286 PyObject
*resultobj
= 0;
4287 wxColour
*arg1
= (wxColour
*) 0 ;
4288 unsigned long result
;
4291 PyObject
*swig_obj
[1] ;
4293 if (!args
) SWIG_fail
;
4295 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4296 if (!SWIG_IsOK(res1
)) {
4297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4299 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4301 result
= (unsigned long)wxColour_GetRGB(arg1
);
4302 if (PyErr_Occurred()) SWIG_fail
;
4304 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
4311 SWIGINTERN PyObject
*Colour_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4313 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4314 SWIG_TypeNewClientData(SWIGTYPE_p_wxColour
, SWIG_NewClientData(obj
));
4315 return SWIG_Py_Void();
4318 SWIGINTERN PyObject
*Colour_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4319 return SWIG_Python_InitShadowInstance(args
);
4322 SWIGINTERN PyObject
*_wrap_new_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4323 PyObject
*resultobj
= 0;
4325 unsigned char *arg2
= (unsigned char *) 0 ;
4326 unsigned char *arg3
= (unsigned char *) 0 ;
4327 unsigned char *arg4
= (unsigned char *) 0 ;
4328 wxPalette
*result
= 0 ;
4337 PyObject
* obj0
= 0 ;
4338 PyObject
* obj1
= 0 ;
4339 PyObject
* obj2
= 0 ;
4340 PyObject
* obj3
= 0 ;
4341 char * kwnames
[] = {
4342 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
4345 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4346 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4347 if (!SWIG_IsOK(ecode1
)) {
4348 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Palette" "', expected argument " "1"" of type '" "int""'");
4350 arg1
= static_cast< int >(val1
);
4351 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4352 if (!SWIG_IsOK(res2
)) {
4353 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_Palette" "', expected argument " "2"" of type '" "unsigned char const *""'");
4355 arg2
= reinterpret_cast< unsigned char * >(argp2
);
4356 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4357 if (!SWIG_IsOK(res3
)) {
4358 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_Palette" "', expected argument " "3"" of type '" "unsigned char const *""'");
4360 arg3
= reinterpret_cast< unsigned char * >(argp3
);
4361 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4362 if (!SWIG_IsOK(res4
)) {
4363 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_Palette" "', expected argument " "4"" of type '" "unsigned char const *""'");
4365 arg4
= reinterpret_cast< unsigned char * >(argp4
);
4367 if (!wxPyCheckForApp()) SWIG_fail
;
4368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4369 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
4370 wxPyEndAllowThreads(__tstate
);
4371 if (PyErr_Occurred()) SWIG_fail
;
4373 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, SWIG_POINTER_NEW
| 0 );
4380 SWIGINTERN PyObject
*_wrap_delete_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4381 PyObject
*resultobj
= 0;
4382 wxPalette
*arg1
= (wxPalette
*) 0 ;
4385 PyObject
*swig_obj
[1] ;
4387 if (!args
) SWIG_fail
;
4389 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, SWIG_POINTER_DISOWN
| 0 );
4390 if (!SWIG_IsOK(res1
)) {
4391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Palette" "', expected argument " "1"" of type '" "wxPalette *""'");
4393 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4398 wxPyEndAllowThreads(__tstate
);
4399 if (PyErr_Occurred()) SWIG_fail
;
4401 resultobj
= SWIG_Py_Void();
4408 SWIGINTERN PyObject
*_wrap_Palette_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4409 PyObject
*resultobj
= 0;
4410 wxPalette
*arg1
= (wxPalette
*) 0 ;
4417 unsigned char val2
;
4419 unsigned char val3
;
4421 unsigned char val4
;
4423 PyObject
* obj0
= 0 ;
4424 PyObject
* obj1
= 0 ;
4425 PyObject
* obj2
= 0 ;
4426 PyObject
* obj3
= 0 ;
4427 char * kwnames
[] = {
4428 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
4431 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4432 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4433 if (!SWIG_IsOK(res1
)) {
4434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetPixel" "', expected argument " "1"" of type '" "wxPalette *""'");
4436 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4437 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4438 if (!SWIG_IsOK(ecode2
)) {
4439 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetPixel" "', expected argument " "2"" of type '" "byte""'");
4441 arg2
= static_cast< byte
>(val2
);
4442 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4443 if (!SWIG_IsOK(ecode3
)) {
4444 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Palette_GetPixel" "', expected argument " "3"" of type '" "byte""'");
4446 arg3
= static_cast< byte
>(val3
);
4447 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4448 if (!SWIG_IsOK(ecode4
)) {
4449 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Palette_GetPixel" "', expected argument " "4"" of type '" "byte""'");
4451 arg4
= static_cast< byte
>(val4
);
4453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4454 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
4455 wxPyEndAllowThreads(__tstate
);
4456 if (PyErr_Occurred()) SWIG_fail
;
4458 resultobj
= SWIG_From_int(static_cast< int >(result
));
4465 SWIGINTERN PyObject
*_wrap_Palette_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4466 PyObject
*resultobj
= 0;
4467 wxPalette
*arg1
= (wxPalette
*) 0 ;
4469 byte
*arg3
= (byte
*) 0 ;
4470 byte
*arg4
= (byte
*) 0 ;
4471 byte
*arg5
= (byte
*) 0 ;
4478 int res3
= SWIG_TMPOBJ
;
4480 int res4
= SWIG_TMPOBJ
;
4482 int res5
= SWIG_TMPOBJ
;
4483 PyObject
* obj0
= 0 ;
4484 PyObject
* obj1
= 0 ;
4485 char * kwnames
[] = {
4486 (char *) "self",(char *) "pixel", NULL
4492 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4493 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4494 if (!SWIG_IsOK(res1
)) {
4495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetRGB" "', expected argument " "1"" of type '" "wxPalette *""'");
4497 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4498 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4499 if (!SWIG_IsOK(ecode2
)) {
4500 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetRGB" "', expected argument " "2"" of type '" "int""'");
4502 arg2
= static_cast< int >(val2
);
4504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4505 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
4506 wxPyEndAllowThreads(__tstate
);
4507 if (PyErr_Occurred()) SWIG_fail
;
4510 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4512 if (SWIG_IsTmpObj(res3
)) {
4513 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg3
)));
4515 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4516 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, new_flags
));
4518 if (SWIG_IsTmpObj(res4
)) {
4519 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg4
)));
4521 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4522 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, new_flags
));
4524 if (SWIG_IsTmpObj(res5
)) {
4525 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg5
)));
4527 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4528 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_unsigned_char
, new_flags
));
4536 SWIGINTERN PyObject
*_wrap_Palette_GetColoursCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4537 PyObject
*resultobj
= 0;
4538 wxPalette
*arg1
= (wxPalette
*) 0 ;
4542 PyObject
*swig_obj
[1] ;
4544 if (!args
) SWIG_fail
;
4546 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4547 if (!SWIG_IsOK(res1
)) {
4548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetColoursCount" "', expected argument " "1"" of type '" "wxPalette const *""'");
4550 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4553 result
= (int)((wxPalette
const *)arg1
)->GetColoursCount();
4554 wxPyEndAllowThreads(__tstate
);
4555 if (PyErr_Occurred()) SWIG_fail
;
4557 resultobj
= SWIG_From_int(static_cast< int >(result
));
4564 SWIGINTERN PyObject
*_wrap_Palette_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4565 PyObject
*resultobj
= 0;
4566 wxPalette
*arg1
= (wxPalette
*) 0 ;
4570 PyObject
*swig_obj
[1] ;
4572 if (!args
) SWIG_fail
;
4574 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4575 if (!SWIG_IsOK(res1
)) {
4576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_Ok" "', expected argument " "1"" of type '" "wxPalette *""'");
4578 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4581 result
= (bool)(arg1
)->Ok();
4582 wxPyEndAllowThreads(__tstate
);
4583 if (PyErr_Occurred()) SWIG_fail
;
4586 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4594 SWIGINTERN PyObject
*Palette_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4596 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4597 SWIG_TypeNewClientData(SWIGTYPE_p_wxPalette
, SWIG_NewClientData(obj
));
4598 return SWIG_Py_Void();
4601 SWIGINTERN PyObject
*Palette_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4602 return SWIG_Python_InitShadowInstance(args
);
4605 SWIGINTERN PyObject
*_wrap_new_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4606 PyObject
*resultobj
= 0;
4607 wxColour
*arg1
= 0 ;
4608 int arg2
= (int) 1 ;
4609 int arg3
= (int) wxSOLID
;
4616 PyObject
* obj0
= 0 ;
4617 PyObject
* obj1
= 0 ;
4618 PyObject
* obj2
= 0 ;
4619 char * kwnames
[] = {
4620 (char *) "colour",(char *) "width",(char *) "style", NULL
4623 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4626 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
4629 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4630 if (!SWIG_IsOK(ecode2
)) {
4631 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Pen" "', expected argument " "2"" of type '" "int""'");
4633 arg2
= static_cast< int >(val2
);
4636 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4637 if (!SWIG_IsOK(ecode3
)) {
4638 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Pen" "', expected argument " "3"" of type '" "int""'");
4640 arg3
= static_cast< int >(val3
);
4643 if (!wxPyCheckForApp()) SWIG_fail
;
4644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4645 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
4646 wxPyEndAllowThreads(__tstate
);
4647 if (PyErr_Occurred()) SWIG_fail
;
4649 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, SWIG_POINTER_NEW
| 0 );
4656 SWIGINTERN PyObject
*_wrap_delete_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4657 PyObject
*resultobj
= 0;
4658 wxPen
*arg1
= (wxPen
*) 0 ;
4661 PyObject
*swig_obj
[1] ;
4663 if (!args
) SWIG_fail
;
4665 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, SWIG_POINTER_DISOWN
| 0 );
4666 if (!SWIG_IsOK(res1
)) {
4667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Pen" "', expected argument " "1"" of type '" "wxPen *""'");
4669 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4674 wxPyEndAllowThreads(__tstate
);
4675 if (PyErr_Occurred()) SWIG_fail
;
4677 resultobj
= SWIG_Py_Void();
4684 SWIGINTERN PyObject
*_wrap_Pen_GetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4685 PyObject
*resultobj
= 0;
4686 wxPen
*arg1
= (wxPen
*) 0 ;
4690 PyObject
*swig_obj
[1] ;
4692 if (!args
) SWIG_fail
;
4694 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4695 if (!SWIG_IsOK(res1
)) {
4696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetCap" "', expected argument " "1"" of type '" "wxPen *""'");
4698 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4701 result
= (int)(arg1
)->GetCap();
4702 wxPyEndAllowThreads(__tstate
);
4703 if (PyErr_Occurred()) SWIG_fail
;
4705 resultobj
= SWIG_From_int(static_cast< int >(result
));
4712 SWIGINTERN PyObject
*_wrap_Pen_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4713 PyObject
*resultobj
= 0;
4714 wxPen
*arg1
= (wxPen
*) 0 ;
4718 PyObject
*swig_obj
[1] ;
4720 if (!args
) SWIG_fail
;
4722 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4723 if (!SWIG_IsOK(res1
)) {
4724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetColour" "', expected argument " "1"" of type '" "wxPen *""'");
4726 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4729 result
= (arg1
)->GetColour();
4730 wxPyEndAllowThreads(__tstate
);
4731 if (PyErr_Occurred()) SWIG_fail
;
4733 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4740 SWIGINTERN PyObject
*_wrap_Pen_GetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4741 PyObject
*resultobj
= 0;
4742 wxPen
*arg1
= (wxPen
*) 0 ;
4746 PyObject
*swig_obj
[1] ;
4748 if (!args
) SWIG_fail
;
4750 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4751 if (!SWIG_IsOK(res1
)) {
4752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
4754 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4757 result
= (int)(arg1
)->GetJoin();
4758 wxPyEndAllowThreads(__tstate
);
4759 if (PyErr_Occurred()) SWIG_fail
;
4761 resultobj
= SWIG_From_int(static_cast< int >(result
));
4768 SWIGINTERN PyObject
*_wrap_Pen_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4769 PyObject
*resultobj
= 0;
4770 wxPen
*arg1
= (wxPen
*) 0 ;
4774 PyObject
*swig_obj
[1] ;
4776 if (!args
) SWIG_fail
;
4778 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4779 if (!SWIG_IsOK(res1
)) {
4780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
4782 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4785 result
= (int)(arg1
)->GetStyle();
4786 wxPyEndAllowThreads(__tstate
);
4787 if (PyErr_Occurred()) SWIG_fail
;
4789 resultobj
= SWIG_From_int(static_cast< int >(result
));
4796 SWIGINTERN PyObject
*_wrap_Pen_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4797 PyObject
*resultobj
= 0;
4798 wxPen
*arg1
= (wxPen
*) 0 ;
4802 PyObject
*swig_obj
[1] ;
4804 if (!args
) SWIG_fail
;
4806 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4807 if (!SWIG_IsOK(res1
)) {
4808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
4810 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4813 result
= (int)(arg1
)->GetWidth();
4814 wxPyEndAllowThreads(__tstate
);
4815 if (PyErr_Occurred()) SWIG_fail
;
4817 resultobj
= SWIG_From_int(static_cast< int >(result
));
4824 SWIGINTERN PyObject
*_wrap_Pen_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4825 PyObject
*resultobj
= 0;
4826 wxPen
*arg1
= (wxPen
*) 0 ;
4830 PyObject
*swig_obj
[1] ;
4832 if (!args
) SWIG_fail
;
4834 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4835 if (!SWIG_IsOK(res1
)) {
4836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_Ok" "', expected argument " "1"" of type '" "wxPen *""'");
4838 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4841 result
= (bool)(arg1
)->Ok();
4842 wxPyEndAllowThreads(__tstate
);
4843 if (PyErr_Occurred()) SWIG_fail
;
4846 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4854 SWIGINTERN PyObject
*_wrap_Pen_SetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4855 PyObject
*resultobj
= 0;
4856 wxPen
*arg1
= (wxPen
*) 0 ;
4862 PyObject
* obj0
= 0 ;
4863 PyObject
* obj1
= 0 ;
4864 char * kwnames
[] = {
4865 (char *) "self",(char *) "cap_style", NULL
4868 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4869 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4870 if (!SWIG_IsOK(res1
)) {
4871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetCap" "', expected argument " "1"" of type '" "wxPen *""'");
4873 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4874 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4875 if (!SWIG_IsOK(ecode2
)) {
4876 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetCap" "', expected argument " "2"" of type '" "int""'");
4878 arg2
= static_cast< int >(val2
);
4880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4881 (arg1
)->SetCap(arg2
);
4882 wxPyEndAllowThreads(__tstate
);
4883 if (PyErr_Occurred()) SWIG_fail
;
4885 resultobj
= SWIG_Py_Void();
4892 SWIGINTERN PyObject
*_wrap_Pen_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4893 PyObject
*resultobj
= 0;
4894 wxPen
*arg1
= (wxPen
*) 0 ;
4895 wxColour
*arg2
= 0 ;
4899 PyObject
* obj0
= 0 ;
4900 PyObject
* obj1
= 0 ;
4901 char * kwnames
[] = {
4902 (char *) "self",(char *) "colour", NULL
4905 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4906 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4907 if (!SWIG_IsOK(res1
)) {
4908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetColour" "', expected argument " "1"" of type '" "wxPen *""'");
4910 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4913 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
4916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4917 (arg1
)->SetColour(*arg2
);
4918 wxPyEndAllowThreads(__tstate
);
4919 if (PyErr_Occurred()) SWIG_fail
;
4921 resultobj
= SWIG_Py_Void();
4928 SWIGINTERN PyObject
*_wrap_Pen_SetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4929 PyObject
*resultobj
= 0;
4930 wxPen
*arg1
= (wxPen
*) 0 ;
4936 PyObject
* obj0
= 0 ;
4937 PyObject
* obj1
= 0 ;
4938 char * kwnames
[] = {
4939 (char *) "self",(char *) "join_style", NULL
4942 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4943 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4944 if (!SWIG_IsOK(res1
)) {
4945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
4947 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4948 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4949 if (!SWIG_IsOK(ecode2
)) {
4950 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetJoin" "', expected argument " "2"" of type '" "int""'");
4952 arg2
= static_cast< int >(val2
);
4954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4955 (arg1
)->SetJoin(arg2
);
4956 wxPyEndAllowThreads(__tstate
);
4957 if (PyErr_Occurred()) SWIG_fail
;
4959 resultobj
= SWIG_Py_Void();
4966 SWIGINTERN PyObject
*_wrap_Pen_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4967 PyObject
*resultobj
= 0;
4968 wxPen
*arg1
= (wxPen
*) 0 ;
4974 PyObject
* obj0
= 0 ;
4975 PyObject
* obj1
= 0 ;
4976 char * kwnames
[] = {
4977 (char *) "self",(char *) "style", NULL
4980 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4981 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4982 if (!SWIG_IsOK(res1
)) {
4983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
4985 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4986 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4987 if (!SWIG_IsOK(ecode2
)) {
4988 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetStyle" "', expected argument " "2"" of type '" "int""'");
4990 arg2
= static_cast< int >(val2
);
4992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4993 (arg1
)->SetStyle(arg2
);
4994 wxPyEndAllowThreads(__tstate
);
4995 if (PyErr_Occurred()) SWIG_fail
;
4997 resultobj
= SWIG_Py_Void();
5004 SWIGINTERN PyObject
*_wrap_Pen_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5005 PyObject
*resultobj
= 0;
5006 wxPen
*arg1
= (wxPen
*) 0 ;
5012 PyObject
* obj0
= 0 ;
5013 PyObject
* obj1
= 0 ;
5014 char * kwnames
[] = {
5015 (char *) "self",(char *) "width", NULL
5018 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5019 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5020 if (!SWIG_IsOK(res1
)) {
5021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
5023 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5024 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5025 if (!SWIG_IsOK(ecode2
)) {
5026 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetWidth" "', expected argument " "2"" of type '" "int""'");
5028 arg2
= static_cast< int >(val2
);
5030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5031 (arg1
)->SetWidth(arg2
);
5032 wxPyEndAllowThreads(__tstate
);
5033 if (PyErr_Occurred()) SWIG_fail
;
5035 resultobj
= SWIG_Py_Void();
5042 SWIGINTERN PyObject
*_wrap_Pen_SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5043 PyObject
*resultobj
= 0;
5044 wxPen
*arg1
= (wxPen
*) 0 ;
5046 wxDash
*arg3
= (wxDash
*) 0 ;
5049 PyObject
* obj0
= 0 ;
5050 PyObject
* obj1
= 0 ;
5051 char * kwnames
[] = {
5052 (char *) "self",(char *) "dashes", NULL
5055 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5056 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5057 if (!SWIG_IsOK(res1
)) {
5058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5060 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5062 arg2
= PyList_Size(obj1
);
5063 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
5064 if (arg3
== NULL
) SWIG_fail
;
5067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5068 (arg1
)->SetDashes(arg2
,arg3
);
5069 wxPyEndAllowThreads(__tstate
);
5070 if (PyErr_Occurred()) SWIG_fail
;
5072 resultobj
= SWIG_Py_Void();
5074 if (arg3
) delete [] arg3
;
5079 if (arg3
) delete [] arg3
;
5085 SWIGINTERN PyObject
*_wrap_Pen_GetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5086 PyObject
*resultobj
= 0;
5087 wxPen
*arg1
= (wxPen
*) 0 ;
5088 PyObject
*result
= 0 ;
5091 PyObject
*swig_obj
[1] ;
5093 if (!args
) SWIG_fail
;
5095 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5096 if (!SWIG_IsOK(res1
)) {
5097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5099 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5102 result
= (PyObject
*)wxPen_GetDashes(arg1
);
5103 wxPyEndAllowThreads(__tstate
);
5104 if (PyErr_Occurred()) SWIG_fail
;
5113 SWIGINTERN PyObject
*_wrap_Pen__SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5114 PyObject
*resultobj
= 0;
5115 wxPen
*arg1
= (wxPen
*) 0 ;
5116 PyObject
*arg2
= (PyObject
*) 0 ;
5117 PyObject
*arg3
= (PyObject
*) 0 ;
5120 PyObject
* obj0
= 0 ;
5121 PyObject
* obj1
= 0 ;
5122 PyObject
* obj2
= 0 ;
5123 char * kwnames
[] = {
5124 (char *) "self",(char *) "_self",(char *) "pyDashes", NULL
5127 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Pen__SetDashes",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5128 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5129 if (!SWIG_IsOK(res1
)) {
5130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen__SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5132 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5137 wxPen__SetDashes(arg1
,arg2
,arg3
);
5138 wxPyEndAllowThreads(__tstate
);
5139 if (PyErr_Occurred()) SWIG_fail
;
5141 resultobj
= SWIG_Py_Void();
5148 SWIGINTERN PyObject
*_wrap_Pen_GetDashCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5149 PyObject
*resultobj
= 0;
5150 wxPen
*arg1
= (wxPen
*) 0 ;
5154 PyObject
*swig_obj
[1] ;
5156 if (!args
) SWIG_fail
;
5158 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5159 if (!SWIG_IsOK(res1
)) {
5160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashCount" "', expected argument " "1"" of type '" "wxPen const *""'");
5162 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5165 result
= (int)((wxPen
const *)arg1
)->GetDashCount();
5166 wxPyEndAllowThreads(__tstate
);
5167 if (PyErr_Occurred()) SWIG_fail
;
5169 resultobj
= SWIG_From_int(static_cast< int >(result
));
5176 SWIGINTERN PyObject
*_wrap_Pen_GetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5177 PyObject
*resultobj
= 0;
5178 wxPen
*arg1
= (wxPen
*) 0 ;
5179 wxBitmap
*result
= 0 ;
5182 PyObject
*swig_obj
[1] ;
5184 if (!args
) SWIG_fail
;
5186 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5187 if (!SWIG_IsOK(res1
)) {
5188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetStipple" "', expected argument " "1"" of type '" "wxPen *""'");
5190 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5193 result
= (wxBitmap
*)(arg1
)->GetStipple();
5194 wxPyEndAllowThreads(__tstate
);
5195 if (PyErr_Occurred()) SWIG_fail
;
5197 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
5204 SWIGINTERN PyObject
*_wrap_Pen_SetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5205 PyObject
*resultobj
= 0;
5206 wxPen
*arg1
= (wxPen
*) 0 ;
5207 wxBitmap
*arg2
= 0 ;
5212 PyObject
* obj0
= 0 ;
5213 PyObject
* obj1
= 0 ;
5214 char * kwnames
[] = {
5215 (char *) "self",(char *) "stipple", NULL
5218 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStipple",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5219 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5220 if (!SWIG_IsOK(res1
)) {
5221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetStipple" "', expected argument " "1"" of type '" "wxPen *""'");
5223 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5224 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 );
5225 if (!SWIG_IsOK(res2
)) {
5226 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen_SetStipple" "', expected argument " "2"" of type '" "wxBitmap &""'");
5229 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Pen_SetStipple" "', expected argument " "2"" of type '" "wxBitmap &""'");
5231 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
5233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5234 (arg1
)->SetStipple(*arg2
);
5235 wxPyEndAllowThreads(__tstate
);
5236 if (PyErr_Occurred()) SWIG_fail
;
5238 resultobj
= SWIG_Py_Void();
5245 SWIGINTERN PyObject
*_wrap_Pen___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5246 PyObject
*resultobj
= 0;
5247 wxPen
*arg1
= (wxPen
*) 0 ;
5248 wxPen
*arg2
= (wxPen
*) 0 ;
5254 PyObject
* obj0
= 0 ;
5255 PyObject
* obj1
= 0 ;
5256 char * kwnames
[] = {
5257 (char *) "self",(char *) "other", NULL
5260 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5261 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5262 if (!SWIG_IsOK(res1
)) {
5263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___eq__" "', expected argument " "1"" of type '" "wxPen *""'");
5265 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5266 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5267 if (!SWIG_IsOK(res2
)) {
5268 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___eq__" "', expected argument " "2"" of type '" "wxPen const *""'");
5270 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5273 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
5274 wxPyEndAllowThreads(__tstate
);
5275 if (PyErr_Occurred()) SWIG_fail
;
5278 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5286 SWIGINTERN PyObject
*_wrap_Pen___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5287 PyObject
*resultobj
= 0;
5288 wxPen
*arg1
= (wxPen
*) 0 ;
5289 wxPen
*arg2
= (wxPen
*) 0 ;
5295 PyObject
* obj0
= 0 ;
5296 PyObject
* obj1
= 0 ;
5297 char * kwnames
[] = {
5298 (char *) "self",(char *) "other", NULL
5301 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5302 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5303 if (!SWIG_IsOK(res1
)) {
5304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___ne__" "', expected argument " "1"" of type '" "wxPen *""'");
5306 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5307 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5308 if (!SWIG_IsOK(res2
)) {
5309 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___ne__" "', expected argument " "2"" of type '" "wxPen const *""'");
5311 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5314 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
5315 wxPyEndAllowThreads(__tstate
);
5316 if (PyErr_Occurred()) SWIG_fail
;
5319 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5327 SWIGINTERN PyObject
*Pen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5329 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5330 SWIG_TypeNewClientData(SWIGTYPE_p_wxPen
, SWIG_NewClientData(obj
));
5331 return SWIG_Py_Void();
5334 SWIGINTERN PyObject
*Pen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5335 return SWIG_Python_InitShadowInstance(args
);
5338 SWIGINTERN PyObject
*_wrap_new_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5339 PyObject
*resultobj
= 0;
5340 wxColour
*arg1
= 0 ;
5341 int arg2
= (int) wxSOLID
;
5342 wxBrush
*result
= 0 ;
5346 PyObject
* obj0
= 0 ;
5347 PyObject
* obj1
= 0 ;
5348 char * kwnames
[] = {
5349 (char *) "colour",(char *) "style", NULL
5352 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5355 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
5358 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5359 if (!SWIG_IsOK(ecode2
)) {
5360 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Brush" "', expected argument " "2"" of type '" "int""'");
5362 arg2
= static_cast< int >(val2
);
5365 if (!wxPyCheckForApp()) SWIG_fail
;
5366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5367 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
5368 wxPyEndAllowThreads(__tstate
);
5369 if (PyErr_Occurred()) SWIG_fail
;
5371 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_NEW
| 0 );
5378 SWIGINTERN PyObject
*_wrap_new_BrushFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5379 PyObject
*resultobj
= 0;
5380 wxBitmap
*arg1
= 0 ;
5381 wxBrush
*result
= 0 ;
5384 PyObject
* obj0
= 0 ;
5385 char * kwnames
[] = {
5386 (char *) "stippleBitmap", NULL
5389 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BrushFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
5390 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5391 if (!SWIG_IsOK(res1
)) {
5392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5395 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5397 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5399 if (!wxPyCheckForApp()) SWIG_fail
;
5400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5401 result
= (wxBrush
*)new wxBrush((wxBitmap
const &)*arg1
);
5402 wxPyEndAllowThreads(__tstate
);
5403 if (PyErr_Occurred()) SWIG_fail
;
5405 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_OWN
| 0 );
5412 SWIGINTERN PyObject
*_wrap_delete_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5413 PyObject
*resultobj
= 0;
5414 wxBrush
*arg1
= (wxBrush
*) 0 ;
5417 PyObject
*swig_obj
[1] ;
5419 if (!args
) SWIG_fail
;
5421 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, SWIG_POINTER_DISOWN
| 0 );
5422 if (!SWIG_IsOK(res1
)) {
5423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Brush" "', expected argument " "1"" of type '" "wxBrush *""'");
5425 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5430 wxPyEndAllowThreads(__tstate
);
5431 if (PyErr_Occurred()) SWIG_fail
;
5433 resultobj
= SWIG_Py_Void();
5440 SWIGINTERN PyObject
*_wrap_Brush_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5441 PyObject
*resultobj
= 0;
5442 wxBrush
*arg1
= (wxBrush
*) 0 ;
5443 wxColour
*arg2
= 0 ;
5447 PyObject
* obj0
= 0 ;
5448 PyObject
* obj1
= 0 ;
5449 char * kwnames
[] = {
5450 (char *) "self",(char *) "col", NULL
5453 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5454 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5455 if (!SWIG_IsOK(res1
)) {
5456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetColour" "', expected argument " "1"" of type '" "wxBrush *""'");
5458 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5461 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5465 (arg1
)->SetColour((wxColour
const &)*arg2
);
5466 wxPyEndAllowThreads(__tstate
);
5467 if (PyErr_Occurred()) SWIG_fail
;
5469 resultobj
= SWIG_Py_Void();
5476 SWIGINTERN PyObject
*_wrap_Brush_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5477 PyObject
*resultobj
= 0;
5478 wxBrush
*arg1
= (wxBrush
*) 0 ;
5484 PyObject
* obj0
= 0 ;
5485 PyObject
* obj1
= 0 ;
5486 char * kwnames
[] = {
5487 (char *) "self",(char *) "style", NULL
5490 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5491 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5492 if (!SWIG_IsOK(res1
)) {
5493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStyle" "', expected argument " "1"" of type '" "wxBrush *""'");
5495 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5496 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5497 if (!SWIG_IsOK(ecode2
)) {
5498 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Brush_SetStyle" "', expected argument " "2"" of type '" "int""'");
5500 arg2
= static_cast< int >(val2
);
5502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5503 (arg1
)->SetStyle(arg2
);
5504 wxPyEndAllowThreads(__tstate
);
5505 if (PyErr_Occurred()) SWIG_fail
;
5507 resultobj
= SWIG_Py_Void();
5514 SWIGINTERN PyObject
*_wrap_Brush_SetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5515 PyObject
*resultobj
= 0;
5516 wxBrush
*arg1
= (wxBrush
*) 0 ;
5517 wxBitmap
*arg2
= 0 ;
5522 PyObject
* obj0
= 0 ;
5523 PyObject
* obj1
= 0 ;
5524 char * kwnames
[] = {
5525 (char *) "self",(char *) "stipple", NULL
5528 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5529 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5530 if (!SWIG_IsOK(res1
)) {
5531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStipple" "', expected argument " "1"" of type '" "wxBrush *""'");
5533 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5534 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5535 if (!SWIG_IsOK(res2
)) {
5536 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5539 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5541 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
5543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5544 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
5545 wxPyEndAllowThreads(__tstate
);
5546 if (PyErr_Occurred()) SWIG_fail
;
5548 resultobj
= SWIG_Py_Void();
5555 SWIGINTERN PyObject
*_wrap_Brush_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5556 PyObject
*resultobj
= 0;
5557 wxBrush
*arg1
= (wxBrush
*) 0 ;
5561 PyObject
*swig_obj
[1] ;
5563 if (!args
) SWIG_fail
;
5565 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5566 if (!SWIG_IsOK(res1
)) {
5567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetColour" "', expected argument " "1"" of type '" "wxBrush const *""'");
5569 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5572 result
= ((wxBrush
const *)arg1
)->GetColour();
5573 wxPyEndAllowThreads(__tstate
);
5574 if (PyErr_Occurred()) SWIG_fail
;
5576 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5583 SWIGINTERN PyObject
*_wrap_Brush_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5584 PyObject
*resultobj
= 0;
5585 wxBrush
*arg1
= (wxBrush
*) 0 ;
5589 PyObject
*swig_obj
[1] ;
5591 if (!args
) SWIG_fail
;
5593 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5594 if (!SWIG_IsOK(res1
)) {
5595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStyle" "', expected argument " "1"" of type '" "wxBrush const *""'");
5597 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5600 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
5601 wxPyEndAllowThreads(__tstate
);
5602 if (PyErr_Occurred()) SWIG_fail
;
5604 resultobj
= SWIG_From_int(static_cast< int >(result
));
5611 SWIGINTERN PyObject
*_wrap_Brush_GetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5612 PyObject
*resultobj
= 0;
5613 wxBrush
*arg1
= (wxBrush
*) 0 ;
5614 wxBitmap
*result
= 0 ;
5617 PyObject
*swig_obj
[1] ;
5619 if (!args
) SWIG_fail
;
5621 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5622 if (!SWIG_IsOK(res1
)) {
5623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStipple" "', expected argument " "1"" of type '" "wxBrush const *""'");
5625 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5628 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
5629 wxPyEndAllowThreads(__tstate
);
5630 if (PyErr_Occurred()) SWIG_fail
;
5632 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
5639 SWIGINTERN PyObject
*_wrap_Brush_IsHatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5640 PyObject
*resultobj
= 0;
5641 wxBrush
*arg1
= (wxBrush
*) 0 ;
5645 PyObject
*swig_obj
[1] ;
5647 if (!args
) SWIG_fail
;
5649 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5650 if (!SWIG_IsOK(res1
)) {
5651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsHatch" "', expected argument " "1"" of type '" "wxBrush const *""'");
5653 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5656 result
= (bool)((wxBrush
const *)arg1
)->IsHatch();
5657 wxPyEndAllowThreads(__tstate
);
5658 if (PyErr_Occurred()) SWIG_fail
;
5661 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5669 SWIGINTERN PyObject
*_wrap_Brush_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5670 PyObject
*resultobj
= 0;
5671 wxBrush
*arg1
= (wxBrush
*) 0 ;
5675 PyObject
*swig_obj
[1] ;
5677 if (!args
) SWIG_fail
;
5679 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5680 if (!SWIG_IsOK(res1
)) {
5681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_Ok" "', expected argument " "1"" of type '" "wxBrush *""'");
5683 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5686 result
= (bool)(arg1
)->Ok();
5687 wxPyEndAllowThreads(__tstate
);
5688 if (PyErr_Occurred()) SWIG_fail
;
5691 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5699 SWIGINTERN PyObject
*Brush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5701 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5702 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrush
, SWIG_NewClientData(obj
));
5703 return SWIG_Py_Void();
5706 SWIGINTERN PyObject
*Brush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5707 return SWIG_Python_InitShadowInstance(args
);
5710 SWIGINTERN PyObject
*_wrap_new_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5711 PyObject
*resultobj
= 0;
5712 wxString
*arg1
= 0 ;
5713 wxBitmapType arg2
= (wxBitmapType
) wxBITMAP_TYPE_ANY
;
5714 wxBitmap
*result
= 0 ;
5715 bool temp1
= false ;
5718 PyObject
* obj0
= 0 ;
5719 PyObject
* obj1
= 0 ;
5720 char * kwnames
[] = {
5721 (char *) "name",(char *) "type", NULL
5724 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5726 arg1
= wxString_in_helper(obj0
);
5727 if (arg1
== NULL
) SWIG_fail
;
5731 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5732 if (!SWIG_IsOK(ecode2
)) {
5733 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Bitmap" "', expected argument " "2"" of type '" "wxBitmapType""'");
5735 arg2
= static_cast< wxBitmapType
>(val2
);
5738 if (!wxPyCheckForApp()) SWIG_fail
;
5739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5740 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,arg2
);
5741 wxPyEndAllowThreads(__tstate
);
5742 if (PyErr_Occurred()) SWIG_fail
;
5744 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_NEW
| 0 );
5759 SWIGINTERN PyObject
*_wrap_delete_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5760 PyObject
*resultobj
= 0;
5761 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5764 PyObject
*swig_obj
[1] ;
5766 if (!args
) SWIG_fail
;
5768 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, SWIG_POINTER_DISOWN
| 0 );
5769 if (!SWIG_IsOK(res1
)) {
5770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Bitmap" "', expected argument " "1"" of type '" "wxBitmap *""'");
5772 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5776 if (PyErr_Occurred()) SWIG_fail
;
5778 resultobj
= SWIG_Py_Void();
5785 SWIGINTERN PyObject
*_wrap_new_EmptyBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5786 PyObject
*resultobj
= 0;
5789 int arg3
= (int) -1 ;
5790 wxBitmap
*result
= 0 ;
5797 PyObject
* obj0
= 0 ;
5798 PyObject
* obj1
= 0 ;
5799 PyObject
* obj2
= 0 ;
5800 char * kwnames
[] = {
5801 (char *) "width",(char *) "height",(char *) "depth", NULL
5804 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5805 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5806 if (!SWIG_IsOK(ecode1
)) {
5807 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_EmptyBitmap" "', expected argument " "1"" of type '" "int""'");
5809 arg1
= static_cast< int >(val1
);
5810 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5811 if (!SWIG_IsOK(ecode2
)) {
5812 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_EmptyBitmap" "', expected argument " "2"" of type '" "int""'");
5814 arg2
= static_cast< int >(val2
);
5816 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5817 if (!SWIG_IsOK(ecode3
)) {
5818 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_EmptyBitmap" "', expected argument " "3"" of type '" "int""'");
5820 arg3
= static_cast< int >(val3
);
5823 if (!wxPyCheckForApp()) SWIG_fail
;
5824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5825 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
5826 wxPyEndAllowThreads(__tstate
);
5827 if (PyErr_Occurred()) SWIG_fail
;
5829 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5836 SWIGINTERN PyObject
*_wrap_new_BitmapFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5837 PyObject
*resultobj
= 0;
5839 wxBitmap
*result
= 0 ;
5842 PyObject
* obj0
= 0 ;
5843 char * kwnames
[] = {
5844 (char *) "icon", NULL
5847 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) SWIG_fail
;
5848 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
5849 if (!SWIG_IsOK(res1
)) {
5850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
5853 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
5855 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
5857 if (!wxPyCheckForApp()) SWIG_fail
;
5858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5859 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
5860 wxPyEndAllowThreads(__tstate
);
5861 if (PyErr_Occurred()) SWIG_fail
;
5863 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5870 SWIGINTERN PyObject
*_wrap_new_BitmapFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5871 PyObject
*resultobj
= 0;
5873 int arg2
= (int) -1 ;
5874 wxBitmap
*result
= 0 ;
5879 PyObject
* obj0
= 0 ;
5880 PyObject
* obj1
= 0 ;
5881 char * kwnames
[] = {
5882 (char *) "image",(char *) "depth", NULL
5885 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5886 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
5887 if (!SWIG_IsOK(res1
)) {
5888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
5891 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
5893 arg1
= reinterpret_cast< wxImage
* >(argp1
);
5895 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5896 if (!SWIG_IsOK(ecode2
)) {
5897 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromImage" "', expected argument " "2"" of type '" "int""'");
5899 arg2
= static_cast< int >(val2
);
5902 if (!wxPyCheckForApp()) SWIG_fail
;
5903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5904 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
5905 wxPyEndAllowThreads(__tstate
);
5906 if (PyErr_Occurred()) SWIG_fail
;
5908 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5915 SWIGINTERN PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5916 PyObject
*resultobj
= 0;
5917 PyObject
*arg1
= (PyObject
*) 0 ;
5918 wxBitmap
*result
= 0 ;
5919 PyObject
* obj0
= 0 ;
5920 char * kwnames
[] = {
5921 (char *) "listOfStrings", NULL
5924 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
5927 if (!wxPyCheckForApp()) SWIG_fail
;
5928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5929 result
= (wxBitmap
*)new_wxBitmap(arg1
);
5930 wxPyEndAllowThreads(__tstate
);
5931 if (PyErr_Occurred()) SWIG_fail
;
5933 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5940 SWIGINTERN PyObject
*_wrap_new_BitmapFromBits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5941 PyObject
*resultobj
= 0;
5942 PyObject
*arg1
= (PyObject
*) 0 ;
5945 int arg4
= (int) 1 ;
5946 wxBitmap
*result
= 0 ;
5953 PyObject
* obj0
= 0 ;
5954 PyObject
* obj1
= 0 ;
5955 PyObject
* obj2
= 0 ;
5956 PyObject
* obj3
= 0 ;
5957 char * kwnames
[] = {
5958 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
5961 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
5963 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5964 if (!SWIG_IsOK(ecode2
)) {
5965 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromBits" "', expected argument " "2"" of type '" "int""'");
5967 arg2
= static_cast< int >(val2
);
5968 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5969 if (!SWIG_IsOK(ecode3
)) {
5970 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BitmapFromBits" "', expected argument " "3"" of type '" "int""'");
5972 arg3
= static_cast< int >(val3
);
5974 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
5975 if (!SWIG_IsOK(ecode4
)) {
5976 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BitmapFromBits" "', expected argument " "4"" of type '" "int""'");
5978 arg4
= static_cast< int >(val4
);
5981 if (!wxPyCheckForApp()) SWIG_fail
;
5982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5983 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
5984 wxPyEndAllowThreads(__tstate
);
5985 if (PyErr_Occurred()) SWIG_fail
;
5987 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5994 SWIGINTERN PyObject
*_wrap_Bitmap_GetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5995 PyObject
*resultobj
= 0;
5996 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6000 PyObject
*swig_obj
[1] ;
6002 if (!args
) SWIG_fail
;
6004 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6005 if (!SWIG_IsOK(res1
)) {
6006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetHandle" "', expected argument " "1"" of type '" "wxBitmap *""'");
6008 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6010 result
= (long)(arg1
)->GetHandle();
6011 if (PyErr_Occurred()) SWIG_fail
;
6013 resultobj
= SWIG_From_long(static_cast< long >(result
));
6020 SWIGINTERN PyObject
*_wrap_Bitmap_SetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6021 PyObject
*resultobj
= 0;
6022 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6028 PyObject
* obj0
= 0 ;
6029 PyObject
* obj1
= 0 ;
6030 char * kwnames
[] = {
6031 (char *) "self",(char *) "handle", NULL
6034 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHandle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6035 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6036 if (!SWIG_IsOK(res1
)) {
6037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetHandle" "', expected argument " "1"" of type '" "wxBitmap *""'");
6039 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6040 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6041 if (!SWIG_IsOK(ecode2
)) {
6042 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetHandle" "', expected argument " "2"" of type '" "long""'");
6044 arg2
= static_cast< long >(val2
);
6046 wxBitmap_SetHandle(arg1
,arg2
);
6047 if (PyErr_Occurred()) SWIG_fail
;
6049 resultobj
= SWIG_Py_Void();
6056 SWIGINTERN PyObject
*_wrap_Bitmap_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6057 PyObject
*resultobj
= 0;
6058 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6062 PyObject
*swig_obj
[1] ;
6064 if (!args
) SWIG_fail
;
6066 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6067 if (!SWIG_IsOK(res1
)) {
6068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_Ok" "', expected argument " "1"" of type '" "wxBitmap *""'");
6070 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6072 result
= (bool)(arg1
)->Ok();
6073 if (PyErr_Occurred()) SWIG_fail
;
6076 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6084 SWIGINTERN PyObject
*_wrap_Bitmap_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6085 PyObject
*resultobj
= 0;
6086 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6090 PyObject
*swig_obj
[1] ;
6092 if (!args
) SWIG_fail
;
6094 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6095 if (!SWIG_IsOK(res1
)) {
6096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6098 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6100 result
= (int)(arg1
)->GetWidth();
6101 if (PyErr_Occurred()) SWIG_fail
;
6103 resultobj
= SWIG_From_int(static_cast< int >(result
));
6110 SWIGINTERN PyObject
*_wrap_Bitmap_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6111 PyObject
*resultobj
= 0;
6112 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6116 PyObject
*swig_obj
[1] ;
6118 if (!args
) SWIG_fail
;
6120 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6121 if (!SWIG_IsOK(res1
)) {
6122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6124 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6126 result
= (int)(arg1
)->GetHeight();
6127 if (PyErr_Occurred()) SWIG_fail
;
6129 resultobj
= SWIG_From_int(static_cast< int >(result
));
6136 SWIGINTERN PyObject
*_wrap_Bitmap_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6137 PyObject
*resultobj
= 0;
6138 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6142 PyObject
*swig_obj
[1] ;
6144 if (!args
) SWIG_fail
;
6146 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6147 if (!SWIG_IsOK(res1
)) {
6148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6150 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6152 result
= (int)(arg1
)->GetDepth();
6153 if (PyErr_Occurred()) SWIG_fail
;
6155 resultobj
= SWIG_From_int(static_cast< int >(result
));
6162 SWIGINTERN PyObject
*_wrap_Bitmap_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6163 PyObject
*resultobj
= 0;
6164 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6168 PyObject
*swig_obj
[1] ;
6170 if (!args
) SWIG_fail
;
6172 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6173 if (!SWIG_IsOK(res1
)) {
6174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6176 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6178 result
= wxBitmap_GetSize(arg1
);
6179 if (PyErr_Occurred()) SWIG_fail
;
6181 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6188 SWIGINTERN PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6189 PyObject
*resultobj
= 0;
6190 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6191 SwigValueWrapper
<wxImage
> result
;
6194 PyObject
*swig_obj
[1] ;
6196 if (!args
) SWIG_fail
;
6198 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6199 if (!SWIG_IsOK(res1
)) {
6200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_ConvertToImage" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6202 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6204 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
6205 if (PyErr_Occurred()) SWIG_fail
;
6207 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
6214 SWIGINTERN PyObject
*_wrap_Bitmap_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6215 PyObject
*resultobj
= 0;
6216 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6217 wxMask
*result
= 0 ;
6220 PyObject
*swig_obj
[1] ;
6222 if (!args
) SWIG_fail
;
6224 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6225 if (!SWIG_IsOK(res1
)) {
6226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetMask" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6228 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6230 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
6231 if (PyErr_Occurred()) SWIG_fail
;
6233 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, 0 | 0 );
6240 SWIGINTERN PyObject
*_wrap_Bitmap_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6241 PyObject
*resultobj
= 0;
6242 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6243 wxMask
*arg2
= (wxMask
*) 0 ;
6247 PyObject
* obj0
= 0 ;
6248 PyObject
* obj1
= 0 ;
6249 char * kwnames
[] = {
6250 (char *) "self",(char *) "mask", NULL
6253 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6254 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6255 if (!SWIG_IsOK(res1
)) {
6256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMask" "', expected argument " "1"" of type '" "wxBitmap *""'");
6258 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6259 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
6260 if (!SWIG_IsOK(res2
)) {
6261 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_SetMask" "', expected argument " "2"" of type '" "wxMask *""'");
6264 (arg1
)->SetMask(arg2
);
6265 if (PyErr_Occurred()) SWIG_fail
;
6267 resultobj
= SWIG_Py_Void();
6274 SWIGINTERN PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6275 PyObject
*resultobj
= 0;
6276 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6277 wxColour
*arg2
= 0 ;
6281 PyObject
* obj0
= 0 ;
6282 PyObject
* obj1
= 0 ;
6283 char * kwnames
[] = {
6284 (char *) "self",(char *) "colour", NULL
6287 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6288 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6289 if (!SWIG_IsOK(res1
)) {
6290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMaskColour" "', expected argument " "1"" of type '" "wxBitmap *""'");
6292 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6295 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6298 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
6299 if (PyErr_Occurred()) SWIG_fail
;
6301 resultobj
= SWIG_Py_Void();
6308 SWIGINTERN PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6309 PyObject
*resultobj
= 0;
6310 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6312 SwigValueWrapper
<wxBitmap
> result
;
6316 PyObject
* obj0
= 0 ;
6317 PyObject
* obj1
= 0 ;
6318 char * kwnames
[] = {
6319 (char *) "self",(char *) "rect", NULL
6322 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6323 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6324 if (!SWIG_IsOK(res1
)) {
6325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSubBitmap" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6327 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6330 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6333 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
6334 if (PyErr_Occurred()) SWIG_fail
;
6336 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6343 SWIGINTERN PyObject
*_wrap_Bitmap_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6344 PyObject
*resultobj
= 0;
6345 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6346 wxString
*arg2
= 0 ;
6348 wxPalette
*arg4
= (wxPalette
*) NULL
;
6352 bool temp2
= false ;
6357 PyObject
* obj0
= 0 ;
6358 PyObject
* obj1
= 0 ;
6359 PyObject
* obj2
= 0 ;
6360 PyObject
* obj3
= 0 ;
6361 char * kwnames
[] = {
6362 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
6365 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6366 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6367 if (!SWIG_IsOK(res1
)) {
6368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SaveFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6370 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6372 arg2
= wxString_in_helper(obj1
);
6373 if (arg2
== NULL
) SWIG_fail
;
6376 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6377 if (!SWIG_IsOK(ecode3
)) {
6378 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_SaveFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6380 arg3
= static_cast< wxBitmapType
>(val3
);
6382 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxPalette
, 0 | 0 );
6383 if (!SWIG_IsOK(res4
)) {
6384 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Bitmap_SaveFile" "', expected argument " "4"" of type '" "wxPalette *""'");
6386 arg4
= reinterpret_cast< wxPalette
* >(argp4
);
6389 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
,arg4
);
6390 if (PyErr_Occurred()) SWIG_fail
;
6393 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6409 SWIGINTERN PyObject
*_wrap_Bitmap_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6410 PyObject
*resultobj
= 0;
6411 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6412 wxString
*arg2
= 0 ;
6417 bool temp2
= false ;
6420 PyObject
* obj0
= 0 ;
6421 PyObject
* obj1
= 0 ;
6422 PyObject
* obj2
= 0 ;
6423 char * kwnames
[] = {
6424 (char *) "self",(char *) "name",(char *) "type", NULL
6427 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6428 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6429 if (!SWIG_IsOK(res1
)) {
6430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_LoadFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6432 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6434 arg2
= wxString_in_helper(obj1
);
6435 if (arg2
== NULL
) SWIG_fail
;
6438 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6439 if (!SWIG_IsOK(ecode3
)) {
6440 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6442 arg3
= static_cast< wxBitmapType
>(val3
);
6444 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
6445 if (PyErr_Occurred()) SWIG_fail
;
6448 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6464 SWIGINTERN PyObject
*_wrap_Bitmap_GetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6465 PyObject
*resultobj
= 0;
6466 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6467 wxPalette
*result
= 0 ;
6470 PyObject
*swig_obj
[1] ;
6472 if (!args
) SWIG_fail
;
6474 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6475 if (!SWIG_IsOK(res1
)) {
6476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetPalette" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6478 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6480 result
= (wxPalette
*)((wxBitmap
const *)arg1
)->GetPalette();
6481 if (PyErr_Occurred()) SWIG_fail
;
6483 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, 0 | 0 );
6490 SWIGINTERN PyObject
*_wrap_Bitmap_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6491 PyObject
*resultobj
= 0;
6492 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6493 wxPalette
*arg2
= 0 ;
6498 PyObject
* obj0
= 0 ;
6499 PyObject
* obj1
= 0 ;
6500 char * kwnames
[] = {
6501 (char *) "self",(char *) "palette", NULL
6504 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6505 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6506 if (!SWIG_IsOK(res1
)) {
6507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetPalette" "', expected argument " "1"" of type '" "wxBitmap *""'");
6509 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6510 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
6511 if (!SWIG_IsOK(res2
)) {
6512 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
6515 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
6517 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
6519 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
6520 if (PyErr_Occurred()) SWIG_fail
;
6522 resultobj
= SWIG_Py_Void();
6529 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6530 PyObject
*resultobj
= 0;
6531 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6538 PyObject
* obj0
= 0 ;
6539 PyObject
* obj1
= 0 ;
6540 char * kwnames
[] = {
6541 (char *) "self",(char *) "icon", NULL
6544 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6545 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6546 if (!SWIG_IsOK(res1
)) {
6547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "1"" of type '" "wxBitmap *""'");
6549 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6550 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
6551 if (!SWIG_IsOK(res2
)) {
6552 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6555 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6557 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
6559 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
6560 if (PyErr_Occurred()) SWIG_fail
;
6563 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6571 SWIGINTERN PyObject
*_wrap_Bitmap_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6572 PyObject
*resultobj
= 0;
6573 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6579 PyObject
* obj0
= 0 ;
6580 PyObject
* obj1
= 0 ;
6581 char * kwnames
[] = {
6582 (char *) "self",(char *) "height", NULL
6585 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6586 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6587 if (!SWIG_IsOK(res1
)) {
6588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6590 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6591 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6592 if (!SWIG_IsOK(ecode2
)) {
6593 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetHeight" "', expected argument " "2"" of type '" "int""'");
6595 arg2
= static_cast< int >(val2
);
6597 (arg1
)->SetHeight(arg2
);
6598 if (PyErr_Occurred()) SWIG_fail
;
6600 resultobj
= SWIG_Py_Void();
6607 SWIGINTERN PyObject
*_wrap_Bitmap_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6608 PyObject
*resultobj
= 0;
6609 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6615 PyObject
* obj0
= 0 ;
6616 PyObject
* obj1
= 0 ;
6617 char * kwnames
[] = {
6618 (char *) "self",(char *) "width", NULL
6621 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6622 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6623 if (!SWIG_IsOK(res1
)) {
6624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6626 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6627 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6628 if (!SWIG_IsOK(ecode2
)) {
6629 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetWidth" "', expected argument " "2"" of type '" "int""'");
6631 arg2
= static_cast< int >(val2
);
6633 (arg1
)->SetWidth(arg2
);
6634 if (PyErr_Occurred()) SWIG_fail
;
6636 resultobj
= SWIG_Py_Void();
6643 SWIGINTERN PyObject
*_wrap_Bitmap_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6644 PyObject
*resultobj
= 0;
6645 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6651 PyObject
* obj0
= 0 ;
6652 PyObject
* obj1
= 0 ;
6653 char * kwnames
[] = {
6654 (char *) "self",(char *) "depth", NULL
6657 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6658 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6659 if (!SWIG_IsOK(res1
)) {
6660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6662 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6663 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6664 if (!SWIG_IsOK(ecode2
)) {
6665 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetDepth" "', expected argument " "2"" of type '" "int""'");
6667 arg2
= static_cast< int >(val2
);
6669 (arg1
)->SetDepth(arg2
);
6670 if (PyErr_Occurred()) SWIG_fail
;
6672 resultobj
= SWIG_Py_Void();
6679 SWIGINTERN PyObject
*_wrap_Bitmap_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6680 PyObject
*resultobj
= 0;
6681 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6686 PyObject
* obj0
= 0 ;
6687 PyObject
* obj1
= 0 ;
6688 char * kwnames
[] = {
6689 (char *) "self",(char *) "size", NULL
6692 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6693 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6694 if (!SWIG_IsOK(res1
)) {
6695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6697 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6700 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6703 wxBitmap_SetSize(arg1
,(wxSize
const &)*arg2
);
6704 if (PyErr_Occurred()) SWIG_fail
;
6706 resultobj
= SWIG_Py_Void();
6713 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6714 PyObject
*resultobj
= 0;
6715 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6716 wxCursor
*arg2
= 0 ;
6722 PyObject
* obj0
= 0 ;
6723 PyObject
* obj1
= 0 ;
6724 char * kwnames
[] = {
6725 (char *) "self",(char *) "cursor", NULL
6728 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromCursor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6729 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6730 if (!SWIG_IsOK(res1
)) {
6731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromCursor" "', expected argument " "1"" of type '" "wxBitmap *""'");
6733 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6734 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
6735 if (!SWIG_IsOK(res2
)) {
6736 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_CopyFromCursor" "', expected argument " "2"" of type '" "wxCursor const &""'");
6739 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_CopyFromCursor" "', expected argument " "2"" of type '" "wxCursor const &""'");
6741 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
6743 result
= (bool)(arg1
)->CopyFromCursor((wxCursor
const &)*arg2
);
6744 if (PyErr_Occurred()) SWIG_fail
;
6747 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6755 SWIGINTERN PyObject
*_wrap_Bitmap___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6756 PyObject
*resultobj
= 0;
6757 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6758 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
6764 PyObject
* obj0
= 0 ;
6765 PyObject
* obj1
= 0 ;
6766 char * kwnames
[] = {
6767 (char *) "self",(char *) "other", NULL
6770 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6771 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6772 if (!SWIG_IsOK(res1
)) {
6773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___eq__" "', expected argument " "1"" of type '" "wxBitmap *""'");
6775 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6776 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6777 if (!SWIG_IsOK(res2
)) {
6778 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___eq__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
6780 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
6782 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
6783 if (PyErr_Occurred()) SWIG_fail
;
6786 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6794 SWIGINTERN PyObject
*_wrap_Bitmap___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6795 PyObject
*resultobj
= 0;
6796 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6797 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
6803 PyObject
* obj0
= 0 ;
6804 PyObject
* obj1
= 0 ;
6805 char * kwnames
[] = {
6806 (char *) "self",(char *) "other", NULL
6809 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6810 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6811 if (!SWIG_IsOK(res1
)) {
6812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___ne__" "', expected argument " "1"" of type '" "wxBitmap *""'");
6814 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6815 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6816 if (!SWIG_IsOK(res2
)) {
6817 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___ne__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
6819 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
6821 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
6822 if (PyErr_Occurred()) SWIG_fail
;
6825 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6833 SWIGINTERN PyObject
*Bitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6835 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6836 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmap
, SWIG_NewClientData(obj
));
6837 return SWIG_Py_Void();
6840 SWIGINTERN PyObject
*Bitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6841 return SWIG_Python_InitShadowInstance(args
);
6844 SWIGINTERN PyObject
*_wrap__BitmapFromBufferAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6845 PyObject
*resultobj
= 0;
6852 wxBitmap
*result
= 0 ;
6857 PyObject
* obj0
= 0 ;
6858 PyObject
* obj1
= 0 ;
6859 PyObject
* obj2
= 0 ;
6860 PyObject
* obj3
= 0 ;
6861 char * kwnames
[] = {
6862 (char *) "width",(char *) "height",(char *) "data",(char *) "alpha", NULL
6865 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:_BitmapFromBufferAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6866 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6867 if (!SWIG_IsOK(ecode1
)) {
6868 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "1"" of type '" "int""'");
6870 arg1
= static_cast< int >(val1
);
6871 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6872 if (!SWIG_IsOK(ecode2
)) {
6873 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "2"" of type '" "int""'");
6875 arg2
= static_cast< int >(val2
);
6877 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &arg4
) == -1) SWIG_fail
;
6880 if (obj3
!= Py_None
) {
6881 if (PyObject_AsReadBuffer(obj3
, (const void**)(&arg5
), &arg6
) == -1) SWIG_fail
;
6885 result
= (wxBitmap
*)_BitmapFromBufferAlpha(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
6886 if (PyErr_Occurred()) SWIG_fail
;
6888 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6895 SWIGINTERN PyObject
*_wrap__BitmapFromBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6896 PyObject
*resultobj
= 0;
6901 wxBitmap
*result
= 0 ;
6906 PyObject
* obj0
= 0 ;
6907 PyObject
* obj1
= 0 ;
6908 PyObject
* obj2
= 0 ;
6909 char * kwnames
[] = {
6910 (char *) "width",(char *) "height",(char *) "data", NULL
6913 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBuffer",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6914 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6915 if (!SWIG_IsOK(ecode1
)) {
6916 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBuffer" "', expected argument " "1"" of type '" "int""'");
6918 arg1
= static_cast< int >(val1
);
6919 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6920 if (!SWIG_IsOK(ecode2
)) {
6921 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBuffer" "', expected argument " "2"" of type '" "int""'");
6923 arg2
= static_cast< int >(val2
);
6925 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &arg4
) == -1) SWIG_fail
;
6928 result
= (wxBitmap
*)_BitmapFromBuffer(arg1
,arg2
,arg3
,arg4
);
6929 if (PyErr_Occurred()) SWIG_fail
;
6931 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6938 SWIGINTERN PyObject
*_wrap__BitmapFromBufferRGBA(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6939 PyObject
*resultobj
= 0;
6944 wxBitmap
*result
= 0 ;
6949 PyObject
* obj0
= 0 ;
6950 PyObject
* obj1
= 0 ;
6951 PyObject
* obj2
= 0 ;
6952 char * kwnames
[] = {
6953 (char *) "width",(char *) "height",(char *) "data", NULL
6956 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBufferRGBA",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6957 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6958 if (!SWIG_IsOK(ecode1
)) {
6959 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "1"" of type '" "int""'");
6961 arg1
= static_cast< int >(val1
);
6962 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6963 if (!SWIG_IsOK(ecode2
)) {
6964 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "2"" of type '" "int""'");
6966 arg2
= static_cast< int >(val2
);
6968 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &arg4
) == -1) SWIG_fail
;
6971 result
= (wxBitmap
*)_BitmapFromBufferRGBA(arg1
,arg2
,arg3
,arg4
);
6972 if (PyErr_Occurred()) SWIG_fail
;
6974 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6981 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6982 PyObject
*resultobj
= 0;
6983 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
6987 PyObject
*swig_obj
[1] ;
6989 if (!args
) SWIG_fail
;
6991 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
6992 if (!SWIG_IsOK(res1
)) {
6993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetOrigin" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
6995 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
6997 result
= ((wxPixelDataBase
const *)arg1
)->GetOrigin();
6998 if (PyErr_Occurred()) SWIG_fail
;
7000 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
7007 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7008 PyObject
*resultobj
= 0;
7009 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7013 PyObject
*swig_obj
[1] ;
7015 if (!args
) SWIG_fail
;
7017 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7018 if (!SWIG_IsOK(res1
)) {
7019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetWidth" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7021 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7023 result
= (int)((wxPixelDataBase
const *)arg1
)->GetWidth();
7024 if (PyErr_Occurred()) SWIG_fail
;
7026 resultobj
= SWIG_From_int(static_cast< int >(result
));
7033 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7034 PyObject
*resultobj
= 0;
7035 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7039 PyObject
*swig_obj
[1] ;
7041 if (!args
) SWIG_fail
;
7043 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7044 if (!SWIG_IsOK(res1
)) {
7045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetHeight" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7047 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7049 result
= (int)((wxPixelDataBase
const *)arg1
)->GetHeight();
7050 if (PyErr_Occurred()) SWIG_fail
;
7052 resultobj
= SWIG_From_int(static_cast< int >(result
));
7059 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7060 PyObject
*resultobj
= 0;
7061 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7065 PyObject
*swig_obj
[1] ;
7067 if (!args
) SWIG_fail
;
7069 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7070 if (!SWIG_IsOK(res1
)) {
7071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetSize" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7073 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7075 result
= ((wxPixelDataBase
const *)arg1
)->GetSize();
7076 if (PyErr_Occurred()) SWIG_fail
;
7078 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
7085 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetRowStride(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7086 PyObject
*resultobj
= 0;
7087 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7091 PyObject
*swig_obj
[1] ;
7093 if (!args
) SWIG_fail
;
7095 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7096 if (!SWIG_IsOK(res1
)) {
7097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetRowStride" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7099 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7101 result
= (int)((wxPixelDataBase
const *)arg1
)->GetRowStride();
7102 if (PyErr_Occurred()) SWIG_fail
;
7104 resultobj
= SWIG_From_int(static_cast< int >(result
));
7111 SWIGINTERN PyObject
*PixelDataBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7113 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7114 SWIG_TypeNewClientData(SWIGTYPE_p_wxPixelDataBase
, SWIG_NewClientData(obj
));
7115 return SWIG_Py_Void();
7118 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7119 PyObject
*resultobj
= 0;
7120 wxBitmap
*arg1
= 0 ;
7121 wxNativePixelData
*result
= 0 ;
7125 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7126 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7127 if (!SWIG_IsOK(res1
)) {
7128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7131 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7133 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7135 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
);
7136 if (PyErr_Occurred()) SWIG_fail
;
7138 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7145 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7146 PyObject
*resultobj
= 0;
7147 wxBitmap
*arg1
= 0 ;
7149 wxNativePixelData
*result
= 0 ;
7154 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7155 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7156 if (!SWIG_IsOK(res1
)) {
7157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7160 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7162 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7165 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7168 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxRect
const &)*arg2
);
7169 if (PyErr_Occurred()) SWIG_fail
;
7171 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7178 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7179 PyObject
*resultobj
= 0;
7180 wxBitmap
*arg1
= 0 ;
7183 wxNativePixelData
*result
= 0 ;
7189 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
7190 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7191 if (!SWIG_IsOK(res1
)) {
7192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7195 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7197 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7200 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7204 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
7207 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
7208 if (PyErr_Occurred()) SWIG_fail
;
7210 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7217 SWIGINTERN PyObject
*_wrap_new_NativePixelData(PyObject
*self
, PyObject
*args
) {
7221 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData",0,3,argv
))) SWIG_fail
;
7224 return _wrap_new_NativePixelData__SWIG_0(self
, argc
, argv
);
7227 return _wrap_new_NativePixelData__SWIG_1(self
, argc
, argv
);
7230 return _wrap_new_NativePixelData__SWIG_2(self
, argc
, argv
);
7234 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData'");
7239 SWIGINTERN PyObject
*_wrap_delete_NativePixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7240 PyObject
*resultobj
= 0;
7241 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7244 PyObject
*swig_obj
[1] ;
7246 if (!args
) SWIG_fail
;
7248 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_DISOWN
| 0 );
7249 if (!SWIG_IsOK(res1
)) {
7250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7252 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7256 if (PyErr_Occurred()) SWIG_fail
;
7258 resultobj
= SWIG_Py_Void();
7265 SWIGINTERN PyObject
*_wrap_NativePixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7266 PyObject
*resultobj
= 0;
7267 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7268 wxNativePixelData_Accessor result
;
7271 PyObject
*swig_obj
[1] ;
7273 if (!args
) SWIG_fail
;
7275 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7276 if (!SWIG_IsOK(res1
)) {
7277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_GetPixels" "', expected argument " "1"" of type '" "wxNativePixelData const *""'");
7279 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7281 result
= ((wxNativePixelData
const *)arg1
)->GetPixels();
7282 if (PyErr_Occurred()) SWIG_fail
;
7284 resultobj
= SWIG_NewPointerObj((new wxNativePixelData_Accessor(static_cast< const wxNativePixelData_Accessor
& >(result
))), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
7291 SWIGINTERN PyObject
*_wrap_NativePixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7292 PyObject
*resultobj
= 0;
7293 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7296 PyObject
*swig_obj
[1] ;
7298 if (!args
) SWIG_fail
;
7300 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7301 if (!SWIG_IsOK(res1
)) {
7302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_UseAlpha" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7304 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7307 if (PyErr_Occurred()) SWIG_fail
;
7309 resultobj
= SWIG_Py_Void();
7316 SWIGINTERN PyObject
*_wrap_NativePixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7317 PyObject
*resultobj
= 0;
7318 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7322 PyObject
*swig_obj
[1] ;
7324 if (!args
) SWIG_fail
;
7326 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7327 if (!SWIG_IsOK(res1
)) {
7328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData___nonzero__" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7330 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7332 result
= (bool)wxNativePixelData___nonzero__(arg1
);
7333 if (PyErr_Occurred()) SWIG_fail
;
7336 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7344 SWIGINTERN PyObject
*NativePixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7346 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7347 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData
, SWIG_NewClientData(obj
));
7348 return SWIG_Py_Void();
7351 SWIGINTERN PyObject
*NativePixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7352 return SWIG_Python_InitShadowInstance(args
);
7355 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7356 PyObject
*resultobj
= 0;
7357 wxNativePixelData
*arg1
= 0 ;
7358 wxNativePixelData_Accessor
*result
= 0 ;
7362 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7363 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxNativePixelData
, 0 );
7364 if (!SWIG_IsOK(res1
)) {
7365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7368 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7370 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7372 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
);
7373 if (PyErr_Occurred()) SWIG_fail
;
7375 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7382 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7383 PyObject
*resultobj
= 0;
7384 wxBitmap
*arg1
= 0 ;
7385 wxNativePixelData
*arg2
= 0 ;
7386 wxNativePixelData_Accessor
*result
= 0 ;
7392 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7393 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7394 if (!SWIG_IsOK(res1
)) {
7395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7398 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7400 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7401 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 );
7402 if (!SWIG_IsOK(res2
)) {
7403 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7406 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7408 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7410 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
,*arg2
);
7411 if (PyErr_Occurred()) SWIG_fail
;
7413 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7420 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
7421 PyObject
*resultobj
= 0;
7422 wxNativePixelData_Accessor
*result
= 0 ;
7424 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
7426 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor();
7427 if (PyErr_Occurred()) SWIG_fail
;
7429 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7436 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor(PyObject
*self
, PyObject
*args
) {
7440 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData_Accessor",0,2,argv
))) SWIG_fail
;
7443 return _wrap_new_NativePixelData_Accessor__SWIG_2(self
, argc
, argv
);
7446 return _wrap_new_NativePixelData_Accessor__SWIG_0(self
, argc
, argv
);
7449 return _wrap_new_NativePixelData_Accessor__SWIG_1(self
, argc
, argv
);
7453 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData_Accessor'");
7458 SWIGINTERN PyObject
*_wrap_delete_NativePixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7459 PyObject
*resultobj
= 0;
7460 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7463 PyObject
*swig_obj
[1] ;
7465 if (!args
) SWIG_fail
;
7467 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
7468 if (!SWIG_IsOK(res1
)) {
7469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7471 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7475 if (PyErr_Occurred()) SWIG_fail
;
7477 resultobj
= SWIG_Py_Void();
7484 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7485 PyObject
*resultobj
= 0;
7486 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7487 wxNativePixelData
*arg2
= 0 ;
7492 PyObject
* obj0
= 0 ;
7493 PyObject
* obj1
= 0 ;
7494 char * kwnames
[] = {
7495 (char *) "self",(char *) "data", NULL
7498 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativePixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7499 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7500 if (!SWIG_IsOK(res1
)) {
7501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7503 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7504 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7505 if (!SWIG_IsOK(res2
)) {
7506 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7509 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7511 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7513 (arg1
)->Reset((wxNativePixelData
const &)*arg2
);
7514 if (PyErr_Occurred()) SWIG_fail
;
7516 resultobj
= SWIG_Py_Void();
7523 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7524 PyObject
*resultobj
= 0;
7525 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7529 PyObject
*swig_obj
[1] ;
7531 if (!args
) SWIG_fail
;
7533 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7534 if (!SWIG_IsOK(res1
)) {
7535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor const *""'");
7537 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7539 result
= (bool)((wxNativePixelData_Accessor
const *)arg1
)->IsOk();
7540 if (PyErr_Occurred()) SWIG_fail
;
7543 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7551 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7552 PyObject
*resultobj
= 0;
7553 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7556 PyObject
*swig_obj
[1] ;
7558 if (!args
) SWIG_fail
;
7560 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7561 if (!SWIG_IsOK(res1
)) {
7562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7564 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7566 wxNativePixelData_Accessor_nextPixel(arg1
);
7567 if (PyErr_Occurred()) SWIG_fail
;
7569 resultobj
= SWIG_Py_Void();
7576 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7577 PyObject
*resultobj
= 0;
7578 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7579 wxNativePixelData
*arg2
= 0 ;
7590 PyObject
* obj0
= 0 ;
7591 PyObject
* obj1
= 0 ;
7592 PyObject
* obj2
= 0 ;
7593 PyObject
* obj3
= 0 ;
7594 char * kwnames
[] = {
7595 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
7598 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7599 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7600 if (!SWIG_IsOK(res1
)) {
7601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7603 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7604 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7605 if (!SWIG_IsOK(res2
)) {
7606 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7609 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7611 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7612 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7613 if (!SWIG_IsOK(ecode3
)) {
7614 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
7616 arg3
= static_cast< int >(val3
);
7617 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7618 if (!SWIG_IsOK(ecode4
)) {
7619 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
7621 arg4
= static_cast< int >(val4
);
7623 (arg1
)->Offset((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
7624 if (PyErr_Occurred()) SWIG_fail
;
7626 resultobj
= SWIG_Py_Void();
7633 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7634 PyObject
*resultobj
= 0;
7635 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7636 wxNativePixelData
*arg2
= 0 ;
7644 PyObject
* obj0
= 0 ;
7645 PyObject
* obj1
= 0 ;
7646 PyObject
* obj2
= 0 ;
7647 char * kwnames
[] = {
7648 (char *) "self",(char *) "data",(char *) "x", NULL
7651 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7652 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7653 if (!SWIG_IsOK(res1
)) {
7654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7656 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7657 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7658 if (!SWIG_IsOK(res2
)) {
7659 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7662 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7664 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7665 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7666 if (!SWIG_IsOK(ecode3
)) {
7667 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
7669 arg3
= static_cast< int >(val3
);
7671 (arg1
)->OffsetX((wxNativePixelData
const &)*arg2
,arg3
);
7672 if (PyErr_Occurred()) SWIG_fail
;
7674 resultobj
= SWIG_Py_Void();
7681 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7682 PyObject
*resultobj
= 0;
7683 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7684 wxNativePixelData
*arg2
= 0 ;
7692 PyObject
* obj0
= 0 ;
7693 PyObject
* obj1
= 0 ;
7694 PyObject
* obj2
= 0 ;
7695 char * kwnames
[] = {
7696 (char *) "self",(char *) "data",(char *) "y", NULL
7699 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7700 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7701 if (!SWIG_IsOK(res1
)) {
7702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7704 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7705 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7706 if (!SWIG_IsOK(res2
)) {
7707 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7710 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7712 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7713 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7714 if (!SWIG_IsOK(ecode3
)) {
7715 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
7717 arg3
= static_cast< int >(val3
);
7719 (arg1
)->OffsetY((wxNativePixelData
const &)*arg2
,arg3
);
7720 if (PyErr_Occurred()) SWIG_fail
;
7722 resultobj
= SWIG_Py_Void();
7729 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7730 PyObject
*resultobj
= 0;
7731 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7732 wxNativePixelData
*arg2
= 0 ;
7743 PyObject
* obj0
= 0 ;
7744 PyObject
* obj1
= 0 ;
7745 PyObject
* obj2
= 0 ;
7746 PyObject
* obj3
= 0 ;
7747 char * kwnames
[] = {
7748 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
7751 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7752 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7753 if (!SWIG_IsOK(res1
)) {
7754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7756 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7757 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7758 if (!SWIG_IsOK(res2
)) {
7759 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7762 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7764 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7765 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7766 if (!SWIG_IsOK(ecode3
)) {
7767 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
7769 arg3
= static_cast< int >(val3
);
7770 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7771 if (!SWIG_IsOK(ecode4
)) {
7772 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
7774 arg4
= static_cast< int >(val4
);
7776 (arg1
)->MoveTo((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
7777 if (PyErr_Occurred()) SWIG_fail
;
7779 resultobj
= SWIG_Py_Void();
7786 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7787 PyObject
*resultobj
= 0;
7788 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7794 unsigned char val2
;
7796 unsigned char val3
;
7798 unsigned char val4
;
7800 PyObject
* obj0
= 0 ;
7801 PyObject
* obj1
= 0 ;
7802 PyObject
* obj2
= 0 ;
7803 PyObject
* obj3
= 0 ;
7804 char * kwnames
[] = {
7805 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
7808 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7809 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7810 if (!SWIG_IsOK(res1
)) {
7811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7813 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7814 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
7815 if (!SWIG_IsOK(ecode2
)) {
7816 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
7818 arg2
= static_cast< byte
>(val2
);
7819 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
7820 if (!SWIG_IsOK(ecode3
)) {
7821 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
7823 arg3
= static_cast< byte
>(val3
);
7824 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
7825 if (!SWIG_IsOK(ecode4
)) {
7826 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
7828 arg4
= static_cast< byte
>(val4
);
7830 wxNativePixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
);
7831 if (PyErr_Occurred()) SWIG_fail
;
7833 resultobj
= SWIG_Py_Void();
7840 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7841 PyObject
*resultobj
= 0;
7842 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7843 PyObject
*result
= 0 ;
7846 PyObject
*swig_obj
[1] ;
7848 if (!args
) SWIG_fail
;
7850 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7851 if (!SWIG_IsOK(res1
)) {
7852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7854 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7856 result
= (PyObject
*)wxNativePixelData_Accessor_Get(arg1
);
7857 if (PyErr_Occurred()) SWIG_fail
;
7866 SWIGINTERN PyObject
*NativePixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7868 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7869 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_NewClientData(obj
));
7870 return SWIG_Py_Void();
7873 SWIGINTERN PyObject
*NativePixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7874 return SWIG_Python_InitShadowInstance(args
);
7877 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7878 PyObject
*resultobj
= 0;
7879 wxBitmap
*arg1
= 0 ;
7880 wxAlphaPixelData
*result
= 0 ;
7884 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7885 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7886 if (!SWIG_IsOK(res1
)) {
7887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7890 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7892 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7894 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
);
7895 if (PyErr_Occurred()) SWIG_fail
;
7897 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
7904 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7905 PyObject
*resultobj
= 0;
7906 wxBitmap
*arg1
= 0 ;
7908 wxAlphaPixelData
*result
= 0 ;
7913 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7914 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7915 if (!SWIG_IsOK(res1
)) {
7916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7919 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7921 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7924 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7927 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxRect
const &)*arg2
);
7928 if (PyErr_Occurred()) SWIG_fail
;
7930 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
7937 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7938 PyObject
*resultobj
= 0;
7939 wxBitmap
*arg1
= 0 ;
7942 wxAlphaPixelData
*result
= 0 ;
7948 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
7949 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7950 if (!SWIG_IsOK(res1
)) {
7951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7954 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7956 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7959 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7963 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
7966 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
7967 if (PyErr_Occurred()) SWIG_fail
;
7969 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
7976 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData(PyObject
*self
, PyObject
*args
) {
7980 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData",0,3,argv
))) SWIG_fail
;
7983 return _wrap_new_AlphaPixelData__SWIG_0(self
, argc
, argv
);
7986 return _wrap_new_AlphaPixelData__SWIG_1(self
, argc
, argv
);
7989 return _wrap_new_AlphaPixelData__SWIG_2(self
, argc
, argv
);
7993 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData'");
7998 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7999 PyObject
*resultobj
= 0;
8000 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8003 PyObject
*swig_obj
[1] ;
8005 if (!args
) SWIG_fail
;
8007 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_DISOWN
| 0 );
8008 if (!SWIG_IsOK(res1
)) {
8009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8011 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8015 if (PyErr_Occurred()) SWIG_fail
;
8017 resultobj
= SWIG_Py_Void();
8024 SWIGINTERN PyObject
*_wrap_AlphaPixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8025 PyObject
*resultobj
= 0;
8026 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8027 wxAlphaPixelData_Accessor result
;
8030 PyObject
*swig_obj
[1] ;
8032 if (!args
) SWIG_fail
;
8034 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8035 if (!SWIG_IsOK(res1
)) {
8036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_GetPixels" "', expected argument " "1"" of type '" "wxAlphaPixelData const *""'");
8038 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8040 result
= ((wxAlphaPixelData
const *)arg1
)->GetPixels();
8041 if (PyErr_Occurred()) SWIG_fail
;
8043 resultobj
= SWIG_NewPointerObj((new wxAlphaPixelData_Accessor(static_cast< const wxAlphaPixelData_Accessor
& >(result
))), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
8050 SWIGINTERN PyObject
*_wrap_AlphaPixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8051 PyObject
*resultobj
= 0;
8052 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8055 PyObject
*swig_obj
[1] ;
8057 if (!args
) SWIG_fail
;
8059 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8060 if (!SWIG_IsOK(res1
)) {
8061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_UseAlpha" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8063 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8066 if (PyErr_Occurred()) SWIG_fail
;
8068 resultobj
= SWIG_Py_Void();
8075 SWIGINTERN PyObject
*_wrap_AlphaPixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8076 PyObject
*resultobj
= 0;
8077 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8081 PyObject
*swig_obj
[1] ;
8083 if (!args
) SWIG_fail
;
8085 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8086 if (!SWIG_IsOK(res1
)) {
8087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData___nonzero__" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8089 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8091 result
= (bool)wxAlphaPixelData___nonzero__(arg1
);
8092 if (PyErr_Occurred()) SWIG_fail
;
8095 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8103 SWIGINTERN PyObject
*AlphaPixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8105 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8106 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData
, SWIG_NewClientData(obj
));
8107 return SWIG_Py_Void();
8110 SWIGINTERN PyObject
*AlphaPixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8111 return SWIG_Python_InitShadowInstance(args
);
8114 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8115 PyObject
*resultobj
= 0;
8116 wxAlphaPixelData
*arg1
= 0 ;
8117 wxAlphaPixelData_Accessor
*result
= 0 ;
8121 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
8122 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8123 if (!SWIG_IsOK(res1
)) {
8124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
8127 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
8129 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8131 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
);
8132 if (PyErr_Occurred()) SWIG_fail
;
8134 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8141 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8142 PyObject
*resultobj
= 0;
8143 wxBitmap
*arg1
= 0 ;
8144 wxAlphaPixelData
*arg2
= 0 ;
8145 wxAlphaPixelData_Accessor
*result
= 0 ;
8151 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
8152 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8153 if (!SWIG_IsOK(res1
)) {
8154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8157 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8159 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8160 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8161 if (!SWIG_IsOK(res2
)) {
8162 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8165 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8167 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8169 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
,*arg2
);
8170 if (PyErr_Occurred()) SWIG_fail
;
8172 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8179 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
8180 PyObject
*resultobj
= 0;
8181 wxAlphaPixelData_Accessor
*result
= 0 ;
8183 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
8185 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor();
8186 if (PyErr_Occurred()) SWIG_fail
;
8188 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8195 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor(PyObject
*self
, PyObject
*args
) {
8199 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData_Accessor",0,2,argv
))) SWIG_fail
;
8202 return _wrap_new_AlphaPixelData_Accessor__SWIG_2(self
, argc
, argv
);
8205 return _wrap_new_AlphaPixelData_Accessor__SWIG_0(self
, argc
, argv
);
8208 return _wrap_new_AlphaPixelData_Accessor__SWIG_1(self
, argc
, argv
);
8212 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData_Accessor'");
8217 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8218 PyObject
*resultobj
= 0;
8219 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8222 PyObject
*swig_obj
[1] ;
8224 if (!args
) SWIG_fail
;
8226 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
8227 if (!SWIG_IsOK(res1
)) {
8228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8230 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8234 if (PyErr_Occurred()) SWIG_fail
;
8236 resultobj
= SWIG_Py_Void();
8243 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8244 PyObject
*resultobj
= 0;
8245 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8246 wxAlphaPixelData
*arg2
= 0 ;
8251 PyObject
* obj0
= 0 ;
8252 PyObject
* obj1
= 0 ;
8253 char * kwnames
[] = {
8254 (char *) "self",(char *) "data", NULL
8257 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AlphaPixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8258 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8259 if (!SWIG_IsOK(res1
)) {
8260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8262 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8263 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8264 if (!SWIG_IsOK(res2
)) {
8265 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8268 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8270 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8272 (arg1
)->Reset((wxAlphaPixelData
const &)*arg2
);
8273 if (PyErr_Occurred()) SWIG_fail
;
8275 resultobj
= SWIG_Py_Void();
8282 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8283 PyObject
*resultobj
= 0;
8284 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8288 PyObject
*swig_obj
[1] ;
8290 if (!args
) SWIG_fail
;
8292 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8293 if (!SWIG_IsOK(res1
)) {
8294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor const *""'");
8296 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8298 result
= (bool)((wxAlphaPixelData_Accessor
const *)arg1
)->IsOk();
8299 if (PyErr_Occurred()) SWIG_fail
;
8302 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8310 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8311 PyObject
*resultobj
= 0;
8312 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8315 PyObject
*swig_obj
[1] ;
8317 if (!args
) SWIG_fail
;
8319 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8320 if (!SWIG_IsOK(res1
)) {
8321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8323 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8325 wxAlphaPixelData_Accessor_nextPixel(arg1
);
8326 if (PyErr_Occurred()) SWIG_fail
;
8328 resultobj
= SWIG_Py_Void();
8335 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8336 PyObject
*resultobj
= 0;
8337 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8338 wxAlphaPixelData
*arg2
= 0 ;
8349 PyObject
* obj0
= 0 ;
8350 PyObject
* obj1
= 0 ;
8351 PyObject
* obj2
= 0 ;
8352 PyObject
* obj3
= 0 ;
8353 char * kwnames
[] = {
8354 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8357 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8358 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8359 if (!SWIG_IsOK(res1
)) {
8360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8362 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8363 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8364 if (!SWIG_IsOK(res2
)) {
8365 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8368 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8370 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8371 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8372 if (!SWIG_IsOK(ecode3
)) {
8373 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
8375 arg3
= static_cast< int >(val3
);
8376 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8377 if (!SWIG_IsOK(ecode4
)) {
8378 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
8380 arg4
= static_cast< int >(val4
);
8382 (arg1
)->Offset((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8383 if (PyErr_Occurred()) SWIG_fail
;
8385 resultobj
= SWIG_Py_Void();
8392 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8393 PyObject
*resultobj
= 0;
8394 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8395 wxAlphaPixelData
*arg2
= 0 ;
8403 PyObject
* obj0
= 0 ;
8404 PyObject
* obj1
= 0 ;
8405 PyObject
* obj2
= 0 ;
8406 char * kwnames
[] = {
8407 (char *) "self",(char *) "data",(char *) "x", NULL
8410 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8411 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8412 if (!SWIG_IsOK(res1
)) {
8413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8415 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8416 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8417 if (!SWIG_IsOK(res2
)) {
8418 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8421 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8423 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8424 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8425 if (!SWIG_IsOK(ecode3
)) {
8426 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
8428 arg3
= static_cast< int >(val3
);
8430 (arg1
)->OffsetX((wxAlphaPixelData
const &)*arg2
,arg3
);
8431 if (PyErr_Occurred()) SWIG_fail
;
8433 resultobj
= SWIG_Py_Void();
8440 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8441 PyObject
*resultobj
= 0;
8442 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8443 wxAlphaPixelData
*arg2
= 0 ;
8451 PyObject
* obj0
= 0 ;
8452 PyObject
* obj1
= 0 ;
8453 PyObject
* obj2
= 0 ;
8454 char * kwnames
[] = {
8455 (char *) "self",(char *) "data",(char *) "y", NULL
8458 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8459 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8460 if (!SWIG_IsOK(res1
)) {
8461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8463 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8464 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8465 if (!SWIG_IsOK(res2
)) {
8466 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8469 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8471 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8472 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8473 if (!SWIG_IsOK(ecode3
)) {
8474 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
8476 arg3
= static_cast< int >(val3
);
8478 (arg1
)->OffsetY((wxAlphaPixelData
const &)*arg2
,arg3
);
8479 if (PyErr_Occurred()) SWIG_fail
;
8481 resultobj
= SWIG_Py_Void();
8488 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8489 PyObject
*resultobj
= 0;
8490 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8491 wxAlphaPixelData
*arg2
= 0 ;
8502 PyObject
* obj0
= 0 ;
8503 PyObject
* obj1
= 0 ;
8504 PyObject
* obj2
= 0 ;
8505 PyObject
* obj3
= 0 ;
8506 char * kwnames
[] = {
8507 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8510 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8511 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8512 if (!SWIG_IsOK(res1
)) {
8513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8515 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8516 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8517 if (!SWIG_IsOK(res2
)) {
8518 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8521 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8523 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8524 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8525 if (!SWIG_IsOK(ecode3
)) {
8526 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
8528 arg3
= static_cast< int >(val3
);
8529 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8530 if (!SWIG_IsOK(ecode4
)) {
8531 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
8533 arg4
= static_cast< int >(val4
);
8535 (arg1
)->MoveTo((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8536 if (PyErr_Occurred()) SWIG_fail
;
8538 resultobj
= SWIG_Py_Void();
8545 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8546 PyObject
*resultobj
= 0;
8547 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8554 unsigned char val2
;
8556 unsigned char val3
;
8558 unsigned char val4
;
8560 unsigned char val5
;
8562 PyObject
* obj0
= 0 ;
8563 PyObject
* obj1
= 0 ;
8564 PyObject
* obj2
= 0 ;
8565 PyObject
* obj3
= 0 ;
8566 PyObject
* obj4
= 0 ;
8567 char * kwnames
[] = {
8568 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
8571 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:AlphaPixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8572 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8573 if (!SWIG_IsOK(res1
)) {
8574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8576 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8577 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
8578 if (!SWIG_IsOK(ecode2
)) {
8579 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
8581 arg2
= static_cast< byte
>(val2
);
8582 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
8583 if (!SWIG_IsOK(ecode3
)) {
8584 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
8586 arg3
= static_cast< byte
>(val3
);
8587 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
8588 if (!SWIG_IsOK(ecode4
)) {
8589 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
8591 arg4
= static_cast< byte
>(val4
);
8592 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
8593 if (!SWIG_IsOK(ecode5
)) {
8594 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "5"" of type '" "byte""'");
8596 arg5
= static_cast< byte
>(val5
);
8598 wxAlphaPixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
8599 if (PyErr_Occurred()) SWIG_fail
;
8601 resultobj
= SWIG_Py_Void();
8608 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8609 PyObject
*resultobj
= 0;
8610 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8611 PyObject
*result
= 0 ;
8614 PyObject
*swig_obj
[1] ;
8616 if (!args
) SWIG_fail
;
8618 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8619 if (!SWIG_IsOK(res1
)) {
8620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8622 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8624 result
= (PyObject
*)wxAlphaPixelData_Accessor_Get(arg1
);
8625 if (PyErr_Occurred()) SWIG_fail
;
8634 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8636 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8637 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_NewClientData(obj
));
8638 return SWIG_Py_Void();
8641 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8642 return SWIG_Python_InitShadowInstance(args
);
8645 SWIGINTERN PyObject
*_wrap_new_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8646 PyObject
*resultobj
= 0;
8647 wxBitmap
*arg1
= 0 ;
8648 wxColour
const &arg2_defvalue
= wxNullColour
;
8649 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
8650 wxMask
*result
= 0 ;
8654 PyObject
* obj0
= 0 ;
8655 PyObject
* obj1
= 0 ;
8656 char * kwnames
[] = {
8657 (char *) "bitmap",(char *) "colour", NULL
8660 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8661 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8662 if (!SWIG_IsOK(res1
)) {
8663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8666 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8668 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8672 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8676 if (!wxPyCheckForApp()) SWIG_fail
;
8677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8678 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
8679 wxPyEndAllowThreads(__tstate
);
8680 if (PyErr_Occurred()) SWIG_fail
;
8682 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, SWIG_POINTER_NEW
| 0 );
8689 SWIGINTERN PyObject
*_wrap_delete_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8690 PyObject
*resultobj
= 0;
8691 wxMask
*arg1
= (wxMask
*) 0 ;
8694 PyObject
*swig_obj
[1] ;
8696 if (!args
) SWIG_fail
;
8698 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
8699 if (!SWIG_IsOK(res1
)) {
8700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Mask" "', expected argument " "1"" of type '" "wxMask *""'");
8702 arg1
= reinterpret_cast< wxMask
* >(argp1
);
8706 if (PyErr_Occurred()) SWIG_fail
;
8708 resultobj
= SWIG_Py_Void();
8715 SWIGINTERN PyObject
*Mask_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8717 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8718 SWIG_TypeNewClientData(SWIGTYPE_p_wxMask
, SWIG_NewClientData(obj
));
8719 return SWIG_Py_Void();
8722 SWIGINTERN PyObject
*Mask_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8723 return SWIG_Python_InitShadowInstance(args
);
8726 SWIGINTERN PyObject
*_wrap_new_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8727 PyObject
*resultobj
= 0;
8728 wxString
*arg1
= 0 ;
8730 int arg3
= (int) -1 ;
8731 int arg4
= (int) -1 ;
8732 wxIcon
*result
= 0 ;
8733 bool temp1
= false ;
8740 PyObject
* obj0
= 0 ;
8741 PyObject
* obj1
= 0 ;
8742 PyObject
* obj2
= 0 ;
8743 PyObject
* obj3
= 0 ;
8744 char * kwnames
[] = {
8745 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
8748 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8750 arg1
= wxString_in_helper(obj0
);
8751 if (arg1
== NULL
) SWIG_fail
;
8754 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8755 if (!SWIG_IsOK(ecode2
)) {
8756 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Icon" "', expected argument " "2"" of type '" "wxBitmapType""'");
8758 arg2
= static_cast< wxBitmapType
>(val2
);
8760 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8761 if (!SWIG_IsOK(ecode3
)) {
8762 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Icon" "', expected argument " "3"" of type '" "int""'");
8764 arg3
= static_cast< int >(val3
);
8767 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8768 if (!SWIG_IsOK(ecode4
)) {
8769 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Icon" "', expected argument " "4"" of type '" "int""'");
8771 arg4
= static_cast< int >(val4
);
8774 if (!wxPyCheckForApp()) SWIG_fail
;
8775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8776 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
8777 wxPyEndAllowThreads(__tstate
);
8778 if (PyErr_Occurred()) SWIG_fail
;
8780 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_NEW
| 0 );
8795 SWIGINTERN PyObject
*_wrap_delete_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8796 PyObject
*resultobj
= 0;
8797 wxIcon
*arg1
= (wxIcon
*) 0 ;
8800 PyObject
*swig_obj
[1] ;
8802 if (!args
) SWIG_fail
;
8804 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, SWIG_POINTER_DISOWN
| 0 );
8805 if (!SWIG_IsOK(res1
)) {
8806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Icon" "', expected argument " "1"" of type '" "wxIcon *""'");
8808 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
8810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8813 wxPyEndAllowThreads(__tstate
);
8814 if (PyErr_Occurred()) SWIG_fail
;
8816 resultobj
= SWIG_Py_Void();
8823 SWIGINTERN PyObject
*_wrap_new_EmptyIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8824 PyObject
*resultobj
= 0;
8825 wxIcon
*result
= 0 ;
8827 if (!SWIG_Python_UnpackTuple(args
,"new_EmptyIcon",0,0,0)) SWIG_fail
;
8829 if (!wxPyCheckForApp()) SWIG_fail
;
8830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8831 result
= (wxIcon
*)new wxIcon();
8832 wxPyEndAllowThreads(__tstate
);
8833 if (PyErr_Occurred()) SWIG_fail
;
8835 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
8842 SWIGINTERN PyObject
*_wrap_new_IconFromLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8843 PyObject
*resultobj
= 0;
8844 wxIconLocation
*arg1
= 0 ;
8845 wxIcon
*result
= 0 ;
8848 PyObject
* obj0
= 0 ;
8849 char * kwnames
[] = {
8850 (char *) "loc", NULL
8853 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) SWIG_fail
;
8854 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIconLocation
, 0 | 0);
8855 if (!SWIG_IsOK(res1
)) {
8856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
8859 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
8861 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
8863 if (!wxPyCheckForApp()) SWIG_fail
;
8864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8865 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
8866 wxPyEndAllowThreads(__tstate
);
8867 if (PyErr_Occurred()) SWIG_fail
;
8869 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
8876 SWIGINTERN PyObject
*_wrap_new_IconFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8877 PyObject
*resultobj
= 0;
8878 wxBitmap
*arg1
= 0 ;
8879 wxIcon
*result
= 0 ;
8882 PyObject
* obj0
= 0 ;
8883 char * kwnames
[] = {
8884 (char *) "bmp", NULL
8887 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
8888 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8889 if (!SWIG_IsOK(res1
)) {
8890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8893 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8895 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8897 if (!wxPyCheckForApp()) SWIG_fail
;
8898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8899 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
8900 wxPyEndAllowThreads(__tstate
);
8901 if (PyErr_Occurred()) SWIG_fail
;
8903 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
8910 SWIGINTERN PyObject
*_wrap_new_IconFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8911 PyObject
*resultobj
= 0;
8912 PyObject
*arg1
= (PyObject
*) 0 ;
8913 wxIcon
*result
= 0 ;
8914 PyObject
* obj0
= 0 ;
8915 char * kwnames
[] = {
8916 (char *) "listOfStrings", NULL
8919 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
8922 if (!wxPyCheckForApp()) SWIG_fail
;
8923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8924 result
= (wxIcon
*)new_wxIcon(arg1
);
8925 wxPyEndAllowThreads(__tstate
);
8926 if (PyErr_Occurred()) SWIG_fail
;
8928 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
8935 SWIGINTERN PyObject
*_wrap_Icon_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8936 PyObject
*resultobj
= 0;
8937 wxIcon
*arg1
= (wxIcon
*) 0 ;
8938 wxString
*arg2
= 0 ;
8943 bool temp2
= false ;
8946 PyObject
* obj0
= 0 ;
8947 PyObject
* obj1
= 0 ;
8948 PyObject
* obj2
= 0 ;
8949 char * kwnames
[] = {
8950 (char *) "self",(char *) "name",(char *) "type", NULL
8953 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Icon_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8954 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
8955 if (!SWIG_IsOK(res1
)) {
8956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_LoadFile" "', expected argument " "1"" of type '" "wxIcon *""'");
8958 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
8960 arg2
= wxString_in_helper(obj1
);
8961 if (arg2
== NULL
) SWIG_fail
;
8964 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8965 if (!SWIG_IsOK(ecode3
)) {
8966 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Icon_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
8968 arg3
= static_cast< wxBitmapType
>(val3
);
8970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8971 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
8972 wxPyEndAllowThreads(__tstate
);
8973 if (PyErr_Occurred()) SWIG_fail
;
8976 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8992 SWIGINTERN PyObject
*_wrap_Icon_GetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8993 PyObject
*resultobj
= 0;
8994 wxIcon
*arg1
= (wxIcon
*) 0 ;
8998 PyObject
*swig_obj
[1] ;
9000 if (!args
) SWIG_fail
;
9002 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9003 if (!SWIG_IsOK(res1
)) {
9004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetHandle" "', expected argument " "1"" of type '" "wxIcon *""'");
9006 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9009 result
= (long)(arg1
)->GetHandle();
9010 wxPyEndAllowThreads(__tstate
);
9011 if (PyErr_Occurred()) SWIG_fail
;
9013 resultobj
= SWIG_From_long(static_cast< long >(result
));
9020 SWIGINTERN PyObject
*_wrap_Icon_SetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9021 PyObject
*resultobj
= 0;
9022 wxIcon
*arg1
= (wxIcon
*) 0 ;
9028 PyObject
* obj0
= 0 ;
9029 PyObject
* obj1
= 0 ;
9030 char * kwnames
[] = {
9031 (char *) "self",(char *) "handle", NULL
9034 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHandle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9035 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9036 if (!SWIG_IsOK(res1
)) {
9037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetHandle" "', expected argument " "1"" of type '" "wxIcon *""'");
9039 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9040 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9041 if (!SWIG_IsOK(ecode2
)) {
9042 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetHandle" "', expected argument " "2"" of type '" "long""'");
9044 arg2
= static_cast< long >(val2
);
9046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9047 wxIcon_SetHandle(arg1
,arg2
);
9048 wxPyEndAllowThreads(__tstate
);
9049 if (PyErr_Occurred()) SWIG_fail
;
9051 resultobj
= SWIG_Py_Void();
9058 SWIGINTERN PyObject
*_wrap_Icon_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9059 PyObject
*resultobj
= 0;
9060 wxIcon
*arg1
= (wxIcon
*) 0 ;
9064 PyObject
*swig_obj
[1] ;
9066 if (!args
) SWIG_fail
;
9068 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9069 if (!SWIG_IsOK(res1
)) {
9070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_Ok" "', expected argument " "1"" of type '" "wxIcon *""'");
9072 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9075 result
= (bool)(arg1
)->Ok();
9076 wxPyEndAllowThreads(__tstate
);
9077 if (PyErr_Occurred()) SWIG_fail
;
9080 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9088 SWIGINTERN PyObject
*_wrap_Icon_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9089 PyObject
*resultobj
= 0;
9090 wxIcon
*arg1
= (wxIcon
*) 0 ;
9094 PyObject
*swig_obj
[1] ;
9096 if (!args
) SWIG_fail
;
9098 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9099 if (!SWIG_IsOK(res1
)) {
9100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
9102 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9105 result
= (int)(arg1
)->GetWidth();
9106 wxPyEndAllowThreads(__tstate
);
9107 if (PyErr_Occurred()) SWIG_fail
;
9109 resultobj
= SWIG_From_int(static_cast< int >(result
));
9116 SWIGINTERN PyObject
*_wrap_Icon_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9117 PyObject
*resultobj
= 0;
9118 wxIcon
*arg1
= (wxIcon
*) 0 ;
9122 PyObject
*swig_obj
[1] ;
9124 if (!args
) SWIG_fail
;
9126 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9127 if (!SWIG_IsOK(res1
)) {
9128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
9130 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9133 result
= (int)(arg1
)->GetHeight();
9134 wxPyEndAllowThreads(__tstate
);
9135 if (PyErr_Occurred()) SWIG_fail
;
9137 resultobj
= SWIG_From_int(static_cast< int >(result
));
9144 SWIGINTERN PyObject
*_wrap_Icon_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9145 PyObject
*resultobj
= 0;
9146 wxIcon
*arg1
= (wxIcon
*) 0 ;
9150 PyObject
*swig_obj
[1] ;
9152 if (!args
) SWIG_fail
;
9154 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9155 if (!SWIG_IsOK(res1
)) {
9156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9158 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9161 result
= (int)(arg1
)->GetDepth();
9162 wxPyEndAllowThreads(__tstate
);
9163 if (PyErr_Occurred()) SWIG_fail
;
9165 resultobj
= SWIG_From_int(static_cast< int >(result
));
9172 SWIGINTERN PyObject
*_wrap_Icon_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9173 PyObject
*resultobj
= 0;
9174 wxIcon
*arg1
= (wxIcon
*) 0 ;
9180 PyObject
* obj0
= 0 ;
9181 PyObject
* obj1
= 0 ;
9182 char * kwnames
[] = {
9183 (char *) "self",(char *) "w", NULL
9186 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9187 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9188 if (!SWIG_IsOK(res1
)) {
9189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
9191 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9192 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9193 if (!SWIG_IsOK(ecode2
)) {
9194 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetWidth" "', expected argument " "2"" of type '" "int""'");
9196 arg2
= static_cast< int >(val2
);
9198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9199 (arg1
)->SetWidth(arg2
);
9200 wxPyEndAllowThreads(__tstate
);
9201 if (PyErr_Occurred()) SWIG_fail
;
9203 resultobj
= SWIG_Py_Void();
9210 SWIGINTERN PyObject
*_wrap_Icon_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9211 PyObject
*resultobj
= 0;
9212 wxIcon
*arg1
= (wxIcon
*) 0 ;
9218 PyObject
* obj0
= 0 ;
9219 PyObject
* obj1
= 0 ;
9220 char * kwnames
[] = {
9221 (char *) "self",(char *) "h", NULL
9224 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9225 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9226 if (!SWIG_IsOK(res1
)) {
9227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
9229 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9230 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9231 if (!SWIG_IsOK(ecode2
)) {
9232 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetHeight" "', expected argument " "2"" of type '" "int""'");
9234 arg2
= static_cast< int >(val2
);
9236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9237 (arg1
)->SetHeight(arg2
);
9238 wxPyEndAllowThreads(__tstate
);
9239 if (PyErr_Occurred()) SWIG_fail
;
9241 resultobj
= SWIG_Py_Void();
9248 SWIGINTERN PyObject
*_wrap_Icon_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9249 PyObject
*resultobj
= 0;
9250 wxIcon
*arg1
= (wxIcon
*) 0 ;
9256 PyObject
* obj0
= 0 ;
9257 PyObject
* obj1
= 0 ;
9258 char * kwnames
[] = {
9259 (char *) "self",(char *) "d", NULL
9262 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9263 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9264 if (!SWIG_IsOK(res1
)) {
9265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9267 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9268 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9269 if (!SWIG_IsOK(ecode2
)) {
9270 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetDepth" "', expected argument " "2"" of type '" "int""'");
9272 arg2
= static_cast< int >(val2
);
9274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9275 (arg1
)->SetDepth(arg2
);
9276 wxPyEndAllowThreads(__tstate
);
9277 if (PyErr_Occurred()) SWIG_fail
;
9279 resultobj
= SWIG_Py_Void();
9286 SWIGINTERN PyObject
*_wrap_Icon_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9287 PyObject
*resultobj
= 0;
9288 wxIcon
*arg1
= (wxIcon
*) 0 ;
9293 PyObject
* obj0
= 0 ;
9294 PyObject
* obj1
= 0 ;
9295 char * kwnames
[] = {
9296 (char *) "self",(char *) "size", NULL
9299 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9300 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9301 if (!SWIG_IsOK(res1
)) {
9302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetSize" "', expected argument " "1"" of type '" "wxIcon *""'");
9304 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9307 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
9310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9311 (arg1
)->SetSize((wxSize
const &)*arg2
);
9312 wxPyEndAllowThreads(__tstate
);
9313 if (PyErr_Occurred()) SWIG_fail
;
9315 resultobj
= SWIG_Py_Void();
9322 SWIGINTERN PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9323 PyObject
*resultobj
= 0;
9324 wxIcon
*arg1
= (wxIcon
*) 0 ;
9325 wxBitmap
*arg2
= 0 ;
9330 PyObject
* obj0
= 0 ;
9331 PyObject
* obj1
= 0 ;
9332 char * kwnames
[] = {
9333 (char *) "self",(char *) "bmp", NULL
9336 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9337 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9338 if (!SWIG_IsOK(res1
)) {
9339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "1"" of type '" "wxIcon *""'");
9341 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9342 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9343 if (!SWIG_IsOK(res2
)) {
9344 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9347 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9349 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
9351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9352 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
9353 wxPyEndAllowThreads(__tstate
);
9354 if (PyErr_Occurred()) SWIG_fail
;
9356 resultobj
= SWIG_Py_Void();
9363 SWIGINTERN PyObject
*Icon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9365 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9366 SWIG_TypeNewClientData(SWIGTYPE_p_wxIcon
, SWIG_NewClientData(obj
));
9367 return SWIG_Py_Void();
9370 SWIGINTERN PyObject
*Icon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9371 return SWIG_Python_InitShadowInstance(args
);
9374 SWIGINTERN PyObject
*_wrap_new_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9375 PyObject
*resultobj
= 0;
9376 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
9377 int arg2
= (int) 0 ;
9378 wxIconLocation
*result
= 0 ;
9379 bool temp1
= false ;
9382 PyObject
* obj0
= 0 ;
9383 PyObject
* obj1
= 0 ;
9384 char * kwnames
[] = {
9385 (char *) "filename",(char *) "num", NULL
9388 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9391 arg1
= wxString_in_helper(obj0
);
9392 if (arg1
== NULL
) SWIG_fail
;
9397 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9398 if (!SWIG_IsOK(ecode2
)) {
9399 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconLocation" "', expected argument " "2"" of type '" "int""'");
9401 arg2
= static_cast< int >(val2
);
9404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9405 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
9406 wxPyEndAllowThreads(__tstate
);
9407 if (PyErr_Occurred()) SWIG_fail
;
9409 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_NEW
| 0 );
9424 SWIGINTERN PyObject
*_wrap_delete_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9425 PyObject
*resultobj
= 0;
9426 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9429 PyObject
*swig_obj
[1] ;
9431 if (!args
) SWIG_fail
;
9433 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_DISOWN
| 0 );
9434 if (!SWIG_IsOK(res1
)) {
9435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconLocation" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9437 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9442 wxPyEndAllowThreads(__tstate
);
9443 if (PyErr_Occurred()) SWIG_fail
;
9445 resultobj
= SWIG_Py_Void();
9452 SWIGINTERN PyObject
*_wrap_IconLocation_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9453 PyObject
*resultobj
= 0;
9454 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9458 PyObject
*swig_obj
[1] ;
9460 if (!args
) SWIG_fail
;
9462 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9463 if (!SWIG_IsOK(res1
)) {
9464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_IsOk" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9466 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9469 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
9470 wxPyEndAllowThreads(__tstate
);
9471 if (PyErr_Occurred()) SWIG_fail
;
9474 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9482 SWIGINTERN PyObject
*_wrap_IconLocation_SetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9483 PyObject
*resultobj
= 0;
9484 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9485 wxString
*arg2
= 0 ;
9488 bool temp2
= false ;
9489 PyObject
* obj0
= 0 ;
9490 PyObject
* obj1
= 0 ;
9491 char * kwnames
[] = {
9492 (char *) "self",(char *) "filename", NULL
9495 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9496 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9497 if (!SWIG_IsOK(res1
)) {
9498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetFileName" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9500 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9502 arg2
= wxString_in_helper(obj1
);
9503 if (arg2
== NULL
) SWIG_fail
;
9507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9508 (arg1
)->SetFileName((wxString
const &)*arg2
);
9509 wxPyEndAllowThreads(__tstate
);
9510 if (PyErr_Occurred()) SWIG_fail
;
9512 resultobj
= SWIG_Py_Void();
9527 SWIGINTERN PyObject
*_wrap_IconLocation_GetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9528 PyObject
*resultobj
= 0;
9529 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9530 wxString
*result
= 0 ;
9533 PyObject
*swig_obj
[1] ;
9535 if (!args
) SWIG_fail
;
9537 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9538 if (!SWIG_IsOK(res1
)) {
9539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetFileName" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9541 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9545 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
9546 result
= (wxString
*) &_result_ref
;
9548 wxPyEndAllowThreads(__tstate
);
9549 if (PyErr_Occurred()) SWIG_fail
;
9553 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9555 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9564 SWIGINTERN PyObject
*_wrap_IconLocation_SetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9565 PyObject
*resultobj
= 0;
9566 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9572 PyObject
* obj0
= 0 ;
9573 PyObject
* obj1
= 0 ;
9574 char * kwnames
[] = {
9575 (char *) "self",(char *) "num", NULL
9578 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9579 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9580 if (!SWIG_IsOK(res1
)) {
9581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9583 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9584 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9585 if (!SWIG_IsOK(ecode2
)) {
9586 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IconLocation_SetIndex" "', expected argument " "2"" of type '" "int""'");
9588 arg2
= static_cast< int >(val2
);
9590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9591 wxIconLocation_SetIndex(arg1
,arg2
);
9592 wxPyEndAllowThreads(__tstate
);
9593 if (PyErr_Occurred()) SWIG_fail
;
9595 resultobj
= SWIG_Py_Void();
9602 SWIGINTERN PyObject
*_wrap_IconLocation_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9603 PyObject
*resultobj
= 0;
9604 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9608 PyObject
*swig_obj
[1] ;
9610 if (!args
) SWIG_fail
;
9612 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9613 if (!SWIG_IsOK(res1
)) {
9614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9616 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9619 result
= (int)wxIconLocation_GetIndex(arg1
);
9620 wxPyEndAllowThreads(__tstate
);
9621 if (PyErr_Occurred()) SWIG_fail
;
9623 resultobj
= SWIG_From_int(static_cast< int >(result
));
9630 SWIGINTERN PyObject
*IconLocation_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9632 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9633 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconLocation
, SWIG_NewClientData(obj
));
9634 return SWIG_Py_Void();
9637 SWIGINTERN PyObject
*IconLocation_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9638 return SWIG_Python_InitShadowInstance(args
);
9641 SWIGINTERN PyObject
*_wrap_new_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9642 PyObject
*resultobj
= 0;
9643 wxIconBundle
*result
= 0 ;
9645 if (!SWIG_Python_UnpackTuple(args
,"new_IconBundle",0,0,0)) SWIG_fail
;
9647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9648 result
= (wxIconBundle
*)new wxIconBundle();
9649 wxPyEndAllowThreads(__tstate
);
9650 if (PyErr_Occurred()) SWIG_fail
;
9652 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_NEW
| 0 );
9659 SWIGINTERN PyObject
*_wrap_new_IconBundleFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9660 PyObject
*resultobj
= 0;
9661 wxString
*arg1
= 0 ;
9663 wxIconBundle
*result
= 0 ;
9664 bool temp1
= false ;
9667 PyObject
* obj0
= 0 ;
9668 PyObject
* obj1
= 0 ;
9669 char * kwnames
[] = {
9670 (char *) "file",(char *) "type", NULL
9673 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9675 arg1
= wxString_in_helper(obj0
);
9676 if (arg1
== NULL
) SWIG_fail
;
9679 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9680 if (!SWIG_IsOK(ecode2
)) {
9681 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconBundleFromFile" "', expected argument " "2"" of type '" "long""'");
9683 arg2
= static_cast< long >(val2
);
9685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9686 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
9687 wxPyEndAllowThreads(__tstate
);
9688 if (PyErr_Occurred()) SWIG_fail
;
9690 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
9705 SWIGINTERN PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9706 PyObject
*resultobj
= 0;
9708 wxIconBundle
*result
= 0 ;
9711 PyObject
* obj0
= 0 ;
9712 char * kwnames
[] = {
9713 (char *) "icon", NULL
9716 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) SWIG_fail
;
9717 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
9718 if (!SWIG_IsOK(res1
)) {
9719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
9722 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
9724 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9727 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
9728 wxPyEndAllowThreads(__tstate
);
9729 if (PyErr_Occurred()) SWIG_fail
;
9731 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
9738 SWIGINTERN PyObject
*_wrap_delete_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9739 PyObject
*resultobj
= 0;
9740 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9743 PyObject
*swig_obj
[1] ;
9745 if (!args
) SWIG_fail
;
9747 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_DISOWN
| 0 );
9748 if (!SWIG_IsOK(res1
)) {
9749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconBundle" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9751 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9756 wxPyEndAllowThreads(__tstate
);
9757 if (PyErr_Occurred()) SWIG_fail
;
9759 resultobj
= SWIG_Py_Void();
9766 SWIGINTERN PyObject
*_wrap_IconBundle_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9767 PyObject
*resultobj
= 0;
9768 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9774 PyObject
* obj0
= 0 ;
9775 PyObject
* obj1
= 0 ;
9776 char * kwnames
[] = {
9777 (char *) "self",(char *) "icon", NULL
9780 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9781 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
9782 if (!SWIG_IsOK(res1
)) {
9783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIcon" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9785 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9786 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
9787 if (!SWIG_IsOK(res2
)) {
9788 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
9791 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
9793 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
9795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9796 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
9797 wxPyEndAllowThreads(__tstate
);
9798 if (PyErr_Occurred()) SWIG_fail
;
9800 resultobj
= SWIG_Py_Void();
9807 SWIGINTERN PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9808 PyObject
*resultobj
= 0;
9809 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9810 wxString
*arg2
= 0 ;
9814 bool temp2
= false ;
9817 PyObject
* obj0
= 0 ;
9818 PyObject
* obj1
= 0 ;
9819 PyObject
* obj2
= 0 ;
9820 char * kwnames
[] = {
9821 (char *) "self",(char *) "file",(char *) "type", NULL
9824 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9825 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
9826 if (!SWIG_IsOK(res1
)) {
9827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9829 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9831 arg2
= wxString_in_helper(obj1
);
9832 if (arg2
== NULL
) SWIG_fail
;
9835 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
9836 if (!SWIG_IsOK(ecode3
)) {
9837 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "3"" of type '" "long""'");
9839 arg3
= static_cast< long >(val3
);
9841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9842 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
9843 wxPyEndAllowThreads(__tstate
);
9844 if (PyErr_Occurred()) SWIG_fail
;
9846 resultobj
= SWIG_Py_Void();
9861 SWIGINTERN PyObject
*_wrap_IconBundle_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9862 PyObject
*resultobj
= 0;
9863 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9865 wxIcon
*result
= 0 ;
9869 PyObject
* obj0
= 0 ;
9870 PyObject
* obj1
= 0 ;
9871 char * kwnames
[] = {
9872 (char *) "self",(char *) "size", NULL
9875 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9876 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
9877 if (!SWIG_IsOK(res1
)) {
9878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_GetIcon" "', expected argument " "1"" of type '" "wxIconBundle const *""'");
9880 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9883 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
9886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9888 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
9889 result
= (wxIcon
*) &_result_ref
;
9891 wxPyEndAllowThreads(__tstate
);
9892 if (PyErr_Occurred()) SWIG_fail
;
9895 wxIcon
* resultptr
= new wxIcon(*result
);
9896 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
9904 SWIGINTERN PyObject
*IconBundle_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9906 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9907 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconBundle
, SWIG_NewClientData(obj
));
9908 return SWIG_Py_Void();
9911 SWIGINTERN PyObject
*IconBundle_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9912 return SWIG_Python_InitShadowInstance(args
);
9915 SWIGINTERN PyObject
*_wrap_new_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9916 PyObject
*resultobj
= 0;
9917 wxString
*arg1
= 0 ;
9919 int arg3
= (int) 0 ;
9920 int arg4
= (int) 0 ;
9921 wxCursor
*result
= 0 ;
9922 bool temp1
= false ;
9929 PyObject
* obj0
= 0 ;
9930 PyObject
* obj1
= 0 ;
9931 PyObject
* obj2
= 0 ;
9932 PyObject
* obj3
= 0 ;
9933 char * kwnames
[] = {
9934 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
9937 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9939 arg1
= wxString_in_helper(obj0
);
9940 if (arg1
== NULL
) SWIG_fail
;
9943 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9944 if (!SWIG_IsOK(ecode2
)) {
9945 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Cursor" "', expected argument " "2"" of type '" "long""'");
9947 arg2
= static_cast< long >(val2
);
9949 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9950 if (!SWIG_IsOK(ecode3
)) {
9951 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Cursor" "', expected argument " "3"" of type '" "int""'");
9953 arg3
= static_cast< int >(val3
);
9956 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9957 if (!SWIG_IsOK(ecode4
)) {
9958 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Cursor" "', expected argument " "4"" of type '" "int""'");
9960 arg4
= static_cast< int >(val4
);
9963 if (!wxPyCheckForApp()) SWIG_fail
;
9964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9965 result
= (wxCursor
*)new_wxCursor((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
9966 wxPyEndAllowThreads(__tstate
);
9967 if (PyErr_Occurred()) SWIG_fail
;
9969 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_NEW
| 0 );
9984 SWIGINTERN PyObject
*_wrap_delete_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9985 PyObject
*resultobj
= 0;
9986 wxCursor
*arg1
= (wxCursor
*) 0 ;
9989 PyObject
*swig_obj
[1] ;
9991 if (!args
) SWIG_fail
;
9993 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, SWIG_POINTER_DISOWN
| 0 );
9994 if (!SWIG_IsOK(res1
)) {
9995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Cursor" "', expected argument " "1"" of type '" "wxCursor *""'");
9997 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
9999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10002 wxPyEndAllowThreads(__tstate
);
10003 if (PyErr_Occurred()) SWIG_fail
;
10005 resultobj
= SWIG_Py_Void();
10012 SWIGINTERN PyObject
*_wrap_new_StockCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10013 PyObject
*resultobj
= 0;
10015 wxCursor
*result
= 0 ;
10018 PyObject
* obj0
= 0 ;
10019 char * kwnames
[] = {
10020 (char *) "id", NULL
10023 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) SWIG_fail
;
10024 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10025 if (!SWIG_IsOK(ecode1
)) {
10026 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_StockCursor" "', expected argument " "1"" of type '" "int""'");
10028 arg1
= static_cast< int >(val1
);
10030 if (!wxPyCheckForApp()) SWIG_fail
;
10031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10032 result
= (wxCursor
*)new wxCursor(arg1
);
10033 wxPyEndAllowThreads(__tstate
);
10034 if (PyErr_Occurred()) SWIG_fail
;
10036 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
10043 SWIGINTERN PyObject
*_wrap_new_CursorFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10044 PyObject
*resultobj
= 0;
10045 wxImage
*arg1
= 0 ;
10046 wxCursor
*result
= 0 ;
10049 PyObject
* obj0
= 0 ;
10050 char * kwnames
[] = {
10051 (char *) "image", NULL
10054 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) SWIG_fail
;
10055 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
10056 if (!SWIG_IsOK(res1
)) {
10057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
10060 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
10062 arg1
= reinterpret_cast< wxImage
* >(argp1
);
10064 if (!wxPyCheckForApp()) SWIG_fail
;
10065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10066 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
10067 wxPyEndAllowThreads(__tstate
);
10068 if (PyErr_Occurred()) SWIG_fail
;
10070 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
10077 SWIGINTERN PyObject
*_wrap_Cursor_GetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10078 PyObject
*resultobj
= 0;
10079 wxCursor
*arg1
= (wxCursor
*) 0 ;
10083 PyObject
*swig_obj
[1] ;
10085 if (!args
) SWIG_fail
;
10086 swig_obj
[0] = args
;
10087 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10088 if (!SWIG_IsOK(res1
)) {
10089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_GetHandle" "', expected argument " "1"" of type '" "wxCursor *""'");
10091 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10094 result
= (long)(arg1
)->GetHandle();
10095 wxPyEndAllowThreads(__tstate
);
10096 if (PyErr_Occurred()) SWIG_fail
;
10098 resultobj
= SWIG_From_long(static_cast< long >(result
));
10105 SWIGINTERN PyObject
*_wrap_Cursor_SetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10106 PyObject
*resultobj
= 0;
10107 wxCursor
*arg1
= (wxCursor
*) 0 ;
10113 PyObject
* obj0
= 0 ;
10114 PyObject
* obj1
= 0 ;
10115 char * kwnames
[] = {
10116 (char *) "self",(char *) "handle", NULL
10119 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetHandle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10120 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10121 if (!SWIG_IsOK(res1
)) {
10122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetHandle" "', expected argument " "1"" of type '" "wxCursor *""'");
10124 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10125 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10126 if (!SWIG_IsOK(ecode2
)) {
10127 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Cursor_SetHandle" "', expected argument " "2"" of type '" "long""'");
10129 arg2
= static_cast< long >(val2
);
10131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10132 wxCursor_SetHandle(arg1
,arg2
);
10133 wxPyEndAllowThreads(__tstate
);
10134 if (PyErr_Occurred()) SWIG_fail
;
10136 resultobj
= SWIG_Py_Void();
10143 SWIGINTERN PyObject
*_wrap_Cursor_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10144 PyObject
*resultobj
= 0;
10145 wxCursor
*arg1
= (wxCursor
*) 0 ;
10149 PyObject
*swig_obj
[1] ;
10151 if (!args
) SWIG_fail
;
10152 swig_obj
[0] = args
;
10153 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10154 if (!SWIG_IsOK(res1
)) {
10155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_Ok" "', expected argument " "1"" of type '" "wxCursor *""'");
10157 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10160 result
= (bool)(arg1
)->Ok();
10161 wxPyEndAllowThreads(__tstate
);
10162 if (PyErr_Occurred()) SWIG_fail
;
10165 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10173 SWIGINTERN PyObject
*_wrap_Cursor_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10174 PyObject
*resultobj
= 0;
10175 wxCursor
*arg1
= (wxCursor
*) 0 ;
10179 PyObject
*swig_obj
[1] ;
10181 if (!args
) SWIG_fail
;
10182 swig_obj
[0] = args
;
10183 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10184 if (!SWIG_IsOK(res1
)) {
10185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_GetWidth" "', expected argument " "1"" of type '" "wxCursor *""'");
10187 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10190 result
= (int)(arg1
)->GetWidth();
10191 wxPyEndAllowThreads(__tstate
);
10192 if (PyErr_Occurred()) SWIG_fail
;
10194 resultobj
= SWIG_From_int(static_cast< int >(result
));
10201 SWIGINTERN PyObject
*_wrap_Cursor_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10202 PyObject
*resultobj
= 0;
10203 wxCursor
*arg1
= (wxCursor
*) 0 ;
10207 PyObject
*swig_obj
[1] ;
10209 if (!args
) SWIG_fail
;
10210 swig_obj
[0] = args
;
10211 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10212 if (!SWIG_IsOK(res1
)) {
10213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_GetHeight" "', expected argument " "1"" of type '" "wxCursor *""'");
10215 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10218 result
= (int)(arg1
)->GetHeight();
10219 wxPyEndAllowThreads(__tstate
);
10220 if (PyErr_Occurred()) SWIG_fail
;
10222 resultobj
= SWIG_From_int(static_cast< int >(result
));
10229 SWIGINTERN PyObject
*_wrap_Cursor_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10230 PyObject
*resultobj
= 0;
10231 wxCursor
*arg1
= (wxCursor
*) 0 ;
10235 PyObject
*swig_obj
[1] ;
10237 if (!args
) SWIG_fail
;
10238 swig_obj
[0] = args
;
10239 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10240 if (!SWIG_IsOK(res1
)) {
10241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_GetDepth" "', expected argument " "1"" of type '" "wxCursor *""'");
10243 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10246 result
= (int)(arg1
)->GetDepth();
10247 wxPyEndAllowThreads(__tstate
);
10248 if (PyErr_Occurred()) SWIG_fail
;
10250 resultobj
= SWIG_From_int(static_cast< int >(result
));
10257 SWIGINTERN PyObject
*_wrap_Cursor_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10258 PyObject
*resultobj
= 0;
10259 wxCursor
*arg1
= (wxCursor
*) 0 ;
10265 PyObject
* obj0
= 0 ;
10266 PyObject
* obj1
= 0 ;
10267 char * kwnames
[] = {
10268 (char *) "self",(char *) "w", NULL
10271 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10272 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10273 if (!SWIG_IsOK(res1
)) {
10274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetWidth" "', expected argument " "1"" of type '" "wxCursor *""'");
10276 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10277 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10278 if (!SWIG_IsOK(ecode2
)) {
10279 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Cursor_SetWidth" "', expected argument " "2"" of type '" "int""'");
10281 arg2
= static_cast< int >(val2
);
10283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10284 (arg1
)->SetWidth(arg2
);
10285 wxPyEndAllowThreads(__tstate
);
10286 if (PyErr_Occurred()) SWIG_fail
;
10288 resultobj
= SWIG_Py_Void();
10295 SWIGINTERN PyObject
*_wrap_Cursor_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10296 PyObject
*resultobj
= 0;
10297 wxCursor
*arg1
= (wxCursor
*) 0 ;
10303 PyObject
* obj0
= 0 ;
10304 PyObject
* obj1
= 0 ;
10305 char * kwnames
[] = {
10306 (char *) "self",(char *) "h", NULL
10309 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10310 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10311 if (!SWIG_IsOK(res1
)) {
10312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetHeight" "', expected argument " "1"" of type '" "wxCursor *""'");
10314 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10315 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10316 if (!SWIG_IsOK(ecode2
)) {
10317 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Cursor_SetHeight" "', expected argument " "2"" of type '" "int""'");
10319 arg2
= static_cast< int >(val2
);
10321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10322 (arg1
)->SetHeight(arg2
);
10323 wxPyEndAllowThreads(__tstate
);
10324 if (PyErr_Occurred()) SWIG_fail
;
10326 resultobj
= SWIG_Py_Void();
10333 SWIGINTERN PyObject
*_wrap_Cursor_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10334 PyObject
*resultobj
= 0;
10335 wxCursor
*arg1
= (wxCursor
*) 0 ;
10341 PyObject
* obj0
= 0 ;
10342 PyObject
* obj1
= 0 ;
10343 char * kwnames
[] = {
10344 (char *) "self",(char *) "d", NULL
10347 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10348 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10349 if (!SWIG_IsOK(res1
)) {
10350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetDepth" "', expected argument " "1"" of type '" "wxCursor *""'");
10352 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10353 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10354 if (!SWIG_IsOK(ecode2
)) {
10355 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Cursor_SetDepth" "', expected argument " "2"" of type '" "int""'");
10357 arg2
= static_cast< int >(val2
);
10359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10360 (arg1
)->SetDepth(arg2
);
10361 wxPyEndAllowThreads(__tstate
);
10362 if (PyErr_Occurred()) SWIG_fail
;
10364 resultobj
= SWIG_Py_Void();
10371 SWIGINTERN PyObject
*_wrap_Cursor_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10372 PyObject
*resultobj
= 0;
10373 wxCursor
*arg1
= (wxCursor
*) 0 ;
10378 PyObject
* obj0
= 0 ;
10379 PyObject
* obj1
= 0 ;
10380 char * kwnames
[] = {
10381 (char *) "self",(char *) "size", NULL
10384 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Cursor_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10385 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
10386 if (!SWIG_IsOK(res1
)) {
10387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_SetSize" "', expected argument " "1"" of type '" "wxCursor *""'");
10389 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
10392 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
10395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10396 (arg1
)->SetSize((wxSize
const &)*arg2
);
10397 wxPyEndAllowThreads(__tstate
);
10398 if (PyErr_Occurred()) SWIG_fail
;
10400 resultobj
= SWIG_Py_Void();
10407 SWIGINTERN PyObject
*Cursor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10409 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10410 SWIG_TypeNewClientData(SWIGTYPE_p_wxCursor
, SWIG_NewClientData(obj
));
10411 return SWIG_Py_Void();
10414 SWIGINTERN PyObject
*Cursor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10415 return SWIG_Python_InitShadowInstance(args
);
10418 SWIGINTERN PyObject
*_wrap_new_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10419 PyObject
*resultobj
= 0;
10420 int arg1
= (int) 0 ;
10421 int arg2
= (int) 0 ;
10422 int arg3
= (int) 0 ;
10423 int arg4
= (int) 0 ;
10424 wxRegion
*result
= 0 ;
10433 PyObject
* obj0
= 0 ;
10434 PyObject
* obj1
= 0 ;
10435 PyObject
* obj2
= 0 ;
10436 PyObject
* obj3
= 0 ;
10437 char * kwnames
[] = {
10438 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10441 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10443 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10444 if (!SWIG_IsOK(ecode1
)) {
10445 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Region" "', expected argument " "1"" of type '" "int""'");
10447 arg1
= static_cast< int >(val1
);
10450 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10451 if (!SWIG_IsOK(ecode2
)) {
10452 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Region" "', expected argument " "2"" of type '" "int""'");
10454 arg2
= static_cast< int >(val2
);
10457 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10458 if (!SWIG_IsOK(ecode3
)) {
10459 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Region" "', expected argument " "3"" of type '" "int""'");
10461 arg3
= static_cast< int >(val3
);
10464 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10465 if (!SWIG_IsOK(ecode4
)) {
10466 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Region" "', expected argument " "4"" of type '" "int""'");
10468 arg4
= static_cast< int >(val4
);
10471 if (!wxPyCheckForApp()) SWIG_fail
;
10472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10473 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
10474 wxPyEndAllowThreads(__tstate
);
10475 if (PyErr_Occurred()) SWIG_fail
;
10477 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_NEW
| 0 );
10484 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10485 PyObject
*resultobj
= 0;
10486 wxBitmap
*arg1
= 0 ;
10487 wxRegion
*result
= 0 ;
10490 PyObject
* obj0
= 0 ;
10491 char * kwnames
[] = {
10492 (char *) "bmp", NULL
10495 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
10496 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
10497 if (!SWIG_IsOK(res1
)) {
10498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10501 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10503 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
10505 if (!wxPyCheckForApp()) SWIG_fail
;
10506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10507 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
);
10508 wxPyEndAllowThreads(__tstate
);
10509 if (PyErr_Occurred()) SWIG_fail
;
10511 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10518 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10519 PyObject
*resultobj
= 0;
10520 wxBitmap
*arg1
= 0 ;
10521 wxColour
*arg2
= 0 ;
10522 int arg3
= (int) 0 ;
10523 wxRegion
*result
= 0 ;
10529 PyObject
* obj0
= 0 ;
10530 PyObject
* obj1
= 0 ;
10531 PyObject
* obj2
= 0 ;
10532 char * kwnames
[] = {
10533 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
10536 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_RegionFromBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10537 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
10538 if (!SWIG_IsOK(res1
)) {
10539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10542 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10544 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
10547 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10550 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10551 if (!SWIG_IsOK(ecode3
)) {
10552 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "3"" of type '" "int""'");
10554 arg3
= static_cast< int >(val3
);
10557 if (!wxPyCheckForApp()) SWIG_fail
;
10558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10559 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
10560 wxPyEndAllowThreads(__tstate
);
10561 if (PyErr_Occurred()) SWIG_fail
;
10563 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10570 SWIGINTERN PyObject
*_wrap_new_RegionFromPoints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10571 PyObject
*resultobj
= 0;
10573 wxPoint
*arg2
= (wxPoint
*) 0 ;
10574 int arg3
= (int) wxWINDING_RULE
;
10575 wxRegion
*result
= 0 ;
10578 PyObject
* obj0
= 0 ;
10579 PyObject
* obj1
= 0 ;
10580 char * kwnames
[] = {
10581 (char *) "points",(char *) "fillStyle", NULL
10584 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10586 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
10587 if (arg2
== NULL
) SWIG_fail
;
10590 ecode3
= SWIG_AsVal_int(obj1
, &val3
);
10591 if (!SWIG_IsOK(ecode3
)) {
10592 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromPoints" "', expected argument " "3"" of type '" "int""'");
10594 arg3
= static_cast< int >(val3
);
10597 if (!wxPyCheckForApp()) SWIG_fail
;
10598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10599 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
10600 wxPyEndAllowThreads(__tstate
);
10601 if (PyErr_Occurred()) SWIG_fail
;
10603 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10605 if (arg2
) delete [] arg2
;
10610 if (arg2
) delete [] arg2
;
10616 SWIGINTERN PyObject
*_wrap_delete_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10617 PyObject
*resultobj
= 0;
10618 wxRegion
*arg1
= (wxRegion
*) 0 ;
10621 PyObject
*swig_obj
[1] ;
10623 if (!args
) SWIG_fail
;
10624 swig_obj
[0] = args
;
10625 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, SWIG_POINTER_DISOWN
| 0 );
10626 if (!SWIG_IsOK(res1
)) {
10627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Region" "', expected argument " "1"" of type '" "wxRegion *""'");
10629 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10634 wxPyEndAllowThreads(__tstate
);
10635 if (PyErr_Occurred()) SWIG_fail
;
10637 resultobj
= SWIG_Py_Void();
10644 SWIGINTERN PyObject
*_wrap_Region_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10645 PyObject
*resultobj
= 0;
10646 wxRegion
*arg1
= (wxRegion
*) 0 ;
10649 PyObject
*swig_obj
[1] ;
10651 if (!args
) SWIG_fail
;
10652 swig_obj
[0] = args
;
10653 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10654 if (!SWIG_IsOK(res1
)) {
10655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Clear" "', expected argument " "1"" of type '" "wxRegion *""'");
10657 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10661 wxPyEndAllowThreads(__tstate
);
10662 if (PyErr_Occurred()) SWIG_fail
;
10664 resultobj
= SWIG_Py_Void();
10671 SWIGINTERN PyObject
*_wrap_Region_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10672 PyObject
*resultobj
= 0;
10673 wxRegion
*arg1
= (wxRegion
*) 0 ;
10683 PyObject
* obj0
= 0 ;
10684 PyObject
* obj1
= 0 ;
10685 PyObject
* obj2
= 0 ;
10686 char * kwnames
[] = {
10687 (char *) "self",(char *) "x",(char *) "y", NULL
10690 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10691 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10692 if (!SWIG_IsOK(res1
)) {
10693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Offset" "', expected argument " "1"" of type '" "wxRegion *""'");
10695 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10696 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10697 if (!SWIG_IsOK(ecode2
)) {
10698 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Offset" "', expected argument " "2"" of type '" "int""'");
10700 arg2
= static_cast< int >(val2
);
10701 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10702 if (!SWIG_IsOK(ecode3
)) {
10703 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Offset" "', expected argument " "3"" of type '" "int""'");
10705 arg3
= static_cast< int >(val3
);
10707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10708 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
10709 wxPyEndAllowThreads(__tstate
);
10710 if (PyErr_Occurred()) SWIG_fail
;
10713 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10721 SWIGINTERN PyObject
*_wrap_Region_Contains(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10722 PyObject
*resultobj
= 0;
10723 wxRegion
*arg1
= (wxRegion
*) 0 ;
10726 wxRegionContain result
;
10733 PyObject
* obj0
= 0 ;
10734 PyObject
* obj1
= 0 ;
10735 PyObject
* obj2
= 0 ;
10736 char * kwnames
[] = {
10737 (char *) "self",(char *) "x",(char *) "y", NULL
10740 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10741 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10742 if (!SWIG_IsOK(res1
)) {
10743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Contains" "', expected argument " "1"" of type '" "wxRegion *""'");
10745 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10746 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10747 if (!SWIG_IsOK(ecode2
)) {
10748 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Contains" "', expected argument " "2"" of type '" "int""'");
10750 arg2
= static_cast< int >(val2
);
10751 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10752 if (!SWIG_IsOK(ecode3
)) {
10753 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Contains" "', expected argument " "3"" of type '" "int""'");
10755 arg3
= static_cast< int >(val3
);
10757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10758 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
);
10759 wxPyEndAllowThreads(__tstate
);
10760 if (PyErr_Occurred()) SWIG_fail
;
10762 resultobj
= SWIG_From_int(static_cast< int >(result
));
10769 SWIGINTERN PyObject
*_wrap_Region_ContainsPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10770 PyObject
*resultobj
= 0;
10771 wxRegion
*arg1
= (wxRegion
*) 0 ;
10772 wxPoint
*arg2
= 0 ;
10773 wxRegionContain result
;
10777 PyObject
* obj0
= 0 ;
10778 PyObject
* obj1
= 0 ;
10779 char * kwnames
[] = {
10780 (char *) "self",(char *) "pt", NULL
10783 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10784 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10785 if (!SWIG_IsOK(res1
)) {
10786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsPoint" "', expected argument " "1"" of type '" "wxRegion *""'");
10788 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10791 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10795 result
= (wxRegionContain
)(arg1
)->Contains((wxPoint
const &)*arg2
);
10796 wxPyEndAllowThreads(__tstate
);
10797 if (PyErr_Occurred()) SWIG_fail
;
10799 resultobj
= SWIG_From_int(static_cast< int >(result
));
10806 SWIGINTERN PyObject
*_wrap_Region_ContainsRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10807 PyObject
*resultobj
= 0;
10808 wxRegion
*arg1
= (wxRegion
*) 0 ;
10810 wxRegionContain result
;
10814 PyObject
* obj0
= 0 ;
10815 PyObject
* obj1
= 0 ;
10816 char * kwnames
[] = {
10817 (char *) "self",(char *) "rect", NULL
10820 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10821 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10822 if (!SWIG_IsOK(res1
)) {
10823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10825 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10828 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10832 result
= (wxRegionContain
)(arg1
)->Contains((wxRect
const &)*arg2
);
10833 wxPyEndAllowThreads(__tstate
);
10834 if (PyErr_Occurred()) SWIG_fail
;
10836 resultobj
= SWIG_From_int(static_cast< int >(result
));
10843 SWIGINTERN PyObject
*_wrap_Region_ContainsRectDim(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10844 PyObject
*resultobj
= 0;
10845 wxRegion
*arg1
= (wxRegion
*) 0 ;
10850 wxRegionContain result
;
10861 PyObject
* obj0
= 0 ;
10862 PyObject
* obj1
= 0 ;
10863 PyObject
* obj2
= 0 ;
10864 PyObject
* obj3
= 0 ;
10865 PyObject
* obj4
= 0 ;
10866 char * kwnames
[] = {
10867 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
10870 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10871 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10872 if (!SWIG_IsOK(res1
)) {
10873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRectDim" "', expected argument " "1"" of type '" "wxRegion *""'");
10875 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10876 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10877 if (!SWIG_IsOK(ecode2
)) {
10878 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_ContainsRectDim" "', expected argument " "2"" of type '" "int""'");
10880 arg2
= static_cast< int >(val2
);
10881 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10882 if (!SWIG_IsOK(ecode3
)) {
10883 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_ContainsRectDim" "', expected argument " "3"" of type '" "int""'");
10885 arg3
= static_cast< int >(val3
);
10886 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10887 if (!SWIG_IsOK(ecode4
)) {
10888 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_ContainsRectDim" "', expected argument " "4"" of type '" "int""'");
10890 arg4
= static_cast< int >(val4
);
10891 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10892 if (!SWIG_IsOK(ecode5
)) {
10893 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_ContainsRectDim" "', expected argument " "5"" of type '" "int""'");
10895 arg5
= static_cast< int >(val5
);
10897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10898 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
10899 wxPyEndAllowThreads(__tstate
);
10900 if (PyErr_Occurred()) SWIG_fail
;
10902 resultobj
= SWIG_From_int(static_cast< int >(result
));
10909 SWIGINTERN PyObject
*_wrap_Region_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10910 PyObject
*resultobj
= 0;
10911 wxRegion
*arg1
= (wxRegion
*) 0 ;
10915 PyObject
*swig_obj
[1] ;
10917 if (!args
) SWIG_fail
;
10918 swig_obj
[0] = args
;
10919 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10920 if (!SWIG_IsOK(res1
)) {
10921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_GetBox" "', expected argument " "1"" of type '" "wxRegion *""'");
10923 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10926 result
= (arg1
)->GetBox();
10927 wxPyEndAllowThreads(__tstate
);
10928 if (PyErr_Occurred()) SWIG_fail
;
10930 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
10937 SWIGINTERN PyObject
*_wrap_Region_Intersect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10938 PyObject
*resultobj
= 0;
10939 wxRegion
*arg1
= (wxRegion
*) 0 ;
10955 PyObject
* obj0
= 0 ;
10956 PyObject
* obj1
= 0 ;
10957 PyObject
* obj2
= 0 ;
10958 PyObject
* obj3
= 0 ;
10959 PyObject
* obj4
= 0 ;
10960 char * kwnames
[] = {
10961 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10964 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10965 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10966 if (!SWIG_IsOK(res1
)) {
10967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Intersect" "', expected argument " "1"" of type '" "wxRegion *""'");
10969 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10970 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10971 if (!SWIG_IsOK(ecode2
)) {
10972 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Intersect" "', expected argument " "2"" of type '" "int""'");
10974 arg2
= static_cast< int >(val2
);
10975 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10976 if (!SWIG_IsOK(ecode3
)) {
10977 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Intersect" "', expected argument " "3"" of type '" "int""'");
10979 arg3
= static_cast< int >(val3
);
10980 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10981 if (!SWIG_IsOK(ecode4
)) {
10982 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Intersect" "', expected argument " "4"" of type '" "int""'");
10984 arg4
= static_cast< int >(val4
);
10985 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10986 if (!SWIG_IsOK(ecode5
)) {
10987 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Intersect" "', expected argument " "5"" of type '" "int""'");
10989 arg5
= static_cast< int >(val5
);
10991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10992 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
10993 wxPyEndAllowThreads(__tstate
);
10994 if (PyErr_Occurred()) SWIG_fail
;
10997 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11005 SWIGINTERN PyObject
*_wrap_Region_IntersectRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11006 PyObject
*resultobj
= 0;
11007 wxRegion
*arg1
= (wxRegion
*) 0 ;
11013 PyObject
* obj0
= 0 ;
11014 PyObject
* obj1
= 0 ;
11015 char * kwnames
[] = {
11016 (char *) "self",(char *) "rect", NULL
11019 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11020 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11021 if (!SWIG_IsOK(res1
)) {
11022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11024 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11027 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11031 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
11032 wxPyEndAllowThreads(__tstate
);
11033 if (PyErr_Occurred()) SWIG_fail
;
11036 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11044 SWIGINTERN PyObject
*_wrap_Region_IntersectRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11045 PyObject
*resultobj
= 0;
11046 wxRegion
*arg1
= (wxRegion
*) 0 ;
11047 wxRegion
*arg2
= 0 ;
11053 PyObject
* obj0
= 0 ;
11054 PyObject
* obj1
= 0 ;
11055 char * kwnames
[] = {
11056 (char *) "self",(char *) "region", NULL
11059 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11060 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11061 if (!SWIG_IsOK(res1
)) {
11062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11064 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11065 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11066 if (!SWIG_IsOK(res2
)) {
11067 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11070 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11072 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11075 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
11076 wxPyEndAllowThreads(__tstate
);
11077 if (PyErr_Occurred()) SWIG_fail
;
11080 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11088 SWIGINTERN PyObject
*_wrap_Region_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11089 PyObject
*resultobj
= 0;
11090 wxRegion
*arg1
= (wxRegion
*) 0 ;
11094 PyObject
*swig_obj
[1] ;
11096 if (!args
) SWIG_fail
;
11097 swig_obj
[0] = args
;
11098 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11099 if (!SWIG_IsOK(res1
)) {
11100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEmpty" "', expected argument " "1"" of type '" "wxRegion *""'");
11102 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11105 result
= (bool)(arg1
)->IsEmpty();
11106 wxPyEndAllowThreads(__tstate
);
11107 if (PyErr_Occurred()) SWIG_fail
;
11110 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11118 SWIGINTERN PyObject
*_wrap_Region_Union(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11119 PyObject
*resultobj
= 0;
11120 wxRegion
*arg1
= (wxRegion
*) 0 ;
11136 PyObject
* obj0
= 0 ;
11137 PyObject
* obj1
= 0 ;
11138 PyObject
* obj2
= 0 ;
11139 PyObject
* obj3
= 0 ;
11140 PyObject
* obj4
= 0 ;
11141 char * kwnames
[] = {
11142 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11145 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11146 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11147 if (!SWIG_IsOK(res1
)) {
11148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Union" "', expected argument " "1"" of type '" "wxRegion *""'");
11150 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11151 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11152 if (!SWIG_IsOK(ecode2
)) {
11153 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Union" "', expected argument " "2"" of type '" "int""'");
11155 arg2
= static_cast< int >(val2
);
11156 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11157 if (!SWIG_IsOK(ecode3
)) {
11158 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Union" "', expected argument " "3"" of type '" "int""'");
11160 arg3
= static_cast< int >(val3
);
11161 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11162 if (!SWIG_IsOK(ecode4
)) {
11163 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Union" "', expected argument " "4"" of type '" "int""'");
11165 arg4
= static_cast< int >(val4
);
11166 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11167 if (!SWIG_IsOK(ecode5
)) {
11168 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Union" "', expected argument " "5"" of type '" "int""'");
11170 arg5
= static_cast< int >(val5
);
11172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11173 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
11174 wxPyEndAllowThreads(__tstate
);
11175 if (PyErr_Occurred()) SWIG_fail
;
11178 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11186 SWIGINTERN PyObject
*_wrap_Region_UnionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11187 PyObject
*resultobj
= 0;
11188 wxRegion
*arg1
= (wxRegion
*) 0 ;
11194 PyObject
* obj0
= 0 ;
11195 PyObject
* obj1
= 0 ;
11196 char * kwnames
[] = {
11197 (char *) "self",(char *) "rect", NULL
11200 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11201 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11202 if (!SWIG_IsOK(res1
)) {
11203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11205 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11208 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11212 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
11213 wxPyEndAllowThreads(__tstate
);
11214 if (PyErr_Occurred()) SWIG_fail
;
11217 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11225 SWIGINTERN PyObject
*_wrap_Region_UnionRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11226 PyObject
*resultobj
= 0;
11227 wxRegion
*arg1
= (wxRegion
*) 0 ;
11228 wxRegion
*arg2
= 0 ;
11234 PyObject
* obj0
= 0 ;
11235 PyObject
* obj1
= 0 ;
11236 char * kwnames
[] = {
11237 (char *) "self",(char *) "region", NULL
11240 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11241 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11242 if (!SWIG_IsOK(res1
)) {
11243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11245 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11246 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11247 if (!SWIG_IsOK(res2
)) {
11248 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11251 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11253 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11256 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
11257 wxPyEndAllowThreads(__tstate
);
11258 if (PyErr_Occurred()) SWIG_fail
;
11261 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11269 SWIGINTERN PyObject
*_wrap_Region_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11270 PyObject
*resultobj
= 0;
11271 wxRegion
*arg1
= (wxRegion
*) 0 ;
11287 PyObject
* obj0
= 0 ;
11288 PyObject
* obj1
= 0 ;
11289 PyObject
* obj2
= 0 ;
11290 PyObject
* obj3
= 0 ;
11291 PyObject
* obj4
= 0 ;
11292 char * kwnames
[] = {
11293 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11296 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11297 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11298 if (!SWIG_IsOK(res1
)) {
11299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Subtract" "', expected argument " "1"" of type '" "wxRegion *""'");
11301 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11302 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11303 if (!SWIG_IsOK(ecode2
)) {
11304 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Subtract" "', expected argument " "2"" of type '" "int""'");
11306 arg2
= static_cast< int >(val2
);
11307 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11308 if (!SWIG_IsOK(ecode3
)) {
11309 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Subtract" "', expected argument " "3"" of type '" "int""'");
11311 arg3
= static_cast< int >(val3
);
11312 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11313 if (!SWIG_IsOK(ecode4
)) {
11314 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Subtract" "', expected argument " "4"" of type '" "int""'");
11316 arg4
= static_cast< int >(val4
);
11317 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11318 if (!SWIG_IsOK(ecode5
)) {
11319 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Subtract" "', expected argument " "5"" of type '" "int""'");
11321 arg5
= static_cast< int >(val5
);
11323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11324 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
11325 wxPyEndAllowThreads(__tstate
);
11326 if (PyErr_Occurred()) SWIG_fail
;
11329 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11337 SWIGINTERN PyObject
*_wrap_Region_SubtractRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11338 PyObject
*resultobj
= 0;
11339 wxRegion
*arg1
= (wxRegion
*) 0 ;
11345 PyObject
* obj0
= 0 ;
11346 PyObject
* obj1
= 0 ;
11347 char * kwnames
[] = {
11348 (char *) "self",(char *) "rect", NULL
11351 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11352 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11353 if (!SWIG_IsOK(res1
)) {
11354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11356 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11359 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11363 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
11364 wxPyEndAllowThreads(__tstate
);
11365 if (PyErr_Occurred()) SWIG_fail
;
11368 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11376 SWIGINTERN PyObject
*_wrap_Region_SubtractRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11377 PyObject
*resultobj
= 0;
11378 wxRegion
*arg1
= (wxRegion
*) 0 ;
11379 wxRegion
*arg2
= 0 ;
11385 PyObject
* obj0
= 0 ;
11386 PyObject
* obj1
= 0 ;
11387 char * kwnames
[] = {
11388 (char *) "self",(char *) "region", NULL
11391 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11392 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11393 if (!SWIG_IsOK(res1
)) {
11394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11396 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11397 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11398 if (!SWIG_IsOK(res2
)) {
11399 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11402 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11404 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11407 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
11408 wxPyEndAllowThreads(__tstate
);
11409 if (PyErr_Occurred()) SWIG_fail
;
11412 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11420 SWIGINTERN PyObject
*_wrap_Region_Xor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11421 PyObject
*resultobj
= 0;
11422 wxRegion
*arg1
= (wxRegion
*) 0 ;
11438 PyObject
* obj0
= 0 ;
11439 PyObject
* obj1
= 0 ;
11440 PyObject
* obj2
= 0 ;
11441 PyObject
* obj3
= 0 ;
11442 PyObject
* obj4
= 0 ;
11443 char * kwnames
[] = {
11444 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11447 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11448 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11449 if (!SWIG_IsOK(res1
)) {
11450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Xor" "', expected argument " "1"" of type '" "wxRegion *""'");
11452 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11453 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11454 if (!SWIG_IsOK(ecode2
)) {
11455 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Xor" "', expected argument " "2"" of type '" "int""'");
11457 arg2
= static_cast< int >(val2
);
11458 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11459 if (!SWIG_IsOK(ecode3
)) {
11460 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Xor" "', expected argument " "3"" of type '" "int""'");
11462 arg3
= static_cast< int >(val3
);
11463 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11464 if (!SWIG_IsOK(ecode4
)) {
11465 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Xor" "', expected argument " "4"" of type '" "int""'");
11467 arg4
= static_cast< int >(val4
);
11468 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11469 if (!SWIG_IsOK(ecode5
)) {
11470 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Xor" "', expected argument " "5"" of type '" "int""'");
11472 arg5
= static_cast< int >(val5
);
11474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11475 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
11476 wxPyEndAllowThreads(__tstate
);
11477 if (PyErr_Occurred()) SWIG_fail
;
11480 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11488 SWIGINTERN PyObject
*_wrap_Region_XorRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11489 PyObject
*resultobj
= 0;
11490 wxRegion
*arg1
= (wxRegion
*) 0 ;
11496 PyObject
* obj0
= 0 ;
11497 PyObject
* obj1
= 0 ;
11498 char * kwnames
[] = {
11499 (char *) "self",(char *) "rect", NULL
11502 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11503 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11504 if (!SWIG_IsOK(res1
)) {
11505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11507 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11510 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11514 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
11515 wxPyEndAllowThreads(__tstate
);
11516 if (PyErr_Occurred()) SWIG_fail
;
11519 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11527 SWIGINTERN PyObject
*_wrap_Region_XorRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11528 PyObject
*resultobj
= 0;
11529 wxRegion
*arg1
= (wxRegion
*) 0 ;
11530 wxRegion
*arg2
= 0 ;
11536 PyObject
* obj0
= 0 ;
11537 PyObject
* obj1
= 0 ;
11538 char * kwnames
[] = {
11539 (char *) "self",(char *) "region", NULL
11542 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11543 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11544 if (!SWIG_IsOK(res1
)) {
11545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11547 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11548 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11549 if (!SWIG_IsOK(res2
)) {
11550 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11553 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11555 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11558 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
11559 wxPyEndAllowThreads(__tstate
);
11560 if (PyErr_Occurred()) SWIG_fail
;
11563 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11571 SWIGINTERN PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11572 PyObject
*resultobj
= 0;
11573 wxRegion
*arg1
= (wxRegion
*) 0 ;
11574 SwigValueWrapper
<wxBitmap
> result
;
11577 PyObject
*swig_obj
[1] ;
11579 if (!args
) SWIG_fail
;
11580 swig_obj
[0] = args
;
11581 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11582 if (!SWIG_IsOK(res1
)) {
11583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ConvertToBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
11585 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11588 result
= (arg1
)->ConvertToBitmap();
11589 wxPyEndAllowThreads(__tstate
);
11590 if (PyErr_Occurred()) SWIG_fail
;
11592 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
11599 SWIGINTERN PyObject
*_wrap_Region_UnionBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11600 PyObject
*resultobj
= 0;
11601 wxRegion
*arg1
= (wxRegion
*) 0 ;
11602 wxBitmap
*arg2
= 0 ;
11608 PyObject
* obj0
= 0 ;
11609 PyObject
* obj1
= 0 ;
11610 char * kwnames
[] = {
11611 (char *) "self",(char *) "bmp", NULL
11614 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11615 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11616 if (!SWIG_IsOK(res1
)) {
11617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
11619 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11620 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11621 if (!SWIG_IsOK(res2
)) {
11622 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11625 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11627 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
11629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11630 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
);
11631 wxPyEndAllowThreads(__tstate
);
11632 if (PyErr_Occurred()) SWIG_fail
;
11635 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11643 SWIGINTERN PyObject
*_wrap_Region_UnionBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11644 PyObject
*resultobj
= 0;
11645 wxRegion
*arg1
= (wxRegion
*) 0 ;
11646 wxBitmap
*arg2
= 0 ;
11647 wxColour
*arg3
= 0 ;
11648 int arg4
= (int) 0 ;
11657 PyObject
* obj0
= 0 ;
11658 PyObject
* obj1
= 0 ;
11659 PyObject
* obj2
= 0 ;
11660 PyObject
* obj3
= 0 ;
11661 char * kwnames
[] = {
11662 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
11665 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Region_UnionBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11666 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11667 if (!SWIG_IsOK(res1
)) {
11668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmapColour" "', expected argument " "1"" of type '" "wxRegion *""'");
11670 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11671 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11672 if (!SWIG_IsOK(res2
)) {
11673 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11676 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11678 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
11681 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
11684 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11685 if (!SWIG_IsOK(ecode4
)) {
11686 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_UnionBitmapColour" "', expected argument " "4"" of type '" "int""'");
11688 arg4
= static_cast< int >(val4
);
11691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11692 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
11693 wxPyEndAllowThreads(__tstate
);
11694 if (PyErr_Occurred()) SWIG_fail
;
11697 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11705 SWIGINTERN PyObject
*Region_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11707 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11708 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegion
, SWIG_NewClientData(obj
));
11709 return SWIG_Py_Void();
11712 SWIGINTERN PyObject
*Region_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11713 return SWIG_Python_InitShadowInstance(args
);
11716 SWIGINTERN PyObject
*_wrap_new_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11717 PyObject
*resultobj
= 0;
11718 wxRegion
*arg1
= 0 ;
11719 wxRegionIterator
*result
= 0 ;
11722 PyObject
* obj0
= 0 ;
11723 char * kwnames
[] = {
11724 (char *) "region", NULL
11727 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) SWIG_fail
;
11728 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRegion
, 0 | 0);
11729 if (!SWIG_IsOK(res1
)) {
11730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
11733 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
11735 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11737 if (!wxPyCheckForApp()) SWIG_fail
;
11738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11739 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
11740 wxPyEndAllowThreads(__tstate
);
11741 if (PyErr_Occurred()) SWIG_fail
;
11743 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_NEW
| 0 );
11750 SWIGINTERN PyObject
*_wrap_delete_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11751 PyObject
*resultobj
= 0;
11752 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11755 PyObject
*swig_obj
[1] ;
11757 if (!args
) SWIG_fail
;
11758 swig_obj
[0] = args
;
11759 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_DISOWN
| 0 );
11760 if (!SWIG_IsOK(res1
)) {
11761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RegionIterator" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11763 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11768 wxPyEndAllowThreads(__tstate
);
11769 if (PyErr_Occurred()) SWIG_fail
;
11771 resultobj
= SWIG_Py_Void();
11778 SWIGINTERN PyObject
*_wrap_RegionIterator_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11779 PyObject
*resultobj
= 0;
11780 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11784 PyObject
*swig_obj
[1] ;
11786 if (!args
) SWIG_fail
;
11787 swig_obj
[0] = args
;
11788 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11789 if (!SWIG_IsOK(res1
)) {
11790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetX" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11792 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11795 result
= (int)(arg1
)->GetX();
11796 wxPyEndAllowThreads(__tstate
);
11797 if (PyErr_Occurred()) SWIG_fail
;
11799 resultobj
= SWIG_From_int(static_cast< int >(result
));
11806 SWIGINTERN PyObject
*_wrap_RegionIterator_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11807 PyObject
*resultobj
= 0;
11808 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11812 PyObject
*swig_obj
[1] ;
11814 if (!args
) SWIG_fail
;
11815 swig_obj
[0] = args
;
11816 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11817 if (!SWIG_IsOK(res1
)) {
11818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetY" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11820 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11823 result
= (int)(arg1
)->GetY();
11824 wxPyEndAllowThreads(__tstate
);
11825 if (PyErr_Occurred()) SWIG_fail
;
11827 resultobj
= SWIG_From_int(static_cast< int >(result
));
11834 SWIGINTERN PyObject
*_wrap_RegionIterator_GetW(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11835 PyObject
*resultobj
= 0;
11836 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11840 PyObject
*swig_obj
[1] ;
11842 if (!args
) SWIG_fail
;
11843 swig_obj
[0] = args
;
11844 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11845 if (!SWIG_IsOK(res1
)) {
11846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetW" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11848 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11851 result
= (int)(arg1
)->GetW();
11852 wxPyEndAllowThreads(__tstate
);
11853 if (PyErr_Occurred()) SWIG_fail
;
11855 resultobj
= SWIG_From_int(static_cast< int >(result
));
11862 SWIGINTERN PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11863 PyObject
*resultobj
= 0;
11864 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11868 PyObject
*swig_obj
[1] ;
11870 if (!args
) SWIG_fail
;
11871 swig_obj
[0] = args
;
11872 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11873 if (!SWIG_IsOK(res1
)) {
11874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetWidth" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11876 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11879 result
= (int)(arg1
)->GetWidth();
11880 wxPyEndAllowThreads(__tstate
);
11881 if (PyErr_Occurred()) SWIG_fail
;
11883 resultobj
= SWIG_From_int(static_cast< int >(result
));
11890 SWIGINTERN PyObject
*_wrap_RegionIterator_GetH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11891 PyObject
*resultobj
= 0;
11892 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11896 PyObject
*swig_obj
[1] ;
11898 if (!args
) SWIG_fail
;
11899 swig_obj
[0] = args
;
11900 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11901 if (!SWIG_IsOK(res1
)) {
11902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetH" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11904 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11907 result
= (int)(arg1
)->GetH();
11908 wxPyEndAllowThreads(__tstate
);
11909 if (PyErr_Occurred()) SWIG_fail
;
11911 resultobj
= SWIG_From_int(static_cast< int >(result
));
11918 SWIGINTERN PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11919 PyObject
*resultobj
= 0;
11920 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11924 PyObject
*swig_obj
[1] ;
11926 if (!args
) SWIG_fail
;
11927 swig_obj
[0] = args
;
11928 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11929 if (!SWIG_IsOK(res1
)) {
11930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetHeight" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11932 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11935 result
= (int)(arg1
)->GetHeight();
11936 wxPyEndAllowThreads(__tstate
);
11937 if (PyErr_Occurred()) SWIG_fail
;
11939 resultobj
= SWIG_From_int(static_cast< int >(result
));
11946 SWIGINTERN PyObject
*_wrap_RegionIterator_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11947 PyObject
*resultobj
= 0;
11948 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11952 PyObject
*swig_obj
[1] ;
11954 if (!args
) SWIG_fail
;
11955 swig_obj
[0] = args
;
11956 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11957 if (!SWIG_IsOK(res1
)) {
11958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetRect" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11960 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11963 result
= (arg1
)->GetRect();
11964 wxPyEndAllowThreads(__tstate
);
11965 if (PyErr_Occurred()) SWIG_fail
;
11967 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
11974 SWIGINTERN PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11975 PyObject
*resultobj
= 0;
11976 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11980 PyObject
*swig_obj
[1] ;
11982 if (!args
) SWIG_fail
;
11983 swig_obj
[0] = args
;
11984 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11985 if (!SWIG_IsOK(res1
)) {
11986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_HaveRects" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11988 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11991 result
= (bool)(arg1
)->HaveRects();
11992 wxPyEndAllowThreads(__tstate
);
11993 if (PyErr_Occurred()) SWIG_fail
;
11996 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12004 SWIGINTERN PyObject
*_wrap_RegionIterator_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12005 PyObject
*resultobj
= 0;
12006 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12009 PyObject
*swig_obj
[1] ;
12011 if (!args
) SWIG_fail
;
12012 swig_obj
[0] = args
;
12013 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12014 if (!SWIG_IsOK(res1
)) {
12015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Reset" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12017 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12021 wxPyEndAllowThreads(__tstate
);
12022 if (PyErr_Occurred()) SWIG_fail
;
12024 resultobj
= SWIG_Py_Void();
12031 SWIGINTERN PyObject
*_wrap_RegionIterator_Next(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12032 PyObject
*resultobj
= 0;
12033 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12036 PyObject
*swig_obj
[1] ;
12038 if (!args
) SWIG_fail
;
12039 swig_obj
[0] = args
;
12040 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12041 if (!SWIG_IsOK(res1
)) {
12042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Next" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12044 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12047 wxRegionIterator_Next(arg1
);
12048 wxPyEndAllowThreads(__tstate
);
12049 if (PyErr_Occurred()) SWIG_fail
;
12051 resultobj
= SWIG_Py_Void();
12058 SWIGINTERN PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12059 PyObject
*resultobj
= 0;
12060 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
12064 PyObject
*swig_obj
[1] ;
12066 if (!args
) SWIG_fail
;
12067 swig_obj
[0] = args
;
12068 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
12069 if (!SWIG_IsOK(res1
)) {
12070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator___nonzero__" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
12072 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
12074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12075 result
= (bool)wxRegionIterator___nonzero__(arg1
);
12076 wxPyEndAllowThreads(__tstate
);
12077 if (PyErr_Occurred()) SWIG_fail
;
12080 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12088 SWIGINTERN PyObject
*RegionIterator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12090 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12091 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegionIterator
, SWIG_NewClientData(obj
));
12092 return SWIG_Py_Void();
12095 SWIGINTERN PyObject
*RegionIterator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12096 return SWIG_Python_InitShadowInstance(args
);
12099 SWIGINTERN PyObject
*_wrap_new_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12100 PyObject
*resultobj
= 0;
12101 wxNativeFontInfo
*result
= 0 ;
12103 if (!SWIG_Python_UnpackTuple(args
,"new_NativeFontInfo",0,0,0)) SWIG_fail
;
12105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12106 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
12107 wxPyEndAllowThreads(__tstate
);
12108 if (PyErr_Occurred()) SWIG_fail
;
12110 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_NEW
| 0 );
12117 SWIGINTERN PyObject
*_wrap_delete_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12118 PyObject
*resultobj
= 0;
12119 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12122 PyObject
*swig_obj
[1] ;
12124 if (!args
) SWIG_fail
;
12125 swig_obj
[0] = args
;
12126 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_DISOWN
| 0 );
12127 if (!SWIG_IsOK(res1
)) {
12128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeFontInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12130 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12135 wxPyEndAllowThreads(__tstate
);
12136 if (PyErr_Occurred()) SWIG_fail
;
12138 resultobj
= SWIG_Py_Void();
12145 SWIGINTERN PyObject
*_wrap_NativeFontInfo_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12146 PyObject
*resultobj
= 0;
12147 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12150 PyObject
*swig_obj
[1] ;
12152 if (!args
) SWIG_fail
;
12153 swig_obj
[0] = args
;
12154 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12155 if (!SWIG_IsOK(res1
)) {
12156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_Init" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12158 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12162 wxPyEndAllowThreads(__tstate
);
12163 if (PyErr_Occurred()) SWIG_fail
;
12165 resultobj
= SWIG_Py_Void();
12172 SWIGINTERN PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12173 PyObject
*resultobj
= 0;
12174 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12180 PyObject
* obj0
= 0 ;
12181 PyObject
* obj1
= 0 ;
12182 char * kwnames
[] = {
12183 (char *) "self",(char *) "font", NULL
12186 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12187 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12188 if (!SWIG_IsOK(res1
)) {
12189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12191 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12192 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
12193 if (!SWIG_IsOK(res2
)) {
12194 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
12197 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
12199 arg2
= reinterpret_cast< wxFont
* >(argp2
);
12201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12202 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
12203 wxPyEndAllowThreads(__tstate
);
12204 if (PyErr_Occurred()) SWIG_fail
;
12206 resultobj
= SWIG_Py_Void();
12213 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12214 PyObject
*resultobj
= 0;
12215 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12219 PyObject
*swig_obj
[1] ;
12221 if (!args
) SWIG_fail
;
12222 swig_obj
[0] = args
;
12223 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12224 if (!SWIG_IsOK(res1
)) {
12225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12227 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12230 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
12231 wxPyEndAllowThreads(__tstate
);
12232 if (PyErr_Occurred()) SWIG_fail
;
12234 resultobj
= SWIG_From_int(static_cast< int >(result
));
12241 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12242 PyObject
*resultobj
= 0;
12243 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12247 PyObject
*swig_obj
[1] ;
12249 if (!args
) SWIG_fail
;
12250 swig_obj
[0] = args
;
12251 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12252 if (!SWIG_IsOK(res1
)) {
12253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetPixelSize" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12255 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12258 result
= ((wxNativeFontInfo
const *)arg1
)->GetPixelSize();
12259 wxPyEndAllowThreads(__tstate
);
12260 if (PyErr_Occurred()) SWIG_fail
;
12262 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
12269 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12270 PyObject
*resultobj
= 0;
12271 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12272 wxFontStyle result
;
12275 PyObject
*swig_obj
[1] ;
12277 if (!args
) SWIG_fail
;
12278 swig_obj
[0] = args
;
12279 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12280 if (!SWIG_IsOK(res1
)) {
12281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12283 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12286 result
= (wxFontStyle
)((wxNativeFontInfo
const *)arg1
)->GetStyle();
12287 wxPyEndAllowThreads(__tstate
);
12288 if (PyErr_Occurred()) SWIG_fail
;
12290 resultobj
= SWIG_From_int(static_cast< int >(result
));
12297 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12298 PyObject
*resultobj
= 0;
12299 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12300 wxFontWeight result
;
12303 PyObject
*swig_obj
[1] ;
12305 if (!args
) SWIG_fail
;
12306 swig_obj
[0] = args
;
12307 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12308 if (!SWIG_IsOK(res1
)) {
12309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12311 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12314 result
= (wxFontWeight
)((wxNativeFontInfo
const *)arg1
)->GetWeight();
12315 wxPyEndAllowThreads(__tstate
);
12316 if (PyErr_Occurred()) SWIG_fail
;
12318 resultobj
= SWIG_From_int(static_cast< int >(result
));
12325 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12326 PyObject
*resultobj
= 0;
12327 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12331 PyObject
*swig_obj
[1] ;
12333 if (!args
) SWIG_fail
;
12334 swig_obj
[0] = args
;
12335 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12336 if (!SWIG_IsOK(res1
)) {
12337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12339 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12342 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
12343 wxPyEndAllowThreads(__tstate
);
12344 if (PyErr_Occurred()) SWIG_fail
;
12347 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12355 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12356 PyObject
*resultobj
= 0;
12357 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12361 PyObject
*swig_obj
[1] ;
12363 if (!args
) SWIG_fail
;
12364 swig_obj
[0] = args
;
12365 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12366 if (!SWIG_IsOK(res1
)) {
12367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12369 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12372 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
12373 wxPyEndAllowThreads(__tstate
);
12374 if (PyErr_Occurred()) SWIG_fail
;
12378 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12380 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12389 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12390 PyObject
*resultobj
= 0;
12391 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12392 wxFontFamily result
;
12395 PyObject
*swig_obj
[1] ;
12397 if (!args
) SWIG_fail
;
12398 swig_obj
[0] = args
;
12399 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12400 if (!SWIG_IsOK(res1
)) {
12401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12403 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12406 result
= (wxFontFamily
)((wxNativeFontInfo
const *)arg1
)->GetFamily();
12407 wxPyEndAllowThreads(__tstate
);
12408 if (PyErr_Occurred()) SWIG_fail
;
12410 resultobj
= SWIG_From_int(static_cast< int >(result
));
12417 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12418 PyObject
*resultobj
= 0;
12419 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12420 wxFontEncoding result
;
12423 PyObject
*swig_obj
[1] ;
12425 if (!args
) SWIG_fail
;
12426 swig_obj
[0] = args
;
12427 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12428 if (!SWIG_IsOK(res1
)) {
12429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12431 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12434 result
= (wxFontEncoding
)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
12435 wxPyEndAllowThreads(__tstate
);
12436 if (PyErr_Occurred()) SWIG_fail
;
12438 resultobj
= SWIG_From_int(static_cast< int >(result
));
12445 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12446 PyObject
*resultobj
= 0;
12447 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12453 PyObject
* obj0
= 0 ;
12454 PyObject
* obj1
= 0 ;
12455 char * kwnames
[] = {
12456 (char *) "self",(char *) "pointsize", NULL
12459 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12460 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12461 if (!SWIG_IsOK(res1
)) {
12462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12464 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12465 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12466 if (!SWIG_IsOK(ecode2
)) {
12467 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "2"" of type '" "int""'");
12469 arg2
= static_cast< int >(val2
);
12471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12472 (arg1
)->SetPointSize(arg2
);
12473 wxPyEndAllowThreads(__tstate
);
12474 if (PyErr_Occurred()) SWIG_fail
;
12476 resultobj
= SWIG_Py_Void();
12483 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12484 PyObject
*resultobj
= 0;
12485 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12490 PyObject
* obj0
= 0 ;
12491 PyObject
* obj1
= 0 ;
12492 char * kwnames
[] = {
12493 (char *) "self",(char *) "pixelSize", NULL
12496 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPixelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12497 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12498 if (!SWIG_IsOK(res1
)) {
12499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetPixelSize" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12501 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12504 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12508 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
12509 wxPyEndAllowThreads(__tstate
);
12510 if (PyErr_Occurred()) SWIG_fail
;
12512 resultobj
= SWIG_Py_Void();
12519 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12520 PyObject
*resultobj
= 0;
12521 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12527 PyObject
* obj0
= 0 ;
12528 PyObject
* obj1
= 0 ;
12529 char * kwnames
[] = {
12530 (char *) "self",(char *) "style", NULL
12533 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12534 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12535 if (!SWIG_IsOK(res1
)) {
12536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12538 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12539 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12540 if (!SWIG_IsOK(ecode2
)) {
12541 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "2"" of type '" "wxFontStyle""'");
12543 arg2
= static_cast< wxFontStyle
>(val2
);
12545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12546 (arg1
)->SetStyle(arg2
);
12547 wxPyEndAllowThreads(__tstate
);
12548 if (PyErr_Occurred()) SWIG_fail
;
12550 resultobj
= SWIG_Py_Void();
12557 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12558 PyObject
*resultobj
= 0;
12559 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12560 wxFontWeight arg2
;
12565 PyObject
* obj0
= 0 ;
12566 PyObject
* obj1
= 0 ;
12567 char * kwnames
[] = {
12568 (char *) "self",(char *) "weight", NULL
12571 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12572 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12573 if (!SWIG_IsOK(res1
)) {
12574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12576 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12577 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12578 if (!SWIG_IsOK(ecode2
)) {
12579 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "2"" of type '" "wxFontWeight""'");
12581 arg2
= static_cast< wxFontWeight
>(val2
);
12583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12584 (arg1
)->SetWeight(arg2
);
12585 wxPyEndAllowThreads(__tstate
);
12586 if (PyErr_Occurred()) SWIG_fail
;
12588 resultobj
= SWIG_Py_Void();
12595 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12596 PyObject
*resultobj
= 0;
12597 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12603 PyObject
* obj0
= 0 ;
12604 PyObject
* obj1
= 0 ;
12605 char * kwnames
[] = {
12606 (char *) "self",(char *) "underlined", NULL
12609 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12610 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12611 if (!SWIG_IsOK(res1
)) {
12612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12614 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12615 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12616 if (!SWIG_IsOK(ecode2
)) {
12617 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
12619 arg2
= static_cast< bool >(val2
);
12621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12622 (arg1
)->SetUnderlined(arg2
);
12623 wxPyEndAllowThreads(__tstate
);
12624 if (PyErr_Occurred()) SWIG_fail
;
12626 resultobj
= SWIG_Py_Void();
12633 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12634 PyObject
*resultobj
= 0;
12635 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12640 PyObject
* obj0
= 0 ;
12641 PyObject
* obj1
= 0 ;
12642 char * kwnames
[] = {
12643 (char *) "self",(char *) "facename", NULL
12646 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12647 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12648 if (!SWIG_IsOK(res1
)) {
12649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12651 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12653 wxString
* sptr
= wxString_in_helper(obj1
);
12654 if (sptr
== NULL
) SWIG_fail
;
12659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12660 result
= (bool)(arg1
)->SetFaceName(arg2
);
12661 wxPyEndAllowThreads(__tstate
);
12662 if (PyErr_Occurred()) SWIG_fail
;
12665 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12673 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12674 PyObject
*resultobj
= 0;
12675 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12676 wxFontFamily arg2
;
12681 PyObject
* obj0
= 0 ;
12682 PyObject
* obj1
= 0 ;
12683 char * kwnames
[] = {
12684 (char *) "self",(char *) "family", NULL
12687 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12688 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12689 if (!SWIG_IsOK(res1
)) {
12690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12692 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12693 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12694 if (!SWIG_IsOK(ecode2
)) {
12695 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "2"" of type '" "wxFontFamily""'");
12697 arg2
= static_cast< wxFontFamily
>(val2
);
12699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12700 (arg1
)->SetFamily(arg2
);
12701 wxPyEndAllowThreads(__tstate
);
12702 if (PyErr_Occurred()) SWIG_fail
;
12704 resultobj
= SWIG_Py_Void();
12711 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12712 PyObject
*resultobj
= 0;
12713 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12714 wxFontEncoding arg2
;
12719 PyObject
* obj0
= 0 ;
12720 PyObject
* obj1
= 0 ;
12721 char * kwnames
[] = {
12722 (char *) "self",(char *) "encoding", NULL
12725 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12726 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12727 if (!SWIG_IsOK(res1
)) {
12728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12730 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12731 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12732 if (!SWIG_IsOK(ecode2
)) {
12733 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
12735 arg2
= static_cast< wxFontEncoding
>(val2
);
12737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12738 (arg1
)->SetEncoding(arg2
);
12739 wxPyEndAllowThreads(__tstate
);
12740 if (PyErr_Occurred()) SWIG_fail
;
12742 resultobj
= SWIG_Py_Void();
12749 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12750 PyObject
*resultobj
= 0;
12751 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12752 wxString
*arg2
= 0 ;
12756 bool temp2
= false ;
12757 PyObject
* obj0
= 0 ;
12758 PyObject
* obj1
= 0 ;
12759 char * kwnames
[] = {
12760 (char *) "self",(char *) "s", NULL
12763 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12764 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12765 if (!SWIG_IsOK(res1
)) {
12766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12768 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12770 arg2
= wxString_in_helper(obj1
);
12771 if (arg2
== NULL
) SWIG_fail
;
12775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12776 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
12777 wxPyEndAllowThreads(__tstate
);
12778 if (PyErr_Occurred()) SWIG_fail
;
12781 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12797 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12798 PyObject
*resultobj
= 0;
12799 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12803 PyObject
*swig_obj
[1] ;
12805 if (!args
) SWIG_fail
;
12806 swig_obj
[0] = args
;
12807 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12808 if (!SWIG_IsOK(res1
)) {
12809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12811 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12814 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
12815 wxPyEndAllowThreads(__tstate
);
12816 if (PyErr_Occurred()) SWIG_fail
;
12820 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12822 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12831 SWIGINTERN PyObject
*_wrap_NativeFontInfo___str__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12832 PyObject
*resultobj
= 0;
12833 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12837 PyObject
*swig_obj
[1] ;
12839 if (!args
) SWIG_fail
;
12840 swig_obj
[0] = args
;
12841 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12842 if (!SWIG_IsOK(res1
)) {
12843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo___str__" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12845 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12848 result
= wxNativeFontInfo___str__(arg1
);
12849 wxPyEndAllowThreads(__tstate
);
12850 if (PyErr_Occurred()) SWIG_fail
;
12854 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12856 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12865 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12866 PyObject
*resultobj
= 0;
12867 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12868 wxString
*arg2
= 0 ;
12872 bool temp2
= false ;
12873 PyObject
* obj0
= 0 ;
12874 PyObject
* obj1
= 0 ;
12875 char * kwnames
[] = {
12876 (char *) "self",(char *) "s", NULL
12879 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12880 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12881 if (!SWIG_IsOK(res1
)) {
12882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12884 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12886 arg2
= wxString_in_helper(obj1
);
12887 if (arg2
== NULL
) SWIG_fail
;
12891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12892 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
12893 wxPyEndAllowThreads(__tstate
);
12894 if (PyErr_Occurred()) SWIG_fail
;
12897 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12913 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12914 PyObject
*resultobj
= 0;
12915 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12919 PyObject
*swig_obj
[1] ;
12921 if (!args
) SWIG_fail
;
12922 swig_obj
[0] = args
;
12923 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12924 if (!SWIG_IsOK(res1
)) {
12925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12927 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12930 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
12931 wxPyEndAllowThreads(__tstate
);
12932 if (PyErr_Occurred()) SWIG_fail
;
12936 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12938 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12947 SWIGINTERN PyObject
*NativeFontInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12949 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12950 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeFontInfo
, SWIG_NewClientData(obj
));
12951 return SWIG_Py_Void();
12954 SWIGINTERN PyObject
*NativeFontInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12955 return SWIG_Python_InitShadowInstance(args
);
12958 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12959 PyObject
*resultobj
= 0;
12960 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12961 wxString
*arg2
= (wxString
*) 0 ;
12964 bool temp2
= false ;
12965 PyObject
*swig_obj
[2] ;
12967 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_facename_set",2,2,swig_obj
)) SWIG_fail
;
12968 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12969 if (!SWIG_IsOK(res1
)) {
12970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12972 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12974 arg2
= wxString_in_helper(swig_obj
[1]);
12975 if (arg2
== NULL
) SWIG_fail
;
12978 if (arg1
) (arg1
)->facename
= *arg2
;
12980 resultobj
= SWIG_Py_Void();
12995 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12996 PyObject
*resultobj
= 0;
12997 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12998 wxString
*result
= 0 ;
13001 PyObject
*swig_obj
[1] ;
13003 if (!args
) SWIG_fail
;
13004 swig_obj
[0] = args
;
13005 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13006 if (!SWIG_IsOK(res1
)) {
13007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13009 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13010 result
= (wxString
*)& ((arg1
)->facename
);
13013 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13015 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13024 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13025 PyObject
*resultobj
= 0;
13026 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13027 wxFontEncoding arg2
;
13032 PyObject
*swig_obj
[2] ;
13034 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_encoding_set",2,2,swig_obj
)) SWIG_fail
;
13035 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13036 if (!SWIG_IsOK(res1
)) {
13037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13039 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13040 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
13041 if (!SWIG_IsOK(ecode2
)) {
13042 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13044 arg2
= static_cast< wxFontEncoding
>(val2
);
13045 if (arg1
) (arg1
)->encoding
= arg2
;
13047 resultobj
= SWIG_Py_Void();
13054 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13055 PyObject
*resultobj
= 0;
13056 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13057 wxFontEncoding result
;
13060 PyObject
*swig_obj
[1] ;
13062 if (!args
) SWIG_fail
;
13063 swig_obj
[0] = args
;
13064 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13065 if (!SWIG_IsOK(res1
)) {
13066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13068 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13069 result
= (wxFontEncoding
) ((arg1
)->encoding
);
13070 resultobj
= SWIG_From_int(static_cast< int >(result
));
13077 SWIGINTERN PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13078 PyObject
*resultobj
= 0;
13079 wxNativeEncodingInfo
*result
= 0 ;
13081 if (!SWIG_Python_UnpackTuple(args
,"new_NativeEncodingInfo",0,0,0)) SWIG_fail
;
13083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13084 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
13085 wxPyEndAllowThreads(__tstate
);
13086 if (PyErr_Occurred()) SWIG_fail
;
13088 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_NEW
| 0 );
13095 SWIGINTERN PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13096 PyObject
*resultobj
= 0;
13097 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13100 PyObject
*swig_obj
[1] ;
13102 if (!args
) SWIG_fail
;
13103 swig_obj
[0] = args
;
13104 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_DISOWN
| 0 );
13105 if (!SWIG_IsOK(res1
)) {
13106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeEncodingInfo" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13108 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13113 wxPyEndAllowThreads(__tstate
);
13114 if (PyErr_Occurred()) SWIG_fail
;
13116 resultobj
= SWIG_Py_Void();
13123 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13124 PyObject
*resultobj
= 0;
13125 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13126 wxString
*arg2
= 0 ;
13130 bool temp2
= false ;
13131 PyObject
* obj0
= 0 ;
13132 PyObject
* obj1
= 0 ;
13133 char * kwnames
[] = {
13134 (char *) "self",(char *) "s", NULL
13137 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13138 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13139 if (!SWIG_IsOK(res1
)) {
13140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_FromString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
13142 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13144 arg2
= wxString_in_helper(obj1
);
13145 if (arg2
== NULL
) SWIG_fail
;
13149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13150 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
13151 wxPyEndAllowThreads(__tstate
);
13152 if (PyErr_Occurred()) SWIG_fail
;
13155 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13171 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13172 PyObject
*resultobj
= 0;
13173 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
13177 PyObject
*swig_obj
[1] ;
13179 if (!args
) SWIG_fail
;
13180 swig_obj
[0] = args
;
13181 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13182 if (!SWIG_IsOK(res1
)) {
13183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_ToString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const *""'");
13185 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13188 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
13189 wxPyEndAllowThreads(__tstate
);
13190 if (PyErr_Occurred()) SWIG_fail
;
13194 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13196 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13205 SWIGINTERN PyObject
*NativeEncodingInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13207 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13208 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_NewClientData(obj
));
13209 return SWIG_Py_Void();
13212 SWIGINTERN PyObject
*NativeEncodingInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13213 return SWIG_Python_InitShadowInstance(args
);
13216 SWIGINTERN PyObject
*_wrap_GetNativeFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13217 PyObject
*resultobj
= 0;
13218 wxFontEncoding arg1
;
13219 wxNativeEncodingInfo
*result
= 0 ;
13222 PyObject
* obj0
= 0 ;
13223 char * kwnames
[] = {
13224 (char *) "encoding", NULL
13227 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
13228 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13229 if (!SWIG_IsOK(ecode1
)) {
13230 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetNativeFontEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13232 arg1
= static_cast< wxFontEncoding
>(val1
);
13234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13235 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding(arg1
);
13236 wxPyEndAllowThreads(__tstate
);
13237 if (PyErr_Occurred()) SWIG_fail
;
13239 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
13246 SWIGINTERN PyObject
*_wrap_TestFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13247 PyObject
*resultobj
= 0;
13248 wxNativeEncodingInfo
*arg1
= 0 ;
13252 PyObject
* obj0
= 0 ;
13253 char * kwnames
[] = {
13254 (char *) "info", NULL
13257 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
13258 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0);
13259 if (!SWIG_IsOK(res1
)) {
13260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
13263 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
13265 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
13267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13268 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
13269 wxPyEndAllowThreads(__tstate
);
13270 if (PyErr_Occurred()) SWIG_fail
;
13273 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13281 SWIGINTERN PyObject
*_wrap_new_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13282 PyObject
*resultobj
= 0;
13283 wxFontMapper
*result
= 0 ;
13285 if (!SWIG_Python_UnpackTuple(args
,"new_FontMapper",0,0,0)) SWIG_fail
;
13287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13288 result
= (wxFontMapper
*)new wxFontMapper();
13289 wxPyEndAllowThreads(__tstate
);
13290 if (PyErr_Occurred()) SWIG_fail
;
13292 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_NEW
| 0 );
13299 SWIGINTERN PyObject
*_wrap_delete_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13300 PyObject
*resultobj
= 0;
13301 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13304 PyObject
*swig_obj
[1] ;
13306 if (!args
) SWIG_fail
;
13307 swig_obj
[0] = args
;
13308 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_DISOWN
| 0 );
13309 if (!SWIG_IsOK(res1
)) {
13310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontMapper" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13312 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13317 wxPyEndAllowThreads(__tstate
);
13318 if (PyErr_Occurred()) SWIG_fail
;
13320 resultobj
= SWIG_Py_Void();
13327 SWIGINTERN PyObject
*_wrap_FontMapper_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13328 PyObject
*resultobj
= 0;
13329 wxFontMapper
*result
= 0 ;
13331 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_Get",0,0,0)) SWIG_fail
;
13333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13334 result
= (wxFontMapper
*)wxFontMapper::Get();
13335 wxPyEndAllowThreads(__tstate
);
13336 if (PyErr_Occurred()) SWIG_fail
;
13338 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13345 SWIGINTERN PyObject
*_wrap_FontMapper_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13346 PyObject
*resultobj
= 0;
13347 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13348 wxFontMapper
*result
= 0 ;
13351 PyObject
* obj0
= 0 ;
13352 char * kwnames
[] = {
13353 (char *) "mapper", NULL
13356 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) SWIG_fail
;
13357 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13358 if (!SWIG_IsOK(res1
)) {
13359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_Set" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13361 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13364 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
13365 wxPyEndAllowThreads(__tstate
);
13366 if (PyErr_Occurred()) SWIG_fail
;
13368 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13375 SWIGINTERN PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13376 PyObject
*resultobj
= 0;
13377 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13378 wxString
*arg2
= 0 ;
13379 bool arg3
= (bool) true ;
13380 wxFontEncoding result
;
13383 bool temp2
= false ;
13386 PyObject
* obj0
= 0 ;
13387 PyObject
* obj1
= 0 ;
13388 PyObject
* obj2
= 0 ;
13389 char * kwnames
[] = {
13390 (char *) "self",(char *) "charset",(char *) "interactive", NULL
13393 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13394 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13395 if (!SWIG_IsOK(res1
)) {
13396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13398 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13400 arg2
= wxString_in_helper(obj1
);
13401 if (arg2
== NULL
) SWIG_fail
;
13405 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
13406 if (!SWIG_IsOK(ecode3
)) {
13407 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "3"" of type '" "bool""'");
13409 arg3
= static_cast< bool >(val3
);
13412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13413 result
= (wxFontEncoding
)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
13414 wxPyEndAllowThreads(__tstate
);
13415 if (PyErr_Occurred()) SWIG_fail
;
13417 resultobj
= SWIG_From_int(static_cast< int >(result
));
13432 SWIGINTERN PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13433 PyObject
*resultobj
= 0;
13436 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetSupportedEncodingsCount",0,0,0)) SWIG_fail
;
13438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13439 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
13440 wxPyEndAllowThreads(__tstate
);
13441 if (PyErr_Occurred()) SWIG_fail
;
13443 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
13450 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13451 PyObject
*resultobj
= 0;
13453 wxFontEncoding result
;
13456 PyObject
* obj0
= 0 ;
13457 char * kwnames
[] = {
13461 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) SWIG_fail
;
13462 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
13463 if (!SWIG_IsOK(ecode1
)) {
13464 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncoding" "', expected argument " "1"" of type '" "size_t""'");
13466 arg1
= static_cast< size_t >(val1
);
13468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13469 result
= (wxFontEncoding
)wxFontMapper::GetEncoding(arg1
);
13470 wxPyEndAllowThreads(__tstate
);
13471 if (PyErr_Occurred()) SWIG_fail
;
13473 resultobj
= SWIG_From_int(static_cast< int >(result
));
13480 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13481 PyObject
*resultobj
= 0;
13482 wxFontEncoding arg1
;
13486 PyObject
* obj0
= 0 ;
13487 char * kwnames
[] = {
13488 (char *) "encoding", NULL
13491 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) SWIG_fail
;
13492 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13493 if (!SWIG_IsOK(ecode1
)) {
13494 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingName" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13496 arg1
= static_cast< wxFontEncoding
>(val1
);
13498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13499 result
= wxFontMapper::GetEncodingName(arg1
);
13500 wxPyEndAllowThreads(__tstate
);
13501 if (PyErr_Occurred()) SWIG_fail
;
13505 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13507 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13516 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13517 PyObject
*resultobj
= 0;
13518 wxFontEncoding arg1
;
13522 PyObject
* obj0
= 0 ;
13523 char * kwnames
[] = {
13524 (char *) "encoding", NULL
13527 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) SWIG_fail
;
13528 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13529 if (!SWIG_IsOK(ecode1
)) {
13530 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingDescription" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13532 arg1
= static_cast< wxFontEncoding
>(val1
);
13534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13535 result
= wxFontMapper::GetEncodingDescription(arg1
);
13536 wxPyEndAllowThreads(__tstate
);
13537 if (PyErr_Occurred()) SWIG_fail
;
13541 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13543 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13552 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13553 PyObject
*resultobj
= 0;
13554 wxString
*arg1
= 0 ;
13555 wxFontEncoding result
;
13556 bool temp1
= false ;
13557 PyObject
* obj0
= 0 ;
13558 char * kwnames
[] = {
13559 (char *) "name", NULL
13562 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) SWIG_fail
;
13564 arg1
= wxString_in_helper(obj0
);
13565 if (arg1
== NULL
) SWIG_fail
;
13569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13570 result
= (wxFontEncoding
)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
13571 wxPyEndAllowThreads(__tstate
);
13572 if (PyErr_Occurred()) SWIG_fail
;
13574 resultobj
= SWIG_From_int(static_cast< int >(result
));
13589 SWIGINTERN PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13590 PyObject
*resultobj
= 0;
13591 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13592 wxString
*arg2
= 0 ;
13595 bool temp2
= false ;
13596 PyObject
* obj0
= 0 ;
13597 PyObject
* obj1
= 0 ;
13598 char * kwnames
[] = {
13599 (char *) "self",(char *) "prefix", NULL
13602 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13603 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13604 if (!SWIG_IsOK(res1
)) {
13605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetConfigPath" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13607 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13609 arg2
= wxString_in_helper(obj1
);
13610 if (arg2
== NULL
) SWIG_fail
;
13614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13615 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
13616 wxPyEndAllowThreads(__tstate
);
13617 if (PyErr_Occurred()) SWIG_fail
;
13619 resultobj
= SWIG_Py_Void();
13634 SWIGINTERN PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13635 PyObject
*resultobj
= 0;
13638 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetDefaultConfigPath",0,0,0)) SWIG_fail
;
13640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13641 result
= wxFontMapper::GetDefaultConfigPath();
13642 wxPyEndAllowThreads(__tstate
);
13643 if (PyErr_Occurred()) SWIG_fail
;
13647 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13649 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13658 SWIGINTERN PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13659 PyObject
*resultobj
= 0;
13660 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13661 wxFontEncoding arg2
;
13662 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13663 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13664 bool arg4
= (bool) true ;
13665 PyObject
*result
= 0 ;
13670 bool temp3
= false ;
13673 PyObject
* obj0
= 0 ;
13674 PyObject
* obj1
= 0 ;
13675 PyObject
* obj2
= 0 ;
13676 PyObject
* obj3
= 0 ;
13677 char * kwnames
[] = {
13678 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
13681 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13682 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13683 if (!SWIG_IsOK(res1
)) {
13684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13686 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13687 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13688 if (!SWIG_IsOK(ecode2
)) {
13689 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13691 arg2
= static_cast< wxFontEncoding
>(val2
);
13694 arg3
= wxString_in_helper(obj2
);
13695 if (arg3
== NULL
) SWIG_fail
;
13700 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
13701 if (!SWIG_IsOK(ecode4
)) {
13702 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "4"" of type '" "bool""'");
13704 arg4
= static_cast< bool >(val4
);
13707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13708 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
13709 wxPyEndAllowThreads(__tstate
);
13710 if (PyErr_Occurred()) SWIG_fail
;
13712 resultobj
= result
;
13727 SWIGINTERN PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13728 PyObject
*resultobj
= 0;
13729 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13730 wxFontEncoding arg2
;
13731 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13732 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13738 bool temp3
= false ;
13739 PyObject
* obj0
= 0 ;
13740 PyObject
* obj1
= 0 ;
13741 PyObject
* obj2
= 0 ;
13742 char * kwnames
[] = {
13743 (char *) "self",(char *) "encoding",(char *) "facename", NULL
13746 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13747 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13748 if (!SWIG_IsOK(res1
)) {
13749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13751 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13752 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13753 if (!SWIG_IsOK(ecode2
)) {
13754 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13756 arg2
= static_cast< wxFontEncoding
>(val2
);
13759 arg3
= wxString_in_helper(obj2
);
13760 if (arg3
== NULL
) SWIG_fail
;
13765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13766 result
= (bool)(arg1
)->IsEncodingAvailable(arg2
,(wxString
const &)*arg3
);
13767 wxPyEndAllowThreads(__tstate
);
13768 if (PyErr_Occurred()) SWIG_fail
;
13771 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13787 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13788 PyObject
*resultobj
= 0;
13789 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13790 wxWindow
*arg2
= (wxWindow
*) 0 ;
13795 PyObject
* obj0
= 0 ;
13796 PyObject
* obj1
= 0 ;
13797 char * kwnames
[] = {
13798 (char *) "self",(char *) "parent", NULL
13801 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13802 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13803 if (!SWIG_IsOK(res1
)) {
13804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13806 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13807 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13808 if (!SWIG_IsOK(res2
)) {
13809 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "2"" of type '" "wxWindow *""'");
13811 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13814 (arg1
)->SetDialogParent(arg2
);
13815 wxPyEndAllowThreads(__tstate
);
13816 if (PyErr_Occurred()) SWIG_fail
;
13818 resultobj
= SWIG_Py_Void();
13825 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13826 PyObject
*resultobj
= 0;
13827 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13828 wxString
*arg2
= 0 ;
13831 bool temp2
= false ;
13832 PyObject
* obj0
= 0 ;
13833 PyObject
* obj1
= 0 ;
13834 char * kwnames
[] = {
13835 (char *) "self",(char *) "title", NULL
13838 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13839 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13840 if (!SWIG_IsOK(res1
)) {
13841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogTitle" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13843 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13845 arg2
= wxString_in_helper(obj1
);
13846 if (arg2
== NULL
) SWIG_fail
;
13850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13851 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
13852 wxPyEndAllowThreads(__tstate
);
13853 if (PyErr_Occurred()) SWIG_fail
;
13855 resultobj
= SWIG_Py_Void();
13870 SWIGINTERN PyObject
*FontMapper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13872 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13873 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontMapper
, SWIG_NewClientData(obj
));
13874 return SWIG_Py_Void();
13877 SWIGINTERN PyObject
*FontMapper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13878 return SWIG_Python_InitShadowInstance(args
);
13881 SWIGINTERN PyObject
*_wrap_new_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13882 PyObject
*resultobj
= 0;
13887 bool arg5
= (bool) false ;
13888 wxString
const &arg6_defvalue
= wxPyEmptyString
;
13889 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13890 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13891 wxFont
*result
= 0 ;
13902 bool temp6
= false ;
13905 PyObject
* obj0
= 0 ;
13906 PyObject
* obj1
= 0 ;
13907 PyObject
* obj2
= 0 ;
13908 PyObject
* obj3
= 0 ;
13909 PyObject
* obj4
= 0 ;
13910 PyObject
* obj5
= 0 ;
13911 PyObject
* obj6
= 0 ;
13912 char * kwnames
[] = {
13913 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
13916 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
13917 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13918 if (!SWIG_IsOK(ecode1
)) {
13919 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Font" "', expected argument " "1"" of type '" "int""'");
13921 arg1
= static_cast< int >(val1
);
13922 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13923 if (!SWIG_IsOK(ecode2
)) {
13924 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Font" "', expected argument " "2"" of type '" "int""'");
13926 arg2
= static_cast< int >(val2
);
13927 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13928 if (!SWIG_IsOK(ecode3
)) {
13929 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Font" "', expected argument " "3"" of type '" "int""'");
13931 arg3
= static_cast< int >(val3
);
13932 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
13933 if (!SWIG_IsOK(ecode4
)) {
13934 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Font" "', expected argument " "4"" of type '" "int""'");
13936 arg4
= static_cast< int >(val4
);
13938 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
13939 if (!SWIG_IsOK(ecode5
)) {
13940 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Font" "', expected argument " "5"" of type '" "bool""'");
13942 arg5
= static_cast< bool >(val5
);
13946 arg6
= wxString_in_helper(obj5
);
13947 if (arg6
== NULL
) SWIG_fail
;
13952 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
13953 if (!SWIG_IsOK(ecode7
)) {
13954 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_Font" "', expected argument " "7"" of type '" "wxFontEncoding""'");
13956 arg7
= static_cast< wxFontEncoding
>(val7
);
13959 if (!wxPyCheckForApp()) SWIG_fail
;
13960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13961 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
13962 wxPyEndAllowThreads(__tstate
);
13963 if (PyErr_Occurred()) SWIG_fail
;
13965 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_NEW
| 0 );
13980 SWIGINTERN PyObject
*_wrap_delete_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13981 PyObject
*resultobj
= 0;
13982 wxFont
*arg1
= (wxFont
*) 0 ;
13985 PyObject
*swig_obj
[1] ;
13987 if (!args
) SWIG_fail
;
13988 swig_obj
[0] = args
;
13989 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, SWIG_POINTER_DISOWN
| 0 );
13990 if (!SWIG_IsOK(res1
)) {
13991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Font" "', expected argument " "1"" of type '" "wxFont *""'");
13993 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13998 wxPyEndAllowThreads(__tstate
);
13999 if (PyErr_Occurred()) SWIG_fail
;
14001 resultobj
= SWIG_Py_Void();
14008 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14009 PyObject
*resultobj
= 0;
14010 wxNativeFontInfo
*arg1
= 0 ;
14011 wxFont
*result
= 0 ;
14014 PyObject
* obj0
= 0 ;
14015 char * kwnames
[] = {
14016 (char *) "info", NULL
14019 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) SWIG_fail
;
14020 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
14021 if (!SWIG_IsOK(res1
)) {
14022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
14025 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
14027 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
14029 if (!wxPyCheckForApp()) SWIG_fail
;
14030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14031 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
14032 wxPyEndAllowThreads(__tstate
);
14033 if (PyErr_Occurred()) SWIG_fail
;
14035 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14042 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14043 PyObject
*resultobj
= 0;
14044 wxString
*arg1
= 0 ;
14045 wxFont
*result
= 0 ;
14046 bool temp1
= false ;
14047 PyObject
* obj0
= 0 ;
14048 char * kwnames
[] = {
14049 (char *) "info", NULL
14052 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) SWIG_fail
;
14054 arg1
= wxString_in_helper(obj0
);
14055 if (arg1
== NULL
) SWIG_fail
;
14059 if (!wxPyCheckForApp()) SWIG_fail
;
14060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14061 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
14062 wxPyEndAllowThreads(__tstate
);
14063 if (PyErr_Occurred()) SWIG_fail
;
14065 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14080 SWIGINTERN PyObject
*_wrap_new_FFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14081 PyObject
*resultobj
= 0;
14083 wxFontFamily arg2
;
14084 int arg3
= (int) wxFONTFLAG_DEFAULT
;
14085 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14086 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14087 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14088 wxFont
*result
= 0 ;
14095 bool temp4
= false ;
14098 PyObject
* obj0
= 0 ;
14099 PyObject
* obj1
= 0 ;
14100 PyObject
* obj2
= 0 ;
14101 PyObject
* obj3
= 0 ;
14102 PyObject
* obj4
= 0 ;
14103 char * kwnames
[] = {
14104 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
14107 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14108 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14109 if (!SWIG_IsOK(ecode1
)) {
14110 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FFont" "', expected argument " "1"" of type '" "int""'");
14112 arg1
= static_cast< int >(val1
);
14113 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14114 if (!SWIG_IsOK(ecode2
)) {
14115 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFont" "', expected argument " "2"" of type '" "wxFontFamily""'");
14117 arg2
= static_cast< wxFontFamily
>(val2
);
14119 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14120 if (!SWIG_IsOK(ecode3
)) {
14121 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFont" "', expected argument " "3"" of type '" "int""'");
14123 arg3
= static_cast< int >(val3
);
14127 arg4
= wxString_in_helper(obj3
);
14128 if (arg4
== NULL
) SWIG_fail
;
14133 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14134 if (!SWIG_IsOK(ecode5
)) {
14135 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFont" "', expected argument " "5"" of type '" "wxFontEncoding""'");
14137 arg5
= static_cast< wxFontEncoding
>(val5
);
14140 if (!wxPyCheckForApp()) SWIG_fail
;
14141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14142 result
= (wxFont
*)new_wxFont(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14143 wxPyEndAllowThreads(__tstate
);
14144 if (PyErr_Occurred()) SWIG_fail
;
14146 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14161 SWIGINTERN PyObject
*_wrap_new_FontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14162 PyObject
*resultobj
= 0;
14167 bool arg5
= (bool) false ;
14168 wxString
const &arg6_defvalue
= wxEmptyString
;
14169 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14170 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14171 wxFont
*result
= 0 ;
14181 bool temp6
= false ;
14184 PyObject
* obj0
= 0 ;
14185 PyObject
* obj1
= 0 ;
14186 PyObject
* obj2
= 0 ;
14187 PyObject
* obj3
= 0 ;
14188 PyObject
* obj4
= 0 ;
14189 PyObject
* obj5
= 0 ;
14190 PyObject
* obj6
= 0 ;
14191 char * kwnames
[] = {
14192 (char *) "pixelSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underlined",(char *) "face",(char *) "encoding", NULL
14195 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_FontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14198 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
14200 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14201 if (!SWIG_IsOK(ecode2
)) {
14202 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontFromPixelSize" "', expected argument " "2"" of type '" "int""'");
14204 arg2
= static_cast< int >(val2
);
14205 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14206 if (!SWIG_IsOK(ecode3
)) {
14207 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
14209 arg3
= static_cast< int >(val3
);
14210 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14211 if (!SWIG_IsOK(ecode4
)) {
14212 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FontFromPixelSize" "', expected argument " "4"" of type '" "int""'");
14214 arg4
= static_cast< int >(val4
);
14216 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
14217 if (!SWIG_IsOK(ecode5
)) {
14218 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FontFromPixelSize" "', expected argument " "5"" of type '" "bool""'");
14220 arg5
= static_cast< bool >(val5
);
14224 arg6
= wxString_in_helper(obj5
);
14225 if (arg6
== NULL
) SWIG_fail
;
14230 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
14231 if (!SWIG_IsOK(ecode7
)) {
14232 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_FontFromPixelSize" "', expected argument " "7"" of type '" "wxFontEncoding""'");
14234 arg7
= static_cast< wxFontEncoding
>(val7
);
14237 if (!wxPyCheckForApp()) SWIG_fail
;
14238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14239 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
14240 wxPyEndAllowThreads(__tstate
);
14241 if (PyErr_Occurred()) SWIG_fail
;
14243 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14258 SWIGINTERN PyObject
*_wrap_new_FFontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14259 PyObject
*resultobj
= 0;
14261 wxFontFamily arg2
;
14262 int arg3
= (int) wxFONTFLAG_DEFAULT
;
14263 wxString
const &arg4_defvalue
= wxEmptyString
;
14264 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14265 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
14266 wxFont
*result
= 0 ;
14272 bool temp4
= false ;
14275 PyObject
* obj0
= 0 ;
14276 PyObject
* obj1
= 0 ;
14277 PyObject
* obj2
= 0 ;
14278 PyObject
* obj3
= 0 ;
14279 PyObject
* obj4
= 0 ;
14280 char * kwnames
[] = {
14281 (char *) "pixelSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
14284 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14287 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
14289 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14290 if (!SWIG_IsOK(ecode2
)) {
14291 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFontFromPixelSize" "', expected argument " "2"" of type '" "wxFontFamily""'");
14293 arg2
= static_cast< wxFontFamily
>(val2
);
14295 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14296 if (!SWIG_IsOK(ecode3
)) {
14297 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
14299 arg3
= static_cast< int >(val3
);
14303 arg4
= wxString_in_helper(obj3
);
14304 if (arg4
== NULL
) SWIG_fail
;
14309 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
14310 if (!SWIG_IsOK(ecode5
)) {
14311 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFontFromPixelSize" "', expected argument " "5"" of type '" "wxFontEncoding""'");
14313 arg5
= static_cast< wxFontEncoding
>(val5
);
14316 if (!wxPyCheckForApp()) SWIG_fail
;
14317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14318 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
14319 wxPyEndAllowThreads(__tstate
);
14320 if (PyErr_Occurred()) SWIG_fail
;
14322 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
14337 SWIGINTERN PyObject
*_wrap_Font_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14338 PyObject
*resultobj
= 0;
14339 wxFont
*arg1
= (wxFont
*) 0 ;
14343 PyObject
*swig_obj
[1] ;
14345 if (!args
) SWIG_fail
;
14346 swig_obj
[0] = args
;
14347 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14348 if (!SWIG_IsOK(res1
)) {
14349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_Ok" "', expected argument " "1"" of type '" "wxFont const *""'");
14351 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14354 result
= (bool)((wxFont
const *)arg1
)->Ok();
14355 wxPyEndAllowThreads(__tstate
);
14356 if (PyErr_Occurred()) SWIG_fail
;
14359 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14367 SWIGINTERN PyObject
*_wrap_Font___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14368 PyObject
*resultobj
= 0;
14369 wxFont
*arg1
= (wxFont
*) 0 ;
14370 wxFont
*arg2
= (wxFont
*) 0 ;
14376 PyObject
* obj0
= 0 ;
14377 PyObject
* obj1
= 0 ;
14378 char * kwnames
[] = {
14379 (char *) "self",(char *) "other", NULL
14382 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14383 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14384 if (!SWIG_IsOK(res1
)) {
14385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___eq__" "', expected argument " "1"" of type '" "wxFont *""'");
14387 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14388 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
14389 if (!SWIG_IsOK(res2
)) {
14390 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___eq__" "', expected argument " "2"" of type '" "wxFont const *""'");
14392 arg2
= reinterpret_cast< wxFont
* >(argp2
);
14394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14395 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
14396 wxPyEndAllowThreads(__tstate
);
14397 if (PyErr_Occurred()) SWIG_fail
;
14400 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14408 SWIGINTERN PyObject
*_wrap_Font___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14409 PyObject
*resultobj
= 0;
14410 wxFont
*arg1
= (wxFont
*) 0 ;
14411 wxFont
*arg2
= (wxFont
*) 0 ;
14417 PyObject
* obj0
= 0 ;
14418 PyObject
* obj1
= 0 ;
14419 char * kwnames
[] = {
14420 (char *) "self",(char *) "other", NULL
14423 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14424 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14425 if (!SWIG_IsOK(res1
)) {
14426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___ne__" "', expected argument " "1"" of type '" "wxFont *""'");
14428 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14429 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
14430 if (!SWIG_IsOK(res2
)) {
14431 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___ne__" "', expected argument " "2"" of type '" "wxFont const *""'");
14433 arg2
= reinterpret_cast< wxFont
* >(argp2
);
14435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14436 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
14437 wxPyEndAllowThreads(__tstate
);
14438 if (PyErr_Occurred()) SWIG_fail
;
14441 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14449 SWIGINTERN PyObject
*_wrap_Font_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14450 PyObject
*resultobj
= 0;
14451 wxFont
*arg1
= (wxFont
*) 0 ;
14455 PyObject
*swig_obj
[1] ;
14457 if (!args
) SWIG_fail
;
14458 swig_obj
[0] = args
;
14459 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14460 if (!SWIG_IsOK(res1
)) {
14461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPointSize" "', expected argument " "1"" of type '" "wxFont const *""'");
14463 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14466 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
14467 wxPyEndAllowThreads(__tstate
);
14468 if (PyErr_Occurred()) SWIG_fail
;
14470 resultobj
= SWIG_From_int(static_cast< int >(result
));
14477 SWIGINTERN PyObject
*_wrap_Font_GetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14478 PyObject
*resultobj
= 0;
14479 wxFont
*arg1
= (wxFont
*) 0 ;
14483 PyObject
*swig_obj
[1] ;
14485 if (!args
) SWIG_fail
;
14486 swig_obj
[0] = args
;
14487 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14488 if (!SWIG_IsOK(res1
)) {
14489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPixelSize" "', expected argument " "1"" of type '" "wxFont const *""'");
14491 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14494 result
= ((wxFont
const *)arg1
)->GetPixelSize();
14495 wxPyEndAllowThreads(__tstate
);
14496 if (PyErr_Occurred()) SWIG_fail
;
14498 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
14505 SWIGINTERN PyObject
*_wrap_Font_IsUsingSizeInPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14506 PyObject
*resultobj
= 0;
14507 wxFont
*arg1
= (wxFont
*) 0 ;
14511 PyObject
*swig_obj
[1] ;
14513 if (!args
) SWIG_fail
;
14514 swig_obj
[0] = args
;
14515 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14516 if (!SWIG_IsOK(res1
)) {
14517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsUsingSizeInPixels" "', expected argument " "1"" of type '" "wxFont const *""'");
14519 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14522 result
= (bool)((wxFont
const *)arg1
)->IsUsingSizeInPixels();
14523 wxPyEndAllowThreads(__tstate
);
14524 if (PyErr_Occurred()) SWIG_fail
;
14527 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14535 SWIGINTERN PyObject
*_wrap_Font_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14536 PyObject
*resultobj
= 0;
14537 wxFont
*arg1
= (wxFont
*) 0 ;
14541 PyObject
*swig_obj
[1] ;
14543 if (!args
) SWIG_fail
;
14544 swig_obj
[0] = args
;
14545 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14546 if (!SWIG_IsOK(res1
)) {
14547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamily" "', expected argument " "1"" of type '" "wxFont const *""'");
14549 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14552 result
= (int)((wxFont
const *)arg1
)->GetFamily();
14553 wxPyEndAllowThreads(__tstate
);
14554 if (PyErr_Occurred()) SWIG_fail
;
14556 resultobj
= SWIG_From_int(static_cast< int >(result
));
14563 SWIGINTERN PyObject
*_wrap_Font_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14564 PyObject
*resultobj
= 0;
14565 wxFont
*arg1
= (wxFont
*) 0 ;
14569 PyObject
*swig_obj
[1] ;
14571 if (!args
) SWIG_fail
;
14572 swig_obj
[0] = args
;
14573 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14574 if (!SWIG_IsOK(res1
)) {
14575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyle" "', expected argument " "1"" of type '" "wxFont const *""'");
14577 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14580 result
= (int)((wxFont
const *)arg1
)->GetStyle();
14581 wxPyEndAllowThreads(__tstate
);
14582 if (PyErr_Occurred()) SWIG_fail
;
14584 resultobj
= SWIG_From_int(static_cast< int >(result
));
14591 SWIGINTERN PyObject
*_wrap_Font_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14592 PyObject
*resultobj
= 0;
14593 wxFont
*arg1
= (wxFont
*) 0 ;
14597 PyObject
*swig_obj
[1] ;
14599 if (!args
) SWIG_fail
;
14600 swig_obj
[0] = args
;
14601 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14602 if (!SWIG_IsOK(res1
)) {
14603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeight" "', expected argument " "1"" of type '" "wxFont const *""'");
14605 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14608 result
= (int)((wxFont
const *)arg1
)->GetWeight();
14609 wxPyEndAllowThreads(__tstate
);
14610 if (PyErr_Occurred()) SWIG_fail
;
14612 resultobj
= SWIG_From_int(static_cast< int >(result
));
14619 SWIGINTERN PyObject
*_wrap_Font_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14620 PyObject
*resultobj
= 0;
14621 wxFont
*arg1
= (wxFont
*) 0 ;
14625 PyObject
*swig_obj
[1] ;
14627 if (!args
) SWIG_fail
;
14628 swig_obj
[0] = args
;
14629 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14630 if (!SWIG_IsOK(res1
)) {
14631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetUnderlined" "', expected argument " "1"" of type '" "wxFont const *""'");
14633 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14636 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
14637 wxPyEndAllowThreads(__tstate
);
14638 if (PyErr_Occurred()) SWIG_fail
;
14641 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14649 SWIGINTERN PyObject
*_wrap_Font_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14650 PyObject
*resultobj
= 0;
14651 wxFont
*arg1
= (wxFont
*) 0 ;
14655 PyObject
*swig_obj
[1] ;
14657 if (!args
) SWIG_fail
;
14658 swig_obj
[0] = args
;
14659 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14660 if (!SWIG_IsOK(res1
)) {
14661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFaceName" "', expected argument " "1"" of type '" "wxFont const *""'");
14663 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14666 result
= ((wxFont
const *)arg1
)->GetFaceName();
14667 wxPyEndAllowThreads(__tstate
);
14668 if (PyErr_Occurred()) SWIG_fail
;
14672 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14674 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14683 SWIGINTERN PyObject
*_wrap_Font_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14684 PyObject
*resultobj
= 0;
14685 wxFont
*arg1
= (wxFont
*) 0 ;
14686 wxFontEncoding result
;
14689 PyObject
*swig_obj
[1] ;
14691 if (!args
) SWIG_fail
;
14692 swig_obj
[0] = args
;
14693 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14694 if (!SWIG_IsOK(res1
)) {
14695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetEncoding" "', expected argument " "1"" of type '" "wxFont const *""'");
14697 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14700 result
= (wxFontEncoding
)((wxFont
const *)arg1
)->GetEncoding();
14701 wxPyEndAllowThreads(__tstate
);
14702 if (PyErr_Occurred()) SWIG_fail
;
14704 resultobj
= SWIG_From_int(static_cast< int >(result
));
14711 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14712 PyObject
*resultobj
= 0;
14713 wxFont
*arg1
= (wxFont
*) 0 ;
14714 wxNativeFontInfo
*result
= 0 ;
14717 PyObject
*swig_obj
[1] ;
14719 if (!args
) SWIG_fail
;
14720 swig_obj
[0] = args
;
14721 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14722 if (!SWIG_IsOK(res1
)) {
14723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont const *""'");
14725 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14728 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
14729 wxPyEndAllowThreads(__tstate
);
14730 if (PyErr_Occurred()) SWIG_fail
;
14732 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
14739 SWIGINTERN PyObject
*_wrap_Font_IsFixedWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14740 PyObject
*resultobj
= 0;
14741 wxFont
*arg1
= (wxFont
*) 0 ;
14745 PyObject
*swig_obj
[1] ;
14747 if (!args
) SWIG_fail
;
14748 swig_obj
[0] = args
;
14749 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14750 if (!SWIG_IsOK(res1
)) {
14751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsFixedWidth" "', expected argument " "1"" of type '" "wxFont const *""'");
14753 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14756 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
14757 wxPyEndAllowThreads(__tstate
);
14758 if (PyErr_Occurred()) SWIG_fail
;
14761 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14769 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14770 PyObject
*resultobj
= 0;
14771 wxFont
*arg1
= (wxFont
*) 0 ;
14775 PyObject
*swig_obj
[1] ;
14777 if (!args
) SWIG_fail
;
14778 swig_obj
[0] = args
;
14779 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14780 if (!SWIG_IsOK(res1
)) {
14781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
14783 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14786 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
14787 wxPyEndAllowThreads(__tstate
);
14788 if (PyErr_Occurred()) SWIG_fail
;
14792 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14794 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14803 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14804 PyObject
*resultobj
= 0;
14805 wxFont
*arg1
= (wxFont
*) 0 ;
14809 PyObject
*swig_obj
[1] ;
14811 if (!args
) SWIG_fail
;
14812 swig_obj
[0] = args
;
14813 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14814 if (!SWIG_IsOK(res1
)) {
14815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
14817 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14820 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
14821 wxPyEndAllowThreads(__tstate
);
14822 if (PyErr_Occurred()) SWIG_fail
;
14826 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14828 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14837 SWIGINTERN PyObject
*_wrap_Font_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14838 PyObject
*resultobj
= 0;
14839 wxFont
*arg1
= (wxFont
*) 0 ;
14845 PyObject
* obj0
= 0 ;
14846 PyObject
* obj1
= 0 ;
14847 char * kwnames
[] = {
14848 (char *) "self",(char *) "pointSize", NULL
14851 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14852 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14853 if (!SWIG_IsOK(res1
)) {
14854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPointSize" "', expected argument " "1"" of type '" "wxFont *""'");
14856 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14857 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14858 if (!SWIG_IsOK(ecode2
)) {
14859 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetPointSize" "', expected argument " "2"" of type '" "int""'");
14861 arg2
= static_cast< int >(val2
);
14863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14864 (arg1
)->SetPointSize(arg2
);
14865 wxPyEndAllowThreads(__tstate
);
14866 if (PyErr_Occurred()) SWIG_fail
;
14868 resultobj
= SWIG_Py_Void();
14875 SWIGINTERN PyObject
*_wrap_Font_SetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14876 PyObject
*resultobj
= 0;
14877 wxFont
*arg1
= (wxFont
*) 0 ;
14882 PyObject
* obj0
= 0 ;
14883 PyObject
* obj1
= 0 ;
14884 char * kwnames
[] = {
14885 (char *) "self",(char *) "pixelSize", NULL
14888 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPixelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14889 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14890 if (!SWIG_IsOK(res1
)) {
14891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPixelSize" "', expected argument " "1"" of type '" "wxFont *""'");
14893 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14896 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14900 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
14901 wxPyEndAllowThreads(__tstate
);
14902 if (PyErr_Occurred()) SWIG_fail
;
14904 resultobj
= SWIG_Py_Void();
14911 SWIGINTERN PyObject
*_wrap_Font_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14912 PyObject
*resultobj
= 0;
14913 wxFont
*arg1
= (wxFont
*) 0 ;
14919 PyObject
* obj0
= 0 ;
14920 PyObject
* obj1
= 0 ;
14921 char * kwnames
[] = {
14922 (char *) "self",(char *) "family", NULL
14925 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14926 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14927 if (!SWIG_IsOK(res1
)) {
14928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFamily" "', expected argument " "1"" of type '" "wxFont *""'");
14930 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14931 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14932 if (!SWIG_IsOK(ecode2
)) {
14933 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetFamily" "', expected argument " "2"" of type '" "int""'");
14935 arg2
= static_cast< int >(val2
);
14937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14938 (arg1
)->SetFamily(arg2
);
14939 wxPyEndAllowThreads(__tstate
);
14940 if (PyErr_Occurred()) SWIG_fail
;
14942 resultobj
= SWIG_Py_Void();
14949 SWIGINTERN PyObject
*_wrap_Font_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14950 PyObject
*resultobj
= 0;
14951 wxFont
*arg1
= (wxFont
*) 0 ;
14957 PyObject
* obj0
= 0 ;
14958 PyObject
* obj1
= 0 ;
14959 char * kwnames
[] = {
14960 (char *) "self",(char *) "style", NULL
14963 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14964 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14965 if (!SWIG_IsOK(res1
)) {
14966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetStyle" "', expected argument " "1"" of type '" "wxFont *""'");
14968 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14969 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14970 if (!SWIG_IsOK(ecode2
)) {
14971 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetStyle" "', expected argument " "2"" of type '" "int""'");
14973 arg2
= static_cast< int >(val2
);
14975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14976 (arg1
)->SetStyle(arg2
);
14977 wxPyEndAllowThreads(__tstate
);
14978 if (PyErr_Occurred()) SWIG_fail
;
14980 resultobj
= SWIG_Py_Void();
14987 SWIGINTERN PyObject
*_wrap_Font_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14988 PyObject
*resultobj
= 0;
14989 wxFont
*arg1
= (wxFont
*) 0 ;
14995 PyObject
* obj0
= 0 ;
14996 PyObject
* obj1
= 0 ;
14997 char * kwnames
[] = {
14998 (char *) "self",(char *) "weight", NULL
15001 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15002 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15003 if (!SWIG_IsOK(res1
)) {
15004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetWeight" "', expected argument " "1"" of type '" "wxFont *""'");
15006 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15007 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15008 if (!SWIG_IsOK(ecode2
)) {
15009 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetWeight" "', expected argument " "2"" of type '" "int""'");
15011 arg2
= static_cast< int >(val2
);
15013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15014 (arg1
)->SetWeight(arg2
);
15015 wxPyEndAllowThreads(__tstate
);
15016 if (PyErr_Occurred()) SWIG_fail
;
15018 resultobj
= SWIG_Py_Void();
15025 SWIGINTERN PyObject
*_wrap_Font_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15026 PyObject
*resultobj
= 0;
15027 wxFont
*arg1
= (wxFont
*) 0 ;
15028 wxString
*arg2
= 0 ;
15032 bool temp2
= false ;
15033 PyObject
* obj0
= 0 ;
15034 PyObject
* obj1
= 0 ;
15035 char * kwnames
[] = {
15036 (char *) "self",(char *) "faceName", NULL
15039 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15040 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15041 if (!SWIG_IsOK(res1
)) {
15042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFaceName" "', expected argument " "1"" of type '" "wxFont *""'");
15044 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15046 arg2
= wxString_in_helper(obj1
);
15047 if (arg2
== NULL
) SWIG_fail
;
15051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15052 result
= (bool)(arg1
)->SetFaceName((wxString
const &)*arg2
);
15053 wxPyEndAllowThreads(__tstate
);
15054 if (PyErr_Occurred()) SWIG_fail
;
15057 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15073 SWIGINTERN PyObject
*_wrap_Font_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15074 PyObject
*resultobj
= 0;
15075 wxFont
*arg1
= (wxFont
*) 0 ;
15081 PyObject
* obj0
= 0 ;
15082 PyObject
* obj1
= 0 ;
15083 char * kwnames
[] = {
15084 (char *) "self",(char *) "underlined", NULL
15087 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15088 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15089 if (!SWIG_IsOK(res1
)) {
15090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetUnderlined" "', expected argument " "1"" of type '" "wxFont *""'");
15092 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15093 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
15094 if (!SWIG_IsOK(ecode2
)) {
15095 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
15097 arg2
= static_cast< bool >(val2
);
15099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15100 (arg1
)->SetUnderlined(arg2
);
15101 wxPyEndAllowThreads(__tstate
);
15102 if (PyErr_Occurred()) SWIG_fail
;
15104 resultobj
= SWIG_Py_Void();
15111 SWIGINTERN PyObject
*_wrap_Font_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15112 PyObject
*resultobj
= 0;
15113 wxFont
*arg1
= (wxFont
*) 0 ;
15114 wxFontEncoding arg2
;
15119 PyObject
* obj0
= 0 ;
15120 PyObject
* obj1
= 0 ;
15121 char * kwnames
[] = {
15122 (char *) "self",(char *) "encoding", NULL
15125 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15126 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15127 if (!SWIG_IsOK(res1
)) {
15128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetEncoding" "', expected argument " "1"" of type '" "wxFont *""'");
15130 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15131 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15132 if (!SWIG_IsOK(ecode2
)) {
15133 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
15135 arg2
= static_cast< wxFontEncoding
>(val2
);
15137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15138 (arg1
)->SetEncoding(arg2
);
15139 wxPyEndAllowThreads(__tstate
);
15140 if (PyErr_Occurred()) SWIG_fail
;
15142 resultobj
= SWIG_Py_Void();
15149 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15150 PyObject
*resultobj
= 0;
15151 wxFont
*arg1
= (wxFont
*) 0 ;
15152 wxNativeFontInfo
*arg2
= 0 ;
15157 PyObject
* obj0
= 0 ;
15158 PyObject
* obj1
= 0 ;
15159 char * kwnames
[] = {
15160 (char *) "self",(char *) "info", NULL
15163 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15164 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15165 if (!SWIG_IsOK(res1
)) {
15166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont *""'");
15168 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15169 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
15170 if (!SWIG_IsOK(res2
)) {
15171 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
15174 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
15176 arg2
= reinterpret_cast< wxNativeFontInfo
* >(argp2
);
15178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15179 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
15180 wxPyEndAllowThreads(__tstate
);
15181 if (PyErr_Occurred()) SWIG_fail
;
15183 resultobj
= SWIG_Py_Void();
15190 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15191 PyObject
*resultobj
= 0;
15192 wxFont
*arg1
= (wxFont
*) 0 ;
15193 wxString
*arg2
= 0 ;
15197 bool temp2
= false ;
15198 PyObject
* obj0
= 0 ;
15199 PyObject
* obj1
= 0 ;
15200 char * kwnames
[] = {
15201 (char *) "self",(char *) "info", NULL
15204 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15205 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15206 if (!SWIG_IsOK(res1
)) {
15207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoFromString" "', expected argument " "1"" of type '" "wxFont *""'");
15209 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15211 arg2
= wxString_in_helper(obj1
);
15212 if (arg2
== NULL
) SWIG_fail
;
15216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15217 result
= (bool)(arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
15218 wxPyEndAllowThreads(__tstate
);
15219 if (PyErr_Occurred()) SWIG_fail
;
15222 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15238 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15239 PyObject
*resultobj
= 0;
15240 wxFont
*arg1
= (wxFont
*) 0 ;
15241 wxString
*arg2
= 0 ;
15245 bool temp2
= false ;
15246 PyObject
* obj0
= 0 ;
15247 PyObject
* obj1
= 0 ;
15248 char * kwnames
[] = {
15249 (char *) "self",(char *) "info", NULL
15252 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15253 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15254 if (!SWIG_IsOK(res1
)) {
15255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont *""'");
15257 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15259 arg2
= wxString_in_helper(obj1
);
15260 if (arg2
== NULL
) SWIG_fail
;
15264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15265 result
= (bool)(arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
15266 wxPyEndAllowThreads(__tstate
);
15267 if (PyErr_Occurred()) SWIG_fail
;
15270 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15286 SWIGINTERN PyObject
*_wrap_Font_GetFamilyString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15287 PyObject
*resultobj
= 0;
15288 wxFont
*arg1
= (wxFont
*) 0 ;
15292 PyObject
*swig_obj
[1] ;
15294 if (!args
) SWIG_fail
;
15295 swig_obj
[0] = args
;
15296 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15297 if (!SWIG_IsOK(res1
)) {
15298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamilyString" "', expected argument " "1"" of type '" "wxFont const *""'");
15300 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15303 result
= ((wxFont
const *)arg1
)->GetFamilyString();
15304 wxPyEndAllowThreads(__tstate
);
15305 if (PyErr_Occurred()) SWIG_fail
;
15309 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15311 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15320 SWIGINTERN PyObject
*_wrap_Font_GetStyleString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15321 PyObject
*resultobj
= 0;
15322 wxFont
*arg1
= (wxFont
*) 0 ;
15326 PyObject
*swig_obj
[1] ;
15328 if (!args
) SWIG_fail
;
15329 swig_obj
[0] = args
;
15330 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15331 if (!SWIG_IsOK(res1
)) {
15332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyleString" "', expected argument " "1"" of type '" "wxFont const *""'");
15334 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15337 result
= ((wxFont
const *)arg1
)->GetStyleString();
15338 wxPyEndAllowThreads(__tstate
);
15339 if (PyErr_Occurred()) SWIG_fail
;
15343 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15345 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15354 SWIGINTERN PyObject
*_wrap_Font_GetWeightString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15355 PyObject
*resultobj
= 0;
15356 wxFont
*arg1
= (wxFont
*) 0 ;
15360 PyObject
*swig_obj
[1] ;
15362 if (!args
) SWIG_fail
;
15363 swig_obj
[0] = args
;
15364 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15365 if (!SWIG_IsOK(res1
)) {
15366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeightString" "', expected argument " "1"" of type '" "wxFont const *""'");
15368 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15371 result
= ((wxFont
const *)arg1
)->GetWeightString();
15372 wxPyEndAllowThreads(__tstate
);
15373 if (PyErr_Occurred()) SWIG_fail
;
15377 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15379 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15388 SWIGINTERN PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15389 PyObject
*resultobj
= 0;
15390 wxFont
*arg1
= (wxFont
*) 0 ;
15391 bool arg2
= (bool) true ;
15396 PyObject
* obj0
= 0 ;
15397 PyObject
* obj1
= 0 ;
15398 char * kwnames
[] = {
15399 (char *) "self",(char *) "no", NULL
15402 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15403 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15404 if (!SWIG_IsOK(res1
)) {
15405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont *""'");
15407 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15409 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
15410 if (!SWIG_IsOK(ecode2
)) {
15411 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "2"" of type '" "bool""'");
15413 arg2
= static_cast< bool >(val2
);
15416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15417 (arg1
)->SetNoAntiAliasing(arg2
);
15418 wxPyEndAllowThreads(__tstate
);
15419 if (PyErr_Occurred()) SWIG_fail
;
15421 resultobj
= SWIG_Py_Void();
15428 SWIGINTERN PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15429 PyObject
*resultobj
= 0;
15430 wxFont
*arg1
= (wxFont
*) 0 ;
15434 PyObject
*swig_obj
[1] ;
15436 if (!args
) SWIG_fail
;
15437 swig_obj
[0] = args
;
15438 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
15439 if (!SWIG_IsOK(res1
)) {
15440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont const *""'");
15442 arg1
= reinterpret_cast< wxFont
* >(argp1
);
15444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15445 result
= (bool)((wxFont
const *)arg1
)->GetNoAntiAliasing();
15446 wxPyEndAllowThreads(__tstate
);
15447 if (PyErr_Occurred()) SWIG_fail
;
15450 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15458 SWIGINTERN PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15459 PyObject
*resultobj
= 0;
15460 wxFontEncoding result
;
15462 if (!SWIG_Python_UnpackTuple(args
,"Font_GetDefaultEncoding",0,0,0)) SWIG_fail
;
15464 if (!wxPyCheckForApp()) SWIG_fail
;
15465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15466 result
= (wxFontEncoding
)wxFont::GetDefaultEncoding();
15467 wxPyEndAllowThreads(__tstate
);
15468 if (PyErr_Occurred()) SWIG_fail
;
15470 resultobj
= SWIG_From_int(static_cast< int >(result
));
15477 SWIGINTERN PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15478 PyObject
*resultobj
= 0;
15479 wxFontEncoding arg1
;
15482 PyObject
* obj0
= 0 ;
15483 char * kwnames
[] = {
15484 (char *) "encoding", NULL
15487 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) SWIG_fail
;
15488 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15489 if (!SWIG_IsOK(ecode1
)) {
15490 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Font_SetDefaultEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
15492 arg1
= static_cast< wxFontEncoding
>(val1
);
15494 if (!wxPyCheckForApp()) SWIG_fail
;
15495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15496 wxFont::SetDefaultEncoding(arg1
);
15497 wxPyEndAllowThreads(__tstate
);
15498 if (PyErr_Occurred()) SWIG_fail
;
15500 resultobj
= SWIG_Py_Void();
15507 SWIGINTERN PyObject
*Font_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15509 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15510 SWIG_TypeNewClientData(SWIGTYPE_p_wxFont
, SWIG_NewClientData(obj
));
15511 return SWIG_Py_Void();
15514 SWIGINTERN PyObject
*Font_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15515 return SWIG_Python_InitShadowInstance(args
);
15518 SWIGINTERN PyObject
*_wrap_new_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15519 PyObject
*resultobj
= 0;
15520 wxPyFontEnumerator
*result
= 0 ;
15522 if (!SWIG_Python_UnpackTuple(args
,"new_FontEnumerator",0,0,0)) SWIG_fail
;
15524 if (!wxPyCheckForApp()) SWIG_fail
;
15525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15526 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
15527 wxPyEndAllowThreads(__tstate
);
15528 if (PyErr_Occurred()) SWIG_fail
;
15530 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_NEW
| 0 );
15537 SWIGINTERN PyObject
*_wrap_delete_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15538 PyObject
*resultobj
= 0;
15539 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15542 PyObject
*swig_obj
[1] ;
15544 if (!args
) SWIG_fail
;
15545 swig_obj
[0] = args
;
15546 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_DISOWN
| 0 );
15547 if (!SWIG_IsOK(res1
)) {
15548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontEnumerator" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15550 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15555 wxPyEndAllowThreads(__tstate
);
15556 if (PyErr_Occurred()) SWIG_fail
;
15558 resultobj
= SWIG_Py_Void();
15565 SWIGINTERN PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15566 PyObject
*resultobj
= 0;
15567 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15568 PyObject
*arg2
= (PyObject
*) 0 ;
15569 PyObject
*arg3
= (PyObject
*) 0 ;
15575 PyObject
* obj0
= 0 ;
15576 PyObject
* obj1
= 0 ;
15577 PyObject
* obj2
= 0 ;
15578 PyObject
* obj3
= 0 ;
15579 char * kwnames
[] = {
15580 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
15583 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15584 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15585 if (!SWIG_IsOK(res1
)) {
15586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15588 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15591 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
15592 if (!SWIG_IsOK(ecode4
)) {
15593 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "4"" of type '" "bool""'");
15595 arg4
= static_cast< bool >(val4
);
15597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15598 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
15599 wxPyEndAllowThreads(__tstate
);
15600 if (PyErr_Occurred()) SWIG_fail
;
15602 resultobj
= SWIG_Py_Void();
15609 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15610 PyObject
*resultobj
= 0;
15611 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15612 wxFontEncoding arg2
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
15613 bool arg3
= (bool) false ;
15621 PyObject
* obj0
= 0 ;
15622 PyObject
* obj1
= 0 ;
15623 PyObject
* obj2
= 0 ;
15624 char * kwnames
[] = {
15625 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
15628 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15629 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15630 if (!SWIG_IsOK(res1
)) {
15631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15633 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15635 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15636 if (!SWIG_IsOK(ecode2
)) {
15637 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "2"" of type '" "wxFontEncoding""'");
15639 arg2
= static_cast< wxFontEncoding
>(val2
);
15642 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
15643 if (!SWIG_IsOK(ecode3
)) {
15644 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "3"" of type '" "bool""'");
15646 arg3
= static_cast< bool >(val3
);
15649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15650 result
= (bool)(arg1
)->EnumerateFacenames(arg2
,arg3
);
15651 wxPyEndAllowThreads(__tstate
);
15652 if (PyErr_Occurred()) SWIG_fail
;
15655 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15663 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15664 PyObject
*resultobj
= 0;
15665 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15666 wxString
const &arg2_defvalue
= wxPyEmptyString
;
15667 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
15671 bool temp2
= false ;
15672 PyObject
* obj0
= 0 ;
15673 PyObject
* obj1
= 0 ;
15674 char * kwnames
[] = {
15675 (char *) "self",(char *) "facename", NULL
15678 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15679 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15680 if (!SWIG_IsOK(res1
)) {
15681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateEncodings" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15683 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15686 arg2
= wxString_in_helper(obj1
);
15687 if (arg2
== NULL
) SWIG_fail
;
15692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15693 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
15694 wxPyEndAllowThreads(__tstate
);
15695 if (PyErr_Occurred()) SWIG_fail
;
15698 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15714 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15715 PyObject
*resultobj
= 0;
15716 PyObject
*result
= 0 ;
15718 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetEncodings",0,0,0)) SWIG_fail
;
15720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15721 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings();
15722 wxPyEndAllowThreads(__tstate
);
15723 if (PyErr_Occurred()) SWIG_fail
;
15725 resultobj
= result
;
15732 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15733 PyObject
*resultobj
= 0;
15734 PyObject
*result
= 0 ;
15736 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetFacenames",0,0,0)) SWIG_fail
;
15738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15739 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames();
15740 wxPyEndAllowThreads(__tstate
);
15741 if (PyErr_Occurred()) SWIG_fail
;
15743 resultobj
= result
;
15750 SWIGINTERN PyObject
*_wrap_FontEnumerator_IsValidFacename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15751 PyObject
*resultobj
= 0;
15752 wxString
*arg1
= 0 ;
15754 bool temp1
= false ;
15755 PyObject
* obj0
= 0 ;
15756 char * kwnames
[] = {
15757 (char *) "str", NULL
15760 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_IsValidFacename",kwnames
,&obj0
)) SWIG_fail
;
15762 arg1
= wxString_in_helper(obj0
);
15763 if (arg1
== NULL
) SWIG_fail
;
15767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15768 result
= (bool)wxPyFontEnumerator::IsValidFacename((wxString
const &)*arg1
);
15769 wxPyEndAllowThreads(__tstate
);
15770 if (PyErr_Occurred()) SWIG_fail
;
15773 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15789 SWIGINTERN PyObject
*FontEnumerator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15791 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15792 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyFontEnumerator
, SWIG_NewClientData(obj
));
15793 return SWIG_Py_Void();
15796 SWIGINTERN PyObject
*FontEnumerator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15797 return SWIG_Python_InitShadowInstance(args
);
15800 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15801 PyObject
*resultobj
= 0;
15802 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15808 PyObject
*swig_obj
[2] ;
15810 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Language_set",2,2,swig_obj
)) SWIG_fail
;
15811 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15812 if (!SWIG_IsOK(res1
)) {
15813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15815 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15816 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
15817 if (!SWIG_IsOK(ecode2
)) {
15818 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LanguageInfo_Language_set" "', expected argument " "2"" of type '" "int""'");
15820 arg2
= static_cast< int >(val2
);
15821 if (arg1
) (arg1
)->Language
= arg2
;
15823 resultobj
= SWIG_Py_Void();
15830 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15831 PyObject
*resultobj
= 0;
15832 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15836 PyObject
*swig_obj
[1] ;
15838 if (!args
) SWIG_fail
;
15839 swig_obj
[0] = args
;
15840 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15841 if (!SWIG_IsOK(res1
)) {
15842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15844 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15845 result
= (int) ((arg1
)->Language
);
15846 resultobj
= SWIG_From_int(static_cast< int >(result
));
15853 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15854 PyObject
*resultobj
= 0;
15855 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15856 wxString
*arg2
= (wxString
*) 0 ;
15859 bool temp2
= false ;
15860 PyObject
*swig_obj
[2] ;
15862 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_CanonicalName_set",2,2,swig_obj
)) SWIG_fail
;
15863 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15864 if (!SWIG_IsOK(res1
)) {
15865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15867 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15869 arg2
= wxString_in_helper(swig_obj
[1]);
15870 if (arg2
== NULL
) SWIG_fail
;
15873 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
15875 resultobj
= SWIG_Py_Void();
15890 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15891 PyObject
*resultobj
= 0;
15892 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15893 wxString
*result
= 0 ;
15896 PyObject
*swig_obj
[1] ;
15898 if (!args
) SWIG_fail
;
15899 swig_obj
[0] = args
;
15900 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15901 if (!SWIG_IsOK(res1
)) {
15902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15904 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15905 result
= (wxString
*)& ((arg1
)->CanonicalName
);
15908 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15910 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15919 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15920 PyObject
*resultobj
= 0;
15921 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15922 wxString
*arg2
= (wxString
*) 0 ;
15925 bool temp2
= false ;
15926 PyObject
*swig_obj
[2] ;
15928 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Description_set",2,2,swig_obj
)) SWIG_fail
;
15929 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15930 if (!SWIG_IsOK(res1
)) {
15931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15933 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15935 arg2
= wxString_in_helper(swig_obj
[1]);
15936 if (arg2
== NULL
) SWIG_fail
;
15939 if (arg1
) (arg1
)->Description
= *arg2
;
15941 resultobj
= SWIG_Py_Void();
15956 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15957 PyObject
*resultobj
= 0;
15958 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15959 wxString
*result
= 0 ;
15962 PyObject
*swig_obj
[1] ;
15964 if (!args
) SWIG_fail
;
15965 swig_obj
[0] = args
;
15966 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15967 if (!SWIG_IsOK(res1
)) {
15968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15970 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15971 result
= (wxString
*)& ((arg1
)->Description
);
15974 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15976 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15985 SWIGINTERN PyObject
*LanguageInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15987 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15988 SWIG_TypeNewClientData(SWIGTYPE_p_wxLanguageInfo
, SWIG_NewClientData(obj
));
15989 return SWIG_Py_Void();
15992 SWIGINTERN PyObject
*_wrap_new_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15993 PyObject
*resultobj
= 0;
15994 int arg1
= (int) -1 ;
15995 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
15996 wxLocale
*result
= 0 ;
16001 PyObject
* obj0
= 0 ;
16002 PyObject
* obj1
= 0 ;
16003 char * kwnames
[] = {
16004 (char *) "language",(char *) "flags", NULL
16007 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16009 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16010 if (!SWIG_IsOK(ecode1
)) {
16011 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Locale" "', expected argument " "1"" of type '" "int""'");
16013 arg1
= static_cast< int >(val1
);
16016 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16017 if (!SWIG_IsOK(ecode2
)) {
16018 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Locale" "', expected argument " "2"" of type '" "int""'");
16020 arg2
= static_cast< int >(val2
);
16023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16024 result
= (wxLocale
*)new_wxLocale(arg1
,arg2
);
16025 wxPyEndAllowThreads(__tstate
);
16026 if (PyErr_Occurred()) SWIG_fail
;
16028 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, SWIG_POINTER_NEW
| 0 );
16035 SWIGINTERN PyObject
*_wrap_delete_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16036 PyObject
*resultobj
= 0;
16037 wxLocale
*arg1
= (wxLocale
*) 0 ;
16040 PyObject
*swig_obj
[1] ;
16042 if (!args
) SWIG_fail
;
16043 swig_obj
[0] = args
;
16044 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, SWIG_POINTER_DISOWN
| 0 );
16045 if (!SWIG_IsOK(res1
)) {
16046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Locale" "', expected argument " "1"" of type '" "wxLocale *""'");
16048 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16053 wxPyEndAllowThreads(__tstate
);
16054 if (PyErr_Occurred()) SWIG_fail
;
16056 resultobj
= SWIG_Py_Void();
16063 SWIGINTERN PyObject
*_wrap_Locale_Init1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16064 PyObject
*resultobj
= 0;
16065 wxLocale
*arg1
= (wxLocale
*) 0 ;
16066 wxString
*arg2
= 0 ;
16067 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16068 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16069 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16070 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16071 bool arg5
= (bool) true ;
16072 bool arg6
= (bool) false ;
16076 bool temp2
= false ;
16077 bool temp3
= false ;
16078 bool temp4
= false ;
16083 PyObject
* obj0
= 0 ;
16084 PyObject
* obj1
= 0 ;
16085 PyObject
* obj2
= 0 ;
16086 PyObject
* obj3
= 0 ;
16087 PyObject
* obj4
= 0 ;
16088 PyObject
* obj5
= 0 ;
16089 char * kwnames
[] = {
16090 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
16093 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
16094 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16095 if (!SWIG_IsOK(res1
)) {
16096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init1" "', expected argument " "1"" of type '" "wxLocale *""'");
16098 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16100 arg2
= wxString_in_helper(obj1
);
16101 if (arg2
== NULL
) SWIG_fail
;
16106 arg3
= wxString_in_helper(obj2
);
16107 if (arg3
== NULL
) SWIG_fail
;
16113 arg4
= wxString_in_helper(obj3
);
16114 if (arg4
== NULL
) SWIG_fail
;
16119 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
16120 if (!SWIG_IsOK(ecode5
)) {
16121 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Locale_Init1" "', expected argument " "5"" of type '" "bool""'");
16123 arg5
= static_cast< bool >(val5
);
16126 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
16127 if (!SWIG_IsOK(ecode6
)) {
16128 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Locale_Init1" "', expected argument " "6"" of type '" "bool""'");
16130 arg6
= static_cast< bool >(val6
);
16133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16134 result
= (bool)wxLocale_Init1(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
16135 wxPyEndAllowThreads(__tstate
);
16136 if (PyErr_Occurred()) SWIG_fail
;
16139 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16171 SWIGINTERN PyObject
*_wrap_Locale_Init2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16172 PyObject
*resultobj
= 0;
16173 wxLocale
*arg1
= (wxLocale
*) 0 ;
16174 int arg2
= (int) wxLANGUAGE_DEFAULT
;
16175 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16183 PyObject
* obj0
= 0 ;
16184 PyObject
* obj1
= 0 ;
16185 PyObject
* obj2
= 0 ;
16186 char * kwnames
[] = {
16187 (char *) "self",(char *) "language",(char *) "flags", NULL
16190 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16191 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16192 if (!SWIG_IsOK(res1
)) {
16193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init2" "', expected argument " "1"" of type '" "wxLocale *""'");
16195 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16197 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16198 if (!SWIG_IsOK(ecode2
)) {
16199 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Locale_Init2" "', expected argument " "2"" of type '" "int""'");
16201 arg2
= static_cast< int >(val2
);
16204 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16205 if (!SWIG_IsOK(ecode3
)) {
16206 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Locale_Init2" "', expected argument " "3"" of type '" "int""'");
16208 arg3
= static_cast< int >(val3
);
16211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16212 result
= (bool)wxLocale_Init2(arg1
,arg2
,arg3
);
16213 wxPyEndAllowThreads(__tstate
);
16214 if (PyErr_Occurred()) SWIG_fail
;
16217 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16225 SWIGINTERN PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16226 PyObject
*resultobj
= 0;
16229 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemLanguage",0,0,0)) SWIG_fail
;
16231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16232 result
= (int)wxLocale::GetSystemLanguage();
16233 wxPyEndAllowThreads(__tstate
);
16234 if (PyErr_Occurred()) SWIG_fail
;
16236 resultobj
= SWIG_From_int(static_cast< int >(result
));
16243 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16244 PyObject
*resultobj
= 0;
16245 wxFontEncoding result
;
16247 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncoding",0,0,0)) SWIG_fail
;
16249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16250 result
= (wxFontEncoding
)wxLocale::GetSystemEncoding();
16251 wxPyEndAllowThreads(__tstate
);
16252 if (PyErr_Occurred()) SWIG_fail
;
16254 resultobj
= SWIG_From_int(static_cast< int >(result
));
16261 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16262 PyObject
*resultobj
= 0;
16265 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncodingName",0,0,0)) SWIG_fail
;
16267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16268 result
= wxLocale::GetSystemEncodingName();
16269 wxPyEndAllowThreads(__tstate
);
16270 if (PyErr_Occurred()) SWIG_fail
;
16274 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16276 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16285 SWIGINTERN PyObject
*_wrap_Locale_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16286 PyObject
*resultobj
= 0;
16287 wxLocale
*arg1
= (wxLocale
*) 0 ;
16291 PyObject
*swig_obj
[1] ;
16293 if (!args
) SWIG_fail
;
16294 swig_obj
[0] = args
;
16295 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16296 if (!SWIG_IsOK(res1
)) {
16297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsOk" "', expected argument " "1"" of type '" "wxLocale const *""'");
16299 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16302 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
16303 wxPyEndAllowThreads(__tstate
);
16304 if (PyErr_Occurred()) SWIG_fail
;
16307 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16315 SWIGINTERN PyObject
*_wrap_Locale_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16316 PyObject
*resultobj
= 0;
16317 wxLocale
*arg1
= (wxLocale
*) 0 ;
16321 PyObject
*swig_obj
[1] ;
16323 if (!args
) SWIG_fail
;
16324 swig_obj
[0] = args
;
16325 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16326 if (!SWIG_IsOK(res1
)) {
16327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLocale" "', expected argument " "1"" of type '" "wxLocale const *""'");
16329 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16332 result
= ((wxLocale
const *)arg1
)->GetLocale();
16333 wxPyEndAllowThreads(__tstate
);
16334 if (PyErr_Occurred()) SWIG_fail
;
16338 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16340 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16349 SWIGINTERN PyObject
*_wrap_Locale_GetLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16350 PyObject
*resultobj
= 0;
16351 wxLocale
*arg1
= (wxLocale
*) 0 ;
16355 PyObject
*swig_obj
[1] ;
16357 if (!args
) SWIG_fail
;
16358 swig_obj
[0] = args
;
16359 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16360 if (!SWIG_IsOK(res1
)) {
16361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLanguage" "', expected argument " "1"" of type '" "wxLocale const *""'");
16363 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16366 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
16367 wxPyEndAllowThreads(__tstate
);
16368 if (PyErr_Occurred()) SWIG_fail
;
16370 resultobj
= SWIG_From_int(static_cast< int >(result
));
16377 SWIGINTERN PyObject
*_wrap_Locale_GetSysName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16378 PyObject
*resultobj
= 0;
16379 wxLocale
*arg1
= (wxLocale
*) 0 ;
16383 PyObject
*swig_obj
[1] ;
16385 if (!args
) SWIG_fail
;
16386 swig_obj
[0] = args
;
16387 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16388 if (!SWIG_IsOK(res1
)) {
16389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetSysName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16391 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16394 result
= ((wxLocale
const *)arg1
)->GetSysName();
16395 wxPyEndAllowThreads(__tstate
);
16396 if (PyErr_Occurred()) SWIG_fail
;
16400 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16402 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16411 SWIGINTERN PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16412 PyObject
*resultobj
= 0;
16413 wxLocale
*arg1
= (wxLocale
*) 0 ;
16417 PyObject
*swig_obj
[1] ;
16419 if (!args
) SWIG_fail
;
16420 swig_obj
[0] = args
;
16421 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16422 if (!SWIG_IsOK(res1
)) {
16423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetCanonicalName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16425 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16428 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
16429 wxPyEndAllowThreads(__tstate
);
16430 if (PyErr_Occurred()) SWIG_fail
;
16434 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16436 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16445 SWIGINTERN PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16446 PyObject
*resultobj
= 0;
16447 wxString
*arg1
= 0 ;
16448 bool temp1
= false ;
16449 PyObject
* obj0
= 0 ;
16450 char * kwnames
[] = {
16451 (char *) "prefix", NULL
16454 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) SWIG_fail
;
16456 arg1
= wxString_in_helper(obj0
);
16457 if (arg1
== NULL
) SWIG_fail
;
16461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16462 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
16463 wxPyEndAllowThreads(__tstate
);
16464 if (PyErr_Occurred()) SWIG_fail
;
16466 resultobj
= SWIG_Py_Void();
16481 SWIGINTERN PyObject
*_wrap_Locale_AddCatalog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16482 PyObject
*resultobj
= 0;
16483 wxLocale
*arg1
= (wxLocale
*) 0 ;
16484 wxString
*arg2
= 0 ;
16488 bool temp2
= false ;
16489 PyObject
* obj0
= 0 ;
16490 PyObject
* obj1
= 0 ;
16491 char * kwnames
[] = {
16492 (char *) "self",(char *) "szDomain", NULL
16495 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16496 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16497 if (!SWIG_IsOK(res1
)) {
16498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddCatalog" "', expected argument " "1"" of type '" "wxLocale *""'");
16500 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16502 arg2
= wxString_in_helper(obj1
);
16503 if (arg2
== NULL
) SWIG_fail
;
16507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16508 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
16509 wxPyEndAllowThreads(__tstate
);
16510 if (PyErr_Occurred()) SWIG_fail
;
16513 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16529 SWIGINTERN PyObject
*_wrap_Locale_IsLoaded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16530 PyObject
*resultobj
= 0;
16531 wxLocale
*arg1
= (wxLocale
*) 0 ;
16532 wxString
*arg2
= 0 ;
16536 bool temp2
= false ;
16537 PyObject
* obj0
= 0 ;
16538 PyObject
* obj1
= 0 ;
16539 char * kwnames
[] = {
16540 (char *) "self",(char *) "szDomain", NULL
16543 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16544 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16545 if (!SWIG_IsOK(res1
)) {
16546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsLoaded" "', expected argument " "1"" of type '" "wxLocale const *""'");
16548 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16550 arg2
= wxString_in_helper(obj1
);
16551 if (arg2
== NULL
) SWIG_fail
;
16555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16556 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
16557 wxPyEndAllowThreads(__tstate
);
16558 if (PyErr_Occurred()) SWIG_fail
;
16561 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16577 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16578 PyObject
*resultobj
= 0;
16580 wxLanguageInfo
*result
= 0 ;
16583 PyObject
* obj0
= 0 ;
16584 char * kwnames
[] = {
16585 (char *) "lang", NULL
16588 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
16589 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16590 if (!SWIG_IsOK(ecode1
)) {
16591 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageInfo" "', expected argument " "1"" of type '" "int""'");
16593 arg1
= static_cast< int >(val1
);
16595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16596 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
16597 wxPyEndAllowThreads(__tstate
);
16598 if (PyErr_Occurred()) SWIG_fail
;
16600 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16607 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16608 PyObject
*resultobj
= 0;
16613 PyObject
* obj0
= 0 ;
16614 char * kwnames
[] = {
16615 (char *) "lang", NULL
16618 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) SWIG_fail
;
16619 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16620 if (!SWIG_IsOK(ecode1
)) {
16621 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageName" "', expected argument " "1"" of type '" "int""'");
16623 arg1
= static_cast< int >(val1
);
16625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16626 result
= wxLocale::GetLanguageName(arg1
);
16627 wxPyEndAllowThreads(__tstate
);
16628 if (PyErr_Occurred()) SWIG_fail
;
16632 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16634 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16643 SWIGINTERN PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16644 PyObject
*resultobj
= 0;
16645 wxString
*arg1
= 0 ;
16646 wxLanguageInfo
*result
= 0 ;
16647 bool temp1
= false ;
16648 PyObject
* obj0
= 0 ;
16649 char * kwnames
[] = {
16650 (char *) "locale", NULL
16653 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
16655 arg1
= wxString_in_helper(obj0
);
16656 if (arg1
== NULL
) SWIG_fail
;
16660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16661 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
16662 wxPyEndAllowThreads(__tstate
);
16663 if (PyErr_Occurred()) SWIG_fail
;
16665 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16680 SWIGINTERN PyObject
*_wrap_Locale_AddLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16681 PyObject
*resultobj
= 0;
16682 wxLanguageInfo
*arg1
= 0 ;
16685 PyObject
* obj0
= 0 ;
16686 char * kwnames
[] = {
16687 (char *) "info", NULL
16690 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) SWIG_fail
;
16691 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxLanguageInfo
, 0 | 0);
16692 if (!SWIG_IsOK(res1
)) {
16693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
16696 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
16698 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16701 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
16702 wxPyEndAllowThreads(__tstate
);
16703 if (PyErr_Occurred()) SWIG_fail
;
16705 resultobj
= SWIG_Py_Void();
16712 SWIGINTERN PyObject
*_wrap_Locale_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16713 PyObject
*resultobj
= 0;
16714 wxLocale
*arg1
= (wxLocale
*) 0 ;
16715 wxString
*arg2
= 0 ;
16716 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16717 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16721 bool temp2
= false ;
16722 bool temp3
= false ;
16723 PyObject
* obj0
= 0 ;
16724 PyObject
* obj1
= 0 ;
16725 PyObject
* obj2
= 0 ;
16726 char * kwnames
[] = {
16727 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
16730 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16731 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16732 if (!SWIG_IsOK(res1
)) {
16733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetString" "', expected argument " "1"" of type '" "wxLocale const *""'");
16735 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16737 arg2
= wxString_in_helper(obj1
);
16738 if (arg2
== NULL
) SWIG_fail
;
16743 arg3
= wxString_in_helper(obj2
);
16744 if (arg3
== NULL
) SWIG_fail
;
16749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16750 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
16751 wxPyEndAllowThreads(__tstate
);
16752 if (PyErr_Occurred()) SWIG_fail
;
16756 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16758 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16783 SWIGINTERN PyObject
*_wrap_Locale_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16784 PyObject
*resultobj
= 0;
16785 wxLocale
*arg1
= (wxLocale
*) 0 ;
16786 wxString
*result
= 0 ;
16789 PyObject
*swig_obj
[1] ;
16791 if (!args
) SWIG_fail
;
16792 swig_obj
[0] = args
;
16793 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16794 if (!SWIG_IsOK(res1
)) {
16795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16797 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16801 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
16802 result
= (wxString
*) &_result_ref
;
16804 wxPyEndAllowThreads(__tstate
);
16805 if (PyErr_Occurred()) SWIG_fail
;
16809 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16811 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16820 SWIGINTERN PyObject
*Locale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16822 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16823 SWIG_TypeNewClientData(SWIGTYPE_p_wxLocale
, SWIG_NewClientData(obj
));
16824 return SWIG_Py_Void();
16827 SWIGINTERN PyObject
*Locale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16828 return SWIG_Python_InitShadowInstance(args
);
16831 SWIGINTERN PyObject
*_wrap_new_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16832 PyObject
*resultobj
= 0;
16833 int arg1
= (int) -1 ;
16834 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16835 wxPyLocale
*result
= 0 ;
16840 PyObject
* obj0
= 0 ;
16841 PyObject
* obj1
= 0 ;
16842 char * kwnames
[] = {
16843 (char *) "language",(char *) "flags", NULL
16846 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyLocale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16848 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16849 if (!SWIG_IsOK(ecode1
)) {
16850 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PyLocale" "', expected argument " "1"" of type '" "int""'");
16852 arg1
= static_cast< int >(val1
);
16855 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16856 if (!SWIG_IsOK(ecode2
)) {
16857 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyLocale" "', expected argument " "2"" of type '" "int""'");
16859 arg2
= static_cast< int >(val2
);
16862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16863 result
= (wxPyLocale
*)new_wxPyLocale(arg1
,arg2
);
16864 wxPyEndAllowThreads(__tstate
);
16865 if (PyErr_Occurred()) SWIG_fail
;
16867 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_NEW
| 0 );
16874 SWIGINTERN PyObject
*_wrap_delete_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16875 PyObject
*resultobj
= 0;
16876 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16879 PyObject
*swig_obj
[1] ;
16881 if (!args
) SWIG_fail
;
16882 swig_obj
[0] = args
;
16883 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_DISOWN
| 0 );
16884 if (!SWIG_IsOK(res1
)) {
16885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PyLocale" "', expected argument " "1"" of type '" "wxPyLocale *""'");
16887 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16892 wxPyEndAllowThreads(__tstate
);
16893 if (PyErr_Occurred()) SWIG_fail
;
16895 resultobj
= SWIG_Py_Void();
16902 SWIGINTERN PyObject
*_wrap_PyLocale__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16903 PyObject
*resultobj
= 0;
16904 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16905 PyObject
*arg2
= (PyObject
*) 0 ;
16906 PyObject
*arg3
= (PyObject
*) 0 ;
16909 PyObject
* obj0
= 0 ;
16910 PyObject
* obj1
= 0 ;
16911 PyObject
* obj2
= 0 ;
16912 char * kwnames
[] = {
16913 (char *) "self",(char *) "self",(char *) "_class", NULL
16916 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLocale__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16917 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16918 if (!SWIG_IsOK(res1
)) {
16919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyLocale *""'");
16921 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16926 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16927 wxPyEndAllowThreads(__tstate
);
16928 if (PyErr_Occurred()) SWIG_fail
;
16930 resultobj
= SWIG_Py_Void();
16937 SWIGINTERN PyObject
*_wrap_PyLocale_GetSingularString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16938 PyObject
*resultobj
= 0;
16939 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16940 wxChar
*arg2
= (wxChar
*) 0 ;
16941 wxChar
*arg3
= (wxChar
*) NULL
;
16942 wxChar
*result
= 0 ;
16949 PyObject
* obj0
= 0 ;
16950 PyObject
* obj1
= 0 ;
16951 PyObject
* obj2
= 0 ;
16952 char * kwnames
[] = {
16953 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
16956 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyLocale_GetSingularString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16957 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16958 if (!SWIG_IsOK(res1
)) {
16959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetSingularString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
16961 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16962 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
16963 if (!SWIG_IsOK(res2
)) {
16964 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetSingularString" "', expected argument " "2"" of type '" "wxChar const *""'");
16966 arg2
= reinterpret_cast< wxChar
* >(argp2
);
16968 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
16969 if (!SWIG_IsOK(res3
)) {
16970 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetSingularString" "', expected argument " "3"" of type '" "wxChar const *""'");
16972 arg3
= reinterpret_cast< wxChar
* >(argp3
);
16975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16976 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetSingularString((wxChar
const *)arg2
,(wxChar
const *)arg3
);
16977 wxPyEndAllowThreads(__tstate
);
16978 if (PyErr_Occurred()) SWIG_fail
;
16980 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
16987 SWIGINTERN PyObject
*_wrap_PyLocale_GetPluralString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16988 PyObject
*resultobj
= 0;
16989 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16990 wxChar
*arg2
= (wxChar
*) 0 ;
16991 wxChar
*arg3
= (wxChar
*) 0 ;
16993 wxChar
*arg5
= (wxChar
*) NULL
;
16994 wxChar
*result
= 0 ;
17005 PyObject
* obj0
= 0 ;
17006 PyObject
* obj1
= 0 ;
17007 PyObject
* obj2
= 0 ;
17008 PyObject
* obj3
= 0 ;
17009 PyObject
* obj4
= 0 ;
17010 char * kwnames
[] = {
17011 (char *) "self",(char *) "szOrigString",(char *) "szOrigString2",(char *) "n",(char *) "szDomain", NULL
17014 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PyLocale_GetPluralString",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17015 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
17016 if (!SWIG_IsOK(res1
)) {
17017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetPluralString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
17019 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
17020 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
17021 if (!SWIG_IsOK(res2
)) {
17022 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetPluralString" "', expected argument " "2"" of type '" "wxChar const *""'");
17024 arg2
= reinterpret_cast< wxChar
* >(argp2
);
17025 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
17026 if (!SWIG_IsOK(res3
)) {
17027 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetPluralString" "', expected argument " "3"" of type '" "wxChar const *""'");
17029 arg3
= reinterpret_cast< wxChar
* >(argp3
);
17030 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
17031 if (!SWIG_IsOK(ecode4
)) {
17032 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyLocale_GetPluralString" "', expected argument " "4"" of type '" "size_t""'");
17034 arg4
= static_cast< size_t >(val4
);
17036 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxChar
, 0 | 0 );
17037 if (!SWIG_IsOK(res5
)) {
17038 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "PyLocale_GetPluralString" "', expected argument " "5"" of type '" "wxChar const *""'");
17040 arg5
= reinterpret_cast< wxChar
* >(argp5
);
17043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17044 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetPluralString((wxChar
const *)arg2
,(wxChar
const *)arg3
,arg4
,(wxChar
const *)arg5
);
17045 wxPyEndAllowThreads(__tstate
);
17046 if (PyErr_Occurred()) SWIG_fail
;
17048 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
17055 SWIGINTERN PyObject
*PyLocale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17057 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17058 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyLocale
, SWIG_NewClientData(obj
));
17059 return SWIG_Py_Void();
17062 SWIGINTERN PyObject
*PyLocale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17063 return SWIG_Python_InitShadowInstance(args
);
17066 SWIGINTERN PyObject
*_wrap_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17067 PyObject
*resultobj
= 0;
17068 wxLocale
*result
= 0 ;
17070 if (!SWIG_Python_UnpackTuple(args
,"GetLocale",0,0,0)) SWIG_fail
;
17072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17073 result
= (wxLocale
*)wxGetLocale();
17074 wxPyEndAllowThreads(__tstate
);
17075 if (PyErr_Occurred()) SWIG_fail
;
17077 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, 0 | 0 );
17084 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17085 PyObject
*resultobj
= 0;
17086 wxString
*arg1
= 0 ;
17088 bool temp1
= false ;
17090 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
17092 arg1
= wxString_in_helper(swig_obj
[0]);
17093 if (arg1
== NULL
) SWIG_fail
;
17097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17098 result
= wxGetTranslation((wxString
const &)*arg1
);
17099 wxPyEndAllowThreads(__tstate
);
17100 if (PyErr_Occurred()) SWIG_fail
;
17104 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17106 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17123 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17124 PyObject
*resultobj
= 0;
17125 wxString
*arg1
= 0 ;
17126 wxString
*arg2
= 0 ;
17128 bool temp1
= false ;
17129 bool temp2
= false ;
17131 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
17133 arg1
= wxString_in_helper(swig_obj
[0]);
17134 if (arg1
== NULL
) SWIG_fail
;
17138 arg2
= wxString_in_helper(swig_obj
[1]);
17139 if (arg2
== NULL
) SWIG_fail
;
17143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17144 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
);
17145 wxPyEndAllowThreads(__tstate
);
17146 if (PyErr_Occurred()) SWIG_fail
;
17150 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17152 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17177 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17178 PyObject
*resultobj
= 0;
17179 wxString
*arg1
= 0 ;
17180 wxString
*arg2
= 0 ;
17183 bool temp1
= false ;
17184 bool temp2
= false ;
17188 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
17190 arg1
= wxString_in_helper(swig_obj
[0]);
17191 if (arg1
== NULL
) SWIG_fail
;
17195 arg2
= wxString_in_helper(swig_obj
[1]);
17196 if (arg2
== NULL
) SWIG_fail
;
17199 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
17200 if (!SWIG_IsOK(ecode3
)) {
17201 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
17203 arg3
= static_cast< size_t >(val3
);
17205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17206 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
17207 wxPyEndAllowThreads(__tstate
);
17208 if (PyErr_Occurred()) SWIG_fail
;
17212 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17214 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17239 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_3(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
17240 PyObject
*resultobj
= 0;
17241 wxString
*arg1
= 0 ;
17242 wxString
*arg2
= 0 ;
17244 wxString
*arg4
= 0 ;
17246 bool temp1
= false ;
17247 bool temp2
= false ;
17250 bool temp4
= false ;
17252 if ((nobjs
< 4) || (nobjs
> 4)) SWIG_fail
;
17254 arg1
= wxString_in_helper(swig_obj
[0]);
17255 if (arg1
== NULL
) SWIG_fail
;
17259 arg2
= wxString_in_helper(swig_obj
[1]);
17260 if (arg2
== NULL
) SWIG_fail
;
17263 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
17264 if (!SWIG_IsOK(ecode3
)) {
17265 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
17267 arg3
= static_cast< size_t >(val3
);
17269 arg4
= wxString_in_helper(swig_obj
[3]);
17270 if (arg4
== NULL
) SWIG_fail
;
17274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17275 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxString
const &)*arg4
);
17276 wxPyEndAllowThreads(__tstate
);
17277 if (PyErr_Occurred()) SWIG_fail
;
17281 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17283 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17316 SWIGINTERN PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
17320 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GetTranslation",0,4,argv
))) SWIG_fail
;
17323 return _wrap_GetTranslation__SWIG_0(self
, argc
, argv
);
17326 return _wrap_GetTranslation__SWIG_1(self
, argc
, argv
);
17329 return _wrap_GetTranslation__SWIG_2(self
, argc
, argv
);
17332 return _wrap_GetTranslation__SWIG_3(self
, argc
, argv
);
17336 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GetTranslation'");
17341 SWIGINTERN PyObject
*_wrap_new_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17342 PyObject
*resultobj
= 0;
17343 wxEncodingConverter
*result
= 0 ;
17345 if (!SWIG_Python_UnpackTuple(args
,"new_EncodingConverter",0,0,0)) SWIG_fail
;
17347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17348 result
= (wxEncodingConverter
*)new wxEncodingConverter();
17349 wxPyEndAllowThreads(__tstate
);
17350 if (PyErr_Occurred()) SWIG_fail
;
17352 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_NEW
| 0 );
17359 SWIGINTERN PyObject
*_wrap_delete_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17360 PyObject
*resultobj
= 0;
17361 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17364 PyObject
*swig_obj
[1] ;
17366 if (!args
) SWIG_fail
;
17367 swig_obj
[0] = args
;
17368 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_DISOWN
| 0 );
17369 if (!SWIG_IsOK(res1
)) {
17370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_EncodingConverter" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17372 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17377 wxPyEndAllowThreads(__tstate
);
17378 if (PyErr_Occurred()) SWIG_fail
;
17380 resultobj
= SWIG_Py_Void();
17387 SWIGINTERN PyObject
*_wrap_EncodingConverter_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17388 PyObject
*resultobj
= 0;
17389 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17390 wxFontEncoding arg2
;
17391 wxFontEncoding arg3
;
17392 int arg4
= (int) wxCONVERT_STRICT
;
17402 PyObject
* obj0
= 0 ;
17403 PyObject
* obj1
= 0 ;
17404 PyObject
* obj2
= 0 ;
17405 PyObject
* obj3
= 0 ;
17406 char * kwnames
[] = {
17407 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
17410 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17411 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
17412 if (!SWIG_IsOK(res1
)) {
17413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Init" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17415 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17416 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17417 if (!SWIG_IsOK(ecode2
)) {
17418 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_Init" "', expected argument " "2"" of type '" "wxFontEncoding""'");
17420 arg2
= static_cast< wxFontEncoding
>(val2
);
17421 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17422 if (!SWIG_IsOK(ecode3
)) {
17423 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "EncodingConverter_Init" "', expected argument " "3"" of type '" "wxFontEncoding""'");
17425 arg3
= static_cast< wxFontEncoding
>(val3
);
17427 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17428 if (!SWIG_IsOK(ecode4
)) {
17429 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "EncodingConverter_Init" "', expected argument " "4"" of type '" "int""'");
17431 arg4
= static_cast< int >(val4
);
17434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17435 result
= (bool)(arg1
)->Init(arg2
,arg3
,arg4
);
17436 wxPyEndAllowThreads(__tstate
);
17437 if (PyErr_Occurred()) SWIG_fail
;
17440 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17448 SWIGINTERN PyObject
*_wrap_EncodingConverter_Convert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17449 PyObject
*resultobj
= 0;
17450 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17451 wxString
*arg2
= 0 ;
17455 bool temp2
= false ;
17456 PyObject
* obj0
= 0 ;
17457 PyObject
* obj1
= 0 ;
17458 char * kwnames
[] = {
17459 (char *) "self",(char *) "input", NULL
17462 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17463 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
17464 if (!SWIG_IsOK(res1
)) {
17465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Convert" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17467 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17469 arg2
= wxString_in_helper(obj1
);
17470 if (arg2
== NULL
) SWIG_fail
;
17474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17475 result
= (arg1
)->Convert((wxString
const &)*arg2
);
17476 wxPyEndAllowThreads(__tstate
);
17477 if (PyErr_Occurred()) SWIG_fail
;
17481 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17483 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17500 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17501 PyObject
*resultobj
= 0;
17502 wxFontEncoding arg1
;
17503 int arg2
= (int) wxPLATFORM_CURRENT
;
17504 wxFontEncodingArray result
;
17509 PyObject
* obj0
= 0 ;
17510 PyObject
* obj1
= 0 ;
17511 char * kwnames
[] = {
17512 (char *) "enc",(char *) "platform", NULL
17515 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17516 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17517 if (!SWIG_IsOK(ecode1
)) {
17518 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17520 arg1
= static_cast< wxFontEncoding
>(val1
);
17522 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17523 if (!SWIG_IsOK(ecode2
)) {
17524 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "2"" of type '" "int""'");
17526 arg2
= static_cast< int >(val2
);
17529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17530 result
= wxEncodingConverter::GetPlatformEquivalents(arg1
,arg2
);
17531 wxPyEndAllowThreads(__tstate
);
17532 if (PyErr_Occurred()) SWIG_fail
;
17535 resultobj
= PyList_New(0);
17536 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
17537 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
17538 PyList_Append(resultobj
, number
);
17548 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17549 PyObject
*resultobj
= 0;
17550 wxFontEncoding arg1
;
17551 wxFontEncodingArray result
;
17554 PyObject
* obj0
= 0 ;
17555 char * kwnames
[] = {
17556 (char *) "enc", NULL
17559 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) SWIG_fail
;
17560 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17561 if (!SWIG_IsOK(ecode1
)) {
17562 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetAllEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17564 arg1
= static_cast< wxFontEncoding
>(val1
);
17566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17567 result
= wxEncodingConverter::GetAllEquivalents(arg1
);
17568 wxPyEndAllowThreads(__tstate
);
17569 if (PyErr_Occurred()) SWIG_fail
;
17572 resultobj
= PyList_New(0);
17573 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
17574 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
17575 PyList_Append(resultobj
, number
);
17585 SWIGINTERN PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17586 PyObject
*resultobj
= 0;
17587 wxFontEncoding arg1
;
17588 wxFontEncoding arg2
;
17594 PyObject
* obj0
= 0 ;
17595 PyObject
* obj1
= 0 ;
17596 char * kwnames
[] = {
17597 (char *) "encIn",(char *) "encOut", NULL
17600 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17601 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17602 if (!SWIG_IsOK(ecode1
)) {
17603 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17605 arg1
= static_cast< wxFontEncoding
>(val1
);
17606 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17607 if (!SWIG_IsOK(ecode2
)) {
17608 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "2"" of type '" "wxFontEncoding""'");
17610 arg2
= static_cast< wxFontEncoding
>(val2
);
17612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17613 result
= (bool)wxEncodingConverter::CanConvert(arg1
,arg2
);
17614 wxPyEndAllowThreads(__tstate
);
17615 if (PyErr_Occurred()) SWIG_fail
;
17618 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17626 SWIGINTERN PyObject
*EncodingConverter_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17628 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17629 SWIG_TypeNewClientData(SWIGTYPE_p_wxEncodingConverter
, SWIG_NewClientData(obj
));
17630 return SWIG_Py_Void();
17633 SWIGINTERN PyObject
*EncodingConverter_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17634 return SWIG_Python_InitShadowInstance(args
);
17637 SWIGINTERN PyObject
*_wrap_delete_DC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17638 PyObject
*resultobj
= 0;
17639 wxDC
*arg1
= (wxDC
*) 0 ;
17642 PyObject
*swig_obj
[1] ;
17644 if (!args
) SWIG_fail
;
17645 swig_obj
[0] = args
;
17646 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, SWIG_POINTER_DISOWN
| 0 );
17647 if (!SWIG_IsOK(res1
)) {
17648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DC" "', expected argument " "1"" of type '" "wxDC *""'");
17650 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17655 wxPyEndAllowThreads(__tstate
);
17656 if (PyErr_Occurred()) SWIG_fail
;
17658 resultobj
= SWIG_Py_Void();
17665 SWIGINTERN PyObject
*_wrap_DC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17666 PyObject
*resultobj
= 0;
17667 wxDC
*arg1
= (wxDC
*) 0 ;
17670 wxColour
*arg4
= 0 ;
17671 int arg5
= (int) wxFLOOD_SURFACE
;
17682 PyObject
* obj0
= 0 ;
17683 PyObject
* obj1
= 0 ;
17684 PyObject
* obj2
= 0 ;
17685 PyObject
* obj3
= 0 ;
17686 PyObject
* obj4
= 0 ;
17687 char * kwnames
[] = {
17688 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
17691 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17692 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17693 if (!SWIG_IsOK(res1
)) {
17694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFill" "', expected argument " "1"" of type '" "wxDC *""'");
17696 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17697 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17698 if (!SWIG_IsOK(ecode2
)) {
17699 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_FloodFill" "', expected argument " "2"" of type '" "int""'");
17701 arg2
= static_cast< int >(val2
);
17702 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17703 if (!SWIG_IsOK(ecode3
)) {
17704 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_FloodFill" "', expected argument " "3"" of type '" "int""'");
17706 arg3
= static_cast< int >(val3
);
17709 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17712 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17713 if (!SWIG_IsOK(ecode5
)) {
17714 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_FloodFill" "', expected argument " "5"" of type '" "int""'");
17716 arg5
= static_cast< int >(val5
);
17719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17720 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
17721 wxPyEndAllowThreads(__tstate
);
17722 if (PyErr_Occurred()) SWIG_fail
;
17725 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17733 SWIGINTERN PyObject
*_wrap_DC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17734 PyObject
*resultobj
= 0;
17735 wxDC
*arg1
= (wxDC
*) 0 ;
17736 wxPoint
*arg2
= 0 ;
17737 wxColour
*arg3
= 0 ;
17738 int arg4
= (int) wxFLOOD_SURFACE
;
17746 PyObject
* obj0
= 0 ;
17747 PyObject
* obj1
= 0 ;
17748 PyObject
* obj2
= 0 ;
17749 PyObject
* obj3
= 0 ;
17750 char * kwnames
[] = {
17751 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
17754 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17755 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17756 if (!SWIG_IsOK(res1
)) {
17757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFillPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17759 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17762 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17766 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17769 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17770 if (!SWIG_IsOK(ecode4
)) {
17771 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
17773 arg4
= static_cast< int >(val4
);
17776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17777 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
17778 wxPyEndAllowThreads(__tstate
);
17779 if (PyErr_Occurred()) SWIG_fail
;
17782 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17790 SWIGINTERN PyObject
*_wrap_DC_GradientFillConcentric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17791 PyObject
*resultobj
= 0;
17792 wxDC
*arg1
= (wxDC
*) 0 ;
17794 wxColour
*arg3
= 0 ;
17795 wxColour
*arg4
= 0 ;
17796 wxPoint
*arg5
= 0 ;
17803 PyObject
* obj0
= 0 ;
17804 PyObject
* obj1
= 0 ;
17805 PyObject
* obj2
= 0 ;
17806 PyObject
* obj3
= 0 ;
17807 PyObject
* obj4
= 0 ;
17808 char * kwnames
[] = {
17809 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "circleCenter", NULL
17812 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_GradientFillConcentric",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17813 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17814 if (!SWIG_IsOK(res1
)) {
17815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillConcentric" "', expected argument " "1"" of type '" "wxDC *""'");
17817 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17820 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17824 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17828 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17832 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17836 (arg1
)->GradientFillConcentric((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
);
17837 wxPyEndAllowThreads(__tstate
);
17838 if (PyErr_Occurred()) SWIG_fail
;
17840 resultobj
= SWIG_Py_Void();
17847 SWIGINTERN PyObject
*_wrap_DC_GradientFillLinear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17848 PyObject
*resultobj
= 0;
17849 wxDC
*arg1
= (wxDC
*) 0 ;
17851 wxColour
*arg3
= 0 ;
17852 wxColour
*arg4
= 0 ;
17853 wxDirection arg5
= (wxDirection
) wxEAST
;
17861 PyObject
* obj0
= 0 ;
17862 PyObject
* obj1
= 0 ;
17863 PyObject
* obj2
= 0 ;
17864 PyObject
* obj3
= 0 ;
17865 PyObject
* obj4
= 0 ;
17866 char * kwnames
[] = {
17867 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "nDirection", NULL
17870 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_GradientFillLinear",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17871 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17872 if (!SWIG_IsOK(res1
)) {
17873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillLinear" "', expected argument " "1"" of type '" "wxDC *""'");
17875 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17878 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17882 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17886 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17889 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17890 if (!SWIG_IsOK(ecode5
)) {
17891 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_GradientFillLinear" "', expected argument " "5"" of type '" "wxDirection""'");
17893 arg5
= static_cast< wxDirection
>(val5
);
17896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17897 (arg1
)->GradientFillLinear((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,arg5
);
17898 wxPyEndAllowThreads(__tstate
);
17899 if (PyErr_Occurred()) SWIG_fail
;
17901 resultobj
= SWIG_Py_Void();
17908 SWIGINTERN PyObject
*_wrap_DC_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17909 PyObject
*resultobj
= 0;
17910 wxDC
*arg1
= (wxDC
*) 0 ;
17920 PyObject
* obj0
= 0 ;
17921 PyObject
* obj1
= 0 ;
17922 PyObject
* obj2
= 0 ;
17923 char * kwnames
[] = {
17924 (char *) "self",(char *) "x",(char *) "y", NULL
17927 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17928 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17929 if (!SWIG_IsOK(res1
)) {
17930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixel" "', expected argument " "1"" of type '" "wxDC *""'");
17932 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17933 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17934 if (!SWIG_IsOK(ecode2
)) {
17935 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_GetPixel" "', expected argument " "2"" of type '" "int""'");
17937 arg2
= static_cast< int >(val2
);
17938 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17939 if (!SWIG_IsOK(ecode3
)) {
17940 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_GetPixel" "', expected argument " "3"" of type '" "int""'");
17942 arg3
= static_cast< int >(val3
);
17944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17945 result
= wxDC_GetPixel(arg1
,arg2
,arg3
);
17946 wxPyEndAllowThreads(__tstate
);
17947 if (PyErr_Occurred()) SWIG_fail
;
17949 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
17956 SWIGINTERN PyObject
*_wrap_DC_GetPixelPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17957 PyObject
*resultobj
= 0;
17958 wxDC
*arg1
= (wxDC
*) 0 ;
17959 wxPoint
*arg2
= 0 ;
17964 PyObject
* obj0
= 0 ;
17965 PyObject
* obj1
= 0 ;
17966 char * kwnames
[] = {
17967 (char *) "self",(char *) "pt", NULL
17970 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17971 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17972 if (!SWIG_IsOK(res1
)) {
17973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixelPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17975 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17978 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17982 result
= wxDC_GetPixelPoint(arg1
,(wxPoint
const &)*arg2
);
17983 wxPyEndAllowThreads(__tstate
);
17984 if (PyErr_Occurred()) SWIG_fail
;
17986 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
17993 SWIGINTERN PyObject
*_wrap_DC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17994 PyObject
*resultobj
= 0;
17995 wxDC
*arg1
= (wxDC
*) 0 ;
18010 PyObject
* obj0
= 0 ;
18011 PyObject
* obj1
= 0 ;
18012 PyObject
* obj2
= 0 ;
18013 PyObject
* obj3
= 0 ;
18014 PyObject
* obj4
= 0 ;
18015 char * kwnames
[] = {
18016 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
18019 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18020 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18021 if (!SWIG_IsOK(res1
)) {
18022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLine" "', expected argument " "1"" of type '" "wxDC *""'");
18024 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18025 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18026 if (!SWIG_IsOK(ecode2
)) {
18027 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawLine" "', expected argument " "2"" of type '" "int""'");
18029 arg2
= static_cast< int >(val2
);
18030 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18031 if (!SWIG_IsOK(ecode3
)) {
18032 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawLine" "', expected argument " "3"" of type '" "int""'");
18034 arg3
= static_cast< int >(val3
);
18035 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18036 if (!SWIG_IsOK(ecode4
)) {
18037 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLine" "', expected argument " "4"" of type '" "int""'");
18039 arg4
= static_cast< int >(val4
);
18040 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18041 if (!SWIG_IsOK(ecode5
)) {
18042 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLine" "', expected argument " "5"" of type '" "int""'");
18044 arg5
= static_cast< int >(val5
);
18046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18047 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
18048 wxPyEndAllowThreads(__tstate
);
18049 if (PyErr_Occurred()) SWIG_fail
;
18051 resultobj
= SWIG_Py_Void();
18058 SWIGINTERN PyObject
*_wrap_DC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18059 PyObject
*resultobj
= 0;
18060 wxDC
*arg1
= (wxDC
*) 0 ;
18061 wxPoint
*arg2
= 0 ;
18062 wxPoint
*arg3
= 0 ;
18067 PyObject
* obj0
= 0 ;
18068 PyObject
* obj1
= 0 ;
18069 PyObject
* obj2
= 0 ;
18070 char * kwnames
[] = {
18071 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
18074 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18075 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18076 if (!SWIG_IsOK(res1
)) {
18077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLinePoint" "', expected argument " "1"" of type '" "wxDC *""'");
18079 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18082 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18086 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18090 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
18091 wxPyEndAllowThreads(__tstate
);
18092 if (PyErr_Occurred()) SWIG_fail
;
18094 resultobj
= SWIG_Py_Void();
18101 SWIGINTERN PyObject
*_wrap_DC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18102 PyObject
*resultobj
= 0;
18103 wxDC
*arg1
= (wxDC
*) 0 ;
18112 PyObject
* obj0
= 0 ;
18113 PyObject
* obj1
= 0 ;
18114 PyObject
* obj2
= 0 ;
18115 char * kwnames
[] = {
18116 (char *) "self",(char *) "x",(char *) "y", NULL
18119 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18120 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18121 if (!SWIG_IsOK(res1
)) {
18122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHair" "', expected argument " "1"" of type '" "wxDC *""'");
18124 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18125 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18126 if (!SWIG_IsOK(ecode2
)) {
18127 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CrossHair" "', expected argument " "2"" of type '" "int""'");
18129 arg2
= static_cast< int >(val2
);
18130 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18131 if (!SWIG_IsOK(ecode3
)) {
18132 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CrossHair" "', expected argument " "3"" of type '" "int""'");
18134 arg3
= static_cast< int >(val3
);
18136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18137 (arg1
)->CrossHair(arg2
,arg3
);
18138 wxPyEndAllowThreads(__tstate
);
18139 if (PyErr_Occurred()) SWIG_fail
;
18141 resultobj
= SWIG_Py_Void();
18148 SWIGINTERN PyObject
*_wrap_DC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18149 PyObject
*resultobj
= 0;
18150 wxDC
*arg1
= (wxDC
*) 0 ;
18151 wxPoint
*arg2
= 0 ;
18155 PyObject
* obj0
= 0 ;
18156 PyObject
* obj1
= 0 ;
18157 char * kwnames
[] = {
18158 (char *) "self",(char *) "pt", NULL
18161 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18162 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18163 if (!SWIG_IsOK(res1
)) {
18164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHairPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18166 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18169 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18173 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
18174 wxPyEndAllowThreads(__tstate
);
18175 if (PyErr_Occurred()) SWIG_fail
;
18177 resultobj
= SWIG_Py_Void();
18184 SWIGINTERN PyObject
*_wrap_DC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18185 PyObject
*resultobj
= 0;
18186 wxDC
*arg1
= (wxDC
*) 0 ;
18207 PyObject
* obj0
= 0 ;
18208 PyObject
* obj1
= 0 ;
18209 PyObject
* obj2
= 0 ;
18210 PyObject
* obj3
= 0 ;
18211 PyObject
* obj4
= 0 ;
18212 PyObject
* obj5
= 0 ;
18213 PyObject
* obj6
= 0 ;
18214 char * kwnames
[] = {
18215 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
18218 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
18219 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18220 if (!SWIG_IsOK(res1
)) {
18221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArc" "', expected argument " "1"" of type '" "wxDC *""'");
18223 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18224 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18225 if (!SWIG_IsOK(ecode2
)) {
18226 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawArc" "', expected argument " "2"" of type '" "int""'");
18228 arg2
= static_cast< int >(val2
);
18229 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18230 if (!SWIG_IsOK(ecode3
)) {
18231 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawArc" "', expected argument " "3"" of type '" "int""'");
18233 arg3
= static_cast< int >(val3
);
18234 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18235 if (!SWIG_IsOK(ecode4
)) {
18236 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawArc" "', expected argument " "4"" of type '" "int""'");
18238 arg4
= static_cast< int >(val4
);
18239 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18240 if (!SWIG_IsOK(ecode5
)) {
18241 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawArc" "', expected argument " "5"" of type '" "int""'");
18243 arg5
= static_cast< int >(val5
);
18244 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
18245 if (!SWIG_IsOK(ecode6
)) {
18246 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawArc" "', expected argument " "6"" of type '" "int""'");
18248 arg6
= static_cast< int >(val6
);
18249 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
18250 if (!SWIG_IsOK(ecode7
)) {
18251 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawArc" "', expected argument " "7"" of type '" "int""'");
18253 arg7
= static_cast< int >(val7
);
18255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18256 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18257 wxPyEndAllowThreads(__tstate
);
18258 if (PyErr_Occurred()) SWIG_fail
;
18260 resultobj
= SWIG_Py_Void();
18267 SWIGINTERN PyObject
*_wrap_DC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18268 PyObject
*resultobj
= 0;
18269 wxDC
*arg1
= (wxDC
*) 0 ;
18270 wxPoint
*arg2
= 0 ;
18271 wxPoint
*arg3
= 0 ;
18272 wxPoint
*arg4
= 0 ;
18278 PyObject
* obj0
= 0 ;
18279 PyObject
* obj1
= 0 ;
18280 PyObject
* obj2
= 0 ;
18281 PyObject
* obj3
= 0 ;
18282 char * kwnames
[] = {
18283 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
18286 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18287 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18288 if (!SWIG_IsOK(res1
)) {
18289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArcPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18291 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18294 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18298 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18302 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18306 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
18307 wxPyEndAllowThreads(__tstate
);
18308 if (PyErr_Occurred()) SWIG_fail
;
18310 resultobj
= SWIG_Py_Void();
18317 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18318 PyObject
*resultobj
= 0;
18319 wxDC
*arg1
= (wxDC
*) 0 ;
18334 PyObject
* obj0
= 0 ;
18335 PyObject
* obj1
= 0 ;
18336 PyObject
* obj2
= 0 ;
18337 PyObject
* obj3
= 0 ;
18338 PyObject
* obj4
= 0 ;
18339 char * kwnames
[] = {
18340 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18343 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18344 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18345 if (!SWIG_IsOK(res1
)) {
18346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMark" "', expected argument " "1"" of type '" "wxDC *""'");
18348 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18349 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18350 if (!SWIG_IsOK(ecode2
)) {
18351 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
18353 arg2
= static_cast< int >(val2
);
18354 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18355 if (!SWIG_IsOK(ecode3
)) {
18356 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
18358 arg3
= static_cast< int >(val3
);
18359 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18360 if (!SWIG_IsOK(ecode4
)) {
18361 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
18363 arg4
= static_cast< int >(val4
);
18364 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18365 if (!SWIG_IsOK(ecode5
)) {
18366 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
18368 arg5
= static_cast< int >(val5
);
18370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18371 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
18372 wxPyEndAllowThreads(__tstate
);
18373 if (PyErr_Occurred()) SWIG_fail
;
18375 resultobj
= SWIG_Py_Void();
18382 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18383 PyObject
*resultobj
= 0;
18384 wxDC
*arg1
= (wxDC
*) 0 ;
18389 PyObject
* obj0
= 0 ;
18390 PyObject
* obj1
= 0 ;
18391 char * kwnames
[] = {
18392 (char *) "self",(char *) "rect", NULL
18395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18396 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18397 if (!SWIG_IsOK(res1
)) {
18398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxDC *""'");
18400 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18403 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18407 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
18408 wxPyEndAllowThreads(__tstate
);
18409 if (PyErr_Occurred()) SWIG_fail
;
18411 resultobj
= SWIG_Py_Void();
18418 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18419 PyObject
*resultobj
= 0;
18420 wxDC
*arg1
= (wxDC
*) 0 ;
18441 PyObject
* obj0
= 0 ;
18442 PyObject
* obj1
= 0 ;
18443 PyObject
* obj2
= 0 ;
18444 PyObject
* obj3
= 0 ;
18445 PyObject
* obj4
= 0 ;
18446 PyObject
* obj5
= 0 ;
18447 PyObject
* obj6
= 0 ;
18448 char * kwnames
[] = {
18449 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
18452 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
18453 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18454 if (!SWIG_IsOK(res1
)) {
18455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxDC *""'");
18457 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18458 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18459 if (!SWIG_IsOK(ecode2
)) {
18460 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
18462 arg2
= static_cast< int >(val2
);
18463 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18464 if (!SWIG_IsOK(ecode3
)) {
18465 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
18467 arg3
= static_cast< int >(val3
);
18468 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18469 if (!SWIG_IsOK(ecode4
)) {
18470 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
18472 arg4
= static_cast< int >(val4
);
18473 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18474 if (!SWIG_IsOK(ecode5
)) {
18475 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
18477 arg5
= static_cast< int >(val5
);
18478 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
18479 if (!SWIG_IsOK(ecode6
)) {
18480 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
18482 arg6
= static_cast< double >(val6
);
18483 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
18484 if (!SWIG_IsOK(ecode7
)) {
18485 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
18487 arg7
= static_cast< double >(val7
);
18489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18490 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18491 wxPyEndAllowThreads(__tstate
);
18492 if (PyErr_Occurred()) SWIG_fail
;
18494 resultobj
= SWIG_Py_Void();
18501 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18502 PyObject
*resultobj
= 0;
18503 wxDC
*arg1
= (wxDC
*) 0 ;
18504 wxPoint
*arg2
= 0 ;
18516 PyObject
* obj0
= 0 ;
18517 PyObject
* obj1
= 0 ;
18518 PyObject
* obj2
= 0 ;
18519 PyObject
* obj3
= 0 ;
18520 PyObject
* obj4
= 0 ;
18521 char * kwnames
[] = {
18522 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
18525 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18526 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18527 if (!SWIG_IsOK(res1
)) {
18528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18530 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18533 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18537 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18539 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
18540 if (!SWIG_IsOK(ecode4
)) {
18541 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
18543 arg4
= static_cast< double >(val4
);
18544 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
18545 if (!SWIG_IsOK(ecode5
)) {
18546 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
18548 arg5
= static_cast< double >(val5
);
18550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18551 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
18552 wxPyEndAllowThreads(__tstate
);
18553 if (PyErr_Occurred()) SWIG_fail
;
18555 resultobj
= SWIG_Py_Void();
18562 SWIGINTERN PyObject
*_wrap_DC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18563 PyObject
*resultobj
= 0;
18564 wxDC
*arg1
= (wxDC
*) 0 ;
18573 PyObject
* obj0
= 0 ;
18574 PyObject
* obj1
= 0 ;
18575 PyObject
* obj2
= 0 ;
18576 char * kwnames
[] = {
18577 (char *) "self",(char *) "x",(char *) "y", NULL
18580 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18581 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18582 if (!SWIG_IsOK(res1
)) {
18583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18585 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18586 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18587 if (!SWIG_IsOK(ecode2
)) {
18588 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
18590 arg2
= static_cast< int >(val2
);
18591 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18592 if (!SWIG_IsOK(ecode3
)) {
18593 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
18595 arg3
= static_cast< int >(val3
);
18597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18598 (arg1
)->DrawPoint(arg2
,arg3
);
18599 wxPyEndAllowThreads(__tstate
);
18600 if (PyErr_Occurred()) SWIG_fail
;
18602 resultobj
= SWIG_Py_Void();
18609 SWIGINTERN PyObject
*_wrap_DC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18610 PyObject
*resultobj
= 0;
18611 wxDC
*arg1
= (wxDC
*) 0 ;
18612 wxPoint
*arg2
= 0 ;
18616 PyObject
* obj0
= 0 ;
18617 PyObject
* obj1
= 0 ;
18618 char * kwnames
[] = {
18619 (char *) "self",(char *) "pt", NULL
18622 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18623 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18624 if (!SWIG_IsOK(res1
)) {
18625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPointPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18627 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18630 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18634 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
18635 wxPyEndAllowThreads(__tstate
);
18636 if (PyErr_Occurred()) SWIG_fail
;
18638 resultobj
= SWIG_Py_Void();
18645 SWIGINTERN PyObject
*_wrap_DC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18646 PyObject
*resultobj
= 0;
18647 wxDC
*arg1
= (wxDC
*) 0 ;
18662 PyObject
* obj0
= 0 ;
18663 PyObject
* obj1
= 0 ;
18664 PyObject
* obj2
= 0 ;
18665 PyObject
* obj3
= 0 ;
18666 PyObject
* obj4
= 0 ;
18667 char * kwnames
[] = {
18668 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18671 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18672 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18673 if (!SWIG_IsOK(res1
)) {
18674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
18676 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18677 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18678 if (!SWIG_IsOK(ecode2
)) {
18679 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
18681 arg2
= static_cast< int >(val2
);
18682 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18683 if (!SWIG_IsOK(ecode3
)) {
18684 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
18686 arg3
= static_cast< int >(val3
);
18687 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18688 if (!SWIG_IsOK(ecode4
)) {
18689 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
18691 arg4
= static_cast< int >(val4
);
18692 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18693 if (!SWIG_IsOK(ecode5
)) {
18694 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
18696 arg5
= static_cast< int >(val5
);
18698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18699 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
18700 wxPyEndAllowThreads(__tstate
);
18701 if (PyErr_Occurred()) SWIG_fail
;
18703 resultobj
= SWIG_Py_Void();
18710 SWIGINTERN PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18711 PyObject
*resultobj
= 0;
18712 wxDC
*arg1
= (wxDC
*) 0 ;
18717 PyObject
* obj0
= 0 ;
18718 PyObject
* obj1
= 0 ;
18719 char * kwnames
[] = {
18720 (char *) "self",(char *) "rect", NULL
18723 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18724 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18725 if (!SWIG_IsOK(res1
)) {
18726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
18728 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18731 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18735 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
18736 wxPyEndAllowThreads(__tstate
);
18737 if (PyErr_Occurred()) SWIG_fail
;
18739 resultobj
= SWIG_Py_Void();
18746 SWIGINTERN PyObject
*_wrap_DC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18747 PyObject
*resultobj
= 0;
18748 wxDC
*arg1
= (wxDC
*) 0 ;
18749 wxPoint
*arg2
= 0 ;
18755 PyObject
* obj0
= 0 ;
18756 PyObject
* obj1
= 0 ;
18757 PyObject
* obj2
= 0 ;
18758 char * kwnames
[] = {
18759 (char *) "self",(char *) "pt",(char *) "sz", NULL
18762 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18763 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18764 if (!SWIG_IsOK(res1
)) {
18765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18767 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18770 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18774 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18778 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
18779 wxPyEndAllowThreads(__tstate
);
18780 if (PyErr_Occurred()) SWIG_fail
;
18782 resultobj
= SWIG_Py_Void();
18789 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18790 PyObject
*resultobj
= 0;
18791 wxDC
*arg1
= (wxDC
*) 0 ;
18809 PyObject
* obj0
= 0 ;
18810 PyObject
* obj1
= 0 ;
18811 PyObject
* obj2
= 0 ;
18812 PyObject
* obj3
= 0 ;
18813 PyObject
* obj4
= 0 ;
18814 PyObject
* obj5
= 0 ;
18815 char * kwnames
[] = {
18816 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
18819 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18820 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18821 if (!SWIG_IsOK(res1
)) {
18822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
18824 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18825 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18826 if (!SWIG_IsOK(ecode2
)) {
18827 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
18829 arg2
= static_cast< int >(val2
);
18830 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18831 if (!SWIG_IsOK(ecode3
)) {
18832 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
18834 arg3
= static_cast< int >(val3
);
18835 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18836 if (!SWIG_IsOK(ecode4
)) {
18837 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
18839 arg4
= static_cast< int >(val4
);
18840 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18841 if (!SWIG_IsOK(ecode5
)) {
18842 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
18844 arg5
= static_cast< int >(val5
);
18845 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
18846 if (!SWIG_IsOK(ecode6
)) {
18847 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
18849 arg6
= static_cast< double >(val6
);
18851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18852 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
18853 wxPyEndAllowThreads(__tstate
);
18854 if (PyErr_Occurred()) SWIG_fail
;
18856 resultobj
= SWIG_Py_Void();
18863 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18864 PyObject
*resultobj
= 0;
18865 wxDC
*arg1
= (wxDC
*) 0 ;
18873 PyObject
* obj0
= 0 ;
18874 PyObject
* obj1
= 0 ;
18875 PyObject
* obj2
= 0 ;
18876 char * kwnames
[] = {
18877 (char *) "self",(char *) "r",(char *) "radius", NULL
18880 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18881 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18882 if (!SWIG_IsOK(res1
)) {
18883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
18885 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18888 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18890 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
18891 if (!SWIG_IsOK(ecode3
)) {
18892 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
18894 arg3
= static_cast< double >(val3
);
18896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18897 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
18898 wxPyEndAllowThreads(__tstate
);
18899 if (PyErr_Occurred()) SWIG_fail
;
18901 resultobj
= SWIG_Py_Void();
18908 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18909 PyObject
*resultobj
= 0;
18910 wxDC
*arg1
= (wxDC
*) 0 ;
18911 wxPoint
*arg2
= 0 ;
18920 PyObject
* obj0
= 0 ;
18921 PyObject
* obj1
= 0 ;
18922 PyObject
* obj2
= 0 ;
18923 PyObject
* obj3
= 0 ;
18924 char * kwnames
[] = {
18925 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
18928 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18929 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18930 if (!SWIG_IsOK(res1
)) {
18931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18933 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18936 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18940 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18942 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
18943 if (!SWIG_IsOK(ecode4
)) {
18944 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
18946 arg4
= static_cast< double >(val4
);
18948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18949 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
18950 wxPyEndAllowThreads(__tstate
);
18951 if (PyErr_Occurred()) SWIG_fail
;
18953 resultobj
= SWIG_Py_Void();
18960 SWIGINTERN PyObject
*_wrap_DC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18961 PyObject
*resultobj
= 0;
18962 wxDC
*arg1
= (wxDC
*) 0 ;
18974 PyObject
* obj0
= 0 ;
18975 PyObject
* obj1
= 0 ;
18976 PyObject
* obj2
= 0 ;
18977 PyObject
* obj3
= 0 ;
18978 char * kwnames
[] = {
18979 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
18982 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18983 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18984 if (!SWIG_IsOK(res1
)) {
18985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCircle" "', expected argument " "1"" of type '" "wxDC *""'");
18987 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18988 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18989 if (!SWIG_IsOK(ecode2
)) {
18990 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
18992 arg2
= static_cast< int >(val2
);
18993 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18994 if (!SWIG_IsOK(ecode3
)) {
18995 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
18997 arg3
= static_cast< int >(val3
);
18998 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18999 if (!SWIG_IsOK(ecode4
)) {
19000 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
19002 arg4
= static_cast< int >(val4
);
19004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19005 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
19006 wxPyEndAllowThreads(__tstate
);
19007 if (PyErr_Occurred()) SWIG_fail
;
19009 resultobj
= SWIG_Py_Void();
19016 SWIGINTERN PyObject
*_wrap_DC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19017 PyObject
*resultobj
= 0;
19018 wxDC
*arg1
= (wxDC
*) 0 ;
19019 wxPoint
*arg2
= 0 ;
19026 PyObject
* obj0
= 0 ;
19027 PyObject
* obj1
= 0 ;
19028 PyObject
* obj2
= 0 ;
19029 char * kwnames
[] = {
19030 (char *) "self",(char *) "pt",(char *) "radius", NULL
19033 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19034 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19035 if (!SWIG_IsOK(res1
)) {
19036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxDC *""'");
19038 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19041 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19043 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19044 if (!SWIG_IsOK(ecode3
)) {
19045 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
19047 arg3
= static_cast< int >(val3
);
19049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19050 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
19051 wxPyEndAllowThreads(__tstate
);
19052 if (PyErr_Occurred()) SWIG_fail
;
19054 resultobj
= SWIG_Py_Void();
19061 SWIGINTERN PyObject
*_wrap_DC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19062 PyObject
*resultobj
= 0;
19063 wxDC
*arg1
= (wxDC
*) 0 ;
19078 PyObject
* obj0
= 0 ;
19079 PyObject
* obj1
= 0 ;
19080 PyObject
* obj2
= 0 ;
19081 PyObject
* obj3
= 0 ;
19082 PyObject
* obj4
= 0 ;
19083 char * kwnames
[] = {
19084 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19087 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19088 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19089 if (!SWIG_IsOK(res1
)) {
19090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipse" "', expected argument " "1"" of type '" "wxDC *""'");
19092 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19093 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19094 if (!SWIG_IsOK(ecode2
)) {
19095 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
19097 arg2
= static_cast< int >(val2
);
19098 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19099 if (!SWIG_IsOK(ecode3
)) {
19100 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
19102 arg3
= static_cast< int >(val3
);
19103 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19104 if (!SWIG_IsOK(ecode4
)) {
19105 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
19107 arg4
= static_cast< int >(val4
);
19108 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19109 if (!SWIG_IsOK(ecode5
)) {
19110 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
19112 arg5
= static_cast< int >(val5
);
19114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19115 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
19116 wxPyEndAllowThreads(__tstate
);
19117 if (PyErr_Occurred()) SWIG_fail
;
19119 resultobj
= SWIG_Py_Void();
19126 SWIGINTERN PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19127 PyObject
*resultobj
= 0;
19128 wxDC
*arg1
= (wxDC
*) 0 ;
19133 PyObject
* obj0
= 0 ;
19134 PyObject
* obj1
= 0 ;
19135 char * kwnames
[] = {
19136 (char *) "self",(char *) "rect", NULL
19139 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19140 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19141 if (!SWIG_IsOK(res1
)) {
19142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxDC *""'");
19144 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19147 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19151 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
19152 wxPyEndAllowThreads(__tstate
);
19153 if (PyErr_Occurred()) SWIG_fail
;
19155 resultobj
= SWIG_Py_Void();
19162 SWIGINTERN PyObject
*_wrap_DC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19163 PyObject
*resultobj
= 0;
19164 wxDC
*arg1
= (wxDC
*) 0 ;
19165 wxPoint
*arg2
= 0 ;
19171 PyObject
* obj0
= 0 ;
19172 PyObject
* obj1
= 0 ;
19173 PyObject
* obj2
= 0 ;
19174 char * kwnames
[] = {
19175 (char *) "self",(char *) "pt",(char *) "sz", NULL
19178 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19179 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19180 if (!SWIG_IsOK(res1
)) {
19181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19183 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19186 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19190 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19194 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
19195 wxPyEndAllowThreads(__tstate
);
19196 if (PyErr_Occurred()) SWIG_fail
;
19198 resultobj
= SWIG_Py_Void();
19205 SWIGINTERN PyObject
*_wrap_DC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19206 PyObject
*resultobj
= 0;
19207 wxDC
*arg1
= (wxDC
*) 0 ;
19219 PyObject
* obj0
= 0 ;
19220 PyObject
* obj1
= 0 ;
19221 PyObject
* obj2
= 0 ;
19222 PyObject
* obj3
= 0 ;
19223 char * kwnames
[] = {
19224 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
19227 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19228 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19229 if (!SWIG_IsOK(res1
)) {
19230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIcon" "', expected argument " "1"" of type '" "wxDC *""'");
19232 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19233 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
19234 if (!SWIG_IsOK(res2
)) {
19235 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
19238 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
19240 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
19241 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19242 if (!SWIG_IsOK(ecode3
)) {
19243 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
19245 arg3
= static_cast< int >(val3
);
19246 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19247 if (!SWIG_IsOK(ecode4
)) {
19248 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
19250 arg4
= static_cast< int >(val4
);
19252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19253 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
19254 wxPyEndAllowThreads(__tstate
);
19255 if (PyErr_Occurred()) SWIG_fail
;
19257 resultobj
= SWIG_Py_Void();
19264 SWIGINTERN PyObject
*_wrap_DC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19265 PyObject
*resultobj
= 0;
19266 wxDC
*arg1
= (wxDC
*) 0 ;
19268 wxPoint
*arg3
= 0 ;
19274 PyObject
* obj0
= 0 ;
19275 PyObject
* obj1
= 0 ;
19276 PyObject
* obj2
= 0 ;
19277 char * kwnames
[] = {
19278 (char *) "self",(char *) "icon",(char *) "pt", NULL
19281 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19282 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19283 if (!SWIG_IsOK(res1
)) {
19284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIconPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19286 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19287 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
19288 if (!SWIG_IsOK(res2
)) {
19289 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
19292 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
19294 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
19297 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19301 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
19302 wxPyEndAllowThreads(__tstate
);
19303 if (PyErr_Occurred()) SWIG_fail
;
19305 resultobj
= SWIG_Py_Void();
19312 SWIGINTERN PyObject
*_wrap_DC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19313 PyObject
*resultobj
= 0;
19314 wxDC
*arg1
= (wxDC
*) 0 ;
19315 wxBitmap
*arg2
= 0 ;
19318 bool arg5
= (bool) false ;
19329 PyObject
* obj0
= 0 ;
19330 PyObject
* obj1
= 0 ;
19331 PyObject
* obj2
= 0 ;
19332 PyObject
* obj3
= 0 ;
19333 PyObject
* obj4
= 0 ;
19334 char * kwnames
[] = {
19335 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
19338 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19339 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19340 if (!SWIG_IsOK(res1
)) {
19341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmap" "', expected argument " "1"" of type '" "wxDC *""'");
19343 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19344 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
19345 if (!SWIG_IsOK(res2
)) {
19346 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19349 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19351 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
19352 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19353 if (!SWIG_IsOK(ecode3
)) {
19354 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
19356 arg3
= static_cast< int >(val3
);
19357 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19358 if (!SWIG_IsOK(ecode4
)) {
19359 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
19361 arg4
= static_cast< int >(val4
);
19363 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
19364 if (!SWIG_IsOK(ecode5
)) {
19365 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
19367 arg5
= static_cast< bool >(val5
);
19370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19371 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
19372 wxPyEndAllowThreads(__tstate
);
19373 if (PyErr_Occurred()) SWIG_fail
;
19375 resultobj
= SWIG_Py_Void();
19382 SWIGINTERN PyObject
*_wrap_DC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19383 PyObject
*resultobj
= 0;
19384 wxDC
*arg1
= (wxDC
*) 0 ;
19385 wxBitmap
*arg2
= 0 ;
19386 wxPoint
*arg3
= 0 ;
19387 bool arg4
= (bool) false ;
19395 PyObject
* obj0
= 0 ;
19396 PyObject
* obj1
= 0 ;
19397 PyObject
* obj2
= 0 ;
19398 PyObject
* obj3
= 0 ;
19399 char * kwnames
[] = {
19400 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
19403 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19404 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19405 if (!SWIG_IsOK(res1
)) {
19406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19408 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19409 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
19410 if (!SWIG_IsOK(res2
)) {
19411 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19414 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
19416 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
19419 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19422 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
19423 if (!SWIG_IsOK(ecode4
)) {
19424 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
19426 arg4
= static_cast< bool >(val4
);
19429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19430 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
19431 wxPyEndAllowThreads(__tstate
);
19432 if (PyErr_Occurred()) SWIG_fail
;
19434 resultobj
= SWIG_Py_Void();
19441 SWIGINTERN PyObject
*_wrap_DC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19442 PyObject
*resultobj
= 0;
19443 wxDC
*arg1
= (wxDC
*) 0 ;
19444 wxString
*arg2
= 0 ;
19449 bool temp2
= false ;
19454 PyObject
* obj0
= 0 ;
19455 PyObject
* obj1
= 0 ;
19456 PyObject
* obj2
= 0 ;
19457 PyObject
* obj3
= 0 ;
19458 char * kwnames
[] = {
19459 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
19462 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19463 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19464 if (!SWIG_IsOK(res1
)) {
19465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawText" "', expected argument " "1"" of type '" "wxDC *""'");
19467 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19469 arg2
= wxString_in_helper(obj1
);
19470 if (arg2
== NULL
) SWIG_fail
;
19473 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19474 if (!SWIG_IsOK(ecode3
)) {
19475 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawText" "', expected argument " "3"" of type '" "int""'");
19477 arg3
= static_cast< int >(val3
);
19478 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19479 if (!SWIG_IsOK(ecode4
)) {
19480 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawText" "', expected argument " "4"" of type '" "int""'");
19482 arg4
= static_cast< int >(val4
);
19484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19485 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
19486 wxPyEndAllowThreads(__tstate
);
19487 if (PyErr_Occurred()) SWIG_fail
;
19489 resultobj
= SWIG_Py_Void();
19504 SWIGINTERN PyObject
*_wrap_DC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19505 PyObject
*resultobj
= 0;
19506 wxDC
*arg1
= (wxDC
*) 0 ;
19507 wxString
*arg2
= 0 ;
19508 wxPoint
*arg3
= 0 ;
19511 bool temp2
= false ;
19513 PyObject
* obj0
= 0 ;
19514 PyObject
* obj1
= 0 ;
19515 PyObject
* obj2
= 0 ;
19516 char * kwnames
[] = {
19517 (char *) "self",(char *) "text",(char *) "pt", NULL
19520 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19521 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19522 if (!SWIG_IsOK(res1
)) {
19523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19525 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19527 arg2
= wxString_in_helper(obj1
);
19528 if (arg2
== NULL
) SWIG_fail
;
19533 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19537 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
19538 wxPyEndAllowThreads(__tstate
);
19539 if (PyErr_Occurred()) SWIG_fail
;
19541 resultobj
= SWIG_Py_Void();
19556 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19557 PyObject
*resultobj
= 0;
19558 wxDC
*arg1
= (wxDC
*) 0 ;
19559 wxString
*arg2
= 0 ;
19565 bool temp2
= false ;
19572 PyObject
* obj0
= 0 ;
19573 PyObject
* obj1
= 0 ;
19574 PyObject
* obj2
= 0 ;
19575 PyObject
* obj3
= 0 ;
19576 PyObject
* obj4
= 0 ;
19577 char * kwnames
[] = {
19578 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
19581 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19582 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19583 if (!SWIG_IsOK(res1
)) {
19584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedText" "', expected argument " "1"" of type '" "wxDC *""'");
19586 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19588 arg2
= wxString_in_helper(obj1
);
19589 if (arg2
== NULL
) SWIG_fail
;
19592 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19593 if (!SWIG_IsOK(ecode3
)) {
19594 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
19596 arg3
= static_cast< int >(val3
);
19597 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19598 if (!SWIG_IsOK(ecode4
)) {
19599 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
19601 arg4
= static_cast< int >(val4
);
19602 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
19603 if (!SWIG_IsOK(ecode5
)) {
19604 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
19606 arg5
= static_cast< double >(val5
);
19608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19609 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
19610 wxPyEndAllowThreads(__tstate
);
19611 if (PyErr_Occurred()) SWIG_fail
;
19613 resultobj
= SWIG_Py_Void();
19628 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19629 PyObject
*resultobj
= 0;
19630 wxDC
*arg1
= (wxDC
*) 0 ;
19631 wxString
*arg2
= 0 ;
19632 wxPoint
*arg3
= 0 ;
19636 bool temp2
= false ;
19640 PyObject
* obj0
= 0 ;
19641 PyObject
* obj1
= 0 ;
19642 PyObject
* obj2
= 0 ;
19643 PyObject
* obj3
= 0 ;
19644 char * kwnames
[] = {
19645 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
19648 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19649 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19650 if (!SWIG_IsOK(res1
)) {
19651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19653 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19655 arg2
= wxString_in_helper(obj1
);
19656 if (arg2
== NULL
) SWIG_fail
;
19661 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19663 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
19664 if (!SWIG_IsOK(ecode4
)) {
19665 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
19667 arg4
= static_cast< double >(val4
);
19669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19670 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
19671 wxPyEndAllowThreads(__tstate
);
19672 if (PyErr_Occurred()) SWIG_fail
;
19674 resultobj
= SWIG_Py_Void();
19689 SWIGINTERN PyObject
*_wrap_DC_Blit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19690 PyObject
*resultobj
= 0;
19691 wxDC
*arg1
= (wxDC
*) 0 ;
19696 wxDC
*arg6
= (wxDC
*) 0 ;
19699 int arg9
= (int) wxCOPY
;
19700 bool arg10
= (bool) false ;
19701 int arg11
= (int) -1 ;
19702 int arg12
= (int) -1 ;
19728 PyObject
* obj0
= 0 ;
19729 PyObject
* obj1
= 0 ;
19730 PyObject
* obj2
= 0 ;
19731 PyObject
* obj3
= 0 ;
19732 PyObject
* obj4
= 0 ;
19733 PyObject
* obj5
= 0 ;
19734 PyObject
* obj6
= 0 ;
19735 PyObject
* obj7
= 0 ;
19736 PyObject
* obj8
= 0 ;
19737 PyObject
* obj9
= 0 ;
19738 PyObject
* obj10
= 0 ;
19739 PyObject
* obj11
= 0 ;
19740 char * kwnames
[] = {
19741 (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
19744 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
;
19745 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19746 if (!SWIG_IsOK(res1
)) {
19747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Blit" "', expected argument " "1"" of type '" "wxDC *""'");
19749 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19750 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19751 if (!SWIG_IsOK(ecode2
)) {
19752 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_Blit" "', expected argument " "2"" of type '" "int""'");
19754 arg2
= static_cast< int >(val2
);
19755 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19756 if (!SWIG_IsOK(ecode3
)) {
19757 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_Blit" "', expected argument " "3"" of type '" "int""'");
19759 arg3
= static_cast< int >(val3
);
19760 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19761 if (!SWIG_IsOK(ecode4
)) {
19762 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_Blit" "', expected argument " "4"" of type '" "int""'");
19764 arg4
= static_cast< int >(val4
);
19765 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19766 if (!SWIG_IsOK(ecode5
)) {
19767 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_Blit" "', expected argument " "5"" of type '" "int""'");
19769 arg5
= static_cast< int >(val5
);
19770 res6
= SWIG_ConvertPtr(obj5
, &argp6
,SWIGTYPE_p_wxDC
, 0 | 0 );
19771 if (!SWIG_IsOK(res6
)) {
19772 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_Blit" "', expected argument " "6"" of type '" "wxDC *""'");
19774 arg6
= reinterpret_cast< wxDC
* >(argp6
);
19775 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
19776 if (!SWIG_IsOK(ecode7
)) {
19777 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_Blit" "', expected argument " "7"" of type '" "int""'");
19779 arg7
= static_cast< int >(val7
);
19780 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
19781 if (!SWIG_IsOK(ecode8
)) {
19782 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DC_Blit" "', expected argument " "8"" of type '" "int""'");
19784 arg8
= static_cast< int >(val8
);
19786 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
19787 if (!SWIG_IsOK(ecode9
)) {
19788 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "DC_Blit" "', expected argument " "9"" of type '" "int""'");
19790 arg9
= static_cast< int >(val9
);
19793 ecode10
= SWIG_AsVal_bool(obj9
, &val10
);
19794 if (!SWIG_IsOK(ecode10
)) {
19795 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "DC_Blit" "', expected argument " "10"" of type '" "bool""'");
19797 arg10
= static_cast< bool >(val10
);
19800 ecode11
= SWIG_AsVal_int(obj10
, &val11
);
19801 if (!SWIG_IsOK(ecode11
)) {
19802 SWIG_exception_fail(SWIG_ArgError(ecode11
), "in method '" "DC_Blit" "', expected argument " "11"" of type '" "int""'");
19804 arg11
= static_cast< int >(val11
);
19807 ecode12
= SWIG_AsVal_int(obj11
, &val12
);
19808 if (!SWIG_IsOK(ecode12
)) {
19809 SWIG_exception_fail(SWIG_ArgError(ecode12
), "in method '" "DC_Blit" "', expected argument " "12"" of type '" "int""'");
19811 arg12
= static_cast< int >(val12
);
19814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19815 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
19816 wxPyEndAllowThreads(__tstate
);
19817 if (PyErr_Occurred()) SWIG_fail
;
19820 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19828 SWIGINTERN PyObject
*_wrap_DC_BlitPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19829 PyObject
*resultobj
= 0;
19830 wxDC
*arg1
= (wxDC
*) 0 ;
19831 wxPoint
*arg2
= 0 ;
19833 wxDC
*arg4
= (wxDC
*) 0 ;
19834 wxPoint
*arg5
= 0 ;
19835 int arg6
= (int) wxCOPY
;
19836 bool arg7
= (bool) false ;
19837 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
19838 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
19852 PyObject
* obj0
= 0 ;
19853 PyObject
* obj1
= 0 ;
19854 PyObject
* obj2
= 0 ;
19855 PyObject
* obj3
= 0 ;
19856 PyObject
* obj4
= 0 ;
19857 PyObject
* obj5
= 0 ;
19858 PyObject
* obj6
= 0 ;
19859 PyObject
* obj7
= 0 ;
19860 char * kwnames
[] = {
19861 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
19864 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
19865 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19866 if (!SWIG_IsOK(res1
)) {
19867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_BlitPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19869 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19872 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19876 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19878 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxDC
, 0 | 0 );
19879 if (!SWIG_IsOK(res4
)) {
19880 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DC_BlitPointSize" "', expected argument " "4"" of type '" "wxDC *""'");
19882 arg4
= reinterpret_cast< wxDC
* >(argp4
);
19885 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
19888 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
19889 if (!SWIG_IsOK(ecode6
)) {
19890 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_BlitPointSize" "', expected argument " "6"" of type '" "int""'");
19892 arg6
= static_cast< int >(val6
);
19895 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
19896 if (!SWIG_IsOK(ecode7
)) {
19897 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_BlitPointSize" "', expected argument " "7"" of type '" "bool""'");
19899 arg7
= static_cast< bool >(val7
);
19904 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
19908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19909 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
19910 wxPyEndAllowThreads(__tstate
);
19911 if (PyErr_Occurred()) SWIG_fail
;
19914 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19922 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19923 PyObject
*resultobj
= 0;
19924 wxDC
*arg1
= (wxDC
*) 0 ;
19939 PyObject
* obj0
= 0 ;
19940 PyObject
* obj1
= 0 ;
19941 PyObject
* obj2
= 0 ;
19942 PyObject
* obj3
= 0 ;
19943 PyObject
* obj4
= 0 ;
19944 char * kwnames
[] = {
19945 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19948 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19949 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19950 if (!SWIG_IsOK(res1
)) {
19951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
19953 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19954 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19955 if (!SWIG_IsOK(ecode2
)) {
19956 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetClippingRegion" "', expected argument " "2"" of type '" "int""'");
19958 arg2
= static_cast< int >(val2
);
19959 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19960 if (!SWIG_IsOK(ecode3
)) {
19961 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetClippingRegion" "', expected argument " "3"" of type '" "int""'");
19963 arg3
= static_cast< int >(val3
);
19964 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19965 if (!SWIG_IsOK(ecode4
)) {
19966 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_SetClippingRegion" "', expected argument " "4"" of type '" "int""'");
19968 arg4
= static_cast< int >(val4
);
19969 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19970 if (!SWIG_IsOK(ecode5
)) {
19971 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_SetClippingRegion" "', expected argument " "5"" of type '" "int""'");
19973 arg5
= static_cast< int >(val5
);
19975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19976 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
19977 wxPyEndAllowThreads(__tstate
);
19978 if (PyErr_Occurred()) SWIG_fail
;
19980 resultobj
= SWIG_Py_Void();
19987 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19988 PyObject
*resultobj
= 0;
19989 wxDC
*arg1
= (wxDC
*) 0 ;
19990 wxPoint
*arg2
= 0 ;
19996 PyObject
* obj0
= 0 ;
19997 PyObject
* obj1
= 0 ;
19998 PyObject
* obj2
= 0 ;
19999 char * kwnames
[] = {
20000 (char *) "self",(char *) "pt",(char *) "sz", NULL
20003 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20004 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20005 if (!SWIG_IsOK(res1
)) {
20006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
20008 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20011 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20015 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
20018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20019 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
20020 wxPyEndAllowThreads(__tstate
);
20021 if (PyErr_Occurred()) SWIG_fail
;
20023 resultobj
= SWIG_Py_Void();
20030 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20031 PyObject
*resultobj
= 0;
20032 wxDC
*arg1
= (wxDC
*) 0 ;
20033 wxRegion
*arg2
= 0 ;
20038 PyObject
* obj0
= 0 ;
20039 PyObject
* obj1
= 0 ;
20040 char * kwnames
[] = {
20041 (char *) "self",(char *) "region", NULL
20044 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20045 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20046 if (!SWIG_IsOK(res1
)) {
20047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "1"" of type '" "wxDC *""'");
20049 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20050 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
20051 if (!SWIG_IsOK(res2
)) {
20052 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
20055 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
20057 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
20059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20060 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
20061 wxPyEndAllowThreads(__tstate
);
20062 if (PyErr_Occurred()) SWIG_fail
;
20064 resultobj
= SWIG_Py_Void();
20071 SWIGINTERN PyObject
*_wrap_DC_SetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20072 PyObject
*resultobj
= 0;
20073 wxDC
*arg1
= (wxDC
*) 0 ;
20078 PyObject
* obj0
= 0 ;
20079 PyObject
* obj1
= 0 ;
20080 char * kwnames
[] = {
20081 (char *) "self",(char *) "rect", NULL
20084 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20085 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20086 if (!SWIG_IsOK(res1
)) {
20087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
20089 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20092 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
20095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20096 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
20097 wxPyEndAllowThreads(__tstate
);
20098 if (PyErr_Occurred()) SWIG_fail
;
20100 resultobj
= SWIG_Py_Void();
20107 SWIGINTERN PyObject
*_wrap_DC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20108 PyObject
*resultobj
= 0;
20109 wxDC
*arg1
= (wxDC
*) 0 ;
20111 wxPoint
*arg3
= (wxPoint
*) 0 ;
20112 int arg4
= (int) 0 ;
20113 int arg5
= (int) 0 ;
20120 PyObject
* obj0
= 0 ;
20121 PyObject
* obj1
= 0 ;
20122 PyObject
* obj2
= 0 ;
20123 PyObject
* obj3
= 0 ;
20124 char * kwnames
[] = {
20125 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
20128 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20129 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20130 if (!SWIG_IsOK(res1
)) {
20131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLines" "', expected argument " "1"" of type '" "wxDC *""'");
20133 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20135 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20136 if (arg3
== NULL
) SWIG_fail
;
20139 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
20140 if (!SWIG_IsOK(ecode4
)) {
20141 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLines" "', expected argument " "4"" of type '" "int""'");
20143 arg4
= static_cast< int >(val4
);
20146 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
20147 if (!SWIG_IsOK(ecode5
)) {
20148 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLines" "', expected argument " "5"" of type '" "int""'");
20150 arg5
= static_cast< int >(val5
);
20153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20154 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
20155 wxPyEndAllowThreads(__tstate
);
20156 if (PyErr_Occurred()) SWIG_fail
;
20158 resultobj
= SWIG_Py_Void();
20160 if (arg3
) delete [] arg3
;
20165 if (arg3
) delete [] arg3
;
20171 SWIGINTERN PyObject
*_wrap_DC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20172 PyObject
*resultobj
= 0;
20173 wxDC
*arg1
= (wxDC
*) 0 ;
20175 wxPoint
*arg3
= (wxPoint
*) 0 ;
20176 int arg4
= (int) 0 ;
20177 int arg5
= (int) 0 ;
20178 int arg6
= (int) wxODDEVEN_RULE
;
20187 PyObject
* obj0
= 0 ;
20188 PyObject
* obj1
= 0 ;
20189 PyObject
* obj2
= 0 ;
20190 PyObject
* obj3
= 0 ;
20191 PyObject
* obj4
= 0 ;
20192 char * kwnames
[] = {
20193 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
20196 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20197 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20198 if (!SWIG_IsOK(res1
)) {
20199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPolygon" "', expected argument " "1"" of type '" "wxDC *""'");
20201 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20203 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20204 if (arg3
== NULL
) SWIG_fail
;
20207 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
20208 if (!SWIG_IsOK(ecode4
)) {
20209 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
20211 arg4
= static_cast< int >(val4
);
20214 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
20215 if (!SWIG_IsOK(ecode5
)) {
20216 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
20218 arg5
= static_cast< int >(val5
);
20221 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
20222 if (!SWIG_IsOK(ecode6
)) {
20223 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
20225 arg6
= static_cast< int >(val6
);
20228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20229 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
20230 wxPyEndAllowThreads(__tstate
);
20231 if (PyErr_Occurred()) SWIG_fail
;
20233 resultobj
= SWIG_Py_Void();
20235 if (arg3
) delete [] arg3
;
20240 if (arg3
) delete [] arg3
;
20246 SWIGINTERN PyObject
*_wrap_DC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20247 PyObject
*resultobj
= 0;
20248 wxDC
*arg1
= (wxDC
*) 0 ;
20249 wxString
*arg2
= 0 ;
20251 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
20252 int arg5
= (int) -1 ;
20255 bool temp2
= false ;
20261 PyObject
* obj0
= 0 ;
20262 PyObject
* obj1
= 0 ;
20263 PyObject
* obj2
= 0 ;
20264 PyObject
* obj3
= 0 ;
20265 PyObject
* obj4
= 0 ;
20266 char * kwnames
[] = {
20267 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
20270 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20271 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20272 if (!SWIG_IsOK(res1
)) {
20273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLabel" "', expected argument " "1"" of type '" "wxDC *""'");
20275 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20277 arg2
= wxString_in_helper(obj1
);
20278 if (arg2
== NULL
) SWIG_fail
;
20283 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
20286 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20287 if (!SWIG_IsOK(ecode4
)) {
20288 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
20290 arg4
= static_cast< int >(val4
);
20293 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20294 if (!SWIG_IsOK(ecode5
)) {
20295 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
20297 arg5
= static_cast< int >(val5
);
20300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20301 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
20302 wxPyEndAllowThreads(__tstate
);
20303 if (PyErr_Occurred()) SWIG_fail
;
20305 resultobj
= SWIG_Py_Void();
20320 SWIGINTERN PyObject
*_wrap_DC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20321 PyObject
*resultobj
= 0;
20322 wxDC
*arg1
= (wxDC
*) 0 ;
20323 wxString
*arg2
= 0 ;
20324 wxBitmap
*arg3
= 0 ;
20326 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
20327 int arg6
= (int) -1 ;
20331 bool temp2
= false ;
20339 PyObject
* obj0
= 0 ;
20340 PyObject
* obj1
= 0 ;
20341 PyObject
* obj2
= 0 ;
20342 PyObject
* obj3
= 0 ;
20343 PyObject
* obj4
= 0 ;
20344 PyObject
* obj5
= 0 ;
20345 char * kwnames
[] = {
20346 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
20349 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20350 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20351 if (!SWIG_IsOK(res1
)) {
20352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawImageLabel" "', expected argument " "1"" of type '" "wxDC *""'");
20354 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20356 arg2
= wxString_in_helper(obj1
);
20357 if (arg2
== NULL
) SWIG_fail
;
20360 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
20361 if (!SWIG_IsOK(res3
)) {
20362 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
20365 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
20367 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
20370 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
20373 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20374 if (!SWIG_IsOK(ecode5
)) {
20375 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
20377 arg5
= static_cast< int >(val5
);
20380 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
20381 if (!SWIG_IsOK(ecode6
)) {
20382 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
20384 arg6
= static_cast< int >(val6
);
20387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20388 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
20389 wxPyEndAllowThreads(__tstate
);
20390 if (PyErr_Occurred()) SWIG_fail
;
20392 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
20407 SWIGINTERN PyObject
*_wrap_DC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20408 PyObject
*resultobj
= 0;
20409 wxDC
*arg1
= (wxDC
*) 0 ;
20411 wxPoint
*arg3
= (wxPoint
*) 0 ;
20414 PyObject
* obj0
= 0 ;
20415 PyObject
* obj1
= 0 ;
20416 char * kwnames
[] = {
20417 (char *) "self",(char *) "points", NULL
20420 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20421 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20422 if (!SWIG_IsOK(res1
)) {
20423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawSpline" "', expected argument " "1"" of type '" "wxDC *""'");
20425 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20427 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20428 if (arg3
== NULL
) SWIG_fail
;
20431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20432 (arg1
)->DrawSpline(arg2
,arg3
);
20433 wxPyEndAllowThreads(__tstate
);
20434 if (PyErr_Occurred()) SWIG_fail
;
20436 resultobj
= SWIG_Py_Void();
20438 if (arg3
) delete [] arg3
;
20443 if (arg3
) delete [] arg3
;
20449 SWIGINTERN PyObject
*_wrap_DC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20450 PyObject
*resultobj
= 0;
20451 wxDC
*arg1
= (wxDC
*) 0 ;
20454 PyObject
*swig_obj
[1] ;
20456 if (!args
) SWIG_fail
;
20457 swig_obj
[0] = args
;
20458 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20459 if (!SWIG_IsOK(res1
)) {
20460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Clear" "', expected argument " "1"" of type '" "wxDC *""'");
20462 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20466 wxPyEndAllowThreads(__tstate
);
20467 if (PyErr_Occurred()) SWIG_fail
;
20469 resultobj
= SWIG_Py_Void();
20476 SWIGINTERN PyObject
*_wrap_DC_StartDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20477 PyObject
*resultobj
= 0;
20478 wxDC
*arg1
= (wxDC
*) 0 ;
20479 wxString
*arg2
= 0 ;
20483 bool temp2
= false ;
20484 PyObject
* obj0
= 0 ;
20485 PyObject
* obj1
= 0 ;
20486 char * kwnames
[] = {
20487 (char *) "self",(char *) "message", NULL
20490 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20491 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20492 if (!SWIG_IsOK(res1
)) {
20493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartDoc" "', expected argument " "1"" of type '" "wxDC *""'");
20495 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20497 arg2
= wxString_in_helper(obj1
);
20498 if (arg2
== NULL
) SWIG_fail
;
20502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20503 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
20504 wxPyEndAllowThreads(__tstate
);
20505 if (PyErr_Occurred()) SWIG_fail
;
20508 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20524 SWIGINTERN PyObject
*_wrap_DC_EndDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20525 PyObject
*resultobj
= 0;
20526 wxDC
*arg1
= (wxDC
*) 0 ;
20529 PyObject
*swig_obj
[1] ;
20531 if (!args
) SWIG_fail
;
20532 swig_obj
[0] = args
;
20533 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20534 if (!SWIG_IsOK(res1
)) {
20535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndDoc" "', expected argument " "1"" of type '" "wxDC *""'");
20537 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20541 wxPyEndAllowThreads(__tstate
);
20542 if (PyErr_Occurred()) SWIG_fail
;
20544 resultobj
= SWIG_Py_Void();
20551 SWIGINTERN PyObject
*_wrap_DC_StartPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20552 PyObject
*resultobj
= 0;
20553 wxDC
*arg1
= (wxDC
*) 0 ;
20556 PyObject
*swig_obj
[1] ;
20558 if (!args
) SWIG_fail
;
20559 swig_obj
[0] = args
;
20560 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20561 if (!SWIG_IsOK(res1
)) {
20562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartPage" "', expected argument " "1"" of type '" "wxDC *""'");
20564 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20567 (arg1
)->StartPage();
20568 wxPyEndAllowThreads(__tstate
);
20569 if (PyErr_Occurred()) SWIG_fail
;
20571 resultobj
= SWIG_Py_Void();
20578 SWIGINTERN PyObject
*_wrap_DC_EndPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20579 PyObject
*resultobj
= 0;
20580 wxDC
*arg1
= (wxDC
*) 0 ;
20583 PyObject
*swig_obj
[1] ;
20585 if (!args
) SWIG_fail
;
20586 swig_obj
[0] = args
;
20587 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20588 if (!SWIG_IsOK(res1
)) {
20589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndPage" "', expected argument " "1"" of type '" "wxDC *""'");
20591 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20595 wxPyEndAllowThreads(__tstate
);
20596 if (PyErr_Occurred()) SWIG_fail
;
20598 resultobj
= SWIG_Py_Void();
20605 SWIGINTERN PyObject
*_wrap_DC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20606 PyObject
*resultobj
= 0;
20607 wxDC
*arg1
= (wxDC
*) 0 ;
20613 PyObject
* obj0
= 0 ;
20614 PyObject
* obj1
= 0 ;
20615 char * kwnames
[] = {
20616 (char *) "self",(char *) "font", NULL
20619 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20620 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20621 if (!SWIG_IsOK(res1
)) {
20622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetFont" "', expected argument " "1"" of type '" "wxDC *""'");
20624 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20625 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
20626 if (!SWIG_IsOK(res2
)) {
20627 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
20630 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
20632 arg2
= reinterpret_cast< wxFont
* >(argp2
);
20634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20635 (arg1
)->SetFont((wxFont
const &)*arg2
);
20636 wxPyEndAllowThreads(__tstate
);
20637 if (PyErr_Occurred()) SWIG_fail
;
20639 resultobj
= SWIG_Py_Void();
20646 SWIGINTERN PyObject
*_wrap_DC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20647 PyObject
*resultobj
= 0;
20648 wxDC
*arg1
= (wxDC
*) 0 ;
20654 PyObject
* obj0
= 0 ;
20655 PyObject
* obj1
= 0 ;
20656 char * kwnames
[] = {
20657 (char *) "self",(char *) "pen", NULL
20660 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20661 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20662 if (!SWIG_IsOK(res1
)) {
20663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPen" "', expected argument " "1"" of type '" "wxDC *""'");
20665 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20666 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
20667 if (!SWIG_IsOK(res2
)) {
20668 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
20671 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
20673 arg2
= reinterpret_cast< wxPen
* >(argp2
);
20675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20676 (arg1
)->SetPen((wxPen
const &)*arg2
);
20677 wxPyEndAllowThreads(__tstate
);
20678 if (PyErr_Occurred()) SWIG_fail
;
20680 resultobj
= SWIG_Py_Void();
20687 SWIGINTERN PyObject
*_wrap_DC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20688 PyObject
*resultobj
= 0;
20689 wxDC
*arg1
= (wxDC
*) 0 ;
20690 wxBrush
*arg2
= 0 ;
20695 PyObject
* obj0
= 0 ;
20696 PyObject
* obj1
= 0 ;
20697 char * kwnames
[] = {
20698 (char *) "self",(char *) "brush", NULL
20701 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20702 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20703 if (!SWIG_IsOK(res1
)) {
20704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBrush" "', expected argument " "1"" of type '" "wxDC *""'");
20706 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20707 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
20708 if (!SWIG_IsOK(res2
)) {
20709 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
20712 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
20714 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
20716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20717 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
20718 wxPyEndAllowThreads(__tstate
);
20719 if (PyErr_Occurred()) SWIG_fail
;
20721 resultobj
= SWIG_Py_Void();
20728 SWIGINTERN PyObject
*_wrap_DC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20729 PyObject
*resultobj
= 0;
20730 wxDC
*arg1
= (wxDC
*) 0 ;
20731 wxBrush
*arg2
= 0 ;
20736 PyObject
* obj0
= 0 ;
20737 PyObject
* obj1
= 0 ;
20738 char * kwnames
[] = {
20739 (char *) "self",(char *) "brush", NULL
20742 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20743 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20744 if (!SWIG_IsOK(res1
)) {
20745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackground" "', expected argument " "1"" of type '" "wxDC *""'");
20747 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20748 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
20749 if (!SWIG_IsOK(res2
)) {
20750 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
20753 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
20755 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
20757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20758 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
20759 wxPyEndAllowThreads(__tstate
);
20760 if (PyErr_Occurred()) SWIG_fail
;
20762 resultobj
= SWIG_Py_Void();
20769 SWIGINTERN PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20770 PyObject
*resultobj
= 0;
20771 wxDC
*arg1
= (wxDC
*) 0 ;
20777 PyObject
* obj0
= 0 ;
20778 PyObject
* obj1
= 0 ;
20779 char * kwnames
[] = {
20780 (char *) "self",(char *) "mode", NULL
20783 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20784 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20785 if (!SWIG_IsOK(res1
)) {
20786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxDC *""'");
20788 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20789 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20790 if (!SWIG_IsOK(ecode2
)) {
20791 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
20793 arg2
= static_cast< int >(val2
);
20795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20796 (arg1
)->SetBackgroundMode(arg2
);
20797 wxPyEndAllowThreads(__tstate
);
20798 if (PyErr_Occurred()) SWIG_fail
;
20800 resultobj
= SWIG_Py_Void();
20807 SWIGINTERN PyObject
*_wrap_DC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20808 PyObject
*resultobj
= 0;
20809 wxDC
*arg1
= (wxDC
*) 0 ;
20810 wxPalette
*arg2
= 0 ;
20815 PyObject
* obj0
= 0 ;
20816 PyObject
* obj1
= 0 ;
20817 char * kwnames
[] = {
20818 (char *) "self",(char *) "palette", NULL
20821 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20822 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20823 if (!SWIG_IsOK(res1
)) {
20824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPalette" "', expected argument " "1"" of type '" "wxDC *""'");
20826 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20827 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
20828 if (!SWIG_IsOK(res2
)) {
20829 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
20832 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
20834 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
20836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20837 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
20838 wxPyEndAllowThreads(__tstate
);
20839 if (PyErr_Occurred()) SWIG_fail
;
20841 resultobj
= SWIG_Py_Void();
20848 SWIGINTERN PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20849 PyObject
*resultobj
= 0;
20850 wxDC
*arg1
= (wxDC
*) 0 ;
20853 PyObject
*swig_obj
[1] ;
20855 if (!args
) SWIG_fail
;
20856 swig_obj
[0] = args
;
20857 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20858 if (!SWIG_IsOK(res1
)) {
20859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DestroyClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
20861 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20864 (arg1
)->DestroyClippingRegion();
20865 wxPyEndAllowThreads(__tstate
);
20866 if (PyErr_Occurred()) SWIG_fail
;
20868 resultobj
= SWIG_Py_Void();
20875 SWIGINTERN PyObject
*_wrap_DC_GetClippingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20876 PyObject
*resultobj
= 0;
20877 wxDC
*arg1
= (wxDC
*) 0 ;
20878 int *arg2
= (int *) 0 ;
20879 int *arg3
= (int *) 0 ;
20880 int *arg4
= (int *) 0 ;
20881 int *arg5
= (int *) 0 ;
20885 int res2
= SWIG_TMPOBJ
;
20887 int res3
= SWIG_TMPOBJ
;
20889 int res4
= SWIG_TMPOBJ
;
20891 int res5
= SWIG_TMPOBJ
;
20892 PyObject
*swig_obj
[1] ;
20898 if (!args
) SWIG_fail
;
20899 swig_obj
[0] = args
;
20900 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20901 if (!SWIG_IsOK(res1
)) {
20902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingBox" "', expected argument " "1"" of type '" "wxDC const *""'");
20904 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20907 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
20908 wxPyEndAllowThreads(__tstate
);
20909 if (PyErr_Occurred()) SWIG_fail
;
20911 resultobj
= SWIG_Py_Void();
20912 if (SWIG_IsTmpObj(res2
)) {
20913 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
20915 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20916 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
20918 if (SWIG_IsTmpObj(res3
)) {
20919 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20921 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20922 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20924 if (SWIG_IsTmpObj(res4
)) {
20925 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
20927 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20928 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
20930 if (SWIG_IsTmpObj(res5
)) {
20931 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
20933 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20934 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
20942 SWIGINTERN PyObject
*_wrap_DC_GetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20943 PyObject
*resultobj
= 0;
20944 wxDC
*arg1
= (wxDC
*) 0 ;
20948 PyObject
*swig_obj
[1] ;
20950 if (!args
) SWIG_fail
;
20951 swig_obj
[0] = args
;
20952 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20953 if (!SWIG_IsOK(res1
)) {
20954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
20956 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20959 result
= wxDC_GetClippingRect(arg1
);
20960 wxPyEndAllowThreads(__tstate
);
20961 if (PyErr_Occurred()) SWIG_fail
;
20963 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
20970 SWIGINTERN PyObject
*_wrap_DC_GetCharHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20971 PyObject
*resultobj
= 0;
20972 wxDC
*arg1
= (wxDC
*) 0 ;
20976 PyObject
*swig_obj
[1] ;
20978 if (!args
) SWIG_fail
;
20979 swig_obj
[0] = args
;
20980 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20981 if (!SWIG_IsOK(res1
)) {
20982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharHeight" "', expected argument " "1"" of type '" "wxDC const *""'");
20984 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20987 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
20988 wxPyEndAllowThreads(__tstate
);
20989 if (PyErr_Occurred()) SWIG_fail
;
20991 resultobj
= SWIG_From_int(static_cast< int >(result
));
20998 SWIGINTERN PyObject
*_wrap_DC_GetCharWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20999 PyObject
*resultobj
= 0;
21000 wxDC
*arg1
= (wxDC
*) 0 ;
21004 PyObject
*swig_obj
[1] ;
21006 if (!args
) SWIG_fail
;
21007 swig_obj
[0] = args
;
21008 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21009 if (!SWIG_IsOK(res1
)) {
21010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharWidth" "', expected argument " "1"" of type '" "wxDC const *""'");
21012 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21015 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
21016 wxPyEndAllowThreads(__tstate
);
21017 if (PyErr_Occurred()) SWIG_fail
;
21019 resultobj
= SWIG_From_int(static_cast< int >(result
));
21026 SWIGINTERN PyObject
*_wrap_DC_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21027 PyObject
*resultobj
= 0;
21028 wxDC
*arg1
= (wxDC
*) 0 ;
21029 wxString
*arg2
= 0 ;
21030 int *arg3
= (int *) 0 ;
21031 int *arg4
= (int *) 0 ;
21034 bool temp2
= false ;
21036 int res3
= SWIG_TMPOBJ
;
21038 int res4
= SWIG_TMPOBJ
;
21039 PyObject
* obj0
= 0 ;
21040 PyObject
* obj1
= 0 ;
21041 char * kwnames
[] = {
21042 (char *) "self",(char *) "string", NULL
21047 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21048 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21049 if (!SWIG_IsOK(res1
)) {
21050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21052 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21054 arg2
= wxString_in_helper(obj1
);
21055 if (arg2
== NULL
) SWIG_fail
;
21059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21060 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
21061 wxPyEndAllowThreads(__tstate
);
21062 if (PyErr_Occurred()) SWIG_fail
;
21064 resultobj
= SWIG_Py_Void();
21065 if (SWIG_IsTmpObj(res3
)) {
21066 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21068 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21069 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21071 if (SWIG_IsTmpObj(res4
)) {
21072 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21074 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21075 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21091 SWIGINTERN PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21092 PyObject
*resultobj
= 0;
21093 wxDC
*arg1
= (wxDC
*) 0 ;
21094 wxString
*arg2
= 0 ;
21095 int *arg3
= (int *) 0 ;
21096 int *arg4
= (int *) 0 ;
21097 int *arg5
= (int *) 0 ;
21098 int *arg6
= (int *) 0 ;
21099 wxFont
*arg7
= (wxFont
*) NULL
;
21102 bool temp2
= false ;
21104 int res3
= SWIG_TMPOBJ
;
21106 int res4
= SWIG_TMPOBJ
;
21108 int res5
= SWIG_TMPOBJ
;
21110 int res6
= SWIG_TMPOBJ
;
21113 PyObject
* obj0
= 0 ;
21114 PyObject
* obj1
= 0 ;
21115 PyObject
* obj2
= 0 ;
21116 char * kwnames
[] = {
21117 (char *) "self",(char *) "string",(char *) "font", NULL
21124 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21125 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21126 if (!SWIG_IsOK(res1
)) {
21127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFullTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21129 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21131 arg2
= wxString_in_helper(obj1
);
21132 if (arg2
== NULL
) SWIG_fail
;
21136 res7
= SWIG_ConvertPtr(obj2
, &argp7
,SWIGTYPE_p_wxFont
, 0 | 0 );
21137 if (!SWIG_IsOK(res7
)) {
21138 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "DC_GetFullTextExtent" "', expected argument " "7"" of type '" "wxFont *""'");
21140 arg7
= reinterpret_cast< wxFont
* >(argp7
);
21143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21144 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
21145 wxPyEndAllowThreads(__tstate
);
21146 if (PyErr_Occurred()) SWIG_fail
;
21148 resultobj
= SWIG_Py_Void();
21149 if (SWIG_IsTmpObj(res3
)) {
21150 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21152 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21153 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21155 if (SWIG_IsTmpObj(res4
)) {
21156 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21158 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21159 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21161 if (SWIG_IsTmpObj(res5
)) {
21162 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21164 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21165 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21167 if (SWIG_IsTmpObj(res6
)) {
21168 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg6
)));
21170 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21171 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, new_flags
));
21187 SWIGINTERN PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21188 PyObject
*resultobj
= 0;
21189 wxDC
*arg1
= (wxDC
*) 0 ;
21190 wxString
*arg2
= 0 ;
21191 int *arg3
= (int *) 0 ;
21192 int *arg4
= (int *) 0 ;
21193 int *arg5
= (int *) 0 ;
21194 wxFont
*arg6
= (wxFont
*) NULL
;
21197 bool temp2
= false ;
21199 int res3
= SWIG_TMPOBJ
;
21201 int res4
= SWIG_TMPOBJ
;
21203 int res5
= SWIG_TMPOBJ
;
21206 PyObject
* obj0
= 0 ;
21207 PyObject
* obj1
= 0 ;
21208 PyObject
* obj2
= 0 ;
21209 char * kwnames
[] = {
21210 (char *) "self",(char *) "text",(char *) "font", NULL
21216 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21217 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21218 if (!SWIG_IsOK(res1
)) {
21219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
21221 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21223 arg2
= wxString_in_helper(obj1
);
21224 if (arg2
== NULL
) SWIG_fail
;
21228 res6
= SWIG_ConvertPtr(obj2
, &argp6
,SWIGTYPE_p_wxFont
, 0 | 0 );
21229 if (!SWIG_IsOK(res6
)) {
21230 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "6"" of type '" "wxFont *""'");
21232 arg6
= reinterpret_cast< wxFont
* >(argp6
);
21235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21236 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
21237 wxPyEndAllowThreads(__tstate
);
21238 if (PyErr_Occurred()) SWIG_fail
;
21240 resultobj
= SWIG_Py_Void();
21241 if (SWIG_IsTmpObj(res3
)) {
21242 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21244 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21245 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21247 if (SWIG_IsTmpObj(res4
)) {
21248 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
21250 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21251 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
21253 if (SWIG_IsTmpObj(res5
)) {
21254 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
21256 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21257 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
21273 SWIGINTERN PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21274 PyObject
*resultobj
= 0;
21275 wxDC
*arg1
= (wxDC
*) 0 ;
21276 wxString
*arg2
= 0 ;
21280 bool temp2
= false ;
21281 PyObject
* obj0
= 0 ;
21282 PyObject
* obj1
= 0 ;
21283 char * kwnames
[] = {
21284 (char *) "self",(char *) "text", NULL
21287 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21288 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21289 if (!SWIG_IsOK(res1
)) {
21290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxDC *""'");
21292 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21294 arg2
= wxString_in_helper(obj1
);
21295 if (arg2
== NULL
) SWIG_fail
;
21299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21300 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
21301 wxPyEndAllowThreads(__tstate
);
21302 if (PyErr_Occurred()) SWIG_fail
;
21305 resultobj
= PyList_New(0);
21307 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
21308 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
21309 PyList_Append(resultobj
, val
);
21327 SWIGINTERN PyObject
*_wrap_DC_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21328 PyObject
*resultobj
= 0;
21329 wxDC
*arg1
= (wxDC
*) 0 ;
21333 PyObject
*swig_obj
[1] ;
21335 if (!args
) SWIG_fail
;
21336 swig_obj
[0] = args
;
21337 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21338 if (!SWIG_IsOK(res1
)) {
21339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSize" "', expected argument " "1"" of type '" "wxDC *""'");
21341 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21344 result
= (arg1
)->GetSize();
21345 wxPyEndAllowThreads(__tstate
);
21346 if (PyErr_Occurred()) SWIG_fail
;
21348 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21355 SWIGINTERN PyObject
*_wrap_DC_GetSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21356 PyObject
*resultobj
= 0;
21357 wxDC
*arg1
= (wxDC
*) 0 ;
21358 int *arg2
= (int *) 0 ;
21359 int *arg3
= (int *) 0 ;
21363 int res2
= SWIG_TMPOBJ
;
21365 int res3
= SWIG_TMPOBJ
;
21366 PyObject
*swig_obj
[1] ;
21370 if (!args
) SWIG_fail
;
21371 swig_obj
[0] = args
;
21372 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21373 if (!SWIG_IsOK(res1
)) {
21374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeTuple" "', expected argument " "1"" of type '" "wxDC *""'");
21376 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21379 (arg1
)->GetSize(arg2
,arg3
);
21380 wxPyEndAllowThreads(__tstate
);
21381 if (PyErr_Occurred()) SWIG_fail
;
21383 resultobj
= SWIG_Py_Void();
21384 if (SWIG_IsTmpObj(res2
)) {
21385 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21387 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21388 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21390 if (SWIG_IsTmpObj(res3
)) {
21391 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21393 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21394 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21402 SWIGINTERN PyObject
*_wrap_DC_GetSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21403 PyObject
*resultobj
= 0;
21404 wxDC
*arg1
= (wxDC
*) 0 ;
21408 PyObject
*swig_obj
[1] ;
21410 if (!args
) SWIG_fail
;
21411 swig_obj
[0] = args
;
21412 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21413 if (!SWIG_IsOK(res1
)) {
21414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMM" "', expected argument " "1"" of type '" "wxDC const *""'");
21416 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21419 result
= ((wxDC
const *)arg1
)->GetSizeMM();
21420 wxPyEndAllowThreads(__tstate
);
21421 if (PyErr_Occurred()) SWIG_fail
;
21423 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21430 SWIGINTERN PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21431 PyObject
*resultobj
= 0;
21432 wxDC
*arg1
= (wxDC
*) 0 ;
21433 int *arg2
= (int *) 0 ;
21434 int *arg3
= (int *) 0 ;
21438 int res2
= SWIG_TMPOBJ
;
21440 int res3
= SWIG_TMPOBJ
;
21441 PyObject
*swig_obj
[1] ;
21445 if (!args
) SWIG_fail
;
21446 swig_obj
[0] = args
;
21447 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21448 if (!SWIG_IsOK(res1
)) {
21449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMMTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
21451 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21454 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
21455 wxPyEndAllowThreads(__tstate
);
21456 if (PyErr_Occurred()) SWIG_fail
;
21458 resultobj
= SWIG_Py_Void();
21459 if (SWIG_IsTmpObj(res2
)) {
21460 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21462 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21463 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21465 if (SWIG_IsTmpObj(res3
)) {
21466 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21468 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21469 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21477 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21478 PyObject
*resultobj
= 0;
21479 wxDC
*arg1
= (wxDC
*) 0 ;
21486 PyObject
* obj0
= 0 ;
21487 PyObject
* obj1
= 0 ;
21488 char * kwnames
[] = {
21489 (char *) "self",(char *) "x", NULL
21492 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21493 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21494 if (!SWIG_IsOK(res1
)) {
21495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "1"" of type '" "wxDC const *""'");
21497 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21498 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21499 if (!SWIG_IsOK(ecode2
)) {
21500 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "2"" of type '" "int""'");
21502 arg2
= static_cast< int >(val2
);
21504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21505 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
21506 wxPyEndAllowThreads(__tstate
);
21507 if (PyErr_Occurred()) SWIG_fail
;
21509 resultobj
= SWIG_From_int(static_cast< int >(result
));
21516 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21517 PyObject
*resultobj
= 0;
21518 wxDC
*arg1
= (wxDC
*) 0 ;
21525 PyObject
* obj0
= 0 ;
21526 PyObject
* obj1
= 0 ;
21527 char * kwnames
[] = {
21528 (char *) "self",(char *) "y", NULL
21531 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21532 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21533 if (!SWIG_IsOK(res1
)) {
21534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "1"" of type '" "wxDC const *""'");
21536 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21537 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21538 if (!SWIG_IsOK(ecode2
)) {
21539 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "2"" of type '" "int""'");
21541 arg2
= static_cast< int >(val2
);
21543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21544 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
21545 wxPyEndAllowThreads(__tstate
);
21546 if (PyErr_Occurred()) SWIG_fail
;
21548 resultobj
= SWIG_From_int(static_cast< int >(result
));
21555 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21556 PyObject
*resultobj
= 0;
21557 wxDC
*arg1
= (wxDC
*) 0 ;
21564 PyObject
* obj0
= 0 ;
21565 PyObject
* obj1
= 0 ;
21566 char * kwnames
[] = {
21567 (char *) "self",(char *) "x", NULL
21570 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21571 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21572 if (!SWIG_IsOK(res1
)) {
21573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21575 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21576 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21577 if (!SWIG_IsOK(ecode2
)) {
21578 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "2"" of type '" "int""'");
21580 arg2
= static_cast< int >(val2
);
21582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21583 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
21584 wxPyEndAllowThreads(__tstate
);
21585 if (PyErr_Occurred()) SWIG_fail
;
21587 resultobj
= SWIG_From_int(static_cast< int >(result
));
21594 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21595 PyObject
*resultobj
= 0;
21596 wxDC
*arg1
= (wxDC
*) 0 ;
21603 PyObject
* obj0
= 0 ;
21604 PyObject
* obj1
= 0 ;
21605 char * kwnames
[] = {
21606 (char *) "self",(char *) "y", NULL
21609 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21610 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21611 if (!SWIG_IsOK(res1
)) {
21612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21614 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21615 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21616 if (!SWIG_IsOK(ecode2
)) {
21617 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "2"" of type '" "int""'");
21619 arg2
= static_cast< int >(val2
);
21621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21622 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
21623 wxPyEndAllowThreads(__tstate
);
21624 if (PyErr_Occurred()) SWIG_fail
;
21626 resultobj
= SWIG_From_int(static_cast< int >(result
));
21633 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21634 PyObject
*resultobj
= 0;
21635 wxDC
*arg1
= (wxDC
*) 0 ;
21642 PyObject
* obj0
= 0 ;
21643 PyObject
* obj1
= 0 ;
21644 char * kwnames
[] = {
21645 (char *) "self",(char *) "x", NULL
21648 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21649 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21650 if (!SWIG_IsOK(res1
)) {
21651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "1"" of type '" "wxDC const *""'");
21653 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21654 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21655 if (!SWIG_IsOK(ecode2
)) {
21656 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "2"" of type '" "int""'");
21658 arg2
= static_cast< int >(val2
);
21660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21661 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
21662 wxPyEndAllowThreads(__tstate
);
21663 if (PyErr_Occurred()) SWIG_fail
;
21665 resultobj
= SWIG_From_int(static_cast< int >(result
));
21672 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21673 PyObject
*resultobj
= 0;
21674 wxDC
*arg1
= (wxDC
*) 0 ;
21681 PyObject
* obj0
= 0 ;
21682 PyObject
* obj1
= 0 ;
21683 char * kwnames
[] = {
21684 (char *) "self",(char *) "y", NULL
21687 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21688 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21689 if (!SWIG_IsOK(res1
)) {
21690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "1"" of type '" "wxDC const *""'");
21692 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21693 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21694 if (!SWIG_IsOK(ecode2
)) {
21695 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "2"" of type '" "int""'");
21697 arg2
= static_cast< int >(val2
);
21699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21700 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
21701 wxPyEndAllowThreads(__tstate
);
21702 if (PyErr_Occurred()) SWIG_fail
;
21704 resultobj
= SWIG_From_int(static_cast< int >(result
));
21711 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21712 PyObject
*resultobj
= 0;
21713 wxDC
*arg1
= (wxDC
*) 0 ;
21720 PyObject
* obj0
= 0 ;
21721 PyObject
* obj1
= 0 ;
21722 char * kwnames
[] = {
21723 (char *) "self",(char *) "x", NULL
21726 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21727 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21728 if (!SWIG_IsOK(res1
)) {
21729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21731 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21732 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21733 if (!SWIG_IsOK(ecode2
)) {
21734 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "2"" of type '" "int""'");
21736 arg2
= static_cast< int >(val2
);
21738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21739 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
21740 wxPyEndAllowThreads(__tstate
);
21741 if (PyErr_Occurred()) SWIG_fail
;
21743 resultobj
= SWIG_From_int(static_cast< int >(result
));
21750 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21751 PyObject
*resultobj
= 0;
21752 wxDC
*arg1
= (wxDC
*) 0 ;
21759 PyObject
* obj0
= 0 ;
21760 PyObject
* obj1
= 0 ;
21761 char * kwnames
[] = {
21762 (char *) "self",(char *) "y", NULL
21765 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21766 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21767 if (!SWIG_IsOK(res1
)) {
21768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21770 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21771 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21772 if (!SWIG_IsOK(ecode2
)) {
21773 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "2"" of type '" "int""'");
21775 arg2
= static_cast< int >(val2
);
21777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21778 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
21779 wxPyEndAllowThreads(__tstate
);
21780 if (PyErr_Occurred()) SWIG_fail
;
21782 resultobj
= SWIG_From_int(static_cast< int >(result
));
21789 SWIGINTERN PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21790 PyObject
*resultobj
= 0;
21791 wxDC
*arg1
= (wxDC
*) 0 ;
21795 PyObject
*swig_obj
[1] ;
21797 if (!args
) SWIG_fail
;
21798 swig_obj
[0] = args
;
21799 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21800 if (!SWIG_IsOK(res1
)) {
21801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanDrawBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
21803 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21806 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
21807 wxPyEndAllowThreads(__tstate
);
21808 if (PyErr_Occurred()) SWIG_fail
;
21811 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21819 SWIGINTERN PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21820 PyObject
*resultobj
= 0;
21821 wxDC
*arg1
= (wxDC
*) 0 ;
21825 PyObject
*swig_obj
[1] ;
21827 if (!args
) SWIG_fail
;
21828 swig_obj
[0] = args
;
21829 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21830 if (!SWIG_IsOK(res1
)) {
21831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanGetTextExtent" "', expected argument " "1"" of type '" "wxDC const *""'");
21833 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21836 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
21837 wxPyEndAllowThreads(__tstate
);
21838 if (PyErr_Occurred()) SWIG_fail
;
21841 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21849 SWIGINTERN PyObject
*_wrap_DC_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21850 PyObject
*resultobj
= 0;
21851 wxDC
*arg1
= (wxDC
*) 0 ;
21855 PyObject
*swig_obj
[1] ;
21857 if (!args
) SWIG_fail
;
21858 swig_obj
[0] = args
;
21859 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21860 if (!SWIG_IsOK(res1
)) {
21861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDepth" "', expected argument " "1"" of type '" "wxDC const *""'");
21863 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21866 result
= (int)((wxDC
const *)arg1
)->GetDepth();
21867 wxPyEndAllowThreads(__tstate
);
21868 if (PyErr_Occurred()) SWIG_fail
;
21870 resultobj
= SWIG_From_int(static_cast< int >(result
));
21877 SWIGINTERN PyObject
*_wrap_DC_GetPPI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21878 PyObject
*resultobj
= 0;
21879 wxDC
*arg1
= (wxDC
*) 0 ;
21883 PyObject
*swig_obj
[1] ;
21885 if (!args
) SWIG_fail
;
21886 swig_obj
[0] = args
;
21887 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21888 if (!SWIG_IsOK(res1
)) {
21889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPPI" "', expected argument " "1"" of type '" "wxDC const *""'");
21891 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21894 result
= ((wxDC
const *)arg1
)->GetPPI();
21895 wxPyEndAllowThreads(__tstate
);
21896 if (PyErr_Occurred()) SWIG_fail
;
21898 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21905 SWIGINTERN PyObject
*_wrap_DC_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21906 PyObject
*resultobj
= 0;
21907 wxDC
*arg1
= (wxDC
*) 0 ;
21911 PyObject
*swig_obj
[1] ;
21913 if (!args
) SWIG_fail
;
21914 swig_obj
[0] = args
;
21915 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21916 if (!SWIG_IsOK(res1
)) {
21917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Ok" "', expected argument " "1"" of type '" "wxDC const *""'");
21919 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21922 result
= (bool)((wxDC
const *)arg1
)->Ok();
21923 wxPyEndAllowThreads(__tstate
);
21924 if (PyErr_Occurred()) SWIG_fail
;
21927 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21935 SWIGINTERN PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21936 PyObject
*resultobj
= 0;
21937 wxDC
*arg1
= (wxDC
*) 0 ;
21941 PyObject
*swig_obj
[1] ;
21943 if (!args
) SWIG_fail
;
21944 swig_obj
[0] = args
;
21945 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21946 if (!SWIG_IsOK(res1
)) {
21947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackgroundMode" "', expected argument " "1"" of type '" "wxDC const *""'");
21949 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21952 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
21953 wxPyEndAllowThreads(__tstate
);
21954 if (PyErr_Occurred()) SWIG_fail
;
21956 resultobj
= SWIG_From_int(static_cast< int >(result
));
21963 SWIGINTERN PyObject
*_wrap_DC_GetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21964 PyObject
*resultobj
= 0;
21965 wxDC
*arg1
= (wxDC
*) 0 ;
21966 wxBrush
*result
= 0 ;
21969 PyObject
*swig_obj
[1] ;
21971 if (!args
) SWIG_fail
;
21972 swig_obj
[0] = args
;
21973 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21974 if (!SWIG_IsOK(res1
)) {
21975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
21977 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21981 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
21982 result
= (wxBrush
*) &_result_ref
;
21984 wxPyEndAllowThreads(__tstate
);
21985 if (PyErr_Occurred()) SWIG_fail
;
21988 wxBrush
* resultptr
= new wxBrush(*result
);
21989 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
21997 SWIGINTERN PyObject
*_wrap_DC_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21998 PyObject
*resultobj
= 0;
21999 wxDC
*arg1
= (wxDC
*) 0 ;
22000 wxBrush
*result
= 0 ;
22003 PyObject
*swig_obj
[1] ;
22005 if (!args
) SWIG_fail
;
22006 swig_obj
[0] = args
;
22007 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22008 if (!SWIG_IsOK(res1
)) {
22009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBrush" "', expected argument " "1"" of type '" "wxDC const *""'");
22011 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22015 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
22016 result
= (wxBrush
*) &_result_ref
;
22018 wxPyEndAllowThreads(__tstate
);
22019 if (PyErr_Occurred()) SWIG_fail
;
22022 wxBrush
* resultptr
= new wxBrush(*result
);
22023 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
22031 SWIGINTERN PyObject
*_wrap_DC_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22032 PyObject
*resultobj
= 0;
22033 wxDC
*arg1
= (wxDC
*) 0 ;
22034 wxFont
*result
= 0 ;
22037 PyObject
*swig_obj
[1] ;
22039 if (!args
) SWIG_fail
;
22040 swig_obj
[0] = args
;
22041 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22042 if (!SWIG_IsOK(res1
)) {
22043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFont" "', expected argument " "1"" of type '" "wxDC const *""'");
22045 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22049 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
22050 result
= (wxFont
*) &_result_ref
;
22052 wxPyEndAllowThreads(__tstate
);
22053 if (PyErr_Occurred()) SWIG_fail
;
22056 wxFont
* resultptr
= new wxFont(*result
);
22057 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
22065 SWIGINTERN PyObject
*_wrap_DC_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22066 PyObject
*resultobj
= 0;
22067 wxDC
*arg1
= (wxDC
*) 0 ;
22068 wxPen
*result
= 0 ;
22071 PyObject
*swig_obj
[1] ;
22073 if (!args
) SWIG_fail
;
22074 swig_obj
[0] = args
;
22075 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22076 if (!SWIG_IsOK(res1
)) {
22077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPen" "', expected argument " "1"" of type '" "wxDC const *""'");
22079 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22083 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
22084 result
= (wxPen
*) &_result_ref
;
22086 wxPyEndAllowThreads(__tstate
);
22087 if (PyErr_Occurred()) SWIG_fail
;
22090 wxPen
* resultptr
= new wxPen(*result
);
22091 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
22099 SWIGINTERN PyObject
*_wrap_DC_GetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22100 PyObject
*resultobj
= 0;
22101 wxDC
*arg1
= (wxDC
*) 0 ;
22102 wxColour
*result
= 0 ;
22105 PyObject
*swig_obj
[1] ;
22107 if (!args
) SWIG_fail
;
22108 swig_obj
[0] = args
;
22109 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22110 if (!SWIG_IsOK(res1
)) {
22111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
22113 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22117 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
22118 result
= (wxColour
*) &_result_ref
;
22120 wxPyEndAllowThreads(__tstate
);
22121 if (PyErr_Occurred()) SWIG_fail
;
22123 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
22130 SWIGINTERN PyObject
*_wrap_DC_GetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22131 PyObject
*resultobj
= 0;
22132 wxDC
*arg1
= (wxDC
*) 0 ;
22133 wxColour
*result
= 0 ;
22136 PyObject
*swig_obj
[1] ;
22138 if (!args
) SWIG_fail
;
22139 swig_obj
[0] = args
;
22140 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22141 if (!SWIG_IsOK(res1
)) {
22142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextForeground" "', expected argument " "1"" of type '" "wxDC const *""'");
22144 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22148 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
22149 result
= (wxColour
*) &_result_ref
;
22151 wxPyEndAllowThreads(__tstate
);
22152 if (PyErr_Occurred()) SWIG_fail
;
22154 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
22161 SWIGINTERN PyObject
*_wrap_DC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22162 PyObject
*resultobj
= 0;
22163 wxDC
*arg1
= (wxDC
*) 0 ;
22164 wxColour
*arg2
= 0 ;
22168 PyObject
* obj0
= 0 ;
22169 PyObject
* obj1
= 0 ;
22170 char * kwnames
[] = {
22171 (char *) "self",(char *) "colour", NULL
22174 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22175 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22176 if (!SWIG_IsOK(res1
)) {
22177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextForeground" "', expected argument " "1"" of type '" "wxDC *""'");
22179 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22182 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22186 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
22187 wxPyEndAllowThreads(__tstate
);
22188 if (PyErr_Occurred()) SWIG_fail
;
22190 resultobj
= SWIG_Py_Void();
22197 SWIGINTERN PyObject
*_wrap_DC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22198 PyObject
*resultobj
= 0;
22199 wxDC
*arg1
= (wxDC
*) 0 ;
22200 wxColour
*arg2
= 0 ;
22204 PyObject
* obj0
= 0 ;
22205 PyObject
* obj1
= 0 ;
22206 char * kwnames
[] = {
22207 (char *) "self",(char *) "colour", NULL
22210 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22211 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22212 if (!SWIG_IsOK(res1
)) {
22213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextBackground" "', expected argument " "1"" of type '" "wxDC *""'");
22215 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22218 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22222 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
22223 wxPyEndAllowThreads(__tstate
);
22224 if (PyErr_Occurred()) SWIG_fail
;
22226 resultobj
= SWIG_Py_Void();
22233 SWIGINTERN PyObject
*_wrap_DC_GetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22234 PyObject
*resultobj
= 0;
22235 wxDC
*arg1
= (wxDC
*) 0 ;
22239 PyObject
*swig_obj
[1] ;
22241 if (!args
) SWIG_fail
;
22242 swig_obj
[0] = args
;
22243 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22244 if (!SWIG_IsOK(res1
)) {
22245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMapMode" "', expected argument " "1"" of type '" "wxDC const *""'");
22247 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22250 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
22251 wxPyEndAllowThreads(__tstate
);
22252 if (PyErr_Occurred()) SWIG_fail
;
22254 resultobj
= SWIG_From_int(static_cast< int >(result
));
22261 SWIGINTERN PyObject
*_wrap_DC_SetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22262 PyObject
*resultobj
= 0;
22263 wxDC
*arg1
= (wxDC
*) 0 ;
22269 PyObject
* obj0
= 0 ;
22270 PyObject
* obj1
= 0 ;
22271 char * kwnames
[] = {
22272 (char *) "self",(char *) "mode", NULL
22275 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22276 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22277 if (!SWIG_IsOK(res1
)) {
22278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetMapMode" "', expected argument " "1"" of type '" "wxDC *""'");
22280 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22281 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22282 if (!SWIG_IsOK(ecode2
)) {
22283 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetMapMode" "', expected argument " "2"" of type '" "int""'");
22285 arg2
= static_cast< int >(val2
);
22287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22288 (arg1
)->SetMapMode(arg2
);
22289 wxPyEndAllowThreads(__tstate
);
22290 if (PyErr_Occurred()) SWIG_fail
;
22292 resultobj
= SWIG_Py_Void();
22299 SWIGINTERN PyObject
*_wrap_DC_GetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22300 PyObject
*resultobj
= 0;
22301 wxDC
*arg1
= (wxDC
*) 0 ;
22302 double *arg2
= (double *) 0 ;
22303 double *arg3
= (double *) 0 ;
22307 int res2
= SWIG_TMPOBJ
;
22309 int res3
= SWIG_TMPOBJ
;
22310 PyObject
*swig_obj
[1] ;
22314 if (!args
) SWIG_fail
;
22315 swig_obj
[0] = args
;
22316 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22317 if (!SWIG_IsOK(res1
)) {
22318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetUserScale" "', expected argument " "1"" of type '" "wxDC const *""'");
22320 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22323 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
22324 wxPyEndAllowThreads(__tstate
);
22325 if (PyErr_Occurred()) SWIG_fail
;
22327 resultobj
= SWIG_Py_Void();
22328 if (SWIG_IsTmpObj(res2
)) {
22329 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
22331 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22332 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
22334 if (SWIG_IsTmpObj(res3
)) {
22335 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
22337 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22338 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
22346 SWIGINTERN PyObject
*_wrap_DC_SetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22347 PyObject
*resultobj
= 0;
22348 wxDC
*arg1
= (wxDC
*) 0 ;
22357 PyObject
* obj0
= 0 ;
22358 PyObject
* obj1
= 0 ;
22359 PyObject
* obj2
= 0 ;
22360 char * kwnames
[] = {
22361 (char *) "self",(char *) "x",(char *) "y", NULL
22364 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22365 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22366 if (!SWIG_IsOK(res1
)) {
22367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetUserScale" "', expected argument " "1"" of type '" "wxDC *""'");
22369 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22370 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
22371 if (!SWIG_IsOK(ecode2
)) {
22372 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetUserScale" "', expected argument " "2"" of type '" "double""'");
22374 arg2
= static_cast< double >(val2
);
22375 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
22376 if (!SWIG_IsOK(ecode3
)) {
22377 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetUserScale" "', expected argument " "3"" of type '" "double""'");
22379 arg3
= static_cast< double >(val3
);
22381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22382 (arg1
)->SetUserScale(arg2
,arg3
);
22383 wxPyEndAllowThreads(__tstate
);
22384 if (PyErr_Occurred()) SWIG_fail
;
22386 resultobj
= SWIG_Py_Void();
22393 SWIGINTERN PyObject
*_wrap_DC_GetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22394 PyObject
*resultobj
= 0;
22395 wxDC
*arg1
= (wxDC
*) 0 ;
22396 double *arg2
= (double *) 0 ;
22397 double *arg3
= (double *) 0 ;
22401 int res2
= SWIG_TMPOBJ
;
22403 int res3
= SWIG_TMPOBJ
;
22404 PyObject
*swig_obj
[1] ;
22408 if (!args
) SWIG_fail
;
22409 swig_obj
[0] = args
;
22410 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22411 if (!SWIG_IsOK(res1
)) {
22412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
22414 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22417 (arg1
)->GetLogicalScale(arg2
,arg3
);
22418 wxPyEndAllowThreads(__tstate
);
22419 if (PyErr_Occurred()) SWIG_fail
;
22421 resultobj
= SWIG_Py_Void();
22422 if (SWIG_IsTmpObj(res2
)) {
22423 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
22425 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22426 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
22428 if (SWIG_IsTmpObj(res3
)) {
22429 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
22431 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22432 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
22440 SWIGINTERN PyObject
*_wrap_DC_SetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22441 PyObject
*resultobj
= 0;
22442 wxDC
*arg1
= (wxDC
*) 0 ;
22451 PyObject
* obj0
= 0 ;
22452 PyObject
* obj1
= 0 ;
22453 PyObject
* obj2
= 0 ;
22454 char * kwnames
[] = {
22455 (char *) "self",(char *) "x",(char *) "y", NULL
22458 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22459 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22460 if (!SWIG_IsOK(res1
)) {
22461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
22463 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22464 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
22465 if (!SWIG_IsOK(ecode2
)) {
22466 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalScale" "', expected argument " "2"" of type '" "double""'");
22468 arg2
= static_cast< double >(val2
);
22469 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
22470 if (!SWIG_IsOK(ecode3
)) {
22471 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalScale" "', expected argument " "3"" of type '" "double""'");
22473 arg3
= static_cast< double >(val3
);
22475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22476 (arg1
)->SetLogicalScale(arg2
,arg3
);
22477 wxPyEndAllowThreads(__tstate
);
22478 if (PyErr_Occurred()) SWIG_fail
;
22480 resultobj
= SWIG_Py_Void();
22487 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22488 PyObject
*resultobj
= 0;
22489 wxDC
*arg1
= (wxDC
*) 0 ;
22493 PyObject
*swig_obj
[1] ;
22495 if (!args
) SWIG_fail
;
22496 swig_obj
[0] = args
;
22497 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22498 if (!SWIG_IsOK(res1
)) {
22499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
22501 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22504 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
22505 wxPyEndAllowThreads(__tstate
);
22506 if (PyErr_Occurred()) SWIG_fail
;
22508 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
22515 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22516 PyObject
*resultobj
= 0;
22517 wxDC
*arg1
= (wxDC
*) 0 ;
22518 int *arg2
= (int *) 0 ;
22519 int *arg3
= (int *) 0 ;
22523 int res2
= SWIG_TMPOBJ
;
22525 int res3
= SWIG_TMPOBJ
;
22526 PyObject
*swig_obj
[1] ;
22530 if (!args
) SWIG_fail
;
22531 swig_obj
[0] = args
;
22532 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22533 if (!SWIG_IsOK(res1
)) {
22534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
22536 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22539 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
22540 wxPyEndAllowThreads(__tstate
);
22541 if (PyErr_Occurred()) SWIG_fail
;
22543 resultobj
= SWIG_Py_Void();
22544 if (SWIG_IsTmpObj(res2
)) {
22545 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22547 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22548 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22550 if (SWIG_IsTmpObj(res3
)) {
22551 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22553 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22554 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22562 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22563 PyObject
*resultobj
= 0;
22564 wxDC
*arg1
= (wxDC
*) 0 ;
22573 PyObject
* obj0
= 0 ;
22574 PyObject
* obj1
= 0 ;
22575 PyObject
* obj2
= 0 ;
22576 char * kwnames
[] = {
22577 (char *) "self",(char *) "x",(char *) "y", NULL
22580 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22581 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22582 if (!SWIG_IsOK(res1
)) {
22583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22585 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22586 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22587 if (!SWIG_IsOK(ecode2
)) {
22588 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
22590 arg2
= static_cast< int >(val2
);
22591 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22592 if (!SWIG_IsOK(ecode3
)) {
22593 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
22595 arg3
= static_cast< int >(val3
);
22597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22598 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
22599 wxPyEndAllowThreads(__tstate
);
22600 if (PyErr_Occurred()) SWIG_fail
;
22602 resultobj
= SWIG_Py_Void();
22609 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22610 PyObject
*resultobj
= 0;
22611 wxDC
*arg1
= (wxDC
*) 0 ;
22612 wxPoint
*arg2
= 0 ;
22616 PyObject
* obj0
= 0 ;
22617 PyObject
* obj1
= 0 ;
22618 char * kwnames
[] = {
22619 (char *) "self",(char *) "point", NULL
22622 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22623 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22624 if (!SWIG_IsOK(res1
)) {
22625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22627 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22630 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22634 wxDC_SetLogicalOriginPoint(arg1
,(wxPoint
const &)*arg2
);
22635 wxPyEndAllowThreads(__tstate
);
22636 if (PyErr_Occurred()) SWIG_fail
;
22638 resultobj
= SWIG_Py_Void();
22645 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22646 PyObject
*resultobj
= 0;
22647 wxDC
*arg1
= (wxDC
*) 0 ;
22651 PyObject
*swig_obj
[1] ;
22653 if (!args
) SWIG_fail
;
22654 swig_obj
[0] = args
;
22655 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22656 if (!SWIG_IsOK(res1
)) {
22657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
22659 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22662 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
22663 wxPyEndAllowThreads(__tstate
);
22664 if (PyErr_Occurred()) SWIG_fail
;
22666 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
22673 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22674 PyObject
*resultobj
= 0;
22675 wxDC
*arg1
= (wxDC
*) 0 ;
22676 int *arg2
= (int *) 0 ;
22677 int *arg3
= (int *) 0 ;
22681 int res2
= SWIG_TMPOBJ
;
22683 int res3
= SWIG_TMPOBJ
;
22684 PyObject
*swig_obj
[1] ;
22688 if (!args
) SWIG_fail
;
22689 swig_obj
[0] = args
;
22690 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22691 if (!SWIG_IsOK(res1
)) {
22692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
22694 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22697 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
22698 wxPyEndAllowThreads(__tstate
);
22699 if (PyErr_Occurred()) SWIG_fail
;
22701 resultobj
= SWIG_Py_Void();
22702 if (SWIG_IsTmpObj(res2
)) {
22703 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22705 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22706 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22708 if (SWIG_IsTmpObj(res3
)) {
22709 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22711 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22712 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22720 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22721 PyObject
*resultobj
= 0;
22722 wxDC
*arg1
= (wxDC
*) 0 ;
22731 PyObject
* obj0
= 0 ;
22732 PyObject
* obj1
= 0 ;
22733 PyObject
* obj2
= 0 ;
22734 char * kwnames
[] = {
22735 (char *) "self",(char *) "x",(char *) "y", NULL
22738 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22739 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22740 if (!SWIG_IsOK(res1
)) {
22741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22743 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22744 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22745 if (!SWIG_IsOK(ecode2
)) {
22746 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "2"" of type '" "int""'");
22748 arg2
= static_cast< int >(val2
);
22749 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22750 if (!SWIG_IsOK(ecode3
)) {
22751 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "3"" of type '" "int""'");
22753 arg3
= static_cast< int >(val3
);
22755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22756 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
22757 wxPyEndAllowThreads(__tstate
);
22758 if (PyErr_Occurred()) SWIG_fail
;
22760 resultobj
= SWIG_Py_Void();
22767 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22768 PyObject
*resultobj
= 0;
22769 wxDC
*arg1
= (wxDC
*) 0 ;
22770 wxPoint
*arg2
= 0 ;
22774 PyObject
* obj0
= 0 ;
22775 PyObject
* obj1
= 0 ;
22776 char * kwnames
[] = {
22777 (char *) "self",(char *) "point", NULL
22780 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22781 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22782 if (!SWIG_IsOK(res1
)) {
22783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22785 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22788 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22792 wxDC_SetDeviceOriginPoint(arg1
,(wxPoint
const &)*arg2
);
22793 wxPyEndAllowThreads(__tstate
);
22794 if (PyErr_Occurred()) SWIG_fail
;
22796 resultobj
= SWIG_Py_Void();
22803 SWIGINTERN PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22804 PyObject
*resultobj
= 0;
22805 wxDC
*arg1
= (wxDC
*) 0 ;
22814 PyObject
* obj0
= 0 ;
22815 PyObject
* obj1
= 0 ;
22816 PyObject
* obj2
= 0 ;
22817 char * kwnames
[] = {
22818 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
22821 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22822 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22823 if (!SWIG_IsOK(res1
)) {
22824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetAxisOrientation" "', expected argument " "1"" of type '" "wxDC *""'");
22826 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22827 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
22828 if (!SWIG_IsOK(ecode2
)) {
22829 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetAxisOrientation" "', expected argument " "2"" of type '" "bool""'");
22831 arg2
= static_cast< bool >(val2
);
22832 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
22833 if (!SWIG_IsOK(ecode3
)) {
22834 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetAxisOrientation" "', expected argument " "3"" of type '" "bool""'");
22836 arg3
= static_cast< bool >(val3
);
22838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22839 (arg1
)->SetAxisOrientation(arg2
,arg3
);
22840 wxPyEndAllowThreads(__tstate
);
22841 if (PyErr_Occurred()) SWIG_fail
;
22843 resultobj
= SWIG_Py_Void();
22850 SWIGINTERN PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22851 PyObject
*resultobj
= 0;
22852 wxDC
*arg1
= (wxDC
*) 0 ;
22856 PyObject
*swig_obj
[1] ;
22858 if (!args
) SWIG_fail
;
22859 swig_obj
[0] = args
;
22860 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22861 if (!SWIG_IsOK(res1
)) {
22862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalFunction" "', expected argument " "1"" of type '" "wxDC const *""'");
22864 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22867 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
22868 wxPyEndAllowThreads(__tstate
);
22869 if (PyErr_Occurred()) SWIG_fail
;
22871 resultobj
= SWIG_From_int(static_cast< int >(result
));
22878 SWIGINTERN PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22879 PyObject
*resultobj
= 0;
22880 wxDC
*arg1
= (wxDC
*) 0 ;
22886 PyObject
* obj0
= 0 ;
22887 PyObject
* obj1
= 0 ;
22888 char * kwnames
[] = {
22889 (char *) "self",(char *) "function", NULL
22892 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22893 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22894 if (!SWIG_IsOK(res1
)) {
22895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxDC *""'");
22897 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22898 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22899 if (!SWIG_IsOK(ecode2
)) {
22900 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
22902 arg2
= static_cast< int >(val2
);
22904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22905 (arg1
)->SetLogicalFunction(arg2
);
22906 wxPyEndAllowThreads(__tstate
);
22907 if (PyErr_Occurred()) SWIG_fail
;
22909 resultobj
= SWIG_Py_Void();
22916 SWIGINTERN PyObject
*_wrap_DC_ComputeScaleAndOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22917 PyObject
*resultobj
= 0;
22918 wxDC
*arg1
= (wxDC
*) 0 ;
22921 PyObject
*swig_obj
[1] ;
22923 if (!args
) SWIG_fail
;
22924 swig_obj
[0] = args
;
22925 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22926 if (!SWIG_IsOK(res1
)) {
22927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ComputeScaleAndOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22929 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22932 (arg1
)->ComputeScaleAndOrigin();
22933 wxPyEndAllowThreads(__tstate
);
22934 if (PyErr_Occurred()) SWIG_fail
;
22936 resultobj
= SWIG_Py_Void();
22943 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22944 PyObject
*resultobj
= 0;
22945 wxDC
*arg1
= (wxDC
*) 0 ;
22954 PyObject
* obj0
= 0 ;
22955 PyObject
* obj1
= 0 ;
22956 PyObject
* obj2
= 0 ;
22957 char * kwnames
[] = {
22958 (char *) "self",(char *) "x",(char *) "y", NULL
22961 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22962 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22963 if (!SWIG_IsOK(res1
)) {
22964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
22966 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22967 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22968 if (!SWIG_IsOK(ecode2
)) {
22969 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CalcBoundingBox" "', expected argument " "2"" of type '" "int""'");
22971 arg2
= static_cast< int >(val2
);
22972 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22973 if (!SWIG_IsOK(ecode3
)) {
22974 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CalcBoundingBox" "', expected argument " "3"" of type '" "int""'");
22976 arg3
= static_cast< int >(val3
);
22978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22979 (arg1
)->CalcBoundingBox(arg2
,arg3
);
22980 wxPyEndAllowThreads(__tstate
);
22981 if (PyErr_Occurred()) SWIG_fail
;
22983 resultobj
= SWIG_Py_Void();
22990 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBoxPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22991 PyObject
*resultobj
= 0;
22992 wxDC
*arg1
= (wxDC
*) 0 ;
22993 wxPoint
*arg2
= 0 ;
22997 PyObject
* obj0
= 0 ;
22998 PyObject
* obj1
= 0 ;
22999 char * kwnames
[] = {
23000 (char *) "self",(char *) "point", NULL
23003 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23004 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23005 if (!SWIG_IsOK(res1
)) {
23006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBoxPoint" "', expected argument " "1"" of type '" "wxDC *""'");
23008 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23011 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23015 wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint
const &)*arg2
);
23016 wxPyEndAllowThreads(__tstate
);
23017 if (PyErr_Occurred()) SWIG_fail
;
23019 resultobj
= SWIG_Py_Void();
23026 SWIGINTERN PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23027 PyObject
*resultobj
= 0;
23028 wxDC
*arg1
= (wxDC
*) 0 ;
23031 PyObject
*swig_obj
[1] ;
23033 if (!args
) SWIG_fail
;
23034 swig_obj
[0] = args
;
23035 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23036 if (!SWIG_IsOK(res1
)) {
23037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ResetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
23039 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23042 (arg1
)->ResetBoundingBox();
23043 wxPyEndAllowThreads(__tstate
);
23044 if (PyErr_Occurred()) SWIG_fail
;
23046 resultobj
= SWIG_Py_Void();
23053 SWIGINTERN PyObject
*_wrap_DC_MinX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23054 PyObject
*resultobj
= 0;
23055 wxDC
*arg1
= (wxDC
*) 0 ;
23059 PyObject
*swig_obj
[1] ;
23061 if (!args
) SWIG_fail
;
23062 swig_obj
[0] = args
;
23063 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23064 if (!SWIG_IsOK(res1
)) {
23065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinX" "', expected argument " "1"" of type '" "wxDC const *""'");
23067 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23070 result
= (int)((wxDC
const *)arg1
)->MinX();
23071 wxPyEndAllowThreads(__tstate
);
23072 if (PyErr_Occurred()) SWIG_fail
;
23074 resultobj
= SWIG_From_int(static_cast< int >(result
));
23081 SWIGINTERN PyObject
*_wrap_DC_MaxX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23082 PyObject
*resultobj
= 0;
23083 wxDC
*arg1
= (wxDC
*) 0 ;
23087 PyObject
*swig_obj
[1] ;
23089 if (!args
) SWIG_fail
;
23090 swig_obj
[0] = args
;
23091 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23092 if (!SWIG_IsOK(res1
)) {
23093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxX" "', expected argument " "1"" of type '" "wxDC const *""'");
23095 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23098 result
= (int)((wxDC
const *)arg1
)->MaxX();
23099 wxPyEndAllowThreads(__tstate
);
23100 if (PyErr_Occurred()) SWIG_fail
;
23102 resultobj
= SWIG_From_int(static_cast< int >(result
));
23109 SWIGINTERN PyObject
*_wrap_DC_MinY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23110 PyObject
*resultobj
= 0;
23111 wxDC
*arg1
= (wxDC
*) 0 ;
23115 PyObject
*swig_obj
[1] ;
23117 if (!args
) SWIG_fail
;
23118 swig_obj
[0] = args
;
23119 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23120 if (!SWIG_IsOK(res1
)) {
23121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinY" "', expected argument " "1"" of type '" "wxDC const *""'");
23123 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23126 result
= (int)((wxDC
const *)arg1
)->MinY();
23127 wxPyEndAllowThreads(__tstate
);
23128 if (PyErr_Occurred()) SWIG_fail
;
23130 resultobj
= SWIG_From_int(static_cast< int >(result
));
23137 SWIGINTERN PyObject
*_wrap_DC_MaxY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23138 PyObject
*resultobj
= 0;
23139 wxDC
*arg1
= (wxDC
*) 0 ;
23143 PyObject
*swig_obj
[1] ;
23145 if (!args
) SWIG_fail
;
23146 swig_obj
[0] = args
;
23147 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23148 if (!SWIG_IsOK(res1
)) {
23149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxY" "', expected argument " "1"" of type '" "wxDC const *""'");
23151 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23154 result
= (int)((wxDC
const *)arg1
)->MaxY();
23155 wxPyEndAllowThreads(__tstate
);
23156 if (PyErr_Occurred()) SWIG_fail
;
23158 resultobj
= SWIG_From_int(static_cast< int >(result
));
23165 SWIGINTERN PyObject
*_wrap_DC_GetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23166 PyObject
*resultobj
= 0;
23167 wxDC
*arg1
= (wxDC
*) 0 ;
23168 int *arg2
= (int *) 0 ;
23169 int *arg3
= (int *) 0 ;
23170 int *arg4
= (int *) 0 ;
23171 int *arg5
= (int *) 0 ;
23175 int res2
= SWIG_TMPOBJ
;
23177 int res3
= SWIG_TMPOBJ
;
23179 int res4
= SWIG_TMPOBJ
;
23181 int res5
= SWIG_TMPOBJ
;
23182 PyObject
*swig_obj
[1] ;
23188 if (!args
) SWIG_fail
;
23189 swig_obj
[0] = args
;
23190 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23191 if (!SWIG_IsOK(res1
)) {
23192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
23194 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23197 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
23198 wxPyEndAllowThreads(__tstate
);
23199 if (PyErr_Occurred()) SWIG_fail
;
23201 resultobj
= SWIG_Py_Void();
23202 if (SWIG_IsTmpObj(res2
)) {
23203 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23205 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23206 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23208 if (SWIG_IsTmpObj(res3
)) {
23209 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23211 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23212 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23214 if (SWIG_IsTmpObj(res4
)) {
23215 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
23217 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23218 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
23220 if (SWIG_IsTmpObj(res5
)) {
23221 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
23223 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23224 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
23232 SWIGINTERN PyObject
*_wrap_DC_GetHDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23233 PyObject
*resultobj
= 0;
23234 wxDC
*arg1
= (wxDC
*) 0 ;
23238 PyObject
*swig_obj
[1] ;
23240 if (!args
) SWIG_fail
;
23241 swig_obj
[0] = args
;
23242 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23243 if (!SWIG_IsOK(res1
)) {
23244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetHDC" "', expected argument " "1"" of type '" "wxDC *""'");
23246 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23249 result
= (long)(arg1
)->GetHDC();
23250 wxPyEndAllowThreads(__tstate
);
23251 if (PyErr_Occurred()) SWIG_fail
;
23253 resultobj
= SWIG_From_long(static_cast< long >(result
));
23260 SWIGINTERN PyObject
*_wrap_DC__DrawPointList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23261 PyObject
*resultobj
= 0;
23262 wxDC
*arg1
= (wxDC
*) 0 ;
23263 PyObject
*arg2
= (PyObject
*) 0 ;
23264 PyObject
*arg3
= (PyObject
*) 0 ;
23265 PyObject
*arg4
= (PyObject
*) 0 ;
23266 PyObject
*result
= 0 ;
23269 PyObject
* obj0
= 0 ;
23270 PyObject
* obj1
= 0 ;
23271 PyObject
* obj2
= 0 ;
23272 PyObject
* obj3
= 0 ;
23273 char * kwnames
[] = {
23274 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23277 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23278 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23279 if (!SWIG_IsOK(res1
)) {
23280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPointList" "', expected argument " "1"" of type '" "wxDC *""'");
23282 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23288 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
23289 wxPyEndAllowThreads(__tstate
);
23290 if (PyErr_Occurred()) SWIG_fail
;
23292 resultobj
= result
;
23299 SWIGINTERN PyObject
*_wrap_DC__DrawLineList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23300 PyObject
*resultobj
= 0;
23301 wxDC
*arg1
= (wxDC
*) 0 ;
23302 PyObject
*arg2
= (PyObject
*) 0 ;
23303 PyObject
*arg3
= (PyObject
*) 0 ;
23304 PyObject
*arg4
= (PyObject
*) 0 ;
23305 PyObject
*result
= 0 ;
23308 PyObject
* obj0
= 0 ;
23309 PyObject
* obj1
= 0 ;
23310 PyObject
* obj2
= 0 ;
23311 PyObject
* obj3
= 0 ;
23312 char * kwnames
[] = {
23313 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23316 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23317 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23318 if (!SWIG_IsOK(res1
)) {
23319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawLineList" "', expected argument " "1"" of type '" "wxDC *""'");
23321 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23327 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
23328 wxPyEndAllowThreads(__tstate
);
23329 if (PyErr_Occurred()) SWIG_fail
;
23331 resultobj
= result
;
23338 SWIGINTERN PyObject
*_wrap_DC__DrawRectangleList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23339 PyObject
*resultobj
= 0;
23340 wxDC
*arg1
= (wxDC
*) 0 ;
23341 PyObject
*arg2
= (PyObject
*) 0 ;
23342 PyObject
*arg3
= (PyObject
*) 0 ;
23343 PyObject
*arg4
= (PyObject
*) 0 ;
23344 PyObject
*result
= 0 ;
23347 PyObject
* obj0
= 0 ;
23348 PyObject
* obj1
= 0 ;
23349 PyObject
* obj2
= 0 ;
23350 PyObject
* obj3
= 0 ;
23351 char * kwnames
[] = {
23352 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23355 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23356 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23357 if (!SWIG_IsOK(res1
)) {
23358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawRectangleList" "', expected argument " "1"" of type '" "wxDC *""'");
23360 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23366 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
23367 wxPyEndAllowThreads(__tstate
);
23368 if (PyErr_Occurred()) SWIG_fail
;
23370 resultobj
= result
;
23377 SWIGINTERN PyObject
*_wrap_DC__DrawEllipseList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23378 PyObject
*resultobj
= 0;
23379 wxDC
*arg1
= (wxDC
*) 0 ;
23380 PyObject
*arg2
= (PyObject
*) 0 ;
23381 PyObject
*arg3
= (PyObject
*) 0 ;
23382 PyObject
*arg4
= (PyObject
*) 0 ;
23383 PyObject
*result
= 0 ;
23386 PyObject
* obj0
= 0 ;
23387 PyObject
* obj1
= 0 ;
23388 PyObject
* obj2
= 0 ;
23389 PyObject
* obj3
= 0 ;
23390 char * kwnames
[] = {
23391 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23394 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23395 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23396 if (!SWIG_IsOK(res1
)) {
23397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawEllipseList" "', expected argument " "1"" of type '" "wxDC *""'");
23399 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23405 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
23406 wxPyEndAllowThreads(__tstate
);
23407 if (PyErr_Occurred()) SWIG_fail
;
23409 resultobj
= result
;
23416 SWIGINTERN PyObject
*_wrap_DC__DrawPolygonList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23417 PyObject
*resultobj
= 0;
23418 wxDC
*arg1
= (wxDC
*) 0 ;
23419 PyObject
*arg2
= (PyObject
*) 0 ;
23420 PyObject
*arg3
= (PyObject
*) 0 ;
23421 PyObject
*arg4
= (PyObject
*) 0 ;
23422 PyObject
*result
= 0 ;
23425 PyObject
* obj0
= 0 ;
23426 PyObject
* obj1
= 0 ;
23427 PyObject
* obj2
= 0 ;
23428 PyObject
* obj3
= 0 ;
23429 char * kwnames
[] = {
23430 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23433 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23434 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23435 if (!SWIG_IsOK(res1
)) {
23436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPolygonList" "', expected argument " "1"" of type '" "wxDC *""'");
23438 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23444 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
23445 wxPyEndAllowThreads(__tstate
);
23446 if (PyErr_Occurred()) SWIG_fail
;
23448 resultobj
= result
;
23455 SWIGINTERN PyObject
*_wrap_DC__DrawTextList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23456 PyObject
*resultobj
= 0;
23457 wxDC
*arg1
= (wxDC
*) 0 ;
23458 PyObject
*arg2
= (PyObject
*) 0 ;
23459 PyObject
*arg3
= (PyObject
*) 0 ;
23460 PyObject
*arg4
= (PyObject
*) 0 ;
23461 PyObject
*arg5
= (PyObject
*) 0 ;
23462 PyObject
*result
= 0 ;
23465 PyObject
* obj0
= 0 ;
23466 PyObject
* obj1
= 0 ;
23467 PyObject
* obj2
= 0 ;
23468 PyObject
* obj3
= 0 ;
23469 PyObject
* obj4
= 0 ;
23470 char * kwnames
[] = {
23471 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
23474 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
23475 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23476 if (!SWIG_IsOK(res1
)) {
23477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawTextList" "', expected argument " "1"" of type '" "wxDC *""'");
23479 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23486 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
23487 wxPyEndAllowThreads(__tstate
);
23488 if (PyErr_Occurred()) SWIG_fail
;
23490 resultobj
= result
;
23497 SWIGINTERN PyObject
*DC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23499 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23500 SWIG_TypeNewClientData(SWIGTYPE_p_wxDC
, SWIG_NewClientData(obj
));
23501 return SWIG_Py_Void();
23504 SWIGINTERN PyObject
*_wrap_new_MemoryDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23505 PyObject
*resultobj
= 0;
23506 wxMemoryDC
*result
= 0 ;
23508 if (!SWIG_Python_UnpackTuple(args
,"new_MemoryDC",0,0,0)) SWIG_fail
;
23510 if (!wxPyCheckForApp()) SWIG_fail
;
23511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23512 result
= (wxMemoryDC
*)new wxMemoryDC();
23513 wxPyEndAllowThreads(__tstate
);
23514 if (PyErr_Occurred()) SWIG_fail
;
23516 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_NEW
| 0 );
23523 SWIGINTERN PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23524 PyObject
*resultobj
= 0;
23525 wxDC
*arg1
= (wxDC
*) 0 ;
23526 wxMemoryDC
*result
= 0 ;
23529 PyObject
* obj0
= 0 ;
23530 char * kwnames
[] = {
23531 (char *) "oldDC", NULL
23534 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) SWIG_fail
;
23535 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23536 if (!SWIG_IsOK(res1
)) {
23537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDCFromDC" "', expected argument " "1"" of type '" "wxDC *""'");
23539 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23541 if (!wxPyCheckForApp()) SWIG_fail
;
23542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23543 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
23544 wxPyEndAllowThreads(__tstate
);
23545 if (PyErr_Occurred()) SWIG_fail
;
23547 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_OWN
| 0 );
23554 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23555 PyObject
*resultobj
= 0;
23556 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
23557 wxBitmap
*arg2
= 0 ;
23562 PyObject
* obj0
= 0 ;
23563 PyObject
* obj1
= 0 ;
23564 char * kwnames
[] = {
23565 (char *) "self",(char *) "bitmap", NULL
23568 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23569 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
23570 if (!SWIG_IsOK(res1
)) {
23571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObject" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
23573 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
23574 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23575 if (!SWIG_IsOK(res2
)) {
23576 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23579 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23581 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23584 (arg1
)->SelectObject((wxBitmap
const &)*arg2
);
23585 wxPyEndAllowThreads(__tstate
);
23586 if (PyErr_Occurred()) SWIG_fail
;
23588 resultobj
= SWIG_Py_Void();
23595 SWIGINTERN PyObject
*MemoryDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23597 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23598 SWIG_TypeNewClientData(SWIGTYPE_p_wxMemoryDC
, SWIG_NewClientData(obj
));
23599 return SWIG_Py_Void();
23602 SWIGINTERN PyObject
*MemoryDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23603 return SWIG_Python_InitShadowInstance(args
);
23606 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23607 PyObject
*resultobj
= 0;
23608 wxDC
*arg1
= (wxDC
*) 0 ;
23609 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
23610 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
23611 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
23612 wxBufferedDC
*result
= 0 ;
23620 if ((nobjs
< 1) || (nobjs
> 3)) SWIG_fail
;
23621 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23622 if (!SWIG_IsOK(res1
)) {
23623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
23625 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23627 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23628 if (!SWIG_IsOK(res2
)) {
23629 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23632 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23634 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23637 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
23638 if (!SWIG_IsOK(ecode3
)) {
23639 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
23641 arg3
= static_cast< int >(val3
);
23644 if (!wxPyCheckForApp()) SWIG_fail
;
23645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23646 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxBitmap
const &)*arg2
,arg3
);
23647 wxPyEndAllowThreads(__tstate
);
23648 if (PyErr_Occurred()) SWIG_fail
;
23650 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
23657 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23658 PyObject
*resultobj
= 0;
23659 wxDC
*arg1
= (wxDC
*) 0 ;
23661 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
23662 wxBufferedDC
*result
= 0 ;
23669 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
23670 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23671 if (!SWIG_IsOK(res1
)) {
23672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
23674 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23677 if ( ! wxSize_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
23680 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
23681 if (!SWIG_IsOK(ecode3
)) {
23682 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
23684 arg3
= static_cast< int >(val3
);
23687 if (!wxPyCheckForApp()) SWIG_fail
;
23688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23689 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
,arg3
);
23690 wxPyEndAllowThreads(__tstate
);
23691 if (PyErr_Occurred()) SWIG_fail
;
23693 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
23700 SWIGINTERN PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
23704 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_BufferedDC",0,3,argv
))) SWIG_fail
;
23706 if ((argc
>= 1) && (argc
<= 3)) {
23710 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxBitmap
, 0);
23711 _v
= SWIG_CheckState(res
);
23713 if (!_v
) goto check_1
;
23715 return _wrap_new_BufferedDC__SWIG_0(self
, argc
, argv
);
23719 if ((argc
>= 2) && (argc
<= 3)) {
23720 return _wrap_new_BufferedDC__SWIG_1(self
, argc
, argv
);
23724 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_BufferedDC'");
23729 SWIGINTERN PyObject
*_wrap_delete_BufferedDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23730 PyObject
*resultobj
= 0;
23731 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
23734 PyObject
*swig_obj
[1] ;
23736 if (!args
) SWIG_fail
;
23737 swig_obj
[0] = args
;
23738 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_DISOWN
| 0 );
23739 if (!SWIG_IsOK(res1
)) {
23740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BufferedDC" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
23742 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
23744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23747 wxPyEndAllowThreads(__tstate
);
23748 if (PyErr_Occurred()) SWIG_fail
;
23750 resultobj
= SWIG_Py_Void();
23757 SWIGINTERN PyObject
*_wrap_BufferedDC_UnMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23758 PyObject
*resultobj
= 0;
23759 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
23762 PyObject
*swig_obj
[1] ;
23764 if (!args
) SWIG_fail
;
23765 swig_obj
[0] = args
;
23766 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
23767 if (!SWIG_IsOK(res1
)) {
23768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_UnMask" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
23770 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
23772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23774 wxPyEndAllowThreads(__tstate
);
23775 if (PyErr_Occurred()) SWIG_fail
;
23777 resultobj
= SWIG_Py_Void();
23784 SWIGINTERN PyObject
*BufferedDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23786 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23787 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedDC
, SWIG_NewClientData(obj
));
23788 return SWIG_Py_Void();
23791 SWIGINTERN PyObject
*BufferedDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23792 return SWIG_Python_InitShadowInstance(args
);
23795 SWIGINTERN PyObject
*_wrap_new_BufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23796 PyObject
*resultobj
= 0;
23797 wxWindow
*arg1
= (wxWindow
*) 0 ;
23798 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
23799 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
23800 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
23801 wxBufferedPaintDC
*result
= 0 ;
23808 PyObject
* obj0
= 0 ;
23809 PyObject
* obj1
= 0 ;
23810 PyObject
* obj2
= 0 ;
23811 char * kwnames
[] = {
23812 (char *) "window",(char *) "buffer",(char *) "style", NULL
23815 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23816 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23817 if (!SWIG_IsOK(res1
)) {
23818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
23820 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
23822 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23823 if (!SWIG_IsOK(res2
)) {
23824 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23827 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23829 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23832 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23833 if (!SWIG_IsOK(ecode3
)) {
23834 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedPaintDC" "', expected argument " "3"" of type '" "int""'");
23836 arg3
= static_cast< int >(val3
);
23839 if (!wxPyCheckForApp()) SWIG_fail
;
23840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23841 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,(wxBitmap
const &)*arg2
,arg3
);
23842 wxPyEndAllowThreads(__tstate
);
23843 if (PyErr_Occurred()) SWIG_fail
;
23845 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
23852 SWIGINTERN PyObject
*BufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23854 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23855 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedPaintDC
, SWIG_NewClientData(obj
));
23856 return SWIG_Py_Void();
23859 SWIGINTERN PyObject
*BufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23860 return SWIG_Python_InitShadowInstance(args
);
23863 SWIGINTERN PyObject
*_wrap_new_ScreenDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23864 PyObject
*resultobj
= 0;
23865 wxScreenDC
*result
= 0 ;
23867 if (!SWIG_Python_UnpackTuple(args
,"new_ScreenDC",0,0,0)) SWIG_fail
;
23869 if (!wxPyCheckForApp()) SWIG_fail
;
23870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23871 result
= (wxScreenDC
*)new wxScreenDC();
23872 wxPyEndAllowThreads(__tstate
);
23873 if (PyErr_Occurred()) SWIG_fail
;
23875 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_NEW
| 0 );
23882 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23883 PyObject
*resultobj
= 0;
23884 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
23885 wxWindow
*arg2
= (wxWindow
*) 0 ;
23891 PyObject
* obj0
= 0 ;
23892 PyObject
* obj1
= 0 ;
23893 char * kwnames
[] = {
23894 (char *) "self",(char *) "window", NULL
23897 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23898 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
23899 if (!SWIG_IsOK(res1
)) {
23900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "1"" of type '" "wxScreenDC *""'");
23902 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
23903 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23904 if (!SWIG_IsOK(res2
)) {
23905 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "2"" of type '" "wxWindow *""'");
23907 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
23909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23910 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
23911 wxPyEndAllowThreads(__tstate
);
23912 if (PyErr_Occurred()) SWIG_fail
;
23915 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23923 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23924 PyObject
*resultobj
= 0;
23925 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
23926 wxRect
*arg2
= (wxRect
*) NULL
;
23932 PyObject
* obj0
= 0 ;
23933 PyObject
* obj1
= 0 ;
23934 char * kwnames
[] = {
23935 (char *) "self",(char *) "rect", NULL
23938 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23939 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
23940 if (!SWIG_IsOK(res1
)) {
23941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
23943 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
23945 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
23946 if (!SWIG_IsOK(res2
)) {
23947 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "2"" of type '" "wxRect *""'");
23949 arg2
= reinterpret_cast< wxRect
* >(argp2
);
23952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23953 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
23954 wxPyEndAllowThreads(__tstate
);
23955 if (PyErr_Occurred()) SWIG_fail
;
23958 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23966 SWIGINTERN PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23967 PyObject
*resultobj
= 0;
23968 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
23972 PyObject
*swig_obj
[1] ;
23974 if (!args
) SWIG_fail
;
23975 swig_obj
[0] = args
;
23976 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
23977 if (!SWIG_IsOK(res1
)) {
23978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_EndDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
23980 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
23982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23983 result
= (bool)(arg1
)->EndDrawingOnTop();
23984 wxPyEndAllowThreads(__tstate
);
23985 if (PyErr_Occurred()) SWIG_fail
;
23988 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23996 SWIGINTERN PyObject
*ScreenDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23998 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23999 SWIG_TypeNewClientData(SWIGTYPE_p_wxScreenDC
, SWIG_NewClientData(obj
));
24000 return SWIG_Py_Void();
24003 SWIGINTERN PyObject
*ScreenDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24004 return SWIG_Python_InitShadowInstance(args
);
24007 SWIGINTERN PyObject
*_wrap_new_ClientDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24008 PyObject
*resultobj
= 0;
24009 wxWindow
*arg1
= (wxWindow
*) 0 ;
24010 wxClientDC
*result
= 0 ;
24013 PyObject
* obj0
= 0 ;
24014 char * kwnames
[] = {
24015 (char *) "win", NULL
24018 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) SWIG_fail
;
24019 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24020 if (!SWIG_IsOK(res1
)) {
24021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ClientDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24023 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24025 if (!wxPyCheckForApp()) SWIG_fail
;
24026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24027 result
= (wxClientDC
*)new wxClientDC(arg1
);
24028 wxPyEndAllowThreads(__tstate
);
24029 if (PyErr_Occurred()) SWIG_fail
;
24031 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClientDC
, SWIG_POINTER_NEW
| 0 );
24038 SWIGINTERN PyObject
*ClientDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24040 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24041 SWIG_TypeNewClientData(SWIGTYPE_p_wxClientDC
, SWIG_NewClientData(obj
));
24042 return SWIG_Py_Void();
24045 SWIGINTERN PyObject
*ClientDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24046 return SWIG_Python_InitShadowInstance(args
);
24049 SWIGINTERN PyObject
*_wrap_new_PaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24050 PyObject
*resultobj
= 0;
24051 wxWindow
*arg1
= (wxWindow
*) 0 ;
24052 wxPaintDC
*result
= 0 ;
24055 PyObject
* obj0
= 0 ;
24056 char * kwnames
[] = {
24057 (char *) "win", NULL
24060 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) SWIG_fail
;
24061 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24062 if (!SWIG_IsOK(res1
)) {
24063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24065 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24067 if (!wxPyCheckForApp()) SWIG_fail
;
24068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24069 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
24070 wxPyEndAllowThreads(__tstate
);
24071 if (PyErr_Occurred()) SWIG_fail
;
24073 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPaintDC
, SWIG_POINTER_NEW
| 0 );
24080 SWIGINTERN PyObject
*PaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24082 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24083 SWIG_TypeNewClientData(SWIGTYPE_p_wxPaintDC
, SWIG_NewClientData(obj
));
24084 return SWIG_Py_Void();
24087 SWIGINTERN PyObject
*PaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24088 return SWIG_Python_InitShadowInstance(args
);
24091 SWIGINTERN PyObject
*_wrap_new_WindowDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24092 PyObject
*resultobj
= 0;
24093 wxWindow
*arg1
= (wxWindow
*) 0 ;
24094 wxWindowDC
*result
= 0 ;
24097 PyObject
* obj0
= 0 ;
24098 char * kwnames
[] = {
24099 (char *) "win", NULL
24102 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) SWIG_fail
;
24103 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24104 if (!SWIG_IsOK(res1
)) {
24105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowDC" "', expected argument " "1"" of type '" "wxWindow *""'");
24107 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24109 if (!wxPyCheckForApp()) SWIG_fail
;
24110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24111 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
24112 wxPyEndAllowThreads(__tstate
);
24113 if (PyErr_Occurred()) SWIG_fail
;
24115 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowDC
, SWIG_POINTER_NEW
| 0 );
24122 SWIGINTERN PyObject
*WindowDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24124 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24125 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowDC
, SWIG_NewClientData(obj
));
24126 return SWIG_Py_Void();
24129 SWIGINTERN PyObject
*WindowDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24130 return SWIG_Python_InitShadowInstance(args
);
24133 SWIGINTERN PyObject
*_wrap_new_MirrorDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24134 PyObject
*resultobj
= 0;
24137 wxMirrorDC
*result
= 0 ;
24142 PyObject
* obj0
= 0 ;
24143 PyObject
* obj1
= 0 ;
24144 char * kwnames
[] = {
24145 (char *) "dc",(char *) "mirror", NULL
24148 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24149 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
24150 if (!SWIG_IsOK(res1
)) {
24151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
24154 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
24156 arg1
= reinterpret_cast< wxDC
* >(argp1
);
24157 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24158 if (!SWIG_IsOK(ecode2
)) {
24159 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MirrorDC" "', expected argument " "2"" of type '" "bool""'");
24161 arg2
= static_cast< bool >(val2
);
24163 if (!wxPyCheckForApp()) SWIG_fail
;
24164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24165 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
24166 wxPyEndAllowThreads(__tstate
);
24167 if (PyErr_Occurred()) SWIG_fail
;
24169 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMirrorDC
, SWIG_POINTER_NEW
| 0 );
24176 SWIGINTERN PyObject
*MirrorDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24178 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24179 SWIG_TypeNewClientData(SWIGTYPE_p_wxMirrorDC
, SWIG_NewClientData(obj
));
24180 return SWIG_Py_Void();
24183 SWIGINTERN PyObject
*MirrorDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24184 return SWIG_Python_InitShadowInstance(args
);
24187 SWIGINTERN PyObject
*_wrap_new_PostScriptDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24188 PyObject
*resultobj
= 0;
24189 wxPrintData
*arg1
= 0 ;
24190 wxPostScriptDC
*result
= 0 ;
24193 PyObject
* obj0
= 0 ;
24194 char * kwnames
[] = {
24195 (char *) "printData", NULL
24198 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) SWIG_fail
;
24199 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24200 if (!SWIG_IsOK(res1
)) {
24201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24204 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24206 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24208 if (!wxPyCheckForApp()) SWIG_fail
;
24209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24210 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
24211 wxPyEndAllowThreads(__tstate
);
24212 if (PyErr_Occurred()) SWIG_fail
;
24214 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPostScriptDC
, SWIG_POINTER_NEW
| 0 );
24221 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24222 PyObject
*resultobj
= 0;
24223 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
24224 wxPrintData
*result
= 0 ;
24227 PyObject
*swig_obj
[1] ;
24229 if (!args
) SWIG_fail
;
24230 swig_obj
[0] = args
;
24231 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
24232 if (!SWIG_IsOK(res1
)) {
24233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_GetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
24235 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
24237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24239 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
24240 result
= (wxPrintData
*) &_result_ref
;
24242 wxPyEndAllowThreads(__tstate
);
24243 if (PyErr_Occurred()) SWIG_fail
;
24245 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
24252 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24253 PyObject
*resultobj
= 0;
24254 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
24255 wxPrintData
*arg2
= 0 ;
24260 PyObject
* obj0
= 0 ;
24261 PyObject
* obj1
= 0 ;
24262 char * kwnames
[] = {
24263 (char *) "self",(char *) "data", NULL
24266 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24267 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
24268 if (!SWIG_IsOK(res1
)) {
24269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
24271 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
24272 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24273 if (!SWIG_IsOK(res2
)) {
24274 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
24277 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
24279 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
24281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24282 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
24283 wxPyEndAllowThreads(__tstate
);
24284 if (PyErr_Occurred()) SWIG_fail
;
24286 resultobj
= SWIG_Py_Void();
24293 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24294 PyObject
*resultobj
= 0;
24298 PyObject
* obj0
= 0 ;
24299 char * kwnames
[] = {
24300 (char *) "ppi", NULL
24303 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) SWIG_fail
;
24304 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24305 if (!SWIG_IsOK(ecode1
)) {
24306 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PostScriptDC_SetResolution" "', expected argument " "1"" of type '" "int""'");
24308 arg1
= static_cast< int >(val1
);
24310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24311 wxPostScriptDC::SetResolution(arg1
);
24312 wxPyEndAllowThreads(__tstate
);
24313 if (PyErr_Occurred()) SWIG_fail
;
24315 resultobj
= SWIG_Py_Void();
24322 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24323 PyObject
*resultobj
= 0;
24326 if (!SWIG_Python_UnpackTuple(args
,"PostScriptDC_GetResolution",0,0,0)) SWIG_fail
;
24328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24329 result
= (int)wxPostScriptDC::GetResolution();
24330 wxPyEndAllowThreads(__tstate
);
24331 if (PyErr_Occurred()) SWIG_fail
;
24333 resultobj
= SWIG_From_int(static_cast< int >(result
));
24340 SWIGINTERN PyObject
*PostScriptDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24342 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24343 SWIG_TypeNewClientData(SWIGTYPE_p_wxPostScriptDC
, SWIG_NewClientData(obj
));
24344 return SWIG_Py_Void();
24347 SWIGINTERN PyObject
*PostScriptDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24348 return SWIG_Python_InitShadowInstance(args
);
24351 SWIGINTERN PyObject
*_wrap_new_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24352 PyObject
*resultobj
= 0;
24353 wxString
const &arg1_defvalue
= wxPyEmptyString
;
24354 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24355 wxMetaFile
*result
= 0 ;
24356 bool temp1
= false ;
24357 PyObject
* obj0
= 0 ;
24358 char * kwnames
[] = {
24359 (char *) "filename", NULL
24362 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) SWIG_fail
;
24365 arg1
= wxString_in_helper(obj0
);
24366 if (arg1
== NULL
) SWIG_fail
;
24371 if (!wxPyCheckForApp()) SWIG_fail
;
24372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24373 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
24374 wxPyEndAllowThreads(__tstate
);
24375 if (PyErr_Occurred()) SWIG_fail
;
24377 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_NEW
| 0 );
24392 SWIGINTERN PyObject
*_wrap_delete_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24393 PyObject
*resultobj
= 0;
24394 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
24397 PyObject
*swig_obj
[1] ;
24399 if (!args
) SWIG_fail
;
24400 swig_obj
[0] = args
;
24401 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_DISOWN
| 0 );
24402 if (!SWIG_IsOK(res1
)) {
24403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MetaFile" "', expected argument " "1"" of type '" "wxMetaFile *""'");
24405 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
24407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24410 wxPyEndAllowThreads(__tstate
);
24411 if (PyErr_Occurred()) SWIG_fail
;
24413 resultobj
= SWIG_Py_Void();
24420 SWIGINTERN PyObject
*_wrap_MetaFile_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24421 PyObject
*resultobj
= 0;
24422 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
24426 PyObject
*swig_obj
[1] ;
24428 if (!args
) SWIG_fail
;
24429 swig_obj
[0] = args
;
24430 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
24431 if (!SWIG_IsOK(res1
)) {
24432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_Ok" "', expected argument " "1"" of type '" "wxMetaFile *""'");
24434 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
24436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24437 result
= (bool)(arg1
)->Ok();
24438 wxPyEndAllowThreads(__tstate
);
24439 if (PyErr_Occurred()) SWIG_fail
;
24442 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24450 SWIGINTERN PyObject
*_wrap_MetaFile_SetClipboard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24451 PyObject
*resultobj
= 0;
24452 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
24453 int arg2
= (int) 0 ;
24454 int arg3
= (int) 0 ;
24462 PyObject
* obj0
= 0 ;
24463 PyObject
* obj1
= 0 ;
24464 PyObject
* obj2
= 0 ;
24465 char * kwnames
[] = {
24466 (char *) "self",(char *) "width",(char *) "height", NULL
24469 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MetaFile_SetClipboard",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24470 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
24471 if (!SWIG_IsOK(res1
)) {
24472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_SetClipboard" "', expected argument " "1"" of type '" "wxMetaFile *""'");
24474 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
24476 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24477 if (!SWIG_IsOK(ecode2
)) {
24478 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MetaFile_SetClipboard" "', expected argument " "2"" of type '" "int""'");
24480 arg2
= static_cast< int >(val2
);
24483 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24484 if (!SWIG_IsOK(ecode3
)) {
24485 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MetaFile_SetClipboard" "', expected argument " "3"" of type '" "int""'");
24487 arg3
= static_cast< int >(val3
);
24490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24491 result
= (bool)(arg1
)->SetClipboard(arg2
,arg3
);
24492 wxPyEndAllowThreads(__tstate
);
24493 if (PyErr_Occurred()) SWIG_fail
;
24496 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24504 SWIGINTERN PyObject
*_wrap_MetaFile_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24505 PyObject
*resultobj
= 0;
24506 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
24510 PyObject
*swig_obj
[1] ;
24512 if (!args
) SWIG_fail
;
24513 swig_obj
[0] = args
;
24514 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
24515 if (!SWIG_IsOK(res1
)) {
24516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetSize" "', expected argument " "1"" of type '" "wxMetaFile *""'");
24518 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
24520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24521 result
= (arg1
)->GetSize();
24522 wxPyEndAllowThreads(__tstate
);
24523 if (PyErr_Occurred()) SWIG_fail
;
24525 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
24532 SWIGINTERN PyObject
*_wrap_MetaFile_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24533 PyObject
*resultobj
= 0;
24534 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
24538 PyObject
*swig_obj
[1] ;
24540 if (!args
) SWIG_fail
;
24541 swig_obj
[0] = args
;
24542 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
24543 if (!SWIG_IsOK(res1
)) {
24544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetWidth" "', expected argument " "1"" of type '" "wxMetaFile *""'");
24546 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
24548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24549 result
= (int)(arg1
)->GetWidth();
24550 wxPyEndAllowThreads(__tstate
);
24551 if (PyErr_Occurred()) SWIG_fail
;
24553 resultobj
= SWIG_From_int(static_cast< int >(result
));
24560 SWIGINTERN PyObject
*_wrap_MetaFile_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24561 PyObject
*resultobj
= 0;
24562 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
24566 PyObject
*swig_obj
[1] ;
24568 if (!args
) SWIG_fail
;
24569 swig_obj
[0] = args
;
24570 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
24571 if (!SWIG_IsOK(res1
)) {
24572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetHeight" "', expected argument " "1"" of type '" "wxMetaFile *""'");
24574 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
24576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24577 result
= (int)(arg1
)->GetHeight();
24578 wxPyEndAllowThreads(__tstate
);
24579 if (PyErr_Occurred()) SWIG_fail
;
24581 resultobj
= SWIG_From_int(static_cast< int >(result
));
24588 SWIGINTERN PyObject
*_wrap_MetaFile_GetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24589 PyObject
*resultobj
= 0;
24590 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
24591 wxString
*result
= 0 ;
24594 PyObject
*swig_obj
[1] ;
24596 if (!args
) SWIG_fail
;
24597 swig_obj
[0] = args
;
24598 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
24599 if (!SWIG_IsOK(res1
)) {
24600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetFileName" "', expected argument " "1"" of type '" "wxMetaFile const *""'");
24602 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
24604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24606 wxString
const &_result_ref
= ((wxMetaFile
const *)arg1
)->GetFileName();
24607 result
= (wxString
*) &_result_ref
;
24609 wxPyEndAllowThreads(__tstate
);
24610 if (PyErr_Occurred()) SWIG_fail
;
24614 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
24616 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
24625 SWIGINTERN PyObject
*MetaFile_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24627 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24628 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFile
, SWIG_NewClientData(obj
));
24629 return SWIG_Py_Void();
24632 SWIGINTERN PyObject
*MetaFile_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24633 return SWIG_Python_InitShadowInstance(args
);
24636 SWIGINTERN PyObject
*_wrap_new_MetaFileDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24637 PyObject
*resultobj
= 0;
24638 wxString
const &arg1_defvalue
= wxPyEmptyString
;
24639 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24640 int arg2
= (int) 0 ;
24641 int arg3
= (int) 0 ;
24642 wxString
const &arg4_defvalue
= wxPyEmptyString
;
24643 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
24644 wxMetaFileDC
*result
= 0 ;
24645 bool temp1
= false ;
24650 bool temp4
= false ;
24651 PyObject
* obj0
= 0 ;
24652 PyObject
* obj1
= 0 ;
24653 PyObject
* obj2
= 0 ;
24654 PyObject
* obj3
= 0 ;
24655 char * kwnames
[] = {
24656 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
24659 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24662 arg1
= wxString_in_helper(obj0
);
24663 if (arg1
== NULL
) SWIG_fail
;
24668 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24669 if (!SWIG_IsOK(ecode2
)) {
24670 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MetaFileDC" "', expected argument " "2"" of type '" "int""'");
24672 arg2
= static_cast< int >(val2
);
24675 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24676 if (!SWIG_IsOK(ecode3
)) {
24677 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_MetaFileDC" "', expected argument " "3"" of type '" "int""'");
24679 arg3
= static_cast< int >(val3
);
24683 arg4
= wxString_in_helper(obj3
);
24684 if (arg4
== NULL
) SWIG_fail
;
24689 if (!wxPyCheckForApp()) SWIG_fail
;
24690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24691 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
24692 wxPyEndAllowThreads(__tstate
);
24693 if (PyErr_Occurred()) SWIG_fail
;
24695 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFileDC
, SWIG_POINTER_NEW
| 0 );
24718 SWIGINTERN PyObject
*_wrap_MetaFileDC_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24719 PyObject
*resultobj
= 0;
24720 wxMetaFileDC
*arg1
= (wxMetaFileDC
*) 0 ;
24721 wxMetaFile
*result
= 0 ;
24724 PyObject
*swig_obj
[1] ;
24726 if (!args
) SWIG_fail
;
24727 swig_obj
[0] = args
;
24728 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFileDC
, 0 | 0 );
24729 if (!SWIG_IsOK(res1
)) {
24730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFileDC_Close" "', expected argument " "1"" of type '" "wxMetaFileDC *""'");
24732 arg1
= reinterpret_cast< wxMetaFileDC
* >(argp1
);
24734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24735 result
= (wxMetaFile
*)(arg1
)->Close();
24736 wxPyEndAllowThreads(__tstate
);
24737 if (PyErr_Occurred()) SWIG_fail
;
24739 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, 0 | 0 );
24746 SWIGINTERN PyObject
*MetaFileDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24748 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24749 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFileDC
, SWIG_NewClientData(obj
));
24750 return SWIG_Py_Void();
24753 SWIGINTERN PyObject
*MetaFileDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24754 return SWIG_Python_InitShadowInstance(args
);
24757 SWIGINTERN PyObject
*_wrap_new_PrinterDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24758 PyObject
*resultobj
= 0;
24759 wxPrintData
*arg1
= 0 ;
24760 wxPrinterDC
*result
= 0 ;
24763 PyObject
* obj0
= 0 ;
24764 char * kwnames
[] = {
24765 (char *) "printData", NULL
24768 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) SWIG_fail
;
24769 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24770 if (!SWIG_IsOK(res1
)) {
24771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24774 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24776 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24778 if (!wxPyCheckForApp()) SWIG_fail
;
24779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24780 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
24781 wxPyEndAllowThreads(__tstate
);
24782 if (PyErr_Occurred()) SWIG_fail
;
24784 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinterDC
, SWIG_POINTER_NEW
| 0 );
24791 SWIGINTERN PyObject
*PrinterDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24793 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24794 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinterDC
, SWIG_NewClientData(obj
));
24795 return SWIG_Py_Void();
24798 SWIGINTERN PyObject
*PrinterDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24799 return SWIG_Python_InitShadowInstance(args
);
24802 SWIGINTERN PyObject
*_wrap_new_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24803 PyObject
*resultobj
= 0;
24806 int arg3
= (int) true ;
24807 int arg4
= (int) 1 ;
24808 wxImageList
*result
= 0 ;
24817 PyObject
* obj0
= 0 ;
24818 PyObject
* obj1
= 0 ;
24819 PyObject
* obj2
= 0 ;
24820 PyObject
* obj3
= 0 ;
24821 char * kwnames
[] = {
24822 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
24825 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24826 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24827 if (!SWIG_IsOK(ecode1
)) {
24828 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ImageList" "', expected argument " "1"" of type '" "int""'");
24830 arg1
= static_cast< int >(val1
);
24831 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24832 if (!SWIG_IsOK(ecode2
)) {
24833 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ImageList" "', expected argument " "2"" of type '" "int""'");
24835 arg2
= static_cast< int >(val2
);
24837 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24838 if (!SWIG_IsOK(ecode3
)) {
24839 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ImageList" "', expected argument " "3"" of type '" "int""'");
24841 arg3
= static_cast< int >(val3
);
24844 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
24845 if (!SWIG_IsOK(ecode4
)) {
24846 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ImageList" "', expected argument " "4"" of type '" "int""'");
24848 arg4
= static_cast< int >(val4
);
24851 if (!wxPyCheckForApp()) SWIG_fail
;
24852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24853 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
24854 wxPyEndAllowThreads(__tstate
);
24855 if (PyErr_Occurred()) SWIG_fail
;
24858 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_NEW
);
24866 SWIGINTERN PyObject
*_wrap_delete_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24867 PyObject
*resultobj
= 0;
24868 wxImageList
*arg1
= (wxImageList
*) 0 ;
24871 PyObject
*swig_obj
[1] ;
24873 if (!args
) SWIG_fail
;
24874 swig_obj
[0] = args
;
24875 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
24876 if (!SWIG_IsOK(res1
)) {
24877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ImageList" "', expected argument " "1"" of type '" "wxImageList *""'");
24879 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
24881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24884 wxPyEndAllowThreads(__tstate
);
24885 if (PyErr_Occurred()) SWIG_fail
;
24887 resultobj
= SWIG_Py_Void();
24894 SWIGINTERN PyObject
*_wrap_ImageList_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24895 PyObject
*resultobj
= 0;
24896 wxImageList
*arg1
= (wxImageList
*) 0 ;
24897 wxBitmap
*arg2
= 0 ;
24898 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
24899 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
24907 PyObject
* obj0
= 0 ;
24908 PyObject
* obj1
= 0 ;
24909 PyObject
* obj2
= 0 ;
24910 char * kwnames
[] = {
24911 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
24914 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24915 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
24916 if (!SWIG_IsOK(res1
)) {
24917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Add" "', expected argument " "1"" of type '" "wxImageList *""'");
24919 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
24920 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24921 if (!SWIG_IsOK(res2
)) {
24922 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24925 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24927 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24929 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24930 if (!SWIG_IsOK(res3
)) {
24931 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
24934 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
24936 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
24939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24940 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
24941 wxPyEndAllowThreads(__tstate
);
24942 if (PyErr_Occurred()) SWIG_fail
;
24944 resultobj
= SWIG_From_int(static_cast< int >(result
));
24951 SWIGINTERN PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24952 PyObject
*resultobj
= 0;
24953 wxImageList
*arg1
= (wxImageList
*) 0 ;
24954 wxBitmap
*arg2
= 0 ;
24955 wxColour
*arg3
= 0 ;
24962 PyObject
* obj0
= 0 ;
24963 PyObject
* obj1
= 0 ;
24964 PyObject
* obj2
= 0 ;
24965 char * kwnames
[] = {
24966 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
24969 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24970 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
24971 if (!SWIG_IsOK(res1
)) {
24972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "1"" of type '" "wxImageList *""'");
24974 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
24975 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24976 if (!SWIG_IsOK(res2
)) {
24977 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24980 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
24982 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
24985 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
24988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24989 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
24990 wxPyEndAllowThreads(__tstate
);
24991 if (PyErr_Occurred()) SWIG_fail
;
24993 resultobj
= SWIG_From_int(static_cast< int >(result
));
25000 SWIGINTERN PyObject
*_wrap_ImageList_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25001 PyObject
*resultobj
= 0;
25002 wxImageList
*arg1
= (wxImageList
*) 0 ;
25009 PyObject
* obj0
= 0 ;
25010 PyObject
* obj1
= 0 ;
25011 char * kwnames
[] = {
25012 (char *) "self",(char *) "icon", NULL
25015 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25016 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
25017 if (!SWIG_IsOK(res1
)) {
25018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddIcon" "', expected argument " "1"" of type '" "wxImageList *""'");
25020 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
25021 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
25022 if (!SWIG_IsOK(res2
)) {
25023 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
25026 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
25028 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
25030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25031 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
25032 wxPyEndAllowThreads(__tstate
);
25033 if (PyErr_Occurred()) SWIG_fail
;
25035 resultobj
= SWIG_From_int(static_cast< int >(result
));
25042 SWIGINTERN PyObject
*_wrap_ImageList_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25043 PyObject
*resultobj
= 0;
25044 wxImageList
*arg1
= (wxImageList
*) 0 ;
25046 SwigValueWrapper
<wxBitmap
> result
;
25051 PyObject
* obj0
= 0 ;
25052 PyObject
* obj1
= 0 ;
25053 char * kwnames
[] = {
25054 (char *) "self",(char *) "index", NULL
25057 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25058 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
25059 if (!SWIG_IsOK(res1
)) {
25060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetBitmap" "', expected argument " "1"" of type '" "wxImageList const *""'");
25062 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
25063 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25064 if (!SWIG_IsOK(ecode2
)) {
25065 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetBitmap" "', expected argument " "2"" of type '" "int""'");
25067 arg2
= static_cast< int >(val2
);
25069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25070 result
= ((wxImageList
const *)arg1
)->GetBitmap(arg2
);
25071 wxPyEndAllowThreads(__tstate
);
25072 if (PyErr_Occurred()) SWIG_fail
;
25074 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
25081 SWIGINTERN PyObject
*_wrap_ImageList_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25082 PyObject
*resultobj
= 0;
25083 wxImageList
*arg1
= (wxImageList
*) 0 ;
25090 PyObject
* obj0
= 0 ;
25091 PyObject
* obj1
= 0 ;
25092 char * kwnames
[] = {
25093 (char *) "self",(char *) "index", NULL
25096 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25097 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
25098 if (!SWIG_IsOK(res1
)) {
25099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetIcon" "', expected argument " "1"" of type '" "wxImageList const *""'");
25101 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
25102 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25103 if (!SWIG_IsOK(ecode2
)) {
25104 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetIcon" "', expected argument " "2"" of type '" "int""'");
25106 arg2
= static_cast< int >(val2
);
25108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25109 result
= ((wxImageList
const *)arg1
)->GetIcon(arg2
);
25110 wxPyEndAllowThreads(__tstate
);
25111 if (PyErr_Occurred()) SWIG_fail
;
25113 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
25120 SWIGINTERN PyObject
*_wrap_ImageList_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25121 PyObject
*resultobj
= 0;
25122 wxImageList
*arg1
= (wxImageList
*) 0 ;
25124 wxBitmap
*arg3
= 0 ;
25125 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
25126 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
25136 PyObject
* obj0
= 0 ;
25137 PyObject
* obj1
= 0 ;
25138 PyObject
* obj2
= 0 ;
25139 PyObject
* obj3
= 0 ;
25140 char * kwnames
[] = {
25141 (char *) "self",(char *) "index",(char *) "bitmap",(char *) "mask", NULL
25144 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
25145 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
25146 if (!SWIG_IsOK(res1
)) {
25147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Replace" "', expected argument " "1"" of type '" "wxImageList *""'");
25149 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
25150 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25151 if (!SWIG_IsOK(ecode2
)) {
25152 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Replace" "', expected argument " "2"" of type '" "int""'");
25154 arg2
= static_cast< int >(val2
);
25155 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
25156 if (!SWIG_IsOK(res3
)) {
25157 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
25160 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
25162 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
25164 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
25165 if (!SWIG_IsOK(res4
)) {
25166 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
25169 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
25171 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
25174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25175 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
,(wxBitmap
const &)*arg4
);
25176 wxPyEndAllowThreads(__tstate
);
25177 if (PyErr_Occurred()) SWIG_fail
;
25180 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25188 SWIGINTERN PyObject
*_wrap_ImageList_Draw(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25189 PyObject
*resultobj
= 0;
25190 wxImageList
*arg1
= (wxImageList
*) 0 ;
25195 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
25196 bool arg7
= (bool) (bool)false ;
25212 PyObject
* obj0
= 0 ;
25213 PyObject
* obj1
= 0 ;
25214 PyObject
* obj2
= 0 ;
25215 PyObject
* obj3
= 0 ;
25216 PyObject
* obj4
= 0 ;
25217 PyObject
* obj5
= 0 ;
25218 PyObject
* obj6
= 0 ;
25219 char * kwnames
[] = {
25220 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
25223 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
25224 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
25225 if (!SWIG_IsOK(res1
)) {
25226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Draw" "', expected argument " "1"" of type '" "wxImageList *""'");
25228 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
25229 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25230 if (!SWIG_IsOK(ecode2
)) {
25231 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Draw" "', expected argument " "2"" of type '" "int""'");
25233 arg2
= static_cast< int >(val2
);
25234 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
25235 if (!SWIG_IsOK(res3
)) {
25236 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
25239 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
25241 arg3
= reinterpret_cast< wxDC
* >(argp3
);
25242 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
25243 if (!SWIG_IsOK(ecode4
)) {
25244 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ImageList_Draw" "', expected argument " "4"" of type '" "int""'");
25246 arg4
= static_cast< int >(val4
);
25247 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
25248 if (!SWIG_IsOK(ecode5
)) {
25249 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ImageList_Draw" "', expected argument " "5"" of type '" "int""'");
25251 arg5
= static_cast< int >(val5
);
25253 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
25254 if (!SWIG_IsOK(ecode6
)) {
25255 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ImageList_Draw" "', expected argument " "6"" of type '" "int""'");
25257 arg6
= static_cast< int >(val6
);
25260 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
25261 if (!SWIG_IsOK(ecode7
)) {
25262 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ImageList_Draw" "', expected argument " "7"" of type '" "bool""'");
25264 arg7
= static_cast< bool >(val7
);
25267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25268 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
25269 wxPyEndAllowThreads(__tstate
);
25270 if (PyErr_Occurred()) SWIG_fail
;
25273 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25281 SWIGINTERN PyObject
*_wrap_ImageList_GetImageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25282 PyObject
*resultobj
= 0;
25283 wxImageList
*arg1
= (wxImageList
*) 0 ;
25287 PyObject
*swig_obj
[1] ;
25289 if (!args
) SWIG_fail
;
25290 swig_obj
[0] = args
;
25291 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
25292 if (!SWIG_IsOK(res1
)) {
25293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetImageCount" "', expected argument " "1"" of type '" "wxImageList *""'");
25295 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
25297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25298 result
= (int)(arg1
)->GetImageCount();
25299 wxPyEndAllowThreads(__tstate
);
25300 if (PyErr_Occurred()) SWIG_fail
;
25302 resultobj
= SWIG_From_int(static_cast< int >(result
));
25309 SWIGINTERN PyObject
*_wrap_ImageList_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25310 PyObject
*resultobj
= 0;
25311 wxImageList
*arg1
= (wxImageList
*) 0 ;
25318 PyObject
* obj0
= 0 ;
25319 PyObject
* obj1
= 0 ;
25320 char * kwnames
[] = {
25321 (char *) "self",(char *) "index", NULL
25324 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25325 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
25326 if (!SWIG_IsOK(res1
)) {
25327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Remove" "', expected argument " "1"" of type '" "wxImageList *""'");
25329 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
25330 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25331 if (!SWIG_IsOK(ecode2
)) {
25332 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Remove" "', expected argument " "2"" of type '" "int""'");
25334 arg2
= static_cast< int >(val2
);
25336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25337 result
= (bool)(arg1
)->Remove(arg2
);
25338 wxPyEndAllowThreads(__tstate
);
25339 if (PyErr_Occurred()) SWIG_fail
;
25342 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25350 SWIGINTERN PyObject
*_wrap_ImageList_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25351 PyObject
*resultobj
= 0;
25352 wxImageList
*arg1
= (wxImageList
*) 0 ;
25356 PyObject
*swig_obj
[1] ;
25358 if (!args
) SWIG_fail
;
25359 swig_obj
[0] = args
;
25360 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
25361 if (!SWIG_IsOK(res1
)) {
25362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_RemoveAll" "', expected argument " "1"" of type '" "wxImageList *""'");
25364 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
25366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25367 result
= (bool)(arg1
)->RemoveAll();
25368 wxPyEndAllowThreads(__tstate
);
25369 if (PyErr_Occurred()) SWIG_fail
;
25372 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25380 SWIGINTERN PyObject
*_wrap_ImageList_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25381 PyObject
*resultobj
= 0;
25382 wxImageList
*arg1
= (wxImageList
*) 0 ;
25391 int res3
= SWIG_TMPOBJ
;
25393 int res4
= SWIG_TMPOBJ
;
25394 PyObject
* obj0
= 0 ;
25395 PyObject
* obj1
= 0 ;
25396 char * kwnames
[] = {
25397 (char *) "self",(char *) "index", NULL
25402 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25403 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
25404 if (!SWIG_IsOK(res1
)) {
25405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetSize" "', expected argument " "1"" of type '" "wxImageList *""'");
25407 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
25408 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25409 if (!SWIG_IsOK(ecode2
)) {
25410 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetSize" "', expected argument " "2"" of type '" "int""'");
25412 arg2
= static_cast< int >(val2
);
25414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25415 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
25416 wxPyEndAllowThreads(__tstate
);
25417 if (PyErr_Occurred()) SWIG_fail
;
25419 resultobj
= SWIG_Py_Void();
25420 if (SWIG_IsTmpObj(res3
)) {
25421 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
25423 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25424 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
25426 if (SWIG_IsTmpObj(res4
)) {
25427 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
25429 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25430 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
25438 SWIGINTERN PyObject
*ImageList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25440 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25441 SWIG_TypeNewClientData(SWIGTYPE_p_wxImageList
, SWIG_NewClientData(obj
));
25442 return SWIG_Py_Void();
25445 SWIGINTERN PyObject
*ImageList_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25446 return SWIG_Python_InitShadowInstance(args
);
25449 SWIGINTERN PyObject
*_wrap_new_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25450 PyObject
*resultobj
= 0;
25451 wxStockGDI
*result
= 0 ;
25453 if (!SWIG_Python_UnpackTuple(args
,"new_StockGDI",0,0,0)) SWIG_fail
;
25455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25456 result
= (wxStockGDI
*)new wxStockGDI();
25457 wxPyEndAllowThreads(__tstate
);
25458 if (PyErr_Occurred()) SWIG_fail
;
25460 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_NEW
| 0 );
25467 SWIGINTERN PyObject
*_wrap_delete_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25468 PyObject
*resultobj
= 0;
25469 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
25472 PyObject
*swig_obj
[1] ;
25474 if (!args
) SWIG_fail
;
25475 swig_obj
[0] = args
;
25476 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_DISOWN
| 0 );
25477 if (!SWIG_IsOK(res1
)) {
25478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_StockGDI" "', expected argument " "1"" of type '" "wxStockGDI *""'");
25480 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
25482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25485 wxPyEndAllowThreads(__tstate
);
25486 if (PyErr_Occurred()) SWIG_fail
;
25488 resultobj
= SWIG_Py_Void();
25495 SWIGINTERN PyObject
*_wrap_StockGDI_DeleteAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25496 PyObject
*resultobj
= 0;
25498 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_DeleteAll",0,0,0)) SWIG_fail
;
25500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25501 wxStockGDI::DeleteAll();
25502 wxPyEndAllowThreads(__tstate
);
25503 if (PyErr_Occurred()) SWIG_fail
;
25505 resultobj
= SWIG_Py_Void();
25512 SWIGINTERN PyObject
*_wrap_StockGDI_instance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25513 PyObject
*resultobj
= 0;
25514 wxStockGDI
*result
= 0 ;
25516 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_instance",0,0,0)) SWIG_fail
;
25518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25520 wxStockGDI
&_result_ref
= wxStockGDI::instance();
25521 result
= (wxStockGDI
*) &_result_ref
;
25523 wxPyEndAllowThreads(__tstate
);
25524 if (PyErr_Occurred()) SWIG_fail
;
25526 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, 0 | 0 );
25533 SWIGINTERN PyObject
*_wrap_StockGDI_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25534 PyObject
*resultobj
= 0;
25535 wxStockGDI::Item arg1
;
25536 wxBrush
*result
= 0 ;
25539 PyObject
* obj0
= 0 ;
25540 char * kwnames
[] = {
25541 (char *) "item", NULL
25544 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetBrush",kwnames
,&obj0
)) SWIG_fail
;
25545 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
25546 if (!SWIG_IsOK(ecode1
)) {
25547 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetBrush" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
25549 arg1
= static_cast< wxStockGDI::Item
>(val1
);
25551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25552 result
= (wxBrush
*)wxStockGDI::GetBrush(arg1
);
25553 wxPyEndAllowThreads(__tstate
);
25554 if (PyErr_Occurred()) SWIG_fail
;
25556 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
25563 SWIGINTERN PyObject
*_wrap_StockGDI_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25564 PyObject
*resultobj
= 0;
25565 wxStockGDI::Item arg1
;
25566 wxColour
*result
= 0 ;
25569 PyObject
* obj0
= 0 ;
25570 char * kwnames
[] = {
25571 (char *) "item", NULL
25574 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetColour",kwnames
,&obj0
)) SWIG_fail
;
25575 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
25576 if (!SWIG_IsOK(ecode1
)) {
25577 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetColour" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
25579 arg1
= static_cast< wxStockGDI::Item
>(val1
);
25581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25582 result
= (wxColour
*)wxStockGDI::GetColour(arg1
);
25583 wxPyEndAllowThreads(__tstate
);
25584 if (PyErr_Occurred()) SWIG_fail
;
25586 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
25593 SWIGINTERN PyObject
*_wrap_StockGDI_GetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25594 PyObject
*resultobj
= 0;
25595 wxStockGDI::Item arg1
;
25596 wxCursor
*result
= 0 ;
25599 PyObject
* obj0
= 0 ;
25600 char * kwnames
[] = {
25601 (char *) "item", NULL
25604 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetCursor",kwnames
,&obj0
)) SWIG_fail
;
25605 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
25606 if (!SWIG_IsOK(ecode1
)) {
25607 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetCursor" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
25609 arg1
= static_cast< wxStockGDI::Item
>(val1
);
25611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25612 result
= (wxCursor
*)wxStockGDI::GetCursor(arg1
);
25613 wxPyEndAllowThreads(__tstate
);
25614 if (PyErr_Occurred()) SWIG_fail
;
25616 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, 0 | 0 );
25623 SWIGINTERN PyObject
*_wrap_StockGDI_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25624 PyObject
*resultobj
= 0;
25625 wxStockGDI::Item arg1
;
25626 wxPen
*result
= 0 ;
25629 PyObject
* obj0
= 0 ;
25630 char * kwnames
[] = {
25631 (char *) "item", NULL
25634 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetPen",kwnames
,&obj0
)) SWIG_fail
;
25635 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
25636 if (!SWIG_IsOK(ecode1
)) {
25637 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetPen" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
25639 arg1
= static_cast< wxStockGDI::Item
>(val1
);
25641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25642 result
= (wxPen
*)wxStockGDI::GetPen(arg1
);
25643 wxPyEndAllowThreads(__tstate
);
25644 if (PyErr_Occurred()) SWIG_fail
;
25646 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
25653 SWIGINTERN PyObject
*_wrap_StockGDI_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25654 PyObject
*resultobj
= 0;
25655 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
25656 wxStockGDI::Item arg2
;
25657 wxFont
*result
= 0 ;
25662 PyObject
* obj0
= 0 ;
25663 PyObject
* obj1
= 0 ;
25664 char * kwnames
[] = {
25665 (char *) "self",(char *) "item", NULL
25668 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StockGDI_GetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25669 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStockGDI
, 0 | 0 );
25670 if (!SWIG_IsOK(res1
)) {
25671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StockGDI_GetFont" "', expected argument " "1"" of type '" "wxStockGDI *""'");
25673 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
25674 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25675 if (!SWIG_IsOK(ecode2
)) {
25676 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StockGDI_GetFont" "', expected argument " "2"" of type '" "wxStockGDI::Item""'");
25678 arg2
= static_cast< wxStockGDI::Item
>(val2
);
25680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25681 result
= (wxFont
*)(arg1
)->GetFont(arg2
);
25682 wxPyEndAllowThreads(__tstate
);
25683 if (PyErr_Occurred()) SWIG_fail
;
25685 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
25692 SWIGINTERN PyObject
*StockGDI_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25694 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25695 SWIG_TypeNewClientData(SWIGTYPE_p_wxStockGDI
, SWIG_NewClientData(obj
));
25696 return SWIG_Py_Void();
25699 SWIGINTERN PyObject
*StockGDI_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25700 return SWIG_Python_InitShadowInstance(args
);
25703 SWIGINTERN
int NullBitmap_set(PyObject
*) {
25704 SWIG_Error(SWIG_AttributeError
,"Variable NullBitmap is read-only.");
25709 SWIGINTERN PyObject
*NullBitmap_get(void) {
25710 PyObject
*pyobj
= 0;
25712 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0 );
25717 SWIGINTERN
int NullIcon_set(PyObject
*) {
25718 SWIG_Error(SWIG_AttributeError
,"Variable NullIcon is read-only.");
25723 SWIGINTERN PyObject
*NullIcon_get(void) {
25724 PyObject
*pyobj
= 0;
25726 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0 );
25731 SWIGINTERN
int NullCursor_set(PyObject
*) {
25732 SWIG_Error(SWIG_AttributeError
,"Variable NullCursor is read-only.");
25737 SWIGINTERN PyObject
*NullCursor_get(void) {
25738 PyObject
*pyobj
= 0;
25740 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0 );
25745 SWIGINTERN
int NullPen_set(PyObject
*) {
25746 SWIG_Error(SWIG_AttributeError
,"Variable NullPen is read-only.");
25751 SWIGINTERN PyObject
*NullPen_get(void) {
25752 PyObject
*pyobj
= 0;
25754 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPen
), SWIGTYPE_p_wxPen
, 0 );
25759 SWIGINTERN
int NullBrush_set(PyObject
*) {
25760 SWIG_Error(SWIG_AttributeError
,"Variable NullBrush is read-only.");
25765 SWIGINTERN PyObject
*NullBrush_get(void) {
25766 PyObject
*pyobj
= 0;
25768 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0 );
25773 SWIGINTERN
int NullPalette_set(PyObject
*) {
25774 SWIG_Error(SWIG_AttributeError
,"Variable NullPalette is read-only.");
25779 SWIGINTERN PyObject
*NullPalette_get(void) {
25780 PyObject
*pyobj
= 0;
25782 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0 );
25787 SWIGINTERN
int NullFont_set(PyObject
*) {
25788 SWIG_Error(SWIG_AttributeError
,"Variable NullFont is read-only.");
25793 SWIGINTERN PyObject
*NullFont_get(void) {
25794 PyObject
*pyobj
= 0;
25796 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullFont
), SWIGTYPE_p_wxFont
, 0 );
25801 SWIGINTERN
int NullColour_set(PyObject
*) {
25802 SWIG_Error(SWIG_AttributeError
,"Variable NullColour is read-only.");
25807 SWIGINTERN PyObject
*NullColour_get(void) {
25808 PyObject
*pyobj
= 0;
25810 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullColour
), SWIGTYPE_p_wxColour
, 0 );
25815 SWIGINTERN PyObject
*_wrap_new_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25816 PyObject
*resultobj
= 0;
25817 wxGDIObjListBase
*result
= 0 ;
25819 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObjListBase",0,0,0)) SWIG_fail
;
25821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25822 result
= (wxGDIObjListBase
*)new wxGDIObjListBase();
25823 wxPyEndAllowThreads(__tstate
);
25824 if (PyErr_Occurred()) SWIG_fail
;
25826 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_NEW
| 0 );
25833 SWIGINTERN PyObject
*_wrap_delete_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25834 PyObject
*resultobj
= 0;
25835 wxGDIObjListBase
*arg1
= (wxGDIObjListBase
*) 0 ;
25838 PyObject
*swig_obj
[1] ;
25840 if (!args
) SWIG_fail
;
25841 swig_obj
[0] = args
;
25842 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_DISOWN
| 0 );
25843 if (!SWIG_IsOK(res1
)) {
25844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObjListBase" "', expected argument " "1"" of type '" "wxGDIObjListBase *""'");
25846 arg1
= reinterpret_cast< wxGDIObjListBase
* >(argp1
);
25848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25851 wxPyEndAllowThreads(__tstate
);
25852 if (PyErr_Occurred()) SWIG_fail
;
25854 resultobj
= SWIG_Py_Void();
25861 SWIGINTERN PyObject
*GDIObjListBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25863 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25864 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObjListBase
, SWIG_NewClientData(obj
));
25865 return SWIG_Py_Void();
25868 SWIGINTERN PyObject
*GDIObjListBase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25869 return SWIG_Python_InitShadowInstance(args
);
25872 SWIGINTERN PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25873 PyObject
*resultobj
= 0;
25874 wxPenList
*arg1
= (wxPenList
*) 0 ;
25875 wxColour
*arg2
= 0 ;
25878 wxPen
*result
= 0 ;
25886 PyObject
* obj0
= 0 ;
25887 PyObject
* obj1
= 0 ;
25888 PyObject
* obj2
= 0 ;
25889 PyObject
* obj3
= 0 ;
25890 char * kwnames
[] = {
25891 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
25894 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
25895 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
25896 if (!SWIG_IsOK(res1
)) {
25897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "1"" of type '" "wxPenList *""'");
25899 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
25902 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25904 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25905 if (!SWIG_IsOK(ecode3
)) {
25906 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "3"" of type '" "int""'");
25908 arg3
= static_cast< int >(val3
);
25909 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
25910 if (!SWIG_IsOK(ecode4
)) {
25911 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "4"" of type '" "int""'");
25913 arg4
= static_cast< int >(val4
);
25915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25916 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
25917 wxPyEndAllowThreads(__tstate
);
25918 if (PyErr_Occurred()) SWIG_fail
;
25920 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
25927 SWIGINTERN PyObject
*_wrap_PenList_AddPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25928 PyObject
*resultobj
= 0;
25929 wxPenList
*arg1
= (wxPenList
*) 0 ;
25930 wxPen
*arg2
= (wxPen
*) 0 ;
25935 PyObject
* obj0
= 0 ;
25936 PyObject
* obj1
= 0 ;
25937 char * kwnames
[] = {
25938 (char *) "self",(char *) "pen", NULL
25941 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25942 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
25943 if (!SWIG_IsOK(res1
)) {
25944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_AddPen" "', expected argument " "1"" of type '" "wxPenList *""'");
25946 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
25947 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
25948 if (!SWIG_IsOK(res2
)) {
25949 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_AddPen" "', expected argument " "2"" of type '" "wxPen *""'");
25951 arg2
= reinterpret_cast< wxPen
* >(argp2
);
25953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25954 (arg1
)->AddPen(arg2
);
25955 wxPyEndAllowThreads(__tstate
);
25956 if (PyErr_Occurred()) SWIG_fail
;
25958 resultobj
= SWIG_Py_Void();
25965 SWIGINTERN PyObject
*_wrap_PenList_RemovePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25966 PyObject
*resultobj
= 0;
25967 wxPenList
*arg1
= (wxPenList
*) 0 ;
25968 wxPen
*arg2
= (wxPen
*) 0 ;
25973 PyObject
* obj0
= 0 ;
25974 PyObject
* obj1
= 0 ;
25975 char * kwnames
[] = {
25976 (char *) "self",(char *) "pen", NULL
25979 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25980 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
25981 if (!SWIG_IsOK(res1
)) {
25982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_RemovePen" "', expected argument " "1"" of type '" "wxPenList *""'");
25984 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
25985 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
25986 if (!SWIG_IsOK(res2
)) {
25987 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_RemovePen" "', expected argument " "2"" of type '" "wxPen *""'");
25989 arg2
= reinterpret_cast< wxPen
* >(argp2
);
25991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25992 (arg1
)->RemovePen(arg2
);
25993 wxPyEndAllowThreads(__tstate
);
25994 if (PyErr_Occurred()) SWIG_fail
;
25996 resultobj
= SWIG_Py_Void();
26003 SWIGINTERN PyObject
*PenList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26005 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26006 SWIG_TypeNewClientData(SWIGTYPE_p_wxPenList
, SWIG_NewClientData(obj
));
26007 return SWIG_Py_Void();
26010 SWIGINTERN PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26011 PyObject
*resultobj
= 0;
26012 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
26013 wxColour
*arg2
= 0 ;
26014 int arg3
= (int) wxSOLID
;
26015 wxBrush
*result
= 0 ;
26021 PyObject
* obj0
= 0 ;
26022 PyObject
* obj1
= 0 ;
26023 PyObject
* obj2
= 0 ;
26024 char * kwnames
[] = {
26025 (char *) "self",(char *) "colour",(char *) "style", NULL
26028 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26029 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
26030 if (!SWIG_IsOK(res1
)) {
26031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
26033 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
26036 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26039 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
26040 if (!SWIG_IsOK(ecode3
)) {
26041 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "3"" of type '" "int""'");
26043 arg3
= static_cast< int >(val3
);
26046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26047 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
26048 wxPyEndAllowThreads(__tstate
);
26049 if (PyErr_Occurred()) SWIG_fail
;
26051 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
26058 SWIGINTERN PyObject
*_wrap_BrushList_AddBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26059 PyObject
*resultobj
= 0;
26060 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
26061 wxBrush
*arg2
= (wxBrush
*) 0 ;
26066 PyObject
* obj0
= 0 ;
26067 PyObject
* obj1
= 0 ;
26068 char * kwnames
[] = {
26069 (char *) "self",(char *) "brush", NULL
26072 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26073 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
26074 if (!SWIG_IsOK(res1
)) {
26075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_AddBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
26077 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
26078 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
26079 if (!SWIG_IsOK(res2
)) {
26080 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_AddBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
26082 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
26084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26085 (arg1
)->AddBrush(arg2
);
26086 wxPyEndAllowThreads(__tstate
);
26087 if (PyErr_Occurred()) SWIG_fail
;
26089 resultobj
= SWIG_Py_Void();
26096 SWIGINTERN PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26097 PyObject
*resultobj
= 0;
26098 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
26099 wxBrush
*arg2
= (wxBrush
*) 0 ;
26104 PyObject
* obj0
= 0 ;
26105 PyObject
* obj1
= 0 ;
26106 char * kwnames
[] = {
26107 (char *) "self",(char *) "brush", NULL
26110 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26111 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
26112 if (!SWIG_IsOK(res1
)) {
26113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_RemoveBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
26115 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
26116 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
26117 if (!SWIG_IsOK(res2
)) {
26118 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_RemoveBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
26120 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
26122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26123 (arg1
)->RemoveBrush(arg2
);
26124 wxPyEndAllowThreads(__tstate
);
26125 if (PyErr_Occurred()) SWIG_fail
;
26127 resultobj
= SWIG_Py_Void();
26134 SWIGINTERN PyObject
*BrushList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26136 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26137 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrushList
, SWIG_NewClientData(obj
));
26138 return SWIG_Py_Void();
26141 SWIGINTERN PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26142 PyObject
*resultobj
= 0;
26143 wxFontList
*arg1
= (wxFontList
*) 0 ;
26148 bool arg6
= (bool) false ;
26149 wxString
const &arg7_defvalue
= wxPyEmptyString
;
26150 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
26151 wxFontEncoding arg8
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
26152 wxFont
*result
= 0 ;
26165 bool temp7
= false ;
26168 PyObject
* obj0
= 0 ;
26169 PyObject
* obj1
= 0 ;
26170 PyObject
* obj2
= 0 ;
26171 PyObject
* obj3
= 0 ;
26172 PyObject
* obj4
= 0 ;
26173 PyObject
* obj5
= 0 ;
26174 PyObject
* obj6
= 0 ;
26175 PyObject
* obj7
= 0 ;
26176 char * kwnames
[] = {
26177 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
26180 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
26181 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
26182 if (!SWIG_IsOK(res1
)) {
26183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "1"" of type '" "wxFontList *""'");
26185 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
26186 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26187 if (!SWIG_IsOK(ecode2
)) {
26188 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "2"" of type '" "int""'");
26190 arg2
= static_cast< int >(val2
);
26191 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
26192 if (!SWIG_IsOK(ecode3
)) {
26193 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "3"" of type '" "int""'");
26195 arg3
= static_cast< int >(val3
);
26196 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
26197 if (!SWIG_IsOK(ecode4
)) {
26198 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "4"" of type '" "int""'");
26200 arg4
= static_cast< int >(val4
);
26201 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
26202 if (!SWIG_IsOK(ecode5
)) {
26203 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "5"" of type '" "int""'");
26205 arg5
= static_cast< int >(val5
);
26207 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
26208 if (!SWIG_IsOK(ecode6
)) {
26209 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "6"" of type '" "bool""'");
26211 arg6
= static_cast< bool >(val6
);
26215 arg7
= wxString_in_helper(obj6
);
26216 if (arg7
== NULL
) SWIG_fail
;
26221 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
26222 if (!SWIG_IsOK(ecode8
)) {
26223 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "8"" of type '" "wxFontEncoding""'");
26225 arg8
= static_cast< wxFontEncoding
>(val8
);
26228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26229 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,arg8
);
26230 wxPyEndAllowThreads(__tstate
);
26231 if (PyErr_Occurred()) SWIG_fail
;
26233 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
26248 SWIGINTERN PyObject
*_wrap_FontList_AddFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26249 PyObject
*resultobj
= 0;
26250 wxFontList
*arg1
= (wxFontList
*) 0 ;
26251 wxFont
*arg2
= (wxFont
*) 0 ;
26256 PyObject
* obj0
= 0 ;
26257 PyObject
* obj1
= 0 ;
26258 char * kwnames
[] = {
26259 (char *) "self",(char *) "font", NULL
26262 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26263 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
26264 if (!SWIG_IsOK(res1
)) {
26265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_AddFont" "', expected argument " "1"" of type '" "wxFontList *""'");
26267 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
26268 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
26269 if (!SWIG_IsOK(res2
)) {
26270 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_AddFont" "', expected argument " "2"" of type '" "wxFont *""'");
26272 arg2
= reinterpret_cast< wxFont
* >(argp2
);
26274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26275 (arg1
)->AddFont(arg2
);
26276 wxPyEndAllowThreads(__tstate
);
26277 if (PyErr_Occurred()) SWIG_fail
;
26279 resultobj
= SWIG_Py_Void();
26286 SWIGINTERN PyObject
*_wrap_FontList_RemoveFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26287 PyObject
*resultobj
= 0;
26288 wxFontList
*arg1
= (wxFontList
*) 0 ;
26289 wxFont
*arg2
= (wxFont
*) 0 ;
26294 PyObject
* obj0
= 0 ;
26295 PyObject
* obj1
= 0 ;
26296 char * kwnames
[] = {
26297 (char *) "self",(char *) "font", NULL
26300 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26301 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
26302 if (!SWIG_IsOK(res1
)) {
26303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_RemoveFont" "', expected argument " "1"" of type '" "wxFontList *""'");
26305 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
26306 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
26307 if (!SWIG_IsOK(res2
)) {
26308 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_RemoveFont" "', expected argument " "2"" of type '" "wxFont *""'");
26310 arg2
= reinterpret_cast< wxFont
* >(argp2
);
26312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26313 (arg1
)->RemoveFont(arg2
);
26314 wxPyEndAllowThreads(__tstate
);
26315 if (PyErr_Occurred()) SWIG_fail
;
26317 resultobj
= SWIG_Py_Void();
26324 SWIGINTERN PyObject
*FontList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26326 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26327 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontList
, SWIG_NewClientData(obj
));
26328 return SWIG_Py_Void();
26331 SWIGINTERN PyObject
*_wrap_new_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26332 PyObject
*resultobj
= 0;
26333 wxColourDatabase
*result
= 0 ;
26335 if (!SWIG_Python_UnpackTuple(args
,"new_ColourDatabase",0,0,0)) SWIG_fail
;
26337 if (!wxPyCheckForApp()) SWIG_fail
;
26338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26339 result
= (wxColourDatabase
*)new wxColourDatabase();
26340 wxPyEndAllowThreads(__tstate
);
26341 if (PyErr_Occurred()) SWIG_fail
;
26343 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_NEW
| 0 );
26350 SWIGINTERN PyObject
*_wrap_delete_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26351 PyObject
*resultobj
= 0;
26352 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
26355 PyObject
*swig_obj
[1] ;
26357 if (!args
) SWIG_fail
;
26358 swig_obj
[0] = args
;
26359 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_DISOWN
| 0 );
26360 if (!SWIG_IsOK(res1
)) {
26361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourDatabase" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
26363 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
26365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26368 wxPyEndAllowThreads(__tstate
);
26369 if (PyErr_Occurred()) SWIG_fail
;
26371 resultobj
= SWIG_Py_Void();
26378 SWIGINTERN PyObject
*_wrap_ColourDatabase_Find(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26379 PyObject
*resultobj
= 0;
26380 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
26381 wxString
*arg2
= 0 ;
26385 bool temp2
= false ;
26386 PyObject
* obj0
= 0 ;
26387 PyObject
* obj1
= 0 ;
26388 char * kwnames
[] = {
26389 (char *) "self",(char *) "name", NULL
26392 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26393 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
26394 if (!SWIG_IsOK(res1
)) {
26395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Find" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
26397 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
26399 arg2
= wxString_in_helper(obj1
);
26400 if (arg2
== NULL
) SWIG_fail
;
26404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26405 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
26406 wxPyEndAllowThreads(__tstate
);
26407 if (PyErr_Occurred()) SWIG_fail
;
26409 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26424 SWIGINTERN PyObject
*_wrap_ColourDatabase_FindName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26425 PyObject
*resultobj
= 0;
26426 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
26427 wxColour
*arg2
= 0 ;
26432 PyObject
* obj0
= 0 ;
26433 PyObject
* obj1
= 0 ;
26434 char * kwnames
[] = {
26435 (char *) "self",(char *) "colour", NULL
26438 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26439 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
26440 if (!SWIG_IsOK(res1
)) {
26441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_FindName" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
26443 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
26446 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26450 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
26451 wxPyEndAllowThreads(__tstate
);
26452 if (PyErr_Occurred()) SWIG_fail
;
26456 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26458 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26467 SWIGINTERN PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26468 PyObject
*resultobj
= 0;
26469 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
26470 wxString
*arg2
= 0 ;
26471 wxColour
*arg3
= 0 ;
26474 bool temp2
= false ;
26476 PyObject
* obj0
= 0 ;
26477 PyObject
* obj1
= 0 ;
26478 PyObject
* obj2
= 0 ;
26479 char * kwnames
[] = {
26480 (char *) "self",(char *) "name",(char *) "colour", NULL
26483 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26484 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
26485 if (!SWIG_IsOK(res1
)) {
26486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_AddColour" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
26488 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
26490 arg2
= wxString_in_helper(obj1
);
26491 if (arg2
== NULL
) SWIG_fail
;
26496 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
26499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26500 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
26501 wxPyEndAllowThreads(__tstate
);
26502 if (PyErr_Occurred()) SWIG_fail
;
26504 resultobj
= SWIG_Py_Void();
26519 SWIGINTERN PyObject
*_wrap_ColourDatabase_Append(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26520 PyObject
*resultobj
= 0;
26521 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
26522 wxString
*arg2
= 0 ;
26528 bool temp2
= false ;
26535 PyObject
* obj0
= 0 ;
26536 PyObject
* obj1
= 0 ;
26537 PyObject
* obj2
= 0 ;
26538 PyObject
* obj3
= 0 ;
26539 PyObject
* obj4
= 0 ;
26540 char * kwnames
[] = {
26541 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
26544 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26545 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
26546 if (!SWIG_IsOK(res1
)) {
26547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Append" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
26549 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
26551 arg2
= wxString_in_helper(obj1
);
26552 if (arg2
== NULL
) SWIG_fail
;
26555 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
26556 if (!SWIG_IsOK(ecode3
)) {
26557 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourDatabase_Append" "', expected argument " "3"" of type '" "int""'");
26559 arg3
= static_cast< int >(val3
);
26560 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
26561 if (!SWIG_IsOK(ecode4
)) {
26562 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ColourDatabase_Append" "', expected argument " "4"" of type '" "int""'");
26564 arg4
= static_cast< int >(val4
);
26565 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
26566 if (!SWIG_IsOK(ecode5
)) {
26567 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ColourDatabase_Append" "', expected argument " "5"" of type '" "int""'");
26569 arg5
= static_cast< int >(val5
);
26571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26572 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
26573 wxPyEndAllowThreads(__tstate
);
26574 if (PyErr_Occurred()) SWIG_fail
;
26576 resultobj
= SWIG_Py_Void();
26591 SWIGINTERN PyObject
*ColourDatabase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26593 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26594 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDatabase
, SWIG_NewClientData(obj
));
26595 return SWIG_Py_Void();
26598 SWIGINTERN PyObject
*ColourDatabase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26599 return SWIG_Python_InitShadowInstance(args
);
26602 SWIGINTERN PyObject
*_wrap__wxPyInitTheFontList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26603 PyObject
*resultobj
= 0;
26604 wxFontList
*result
= 0 ;
26606 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheFontList",0,0,0)) SWIG_fail
;
26608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26609 result
= (wxFontList
*)_wxPyInitTheFontList();
26610 wxPyEndAllowThreads(__tstate
);
26611 if (PyErr_Occurred()) SWIG_fail
;
26613 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontList
, 0 | 0 );
26620 SWIGINTERN PyObject
*_wrap__wxPyInitThePenList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26621 PyObject
*resultobj
= 0;
26622 wxPenList
*result
= 0 ;
26624 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitThePenList",0,0,0)) SWIG_fail
;
26626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26627 result
= (wxPenList
*)_wxPyInitThePenList();
26628 wxPyEndAllowThreads(__tstate
);
26629 if (PyErr_Occurred()) SWIG_fail
;
26631 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPenList
, 0 | 0 );
26638 SWIGINTERN PyObject
*_wrap__wxPyInitTheBrushList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26639 PyObject
*resultobj
= 0;
26640 wxBrushList
*result
= 0 ;
26642 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheBrushList",0,0,0)) SWIG_fail
;
26644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26645 result
= (wxBrushList
*)_wxPyInitTheBrushList();
26646 wxPyEndAllowThreads(__tstate
);
26647 if (PyErr_Occurred()) SWIG_fail
;
26649 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrushList
, 0 | 0 );
26656 SWIGINTERN PyObject
*_wrap__wxPyInitTheColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26657 PyObject
*resultobj
= 0;
26658 wxColourDatabase
*result
= 0 ;
26660 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheColourDatabase",0,0,0)) SWIG_fail
;
26662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26663 result
= (wxColourDatabase
*)_wxPyInitTheColourDatabase();
26664 wxPyEndAllowThreads(__tstate
);
26665 if (PyErr_Occurred()) SWIG_fail
;
26667 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
26674 SWIGINTERN PyObject
*_wrap_new_Effects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26675 PyObject
*resultobj
= 0;
26676 wxEffects
*result
= 0 ;
26678 if (!SWIG_Python_UnpackTuple(args
,"new_Effects",0,0,0)) SWIG_fail
;
26680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26681 result
= (wxEffects
*)new wxEffects();
26682 wxPyEndAllowThreads(__tstate
);
26683 if (PyErr_Occurred()) SWIG_fail
;
26685 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEffects
, SWIG_POINTER_NEW
| 0 );
26692 SWIGINTERN PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26693 PyObject
*resultobj
= 0;
26694 wxEffects
*arg1
= (wxEffects
*) 0 ;
26698 PyObject
*swig_obj
[1] ;
26700 if (!args
) SWIG_fail
;
26701 swig_obj
[0] = args
;
26702 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
26703 if (!SWIG_IsOK(res1
)) {
26704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetHighlightColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
26706 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
26708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26709 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
26710 wxPyEndAllowThreads(__tstate
);
26711 if (PyErr_Occurred()) SWIG_fail
;
26713 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26720 SWIGINTERN PyObject
*_wrap_Effects_GetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26721 PyObject
*resultobj
= 0;
26722 wxEffects
*arg1
= (wxEffects
*) 0 ;
26726 PyObject
*swig_obj
[1] ;
26728 if (!args
) SWIG_fail
;
26729 swig_obj
[0] = args
;
26730 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
26731 if (!SWIG_IsOK(res1
)) {
26732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetLightShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
26734 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
26736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26737 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
26738 wxPyEndAllowThreads(__tstate
);
26739 if (PyErr_Occurred()) SWIG_fail
;
26741 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26748 SWIGINTERN PyObject
*_wrap_Effects_GetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26749 PyObject
*resultobj
= 0;
26750 wxEffects
*arg1
= (wxEffects
*) 0 ;
26754 PyObject
*swig_obj
[1] ;
26756 if (!args
) SWIG_fail
;
26757 swig_obj
[0] = args
;
26758 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
26759 if (!SWIG_IsOK(res1
)) {
26760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetFaceColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
26762 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
26764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26765 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
26766 wxPyEndAllowThreads(__tstate
);
26767 if (PyErr_Occurred()) SWIG_fail
;
26769 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26776 SWIGINTERN PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26777 PyObject
*resultobj
= 0;
26778 wxEffects
*arg1
= (wxEffects
*) 0 ;
26782 PyObject
*swig_obj
[1] ;
26784 if (!args
) SWIG_fail
;
26785 swig_obj
[0] = args
;
26786 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
26787 if (!SWIG_IsOK(res1
)) {
26788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetMediumShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
26790 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
26792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26793 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
26794 wxPyEndAllowThreads(__tstate
);
26795 if (PyErr_Occurred()) SWIG_fail
;
26797 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26804 SWIGINTERN PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26805 PyObject
*resultobj
= 0;
26806 wxEffects
*arg1
= (wxEffects
*) 0 ;
26810 PyObject
*swig_obj
[1] ;
26812 if (!args
) SWIG_fail
;
26813 swig_obj
[0] = args
;
26814 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
26815 if (!SWIG_IsOK(res1
)) {
26816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetDarkShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
26818 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
26820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26821 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
26822 wxPyEndAllowThreads(__tstate
);
26823 if (PyErr_Occurred()) SWIG_fail
;
26825 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26832 SWIGINTERN PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26833 PyObject
*resultobj
= 0;
26834 wxEffects
*arg1
= (wxEffects
*) 0 ;
26835 wxColour
*arg2
= 0 ;
26839 PyObject
* obj0
= 0 ;
26840 PyObject
* obj1
= 0 ;
26841 char * kwnames
[] = {
26842 (char *) "self",(char *) "c", NULL
26845 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26846 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
26847 if (!SWIG_IsOK(res1
)) {
26848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetHighlightColour" "', expected argument " "1"" of type '" "wxEffects *""'");
26850 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
26853 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26857 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
26858 wxPyEndAllowThreads(__tstate
);
26859 if (PyErr_Occurred()) SWIG_fail
;
26861 resultobj
= SWIG_Py_Void();
26868 SWIGINTERN PyObject
*_wrap_Effects_SetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26869 PyObject
*resultobj
= 0;
26870 wxEffects
*arg1
= (wxEffects
*) 0 ;
26871 wxColour
*arg2
= 0 ;
26875 PyObject
* obj0
= 0 ;
26876 PyObject
* obj1
= 0 ;
26877 char * kwnames
[] = {
26878 (char *) "self",(char *) "c", NULL
26881 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26882 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
26883 if (!SWIG_IsOK(res1
)) {
26884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetLightShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
26886 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
26889 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26893 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
26894 wxPyEndAllowThreads(__tstate
);
26895 if (PyErr_Occurred()) SWIG_fail
;
26897 resultobj
= SWIG_Py_Void();
26904 SWIGINTERN PyObject
*_wrap_Effects_SetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26905 PyObject
*resultobj
= 0;
26906 wxEffects
*arg1
= (wxEffects
*) 0 ;
26907 wxColour
*arg2
= 0 ;
26911 PyObject
* obj0
= 0 ;
26912 PyObject
* obj1
= 0 ;
26913 char * kwnames
[] = {
26914 (char *) "self",(char *) "c", NULL
26917 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26918 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
26919 if (!SWIG_IsOK(res1
)) {
26920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetFaceColour" "', expected argument " "1"" of type '" "wxEffects *""'");
26922 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
26925 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26929 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
26930 wxPyEndAllowThreads(__tstate
);
26931 if (PyErr_Occurred()) SWIG_fail
;
26933 resultobj
= SWIG_Py_Void();
26940 SWIGINTERN PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26941 PyObject
*resultobj
= 0;
26942 wxEffects
*arg1
= (wxEffects
*) 0 ;
26943 wxColour
*arg2
= 0 ;
26947 PyObject
* obj0
= 0 ;
26948 PyObject
* obj1
= 0 ;
26949 char * kwnames
[] = {
26950 (char *) "self",(char *) "c", NULL
26953 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26954 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
26955 if (!SWIG_IsOK(res1
)) {
26956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetMediumShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
26958 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
26961 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26965 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
26966 wxPyEndAllowThreads(__tstate
);
26967 if (PyErr_Occurred()) SWIG_fail
;
26969 resultobj
= SWIG_Py_Void();
26976 SWIGINTERN PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26977 PyObject
*resultobj
= 0;
26978 wxEffects
*arg1
= (wxEffects
*) 0 ;
26979 wxColour
*arg2
= 0 ;
26983 PyObject
* obj0
= 0 ;
26984 PyObject
* obj1
= 0 ;
26985 char * kwnames
[] = {
26986 (char *) "self",(char *) "c", NULL
26989 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26990 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
26991 if (!SWIG_IsOK(res1
)) {
26992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetDarkShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
26994 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
26997 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
27000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27001 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
27002 wxPyEndAllowThreads(__tstate
);
27003 if (PyErr_Occurred()) SWIG_fail
;
27005 resultobj
= SWIG_Py_Void();
27012 SWIGINTERN PyObject
*_wrap_Effects_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27013 PyObject
*resultobj
= 0;
27014 wxEffects
*arg1
= (wxEffects
*) 0 ;
27015 wxColour
*arg2
= 0 ;
27016 wxColour
*arg3
= 0 ;
27017 wxColour
*arg4
= 0 ;
27018 wxColour
*arg5
= 0 ;
27019 wxColour
*arg6
= 0 ;
27027 PyObject
* obj0
= 0 ;
27028 PyObject
* obj1
= 0 ;
27029 PyObject
* obj2
= 0 ;
27030 PyObject
* obj3
= 0 ;
27031 PyObject
* obj4
= 0 ;
27032 PyObject
* obj5
= 0 ;
27033 char * kwnames
[] = {
27034 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
27037 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
27038 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
27039 if (!SWIG_IsOK(res1
)) {
27040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_Set" "', expected argument " "1"" of type '" "wxEffects *""'");
27042 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
27045 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
27049 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
27053 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
27057 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
27061 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
27064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27065 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
27066 wxPyEndAllowThreads(__tstate
);
27067 if (PyErr_Occurred()) SWIG_fail
;
27069 resultobj
= SWIG_Py_Void();
27076 SWIGINTERN PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27077 PyObject
*resultobj
= 0;
27078 wxEffects
*arg1
= (wxEffects
*) 0 ;
27081 int arg4
= (int) 1 ;
27089 PyObject
* obj0
= 0 ;
27090 PyObject
* obj1
= 0 ;
27091 PyObject
* obj2
= 0 ;
27092 PyObject
* obj3
= 0 ;
27093 char * kwnames
[] = {
27094 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
27097 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27098 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
27099 if (!SWIG_IsOK(res1
)) {
27100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "1"" of type '" "wxEffects *""'");
27102 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
27103 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
27104 if (!SWIG_IsOK(res2
)) {
27105 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
27108 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
27110 arg2
= reinterpret_cast< wxDC
* >(argp2
);
27113 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
27116 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
27117 if (!SWIG_IsOK(ecode4
)) {
27118 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "4"" of type '" "int""'");
27120 arg4
= static_cast< int >(val4
);
27123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27124 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
27125 wxPyEndAllowThreads(__tstate
);
27126 if (PyErr_Occurred()) SWIG_fail
;
27128 resultobj
= SWIG_Py_Void();
27135 SWIGINTERN PyObject
*_wrap_Effects_TileBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27136 PyObject
*resultobj
= 0;
27137 wxEffects
*arg1
= (wxEffects
*) 0 ;
27140 wxBitmap
*arg4
= 0 ;
27149 PyObject
* obj0
= 0 ;
27150 PyObject
* obj1
= 0 ;
27151 PyObject
* obj2
= 0 ;
27152 PyObject
* obj3
= 0 ;
27153 char * kwnames
[] = {
27154 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
27157 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27158 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
27159 if (!SWIG_IsOK(res1
)) {
27160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_TileBitmap" "', expected argument " "1"" of type '" "wxEffects *""'");
27162 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
27165 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
27167 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
27168 if (!SWIG_IsOK(res3
)) {
27169 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
27172 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
27174 arg3
= reinterpret_cast< wxDC
* >(argp3
);
27175 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 );
27176 if (!SWIG_IsOK(res4
)) {
27177 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
27180 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
27182 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
27184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27185 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
27186 wxPyEndAllowThreads(__tstate
);
27187 if (PyErr_Occurred()) SWIG_fail
;
27190 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27198 SWIGINTERN PyObject
*Effects_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27200 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27201 SWIG_TypeNewClientData(SWIGTYPE_p_wxEffects
, SWIG_NewClientData(obj
));
27202 return SWIG_Py_Void();
27205 SWIGINTERN PyObject
*Effects_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27206 return SWIG_Python_InitShadowInstance(args
);
27209 SWIGINTERN PyObject
*_wrap_new_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27210 PyObject
*resultobj
= 0;
27214 wxSplitterRenderParams
*result
= 0 ;
27221 PyObject
* obj0
= 0 ;
27222 PyObject
* obj1
= 0 ;
27223 PyObject
* obj2
= 0 ;
27224 char * kwnames
[] = {
27225 (char *) "widthSash_",(char *) "border_",(char *) "isSens_", NULL
27228 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_SplitterRenderParams",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27229 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
27230 if (!SWIG_IsOK(ecode1
)) {
27231 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterRenderParams" "', expected argument " "1"" of type '" "int""'");
27233 arg1
= static_cast< int >(val1
);
27234 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27235 if (!SWIG_IsOK(ecode2
)) {
27236 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterRenderParams" "', expected argument " "2"" of type '" "int""'");
27238 arg2
= static_cast< int >(val2
);
27239 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
27240 if (!SWIG_IsOK(ecode3
)) {
27241 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplitterRenderParams" "', expected argument " "3"" of type '" "bool""'");
27243 arg3
= static_cast< bool >(val3
);
27245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27246 result
= (wxSplitterRenderParams
*)new wxSplitterRenderParams(arg1
,arg2
,arg3
);
27247 wxPyEndAllowThreads(__tstate
);
27248 if (PyErr_Occurred()) SWIG_fail
;
27250 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_NEW
| 0 );
27257 SWIGINTERN PyObject
*_wrap_delete_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27258 PyObject
*resultobj
= 0;
27259 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
27262 PyObject
*swig_obj
[1] ;
27264 if (!args
) SWIG_fail
;
27265 swig_obj
[0] = args
;
27266 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_DISOWN
| 0 );
27267 if (!SWIG_IsOK(res1
)) {
27268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_SplitterRenderParams" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
27270 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
27272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27275 wxPyEndAllowThreads(__tstate
);
27276 if (PyErr_Occurred()) SWIG_fail
;
27278 resultobj
= SWIG_Py_Void();
27285 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_widthSash_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27286 PyObject
*resultobj
= 0;
27287 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
27291 PyObject
*swig_obj
[1] ;
27293 if (!args
) SWIG_fail
;
27294 swig_obj
[0] = args
;
27295 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
27296 if (!SWIG_IsOK(res1
)) {
27297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_widthSash_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
27299 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
27300 result
= (int)(int) ((arg1
)->widthSash
);
27301 resultobj
= SWIG_From_int(static_cast< int >(result
));
27308 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_border_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27309 PyObject
*resultobj
= 0;
27310 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
27314 PyObject
*swig_obj
[1] ;
27316 if (!args
) SWIG_fail
;
27317 swig_obj
[0] = args
;
27318 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
27319 if (!SWIG_IsOK(res1
)) {
27320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_border_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
27322 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
27323 result
= (int)(int) ((arg1
)->border
);
27324 resultobj
= SWIG_From_int(static_cast< int >(result
));
27331 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_isHotSensitive_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27332 PyObject
*resultobj
= 0;
27333 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
27337 PyObject
*swig_obj
[1] ;
27339 if (!args
) SWIG_fail
;
27340 swig_obj
[0] = args
;
27341 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
27342 if (!SWIG_IsOK(res1
)) {
27343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_isHotSensitive_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
27345 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
27346 result
= (bool)(bool) ((arg1
)->isHotSensitive
);
27347 resultobj
= SWIG_From_bool(static_cast< bool >(result
));
27354 SWIGINTERN PyObject
*SplitterRenderParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27356 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27357 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterRenderParams
, SWIG_NewClientData(obj
));
27358 return SWIG_Py_Void();
27361 SWIGINTERN PyObject
*SplitterRenderParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27362 return SWIG_Python_InitShadowInstance(args
);
27365 SWIGINTERN PyObject
*_wrap_new_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27366 PyObject
*resultobj
= 0;
27369 wxRendererVersion
*result
= 0 ;
27374 PyObject
* obj0
= 0 ;
27375 PyObject
* obj1
= 0 ;
27376 char * kwnames
[] = {
27377 (char *) "version_",(char *) "age_", NULL
27380 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RendererVersion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27381 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
27382 if (!SWIG_IsOK(ecode1
)) {
27383 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_RendererVersion" "', expected argument " "1"" of type '" "int""'");
27385 arg1
= static_cast< int >(val1
);
27386 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27387 if (!SWIG_IsOK(ecode2
)) {
27388 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RendererVersion" "', expected argument " "2"" of type '" "int""'");
27390 arg2
= static_cast< int >(val2
);
27392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27393 result
= (wxRendererVersion
*)new wxRendererVersion(arg1
,arg2
);
27394 wxPyEndAllowThreads(__tstate
);
27395 if (PyErr_Occurred()) SWIG_fail
;
27397 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_NEW
| 0 );
27404 SWIGINTERN PyObject
*_wrap_delete_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27405 PyObject
*resultobj
= 0;
27406 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
27409 PyObject
*swig_obj
[1] ;
27411 if (!args
) SWIG_fail
;
27412 swig_obj
[0] = args
;
27413 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_DISOWN
| 0 );
27414 if (!SWIG_IsOK(res1
)) {
27415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RendererVersion" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
27417 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
27419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27422 wxPyEndAllowThreads(__tstate
);
27423 if (PyErr_Occurred()) SWIG_fail
;
27425 resultobj
= SWIG_Py_Void();
27432 SWIGINTERN PyObject
*_wrap_RendererVersion_IsCompatible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27433 PyObject
*resultobj
= 0;
27434 wxRendererVersion
*arg1
= 0 ;
27438 PyObject
* obj0
= 0 ;
27439 char * kwnames
[] = {
27440 (char *) "ver", NULL
27443 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererVersion_IsCompatible",kwnames
,&obj0
)) SWIG_fail
;
27444 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRendererVersion
, 0 | 0);
27445 if (!SWIG_IsOK(res1
)) {
27446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
27449 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
27451 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
27453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27454 result
= (bool)wxRendererVersion::IsCompatible((wxRendererVersion
const &)*arg1
);
27455 wxPyEndAllowThreads(__tstate
);
27456 if (PyErr_Occurred()) SWIG_fail
;
27459 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27467 SWIGINTERN PyObject
*_wrap_RendererVersion_version_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27468 PyObject
*resultobj
= 0;
27469 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
27473 PyObject
*swig_obj
[1] ;
27475 if (!args
) SWIG_fail
;
27476 swig_obj
[0] = args
;
27477 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
27478 if (!SWIG_IsOK(res1
)) {
27479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_version_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
27481 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
27482 result
= (int)(int) ((arg1
)->version
);
27483 resultobj
= SWIG_From_int(static_cast< int >(result
));
27490 SWIGINTERN PyObject
*_wrap_RendererVersion_age_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27491 PyObject
*resultobj
= 0;
27492 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
27496 PyObject
*swig_obj
[1] ;
27498 if (!args
) SWIG_fail
;
27499 swig_obj
[0] = args
;
27500 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
27501 if (!SWIG_IsOK(res1
)) {
27502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_age_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
27504 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
27505 result
= (int)(int) ((arg1
)->age
);
27506 resultobj
= SWIG_From_int(static_cast< int >(result
));
27513 SWIGINTERN PyObject
*RendererVersion_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27515 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27516 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererVersion
, SWIG_NewClientData(obj
));
27517 return SWIG_Py_Void();
27520 SWIGINTERN PyObject
*RendererVersion_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27521 return SWIG_Python_InitShadowInstance(args
);
27524 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27525 PyObject
*resultobj
= 0;
27526 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
27527 wxWindow
*arg2
= (wxWindow
*) 0 ;
27530 int arg5
= (int) 0 ;
27540 PyObject
* obj0
= 0 ;
27541 PyObject
* obj1
= 0 ;
27542 PyObject
* obj2
= 0 ;
27543 PyObject
* obj3
= 0 ;
27544 PyObject
* obj4
= 0 ;
27545 char * kwnames
[] = {
27546 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
27549 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawHeaderButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27550 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
27551 if (!SWIG_IsOK(res1
)) {
27552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
27554 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
27555 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27556 if (!SWIG_IsOK(res2
)) {
27557 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "2"" of type '" "wxWindow *""'");
27559 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27560 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
27561 if (!SWIG_IsOK(res3
)) {
27562 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
27565 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
27567 arg3
= reinterpret_cast< wxDC
* >(argp3
);
27570 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
27573 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
27574 if (!SWIG_IsOK(ecode5
)) {
27575 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "5"" of type '" "int""'");
27577 arg5
= static_cast< int >(val5
);
27580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27581 (arg1
)->DrawHeaderButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
27582 wxPyEndAllowThreads(__tstate
);
27583 if (PyErr_Occurred()) SWIG_fail
;
27585 resultobj
= SWIG_Py_Void();
27592 SWIGINTERN PyObject
*_wrap_RendererNative_DrawTreeItemButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27593 PyObject
*resultobj
= 0;
27594 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
27595 wxWindow
*arg2
= (wxWindow
*) 0 ;
27598 int arg5
= (int) 0 ;
27608 PyObject
* obj0
= 0 ;
27609 PyObject
* obj1
= 0 ;
27610 PyObject
* obj2
= 0 ;
27611 PyObject
* obj3
= 0 ;
27612 PyObject
* obj4
= 0 ;
27613 char * kwnames
[] = {
27614 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
27617 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawTreeItemButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27618 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
27619 if (!SWIG_IsOK(res1
)) {
27620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
27622 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
27623 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27624 if (!SWIG_IsOK(res2
)) {
27625 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "2"" of type '" "wxWindow *""'");
27627 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27628 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
27629 if (!SWIG_IsOK(res3
)) {
27630 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
27633 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
27635 arg3
= reinterpret_cast< wxDC
* >(argp3
);
27638 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
27641 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
27642 if (!SWIG_IsOK(ecode5
)) {
27643 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "5"" of type '" "int""'");
27645 arg5
= static_cast< int >(val5
);
27648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27649 (arg1
)->DrawTreeItemButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
27650 wxPyEndAllowThreads(__tstate
);
27651 if (PyErr_Occurred()) SWIG_fail
;
27653 resultobj
= SWIG_Py_Void();
27660 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27661 PyObject
*resultobj
= 0;
27662 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
27663 wxWindow
*arg2
= (wxWindow
*) 0 ;
27666 int arg5
= (int) 0 ;
27676 PyObject
* obj0
= 0 ;
27677 PyObject
* obj1
= 0 ;
27678 PyObject
* obj2
= 0 ;
27679 PyObject
* obj3
= 0 ;
27680 PyObject
* obj4
= 0 ;
27681 char * kwnames
[] = {
27682 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
27685 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawSplitterBorder",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27686 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
27687 if (!SWIG_IsOK(res1
)) {
27688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "1"" of type '" "wxRendererNative *""'");
27690 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
27691 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27692 if (!SWIG_IsOK(res2
)) {
27693 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "2"" of type '" "wxWindow *""'");
27695 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27696 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
27697 if (!SWIG_IsOK(res3
)) {
27698 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
27701 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
27703 arg3
= reinterpret_cast< wxDC
* >(argp3
);
27706 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
27709 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
27710 if (!SWIG_IsOK(ecode5
)) {
27711 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "5"" of type '" "int""'");
27713 arg5
= static_cast< int >(val5
);
27716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27717 (arg1
)->DrawSplitterBorder(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
27718 wxPyEndAllowThreads(__tstate
);
27719 if (PyErr_Occurred()) SWIG_fail
;
27721 resultobj
= SWIG_Py_Void();
27728 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterSash(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27729 PyObject
*resultobj
= 0;
27730 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
27731 wxWindow
*arg2
= (wxWindow
*) 0 ;
27735 wxOrientation arg6
;
27736 int arg7
= (int) 0 ;
27750 PyObject
* obj0
= 0 ;
27751 PyObject
* obj1
= 0 ;
27752 PyObject
* obj2
= 0 ;
27753 PyObject
* obj3
= 0 ;
27754 PyObject
* obj4
= 0 ;
27755 PyObject
* obj5
= 0 ;
27756 PyObject
* obj6
= 0 ;
27757 char * kwnames
[] = {
27758 (char *) "self",(char *) "win",(char *) "dc",(char *) "size",(char *) "position",(char *) "orient",(char *) "flags", NULL
27761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:RendererNative_DrawSplitterSash",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
27762 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
27763 if (!SWIG_IsOK(res1
)) {
27764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "1"" of type '" "wxRendererNative *""'");
27766 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
27767 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27768 if (!SWIG_IsOK(res2
)) {
27769 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "2"" of type '" "wxWindow *""'");
27771 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27772 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
27773 if (!SWIG_IsOK(res3
)) {
27774 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
27777 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
27779 arg3
= reinterpret_cast< wxDC
* >(argp3
);
27782 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
27784 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
27785 if (!SWIG_IsOK(ecode5
)) {
27786 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "5"" of type '" "int""'");
27788 arg5
= static_cast< int >(val5
);
27789 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
27790 if (!SWIG_IsOK(ecode6
)) {
27791 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "6"" of type '" "wxOrientation""'");
27793 arg6
= static_cast< wxOrientation
>(val6
);
27795 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
27796 if (!SWIG_IsOK(ecode7
)) {
27797 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "7"" of type '" "int""'");
27799 arg7
= static_cast< int >(val7
);
27802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27803 (arg1
)->DrawSplitterSash(arg2
,*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
);
27804 wxPyEndAllowThreads(__tstate
);
27805 if (PyErr_Occurred()) SWIG_fail
;
27807 resultobj
= SWIG_Py_Void();
27814 SWIGINTERN PyObject
*_wrap_RendererNative_DrawComboBoxDropButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27815 PyObject
*resultobj
= 0;
27816 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
27817 wxWindow
*arg2
= (wxWindow
*) 0 ;
27820 int arg5
= (int) 0 ;
27830 PyObject
* obj0
= 0 ;
27831 PyObject
* obj1
= 0 ;
27832 PyObject
* obj2
= 0 ;
27833 PyObject
* obj3
= 0 ;
27834 PyObject
* obj4
= 0 ;
27835 char * kwnames
[] = {
27836 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
27839 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawComboBoxDropButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27840 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
27841 if (!SWIG_IsOK(res1
)) {
27842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
27844 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
27845 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27846 if (!SWIG_IsOK(res2
)) {
27847 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "2"" of type '" "wxWindow *""'");
27849 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27850 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
27851 if (!SWIG_IsOK(res3
)) {
27852 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
27855 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
27857 arg3
= reinterpret_cast< wxDC
* >(argp3
);
27860 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
27863 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
27864 if (!SWIG_IsOK(ecode5
)) {
27865 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "5"" of type '" "int""'");
27867 arg5
= static_cast< int >(val5
);
27870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27871 (arg1
)->DrawComboBoxDropButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
27872 wxPyEndAllowThreads(__tstate
);
27873 if (PyErr_Occurred()) SWIG_fail
;
27875 resultobj
= SWIG_Py_Void();
27882 SWIGINTERN PyObject
*_wrap_RendererNative_DrawDropArrow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27883 PyObject
*resultobj
= 0;
27884 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
27885 wxWindow
*arg2
= (wxWindow
*) 0 ;
27888 int arg5
= (int) 0 ;
27898 PyObject
* obj0
= 0 ;
27899 PyObject
* obj1
= 0 ;
27900 PyObject
* obj2
= 0 ;
27901 PyObject
* obj3
= 0 ;
27902 PyObject
* obj4
= 0 ;
27903 char * kwnames
[] = {
27904 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
27907 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawDropArrow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27908 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
27909 if (!SWIG_IsOK(res1
)) {
27910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "1"" of type '" "wxRendererNative *""'");
27912 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
27913 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27914 if (!SWIG_IsOK(res2
)) {
27915 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "2"" of type '" "wxWindow *""'");
27917 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27918 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
27919 if (!SWIG_IsOK(res3
)) {
27920 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
27923 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
27925 arg3
= reinterpret_cast< wxDC
* >(argp3
);
27928 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
27931 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
27932 if (!SWIG_IsOK(ecode5
)) {
27933 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "5"" of type '" "int""'");
27935 arg5
= static_cast< int >(val5
);
27938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27939 (arg1
)->DrawDropArrow(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
27940 wxPyEndAllowThreads(__tstate
);
27941 if (PyErr_Occurred()) SWIG_fail
;
27943 resultobj
= SWIG_Py_Void();
27950 SWIGINTERN PyObject
*_wrap_RendererNative_DrawCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27951 PyObject
*resultobj
= 0;
27952 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
27953 wxWindow
*arg2
= (wxWindow
*) 0 ;
27956 int arg5
= (int) 0 ;
27966 PyObject
* obj0
= 0 ;
27967 PyObject
* obj1
= 0 ;
27968 PyObject
* obj2
= 0 ;
27969 PyObject
* obj3
= 0 ;
27970 PyObject
* obj4
= 0 ;
27971 char * kwnames
[] = {
27972 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
27975 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawCheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
27976 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
27977 if (!SWIG_IsOK(res1
)) {
27978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "1"" of type '" "wxRendererNative *""'");
27980 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
27981 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27982 if (!SWIG_IsOK(res2
)) {
27983 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "2"" of type '" "wxWindow *""'");
27985 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27986 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
27987 if (!SWIG_IsOK(res3
)) {
27988 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
27991 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
27993 arg3
= reinterpret_cast< wxDC
* >(argp3
);
27996 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
27999 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
28000 if (!SWIG_IsOK(ecode5
)) {
28001 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "5"" of type '" "int""'");
28003 arg5
= static_cast< int >(val5
);
28006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28007 (arg1
)->DrawCheckBox(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
28008 wxPyEndAllowThreads(__tstate
);
28009 if (PyErr_Occurred()) SWIG_fail
;
28011 resultobj
= SWIG_Py_Void();
28018 SWIGINTERN PyObject
*_wrap_RendererNative_DrawPushButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28019 PyObject
*resultobj
= 0;
28020 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
28021 wxWindow
*arg2
= (wxWindow
*) 0 ;
28024 int arg5
= (int) 0 ;
28034 PyObject
* obj0
= 0 ;
28035 PyObject
* obj1
= 0 ;
28036 PyObject
* obj2
= 0 ;
28037 PyObject
* obj3
= 0 ;
28038 PyObject
* obj4
= 0 ;
28039 char * kwnames
[] = {
28040 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
28043 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawPushButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
28044 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
28045 if (!SWIG_IsOK(res1
)) {
28046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
28048 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
28049 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28050 if (!SWIG_IsOK(res2
)) {
28051 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "2"" of type '" "wxWindow *""'");
28053 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
28054 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
28055 if (!SWIG_IsOK(res3
)) {
28056 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
28059 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
28061 arg3
= reinterpret_cast< wxDC
* >(argp3
);
28064 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
28067 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
28068 if (!SWIG_IsOK(ecode5
)) {
28069 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "5"" of type '" "int""'");
28071 arg5
= static_cast< int >(val5
);
28074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28075 (arg1
)->DrawPushButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
28076 wxPyEndAllowThreads(__tstate
);
28077 if (PyErr_Occurred()) SWIG_fail
;
28079 resultobj
= SWIG_Py_Void();
28086 SWIGINTERN PyObject
*_wrap_RendererNative_DrawItemSelectionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28087 PyObject
*resultobj
= 0;
28088 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
28089 wxWindow
*arg2
= (wxWindow
*) 0 ;
28092 int arg5
= (int) 0 ;
28102 PyObject
* obj0
= 0 ;
28103 PyObject
* obj1
= 0 ;
28104 PyObject
* obj2
= 0 ;
28105 PyObject
* obj3
= 0 ;
28106 PyObject
* obj4
= 0 ;
28107 char * kwnames
[] = {
28108 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
28111 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawItemSelectionRect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
28112 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
28113 if (!SWIG_IsOK(res1
)) {
28114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "1"" of type '" "wxRendererNative *""'");
28116 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
28117 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28118 if (!SWIG_IsOK(res2
)) {
28119 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "2"" of type '" "wxWindow *""'");
28121 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
28122 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
28123 if (!SWIG_IsOK(res3
)) {
28124 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
28127 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
28129 arg3
= reinterpret_cast< wxDC
* >(argp3
);
28132 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
28135 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
28136 if (!SWIG_IsOK(ecode5
)) {
28137 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "5"" of type '" "int""'");
28139 arg5
= static_cast< int >(val5
);
28142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28143 (arg1
)->DrawItemSelectionRect(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
28144 wxPyEndAllowThreads(__tstate
);
28145 if (PyErr_Occurred()) SWIG_fail
;
28147 resultobj
= SWIG_Py_Void();
28154 SWIGINTERN PyObject
*_wrap_RendererNative_GetSplitterParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28155 PyObject
*resultobj
= 0;
28156 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
28157 wxWindow
*arg2
= (wxWindow
*) 0 ;
28158 SwigValueWrapper
<wxSplitterRenderParams
> result
;
28163 PyObject
* obj0
= 0 ;
28164 PyObject
* obj1
= 0 ;
28165 char * kwnames
[] = {
28166 (char *) "self",(char *) "win", NULL
28169 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetSplitterParams",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28170 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
28171 if (!SWIG_IsOK(res1
)) {
28172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "1"" of type '" "wxRendererNative *""'");
28174 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
28175 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28176 if (!SWIG_IsOK(res2
)) {
28177 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "2"" of type '" "wxWindow const *""'");
28179 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
28181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28182 result
= (arg1
)->GetSplitterParams((wxWindow
const *)arg2
);
28183 wxPyEndAllowThreads(__tstate
);
28184 if (PyErr_Occurred()) SWIG_fail
;
28186 resultobj
= SWIG_NewPointerObj((new wxSplitterRenderParams(static_cast< const wxSplitterRenderParams
& >(result
))), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_OWN
| 0 );
28193 SWIGINTERN PyObject
*_wrap_RendererNative_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28194 PyObject
*resultobj
= 0;
28195 wxRendererNative
*result
= 0 ;
28197 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_Get",0,0,0)) SWIG_fail
;
28199 if (!wxPyCheckForApp()) SWIG_fail
;
28200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28202 wxRendererNative
&_result_ref
= wxRendererNative::Get();
28203 result
= (wxRendererNative
*) &_result_ref
;
28205 wxPyEndAllowThreads(__tstate
);
28206 if (PyErr_Occurred()) SWIG_fail
;
28208 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
28215 SWIGINTERN PyObject
*_wrap_RendererNative_GetGeneric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28216 PyObject
*resultobj
= 0;
28217 wxRendererNative
*result
= 0 ;
28219 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetGeneric",0,0,0)) SWIG_fail
;
28221 if (!wxPyCheckForApp()) SWIG_fail
;
28222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28224 wxRendererNative
&_result_ref
= wxRendererNative::GetGeneric();
28225 result
= (wxRendererNative
*) &_result_ref
;
28227 wxPyEndAllowThreads(__tstate
);
28228 if (PyErr_Occurred()) SWIG_fail
;
28230 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
28237 SWIGINTERN PyObject
*_wrap_RendererNative_GetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28238 PyObject
*resultobj
= 0;
28239 wxRendererNative
*result
= 0 ;
28241 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetDefault",0,0,0)) SWIG_fail
;
28243 if (!wxPyCheckForApp()) SWIG_fail
;
28244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28246 wxRendererNative
&_result_ref
= wxRendererNative::GetDefault();
28247 result
= (wxRendererNative
*) &_result_ref
;
28249 wxPyEndAllowThreads(__tstate
);
28250 if (PyErr_Occurred()) SWIG_fail
;
28252 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
28259 SWIGINTERN PyObject
*_wrap_RendererNative_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28260 PyObject
*resultobj
= 0;
28261 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
28262 wxRendererNative
*result
= 0 ;
28265 PyObject
* obj0
= 0 ;
28266 char * kwnames
[] = {
28267 (char *) "renderer", NULL
28270 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererNative_Set",kwnames
,&obj0
)) SWIG_fail
;
28271 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
28272 if (!SWIG_IsOK(res1
)) {
28273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_Set" "', expected argument " "1"" of type '" "wxRendererNative *""'");
28275 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
28277 if (!wxPyCheckForApp()) SWIG_fail
;
28278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28279 result
= (wxRendererNative
*)wxRendererNative::Set(arg1
);
28280 wxPyEndAllowThreads(__tstate
);
28281 if (PyErr_Occurred()) SWIG_fail
;
28283 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
28290 SWIGINTERN PyObject
*_wrap_RendererNative_GetVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28291 PyObject
*resultobj
= 0;
28292 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
28293 SwigValueWrapper
<wxRendererVersion
> result
;
28296 PyObject
*swig_obj
[1] ;
28298 if (!args
) SWIG_fail
;
28299 swig_obj
[0] = args
;
28300 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
28301 if (!SWIG_IsOK(res1
)) {
28302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetVersion" "', expected argument " "1"" of type '" "wxRendererNative const *""'");
28304 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
28306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28307 result
= ((wxRendererNative
const *)arg1
)->GetVersion();
28308 wxPyEndAllowThreads(__tstate
);
28309 if (PyErr_Occurred()) SWIG_fail
;
28311 resultobj
= SWIG_NewPointerObj((new wxRendererVersion(static_cast< const wxRendererVersion
& >(result
))), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_OWN
| 0 );
28318 SWIGINTERN PyObject
*RendererNative_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28320 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28321 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererNative
, SWIG_NewClientData(obj
));
28322 return SWIG_Py_Void();
28325 SWIGINTERN PyObject
*_wrap_new_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28326 PyObject
*resultobj
= 0;
28327 wxPseudoDC
*result
= 0 ;
28329 if (!SWIG_Python_UnpackTuple(args
,"new_PseudoDC",0,0,0)) SWIG_fail
;
28331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28332 result
= (wxPseudoDC
*)new wxPseudoDC();
28333 wxPyEndAllowThreads(__tstate
);
28334 if (PyErr_Occurred()) SWIG_fail
;
28336 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_NEW
| 0 );
28343 SWIGINTERN PyObject
*_wrap_PseudoDC_BeginDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28344 PyObject
*resultobj
= 0;
28345 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28348 PyObject
*swig_obj
[1] ;
28350 if (!args
) SWIG_fail
;
28351 swig_obj
[0] = args
;
28352 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28353 if (!SWIG_IsOK(res1
)) {
28354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_BeginDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28356 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28359 (arg1
)->BeginDrawing();
28360 wxPyEndAllowThreads(__tstate
);
28361 if (PyErr_Occurred()) SWIG_fail
;
28363 resultobj
= SWIG_Py_Void();
28370 SWIGINTERN PyObject
*_wrap_PseudoDC_EndDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28371 PyObject
*resultobj
= 0;
28372 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28375 PyObject
*swig_obj
[1] ;
28377 if (!args
) SWIG_fail
;
28378 swig_obj
[0] = args
;
28379 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28380 if (!SWIG_IsOK(res1
)) {
28381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_EndDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28383 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28386 (arg1
)->EndDrawing();
28387 wxPyEndAllowThreads(__tstate
);
28388 if (PyErr_Occurred()) SWIG_fail
;
28390 resultobj
= SWIG_Py_Void();
28397 SWIGINTERN PyObject
*_wrap_delete_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28398 PyObject
*resultobj
= 0;
28399 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28402 PyObject
*swig_obj
[1] ;
28404 if (!args
) SWIG_fail
;
28405 swig_obj
[0] = args
;
28406 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_DISOWN
| 0 );
28407 if (!SWIG_IsOK(res1
)) {
28408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PseudoDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28410 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28415 wxPyEndAllowThreads(__tstate
);
28416 if (PyErr_Occurred()) SWIG_fail
;
28418 resultobj
= SWIG_Py_Void();
28425 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28426 PyObject
*resultobj
= 0;
28427 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28430 PyObject
*swig_obj
[1] ;
28432 if (!args
) SWIG_fail
;
28433 swig_obj
[0] = args
;
28434 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28435 if (!SWIG_IsOK(res1
)) {
28436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveAll" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28438 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28441 (arg1
)->RemoveAll();
28442 wxPyEndAllowThreads(__tstate
);
28443 if (PyErr_Occurred()) SWIG_fail
;
28445 resultobj
= SWIG_Py_Void();
28452 SWIGINTERN PyObject
*_wrap_PseudoDC_GetLen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28453 PyObject
*resultobj
= 0;
28454 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28458 PyObject
*swig_obj
[1] ;
28460 if (!args
) SWIG_fail
;
28461 swig_obj
[0] = args
;
28462 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28463 if (!SWIG_IsOK(res1
)) {
28464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetLen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28466 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28469 result
= (int)(arg1
)->GetLen();
28470 wxPyEndAllowThreads(__tstate
);
28471 if (PyErr_Occurred()) SWIG_fail
;
28473 resultobj
= SWIG_From_int(static_cast< int >(result
));
28480 SWIGINTERN PyObject
*_wrap_PseudoDC_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28481 PyObject
*resultobj
= 0;
28482 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28488 PyObject
* obj0
= 0 ;
28489 PyObject
* obj1
= 0 ;
28490 char * kwnames
[] = {
28491 (char *) "self",(char *) "id", NULL
28494 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28495 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28496 if (!SWIG_IsOK(res1
)) {
28497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28499 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28500 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28501 if (!SWIG_IsOK(ecode2
)) {
28502 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetId" "', expected argument " "2"" of type '" "int""'");
28504 arg2
= static_cast< int >(val2
);
28506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28507 (arg1
)->SetId(arg2
);
28508 wxPyEndAllowThreads(__tstate
);
28509 if (PyErr_Occurred()) SWIG_fail
;
28511 resultobj
= SWIG_Py_Void();
28518 SWIGINTERN PyObject
*_wrap_PseudoDC_ClearId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28519 PyObject
*resultobj
= 0;
28520 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28526 PyObject
* obj0
= 0 ;
28527 PyObject
* obj1
= 0 ;
28528 char * kwnames
[] = {
28529 (char *) "self",(char *) "id", NULL
28532 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_ClearId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28533 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28534 if (!SWIG_IsOK(res1
)) {
28535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_ClearId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28537 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28538 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28539 if (!SWIG_IsOK(ecode2
)) {
28540 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_ClearId" "', expected argument " "2"" of type '" "int""'");
28542 arg2
= static_cast< int >(val2
);
28544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28545 (arg1
)->ClearId(arg2
);
28546 wxPyEndAllowThreads(__tstate
);
28547 if (PyErr_Occurred()) SWIG_fail
;
28549 resultobj
= SWIG_Py_Void();
28556 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28557 PyObject
*resultobj
= 0;
28558 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28564 PyObject
* obj0
= 0 ;
28565 PyObject
* obj1
= 0 ;
28566 char * kwnames
[] = {
28567 (char *) "self",(char *) "id", NULL
28570 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_RemoveId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28571 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28572 if (!SWIG_IsOK(res1
)) {
28573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28575 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28576 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28577 if (!SWIG_IsOK(ecode2
)) {
28578 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_RemoveId" "', expected argument " "2"" of type '" "int""'");
28580 arg2
= static_cast< int >(val2
);
28582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28583 (arg1
)->RemoveId(arg2
);
28584 wxPyEndAllowThreads(__tstate
);
28585 if (PyErr_Occurred()) SWIG_fail
;
28587 resultobj
= SWIG_Py_Void();
28594 SWIGINTERN PyObject
*_wrap_PseudoDC_TranslateId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28595 PyObject
*resultobj
= 0;
28596 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28608 PyObject
* obj0
= 0 ;
28609 PyObject
* obj1
= 0 ;
28610 PyObject
* obj2
= 0 ;
28611 PyObject
* obj3
= 0 ;
28612 char * kwnames
[] = {
28613 (char *) "self",(char *) "id",(char *) "dx",(char *) "dy", NULL
28616 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_TranslateId",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) 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_TranslateId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28621 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28622 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28623 if (!SWIG_IsOK(ecode2
)) {
28624 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_TranslateId" "', expected argument " "2"" of type '" "int""'");
28626 arg2
= static_cast< int >(val2
);
28627 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28628 if (!SWIG_IsOK(ecode3
)) {
28629 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_TranslateId" "', expected argument " "3"" of type '" "int""'");
28631 arg3
= static_cast< int >(val3
);
28632 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
28633 if (!SWIG_IsOK(ecode4
)) {
28634 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_TranslateId" "', expected argument " "4"" of type '" "int""'");
28636 arg4
= static_cast< int >(val4
);
28638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28639 (arg1
)->TranslateId(arg2
,arg3
,arg4
);
28640 wxPyEndAllowThreads(__tstate
);
28641 if (PyErr_Occurred()) SWIG_fail
;
28643 resultobj
= SWIG_Py_Void();
28650 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIdToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28651 PyObject
*resultobj
= 0;
28652 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28654 wxDC
*arg3
= (wxDC
*) 0 ;
28661 PyObject
* obj0
= 0 ;
28662 PyObject
* obj1
= 0 ;
28663 PyObject
* obj2
= 0 ;
28664 char * kwnames
[] = {
28665 (char *) "self",(char *) "id",(char *) "dc", NULL
28668 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIdToDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28669 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28670 if (!SWIG_IsOK(res1
)) {
28671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28673 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28674 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28675 if (!SWIG_IsOK(ecode2
)) {
28676 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "2"" of type '" "int""'");
28678 arg2
= static_cast< int >(val2
);
28679 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxDC
, 0 | 0 );
28680 if (!SWIG_IsOK(res3
)) {
28681 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "3"" of type '" "wxDC *""'");
28683 arg3
= reinterpret_cast< wxDC
* >(argp3
);
28685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28686 (arg1
)->DrawIdToDC(arg2
,arg3
);
28687 wxPyEndAllowThreads(__tstate
);
28688 if (PyErr_Occurred()) SWIG_fail
;
28690 resultobj
= SWIG_Py_Void();
28697 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28698 PyObject
*resultobj
= 0;
28699 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28707 PyObject
* obj0
= 0 ;
28708 PyObject
* obj1
= 0 ;
28709 PyObject
* obj2
= 0 ;
28710 char * kwnames
[] = {
28711 (char *) "self",(char *) "id",(char *) "rect", NULL
28714 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_SetIdBounds",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28715 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28716 if (!SWIG_IsOK(res1
)) {
28717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28719 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28720 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28721 if (!SWIG_IsOK(ecode2
)) {
28722 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "2"" of type '" "int""'");
28724 arg2
= static_cast< int >(val2
);
28727 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
28730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28731 (arg1
)->SetIdBounds(arg2
,*arg3
);
28732 wxPyEndAllowThreads(__tstate
);
28733 if (PyErr_Occurred()) SWIG_fail
;
28735 resultobj
= SWIG_Py_Void();
28742 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28743 PyObject
*resultobj
= 0;
28744 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28751 PyObject
* obj0
= 0 ;
28752 PyObject
* obj1
= 0 ;
28753 char * kwnames
[] = {
28754 (char *) "self",(char *) "id", NULL
28757 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdBounds",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28758 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28759 if (!SWIG_IsOK(res1
)) {
28760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28762 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28763 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28764 if (!SWIG_IsOK(ecode2
)) {
28765 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "2"" of type '" "int""'");
28767 arg2
= static_cast< int >(val2
);
28769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28770 result
= wxPseudoDC_GetIdBounds(arg1
,arg2
);
28771 wxPyEndAllowThreads(__tstate
);
28772 if (PyErr_Occurred()) SWIG_fail
;
28774 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
28781 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClipped(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28782 PyObject
*resultobj
= 0;
28783 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28784 wxDC
*arg2
= (wxDC
*) 0 ;
28791 PyObject
* obj0
= 0 ;
28792 PyObject
* obj1
= 0 ;
28793 PyObject
* obj2
= 0 ;
28794 char * kwnames
[] = {
28795 (char *) "self",(char *) "dc",(char *) "rect", NULL
28798 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClipped",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28799 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28800 if (!SWIG_IsOK(res1
)) {
28801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28803 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28804 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
28805 if (!SWIG_IsOK(res2
)) {
28806 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "2"" of type '" "wxDC *""'");
28808 arg2
= reinterpret_cast< wxDC
* >(argp2
);
28811 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
28814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28815 (arg1
)->DrawToDCClipped(arg2
,(wxRect
const &)*arg3
);
28816 wxPyEndAllowThreads(__tstate
);
28817 if (PyErr_Occurred()) SWIG_fail
;
28819 resultobj
= SWIG_Py_Void();
28826 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClippedRgn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28827 PyObject
*resultobj
= 0;
28828 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28829 wxDC
*arg2
= (wxDC
*) 0 ;
28830 wxRegion
*arg3
= 0 ;
28837 PyObject
* obj0
= 0 ;
28838 PyObject
* obj1
= 0 ;
28839 PyObject
* obj2
= 0 ;
28840 char * kwnames
[] = {
28841 (char *) "self",(char *) "dc",(char *) "region", NULL
28844 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClippedRgn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28845 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28846 if (!SWIG_IsOK(res1
)) {
28847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28849 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28850 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
28851 if (!SWIG_IsOK(res2
)) {
28852 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "2"" of type '" "wxDC *""'");
28854 arg2
= reinterpret_cast< wxDC
* >(argp2
);
28855 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxRegion
, 0 | 0);
28856 if (!SWIG_IsOK(res3
)) {
28857 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
28860 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
28862 arg3
= reinterpret_cast< wxRegion
* >(argp3
);
28864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28865 (arg1
)->DrawToDCClippedRgn(arg2
,(wxRegion
const &)*arg3
);
28866 wxPyEndAllowThreads(__tstate
);
28867 if (PyErr_Occurred()) SWIG_fail
;
28869 resultobj
= SWIG_Py_Void();
28876 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28877 PyObject
*resultobj
= 0;
28878 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28879 wxDC
*arg2
= (wxDC
*) 0 ;
28884 PyObject
* obj0
= 0 ;
28885 PyObject
* obj1
= 0 ;
28886 char * kwnames
[] = {
28887 (char *) "self",(char *) "dc", NULL
28890 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawToDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28891 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28892 if (!SWIG_IsOK(res1
)) {
28893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28895 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28896 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
28897 if (!SWIG_IsOK(res2
)) {
28898 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "2"" of type '" "wxDC *""'");
28900 arg2
= reinterpret_cast< wxDC
* >(argp2
);
28902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28903 (arg1
)->DrawToDC(arg2
);
28904 wxPyEndAllowThreads(__tstate
);
28905 if (PyErr_Occurred()) SWIG_fail
;
28907 resultobj
= SWIG_Py_Void();
28914 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28915 PyObject
*resultobj
= 0;
28916 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28919 wxColour
*arg4
= 0 ;
28920 int arg5
= (int) wxFLOOD_SURFACE
;
28930 PyObject
* obj0
= 0 ;
28931 PyObject
* obj1
= 0 ;
28932 PyObject
* obj2
= 0 ;
28933 PyObject
* obj3
= 0 ;
28934 PyObject
* obj4
= 0 ;
28935 char * kwnames
[] = {
28936 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
28939 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
28940 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
28941 if (!SWIG_IsOK(res1
)) {
28942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFill" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
28944 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
28945 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28946 if (!SWIG_IsOK(ecode2
)) {
28947 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FloodFill" "', expected argument " "2"" of type '" "int""'");
28949 arg2
= static_cast< int >(val2
);
28950 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28951 if (!SWIG_IsOK(ecode3
)) {
28952 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FloodFill" "', expected argument " "3"" of type '" "int""'");
28954 arg3
= static_cast< int >(val3
);
28957 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
28960 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
28961 if (!SWIG_IsOK(ecode5
)) {
28962 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_FloodFill" "', expected argument " "5"" of type '" "int""'");
28964 arg5
= static_cast< int >(val5
);
28967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28968 (arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
28969 wxPyEndAllowThreads(__tstate
);
28970 if (PyErr_Occurred()) SWIG_fail
;
28972 resultobj
= SWIG_Py_Void();
28979 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28980 PyObject
*resultobj
= 0;
28981 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
28982 wxPoint
*arg2
= 0 ;
28983 wxColour
*arg3
= 0 ;
28984 int arg4
= (int) wxFLOOD_SURFACE
;
28991 PyObject
* obj0
= 0 ;
28992 PyObject
* obj1
= 0 ;
28993 PyObject
* obj2
= 0 ;
28994 PyObject
* obj3
= 0 ;
28995 char * kwnames
[] = {
28996 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
28999 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29000 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29001 if (!SWIG_IsOK(res1
)) {
29002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29004 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29007 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29011 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
29014 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29015 if (!SWIG_IsOK(ecode4
)) {
29016 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
29018 arg4
= static_cast< int >(val4
);
29021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29022 (arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
29023 wxPyEndAllowThreads(__tstate
);
29024 if (PyErr_Occurred()) SWIG_fail
;
29026 resultobj
= SWIG_Py_Void();
29033 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29034 PyObject
*resultobj
= 0;
29035 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29050 PyObject
* obj0
= 0 ;
29051 PyObject
* obj1
= 0 ;
29052 PyObject
* obj2
= 0 ;
29053 PyObject
* obj3
= 0 ;
29054 PyObject
* obj4
= 0 ;
29055 char * kwnames
[] = {
29056 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
29059 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29060 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29061 if (!SWIG_IsOK(res1
)) {
29062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLine" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29064 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29065 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29066 if (!SWIG_IsOK(ecode2
)) {
29067 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawLine" "', expected argument " "2"" of type '" "int""'");
29069 arg2
= static_cast< int >(val2
);
29070 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29071 if (!SWIG_IsOK(ecode3
)) {
29072 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawLine" "', expected argument " "3"" of type '" "int""'");
29074 arg3
= static_cast< int >(val3
);
29075 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29076 if (!SWIG_IsOK(ecode4
)) {
29077 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLine" "', expected argument " "4"" of type '" "int""'");
29079 arg4
= static_cast< int >(val4
);
29080 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
29081 if (!SWIG_IsOK(ecode5
)) {
29082 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLine" "', expected argument " "5"" of type '" "int""'");
29084 arg5
= static_cast< int >(val5
);
29086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29087 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
29088 wxPyEndAllowThreads(__tstate
);
29089 if (PyErr_Occurred()) SWIG_fail
;
29091 resultobj
= SWIG_Py_Void();
29098 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29099 PyObject
*resultobj
= 0;
29100 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29101 wxPoint
*arg2
= 0 ;
29102 wxPoint
*arg3
= 0 ;
29107 PyObject
* obj0
= 0 ;
29108 PyObject
* obj1
= 0 ;
29109 PyObject
* obj2
= 0 ;
29110 char * kwnames
[] = {
29111 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
29114 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29115 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29116 if (!SWIG_IsOK(res1
)) {
29117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLinePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29119 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29122 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29126 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29130 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
29131 wxPyEndAllowThreads(__tstate
);
29132 if (PyErr_Occurred()) SWIG_fail
;
29134 resultobj
= SWIG_Py_Void();
29141 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29142 PyObject
*resultobj
= 0;
29143 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29152 PyObject
* obj0
= 0 ;
29153 PyObject
* obj1
= 0 ;
29154 PyObject
* obj2
= 0 ;
29155 char * kwnames
[] = {
29156 (char *) "self",(char *) "x",(char *) "y", NULL
29159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29160 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29161 if (!SWIG_IsOK(res1
)) {
29162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHair" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29164 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29165 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29166 if (!SWIG_IsOK(ecode2
)) {
29167 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_CrossHair" "', expected argument " "2"" of type '" "int""'");
29169 arg2
= static_cast< int >(val2
);
29170 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29171 if (!SWIG_IsOK(ecode3
)) {
29172 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_CrossHair" "', expected argument " "3"" of type '" "int""'");
29174 arg3
= static_cast< int >(val3
);
29176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29177 (arg1
)->CrossHair(arg2
,arg3
);
29178 wxPyEndAllowThreads(__tstate
);
29179 if (PyErr_Occurred()) SWIG_fail
;
29181 resultobj
= SWIG_Py_Void();
29188 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29189 PyObject
*resultobj
= 0;
29190 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29191 wxPoint
*arg2
= 0 ;
29195 PyObject
* obj0
= 0 ;
29196 PyObject
* obj1
= 0 ;
29197 char * kwnames
[] = {
29198 (char *) "self",(char *) "pt", NULL
29201 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29202 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29203 if (!SWIG_IsOK(res1
)) {
29204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHairPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29206 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29209 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29213 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
29214 wxPyEndAllowThreads(__tstate
);
29215 if (PyErr_Occurred()) SWIG_fail
;
29217 resultobj
= SWIG_Py_Void();
29224 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29225 PyObject
*resultobj
= 0;
29226 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29247 PyObject
* obj0
= 0 ;
29248 PyObject
* obj1
= 0 ;
29249 PyObject
* obj2
= 0 ;
29250 PyObject
* obj3
= 0 ;
29251 PyObject
* obj4
= 0 ;
29252 PyObject
* obj5
= 0 ;
29253 PyObject
* obj6
= 0 ;
29254 char * kwnames
[] = {
29255 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
29258 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
29259 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29260 if (!SWIG_IsOK(res1
)) {
29261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29263 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29264 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29265 if (!SWIG_IsOK(ecode2
)) {
29266 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawArc" "', expected argument " "2"" of type '" "int""'");
29268 arg2
= static_cast< int >(val2
);
29269 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29270 if (!SWIG_IsOK(ecode3
)) {
29271 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawArc" "', expected argument " "3"" of type '" "int""'");
29273 arg3
= static_cast< int >(val3
);
29274 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29275 if (!SWIG_IsOK(ecode4
)) {
29276 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawArc" "', expected argument " "4"" of type '" "int""'");
29278 arg4
= static_cast< int >(val4
);
29279 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
29280 if (!SWIG_IsOK(ecode5
)) {
29281 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawArc" "', expected argument " "5"" of type '" "int""'");
29283 arg5
= static_cast< int >(val5
);
29284 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
29285 if (!SWIG_IsOK(ecode6
)) {
29286 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawArc" "', expected argument " "6"" of type '" "int""'");
29288 arg6
= static_cast< int >(val6
);
29289 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
29290 if (!SWIG_IsOK(ecode7
)) {
29291 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawArc" "', expected argument " "7"" of type '" "int""'");
29293 arg7
= static_cast< int >(val7
);
29295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29296 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
29297 wxPyEndAllowThreads(__tstate
);
29298 if (PyErr_Occurred()) SWIG_fail
;
29300 resultobj
= SWIG_Py_Void();
29307 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29308 PyObject
*resultobj
= 0;
29309 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29310 wxPoint
*arg2
= 0 ;
29311 wxPoint
*arg3
= 0 ;
29312 wxPoint
*arg4
= 0 ;
29318 PyObject
* obj0
= 0 ;
29319 PyObject
* obj1
= 0 ;
29320 PyObject
* obj2
= 0 ;
29321 PyObject
* obj3
= 0 ;
29322 char * kwnames
[] = {
29323 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
29326 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29327 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29328 if (!SWIG_IsOK(res1
)) {
29329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArcPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29331 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29334 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29338 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29342 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
29345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29346 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
29347 wxPyEndAllowThreads(__tstate
);
29348 if (PyErr_Occurred()) SWIG_fail
;
29350 resultobj
= SWIG_Py_Void();
29357 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29358 PyObject
*resultobj
= 0;
29359 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29374 PyObject
* obj0
= 0 ;
29375 PyObject
* obj1
= 0 ;
29376 PyObject
* obj2
= 0 ;
29377 PyObject
* obj3
= 0 ;
29378 PyObject
* obj4
= 0 ;
29379 char * kwnames
[] = {
29380 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
29383 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29384 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29385 if (!SWIG_IsOK(res1
)) {
29386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29388 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29389 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29390 if (!SWIG_IsOK(ecode2
)) {
29391 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
29393 arg2
= static_cast< int >(val2
);
29394 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29395 if (!SWIG_IsOK(ecode3
)) {
29396 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
29398 arg3
= static_cast< int >(val3
);
29399 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29400 if (!SWIG_IsOK(ecode4
)) {
29401 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
29403 arg4
= static_cast< int >(val4
);
29404 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
29405 if (!SWIG_IsOK(ecode5
)) {
29406 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
29408 arg5
= static_cast< int >(val5
);
29410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29411 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
29412 wxPyEndAllowThreads(__tstate
);
29413 if (PyErr_Occurred()) SWIG_fail
;
29415 resultobj
= SWIG_Py_Void();
29422 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29423 PyObject
*resultobj
= 0;
29424 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29429 PyObject
* obj0
= 0 ;
29430 PyObject
* obj1
= 0 ;
29431 char * kwnames
[] = {
29432 (char *) "self",(char *) "rect", NULL
29435 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29436 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29437 if (!SWIG_IsOK(res1
)) {
29438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29440 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29443 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
29446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29447 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
29448 wxPyEndAllowThreads(__tstate
);
29449 if (PyErr_Occurred()) SWIG_fail
;
29451 resultobj
= SWIG_Py_Void();
29458 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29459 PyObject
*resultobj
= 0;
29460 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29481 PyObject
* obj0
= 0 ;
29482 PyObject
* obj1
= 0 ;
29483 PyObject
* obj2
= 0 ;
29484 PyObject
* obj3
= 0 ;
29485 PyObject
* obj4
= 0 ;
29486 PyObject
* obj5
= 0 ;
29487 PyObject
* obj6
= 0 ;
29488 char * kwnames
[] = {
29489 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
29492 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
29493 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29494 if (!SWIG_IsOK(res1
)) {
29495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29497 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29498 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29499 if (!SWIG_IsOK(ecode2
)) {
29500 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
29502 arg2
= static_cast< int >(val2
);
29503 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29504 if (!SWIG_IsOK(ecode3
)) {
29505 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
29507 arg3
= static_cast< int >(val3
);
29508 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29509 if (!SWIG_IsOK(ecode4
)) {
29510 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
29512 arg4
= static_cast< int >(val4
);
29513 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
29514 if (!SWIG_IsOK(ecode5
)) {
29515 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
29517 arg5
= static_cast< int >(val5
);
29518 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
29519 if (!SWIG_IsOK(ecode6
)) {
29520 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
29522 arg6
= static_cast< double >(val6
);
29523 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
29524 if (!SWIG_IsOK(ecode7
)) {
29525 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
29527 arg7
= static_cast< double >(val7
);
29529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29530 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
29531 wxPyEndAllowThreads(__tstate
);
29532 if (PyErr_Occurred()) SWIG_fail
;
29534 resultobj
= SWIG_Py_Void();
29541 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29542 PyObject
*resultobj
= 0;
29543 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29544 wxPoint
*arg2
= 0 ;
29556 PyObject
* obj0
= 0 ;
29557 PyObject
* obj1
= 0 ;
29558 PyObject
* obj2
= 0 ;
29559 PyObject
* obj3
= 0 ;
29560 PyObject
* obj4
= 0 ;
29561 char * kwnames
[] = {
29562 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
29565 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29566 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29567 if (!SWIG_IsOK(res1
)) {
29568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29570 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29573 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29577 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
29579 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29580 if (!SWIG_IsOK(ecode4
)) {
29581 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
29583 arg4
= static_cast< double >(val4
);
29584 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
29585 if (!SWIG_IsOK(ecode5
)) {
29586 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
29588 arg5
= static_cast< double >(val5
);
29590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29591 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
29592 wxPyEndAllowThreads(__tstate
);
29593 if (PyErr_Occurred()) SWIG_fail
;
29595 resultobj
= SWIG_Py_Void();
29602 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29603 PyObject
*resultobj
= 0;
29604 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29613 PyObject
* obj0
= 0 ;
29614 PyObject
* obj1
= 0 ;
29615 PyObject
* obj2
= 0 ;
29616 char * kwnames
[] = {
29617 (char *) "self",(char *) "x",(char *) "y", NULL
29620 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29621 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29622 if (!SWIG_IsOK(res1
)) {
29623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29625 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29626 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29627 if (!SWIG_IsOK(ecode2
)) {
29628 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
29630 arg2
= static_cast< int >(val2
);
29631 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29632 if (!SWIG_IsOK(ecode3
)) {
29633 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
29635 arg3
= static_cast< int >(val3
);
29637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29638 (arg1
)->DrawPoint(arg2
,arg3
);
29639 wxPyEndAllowThreads(__tstate
);
29640 if (PyErr_Occurred()) SWIG_fail
;
29642 resultobj
= SWIG_Py_Void();
29649 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29650 PyObject
*resultobj
= 0;
29651 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29652 wxPoint
*arg2
= 0 ;
29656 PyObject
* obj0
= 0 ;
29657 PyObject
* obj1
= 0 ;
29658 char * kwnames
[] = {
29659 (char *) "self",(char *) "pt", NULL
29662 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29663 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29664 if (!SWIG_IsOK(res1
)) {
29665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPointPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29667 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29670 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29674 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
29675 wxPyEndAllowThreads(__tstate
);
29676 if (PyErr_Occurred()) SWIG_fail
;
29678 resultobj
= SWIG_Py_Void();
29685 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29686 PyObject
*resultobj
= 0;
29687 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29702 PyObject
* obj0
= 0 ;
29703 PyObject
* obj1
= 0 ;
29704 PyObject
* obj2
= 0 ;
29705 PyObject
* obj3
= 0 ;
29706 PyObject
* obj4
= 0 ;
29707 char * kwnames
[] = {
29708 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
29711 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29712 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29713 if (!SWIG_IsOK(res1
)) {
29714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29716 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29717 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29718 if (!SWIG_IsOK(ecode2
)) {
29719 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
29721 arg2
= static_cast< int >(val2
);
29722 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29723 if (!SWIG_IsOK(ecode3
)) {
29724 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
29726 arg3
= static_cast< int >(val3
);
29727 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29728 if (!SWIG_IsOK(ecode4
)) {
29729 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
29731 arg4
= static_cast< int >(val4
);
29732 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
29733 if (!SWIG_IsOK(ecode5
)) {
29734 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
29736 arg5
= static_cast< int >(val5
);
29738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29739 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
29740 wxPyEndAllowThreads(__tstate
);
29741 if (PyErr_Occurred()) SWIG_fail
;
29743 resultobj
= SWIG_Py_Void();
29750 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29751 PyObject
*resultobj
= 0;
29752 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29757 PyObject
* obj0
= 0 ;
29758 PyObject
* obj1
= 0 ;
29759 char * kwnames
[] = {
29760 (char *) "self",(char *) "rect", NULL
29763 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29764 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29765 if (!SWIG_IsOK(res1
)) {
29766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29768 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29771 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
29774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29775 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
29776 wxPyEndAllowThreads(__tstate
);
29777 if (PyErr_Occurred()) SWIG_fail
;
29779 resultobj
= SWIG_Py_Void();
29786 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29787 PyObject
*resultobj
= 0;
29788 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29789 wxPoint
*arg2
= 0 ;
29795 PyObject
* obj0
= 0 ;
29796 PyObject
* obj1
= 0 ;
29797 PyObject
* obj2
= 0 ;
29798 char * kwnames
[] = {
29799 (char *) "self",(char *) "pt",(char *) "sz", NULL
29802 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29803 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29804 if (!SWIG_IsOK(res1
)) {
29805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29807 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29810 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29814 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
29817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29818 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
29819 wxPyEndAllowThreads(__tstate
);
29820 if (PyErr_Occurred()) SWIG_fail
;
29822 resultobj
= SWIG_Py_Void();
29829 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29830 PyObject
*resultobj
= 0;
29831 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29849 PyObject
* obj0
= 0 ;
29850 PyObject
* obj1
= 0 ;
29851 PyObject
* obj2
= 0 ;
29852 PyObject
* obj3
= 0 ;
29853 PyObject
* obj4
= 0 ;
29854 PyObject
* obj5
= 0 ;
29855 char * kwnames
[] = {
29856 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
29859 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PseudoDC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29860 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29861 if (!SWIG_IsOK(res1
)) {
29862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29864 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29865 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29866 if (!SWIG_IsOK(ecode2
)) {
29867 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
29869 arg2
= static_cast< int >(val2
);
29870 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29871 if (!SWIG_IsOK(ecode3
)) {
29872 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
29874 arg3
= static_cast< int >(val3
);
29875 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29876 if (!SWIG_IsOK(ecode4
)) {
29877 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
29879 arg4
= static_cast< int >(val4
);
29880 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
29881 if (!SWIG_IsOK(ecode5
)) {
29882 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
29884 arg5
= static_cast< int >(val5
);
29885 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
29886 if (!SWIG_IsOK(ecode6
)) {
29887 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
29889 arg6
= static_cast< double >(val6
);
29891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29892 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
29893 wxPyEndAllowThreads(__tstate
);
29894 if (PyErr_Occurred()) SWIG_fail
;
29896 resultobj
= SWIG_Py_Void();
29903 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29904 PyObject
*resultobj
= 0;
29905 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29913 PyObject
* obj0
= 0 ;
29914 PyObject
* obj1
= 0 ;
29915 PyObject
* obj2
= 0 ;
29916 char * kwnames
[] = {
29917 (char *) "self",(char *) "r",(char *) "radius", NULL
29920 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29921 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29922 if (!SWIG_IsOK(res1
)) {
29923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29925 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29928 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
29930 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
29931 if (!SWIG_IsOK(ecode3
)) {
29932 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
29934 arg3
= static_cast< double >(val3
);
29936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29937 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
29938 wxPyEndAllowThreads(__tstate
);
29939 if (PyErr_Occurred()) SWIG_fail
;
29941 resultobj
= SWIG_Py_Void();
29948 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29949 PyObject
*resultobj
= 0;
29950 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
29951 wxPoint
*arg2
= 0 ;
29960 PyObject
* obj0
= 0 ;
29961 PyObject
* obj1
= 0 ;
29962 PyObject
* obj2
= 0 ;
29963 PyObject
* obj3
= 0 ;
29964 char * kwnames
[] = {
29965 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
29968 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29969 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
29970 if (!SWIG_IsOK(res1
)) {
29971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
29973 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
29976 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29980 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
29982 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
29983 if (!SWIG_IsOK(ecode4
)) {
29984 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
29986 arg4
= static_cast< double >(val4
);
29988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29989 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
29990 wxPyEndAllowThreads(__tstate
);
29991 if (PyErr_Occurred()) SWIG_fail
;
29993 resultobj
= SWIG_Py_Void();
30000 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30001 PyObject
*resultobj
= 0;
30002 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30014 PyObject
* obj0
= 0 ;
30015 PyObject
* obj1
= 0 ;
30016 PyObject
* obj2
= 0 ;
30017 PyObject
* obj3
= 0 ;
30018 char * kwnames
[] = {
30019 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
30022 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30023 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30024 if (!SWIG_IsOK(res1
)) {
30025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30027 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30028 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30029 if (!SWIG_IsOK(ecode2
)) {
30030 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
30032 arg2
= static_cast< int >(val2
);
30033 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30034 if (!SWIG_IsOK(ecode3
)) {
30035 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
30037 arg3
= static_cast< int >(val3
);
30038 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30039 if (!SWIG_IsOK(ecode4
)) {
30040 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
30042 arg4
= static_cast< int >(val4
);
30044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30045 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
30046 wxPyEndAllowThreads(__tstate
);
30047 if (PyErr_Occurred()) SWIG_fail
;
30049 resultobj
= SWIG_Py_Void();
30056 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30057 PyObject
*resultobj
= 0;
30058 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30059 wxPoint
*arg2
= 0 ;
30066 PyObject
* obj0
= 0 ;
30067 PyObject
* obj1
= 0 ;
30068 PyObject
* obj2
= 0 ;
30069 char * kwnames
[] = {
30070 (char *) "self",(char *) "pt",(char *) "radius", NULL
30073 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30074 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30075 if (!SWIG_IsOK(res1
)) {
30076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30078 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30081 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30083 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30084 if (!SWIG_IsOK(ecode3
)) {
30085 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
30087 arg3
= static_cast< int >(val3
);
30089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30090 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
30091 wxPyEndAllowThreads(__tstate
);
30092 if (PyErr_Occurred()) SWIG_fail
;
30094 resultobj
= SWIG_Py_Void();
30101 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30102 PyObject
*resultobj
= 0;
30103 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30118 PyObject
* obj0
= 0 ;
30119 PyObject
* obj1
= 0 ;
30120 PyObject
* obj2
= 0 ;
30121 PyObject
* obj3
= 0 ;
30122 PyObject
* obj4
= 0 ;
30123 char * kwnames
[] = {
30124 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
30127 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30128 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30129 if (!SWIG_IsOK(res1
)) {
30130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30132 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30133 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30134 if (!SWIG_IsOK(ecode2
)) {
30135 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
30137 arg2
= static_cast< int >(val2
);
30138 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30139 if (!SWIG_IsOK(ecode3
)) {
30140 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
30142 arg3
= static_cast< int >(val3
);
30143 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30144 if (!SWIG_IsOK(ecode4
)) {
30145 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
30147 arg4
= static_cast< int >(val4
);
30148 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30149 if (!SWIG_IsOK(ecode5
)) {
30150 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
30152 arg5
= static_cast< int >(val5
);
30154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30155 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
30156 wxPyEndAllowThreads(__tstate
);
30157 if (PyErr_Occurred()) SWIG_fail
;
30159 resultobj
= SWIG_Py_Void();
30166 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30167 PyObject
*resultobj
= 0;
30168 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30173 PyObject
* obj0
= 0 ;
30174 PyObject
* obj1
= 0 ;
30175 char * kwnames
[] = {
30176 (char *) "self",(char *) "rect", NULL
30179 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30180 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30181 if (!SWIG_IsOK(res1
)) {
30182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30184 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30187 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
30190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30191 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
30192 wxPyEndAllowThreads(__tstate
);
30193 if (PyErr_Occurred()) SWIG_fail
;
30195 resultobj
= SWIG_Py_Void();
30202 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30203 PyObject
*resultobj
= 0;
30204 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30205 wxPoint
*arg2
= 0 ;
30211 PyObject
* obj0
= 0 ;
30212 PyObject
* obj1
= 0 ;
30213 PyObject
* obj2
= 0 ;
30214 char * kwnames
[] = {
30215 (char *) "self",(char *) "pt",(char *) "sz", NULL
30218 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30219 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30220 if (!SWIG_IsOK(res1
)) {
30221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30223 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30226 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30230 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
30233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30234 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
30235 wxPyEndAllowThreads(__tstate
);
30236 if (PyErr_Occurred()) SWIG_fail
;
30238 resultobj
= SWIG_Py_Void();
30245 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30246 PyObject
*resultobj
= 0;
30247 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30259 PyObject
* obj0
= 0 ;
30260 PyObject
* obj1
= 0 ;
30261 PyObject
* obj2
= 0 ;
30262 PyObject
* obj3
= 0 ;
30263 char * kwnames
[] = {
30264 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
30267 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30268 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30269 if (!SWIG_IsOK(res1
)) {
30270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30272 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30273 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
30274 if (!SWIG_IsOK(res2
)) {
30275 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
30278 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
30280 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
30281 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30282 if (!SWIG_IsOK(ecode3
)) {
30283 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
30285 arg3
= static_cast< int >(val3
);
30286 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30287 if (!SWIG_IsOK(ecode4
)) {
30288 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
30290 arg4
= static_cast< int >(val4
);
30292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30293 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
30294 wxPyEndAllowThreads(__tstate
);
30295 if (PyErr_Occurred()) SWIG_fail
;
30297 resultobj
= SWIG_Py_Void();
30304 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30305 PyObject
*resultobj
= 0;
30306 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30308 wxPoint
*arg3
= 0 ;
30314 PyObject
* obj0
= 0 ;
30315 PyObject
* obj1
= 0 ;
30316 PyObject
* obj2
= 0 ;
30317 char * kwnames
[] = {
30318 (char *) "self",(char *) "icon",(char *) "pt", NULL
30321 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30322 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30323 if (!SWIG_IsOK(res1
)) {
30324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30326 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30327 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
30328 if (!SWIG_IsOK(res2
)) {
30329 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
30332 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
30334 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
30337 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30341 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
30342 wxPyEndAllowThreads(__tstate
);
30343 if (PyErr_Occurred()) SWIG_fail
;
30345 resultobj
= SWIG_Py_Void();
30352 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30353 PyObject
*resultobj
= 0;
30354 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30355 wxBitmap
*arg2
= 0 ;
30358 bool arg5
= (bool) false ;
30369 PyObject
* obj0
= 0 ;
30370 PyObject
* obj1
= 0 ;
30371 PyObject
* obj2
= 0 ;
30372 PyObject
* obj3
= 0 ;
30373 PyObject
* obj4
= 0 ;
30374 char * kwnames
[] = {
30375 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
30378 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30379 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30380 if (!SWIG_IsOK(res1
)) {
30381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30383 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30384 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
30385 if (!SWIG_IsOK(res2
)) {
30386 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
30389 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
30391 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
30392 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30393 if (!SWIG_IsOK(ecode3
)) {
30394 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
30396 arg3
= static_cast< int >(val3
);
30397 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30398 if (!SWIG_IsOK(ecode4
)) {
30399 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
30401 arg4
= static_cast< int >(val4
);
30403 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
30404 if (!SWIG_IsOK(ecode5
)) {
30405 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
30407 arg5
= static_cast< bool >(val5
);
30410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30411 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
30412 wxPyEndAllowThreads(__tstate
);
30413 if (PyErr_Occurred()) SWIG_fail
;
30415 resultobj
= SWIG_Py_Void();
30422 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30423 PyObject
*resultobj
= 0;
30424 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30425 wxBitmap
*arg2
= 0 ;
30426 wxPoint
*arg3
= 0 ;
30427 bool arg4
= (bool) false ;
30435 PyObject
* obj0
= 0 ;
30436 PyObject
* obj1
= 0 ;
30437 PyObject
* obj2
= 0 ;
30438 PyObject
* obj3
= 0 ;
30439 char * kwnames
[] = {
30440 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
30443 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30444 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30445 if (!SWIG_IsOK(res1
)) {
30446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30448 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30449 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
30450 if (!SWIG_IsOK(res2
)) {
30451 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
30454 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
30456 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
30459 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30462 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
30463 if (!SWIG_IsOK(ecode4
)) {
30464 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
30466 arg4
= static_cast< bool >(val4
);
30469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30470 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
30471 wxPyEndAllowThreads(__tstate
);
30472 if (PyErr_Occurred()) SWIG_fail
;
30474 resultobj
= SWIG_Py_Void();
30481 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30482 PyObject
*resultobj
= 0;
30483 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30484 wxString
*arg2
= 0 ;
30489 bool temp2
= false ;
30494 PyObject
* obj0
= 0 ;
30495 PyObject
* obj1
= 0 ;
30496 PyObject
* obj2
= 0 ;
30497 PyObject
* obj3
= 0 ;
30498 char * kwnames
[] = {
30499 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
30502 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30503 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30504 if (!SWIG_IsOK(res1
)) {
30505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30507 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30509 arg2
= wxString_in_helper(obj1
);
30510 if (arg2
== NULL
) SWIG_fail
;
30513 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30514 if (!SWIG_IsOK(ecode3
)) {
30515 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawText" "', expected argument " "3"" of type '" "int""'");
30517 arg3
= static_cast< int >(val3
);
30518 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30519 if (!SWIG_IsOK(ecode4
)) {
30520 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawText" "', expected argument " "4"" of type '" "int""'");
30522 arg4
= static_cast< int >(val4
);
30524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30525 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
30526 wxPyEndAllowThreads(__tstate
);
30527 if (PyErr_Occurred()) SWIG_fail
;
30529 resultobj
= SWIG_Py_Void();
30544 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30545 PyObject
*resultobj
= 0;
30546 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30547 wxString
*arg2
= 0 ;
30548 wxPoint
*arg3
= 0 ;
30551 bool temp2
= false ;
30553 PyObject
* obj0
= 0 ;
30554 PyObject
* obj1
= 0 ;
30555 PyObject
* obj2
= 0 ;
30556 char * kwnames
[] = {
30557 (char *) "self",(char *) "text",(char *) "pt", NULL
30560 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30561 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30562 if (!SWIG_IsOK(res1
)) {
30563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30565 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30567 arg2
= wxString_in_helper(obj1
);
30568 if (arg2
== NULL
) SWIG_fail
;
30573 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30577 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
30578 wxPyEndAllowThreads(__tstate
);
30579 if (PyErr_Occurred()) SWIG_fail
;
30581 resultobj
= SWIG_Py_Void();
30596 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30597 PyObject
*resultobj
= 0;
30598 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30599 wxString
*arg2
= 0 ;
30605 bool temp2
= false ;
30612 PyObject
* obj0
= 0 ;
30613 PyObject
* obj1
= 0 ;
30614 PyObject
* obj2
= 0 ;
30615 PyObject
* obj3
= 0 ;
30616 PyObject
* obj4
= 0 ;
30617 char * kwnames
[] = {
30618 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
30621 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30622 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30623 if (!SWIG_IsOK(res1
)) {
30624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30626 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30628 arg2
= wxString_in_helper(obj1
);
30629 if (arg2
== NULL
) SWIG_fail
;
30632 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30633 if (!SWIG_IsOK(ecode3
)) {
30634 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
30636 arg3
= static_cast< int >(val3
);
30637 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30638 if (!SWIG_IsOK(ecode4
)) {
30639 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
30641 arg4
= static_cast< int >(val4
);
30642 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
30643 if (!SWIG_IsOK(ecode5
)) {
30644 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
30646 arg5
= static_cast< double >(val5
);
30648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30649 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
30650 wxPyEndAllowThreads(__tstate
);
30651 if (PyErr_Occurred()) SWIG_fail
;
30653 resultobj
= SWIG_Py_Void();
30668 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30669 PyObject
*resultobj
= 0;
30670 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30671 wxString
*arg2
= 0 ;
30672 wxPoint
*arg3
= 0 ;
30676 bool temp2
= false ;
30680 PyObject
* obj0
= 0 ;
30681 PyObject
* obj1
= 0 ;
30682 PyObject
* obj2
= 0 ;
30683 PyObject
* obj3
= 0 ;
30684 char * kwnames
[] = {
30685 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
30688 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30689 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30690 if (!SWIG_IsOK(res1
)) {
30691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30693 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30695 arg2
= wxString_in_helper(obj1
);
30696 if (arg2
== NULL
) SWIG_fail
;
30701 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30703 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
30704 if (!SWIG_IsOK(ecode4
)) {
30705 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
30707 arg4
= static_cast< double >(val4
);
30709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30710 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
30711 wxPyEndAllowThreads(__tstate
);
30712 if (PyErr_Occurred()) SWIG_fail
;
30714 resultobj
= SWIG_Py_Void();
30729 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30730 PyObject
*resultobj
= 0;
30731 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30733 wxPoint
*arg3
= (wxPoint
*) 0 ;
30734 int arg4
= (int) 0 ;
30735 int arg5
= (int) 0 ;
30742 PyObject
* obj0
= 0 ;
30743 PyObject
* obj1
= 0 ;
30744 PyObject
* obj2
= 0 ;
30745 PyObject
* obj3
= 0 ;
30746 char * kwnames
[] = {
30747 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
30750 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:PseudoDC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30751 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30752 if (!SWIG_IsOK(res1
)) {
30753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLines" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30755 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30757 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
30758 if (arg3
== NULL
) SWIG_fail
;
30761 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
30762 if (!SWIG_IsOK(ecode4
)) {
30763 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLines" "', expected argument " "4"" of type '" "int""'");
30765 arg4
= static_cast< int >(val4
);
30768 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
30769 if (!SWIG_IsOK(ecode5
)) {
30770 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLines" "', expected argument " "5"" of type '" "int""'");
30772 arg5
= static_cast< int >(val5
);
30775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30776 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
30777 wxPyEndAllowThreads(__tstate
);
30778 if (PyErr_Occurred()) SWIG_fail
;
30780 resultobj
= SWIG_Py_Void();
30782 if (arg3
) delete [] arg3
;
30787 if (arg3
) delete [] arg3
;
30793 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30794 PyObject
*resultobj
= 0;
30795 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30797 wxPoint
*arg3
= (wxPoint
*) 0 ;
30798 int arg4
= (int) 0 ;
30799 int arg5
= (int) 0 ;
30800 int arg6
= (int) wxODDEVEN_RULE
;
30809 PyObject
* obj0
= 0 ;
30810 PyObject
* obj1
= 0 ;
30811 PyObject
* obj2
= 0 ;
30812 PyObject
* obj3
= 0 ;
30813 PyObject
* obj4
= 0 ;
30814 char * kwnames
[] = {
30815 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
30818 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:PseudoDC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30819 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30820 if (!SWIG_IsOK(res1
)) {
30821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30823 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30825 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
30826 if (arg3
== NULL
) SWIG_fail
;
30829 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
30830 if (!SWIG_IsOK(ecode4
)) {
30831 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
30833 arg4
= static_cast< int >(val4
);
30836 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
30837 if (!SWIG_IsOK(ecode5
)) {
30838 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
30840 arg5
= static_cast< int >(val5
);
30843 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
30844 if (!SWIG_IsOK(ecode6
)) {
30845 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
30847 arg6
= static_cast< int >(val6
);
30850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30851 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
30852 wxPyEndAllowThreads(__tstate
);
30853 if (PyErr_Occurred()) SWIG_fail
;
30855 resultobj
= SWIG_Py_Void();
30857 if (arg3
) delete [] arg3
;
30862 if (arg3
) delete [] arg3
;
30868 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30869 PyObject
*resultobj
= 0;
30870 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30871 wxString
*arg2
= 0 ;
30873 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
30874 int arg5
= (int) -1 ;
30877 bool temp2
= false ;
30883 PyObject
* obj0
= 0 ;
30884 PyObject
* obj1
= 0 ;
30885 PyObject
* obj2
= 0 ;
30886 PyObject
* obj3
= 0 ;
30887 PyObject
* obj4
= 0 ;
30888 char * kwnames
[] = {
30889 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
30892 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30893 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30894 if (!SWIG_IsOK(res1
)) {
30895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30897 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30899 arg2
= wxString_in_helper(obj1
);
30900 if (arg2
== NULL
) SWIG_fail
;
30905 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
30908 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30909 if (!SWIG_IsOK(ecode4
)) {
30910 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
30912 arg4
= static_cast< int >(val4
);
30915 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30916 if (!SWIG_IsOK(ecode5
)) {
30917 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
30919 arg5
= static_cast< int >(val5
);
30922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30923 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
30924 wxPyEndAllowThreads(__tstate
);
30925 if (PyErr_Occurred()) SWIG_fail
;
30927 resultobj
= SWIG_Py_Void();
30942 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30943 PyObject
*resultobj
= 0;
30944 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30945 wxString
*arg2
= 0 ;
30946 wxBitmap
*arg3
= 0 ;
30948 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
30949 int arg6
= (int) -1 ;
30952 bool temp2
= false ;
30960 PyObject
* obj0
= 0 ;
30961 PyObject
* obj1
= 0 ;
30962 PyObject
* obj2
= 0 ;
30963 PyObject
* obj3
= 0 ;
30964 PyObject
* obj4
= 0 ;
30965 PyObject
* obj5
= 0 ;
30966 char * kwnames
[] = {
30967 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
30970 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PseudoDC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
30971 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30972 if (!SWIG_IsOK(res1
)) {
30973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30975 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30977 arg2
= wxString_in_helper(obj1
);
30978 if (arg2
== NULL
) SWIG_fail
;
30981 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
30982 if (!SWIG_IsOK(res3
)) {
30983 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
30986 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
30988 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
30991 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
30994 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30995 if (!SWIG_IsOK(ecode5
)) {
30996 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
30998 arg5
= static_cast< int >(val5
);
31001 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
31002 if (!SWIG_IsOK(ecode6
)) {
31003 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
31005 arg6
= static_cast< int >(val6
);
31008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31009 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
31010 wxPyEndAllowThreads(__tstate
);
31011 if (PyErr_Occurred()) SWIG_fail
;
31013 resultobj
= SWIG_Py_Void();
31028 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31029 PyObject
*resultobj
= 0;
31030 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31032 wxPoint
*arg3
= (wxPoint
*) 0 ;
31035 PyObject
* obj0
= 0 ;
31036 PyObject
* obj1
= 0 ;
31037 char * kwnames
[] = {
31038 (char *) "self",(char *) "points", NULL
31041 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31042 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31043 if (!SWIG_IsOK(res1
)) {
31044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawSpline" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31046 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31048 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
31049 if (arg3
== NULL
) SWIG_fail
;
31052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31053 (arg1
)->DrawSpline(arg2
,arg3
);
31054 wxPyEndAllowThreads(__tstate
);
31055 if (PyErr_Occurred()) SWIG_fail
;
31057 resultobj
= SWIG_Py_Void();
31059 if (arg3
) delete [] arg3
;
31064 if (arg3
) delete [] arg3
;
31070 SWIGINTERN PyObject
*_wrap_PseudoDC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31071 PyObject
*resultobj
= 0;
31072 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31075 PyObject
*swig_obj
[1] ;
31077 if (!args
) SWIG_fail
;
31078 swig_obj
[0] = args
;
31079 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31080 if (!SWIG_IsOK(res1
)) {
31081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_Clear" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31083 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31087 wxPyEndAllowThreads(__tstate
);
31088 if (PyErr_Occurred()) SWIG_fail
;
31090 resultobj
= SWIG_Py_Void();
31097 SWIGINTERN PyObject
*_wrap_PseudoDC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31098 PyObject
*resultobj
= 0;
31099 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31105 PyObject
* obj0
= 0 ;
31106 PyObject
* obj1
= 0 ;
31107 char * kwnames
[] = {
31108 (char *) "self",(char *) "font", NULL
31111 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31112 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31113 if (!SWIG_IsOK(res1
)) {
31114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetFont" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31116 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31117 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
31118 if (!SWIG_IsOK(res2
)) {
31119 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
31122 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
31124 arg2
= reinterpret_cast< wxFont
* >(argp2
);
31126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31127 (arg1
)->SetFont((wxFont
const &)*arg2
);
31128 wxPyEndAllowThreads(__tstate
);
31129 if (PyErr_Occurred()) SWIG_fail
;
31131 resultobj
= SWIG_Py_Void();
31138 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31139 PyObject
*resultobj
= 0;
31140 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31146 PyObject
* obj0
= 0 ;
31147 PyObject
* obj1
= 0 ;
31148 char * kwnames
[] = {
31149 (char *) "self",(char *) "pen", NULL
31152 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31153 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31154 if (!SWIG_IsOK(res1
)) {
31155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31157 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31158 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
31159 if (!SWIG_IsOK(res2
)) {
31160 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
31163 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
31165 arg2
= reinterpret_cast< wxPen
* >(argp2
);
31167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31168 (arg1
)->SetPen((wxPen
const &)*arg2
);
31169 wxPyEndAllowThreads(__tstate
);
31170 if (PyErr_Occurred()) SWIG_fail
;
31172 resultobj
= SWIG_Py_Void();
31179 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31180 PyObject
*resultobj
= 0;
31181 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31182 wxBrush
*arg2
= 0 ;
31187 PyObject
* obj0
= 0 ;
31188 PyObject
* obj1
= 0 ;
31189 char * kwnames
[] = {
31190 (char *) "self",(char *) "brush", NULL
31193 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31194 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31195 if (!SWIG_IsOK(res1
)) {
31196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBrush" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31198 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31199 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
31200 if (!SWIG_IsOK(res2
)) {
31201 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
31204 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
31206 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
31208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31209 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
31210 wxPyEndAllowThreads(__tstate
);
31211 if (PyErr_Occurred()) SWIG_fail
;
31213 resultobj
= SWIG_Py_Void();
31220 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31221 PyObject
*resultobj
= 0;
31222 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31223 wxBrush
*arg2
= 0 ;
31228 PyObject
* obj0
= 0 ;
31229 PyObject
* obj1
= 0 ;
31230 char * kwnames
[] = {
31231 (char *) "self",(char *) "brush", NULL
31234 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31235 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31236 if (!SWIG_IsOK(res1
)) {
31237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31239 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31240 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
31241 if (!SWIG_IsOK(res2
)) {
31242 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
31245 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
31247 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
31249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31250 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
31251 wxPyEndAllowThreads(__tstate
);
31252 if (PyErr_Occurred()) SWIG_fail
;
31254 resultobj
= SWIG_Py_Void();
31261 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31262 PyObject
*resultobj
= 0;
31263 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31269 PyObject
* obj0
= 0 ;
31270 PyObject
* obj1
= 0 ;
31271 char * kwnames
[] = {
31272 (char *) "self",(char *) "mode", NULL
31275 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31276 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31277 if (!SWIG_IsOK(res1
)) {
31278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31280 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31281 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31282 if (!SWIG_IsOK(ecode2
)) {
31283 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
31285 arg2
= static_cast< int >(val2
);
31287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31288 (arg1
)->SetBackgroundMode(arg2
);
31289 wxPyEndAllowThreads(__tstate
);
31290 if (PyErr_Occurred()) SWIG_fail
;
31292 resultobj
= SWIG_Py_Void();
31299 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31300 PyObject
*resultobj
= 0;
31301 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31302 wxPalette
*arg2
= 0 ;
31307 PyObject
* obj0
= 0 ;
31308 PyObject
* obj1
= 0 ;
31309 char * kwnames
[] = {
31310 (char *) "self",(char *) "palette", NULL
31313 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31314 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31315 if (!SWIG_IsOK(res1
)) {
31316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPalette" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31318 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31319 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
31320 if (!SWIG_IsOK(res2
)) {
31321 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
31324 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
31326 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
31328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31329 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
31330 wxPyEndAllowThreads(__tstate
);
31331 if (PyErr_Occurred()) SWIG_fail
;
31333 resultobj
= SWIG_Py_Void();
31340 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31341 PyObject
*resultobj
= 0;
31342 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31343 wxColour
*arg2
= 0 ;
31347 PyObject
* obj0
= 0 ;
31348 PyObject
* obj1
= 0 ;
31349 char * kwnames
[] = {
31350 (char *) "self",(char *) "colour", NULL
31353 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31354 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31355 if (!SWIG_IsOK(res1
)) {
31356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextForeground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31358 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31361 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
31364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31365 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
31366 wxPyEndAllowThreads(__tstate
);
31367 if (PyErr_Occurred()) SWIG_fail
;
31369 resultobj
= SWIG_Py_Void();
31376 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31377 PyObject
*resultobj
= 0;
31378 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31379 wxColour
*arg2
= 0 ;
31383 PyObject
* obj0
= 0 ;
31384 PyObject
* obj1
= 0 ;
31385 char * kwnames
[] = {
31386 (char *) "self",(char *) "colour", NULL
31389 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31390 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31391 if (!SWIG_IsOK(res1
)) {
31392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31394 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31397 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
31400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31401 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
31402 wxPyEndAllowThreads(__tstate
);
31403 if (PyErr_Occurred()) SWIG_fail
;
31405 resultobj
= SWIG_Py_Void();
31412 SWIGINTERN PyObject
*_wrap_PseudoDC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31413 PyObject
*resultobj
= 0;
31414 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31420 PyObject
* obj0
= 0 ;
31421 PyObject
* obj1
= 0 ;
31422 char * kwnames
[] = {
31423 (char *) "self",(char *) "function", NULL
31426 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31427 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31428 if (!SWIG_IsOK(res1
)) {
31429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31431 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31432 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31433 if (!SWIG_IsOK(ecode2
)) {
31434 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
31436 arg2
= static_cast< int >(val2
);
31438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31439 (arg1
)->SetLogicalFunction(arg2
);
31440 wxPyEndAllowThreads(__tstate
);
31441 if (PyErr_Occurred()) SWIG_fail
;
31443 resultobj
= SWIG_Py_Void();
31450 SWIGINTERN PyObject
*PseudoDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31452 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31453 SWIG_TypeNewClientData(SWIGTYPE_p_wxPseudoDC
, SWIG_NewClientData(obj
));
31454 return SWIG_Py_Void();
31457 SWIGINTERN PyObject
*PseudoDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31458 return SWIG_Python_InitShadowInstance(args
);
31461 static PyMethodDef SwigMethods
[] = {
31462 { (char *)"new_GDIObject", (PyCFunction
)_wrap_new_GDIObject
, METH_NOARGS
, NULL
},
31463 { (char *)"delete_GDIObject", (PyCFunction
)_wrap_delete_GDIObject
, METH_O
, NULL
},
31464 { (char *)"GDIObject_IsNull", (PyCFunction
)_wrap_GDIObject_IsNull
, METH_O
, NULL
},
31465 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
, NULL
},
31466 { (char *)"GDIObject_swiginit", GDIObject_swiginit
, METH_VARARGS
, NULL
},
31467 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31468 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31469 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31470 { (char *)"delete_Colour", (PyCFunction
)_wrap_delete_Colour
, METH_O
, NULL
},
31471 { (char *)"Colour_Red", (PyCFunction
)_wrap_Colour_Red
, METH_O
, NULL
},
31472 { (char *)"Colour_Green", (PyCFunction
)_wrap_Colour_Green
, METH_O
, NULL
},
31473 { (char *)"Colour_Blue", (PyCFunction
)_wrap_Colour_Blue
, METH_O
, NULL
},
31474 { (char *)"Colour_Alpha", (PyCFunction
)_wrap_Colour_Alpha
, METH_O
, NULL
},
31475 { (char *)"Colour_Ok", (PyCFunction
)_wrap_Colour_Ok
, METH_O
, NULL
},
31476 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31477 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31478 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31479 { (char *)"Colour_GetAsString", (PyCFunction
) _wrap_Colour_GetAsString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31480 { (char *)"Colour_GetPixel", (PyCFunction
)_wrap_Colour_GetPixel
, METH_O
, NULL
},
31481 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31482 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31483 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31484 { (char *)"Colour_GetRGB", (PyCFunction
)_wrap_Colour_GetRGB
, METH_O
, NULL
},
31485 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
, NULL
},
31486 { (char *)"Colour_swiginit", Colour_swiginit
, METH_VARARGS
, NULL
},
31487 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31488 { (char *)"delete_Palette", (PyCFunction
)_wrap_delete_Palette
, METH_O
, NULL
},
31489 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31490 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31491 { (char *)"Palette_GetColoursCount", (PyCFunction
)_wrap_Palette_GetColoursCount
, METH_O
, NULL
},
31492 { (char *)"Palette_Ok", (PyCFunction
)_wrap_Palette_Ok
, METH_O
, NULL
},
31493 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
, NULL
},
31494 { (char *)"Palette_swiginit", Palette_swiginit
, METH_VARARGS
, NULL
},
31495 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31496 { (char *)"delete_Pen", (PyCFunction
)_wrap_delete_Pen
, METH_O
, NULL
},
31497 { (char *)"Pen_GetCap", (PyCFunction
)_wrap_Pen_GetCap
, METH_O
, NULL
},
31498 { (char *)"Pen_GetColour", (PyCFunction
)_wrap_Pen_GetColour
, METH_O
, NULL
},
31499 { (char *)"Pen_GetJoin", (PyCFunction
)_wrap_Pen_GetJoin
, METH_O
, NULL
},
31500 { (char *)"Pen_GetStyle", (PyCFunction
)_wrap_Pen_GetStyle
, METH_O
, NULL
},
31501 { (char *)"Pen_GetWidth", (PyCFunction
)_wrap_Pen_GetWidth
, METH_O
, NULL
},
31502 { (char *)"Pen_Ok", (PyCFunction
)_wrap_Pen_Ok
, METH_O
, NULL
},
31503 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31504 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31505 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31506 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31507 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31508 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31509 { (char *)"Pen_GetDashes", (PyCFunction
)_wrap_Pen_GetDashes
, METH_O
, NULL
},
31510 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31511 { (char *)"Pen_GetDashCount", (PyCFunction
)_wrap_Pen_GetDashCount
, METH_O
, NULL
},
31512 { (char *)"Pen_GetStipple", (PyCFunction
)_wrap_Pen_GetStipple
, METH_O
, NULL
},
31513 { (char *)"Pen_SetStipple", (PyCFunction
) _wrap_Pen_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31514 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31515 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31516 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
, NULL
},
31517 { (char *)"Pen_swiginit", Pen_swiginit
, METH_VARARGS
, NULL
},
31518 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31519 { (char *)"new_BrushFromBitmap", (PyCFunction
) _wrap_new_BrushFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31520 { (char *)"delete_Brush", (PyCFunction
)_wrap_delete_Brush
, METH_O
, NULL
},
31521 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31522 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31523 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31524 { (char *)"Brush_GetColour", (PyCFunction
)_wrap_Brush_GetColour
, METH_O
, NULL
},
31525 { (char *)"Brush_GetStyle", (PyCFunction
)_wrap_Brush_GetStyle
, METH_O
, NULL
},
31526 { (char *)"Brush_GetStipple", (PyCFunction
)_wrap_Brush_GetStipple
, METH_O
, NULL
},
31527 { (char *)"Brush_IsHatch", (PyCFunction
)_wrap_Brush_IsHatch
, METH_O
, NULL
},
31528 { (char *)"Brush_Ok", (PyCFunction
)_wrap_Brush_Ok
, METH_O
, NULL
},
31529 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
, NULL
},
31530 { (char *)"Brush_swiginit", Brush_swiginit
, METH_VARARGS
, NULL
},
31531 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31532 { (char *)"delete_Bitmap", (PyCFunction
)_wrap_delete_Bitmap
, METH_O
, NULL
},
31533 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31534 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31535 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31536 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31537 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31538 { (char *)"Bitmap_GetHandle", (PyCFunction
)_wrap_Bitmap_GetHandle
, METH_O
, NULL
},
31539 { (char *)"Bitmap_SetHandle", (PyCFunction
) _wrap_Bitmap_SetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31540 { (char *)"Bitmap_Ok", (PyCFunction
)_wrap_Bitmap_Ok
, METH_O
, NULL
},
31541 { (char *)"Bitmap_GetWidth", (PyCFunction
)_wrap_Bitmap_GetWidth
, METH_O
, NULL
},
31542 { (char *)"Bitmap_GetHeight", (PyCFunction
)_wrap_Bitmap_GetHeight
, METH_O
, NULL
},
31543 { (char *)"Bitmap_GetDepth", (PyCFunction
)_wrap_Bitmap_GetDepth
, METH_O
, NULL
},
31544 { (char *)"Bitmap_GetSize", (PyCFunction
)_wrap_Bitmap_GetSize
, METH_O
, NULL
},
31545 { (char *)"Bitmap_ConvertToImage", (PyCFunction
)_wrap_Bitmap_ConvertToImage
, METH_O
, NULL
},
31546 { (char *)"Bitmap_GetMask", (PyCFunction
)_wrap_Bitmap_GetMask
, METH_O
, NULL
},
31547 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31548 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31549 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31550 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31551 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31552 { (char *)"Bitmap_GetPalette", (PyCFunction
)_wrap_Bitmap_GetPalette
, METH_O
, NULL
},
31553 { (char *)"Bitmap_SetPalette", (PyCFunction
) _wrap_Bitmap_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31554 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31555 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31556 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31557 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31558 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31559 { (char *)"Bitmap_CopyFromCursor", (PyCFunction
) _wrap_Bitmap_CopyFromCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31560 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31561 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31562 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
, NULL
},
31563 { (char *)"Bitmap_swiginit", Bitmap_swiginit
, METH_VARARGS
, NULL
},
31564 { (char *)"_BitmapFromBufferAlpha", (PyCFunction
) _wrap__BitmapFromBufferAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31565 { (char *)"_BitmapFromBuffer", (PyCFunction
) _wrap__BitmapFromBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31566 { (char *)"_BitmapFromBufferRGBA", (PyCFunction
) _wrap__BitmapFromBufferRGBA
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31567 { (char *)"PixelDataBase_GetOrigin", (PyCFunction
)_wrap_PixelDataBase_GetOrigin
, METH_O
, NULL
},
31568 { (char *)"PixelDataBase_GetWidth", (PyCFunction
)_wrap_PixelDataBase_GetWidth
, METH_O
, NULL
},
31569 { (char *)"PixelDataBase_GetHeight", (PyCFunction
)_wrap_PixelDataBase_GetHeight
, METH_O
, NULL
},
31570 { (char *)"PixelDataBase_GetSize", (PyCFunction
)_wrap_PixelDataBase_GetSize
, METH_O
, NULL
},
31571 { (char *)"PixelDataBase_GetRowStride", (PyCFunction
)_wrap_PixelDataBase_GetRowStride
, METH_O
, NULL
},
31572 { (char *)"PixelDataBase_swigregister", PixelDataBase_swigregister
, METH_VARARGS
, NULL
},
31573 { (char *)"new_NativePixelData", _wrap_new_NativePixelData
, METH_VARARGS
, NULL
},
31574 { (char *)"delete_NativePixelData", (PyCFunction
)_wrap_delete_NativePixelData
, METH_O
, NULL
},
31575 { (char *)"NativePixelData_GetPixels", (PyCFunction
)_wrap_NativePixelData_GetPixels
, METH_O
, NULL
},
31576 { (char *)"NativePixelData_UseAlpha", (PyCFunction
)_wrap_NativePixelData_UseAlpha
, METH_O
, NULL
},
31577 { (char *)"NativePixelData___nonzero__", (PyCFunction
)_wrap_NativePixelData___nonzero__
, METH_O
, NULL
},
31578 { (char *)"NativePixelData_swigregister", NativePixelData_swigregister
, METH_VARARGS
, NULL
},
31579 { (char *)"NativePixelData_swiginit", NativePixelData_swiginit
, METH_VARARGS
, NULL
},
31580 { (char *)"new_NativePixelData_Accessor", _wrap_new_NativePixelData_Accessor
, METH_VARARGS
, NULL
},
31581 { (char *)"delete_NativePixelData_Accessor", (PyCFunction
)_wrap_delete_NativePixelData_Accessor
, METH_O
, NULL
},
31582 { (char *)"NativePixelData_Accessor_Reset", (PyCFunction
) _wrap_NativePixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31583 { (char *)"NativePixelData_Accessor_IsOk", (PyCFunction
)_wrap_NativePixelData_Accessor_IsOk
, METH_O
, NULL
},
31584 { (char *)"NativePixelData_Accessor_nextPixel", (PyCFunction
)_wrap_NativePixelData_Accessor_nextPixel
, METH_O
, NULL
},
31585 { (char *)"NativePixelData_Accessor_Offset", (PyCFunction
) _wrap_NativePixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31586 { (char *)"NativePixelData_Accessor_OffsetX", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31587 { (char *)"NativePixelData_Accessor_OffsetY", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31588 { (char *)"NativePixelData_Accessor_MoveTo", (PyCFunction
) _wrap_NativePixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31589 { (char *)"NativePixelData_Accessor_Set", (PyCFunction
) _wrap_NativePixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31590 { (char *)"NativePixelData_Accessor_Get", (PyCFunction
)_wrap_NativePixelData_Accessor_Get
, METH_O
, NULL
},
31591 { (char *)"NativePixelData_Accessor_swigregister", NativePixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
31592 { (char *)"NativePixelData_Accessor_swiginit", NativePixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
31593 { (char *)"new_AlphaPixelData", _wrap_new_AlphaPixelData
, METH_VARARGS
, NULL
},
31594 { (char *)"delete_AlphaPixelData", (PyCFunction
)_wrap_delete_AlphaPixelData
, METH_O
, NULL
},
31595 { (char *)"AlphaPixelData_GetPixels", (PyCFunction
)_wrap_AlphaPixelData_GetPixels
, METH_O
, NULL
},
31596 { (char *)"AlphaPixelData_UseAlpha", (PyCFunction
)_wrap_AlphaPixelData_UseAlpha
, METH_O
, NULL
},
31597 { (char *)"AlphaPixelData___nonzero__", (PyCFunction
)_wrap_AlphaPixelData___nonzero__
, METH_O
, NULL
},
31598 { (char *)"AlphaPixelData_swigregister", AlphaPixelData_swigregister
, METH_VARARGS
, NULL
},
31599 { (char *)"AlphaPixelData_swiginit", AlphaPixelData_swiginit
, METH_VARARGS
, NULL
},
31600 { (char *)"new_AlphaPixelData_Accessor", _wrap_new_AlphaPixelData_Accessor
, METH_VARARGS
, NULL
},
31601 { (char *)"delete_AlphaPixelData_Accessor", (PyCFunction
)_wrap_delete_AlphaPixelData_Accessor
, METH_O
, NULL
},
31602 { (char *)"AlphaPixelData_Accessor_Reset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31603 { (char *)"AlphaPixelData_Accessor_IsOk", (PyCFunction
)_wrap_AlphaPixelData_Accessor_IsOk
, METH_O
, NULL
},
31604 { (char *)"AlphaPixelData_Accessor_nextPixel", (PyCFunction
)_wrap_AlphaPixelData_Accessor_nextPixel
, METH_O
, NULL
},
31605 { (char *)"AlphaPixelData_Accessor_Offset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31606 { (char *)"AlphaPixelData_Accessor_OffsetX", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31607 { (char *)"AlphaPixelData_Accessor_OffsetY", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31608 { (char *)"AlphaPixelData_Accessor_MoveTo", (PyCFunction
) _wrap_AlphaPixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31609 { (char *)"AlphaPixelData_Accessor_Set", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31610 { (char *)"AlphaPixelData_Accessor_Get", (PyCFunction
)_wrap_AlphaPixelData_Accessor_Get
, METH_O
, NULL
},
31611 { (char *)"AlphaPixelData_Accessor_swigregister", AlphaPixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
31612 { (char *)"AlphaPixelData_Accessor_swiginit", AlphaPixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
31613 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31614 { (char *)"delete_Mask", (PyCFunction
)_wrap_delete_Mask
, METH_O
, NULL
},
31615 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
, NULL
},
31616 { (char *)"Mask_swiginit", Mask_swiginit
, METH_VARARGS
, NULL
},
31617 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31618 { (char *)"delete_Icon", (PyCFunction
)_wrap_delete_Icon
, METH_O
, NULL
},
31619 { (char *)"new_EmptyIcon", (PyCFunction
)_wrap_new_EmptyIcon
, METH_NOARGS
, NULL
},
31620 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31621 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31622 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31623 { (char *)"Icon_LoadFile", (PyCFunction
) _wrap_Icon_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31624 { (char *)"Icon_GetHandle", (PyCFunction
)_wrap_Icon_GetHandle
, METH_O
, NULL
},
31625 { (char *)"Icon_SetHandle", (PyCFunction
) _wrap_Icon_SetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31626 { (char *)"Icon_Ok", (PyCFunction
)_wrap_Icon_Ok
, METH_O
, NULL
},
31627 { (char *)"Icon_GetWidth", (PyCFunction
)_wrap_Icon_GetWidth
, METH_O
, NULL
},
31628 { (char *)"Icon_GetHeight", (PyCFunction
)_wrap_Icon_GetHeight
, METH_O
, NULL
},
31629 { (char *)"Icon_GetDepth", (PyCFunction
)_wrap_Icon_GetDepth
, METH_O
, NULL
},
31630 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31631 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31632 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31633 { (char *)"Icon_SetSize", (PyCFunction
) _wrap_Icon_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31634 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31635 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
, NULL
},
31636 { (char *)"Icon_swiginit", Icon_swiginit
, METH_VARARGS
, NULL
},
31637 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31638 { (char *)"delete_IconLocation", (PyCFunction
)_wrap_delete_IconLocation
, METH_O
, NULL
},
31639 { (char *)"IconLocation_IsOk", (PyCFunction
)_wrap_IconLocation_IsOk
, METH_O
, NULL
},
31640 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31641 { (char *)"IconLocation_GetFileName", (PyCFunction
)_wrap_IconLocation_GetFileName
, METH_O
, NULL
},
31642 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31643 { (char *)"IconLocation_GetIndex", (PyCFunction
)_wrap_IconLocation_GetIndex
, METH_O
, NULL
},
31644 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
, NULL
},
31645 { (char *)"IconLocation_swiginit", IconLocation_swiginit
, METH_VARARGS
, NULL
},
31646 { (char *)"new_IconBundle", (PyCFunction
)_wrap_new_IconBundle
, METH_NOARGS
, NULL
},
31647 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31648 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31649 { (char *)"delete_IconBundle", (PyCFunction
)_wrap_delete_IconBundle
, METH_O
, NULL
},
31650 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31651 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31652 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31653 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
, NULL
},
31654 { (char *)"IconBundle_swiginit", IconBundle_swiginit
, METH_VARARGS
, NULL
},
31655 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31656 { (char *)"delete_Cursor", (PyCFunction
)_wrap_delete_Cursor
, METH_O
, NULL
},
31657 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31658 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31659 { (char *)"Cursor_GetHandle", (PyCFunction
)_wrap_Cursor_GetHandle
, METH_O
, NULL
},
31660 { (char *)"Cursor_SetHandle", (PyCFunction
) _wrap_Cursor_SetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31661 { (char *)"Cursor_Ok", (PyCFunction
)_wrap_Cursor_Ok
, METH_O
, NULL
},
31662 { (char *)"Cursor_GetWidth", (PyCFunction
)_wrap_Cursor_GetWidth
, METH_O
, NULL
},
31663 { (char *)"Cursor_GetHeight", (PyCFunction
)_wrap_Cursor_GetHeight
, METH_O
, NULL
},
31664 { (char *)"Cursor_GetDepth", (PyCFunction
)_wrap_Cursor_GetDepth
, METH_O
, NULL
},
31665 { (char *)"Cursor_SetWidth", (PyCFunction
) _wrap_Cursor_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31666 { (char *)"Cursor_SetHeight", (PyCFunction
) _wrap_Cursor_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31667 { (char *)"Cursor_SetDepth", (PyCFunction
) _wrap_Cursor_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31668 { (char *)"Cursor_SetSize", (PyCFunction
) _wrap_Cursor_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31669 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
, NULL
},
31670 { (char *)"Cursor_swiginit", Cursor_swiginit
, METH_VARARGS
, NULL
},
31671 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31672 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31673 { (char *)"new_RegionFromBitmapColour", (PyCFunction
) _wrap_new_RegionFromBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31674 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31675 { (char *)"delete_Region", (PyCFunction
)_wrap_delete_Region
, METH_O
, NULL
},
31676 { (char *)"Region_Clear", (PyCFunction
)_wrap_Region_Clear
, METH_O
, NULL
},
31677 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31678 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31679 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31680 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31681 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31682 { (char *)"Region_GetBox", (PyCFunction
)_wrap_Region_GetBox
, METH_O
, NULL
},
31683 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31684 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31685 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31686 { (char *)"Region_IsEmpty", (PyCFunction
)_wrap_Region_IsEmpty
, METH_O
, NULL
},
31687 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31688 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31689 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31690 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31691 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31692 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31693 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31694 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31695 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31696 { (char *)"Region_ConvertToBitmap", (PyCFunction
)_wrap_Region_ConvertToBitmap
, METH_O
, NULL
},
31697 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31698 { (char *)"Region_UnionBitmapColour", (PyCFunction
) _wrap_Region_UnionBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31699 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
, NULL
},
31700 { (char *)"Region_swiginit", Region_swiginit
, METH_VARARGS
, NULL
},
31701 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31702 { (char *)"delete_RegionIterator", (PyCFunction
)_wrap_delete_RegionIterator
, METH_O
, NULL
},
31703 { (char *)"RegionIterator_GetX", (PyCFunction
)_wrap_RegionIterator_GetX
, METH_O
, NULL
},
31704 { (char *)"RegionIterator_GetY", (PyCFunction
)_wrap_RegionIterator_GetY
, METH_O
, NULL
},
31705 { (char *)"RegionIterator_GetW", (PyCFunction
)_wrap_RegionIterator_GetW
, METH_O
, NULL
},
31706 { (char *)"RegionIterator_GetWidth", (PyCFunction
)_wrap_RegionIterator_GetWidth
, METH_O
, NULL
},
31707 { (char *)"RegionIterator_GetH", (PyCFunction
)_wrap_RegionIterator_GetH
, METH_O
, NULL
},
31708 { (char *)"RegionIterator_GetHeight", (PyCFunction
)_wrap_RegionIterator_GetHeight
, METH_O
, NULL
},
31709 { (char *)"RegionIterator_GetRect", (PyCFunction
)_wrap_RegionIterator_GetRect
, METH_O
, NULL
},
31710 { (char *)"RegionIterator_HaveRects", (PyCFunction
)_wrap_RegionIterator_HaveRects
, METH_O
, NULL
},
31711 { (char *)"RegionIterator_Reset", (PyCFunction
)_wrap_RegionIterator_Reset
, METH_O
, NULL
},
31712 { (char *)"RegionIterator_Next", (PyCFunction
)_wrap_RegionIterator_Next
, METH_O
, NULL
},
31713 { (char *)"RegionIterator___nonzero__", (PyCFunction
)_wrap_RegionIterator___nonzero__
, METH_O
, NULL
},
31714 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
, NULL
},
31715 { (char *)"RegionIterator_swiginit", RegionIterator_swiginit
, METH_VARARGS
, NULL
},
31716 { (char *)"new_NativeFontInfo", (PyCFunction
)_wrap_new_NativeFontInfo
, METH_NOARGS
, NULL
},
31717 { (char *)"delete_NativeFontInfo", (PyCFunction
)_wrap_delete_NativeFontInfo
, METH_O
, NULL
},
31718 { (char *)"NativeFontInfo_Init", (PyCFunction
)_wrap_NativeFontInfo_Init
, METH_O
, NULL
},
31719 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31720 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
)_wrap_NativeFontInfo_GetPointSize
, METH_O
, NULL
},
31721 { (char *)"NativeFontInfo_GetPixelSize", (PyCFunction
)_wrap_NativeFontInfo_GetPixelSize
, METH_O
, NULL
},
31722 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
)_wrap_NativeFontInfo_GetStyle
, METH_O
, NULL
},
31723 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
)_wrap_NativeFontInfo_GetWeight
, METH_O
, NULL
},
31724 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
)_wrap_NativeFontInfo_GetUnderlined
, METH_O
, NULL
},
31725 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
)_wrap_NativeFontInfo_GetFaceName
, METH_O
, NULL
},
31726 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
)_wrap_NativeFontInfo_GetFamily
, METH_O
, NULL
},
31727 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
)_wrap_NativeFontInfo_GetEncoding
, METH_O
, NULL
},
31728 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31729 { (char *)"NativeFontInfo_SetPixelSize", (PyCFunction
) _wrap_NativeFontInfo_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31730 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31731 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31732 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31733 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31734 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31735 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31736 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31737 { (char *)"NativeFontInfo_ToString", (PyCFunction
)_wrap_NativeFontInfo_ToString
, METH_O
, NULL
},
31738 { (char *)"NativeFontInfo___str__", (PyCFunction
)_wrap_NativeFontInfo___str__
, METH_O
, NULL
},
31739 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31740 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
)_wrap_NativeFontInfo_ToUserString
, METH_O
, NULL
},
31741 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
, NULL
},
31742 { (char *)"NativeFontInfo_swiginit", NativeFontInfo_swiginit
, METH_VARARGS
, NULL
},
31743 { (char *)"NativeEncodingInfo_facename_set", _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
, NULL
},
31744 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
)_wrap_NativeEncodingInfo_facename_get
, METH_O
, NULL
},
31745 { (char *)"NativeEncodingInfo_encoding_set", _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
, NULL
},
31746 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
)_wrap_NativeEncodingInfo_encoding_get
, METH_O
, NULL
},
31747 { (char *)"new_NativeEncodingInfo", (PyCFunction
)_wrap_new_NativeEncodingInfo
, METH_NOARGS
, NULL
},
31748 { (char *)"delete_NativeEncodingInfo", (PyCFunction
)_wrap_delete_NativeEncodingInfo
, METH_O
, NULL
},
31749 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31750 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
)_wrap_NativeEncodingInfo_ToString
, METH_O
, NULL
},
31751 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
, NULL
},
31752 { (char *)"NativeEncodingInfo_swiginit", NativeEncodingInfo_swiginit
, METH_VARARGS
, NULL
},
31753 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31754 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31755 { (char *)"new_FontMapper", (PyCFunction
)_wrap_new_FontMapper
, METH_NOARGS
, NULL
},
31756 { (char *)"delete_FontMapper", (PyCFunction
)_wrap_delete_FontMapper
, METH_O
, NULL
},
31757 { (char *)"FontMapper_Get", (PyCFunction
)_wrap_FontMapper_Get
, METH_NOARGS
, NULL
},
31758 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31759 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31760 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
)_wrap_FontMapper_GetSupportedEncodingsCount
, METH_NOARGS
, NULL
},
31761 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31762 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31763 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31764 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31765 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31766 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
)_wrap_FontMapper_GetDefaultConfigPath
, METH_NOARGS
, NULL
},
31767 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31768 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31769 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31770 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31771 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
, NULL
},
31772 { (char *)"FontMapper_swiginit", FontMapper_swiginit
, METH_VARARGS
, NULL
},
31773 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31774 { (char *)"delete_Font", (PyCFunction
)_wrap_delete_Font
, METH_O
, NULL
},
31775 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31776 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31777 { (char *)"new_FFont", (PyCFunction
) _wrap_new_FFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31778 { (char *)"new_FontFromPixelSize", (PyCFunction
) _wrap_new_FontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31779 { (char *)"new_FFontFromPixelSize", (PyCFunction
) _wrap_new_FFontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31780 { (char *)"Font_Ok", (PyCFunction
)_wrap_Font_Ok
, METH_O
, NULL
},
31781 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31782 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31783 { (char *)"Font_GetPointSize", (PyCFunction
)_wrap_Font_GetPointSize
, METH_O
, NULL
},
31784 { (char *)"Font_GetPixelSize", (PyCFunction
)_wrap_Font_GetPixelSize
, METH_O
, NULL
},
31785 { (char *)"Font_IsUsingSizeInPixels", (PyCFunction
)_wrap_Font_IsUsingSizeInPixels
, METH_O
, NULL
},
31786 { (char *)"Font_GetFamily", (PyCFunction
)_wrap_Font_GetFamily
, METH_O
, NULL
},
31787 { (char *)"Font_GetStyle", (PyCFunction
)_wrap_Font_GetStyle
, METH_O
, NULL
},
31788 { (char *)"Font_GetWeight", (PyCFunction
)_wrap_Font_GetWeight
, METH_O
, NULL
},
31789 { (char *)"Font_GetUnderlined", (PyCFunction
)_wrap_Font_GetUnderlined
, METH_O
, NULL
},
31790 { (char *)"Font_GetFaceName", (PyCFunction
)_wrap_Font_GetFaceName
, METH_O
, NULL
},
31791 { (char *)"Font_GetEncoding", (PyCFunction
)_wrap_Font_GetEncoding
, METH_O
, NULL
},
31792 { (char *)"Font_GetNativeFontInfo", (PyCFunction
)_wrap_Font_GetNativeFontInfo
, METH_O
, NULL
},
31793 { (char *)"Font_IsFixedWidth", (PyCFunction
)_wrap_Font_IsFixedWidth
, METH_O
, NULL
},
31794 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoDesc
, METH_O
, NULL
},
31795 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoUserDesc
, METH_O
, NULL
},
31796 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31797 { (char *)"Font_SetPixelSize", (PyCFunction
) _wrap_Font_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31798 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31799 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31800 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31801 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31802 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31803 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31804 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31805 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31806 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31807 { (char *)"Font_GetFamilyString", (PyCFunction
)_wrap_Font_GetFamilyString
, METH_O
, NULL
},
31808 { (char *)"Font_GetStyleString", (PyCFunction
)_wrap_Font_GetStyleString
, METH_O
, NULL
},
31809 { (char *)"Font_GetWeightString", (PyCFunction
)_wrap_Font_GetWeightString
, METH_O
, NULL
},
31810 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31811 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
)_wrap_Font_GetNoAntiAliasing
, METH_O
, NULL
},
31812 { (char *)"Font_GetDefaultEncoding", (PyCFunction
)_wrap_Font_GetDefaultEncoding
, METH_NOARGS
, NULL
},
31813 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31814 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
, NULL
},
31815 { (char *)"Font_swiginit", Font_swiginit
, METH_VARARGS
, NULL
},
31816 { (char *)"new_FontEnumerator", (PyCFunction
)_wrap_new_FontEnumerator
, METH_NOARGS
, NULL
},
31817 { (char *)"delete_FontEnumerator", (PyCFunction
)_wrap_delete_FontEnumerator
, METH_O
, NULL
},
31818 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31819 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31820 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31821 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
)_wrap_FontEnumerator_GetEncodings
, METH_NOARGS
, NULL
},
31822 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
)_wrap_FontEnumerator_GetFacenames
, METH_NOARGS
, NULL
},
31823 { (char *)"FontEnumerator_IsValidFacename", (PyCFunction
) _wrap_FontEnumerator_IsValidFacename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31824 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
, NULL
},
31825 { (char *)"FontEnumerator_swiginit", FontEnumerator_swiginit
, METH_VARARGS
, NULL
},
31826 { (char *)"LanguageInfo_Language_set", _wrap_LanguageInfo_Language_set
, METH_VARARGS
, NULL
},
31827 { (char *)"LanguageInfo_Language_get", (PyCFunction
)_wrap_LanguageInfo_Language_get
, METH_O
, NULL
},
31828 { (char *)"LanguageInfo_CanonicalName_set", _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
, NULL
},
31829 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
)_wrap_LanguageInfo_CanonicalName_get
, METH_O
, NULL
},
31830 { (char *)"LanguageInfo_Description_set", _wrap_LanguageInfo_Description_set
, METH_VARARGS
, NULL
},
31831 { (char *)"LanguageInfo_Description_get", (PyCFunction
)_wrap_LanguageInfo_Description_get
, METH_O
, NULL
},
31832 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
, NULL
},
31833 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31834 { (char *)"delete_Locale", (PyCFunction
)_wrap_delete_Locale
, METH_O
, NULL
},
31835 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31836 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31837 { (char *)"Locale_GetSystemLanguage", (PyCFunction
)_wrap_Locale_GetSystemLanguage
, METH_NOARGS
, NULL
},
31838 { (char *)"Locale_GetSystemEncoding", (PyCFunction
)_wrap_Locale_GetSystemEncoding
, METH_NOARGS
, NULL
},
31839 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
)_wrap_Locale_GetSystemEncodingName
, METH_NOARGS
, NULL
},
31840 { (char *)"Locale_IsOk", (PyCFunction
)_wrap_Locale_IsOk
, METH_O
, NULL
},
31841 { (char *)"Locale_GetLocale", (PyCFunction
)_wrap_Locale_GetLocale
, METH_O
, NULL
},
31842 { (char *)"Locale_GetLanguage", (PyCFunction
)_wrap_Locale_GetLanguage
, METH_O
, NULL
},
31843 { (char *)"Locale_GetSysName", (PyCFunction
)_wrap_Locale_GetSysName
, METH_O
, NULL
},
31844 { (char *)"Locale_GetCanonicalName", (PyCFunction
)_wrap_Locale_GetCanonicalName
, METH_O
, NULL
},
31845 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31846 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31847 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31848 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31849 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31850 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31851 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31852 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31853 { (char *)"Locale_GetName", (PyCFunction
)_wrap_Locale_GetName
, METH_O
, NULL
},
31854 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
, NULL
},
31855 { (char *)"Locale_swiginit", Locale_swiginit
, METH_VARARGS
, NULL
},
31856 { (char *)"new_PyLocale", (PyCFunction
) _wrap_new_PyLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31857 { (char *)"delete_PyLocale", (PyCFunction
)_wrap_delete_PyLocale
, METH_O
, NULL
},
31858 { (char *)"PyLocale__setCallbackInfo", (PyCFunction
) _wrap_PyLocale__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31859 { (char *)"PyLocale_GetSingularString", (PyCFunction
) _wrap_PyLocale_GetSingularString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31860 { (char *)"PyLocale_GetPluralString", (PyCFunction
) _wrap_PyLocale_GetPluralString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31861 { (char *)"PyLocale_swigregister", PyLocale_swigregister
, METH_VARARGS
, NULL
},
31862 { (char *)"PyLocale_swiginit", PyLocale_swiginit
, METH_VARARGS
, NULL
},
31863 { (char *)"GetLocale", (PyCFunction
)_wrap_GetLocale
, METH_NOARGS
, NULL
},
31864 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
, NULL
},
31865 { (char *)"new_EncodingConverter", (PyCFunction
)_wrap_new_EncodingConverter
, METH_NOARGS
, NULL
},
31866 { (char *)"delete_EncodingConverter", (PyCFunction
)_wrap_delete_EncodingConverter
, METH_O
, NULL
},
31867 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31868 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31869 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31870 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31871 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31872 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
, NULL
},
31873 { (char *)"EncodingConverter_swiginit", EncodingConverter_swiginit
, METH_VARARGS
, NULL
},
31874 { (char *)"delete_DC", (PyCFunction
)_wrap_delete_DC
, METH_O
, NULL
},
31875 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31876 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31877 { (char *)"DC_GradientFillConcentric", (PyCFunction
) _wrap_DC_GradientFillConcentric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31878 { (char *)"DC_GradientFillLinear", (PyCFunction
) _wrap_DC_GradientFillLinear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31879 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31880 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31881 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31882 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31883 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31884 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31885 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31886 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31887 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31888 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31889 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31890 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31891 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31892 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31893 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31894 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31895 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31896 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31897 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31898 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31899 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31900 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31901 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31902 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31903 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31904 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31905 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31906 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31907 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31908 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31909 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31910 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31911 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31912 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31913 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31914 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31915 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31916 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31917 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31918 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31919 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31920 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31921 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31922 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31923 { (char *)"DC_Clear", (PyCFunction
)_wrap_DC_Clear
, METH_O
, NULL
},
31924 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31925 { (char *)"DC_EndDoc", (PyCFunction
)_wrap_DC_EndDoc
, METH_O
, NULL
},
31926 { (char *)"DC_StartPage", (PyCFunction
)_wrap_DC_StartPage
, METH_O
, NULL
},
31927 { (char *)"DC_EndPage", (PyCFunction
)_wrap_DC_EndPage
, METH_O
, NULL
},
31928 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31929 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31930 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31931 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31932 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31933 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31934 { (char *)"DC_DestroyClippingRegion", (PyCFunction
)_wrap_DC_DestroyClippingRegion
, METH_O
, NULL
},
31935 { (char *)"DC_GetClippingBox", (PyCFunction
)_wrap_DC_GetClippingBox
, METH_O
, NULL
},
31936 { (char *)"DC_GetClippingRect", (PyCFunction
)_wrap_DC_GetClippingRect
, METH_O
, NULL
},
31937 { (char *)"DC_GetCharHeight", (PyCFunction
)_wrap_DC_GetCharHeight
, METH_O
, NULL
},
31938 { (char *)"DC_GetCharWidth", (PyCFunction
)_wrap_DC_GetCharWidth
, METH_O
, NULL
},
31939 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31940 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31941 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31942 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31943 { (char *)"DC_GetSize", (PyCFunction
)_wrap_DC_GetSize
, METH_O
, NULL
},
31944 { (char *)"DC_GetSizeTuple", (PyCFunction
)_wrap_DC_GetSizeTuple
, METH_O
, NULL
},
31945 { (char *)"DC_GetSizeMM", (PyCFunction
)_wrap_DC_GetSizeMM
, METH_O
, NULL
},
31946 { (char *)"DC_GetSizeMMTuple", (PyCFunction
)_wrap_DC_GetSizeMMTuple
, METH_O
, NULL
},
31947 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31948 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31949 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31950 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31951 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31952 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31953 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31954 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31955 { (char *)"DC_CanDrawBitmap", (PyCFunction
)_wrap_DC_CanDrawBitmap
, METH_O
, NULL
},
31956 { (char *)"DC_CanGetTextExtent", (PyCFunction
)_wrap_DC_CanGetTextExtent
, METH_O
, NULL
},
31957 { (char *)"DC_GetDepth", (PyCFunction
)_wrap_DC_GetDepth
, METH_O
, NULL
},
31958 { (char *)"DC_GetPPI", (PyCFunction
)_wrap_DC_GetPPI
, METH_O
, NULL
},
31959 { (char *)"DC_Ok", (PyCFunction
)_wrap_DC_Ok
, METH_O
, NULL
},
31960 { (char *)"DC_GetBackgroundMode", (PyCFunction
)_wrap_DC_GetBackgroundMode
, METH_O
, NULL
},
31961 { (char *)"DC_GetBackground", (PyCFunction
)_wrap_DC_GetBackground
, METH_O
, NULL
},
31962 { (char *)"DC_GetBrush", (PyCFunction
)_wrap_DC_GetBrush
, METH_O
, NULL
},
31963 { (char *)"DC_GetFont", (PyCFunction
)_wrap_DC_GetFont
, METH_O
, NULL
},
31964 { (char *)"DC_GetPen", (PyCFunction
)_wrap_DC_GetPen
, METH_O
, NULL
},
31965 { (char *)"DC_GetTextBackground", (PyCFunction
)_wrap_DC_GetTextBackground
, METH_O
, NULL
},
31966 { (char *)"DC_GetTextForeground", (PyCFunction
)_wrap_DC_GetTextForeground
, METH_O
, NULL
},
31967 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31968 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31969 { (char *)"DC_GetMapMode", (PyCFunction
)_wrap_DC_GetMapMode
, METH_O
, NULL
},
31970 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31971 { (char *)"DC_GetUserScale", (PyCFunction
)_wrap_DC_GetUserScale
, METH_O
, NULL
},
31972 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31973 { (char *)"DC_GetLogicalScale", (PyCFunction
)_wrap_DC_GetLogicalScale
, METH_O
, NULL
},
31974 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31975 { (char *)"DC_GetLogicalOrigin", (PyCFunction
)_wrap_DC_GetLogicalOrigin
, METH_O
, NULL
},
31976 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
)_wrap_DC_GetLogicalOriginTuple
, METH_O
, NULL
},
31977 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31978 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31979 { (char *)"DC_GetDeviceOrigin", (PyCFunction
)_wrap_DC_GetDeviceOrigin
, METH_O
, NULL
},
31980 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
)_wrap_DC_GetDeviceOriginTuple
, METH_O
, NULL
},
31981 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31982 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31983 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31984 { (char *)"DC_GetLogicalFunction", (PyCFunction
)_wrap_DC_GetLogicalFunction
, METH_O
, NULL
},
31985 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31986 { (char *)"DC_ComputeScaleAndOrigin", (PyCFunction
)_wrap_DC_ComputeScaleAndOrigin
, METH_O
, NULL
},
31987 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31988 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31989 { (char *)"DC_ResetBoundingBox", (PyCFunction
)_wrap_DC_ResetBoundingBox
, METH_O
, NULL
},
31990 { (char *)"DC_MinX", (PyCFunction
)_wrap_DC_MinX
, METH_O
, NULL
},
31991 { (char *)"DC_MaxX", (PyCFunction
)_wrap_DC_MaxX
, METH_O
, NULL
},
31992 { (char *)"DC_MinY", (PyCFunction
)_wrap_DC_MinY
, METH_O
, NULL
},
31993 { (char *)"DC_MaxY", (PyCFunction
)_wrap_DC_MaxY
, METH_O
, NULL
},
31994 { (char *)"DC_GetBoundingBox", (PyCFunction
)_wrap_DC_GetBoundingBox
, METH_O
, NULL
},
31995 { (char *)"DC_GetHDC", (PyCFunction
)_wrap_DC_GetHDC
, METH_O
, NULL
},
31996 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31997 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31998 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31999 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32000 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32001 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32002 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
, NULL
},
32003 { (char *)"new_MemoryDC", (PyCFunction
)_wrap_new_MemoryDC
, METH_NOARGS
, NULL
},
32004 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32005 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32006 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
, NULL
},
32007 { (char *)"MemoryDC_swiginit", MemoryDC_swiginit
, METH_VARARGS
, NULL
},
32008 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
, NULL
},
32009 { (char *)"delete_BufferedDC", (PyCFunction
)_wrap_delete_BufferedDC
, METH_O
, NULL
},
32010 { (char *)"BufferedDC_UnMask", (PyCFunction
)_wrap_BufferedDC_UnMask
, METH_O
, NULL
},
32011 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
, NULL
},
32012 { (char *)"BufferedDC_swiginit", BufferedDC_swiginit
, METH_VARARGS
, NULL
},
32013 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32014 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
32015 { (char *)"BufferedPaintDC_swiginit", BufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
32016 { (char *)"new_ScreenDC", (PyCFunction
)_wrap_new_ScreenDC
, METH_NOARGS
, NULL
},
32017 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32018 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32019 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
)_wrap_ScreenDC_EndDrawingOnTop
, METH_O
, NULL
},
32020 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
, NULL
},
32021 { (char *)"ScreenDC_swiginit", ScreenDC_swiginit
, METH_VARARGS
, NULL
},
32022 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32023 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
, NULL
},
32024 { (char *)"ClientDC_swiginit", ClientDC_swiginit
, METH_VARARGS
, NULL
},
32025 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32026 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
, NULL
},
32027 { (char *)"PaintDC_swiginit", PaintDC_swiginit
, METH_VARARGS
, NULL
},
32028 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32029 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
, NULL
},
32030 { (char *)"WindowDC_swiginit", WindowDC_swiginit
, METH_VARARGS
, NULL
},
32031 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32032 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
, NULL
},
32033 { (char *)"MirrorDC_swiginit", MirrorDC_swiginit
, METH_VARARGS
, NULL
},
32034 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32035 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
)_wrap_PostScriptDC_GetPrintData
, METH_O
, NULL
},
32036 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32037 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32038 { (char *)"PostScriptDC_GetResolution", (PyCFunction
)_wrap_PostScriptDC_GetResolution
, METH_NOARGS
, NULL
},
32039 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
, NULL
},
32040 { (char *)"PostScriptDC_swiginit", PostScriptDC_swiginit
, METH_VARARGS
, NULL
},
32041 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32042 { (char *)"delete_MetaFile", (PyCFunction
)_wrap_delete_MetaFile
, METH_O
, NULL
},
32043 { (char *)"MetaFile_Ok", (PyCFunction
)_wrap_MetaFile_Ok
, METH_O
, NULL
},
32044 { (char *)"MetaFile_SetClipboard", (PyCFunction
) _wrap_MetaFile_SetClipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32045 { (char *)"MetaFile_GetSize", (PyCFunction
)_wrap_MetaFile_GetSize
, METH_O
, NULL
},
32046 { (char *)"MetaFile_GetWidth", (PyCFunction
)_wrap_MetaFile_GetWidth
, METH_O
, NULL
},
32047 { (char *)"MetaFile_GetHeight", (PyCFunction
)_wrap_MetaFile_GetHeight
, METH_O
, NULL
},
32048 { (char *)"MetaFile_GetFileName", (PyCFunction
)_wrap_MetaFile_GetFileName
, METH_O
, NULL
},
32049 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
, NULL
},
32050 { (char *)"MetaFile_swiginit", MetaFile_swiginit
, METH_VARARGS
, NULL
},
32051 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32052 { (char *)"MetaFileDC_Close", (PyCFunction
)_wrap_MetaFileDC_Close
, METH_O
, NULL
},
32053 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
, NULL
},
32054 { (char *)"MetaFileDC_swiginit", MetaFileDC_swiginit
, METH_VARARGS
, NULL
},
32055 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32056 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
, NULL
},
32057 { (char *)"PrinterDC_swiginit", PrinterDC_swiginit
, METH_VARARGS
, NULL
},
32058 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32059 { (char *)"delete_ImageList", (PyCFunction
)_wrap_delete_ImageList
, METH_O
, NULL
},
32060 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32061 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32062 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32063 { (char *)"ImageList_GetBitmap", (PyCFunction
) _wrap_ImageList_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32064 { (char *)"ImageList_GetIcon", (PyCFunction
) _wrap_ImageList_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32065 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32066 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32067 { (char *)"ImageList_GetImageCount", (PyCFunction
)_wrap_ImageList_GetImageCount
, METH_O
, NULL
},
32068 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32069 { (char *)"ImageList_RemoveAll", (PyCFunction
)_wrap_ImageList_RemoveAll
, METH_O
, NULL
},
32070 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32071 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
, NULL
},
32072 { (char *)"ImageList_swiginit", ImageList_swiginit
, METH_VARARGS
, NULL
},
32073 { (char *)"new_StockGDI", (PyCFunction
)_wrap_new_StockGDI
, METH_NOARGS
, NULL
},
32074 { (char *)"delete_StockGDI", (PyCFunction
)_wrap_delete_StockGDI
, METH_O
, NULL
},
32075 { (char *)"StockGDI_DeleteAll", (PyCFunction
)_wrap_StockGDI_DeleteAll
, METH_NOARGS
, NULL
},
32076 { (char *)"StockGDI_instance", (PyCFunction
)_wrap_StockGDI_instance
, METH_NOARGS
, NULL
},
32077 { (char *)"StockGDI_GetBrush", (PyCFunction
) _wrap_StockGDI_GetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32078 { (char *)"StockGDI_GetColour", (PyCFunction
) _wrap_StockGDI_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32079 { (char *)"StockGDI_GetCursor", (PyCFunction
) _wrap_StockGDI_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32080 { (char *)"StockGDI_GetPen", (PyCFunction
) _wrap_StockGDI_GetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32081 { (char *)"StockGDI_GetFont", (PyCFunction
) _wrap_StockGDI_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32082 { (char *)"StockGDI_swigregister", StockGDI_swigregister
, METH_VARARGS
, NULL
},
32083 { (char *)"StockGDI_swiginit", StockGDI_swiginit
, METH_VARARGS
, NULL
},
32084 { (char *)"new_GDIObjListBase", (PyCFunction
)_wrap_new_GDIObjListBase
, METH_NOARGS
, NULL
},
32085 { (char *)"delete_GDIObjListBase", (PyCFunction
)_wrap_delete_GDIObjListBase
, METH_O
, NULL
},
32086 { (char *)"GDIObjListBase_swigregister", GDIObjListBase_swigregister
, METH_VARARGS
, NULL
},
32087 { (char *)"GDIObjListBase_swiginit", GDIObjListBase_swiginit
, METH_VARARGS
, NULL
},
32088 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32089 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32090 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32091 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
, NULL
},
32092 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32093 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32094 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32095 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
, NULL
},
32096 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32097 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32098 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32099 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
, NULL
},
32100 { (char *)"new_ColourDatabase", (PyCFunction
)_wrap_new_ColourDatabase
, METH_NOARGS
, NULL
},
32101 { (char *)"delete_ColourDatabase", (PyCFunction
)_wrap_delete_ColourDatabase
, METH_O
, NULL
},
32102 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32103 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32104 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32105 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32106 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
, NULL
},
32107 { (char *)"ColourDatabase_swiginit", ColourDatabase_swiginit
, METH_VARARGS
, NULL
},
32108 { (char *)"_wxPyInitTheFontList", (PyCFunction
)_wrap__wxPyInitTheFontList
, METH_NOARGS
, NULL
},
32109 { (char *)"_wxPyInitThePenList", (PyCFunction
)_wrap__wxPyInitThePenList
, METH_NOARGS
, NULL
},
32110 { (char *)"_wxPyInitTheBrushList", (PyCFunction
)_wrap__wxPyInitTheBrushList
, METH_NOARGS
, NULL
},
32111 { (char *)"_wxPyInitTheColourDatabase", (PyCFunction
)_wrap__wxPyInitTheColourDatabase
, METH_NOARGS
, NULL
},
32112 { (char *)"new_Effects", (PyCFunction
)_wrap_new_Effects
, METH_NOARGS
, NULL
},
32113 { (char *)"Effects_GetHighlightColour", (PyCFunction
)_wrap_Effects_GetHighlightColour
, METH_O
, NULL
},
32114 { (char *)"Effects_GetLightShadow", (PyCFunction
)_wrap_Effects_GetLightShadow
, METH_O
, NULL
},
32115 { (char *)"Effects_GetFaceColour", (PyCFunction
)_wrap_Effects_GetFaceColour
, METH_O
, NULL
},
32116 { (char *)"Effects_GetMediumShadow", (PyCFunction
)_wrap_Effects_GetMediumShadow
, METH_O
, NULL
},
32117 { (char *)"Effects_GetDarkShadow", (PyCFunction
)_wrap_Effects_GetDarkShadow
, METH_O
, NULL
},
32118 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32119 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32120 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32121 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32122 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32123 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32124 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32125 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32126 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
, NULL
},
32127 { (char *)"Effects_swiginit", Effects_swiginit
, METH_VARARGS
, NULL
},
32128 { (char *)"new_SplitterRenderParams", (PyCFunction
) _wrap_new_SplitterRenderParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32129 { (char *)"delete_SplitterRenderParams", (PyCFunction
)_wrap_delete_SplitterRenderParams
, METH_O
, NULL
},
32130 { (char *)"SplitterRenderParams_widthSash_get", (PyCFunction
)_wrap_SplitterRenderParams_widthSash_get
, METH_O
, NULL
},
32131 { (char *)"SplitterRenderParams_border_get", (PyCFunction
)_wrap_SplitterRenderParams_border_get
, METH_O
, NULL
},
32132 { (char *)"SplitterRenderParams_isHotSensitive_get", (PyCFunction
)_wrap_SplitterRenderParams_isHotSensitive_get
, METH_O
, NULL
},
32133 { (char *)"SplitterRenderParams_swigregister", SplitterRenderParams_swigregister
, METH_VARARGS
, NULL
},
32134 { (char *)"SplitterRenderParams_swiginit", SplitterRenderParams_swiginit
, METH_VARARGS
, NULL
},
32135 { (char *)"new_RendererVersion", (PyCFunction
) _wrap_new_RendererVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32136 { (char *)"delete_RendererVersion", (PyCFunction
)_wrap_delete_RendererVersion
, METH_O
, NULL
},
32137 { (char *)"RendererVersion_IsCompatible", (PyCFunction
) _wrap_RendererVersion_IsCompatible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32138 { (char *)"RendererVersion_version_get", (PyCFunction
)_wrap_RendererVersion_version_get
, METH_O
, NULL
},
32139 { (char *)"RendererVersion_age_get", (PyCFunction
)_wrap_RendererVersion_age_get
, METH_O
, NULL
},
32140 { (char *)"RendererVersion_swigregister", RendererVersion_swigregister
, METH_VARARGS
, NULL
},
32141 { (char *)"RendererVersion_swiginit", RendererVersion_swiginit
, METH_VARARGS
, NULL
},
32142 { (char *)"RendererNative_DrawHeaderButton", (PyCFunction
) _wrap_RendererNative_DrawHeaderButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32143 { (char *)"RendererNative_DrawTreeItemButton", (PyCFunction
) _wrap_RendererNative_DrawTreeItemButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32144 { (char *)"RendererNative_DrawSplitterBorder", (PyCFunction
) _wrap_RendererNative_DrawSplitterBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32145 { (char *)"RendererNative_DrawSplitterSash", (PyCFunction
) _wrap_RendererNative_DrawSplitterSash
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32146 { (char *)"RendererNative_DrawComboBoxDropButton", (PyCFunction
) _wrap_RendererNative_DrawComboBoxDropButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32147 { (char *)"RendererNative_DrawDropArrow", (PyCFunction
) _wrap_RendererNative_DrawDropArrow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32148 { (char *)"RendererNative_DrawCheckBox", (PyCFunction
) _wrap_RendererNative_DrawCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32149 { (char *)"RendererNative_DrawPushButton", (PyCFunction
) _wrap_RendererNative_DrawPushButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32150 { (char *)"RendererNative_DrawItemSelectionRect", (PyCFunction
) _wrap_RendererNative_DrawItemSelectionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32151 { (char *)"RendererNative_GetSplitterParams", (PyCFunction
) _wrap_RendererNative_GetSplitterParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32152 { (char *)"RendererNative_Get", (PyCFunction
)_wrap_RendererNative_Get
, METH_NOARGS
, NULL
},
32153 { (char *)"RendererNative_GetGeneric", (PyCFunction
)_wrap_RendererNative_GetGeneric
, METH_NOARGS
, NULL
},
32154 { (char *)"RendererNative_GetDefault", (PyCFunction
)_wrap_RendererNative_GetDefault
, METH_NOARGS
, NULL
},
32155 { (char *)"RendererNative_Set", (PyCFunction
) _wrap_RendererNative_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32156 { (char *)"RendererNative_GetVersion", (PyCFunction
)_wrap_RendererNative_GetVersion
, METH_O
, NULL
},
32157 { (char *)"RendererNative_swigregister", RendererNative_swigregister
, METH_VARARGS
, NULL
},
32158 { (char *)"new_PseudoDC", (PyCFunction
)_wrap_new_PseudoDC
, METH_NOARGS
, NULL
},
32159 { (char *)"PseudoDC_BeginDrawing", (PyCFunction
)_wrap_PseudoDC_BeginDrawing
, METH_O
, NULL
},
32160 { (char *)"PseudoDC_EndDrawing", (PyCFunction
)_wrap_PseudoDC_EndDrawing
, METH_O
, NULL
},
32161 { (char *)"delete_PseudoDC", (PyCFunction
)_wrap_delete_PseudoDC
, METH_O
, NULL
},
32162 { (char *)"PseudoDC_RemoveAll", (PyCFunction
)_wrap_PseudoDC_RemoveAll
, METH_O
, NULL
},
32163 { (char *)"PseudoDC_GetLen", (PyCFunction
)_wrap_PseudoDC_GetLen
, METH_O
, NULL
},
32164 { (char *)"PseudoDC_SetId", (PyCFunction
) _wrap_PseudoDC_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32165 { (char *)"PseudoDC_ClearId", (PyCFunction
) _wrap_PseudoDC_ClearId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32166 { (char *)"PseudoDC_RemoveId", (PyCFunction
) _wrap_PseudoDC_RemoveId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32167 { (char *)"PseudoDC_TranslateId", (PyCFunction
) _wrap_PseudoDC_TranslateId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32168 { (char *)"PseudoDC_DrawIdToDC", (PyCFunction
) _wrap_PseudoDC_DrawIdToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32169 { (char *)"PseudoDC_SetIdBounds", (PyCFunction
) _wrap_PseudoDC_SetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32170 { (char *)"PseudoDC_GetIdBounds", (PyCFunction
) _wrap_PseudoDC_GetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32171 { (char *)"PseudoDC_DrawToDCClipped", (PyCFunction
) _wrap_PseudoDC_DrawToDCClipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32172 { (char *)"PseudoDC_DrawToDCClippedRgn", (PyCFunction
) _wrap_PseudoDC_DrawToDCClippedRgn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32173 { (char *)"PseudoDC_DrawToDC", (PyCFunction
) _wrap_PseudoDC_DrawToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32174 { (char *)"PseudoDC_FloodFill", (PyCFunction
) _wrap_PseudoDC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32175 { (char *)"PseudoDC_FloodFillPoint", (PyCFunction
) _wrap_PseudoDC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32176 { (char *)"PseudoDC_DrawLine", (PyCFunction
) _wrap_PseudoDC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32177 { (char *)"PseudoDC_DrawLinePoint", (PyCFunction
) _wrap_PseudoDC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32178 { (char *)"PseudoDC_CrossHair", (PyCFunction
) _wrap_PseudoDC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32179 { (char *)"PseudoDC_CrossHairPoint", (PyCFunction
) _wrap_PseudoDC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32180 { (char *)"PseudoDC_DrawArc", (PyCFunction
) _wrap_PseudoDC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32181 { (char *)"PseudoDC_DrawArcPoint", (PyCFunction
) _wrap_PseudoDC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32182 { (char *)"PseudoDC_DrawCheckMark", (PyCFunction
) _wrap_PseudoDC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32183 { (char *)"PseudoDC_DrawCheckMarkRect", (PyCFunction
) _wrap_PseudoDC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32184 { (char *)"PseudoDC_DrawEllipticArc", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32185 { (char *)"PseudoDC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32186 { (char *)"PseudoDC_DrawPoint", (PyCFunction
) _wrap_PseudoDC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32187 { (char *)"PseudoDC_DrawPointPoint", (PyCFunction
) _wrap_PseudoDC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32188 { (char *)"PseudoDC_DrawRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32189 { (char *)"PseudoDC_DrawRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32190 { (char *)"PseudoDC_DrawRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32191 { (char *)"PseudoDC_DrawRoundedRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32192 { (char *)"PseudoDC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32193 { (char *)"PseudoDC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32194 { (char *)"PseudoDC_DrawCircle", (PyCFunction
) _wrap_PseudoDC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32195 { (char *)"PseudoDC_DrawCirclePoint", (PyCFunction
) _wrap_PseudoDC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32196 { (char *)"PseudoDC_DrawEllipse", (PyCFunction
) _wrap_PseudoDC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32197 { (char *)"PseudoDC_DrawEllipseRect", (PyCFunction
) _wrap_PseudoDC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32198 { (char *)"PseudoDC_DrawEllipsePointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32199 { (char *)"PseudoDC_DrawIcon", (PyCFunction
) _wrap_PseudoDC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32200 { (char *)"PseudoDC_DrawIconPoint", (PyCFunction
) _wrap_PseudoDC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32201 { (char *)"PseudoDC_DrawBitmap", (PyCFunction
) _wrap_PseudoDC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32202 { (char *)"PseudoDC_DrawBitmapPoint", (PyCFunction
) _wrap_PseudoDC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32203 { (char *)"PseudoDC_DrawText", (PyCFunction
) _wrap_PseudoDC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32204 { (char *)"PseudoDC_DrawTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32205 { (char *)"PseudoDC_DrawRotatedText", (PyCFunction
) _wrap_PseudoDC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32206 { (char *)"PseudoDC_DrawRotatedTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32207 { (char *)"PseudoDC_DrawLines", (PyCFunction
) _wrap_PseudoDC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32208 { (char *)"PseudoDC_DrawPolygon", (PyCFunction
) _wrap_PseudoDC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32209 { (char *)"PseudoDC_DrawLabel", (PyCFunction
) _wrap_PseudoDC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32210 { (char *)"PseudoDC_DrawImageLabel", (PyCFunction
) _wrap_PseudoDC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32211 { (char *)"PseudoDC_DrawSpline", (PyCFunction
) _wrap_PseudoDC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32212 { (char *)"PseudoDC_Clear", (PyCFunction
)_wrap_PseudoDC_Clear
, METH_O
, NULL
},
32213 { (char *)"PseudoDC_SetFont", (PyCFunction
) _wrap_PseudoDC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32214 { (char *)"PseudoDC_SetPen", (PyCFunction
) _wrap_PseudoDC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32215 { (char *)"PseudoDC_SetBrush", (PyCFunction
) _wrap_PseudoDC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32216 { (char *)"PseudoDC_SetBackground", (PyCFunction
) _wrap_PseudoDC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32217 { (char *)"PseudoDC_SetBackgroundMode", (PyCFunction
) _wrap_PseudoDC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32218 { (char *)"PseudoDC_SetPalette", (PyCFunction
) _wrap_PseudoDC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32219 { (char *)"PseudoDC_SetTextForeground", (PyCFunction
) _wrap_PseudoDC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32220 { (char *)"PseudoDC_SetTextBackground", (PyCFunction
) _wrap_PseudoDC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32221 { (char *)"PseudoDC_SetLogicalFunction", (PyCFunction
) _wrap_PseudoDC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32222 { (char *)"PseudoDC_swigregister", PseudoDC_swigregister
, METH_VARARGS
, NULL
},
32223 { (char *)"PseudoDC_swiginit", PseudoDC_swiginit
, METH_VARARGS
, NULL
},
32224 { NULL
, NULL
, 0, NULL
}
32228 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
32230 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
32231 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
32233 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
32234 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
32236 static void *_p_wxPyLocaleTo_p_wxLocale(void *x
) {
32237 return (void *)((wxLocale
*) ((wxPyLocale
*) x
));
32239 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
32240 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
32242 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
32243 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
32245 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
32246 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
32248 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
32249 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
32251 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
32252 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
32254 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
32255 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
32257 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
32258 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
32260 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
32261 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
32263 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
32264 return (void *)((wxDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
32266 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
32267 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
32269 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
32270 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
32272 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
32273 return (void *)((wxDC
*) ((wxMemoryDC
*) x
));
32275 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
32276 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
32278 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
32279 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
32281 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
32282 return (void *)((wxDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
32284 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
32285 return (void *)((wxDC
*) ((wxClientDC
*) x
));
32287 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
32288 return (void *)((wxDC
*) ((wxPaintDC
*) x
));
32290 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
32291 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
32293 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
32294 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
32296 static void *_p_wxBrushListTo_p_wxGDIObjListBase(void *x
) {
32297 return (void *)((wxGDIObjListBase
*) ((wxBrushList
*) x
));
32299 static void *_p_wxFontListTo_p_wxGDIObjListBase(void *x
) {
32300 return (void *)((wxGDIObjListBase
*) ((wxFontList
*) x
));
32302 static void *_p_wxPenListTo_p_wxGDIObjListBase(void *x
) {
32303 return (void *)((wxGDIObjListBase
*) ((wxPenList
*) x
));
32305 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
32306 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
32308 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
32309 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
32311 static void *_p_wxPenTo_p_wxObject(void *x
) {
32312 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
32314 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
32315 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
32317 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
32318 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
32320 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
32321 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
32323 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
32324 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
32326 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
32327 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
32329 static void *_p_wxIconTo_p_wxObject(void *x
) {
32330 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
32332 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
32333 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
32335 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
32336 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
32338 static void *_p_wxSizerTo_p_wxObject(void *x
) {
32339 return (void *)((wxObject
*) ((wxSizer
*) x
));
32341 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
32342 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
32344 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
32345 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32347 static void *_p_wxEventTo_p_wxObject(void *x
) {
32348 return (void *)((wxObject
*) ((wxEvent
*) x
));
32350 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
32351 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
32353 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
32354 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
32356 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
32357 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
32359 static void *_p_wxPseudoDCTo_p_wxObject(void *x
) {
32360 return (void *)((wxObject
*) ((wxPseudoDC
*) x
));
32362 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
32363 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
32365 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
32366 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
32368 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
32369 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
32371 static void *_p_wxDCTo_p_wxObject(void *x
) {
32372 return (void *)((wxObject
*) ((wxDC
*) x
));
32374 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
32375 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32377 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
32378 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32380 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
32381 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32383 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
32384 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32386 static void *_p_wxControlTo_p_wxObject(void *x
) {
32387 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
32389 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
32390 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
32392 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
32393 return (void *)((wxObject
*) (wxDC
*) ((wxClientDC
*) x
));
32395 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
32396 return (void *)((wxObject
*) ((wxFSFile
*) x
));
32398 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
32399 return (void *)((wxObject
*) (wxDC
*) ((wxMemoryDC
*) x
));
32401 static void *_p_wxRegionTo_p_wxObject(void *x
) {
32402 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
32404 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
32405 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
32407 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
32408 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
32410 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
32411 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
32413 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
32414 return (void *)((wxObject
*) ((wxEffects
*) x
));
32416 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
32417 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
32419 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
32420 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32422 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
32423 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
32425 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
32426 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
32428 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
32429 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
32431 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
32432 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
32434 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
32435 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
32437 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
32438 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32440 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
32441 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32443 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
32444 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
32446 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
32447 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
32449 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
32450 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
32452 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
32453 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
32455 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
32456 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
32458 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
32459 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
32461 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
32462 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
32464 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
32465 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
32467 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
32468 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
32470 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
32471 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
32473 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
32474 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
32476 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
32477 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
32479 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
32480 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
32482 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
32483 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
32485 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
32486 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
32488 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
32489 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
32491 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
32492 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
32494 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
32495 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
32497 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
32498 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
32500 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
32501 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
32503 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
32504 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
32506 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
32507 return (void *)((wxObject
*) (wxDC
*) ((wxPaintDC
*) x
));
32509 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
32510 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
32512 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
32513 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
32515 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
32516 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
32518 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
32519 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
32521 static void *_p_wxImageTo_p_wxObject(void *x
) {
32522 return (void *)((wxObject
*) ((wxImage
*) x
));
32524 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
32525 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
32527 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
32528 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
32530 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
32531 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
32533 static void *_p_wxImageListTo_p_wxObject(void *x
) {
32534 return (void *)((wxObject
*) ((wxImageList
*) x
));
32536 static void *_p_wxCursorTo_p_wxObject(void *x
) {
32537 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
32539 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
32540 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
32542 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
32543 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
32545 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
32546 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32548 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
32549 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32551 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
32552 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
32554 static void *_p_wxWindowTo_p_wxObject(void *x
) {
32555 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
32557 static void *_p_wxMenuTo_p_wxObject(void *x
) {
32558 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
32560 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
32561 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
32563 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
32564 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
32566 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
32567 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
32569 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
32570 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
32572 static void *_p_wxMaskTo_p_wxObject(void *x
) {
32573 return (void *)((wxObject
*) ((wxMask
*) x
));
32575 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
32576 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32578 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
32579 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
32581 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
32582 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
32584 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
32585 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
32587 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
32588 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
32590 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
32591 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
32593 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
32594 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32596 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
32597 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
32599 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
32600 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
32602 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
32603 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
32605 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
32606 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32608 static void *_p_wxFontTo_p_wxObject(void *x
) {
32609 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
32611 static void *_p_wxBrushTo_p_wxObject(void *x
) {
32612 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
32614 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
32615 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
32617 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
32618 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32620 static void *_p_wxColourTo_p_wxObject(void *x
) {
32621 return (void *)((wxObject
*) ((wxColour
*) x
));
32623 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
32624 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
32626 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
32627 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
32629 static void *_p_wxControlTo_p_wxWindow(void *x
) {
32630 return (void *)((wxWindow
*) ((wxControl
*) x
));
32632 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
32633 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
32635 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
32636 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
32638 static void *_p_wxNativePixelDataTo_p_wxPixelDataBase(void *x
) {
32639 return (void *)((wxPixelDataBase
*) ((wxNativePixelData
*) x
));
32641 static void *_p_wxAlphaPixelDataTo_p_wxPixelDataBase(void *x
) {
32642 return (void *)((wxPixelDataBase
*) ((wxAlphaPixelData
*) x
));
32644 static swig_type_info _swigt__p_buffer
= {"_p_buffer", "buffer *", 0, 0, (void*)0, 0};
32645 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
32646 static swig_type_info _swigt__p_double
= {"_p_double", "double *", 0, 0, (void*)0, 0};
32647 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};
32648 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
32649 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
32650 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
32651 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
32652 static swig_type_info _swigt__p_wxAlphaPixelData
= {"_p_wxAlphaPixelData", "wxAlphaPixelData *", 0, 0, (void*)0, 0};
32653 static swig_type_info _swigt__p_wxAlphaPixelData_Accessor
= {"_p_wxAlphaPixelData_Accessor", "wxAlphaPixelData_Accessor *", 0, 0, (void*)0, 0};
32654 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
32655 static swig_type_info _swigt__p_wxBrush
= {"_p_wxBrush", "wxBrush *", 0, 0, (void*)0, 0};
32656 static swig_type_info _swigt__p_wxBrushList
= {"_p_wxBrushList", "wxBrushList *", 0, 0, (void*)0, 0};
32657 static swig_type_info _swigt__p_wxBufferedDC
= {"_p_wxBufferedDC", "wxBufferedDC *", 0, 0, (void*)0, 0};
32658 static swig_type_info _swigt__p_wxBufferedPaintDC
= {"_p_wxBufferedPaintDC", "wxBufferedPaintDC *", 0, 0, (void*)0, 0};
32659 static swig_type_info _swigt__p_wxChar
= {"_p_wxChar", "wxChar *", 0, 0, (void*)0, 0};
32660 static swig_type_info _swigt__p_wxClientDC
= {"_p_wxClientDC", "wxClientDC *", 0, 0, (void*)0, 0};
32661 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
32662 static swig_type_info _swigt__p_wxColourDatabase
= {"_p_wxColourDatabase", "wxColourDatabase *", 0, 0, (void*)0, 0};
32663 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
32664 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
32665 static swig_type_info _swigt__p_wxDash
= {"_p_wxDash", "wxDash *", 0, 0, (void*)0, 0};
32666 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
32667 static swig_type_info _swigt__p_wxEffects
= {"_p_wxEffects", "wxEffects *", 0, 0, (void*)0, 0};
32668 static swig_type_info _swigt__p_wxEncodingConverter
= {"_p_wxEncodingConverter", "wxEncodingConverter *", 0, 0, (void*)0, 0};
32669 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
32670 static swig_type_info _swigt__p_wxFontList
= {"_p_wxFontList", "wxFontList *", 0, 0, (void*)0, 0};
32671 static swig_type_info _swigt__p_wxFontMapper
= {"_p_wxFontMapper", "wxFontMapper *", 0, 0, (void*)0, 0};
32672 static swig_type_info _swigt__p_wxGDIObjListBase
= {"_p_wxGDIObjListBase", "wxGDIObjListBase *", 0, 0, (void*)0, 0};
32673 static swig_type_info _swigt__p_wxGDIObject
= {"_p_wxGDIObject", "wxGDIObject *", 0, 0, (void*)0, 0};
32674 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
32675 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
32676 static swig_type_info _swigt__p_wxIconLocation
= {"_p_wxIconLocation", "wxIconLocation *", 0, 0, (void*)0, 0};
32677 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", "wxImage *", 0, 0, (void*)0, 0};
32678 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
32679 static swig_type_info _swigt__p_wxLanguageInfo
= {"_p_wxLanguageInfo", "wxLanguageInfo *", 0, 0, (void*)0, 0};
32680 static swig_type_info _swigt__p_wxLocale
= {"_p_wxLocale", "wxLocale *", 0, 0, (void*)0, 0};
32681 static swig_type_info _swigt__p_wxMask
= {"_p_wxMask", "wxMask *", 0, 0, (void*)0, 0};
32682 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
32683 static swig_type_info _swigt__p_wxMetaFile
= {"_p_wxMetaFile", "wxMetaFile *", 0, 0, (void*)0, 0};
32684 static swig_type_info _swigt__p_wxMetaFileDC
= {"_p_wxMetaFileDC", "wxMetaFileDC *", 0, 0, (void*)0, 0};
32685 static swig_type_info _swigt__p_wxMirrorDC
= {"_p_wxMirrorDC", "wxMirrorDC *", 0, 0, (void*)0, 0};
32686 static swig_type_info _swigt__p_wxNativeEncodingInfo
= {"_p_wxNativeEncodingInfo", "wxNativeEncodingInfo *", 0, 0, (void*)0, 0};
32687 static swig_type_info _swigt__p_wxNativeFontInfo
= {"_p_wxNativeFontInfo", "wxNativeFontInfo *", 0, 0, (void*)0, 0};
32688 static swig_type_info _swigt__p_wxNativePixelData
= {"_p_wxNativePixelData", "wxNativePixelData *", 0, 0, (void*)0, 0};
32689 static swig_type_info _swigt__p_wxNativePixelData_Accessor
= {"_p_wxNativePixelData_Accessor", "wxNativePixelData_Accessor *", 0, 0, (void*)0, 0};
32690 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
32691 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
32692 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
32693 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
32694 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
32695 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
32696 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
32697 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
32698 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
32699 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
32700 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
32701 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
32702 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", 0, 0, 0, 0, 0};
32703 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
32704 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
32705 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
32706 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
32707 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
32708 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
32709 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
32710 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
32711 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
32712 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
32713 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
32714 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
32715 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
32716 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
32717 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
32718 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
32719 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
32720 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
32721 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
32722 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
32723 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
32724 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
32725 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
32726 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
32727 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
32728 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
32729 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
32730 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
32731 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
32732 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
32733 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
32734 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
32735 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
32736 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
32737 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
32738 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", 0, 0, 0, 0, 0};
32739 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
32740 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
32741 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
32742 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
32743 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
32744 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
32745 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
32746 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
32747 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
32748 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
32749 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
32750 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
32751 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
32752 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
32753 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
32754 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
32755 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
32756 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
32757 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
32758 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
32759 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
32760 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0, 0};
32761 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
32762 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
32763 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
32764 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
32765 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
32766 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
32767 static swig_type_info _swigt__p_wxPaintDC
= {"_p_wxPaintDC", "wxPaintDC *", 0, 0, (void*)0, 0};
32768 static swig_type_info _swigt__p_wxPalette
= {"_p_wxPalette", "wxPalette *", 0, 0, (void*)0, 0};
32769 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
32770 static swig_type_info _swigt__p_wxPen
= {"_p_wxPen", "wxPen *", 0, 0, (void*)0, 0};
32771 static swig_type_info _swigt__p_wxPenList
= {"_p_wxPenList", "wxPenList *", 0, 0, (void*)0, 0};
32772 static swig_type_info _swigt__p_wxPixelDataBase
= {"_p_wxPixelDataBase", "wxPixelDataBase *", 0, 0, (void*)0, 0};
32773 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
32774 static swig_type_info _swigt__p_wxPostScriptDC
= {"_p_wxPostScriptDC", "wxPostScriptDC *", 0, 0, (void*)0, 0};
32775 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
32776 static swig_type_info _swigt__p_wxPrinterDC
= {"_p_wxPrinterDC", "wxPrinterDC *", 0, 0, (void*)0, 0};
32777 static swig_type_info _swigt__p_wxPseudoDC
= {"_p_wxPseudoDC", "wxPseudoDC *", 0, 0, (void*)0, 0};
32778 static swig_type_info _swigt__p_wxPyFontEnumerator
= {"_p_wxPyFontEnumerator", "wxPyFontEnumerator *", 0, 0, (void*)0, 0};
32779 static swig_type_info _swigt__p_wxPyLocale
= {"_p_wxPyLocale", "wxPyLocale *", 0, 0, (void*)0, 0};
32780 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
32781 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
32782 static swig_type_info _swigt__p_wxRegionIterator
= {"_p_wxRegionIterator", "wxRegionIterator *", 0, 0, (void*)0, 0};
32783 static swig_type_info _swigt__p_wxRendererNative
= {"_p_wxRendererNative", "wxRendererNative *", 0, 0, (void*)0, 0};
32784 static swig_type_info _swigt__p_wxRendererVersion
= {"_p_wxRendererVersion", "wxRendererVersion *", 0, 0, (void*)0, 0};
32785 static swig_type_info _swigt__p_wxScreenDC
= {"_p_wxScreenDC", "wxScreenDC *", 0, 0, (void*)0, 0};
32786 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
32787 static swig_type_info _swigt__p_wxSplitterRenderParams
= {"_p_wxSplitterRenderParams", "wxSplitterRenderParams *", 0, 0, (void*)0, 0};
32788 static swig_type_info _swigt__p_wxStockGDI
= {"_p_wxStockGDI", "wxStockGDI *", 0, 0, (void*)0, 0};
32789 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
32790 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
32791 static swig_type_info _swigt__p_wxWindowDC
= {"_p_wxWindowDC", "wxWindowDC *", 0, 0, (void*)0, 0};
32793 static swig_type_info
*swig_type_initial
[] = {
32797 &_swigt__p_form_ops_t
,
32799 &_swigt__p_unsigned_char
,
32800 &_swigt__p_unsigned_int
,
32801 &_swigt__p_unsigned_long
,
32802 &_swigt__p_wxANIHandler
,
32803 &_swigt__p_wxAcceleratorTable
,
32804 &_swigt__p_wxActivateEvent
,
32805 &_swigt__p_wxAlphaPixelData
,
32806 &_swigt__p_wxAlphaPixelData_Accessor
,
32807 &_swigt__p_wxBMPHandler
,
32808 &_swigt__p_wxBitmap
,
32809 &_swigt__p_wxBoxSizer
,
32810 &_swigt__p_wxBrush
,
32811 &_swigt__p_wxBrushList
,
32812 &_swigt__p_wxBufferedDC
,
32813 &_swigt__p_wxBufferedPaintDC
,
32814 &_swigt__p_wxCURHandler
,
32816 &_swigt__p_wxChildFocusEvent
,
32817 &_swigt__p_wxClientDC
,
32818 &_swigt__p_wxClipboardTextEvent
,
32819 &_swigt__p_wxCloseEvent
,
32820 &_swigt__p_wxColour
,
32821 &_swigt__p_wxColourDatabase
,
32822 &_swigt__p_wxCommandEvent
,
32823 &_swigt__p_wxContextMenuEvent
,
32824 &_swigt__p_wxControl
,
32825 &_swigt__p_wxControlWithItems
,
32826 &_swigt__p_wxCursor
,
32829 &_swigt__p_wxDateEvent
,
32830 &_swigt__p_wxDisplayChangedEvent
,
32831 &_swigt__p_wxDropFilesEvent
,
32832 &_swigt__p_wxDuplexMode
,
32833 &_swigt__p_wxEffects
,
32834 &_swigt__p_wxEncodingConverter
,
32835 &_swigt__p_wxEraseEvent
,
32836 &_swigt__p_wxEvent
,
32837 &_swigt__p_wxEvtHandler
,
32838 &_swigt__p_wxFSFile
,
32839 &_swigt__p_wxFileSystem
,
32840 &_swigt__p_wxFlexGridSizer
,
32841 &_swigt__p_wxFocusEvent
,
32843 &_swigt__p_wxFontList
,
32844 &_swigt__p_wxFontMapper
,
32845 &_swigt__p_wxGBSizerItem
,
32846 &_swigt__p_wxGDIObjListBase
,
32847 &_swigt__p_wxGDIObject
,
32848 &_swigt__p_wxGIFHandler
,
32849 &_swigt__p_wxGridBagSizer
,
32850 &_swigt__p_wxGridSizer
,
32851 &_swigt__p_wxICOHandler
,
32853 &_swigt__p_wxIconBundle
,
32854 &_swigt__p_wxIconLocation
,
32855 &_swigt__p_wxIconizeEvent
,
32856 &_swigt__p_wxIdleEvent
,
32857 &_swigt__p_wxImage
,
32858 &_swigt__p_wxImageHandler
,
32859 &_swigt__p_wxImageList
,
32860 &_swigt__p_wxIndividualLayoutConstraint
,
32861 &_swigt__p_wxInitDialogEvent
,
32862 &_swigt__p_wxJPEGHandler
,
32863 &_swigt__p_wxKeyEvent
,
32864 &_swigt__p_wxLanguageInfo
,
32865 &_swigt__p_wxLayoutConstraints
,
32866 &_swigt__p_wxLocale
,
32868 &_swigt__p_wxMaximizeEvent
,
32869 &_swigt__p_wxMemoryDC
,
32871 &_swigt__p_wxMenuBar
,
32872 &_swigt__p_wxMenuEvent
,
32873 &_swigt__p_wxMenuItem
,
32874 &_swigt__p_wxMetaFile
,
32875 &_swigt__p_wxMetaFileDC
,
32876 &_swigt__p_wxMirrorDC
,
32877 &_swigt__p_wxMouseCaptureChangedEvent
,
32878 &_swigt__p_wxMouseCaptureLostEvent
,
32879 &_swigt__p_wxMouseEvent
,
32880 &_swigt__p_wxMoveEvent
,
32881 &_swigt__p_wxNativeEncodingInfo
,
32882 &_swigt__p_wxNativeFontInfo
,
32883 &_swigt__p_wxNativePixelData
,
32884 &_swigt__p_wxNativePixelData_Accessor
,
32885 &_swigt__p_wxNavigationKeyEvent
,
32886 &_swigt__p_wxNcPaintEvent
,
32887 &_swigt__p_wxNotifyEvent
,
32888 &_swigt__p_wxObject
,
32889 &_swigt__p_wxPCXHandler
,
32890 &_swigt__p_wxPNGHandler
,
32891 &_swigt__p_wxPNMHandler
,
32892 &_swigt__p_wxPaintDC
,
32893 &_swigt__p_wxPaintEvent
,
32894 &_swigt__p_wxPalette
,
32895 &_swigt__p_wxPaletteChangedEvent
,
32896 &_swigt__p_wxPaperSize
,
32898 &_swigt__p_wxPenList
,
32899 &_swigt__p_wxPixelDataBase
,
32900 &_swigt__p_wxPoint
,
32901 &_swigt__p_wxPostScriptDC
,
32902 &_swigt__p_wxPrintData
,
32903 &_swigt__p_wxPrinterDC
,
32904 &_swigt__p_wxPseudoDC
,
32905 &_swigt__p_wxPyApp
,
32906 &_swigt__p_wxPyCommandEvent
,
32907 &_swigt__p_wxPyEvent
,
32908 &_swigt__p_wxPyFontEnumerator
,
32909 &_swigt__p_wxPyImageHandler
,
32910 &_swigt__p_wxPyLocale
,
32911 &_swigt__p_wxPySizer
,
32912 &_swigt__p_wxPyValidator
,
32913 &_swigt__p_wxQueryNewPaletteEvent
,
32915 &_swigt__p_wxRegion
,
32916 &_swigt__p_wxRegionIterator
,
32917 &_swigt__p_wxRendererNative
,
32918 &_swigt__p_wxRendererVersion
,
32919 &_swigt__p_wxScreenDC
,
32920 &_swigt__p_wxScrollEvent
,
32921 &_swigt__p_wxScrollWinEvent
,
32922 &_swigt__p_wxSetCursorEvent
,
32923 &_swigt__p_wxShowEvent
,
32925 &_swigt__p_wxSizeEvent
,
32926 &_swigt__p_wxSizer
,
32927 &_swigt__p_wxSizerItem
,
32928 &_swigt__p_wxSplitterRenderParams
,
32929 &_swigt__p_wxStaticBoxSizer
,
32930 &_swigt__p_wxStdDialogButtonSizer
,
32931 &_swigt__p_wxStockGDI
,
32932 &_swigt__p_wxString
,
32933 &_swigt__p_wxSysColourChangedEvent
,
32934 &_swigt__p_wxTIFFHandler
,
32935 &_swigt__p_wxUpdateUIEvent
,
32936 &_swigt__p_wxValidator
,
32937 &_swigt__p_wxWindow
,
32938 &_swigt__p_wxWindowCreateEvent
,
32939 &_swigt__p_wxWindowDC
,
32940 &_swigt__p_wxWindowDestroyEvent
,
32941 &_swigt__p_wxXPMHandler
,
32944 static swig_cast_info _swigc__p_buffer
[] = { {&_swigt__p_buffer
, 0, 0, 0},{0, 0, 0, 0}};
32945 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
32946 static swig_cast_info _swigc__p_double
[] = { {&_swigt__p_double
, 0, 0, 0},{0, 0, 0, 0}};
32947 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
32948 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
32949 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
32950 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
32951 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
32952 static swig_cast_info _swigc__p_wxAlphaPixelData
[] = { {&_swigt__p_wxAlphaPixelData
, 0, 0, 0},{0, 0, 0, 0}};
32953 static swig_cast_info _swigc__p_wxAlphaPixelData_Accessor
[] = { {&_swigt__p_wxAlphaPixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
32954 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
32955 static swig_cast_info _swigc__p_wxBrush
[] = { {&_swigt__p_wxBrush
, 0, 0, 0},{0, 0, 0, 0}};
32956 static swig_cast_info _swigc__p_wxBrushList
[] = { {&_swigt__p_wxBrushList
, 0, 0, 0},{0, 0, 0, 0}};
32957 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}};
32958 static swig_cast_info _swigc__p_wxBufferedPaintDC
[] = { {&_swigt__p_wxBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
32959 static swig_cast_info _swigc__p_wxChar
[] = { {&_swigt__p_wxChar
, 0, 0, 0},{0, 0, 0, 0}};
32960 static swig_cast_info _swigc__p_wxClientDC
[] = { {&_swigt__p_wxClientDC
, 0, 0, 0},{0, 0, 0, 0}};
32961 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
32962 static swig_cast_info _swigc__p_wxColourDatabase
[] = { {&_swigt__p_wxColourDatabase
, 0, 0, 0},{0, 0, 0, 0}};
32963 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
32964 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}};
32965 static swig_cast_info _swigc__p_wxDash
[] = { {&_swigt__p_wxDash
, 0, 0, 0},{0, 0, 0, 0}};
32966 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
32967 static swig_cast_info _swigc__p_wxEffects
[] = { {&_swigt__p_wxEffects
, 0, 0, 0},{0, 0, 0, 0}};
32968 static swig_cast_info _swigc__p_wxEncodingConverter
[] = { {&_swigt__p_wxEncodingConverter
, 0, 0, 0},{0, 0, 0, 0}};
32969 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
32970 static swig_cast_info _swigc__p_wxFontList
[] = { {&_swigt__p_wxFontList
, 0, 0, 0},{0, 0, 0, 0}};
32971 static swig_cast_info _swigc__p_wxFontMapper
[] = { {&_swigt__p_wxFontMapper
, 0, 0, 0},{0, 0, 0, 0}};
32972 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}};
32973 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}};
32974 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
32975 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
32976 static swig_cast_info _swigc__p_wxIconLocation
[] = { {&_swigt__p_wxIconLocation
, 0, 0, 0},{0, 0, 0, 0}};
32977 static swig_cast_info _swigc__p_wxImage
[] = { {&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
32978 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
32979 static swig_cast_info _swigc__p_wxLanguageInfo
[] = { {&_swigt__p_wxLanguageInfo
, 0, 0, 0},{0, 0, 0, 0}};
32980 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}};
32981 static swig_cast_info _swigc__p_wxMask
[] = { {&_swigt__p_wxMask
, 0, 0, 0},{0, 0, 0, 0}};
32982 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}};
32983 static swig_cast_info _swigc__p_wxMetaFile
[] = { {&_swigt__p_wxMetaFile
, 0, 0, 0},{0, 0, 0, 0}};
32984 static swig_cast_info _swigc__p_wxMetaFileDC
[] = { {&_swigt__p_wxMetaFileDC
, 0, 0, 0},{0, 0, 0, 0}};
32985 static swig_cast_info _swigc__p_wxMirrorDC
[] = { {&_swigt__p_wxMirrorDC
, 0, 0, 0},{0, 0, 0, 0}};
32986 static swig_cast_info _swigc__p_wxNativeEncodingInfo
[] = { {&_swigt__p_wxNativeEncodingInfo
, 0, 0, 0},{0, 0, 0, 0}};
32987 static swig_cast_info _swigc__p_wxNativeFontInfo
[] = { {&_swigt__p_wxNativeFontInfo
, 0, 0, 0},{0, 0, 0, 0}};
32988 static swig_cast_info _swigc__p_wxNativePixelData
[] = { {&_swigt__p_wxNativePixelData
, 0, 0, 0},{0, 0, 0, 0}};
32989 static swig_cast_info _swigc__p_wxNativePixelData_Accessor
[] = { {&_swigt__p_wxNativePixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
32990 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
32991 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
32992 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
32993 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
32994 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
32995 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
32996 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
32997 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
32998 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
32999 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
33000 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
33001 static swig_cast_info _swigc__p_wxEvent
[] = {{&_swigt__p_wxEvent
, 0, 0, 0},{0, 0, 0, 0}};
33002 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
33003 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
33004 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
33005 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
33006 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
33007 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
33008 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
33009 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
33010 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
33011 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
33012 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
33013 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
33014 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
33015 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
33016 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
33017 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
33018 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
33019 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
33020 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
33021 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
33022 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
33023 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
33024 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
33025 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
33026 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
33027 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
33028 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
33029 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
33030 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
33031 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
33032 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
33033 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
33034 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
33035 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
33036 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
33037 static swig_cast_info _swigc__p_wxEvtHandler
[] = {{&_swigt__p_wxEvtHandler
, 0, 0, 0},{0, 0, 0, 0}};
33038 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
33039 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
33040 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
33041 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
33042 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
33043 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
33044 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
33045 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
33046 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
33047 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
33048 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
33049 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
33050 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
33051 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
33052 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
33053 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
33054 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
33055 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
33056 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
33057 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
33058 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
33059 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
33060 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
33061 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
33062 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
33063 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
33064 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
33065 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
33066 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}};
33067 static swig_cast_info _swigc__p_wxPaintDC
[] = { {&_swigt__p_wxPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
33068 static swig_cast_info _swigc__p_wxPalette
[] = { {&_swigt__p_wxPalette
, 0, 0, 0},{0, 0, 0, 0}};
33069 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
33070 static swig_cast_info _swigc__p_wxPen
[] = { {&_swigt__p_wxPen
, 0, 0, 0},{0, 0, 0, 0}};
33071 static swig_cast_info _swigc__p_wxPenList
[] = { {&_swigt__p_wxPenList
, 0, 0, 0},{0, 0, 0, 0}};
33072 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}};
33073 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
33074 static swig_cast_info _swigc__p_wxPostScriptDC
[] = { {&_swigt__p_wxPostScriptDC
, 0, 0, 0},{0, 0, 0, 0}};
33075 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
33076 static swig_cast_info _swigc__p_wxPrinterDC
[] = { {&_swigt__p_wxPrinterDC
, 0, 0, 0},{0, 0, 0, 0}};
33077 static swig_cast_info _swigc__p_wxPseudoDC
[] = { {&_swigt__p_wxPseudoDC
, 0, 0, 0},{0, 0, 0, 0}};
33078 static swig_cast_info _swigc__p_wxPyFontEnumerator
[] = { {&_swigt__p_wxPyFontEnumerator
, 0, 0, 0},{0, 0, 0, 0}};
33079 static swig_cast_info _swigc__p_wxPyLocale
[] = { {&_swigt__p_wxPyLocale
, 0, 0, 0},{0, 0, 0, 0}};
33080 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
33081 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
33082 static swig_cast_info _swigc__p_wxRegionIterator
[] = { {&_swigt__p_wxRegionIterator
, 0, 0, 0},{0, 0, 0, 0}};
33083 static swig_cast_info _swigc__p_wxRendererNative
[] = { {&_swigt__p_wxRendererNative
, 0, 0, 0},{0, 0, 0, 0}};
33084 static swig_cast_info _swigc__p_wxRendererVersion
[] = { {&_swigt__p_wxRendererVersion
, 0, 0, 0},{0, 0, 0, 0}};
33085 static swig_cast_info _swigc__p_wxScreenDC
[] = { {&_swigt__p_wxScreenDC
, 0, 0, 0},{0, 0, 0, 0}};
33086 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
33087 static swig_cast_info _swigc__p_wxSplitterRenderParams
[] = { {&_swigt__p_wxSplitterRenderParams
, 0, 0, 0},{0, 0, 0, 0}};
33088 static swig_cast_info _swigc__p_wxStockGDI
[] = { {&_swigt__p_wxStockGDI
, 0, 0, 0},{0, 0, 0, 0}};
33089 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
33090 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}};
33091 static swig_cast_info _swigc__p_wxWindowDC
[] = { {&_swigt__p_wxWindowDC
, 0, 0, 0},{0, 0, 0, 0}};
33093 static swig_cast_info
*swig_cast_initial
[] = {
33097 _swigc__p_form_ops_t
,
33099 _swigc__p_unsigned_char
,
33100 _swigc__p_unsigned_int
,
33101 _swigc__p_unsigned_long
,
33102 _swigc__p_wxANIHandler
,
33103 _swigc__p_wxAcceleratorTable
,
33104 _swigc__p_wxActivateEvent
,
33105 _swigc__p_wxAlphaPixelData
,
33106 _swigc__p_wxAlphaPixelData_Accessor
,
33107 _swigc__p_wxBMPHandler
,
33108 _swigc__p_wxBitmap
,
33109 _swigc__p_wxBoxSizer
,
33111 _swigc__p_wxBrushList
,
33112 _swigc__p_wxBufferedDC
,
33113 _swigc__p_wxBufferedPaintDC
,
33114 _swigc__p_wxCURHandler
,
33116 _swigc__p_wxChildFocusEvent
,
33117 _swigc__p_wxClientDC
,
33118 _swigc__p_wxClipboardTextEvent
,
33119 _swigc__p_wxCloseEvent
,
33120 _swigc__p_wxColour
,
33121 _swigc__p_wxColourDatabase
,
33122 _swigc__p_wxCommandEvent
,
33123 _swigc__p_wxContextMenuEvent
,
33124 _swigc__p_wxControl
,
33125 _swigc__p_wxControlWithItems
,
33126 _swigc__p_wxCursor
,
33129 _swigc__p_wxDateEvent
,
33130 _swigc__p_wxDisplayChangedEvent
,
33131 _swigc__p_wxDropFilesEvent
,
33132 _swigc__p_wxDuplexMode
,
33133 _swigc__p_wxEffects
,
33134 _swigc__p_wxEncodingConverter
,
33135 _swigc__p_wxEraseEvent
,
33137 _swigc__p_wxEvtHandler
,
33138 _swigc__p_wxFSFile
,
33139 _swigc__p_wxFileSystem
,
33140 _swigc__p_wxFlexGridSizer
,
33141 _swigc__p_wxFocusEvent
,
33143 _swigc__p_wxFontList
,
33144 _swigc__p_wxFontMapper
,
33145 _swigc__p_wxGBSizerItem
,
33146 _swigc__p_wxGDIObjListBase
,
33147 _swigc__p_wxGDIObject
,
33148 _swigc__p_wxGIFHandler
,
33149 _swigc__p_wxGridBagSizer
,
33150 _swigc__p_wxGridSizer
,
33151 _swigc__p_wxICOHandler
,
33153 _swigc__p_wxIconBundle
,
33154 _swigc__p_wxIconLocation
,
33155 _swigc__p_wxIconizeEvent
,
33156 _swigc__p_wxIdleEvent
,
33158 _swigc__p_wxImageHandler
,
33159 _swigc__p_wxImageList
,
33160 _swigc__p_wxIndividualLayoutConstraint
,
33161 _swigc__p_wxInitDialogEvent
,
33162 _swigc__p_wxJPEGHandler
,
33163 _swigc__p_wxKeyEvent
,
33164 _swigc__p_wxLanguageInfo
,
33165 _swigc__p_wxLayoutConstraints
,
33166 _swigc__p_wxLocale
,
33168 _swigc__p_wxMaximizeEvent
,
33169 _swigc__p_wxMemoryDC
,
33171 _swigc__p_wxMenuBar
,
33172 _swigc__p_wxMenuEvent
,
33173 _swigc__p_wxMenuItem
,
33174 _swigc__p_wxMetaFile
,
33175 _swigc__p_wxMetaFileDC
,
33176 _swigc__p_wxMirrorDC
,
33177 _swigc__p_wxMouseCaptureChangedEvent
,
33178 _swigc__p_wxMouseCaptureLostEvent
,
33179 _swigc__p_wxMouseEvent
,
33180 _swigc__p_wxMoveEvent
,
33181 _swigc__p_wxNativeEncodingInfo
,
33182 _swigc__p_wxNativeFontInfo
,
33183 _swigc__p_wxNativePixelData
,
33184 _swigc__p_wxNativePixelData_Accessor
,
33185 _swigc__p_wxNavigationKeyEvent
,
33186 _swigc__p_wxNcPaintEvent
,
33187 _swigc__p_wxNotifyEvent
,
33188 _swigc__p_wxObject
,
33189 _swigc__p_wxPCXHandler
,
33190 _swigc__p_wxPNGHandler
,
33191 _swigc__p_wxPNMHandler
,
33192 _swigc__p_wxPaintDC
,
33193 _swigc__p_wxPaintEvent
,
33194 _swigc__p_wxPalette
,
33195 _swigc__p_wxPaletteChangedEvent
,
33196 _swigc__p_wxPaperSize
,
33198 _swigc__p_wxPenList
,
33199 _swigc__p_wxPixelDataBase
,
33201 _swigc__p_wxPostScriptDC
,
33202 _swigc__p_wxPrintData
,
33203 _swigc__p_wxPrinterDC
,
33204 _swigc__p_wxPseudoDC
,
33206 _swigc__p_wxPyCommandEvent
,
33207 _swigc__p_wxPyEvent
,
33208 _swigc__p_wxPyFontEnumerator
,
33209 _swigc__p_wxPyImageHandler
,
33210 _swigc__p_wxPyLocale
,
33211 _swigc__p_wxPySizer
,
33212 _swigc__p_wxPyValidator
,
33213 _swigc__p_wxQueryNewPaletteEvent
,
33215 _swigc__p_wxRegion
,
33216 _swigc__p_wxRegionIterator
,
33217 _swigc__p_wxRendererNative
,
33218 _swigc__p_wxRendererVersion
,
33219 _swigc__p_wxScreenDC
,
33220 _swigc__p_wxScrollEvent
,
33221 _swigc__p_wxScrollWinEvent
,
33222 _swigc__p_wxSetCursorEvent
,
33223 _swigc__p_wxShowEvent
,
33225 _swigc__p_wxSizeEvent
,
33227 _swigc__p_wxSizerItem
,
33228 _swigc__p_wxSplitterRenderParams
,
33229 _swigc__p_wxStaticBoxSizer
,
33230 _swigc__p_wxStdDialogButtonSizer
,
33231 _swigc__p_wxStockGDI
,
33232 _swigc__p_wxString
,
33233 _swigc__p_wxSysColourChangedEvent
,
33234 _swigc__p_wxTIFFHandler
,
33235 _swigc__p_wxUpdateUIEvent
,
33236 _swigc__p_wxValidator
,
33237 _swigc__p_wxWindow
,
33238 _swigc__p_wxWindowCreateEvent
,
33239 _swigc__p_wxWindowDC
,
33240 _swigc__p_wxWindowDestroyEvent
,
33241 _swigc__p_wxXPMHandler
,
33245 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
33247 static swig_const_info swig_const_table
[] = {
33248 {0, 0, 0, 0.0, 0, 0}};
33253 /* -----------------------------------------------------------------------------
33254 * Type initialization:
33255 * This problem is tough by the requirement that no dynamic
33256 * memory is used. Also, since swig_type_info structures store pointers to
33257 * swig_cast_info structures and swig_cast_info structures store pointers back
33258 * to swig_type_info structures, we need some lookup code at initialization.
33259 * The idea is that swig generates all the structures that are needed.
33260 * The runtime then collects these partially filled structures.
33261 * The SWIG_InitializeModule function takes these initial arrays out of
33262 * swig_module, and does all the lookup, filling in the swig_module.types
33263 * array with the correct data and linking the correct swig_cast_info
33264 * structures together.
33266 * The generated swig_type_info structures are assigned staticly to an initial
33267 * array. We just loop though that array, and handle each type individually.
33268 * First we lookup if this type has been already loaded, and if so, use the
33269 * loaded structure instead of the generated one. Then we have to fill in the
33270 * cast linked list. The cast data is initially stored in something like a
33271 * two-dimensional array. Each row corresponds to a type (there are the same
33272 * number of rows as there are in the swig_type_initial array). Each entry in
33273 * a column is one of the swig_cast_info structures for that type.
33274 * The cast_initial array is actually an array of arrays, because each row has
33275 * a variable number of columns. So to actually build the cast linked list,
33276 * we find the array of casts associated with the type, and loop through it
33277 * adding the casts to the list. The one last trick we need to do is making
33278 * sure the type pointer in the swig_cast_info struct is correct.
33280 * First off, we lookup the cast->type name to see if it is already loaded.
33281 * There are three cases to handle:
33282 * 1) If the cast->type has already been loaded AND the type we are adding
33283 * casting info to has not been loaded (it is in this module), THEN we
33284 * replace the cast->type pointer with the type pointer that has already
33286 * 2) If BOTH types (the one we are adding casting info to, and the
33287 * cast->type) are loaded, THEN the cast info has already been loaded by
33288 * the previous module so we just ignore it.
33289 * 3) Finally, if cast->type has not already been loaded, then we add that
33290 * swig_cast_info to the linked list (because the cast->type) pointer will
33292 * ----------------------------------------------------------------------------- */
33302 #define SWIGRUNTIME_DEBUG
33306 SWIG_InitializeModule(void *clientdata
) {
33308 swig_module_info
*module_head
;
33309 static int init_run
= 0;
33311 clientdata
= clientdata
;
33313 if (init_run
) return;
33316 /* Initialize the swig_module */
33317 swig_module
.type_initial
= swig_type_initial
;
33318 swig_module
.cast_initial
= swig_cast_initial
;
33320 /* Try and load any already created modules */
33321 module_head
= SWIG_GetModule(clientdata
);
33323 swig_module
.next
= module_head
->next
;
33324 module_head
->next
= &swig_module
;
33326 /* This is the first module loaded */
33327 swig_module
.next
= &swig_module
;
33328 SWIG_SetModule(clientdata
, &swig_module
);
33331 /* Now work on filling in swig_module.types */
33332 #ifdef SWIGRUNTIME_DEBUG
33333 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
33335 for (i
= 0; i
< swig_module
.size
; ++i
) {
33336 swig_type_info
*type
= 0;
33337 swig_type_info
*ret
;
33338 swig_cast_info
*cast
;
33340 #ifdef SWIGRUNTIME_DEBUG
33341 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
33344 /* if there is another module already loaded */
33345 if (swig_module
.next
!= &swig_module
) {
33346 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
33349 /* Overwrite clientdata field */
33350 #ifdef SWIGRUNTIME_DEBUG
33351 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
33353 if (swig_module
.type_initial
[i
]->clientdata
) {
33354 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
33355 #ifdef SWIGRUNTIME_DEBUG
33356 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
33360 type
= swig_module
.type_initial
[i
];
33363 /* Insert casting types */
33364 cast
= swig_module
.cast_initial
[i
];
33365 while (cast
->type
) {
33366 /* Don't need to add information already in the list */
33368 #ifdef SWIGRUNTIME_DEBUG
33369 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
33371 if (swig_module
.next
!= &swig_module
) {
33372 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
33373 #ifdef SWIGRUNTIME_DEBUG
33374 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
33378 if (type
== swig_module
.type_initial
[i
]) {
33379 #ifdef SWIGRUNTIME_DEBUG
33380 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
33385 /* Check for casting already in the list */
33386 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
33387 #ifdef SWIGRUNTIME_DEBUG
33388 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
33390 if (!ocast
) ret
= 0;
33395 #ifdef SWIGRUNTIME_DEBUG
33396 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
33399 type
->cast
->prev
= cast
;
33400 cast
->next
= type
->cast
;
33406 /* Set entry in modules->types array equal to the type */
33407 swig_module
.types
[i
] = type
;
33409 swig_module
.types
[i
] = 0;
33411 #ifdef SWIGRUNTIME_DEBUG
33412 printf("**** SWIG_InitializeModule: Cast List ******\n");
33413 for (i
= 0; i
< swig_module
.size
; ++i
) {
33415 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
33416 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
33417 while (cast
->type
) {
33418 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
33422 printf("---- Total casts: %d\n",j
);
33424 printf("**** SWIG_InitializeModule: Cast List ******\n");
33428 /* This function will propagate the clientdata field of type to
33429 * any new swig_type_info structures that have been added into the list
33430 * of equivalent types. It is like calling
33431 * SWIG_TypeClientData(type, clientdata) a second time.
33434 SWIG_PropagateClientData(void) {
33436 swig_cast_info
*equiv
;
33437 static int init_run
= 0;
33439 if (init_run
) return;
33442 for (i
= 0; i
< swig_module
.size
; i
++) {
33443 if (swig_module
.types
[i
]->clientdata
) {
33444 equiv
= swig_module
.types
[i
]->cast
;
33446 if (!equiv
->converter
) {
33447 if (equiv
->type
&& !equiv
->type
->clientdata
)
33448 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
33450 equiv
= equiv
->next
;
33470 /* Python-specific SWIG API */
33471 #define SWIG_newvarlink() SWIG_Python_newvarlink()
33472 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
33473 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
33475 /* -----------------------------------------------------------------------------
33476 * global variable support code.
33477 * ----------------------------------------------------------------------------- */
33479 typedef struct swig_globalvar
{
33480 char *name
; /* Name of global variable */
33481 PyObject
*(*get_attr
)(void); /* Return the current value */
33482 int (*set_attr
)(PyObject
*); /* Set the value */
33483 struct swig_globalvar
*next
;
33486 typedef struct swig_varlinkobject
{
33488 swig_globalvar
*vars
;
33489 } swig_varlinkobject
;
33491 SWIGINTERN PyObject
*
33492 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
33493 return PyString_FromString("<Swig global variables>");
33496 SWIGINTERN PyObject
*
33497 swig_varlink_str(swig_varlinkobject
*v
) {
33498 PyObject
*str
= PyString_FromString("(");
33499 swig_globalvar
*var
;
33500 for (var
= v
->vars
; var
; var
=var
->next
) {
33501 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
33502 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
33504 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
33509 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
33510 PyObject
*str
= swig_varlink_str(v
);
33511 fprintf(fp
,"Swig global variables ");
33512 fprintf(fp
,"%s\n", PyString_AsString(str
));
33518 swig_varlink_dealloc(swig_varlinkobject
*v
) {
33519 swig_globalvar
*var
= v
->vars
;
33521 swig_globalvar
*n
= var
->next
;
33528 SWIGINTERN PyObject
*
33529 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
33530 PyObject
*res
= NULL
;
33531 swig_globalvar
*var
= v
->vars
;
33533 if (strcmp(var
->name
,n
) == 0) {
33534 res
= (*var
->get_attr
)();
33539 if (res
== NULL
&& !PyErr_Occurred()) {
33540 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
33546 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
33548 swig_globalvar
*var
= v
->vars
;
33550 if (strcmp(var
->name
,n
) == 0) {
33551 res
= (*var
->set_attr
)(p
);
33556 if (res
== 1 && !PyErr_Occurred()) {
33557 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
33562 SWIGINTERN PyTypeObject
*
33563 swig_varlink_type(void) {
33564 static char varlink__doc__
[] = "Swig var link object";
33565 static PyTypeObject varlink_type
;
33566 static int type_init
= 0;
33568 const PyTypeObject tmp
33570 PyObject_HEAD_INIT(NULL
)
33571 0, /* Number of items in variable part (ob_size) */
33572 (char *)"swigvarlink", /* Type name (tp_name) */
33573 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
33574 0, /* Itemsize (tp_itemsize) */
33575 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
33576 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
33577 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
33578 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
33579 0, /* tp_compare */
33580 (reprfunc
) swig_varlink_repr
, /* tp_repr */
33581 0, /* tp_as_number */
33582 0, /* tp_as_sequence */
33583 0, /* tp_as_mapping */
33586 (reprfunc
)swig_varlink_str
, /* tp_str */
33587 0, /* tp_getattro */
33588 0, /* tp_setattro */
33589 0, /* tp_as_buffer */
33591 varlink__doc__
, /* tp_doc */
33592 0, /* tp_traverse */
33594 0, /* tp_richcompare */
33595 0, /* tp_weaklistoffset */
33596 #if PY_VERSION_HEX >= 0x02020000
33597 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
33599 #if PY_VERSION_HEX >= 0x02030000
33602 #ifdef COUNT_ALLOCS
33603 0,0,0,0 /* tp_alloc -> tp_next */
33606 varlink_type
= tmp
;
33607 varlink_type
.ob_type
= &PyType_Type
;
33610 return &varlink_type
;
33613 /* Create a variable linking object for use later */
33614 SWIGINTERN PyObject
*
33615 SWIG_Python_newvarlink(void) {
33616 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
33620 return ((PyObject
*) result
);
33624 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
33625 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
33626 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
33628 size_t size
= strlen(name
)+1;
33629 gv
->name
= (char *)malloc(size
);
33631 strncpy(gv
->name
,name
,size
);
33632 gv
->get_attr
= get_attr
;
33633 gv
->set_attr
= set_attr
;
33634 gv
->next
= v
->vars
;
33640 SWIGINTERN PyObject
*
33642 static PyObject
*_SWIG_globals
= 0;
33643 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
33644 return _SWIG_globals
;
33647 /* -----------------------------------------------------------------------------
33648 * constants/methods manipulation
33649 * ----------------------------------------------------------------------------- */
33651 /* Install Constants */
33653 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
33656 for (i
= 0; constants
[i
].type
; ++i
) {
33657 switch(constants
[i
].type
) {
33658 case SWIG_PY_POINTER
:
33659 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
33661 case SWIG_PY_BINARY
:
33662 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
33669 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
33675 /* -----------------------------------------------------------------------------*/
33676 /* Fix SwigMethods to carry the callback ptrs when needed */
33677 /* -----------------------------------------------------------------------------*/
33680 SWIG_Python_FixMethods(PyMethodDef
*methods
,
33681 swig_const_info
*const_table
,
33682 swig_type_info
**types
,
33683 swig_type_info
**types_initial
) {
33685 for (i
= 0; methods
[i
].ml_name
; ++i
) {
33686 const char *c
= methods
[i
].ml_doc
;
33687 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
33689 swig_const_info
*ci
= 0;
33690 const char *name
= c
+ 10;
33691 for (j
= 0; const_table
[j
].type
; ++j
) {
33692 if (strncmp(const_table
[j
].name
, name
,
33693 strlen(const_table
[j
].name
)) == 0) {
33694 ci
= &(const_table
[j
]);
33699 size_t shift
= (ci
->ptype
) - types
;
33700 swig_type_info
*ty
= types_initial
[shift
];
33701 size_t ldoc
= (c
- methods
[i
].ml_doc
);
33702 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
33703 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
33706 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
33708 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
33710 strncpy(buff
, "swig_ptr: ", 10);
33712 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
33713 methods
[i
].ml_doc
= ndoc
;
33725 /* -----------------------------------------------------------------------------*
33726 * Partial Init method
33727 * -----------------------------------------------------------------------------*/
33732 SWIGEXPORT
void SWIG_init(void) {
33735 /* Fix SwigMethods to carry the callback ptrs when needed */
33736 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
33738 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
33739 d
= PyModule_GetDict(m
);
33741 SWIG_InitializeModule(0);
33742 SWIG_InstallConstants(d
,swig_const_table
);
33745 SWIG_Python_SetConstant(d
, "C2S_NAME",SWIG_From_int(static_cast< int >(wxC2S_NAME
)));
33746 SWIG_Python_SetConstant(d
, "C2S_CSS_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_CSS_SYNTAX
)));
33747 SWIG_Python_SetConstant(d
, "C2S_HTML_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_HTML_SYNTAX
)));
33748 SWIG_Python_SetConstant(d
, "ALPHA_TRANSPARENT",SWIG_From_int(static_cast< int >(wxALPHA_TRANSPARENT
)));
33749 SWIG_Python_SetConstant(d
, "ALPHA_OPAQUE",SWIG_From_int(static_cast< int >(wxALPHA_OPAQUE
)));
33750 SWIG_Python_SetConstant(d
, "OutRegion",SWIG_From_int(static_cast< int >(wxOutRegion
)));
33751 SWIG_Python_SetConstant(d
, "PartRegion",SWIG_From_int(static_cast< int >(wxPartRegion
)));
33752 SWIG_Python_SetConstant(d
, "InRegion",SWIG_From_int(static_cast< int >(wxInRegion
)));
33753 SWIG_Python_SetConstant(d
, "FONTFAMILY_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DEFAULT
)));
33754 SWIG_Python_SetConstant(d
, "FONTFAMILY_DECORATIVE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DECORATIVE
)));
33755 SWIG_Python_SetConstant(d
, "FONTFAMILY_ROMAN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_ROMAN
)));
33756 SWIG_Python_SetConstant(d
, "FONTFAMILY_SCRIPT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SCRIPT
)));
33757 SWIG_Python_SetConstant(d
, "FONTFAMILY_SWISS",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SWISS
)));
33758 SWIG_Python_SetConstant(d
, "FONTFAMILY_MODERN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MODERN
)));
33759 SWIG_Python_SetConstant(d
, "FONTFAMILY_TELETYPE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_TELETYPE
)));
33760 SWIG_Python_SetConstant(d
, "FONTFAMILY_MAX",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MAX
)));
33761 SWIG_Python_SetConstant(d
, "FONTFAMILY_UNKNOWN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_UNKNOWN
)));
33762 SWIG_Python_SetConstant(d
, "FONTSTYLE_NORMAL",SWIG_From_int(static_cast< int >(wxFONTSTYLE_NORMAL
)));
33763 SWIG_Python_SetConstant(d
, "FONTSTYLE_ITALIC",SWIG_From_int(static_cast< int >(wxFONTSTYLE_ITALIC
)));
33764 SWIG_Python_SetConstant(d
, "FONTSTYLE_SLANT",SWIG_From_int(static_cast< int >(wxFONTSTYLE_SLANT
)));
33765 SWIG_Python_SetConstant(d
, "FONTSTYLE_MAX",SWIG_From_int(static_cast< int >(wxFONTSTYLE_MAX
)));
33766 SWIG_Python_SetConstant(d
, "FONTWEIGHT_NORMAL",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_NORMAL
)));
33767 SWIG_Python_SetConstant(d
, "FONTWEIGHT_LIGHT",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_LIGHT
)));
33768 SWIG_Python_SetConstant(d
, "FONTWEIGHT_BOLD",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_BOLD
)));
33769 SWIG_Python_SetConstant(d
, "FONTWEIGHT_MAX",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_MAX
)));
33770 SWIG_Python_SetConstant(d
, "FONTFLAG_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFLAG_DEFAULT
)));
33771 SWIG_Python_SetConstant(d
, "FONTFLAG_ITALIC",SWIG_From_int(static_cast< int >(wxFONTFLAG_ITALIC
)));
33772 SWIG_Python_SetConstant(d
, "FONTFLAG_SLANT",SWIG_From_int(static_cast< int >(wxFONTFLAG_SLANT
)));
33773 SWIG_Python_SetConstant(d
, "FONTFLAG_LIGHT",SWIG_From_int(static_cast< int >(wxFONTFLAG_LIGHT
)));
33774 SWIG_Python_SetConstant(d
, "FONTFLAG_BOLD",SWIG_From_int(static_cast< int >(wxFONTFLAG_BOLD
)));
33775 SWIG_Python_SetConstant(d
, "FONTFLAG_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_ANTIALIASED
)));
33776 SWIG_Python_SetConstant(d
, "FONTFLAG_NOT_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_NOT_ANTIALIASED
)));
33777 SWIG_Python_SetConstant(d
, "FONTFLAG_UNDERLINED",SWIG_From_int(static_cast< int >(wxFONTFLAG_UNDERLINED
)));
33778 SWIG_Python_SetConstant(d
, "FONTFLAG_STRIKETHROUGH",SWIG_From_int(static_cast< int >(wxFONTFLAG_STRIKETHROUGH
)));
33779 SWIG_Python_SetConstant(d
, "FONTFLAG_MASK",SWIG_From_int(static_cast< int >(wxFONTFLAG_MASK
)));
33780 SWIG_Python_SetConstant(d
, "FONTENCODING_SYSTEM",SWIG_From_int(static_cast< int >(wxFONTENCODING_SYSTEM
)));
33781 SWIG_Python_SetConstant(d
, "FONTENCODING_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTENCODING_DEFAULT
)));
33782 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_1",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_1
)));
33783 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_2",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_2
)));
33784 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_3",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_3
)));
33785 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_4",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_4
)));
33786 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_5",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_5
)));
33787 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_6",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_6
)));
33788 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_7",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_7
)));
33789 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_8",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_8
)));
33790 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_9",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_9
)));
33791 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_10",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_10
)));
33792 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_11",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_11
)));
33793 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_12",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_12
)));
33794 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_13",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_13
)));
33795 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_14",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_14
)));
33796 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_15",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_15
)));
33797 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_MAX
)));
33798 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8
)));
33799 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8_U",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8_U
)));
33800 SWIG_Python_SetConstant(d
, "FONTENCODING_ALTERNATIVE",SWIG_From_int(static_cast< int >(wxFONTENCODING_ALTERNATIVE
)));
33801 SWIG_Python_SetConstant(d
, "FONTENCODING_BULGARIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_BULGARIAN
)));
33802 SWIG_Python_SetConstant(d
, "FONTENCODING_CP437",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP437
)));
33803 SWIG_Python_SetConstant(d
, "FONTENCODING_CP850",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP850
)));
33804 SWIG_Python_SetConstant(d
, "FONTENCODING_CP852",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP852
)));
33805 SWIG_Python_SetConstant(d
, "FONTENCODING_CP855",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP855
)));
33806 SWIG_Python_SetConstant(d
, "FONTENCODING_CP866",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP866
)));
33807 SWIG_Python_SetConstant(d
, "FONTENCODING_CP874",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP874
)));
33808 SWIG_Python_SetConstant(d
, "FONTENCODING_CP932",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP932
)));
33809 SWIG_Python_SetConstant(d
, "FONTENCODING_CP936",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP936
)));
33810 SWIG_Python_SetConstant(d
, "FONTENCODING_CP949",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP949
)));
33811 SWIG_Python_SetConstant(d
, "FONTENCODING_CP950",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP950
)));
33812 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1250",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1250
)));
33813 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1251",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1251
)));
33814 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1252",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1252
)));
33815 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1253",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1253
)));
33816 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1254",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1254
)));
33817 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1255",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1255
)));
33818 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1256",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1256
)));
33819 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1257",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1257
)));
33820 SWIG_Python_SetConstant(d
, "FONTENCODING_CP12_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP12_MAX
)));
33821 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF7",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF7
)));
33822 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF8",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF8
)));
33823 SWIG_Python_SetConstant(d
, "FONTENCODING_EUC_JP",SWIG_From_int(static_cast< int >(wxFONTENCODING_EUC_JP
)));
33824 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16BE
)));
33825 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16LE
)));
33826 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32BE
)));
33827 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32LE
)));
33828 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMAN
)));
33829 SWIG_Python_SetConstant(d
, "FONTENCODING_MACJAPANESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACJAPANESE
)));
33830 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESETRAD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESETRAD
)));
33831 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKOREAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKOREAN
)));
33832 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABIC
)));
33833 SWIG_Python_SetConstant(d
, "FONTENCODING_MACHEBREW",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACHEBREW
)));
33834 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGREEK",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGREEK
)));
33835 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCYRILLIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCYRILLIC
)));
33836 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDEVANAGARI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDEVANAGARI
)));
33837 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGURMUKHI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGURMUKHI
)));
33838 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGUJARATI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGUJARATI
)));
33839 SWIG_Python_SetConstant(d
, "FONTENCODING_MACORIYA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACORIYA
)));
33840 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBENGALI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBENGALI
)));
33841 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTAMIL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTAMIL
)));
33842 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTELUGU",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTELUGU
)));
33843 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKANNADA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKANNADA
)));
33844 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMALAJALAM",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMALAJALAM
)));
33845 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSINHALESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSINHALESE
)));
33846 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBURMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBURMESE
)));
33847 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKHMER",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKHMER
)));
33848 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTHAI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTHAI
)));
33849 SWIG_Python_SetConstant(d
, "FONTENCODING_MACLAOTIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACLAOTIAN
)));
33850 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGEORGIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGEORGIAN
)));
33851 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARMENIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARMENIAN
)));
33852 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESESIMP",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESESIMP
)));
33853 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTIBETAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTIBETAN
)));
33854 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMONGOLIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMONGOLIAN
)));
33855 SWIG_Python_SetConstant(d
, "FONTENCODING_MACETHIOPIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACETHIOPIC
)));
33856 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCENTRALEUR",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCENTRALEUR
)));
33857 SWIG_Python_SetConstant(d
, "FONTENCODING_MACVIATNAMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACVIATNAMESE
)));
33858 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABICEXT",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABICEXT
)));
33859 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSYMBOL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSYMBOL
)));
33860 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDINGBATS",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDINGBATS
)));
33861 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTURKISH",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTURKISH
)));
33862 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCROATIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCROATIAN
)));
33863 SWIG_Python_SetConstant(d
, "FONTENCODING_MACICELANDIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACICELANDIC
)));
33864 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMANIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMANIAN
)));
33865 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCELTIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCELTIC
)));
33866 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGAELIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGAELIC
)));
33867 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKEYBOARD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKEYBOARD
)));
33868 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMIN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMIN
)));
33869 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMAX
)));
33870 SWIG_Python_SetConstant(d
, "FONTENCODING_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MAX
)));
33871 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16
)));
33872 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32
)));
33873 SWIG_Python_SetConstant(d
, "FONTENCODING_UNICODE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UNICODE
)));
33874 SWIG_Python_SetConstant(d
, "FONTENCODING_GB2312",SWIG_From_int(static_cast< int >(wxFONTENCODING_GB2312
)));
33875 SWIG_Python_SetConstant(d
, "FONTENCODING_BIG5",SWIG_From_int(static_cast< int >(wxFONTENCODING_BIG5
)));
33876 SWIG_Python_SetConstant(d
, "FONTENCODING_SHIFT_JIS",SWIG_From_int(static_cast< int >(wxFONTENCODING_SHIFT_JIS
)));
33878 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
33880 SWIG_Python_SetConstant(d
, "LANGUAGE_DEFAULT",SWIG_From_int(static_cast< int >(wxLANGUAGE_DEFAULT
)));
33881 SWIG_Python_SetConstant(d
, "LANGUAGE_UNKNOWN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UNKNOWN
)));
33882 SWIG_Python_SetConstant(d
, "LANGUAGE_ABKHAZIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ABKHAZIAN
)));
33883 SWIG_Python_SetConstant(d
, "LANGUAGE_AFAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFAR
)));
33884 SWIG_Python_SetConstant(d
, "LANGUAGE_AFRIKAANS",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFRIKAANS
)));
33885 SWIG_Python_SetConstant(d
, "LANGUAGE_ALBANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ALBANIAN
)));
33886 SWIG_Python_SetConstant(d
, "LANGUAGE_AMHARIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AMHARIC
)));
33887 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC
)));
33888 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_ALGERIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_ALGERIA
)));
33889 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_BAHRAIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_BAHRAIN
)));
33890 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_EGYPT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_EGYPT
)));
33891 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_IRAQ",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_IRAQ
)));
33892 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_JORDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_JORDAN
)));
33893 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_KUWAIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_KUWAIT
)));
33894 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LEBANON",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LEBANON
)));
33895 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LIBYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LIBYA
)));
33896 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_MOROCCO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_MOROCCO
)));
33897 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_OMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_OMAN
)));
33898 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_QATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_QATAR
)));
33899 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SAUDI_ARABIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SAUDI_ARABIA
)));
33900 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SUDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SUDAN
)));
33901 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SYRIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SYRIA
)));
33902 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_TUNISIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_TUNISIA
)));
33903 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_UAE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_UAE
)));
33904 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_YEMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_YEMEN
)));
33905 SWIG_Python_SetConstant(d
, "LANGUAGE_ARMENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARMENIAN
)));
33906 SWIG_Python_SetConstant(d
, "LANGUAGE_ASSAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ASSAMESE
)));
33907 SWIG_Python_SetConstant(d
, "LANGUAGE_AYMARA",SWIG_From_int(static_cast< int >(wxLANGUAGE_AYMARA
)));
33908 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI
)));
33909 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_CYRILLIC
)));
33910 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_LATIN
)));
33911 SWIG_Python_SetConstant(d
, "LANGUAGE_BASHKIR",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASHKIR
)));
33912 SWIG_Python_SetConstant(d
, "LANGUAGE_BASQUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASQUE
)));
33913 SWIG_Python_SetConstant(d
, "LANGUAGE_BELARUSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BELARUSIAN
)));
33914 SWIG_Python_SetConstant(d
, "LANGUAGE_BENGALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BENGALI
)));
33915 SWIG_Python_SetConstant(d
, "LANGUAGE_BHUTANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BHUTANI
)));
33916 SWIG_Python_SetConstant(d
, "LANGUAGE_BIHARI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BIHARI
)));
33917 SWIG_Python_SetConstant(d
, "LANGUAGE_BISLAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_BISLAMA
)));
33918 SWIG_Python_SetConstant(d
, "LANGUAGE_BRETON",SWIG_From_int(static_cast< int >(wxLANGUAGE_BRETON
)));
33919 SWIG_Python_SetConstant(d
, "LANGUAGE_BULGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BULGARIAN
)));
33920 SWIG_Python_SetConstant(d
, "LANGUAGE_BURMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BURMESE
)));
33921 SWIG_Python_SetConstant(d
, "LANGUAGE_CAMBODIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CAMBODIAN
)));
33922 SWIG_Python_SetConstant(d
, "LANGUAGE_CATALAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CATALAN
)));
33923 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE
)));
33924 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SIMPLIFIED",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SIMPLIFIED
)));
33925 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TRADITIONAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TRADITIONAL
)));
33926 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_HONGKONG",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_HONGKONG
)));
33927 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_MACAU",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_MACAU
)));
33928 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SINGAPORE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SINGAPORE
)));
33929 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TAIWAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TAIWAN
)));
33930 SWIG_Python_SetConstant(d
, "LANGUAGE_CORSICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CORSICAN
)));
33931 SWIG_Python_SetConstant(d
, "LANGUAGE_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CROATIAN
)));
33932 SWIG_Python_SetConstant(d
, "LANGUAGE_CZECH",SWIG_From_int(static_cast< int >(wxLANGUAGE_CZECH
)));
33933 SWIG_Python_SetConstant(d
, "LANGUAGE_DANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DANISH
)));
33934 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH
)));
33935 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH_BELGIAN
)));
33936 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH
)));
33937 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_UK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_UK
)));
33938 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_US
)));
33939 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_AUSTRALIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_AUSTRALIA
)));
33940 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BELIZE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BELIZE
)));
33941 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BOTSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BOTSWANA
)));
33942 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CANADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CANADA
)));
33943 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CARIBBEAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CARIBBEAN
)));
33944 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_DENMARK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_DENMARK
)));
33945 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_EIRE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_EIRE
)));
33946 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_JAMAICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_JAMAICA
)));
33947 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_NEW_ZEALAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_NEW_ZEALAND
)));
33948 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_PHILIPPINES",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_PHILIPPINES
)));
33949 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_SOUTH_AFRICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_SOUTH_AFRICA
)));
33950 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_TRINIDAD",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_TRINIDAD
)));
33951 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_ZIMBABWE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_ZIMBABWE
)));
33952 SWIG_Python_SetConstant(d
, "LANGUAGE_ESPERANTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESPERANTO
)));
33953 SWIG_Python_SetConstant(d
, "LANGUAGE_ESTONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESTONIAN
)));
33954 SWIG_Python_SetConstant(d
, "LANGUAGE_FAEROESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_FAEROESE
)));
33955 SWIG_Python_SetConstant(d
, "LANGUAGE_FARSI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FARSI
)));
33956 SWIG_Python_SetConstant(d
, "LANGUAGE_FIJI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FIJI
)));
33957 SWIG_Python_SetConstant(d
, "LANGUAGE_FINNISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FINNISH
)));
33958 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH
)));
33959 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_BELGIAN
)));
33960 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_CANADIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_CANADIAN
)));
33961 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_LUXEMBOURG
)));
33962 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_MONACO",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_MONACO
)));
33963 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_SWISS
)));
33964 SWIG_Python_SetConstant(d
, "LANGUAGE_FRISIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRISIAN
)));
33965 SWIG_Python_SetConstant(d
, "LANGUAGE_GALICIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GALICIAN
)));
33966 SWIG_Python_SetConstant(d
, "LANGUAGE_GEORGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GEORGIAN
)));
33967 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN
)));
33968 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_AUSTRIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_AUSTRIAN
)));
33969 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_BELGIUM",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_BELGIUM
)));
33970 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LIECHTENSTEIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LIECHTENSTEIN
)));
33971 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LUXEMBOURG
)));
33972 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_SWISS
)));
33973 SWIG_Python_SetConstant(d
, "LANGUAGE_GREEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREEK
)));
33974 SWIG_Python_SetConstant(d
, "LANGUAGE_GREENLANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREENLANDIC
)));
33975 SWIG_Python_SetConstant(d
, "LANGUAGE_GUARANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUARANI
)));
33976 SWIG_Python_SetConstant(d
, "LANGUAGE_GUJARATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUJARATI
)));
33977 SWIG_Python_SetConstant(d
, "LANGUAGE_HAUSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_HAUSA
)));
33978 SWIG_Python_SetConstant(d
, "LANGUAGE_HEBREW",SWIG_From_int(static_cast< int >(wxLANGUAGE_HEBREW
)));
33979 SWIG_Python_SetConstant(d
, "LANGUAGE_HINDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_HINDI
)));
33980 SWIG_Python_SetConstant(d
, "LANGUAGE_HUNGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_HUNGARIAN
)));
33981 SWIG_Python_SetConstant(d
, "LANGUAGE_ICELANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ICELANDIC
)));
33982 SWIG_Python_SetConstant(d
, "LANGUAGE_INDONESIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_INDONESIAN
)));
33983 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUA
)));
33984 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUE
)));
33985 SWIG_Python_SetConstant(d
, "LANGUAGE_INUKTITUT",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUKTITUT
)));
33986 SWIG_Python_SetConstant(d
, "LANGUAGE_INUPIAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUPIAK
)));
33987 SWIG_Python_SetConstant(d
, "LANGUAGE_IRISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_IRISH
)));
33988 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN
)));
33989 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN_SWISS
)));
33990 SWIG_Python_SetConstant(d
, "LANGUAGE_JAPANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAPANESE
)));
33991 SWIG_Python_SetConstant(d
, "LANGUAGE_JAVANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAVANESE
)));
33992 SWIG_Python_SetConstant(d
, "LANGUAGE_KANNADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KANNADA
)));
33993 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI
)));
33994 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI_INDIA
)));
33995 SWIG_Python_SetConstant(d
, "LANGUAGE_KAZAKH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KAZAKH
)));
33996 SWIG_Python_SetConstant(d
, "LANGUAGE_KERNEWEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_KERNEWEK
)));
33997 SWIG_Python_SetConstant(d
, "LANGUAGE_KINYARWANDA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KINYARWANDA
)));
33998 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRGHIZ",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRGHIZ
)));
33999 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRUNDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRUNDI
)));
34000 SWIG_Python_SetConstant(d
, "LANGUAGE_KONKANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KONKANI
)));
34001 SWIG_Python_SetConstant(d
, "LANGUAGE_KOREAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_KOREAN
)));
34002 SWIG_Python_SetConstant(d
, "LANGUAGE_KURDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KURDISH
)));
34003 SWIG_Python_SetConstant(d
, "LANGUAGE_LAOTHIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LAOTHIAN
)));
34004 SWIG_Python_SetConstant(d
, "LANGUAGE_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATIN
)));
34005 SWIG_Python_SetConstant(d
, "LANGUAGE_LATVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATVIAN
)));
34006 SWIG_Python_SetConstant(d
, "LANGUAGE_LINGALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_LINGALA
)));
34007 SWIG_Python_SetConstant(d
, "LANGUAGE_LITHUANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LITHUANIAN
)));
34008 SWIG_Python_SetConstant(d
, "LANGUAGE_MACEDONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MACEDONIAN
)));
34009 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAGASY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAGASY
)));
34010 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY
)));
34011 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAYALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAYALAM
)));
34012 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_BRUNEI_DARUSSALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
)));
34013 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_MALAYSIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_MALAYSIA
)));
34014 SWIG_Python_SetConstant(d
, "LANGUAGE_MALTESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALTESE
)));
34015 SWIG_Python_SetConstant(d
, "LANGUAGE_MANIPURI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MANIPURI
)));
34016 SWIG_Python_SetConstant(d
, "LANGUAGE_MAORI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MAORI
)));
34017 SWIG_Python_SetConstant(d
, "LANGUAGE_MARATHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MARATHI
)));
34018 SWIG_Python_SetConstant(d
, "LANGUAGE_MOLDAVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MOLDAVIAN
)));
34019 SWIG_Python_SetConstant(d
, "LANGUAGE_MONGOLIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MONGOLIAN
)));
34020 SWIG_Python_SetConstant(d
, "LANGUAGE_NAURU",SWIG_From_int(static_cast< int >(wxLANGUAGE_NAURU
)));
34021 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI
)));
34022 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI_INDIA
)));
34023 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_BOKMAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_BOKMAL
)));
34024 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_NYNORSK",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_NYNORSK
)));
34025 SWIG_Python_SetConstant(d
, "LANGUAGE_OCCITAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_OCCITAN
)));
34026 SWIG_Python_SetConstant(d
, "LANGUAGE_ORIYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ORIYA
)));
34027 SWIG_Python_SetConstant(d
, "LANGUAGE_OROMO",SWIG_From_int(static_cast< int >(wxLANGUAGE_OROMO
)));
34028 SWIG_Python_SetConstant(d
, "LANGUAGE_PASHTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_PASHTO
)));
34029 SWIG_Python_SetConstant(d
, "LANGUAGE_POLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_POLISH
)));
34030 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE
)));
34031 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE_BRAZILIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE_BRAZILIAN
)));
34032 SWIG_Python_SetConstant(d
, "LANGUAGE_PUNJABI",SWIG_From_int(static_cast< int >(wxLANGUAGE_PUNJABI
)));
34033 SWIG_Python_SetConstant(d
, "LANGUAGE_QUECHUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_QUECHUA
)));
34034 SWIG_Python_SetConstant(d
, "LANGUAGE_RHAETO_ROMANCE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RHAETO_ROMANCE
)));
34035 SWIG_Python_SetConstant(d
, "LANGUAGE_ROMANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ROMANIAN
)));
34036 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN
)));
34037 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN_UKRAINE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN_UKRAINE
)));
34038 SWIG_Python_SetConstant(d
, "LANGUAGE_SAMOAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SAMOAN
)));
34039 SWIG_Python_SetConstant(d
, "LANGUAGE_SANGHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANGHO
)));
34040 SWIG_Python_SetConstant(d
, "LANGUAGE_SANSKRIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANSKRIT
)));
34041 SWIG_Python_SetConstant(d
, "LANGUAGE_SCOTS_GAELIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SCOTS_GAELIC
)));
34042 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN
)));
34043 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_CYRILLIC
)));
34044 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_LATIN
)));
34045 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBO_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBO_CROATIAN
)));
34046 SWIG_Python_SetConstant(d
, "LANGUAGE_SESOTHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SESOTHO
)));
34047 SWIG_Python_SetConstant(d
, "LANGUAGE_SETSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SETSWANA
)));
34048 SWIG_Python_SetConstant(d
, "LANGUAGE_SHONA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SHONA
)));
34049 SWIG_Python_SetConstant(d
, "LANGUAGE_SINDHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINDHI
)));
34050 SWIG_Python_SetConstant(d
, "LANGUAGE_SINHALESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINHALESE
)));
34051 SWIG_Python_SetConstant(d
, "LANGUAGE_SISWATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SISWATI
)));
34052 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVAK
)));
34053 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVENIAN
)));
34054 SWIG_Python_SetConstant(d
, "LANGUAGE_SOMALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SOMALI
)));
34055 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH
)));
34056 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ARGENTINA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ARGENTINA
)));
34057 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_BOLIVIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_BOLIVIA
)));
34058 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_CHILE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_CHILE
)));
34059 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COLOMBIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COLOMBIA
)));
34060 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COSTA_RICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COSTA_RICA
)));
34061 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_DOMINICAN_REPUBLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
)));
34062 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ECUADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ECUADOR
)));
34063 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_EL_SALVADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_EL_SALVADOR
)));
34064 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_GUATEMALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_GUATEMALA
)));
34065 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_HONDURAS",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_HONDURAS
)));
34066 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MEXICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MEXICAN
)));
34067 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MODERN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MODERN
)));
34068 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_NICARAGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_NICARAGUA
)));
34069 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PANAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PANAMA
)));
34070 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PARAGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PARAGUAY
)));
34071 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PERU",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PERU
)));
34072 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PUERTO_RICO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PUERTO_RICO
)));
34073 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_URUGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_URUGUAY
)));
34074 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_US
)));
34075 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_VENEZUELA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_VENEZUELA
)));
34076 SWIG_Python_SetConstant(d
, "LANGUAGE_SUNDANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SUNDANESE
)));
34077 SWIG_Python_SetConstant(d
, "LANGUAGE_SWAHILI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWAHILI
)));
34078 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH
)));
34079 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH_FINLAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH_FINLAND
)));
34080 SWIG_Python_SetConstant(d
, "LANGUAGE_TAGALOG",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAGALOG
)));
34081 SWIG_Python_SetConstant(d
, "LANGUAGE_TAJIK",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAJIK
)));
34082 SWIG_Python_SetConstant(d
, "LANGUAGE_TAMIL",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAMIL
)));
34083 SWIG_Python_SetConstant(d
, "LANGUAGE_TATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_TATAR
)));
34084 SWIG_Python_SetConstant(d
, "LANGUAGE_TELUGU",SWIG_From_int(static_cast< int >(wxLANGUAGE_TELUGU
)));
34085 SWIG_Python_SetConstant(d
, "LANGUAGE_THAI",SWIG_From_int(static_cast< int >(wxLANGUAGE_THAI
)));
34086 SWIG_Python_SetConstant(d
, "LANGUAGE_TIBETAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIBETAN
)));
34087 SWIG_Python_SetConstant(d
, "LANGUAGE_TIGRINYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIGRINYA
)));
34088 SWIG_Python_SetConstant(d
, "LANGUAGE_TONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TONGA
)));
34089 SWIG_Python_SetConstant(d
, "LANGUAGE_TSONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TSONGA
)));
34090 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKISH
)));
34091 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKMEN
)));
34092 SWIG_Python_SetConstant(d
, "LANGUAGE_TWI",SWIG_From_int(static_cast< int >(wxLANGUAGE_TWI
)));
34093 SWIG_Python_SetConstant(d
, "LANGUAGE_UIGHUR",SWIG_From_int(static_cast< int >(wxLANGUAGE_UIGHUR
)));
34094 SWIG_Python_SetConstant(d
, "LANGUAGE_UKRAINIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UKRAINIAN
)));
34095 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU
)));
34096 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_INDIA
)));
34097 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_PAKISTAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_PAKISTAN
)));
34098 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK
)));
34099 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_CYRILLIC
)));
34100 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_LATIN
)));
34101 SWIG_Python_SetConstant(d
, "LANGUAGE_VIETNAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_VIETNAMESE
)));
34102 SWIG_Python_SetConstant(d
, "LANGUAGE_VOLAPUK",SWIG_From_int(static_cast< int >(wxLANGUAGE_VOLAPUK
)));
34103 SWIG_Python_SetConstant(d
, "LANGUAGE_WELSH",SWIG_From_int(static_cast< int >(wxLANGUAGE_WELSH
)));
34104 SWIG_Python_SetConstant(d
, "LANGUAGE_WOLOF",SWIG_From_int(static_cast< int >(wxLANGUAGE_WOLOF
)));
34105 SWIG_Python_SetConstant(d
, "LANGUAGE_XHOSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_XHOSA
)));
34106 SWIG_Python_SetConstant(d
, "LANGUAGE_YIDDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_YIDDISH
)));
34107 SWIG_Python_SetConstant(d
, "LANGUAGE_YORUBA",SWIG_From_int(static_cast< int >(wxLANGUAGE_YORUBA
)));
34108 SWIG_Python_SetConstant(d
, "LANGUAGE_ZHUANG",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZHUANG
)));
34109 SWIG_Python_SetConstant(d
, "LANGUAGE_ZULU",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZULU
)));
34110 SWIG_Python_SetConstant(d
, "LANGUAGE_USER_DEFINED",SWIG_From_int(static_cast< int >(wxLANGUAGE_USER_DEFINED
)));
34111 SWIG_Python_SetConstant(d
, "LOCALE_CAT_NUMBER",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_NUMBER
)));
34112 SWIG_Python_SetConstant(d
, "LOCALE_CAT_DATE",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_DATE
)));
34113 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MONEY",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MONEY
)));
34114 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MAX",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MAX
)));
34115 SWIG_Python_SetConstant(d
, "LOCALE_THOUSANDS_SEP",SWIG_From_int(static_cast< int >(wxLOCALE_THOUSANDS_SEP
)));
34116 SWIG_Python_SetConstant(d
, "LOCALE_DECIMAL_POINT",SWIG_From_int(static_cast< int >(wxLOCALE_DECIMAL_POINT
)));
34117 SWIG_Python_SetConstant(d
, "LOCALE_LOAD_DEFAULT",SWIG_From_int(static_cast< int >(wxLOCALE_LOAD_DEFAULT
)));
34118 SWIG_Python_SetConstant(d
, "LOCALE_CONV_ENCODING",SWIG_From_int(static_cast< int >(wxLOCALE_CONV_ENCODING
)));
34119 SWIG_Python_SetConstant(d
, "CONVERT_STRICT",SWIG_From_int(static_cast< int >(wxCONVERT_STRICT
)));
34120 SWIG_Python_SetConstant(d
, "CONVERT_SUBSTITUTE",SWIG_From_int(static_cast< int >(wxCONVERT_SUBSTITUTE
)));
34121 SWIG_Python_SetConstant(d
, "PLATFORM_CURRENT",SWIG_From_int(static_cast< int >(wxPLATFORM_CURRENT
)));
34122 SWIG_Python_SetConstant(d
, "PLATFORM_UNIX",SWIG_From_int(static_cast< int >(wxPLATFORM_UNIX
)));
34123 SWIG_Python_SetConstant(d
, "PLATFORM_WINDOWS",SWIG_From_int(static_cast< int >(wxPLATFORM_WINDOWS
)));
34124 SWIG_Python_SetConstant(d
, "PLATFORM_OS2",SWIG_From_int(static_cast< int >(wxPLATFORM_OS2
)));
34125 SWIG_Python_SetConstant(d
, "PLATFORM_MAC",SWIG_From_int(static_cast< int >(wxPLATFORM_MAC
)));
34126 SWIG_Python_SetConstant(d
, "BUFFER_VIRTUAL_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_VIRTUAL_AREA
)));
34127 SWIG_Python_SetConstant(d
, "BUFFER_CLIENT_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_CLIENT_AREA
)));
34128 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_NORMAL
)));
34129 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_TRANSPARENT",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_TRANSPARENT
)));
34130 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_SELECTED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_SELECTED
)));
34131 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_FOCUSED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_FOCUSED
)));
34132 SWIG_Python_SetConstant(d
, "IMAGE_LIST_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_NORMAL
)));
34133 SWIG_Python_SetConstant(d
, "IMAGE_LIST_SMALL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_SMALL
)));
34134 SWIG_Python_SetConstant(d
, "IMAGE_LIST_STATE",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_STATE
)));
34135 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLACK
)));
34136 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLUE
)));
34137 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_CYAN
)));
34138 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREEN
)));
34139 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREY
)));
34140 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_LIGHTGREY
)));
34141 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_MEDIUMGREY
)));
34142 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_RED",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_RED
)));
34143 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_TRANSPARENT
)));
34144 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_WHITE
)));
34145 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLACK
)));
34146 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLUE
)));
34147 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_CYAN
)));
34148 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_GREEN
)));
34149 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_LIGHTGREY
)));
34150 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_RED",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_RED
)));
34151 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_WHITE
)));
34152 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_CROSS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_CROSS
)));
34153 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_HOURGLASS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_HOURGLASS
)));
34154 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_STANDARD",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_STANDARD
)));
34155 SWIG_Python_SetConstant(d
, "StockGDI_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_ITALIC
)));
34156 SWIG_Python_SetConstant(d
, "StockGDI_FONT_NORMAL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_NORMAL
)));
34157 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SMALL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SMALL
)));
34158 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SWISS",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SWISS
)));
34159 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACK
)));
34160 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACKDASHED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACKDASHED
)));
34161 SWIG_Python_SetConstant(d
, "StockGDI_PEN_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_CYAN
)));
34162 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREEN
)));
34163 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREY
)));
34164 SWIG_Python_SetConstant(d
, "StockGDI_PEN_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_LIGHTGREY
)));
34165 SWIG_Python_SetConstant(d
, "StockGDI_PEN_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_MEDIUMGREY
)));
34166 SWIG_Python_SetConstant(d
, "StockGDI_PEN_RED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_RED
)));
34167 SWIG_Python_SetConstant(d
, "StockGDI_PEN_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_TRANSPARENT
)));
34168 SWIG_Python_SetConstant(d
, "StockGDI_PEN_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_WHITE
)));
34169 SWIG_Python_SetConstant(d
, "StockGDI_ITEMCOUNT",SWIG_From_int(static_cast< int >(wxStockGDI::ITEMCOUNT
)));
34170 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
34171 SWIG_addvarlink(SWIG_globals(),(char*)"NullBitmap",NullBitmap_get
, NullBitmap_set
);
34172 SWIG_addvarlink(SWIG_globals(),(char*)"NullIcon",NullIcon_get
, NullIcon_set
);
34173 SWIG_addvarlink(SWIG_globals(),(char*)"NullCursor",NullCursor_get
, NullCursor_set
);
34174 SWIG_addvarlink(SWIG_globals(),(char*)"NullPen",NullPen_get
, NullPen_set
);
34175 SWIG_addvarlink(SWIG_globals(),(char*)"NullBrush",NullBrush_get
, NullBrush_set
);
34176 SWIG_addvarlink(SWIG_globals(),(char*)"NullPalette",NullPalette_get
, NullPalette_set
);
34177 SWIG_addvarlink(SWIG_globals(),(char*)"NullFont",NullFont_get
, NullFont_set
);
34178 SWIG_addvarlink(SWIG_globals(),(char*)"NullColour",NullColour_get
, NullColour_set
);
34179 SWIG_Python_SetConstant(d
, "CONTROL_DISABLED",SWIG_From_int(static_cast< int >(wxCONTROL_DISABLED
)));
34180 SWIG_Python_SetConstant(d
, "CONTROL_FOCUSED",SWIG_From_int(static_cast< int >(wxCONTROL_FOCUSED
)));
34181 SWIG_Python_SetConstant(d
, "CONTROL_PRESSED",SWIG_From_int(static_cast< int >(wxCONTROL_PRESSED
)));
34182 SWIG_Python_SetConstant(d
, "CONTROL_ISDEFAULT",SWIG_From_int(static_cast< int >(wxCONTROL_ISDEFAULT
)));
34183 SWIG_Python_SetConstant(d
, "CONTROL_ISSUBMENU",SWIG_From_int(static_cast< int >(wxCONTROL_ISSUBMENU
)));
34184 SWIG_Python_SetConstant(d
, "CONTROL_EXPANDED",SWIG_From_int(static_cast< int >(wxCONTROL_EXPANDED
)));
34185 SWIG_Python_SetConstant(d
, "CONTROL_CURRENT",SWIG_From_int(static_cast< int >(wxCONTROL_CURRENT
)));
34186 SWIG_Python_SetConstant(d
, "CONTROL_SELECTED",SWIG_From_int(static_cast< int >(wxCONTROL_SELECTED
)));
34187 SWIG_Python_SetConstant(d
, "CONTROL_CHECKED",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKED
)));
34188 SWIG_Python_SetConstant(d
, "CONTROL_CHECKABLE",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKABLE
)));
34189 SWIG_Python_SetConstant(d
, "CONTROL_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCONTROL_UNDETERMINED
)));
34190 SWIG_Python_SetConstant(d
, "CONTROL_FLAGS_MASK",SWIG_From_int(static_cast< int >(wxCONTROL_FLAGS_MASK
)));
34191 SWIG_Python_SetConstant(d
, "CONTROL_DIRTY",SWIG_From_int(static_cast< int >(wxCONTROL_DIRTY
)));
34192 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Version",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Version
)));
34193 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Age",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Age
)));
34195 // Work around a chicken/egg problem in drawlist.cpp
34196 wxPyDrawList_SetAPIPtr();