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_void swig_types[8]
2475 #define SWIGTYPE_p_wxANIHandler swig_types[9]
2476 #define SWIGTYPE_p_wxAcceleratorTable swig_types[10]
2477 #define SWIGTYPE_p_wxActivateEvent swig_types[11]
2478 #define SWIGTYPE_p_wxAlphaPixelData swig_types[12]
2479 #define SWIGTYPE_p_wxAlphaPixelData_Accessor swig_types[13]
2480 #define SWIGTYPE_p_wxAutoBufferedPaintDC swig_types[14]
2481 #define SWIGTYPE_p_wxBMPHandler swig_types[15]
2482 #define SWIGTYPE_p_wxBitmap swig_types[16]
2483 #define SWIGTYPE_p_wxBoxSizer swig_types[17]
2484 #define SWIGTYPE_p_wxBrush swig_types[18]
2485 #define SWIGTYPE_p_wxBrushList swig_types[19]
2486 #define SWIGTYPE_p_wxBufferedDC swig_types[20]
2487 #define SWIGTYPE_p_wxBufferedPaintDC swig_types[21]
2488 #define SWIGTYPE_p_wxCURHandler swig_types[22]
2489 #define SWIGTYPE_p_wxChar swig_types[23]
2490 #define SWIGTYPE_p_wxChildFocusEvent swig_types[24]
2491 #define SWIGTYPE_p_wxClientDC swig_types[25]
2492 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[26]
2493 #define SWIGTYPE_p_wxCloseEvent swig_types[27]
2494 #define SWIGTYPE_p_wxColor swig_types[28]
2495 #define SWIGTYPE_p_wxColour swig_types[29]
2496 #define SWIGTYPE_p_wxColourDatabase swig_types[30]
2497 #define SWIGTYPE_p_wxCommandEvent swig_types[31]
2498 #define SWIGTYPE_p_wxContextMenuEvent swig_types[32]
2499 #define SWIGTYPE_p_wxControl swig_types[33]
2500 #define SWIGTYPE_p_wxControlWithItems swig_types[34]
2501 #define SWIGTYPE_p_wxCursor swig_types[35]
2502 #define SWIGTYPE_p_wxDC swig_types[36]
2503 #define SWIGTYPE_p_wxDCOverlay swig_types[37]
2504 #define SWIGTYPE_p_wxDash swig_types[38]
2505 #define SWIGTYPE_p_wxDateEvent swig_types[39]
2506 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[40]
2507 #define SWIGTYPE_p_wxDropFilesEvent swig_types[41]
2508 #define SWIGTYPE_p_wxDuplexMode swig_types[42]
2509 #define SWIGTYPE_p_wxEffects swig_types[43]
2510 #define SWIGTYPE_p_wxEncodingConverter swig_types[44]
2511 #define SWIGTYPE_p_wxEraseEvent swig_types[45]
2512 #define SWIGTYPE_p_wxEvent swig_types[46]
2513 #define SWIGTYPE_p_wxEvtHandler swig_types[47]
2514 #define SWIGTYPE_p_wxFSFile swig_types[48]
2515 #define SWIGTYPE_p_wxFileSystem swig_types[49]
2516 #define SWIGTYPE_p_wxFlexGridSizer swig_types[50]
2517 #define SWIGTYPE_p_wxFocusEvent swig_types[51]
2518 #define SWIGTYPE_p_wxFont swig_types[52]
2519 #define SWIGTYPE_p_wxFontList swig_types[53]
2520 #define SWIGTYPE_p_wxFontMapper swig_types[54]
2521 #define SWIGTYPE_p_wxGBSizerItem swig_types[55]
2522 #define SWIGTYPE_p_wxGCDC swig_types[56]
2523 #define SWIGTYPE_p_wxGDIObjListBase swig_types[57]
2524 #define SWIGTYPE_p_wxGDIObject swig_types[58]
2525 #define SWIGTYPE_p_wxGIFHandler swig_types[59]
2526 #define SWIGTYPE_p_wxGraphicsContext swig_types[60]
2527 #define SWIGTYPE_p_wxGraphicsPath swig_types[61]
2528 #define SWIGTYPE_p_wxGridBagSizer swig_types[62]
2529 #define SWIGTYPE_p_wxGridSizer swig_types[63]
2530 #define SWIGTYPE_p_wxHeaderButtonParams swig_types[64]
2531 #define SWIGTYPE_p_wxICOHandler swig_types[65]
2532 #define SWIGTYPE_p_wxIcon swig_types[66]
2533 #define SWIGTYPE_p_wxIconBundle swig_types[67]
2534 #define SWIGTYPE_p_wxIconLocation swig_types[68]
2535 #define SWIGTYPE_p_wxIconizeEvent swig_types[69]
2536 #define SWIGTYPE_p_wxIdleEvent swig_types[70]
2537 #define SWIGTYPE_p_wxImage swig_types[71]
2538 #define SWIGTYPE_p_wxImageHandler swig_types[72]
2539 #define SWIGTYPE_p_wxImageList swig_types[73]
2540 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[74]
2541 #define SWIGTYPE_p_wxInitDialogEvent swig_types[75]
2542 #define SWIGTYPE_p_wxJPEGHandler swig_types[76]
2543 #define SWIGTYPE_p_wxKeyEvent swig_types[77]
2544 #define SWIGTYPE_p_wxLanguageInfo swig_types[78]
2545 #define SWIGTYPE_p_wxLayoutConstraints swig_types[79]
2546 #define SWIGTYPE_p_wxLocale swig_types[80]
2547 #define SWIGTYPE_p_wxMask swig_types[81]
2548 #define SWIGTYPE_p_wxMaximizeEvent swig_types[82]
2549 #define SWIGTYPE_p_wxMemoryDC swig_types[83]
2550 #define SWIGTYPE_p_wxMenu swig_types[84]
2551 #define SWIGTYPE_p_wxMenuBar swig_types[85]
2552 #define SWIGTYPE_p_wxMenuEvent swig_types[86]
2553 #define SWIGTYPE_p_wxMenuItem swig_types[87]
2554 #define SWIGTYPE_p_wxMetaFile swig_types[88]
2555 #define SWIGTYPE_p_wxMetaFileDC swig_types[89]
2556 #define SWIGTYPE_p_wxMirrorDC swig_types[90]
2557 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[91]
2558 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[92]
2559 #define SWIGTYPE_p_wxMouseEvent swig_types[93]
2560 #define SWIGTYPE_p_wxMoveEvent swig_types[94]
2561 #define SWIGTYPE_p_wxNativeEncodingInfo swig_types[95]
2562 #define SWIGTYPE_p_wxNativeFontInfo swig_types[96]
2563 #define SWIGTYPE_p_wxNativePixelData swig_types[97]
2564 #define SWIGTYPE_p_wxNativePixelData_Accessor swig_types[98]
2565 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[99]
2566 #define SWIGTYPE_p_wxNcPaintEvent swig_types[100]
2567 #define SWIGTYPE_p_wxNotifyEvent swig_types[101]
2568 #define SWIGTYPE_p_wxObject swig_types[102]
2569 #define SWIGTYPE_p_wxOverlay swig_types[103]
2570 #define SWIGTYPE_p_wxPCXHandler swig_types[104]
2571 #define SWIGTYPE_p_wxPNGHandler swig_types[105]
2572 #define SWIGTYPE_p_wxPNMHandler swig_types[106]
2573 #define SWIGTYPE_p_wxPaintDC swig_types[107]
2574 #define SWIGTYPE_p_wxPaintEvent swig_types[108]
2575 #define SWIGTYPE_p_wxPalette swig_types[109]
2576 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[110]
2577 #define SWIGTYPE_p_wxPaperSize swig_types[111]
2578 #define SWIGTYPE_p_wxPen swig_types[112]
2579 #define SWIGTYPE_p_wxPenList swig_types[113]
2580 #define SWIGTYPE_p_wxPixelDataBase swig_types[114]
2581 #define SWIGTYPE_p_wxPoint swig_types[115]
2582 #define SWIGTYPE_p_wxPoint2D swig_types[116]
2583 #define SWIGTYPE_p_wxPostScriptDC swig_types[117]
2584 #define SWIGTYPE_p_wxPrintData swig_types[118]
2585 #define SWIGTYPE_p_wxPrinterDC swig_types[119]
2586 #define SWIGTYPE_p_wxPseudoDC swig_types[120]
2587 #define SWIGTYPE_p_wxPyApp swig_types[121]
2588 #define SWIGTYPE_p_wxPyCommandEvent swig_types[122]
2589 #define SWIGTYPE_p_wxPyEvent swig_types[123]
2590 #define SWIGTYPE_p_wxPyFontEnumerator swig_types[124]
2591 #define SWIGTYPE_p_wxPyImageHandler swig_types[125]
2592 #define SWIGTYPE_p_wxPyLocale swig_types[126]
2593 #define SWIGTYPE_p_wxPySizer swig_types[127]
2594 #define SWIGTYPE_p_wxPyValidator swig_types[128]
2595 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[129]
2596 #define SWIGTYPE_p_wxRect swig_types[130]
2597 #define SWIGTYPE_p_wxRegion swig_types[131]
2598 #define SWIGTYPE_p_wxRegionIterator swig_types[132]
2599 #define SWIGTYPE_p_wxRendererNative swig_types[133]
2600 #define SWIGTYPE_p_wxRendererVersion swig_types[134]
2601 #define SWIGTYPE_p_wxScreenDC swig_types[135]
2602 #define SWIGTYPE_p_wxScrollEvent swig_types[136]
2603 #define SWIGTYPE_p_wxScrollWinEvent swig_types[137]
2604 #define SWIGTYPE_p_wxSetCursorEvent swig_types[138]
2605 #define SWIGTYPE_p_wxShowEvent swig_types[139]
2606 #define SWIGTYPE_p_wxSize swig_types[140]
2607 #define SWIGTYPE_p_wxSizeEvent swig_types[141]
2608 #define SWIGTYPE_p_wxSizer swig_types[142]
2609 #define SWIGTYPE_p_wxSizerItem swig_types[143]
2610 #define SWIGTYPE_p_wxSplitterRenderParams swig_types[144]
2611 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[145]
2612 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[146]
2613 #define SWIGTYPE_p_wxStockGDI swig_types[147]
2614 #define SWIGTYPE_p_wxString swig_types[148]
2615 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[149]
2616 #define SWIGTYPE_p_wxTIFFHandler swig_types[150]
2617 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[151]
2618 #define SWIGTYPE_p_wxValidator swig_types[152]
2619 #define SWIGTYPE_p_wxWindow swig_types[153]
2620 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[154]
2621 #define SWIGTYPE_p_wxWindowDC swig_types[155]
2622 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[156]
2623 #define SWIGTYPE_p_wxXPMHandler swig_types[157]
2624 static swig_type_info
*swig_types
[159];
2625 static swig_module_info swig_module
= {swig_types
, 158, 0, 0, 0, 0};
2626 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2627 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2629 /* -------- TYPES TABLE (END) -------- */
2631 #if (PY_VERSION_HEX <= 0x02000000)
2632 # if !defined(SWIG_PYTHON_CLASSIC)
2633 # error "This python version requires to use swig with the '-classic' option"
2636 #if (PY_VERSION_HEX <= 0x02020000)
2637 # error "This python version requires to use swig with the '-nomodern' option"
2639 #if (PY_VERSION_HEX <= 0x02020000)
2640 # error "This python version requires to use swig with the '-nomodernargs' option"
2643 # error "This python version requires to use swig with the '-nofastunpack' option"
2646 /*-----------------------------------------------
2647 @(target):= _gdi_.so
2648 ------------------------------------------------*/
2649 #define SWIG_init init_gdi_
2651 #define SWIG_name "_gdi_"
2653 #define SWIGVERSION 0x010329
2656 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2657 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2660 #include <stdexcept>
2664 class PyObject_ptr
{
2669 PyObject_ptr() :_obj(0)
2673 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2678 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2680 if (initial_ref
) Py_XINCREF(_obj
);
2683 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2685 Py_XINCREF(item
._obj
);
2696 operator PyObject
*() const
2701 PyObject
*operator->() const
2710 struct PyObject_var
: PyObject_ptr
{
2711 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2713 PyObject_var
& operator = (PyObject
* obj
)
2723 #include "wx/wxPython/wxPython.h"
2724 #include "wx/wxPython/pyclasses.h"
2727 static const wxString
wxPyEmptyString(wxEmptyString
);
2729 #define SWIG_From_long PyInt_FromLong
2732 SWIGINTERNINLINE PyObject
*
2733 SWIG_From_int (int value
)
2735 return SWIG_From_long (value
);
2741 # define LLONG_MIN LONG_LONG_MIN
2744 # define LLONG_MAX LONG_LONG_MAX
2747 # define ULLONG_MAX ULONG_LONG_MAX
2752 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2754 if (PyNumber_Check(obj
)) {
2755 if (val
) *val
= PyInt_AsLong(obj
);
2758 return SWIG_TypeError
;
2763 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2766 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2767 return SWIG_TypeError
;
2770 *val
= (unsigned long)v
;
2776 SWIG_AsVal_unsigned_SS_char (PyObject
* obj
, unsigned char *val
)
2779 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2780 if (SWIG_IsOK(res
)) {
2781 if ((v
> UCHAR_MAX
)) {
2782 return SWIG_OverflowError
;
2784 if (val
) *val
= static_cast< unsigned char >(v
);
2791 SWIGINTERNINLINE PyObject
*
2792 SWIG_From_unsigned_SS_long (unsigned long value
)
2794 return (value
> LONG_MAX
) ?
2795 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2799 SWIGINTERNINLINE PyObject
*
2800 SWIG_From_unsigned_SS_char (unsigned char value
)
2802 return SWIG_From_unsigned_SS_long (value
);
2805 SWIGINTERN
bool wxColour___eq__(wxColour
*self
,PyObject
*other
){
2806 wxColour temp
, *obj
= &temp
;
2807 if ( other
== Py_None
) return false;
2808 if ( ! wxColour_helper(other
, &obj
) ) {
2812 return self
->operator==(*obj
);
2814 SWIGINTERN
bool wxColour___ne__(wxColour
*self
,PyObject
*other
){
2815 wxColour temp
, *obj
= &temp
;
2816 if ( other
== Py_None
) return true;
2817 if ( ! wxColour_helper(other
, &obj
)) {
2821 return self
->operator!=(*obj
);
2825 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2827 if (obj
== Py_True
) {
2828 if (val
) *val
= true;
2830 } else if (obj
== Py_False
) {
2831 if (val
) *val
= false;
2835 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2836 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2841 SWIGINTERN PyObject
*wxColour_Get(wxColour
*self
,bool includeAlpha
=false){
2842 PyObject
* rv
= PyTuple_New(includeAlpha
? 4 : 3);
2846 int alpha
= wxALPHA_OPAQUE
;
2849 green
= self
->Green();
2850 blue
= self
->Blue();
2851 alpha
= self
->Alpha();
2853 PyTuple_SetItem(rv
, 0, PyInt_FromLong(red
));
2854 PyTuple_SetItem(rv
, 1, PyInt_FromLong(green
));
2855 PyTuple_SetItem(rv
, 2, PyInt_FromLong(blue
));
2857 PyTuple_SetItem(rv
, 3, PyInt_FromLong(alpha
));
2860 SWIGINTERN
unsigned long wxColour_GetRGB(wxColour
*self
){
2861 return self
->Red() | (self
->Green() << 8) | (self
->Blue() << 16);
2865 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2868 int res
= SWIG_AsVal_long (obj
, &v
);
2869 if (SWIG_IsOK(res
)) {
2870 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2871 return SWIG_OverflowError
;
2873 if (val
) *val
= static_cast< int >(v
);
2879 SWIGINTERN PyObject
*wxPen_GetDashes(wxPen
*self
){
2881 int count
= self
->GetDashes(&dashes
);
2882 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2883 PyObject
* retval
= PyList_New(0);
2884 for (int x
=0; x
<count
; x
++) {
2885 PyObject
* pyint
= PyInt_FromLong(dashes
[x
]);
2886 PyList_Append(retval
, pyint
);
2889 wxPyEndBlockThreads(blocked
);
2892 SWIGINTERN
void wxPen__SetDashes(wxPen
*self
,PyObject
*_self
,PyObject
*pyDashes
){
2893 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2894 int size
= PyList_Size(pyDashes
);
2895 wxDash
* dashes
= (wxDash
*)byte_LIST_helper(pyDashes
);
2897 // black magic warning! The array of wxDashes needs to exist as
2898 // long as the pen does because wxPen does not copy the array. So
2899 // stick a copy in a Python string object and attach it to _self,
2900 // and then call SetDashes with a pointer to that array. Then
2901 // when the Python pen object is destroyed the array will be
2903 PyObject
* strDashes
= PyString_FromStringAndSize((char*)dashes
, size
*sizeof(wxDash
));
2904 PyObject_SetAttrString(_self
, "_dashes", strDashes
);
2906 self
->SetDashes(size
, (wxDash
*)PyString_AS_STRING(strDashes
));
2908 Py_DECREF(strDashes
);
2909 wxPyEndBlockThreads(blocked
);
2911 SWIGINTERN
bool wxPen___eq__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
== *other
) : false; }
2912 SWIGINTERN
bool wxPen___ne__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
!= *other
) : true; }
2914 #include <wx/rawbmp.h>
2917 #include <wx/image.h>
2919 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
2920 char** cArray
= NULL
;
2923 if (!PyList_Check(listOfStrings
)) {
2924 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
2927 count
= PyList_Size(listOfStrings
);
2928 cArray
= new char*[count
];
2930 for(int x
=0; x
<count
; x
++) {
2931 // TODO: Need some validation and error checking here
2932 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
2938 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*listOfStrings
){
2939 char** cArray
= NULL
;
2942 cArray
= ConvertListOfStrings(listOfStrings
);
2945 bmp
= new wxBitmap(cArray
);
2949 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*bits
,int width
,int height
,int depth
=1){
2952 PyString_AsStringAndSize(bits
, &buf
, &length
);
2953 return new wxBitmap(buf
, width
, height
, depth
);
2955 SWIGINTERN wxSize
wxBitmap_GetSize(wxBitmap
*self
){
2956 wxSize
size(self
->GetWidth(), self
->GetHeight());
2959 SWIGINTERN
void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
2960 wxMask
*mask
= new wxMask(*self
, colour
);
2961 self
->SetMask(mask
);
2963 SWIGINTERN
void wxBitmap_SetSize(wxBitmap
*self
,wxSize
const &size
){
2964 self
->SetWidth(size
.x
);
2965 self
->SetHeight(size
.y
);
2967 SWIGINTERN
bool wxBitmap___eq__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
== *other
) : false; }
2968 SWIGINTERN
bool wxBitmap___ne__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
!= *other
) : true; }
2970 // See http://tinyurl.com/e5adr for what premultiplying alpha means. It
2971 // appears to me that the other platforms are already doing it, so I'll just
2972 // automatically do it for wxMSW here.
2974 #define wxPy_premultiply(p, a) ((p) * (a) / 0xff)
2975 #define wxPy_unpremultiply(p, a) ((a) ? ((p) * 0xff / (a)) : (p))
2977 #define wxPy_premultiply(p, a) (p)
2978 #define wxPy_unpremultiply(p, a) (p)
2982 wxBitmap
* _BitmapFromBufferAlpha(int width
, int height
,
2983 buffer data
, int DATASIZE
,
2984 buffer alpha
, int ALPHASIZE
)
2986 if (DATASIZE
!= width
*height
*3) {
2987 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
2991 if (ALPHASIZE
!= width
*height
) {
2992 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
2996 wxBitmap
* bmp
= new wxBitmap(width
, height
, 32);
2997 wxAlphaPixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
2999 // raise an exception...
3000 wxPyErr_SetString(PyExc_RuntimeError
,
3001 "Failed to gain raw access to bitmap data.");
3006 wxAlphaPixelData::Iterator
p(pixData
);
3007 for (int y
=0; y
<height
; y
++) {
3008 wxAlphaPixelData::Iterator rowStart
= p
;
3009 for (int x
=0; x
<width
; x
++) {
3010 byte a
= *(alpha
++);
3011 p
.Red() = wxPy_premultiply(*(data
++), a
);
3012 p
.Green() = wxPy_premultiply(*(data
++), a
);
3013 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3018 p
.OffsetY(pixData
, 1);
3023 wxBitmap
* _BitmapFromBuffer(int width
, int height
, buffer data
, int DATASIZE
)
3025 if (DATASIZE
!= width
*height
*3) {
3026 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3030 wxBitmap
* bmp
= new wxBitmap(width
, height
, 24);
3031 wxNativePixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3033 // raise an exception...
3034 wxPyErr_SetString(PyExc_RuntimeError
,
3035 "Failed to gain raw access to bitmap data.");
3039 wxNativePixelData::Iterator
p(pixData
);
3040 for (int y
=0; y
<height
; y
++) {
3041 wxNativePixelData::Iterator rowStart
= p
;
3042 for (int x
=0; x
<width
; x
++) {
3043 p
.Red() = *(data
++);
3044 p
.Green() = *(data
++);
3045 p
.Blue() = *(data
++);
3049 p
.OffsetY(pixData
, 1);
3055 wxBitmap
* _BitmapFromBufferRGBA(int width
, int height
, buffer data
, int DATASIZE
)
3057 if (DATASIZE
!= width
*height
*4) {
3058 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3062 wxBitmap
* bmp
= new wxBitmap(width
, height
, 32);
3063 wxAlphaPixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3065 // raise an exception...
3066 wxPyErr_SetString(PyExc_RuntimeError
,
3067 "Failed to gain raw access to bitmap data.");
3072 wxAlphaPixelData::Iterator
p(pixData
);
3073 for (int y
=0; y
<height
; y
++) {
3074 wxAlphaPixelData::Iterator rowStart
= p
;
3075 for (int x
=0; x
<width
; x
++) {
3077 p
.Red() = wxPy_premultiply(*(data
++), a
);
3078 p
.Green() = wxPy_premultiply(*(data
++), a
);
3079 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3080 p
.Alpha() = a
; data
++;
3084 p
.OffsetY(pixData
, 1);
3090 typedef wxNativePixelData::Iterator wxNativePixelData_Accessor
;
3092 SWIGINTERN
bool wxNativePixelData___nonzero__(wxNativePixelData
*self
){ return self
->operator bool(); }
3093 SWIGINTERN
void wxNativePixelData_Accessor_nextPixel(wxNativePixelData_Accessor
*self
){ ++(*self
); }
3094 SWIGINTERN
void wxNativePixelData_Accessor_Set(wxNativePixelData_Accessor
*self
,byte red
,byte green
,byte blue
){
3096 self
->Green() = green
;
3097 self
->Blue() = blue
;
3099 SWIGINTERN PyObject
*wxNativePixelData_Accessor_Get(wxNativePixelData_Accessor
*self
){
3100 PyObject
* rv
= PyTuple_New(3);
3101 PyTuple_SetItem(rv
, 0, PyInt_FromLong(self
->Red()));
3102 PyTuple_SetItem(rv
, 1, PyInt_FromLong(self
->Green()));
3103 PyTuple_SetItem(rv
, 2, PyInt_FromLong(self
->Blue()));
3107 typedef wxAlphaPixelData::Iterator wxAlphaPixelData_Accessor
;
3109 SWIGINTERN
bool wxAlphaPixelData___nonzero__(wxAlphaPixelData
*self
){ return self
->operator bool(); }
3110 SWIGINTERN
void wxAlphaPixelData_Accessor_nextPixel(wxAlphaPixelData_Accessor
*self
){ ++(*self
); }
3111 SWIGINTERN
void wxAlphaPixelData_Accessor_Set(wxAlphaPixelData_Accessor
*self
,byte red
,byte green
,byte blue
,byte alpha
){
3112 self
->Red() = wxPy_premultiply(red
, alpha
);
3113 self
->Green() = wxPy_premultiply(green
, alpha
);
3114 self
->Blue() = wxPy_premultiply(blue
, alpha
);
3115 self
->Alpha() = alpha
;
3117 SWIGINTERN PyObject
*wxAlphaPixelData_Accessor_Get(wxAlphaPixelData_Accessor
*self
){
3118 PyObject
* rv
= PyTuple_New(4);
3119 int red
= self
->Red();
3120 int green
= self
->Green();
3121 int blue
= self
->Blue();
3122 int alpha
= self
->Alpha();
3124 PyTuple_SetItem(rv
, 0, PyInt_FromLong( wxPy_unpremultiply(red
, alpha
) ));
3125 PyTuple_SetItem(rv
, 1, PyInt_FromLong( wxPy_unpremultiply(green
, alpha
) ));
3126 PyTuple_SetItem(rv
, 2, PyInt_FromLong( wxPy_unpremultiply(blue
, alpha
) ));
3127 PyTuple_SetItem(rv
, 3, PyInt_FromLong( alpha
));
3130 SWIGINTERN wxMask
*new_wxMask(wxBitmap
const &bitmap
,wxColour
const &colour
=wxNullColour
){
3131 if ( !colour
.IsOk() )
3132 return new wxMask(bitmap
, *wxBLACK
);
3134 return new wxMask(bitmap
, colour
);
3137 #include <wx/iconbndl.h>
3139 SWIGINTERN wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
3140 wxIcon
* icon
= new wxIcon();
3141 icon
->CopyFromBitmap(bmp
);
3144 SWIGINTERN wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
3145 char** cArray
= NULL
;
3148 cArray
= ConvertListOfStrings(listOfStrings
);
3151 icon
= new wxIcon(cArray
);
3155 SWIGINTERN wxIconLocation
*new_wxIconLocation(wxString
const *filename
=&wxPyEmptyString
,int num
=0){
3159 return new wxIconLocation(*filename
);
3162 SWIGINTERN
void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
3169 SWIGINTERN
int wxIconLocation_GetIndex(wxIconLocation
*self
){
3176 SWIGINTERN wxCursor
*new_wxCursor(wxString
const &cursorName
,long type
,int hotSpotX
=0,int hotSpotY
=0){
3178 wxImage
img(cursorName
, type
);
3179 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_X
, hotSpotX
);
3180 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_Y
, hotSpotY
);
3181 return new wxCursor(img
);
3183 return new wxCursor(cursorName
, type
, hotSpotX
, hotSpotY
);
3188 SWIGINTERN
void wxRegionIterator_Next(wxRegionIterator
*self
){
3191 SWIGINTERN
bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
3192 return self
->operator bool();
3195 #include <wx/fontutil.h>
3196 #include <wx/fontmap.h>
3197 #include <wx/fontenum.h>
3199 SWIGINTERN wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
3200 return self
->ToString();
3203 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
) {
3204 static wxNativeEncodingInfo info
;
3205 if ( wxGetNativeFontEncoding(encoding
, &info
) )
3212 SWIGINTERNINLINE PyObject
*
3213 SWIG_From_size_t (size_t value
)
3215 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
3219 SWIGINTERNINLINE
int
3220 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
3223 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
3224 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
3228 SWIGINTERN PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
=wxPyEmptyString
,bool interactive
=true){
3229 wxFontEncoding alt_enc
;
3230 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
3231 return PyInt_FromLong(alt_enc
);
3237 SWIGINTERN wxFont
*new_wxFont(wxString
const &info
){
3238 wxNativeFontInfo nfi
;
3239 nfi
.FromString(info
);
3240 return new wxFont(nfi
);
3242 SWIGINTERN wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxPyEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3243 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
3245 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,int family
,int style
,int weight
,bool underlined
=false,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3246 return wxFontBase::New(pixelSize
, family
,
3247 style
, weight
, underlined
,
3250 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3251 return wxFontBase::New(pixelSize
, family
, flags
, face
, encoding
);
3253 SWIGINTERN
bool wxFont___eq__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
== *other
) : false; }
3254 SWIGINTERN
bool wxFont___ne__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
!= *other
) : true; }
3256 class wxPyFontEnumerator
: public wxFontEnumerator
{
3258 wxPyFontEnumerator() {}
3259 ~wxPyFontEnumerator() {}
3261 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
3262 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
3267 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
3268 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
3271 SWIGINTERN PyObject
*wxPyFontEnumerator_GetEncodings(){
3273 wxArrayString arr
= wxFontEnumerator::GetEncodings();
3274 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3275 ret
= wxArrayString2PyList_helper(arr
);
3276 wxPyEndBlockThreads(blocked
);
3279 SWIGINTERN PyObject
*wxPyFontEnumerator_GetFacenames(){
3281 wxArrayString arr
= wxFontEnumerator::GetFacenames();
3282 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3283 ret
= wxArrayString2PyList_helper(arr
);
3284 wxPyEndBlockThreads(blocked
);
3290 SWIGINTERN wxLocale
*new_wxLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3293 loc
= new wxLocale();
3295 loc
= new wxLocale(language
, flags
);
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_Init1(wxLocale
*self
,wxString
const &szName
,wxString
const &szShort
=wxPyEmptyString
,wxString
const &szLocale
=wxPyEmptyString
,bool bLoadDefault
=true,bool bConvertEncoding
=false){
3304 bool rc
= self
->Init(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
);
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");
3312 SWIGINTERN
bool wxLocale_Init2(wxLocale
*self
,int language
=wxLANGUAGE_DEFAULT
,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3313 bool rc
= self
->Init(language
, flags
);
3314 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3315 // for the floating point conversions and such to work right.
3316 #if PY_VERSION_HEX < 0x02040000
3317 setlocale(LC_NUMERIC
, "C");
3322 class wxPyLocale
: public wxLocale
3327 wxPyLocale(const wxChar
*szName
, // name (for messages)
3328 const wxChar
*szShort
= (const wxChar
*) NULL
, // dir prefix (for msg files)
3329 const wxChar
*szLocale
= (const wxChar
*) NULL
, // locale (for setlocale)
3330 bool bLoadDefault
= true, // preload wxstd.mo?
3331 bool bConvertEncoding
= false); // convert Win<->Unix if necessary?
3333 wxPyLocale(int language
, // wxLanguage id or custom language
3334 int flags
= wxLOCALE_LOAD_DEFAULT
| wxLOCALE_CONV_ENCODING
);
3338 virtual const wxChar
*GetString(const wxChar
*szOrigString
,
3339 const wxChar
*szDomain
= NULL
) const;
3340 virtual const wxChar
*GetString(const wxChar
*szOrigString
,
3341 const wxChar
*szOrigString2
, size_t n
,
3342 const wxChar
*szDomain
= NULL
) const;
3344 virtual wxChar
*GetSingularString(const wxChar
*szOrigString
,
3345 const wxChar
*szDomain
= NULL
) const;
3346 virtual wxChar
*GetPluralString(const wxChar
*szOrigString
,
3347 const wxChar
*szOrigString2
, size_t n
,
3348 const wxChar
*szDomain
= NULL
) const;
3352 DECLARE_NO_COPY_CLASS(wxPyLocale
)
3355 wxPyLocale::wxPyLocale() : wxLocale()
3359 wxPyLocale::wxPyLocale(const wxChar
*szName
, // name (for messages)
3360 const wxChar
*szShort
, // dir prefix (for msg files)
3361 const wxChar
*szLocale
, // locale (for setlocale)
3362 bool bLoadDefault
, // preload wxstd.mo?
3363 bool bConvertEncoding
) // convert Win<->Unix if necessary?
3364 : wxLocale(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
)
3368 wxPyLocale::wxPyLocale(int language
, // wxLanguage id or custom language
3369 int flags
) : wxLocale(language
, flags
)
3373 wxPyLocale::~wxPyLocale()
3377 const wxChar
*wxPyLocale::GetString(const wxChar
*szOrigString
,
3378 const wxChar
*szDomain
) const
3380 wxChar
*str
= GetSingularString(szOrigString
, szDomain
);
3381 return (str
!= NULL
) ? str
: wxLocale::GetString(szOrigString
, szDomain
);
3384 const wxChar
*wxPyLocale::GetString(const wxChar
*szOrigString
,
3385 const wxChar
*szOrigString2
, size_t n
,
3386 const wxChar
*szDomain
) const
3388 wxChar
*str
= GetPluralString(szOrigString
, szOrigString2
, n
, szDomain
);
3389 return (str
!= NULL
) ? str
: wxLocale::GetString(szOrigString
, szOrigString2
, n
, szDomain
);
3392 wxChar
*wxPyLocale::GetSingularString(const wxChar
*szOrigString
,
3393 const wxChar
*szDomain
) const
3396 static wxString str
;
3397 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.
3398 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3399 if((found
=wxPyCBH_findCallback(m_myInst
, "GetSingularString"))) {
3400 PyObject
* param1
= wx2PyString(szOrigString
);
3401 PyObject
* param2
= wx2PyString(szDomain
);
3402 PyObject
* ret
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OO)", param1
, param2
));
3406 str
= Py2wxString(ret
);
3410 wxPyEndBlockThreads(blocked
);
3411 return (found
? (wxChar
*)str
.c_str() : NULL
);
3414 wxChar
*wxPyLocale::GetPluralString(const wxChar
*szOrigString
,
3415 const wxChar
*szOrigString2
, size_t n
,
3416 const wxChar
*szDomain
) const
3419 static wxString str
;
3420 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.
3421 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3422 if((found
=wxPyCBH_findCallback(m_myInst
, "GetPluralString"))) {
3423 PyObject
* param1
= wx2PyString(szOrigString
);
3424 PyObject
* param2
= wx2PyString(szOrigString2
);
3425 PyObject
* param4
= wx2PyString(szDomain
);
3426 PyObject
* ret
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOiO)", param1
, param2
, (int)n
, param4
));
3431 str
= Py2wxString(ret
);
3435 wxPyEndBlockThreads(blocked
);
3436 return (found
? (wxChar
*)str
.c_str() : NULL
);
3439 SWIGINTERN wxPyLocale
*new_wxPyLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3442 loc
= new wxPyLocale();
3444 loc
= new wxPyLocale(language
, flags
);
3445 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3446 // for the floating point conversions and such to work right.
3447 #if PY_VERSION_HEX < 0x02040000
3448 setlocale(LC_NUMERIC
, "C");
3453 #include "wx/wxPython/pydrawxxx.h"
3455 SWIGINTERN wxColour
wxDC_GetPixel(wxDC
*self
,int x
,int y
){
3457 self
->GetPixel(x
, y
, &col
);
3460 SWIGINTERN wxColour
wxDC_GetPixelPoint(wxDC
*self
,wxPoint
const &pt
){
3462 self
->GetPixel(pt
, &col
);
3467 SWIG_AsVal_double (PyObject
*obj
, double* val
)
3469 if (PyNumber_Check(obj
)) {
3470 if (val
) *val
= PyFloat_AsDouble(obj
);
3473 return SWIG_TypeError
;
3476 SWIGINTERN wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
=wxALIGN_LEFT
|wxALIGN_TOP
,int indexAccel
=-1){
3478 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
3481 SWIGINTERN wxRect
wxDC_GetClippingRect(wxDC
*self
){
3483 self
->GetClippingBox(rect
);
3486 SWIGINTERN wxArrayInt
wxDC_GetPartialTextExtents(wxDC
*self
,wxString
const &text
){
3488 self
->GetPartialTextExtents(text
, widths
);
3492 #define SWIG_From_double PyFloat_FromDouble
3494 SWIGINTERN
void wxDC_SetLogicalOriginPoint(wxDC
*self
,wxPoint
const &point
){
3495 self
->SetLogicalOrigin(point
.x
, point
.y
);
3497 SWIGINTERN
void wxDC_SetDeviceOriginPoint(wxDC
*self
,wxPoint
const &point
){
3498 self
->SetDeviceOrigin(point
.x
, point
.y
);
3500 SWIGINTERN
void wxDC_CalcBoundingBoxPoint(wxDC
*self
,wxPoint
const &point
){
3501 self
->CalcBoundingBox(point
.x
, point
.y
);
3503 SWIGINTERN PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3504 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
3506 SWIGINTERN PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3507 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
3509 SWIGINTERN PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3510 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
3512 SWIGINTERN PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3513 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
3515 SWIGINTERN PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3516 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
3518 SWIGINTERN PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
3519 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
3522 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
3530 #include <wx/dcbuffer.h>
3533 #include <wx/dcps.h>
3536 class wxMetaFile
: public wxObject
{
3538 wxMetaFile(const wxString
&)
3539 { wxPyRaiseNotImplemented(); }
3542 class wxMetaFileDC
: public wxClientDC
{
3544 wxMetaFileDC(const wxString
&, int, int, const wxString
&)
3545 { wxPyRaiseNotImplemented(); }
3550 class wxPrinterDC
: public wxClientDC
{
3552 wxPrinterDC(const wxPrintData
&)
3553 { wxPyRaiseNotImplemented(); }
3558 #include <wx/graphics.h>
3561 #if !wxUSE_GRAPHICS_CONTEXT
3562 // C++ stub classes for platforms that don't have wxGraphicsContext yet.
3564 class wxGraphicsPath
3568 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3569 PyErr_SetString(PyExc_NotImplementedError
,
3570 "wxGraphicsPath is not available on this platform.");
3571 wxPyEndBlockThreads(blocked
);
3573 virtual ~wxGraphicsPath() {}
3575 void MoveToPoint( wxDouble
, wxDouble
) {}
3576 void AddLineToPoint( wxDouble
, wxDouble
) {}
3577 void AddCurveToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3578 void CloseSubpath() {}
3579 void GetCurrentPoint( wxDouble
&, wxDouble
&) {}
3580 void AddArc( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
, bool ) {}
3582 void AddQuadCurveToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3583 void AddRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3584 void AddCircle( wxDouble
, wxDouble
, wxDouble
) {}
3585 void AddArcToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3587 wxPoint2DDouble
GetCurrentPoint() { return wxPoint2DDouble(0,0); }
3588 void MoveToPoint( const wxPoint2DDouble
& ) {}
3589 void AddLineToPoint( const wxPoint2DDouble
&) {}
3590 void AddCurveToPoint( const wxPoint2DDouble
&, const wxPoint2DDouble
&, const wxPoint2DDouble
&) {}
3591 void AddArc( const wxPoint2DDouble
&, wxDouble
, wxDouble
, wxDouble
, bool) {}
3595 class wxGraphicsContext
3598 wxGraphicsContext() {
3599 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3600 PyErr_SetString(PyExc_NotImplementedError
,
3601 "wxGraphicsContext is not available on this platform.");
3602 wxPyEndBlockThreads(blocked
);
3604 virtual ~wxGraphicsContext() {}
3606 static wxGraphicsContext
* Create( const wxWindowDC
&) {
3607 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3608 PyErr_SetString(PyExc_NotImplementedError
,
3609 "wxGraphicsPath is not available on this platform.");
3610 wxPyEndBlockThreads(blocked
);
3614 wxGraphicsPath
* CreatePath() { return NULL
; }
3617 void Clip( const wxRegion
& ) {}
3618 void Translate( wxDouble
, wxDouble
) {}
3619 void Scale( wxDouble
, wxDouble
) {}
3620 void Rotate( wxDouble
) {}
3621 void SetPen( const wxPen
& ) {}
3622 void SetBrush( const wxBrush
& ) {}
3623 void SetLinearGradientBrush( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3624 const wxColour
&, const wxColour
&) {}
3625 void SetRadialGradientBrush( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3626 const wxColour
&, const wxColour
&) {}
3627 void SetFont( const wxFont
& ) {}
3628 void SetTextColor( const wxColour
& ) {}
3629 void StrokePath( const wxGraphicsPath
* ) {}
3630 void FillPath( const wxGraphicsPath
*, int ) {}
3631 void DrawPath( const wxGraphicsPath
*, int ) {}
3632 void DrawText( const wxString
&, wxDouble
, wxDouble
) {}
3633 void DrawText( const wxString
&, wxDouble
, wxDouble
, wxDouble
) {}
3634 void GetTextExtent( const wxString
&, wxDouble
*, wxDouble
*,
3635 wxDouble
*, wxDouble
* ) const {}
3636 void GetPartialTextExtents(const wxString
& , wxArrayDouble
& ) const {}
3637 void DrawBitmap( const wxBitmap
&, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3638 void DrawIcon( const wxIcon
&, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3639 void StrokeLine( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3640 void StrokeLines( size_t , const wxPoint2DDouble
*) {}
3641 void StrokeLines( size_t , const wxPoint2DDouble
*, const wxPoint2DDouble
*) {}
3642 void DrawLines( size_t , const wxPoint2DDouble
*, int ) {}
3643 void DrawRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3644 void DrawEllipse( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3645 void DrawRoundedRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3649 class wxGCDC
: public wxWindowDC
3652 wxGCDC(const wxWindowDC
&) {
3653 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3654 PyErr_SetString(PyExc_NotImplementedError
,
3655 "wxGCDC is not available on this platform.");
3656 wxPyEndBlockThreads(blocked
);
3660 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3661 PyErr_SetString(PyExc_NotImplementedError
,
3662 "wxGCDC is not available on this platform.");
3663 wxPyEndBlockThreads(blocked
);
3666 virtual ~wxGCDC() {}
3668 wxGraphicsContext
* GetGraphicContext() { return NULL
; }
3673 SWIGINTERN wxArrayDouble
wxGraphicsContext_GetPartialTextExtents(wxGraphicsContext
*self
,wxString
const &text
){
3674 wxArrayDouble widths
;
3675 self
->GetPartialTextExtents(text
, widths
);
3678 SWIGINTERN
void wxGraphicsContext_StrokeLineSegements(wxGraphicsContext
*self
,PyObject
*beginPoints
,PyObject
*endPoints
){
3679 size_t c1
, c2
, count
;
3680 wxPoint2D
* beginP
= wxPoint2D_LIST_helper(beginPoints
, &c1
);
3681 wxPoint2D
* endP
= wxPoint2D_LIST_helper(endPoints
, &c2
);
3683 if ( beginP
!= NULL
&& endP
!= NULL
)
3685 count
= wxMin(c1
, c2
);
3686 self
->StrokeLines(count
, beginP
, endP
);
3692 #include "wx/dcgraph.h"
3696 SWIGINTERN
void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
3697 self
->AddColour(name
, wxColour(red
, green
, blue
));
3700 wxFontList
* _wxPyInitTheFontList() { return wxTheFontList
; }
3701 wxPenList
* _wxPyInitThePenList() { return wxThePenList
; }
3702 wxBrushList
* _wxPyInitTheBrushList() { return wxTheBrushList
; }
3703 wxColourDatabase
* _wxPyInitTheColourDatabase() { return wxTheColourDatabase
; }
3706 #include <wx/effects.h>
3709 #include "wx/renderer.h"
3712 SWIGINTERNINLINE PyObject
*
3713 SWIG_From_bool (bool value
)
3715 return PyBool_FromLong(value
? 1 : 0);
3719 #include "wx/wxPython/pseudodc.h"
3721 SWIGINTERN wxRect
wxPseudoDC_GetIdBounds(wxPseudoDC
*self
,int id
){
3723 self
->GetIdBounds(id
, rect
);
3729 SWIGINTERN PyObject
*_wrap_new_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3730 PyObject
*resultobj
= 0;
3731 wxGDIObject
*result
= 0 ;
3733 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObject",0,0,0)) SWIG_fail
;
3735 if (!wxPyCheckForApp()) SWIG_fail
;
3736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3737 result
= (wxGDIObject
*)new wxGDIObject();
3738 wxPyEndAllowThreads(__tstate
);
3739 if (PyErr_Occurred()) SWIG_fail
;
3741 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_NEW
| 0 );
3748 SWIGINTERN PyObject
*_wrap_delete_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3749 PyObject
*resultobj
= 0;
3750 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
3753 PyObject
*swig_obj
[1] ;
3755 if (!args
) SWIG_fail
;
3757 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_DISOWN
| 0 );
3758 if (!SWIG_IsOK(res1
)) {
3759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObject" "', expected argument " "1"" of type '" "wxGDIObject *""'");
3761 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
3763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3766 wxPyEndAllowThreads(__tstate
);
3767 if (PyErr_Occurred()) SWIG_fail
;
3769 resultobj
= SWIG_Py_Void();
3776 SWIGINTERN PyObject
*_wrap_GDIObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3777 PyObject
*resultobj
= 0;
3778 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
3782 PyObject
*swig_obj
[1] ;
3784 if (!args
) SWIG_fail
;
3786 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, 0 | 0 );
3787 if (!SWIG_IsOK(res1
)) {
3788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GDIObject_IsNull" "', expected argument " "1"" of type '" "wxGDIObject *""'");
3790 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
3792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3793 result
= (bool)(arg1
)->IsNull();
3794 wxPyEndAllowThreads(__tstate
);
3795 if (PyErr_Occurred()) SWIG_fail
;
3798 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3806 SWIGINTERN PyObject
*GDIObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3808 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3809 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObject
, SWIG_NewClientData(obj
));
3810 return SWIG_Py_Void();
3813 SWIGINTERN PyObject
*GDIObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3814 return SWIG_Python_InitShadowInstance(args
);
3817 SWIGINTERN PyObject
*_wrap_new_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3818 PyObject
*resultobj
= 0;
3819 byte arg1
= (byte
) 0 ;
3820 byte arg2
= (byte
) 0 ;
3821 byte arg3
= (byte
) 0 ;
3822 byte arg4
= (byte
) wxALPHA_OPAQUE
;
3823 wxColour
*result
= 0 ;
3824 unsigned char val1
;
3826 unsigned char val2
;
3828 unsigned char val3
;
3830 unsigned char val4
;
3832 PyObject
* obj0
= 0 ;
3833 PyObject
* obj1
= 0 ;
3834 PyObject
* obj2
= 0 ;
3835 PyObject
* obj3
= 0 ;
3836 char * kwnames
[] = {
3837 (char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
3840 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
3842 ecode1
= SWIG_AsVal_unsigned_SS_char(obj0
, &val1
);
3843 if (!SWIG_IsOK(ecode1
)) {
3844 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Colour" "', expected argument " "1"" of type '" "byte""'");
3846 arg1
= static_cast< byte
>(val1
);
3849 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
3850 if (!SWIG_IsOK(ecode2
)) {
3851 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Colour" "', expected argument " "2"" of type '" "byte""'");
3853 arg2
= static_cast< byte
>(val2
);
3856 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
3857 if (!SWIG_IsOK(ecode3
)) {
3858 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Colour" "', expected argument " "3"" of type '" "byte""'");
3860 arg3
= static_cast< byte
>(val3
);
3863 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
3864 if (!SWIG_IsOK(ecode4
)) {
3865 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Colour" "', expected argument " "4"" of type '" "byte""'");
3867 arg4
= static_cast< byte
>(val4
);
3870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3871 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
,arg4
);
3872 wxPyEndAllowThreads(__tstate
);
3873 if (PyErr_Occurred()) SWIG_fail
;
3875 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_NEW
| 0 );
3882 SWIGINTERN PyObject
*_wrap_new_NamedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3883 PyObject
*resultobj
= 0;
3884 wxString
*arg1
= 0 ;
3885 wxColour
*result
= 0 ;
3886 bool temp1
= false ;
3887 PyObject
* obj0
= 0 ;
3888 char * kwnames
[] = {
3889 (char *) "colorName", NULL
3892 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) SWIG_fail
;
3894 arg1
= wxString_in_helper(obj0
);
3895 if (arg1
== NULL
) SWIG_fail
;
3899 if (!wxPyCheckForApp()) SWIG_fail
;
3900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3901 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
3902 wxPyEndAllowThreads(__tstate
);
3903 if (PyErr_Occurred()) SWIG_fail
;
3905 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
3920 SWIGINTERN PyObject
*_wrap_new_ColourRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3921 PyObject
*resultobj
= 0;
3922 unsigned long arg1
;
3923 wxColour
*result
= 0 ;
3924 unsigned long val1
;
3926 PyObject
* obj0
= 0 ;
3927 char * kwnames
[] = {
3928 (char *) "colRGB", NULL
3931 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) SWIG_fail
;
3932 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
3933 if (!SWIG_IsOK(ecode1
)) {
3934 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ColourRGB" "', expected argument " "1"" of type '" "unsigned long""'");
3936 arg1
= static_cast< unsigned long >(val1
);
3938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3939 result
= (wxColour
*)new wxColour(arg1
);
3940 wxPyEndAllowThreads(__tstate
);
3941 if (PyErr_Occurred()) SWIG_fail
;
3943 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
3950 SWIGINTERN PyObject
*_wrap_delete_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3951 PyObject
*resultobj
= 0;
3952 wxColour
*arg1
= (wxColour
*) 0 ;
3955 PyObject
*swig_obj
[1] ;
3957 if (!args
) SWIG_fail
;
3959 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, SWIG_POINTER_DISOWN
| 0 );
3960 if (!SWIG_IsOK(res1
)) {
3961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Colour" "', expected argument " "1"" of type '" "wxColour *""'");
3963 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3968 wxPyEndAllowThreads(__tstate
);
3969 if (PyErr_Occurred()) SWIG_fail
;
3971 resultobj
= SWIG_Py_Void();
3978 SWIGINTERN PyObject
*_wrap_Colour_Red(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3979 PyObject
*resultobj
= 0;
3980 wxColour
*arg1
= (wxColour
*) 0 ;
3984 PyObject
*swig_obj
[1] ;
3986 if (!args
) SWIG_fail
;
3988 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3989 if (!SWIG_IsOK(res1
)) {
3990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Red" "', expected argument " "1"" of type '" "wxColour *""'");
3992 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3995 result
= (byte
)(arg1
)->Red();
3996 wxPyEndAllowThreads(__tstate
);
3997 if (PyErr_Occurred()) SWIG_fail
;
3999 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4006 SWIGINTERN PyObject
*_wrap_Colour_Green(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4007 PyObject
*resultobj
= 0;
4008 wxColour
*arg1
= (wxColour
*) 0 ;
4012 PyObject
*swig_obj
[1] ;
4014 if (!args
) SWIG_fail
;
4016 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4017 if (!SWIG_IsOK(res1
)) {
4018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Green" "', expected argument " "1"" of type '" "wxColour *""'");
4020 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4023 result
= (byte
)(arg1
)->Green();
4024 wxPyEndAllowThreads(__tstate
);
4025 if (PyErr_Occurred()) SWIG_fail
;
4027 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4034 SWIGINTERN PyObject
*_wrap_Colour_Blue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4035 PyObject
*resultobj
= 0;
4036 wxColour
*arg1
= (wxColour
*) 0 ;
4040 PyObject
*swig_obj
[1] ;
4042 if (!args
) SWIG_fail
;
4044 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4045 if (!SWIG_IsOK(res1
)) {
4046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Blue" "', expected argument " "1"" of type '" "wxColour *""'");
4048 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4051 result
= (byte
)(arg1
)->Blue();
4052 wxPyEndAllowThreads(__tstate
);
4053 if (PyErr_Occurred()) SWIG_fail
;
4055 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4062 SWIGINTERN PyObject
*_wrap_Colour_Alpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4063 PyObject
*resultobj
= 0;
4064 wxColour
*arg1
= (wxColour
*) 0 ;
4068 PyObject
*swig_obj
[1] ;
4070 if (!args
) SWIG_fail
;
4072 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4073 if (!SWIG_IsOK(res1
)) {
4074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Alpha" "', expected argument " "1"" of type '" "wxColour *""'");
4076 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4079 result
= (byte
)(arg1
)->Alpha();
4080 wxPyEndAllowThreads(__tstate
);
4081 if (PyErr_Occurred()) SWIG_fail
;
4083 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4090 SWIGINTERN PyObject
*_wrap_Colour_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4091 PyObject
*resultobj
= 0;
4092 wxColour
*arg1
= (wxColour
*) 0 ;
4096 PyObject
*swig_obj
[1] ;
4098 if (!args
) SWIG_fail
;
4100 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4101 if (!SWIG_IsOK(res1
)) {
4102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_IsOk" "', expected argument " "1"" of type '" "wxColour *""'");
4104 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4107 result
= (bool)(arg1
)->IsOk();
4108 wxPyEndAllowThreads(__tstate
);
4109 if (PyErr_Occurred()) SWIG_fail
;
4112 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4120 SWIGINTERN PyObject
*_wrap_Colour_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4121 PyObject
*resultobj
= 0;
4122 wxColour
*arg1
= (wxColour
*) 0 ;
4126 byte arg5
= (byte
) wxALPHA_OPAQUE
;
4129 unsigned char val2
;
4131 unsigned char val3
;
4133 unsigned char val4
;
4135 unsigned char val5
;
4137 PyObject
* obj0
= 0 ;
4138 PyObject
* obj1
= 0 ;
4139 PyObject
* obj2
= 0 ;
4140 PyObject
* obj3
= 0 ;
4141 PyObject
* obj4
= 0 ;
4142 char * kwnames
[] = {
4143 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
4146 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
4147 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4148 if (!SWIG_IsOK(res1
)) {
4149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Set" "', expected argument " "1"" of type '" "wxColour *""'");
4151 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4152 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4153 if (!SWIG_IsOK(ecode2
)) {
4154 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Set" "', expected argument " "2"" of type '" "byte""'");
4156 arg2
= static_cast< byte
>(val2
);
4157 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4158 if (!SWIG_IsOK(ecode3
)) {
4159 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Colour_Set" "', expected argument " "3"" of type '" "byte""'");
4161 arg3
= static_cast< byte
>(val3
);
4162 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4163 if (!SWIG_IsOK(ecode4
)) {
4164 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Colour_Set" "', expected argument " "4"" of type '" "byte""'");
4166 arg4
= static_cast< byte
>(val4
);
4168 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
4169 if (!SWIG_IsOK(ecode5
)) {
4170 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Colour_Set" "', expected argument " "5"" of type '" "byte""'");
4172 arg5
= static_cast< byte
>(val5
);
4175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4176 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
4177 wxPyEndAllowThreads(__tstate
);
4178 if (PyErr_Occurred()) SWIG_fail
;
4180 resultobj
= SWIG_Py_Void();
4187 SWIGINTERN PyObject
*_wrap_Colour_SetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4188 PyObject
*resultobj
= 0;
4189 wxColour
*arg1
= (wxColour
*) 0 ;
4190 unsigned long arg2
;
4193 unsigned long val2
;
4195 PyObject
* obj0
= 0 ;
4196 PyObject
* obj1
= 0 ;
4197 char * kwnames
[] = {
4198 (char *) "self",(char *) "colRGB", NULL
4201 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4202 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4203 if (!SWIG_IsOK(res1
)) {
4204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4206 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4207 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
4208 if (!SWIG_IsOK(ecode2
)) {
4209 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_SetRGB" "', expected argument " "2"" of type '" "unsigned long""'");
4211 arg2
= static_cast< unsigned long >(val2
);
4213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4215 wxPyEndAllowThreads(__tstate
);
4216 if (PyErr_Occurred()) SWIG_fail
;
4218 resultobj
= SWIG_Py_Void();
4225 SWIGINTERN PyObject
*_wrap_Colour_SetFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4226 PyObject
*resultobj
= 0;
4227 wxColour
*arg1
= (wxColour
*) 0 ;
4228 wxString
*arg2
= 0 ;
4231 bool temp2
= false ;
4232 PyObject
* obj0
= 0 ;
4233 PyObject
* obj1
= 0 ;
4234 char * kwnames
[] = {
4235 (char *) "self",(char *) "colourName", NULL
4238 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4239 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4240 if (!SWIG_IsOK(res1
)) {
4241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetFromName" "', expected argument " "1"" of type '" "wxColour *""'");
4243 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4245 arg2
= wxString_in_helper(obj1
);
4246 if (arg2
== NULL
) SWIG_fail
;
4250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4251 (arg1
)->Set((wxString
const &)*arg2
);
4252 wxPyEndAllowThreads(__tstate
);
4253 if (PyErr_Occurred()) SWIG_fail
;
4255 resultobj
= SWIG_Py_Void();
4270 SWIGINTERN PyObject
*_wrap_Colour_GetAsString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4271 PyObject
*resultobj
= 0;
4272 wxColour
*arg1
= (wxColour
*) 0 ;
4273 long arg2
= (long) wxC2S_NAME
|wxC2S_CSS_SYNTAX
;
4279 PyObject
* obj0
= 0 ;
4280 PyObject
* obj1
= 0 ;
4281 char * kwnames
[] = {
4282 (char *) "self",(char *) "flags", NULL
4285 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_GetAsString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4286 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4287 if (!SWIG_IsOK(res1
)) {
4288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetAsString" "', expected argument " "1"" of type '" "wxColour const *""'");
4290 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4292 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
4293 if (!SWIG_IsOK(ecode2
)) {
4294 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_GetAsString" "', expected argument " "2"" of type '" "long""'");
4296 arg2
= static_cast< long >(val2
);
4299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4300 result
= ((wxColour
const *)arg1
)->GetAsString(arg2
);
4301 wxPyEndAllowThreads(__tstate
);
4302 if (PyErr_Occurred()) SWIG_fail
;
4306 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4308 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4317 SWIGINTERN PyObject
*_wrap_Colour_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4318 PyObject
*resultobj
= 0;
4319 wxColour
*arg1
= (wxColour
*) 0 ;
4323 PyObject
*swig_obj
[1] ;
4325 if (!args
) SWIG_fail
;
4327 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4328 if (!SWIG_IsOK(res1
)) {
4329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetPixel" "', expected argument " "1"" of type '" "wxColour const *""'");
4331 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4334 result
= (long)((wxColour
const *)arg1
)->GetPixel();
4335 wxPyEndAllowThreads(__tstate
);
4336 if (PyErr_Occurred()) SWIG_fail
;
4338 resultobj
= SWIG_From_long(static_cast< long >(result
));
4345 SWIGINTERN PyObject
*_wrap_Colour___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4346 PyObject
*resultobj
= 0;
4347 wxColour
*arg1
= (wxColour
*) 0 ;
4348 PyObject
*arg2
= (PyObject
*) 0 ;
4352 PyObject
* obj0
= 0 ;
4353 PyObject
* obj1
= 0 ;
4354 char * kwnames
[] = {
4355 (char *) "self",(char *) "other", NULL
4358 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4359 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4360 if (!SWIG_IsOK(res1
)) {
4361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___eq__" "', expected argument " "1"" of type '" "wxColour *""'");
4363 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4366 result
= (bool)wxColour___eq__(arg1
,arg2
);
4367 if (PyErr_Occurred()) SWIG_fail
;
4370 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4378 SWIGINTERN PyObject
*_wrap_Colour___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4379 PyObject
*resultobj
= 0;
4380 wxColour
*arg1
= (wxColour
*) 0 ;
4381 PyObject
*arg2
= (PyObject
*) 0 ;
4385 PyObject
* obj0
= 0 ;
4386 PyObject
* obj1
= 0 ;
4387 char * kwnames
[] = {
4388 (char *) "self",(char *) "other", NULL
4391 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4392 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4393 if (!SWIG_IsOK(res1
)) {
4394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___ne__" "', expected argument " "1"" of type '" "wxColour *""'");
4396 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4399 result
= (bool)wxColour___ne__(arg1
,arg2
);
4400 if (PyErr_Occurred()) SWIG_fail
;
4403 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4411 SWIGINTERN PyObject
*_wrap_Colour_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4412 PyObject
*resultobj
= 0;
4413 wxColour
*arg1
= (wxColour
*) 0 ;
4414 bool arg2
= (bool) false ;
4415 PyObject
*result
= 0 ;
4420 PyObject
* obj0
= 0 ;
4421 PyObject
* obj1
= 0 ;
4422 char * kwnames
[] = {
4423 (char *) "self",(char *) "includeAlpha", NULL
4426 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_Get",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4427 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4428 if (!SWIG_IsOK(res1
)) {
4429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Get" "', expected argument " "1"" of type '" "wxColour *""'");
4431 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4433 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4434 if (!SWIG_IsOK(ecode2
)) {
4435 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Get" "', expected argument " "2"" of type '" "bool""'");
4437 arg2
= static_cast< bool >(val2
);
4440 result
= (PyObject
*)wxColour_Get(arg1
,arg2
);
4441 if (PyErr_Occurred()) SWIG_fail
;
4450 SWIGINTERN PyObject
*_wrap_Colour_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4451 PyObject
*resultobj
= 0;
4452 wxColour
*arg1
= (wxColour
*) 0 ;
4453 unsigned long result
;
4456 PyObject
*swig_obj
[1] ;
4458 if (!args
) SWIG_fail
;
4460 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4461 if (!SWIG_IsOK(res1
)) {
4462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4464 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4466 result
= (unsigned long)wxColour_GetRGB(arg1
);
4467 if (PyErr_Occurred()) SWIG_fail
;
4469 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
4476 SWIGINTERN PyObject
*Colour_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4478 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4479 SWIG_TypeNewClientData(SWIGTYPE_p_wxColour
, SWIG_NewClientData(obj
));
4480 return SWIG_Py_Void();
4483 SWIGINTERN PyObject
*Colour_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4484 return SWIG_Python_InitShadowInstance(args
);
4487 SWIGINTERN PyObject
*_wrap_new_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4488 PyObject
*resultobj
= 0;
4490 unsigned char *arg2
= (unsigned char *) 0 ;
4491 unsigned char *arg3
= (unsigned char *) 0 ;
4492 unsigned char *arg4
= (unsigned char *) 0 ;
4493 wxPalette
*result
= 0 ;
4502 PyObject
* obj0
= 0 ;
4503 PyObject
* obj1
= 0 ;
4504 PyObject
* obj2
= 0 ;
4505 PyObject
* obj3
= 0 ;
4506 char * kwnames
[] = {
4507 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
4510 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4511 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4512 if (!SWIG_IsOK(ecode1
)) {
4513 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Palette" "', expected argument " "1"" of type '" "int""'");
4515 arg1
= static_cast< int >(val1
);
4516 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4517 if (!SWIG_IsOK(res2
)) {
4518 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_Palette" "', expected argument " "2"" of type '" "unsigned char const *""'");
4520 arg2
= reinterpret_cast< unsigned char * >(argp2
);
4521 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4522 if (!SWIG_IsOK(res3
)) {
4523 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_Palette" "', expected argument " "3"" of type '" "unsigned char const *""'");
4525 arg3
= reinterpret_cast< unsigned char * >(argp3
);
4526 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4527 if (!SWIG_IsOK(res4
)) {
4528 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_Palette" "', expected argument " "4"" of type '" "unsigned char const *""'");
4530 arg4
= reinterpret_cast< unsigned char * >(argp4
);
4532 if (!wxPyCheckForApp()) SWIG_fail
;
4533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4534 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
4535 wxPyEndAllowThreads(__tstate
);
4536 if (PyErr_Occurred()) SWIG_fail
;
4538 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, SWIG_POINTER_NEW
| 0 );
4545 SWIGINTERN PyObject
*_wrap_delete_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4546 PyObject
*resultobj
= 0;
4547 wxPalette
*arg1
= (wxPalette
*) 0 ;
4550 PyObject
*swig_obj
[1] ;
4552 if (!args
) SWIG_fail
;
4554 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, SWIG_POINTER_DISOWN
| 0 );
4555 if (!SWIG_IsOK(res1
)) {
4556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Palette" "', expected argument " "1"" of type '" "wxPalette *""'");
4558 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4563 wxPyEndAllowThreads(__tstate
);
4564 if (PyErr_Occurred()) SWIG_fail
;
4566 resultobj
= SWIG_Py_Void();
4573 SWIGINTERN PyObject
*_wrap_Palette_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4574 PyObject
*resultobj
= 0;
4575 wxPalette
*arg1
= (wxPalette
*) 0 ;
4582 unsigned char val2
;
4584 unsigned char val3
;
4586 unsigned char val4
;
4588 PyObject
* obj0
= 0 ;
4589 PyObject
* obj1
= 0 ;
4590 PyObject
* obj2
= 0 ;
4591 PyObject
* obj3
= 0 ;
4592 char * kwnames
[] = {
4593 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
4596 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4597 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4598 if (!SWIG_IsOK(res1
)) {
4599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetPixel" "', expected argument " "1"" of type '" "wxPalette *""'");
4601 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4602 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4603 if (!SWIG_IsOK(ecode2
)) {
4604 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetPixel" "', expected argument " "2"" of type '" "byte""'");
4606 arg2
= static_cast< byte
>(val2
);
4607 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4608 if (!SWIG_IsOK(ecode3
)) {
4609 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Palette_GetPixel" "', expected argument " "3"" of type '" "byte""'");
4611 arg3
= static_cast< byte
>(val3
);
4612 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4613 if (!SWIG_IsOK(ecode4
)) {
4614 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Palette_GetPixel" "', expected argument " "4"" of type '" "byte""'");
4616 arg4
= static_cast< byte
>(val4
);
4618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4619 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
4620 wxPyEndAllowThreads(__tstate
);
4621 if (PyErr_Occurred()) SWIG_fail
;
4623 resultobj
= SWIG_From_int(static_cast< int >(result
));
4630 SWIGINTERN PyObject
*_wrap_Palette_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4631 PyObject
*resultobj
= 0;
4632 wxPalette
*arg1
= (wxPalette
*) 0 ;
4634 byte
*arg3
= (byte
*) 0 ;
4635 byte
*arg4
= (byte
*) 0 ;
4636 byte
*arg5
= (byte
*) 0 ;
4643 int res3
= SWIG_TMPOBJ
;
4645 int res4
= SWIG_TMPOBJ
;
4647 int res5
= SWIG_TMPOBJ
;
4648 PyObject
* obj0
= 0 ;
4649 PyObject
* obj1
= 0 ;
4650 char * kwnames
[] = {
4651 (char *) "self",(char *) "pixel", NULL
4657 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4658 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4659 if (!SWIG_IsOK(res1
)) {
4660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetRGB" "', expected argument " "1"" of type '" "wxPalette *""'");
4662 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4663 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4664 if (!SWIG_IsOK(ecode2
)) {
4665 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetRGB" "', expected argument " "2"" of type '" "int""'");
4667 arg2
= static_cast< int >(val2
);
4669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4670 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
4671 wxPyEndAllowThreads(__tstate
);
4672 if (PyErr_Occurred()) SWIG_fail
;
4675 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4677 if (SWIG_IsTmpObj(res3
)) {
4678 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg3
)));
4680 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4681 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, new_flags
));
4683 if (SWIG_IsTmpObj(res4
)) {
4684 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg4
)));
4686 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4687 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, new_flags
));
4689 if (SWIG_IsTmpObj(res5
)) {
4690 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg5
)));
4692 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4693 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_unsigned_char
, new_flags
));
4701 SWIGINTERN PyObject
*_wrap_Palette_GetColoursCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4702 PyObject
*resultobj
= 0;
4703 wxPalette
*arg1
= (wxPalette
*) 0 ;
4707 PyObject
*swig_obj
[1] ;
4709 if (!args
) SWIG_fail
;
4711 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4712 if (!SWIG_IsOK(res1
)) {
4713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetColoursCount" "', expected argument " "1"" of type '" "wxPalette const *""'");
4715 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4718 result
= (int)((wxPalette
const *)arg1
)->GetColoursCount();
4719 wxPyEndAllowThreads(__tstate
);
4720 if (PyErr_Occurred()) SWIG_fail
;
4722 resultobj
= SWIG_From_int(static_cast< int >(result
));
4729 SWIGINTERN PyObject
*_wrap_Palette_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4730 PyObject
*resultobj
= 0;
4731 wxPalette
*arg1
= (wxPalette
*) 0 ;
4735 PyObject
*swig_obj
[1] ;
4737 if (!args
) SWIG_fail
;
4739 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4740 if (!SWIG_IsOK(res1
)) {
4741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_IsOk" "', expected argument " "1"" of type '" "wxPalette *""'");
4743 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4746 result
= (bool)(arg1
)->IsOk();
4747 wxPyEndAllowThreads(__tstate
);
4748 if (PyErr_Occurred()) SWIG_fail
;
4751 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4759 SWIGINTERN PyObject
*Palette_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4761 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4762 SWIG_TypeNewClientData(SWIGTYPE_p_wxPalette
, SWIG_NewClientData(obj
));
4763 return SWIG_Py_Void();
4766 SWIGINTERN PyObject
*Palette_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4767 return SWIG_Python_InitShadowInstance(args
);
4770 SWIGINTERN PyObject
*_wrap_new_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4771 PyObject
*resultobj
= 0;
4772 wxColour
*arg1
= 0 ;
4773 int arg2
= (int) 1 ;
4774 int arg3
= (int) wxSOLID
;
4781 PyObject
* obj0
= 0 ;
4782 PyObject
* obj1
= 0 ;
4783 PyObject
* obj2
= 0 ;
4784 char * kwnames
[] = {
4785 (char *) "colour",(char *) "width",(char *) "style", NULL
4788 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4791 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
4794 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4795 if (!SWIG_IsOK(ecode2
)) {
4796 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Pen" "', expected argument " "2"" of type '" "int""'");
4798 arg2
= static_cast< int >(val2
);
4801 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4802 if (!SWIG_IsOK(ecode3
)) {
4803 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Pen" "', expected argument " "3"" of type '" "int""'");
4805 arg3
= static_cast< int >(val3
);
4808 if (!wxPyCheckForApp()) SWIG_fail
;
4809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4810 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
4811 wxPyEndAllowThreads(__tstate
);
4812 if (PyErr_Occurred()) SWIG_fail
;
4814 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, SWIG_POINTER_NEW
| 0 );
4821 SWIGINTERN PyObject
*_wrap_delete_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4822 PyObject
*resultobj
= 0;
4823 wxPen
*arg1
= (wxPen
*) 0 ;
4826 PyObject
*swig_obj
[1] ;
4828 if (!args
) SWIG_fail
;
4830 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, SWIG_POINTER_DISOWN
| 0 );
4831 if (!SWIG_IsOK(res1
)) {
4832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Pen" "', expected argument " "1"" of type '" "wxPen *""'");
4834 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4839 wxPyEndAllowThreads(__tstate
);
4840 if (PyErr_Occurred()) SWIG_fail
;
4842 resultobj
= SWIG_Py_Void();
4849 SWIGINTERN PyObject
*_wrap_Pen_GetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4850 PyObject
*resultobj
= 0;
4851 wxPen
*arg1
= (wxPen
*) 0 ;
4855 PyObject
*swig_obj
[1] ;
4857 if (!args
) SWIG_fail
;
4859 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4860 if (!SWIG_IsOK(res1
)) {
4861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetCap" "', expected argument " "1"" of type '" "wxPen *""'");
4863 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4866 result
= (int)(arg1
)->GetCap();
4867 wxPyEndAllowThreads(__tstate
);
4868 if (PyErr_Occurred()) SWIG_fail
;
4870 resultobj
= SWIG_From_int(static_cast< int >(result
));
4877 SWIGINTERN PyObject
*_wrap_Pen_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4878 PyObject
*resultobj
= 0;
4879 wxPen
*arg1
= (wxPen
*) 0 ;
4883 PyObject
*swig_obj
[1] ;
4885 if (!args
) SWIG_fail
;
4887 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4888 if (!SWIG_IsOK(res1
)) {
4889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetColour" "', expected argument " "1"" of type '" "wxPen *""'");
4891 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4894 result
= (arg1
)->GetColour();
4895 wxPyEndAllowThreads(__tstate
);
4896 if (PyErr_Occurred()) SWIG_fail
;
4898 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4905 SWIGINTERN PyObject
*_wrap_Pen_GetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4906 PyObject
*resultobj
= 0;
4907 wxPen
*arg1
= (wxPen
*) 0 ;
4911 PyObject
*swig_obj
[1] ;
4913 if (!args
) SWIG_fail
;
4915 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4916 if (!SWIG_IsOK(res1
)) {
4917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
4919 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4922 result
= (int)(arg1
)->GetJoin();
4923 wxPyEndAllowThreads(__tstate
);
4924 if (PyErr_Occurred()) SWIG_fail
;
4926 resultobj
= SWIG_From_int(static_cast< int >(result
));
4933 SWIGINTERN PyObject
*_wrap_Pen_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4934 PyObject
*resultobj
= 0;
4935 wxPen
*arg1
= (wxPen
*) 0 ;
4939 PyObject
*swig_obj
[1] ;
4941 if (!args
) SWIG_fail
;
4943 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4944 if (!SWIG_IsOK(res1
)) {
4945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
4947 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4950 result
= (int)(arg1
)->GetStyle();
4951 wxPyEndAllowThreads(__tstate
);
4952 if (PyErr_Occurred()) SWIG_fail
;
4954 resultobj
= SWIG_From_int(static_cast< int >(result
));
4961 SWIGINTERN PyObject
*_wrap_Pen_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4962 PyObject
*resultobj
= 0;
4963 wxPen
*arg1
= (wxPen
*) 0 ;
4967 PyObject
*swig_obj
[1] ;
4969 if (!args
) SWIG_fail
;
4971 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4972 if (!SWIG_IsOK(res1
)) {
4973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
4975 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4978 result
= (int)(arg1
)->GetWidth();
4979 wxPyEndAllowThreads(__tstate
);
4980 if (PyErr_Occurred()) SWIG_fail
;
4982 resultobj
= SWIG_From_int(static_cast< int >(result
));
4989 SWIGINTERN PyObject
*_wrap_Pen_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4990 PyObject
*resultobj
= 0;
4991 wxPen
*arg1
= (wxPen
*) 0 ;
4995 PyObject
*swig_obj
[1] ;
4997 if (!args
) SWIG_fail
;
4999 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5000 if (!SWIG_IsOK(res1
)) {
5001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_IsOk" "', expected argument " "1"" of type '" "wxPen *""'");
5003 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5006 result
= (bool)(arg1
)->IsOk();
5007 wxPyEndAllowThreads(__tstate
);
5008 if (PyErr_Occurred()) SWIG_fail
;
5011 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5019 SWIGINTERN PyObject
*_wrap_Pen_SetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5020 PyObject
*resultobj
= 0;
5021 wxPen
*arg1
= (wxPen
*) 0 ;
5027 PyObject
* obj0
= 0 ;
5028 PyObject
* obj1
= 0 ;
5029 char * kwnames
[] = {
5030 (char *) "self",(char *) "cap_style", NULL
5033 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5034 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5035 if (!SWIG_IsOK(res1
)) {
5036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetCap" "', expected argument " "1"" of type '" "wxPen *""'");
5038 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5039 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5040 if (!SWIG_IsOK(ecode2
)) {
5041 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetCap" "', expected argument " "2"" of type '" "int""'");
5043 arg2
= static_cast< int >(val2
);
5045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5046 (arg1
)->SetCap(arg2
);
5047 wxPyEndAllowThreads(__tstate
);
5048 if (PyErr_Occurred()) SWIG_fail
;
5050 resultobj
= SWIG_Py_Void();
5057 SWIGINTERN PyObject
*_wrap_Pen_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5058 PyObject
*resultobj
= 0;
5059 wxPen
*arg1
= (wxPen
*) 0 ;
5060 wxColour
*arg2
= 0 ;
5064 PyObject
* obj0
= 0 ;
5065 PyObject
* obj1
= 0 ;
5066 char * kwnames
[] = {
5067 (char *) "self",(char *) "colour", NULL
5070 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5071 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5072 if (!SWIG_IsOK(res1
)) {
5073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetColour" "', expected argument " "1"" of type '" "wxPen *""'");
5075 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5078 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5082 (arg1
)->SetColour(*arg2
);
5083 wxPyEndAllowThreads(__tstate
);
5084 if (PyErr_Occurred()) SWIG_fail
;
5086 resultobj
= SWIG_Py_Void();
5093 SWIGINTERN PyObject
*_wrap_Pen_SetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5094 PyObject
*resultobj
= 0;
5095 wxPen
*arg1
= (wxPen
*) 0 ;
5101 PyObject
* obj0
= 0 ;
5102 PyObject
* obj1
= 0 ;
5103 char * kwnames
[] = {
5104 (char *) "self",(char *) "join_style", NULL
5107 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5108 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5109 if (!SWIG_IsOK(res1
)) {
5110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
5112 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5113 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5114 if (!SWIG_IsOK(ecode2
)) {
5115 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetJoin" "', expected argument " "2"" of type '" "int""'");
5117 arg2
= static_cast< int >(val2
);
5119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5120 (arg1
)->SetJoin(arg2
);
5121 wxPyEndAllowThreads(__tstate
);
5122 if (PyErr_Occurred()) SWIG_fail
;
5124 resultobj
= SWIG_Py_Void();
5131 SWIGINTERN PyObject
*_wrap_Pen_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5132 PyObject
*resultobj
= 0;
5133 wxPen
*arg1
= (wxPen
*) 0 ;
5139 PyObject
* obj0
= 0 ;
5140 PyObject
* obj1
= 0 ;
5141 char * kwnames
[] = {
5142 (char *) "self",(char *) "style", NULL
5145 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5146 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5147 if (!SWIG_IsOK(res1
)) {
5148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
5150 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5151 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5152 if (!SWIG_IsOK(ecode2
)) {
5153 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetStyle" "', expected argument " "2"" of type '" "int""'");
5155 arg2
= static_cast< int >(val2
);
5157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5158 (arg1
)->SetStyle(arg2
);
5159 wxPyEndAllowThreads(__tstate
);
5160 if (PyErr_Occurred()) SWIG_fail
;
5162 resultobj
= SWIG_Py_Void();
5169 SWIGINTERN PyObject
*_wrap_Pen_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5170 PyObject
*resultobj
= 0;
5171 wxPen
*arg1
= (wxPen
*) 0 ;
5177 PyObject
* obj0
= 0 ;
5178 PyObject
* obj1
= 0 ;
5179 char * kwnames
[] = {
5180 (char *) "self",(char *) "width", NULL
5183 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5184 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5185 if (!SWIG_IsOK(res1
)) {
5186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
5188 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5189 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5190 if (!SWIG_IsOK(ecode2
)) {
5191 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetWidth" "', expected argument " "2"" of type '" "int""'");
5193 arg2
= static_cast< int >(val2
);
5195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5196 (arg1
)->SetWidth(arg2
);
5197 wxPyEndAllowThreads(__tstate
);
5198 if (PyErr_Occurred()) SWIG_fail
;
5200 resultobj
= SWIG_Py_Void();
5207 SWIGINTERN PyObject
*_wrap_Pen_SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5208 PyObject
*resultobj
= 0;
5209 wxPen
*arg1
= (wxPen
*) 0 ;
5211 wxDash
*arg3
= (wxDash
*) 0 ;
5214 PyObject
* obj0
= 0 ;
5215 PyObject
* obj1
= 0 ;
5216 char * kwnames
[] = {
5217 (char *) "self",(char *) "dashes", NULL
5220 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5221 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5222 if (!SWIG_IsOK(res1
)) {
5223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5225 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5227 arg2
= PyList_Size(obj1
);
5228 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
5229 if (arg3
== NULL
) SWIG_fail
;
5232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5233 (arg1
)->SetDashes(arg2
,arg3
);
5234 wxPyEndAllowThreads(__tstate
);
5235 if (PyErr_Occurred()) SWIG_fail
;
5237 resultobj
= SWIG_Py_Void();
5239 if (arg3
) delete [] arg3
;
5244 if (arg3
) delete [] arg3
;
5250 SWIGINTERN PyObject
*_wrap_Pen_GetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5251 PyObject
*resultobj
= 0;
5252 wxPen
*arg1
= (wxPen
*) 0 ;
5253 PyObject
*result
= 0 ;
5256 PyObject
*swig_obj
[1] ;
5258 if (!args
) SWIG_fail
;
5260 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5261 if (!SWIG_IsOK(res1
)) {
5262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5264 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5267 result
= (PyObject
*)wxPen_GetDashes(arg1
);
5268 wxPyEndAllowThreads(__tstate
);
5269 if (PyErr_Occurred()) SWIG_fail
;
5278 SWIGINTERN PyObject
*_wrap_Pen__SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5279 PyObject
*resultobj
= 0;
5280 wxPen
*arg1
= (wxPen
*) 0 ;
5281 PyObject
*arg2
= (PyObject
*) 0 ;
5282 PyObject
*arg3
= (PyObject
*) 0 ;
5285 PyObject
* obj0
= 0 ;
5286 PyObject
* obj1
= 0 ;
5287 PyObject
* obj2
= 0 ;
5288 char * kwnames
[] = {
5289 (char *) "self",(char *) "_self",(char *) "pyDashes", NULL
5292 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Pen__SetDashes",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5293 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5294 if (!SWIG_IsOK(res1
)) {
5295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen__SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5297 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5302 wxPen__SetDashes(arg1
,arg2
,arg3
);
5303 wxPyEndAllowThreads(__tstate
);
5304 if (PyErr_Occurred()) SWIG_fail
;
5306 resultobj
= SWIG_Py_Void();
5313 SWIGINTERN PyObject
*_wrap_Pen_GetDashCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5314 PyObject
*resultobj
= 0;
5315 wxPen
*arg1
= (wxPen
*) 0 ;
5319 PyObject
*swig_obj
[1] ;
5321 if (!args
) SWIG_fail
;
5323 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5324 if (!SWIG_IsOK(res1
)) {
5325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashCount" "', expected argument " "1"" of type '" "wxPen const *""'");
5327 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5330 result
= (int)((wxPen
const *)arg1
)->GetDashCount();
5331 wxPyEndAllowThreads(__tstate
);
5332 if (PyErr_Occurred()) SWIG_fail
;
5334 resultobj
= SWIG_From_int(static_cast< int >(result
));
5341 SWIGINTERN PyObject
*_wrap_Pen___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5342 PyObject
*resultobj
= 0;
5343 wxPen
*arg1
= (wxPen
*) 0 ;
5344 wxPen
*arg2
= (wxPen
*) 0 ;
5350 PyObject
* obj0
= 0 ;
5351 PyObject
* obj1
= 0 ;
5352 char * kwnames
[] = {
5353 (char *) "self",(char *) "other", NULL
5356 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5357 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5358 if (!SWIG_IsOK(res1
)) {
5359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___eq__" "', expected argument " "1"" of type '" "wxPen *""'");
5361 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5362 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5363 if (!SWIG_IsOK(res2
)) {
5364 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___eq__" "', expected argument " "2"" of type '" "wxPen const *""'");
5366 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5369 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
5370 wxPyEndAllowThreads(__tstate
);
5371 if (PyErr_Occurred()) SWIG_fail
;
5374 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5382 SWIGINTERN PyObject
*_wrap_Pen___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5383 PyObject
*resultobj
= 0;
5384 wxPen
*arg1
= (wxPen
*) 0 ;
5385 wxPen
*arg2
= (wxPen
*) 0 ;
5391 PyObject
* obj0
= 0 ;
5392 PyObject
* obj1
= 0 ;
5393 char * kwnames
[] = {
5394 (char *) "self",(char *) "other", NULL
5397 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5398 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5399 if (!SWIG_IsOK(res1
)) {
5400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___ne__" "', expected argument " "1"" of type '" "wxPen *""'");
5402 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5403 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5404 if (!SWIG_IsOK(res2
)) {
5405 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___ne__" "', expected argument " "2"" of type '" "wxPen const *""'");
5407 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5410 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
5411 wxPyEndAllowThreads(__tstate
);
5412 if (PyErr_Occurred()) SWIG_fail
;
5415 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5423 SWIGINTERN PyObject
*Pen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5425 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5426 SWIG_TypeNewClientData(SWIGTYPE_p_wxPen
, SWIG_NewClientData(obj
));
5427 return SWIG_Py_Void();
5430 SWIGINTERN PyObject
*Pen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5431 return SWIG_Python_InitShadowInstance(args
);
5434 SWIGINTERN PyObject
*_wrap_new_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5435 PyObject
*resultobj
= 0;
5436 wxColour
*arg1
= 0 ;
5437 int arg2
= (int) wxSOLID
;
5438 wxBrush
*result
= 0 ;
5442 PyObject
* obj0
= 0 ;
5443 PyObject
* obj1
= 0 ;
5444 char * kwnames
[] = {
5445 (char *) "colour",(char *) "style", NULL
5448 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5451 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
5454 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5455 if (!SWIG_IsOK(ecode2
)) {
5456 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Brush" "', expected argument " "2"" of type '" "int""'");
5458 arg2
= static_cast< int >(val2
);
5461 if (!wxPyCheckForApp()) SWIG_fail
;
5462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5463 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
5464 wxPyEndAllowThreads(__tstate
);
5465 if (PyErr_Occurred()) SWIG_fail
;
5467 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_NEW
| 0 );
5474 SWIGINTERN PyObject
*_wrap_new_BrushFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5475 PyObject
*resultobj
= 0;
5476 wxBitmap
*arg1
= 0 ;
5477 wxBrush
*result
= 0 ;
5480 PyObject
* obj0
= 0 ;
5481 char * kwnames
[] = {
5482 (char *) "stippleBitmap", NULL
5485 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BrushFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
5486 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5487 if (!SWIG_IsOK(res1
)) {
5488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5491 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5493 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5495 if (!wxPyCheckForApp()) SWIG_fail
;
5496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5497 result
= (wxBrush
*)new wxBrush((wxBitmap
const &)*arg1
);
5498 wxPyEndAllowThreads(__tstate
);
5499 if (PyErr_Occurred()) SWIG_fail
;
5501 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_OWN
| 0 );
5508 SWIGINTERN PyObject
*_wrap_delete_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5509 PyObject
*resultobj
= 0;
5510 wxBrush
*arg1
= (wxBrush
*) 0 ;
5513 PyObject
*swig_obj
[1] ;
5515 if (!args
) SWIG_fail
;
5517 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, SWIG_POINTER_DISOWN
| 0 );
5518 if (!SWIG_IsOK(res1
)) {
5519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Brush" "', expected argument " "1"" of type '" "wxBrush *""'");
5521 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5526 wxPyEndAllowThreads(__tstate
);
5527 if (PyErr_Occurred()) SWIG_fail
;
5529 resultobj
= SWIG_Py_Void();
5536 SWIGINTERN PyObject
*_wrap_Brush_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5537 PyObject
*resultobj
= 0;
5538 wxBrush
*arg1
= (wxBrush
*) 0 ;
5539 wxColour
*arg2
= 0 ;
5543 PyObject
* obj0
= 0 ;
5544 PyObject
* obj1
= 0 ;
5545 char * kwnames
[] = {
5546 (char *) "self",(char *) "col", NULL
5549 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5550 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5551 if (!SWIG_IsOK(res1
)) {
5552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetColour" "', expected argument " "1"" of type '" "wxBrush *""'");
5554 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5557 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5561 (arg1
)->SetColour((wxColour
const &)*arg2
);
5562 wxPyEndAllowThreads(__tstate
);
5563 if (PyErr_Occurred()) SWIG_fail
;
5565 resultobj
= SWIG_Py_Void();
5572 SWIGINTERN PyObject
*_wrap_Brush_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5573 PyObject
*resultobj
= 0;
5574 wxBrush
*arg1
= (wxBrush
*) 0 ;
5580 PyObject
* obj0
= 0 ;
5581 PyObject
* obj1
= 0 ;
5582 char * kwnames
[] = {
5583 (char *) "self",(char *) "style", NULL
5586 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5587 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5588 if (!SWIG_IsOK(res1
)) {
5589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStyle" "', expected argument " "1"" of type '" "wxBrush *""'");
5591 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5592 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5593 if (!SWIG_IsOK(ecode2
)) {
5594 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Brush_SetStyle" "', expected argument " "2"" of type '" "int""'");
5596 arg2
= static_cast< int >(val2
);
5598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5599 (arg1
)->SetStyle(arg2
);
5600 wxPyEndAllowThreads(__tstate
);
5601 if (PyErr_Occurred()) SWIG_fail
;
5603 resultobj
= SWIG_Py_Void();
5610 SWIGINTERN PyObject
*_wrap_Brush_SetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5611 PyObject
*resultobj
= 0;
5612 wxBrush
*arg1
= (wxBrush
*) 0 ;
5613 wxBitmap
*arg2
= 0 ;
5618 PyObject
* obj0
= 0 ;
5619 PyObject
* obj1
= 0 ;
5620 char * kwnames
[] = {
5621 (char *) "self",(char *) "stipple", NULL
5624 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5625 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5626 if (!SWIG_IsOK(res1
)) {
5627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStipple" "', expected argument " "1"" of type '" "wxBrush *""'");
5629 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5630 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5631 if (!SWIG_IsOK(res2
)) {
5632 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5635 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5637 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
5639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5640 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
5641 wxPyEndAllowThreads(__tstate
);
5642 if (PyErr_Occurred()) SWIG_fail
;
5644 resultobj
= SWIG_Py_Void();
5651 SWIGINTERN PyObject
*_wrap_Brush_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5652 PyObject
*resultobj
= 0;
5653 wxBrush
*arg1
= (wxBrush
*) 0 ;
5657 PyObject
*swig_obj
[1] ;
5659 if (!args
) SWIG_fail
;
5661 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5662 if (!SWIG_IsOK(res1
)) {
5663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetColour" "', expected argument " "1"" of type '" "wxBrush const *""'");
5665 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5668 result
= ((wxBrush
const *)arg1
)->GetColour();
5669 wxPyEndAllowThreads(__tstate
);
5670 if (PyErr_Occurred()) SWIG_fail
;
5672 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5679 SWIGINTERN PyObject
*_wrap_Brush_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5680 PyObject
*resultobj
= 0;
5681 wxBrush
*arg1
= (wxBrush
*) 0 ;
5685 PyObject
*swig_obj
[1] ;
5687 if (!args
) SWIG_fail
;
5689 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5690 if (!SWIG_IsOK(res1
)) {
5691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStyle" "', expected argument " "1"" of type '" "wxBrush const *""'");
5693 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5696 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
5697 wxPyEndAllowThreads(__tstate
);
5698 if (PyErr_Occurred()) SWIG_fail
;
5700 resultobj
= SWIG_From_int(static_cast< int >(result
));
5707 SWIGINTERN PyObject
*_wrap_Brush_GetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5708 PyObject
*resultobj
= 0;
5709 wxBrush
*arg1
= (wxBrush
*) 0 ;
5710 wxBitmap
*result
= 0 ;
5713 PyObject
*swig_obj
[1] ;
5715 if (!args
) SWIG_fail
;
5717 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5718 if (!SWIG_IsOK(res1
)) {
5719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStipple" "', expected argument " "1"" of type '" "wxBrush const *""'");
5721 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5724 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
5725 wxPyEndAllowThreads(__tstate
);
5726 if (PyErr_Occurred()) SWIG_fail
;
5728 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
5735 SWIGINTERN PyObject
*_wrap_Brush_IsHatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5736 PyObject
*resultobj
= 0;
5737 wxBrush
*arg1
= (wxBrush
*) 0 ;
5741 PyObject
*swig_obj
[1] ;
5743 if (!args
) SWIG_fail
;
5745 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5746 if (!SWIG_IsOK(res1
)) {
5747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsHatch" "', expected argument " "1"" of type '" "wxBrush const *""'");
5749 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5752 result
= (bool)((wxBrush
const *)arg1
)->IsHatch();
5753 wxPyEndAllowThreads(__tstate
);
5754 if (PyErr_Occurred()) SWIG_fail
;
5757 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5765 SWIGINTERN PyObject
*_wrap_Brush_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5766 PyObject
*resultobj
= 0;
5767 wxBrush
*arg1
= (wxBrush
*) 0 ;
5771 PyObject
*swig_obj
[1] ;
5773 if (!args
) SWIG_fail
;
5775 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5776 if (!SWIG_IsOK(res1
)) {
5777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsOk" "', expected argument " "1"" of type '" "wxBrush *""'");
5779 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5782 result
= (bool)(arg1
)->IsOk();
5783 wxPyEndAllowThreads(__tstate
);
5784 if (PyErr_Occurred()) SWIG_fail
;
5787 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5795 SWIGINTERN PyObject
*Brush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5797 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5798 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrush
, SWIG_NewClientData(obj
));
5799 return SWIG_Py_Void();
5802 SWIGINTERN PyObject
*Brush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5803 return SWIG_Python_InitShadowInstance(args
);
5806 SWIGINTERN PyObject
*_wrap_new_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5807 PyObject
*resultobj
= 0;
5808 wxString
*arg1
= 0 ;
5809 wxBitmapType arg2
= (wxBitmapType
) wxBITMAP_TYPE_ANY
;
5810 wxBitmap
*result
= 0 ;
5811 bool temp1
= false ;
5814 PyObject
* obj0
= 0 ;
5815 PyObject
* obj1
= 0 ;
5816 char * kwnames
[] = {
5817 (char *) "name",(char *) "type", NULL
5820 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5822 arg1
= wxString_in_helper(obj0
);
5823 if (arg1
== NULL
) SWIG_fail
;
5827 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5828 if (!SWIG_IsOK(ecode2
)) {
5829 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Bitmap" "', expected argument " "2"" of type '" "wxBitmapType""'");
5831 arg2
= static_cast< wxBitmapType
>(val2
);
5834 if (!wxPyCheckForApp()) SWIG_fail
;
5835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5836 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,arg2
);
5837 wxPyEndAllowThreads(__tstate
);
5838 if (PyErr_Occurred()) SWIG_fail
;
5840 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_NEW
| 0 );
5855 SWIGINTERN PyObject
*_wrap_delete_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5856 PyObject
*resultobj
= 0;
5857 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5860 PyObject
*swig_obj
[1] ;
5862 if (!args
) SWIG_fail
;
5864 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, SWIG_POINTER_DISOWN
| 0 );
5865 if (!SWIG_IsOK(res1
)) {
5866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Bitmap" "', expected argument " "1"" of type '" "wxBitmap *""'");
5868 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5872 if (PyErr_Occurred()) SWIG_fail
;
5874 resultobj
= SWIG_Py_Void();
5881 SWIGINTERN PyObject
*_wrap_new_EmptyBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5882 PyObject
*resultobj
= 0;
5885 int arg3
= (int) -1 ;
5886 wxBitmap
*result
= 0 ;
5893 PyObject
* obj0
= 0 ;
5894 PyObject
* obj1
= 0 ;
5895 PyObject
* obj2
= 0 ;
5896 char * kwnames
[] = {
5897 (char *) "width",(char *) "height",(char *) "depth", NULL
5900 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5901 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5902 if (!SWIG_IsOK(ecode1
)) {
5903 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_EmptyBitmap" "', expected argument " "1"" of type '" "int""'");
5905 arg1
= static_cast< int >(val1
);
5906 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5907 if (!SWIG_IsOK(ecode2
)) {
5908 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_EmptyBitmap" "', expected argument " "2"" of type '" "int""'");
5910 arg2
= static_cast< int >(val2
);
5912 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5913 if (!SWIG_IsOK(ecode3
)) {
5914 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_EmptyBitmap" "', expected argument " "3"" of type '" "int""'");
5916 arg3
= static_cast< int >(val3
);
5919 if (!wxPyCheckForApp()) SWIG_fail
;
5920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5921 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
5922 wxPyEndAllowThreads(__tstate
);
5923 if (PyErr_Occurred()) SWIG_fail
;
5925 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5932 SWIGINTERN PyObject
*_wrap_new_BitmapFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5933 PyObject
*resultobj
= 0;
5935 wxBitmap
*result
= 0 ;
5938 PyObject
* obj0
= 0 ;
5939 char * kwnames
[] = {
5940 (char *) "icon", NULL
5943 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) SWIG_fail
;
5944 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
5945 if (!SWIG_IsOK(res1
)) {
5946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
5949 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
5951 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
5953 if (!wxPyCheckForApp()) SWIG_fail
;
5954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5955 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
5956 wxPyEndAllowThreads(__tstate
);
5957 if (PyErr_Occurred()) SWIG_fail
;
5959 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5966 SWIGINTERN PyObject
*_wrap_new_BitmapFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5967 PyObject
*resultobj
= 0;
5969 int arg2
= (int) -1 ;
5970 wxBitmap
*result
= 0 ;
5975 PyObject
* obj0
= 0 ;
5976 PyObject
* obj1
= 0 ;
5977 char * kwnames
[] = {
5978 (char *) "image",(char *) "depth", NULL
5981 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5982 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
5983 if (!SWIG_IsOK(res1
)) {
5984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
5987 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
5989 arg1
= reinterpret_cast< wxImage
* >(argp1
);
5991 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5992 if (!SWIG_IsOK(ecode2
)) {
5993 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromImage" "', expected argument " "2"" of type '" "int""'");
5995 arg2
= static_cast< int >(val2
);
5998 if (!wxPyCheckForApp()) SWIG_fail
;
5999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6000 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
6001 wxPyEndAllowThreads(__tstate
);
6002 if (PyErr_Occurred()) SWIG_fail
;
6004 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6011 SWIGINTERN PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6012 PyObject
*resultobj
= 0;
6013 PyObject
*arg1
= (PyObject
*) 0 ;
6014 wxBitmap
*result
= 0 ;
6015 PyObject
* obj0
= 0 ;
6016 char * kwnames
[] = {
6017 (char *) "listOfStrings", NULL
6020 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
6023 if (!wxPyCheckForApp()) SWIG_fail
;
6024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6025 result
= (wxBitmap
*)new_wxBitmap(arg1
);
6026 wxPyEndAllowThreads(__tstate
);
6027 if (PyErr_Occurred()) SWIG_fail
;
6029 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6036 SWIGINTERN PyObject
*_wrap_new_BitmapFromBits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6037 PyObject
*resultobj
= 0;
6038 PyObject
*arg1
= (PyObject
*) 0 ;
6041 int arg4
= (int) 1 ;
6042 wxBitmap
*result
= 0 ;
6049 PyObject
* obj0
= 0 ;
6050 PyObject
* obj1
= 0 ;
6051 PyObject
* obj2
= 0 ;
6052 PyObject
* obj3
= 0 ;
6053 char * kwnames
[] = {
6054 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
6057 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6059 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6060 if (!SWIG_IsOK(ecode2
)) {
6061 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromBits" "', expected argument " "2"" of type '" "int""'");
6063 arg2
= static_cast< int >(val2
);
6064 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6065 if (!SWIG_IsOK(ecode3
)) {
6066 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BitmapFromBits" "', expected argument " "3"" of type '" "int""'");
6068 arg3
= static_cast< int >(val3
);
6070 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6071 if (!SWIG_IsOK(ecode4
)) {
6072 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BitmapFromBits" "', expected argument " "4"" of type '" "int""'");
6074 arg4
= static_cast< int >(val4
);
6077 if (!wxPyCheckForApp()) SWIG_fail
;
6078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6079 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
6080 wxPyEndAllowThreads(__tstate
);
6081 if (PyErr_Occurred()) SWIG_fail
;
6083 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6090 SWIGINTERN PyObject
*_wrap_Bitmap_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6091 PyObject
*resultobj
= 0;
6092 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6096 PyObject
*swig_obj
[1] ;
6098 if (!args
) SWIG_fail
;
6100 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6101 if (!SWIG_IsOK(res1
)) {
6102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_IsOk" "', expected argument " "1"" of type '" "wxBitmap *""'");
6104 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6106 result
= (bool)(arg1
)->IsOk();
6107 if (PyErr_Occurred()) SWIG_fail
;
6110 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6118 SWIGINTERN PyObject
*_wrap_Bitmap_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6119 PyObject
*resultobj
= 0;
6120 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6124 PyObject
*swig_obj
[1] ;
6126 if (!args
) SWIG_fail
;
6128 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6129 if (!SWIG_IsOK(res1
)) {
6130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6132 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6134 result
= (int)(arg1
)->GetWidth();
6135 if (PyErr_Occurred()) SWIG_fail
;
6137 resultobj
= SWIG_From_int(static_cast< int >(result
));
6144 SWIGINTERN PyObject
*_wrap_Bitmap_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6145 PyObject
*resultobj
= 0;
6146 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6150 PyObject
*swig_obj
[1] ;
6152 if (!args
) SWIG_fail
;
6154 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6155 if (!SWIG_IsOK(res1
)) {
6156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6158 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6160 result
= (int)(arg1
)->GetHeight();
6161 if (PyErr_Occurred()) SWIG_fail
;
6163 resultobj
= SWIG_From_int(static_cast< int >(result
));
6170 SWIGINTERN PyObject
*_wrap_Bitmap_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6171 PyObject
*resultobj
= 0;
6172 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6176 PyObject
*swig_obj
[1] ;
6178 if (!args
) SWIG_fail
;
6180 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6181 if (!SWIG_IsOK(res1
)) {
6182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6184 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6186 result
= (int)(arg1
)->GetDepth();
6187 if (PyErr_Occurred()) SWIG_fail
;
6189 resultobj
= SWIG_From_int(static_cast< int >(result
));
6196 SWIGINTERN PyObject
*_wrap_Bitmap_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6197 PyObject
*resultobj
= 0;
6198 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6202 PyObject
*swig_obj
[1] ;
6204 if (!args
) SWIG_fail
;
6206 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6207 if (!SWIG_IsOK(res1
)) {
6208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6210 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6212 result
= wxBitmap_GetSize(arg1
);
6213 if (PyErr_Occurred()) SWIG_fail
;
6215 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6222 SWIGINTERN PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6223 PyObject
*resultobj
= 0;
6224 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6225 SwigValueWrapper
<wxImage
> result
;
6228 PyObject
*swig_obj
[1] ;
6230 if (!args
) SWIG_fail
;
6232 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6233 if (!SWIG_IsOK(res1
)) {
6234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_ConvertToImage" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6236 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6238 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
6239 if (PyErr_Occurred()) SWIG_fail
;
6241 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
6248 SWIGINTERN PyObject
*_wrap_Bitmap_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6249 PyObject
*resultobj
= 0;
6250 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6251 wxMask
*result
= 0 ;
6254 PyObject
*swig_obj
[1] ;
6256 if (!args
) SWIG_fail
;
6258 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6259 if (!SWIG_IsOK(res1
)) {
6260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetMask" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6262 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6264 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
6265 if (PyErr_Occurred()) SWIG_fail
;
6267 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, 0 | 0 );
6274 SWIGINTERN PyObject
*_wrap_Bitmap_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6275 PyObject
*resultobj
= 0;
6276 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6277 wxMask
*arg2
= (wxMask
*) 0 ;
6281 PyObject
* obj0
= 0 ;
6282 PyObject
* obj1
= 0 ;
6283 char * kwnames
[] = {
6284 (char *) "self",(char *) "mask", NULL
6287 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",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_SetMask" "', expected argument " "1"" of type '" "wxBitmap *""'");
6292 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6293 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
6294 if (!SWIG_IsOK(res2
)) {
6295 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_SetMask" "', expected argument " "2"" of type '" "wxMask *""'");
6298 (arg1
)->SetMask(arg2
);
6299 if (PyErr_Occurred()) SWIG_fail
;
6301 resultobj
= SWIG_Py_Void();
6308 SWIGINTERN PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6309 PyObject
*resultobj
= 0;
6310 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6311 wxColour
*arg2
= 0 ;
6315 PyObject
* obj0
= 0 ;
6316 PyObject
* obj1
= 0 ;
6317 char * kwnames
[] = {
6318 (char *) "self",(char *) "colour", NULL
6321 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6322 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6323 if (!SWIG_IsOK(res1
)) {
6324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMaskColour" "', expected argument " "1"" of type '" "wxBitmap *""'");
6326 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6329 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6332 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
6333 if (PyErr_Occurred()) SWIG_fail
;
6335 resultobj
= SWIG_Py_Void();
6342 SWIGINTERN PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6343 PyObject
*resultobj
= 0;
6344 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6346 SwigValueWrapper
<wxBitmap
> result
;
6350 PyObject
* obj0
= 0 ;
6351 PyObject
* obj1
= 0 ;
6352 char * kwnames
[] = {
6353 (char *) "self",(char *) "rect", NULL
6356 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6357 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6358 if (!SWIG_IsOK(res1
)) {
6359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSubBitmap" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6361 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6364 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6367 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
6368 if (PyErr_Occurred()) SWIG_fail
;
6370 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6377 SWIGINTERN PyObject
*_wrap_Bitmap_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6378 PyObject
*resultobj
= 0;
6379 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6380 wxString
*arg2
= 0 ;
6382 wxPalette
*arg4
= (wxPalette
*) NULL
;
6386 bool temp2
= false ;
6391 PyObject
* obj0
= 0 ;
6392 PyObject
* obj1
= 0 ;
6393 PyObject
* obj2
= 0 ;
6394 PyObject
* obj3
= 0 ;
6395 char * kwnames
[] = {
6396 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
6399 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6400 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6401 if (!SWIG_IsOK(res1
)) {
6402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SaveFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6404 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6406 arg2
= wxString_in_helper(obj1
);
6407 if (arg2
== NULL
) SWIG_fail
;
6410 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6411 if (!SWIG_IsOK(ecode3
)) {
6412 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_SaveFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6414 arg3
= static_cast< wxBitmapType
>(val3
);
6416 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxPalette
, 0 | 0 );
6417 if (!SWIG_IsOK(res4
)) {
6418 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Bitmap_SaveFile" "', expected argument " "4"" of type '" "wxPalette *""'");
6420 arg4
= reinterpret_cast< wxPalette
* >(argp4
);
6423 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
,arg4
);
6424 if (PyErr_Occurred()) SWIG_fail
;
6427 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6443 SWIGINTERN PyObject
*_wrap_Bitmap_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6444 PyObject
*resultobj
= 0;
6445 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6446 wxString
*arg2
= 0 ;
6451 bool temp2
= false ;
6454 PyObject
* obj0
= 0 ;
6455 PyObject
* obj1
= 0 ;
6456 PyObject
* obj2
= 0 ;
6457 char * kwnames
[] = {
6458 (char *) "self",(char *) "name",(char *) "type", NULL
6461 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6462 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6463 if (!SWIG_IsOK(res1
)) {
6464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_LoadFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6466 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6468 arg2
= wxString_in_helper(obj1
);
6469 if (arg2
== NULL
) SWIG_fail
;
6472 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6473 if (!SWIG_IsOK(ecode3
)) {
6474 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6476 arg3
= static_cast< wxBitmapType
>(val3
);
6478 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
6479 if (PyErr_Occurred()) SWIG_fail
;
6482 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6498 SWIGINTERN PyObject
*_wrap_Bitmap_GetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6499 PyObject
*resultobj
= 0;
6500 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6501 wxPalette
*result
= 0 ;
6504 PyObject
*swig_obj
[1] ;
6506 if (!args
) SWIG_fail
;
6508 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6509 if (!SWIG_IsOK(res1
)) {
6510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetPalette" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6512 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6514 result
= (wxPalette
*)((wxBitmap
const *)arg1
)->GetPalette();
6515 if (PyErr_Occurred()) SWIG_fail
;
6517 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, 0 | 0 );
6524 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6525 PyObject
*resultobj
= 0;
6526 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6533 PyObject
* obj0
= 0 ;
6534 PyObject
* obj1
= 0 ;
6535 char * kwnames
[] = {
6536 (char *) "self",(char *) "icon", NULL
6539 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6540 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6541 if (!SWIG_IsOK(res1
)) {
6542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "1"" of type '" "wxBitmap *""'");
6544 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6545 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
6546 if (!SWIG_IsOK(res2
)) {
6547 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6550 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6552 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
6554 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
6555 if (PyErr_Occurred()) SWIG_fail
;
6558 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6566 SWIGINTERN PyObject
*_wrap_Bitmap_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6567 PyObject
*resultobj
= 0;
6568 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6574 PyObject
* obj0
= 0 ;
6575 PyObject
* obj1
= 0 ;
6576 char * kwnames
[] = {
6577 (char *) "self",(char *) "height", NULL
6580 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6581 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6582 if (!SWIG_IsOK(res1
)) {
6583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6585 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6586 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6587 if (!SWIG_IsOK(ecode2
)) {
6588 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetHeight" "', expected argument " "2"" of type '" "int""'");
6590 arg2
= static_cast< int >(val2
);
6592 (arg1
)->SetHeight(arg2
);
6593 if (PyErr_Occurred()) SWIG_fail
;
6595 resultobj
= SWIG_Py_Void();
6602 SWIGINTERN PyObject
*_wrap_Bitmap_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6603 PyObject
*resultobj
= 0;
6604 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6610 PyObject
* obj0
= 0 ;
6611 PyObject
* obj1
= 0 ;
6612 char * kwnames
[] = {
6613 (char *) "self",(char *) "width", NULL
6616 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6617 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6618 if (!SWIG_IsOK(res1
)) {
6619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6621 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6622 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6623 if (!SWIG_IsOK(ecode2
)) {
6624 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetWidth" "', expected argument " "2"" of type '" "int""'");
6626 arg2
= static_cast< int >(val2
);
6628 (arg1
)->SetWidth(arg2
);
6629 if (PyErr_Occurred()) SWIG_fail
;
6631 resultobj
= SWIG_Py_Void();
6638 SWIGINTERN PyObject
*_wrap_Bitmap_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6639 PyObject
*resultobj
= 0;
6640 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6646 PyObject
* obj0
= 0 ;
6647 PyObject
* obj1
= 0 ;
6648 char * kwnames
[] = {
6649 (char *) "self",(char *) "depth", NULL
6652 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6653 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6654 if (!SWIG_IsOK(res1
)) {
6655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6657 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6658 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6659 if (!SWIG_IsOK(ecode2
)) {
6660 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetDepth" "', expected argument " "2"" of type '" "int""'");
6662 arg2
= static_cast< int >(val2
);
6664 (arg1
)->SetDepth(arg2
);
6665 if (PyErr_Occurred()) SWIG_fail
;
6667 resultobj
= SWIG_Py_Void();
6674 SWIGINTERN PyObject
*_wrap_Bitmap_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6675 PyObject
*resultobj
= 0;
6676 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6681 PyObject
* obj0
= 0 ;
6682 PyObject
* obj1
= 0 ;
6683 char * kwnames
[] = {
6684 (char *) "self",(char *) "size", NULL
6687 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6688 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6689 if (!SWIG_IsOK(res1
)) {
6690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6692 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6695 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6698 wxBitmap_SetSize(arg1
,(wxSize
const &)*arg2
);
6699 if (PyErr_Occurred()) SWIG_fail
;
6701 resultobj
= SWIG_Py_Void();
6708 SWIGINTERN PyObject
*_wrap_Bitmap___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6709 PyObject
*resultobj
= 0;
6710 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6711 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
6717 PyObject
* obj0
= 0 ;
6718 PyObject
* obj1
= 0 ;
6719 char * kwnames
[] = {
6720 (char *) "self",(char *) "other", NULL
6723 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6724 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6725 if (!SWIG_IsOK(res1
)) {
6726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___eq__" "', expected argument " "1"" of type '" "wxBitmap *""'");
6728 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6729 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6730 if (!SWIG_IsOK(res2
)) {
6731 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___eq__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
6733 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
6735 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
6736 if (PyErr_Occurred()) SWIG_fail
;
6739 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6747 SWIGINTERN PyObject
*_wrap_Bitmap___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6748 PyObject
*resultobj
= 0;
6749 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6750 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
6756 PyObject
* obj0
= 0 ;
6757 PyObject
* obj1
= 0 ;
6758 char * kwnames
[] = {
6759 (char *) "self",(char *) "other", NULL
6762 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6763 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6764 if (!SWIG_IsOK(res1
)) {
6765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___ne__" "', expected argument " "1"" of type '" "wxBitmap *""'");
6767 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6768 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6769 if (!SWIG_IsOK(res2
)) {
6770 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___ne__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
6772 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
6774 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
6775 if (PyErr_Occurred()) SWIG_fail
;
6778 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6786 SWIGINTERN PyObject
*Bitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6788 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6789 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmap
, SWIG_NewClientData(obj
));
6790 return SWIG_Py_Void();
6793 SWIGINTERN PyObject
*Bitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6794 return SWIG_Python_InitShadowInstance(args
);
6797 SWIGINTERN PyObject
*_wrap__BitmapFromBufferAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6798 PyObject
*resultobj
= 0;
6805 wxBitmap
*result
= 0 ;
6812 PyObject
* obj0
= 0 ;
6813 PyObject
* obj1
= 0 ;
6814 PyObject
* obj2
= 0 ;
6815 PyObject
* obj3
= 0 ;
6816 char * kwnames
[] = {
6817 (char *) "width",(char *) "height",(char *) "data",(char *) "alpha", NULL
6820 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:_BitmapFromBufferAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6821 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6822 if (!SWIG_IsOK(ecode1
)) {
6823 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "1"" of type '" "int""'");
6825 arg1
= static_cast< int >(val1
);
6826 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6827 if (!SWIG_IsOK(ecode2
)) {
6828 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "2"" of type '" "int""'");
6830 arg2
= static_cast< int >(val2
);
6832 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
6836 if (obj3
!= Py_None
) {
6837 if (PyObject_AsReadBuffer(obj3
, (const void**)(&arg5
), &temp5
) == -1) SWIG_fail
;
6842 result
= (wxBitmap
*)_BitmapFromBufferAlpha(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
6843 if (PyErr_Occurred()) SWIG_fail
;
6845 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6852 SWIGINTERN PyObject
*_wrap__BitmapFromBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6853 PyObject
*resultobj
= 0;
6858 wxBitmap
*result
= 0 ;
6864 PyObject
* obj0
= 0 ;
6865 PyObject
* obj1
= 0 ;
6866 PyObject
* obj2
= 0 ;
6867 char * kwnames
[] = {
6868 (char *) "width",(char *) "height",(char *) "data", NULL
6871 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBuffer",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6872 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6873 if (!SWIG_IsOK(ecode1
)) {
6874 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBuffer" "', expected argument " "1"" of type '" "int""'");
6876 arg1
= static_cast< int >(val1
);
6877 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6878 if (!SWIG_IsOK(ecode2
)) {
6879 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBuffer" "', expected argument " "2"" of type '" "int""'");
6881 arg2
= static_cast< int >(val2
);
6883 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
6887 result
= (wxBitmap
*)_BitmapFromBuffer(arg1
,arg2
,arg3
,arg4
);
6888 if (PyErr_Occurred()) SWIG_fail
;
6890 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6897 SWIGINTERN PyObject
*_wrap__BitmapFromBufferRGBA(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6898 PyObject
*resultobj
= 0;
6903 wxBitmap
*result
= 0 ;
6909 PyObject
* obj0
= 0 ;
6910 PyObject
* obj1
= 0 ;
6911 PyObject
* obj2
= 0 ;
6912 char * kwnames
[] = {
6913 (char *) "width",(char *) "height",(char *) "data", NULL
6916 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBufferRGBA",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6917 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6918 if (!SWIG_IsOK(ecode1
)) {
6919 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "1"" of type '" "int""'");
6921 arg1
= static_cast< int >(val1
);
6922 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6923 if (!SWIG_IsOK(ecode2
)) {
6924 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "2"" of type '" "int""'");
6926 arg2
= static_cast< int >(val2
);
6928 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
6932 result
= (wxBitmap
*)_BitmapFromBufferRGBA(arg1
,arg2
,arg3
,arg4
);
6933 if (PyErr_Occurred()) SWIG_fail
;
6935 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6942 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6943 PyObject
*resultobj
= 0;
6944 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
6948 PyObject
*swig_obj
[1] ;
6950 if (!args
) SWIG_fail
;
6952 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
6953 if (!SWIG_IsOK(res1
)) {
6954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetOrigin" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
6956 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
6958 result
= ((wxPixelDataBase
const *)arg1
)->GetOrigin();
6959 if (PyErr_Occurred()) SWIG_fail
;
6961 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
6968 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6969 PyObject
*resultobj
= 0;
6970 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
6974 PyObject
*swig_obj
[1] ;
6976 if (!args
) SWIG_fail
;
6978 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
6979 if (!SWIG_IsOK(res1
)) {
6980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetWidth" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
6982 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
6984 result
= (int)((wxPixelDataBase
const *)arg1
)->GetWidth();
6985 if (PyErr_Occurred()) SWIG_fail
;
6987 resultobj
= SWIG_From_int(static_cast< int >(result
));
6994 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6995 PyObject
*resultobj
= 0;
6996 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7000 PyObject
*swig_obj
[1] ;
7002 if (!args
) SWIG_fail
;
7004 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7005 if (!SWIG_IsOK(res1
)) {
7006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetHeight" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7008 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7010 result
= (int)((wxPixelDataBase
const *)arg1
)->GetHeight();
7011 if (PyErr_Occurred()) SWIG_fail
;
7013 resultobj
= SWIG_From_int(static_cast< int >(result
));
7020 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7021 PyObject
*resultobj
= 0;
7022 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7026 PyObject
*swig_obj
[1] ;
7028 if (!args
) SWIG_fail
;
7030 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7031 if (!SWIG_IsOK(res1
)) {
7032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetSize" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7034 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7036 result
= ((wxPixelDataBase
const *)arg1
)->GetSize();
7037 if (PyErr_Occurred()) SWIG_fail
;
7039 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
7046 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetRowStride(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7047 PyObject
*resultobj
= 0;
7048 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7052 PyObject
*swig_obj
[1] ;
7054 if (!args
) SWIG_fail
;
7056 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7057 if (!SWIG_IsOK(res1
)) {
7058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetRowStride" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7060 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7062 result
= (int)((wxPixelDataBase
const *)arg1
)->GetRowStride();
7063 if (PyErr_Occurred()) SWIG_fail
;
7065 resultobj
= SWIG_From_int(static_cast< int >(result
));
7072 SWIGINTERN PyObject
*PixelDataBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7074 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7075 SWIG_TypeNewClientData(SWIGTYPE_p_wxPixelDataBase
, SWIG_NewClientData(obj
));
7076 return SWIG_Py_Void();
7079 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7080 PyObject
*resultobj
= 0;
7081 wxBitmap
*arg1
= 0 ;
7082 wxNativePixelData
*result
= 0 ;
7086 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7087 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7088 if (!SWIG_IsOK(res1
)) {
7089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7092 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7094 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7096 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
);
7097 if (PyErr_Occurred()) SWIG_fail
;
7099 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7106 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7107 PyObject
*resultobj
= 0;
7108 wxBitmap
*arg1
= 0 ;
7110 wxNativePixelData
*result
= 0 ;
7115 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7116 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7117 if (!SWIG_IsOK(res1
)) {
7118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7121 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7123 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7126 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7129 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxRect
const &)*arg2
);
7130 if (PyErr_Occurred()) SWIG_fail
;
7132 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7139 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7140 PyObject
*resultobj
= 0;
7141 wxBitmap
*arg1
= 0 ;
7144 wxNativePixelData
*result
= 0 ;
7150 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
7151 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7152 if (!SWIG_IsOK(res1
)) {
7153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7156 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7158 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7161 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7165 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
7168 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
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(PyObject
*self
, PyObject
*args
) {
7182 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData",0,3,argv
))) SWIG_fail
;
7185 return _wrap_new_NativePixelData__SWIG_0(self
, argc
, argv
);
7188 return _wrap_new_NativePixelData__SWIG_1(self
, argc
, argv
);
7191 return _wrap_new_NativePixelData__SWIG_2(self
, argc
, argv
);
7195 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData'");
7200 SWIGINTERN PyObject
*_wrap_delete_NativePixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7201 PyObject
*resultobj
= 0;
7202 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7205 PyObject
*swig_obj
[1] ;
7207 if (!args
) SWIG_fail
;
7209 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_DISOWN
| 0 );
7210 if (!SWIG_IsOK(res1
)) {
7211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7213 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7217 if (PyErr_Occurred()) SWIG_fail
;
7219 resultobj
= SWIG_Py_Void();
7226 SWIGINTERN PyObject
*_wrap_NativePixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7227 PyObject
*resultobj
= 0;
7228 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7229 wxNativePixelData_Accessor result
;
7232 PyObject
*swig_obj
[1] ;
7234 if (!args
) SWIG_fail
;
7236 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7237 if (!SWIG_IsOK(res1
)) {
7238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_GetPixels" "', expected argument " "1"" of type '" "wxNativePixelData const *""'");
7240 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7242 result
= ((wxNativePixelData
const *)arg1
)->GetPixels();
7243 if (PyErr_Occurred()) SWIG_fail
;
7245 resultobj
= SWIG_NewPointerObj((new wxNativePixelData_Accessor(static_cast< const wxNativePixelData_Accessor
& >(result
))), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
7252 SWIGINTERN PyObject
*_wrap_NativePixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7253 PyObject
*resultobj
= 0;
7254 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7257 PyObject
*swig_obj
[1] ;
7259 if (!args
) SWIG_fail
;
7261 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7262 if (!SWIG_IsOK(res1
)) {
7263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_UseAlpha" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7265 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7268 if (PyErr_Occurred()) SWIG_fail
;
7270 resultobj
= SWIG_Py_Void();
7277 SWIGINTERN PyObject
*_wrap_NativePixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7278 PyObject
*resultobj
= 0;
7279 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7283 PyObject
*swig_obj
[1] ;
7285 if (!args
) SWIG_fail
;
7287 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7288 if (!SWIG_IsOK(res1
)) {
7289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData___nonzero__" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7291 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7293 result
= (bool)wxNativePixelData___nonzero__(arg1
);
7294 if (PyErr_Occurred()) SWIG_fail
;
7297 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7305 SWIGINTERN PyObject
*NativePixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7307 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7308 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData
, SWIG_NewClientData(obj
));
7309 return SWIG_Py_Void();
7312 SWIGINTERN PyObject
*NativePixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7313 return SWIG_Python_InitShadowInstance(args
);
7316 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7317 PyObject
*resultobj
= 0;
7318 wxNativePixelData
*arg1
= 0 ;
7319 wxNativePixelData_Accessor
*result
= 0 ;
7323 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7324 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxNativePixelData
, 0 );
7325 if (!SWIG_IsOK(res1
)) {
7326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7329 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7331 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7333 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
);
7334 if (PyErr_Occurred()) SWIG_fail
;
7336 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7343 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7344 PyObject
*resultobj
= 0;
7345 wxBitmap
*arg1
= 0 ;
7346 wxNativePixelData
*arg2
= 0 ;
7347 wxNativePixelData_Accessor
*result
= 0 ;
7353 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7354 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7355 if (!SWIG_IsOK(res1
)) {
7356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7359 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7361 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7362 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 );
7363 if (!SWIG_IsOK(res2
)) {
7364 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7367 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7369 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7371 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
,*arg2
);
7372 if (PyErr_Occurred()) SWIG_fail
;
7374 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7381 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
7382 PyObject
*resultobj
= 0;
7383 wxNativePixelData_Accessor
*result
= 0 ;
7385 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
7387 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor();
7388 if (PyErr_Occurred()) SWIG_fail
;
7390 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7397 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor(PyObject
*self
, PyObject
*args
) {
7401 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData_Accessor",0,2,argv
))) SWIG_fail
;
7404 return _wrap_new_NativePixelData_Accessor__SWIG_2(self
, argc
, argv
);
7407 return _wrap_new_NativePixelData_Accessor__SWIG_0(self
, argc
, argv
);
7410 return _wrap_new_NativePixelData_Accessor__SWIG_1(self
, argc
, argv
);
7414 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData_Accessor'");
7419 SWIGINTERN PyObject
*_wrap_delete_NativePixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7420 PyObject
*resultobj
= 0;
7421 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7424 PyObject
*swig_obj
[1] ;
7426 if (!args
) SWIG_fail
;
7428 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
7429 if (!SWIG_IsOK(res1
)) {
7430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7432 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7436 if (PyErr_Occurred()) SWIG_fail
;
7438 resultobj
= SWIG_Py_Void();
7445 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7446 PyObject
*resultobj
= 0;
7447 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7448 wxNativePixelData
*arg2
= 0 ;
7453 PyObject
* obj0
= 0 ;
7454 PyObject
* obj1
= 0 ;
7455 char * kwnames
[] = {
7456 (char *) "self",(char *) "data", NULL
7459 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativePixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7460 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7461 if (!SWIG_IsOK(res1
)) {
7462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7464 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7465 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7466 if (!SWIG_IsOK(res2
)) {
7467 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7470 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7472 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7474 (arg1
)->Reset((wxNativePixelData
const &)*arg2
);
7475 if (PyErr_Occurred()) SWIG_fail
;
7477 resultobj
= SWIG_Py_Void();
7484 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7485 PyObject
*resultobj
= 0;
7486 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7490 PyObject
*swig_obj
[1] ;
7492 if (!args
) SWIG_fail
;
7494 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7495 if (!SWIG_IsOK(res1
)) {
7496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor const *""'");
7498 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7500 result
= (bool)((wxNativePixelData_Accessor
const *)arg1
)->IsOk();
7501 if (PyErr_Occurred()) SWIG_fail
;
7504 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7512 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7513 PyObject
*resultobj
= 0;
7514 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7517 PyObject
*swig_obj
[1] ;
7519 if (!args
) SWIG_fail
;
7521 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7522 if (!SWIG_IsOK(res1
)) {
7523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7525 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7527 wxNativePixelData_Accessor_nextPixel(arg1
);
7528 if (PyErr_Occurred()) SWIG_fail
;
7530 resultobj
= SWIG_Py_Void();
7537 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7538 PyObject
*resultobj
= 0;
7539 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7540 wxNativePixelData
*arg2
= 0 ;
7551 PyObject
* obj0
= 0 ;
7552 PyObject
* obj1
= 0 ;
7553 PyObject
* obj2
= 0 ;
7554 PyObject
* obj3
= 0 ;
7555 char * kwnames
[] = {
7556 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
7559 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7560 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7561 if (!SWIG_IsOK(res1
)) {
7562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7564 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7565 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7566 if (!SWIG_IsOK(res2
)) {
7567 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7570 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7572 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7573 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7574 if (!SWIG_IsOK(ecode3
)) {
7575 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
7577 arg3
= static_cast< int >(val3
);
7578 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7579 if (!SWIG_IsOK(ecode4
)) {
7580 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
7582 arg4
= static_cast< int >(val4
);
7584 (arg1
)->Offset((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
7585 if (PyErr_Occurred()) SWIG_fail
;
7587 resultobj
= SWIG_Py_Void();
7594 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7595 PyObject
*resultobj
= 0;
7596 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7597 wxNativePixelData
*arg2
= 0 ;
7605 PyObject
* obj0
= 0 ;
7606 PyObject
* obj1
= 0 ;
7607 PyObject
* obj2
= 0 ;
7608 char * kwnames
[] = {
7609 (char *) "self",(char *) "data",(char *) "x", NULL
7612 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7613 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7614 if (!SWIG_IsOK(res1
)) {
7615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7617 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7618 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7619 if (!SWIG_IsOK(res2
)) {
7620 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7623 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7625 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7626 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7627 if (!SWIG_IsOK(ecode3
)) {
7628 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
7630 arg3
= static_cast< int >(val3
);
7632 (arg1
)->OffsetX((wxNativePixelData
const &)*arg2
,arg3
);
7633 if (PyErr_Occurred()) SWIG_fail
;
7635 resultobj
= SWIG_Py_Void();
7642 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7643 PyObject
*resultobj
= 0;
7644 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7645 wxNativePixelData
*arg2
= 0 ;
7653 PyObject
* obj0
= 0 ;
7654 PyObject
* obj1
= 0 ;
7655 PyObject
* obj2
= 0 ;
7656 char * kwnames
[] = {
7657 (char *) "self",(char *) "data",(char *) "y", NULL
7660 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7661 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7662 if (!SWIG_IsOK(res1
)) {
7663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7665 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7666 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7667 if (!SWIG_IsOK(res2
)) {
7668 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7671 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7673 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7674 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7675 if (!SWIG_IsOK(ecode3
)) {
7676 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
7678 arg3
= static_cast< int >(val3
);
7680 (arg1
)->OffsetY((wxNativePixelData
const &)*arg2
,arg3
);
7681 if (PyErr_Occurred()) SWIG_fail
;
7683 resultobj
= SWIG_Py_Void();
7690 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7691 PyObject
*resultobj
= 0;
7692 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7693 wxNativePixelData
*arg2
= 0 ;
7704 PyObject
* obj0
= 0 ;
7705 PyObject
* obj1
= 0 ;
7706 PyObject
* obj2
= 0 ;
7707 PyObject
* obj3
= 0 ;
7708 char * kwnames
[] = {
7709 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
7712 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7713 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7714 if (!SWIG_IsOK(res1
)) {
7715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7717 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7718 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7719 if (!SWIG_IsOK(res2
)) {
7720 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7723 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7725 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7726 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7727 if (!SWIG_IsOK(ecode3
)) {
7728 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
7730 arg3
= static_cast< int >(val3
);
7731 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7732 if (!SWIG_IsOK(ecode4
)) {
7733 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
7735 arg4
= static_cast< int >(val4
);
7737 (arg1
)->MoveTo((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
7738 if (PyErr_Occurred()) SWIG_fail
;
7740 resultobj
= SWIG_Py_Void();
7747 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7748 PyObject
*resultobj
= 0;
7749 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7755 unsigned char val2
;
7757 unsigned char val3
;
7759 unsigned char val4
;
7761 PyObject
* obj0
= 0 ;
7762 PyObject
* obj1
= 0 ;
7763 PyObject
* obj2
= 0 ;
7764 PyObject
* obj3
= 0 ;
7765 char * kwnames
[] = {
7766 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
7769 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7770 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7771 if (!SWIG_IsOK(res1
)) {
7772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7774 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7775 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
7776 if (!SWIG_IsOK(ecode2
)) {
7777 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
7779 arg2
= static_cast< byte
>(val2
);
7780 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
7781 if (!SWIG_IsOK(ecode3
)) {
7782 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
7784 arg3
= static_cast< byte
>(val3
);
7785 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
7786 if (!SWIG_IsOK(ecode4
)) {
7787 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
7789 arg4
= static_cast< byte
>(val4
);
7791 wxNativePixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
);
7792 if (PyErr_Occurred()) SWIG_fail
;
7794 resultobj
= SWIG_Py_Void();
7801 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7802 PyObject
*resultobj
= 0;
7803 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7804 PyObject
*result
= 0 ;
7807 PyObject
*swig_obj
[1] ;
7809 if (!args
) SWIG_fail
;
7811 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7812 if (!SWIG_IsOK(res1
)) {
7813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7815 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7817 result
= (PyObject
*)wxNativePixelData_Accessor_Get(arg1
);
7818 if (PyErr_Occurred()) SWIG_fail
;
7827 SWIGINTERN PyObject
*NativePixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7829 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7830 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_NewClientData(obj
));
7831 return SWIG_Py_Void();
7834 SWIGINTERN PyObject
*NativePixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7835 return SWIG_Python_InitShadowInstance(args
);
7838 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7839 PyObject
*resultobj
= 0;
7840 wxBitmap
*arg1
= 0 ;
7841 wxAlphaPixelData
*result
= 0 ;
7845 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7846 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7847 if (!SWIG_IsOK(res1
)) {
7848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7851 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7853 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7855 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
);
7856 if (PyErr_Occurred()) SWIG_fail
;
7858 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
7865 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7866 PyObject
*resultobj
= 0;
7867 wxBitmap
*arg1
= 0 ;
7869 wxAlphaPixelData
*result
= 0 ;
7874 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7875 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7876 if (!SWIG_IsOK(res1
)) {
7877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7880 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7882 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7885 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7888 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxRect
const &)*arg2
);
7889 if (PyErr_Occurred()) SWIG_fail
;
7891 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
7898 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7899 PyObject
*resultobj
= 0;
7900 wxBitmap
*arg1
= 0 ;
7903 wxAlphaPixelData
*result
= 0 ;
7909 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
7910 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7911 if (!SWIG_IsOK(res1
)) {
7912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7915 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7917 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7920 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7924 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
7927 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
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(PyObject
*self
, PyObject
*args
) {
7941 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData",0,3,argv
))) SWIG_fail
;
7944 return _wrap_new_AlphaPixelData__SWIG_0(self
, argc
, argv
);
7947 return _wrap_new_AlphaPixelData__SWIG_1(self
, argc
, argv
);
7950 return _wrap_new_AlphaPixelData__SWIG_2(self
, argc
, argv
);
7954 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData'");
7959 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7960 PyObject
*resultobj
= 0;
7961 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
7964 PyObject
*swig_obj
[1] ;
7966 if (!args
) SWIG_fail
;
7968 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_DISOWN
| 0 );
7969 if (!SWIG_IsOK(res1
)) {
7970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
7972 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
7976 if (PyErr_Occurred()) SWIG_fail
;
7978 resultobj
= SWIG_Py_Void();
7985 SWIGINTERN PyObject
*_wrap_AlphaPixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7986 PyObject
*resultobj
= 0;
7987 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
7988 wxAlphaPixelData_Accessor result
;
7991 PyObject
*swig_obj
[1] ;
7993 if (!args
) SWIG_fail
;
7995 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
7996 if (!SWIG_IsOK(res1
)) {
7997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_GetPixels" "', expected argument " "1"" of type '" "wxAlphaPixelData const *""'");
7999 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8001 result
= ((wxAlphaPixelData
const *)arg1
)->GetPixels();
8002 if (PyErr_Occurred()) SWIG_fail
;
8004 resultobj
= SWIG_NewPointerObj((new wxAlphaPixelData_Accessor(static_cast< const wxAlphaPixelData_Accessor
& >(result
))), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
8011 SWIGINTERN PyObject
*_wrap_AlphaPixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8012 PyObject
*resultobj
= 0;
8013 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8016 PyObject
*swig_obj
[1] ;
8018 if (!args
) SWIG_fail
;
8020 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8021 if (!SWIG_IsOK(res1
)) {
8022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_UseAlpha" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8024 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8027 if (PyErr_Occurred()) SWIG_fail
;
8029 resultobj
= SWIG_Py_Void();
8036 SWIGINTERN PyObject
*_wrap_AlphaPixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8037 PyObject
*resultobj
= 0;
8038 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8042 PyObject
*swig_obj
[1] ;
8044 if (!args
) SWIG_fail
;
8046 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8047 if (!SWIG_IsOK(res1
)) {
8048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData___nonzero__" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8050 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8052 result
= (bool)wxAlphaPixelData___nonzero__(arg1
);
8053 if (PyErr_Occurred()) SWIG_fail
;
8056 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8064 SWIGINTERN PyObject
*AlphaPixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8066 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8067 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData
, SWIG_NewClientData(obj
));
8068 return SWIG_Py_Void();
8071 SWIGINTERN PyObject
*AlphaPixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8072 return SWIG_Python_InitShadowInstance(args
);
8075 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8076 PyObject
*resultobj
= 0;
8077 wxAlphaPixelData
*arg1
= 0 ;
8078 wxAlphaPixelData_Accessor
*result
= 0 ;
8082 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
8083 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8084 if (!SWIG_IsOK(res1
)) {
8085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
8088 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
8090 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8092 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
);
8093 if (PyErr_Occurred()) SWIG_fail
;
8095 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8102 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8103 PyObject
*resultobj
= 0;
8104 wxBitmap
*arg1
= 0 ;
8105 wxAlphaPixelData
*arg2
= 0 ;
8106 wxAlphaPixelData_Accessor
*result
= 0 ;
8112 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
8113 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8114 if (!SWIG_IsOK(res1
)) {
8115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8118 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8120 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8121 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8122 if (!SWIG_IsOK(res2
)) {
8123 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8126 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8128 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8130 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
,*arg2
);
8131 if (PyErr_Occurred()) SWIG_fail
;
8133 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8140 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
8141 PyObject
*resultobj
= 0;
8142 wxAlphaPixelData_Accessor
*result
= 0 ;
8144 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
8146 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor();
8147 if (PyErr_Occurred()) SWIG_fail
;
8149 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8156 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor(PyObject
*self
, PyObject
*args
) {
8160 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData_Accessor",0,2,argv
))) SWIG_fail
;
8163 return _wrap_new_AlphaPixelData_Accessor__SWIG_2(self
, argc
, argv
);
8166 return _wrap_new_AlphaPixelData_Accessor__SWIG_0(self
, argc
, argv
);
8169 return _wrap_new_AlphaPixelData_Accessor__SWIG_1(self
, argc
, argv
);
8173 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData_Accessor'");
8178 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8179 PyObject
*resultobj
= 0;
8180 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8183 PyObject
*swig_obj
[1] ;
8185 if (!args
) SWIG_fail
;
8187 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
8188 if (!SWIG_IsOK(res1
)) {
8189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8191 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8195 if (PyErr_Occurred()) SWIG_fail
;
8197 resultobj
= SWIG_Py_Void();
8204 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8205 PyObject
*resultobj
= 0;
8206 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8207 wxAlphaPixelData
*arg2
= 0 ;
8212 PyObject
* obj0
= 0 ;
8213 PyObject
* obj1
= 0 ;
8214 char * kwnames
[] = {
8215 (char *) "self",(char *) "data", NULL
8218 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AlphaPixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8219 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8220 if (!SWIG_IsOK(res1
)) {
8221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8223 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8224 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8225 if (!SWIG_IsOK(res2
)) {
8226 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8229 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8231 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8233 (arg1
)->Reset((wxAlphaPixelData
const &)*arg2
);
8234 if (PyErr_Occurred()) SWIG_fail
;
8236 resultobj
= SWIG_Py_Void();
8243 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8244 PyObject
*resultobj
= 0;
8245 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8249 PyObject
*swig_obj
[1] ;
8251 if (!args
) SWIG_fail
;
8253 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8254 if (!SWIG_IsOK(res1
)) {
8255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor const *""'");
8257 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8259 result
= (bool)((wxAlphaPixelData_Accessor
const *)arg1
)->IsOk();
8260 if (PyErr_Occurred()) SWIG_fail
;
8263 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8271 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8272 PyObject
*resultobj
= 0;
8273 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8276 PyObject
*swig_obj
[1] ;
8278 if (!args
) SWIG_fail
;
8280 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8281 if (!SWIG_IsOK(res1
)) {
8282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8284 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8286 wxAlphaPixelData_Accessor_nextPixel(arg1
);
8287 if (PyErr_Occurred()) SWIG_fail
;
8289 resultobj
= SWIG_Py_Void();
8296 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8297 PyObject
*resultobj
= 0;
8298 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8299 wxAlphaPixelData
*arg2
= 0 ;
8310 PyObject
* obj0
= 0 ;
8311 PyObject
* obj1
= 0 ;
8312 PyObject
* obj2
= 0 ;
8313 PyObject
* obj3
= 0 ;
8314 char * kwnames
[] = {
8315 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8318 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8319 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8320 if (!SWIG_IsOK(res1
)) {
8321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8323 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8324 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8325 if (!SWIG_IsOK(res2
)) {
8326 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8329 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8331 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8332 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8333 if (!SWIG_IsOK(ecode3
)) {
8334 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
8336 arg3
= static_cast< int >(val3
);
8337 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8338 if (!SWIG_IsOK(ecode4
)) {
8339 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
8341 arg4
= static_cast< int >(val4
);
8343 (arg1
)->Offset((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8344 if (PyErr_Occurred()) SWIG_fail
;
8346 resultobj
= SWIG_Py_Void();
8353 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8354 PyObject
*resultobj
= 0;
8355 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8356 wxAlphaPixelData
*arg2
= 0 ;
8364 PyObject
* obj0
= 0 ;
8365 PyObject
* obj1
= 0 ;
8366 PyObject
* obj2
= 0 ;
8367 char * kwnames
[] = {
8368 (char *) "self",(char *) "data",(char *) "x", NULL
8371 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8372 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8373 if (!SWIG_IsOK(res1
)) {
8374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8376 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8377 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8378 if (!SWIG_IsOK(res2
)) {
8379 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8382 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8384 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8385 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8386 if (!SWIG_IsOK(ecode3
)) {
8387 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
8389 arg3
= static_cast< int >(val3
);
8391 (arg1
)->OffsetX((wxAlphaPixelData
const &)*arg2
,arg3
);
8392 if (PyErr_Occurred()) SWIG_fail
;
8394 resultobj
= SWIG_Py_Void();
8401 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8402 PyObject
*resultobj
= 0;
8403 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8404 wxAlphaPixelData
*arg2
= 0 ;
8412 PyObject
* obj0
= 0 ;
8413 PyObject
* obj1
= 0 ;
8414 PyObject
* obj2
= 0 ;
8415 char * kwnames
[] = {
8416 (char *) "self",(char *) "data",(char *) "y", NULL
8419 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8420 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8421 if (!SWIG_IsOK(res1
)) {
8422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8424 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8425 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8426 if (!SWIG_IsOK(res2
)) {
8427 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8430 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8432 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8433 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8434 if (!SWIG_IsOK(ecode3
)) {
8435 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
8437 arg3
= static_cast< int >(val3
);
8439 (arg1
)->OffsetY((wxAlphaPixelData
const &)*arg2
,arg3
);
8440 if (PyErr_Occurred()) SWIG_fail
;
8442 resultobj
= SWIG_Py_Void();
8449 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8450 PyObject
*resultobj
= 0;
8451 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8452 wxAlphaPixelData
*arg2
= 0 ;
8463 PyObject
* obj0
= 0 ;
8464 PyObject
* obj1
= 0 ;
8465 PyObject
* obj2
= 0 ;
8466 PyObject
* obj3
= 0 ;
8467 char * kwnames
[] = {
8468 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8471 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8472 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8473 if (!SWIG_IsOK(res1
)) {
8474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8476 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8477 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8478 if (!SWIG_IsOK(res2
)) {
8479 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8482 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8484 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8485 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8486 if (!SWIG_IsOK(ecode3
)) {
8487 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
8489 arg3
= static_cast< int >(val3
);
8490 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8491 if (!SWIG_IsOK(ecode4
)) {
8492 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
8494 arg4
= static_cast< int >(val4
);
8496 (arg1
)->MoveTo((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8497 if (PyErr_Occurred()) SWIG_fail
;
8499 resultobj
= SWIG_Py_Void();
8506 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8507 PyObject
*resultobj
= 0;
8508 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8515 unsigned char val2
;
8517 unsigned char val3
;
8519 unsigned char val4
;
8521 unsigned char val5
;
8523 PyObject
* obj0
= 0 ;
8524 PyObject
* obj1
= 0 ;
8525 PyObject
* obj2
= 0 ;
8526 PyObject
* obj3
= 0 ;
8527 PyObject
* obj4
= 0 ;
8528 char * kwnames
[] = {
8529 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
8532 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:AlphaPixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8533 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8534 if (!SWIG_IsOK(res1
)) {
8535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8537 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8538 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
8539 if (!SWIG_IsOK(ecode2
)) {
8540 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
8542 arg2
= static_cast< byte
>(val2
);
8543 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
8544 if (!SWIG_IsOK(ecode3
)) {
8545 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
8547 arg3
= static_cast< byte
>(val3
);
8548 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
8549 if (!SWIG_IsOK(ecode4
)) {
8550 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
8552 arg4
= static_cast< byte
>(val4
);
8553 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
8554 if (!SWIG_IsOK(ecode5
)) {
8555 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "5"" of type '" "byte""'");
8557 arg5
= static_cast< byte
>(val5
);
8559 wxAlphaPixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
8560 if (PyErr_Occurred()) SWIG_fail
;
8562 resultobj
= SWIG_Py_Void();
8569 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8570 PyObject
*resultobj
= 0;
8571 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8572 PyObject
*result
= 0 ;
8575 PyObject
*swig_obj
[1] ;
8577 if (!args
) SWIG_fail
;
8579 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8580 if (!SWIG_IsOK(res1
)) {
8581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8583 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8585 result
= (PyObject
*)wxAlphaPixelData_Accessor_Get(arg1
);
8586 if (PyErr_Occurred()) SWIG_fail
;
8595 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8597 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8598 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_NewClientData(obj
));
8599 return SWIG_Py_Void();
8602 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8603 return SWIG_Python_InitShadowInstance(args
);
8606 SWIGINTERN PyObject
*_wrap_new_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8607 PyObject
*resultobj
= 0;
8608 wxBitmap
*arg1
= 0 ;
8609 wxColour
const &arg2_defvalue
= wxNullColour
;
8610 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
8611 wxMask
*result
= 0 ;
8615 PyObject
* obj0
= 0 ;
8616 PyObject
* obj1
= 0 ;
8617 char * kwnames
[] = {
8618 (char *) "bitmap",(char *) "colour", NULL
8621 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8622 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8623 if (!SWIG_IsOK(res1
)) {
8624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8627 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8629 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8633 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8637 if (!wxPyCheckForApp()) SWIG_fail
;
8638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8639 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
8640 wxPyEndAllowThreads(__tstate
);
8641 if (PyErr_Occurred()) SWIG_fail
;
8643 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, SWIG_POINTER_NEW
| 0 );
8650 SWIGINTERN PyObject
*_wrap_delete_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8651 PyObject
*resultobj
= 0;
8652 wxMask
*arg1
= (wxMask
*) 0 ;
8655 PyObject
*swig_obj
[1] ;
8657 if (!args
) SWIG_fail
;
8659 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
8660 if (!SWIG_IsOK(res1
)) {
8661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Mask" "', expected argument " "1"" of type '" "wxMask *""'");
8663 arg1
= reinterpret_cast< wxMask
* >(argp1
);
8667 if (PyErr_Occurred()) SWIG_fail
;
8669 resultobj
= SWIG_Py_Void();
8676 SWIGINTERN PyObject
*Mask_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8678 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8679 SWIG_TypeNewClientData(SWIGTYPE_p_wxMask
, SWIG_NewClientData(obj
));
8680 return SWIG_Py_Void();
8683 SWIGINTERN PyObject
*Mask_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8684 return SWIG_Python_InitShadowInstance(args
);
8687 SWIGINTERN PyObject
*_wrap_new_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8688 PyObject
*resultobj
= 0;
8689 wxString
*arg1
= 0 ;
8691 int arg3
= (int) -1 ;
8692 int arg4
= (int) -1 ;
8693 wxIcon
*result
= 0 ;
8694 bool temp1
= false ;
8701 PyObject
* obj0
= 0 ;
8702 PyObject
* obj1
= 0 ;
8703 PyObject
* obj2
= 0 ;
8704 PyObject
* obj3
= 0 ;
8705 char * kwnames
[] = {
8706 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
8709 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8711 arg1
= wxString_in_helper(obj0
);
8712 if (arg1
== NULL
) SWIG_fail
;
8715 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8716 if (!SWIG_IsOK(ecode2
)) {
8717 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Icon" "', expected argument " "2"" of type '" "wxBitmapType""'");
8719 arg2
= static_cast< wxBitmapType
>(val2
);
8721 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8722 if (!SWIG_IsOK(ecode3
)) {
8723 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Icon" "', expected argument " "3"" of type '" "int""'");
8725 arg3
= static_cast< int >(val3
);
8728 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8729 if (!SWIG_IsOK(ecode4
)) {
8730 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Icon" "', expected argument " "4"" of type '" "int""'");
8732 arg4
= static_cast< int >(val4
);
8735 if (!wxPyCheckForApp()) SWIG_fail
;
8736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8737 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
8738 wxPyEndAllowThreads(__tstate
);
8739 if (PyErr_Occurred()) SWIG_fail
;
8741 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_NEW
| 0 );
8756 SWIGINTERN PyObject
*_wrap_delete_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8757 PyObject
*resultobj
= 0;
8758 wxIcon
*arg1
= (wxIcon
*) 0 ;
8761 PyObject
*swig_obj
[1] ;
8763 if (!args
) SWIG_fail
;
8765 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, SWIG_POINTER_DISOWN
| 0 );
8766 if (!SWIG_IsOK(res1
)) {
8767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Icon" "', expected argument " "1"" of type '" "wxIcon *""'");
8769 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
8771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8774 wxPyEndAllowThreads(__tstate
);
8775 if (PyErr_Occurred()) SWIG_fail
;
8777 resultobj
= SWIG_Py_Void();
8784 SWIGINTERN PyObject
*_wrap_new_EmptyIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8785 PyObject
*resultobj
= 0;
8786 wxIcon
*result
= 0 ;
8788 if (!SWIG_Python_UnpackTuple(args
,"new_EmptyIcon",0,0,0)) SWIG_fail
;
8790 if (!wxPyCheckForApp()) SWIG_fail
;
8791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8792 result
= (wxIcon
*)new wxIcon();
8793 wxPyEndAllowThreads(__tstate
);
8794 if (PyErr_Occurred()) SWIG_fail
;
8796 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
8803 SWIGINTERN PyObject
*_wrap_new_IconFromLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8804 PyObject
*resultobj
= 0;
8805 wxIconLocation
*arg1
= 0 ;
8806 wxIcon
*result
= 0 ;
8809 PyObject
* obj0
= 0 ;
8810 char * kwnames
[] = {
8811 (char *) "loc", NULL
8814 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) SWIG_fail
;
8815 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIconLocation
, 0 | 0);
8816 if (!SWIG_IsOK(res1
)) {
8817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
8820 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
8822 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
8824 if (!wxPyCheckForApp()) SWIG_fail
;
8825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8826 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
8827 wxPyEndAllowThreads(__tstate
);
8828 if (PyErr_Occurred()) SWIG_fail
;
8830 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
8837 SWIGINTERN PyObject
*_wrap_new_IconFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8838 PyObject
*resultobj
= 0;
8839 wxBitmap
*arg1
= 0 ;
8840 wxIcon
*result
= 0 ;
8843 PyObject
* obj0
= 0 ;
8844 char * kwnames
[] = {
8845 (char *) "bmp", NULL
8848 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
8849 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8850 if (!SWIG_IsOK(res1
)) {
8851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8854 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8856 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8858 if (!wxPyCheckForApp()) SWIG_fail
;
8859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8860 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
8861 wxPyEndAllowThreads(__tstate
);
8862 if (PyErr_Occurred()) SWIG_fail
;
8864 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
8871 SWIGINTERN PyObject
*_wrap_new_IconFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8872 PyObject
*resultobj
= 0;
8873 PyObject
*arg1
= (PyObject
*) 0 ;
8874 wxIcon
*result
= 0 ;
8875 PyObject
* obj0
= 0 ;
8876 char * kwnames
[] = {
8877 (char *) "listOfStrings", NULL
8880 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
8883 if (!wxPyCheckForApp()) SWIG_fail
;
8884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8885 result
= (wxIcon
*)new_wxIcon(arg1
);
8886 wxPyEndAllowThreads(__tstate
);
8887 if (PyErr_Occurred()) SWIG_fail
;
8889 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
8896 SWIGINTERN PyObject
*_wrap_Icon_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8897 PyObject
*resultobj
= 0;
8898 wxIcon
*arg1
= (wxIcon
*) 0 ;
8899 wxString
*arg2
= 0 ;
8904 bool temp2
= false ;
8907 PyObject
* obj0
= 0 ;
8908 PyObject
* obj1
= 0 ;
8909 PyObject
* obj2
= 0 ;
8910 char * kwnames
[] = {
8911 (char *) "self",(char *) "name",(char *) "type", NULL
8914 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Icon_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8915 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
8916 if (!SWIG_IsOK(res1
)) {
8917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_LoadFile" "', expected argument " "1"" of type '" "wxIcon *""'");
8919 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
8921 arg2
= wxString_in_helper(obj1
);
8922 if (arg2
== NULL
) SWIG_fail
;
8925 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8926 if (!SWIG_IsOK(ecode3
)) {
8927 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Icon_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
8929 arg3
= static_cast< wxBitmapType
>(val3
);
8931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8932 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
8933 wxPyEndAllowThreads(__tstate
);
8934 if (PyErr_Occurred()) SWIG_fail
;
8937 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8953 SWIGINTERN PyObject
*_wrap_Icon_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8954 PyObject
*resultobj
= 0;
8955 wxIcon
*arg1
= (wxIcon
*) 0 ;
8959 PyObject
*swig_obj
[1] ;
8961 if (!args
) SWIG_fail
;
8963 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
8964 if (!SWIG_IsOK(res1
)) {
8965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_IsOk" "', expected argument " "1"" of type '" "wxIcon *""'");
8967 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
8969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8970 result
= (bool)(arg1
)->IsOk();
8971 wxPyEndAllowThreads(__tstate
);
8972 if (PyErr_Occurred()) SWIG_fail
;
8975 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8983 SWIGINTERN PyObject
*_wrap_Icon_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8984 PyObject
*resultobj
= 0;
8985 wxIcon
*arg1
= (wxIcon
*) 0 ;
8989 PyObject
*swig_obj
[1] ;
8991 if (!args
) SWIG_fail
;
8993 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
8994 if (!SWIG_IsOK(res1
)) {
8995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
8997 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
8999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9000 result
= (int)(arg1
)->GetWidth();
9001 wxPyEndAllowThreads(__tstate
);
9002 if (PyErr_Occurred()) SWIG_fail
;
9004 resultobj
= SWIG_From_int(static_cast< int >(result
));
9011 SWIGINTERN PyObject
*_wrap_Icon_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9012 PyObject
*resultobj
= 0;
9013 wxIcon
*arg1
= (wxIcon
*) 0 ;
9017 PyObject
*swig_obj
[1] ;
9019 if (!args
) SWIG_fail
;
9021 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9022 if (!SWIG_IsOK(res1
)) {
9023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
9025 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9028 result
= (int)(arg1
)->GetHeight();
9029 wxPyEndAllowThreads(__tstate
);
9030 if (PyErr_Occurred()) SWIG_fail
;
9032 resultobj
= SWIG_From_int(static_cast< int >(result
));
9039 SWIGINTERN PyObject
*_wrap_Icon_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9040 PyObject
*resultobj
= 0;
9041 wxIcon
*arg1
= (wxIcon
*) 0 ;
9045 PyObject
*swig_obj
[1] ;
9047 if (!args
) SWIG_fail
;
9049 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9050 if (!SWIG_IsOK(res1
)) {
9051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9053 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9056 result
= (int)(arg1
)->GetDepth();
9057 wxPyEndAllowThreads(__tstate
);
9058 if (PyErr_Occurred()) SWIG_fail
;
9060 resultobj
= SWIG_From_int(static_cast< int >(result
));
9067 SWIGINTERN PyObject
*_wrap_Icon_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9068 PyObject
*resultobj
= 0;
9069 wxIcon
*arg1
= (wxIcon
*) 0 ;
9075 PyObject
* obj0
= 0 ;
9076 PyObject
* obj1
= 0 ;
9077 char * kwnames
[] = {
9078 (char *) "self",(char *) "w", NULL
9081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9082 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9083 if (!SWIG_IsOK(res1
)) {
9084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
9086 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9087 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9088 if (!SWIG_IsOK(ecode2
)) {
9089 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetWidth" "', expected argument " "2"" of type '" "int""'");
9091 arg2
= static_cast< int >(val2
);
9093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9094 (arg1
)->SetWidth(arg2
);
9095 wxPyEndAllowThreads(__tstate
);
9096 if (PyErr_Occurred()) SWIG_fail
;
9098 resultobj
= SWIG_Py_Void();
9105 SWIGINTERN PyObject
*_wrap_Icon_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9106 PyObject
*resultobj
= 0;
9107 wxIcon
*arg1
= (wxIcon
*) 0 ;
9113 PyObject
* obj0
= 0 ;
9114 PyObject
* obj1
= 0 ;
9115 char * kwnames
[] = {
9116 (char *) "self",(char *) "h", NULL
9119 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9120 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9121 if (!SWIG_IsOK(res1
)) {
9122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
9124 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9125 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9126 if (!SWIG_IsOK(ecode2
)) {
9127 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetHeight" "', expected argument " "2"" of type '" "int""'");
9129 arg2
= static_cast< int >(val2
);
9131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9132 (arg1
)->SetHeight(arg2
);
9133 wxPyEndAllowThreads(__tstate
);
9134 if (PyErr_Occurred()) SWIG_fail
;
9136 resultobj
= SWIG_Py_Void();
9143 SWIGINTERN PyObject
*_wrap_Icon_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9144 PyObject
*resultobj
= 0;
9145 wxIcon
*arg1
= (wxIcon
*) 0 ;
9151 PyObject
* obj0
= 0 ;
9152 PyObject
* obj1
= 0 ;
9153 char * kwnames
[] = {
9154 (char *) "self",(char *) "d", NULL
9157 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9158 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9159 if (!SWIG_IsOK(res1
)) {
9160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9162 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9163 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9164 if (!SWIG_IsOK(ecode2
)) {
9165 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetDepth" "', expected argument " "2"" of type '" "int""'");
9167 arg2
= static_cast< int >(val2
);
9169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9170 (arg1
)->SetDepth(arg2
);
9171 wxPyEndAllowThreads(__tstate
);
9172 if (PyErr_Occurred()) SWIG_fail
;
9174 resultobj
= SWIG_Py_Void();
9181 SWIGINTERN PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9182 PyObject
*resultobj
= 0;
9183 wxIcon
*arg1
= (wxIcon
*) 0 ;
9184 wxBitmap
*arg2
= 0 ;
9189 PyObject
* obj0
= 0 ;
9190 PyObject
* obj1
= 0 ;
9191 char * kwnames
[] = {
9192 (char *) "self",(char *) "bmp", NULL
9195 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9196 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9197 if (!SWIG_IsOK(res1
)) {
9198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "1"" of type '" "wxIcon *""'");
9200 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9201 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9202 if (!SWIG_IsOK(res2
)) {
9203 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9206 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9208 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
9210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9211 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
9212 wxPyEndAllowThreads(__tstate
);
9213 if (PyErr_Occurred()) SWIG_fail
;
9215 resultobj
= SWIG_Py_Void();
9222 SWIGINTERN PyObject
*Icon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9224 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9225 SWIG_TypeNewClientData(SWIGTYPE_p_wxIcon
, SWIG_NewClientData(obj
));
9226 return SWIG_Py_Void();
9229 SWIGINTERN PyObject
*Icon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9230 return SWIG_Python_InitShadowInstance(args
);
9233 SWIGINTERN PyObject
*_wrap_new_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9234 PyObject
*resultobj
= 0;
9235 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
9236 int arg2
= (int) 0 ;
9237 wxIconLocation
*result
= 0 ;
9238 bool temp1
= false ;
9241 PyObject
* obj0
= 0 ;
9242 PyObject
* obj1
= 0 ;
9243 char * kwnames
[] = {
9244 (char *) "filename",(char *) "num", NULL
9247 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9250 arg1
= wxString_in_helper(obj0
);
9251 if (arg1
== NULL
) SWIG_fail
;
9256 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9257 if (!SWIG_IsOK(ecode2
)) {
9258 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconLocation" "', expected argument " "2"" of type '" "int""'");
9260 arg2
= static_cast< int >(val2
);
9263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9264 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
9265 wxPyEndAllowThreads(__tstate
);
9266 if (PyErr_Occurred()) SWIG_fail
;
9268 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_NEW
| 0 );
9283 SWIGINTERN PyObject
*_wrap_delete_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9284 PyObject
*resultobj
= 0;
9285 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9288 PyObject
*swig_obj
[1] ;
9290 if (!args
) SWIG_fail
;
9292 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_DISOWN
| 0 );
9293 if (!SWIG_IsOK(res1
)) {
9294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconLocation" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9296 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9301 wxPyEndAllowThreads(__tstate
);
9302 if (PyErr_Occurred()) SWIG_fail
;
9304 resultobj
= SWIG_Py_Void();
9311 SWIGINTERN PyObject
*_wrap_IconLocation_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9312 PyObject
*resultobj
= 0;
9313 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9317 PyObject
*swig_obj
[1] ;
9319 if (!args
) SWIG_fail
;
9321 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9322 if (!SWIG_IsOK(res1
)) {
9323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_IsOk" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9325 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9328 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
9329 wxPyEndAllowThreads(__tstate
);
9330 if (PyErr_Occurred()) SWIG_fail
;
9333 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9341 SWIGINTERN PyObject
*_wrap_IconLocation_SetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9342 PyObject
*resultobj
= 0;
9343 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9344 wxString
*arg2
= 0 ;
9347 bool temp2
= false ;
9348 PyObject
* obj0
= 0 ;
9349 PyObject
* obj1
= 0 ;
9350 char * kwnames
[] = {
9351 (char *) "self",(char *) "filename", NULL
9354 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9355 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9356 if (!SWIG_IsOK(res1
)) {
9357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetFileName" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9359 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9361 arg2
= wxString_in_helper(obj1
);
9362 if (arg2
== NULL
) SWIG_fail
;
9366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9367 (arg1
)->SetFileName((wxString
const &)*arg2
);
9368 wxPyEndAllowThreads(__tstate
);
9369 if (PyErr_Occurred()) SWIG_fail
;
9371 resultobj
= SWIG_Py_Void();
9386 SWIGINTERN PyObject
*_wrap_IconLocation_GetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9387 PyObject
*resultobj
= 0;
9388 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9389 wxString
*result
= 0 ;
9392 PyObject
*swig_obj
[1] ;
9394 if (!args
) SWIG_fail
;
9396 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9397 if (!SWIG_IsOK(res1
)) {
9398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetFileName" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9400 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9404 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
9405 result
= (wxString
*) &_result_ref
;
9407 wxPyEndAllowThreads(__tstate
);
9408 if (PyErr_Occurred()) SWIG_fail
;
9412 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9414 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9423 SWIGINTERN PyObject
*_wrap_IconLocation_SetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9424 PyObject
*resultobj
= 0;
9425 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9431 PyObject
* obj0
= 0 ;
9432 PyObject
* obj1
= 0 ;
9433 char * kwnames
[] = {
9434 (char *) "self",(char *) "num", NULL
9437 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9438 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9439 if (!SWIG_IsOK(res1
)) {
9440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9442 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9443 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9444 if (!SWIG_IsOK(ecode2
)) {
9445 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IconLocation_SetIndex" "', expected argument " "2"" of type '" "int""'");
9447 arg2
= static_cast< int >(val2
);
9449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9450 wxIconLocation_SetIndex(arg1
,arg2
);
9451 wxPyEndAllowThreads(__tstate
);
9452 if (PyErr_Occurred()) SWIG_fail
;
9454 resultobj
= SWIG_Py_Void();
9461 SWIGINTERN PyObject
*_wrap_IconLocation_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9462 PyObject
*resultobj
= 0;
9463 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9467 PyObject
*swig_obj
[1] ;
9469 if (!args
) SWIG_fail
;
9471 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9472 if (!SWIG_IsOK(res1
)) {
9473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9475 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9478 result
= (int)wxIconLocation_GetIndex(arg1
);
9479 wxPyEndAllowThreads(__tstate
);
9480 if (PyErr_Occurred()) SWIG_fail
;
9482 resultobj
= SWIG_From_int(static_cast< int >(result
));
9489 SWIGINTERN PyObject
*IconLocation_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9491 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9492 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconLocation
, SWIG_NewClientData(obj
));
9493 return SWIG_Py_Void();
9496 SWIGINTERN PyObject
*IconLocation_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9497 return SWIG_Python_InitShadowInstance(args
);
9500 SWIGINTERN PyObject
*_wrap_new_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9501 PyObject
*resultobj
= 0;
9502 wxIconBundle
*result
= 0 ;
9504 if (!SWIG_Python_UnpackTuple(args
,"new_IconBundle",0,0,0)) SWIG_fail
;
9506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9507 result
= (wxIconBundle
*)new wxIconBundle();
9508 wxPyEndAllowThreads(__tstate
);
9509 if (PyErr_Occurred()) SWIG_fail
;
9511 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_NEW
| 0 );
9518 SWIGINTERN PyObject
*_wrap_new_IconBundleFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9519 PyObject
*resultobj
= 0;
9520 wxString
*arg1
= 0 ;
9522 wxIconBundle
*result
= 0 ;
9523 bool temp1
= false ;
9526 PyObject
* obj0
= 0 ;
9527 PyObject
* obj1
= 0 ;
9528 char * kwnames
[] = {
9529 (char *) "file",(char *) "type", NULL
9532 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9534 arg1
= wxString_in_helper(obj0
);
9535 if (arg1
== NULL
) SWIG_fail
;
9538 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9539 if (!SWIG_IsOK(ecode2
)) {
9540 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconBundleFromFile" "', expected argument " "2"" of type '" "long""'");
9542 arg2
= static_cast< long >(val2
);
9544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9545 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
9546 wxPyEndAllowThreads(__tstate
);
9547 if (PyErr_Occurred()) SWIG_fail
;
9549 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
9564 SWIGINTERN PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9565 PyObject
*resultobj
= 0;
9567 wxIconBundle
*result
= 0 ;
9570 PyObject
* obj0
= 0 ;
9571 char * kwnames
[] = {
9572 (char *) "icon", NULL
9575 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) SWIG_fail
;
9576 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
9577 if (!SWIG_IsOK(res1
)) {
9578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
9581 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
9583 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9586 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
9587 wxPyEndAllowThreads(__tstate
);
9588 if (PyErr_Occurred()) SWIG_fail
;
9590 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
9597 SWIGINTERN PyObject
*_wrap_delete_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9598 PyObject
*resultobj
= 0;
9599 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9602 PyObject
*swig_obj
[1] ;
9604 if (!args
) SWIG_fail
;
9606 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_DISOWN
| 0 );
9607 if (!SWIG_IsOK(res1
)) {
9608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconBundle" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9610 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9615 wxPyEndAllowThreads(__tstate
);
9616 if (PyErr_Occurred()) SWIG_fail
;
9618 resultobj
= SWIG_Py_Void();
9625 SWIGINTERN PyObject
*_wrap_IconBundle_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9626 PyObject
*resultobj
= 0;
9627 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9633 PyObject
* obj0
= 0 ;
9634 PyObject
* obj1
= 0 ;
9635 char * kwnames
[] = {
9636 (char *) "self",(char *) "icon", NULL
9639 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9640 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
9641 if (!SWIG_IsOK(res1
)) {
9642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIcon" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9644 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9645 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
9646 if (!SWIG_IsOK(res2
)) {
9647 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
9650 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
9652 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
9654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9655 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
9656 wxPyEndAllowThreads(__tstate
);
9657 if (PyErr_Occurred()) SWIG_fail
;
9659 resultobj
= SWIG_Py_Void();
9666 SWIGINTERN PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9667 PyObject
*resultobj
= 0;
9668 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9669 wxString
*arg2
= 0 ;
9673 bool temp2
= false ;
9676 PyObject
* obj0
= 0 ;
9677 PyObject
* obj1
= 0 ;
9678 PyObject
* obj2
= 0 ;
9679 char * kwnames
[] = {
9680 (char *) "self",(char *) "file",(char *) "type", NULL
9683 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9684 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
9685 if (!SWIG_IsOK(res1
)) {
9686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9688 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9690 arg2
= wxString_in_helper(obj1
);
9691 if (arg2
== NULL
) SWIG_fail
;
9694 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
9695 if (!SWIG_IsOK(ecode3
)) {
9696 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "3"" of type '" "long""'");
9698 arg3
= static_cast< long >(val3
);
9700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9701 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
9702 wxPyEndAllowThreads(__tstate
);
9703 if (PyErr_Occurred()) SWIG_fail
;
9705 resultobj
= SWIG_Py_Void();
9720 SWIGINTERN PyObject
*_wrap_IconBundle_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9721 PyObject
*resultobj
= 0;
9722 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9724 wxIcon
*result
= 0 ;
9728 PyObject
* obj0
= 0 ;
9729 PyObject
* obj1
= 0 ;
9730 char * kwnames
[] = {
9731 (char *) "self",(char *) "size", NULL
9734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9735 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
9736 if (!SWIG_IsOK(res1
)) {
9737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_GetIcon" "', expected argument " "1"" of type '" "wxIconBundle const *""'");
9739 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9742 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
9745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9747 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
9748 result
= (wxIcon
*) &_result_ref
;
9750 wxPyEndAllowThreads(__tstate
);
9751 if (PyErr_Occurred()) SWIG_fail
;
9754 wxIcon
* resultptr
= new wxIcon(*result
);
9755 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
9763 SWIGINTERN PyObject
*IconBundle_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9765 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9766 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconBundle
, SWIG_NewClientData(obj
));
9767 return SWIG_Py_Void();
9770 SWIGINTERN PyObject
*IconBundle_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9771 return SWIG_Python_InitShadowInstance(args
);
9774 SWIGINTERN PyObject
*_wrap_new_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9775 PyObject
*resultobj
= 0;
9776 wxString
*arg1
= 0 ;
9778 int arg3
= (int) 0 ;
9779 int arg4
= (int) 0 ;
9780 wxCursor
*result
= 0 ;
9781 bool temp1
= false ;
9788 PyObject
* obj0
= 0 ;
9789 PyObject
* obj1
= 0 ;
9790 PyObject
* obj2
= 0 ;
9791 PyObject
* obj3
= 0 ;
9792 char * kwnames
[] = {
9793 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
9796 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9798 arg1
= wxString_in_helper(obj0
);
9799 if (arg1
== NULL
) SWIG_fail
;
9802 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9803 if (!SWIG_IsOK(ecode2
)) {
9804 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Cursor" "', expected argument " "2"" of type '" "long""'");
9806 arg2
= static_cast< long >(val2
);
9808 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9809 if (!SWIG_IsOK(ecode3
)) {
9810 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Cursor" "', expected argument " "3"" of type '" "int""'");
9812 arg3
= static_cast< int >(val3
);
9815 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9816 if (!SWIG_IsOK(ecode4
)) {
9817 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Cursor" "', expected argument " "4"" of type '" "int""'");
9819 arg4
= static_cast< int >(val4
);
9822 if (!wxPyCheckForApp()) SWIG_fail
;
9823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9824 result
= (wxCursor
*)new_wxCursor((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
9825 wxPyEndAllowThreads(__tstate
);
9826 if (PyErr_Occurred()) SWIG_fail
;
9828 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_NEW
| 0 );
9843 SWIGINTERN PyObject
*_wrap_delete_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9844 PyObject
*resultobj
= 0;
9845 wxCursor
*arg1
= (wxCursor
*) 0 ;
9848 PyObject
*swig_obj
[1] ;
9850 if (!args
) SWIG_fail
;
9852 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, SWIG_POINTER_DISOWN
| 0 );
9853 if (!SWIG_IsOK(res1
)) {
9854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Cursor" "', expected argument " "1"" of type '" "wxCursor *""'");
9856 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
9858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9861 wxPyEndAllowThreads(__tstate
);
9862 if (PyErr_Occurred()) SWIG_fail
;
9864 resultobj
= SWIG_Py_Void();
9871 SWIGINTERN PyObject
*_wrap_new_StockCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9872 PyObject
*resultobj
= 0;
9874 wxCursor
*result
= 0 ;
9877 PyObject
* obj0
= 0 ;
9878 char * kwnames
[] = {
9882 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) SWIG_fail
;
9883 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9884 if (!SWIG_IsOK(ecode1
)) {
9885 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_StockCursor" "', expected argument " "1"" of type '" "int""'");
9887 arg1
= static_cast< int >(val1
);
9889 if (!wxPyCheckForApp()) SWIG_fail
;
9890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9891 result
= (wxCursor
*)new wxCursor(arg1
);
9892 wxPyEndAllowThreads(__tstate
);
9893 if (PyErr_Occurred()) SWIG_fail
;
9895 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
9902 SWIGINTERN PyObject
*_wrap_new_CursorFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9903 PyObject
*resultobj
= 0;
9905 wxCursor
*result
= 0 ;
9908 PyObject
* obj0
= 0 ;
9909 char * kwnames
[] = {
9910 (char *) "image", NULL
9913 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) SWIG_fail
;
9914 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
9915 if (!SWIG_IsOK(res1
)) {
9916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
9919 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
9921 arg1
= reinterpret_cast< wxImage
* >(argp1
);
9923 if (!wxPyCheckForApp()) SWIG_fail
;
9924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9925 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
9926 wxPyEndAllowThreads(__tstate
);
9927 if (PyErr_Occurred()) SWIG_fail
;
9929 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
9936 SWIGINTERN PyObject
*_wrap_Cursor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9937 PyObject
*resultobj
= 0;
9938 wxCursor
*arg1
= (wxCursor
*) 0 ;
9942 PyObject
*swig_obj
[1] ;
9944 if (!args
) SWIG_fail
;
9946 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
9947 if (!SWIG_IsOK(res1
)) {
9948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_IsOk" "', expected argument " "1"" of type '" "wxCursor *""'");
9950 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
9952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9953 result
= (bool)(arg1
)->IsOk();
9954 wxPyEndAllowThreads(__tstate
);
9955 if (PyErr_Occurred()) SWIG_fail
;
9958 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9966 SWIGINTERN PyObject
*Cursor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9968 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9969 SWIG_TypeNewClientData(SWIGTYPE_p_wxCursor
, SWIG_NewClientData(obj
));
9970 return SWIG_Py_Void();
9973 SWIGINTERN PyObject
*Cursor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9974 return SWIG_Python_InitShadowInstance(args
);
9977 SWIGINTERN PyObject
*_wrap_new_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9978 PyObject
*resultobj
= 0;
9979 int arg1
= (int) 0 ;
9980 int arg2
= (int) 0 ;
9981 int arg3
= (int) 0 ;
9982 int arg4
= (int) 0 ;
9983 wxRegion
*result
= 0 ;
9992 PyObject
* obj0
= 0 ;
9993 PyObject
* obj1
= 0 ;
9994 PyObject
* obj2
= 0 ;
9995 PyObject
* obj3
= 0 ;
9996 char * kwnames
[] = {
9997 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10000 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10002 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10003 if (!SWIG_IsOK(ecode1
)) {
10004 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Region" "', expected argument " "1"" of type '" "int""'");
10006 arg1
= static_cast< int >(val1
);
10009 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10010 if (!SWIG_IsOK(ecode2
)) {
10011 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Region" "', expected argument " "2"" of type '" "int""'");
10013 arg2
= static_cast< int >(val2
);
10016 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10017 if (!SWIG_IsOK(ecode3
)) {
10018 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Region" "', expected argument " "3"" of type '" "int""'");
10020 arg3
= static_cast< int >(val3
);
10023 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10024 if (!SWIG_IsOK(ecode4
)) {
10025 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Region" "', expected argument " "4"" of type '" "int""'");
10027 arg4
= static_cast< int >(val4
);
10030 if (!wxPyCheckForApp()) SWIG_fail
;
10031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10032 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
10033 wxPyEndAllowThreads(__tstate
);
10034 if (PyErr_Occurred()) SWIG_fail
;
10036 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_NEW
| 0 );
10043 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10044 PyObject
*resultobj
= 0;
10045 wxBitmap
*arg1
= 0 ;
10046 wxRegion
*result
= 0 ;
10049 PyObject
* obj0
= 0 ;
10050 char * kwnames
[] = {
10051 (char *) "bmp", NULL
10054 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
10055 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
10056 if (!SWIG_IsOK(res1
)) {
10057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10060 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10062 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
10064 if (!wxPyCheckForApp()) SWIG_fail
;
10065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10066 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
);
10067 wxPyEndAllowThreads(__tstate
);
10068 if (PyErr_Occurred()) SWIG_fail
;
10070 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10077 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10078 PyObject
*resultobj
= 0;
10079 wxBitmap
*arg1
= 0 ;
10080 wxColour
*arg2
= 0 ;
10081 int arg3
= (int) 0 ;
10082 wxRegion
*result
= 0 ;
10088 PyObject
* obj0
= 0 ;
10089 PyObject
* obj1
= 0 ;
10090 PyObject
* obj2
= 0 ;
10091 char * kwnames
[] = {
10092 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
10095 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_RegionFromBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10096 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
10097 if (!SWIG_IsOK(res1
)) {
10098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10101 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10103 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
10106 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10109 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10110 if (!SWIG_IsOK(ecode3
)) {
10111 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "3"" of type '" "int""'");
10113 arg3
= static_cast< int >(val3
);
10116 if (!wxPyCheckForApp()) SWIG_fail
;
10117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10118 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
10119 wxPyEndAllowThreads(__tstate
);
10120 if (PyErr_Occurred()) SWIG_fail
;
10122 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10129 SWIGINTERN PyObject
*_wrap_new_RegionFromPoints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10130 PyObject
*resultobj
= 0;
10132 wxPoint
*arg2
= (wxPoint
*) 0 ;
10133 int arg3
= (int) wxWINDING_RULE
;
10134 wxRegion
*result
= 0 ;
10137 PyObject
* obj0
= 0 ;
10138 PyObject
* obj1
= 0 ;
10139 char * kwnames
[] = {
10140 (char *) "points",(char *) "fillStyle", NULL
10143 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10145 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
10146 if (arg2
== NULL
) SWIG_fail
;
10149 ecode3
= SWIG_AsVal_int(obj1
, &val3
);
10150 if (!SWIG_IsOK(ecode3
)) {
10151 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromPoints" "', expected argument " "3"" of type '" "int""'");
10153 arg3
= static_cast< int >(val3
);
10156 if (!wxPyCheckForApp()) SWIG_fail
;
10157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10158 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
10159 wxPyEndAllowThreads(__tstate
);
10160 if (PyErr_Occurred()) SWIG_fail
;
10162 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10164 if (arg2
) delete [] arg2
;
10169 if (arg2
) delete [] arg2
;
10175 SWIGINTERN PyObject
*_wrap_delete_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10176 PyObject
*resultobj
= 0;
10177 wxRegion
*arg1
= (wxRegion
*) 0 ;
10180 PyObject
*swig_obj
[1] ;
10182 if (!args
) SWIG_fail
;
10183 swig_obj
[0] = args
;
10184 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, SWIG_POINTER_DISOWN
| 0 );
10185 if (!SWIG_IsOK(res1
)) {
10186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Region" "', expected argument " "1"" of type '" "wxRegion *""'");
10188 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10193 wxPyEndAllowThreads(__tstate
);
10194 if (PyErr_Occurred()) SWIG_fail
;
10196 resultobj
= SWIG_Py_Void();
10203 SWIGINTERN PyObject
*_wrap_Region_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10204 PyObject
*resultobj
= 0;
10205 wxRegion
*arg1
= (wxRegion
*) 0 ;
10208 PyObject
*swig_obj
[1] ;
10210 if (!args
) SWIG_fail
;
10211 swig_obj
[0] = args
;
10212 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10213 if (!SWIG_IsOK(res1
)) {
10214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Clear" "', expected argument " "1"" of type '" "wxRegion *""'");
10216 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10220 wxPyEndAllowThreads(__tstate
);
10221 if (PyErr_Occurred()) SWIG_fail
;
10223 resultobj
= SWIG_Py_Void();
10230 SWIGINTERN PyObject
*_wrap_Region_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10231 PyObject
*resultobj
= 0;
10232 wxRegion
*arg1
= (wxRegion
*) 0 ;
10242 PyObject
* obj0
= 0 ;
10243 PyObject
* obj1
= 0 ;
10244 PyObject
* obj2
= 0 ;
10245 char * kwnames
[] = {
10246 (char *) "self",(char *) "x",(char *) "y", NULL
10249 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10250 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10251 if (!SWIG_IsOK(res1
)) {
10252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Offset" "', expected argument " "1"" of type '" "wxRegion *""'");
10254 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10255 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10256 if (!SWIG_IsOK(ecode2
)) {
10257 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Offset" "', expected argument " "2"" of type '" "int""'");
10259 arg2
= static_cast< int >(val2
);
10260 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10261 if (!SWIG_IsOK(ecode3
)) {
10262 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Offset" "', expected argument " "3"" of type '" "int""'");
10264 arg3
= static_cast< int >(val3
);
10266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10267 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
10268 wxPyEndAllowThreads(__tstate
);
10269 if (PyErr_Occurred()) SWIG_fail
;
10272 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10280 SWIGINTERN PyObject
*_wrap_Region_Contains(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10281 PyObject
*resultobj
= 0;
10282 wxRegion
*arg1
= (wxRegion
*) 0 ;
10285 wxRegionContain result
;
10292 PyObject
* obj0
= 0 ;
10293 PyObject
* obj1
= 0 ;
10294 PyObject
* obj2
= 0 ;
10295 char * kwnames
[] = {
10296 (char *) "self",(char *) "x",(char *) "y", NULL
10299 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10300 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10301 if (!SWIG_IsOK(res1
)) {
10302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Contains" "', expected argument " "1"" of type '" "wxRegion *""'");
10304 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10305 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10306 if (!SWIG_IsOK(ecode2
)) {
10307 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Contains" "', expected argument " "2"" of type '" "int""'");
10309 arg2
= static_cast< int >(val2
);
10310 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10311 if (!SWIG_IsOK(ecode3
)) {
10312 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Contains" "', expected argument " "3"" of type '" "int""'");
10314 arg3
= static_cast< int >(val3
);
10316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10317 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
);
10318 wxPyEndAllowThreads(__tstate
);
10319 if (PyErr_Occurred()) SWIG_fail
;
10321 resultobj
= SWIG_From_int(static_cast< int >(result
));
10328 SWIGINTERN PyObject
*_wrap_Region_ContainsPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10329 PyObject
*resultobj
= 0;
10330 wxRegion
*arg1
= (wxRegion
*) 0 ;
10331 wxPoint
*arg2
= 0 ;
10332 wxRegionContain result
;
10336 PyObject
* obj0
= 0 ;
10337 PyObject
* obj1
= 0 ;
10338 char * kwnames
[] = {
10339 (char *) "self",(char *) "pt", NULL
10342 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10343 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10344 if (!SWIG_IsOK(res1
)) {
10345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsPoint" "', expected argument " "1"" of type '" "wxRegion *""'");
10347 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10350 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10354 result
= (wxRegionContain
)(arg1
)->Contains((wxPoint
const &)*arg2
);
10355 wxPyEndAllowThreads(__tstate
);
10356 if (PyErr_Occurred()) SWIG_fail
;
10358 resultobj
= SWIG_From_int(static_cast< int >(result
));
10365 SWIGINTERN PyObject
*_wrap_Region_ContainsRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10366 PyObject
*resultobj
= 0;
10367 wxRegion
*arg1
= (wxRegion
*) 0 ;
10369 wxRegionContain result
;
10373 PyObject
* obj0
= 0 ;
10374 PyObject
* obj1
= 0 ;
10375 char * kwnames
[] = {
10376 (char *) "self",(char *) "rect", NULL
10379 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10380 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10381 if (!SWIG_IsOK(res1
)) {
10382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10384 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10387 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10391 result
= (wxRegionContain
)(arg1
)->Contains((wxRect
const &)*arg2
);
10392 wxPyEndAllowThreads(__tstate
);
10393 if (PyErr_Occurred()) SWIG_fail
;
10395 resultobj
= SWIG_From_int(static_cast< int >(result
));
10402 SWIGINTERN PyObject
*_wrap_Region_ContainsRectDim(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10403 PyObject
*resultobj
= 0;
10404 wxRegion
*arg1
= (wxRegion
*) 0 ;
10409 wxRegionContain result
;
10420 PyObject
* obj0
= 0 ;
10421 PyObject
* obj1
= 0 ;
10422 PyObject
* obj2
= 0 ;
10423 PyObject
* obj3
= 0 ;
10424 PyObject
* obj4
= 0 ;
10425 char * kwnames
[] = {
10426 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
10429 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10430 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10431 if (!SWIG_IsOK(res1
)) {
10432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRectDim" "', expected argument " "1"" of type '" "wxRegion *""'");
10434 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10435 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10436 if (!SWIG_IsOK(ecode2
)) {
10437 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_ContainsRectDim" "', expected argument " "2"" of type '" "int""'");
10439 arg2
= static_cast< int >(val2
);
10440 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10441 if (!SWIG_IsOK(ecode3
)) {
10442 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_ContainsRectDim" "', expected argument " "3"" of type '" "int""'");
10444 arg3
= static_cast< int >(val3
);
10445 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10446 if (!SWIG_IsOK(ecode4
)) {
10447 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_ContainsRectDim" "', expected argument " "4"" of type '" "int""'");
10449 arg4
= static_cast< int >(val4
);
10450 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10451 if (!SWIG_IsOK(ecode5
)) {
10452 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_ContainsRectDim" "', expected argument " "5"" of type '" "int""'");
10454 arg5
= static_cast< int >(val5
);
10456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10457 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
10458 wxPyEndAllowThreads(__tstate
);
10459 if (PyErr_Occurred()) SWIG_fail
;
10461 resultobj
= SWIG_From_int(static_cast< int >(result
));
10468 SWIGINTERN PyObject
*_wrap_Region_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10469 PyObject
*resultobj
= 0;
10470 wxRegion
*arg1
= (wxRegion
*) 0 ;
10474 PyObject
*swig_obj
[1] ;
10476 if (!args
) SWIG_fail
;
10477 swig_obj
[0] = args
;
10478 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10479 if (!SWIG_IsOK(res1
)) {
10480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_GetBox" "', expected argument " "1"" of type '" "wxRegion *""'");
10482 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10485 result
= (arg1
)->GetBox();
10486 wxPyEndAllowThreads(__tstate
);
10487 if (PyErr_Occurred()) SWIG_fail
;
10489 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
10496 SWIGINTERN PyObject
*_wrap_Region_Intersect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10497 PyObject
*resultobj
= 0;
10498 wxRegion
*arg1
= (wxRegion
*) 0 ;
10514 PyObject
* obj0
= 0 ;
10515 PyObject
* obj1
= 0 ;
10516 PyObject
* obj2
= 0 ;
10517 PyObject
* obj3
= 0 ;
10518 PyObject
* obj4
= 0 ;
10519 char * kwnames
[] = {
10520 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10523 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10524 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10525 if (!SWIG_IsOK(res1
)) {
10526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Intersect" "', expected argument " "1"" of type '" "wxRegion *""'");
10528 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10529 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10530 if (!SWIG_IsOK(ecode2
)) {
10531 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Intersect" "', expected argument " "2"" of type '" "int""'");
10533 arg2
= static_cast< int >(val2
);
10534 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10535 if (!SWIG_IsOK(ecode3
)) {
10536 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Intersect" "', expected argument " "3"" of type '" "int""'");
10538 arg3
= static_cast< int >(val3
);
10539 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10540 if (!SWIG_IsOK(ecode4
)) {
10541 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Intersect" "', expected argument " "4"" of type '" "int""'");
10543 arg4
= static_cast< int >(val4
);
10544 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10545 if (!SWIG_IsOK(ecode5
)) {
10546 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Intersect" "', expected argument " "5"" of type '" "int""'");
10548 arg5
= static_cast< int >(val5
);
10550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10551 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
10552 wxPyEndAllowThreads(__tstate
);
10553 if (PyErr_Occurred()) SWIG_fail
;
10556 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10564 SWIGINTERN PyObject
*_wrap_Region_IntersectRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10565 PyObject
*resultobj
= 0;
10566 wxRegion
*arg1
= (wxRegion
*) 0 ;
10572 PyObject
* obj0
= 0 ;
10573 PyObject
* obj1
= 0 ;
10574 char * kwnames
[] = {
10575 (char *) "self",(char *) "rect", NULL
10578 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10579 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10580 if (!SWIG_IsOK(res1
)) {
10581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10583 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10586 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10590 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
10591 wxPyEndAllowThreads(__tstate
);
10592 if (PyErr_Occurred()) SWIG_fail
;
10595 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10603 SWIGINTERN PyObject
*_wrap_Region_IntersectRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10604 PyObject
*resultobj
= 0;
10605 wxRegion
*arg1
= (wxRegion
*) 0 ;
10606 wxRegion
*arg2
= 0 ;
10612 PyObject
* obj0
= 0 ;
10613 PyObject
* obj1
= 0 ;
10614 char * kwnames
[] = {
10615 (char *) "self",(char *) "region", NULL
10618 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10619 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10620 if (!SWIG_IsOK(res1
)) {
10621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
10623 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10624 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
10625 if (!SWIG_IsOK(res2
)) {
10626 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10629 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10631 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
10633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10634 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
10635 wxPyEndAllowThreads(__tstate
);
10636 if (PyErr_Occurred()) SWIG_fail
;
10639 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10647 SWIGINTERN PyObject
*_wrap_Region_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10648 PyObject
*resultobj
= 0;
10649 wxRegion
*arg1
= (wxRegion
*) 0 ;
10653 PyObject
*swig_obj
[1] ;
10655 if (!args
) SWIG_fail
;
10656 swig_obj
[0] = args
;
10657 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10658 if (!SWIG_IsOK(res1
)) {
10659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEmpty" "', expected argument " "1"" of type '" "wxRegion *""'");
10661 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10664 result
= (bool)(arg1
)->IsEmpty();
10665 wxPyEndAllowThreads(__tstate
);
10666 if (PyErr_Occurred()) SWIG_fail
;
10669 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10677 SWIGINTERN PyObject
*_wrap_Region_IsEqual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10678 PyObject
*resultobj
= 0;
10679 wxRegion
*arg1
= (wxRegion
*) 0 ;
10680 wxRegion
*arg2
= 0 ;
10686 PyObject
* obj0
= 0 ;
10687 PyObject
* obj1
= 0 ;
10688 char * kwnames
[] = {
10689 (char *) "self",(char *) "region", NULL
10692 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IsEqual",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10693 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10694 if (!SWIG_IsOK(res1
)) {
10695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEqual" "', expected argument " "1"" of type '" "wxRegion const *""'");
10697 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10698 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
10699 if (!SWIG_IsOK(res2
)) {
10700 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IsEqual" "', expected argument " "2"" of type '" "wxRegion const &""'");
10703 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IsEqual" "', expected argument " "2"" of type '" "wxRegion const &""'");
10705 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
10707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10708 result
= (bool)((wxRegion
const *)arg1
)->IsEqual((wxRegion
const &)*arg2
);
10709 wxPyEndAllowThreads(__tstate
);
10710 if (PyErr_Occurred()) SWIG_fail
;
10713 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10721 SWIGINTERN PyObject
*_wrap_Region_Union(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10722 PyObject
*resultobj
= 0;
10723 wxRegion
*arg1
= (wxRegion
*) 0 ;
10739 PyObject
* obj0
= 0 ;
10740 PyObject
* obj1
= 0 ;
10741 PyObject
* obj2
= 0 ;
10742 PyObject
* obj3
= 0 ;
10743 PyObject
* obj4
= 0 ;
10744 char * kwnames
[] = {
10745 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10748 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10749 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10750 if (!SWIG_IsOK(res1
)) {
10751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Union" "', expected argument " "1"" of type '" "wxRegion *""'");
10753 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10754 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10755 if (!SWIG_IsOK(ecode2
)) {
10756 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Union" "', expected argument " "2"" of type '" "int""'");
10758 arg2
= static_cast< int >(val2
);
10759 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10760 if (!SWIG_IsOK(ecode3
)) {
10761 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Union" "', expected argument " "3"" of type '" "int""'");
10763 arg3
= static_cast< int >(val3
);
10764 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10765 if (!SWIG_IsOK(ecode4
)) {
10766 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Union" "', expected argument " "4"" of type '" "int""'");
10768 arg4
= static_cast< int >(val4
);
10769 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10770 if (!SWIG_IsOK(ecode5
)) {
10771 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Union" "', expected argument " "5"" of type '" "int""'");
10773 arg5
= static_cast< int >(val5
);
10775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10776 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
10777 wxPyEndAllowThreads(__tstate
);
10778 if (PyErr_Occurred()) SWIG_fail
;
10781 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10789 SWIGINTERN PyObject
*_wrap_Region_UnionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10790 PyObject
*resultobj
= 0;
10791 wxRegion
*arg1
= (wxRegion
*) 0 ;
10797 PyObject
* obj0
= 0 ;
10798 PyObject
* obj1
= 0 ;
10799 char * kwnames
[] = {
10800 (char *) "self",(char *) "rect", NULL
10803 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10804 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10805 if (!SWIG_IsOK(res1
)) {
10806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10808 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10811 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10815 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
10816 wxPyEndAllowThreads(__tstate
);
10817 if (PyErr_Occurred()) SWIG_fail
;
10820 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10828 SWIGINTERN PyObject
*_wrap_Region_UnionRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10829 PyObject
*resultobj
= 0;
10830 wxRegion
*arg1
= (wxRegion
*) 0 ;
10831 wxRegion
*arg2
= 0 ;
10837 PyObject
* obj0
= 0 ;
10838 PyObject
* obj1
= 0 ;
10839 char * kwnames
[] = {
10840 (char *) "self",(char *) "region", NULL
10843 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10844 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10845 if (!SWIG_IsOK(res1
)) {
10846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
10848 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10849 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
10850 if (!SWIG_IsOK(res2
)) {
10851 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10854 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10856 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
10858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10859 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
10860 wxPyEndAllowThreads(__tstate
);
10861 if (PyErr_Occurred()) SWIG_fail
;
10864 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10872 SWIGINTERN PyObject
*_wrap_Region_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10873 PyObject
*resultobj
= 0;
10874 wxRegion
*arg1
= (wxRegion
*) 0 ;
10890 PyObject
* obj0
= 0 ;
10891 PyObject
* obj1
= 0 ;
10892 PyObject
* obj2
= 0 ;
10893 PyObject
* obj3
= 0 ;
10894 PyObject
* obj4
= 0 ;
10895 char * kwnames
[] = {
10896 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10899 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10900 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10901 if (!SWIG_IsOK(res1
)) {
10902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Subtract" "', expected argument " "1"" of type '" "wxRegion *""'");
10904 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10905 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10906 if (!SWIG_IsOK(ecode2
)) {
10907 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Subtract" "', expected argument " "2"" of type '" "int""'");
10909 arg2
= static_cast< int >(val2
);
10910 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10911 if (!SWIG_IsOK(ecode3
)) {
10912 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Subtract" "', expected argument " "3"" of type '" "int""'");
10914 arg3
= static_cast< int >(val3
);
10915 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10916 if (!SWIG_IsOK(ecode4
)) {
10917 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Subtract" "', expected argument " "4"" of type '" "int""'");
10919 arg4
= static_cast< int >(val4
);
10920 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10921 if (!SWIG_IsOK(ecode5
)) {
10922 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Subtract" "', expected argument " "5"" of type '" "int""'");
10924 arg5
= static_cast< int >(val5
);
10926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10927 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
10928 wxPyEndAllowThreads(__tstate
);
10929 if (PyErr_Occurred()) SWIG_fail
;
10932 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10940 SWIGINTERN PyObject
*_wrap_Region_SubtractRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10941 PyObject
*resultobj
= 0;
10942 wxRegion
*arg1
= (wxRegion
*) 0 ;
10948 PyObject
* obj0
= 0 ;
10949 PyObject
* obj1
= 0 ;
10950 char * kwnames
[] = {
10951 (char *) "self",(char *) "rect", NULL
10954 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10955 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10956 if (!SWIG_IsOK(res1
)) {
10957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10959 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10962 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10966 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
10967 wxPyEndAllowThreads(__tstate
);
10968 if (PyErr_Occurred()) SWIG_fail
;
10971 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10979 SWIGINTERN PyObject
*_wrap_Region_SubtractRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10980 PyObject
*resultobj
= 0;
10981 wxRegion
*arg1
= (wxRegion
*) 0 ;
10982 wxRegion
*arg2
= 0 ;
10988 PyObject
* obj0
= 0 ;
10989 PyObject
* obj1
= 0 ;
10990 char * kwnames
[] = {
10991 (char *) "self",(char *) "region", NULL
10994 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10995 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10996 if (!SWIG_IsOK(res1
)) {
10997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
10999 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11000 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11001 if (!SWIG_IsOK(res2
)) {
11002 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11005 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11007 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11010 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
11011 wxPyEndAllowThreads(__tstate
);
11012 if (PyErr_Occurred()) SWIG_fail
;
11015 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11023 SWIGINTERN PyObject
*_wrap_Region_Xor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11024 PyObject
*resultobj
= 0;
11025 wxRegion
*arg1
= (wxRegion
*) 0 ;
11041 PyObject
* obj0
= 0 ;
11042 PyObject
* obj1
= 0 ;
11043 PyObject
* obj2
= 0 ;
11044 PyObject
* obj3
= 0 ;
11045 PyObject
* obj4
= 0 ;
11046 char * kwnames
[] = {
11047 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11050 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11051 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11052 if (!SWIG_IsOK(res1
)) {
11053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Xor" "', expected argument " "1"" of type '" "wxRegion *""'");
11055 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11056 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11057 if (!SWIG_IsOK(ecode2
)) {
11058 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Xor" "', expected argument " "2"" of type '" "int""'");
11060 arg2
= static_cast< int >(val2
);
11061 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11062 if (!SWIG_IsOK(ecode3
)) {
11063 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Xor" "', expected argument " "3"" of type '" "int""'");
11065 arg3
= static_cast< int >(val3
);
11066 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11067 if (!SWIG_IsOK(ecode4
)) {
11068 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Xor" "', expected argument " "4"" of type '" "int""'");
11070 arg4
= static_cast< int >(val4
);
11071 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11072 if (!SWIG_IsOK(ecode5
)) {
11073 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Xor" "', expected argument " "5"" of type '" "int""'");
11075 arg5
= static_cast< int >(val5
);
11077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11078 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
11079 wxPyEndAllowThreads(__tstate
);
11080 if (PyErr_Occurred()) SWIG_fail
;
11083 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11091 SWIGINTERN PyObject
*_wrap_Region_XorRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11092 PyObject
*resultobj
= 0;
11093 wxRegion
*arg1
= (wxRegion
*) 0 ;
11099 PyObject
* obj0
= 0 ;
11100 PyObject
* obj1
= 0 ;
11101 char * kwnames
[] = {
11102 (char *) "self",(char *) "rect", NULL
11105 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11106 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11107 if (!SWIG_IsOK(res1
)) {
11108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11110 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11113 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11117 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
11118 wxPyEndAllowThreads(__tstate
);
11119 if (PyErr_Occurred()) SWIG_fail
;
11122 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11130 SWIGINTERN PyObject
*_wrap_Region_XorRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11131 PyObject
*resultobj
= 0;
11132 wxRegion
*arg1
= (wxRegion
*) 0 ;
11133 wxRegion
*arg2
= 0 ;
11139 PyObject
* obj0
= 0 ;
11140 PyObject
* obj1
= 0 ;
11141 char * kwnames
[] = {
11142 (char *) "self",(char *) "region", NULL
11145 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) 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_XorRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11150 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11151 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11152 if (!SWIG_IsOK(res2
)) {
11153 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11156 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11158 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11161 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
11162 wxPyEndAllowThreads(__tstate
);
11163 if (PyErr_Occurred()) SWIG_fail
;
11166 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11174 SWIGINTERN PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11175 PyObject
*resultobj
= 0;
11176 wxRegion
*arg1
= (wxRegion
*) 0 ;
11177 SwigValueWrapper
<wxBitmap
> result
;
11180 PyObject
*swig_obj
[1] ;
11182 if (!args
) SWIG_fail
;
11183 swig_obj
[0] = args
;
11184 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11185 if (!SWIG_IsOK(res1
)) {
11186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ConvertToBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
11188 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11191 result
= (arg1
)->ConvertToBitmap();
11192 wxPyEndAllowThreads(__tstate
);
11193 if (PyErr_Occurred()) SWIG_fail
;
11195 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
11202 SWIGINTERN PyObject
*_wrap_Region_UnionBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11203 PyObject
*resultobj
= 0;
11204 wxRegion
*arg1
= (wxRegion
*) 0 ;
11205 wxBitmap
*arg2
= 0 ;
11211 PyObject
* obj0
= 0 ;
11212 PyObject
* obj1
= 0 ;
11213 char * kwnames
[] = {
11214 (char *) "self",(char *) "bmp", NULL
11217 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11218 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11219 if (!SWIG_IsOK(res1
)) {
11220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
11222 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11223 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11224 if (!SWIG_IsOK(res2
)) {
11225 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11228 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11230 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
11232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11233 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
);
11234 wxPyEndAllowThreads(__tstate
);
11235 if (PyErr_Occurred()) SWIG_fail
;
11238 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11246 SWIGINTERN PyObject
*_wrap_Region_UnionBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11247 PyObject
*resultobj
= 0;
11248 wxRegion
*arg1
= (wxRegion
*) 0 ;
11249 wxBitmap
*arg2
= 0 ;
11250 wxColour
*arg3
= 0 ;
11251 int arg4
= (int) 0 ;
11260 PyObject
* obj0
= 0 ;
11261 PyObject
* obj1
= 0 ;
11262 PyObject
* obj2
= 0 ;
11263 PyObject
* obj3
= 0 ;
11264 char * kwnames
[] = {
11265 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
11268 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Region_UnionBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11269 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11270 if (!SWIG_IsOK(res1
)) {
11271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmapColour" "', expected argument " "1"" of type '" "wxRegion *""'");
11273 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11274 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11275 if (!SWIG_IsOK(res2
)) {
11276 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11279 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11281 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
11284 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
11287 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11288 if (!SWIG_IsOK(ecode4
)) {
11289 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_UnionBitmapColour" "', expected argument " "4"" of type '" "int""'");
11291 arg4
= static_cast< int >(val4
);
11294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11295 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
11296 wxPyEndAllowThreads(__tstate
);
11297 if (PyErr_Occurred()) SWIG_fail
;
11300 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11308 SWIGINTERN PyObject
*Region_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11310 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11311 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegion
, SWIG_NewClientData(obj
));
11312 return SWIG_Py_Void();
11315 SWIGINTERN PyObject
*Region_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11316 return SWIG_Python_InitShadowInstance(args
);
11319 SWIGINTERN PyObject
*_wrap_new_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11320 PyObject
*resultobj
= 0;
11321 wxRegion
*arg1
= 0 ;
11322 wxRegionIterator
*result
= 0 ;
11325 PyObject
* obj0
= 0 ;
11326 char * kwnames
[] = {
11327 (char *) "region", NULL
11330 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) SWIG_fail
;
11331 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRegion
, 0 | 0);
11332 if (!SWIG_IsOK(res1
)) {
11333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
11336 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
11338 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11340 if (!wxPyCheckForApp()) SWIG_fail
;
11341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11342 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
11343 wxPyEndAllowThreads(__tstate
);
11344 if (PyErr_Occurred()) SWIG_fail
;
11346 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_NEW
| 0 );
11353 SWIGINTERN PyObject
*_wrap_delete_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11354 PyObject
*resultobj
= 0;
11355 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11358 PyObject
*swig_obj
[1] ;
11360 if (!args
) SWIG_fail
;
11361 swig_obj
[0] = args
;
11362 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_DISOWN
| 0 );
11363 if (!SWIG_IsOK(res1
)) {
11364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RegionIterator" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11366 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11371 wxPyEndAllowThreads(__tstate
);
11372 if (PyErr_Occurred()) SWIG_fail
;
11374 resultobj
= SWIG_Py_Void();
11381 SWIGINTERN PyObject
*_wrap_RegionIterator_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11382 PyObject
*resultobj
= 0;
11383 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11387 PyObject
*swig_obj
[1] ;
11389 if (!args
) SWIG_fail
;
11390 swig_obj
[0] = args
;
11391 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11392 if (!SWIG_IsOK(res1
)) {
11393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetX" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11395 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11398 result
= (int)(arg1
)->GetX();
11399 wxPyEndAllowThreads(__tstate
);
11400 if (PyErr_Occurred()) SWIG_fail
;
11402 resultobj
= SWIG_From_int(static_cast< int >(result
));
11409 SWIGINTERN PyObject
*_wrap_RegionIterator_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11410 PyObject
*resultobj
= 0;
11411 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11415 PyObject
*swig_obj
[1] ;
11417 if (!args
) SWIG_fail
;
11418 swig_obj
[0] = args
;
11419 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11420 if (!SWIG_IsOK(res1
)) {
11421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetY" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11423 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11426 result
= (int)(arg1
)->GetY();
11427 wxPyEndAllowThreads(__tstate
);
11428 if (PyErr_Occurred()) SWIG_fail
;
11430 resultobj
= SWIG_From_int(static_cast< int >(result
));
11437 SWIGINTERN PyObject
*_wrap_RegionIterator_GetW(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11438 PyObject
*resultobj
= 0;
11439 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11443 PyObject
*swig_obj
[1] ;
11445 if (!args
) SWIG_fail
;
11446 swig_obj
[0] = args
;
11447 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11448 if (!SWIG_IsOK(res1
)) {
11449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetW" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11451 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11454 result
= (int)(arg1
)->GetW();
11455 wxPyEndAllowThreads(__tstate
);
11456 if (PyErr_Occurred()) SWIG_fail
;
11458 resultobj
= SWIG_From_int(static_cast< int >(result
));
11465 SWIGINTERN PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11466 PyObject
*resultobj
= 0;
11467 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11471 PyObject
*swig_obj
[1] ;
11473 if (!args
) SWIG_fail
;
11474 swig_obj
[0] = args
;
11475 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11476 if (!SWIG_IsOK(res1
)) {
11477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetWidth" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11479 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11482 result
= (int)(arg1
)->GetWidth();
11483 wxPyEndAllowThreads(__tstate
);
11484 if (PyErr_Occurred()) SWIG_fail
;
11486 resultobj
= SWIG_From_int(static_cast< int >(result
));
11493 SWIGINTERN PyObject
*_wrap_RegionIterator_GetH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11494 PyObject
*resultobj
= 0;
11495 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11499 PyObject
*swig_obj
[1] ;
11501 if (!args
) SWIG_fail
;
11502 swig_obj
[0] = args
;
11503 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11504 if (!SWIG_IsOK(res1
)) {
11505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetH" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11507 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11510 result
= (int)(arg1
)->GetH();
11511 wxPyEndAllowThreads(__tstate
);
11512 if (PyErr_Occurred()) SWIG_fail
;
11514 resultobj
= SWIG_From_int(static_cast< int >(result
));
11521 SWIGINTERN PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11522 PyObject
*resultobj
= 0;
11523 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11527 PyObject
*swig_obj
[1] ;
11529 if (!args
) SWIG_fail
;
11530 swig_obj
[0] = args
;
11531 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11532 if (!SWIG_IsOK(res1
)) {
11533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetHeight" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11535 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11538 result
= (int)(arg1
)->GetHeight();
11539 wxPyEndAllowThreads(__tstate
);
11540 if (PyErr_Occurred()) SWIG_fail
;
11542 resultobj
= SWIG_From_int(static_cast< int >(result
));
11549 SWIGINTERN PyObject
*_wrap_RegionIterator_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11550 PyObject
*resultobj
= 0;
11551 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11555 PyObject
*swig_obj
[1] ;
11557 if (!args
) SWIG_fail
;
11558 swig_obj
[0] = args
;
11559 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11560 if (!SWIG_IsOK(res1
)) {
11561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetRect" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11563 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11566 result
= (arg1
)->GetRect();
11567 wxPyEndAllowThreads(__tstate
);
11568 if (PyErr_Occurred()) SWIG_fail
;
11570 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
11577 SWIGINTERN PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11578 PyObject
*resultobj
= 0;
11579 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11583 PyObject
*swig_obj
[1] ;
11585 if (!args
) SWIG_fail
;
11586 swig_obj
[0] = args
;
11587 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11588 if (!SWIG_IsOK(res1
)) {
11589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_HaveRects" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11591 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11594 result
= (bool)(arg1
)->HaveRects();
11595 wxPyEndAllowThreads(__tstate
);
11596 if (PyErr_Occurred()) SWIG_fail
;
11599 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11607 SWIGINTERN PyObject
*_wrap_RegionIterator_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11608 PyObject
*resultobj
= 0;
11609 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11612 PyObject
*swig_obj
[1] ;
11614 if (!args
) SWIG_fail
;
11615 swig_obj
[0] = args
;
11616 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11617 if (!SWIG_IsOK(res1
)) {
11618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Reset" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11620 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11624 wxPyEndAllowThreads(__tstate
);
11625 if (PyErr_Occurred()) SWIG_fail
;
11627 resultobj
= SWIG_Py_Void();
11634 SWIGINTERN PyObject
*_wrap_RegionIterator_Next(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11635 PyObject
*resultobj
= 0;
11636 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11639 PyObject
*swig_obj
[1] ;
11641 if (!args
) SWIG_fail
;
11642 swig_obj
[0] = args
;
11643 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11644 if (!SWIG_IsOK(res1
)) {
11645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Next" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11647 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11650 wxRegionIterator_Next(arg1
);
11651 wxPyEndAllowThreads(__tstate
);
11652 if (PyErr_Occurred()) SWIG_fail
;
11654 resultobj
= SWIG_Py_Void();
11661 SWIGINTERN PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11662 PyObject
*resultobj
= 0;
11663 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11667 PyObject
*swig_obj
[1] ;
11669 if (!args
) SWIG_fail
;
11670 swig_obj
[0] = args
;
11671 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11672 if (!SWIG_IsOK(res1
)) {
11673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator___nonzero__" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11675 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11678 result
= (bool)wxRegionIterator___nonzero__(arg1
);
11679 wxPyEndAllowThreads(__tstate
);
11680 if (PyErr_Occurred()) SWIG_fail
;
11683 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11691 SWIGINTERN PyObject
*RegionIterator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11693 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11694 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegionIterator
, SWIG_NewClientData(obj
));
11695 return SWIG_Py_Void();
11698 SWIGINTERN PyObject
*RegionIterator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11699 return SWIG_Python_InitShadowInstance(args
);
11702 SWIGINTERN PyObject
*_wrap_new_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11703 PyObject
*resultobj
= 0;
11704 wxNativeFontInfo
*result
= 0 ;
11706 if (!SWIG_Python_UnpackTuple(args
,"new_NativeFontInfo",0,0,0)) SWIG_fail
;
11708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11709 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
11710 wxPyEndAllowThreads(__tstate
);
11711 if (PyErr_Occurred()) SWIG_fail
;
11713 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_NEW
| 0 );
11720 SWIGINTERN PyObject
*_wrap_delete_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11721 PyObject
*resultobj
= 0;
11722 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11725 PyObject
*swig_obj
[1] ;
11727 if (!args
) SWIG_fail
;
11728 swig_obj
[0] = args
;
11729 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_DISOWN
| 0 );
11730 if (!SWIG_IsOK(res1
)) {
11731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeFontInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
11733 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11738 wxPyEndAllowThreads(__tstate
);
11739 if (PyErr_Occurred()) SWIG_fail
;
11741 resultobj
= SWIG_Py_Void();
11748 SWIGINTERN PyObject
*_wrap_NativeFontInfo_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11749 PyObject
*resultobj
= 0;
11750 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11753 PyObject
*swig_obj
[1] ;
11755 if (!args
) SWIG_fail
;
11756 swig_obj
[0] = args
;
11757 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11758 if (!SWIG_IsOK(res1
)) {
11759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_Init" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
11761 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11765 wxPyEndAllowThreads(__tstate
);
11766 if (PyErr_Occurred()) SWIG_fail
;
11768 resultobj
= SWIG_Py_Void();
11775 SWIGINTERN PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11776 PyObject
*resultobj
= 0;
11777 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11783 PyObject
* obj0
= 0 ;
11784 PyObject
* obj1
= 0 ;
11785 char * kwnames
[] = {
11786 (char *) "self",(char *) "font", NULL
11789 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11790 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11791 if (!SWIG_IsOK(res1
)) {
11792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
11794 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11795 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
11796 if (!SWIG_IsOK(res2
)) {
11797 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
11800 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
11802 arg2
= reinterpret_cast< wxFont
* >(argp2
);
11804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11805 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
11806 wxPyEndAllowThreads(__tstate
);
11807 if (PyErr_Occurred()) SWIG_fail
;
11809 resultobj
= SWIG_Py_Void();
11816 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11817 PyObject
*resultobj
= 0;
11818 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11822 PyObject
*swig_obj
[1] ;
11824 if (!args
) SWIG_fail
;
11825 swig_obj
[0] = args
;
11826 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11827 if (!SWIG_IsOK(res1
)) {
11828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
11830 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11833 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
11834 wxPyEndAllowThreads(__tstate
);
11835 if (PyErr_Occurred()) SWIG_fail
;
11837 resultobj
= SWIG_From_int(static_cast< int >(result
));
11844 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11845 PyObject
*resultobj
= 0;
11846 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11847 wxFontStyle result
;
11850 PyObject
*swig_obj
[1] ;
11852 if (!args
) SWIG_fail
;
11853 swig_obj
[0] = args
;
11854 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11855 if (!SWIG_IsOK(res1
)) {
11856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
11858 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11861 result
= (wxFontStyle
)((wxNativeFontInfo
const *)arg1
)->GetStyle();
11862 wxPyEndAllowThreads(__tstate
);
11863 if (PyErr_Occurred()) SWIG_fail
;
11865 resultobj
= SWIG_From_int(static_cast< int >(result
));
11872 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11873 PyObject
*resultobj
= 0;
11874 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11875 wxFontWeight result
;
11878 PyObject
*swig_obj
[1] ;
11880 if (!args
) SWIG_fail
;
11881 swig_obj
[0] = args
;
11882 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11883 if (!SWIG_IsOK(res1
)) {
11884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
11886 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11889 result
= (wxFontWeight
)((wxNativeFontInfo
const *)arg1
)->GetWeight();
11890 wxPyEndAllowThreads(__tstate
);
11891 if (PyErr_Occurred()) SWIG_fail
;
11893 resultobj
= SWIG_From_int(static_cast< int >(result
));
11900 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11901 PyObject
*resultobj
= 0;
11902 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11906 PyObject
*swig_obj
[1] ;
11908 if (!args
) SWIG_fail
;
11909 swig_obj
[0] = args
;
11910 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11911 if (!SWIG_IsOK(res1
)) {
11912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
11914 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11917 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
11918 wxPyEndAllowThreads(__tstate
);
11919 if (PyErr_Occurred()) SWIG_fail
;
11922 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11930 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11931 PyObject
*resultobj
= 0;
11932 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11936 PyObject
*swig_obj
[1] ;
11938 if (!args
) SWIG_fail
;
11939 swig_obj
[0] = args
;
11940 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11941 if (!SWIG_IsOK(res1
)) {
11942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
11944 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11947 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
11948 wxPyEndAllowThreads(__tstate
);
11949 if (PyErr_Occurred()) SWIG_fail
;
11953 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11955 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11964 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11965 PyObject
*resultobj
= 0;
11966 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11967 wxFontFamily result
;
11970 PyObject
*swig_obj
[1] ;
11972 if (!args
) SWIG_fail
;
11973 swig_obj
[0] = args
;
11974 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11975 if (!SWIG_IsOK(res1
)) {
11976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
11978 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11981 result
= (wxFontFamily
)((wxNativeFontInfo
const *)arg1
)->GetFamily();
11982 wxPyEndAllowThreads(__tstate
);
11983 if (PyErr_Occurred()) SWIG_fail
;
11985 resultobj
= SWIG_From_int(static_cast< int >(result
));
11992 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11993 PyObject
*resultobj
= 0;
11994 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11995 wxFontEncoding result
;
11998 PyObject
*swig_obj
[1] ;
12000 if (!args
) SWIG_fail
;
12001 swig_obj
[0] = args
;
12002 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12003 if (!SWIG_IsOK(res1
)) {
12004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12006 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12009 result
= (wxFontEncoding
)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
12010 wxPyEndAllowThreads(__tstate
);
12011 if (PyErr_Occurred()) SWIG_fail
;
12013 resultobj
= SWIG_From_int(static_cast< int >(result
));
12020 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12021 PyObject
*resultobj
= 0;
12022 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12028 PyObject
* obj0
= 0 ;
12029 PyObject
* obj1
= 0 ;
12030 char * kwnames
[] = {
12031 (char *) "self",(char *) "pointsize", NULL
12034 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12035 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12036 if (!SWIG_IsOK(res1
)) {
12037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12039 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12040 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12041 if (!SWIG_IsOK(ecode2
)) {
12042 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "2"" of type '" "int""'");
12044 arg2
= static_cast< int >(val2
);
12046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12047 (arg1
)->SetPointSize(arg2
);
12048 wxPyEndAllowThreads(__tstate
);
12049 if (PyErr_Occurred()) SWIG_fail
;
12051 resultobj
= SWIG_Py_Void();
12058 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12059 PyObject
*resultobj
= 0;
12060 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12066 PyObject
* obj0
= 0 ;
12067 PyObject
* obj1
= 0 ;
12068 char * kwnames
[] = {
12069 (char *) "self",(char *) "style", NULL
12072 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12073 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12074 if (!SWIG_IsOK(res1
)) {
12075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12077 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12078 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12079 if (!SWIG_IsOK(ecode2
)) {
12080 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "2"" of type '" "wxFontStyle""'");
12082 arg2
= static_cast< wxFontStyle
>(val2
);
12084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12085 (arg1
)->SetStyle(arg2
);
12086 wxPyEndAllowThreads(__tstate
);
12087 if (PyErr_Occurred()) SWIG_fail
;
12089 resultobj
= SWIG_Py_Void();
12096 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12097 PyObject
*resultobj
= 0;
12098 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12099 wxFontWeight arg2
;
12104 PyObject
* obj0
= 0 ;
12105 PyObject
* obj1
= 0 ;
12106 char * kwnames
[] = {
12107 (char *) "self",(char *) "weight", NULL
12110 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12111 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12112 if (!SWIG_IsOK(res1
)) {
12113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12115 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12116 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12117 if (!SWIG_IsOK(ecode2
)) {
12118 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "2"" of type '" "wxFontWeight""'");
12120 arg2
= static_cast< wxFontWeight
>(val2
);
12122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12123 (arg1
)->SetWeight(arg2
);
12124 wxPyEndAllowThreads(__tstate
);
12125 if (PyErr_Occurred()) SWIG_fail
;
12127 resultobj
= SWIG_Py_Void();
12134 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12135 PyObject
*resultobj
= 0;
12136 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12142 PyObject
* obj0
= 0 ;
12143 PyObject
* obj1
= 0 ;
12144 char * kwnames
[] = {
12145 (char *) "self",(char *) "underlined", NULL
12148 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12149 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12150 if (!SWIG_IsOK(res1
)) {
12151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12153 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12154 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12155 if (!SWIG_IsOK(ecode2
)) {
12156 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
12158 arg2
= static_cast< bool >(val2
);
12160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12161 (arg1
)->SetUnderlined(arg2
);
12162 wxPyEndAllowThreads(__tstate
);
12163 if (PyErr_Occurred()) SWIG_fail
;
12165 resultobj
= SWIG_Py_Void();
12172 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12173 PyObject
*resultobj
= 0;
12174 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12179 PyObject
* obj0
= 0 ;
12180 PyObject
* obj1
= 0 ;
12181 char * kwnames
[] = {
12182 (char *) "self",(char *) "facename", NULL
12185 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12186 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12187 if (!SWIG_IsOK(res1
)) {
12188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12190 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12192 wxString
* sptr
= wxString_in_helper(obj1
);
12193 if (sptr
== NULL
) SWIG_fail
;
12198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12199 result
= (bool)(arg1
)->SetFaceName(arg2
);
12200 wxPyEndAllowThreads(__tstate
);
12201 if (PyErr_Occurred()) SWIG_fail
;
12204 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12212 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12213 PyObject
*resultobj
= 0;
12214 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12215 wxFontFamily arg2
;
12220 PyObject
* obj0
= 0 ;
12221 PyObject
* obj1
= 0 ;
12222 char * kwnames
[] = {
12223 (char *) "self",(char *) "family", NULL
12226 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12227 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12228 if (!SWIG_IsOK(res1
)) {
12229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12231 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12232 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12233 if (!SWIG_IsOK(ecode2
)) {
12234 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "2"" of type '" "wxFontFamily""'");
12236 arg2
= static_cast< wxFontFamily
>(val2
);
12238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12239 (arg1
)->SetFamily(arg2
);
12240 wxPyEndAllowThreads(__tstate
);
12241 if (PyErr_Occurred()) SWIG_fail
;
12243 resultobj
= SWIG_Py_Void();
12250 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12251 PyObject
*resultobj
= 0;
12252 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12253 wxFontEncoding arg2
;
12258 PyObject
* obj0
= 0 ;
12259 PyObject
* obj1
= 0 ;
12260 char * kwnames
[] = {
12261 (char *) "self",(char *) "encoding", NULL
12264 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12265 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12266 if (!SWIG_IsOK(res1
)) {
12267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12269 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12270 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12271 if (!SWIG_IsOK(ecode2
)) {
12272 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
12274 arg2
= static_cast< wxFontEncoding
>(val2
);
12276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12277 (arg1
)->SetEncoding(arg2
);
12278 wxPyEndAllowThreads(__tstate
);
12279 if (PyErr_Occurred()) SWIG_fail
;
12281 resultobj
= SWIG_Py_Void();
12288 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12289 PyObject
*resultobj
= 0;
12290 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12291 wxString
*arg2
= 0 ;
12295 bool temp2
= false ;
12296 PyObject
* obj0
= 0 ;
12297 PyObject
* obj1
= 0 ;
12298 char * kwnames
[] = {
12299 (char *) "self",(char *) "s", NULL
12302 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12303 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12304 if (!SWIG_IsOK(res1
)) {
12305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12307 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12309 arg2
= wxString_in_helper(obj1
);
12310 if (arg2
== NULL
) SWIG_fail
;
12314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12315 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
12316 wxPyEndAllowThreads(__tstate
);
12317 if (PyErr_Occurred()) SWIG_fail
;
12320 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12336 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12337 PyObject
*resultobj
= 0;
12338 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12342 PyObject
*swig_obj
[1] ;
12344 if (!args
) SWIG_fail
;
12345 swig_obj
[0] = args
;
12346 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12347 if (!SWIG_IsOK(res1
)) {
12348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12350 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12353 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
12354 wxPyEndAllowThreads(__tstate
);
12355 if (PyErr_Occurred()) SWIG_fail
;
12359 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12361 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12370 SWIGINTERN PyObject
*_wrap_NativeFontInfo___str__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12371 PyObject
*resultobj
= 0;
12372 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12376 PyObject
*swig_obj
[1] ;
12378 if (!args
) SWIG_fail
;
12379 swig_obj
[0] = args
;
12380 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12381 if (!SWIG_IsOK(res1
)) {
12382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo___str__" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12384 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12387 result
= wxNativeFontInfo___str__(arg1
);
12388 wxPyEndAllowThreads(__tstate
);
12389 if (PyErr_Occurred()) SWIG_fail
;
12393 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12395 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12404 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12405 PyObject
*resultobj
= 0;
12406 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12407 wxString
*arg2
= 0 ;
12411 bool temp2
= false ;
12412 PyObject
* obj0
= 0 ;
12413 PyObject
* obj1
= 0 ;
12414 char * kwnames
[] = {
12415 (char *) "self",(char *) "s", NULL
12418 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12419 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12420 if (!SWIG_IsOK(res1
)) {
12421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12423 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12425 arg2
= wxString_in_helper(obj1
);
12426 if (arg2
== NULL
) SWIG_fail
;
12430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12431 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
12432 wxPyEndAllowThreads(__tstate
);
12433 if (PyErr_Occurred()) SWIG_fail
;
12436 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12452 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12453 PyObject
*resultobj
= 0;
12454 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12458 PyObject
*swig_obj
[1] ;
12460 if (!args
) SWIG_fail
;
12461 swig_obj
[0] = args
;
12462 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12463 if (!SWIG_IsOK(res1
)) {
12464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12466 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12469 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
12470 wxPyEndAllowThreads(__tstate
);
12471 if (PyErr_Occurred()) SWIG_fail
;
12475 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12477 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12486 SWIGINTERN PyObject
*NativeFontInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12488 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12489 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeFontInfo
, SWIG_NewClientData(obj
));
12490 return SWIG_Py_Void();
12493 SWIGINTERN PyObject
*NativeFontInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12494 return SWIG_Python_InitShadowInstance(args
);
12497 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12498 PyObject
*resultobj
= 0;
12499 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12500 wxString
*arg2
= (wxString
*) 0 ;
12503 bool temp2
= false ;
12504 PyObject
*swig_obj
[2] ;
12506 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_facename_set",2,2,swig_obj
)) SWIG_fail
;
12507 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12508 if (!SWIG_IsOK(res1
)) {
12509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12511 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12513 arg2
= wxString_in_helper(swig_obj
[1]);
12514 if (arg2
== NULL
) SWIG_fail
;
12517 if (arg1
) (arg1
)->facename
= *arg2
;
12519 resultobj
= SWIG_Py_Void();
12534 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12535 PyObject
*resultobj
= 0;
12536 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12537 wxString
*result
= 0 ;
12540 PyObject
*swig_obj
[1] ;
12542 if (!args
) SWIG_fail
;
12543 swig_obj
[0] = args
;
12544 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12545 if (!SWIG_IsOK(res1
)) {
12546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12548 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12549 result
= (wxString
*)& ((arg1
)->facename
);
12552 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12554 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12563 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12564 PyObject
*resultobj
= 0;
12565 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12566 wxFontEncoding arg2
;
12571 PyObject
*swig_obj
[2] ;
12573 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_encoding_set",2,2,swig_obj
)) SWIG_fail
;
12574 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12575 if (!SWIG_IsOK(res1
)) {
12576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12578 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12579 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
12580 if (!SWIG_IsOK(ecode2
)) {
12581 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "2"" of type '" "wxFontEncoding""'");
12583 arg2
= static_cast< wxFontEncoding
>(val2
);
12584 if (arg1
) (arg1
)->encoding
= arg2
;
12586 resultobj
= SWIG_Py_Void();
12593 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12594 PyObject
*resultobj
= 0;
12595 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12596 wxFontEncoding result
;
12599 PyObject
*swig_obj
[1] ;
12601 if (!args
) SWIG_fail
;
12602 swig_obj
[0] = args
;
12603 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12604 if (!SWIG_IsOK(res1
)) {
12605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12607 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12608 result
= (wxFontEncoding
) ((arg1
)->encoding
);
12609 resultobj
= SWIG_From_int(static_cast< int >(result
));
12616 SWIGINTERN PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12617 PyObject
*resultobj
= 0;
12618 wxNativeEncodingInfo
*result
= 0 ;
12620 if (!SWIG_Python_UnpackTuple(args
,"new_NativeEncodingInfo",0,0,0)) SWIG_fail
;
12622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12623 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
12624 wxPyEndAllowThreads(__tstate
);
12625 if (PyErr_Occurred()) SWIG_fail
;
12627 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_NEW
| 0 );
12634 SWIGINTERN PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12635 PyObject
*resultobj
= 0;
12636 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12639 PyObject
*swig_obj
[1] ;
12641 if (!args
) SWIG_fail
;
12642 swig_obj
[0] = args
;
12643 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_DISOWN
| 0 );
12644 if (!SWIG_IsOK(res1
)) {
12645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeEncodingInfo" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12647 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12652 wxPyEndAllowThreads(__tstate
);
12653 if (PyErr_Occurred()) SWIG_fail
;
12655 resultobj
= SWIG_Py_Void();
12662 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12663 PyObject
*resultobj
= 0;
12664 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12665 wxString
*arg2
= 0 ;
12669 bool temp2
= false ;
12670 PyObject
* obj0
= 0 ;
12671 PyObject
* obj1
= 0 ;
12672 char * kwnames
[] = {
12673 (char *) "self",(char *) "s", NULL
12676 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12677 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12678 if (!SWIG_IsOK(res1
)) {
12679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_FromString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12681 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12683 arg2
= wxString_in_helper(obj1
);
12684 if (arg2
== NULL
) SWIG_fail
;
12688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12689 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
12690 wxPyEndAllowThreads(__tstate
);
12691 if (PyErr_Occurred()) SWIG_fail
;
12694 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12710 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12711 PyObject
*resultobj
= 0;
12712 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12716 PyObject
*swig_obj
[1] ;
12718 if (!args
) SWIG_fail
;
12719 swig_obj
[0] = args
;
12720 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12721 if (!SWIG_IsOK(res1
)) {
12722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_ToString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const *""'");
12724 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12727 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
12728 wxPyEndAllowThreads(__tstate
);
12729 if (PyErr_Occurred()) SWIG_fail
;
12733 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12735 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12744 SWIGINTERN PyObject
*NativeEncodingInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12746 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12747 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_NewClientData(obj
));
12748 return SWIG_Py_Void();
12751 SWIGINTERN PyObject
*NativeEncodingInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12752 return SWIG_Python_InitShadowInstance(args
);
12755 SWIGINTERN PyObject
*_wrap_GetNativeFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12756 PyObject
*resultobj
= 0;
12757 wxFontEncoding arg1
;
12758 wxNativeEncodingInfo
*result
= 0 ;
12761 PyObject
* obj0
= 0 ;
12762 char * kwnames
[] = {
12763 (char *) "encoding", NULL
12766 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
12767 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
12768 if (!SWIG_IsOK(ecode1
)) {
12769 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetNativeFontEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
12771 arg1
= static_cast< wxFontEncoding
>(val1
);
12773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12774 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding(arg1
);
12775 wxPyEndAllowThreads(__tstate
);
12776 if (PyErr_Occurred()) SWIG_fail
;
12778 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12785 SWIGINTERN PyObject
*_wrap_TestFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12786 PyObject
*resultobj
= 0;
12787 wxNativeEncodingInfo
*arg1
= 0 ;
12791 PyObject
* obj0
= 0 ;
12792 char * kwnames
[] = {
12793 (char *) "info", NULL
12796 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
12797 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0);
12798 if (!SWIG_IsOK(res1
)) {
12799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
12802 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
12804 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12807 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
12808 wxPyEndAllowThreads(__tstate
);
12809 if (PyErr_Occurred()) SWIG_fail
;
12812 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12820 SWIGINTERN PyObject
*_wrap_new_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12821 PyObject
*resultobj
= 0;
12822 wxFontMapper
*result
= 0 ;
12824 if (!SWIG_Python_UnpackTuple(args
,"new_FontMapper",0,0,0)) SWIG_fail
;
12826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12827 result
= (wxFontMapper
*)new wxFontMapper();
12828 wxPyEndAllowThreads(__tstate
);
12829 if (PyErr_Occurred()) SWIG_fail
;
12831 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_NEW
| 0 );
12838 SWIGINTERN PyObject
*_wrap_delete_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12839 PyObject
*resultobj
= 0;
12840 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
12843 PyObject
*swig_obj
[1] ;
12845 if (!args
) SWIG_fail
;
12846 swig_obj
[0] = args
;
12847 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_DISOWN
| 0 );
12848 if (!SWIG_IsOK(res1
)) {
12849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontMapper" "', expected argument " "1"" of type '" "wxFontMapper *""'");
12851 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
12853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12856 wxPyEndAllowThreads(__tstate
);
12857 if (PyErr_Occurred()) SWIG_fail
;
12859 resultobj
= SWIG_Py_Void();
12866 SWIGINTERN PyObject
*_wrap_FontMapper_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12867 PyObject
*resultobj
= 0;
12868 wxFontMapper
*result
= 0 ;
12870 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_Get",0,0,0)) SWIG_fail
;
12872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12873 result
= (wxFontMapper
*)wxFontMapper::Get();
12874 wxPyEndAllowThreads(__tstate
);
12875 if (PyErr_Occurred()) SWIG_fail
;
12877 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
12884 SWIGINTERN PyObject
*_wrap_FontMapper_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12885 PyObject
*resultobj
= 0;
12886 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
12887 wxFontMapper
*result
= 0 ;
12890 PyObject
* obj0
= 0 ;
12891 char * kwnames
[] = {
12892 (char *) "mapper", NULL
12895 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) SWIG_fail
;
12896 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
12897 if (!SWIG_IsOK(res1
)) {
12898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_Set" "', expected argument " "1"" of type '" "wxFontMapper *""'");
12900 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
12902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12903 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
12904 wxPyEndAllowThreads(__tstate
);
12905 if (PyErr_Occurred()) SWIG_fail
;
12907 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
12914 SWIGINTERN PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12915 PyObject
*resultobj
= 0;
12916 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
12917 wxString
*arg2
= 0 ;
12918 bool arg3
= (bool) true ;
12919 wxFontEncoding result
;
12922 bool temp2
= false ;
12925 PyObject
* obj0
= 0 ;
12926 PyObject
* obj1
= 0 ;
12927 PyObject
* obj2
= 0 ;
12928 char * kwnames
[] = {
12929 (char *) "self",(char *) "charset",(char *) "interactive", NULL
12932 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12933 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
12934 if (!SWIG_IsOK(res1
)) {
12935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
12937 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
12939 arg2
= wxString_in_helper(obj1
);
12940 if (arg2
== NULL
) SWIG_fail
;
12944 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
12945 if (!SWIG_IsOK(ecode3
)) {
12946 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "3"" of type '" "bool""'");
12948 arg3
= static_cast< bool >(val3
);
12951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12952 result
= (wxFontEncoding
)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
12953 wxPyEndAllowThreads(__tstate
);
12954 if (PyErr_Occurred()) SWIG_fail
;
12956 resultobj
= SWIG_From_int(static_cast< int >(result
));
12971 SWIGINTERN PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12972 PyObject
*resultobj
= 0;
12975 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetSupportedEncodingsCount",0,0,0)) SWIG_fail
;
12977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12978 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
12979 wxPyEndAllowThreads(__tstate
);
12980 if (PyErr_Occurred()) SWIG_fail
;
12982 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
12989 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12990 PyObject
*resultobj
= 0;
12992 wxFontEncoding result
;
12995 PyObject
* obj0
= 0 ;
12996 char * kwnames
[] = {
13000 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) SWIG_fail
;
13001 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
13002 if (!SWIG_IsOK(ecode1
)) {
13003 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncoding" "', expected argument " "1"" of type '" "size_t""'");
13005 arg1
= static_cast< size_t >(val1
);
13007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13008 result
= (wxFontEncoding
)wxFontMapper::GetEncoding(arg1
);
13009 wxPyEndAllowThreads(__tstate
);
13010 if (PyErr_Occurred()) SWIG_fail
;
13012 resultobj
= SWIG_From_int(static_cast< int >(result
));
13019 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13020 PyObject
*resultobj
= 0;
13021 wxFontEncoding arg1
;
13025 PyObject
* obj0
= 0 ;
13026 char * kwnames
[] = {
13027 (char *) "encoding", NULL
13030 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) SWIG_fail
;
13031 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13032 if (!SWIG_IsOK(ecode1
)) {
13033 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingName" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13035 arg1
= static_cast< wxFontEncoding
>(val1
);
13037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13038 result
= wxFontMapper::GetEncodingName(arg1
);
13039 wxPyEndAllowThreads(__tstate
);
13040 if (PyErr_Occurred()) SWIG_fail
;
13044 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13046 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13055 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13056 PyObject
*resultobj
= 0;
13057 wxFontEncoding arg1
;
13061 PyObject
* obj0
= 0 ;
13062 char * kwnames
[] = {
13063 (char *) "encoding", NULL
13066 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) SWIG_fail
;
13067 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13068 if (!SWIG_IsOK(ecode1
)) {
13069 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingDescription" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13071 arg1
= static_cast< wxFontEncoding
>(val1
);
13073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13074 result
= wxFontMapper::GetEncodingDescription(arg1
);
13075 wxPyEndAllowThreads(__tstate
);
13076 if (PyErr_Occurred()) SWIG_fail
;
13080 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13082 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13091 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13092 PyObject
*resultobj
= 0;
13093 wxString
*arg1
= 0 ;
13094 wxFontEncoding result
;
13095 bool temp1
= false ;
13096 PyObject
* obj0
= 0 ;
13097 char * kwnames
[] = {
13098 (char *) "name", NULL
13101 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) SWIG_fail
;
13103 arg1
= wxString_in_helper(obj0
);
13104 if (arg1
== NULL
) SWIG_fail
;
13108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13109 result
= (wxFontEncoding
)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
13110 wxPyEndAllowThreads(__tstate
);
13111 if (PyErr_Occurred()) SWIG_fail
;
13113 resultobj
= SWIG_From_int(static_cast< int >(result
));
13128 SWIGINTERN PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13129 PyObject
*resultobj
= 0;
13130 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13131 wxString
*arg2
= 0 ;
13134 bool temp2
= false ;
13135 PyObject
* obj0
= 0 ;
13136 PyObject
* obj1
= 0 ;
13137 char * kwnames
[] = {
13138 (char *) "self",(char *) "prefix", NULL
13141 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13142 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13143 if (!SWIG_IsOK(res1
)) {
13144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetConfigPath" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13146 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13148 arg2
= wxString_in_helper(obj1
);
13149 if (arg2
== NULL
) SWIG_fail
;
13153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13154 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
13155 wxPyEndAllowThreads(__tstate
);
13156 if (PyErr_Occurred()) SWIG_fail
;
13158 resultobj
= SWIG_Py_Void();
13173 SWIGINTERN PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13174 PyObject
*resultobj
= 0;
13177 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetDefaultConfigPath",0,0,0)) SWIG_fail
;
13179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13180 result
= wxFontMapper::GetDefaultConfigPath();
13181 wxPyEndAllowThreads(__tstate
);
13182 if (PyErr_Occurred()) SWIG_fail
;
13186 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13188 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13197 SWIGINTERN PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13198 PyObject
*resultobj
= 0;
13199 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13200 wxFontEncoding arg2
;
13201 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13202 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13203 bool arg4
= (bool) true ;
13204 PyObject
*result
= 0 ;
13209 bool temp3
= false ;
13212 PyObject
* obj0
= 0 ;
13213 PyObject
* obj1
= 0 ;
13214 PyObject
* obj2
= 0 ;
13215 PyObject
* obj3
= 0 ;
13216 char * kwnames
[] = {
13217 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
13220 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13221 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13222 if (!SWIG_IsOK(res1
)) {
13223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13225 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13226 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13227 if (!SWIG_IsOK(ecode2
)) {
13228 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13230 arg2
= static_cast< wxFontEncoding
>(val2
);
13233 arg3
= wxString_in_helper(obj2
);
13234 if (arg3
== NULL
) SWIG_fail
;
13239 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
13240 if (!SWIG_IsOK(ecode4
)) {
13241 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "4"" of type '" "bool""'");
13243 arg4
= static_cast< bool >(val4
);
13246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13247 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
13248 wxPyEndAllowThreads(__tstate
);
13249 if (PyErr_Occurred()) SWIG_fail
;
13251 resultobj
= result
;
13266 SWIGINTERN PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13267 PyObject
*resultobj
= 0;
13268 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13269 wxFontEncoding arg2
;
13270 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13271 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13277 bool temp3
= false ;
13278 PyObject
* obj0
= 0 ;
13279 PyObject
* obj1
= 0 ;
13280 PyObject
* obj2
= 0 ;
13281 char * kwnames
[] = {
13282 (char *) "self",(char *) "encoding",(char *) "facename", NULL
13285 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13286 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13287 if (!SWIG_IsOK(res1
)) {
13288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13290 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13291 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13292 if (!SWIG_IsOK(ecode2
)) {
13293 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13295 arg2
= static_cast< wxFontEncoding
>(val2
);
13298 arg3
= wxString_in_helper(obj2
);
13299 if (arg3
== NULL
) SWIG_fail
;
13304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13305 result
= (bool)(arg1
)->IsEncodingAvailable(arg2
,(wxString
const &)*arg3
);
13306 wxPyEndAllowThreads(__tstate
);
13307 if (PyErr_Occurred()) SWIG_fail
;
13310 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13326 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13327 PyObject
*resultobj
= 0;
13328 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13329 wxWindow
*arg2
= (wxWindow
*) 0 ;
13334 PyObject
* obj0
= 0 ;
13335 PyObject
* obj1
= 0 ;
13336 char * kwnames
[] = {
13337 (char *) "self",(char *) "parent", NULL
13340 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13341 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13342 if (!SWIG_IsOK(res1
)) {
13343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13345 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13346 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13347 if (!SWIG_IsOK(res2
)) {
13348 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "2"" of type '" "wxWindow *""'");
13350 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13353 (arg1
)->SetDialogParent(arg2
);
13354 wxPyEndAllowThreads(__tstate
);
13355 if (PyErr_Occurred()) SWIG_fail
;
13357 resultobj
= SWIG_Py_Void();
13364 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13365 PyObject
*resultobj
= 0;
13366 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13367 wxString
*arg2
= 0 ;
13370 bool temp2
= false ;
13371 PyObject
* obj0
= 0 ;
13372 PyObject
* obj1
= 0 ;
13373 char * kwnames
[] = {
13374 (char *) "self",(char *) "title", NULL
13377 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13378 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13379 if (!SWIG_IsOK(res1
)) {
13380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogTitle" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13382 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13384 arg2
= wxString_in_helper(obj1
);
13385 if (arg2
== NULL
) SWIG_fail
;
13389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13390 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
13391 wxPyEndAllowThreads(__tstate
);
13392 if (PyErr_Occurred()) SWIG_fail
;
13394 resultobj
= SWIG_Py_Void();
13409 SWIGINTERN PyObject
*FontMapper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13411 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13412 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontMapper
, SWIG_NewClientData(obj
));
13413 return SWIG_Py_Void();
13416 SWIGINTERN PyObject
*FontMapper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13417 return SWIG_Python_InitShadowInstance(args
);
13420 SWIGINTERN PyObject
*_wrap_new_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13421 PyObject
*resultobj
= 0;
13426 bool arg5
= (bool) false ;
13427 wxString
const &arg6_defvalue
= wxPyEmptyString
;
13428 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13429 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13430 wxFont
*result
= 0 ;
13441 bool temp6
= false ;
13444 PyObject
* obj0
= 0 ;
13445 PyObject
* obj1
= 0 ;
13446 PyObject
* obj2
= 0 ;
13447 PyObject
* obj3
= 0 ;
13448 PyObject
* obj4
= 0 ;
13449 PyObject
* obj5
= 0 ;
13450 PyObject
* obj6
= 0 ;
13451 char * kwnames
[] = {
13452 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
13455 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
13456 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13457 if (!SWIG_IsOK(ecode1
)) {
13458 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Font" "', expected argument " "1"" of type '" "int""'");
13460 arg1
= static_cast< int >(val1
);
13461 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13462 if (!SWIG_IsOK(ecode2
)) {
13463 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Font" "', expected argument " "2"" of type '" "int""'");
13465 arg2
= static_cast< int >(val2
);
13466 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13467 if (!SWIG_IsOK(ecode3
)) {
13468 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Font" "', expected argument " "3"" of type '" "int""'");
13470 arg3
= static_cast< int >(val3
);
13471 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
13472 if (!SWIG_IsOK(ecode4
)) {
13473 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Font" "', expected argument " "4"" of type '" "int""'");
13475 arg4
= static_cast< int >(val4
);
13477 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
13478 if (!SWIG_IsOK(ecode5
)) {
13479 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Font" "', expected argument " "5"" of type '" "bool""'");
13481 arg5
= static_cast< bool >(val5
);
13485 arg6
= wxString_in_helper(obj5
);
13486 if (arg6
== NULL
) SWIG_fail
;
13491 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
13492 if (!SWIG_IsOK(ecode7
)) {
13493 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_Font" "', expected argument " "7"" of type '" "wxFontEncoding""'");
13495 arg7
= static_cast< wxFontEncoding
>(val7
);
13498 if (!wxPyCheckForApp()) SWIG_fail
;
13499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13500 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
13501 wxPyEndAllowThreads(__tstate
);
13502 if (PyErr_Occurred()) SWIG_fail
;
13504 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_NEW
| 0 );
13519 SWIGINTERN PyObject
*_wrap_delete_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13520 PyObject
*resultobj
= 0;
13521 wxFont
*arg1
= (wxFont
*) 0 ;
13524 PyObject
*swig_obj
[1] ;
13526 if (!args
) SWIG_fail
;
13527 swig_obj
[0] = args
;
13528 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, SWIG_POINTER_DISOWN
| 0 );
13529 if (!SWIG_IsOK(res1
)) {
13530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Font" "', expected argument " "1"" of type '" "wxFont *""'");
13532 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13537 wxPyEndAllowThreads(__tstate
);
13538 if (PyErr_Occurred()) SWIG_fail
;
13540 resultobj
= SWIG_Py_Void();
13547 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13548 PyObject
*resultobj
= 0;
13549 wxNativeFontInfo
*arg1
= 0 ;
13550 wxFont
*result
= 0 ;
13553 PyObject
* obj0
= 0 ;
13554 char * kwnames
[] = {
13555 (char *) "info", NULL
13558 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) SWIG_fail
;
13559 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
13560 if (!SWIG_IsOK(res1
)) {
13561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
13564 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
13566 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13568 if (!wxPyCheckForApp()) SWIG_fail
;
13569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13570 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
13571 wxPyEndAllowThreads(__tstate
);
13572 if (PyErr_Occurred()) SWIG_fail
;
13574 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13581 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13582 PyObject
*resultobj
= 0;
13583 wxString
*arg1
= 0 ;
13584 wxFont
*result
= 0 ;
13585 bool temp1
= false ;
13586 PyObject
* obj0
= 0 ;
13587 char * kwnames
[] = {
13588 (char *) "info", NULL
13591 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) SWIG_fail
;
13593 arg1
= wxString_in_helper(obj0
);
13594 if (arg1
== NULL
) SWIG_fail
;
13598 if (!wxPyCheckForApp()) SWIG_fail
;
13599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13600 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
13601 wxPyEndAllowThreads(__tstate
);
13602 if (PyErr_Occurred()) SWIG_fail
;
13604 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13619 SWIGINTERN PyObject
*_wrap_new_FFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13620 PyObject
*resultobj
= 0;
13622 wxFontFamily arg2
;
13623 int arg3
= (int) wxFONTFLAG_DEFAULT
;
13624 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13625 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13626 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13627 wxFont
*result
= 0 ;
13634 bool temp4
= false ;
13637 PyObject
* obj0
= 0 ;
13638 PyObject
* obj1
= 0 ;
13639 PyObject
* obj2
= 0 ;
13640 PyObject
* obj3
= 0 ;
13641 PyObject
* obj4
= 0 ;
13642 char * kwnames
[] = {
13643 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
13646 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
13647 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13648 if (!SWIG_IsOK(ecode1
)) {
13649 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FFont" "', expected argument " "1"" of type '" "int""'");
13651 arg1
= static_cast< int >(val1
);
13652 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13653 if (!SWIG_IsOK(ecode2
)) {
13654 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFont" "', expected argument " "2"" of type '" "wxFontFamily""'");
13656 arg2
= static_cast< wxFontFamily
>(val2
);
13658 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13659 if (!SWIG_IsOK(ecode3
)) {
13660 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFont" "', expected argument " "3"" of type '" "int""'");
13662 arg3
= static_cast< int >(val3
);
13666 arg4
= wxString_in_helper(obj3
);
13667 if (arg4
== NULL
) SWIG_fail
;
13672 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
13673 if (!SWIG_IsOK(ecode5
)) {
13674 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFont" "', expected argument " "5"" of type '" "wxFontEncoding""'");
13676 arg5
= static_cast< wxFontEncoding
>(val5
);
13679 if (!wxPyCheckForApp()) SWIG_fail
;
13680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13681 result
= (wxFont
*)new_wxFont(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
13682 wxPyEndAllowThreads(__tstate
);
13683 if (PyErr_Occurred()) SWIG_fail
;
13685 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13700 SWIGINTERN PyObject
*_wrap_new_FontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13701 PyObject
*resultobj
= 0;
13706 bool arg5
= (bool) false ;
13707 wxString
const &arg6_defvalue
= wxEmptyString
;
13708 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13709 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13710 wxFont
*result
= 0 ;
13720 bool temp6
= false ;
13723 PyObject
* obj0
= 0 ;
13724 PyObject
* obj1
= 0 ;
13725 PyObject
* obj2
= 0 ;
13726 PyObject
* obj3
= 0 ;
13727 PyObject
* obj4
= 0 ;
13728 PyObject
* obj5
= 0 ;
13729 PyObject
* obj6
= 0 ;
13730 char * kwnames
[] = {
13731 (char *) "pixelSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underlined",(char *) "face",(char *) "encoding", NULL
13734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_FontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
13737 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
13739 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13740 if (!SWIG_IsOK(ecode2
)) {
13741 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontFromPixelSize" "', expected argument " "2"" of type '" "int""'");
13743 arg2
= static_cast< int >(val2
);
13744 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13745 if (!SWIG_IsOK(ecode3
)) {
13746 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
13748 arg3
= static_cast< int >(val3
);
13749 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
13750 if (!SWIG_IsOK(ecode4
)) {
13751 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FontFromPixelSize" "', expected argument " "4"" of type '" "int""'");
13753 arg4
= static_cast< int >(val4
);
13755 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
13756 if (!SWIG_IsOK(ecode5
)) {
13757 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FontFromPixelSize" "', expected argument " "5"" of type '" "bool""'");
13759 arg5
= static_cast< bool >(val5
);
13763 arg6
= wxString_in_helper(obj5
);
13764 if (arg6
== NULL
) SWIG_fail
;
13769 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
13770 if (!SWIG_IsOK(ecode7
)) {
13771 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_FontFromPixelSize" "', expected argument " "7"" of type '" "wxFontEncoding""'");
13773 arg7
= static_cast< wxFontEncoding
>(val7
);
13776 if (!wxPyCheckForApp()) SWIG_fail
;
13777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13778 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
13779 wxPyEndAllowThreads(__tstate
);
13780 if (PyErr_Occurred()) SWIG_fail
;
13782 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13797 SWIGINTERN PyObject
*_wrap_new_FFontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13798 PyObject
*resultobj
= 0;
13800 wxFontFamily arg2
;
13801 int arg3
= (int) wxFONTFLAG_DEFAULT
;
13802 wxString
const &arg4_defvalue
= wxEmptyString
;
13803 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13804 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13805 wxFont
*result
= 0 ;
13811 bool temp4
= false ;
13814 PyObject
* obj0
= 0 ;
13815 PyObject
* obj1
= 0 ;
13816 PyObject
* obj2
= 0 ;
13817 PyObject
* obj3
= 0 ;
13818 PyObject
* obj4
= 0 ;
13819 char * kwnames
[] = {
13820 (char *) "pixelSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
13823 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
13826 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
13828 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13829 if (!SWIG_IsOK(ecode2
)) {
13830 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFontFromPixelSize" "', expected argument " "2"" of type '" "wxFontFamily""'");
13832 arg2
= static_cast< wxFontFamily
>(val2
);
13834 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13835 if (!SWIG_IsOK(ecode3
)) {
13836 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
13838 arg3
= static_cast< int >(val3
);
13842 arg4
= wxString_in_helper(obj3
);
13843 if (arg4
== NULL
) SWIG_fail
;
13848 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
13849 if (!SWIG_IsOK(ecode5
)) {
13850 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFontFromPixelSize" "', expected argument " "5"" of type '" "wxFontEncoding""'");
13852 arg5
= static_cast< wxFontEncoding
>(val5
);
13855 if (!wxPyCheckForApp()) SWIG_fail
;
13856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13857 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
13858 wxPyEndAllowThreads(__tstate
);
13859 if (PyErr_Occurred()) SWIG_fail
;
13861 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13876 SWIGINTERN PyObject
*_wrap_Font_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13877 PyObject
*resultobj
= 0;
13878 wxFont
*arg1
= (wxFont
*) 0 ;
13882 PyObject
*swig_obj
[1] ;
13884 if (!args
) SWIG_fail
;
13885 swig_obj
[0] = args
;
13886 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13887 if (!SWIG_IsOK(res1
)) {
13888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsOk" "', expected argument " "1"" of type '" "wxFont const *""'");
13890 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13893 result
= (bool)((wxFont
const *)arg1
)->IsOk();
13894 wxPyEndAllowThreads(__tstate
);
13895 if (PyErr_Occurred()) SWIG_fail
;
13898 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13906 SWIGINTERN PyObject
*_wrap_Font___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13907 PyObject
*resultobj
= 0;
13908 wxFont
*arg1
= (wxFont
*) 0 ;
13909 wxFont
*arg2
= (wxFont
*) 0 ;
13915 PyObject
* obj0
= 0 ;
13916 PyObject
* obj1
= 0 ;
13917 char * kwnames
[] = {
13918 (char *) "self",(char *) "other", NULL
13921 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13922 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13923 if (!SWIG_IsOK(res1
)) {
13924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___eq__" "', expected argument " "1"" of type '" "wxFont *""'");
13926 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13927 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
13928 if (!SWIG_IsOK(res2
)) {
13929 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___eq__" "', expected argument " "2"" of type '" "wxFont const *""'");
13931 arg2
= reinterpret_cast< wxFont
* >(argp2
);
13933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13934 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
13935 wxPyEndAllowThreads(__tstate
);
13936 if (PyErr_Occurred()) SWIG_fail
;
13939 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13947 SWIGINTERN PyObject
*_wrap_Font___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13948 PyObject
*resultobj
= 0;
13949 wxFont
*arg1
= (wxFont
*) 0 ;
13950 wxFont
*arg2
= (wxFont
*) 0 ;
13956 PyObject
* obj0
= 0 ;
13957 PyObject
* obj1
= 0 ;
13958 char * kwnames
[] = {
13959 (char *) "self",(char *) "other", NULL
13962 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13963 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13964 if (!SWIG_IsOK(res1
)) {
13965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___ne__" "', expected argument " "1"" of type '" "wxFont *""'");
13967 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13968 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
13969 if (!SWIG_IsOK(res2
)) {
13970 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___ne__" "', expected argument " "2"" of type '" "wxFont const *""'");
13972 arg2
= reinterpret_cast< wxFont
* >(argp2
);
13974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13975 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
13976 wxPyEndAllowThreads(__tstate
);
13977 if (PyErr_Occurred()) SWIG_fail
;
13980 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13988 SWIGINTERN PyObject
*_wrap_Font_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13989 PyObject
*resultobj
= 0;
13990 wxFont
*arg1
= (wxFont
*) 0 ;
13994 PyObject
*swig_obj
[1] ;
13996 if (!args
) SWIG_fail
;
13997 swig_obj
[0] = args
;
13998 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13999 if (!SWIG_IsOK(res1
)) {
14000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPointSize" "', expected argument " "1"" of type '" "wxFont const *""'");
14002 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14005 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
14006 wxPyEndAllowThreads(__tstate
);
14007 if (PyErr_Occurred()) SWIG_fail
;
14009 resultobj
= SWIG_From_int(static_cast< int >(result
));
14016 SWIGINTERN PyObject
*_wrap_Font_GetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14017 PyObject
*resultobj
= 0;
14018 wxFont
*arg1
= (wxFont
*) 0 ;
14022 PyObject
*swig_obj
[1] ;
14024 if (!args
) SWIG_fail
;
14025 swig_obj
[0] = args
;
14026 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14027 if (!SWIG_IsOK(res1
)) {
14028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPixelSize" "', expected argument " "1"" of type '" "wxFont const *""'");
14030 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14033 result
= ((wxFont
const *)arg1
)->GetPixelSize();
14034 wxPyEndAllowThreads(__tstate
);
14035 if (PyErr_Occurred()) SWIG_fail
;
14037 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
14044 SWIGINTERN PyObject
*_wrap_Font_IsUsingSizeInPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14045 PyObject
*resultobj
= 0;
14046 wxFont
*arg1
= (wxFont
*) 0 ;
14050 PyObject
*swig_obj
[1] ;
14052 if (!args
) SWIG_fail
;
14053 swig_obj
[0] = args
;
14054 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14055 if (!SWIG_IsOK(res1
)) {
14056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsUsingSizeInPixels" "', expected argument " "1"" of type '" "wxFont const *""'");
14058 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14061 result
= (bool)((wxFont
const *)arg1
)->IsUsingSizeInPixels();
14062 wxPyEndAllowThreads(__tstate
);
14063 if (PyErr_Occurred()) SWIG_fail
;
14066 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14074 SWIGINTERN PyObject
*_wrap_Font_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14075 PyObject
*resultobj
= 0;
14076 wxFont
*arg1
= (wxFont
*) 0 ;
14080 PyObject
*swig_obj
[1] ;
14082 if (!args
) SWIG_fail
;
14083 swig_obj
[0] = args
;
14084 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14085 if (!SWIG_IsOK(res1
)) {
14086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamily" "', expected argument " "1"" of type '" "wxFont const *""'");
14088 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14091 result
= (int)((wxFont
const *)arg1
)->GetFamily();
14092 wxPyEndAllowThreads(__tstate
);
14093 if (PyErr_Occurred()) SWIG_fail
;
14095 resultobj
= SWIG_From_int(static_cast< int >(result
));
14102 SWIGINTERN PyObject
*_wrap_Font_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14103 PyObject
*resultobj
= 0;
14104 wxFont
*arg1
= (wxFont
*) 0 ;
14108 PyObject
*swig_obj
[1] ;
14110 if (!args
) SWIG_fail
;
14111 swig_obj
[0] = args
;
14112 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14113 if (!SWIG_IsOK(res1
)) {
14114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyle" "', expected argument " "1"" of type '" "wxFont const *""'");
14116 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14119 result
= (int)((wxFont
const *)arg1
)->GetStyle();
14120 wxPyEndAllowThreads(__tstate
);
14121 if (PyErr_Occurred()) SWIG_fail
;
14123 resultobj
= SWIG_From_int(static_cast< int >(result
));
14130 SWIGINTERN PyObject
*_wrap_Font_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14131 PyObject
*resultobj
= 0;
14132 wxFont
*arg1
= (wxFont
*) 0 ;
14136 PyObject
*swig_obj
[1] ;
14138 if (!args
) SWIG_fail
;
14139 swig_obj
[0] = args
;
14140 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14141 if (!SWIG_IsOK(res1
)) {
14142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeight" "', expected argument " "1"" of type '" "wxFont const *""'");
14144 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14147 result
= (int)((wxFont
const *)arg1
)->GetWeight();
14148 wxPyEndAllowThreads(__tstate
);
14149 if (PyErr_Occurred()) SWIG_fail
;
14151 resultobj
= SWIG_From_int(static_cast< int >(result
));
14158 SWIGINTERN PyObject
*_wrap_Font_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14159 PyObject
*resultobj
= 0;
14160 wxFont
*arg1
= (wxFont
*) 0 ;
14164 PyObject
*swig_obj
[1] ;
14166 if (!args
) SWIG_fail
;
14167 swig_obj
[0] = args
;
14168 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14169 if (!SWIG_IsOK(res1
)) {
14170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetUnderlined" "', expected argument " "1"" of type '" "wxFont const *""'");
14172 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14175 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
14176 wxPyEndAllowThreads(__tstate
);
14177 if (PyErr_Occurred()) SWIG_fail
;
14180 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14188 SWIGINTERN PyObject
*_wrap_Font_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14189 PyObject
*resultobj
= 0;
14190 wxFont
*arg1
= (wxFont
*) 0 ;
14194 PyObject
*swig_obj
[1] ;
14196 if (!args
) SWIG_fail
;
14197 swig_obj
[0] = args
;
14198 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14199 if (!SWIG_IsOK(res1
)) {
14200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFaceName" "', expected argument " "1"" of type '" "wxFont const *""'");
14202 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14205 result
= ((wxFont
const *)arg1
)->GetFaceName();
14206 wxPyEndAllowThreads(__tstate
);
14207 if (PyErr_Occurred()) SWIG_fail
;
14211 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14213 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14222 SWIGINTERN PyObject
*_wrap_Font_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14223 PyObject
*resultobj
= 0;
14224 wxFont
*arg1
= (wxFont
*) 0 ;
14225 wxFontEncoding result
;
14228 PyObject
*swig_obj
[1] ;
14230 if (!args
) SWIG_fail
;
14231 swig_obj
[0] = args
;
14232 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14233 if (!SWIG_IsOK(res1
)) {
14234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetEncoding" "', expected argument " "1"" of type '" "wxFont const *""'");
14236 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14239 result
= (wxFontEncoding
)((wxFont
const *)arg1
)->GetEncoding();
14240 wxPyEndAllowThreads(__tstate
);
14241 if (PyErr_Occurred()) SWIG_fail
;
14243 resultobj
= SWIG_From_int(static_cast< int >(result
));
14250 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14251 PyObject
*resultobj
= 0;
14252 wxFont
*arg1
= (wxFont
*) 0 ;
14253 wxNativeFontInfo
*result
= 0 ;
14256 PyObject
*swig_obj
[1] ;
14258 if (!args
) SWIG_fail
;
14259 swig_obj
[0] = args
;
14260 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14261 if (!SWIG_IsOK(res1
)) {
14262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont const *""'");
14264 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14267 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
14268 wxPyEndAllowThreads(__tstate
);
14269 if (PyErr_Occurred()) SWIG_fail
;
14271 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
14278 SWIGINTERN PyObject
*_wrap_Font_IsFixedWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14279 PyObject
*resultobj
= 0;
14280 wxFont
*arg1
= (wxFont
*) 0 ;
14284 PyObject
*swig_obj
[1] ;
14286 if (!args
) SWIG_fail
;
14287 swig_obj
[0] = args
;
14288 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14289 if (!SWIG_IsOK(res1
)) {
14290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsFixedWidth" "', expected argument " "1"" of type '" "wxFont const *""'");
14292 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14295 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
14296 wxPyEndAllowThreads(__tstate
);
14297 if (PyErr_Occurred()) SWIG_fail
;
14300 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14308 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14309 PyObject
*resultobj
= 0;
14310 wxFont
*arg1
= (wxFont
*) 0 ;
14314 PyObject
*swig_obj
[1] ;
14316 if (!args
) SWIG_fail
;
14317 swig_obj
[0] = args
;
14318 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14319 if (!SWIG_IsOK(res1
)) {
14320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
14322 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14325 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
14326 wxPyEndAllowThreads(__tstate
);
14327 if (PyErr_Occurred()) SWIG_fail
;
14331 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14333 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14342 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14343 PyObject
*resultobj
= 0;
14344 wxFont
*arg1
= (wxFont
*) 0 ;
14348 PyObject
*swig_obj
[1] ;
14350 if (!args
) SWIG_fail
;
14351 swig_obj
[0] = args
;
14352 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14353 if (!SWIG_IsOK(res1
)) {
14354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
14356 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14359 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
14360 wxPyEndAllowThreads(__tstate
);
14361 if (PyErr_Occurred()) SWIG_fail
;
14365 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14367 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14376 SWIGINTERN PyObject
*_wrap_Font_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14377 PyObject
*resultobj
= 0;
14378 wxFont
*arg1
= (wxFont
*) 0 ;
14384 PyObject
* obj0
= 0 ;
14385 PyObject
* obj1
= 0 ;
14386 char * kwnames
[] = {
14387 (char *) "self",(char *) "pointSize", NULL
14390 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14391 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14392 if (!SWIG_IsOK(res1
)) {
14393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPointSize" "', expected argument " "1"" of type '" "wxFont *""'");
14395 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14396 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14397 if (!SWIG_IsOK(ecode2
)) {
14398 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetPointSize" "', expected argument " "2"" of type '" "int""'");
14400 arg2
= static_cast< int >(val2
);
14402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14403 (arg1
)->SetPointSize(arg2
);
14404 wxPyEndAllowThreads(__tstate
);
14405 if (PyErr_Occurred()) SWIG_fail
;
14407 resultobj
= SWIG_Py_Void();
14414 SWIGINTERN PyObject
*_wrap_Font_SetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14415 PyObject
*resultobj
= 0;
14416 wxFont
*arg1
= (wxFont
*) 0 ;
14421 PyObject
* obj0
= 0 ;
14422 PyObject
* obj1
= 0 ;
14423 char * kwnames
[] = {
14424 (char *) "self",(char *) "pixelSize", NULL
14427 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPixelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14428 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14429 if (!SWIG_IsOK(res1
)) {
14430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPixelSize" "', expected argument " "1"" of type '" "wxFont *""'");
14432 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14435 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14439 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
14440 wxPyEndAllowThreads(__tstate
);
14441 if (PyErr_Occurred()) SWIG_fail
;
14443 resultobj
= SWIG_Py_Void();
14450 SWIGINTERN PyObject
*_wrap_Font_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14451 PyObject
*resultobj
= 0;
14452 wxFont
*arg1
= (wxFont
*) 0 ;
14458 PyObject
* obj0
= 0 ;
14459 PyObject
* obj1
= 0 ;
14460 char * kwnames
[] = {
14461 (char *) "self",(char *) "family", NULL
14464 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14465 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14466 if (!SWIG_IsOK(res1
)) {
14467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFamily" "', expected argument " "1"" of type '" "wxFont *""'");
14469 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14470 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14471 if (!SWIG_IsOK(ecode2
)) {
14472 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetFamily" "', expected argument " "2"" of type '" "int""'");
14474 arg2
= static_cast< int >(val2
);
14476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14477 (arg1
)->SetFamily(arg2
);
14478 wxPyEndAllowThreads(__tstate
);
14479 if (PyErr_Occurred()) SWIG_fail
;
14481 resultobj
= SWIG_Py_Void();
14488 SWIGINTERN PyObject
*_wrap_Font_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14489 PyObject
*resultobj
= 0;
14490 wxFont
*arg1
= (wxFont
*) 0 ;
14496 PyObject
* obj0
= 0 ;
14497 PyObject
* obj1
= 0 ;
14498 char * kwnames
[] = {
14499 (char *) "self",(char *) "style", NULL
14502 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14503 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14504 if (!SWIG_IsOK(res1
)) {
14505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetStyle" "', expected argument " "1"" of type '" "wxFont *""'");
14507 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14508 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14509 if (!SWIG_IsOK(ecode2
)) {
14510 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetStyle" "', expected argument " "2"" of type '" "int""'");
14512 arg2
= static_cast< int >(val2
);
14514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14515 (arg1
)->SetStyle(arg2
);
14516 wxPyEndAllowThreads(__tstate
);
14517 if (PyErr_Occurred()) SWIG_fail
;
14519 resultobj
= SWIG_Py_Void();
14526 SWIGINTERN PyObject
*_wrap_Font_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14527 PyObject
*resultobj
= 0;
14528 wxFont
*arg1
= (wxFont
*) 0 ;
14534 PyObject
* obj0
= 0 ;
14535 PyObject
* obj1
= 0 ;
14536 char * kwnames
[] = {
14537 (char *) "self",(char *) "weight", NULL
14540 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14541 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14542 if (!SWIG_IsOK(res1
)) {
14543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetWeight" "', expected argument " "1"" of type '" "wxFont *""'");
14545 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14546 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14547 if (!SWIG_IsOK(ecode2
)) {
14548 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetWeight" "', expected argument " "2"" of type '" "int""'");
14550 arg2
= static_cast< int >(val2
);
14552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14553 (arg1
)->SetWeight(arg2
);
14554 wxPyEndAllowThreads(__tstate
);
14555 if (PyErr_Occurred()) SWIG_fail
;
14557 resultobj
= SWIG_Py_Void();
14564 SWIGINTERN PyObject
*_wrap_Font_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14565 PyObject
*resultobj
= 0;
14566 wxFont
*arg1
= (wxFont
*) 0 ;
14567 wxString
*arg2
= 0 ;
14571 bool temp2
= false ;
14572 PyObject
* obj0
= 0 ;
14573 PyObject
* obj1
= 0 ;
14574 char * kwnames
[] = {
14575 (char *) "self",(char *) "faceName", NULL
14578 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14579 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14580 if (!SWIG_IsOK(res1
)) {
14581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFaceName" "', expected argument " "1"" of type '" "wxFont *""'");
14583 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14585 arg2
= wxString_in_helper(obj1
);
14586 if (arg2
== NULL
) SWIG_fail
;
14590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14591 result
= (bool)(arg1
)->SetFaceName((wxString
const &)*arg2
);
14592 wxPyEndAllowThreads(__tstate
);
14593 if (PyErr_Occurred()) SWIG_fail
;
14596 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14612 SWIGINTERN PyObject
*_wrap_Font_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14613 PyObject
*resultobj
= 0;
14614 wxFont
*arg1
= (wxFont
*) 0 ;
14620 PyObject
* obj0
= 0 ;
14621 PyObject
* obj1
= 0 ;
14622 char * kwnames
[] = {
14623 (char *) "self",(char *) "underlined", NULL
14626 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14627 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14628 if (!SWIG_IsOK(res1
)) {
14629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetUnderlined" "', expected argument " "1"" of type '" "wxFont *""'");
14631 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14632 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
14633 if (!SWIG_IsOK(ecode2
)) {
14634 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
14636 arg2
= static_cast< bool >(val2
);
14638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14639 (arg1
)->SetUnderlined(arg2
);
14640 wxPyEndAllowThreads(__tstate
);
14641 if (PyErr_Occurred()) SWIG_fail
;
14643 resultobj
= SWIG_Py_Void();
14650 SWIGINTERN PyObject
*_wrap_Font_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14651 PyObject
*resultobj
= 0;
14652 wxFont
*arg1
= (wxFont
*) 0 ;
14653 wxFontEncoding arg2
;
14658 PyObject
* obj0
= 0 ;
14659 PyObject
* obj1
= 0 ;
14660 char * kwnames
[] = {
14661 (char *) "self",(char *) "encoding", NULL
14664 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14665 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14666 if (!SWIG_IsOK(res1
)) {
14667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetEncoding" "', expected argument " "1"" of type '" "wxFont *""'");
14669 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14670 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14671 if (!SWIG_IsOK(ecode2
)) {
14672 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
14674 arg2
= static_cast< wxFontEncoding
>(val2
);
14676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14677 (arg1
)->SetEncoding(arg2
);
14678 wxPyEndAllowThreads(__tstate
);
14679 if (PyErr_Occurred()) SWIG_fail
;
14681 resultobj
= SWIG_Py_Void();
14688 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14689 PyObject
*resultobj
= 0;
14690 wxFont
*arg1
= (wxFont
*) 0 ;
14691 wxNativeFontInfo
*arg2
= 0 ;
14696 PyObject
* obj0
= 0 ;
14697 PyObject
* obj1
= 0 ;
14698 char * kwnames
[] = {
14699 (char *) "self",(char *) "info", NULL
14702 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14703 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14704 if (!SWIG_IsOK(res1
)) {
14705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont *""'");
14707 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14708 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
14709 if (!SWIG_IsOK(res2
)) {
14710 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
14713 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
14715 arg2
= reinterpret_cast< wxNativeFontInfo
* >(argp2
);
14717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14718 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
14719 wxPyEndAllowThreads(__tstate
);
14720 if (PyErr_Occurred()) SWIG_fail
;
14722 resultobj
= SWIG_Py_Void();
14729 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14730 PyObject
*resultobj
= 0;
14731 wxFont
*arg1
= (wxFont
*) 0 ;
14732 wxString
*arg2
= 0 ;
14736 bool temp2
= false ;
14737 PyObject
* obj0
= 0 ;
14738 PyObject
* obj1
= 0 ;
14739 char * kwnames
[] = {
14740 (char *) "self",(char *) "info", NULL
14743 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14744 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14745 if (!SWIG_IsOK(res1
)) {
14746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoFromString" "', expected argument " "1"" of type '" "wxFont *""'");
14748 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14750 arg2
= wxString_in_helper(obj1
);
14751 if (arg2
== NULL
) SWIG_fail
;
14755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14756 result
= (bool)(arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
14757 wxPyEndAllowThreads(__tstate
);
14758 if (PyErr_Occurred()) SWIG_fail
;
14761 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14777 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14778 PyObject
*resultobj
= 0;
14779 wxFont
*arg1
= (wxFont
*) 0 ;
14780 wxString
*arg2
= 0 ;
14784 bool temp2
= false ;
14785 PyObject
* obj0
= 0 ;
14786 PyObject
* obj1
= 0 ;
14787 char * kwnames
[] = {
14788 (char *) "self",(char *) "info", NULL
14791 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14792 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14793 if (!SWIG_IsOK(res1
)) {
14794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont *""'");
14796 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14798 arg2
= wxString_in_helper(obj1
);
14799 if (arg2
== NULL
) SWIG_fail
;
14803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14804 result
= (bool)(arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
14805 wxPyEndAllowThreads(__tstate
);
14806 if (PyErr_Occurred()) SWIG_fail
;
14809 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14825 SWIGINTERN PyObject
*_wrap_Font_GetFamilyString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14826 PyObject
*resultobj
= 0;
14827 wxFont
*arg1
= (wxFont
*) 0 ;
14831 PyObject
*swig_obj
[1] ;
14833 if (!args
) SWIG_fail
;
14834 swig_obj
[0] = args
;
14835 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14836 if (!SWIG_IsOK(res1
)) {
14837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamilyString" "', expected argument " "1"" of type '" "wxFont const *""'");
14839 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14842 result
= ((wxFont
const *)arg1
)->GetFamilyString();
14843 wxPyEndAllowThreads(__tstate
);
14844 if (PyErr_Occurred()) SWIG_fail
;
14848 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14850 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14859 SWIGINTERN PyObject
*_wrap_Font_GetStyleString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14860 PyObject
*resultobj
= 0;
14861 wxFont
*arg1
= (wxFont
*) 0 ;
14865 PyObject
*swig_obj
[1] ;
14867 if (!args
) SWIG_fail
;
14868 swig_obj
[0] = args
;
14869 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14870 if (!SWIG_IsOK(res1
)) {
14871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyleString" "', expected argument " "1"" of type '" "wxFont const *""'");
14873 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14876 result
= ((wxFont
const *)arg1
)->GetStyleString();
14877 wxPyEndAllowThreads(__tstate
);
14878 if (PyErr_Occurred()) SWIG_fail
;
14882 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14884 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14893 SWIGINTERN PyObject
*_wrap_Font_GetWeightString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14894 PyObject
*resultobj
= 0;
14895 wxFont
*arg1
= (wxFont
*) 0 ;
14899 PyObject
*swig_obj
[1] ;
14901 if (!args
) SWIG_fail
;
14902 swig_obj
[0] = args
;
14903 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14904 if (!SWIG_IsOK(res1
)) {
14905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeightString" "', expected argument " "1"" of type '" "wxFont const *""'");
14907 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14910 result
= ((wxFont
const *)arg1
)->GetWeightString();
14911 wxPyEndAllowThreads(__tstate
);
14912 if (PyErr_Occurred()) SWIG_fail
;
14916 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14918 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14927 SWIGINTERN PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14928 PyObject
*resultobj
= 0;
14929 wxFont
*arg1
= (wxFont
*) 0 ;
14930 bool arg2
= (bool) true ;
14935 PyObject
* obj0
= 0 ;
14936 PyObject
* obj1
= 0 ;
14937 char * kwnames
[] = {
14938 (char *) "self",(char *) "no", NULL
14941 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14942 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14943 if (!SWIG_IsOK(res1
)) {
14944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont *""'");
14946 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14948 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
14949 if (!SWIG_IsOK(ecode2
)) {
14950 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "2"" of type '" "bool""'");
14952 arg2
= static_cast< bool >(val2
);
14955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14956 (arg1
)->SetNoAntiAliasing(arg2
);
14957 wxPyEndAllowThreads(__tstate
);
14958 if (PyErr_Occurred()) SWIG_fail
;
14960 resultobj
= SWIG_Py_Void();
14967 SWIGINTERN PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14968 PyObject
*resultobj
= 0;
14969 wxFont
*arg1
= (wxFont
*) 0 ;
14973 PyObject
*swig_obj
[1] ;
14975 if (!args
) SWIG_fail
;
14976 swig_obj
[0] = args
;
14977 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14978 if (!SWIG_IsOK(res1
)) {
14979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont const *""'");
14981 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14984 result
= (bool)((wxFont
const *)arg1
)->GetNoAntiAliasing();
14985 wxPyEndAllowThreads(__tstate
);
14986 if (PyErr_Occurred()) SWIG_fail
;
14989 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14997 SWIGINTERN PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14998 PyObject
*resultobj
= 0;
14999 wxFontEncoding result
;
15001 if (!SWIG_Python_UnpackTuple(args
,"Font_GetDefaultEncoding",0,0,0)) SWIG_fail
;
15003 if (!wxPyCheckForApp()) SWIG_fail
;
15004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15005 result
= (wxFontEncoding
)wxFont::GetDefaultEncoding();
15006 wxPyEndAllowThreads(__tstate
);
15007 if (PyErr_Occurred()) SWIG_fail
;
15009 resultobj
= SWIG_From_int(static_cast< int >(result
));
15016 SWIGINTERN PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15017 PyObject
*resultobj
= 0;
15018 wxFontEncoding arg1
;
15021 PyObject
* obj0
= 0 ;
15022 char * kwnames
[] = {
15023 (char *) "encoding", NULL
15026 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) SWIG_fail
;
15027 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15028 if (!SWIG_IsOK(ecode1
)) {
15029 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Font_SetDefaultEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
15031 arg1
= static_cast< wxFontEncoding
>(val1
);
15033 if (!wxPyCheckForApp()) SWIG_fail
;
15034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15035 wxFont::SetDefaultEncoding(arg1
);
15036 wxPyEndAllowThreads(__tstate
);
15037 if (PyErr_Occurred()) SWIG_fail
;
15039 resultobj
= SWIG_Py_Void();
15046 SWIGINTERN PyObject
*Font_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15048 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15049 SWIG_TypeNewClientData(SWIGTYPE_p_wxFont
, SWIG_NewClientData(obj
));
15050 return SWIG_Py_Void();
15053 SWIGINTERN PyObject
*Font_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15054 return SWIG_Python_InitShadowInstance(args
);
15057 SWIGINTERN PyObject
*_wrap_new_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15058 PyObject
*resultobj
= 0;
15059 wxPyFontEnumerator
*result
= 0 ;
15061 if (!SWIG_Python_UnpackTuple(args
,"new_FontEnumerator",0,0,0)) SWIG_fail
;
15063 if (!wxPyCheckForApp()) SWIG_fail
;
15064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15065 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
15066 wxPyEndAllowThreads(__tstate
);
15067 if (PyErr_Occurred()) SWIG_fail
;
15069 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_NEW
| 0 );
15076 SWIGINTERN PyObject
*_wrap_delete_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15077 PyObject
*resultobj
= 0;
15078 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15081 PyObject
*swig_obj
[1] ;
15083 if (!args
) SWIG_fail
;
15084 swig_obj
[0] = args
;
15085 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_DISOWN
| 0 );
15086 if (!SWIG_IsOK(res1
)) {
15087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontEnumerator" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15089 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15094 wxPyEndAllowThreads(__tstate
);
15095 if (PyErr_Occurred()) SWIG_fail
;
15097 resultobj
= SWIG_Py_Void();
15104 SWIGINTERN PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15105 PyObject
*resultobj
= 0;
15106 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15107 PyObject
*arg2
= (PyObject
*) 0 ;
15108 PyObject
*arg3
= (PyObject
*) 0 ;
15114 PyObject
* obj0
= 0 ;
15115 PyObject
* obj1
= 0 ;
15116 PyObject
* obj2
= 0 ;
15117 PyObject
* obj3
= 0 ;
15118 char * kwnames
[] = {
15119 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
15122 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15123 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15124 if (!SWIG_IsOK(res1
)) {
15125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15127 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15130 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
15131 if (!SWIG_IsOK(ecode4
)) {
15132 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "4"" of type '" "bool""'");
15134 arg4
= static_cast< bool >(val4
);
15136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15137 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
15138 wxPyEndAllowThreads(__tstate
);
15139 if (PyErr_Occurred()) SWIG_fail
;
15141 resultobj
= SWIG_Py_Void();
15148 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15149 PyObject
*resultobj
= 0;
15150 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15151 wxFontEncoding arg2
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
15152 bool arg3
= (bool) false ;
15160 PyObject
* obj0
= 0 ;
15161 PyObject
* obj1
= 0 ;
15162 PyObject
* obj2
= 0 ;
15163 char * kwnames
[] = {
15164 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
15167 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15168 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15169 if (!SWIG_IsOK(res1
)) {
15170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15172 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15174 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15175 if (!SWIG_IsOK(ecode2
)) {
15176 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "2"" of type '" "wxFontEncoding""'");
15178 arg2
= static_cast< wxFontEncoding
>(val2
);
15181 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
15182 if (!SWIG_IsOK(ecode3
)) {
15183 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "3"" of type '" "bool""'");
15185 arg3
= static_cast< bool >(val3
);
15188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15189 result
= (bool)(arg1
)->EnumerateFacenames(arg2
,arg3
);
15190 wxPyEndAllowThreads(__tstate
);
15191 if (PyErr_Occurred()) SWIG_fail
;
15194 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15202 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15203 PyObject
*resultobj
= 0;
15204 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15205 wxString
const &arg2_defvalue
= wxPyEmptyString
;
15206 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
15210 bool temp2
= false ;
15211 PyObject
* obj0
= 0 ;
15212 PyObject
* obj1
= 0 ;
15213 char * kwnames
[] = {
15214 (char *) "self",(char *) "facename", NULL
15217 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15218 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15219 if (!SWIG_IsOK(res1
)) {
15220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateEncodings" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15222 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15225 arg2
= wxString_in_helper(obj1
);
15226 if (arg2
== NULL
) SWIG_fail
;
15231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15232 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
15233 wxPyEndAllowThreads(__tstate
);
15234 if (PyErr_Occurred()) SWIG_fail
;
15237 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15253 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15254 PyObject
*resultobj
= 0;
15255 PyObject
*result
= 0 ;
15257 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetEncodings",0,0,0)) SWIG_fail
;
15259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15260 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings();
15261 wxPyEndAllowThreads(__tstate
);
15262 if (PyErr_Occurred()) SWIG_fail
;
15264 resultobj
= result
;
15271 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15272 PyObject
*resultobj
= 0;
15273 PyObject
*result
= 0 ;
15275 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetFacenames",0,0,0)) SWIG_fail
;
15277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15278 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames();
15279 wxPyEndAllowThreads(__tstate
);
15280 if (PyErr_Occurred()) SWIG_fail
;
15282 resultobj
= result
;
15289 SWIGINTERN PyObject
*_wrap_FontEnumerator_IsValidFacename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15290 PyObject
*resultobj
= 0;
15291 wxString
*arg1
= 0 ;
15293 bool temp1
= false ;
15294 PyObject
* obj0
= 0 ;
15295 char * kwnames
[] = {
15296 (char *) "str", NULL
15299 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_IsValidFacename",kwnames
,&obj0
)) SWIG_fail
;
15301 arg1
= wxString_in_helper(obj0
);
15302 if (arg1
== NULL
) SWIG_fail
;
15306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15307 result
= (bool)wxPyFontEnumerator::IsValidFacename((wxString
const &)*arg1
);
15308 wxPyEndAllowThreads(__tstate
);
15309 if (PyErr_Occurred()) SWIG_fail
;
15312 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15328 SWIGINTERN PyObject
*FontEnumerator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15330 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15331 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyFontEnumerator
, SWIG_NewClientData(obj
));
15332 return SWIG_Py_Void();
15335 SWIGINTERN PyObject
*FontEnumerator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15336 return SWIG_Python_InitShadowInstance(args
);
15339 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15340 PyObject
*resultobj
= 0;
15341 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15347 PyObject
*swig_obj
[2] ;
15349 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Language_set",2,2,swig_obj
)) SWIG_fail
;
15350 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15351 if (!SWIG_IsOK(res1
)) {
15352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15354 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15355 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
15356 if (!SWIG_IsOK(ecode2
)) {
15357 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LanguageInfo_Language_set" "', expected argument " "2"" of type '" "int""'");
15359 arg2
= static_cast< int >(val2
);
15360 if (arg1
) (arg1
)->Language
= arg2
;
15362 resultobj
= SWIG_Py_Void();
15369 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15370 PyObject
*resultobj
= 0;
15371 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15375 PyObject
*swig_obj
[1] ;
15377 if (!args
) SWIG_fail
;
15378 swig_obj
[0] = args
;
15379 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15380 if (!SWIG_IsOK(res1
)) {
15381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15383 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15384 result
= (int) ((arg1
)->Language
);
15385 resultobj
= SWIG_From_int(static_cast< int >(result
));
15392 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15393 PyObject
*resultobj
= 0;
15394 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15395 wxString
*arg2
= (wxString
*) 0 ;
15398 bool temp2
= false ;
15399 PyObject
*swig_obj
[2] ;
15401 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_CanonicalName_set",2,2,swig_obj
)) SWIG_fail
;
15402 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15403 if (!SWIG_IsOK(res1
)) {
15404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15406 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15408 arg2
= wxString_in_helper(swig_obj
[1]);
15409 if (arg2
== NULL
) SWIG_fail
;
15412 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
15414 resultobj
= SWIG_Py_Void();
15429 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15430 PyObject
*resultobj
= 0;
15431 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15432 wxString
*result
= 0 ;
15435 PyObject
*swig_obj
[1] ;
15437 if (!args
) SWIG_fail
;
15438 swig_obj
[0] = args
;
15439 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15440 if (!SWIG_IsOK(res1
)) {
15441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15443 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15444 result
= (wxString
*)& ((arg1
)->CanonicalName
);
15447 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15449 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15458 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15459 PyObject
*resultobj
= 0;
15460 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15461 wxString
*arg2
= (wxString
*) 0 ;
15464 bool temp2
= false ;
15465 PyObject
*swig_obj
[2] ;
15467 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Description_set",2,2,swig_obj
)) SWIG_fail
;
15468 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15469 if (!SWIG_IsOK(res1
)) {
15470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15472 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15474 arg2
= wxString_in_helper(swig_obj
[1]);
15475 if (arg2
== NULL
) SWIG_fail
;
15478 if (arg1
) (arg1
)->Description
= *arg2
;
15480 resultobj
= SWIG_Py_Void();
15495 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15496 PyObject
*resultobj
= 0;
15497 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15498 wxString
*result
= 0 ;
15501 PyObject
*swig_obj
[1] ;
15503 if (!args
) SWIG_fail
;
15504 swig_obj
[0] = args
;
15505 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15506 if (!SWIG_IsOK(res1
)) {
15507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15509 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15510 result
= (wxString
*)& ((arg1
)->Description
);
15513 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15515 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15524 SWIGINTERN PyObject
*LanguageInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15526 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15527 SWIG_TypeNewClientData(SWIGTYPE_p_wxLanguageInfo
, SWIG_NewClientData(obj
));
15528 return SWIG_Py_Void();
15531 SWIGINTERN PyObject
*_wrap_new_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15532 PyObject
*resultobj
= 0;
15533 int arg1
= (int) -1 ;
15534 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
15535 wxLocale
*result
= 0 ;
15540 PyObject
* obj0
= 0 ;
15541 PyObject
* obj1
= 0 ;
15542 char * kwnames
[] = {
15543 (char *) "language",(char *) "flags", NULL
15546 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15548 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15549 if (!SWIG_IsOK(ecode1
)) {
15550 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Locale" "', expected argument " "1"" of type '" "int""'");
15552 arg1
= static_cast< int >(val1
);
15555 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15556 if (!SWIG_IsOK(ecode2
)) {
15557 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Locale" "', expected argument " "2"" of type '" "int""'");
15559 arg2
= static_cast< int >(val2
);
15562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15563 result
= (wxLocale
*)new_wxLocale(arg1
,arg2
);
15564 wxPyEndAllowThreads(__tstate
);
15565 if (PyErr_Occurred()) SWIG_fail
;
15567 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, SWIG_POINTER_NEW
| 0 );
15574 SWIGINTERN PyObject
*_wrap_delete_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15575 PyObject
*resultobj
= 0;
15576 wxLocale
*arg1
= (wxLocale
*) 0 ;
15579 PyObject
*swig_obj
[1] ;
15581 if (!args
) SWIG_fail
;
15582 swig_obj
[0] = args
;
15583 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, SWIG_POINTER_DISOWN
| 0 );
15584 if (!SWIG_IsOK(res1
)) {
15585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Locale" "', expected argument " "1"" of type '" "wxLocale *""'");
15587 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15592 wxPyEndAllowThreads(__tstate
);
15593 if (PyErr_Occurred()) SWIG_fail
;
15595 resultobj
= SWIG_Py_Void();
15602 SWIGINTERN PyObject
*_wrap_Locale_Init1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15603 PyObject
*resultobj
= 0;
15604 wxLocale
*arg1
= (wxLocale
*) 0 ;
15605 wxString
*arg2
= 0 ;
15606 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15607 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15608 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15609 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15610 bool arg5
= (bool) true ;
15611 bool arg6
= (bool) false ;
15615 bool temp2
= false ;
15616 bool temp3
= false ;
15617 bool temp4
= false ;
15622 PyObject
* obj0
= 0 ;
15623 PyObject
* obj1
= 0 ;
15624 PyObject
* obj2
= 0 ;
15625 PyObject
* obj3
= 0 ;
15626 PyObject
* obj4
= 0 ;
15627 PyObject
* obj5
= 0 ;
15628 char * kwnames
[] = {
15629 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
15632 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
15633 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15634 if (!SWIG_IsOK(res1
)) {
15635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init1" "', expected argument " "1"" of type '" "wxLocale *""'");
15637 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15639 arg2
= wxString_in_helper(obj1
);
15640 if (arg2
== NULL
) SWIG_fail
;
15645 arg3
= wxString_in_helper(obj2
);
15646 if (arg3
== NULL
) SWIG_fail
;
15652 arg4
= wxString_in_helper(obj3
);
15653 if (arg4
== NULL
) SWIG_fail
;
15658 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
15659 if (!SWIG_IsOK(ecode5
)) {
15660 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Locale_Init1" "', expected argument " "5"" of type '" "bool""'");
15662 arg5
= static_cast< bool >(val5
);
15665 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
15666 if (!SWIG_IsOK(ecode6
)) {
15667 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Locale_Init1" "', expected argument " "6"" of type '" "bool""'");
15669 arg6
= static_cast< bool >(val6
);
15672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15673 result
= (bool)wxLocale_Init1(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
15674 wxPyEndAllowThreads(__tstate
);
15675 if (PyErr_Occurred()) SWIG_fail
;
15678 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15710 SWIGINTERN PyObject
*_wrap_Locale_Init2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15711 PyObject
*resultobj
= 0;
15712 wxLocale
*arg1
= (wxLocale
*) 0 ;
15713 int arg2
= (int) wxLANGUAGE_DEFAULT
;
15714 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
15722 PyObject
* obj0
= 0 ;
15723 PyObject
* obj1
= 0 ;
15724 PyObject
* obj2
= 0 ;
15725 char * kwnames
[] = {
15726 (char *) "self",(char *) "language",(char *) "flags", NULL
15729 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15730 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15731 if (!SWIG_IsOK(res1
)) {
15732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init2" "', expected argument " "1"" of type '" "wxLocale *""'");
15734 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15736 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15737 if (!SWIG_IsOK(ecode2
)) {
15738 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Locale_Init2" "', expected argument " "2"" of type '" "int""'");
15740 arg2
= static_cast< int >(val2
);
15743 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15744 if (!SWIG_IsOK(ecode3
)) {
15745 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Locale_Init2" "', expected argument " "3"" of type '" "int""'");
15747 arg3
= static_cast< int >(val3
);
15750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15751 result
= (bool)wxLocale_Init2(arg1
,arg2
,arg3
);
15752 wxPyEndAllowThreads(__tstate
);
15753 if (PyErr_Occurred()) SWIG_fail
;
15756 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15764 SWIGINTERN PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15765 PyObject
*resultobj
= 0;
15768 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemLanguage",0,0,0)) SWIG_fail
;
15770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15771 result
= (int)wxLocale::GetSystemLanguage();
15772 wxPyEndAllowThreads(__tstate
);
15773 if (PyErr_Occurred()) SWIG_fail
;
15775 resultobj
= SWIG_From_int(static_cast< int >(result
));
15782 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15783 PyObject
*resultobj
= 0;
15784 wxFontEncoding result
;
15786 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncoding",0,0,0)) SWIG_fail
;
15788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15789 result
= (wxFontEncoding
)wxLocale::GetSystemEncoding();
15790 wxPyEndAllowThreads(__tstate
);
15791 if (PyErr_Occurred()) SWIG_fail
;
15793 resultobj
= SWIG_From_int(static_cast< int >(result
));
15800 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15801 PyObject
*resultobj
= 0;
15804 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncodingName",0,0,0)) SWIG_fail
;
15806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15807 result
= wxLocale::GetSystemEncodingName();
15808 wxPyEndAllowThreads(__tstate
);
15809 if (PyErr_Occurred()) SWIG_fail
;
15813 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15815 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15824 SWIGINTERN PyObject
*_wrap_Locale_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15825 PyObject
*resultobj
= 0;
15826 wxLocale
*arg1
= (wxLocale
*) 0 ;
15830 PyObject
*swig_obj
[1] ;
15832 if (!args
) SWIG_fail
;
15833 swig_obj
[0] = args
;
15834 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15835 if (!SWIG_IsOK(res1
)) {
15836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsOk" "', expected argument " "1"" of type '" "wxLocale const *""'");
15838 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15841 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
15842 wxPyEndAllowThreads(__tstate
);
15843 if (PyErr_Occurred()) SWIG_fail
;
15846 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15854 SWIGINTERN PyObject
*_wrap_Locale_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15855 PyObject
*resultobj
= 0;
15856 wxLocale
*arg1
= (wxLocale
*) 0 ;
15860 PyObject
*swig_obj
[1] ;
15862 if (!args
) SWIG_fail
;
15863 swig_obj
[0] = args
;
15864 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15865 if (!SWIG_IsOK(res1
)) {
15866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLocale" "', expected argument " "1"" of type '" "wxLocale const *""'");
15868 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15871 result
= ((wxLocale
const *)arg1
)->GetLocale();
15872 wxPyEndAllowThreads(__tstate
);
15873 if (PyErr_Occurred()) SWIG_fail
;
15877 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15879 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15888 SWIGINTERN PyObject
*_wrap_Locale_GetLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15889 PyObject
*resultobj
= 0;
15890 wxLocale
*arg1
= (wxLocale
*) 0 ;
15894 PyObject
*swig_obj
[1] ;
15896 if (!args
) SWIG_fail
;
15897 swig_obj
[0] = args
;
15898 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15899 if (!SWIG_IsOK(res1
)) {
15900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLanguage" "', expected argument " "1"" of type '" "wxLocale const *""'");
15902 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15905 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
15906 wxPyEndAllowThreads(__tstate
);
15907 if (PyErr_Occurred()) SWIG_fail
;
15909 resultobj
= SWIG_From_int(static_cast< int >(result
));
15916 SWIGINTERN PyObject
*_wrap_Locale_GetSysName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15917 PyObject
*resultobj
= 0;
15918 wxLocale
*arg1
= (wxLocale
*) 0 ;
15922 PyObject
*swig_obj
[1] ;
15924 if (!args
) SWIG_fail
;
15925 swig_obj
[0] = args
;
15926 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15927 if (!SWIG_IsOK(res1
)) {
15928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetSysName" "', expected argument " "1"" of type '" "wxLocale const *""'");
15930 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15933 result
= ((wxLocale
const *)arg1
)->GetSysName();
15934 wxPyEndAllowThreads(__tstate
);
15935 if (PyErr_Occurred()) SWIG_fail
;
15939 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15941 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15950 SWIGINTERN PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15951 PyObject
*resultobj
= 0;
15952 wxLocale
*arg1
= (wxLocale
*) 0 ;
15956 PyObject
*swig_obj
[1] ;
15958 if (!args
) SWIG_fail
;
15959 swig_obj
[0] = args
;
15960 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15961 if (!SWIG_IsOK(res1
)) {
15962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetCanonicalName" "', expected argument " "1"" of type '" "wxLocale const *""'");
15964 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15967 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
15968 wxPyEndAllowThreads(__tstate
);
15969 if (PyErr_Occurred()) SWIG_fail
;
15973 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15975 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15984 SWIGINTERN PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15985 PyObject
*resultobj
= 0;
15986 wxString
*arg1
= 0 ;
15987 bool temp1
= false ;
15988 PyObject
* obj0
= 0 ;
15989 char * kwnames
[] = {
15990 (char *) "prefix", NULL
15993 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) SWIG_fail
;
15995 arg1
= wxString_in_helper(obj0
);
15996 if (arg1
== NULL
) SWIG_fail
;
16000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16001 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
16002 wxPyEndAllowThreads(__tstate
);
16003 if (PyErr_Occurred()) SWIG_fail
;
16005 resultobj
= SWIG_Py_Void();
16020 SWIGINTERN PyObject
*_wrap_Locale_AddCatalog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16021 PyObject
*resultobj
= 0;
16022 wxLocale
*arg1
= (wxLocale
*) 0 ;
16023 wxString
*arg2
= 0 ;
16027 bool temp2
= false ;
16028 PyObject
* obj0
= 0 ;
16029 PyObject
* obj1
= 0 ;
16030 char * kwnames
[] = {
16031 (char *) "self",(char *) "szDomain", NULL
16034 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16035 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16036 if (!SWIG_IsOK(res1
)) {
16037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddCatalog" "', expected argument " "1"" of type '" "wxLocale *""'");
16039 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16041 arg2
= wxString_in_helper(obj1
);
16042 if (arg2
== NULL
) SWIG_fail
;
16046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16047 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
16048 wxPyEndAllowThreads(__tstate
);
16049 if (PyErr_Occurred()) SWIG_fail
;
16052 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16068 SWIGINTERN PyObject
*_wrap_Locale_IsAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16069 PyObject
*resultobj
= 0;
16074 PyObject
* obj0
= 0 ;
16075 char * kwnames
[] = {
16076 (char *) "lang", NULL
16079 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsAvailable",kwnames
,&obj0
)) SWIG_fail
;
16080 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16081 if (!SWIG_IsOK(ecode1
)) {
16082 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_IsAvailable" "', expected argument " "1"" of type '" "int""'");
16084 arg1
= static_cast< int >(val1
);
16086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16087 result
= (bool)wxLocale::IsAvailable(arg1
);
16088 wxPyEndAllowThreads(__tstate
);
16089 if (PyErr_Occurred()) SWIG_fail
;
16092 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16100 SWIGINTERN PyObject
*_wrap_Locale_IsLoaded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16101 PyObject
*resultobj
= 0;
16102 wxLocale
*arg1
= (wxLocale
*) 0 ;
16103 wxString
*arg2
= 0 ;
16107 bool temp2
= false ;
16108 PyObject
* obj0
= 0 ;
16109 PyObject
* obj1
= 0 ;
16110 char * kwnames
[] = {
16111 (char *) "self",(char *) "szDomain", NULL
16114 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16115 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16116 if (!SWIG_IsOK(res1
)) {
16117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsLoaded" "', expected argument " "1"" of type '" "wxLocale const *""'");
16119 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16121 arg2
= wxString_in_helper(obj1
);
16122 if (arg2
== NULL
) SWIG_fail
;
16126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16127 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
16128 wxPyEndAllowThreads(__tstate
);
16129 if (PyErr_Occurred()) SWIG_fail
;
16132 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16148 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16149 PyObject
*resultobj
= 0;
16151 wxLanguageInfo
*result
= 0 ;
16154 PyObject
* obj0
= 0 ;
16155 char * kwnames
[] = {
16156 (char *) "lang", NULL
16159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
16160 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16161 if (!SWIG_IsOK(ecode1
)) {
16162 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageInfo" "', expected argument " "1"" of type '" "int""'");
16164 arg1
= static_cast< int >(val1
);
16166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16167 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
16168 wxPyEndAllowThreads(__tstate
);
16169 if (PyErr_Occurred()) SWIG_fail
;
16171 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16178 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16179 PyObject
*resultobj
= 0;
16184 PyObject
* obj0
= 0 ;
16185 char * kwnames
[] = {
16186 (char *) "lang", NULL
16189 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) SWIG_fail
;
16190 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16191 if (!SWIG_IsOK(ecode1
)) {
16192 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageName" "', expected argument " "1"" of type '" "int""'");
16194 arg1
= static_cast< int >(val1
);
16196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16197 result
= wxLocale::GetLanguageName(arg1
);
16198 wxPyEndAllowThreads(__tstate
);
16199 if (PyErr_Occurred()) SWIG_fail
;
16203 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16205 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16214 SWIGINTERN PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16215 PyObject
*resultobj
= 0;
16216 wxString
*arg1
= 0 ;
16217 wxLanguageInfo
*result
= 0 ;
16218 bool temp1
= false ;
16219 PyObject
* obj0
= 0 ;
16220 char * kwnames
[] = {
16221 (char *) "locale", NULL
16224 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
16226 arg1
= wxString_in_helper(obj0
);
16227 if (arg1
== NULL
) SWIG_fail
;
16231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16232 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
16233 wxPyEndAllowThreads(__tstate
);
16234 if (PyErr_Occurred()) SWIG_fail
;
16236 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16251 SWIGINTERN PyObject
*_wrap_Locale_AddLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16252 PyObject
*resultobj
= 0;
16253 wxLanguageInfo
*arg1
= 0 ;
16256 PyObject
* obj0
= 0 ;
16257 char * kwnames
[] = {
16258 (char *) "info", NULL
16261 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) SWIG_fail
;
16262 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxLanguageInfo
, 0 | 0);
16263 if (!SWIG_IsOK(res1
)) {
16264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
16267 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
16269 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16272 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
16273 wxPyEndAllowThreads(__tstate
);
16274 if (PyErr_Occurred()) SWIG_fail
;
16276 resultobj
= SWIG_Py_Void();
16283 SWIGINTERN PyObject
*_wrap_Locale_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16284 PyObject
*resultobj
= 0;
16285 wxLocale
*arg1
= (wxLocale
*) 0 ;
16286 wxString
*arg2
= 0 ;
16287 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16288 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16292 bool temp2
= false ;
16293 bool temp3
= false ;
16294 PyObject
* obj0
= 0 ;
16295 PyObject
* obj1
= 0 ;
16296 PyObject
* obj2
= 0 ;
16297 char * kwnames
[] = {
16298 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
16301 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16302 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16303 if (!SWIG_IsOK(res1
)) {
16304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetString" "', expected argument " "1"" of type '" "wxLocale const *""'");
16306 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16308 arg2
= wxString_in_helper(obj1
);
16309 if (arg2
== NULL
) SWIG_fail
;
16314 arg3
= wxString_in_helper(obj2
);
16315 if (arg3
== NULL
) SWIG_fail
;
16320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16321 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
16322 wxPyEndAllowThreads(__tstate
);
16323 if (PyErr_Occurred()) SWIG_fail
;
16327 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16329 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16354 SWIGINTERN PyObject
*_wrap_Locale_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16355 PyObject
*resultobj
= 0;
16356 wxLocale
*arg1
= (wxLocale
*) 0 ;
16357 wxString
*result
= 0 ;
16360 PyObject
*swig_obj
[1] ;
16362 if (!args
) SWIG_fail
;
16363 swig_obj
[0] = args
;
16364 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16365 if (!SWIG_IsOK(res1
)) {
16366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16368 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16372 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
16373 result
= (wxString
*) &_result_ref
;
16375 wxPyEndAllowThreads(__tstate
);
16376 if (PyErr_Occurred()) SWIG_fail
;
16380 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16382 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16391 SWIGINTERN PyObject
*Locale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16393 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16394 SWIG_TypeNewClientData(SWIGTYPE_p_wxLocale
, SWIG_NewClientData(obj
));
16395 return SWIG_Py_Void();
16398 SWIGINTERN PyObject
*Locale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16399 return SWIG_Python_InitShadowInstance(args
);
16402 SWIGINTERN PyObject
*_wrap_new_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16403 PyObject
*resultobj
= 0;
16404 int arg1
= (int) -1 ;
16405 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16406 wxPyLocale
*result
= 0 ;
16411 PyObject
* obj0
= 0 ;
16412 PyObject
* obj1
= 0 ;
16413 char * kwnames
[] = {
16414 (char *) "language",(char *) "flags", NULL
16417 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyLocale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16419 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16420 if (!SWIG_IsOK(ecode1
)) {
16421 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PyLocale" "', expected argument " "1"" of type '" "int""'");
16423 arg1
= static_cast< int >(val1
);
16426 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16427 if (!SWIG_IsOK(ecode2
)) {
16428 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyLocale" "', expected argument " "2"" of type '" "int""'");
16430 arg2
= static_cast< int >(val2
);
16433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16434 result
= (wxPyLocale
*)new_wxPyLocale(arg1
,arg2
);
16435 wxPyEndAllowThreads(__tstate
);
16436 if (PyErr_Occurred()) SWIG_fail
;
16438 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_NEW
| 0 );
16445 SWIGINTERN PyObject
*_wrap_delete_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16446 PyObject
*resultobj
= 0;
16447 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16450 PyObject
*swig_obj
[1] ;
16452 if (!args
) SWIG_fail
;
16453 swig_obj
[0] = args
;
16454 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_DISOWN
| 0 );
16455 if (!SWIG_IsOK(res1
)) {
16456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PyLocale" "', expected argument " "1"" of type '" "wxPyLocale *""'");
16458 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16463 wxPyEndAllowThreads(__tstate
);
16464 if (PyErr_Occurred()) SWIG_fail
;
16466 resultobj
= SWIG_Py_Void();
16473 SWIGINTERN PyObject
*_wrap_PyLocale__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16474 PyObject
*resultobj
= 0;
16475 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16476 PyObject
*arg2
= (PyObject
*) 0 ;
16477 PyObject
*arg3
= (PyObject
*) 0 ;
16480 PyObject
* obj0
= 0 ;
16481 PyObject
* obj1
= 0 ;
16482 PyObject
* obj2
= 0 ;
16483 char * kwnames
[] = {
16484 (char *) "self",(char *) "self",(char *) "_class", NULL
16487 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLocale__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16488 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16489 if (!SWIG_IsOK(res1
)) {
16490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyLocale *""'");
16492 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16497 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16498 wxPyEndAllowThreads(__tstate
);
16499 if (PyErr_Occurred()) SWIG_fail
;
16501 resultobj
= SWIG_Py_Void();
16508 SWIGINTERN PyObject
*_wrap_PyLocale_GetSingularString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16509 PyObject
*resultobj
= 0;
16510 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16511 wxChar
*arg2
= (wxChar
*) 0 ;
16512 wxChar
*arg3
= (wxChar
*) NULL
;
16513 wxChar
*result
= 0 ;
16520 PyObject
* obj0
= 0 ;
16521 PyObject
* obj1
= 0 ;
16522 PyObject
* obj2
= 0 ;
16523 char * kwnames
[] = {
16524 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
16527 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyLocale_GetSingularString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16528 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16529 if (!SWIG_IsOK(res1
)) {
16530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetSingularString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
16532 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16533 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
16534 if (!SWIG_IsOK(res2
)) {
16535 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetSingularString" "', expected argument " "2"" of type '" "wxChar const *""'");
16537 arg2
= reinterpret_cast< wxChar
* >(argp2
);
16539 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
16540 if (!SWIG_IsOK(res3
)) {
16541 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetSingularString" "', expected argument " "3"" of type '" "wxChar const *""'");
16543 arg3
= reinterpret_cast< wxChar
* >(argp3
);
16546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16547 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetSingularString((wxChar
const *)arg2
,(wxChar
const *)arg3
);
16548 wxPyEndAllowThreads(__tstate
);
16549 if (PyErr_Occurred()) SWIG_fail
;
16551 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
16558 SWIGINTERN PyObject
*_wrap_PyLocale_GetPluralString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16559 PyObject
*resultobj
= 0;
16560 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16561 wxChar
*arg2
= (wxChar
*) 0 ;
16562 wxChar
*arg3
= (wxChar
*) 0 ;
16564 wxChar
*arg5
= (wxChar
*) NULL
;
16565 wxChar
*result
= 0 ;
16576 PyObject
* obj0
= 0 ;
16577 PyObject
* obj1
= 0 ;
16578 PyObject
* obj2
= 0 ;
16579 PyObject
* obj3
= 0 ;
16580 PyObject
* obj4
= 0 ;
16581 char * kwnames
[] = {
16582 (char *) "self",(char *) "szOrigString",(char *) "szOrigString2",(char *) "n",(char *) "szDomain", NULL
16585 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PyLocale_GetPluralString",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
16586 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16587 if (!SWIG_IsOK(res1
)) {
16588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetPluralString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
16590 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16591 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
16592 if (!SWIG_IsOK(res2
)) {
16593 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetPluralString" "', expected argument " "2"" of type '" "wxChar const *""'");
16595 arg2
= reinterpret_cast< wxChar
* >(argp2
);
16596 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
16597 if (!SWIG_IsOK(res3
)) {
16598 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetPluralString" "', expected argument " "3"" of type '" "wxChar const *""'");
16600 arg3
= reinterpret_cast< wxChar
* >(argp3
);
16601 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
16602 if (!SWIG_IsOK(ecode4
)) {
16603 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyLocale_GetPluralString" "', expected argument " "4"" of type '" "size_t""'");
16605 arg4
= static_cast< size_t >(val4
);
16607 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxChar
, 0 | 0 );
16608 if (!SWIG_IsOK(res5
)) {
16609 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "PyLocale_GetPluralString" "', expected argument " "5"" of type '" "wxChar const *""'");
16611 arg5
= reinterpret_cast< wxChar
* >(argp5
);
16614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16615 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetPluralString((wxChar
const *)arg2
,(wxChar
const *)arg3
,arg4
,(wxChar
const *)arg5
);
16616 wxPyEndAllowThreads(__tstate
);
16617 if (PyErr_Occurred()) SWIG_fail
;
16619 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
16626 SWIGINTERN PyObject
*PyLocale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16628 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16629 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyLocale
, SWIG_NewClientData(obj
));
16630 return SWIG_Py_Void();
16633 SWIGINTERN PyObject
*PyLocale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16634 return SWIG_Python_InitShadowInstance(args
);
16637 SWIGINTERN PyObject
*_wrap_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16638 PyObject
*resultobj
= 0;
16639 wxLocale
*result
= 0 ;
16641 if (!SWIG_Python_UnpackTuple(args
,"GetLocale",0,0,0)) SWIG_fail
;
16643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16644 result
= (wxLocale
*)wxGetLocale();
16645 wxPyEndAllowThreads(__tstate
);
16646 if (PyErr_Occurred()) SWIG_fail
;
16648 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, 0 | 0 );
16655 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
16656 PyObject
*resultobj
= 0;
16657 wxString
*arg1
= 0 ;
16659 bool temp1
= false ;
16661 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
16663 arg1
= wxString_in_helper(swig_obj
[0]);
16664 if (arg1
== NULL
) SWIG_fail
;
16668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16669 result
= wxGetTranslation((wxString
const &)*arg1
);
16670 wxPyEndAllowThreads(__tstate
);
16671 if (PyErr_Occurred()) SWIG_fail
;
16675 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16677 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16694 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
16695 PyObject
*resultobj
= 0;
16696 wxString
*arg1
= 0 ;
16697 wxString
*arg2
= 0 ;
16699 bool temp1
= false ;
16700 bool temp2
= false ;
16702 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
16704 arg1
= wxString_in_helper(swig_obj
[0]);
16705 if (arg1
== NULL
) SWIG_fail
;
16709 arg2
= wxString_in_helper(swig_obj
[1]);
16710 if (arg2
== NULL
) SWIG_fail
;
16714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16715 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
);
16716 wxPyEndAllowThreads(__tstate
);
16717 if (PyErr_Occurred()) SWIG_fail
;
16721 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16723 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16748 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
16749 PyObject
*resultobj
= 0;
16750 wxString
*arg1
= 0 ;
16751 wxString
*arg2
= 0 ;
16754 bool temp1
= false ;
16755 bool temp2
= false ;
16759 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
16761 arg1
= wxString_in_helper(swig_obj
[0]);
16762 if (arg1
== NULL
) SWIG_fail
;
16766 arg2
= wxString_in_helper(swig_obj
[1]);
16767 if (arg2
== NULL
) SWIG_fail
;
16770 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
16771 if (!SWIG_IsOK(ecode3
)) {
16772 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
16774 arg3
= static_cast< size_t >(val3
);
16776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16777 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
16778 wxPyEndAllowThreads(__tstate
);
16779 if (PyErr_Occurred()) SWIG_fail
;
16783 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16785 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16810 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_3(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
16811 PyObject
*resultobj
= 0;
16812 wxString
*arg1
= 0 ;
16813 wxString
*arg2
= 0 ;
16815 wxString
*arg4
= 0 ;
16817 bool temp1
= false ;
16818 bool temp2
= false ;
16821 bool temp4
= false ;
16823 if ((nobjs
< 4) || (nobjs
> 4)) SWIG_fail
;
16825 arg1
= wxString_in_helper(swig_obj
[0]);
16826 if (arg1
== NULL
) SWIG_fail
;
16830 arg2
= wxString_in_helper(swig_obj
[1]);
16831 if (arg2
== NULL
) SWIG_fail
;
16834 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
16835 if (!SWIG_IsOK(ecode3
)) {
16836 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
16838 arg3
= static_cast< size_t >(val3
);
16840 arg4
= wxString_in_helper(swig_obj
[3]);
16841 if (arg4
== NULL
) SWIG_fail
;
16845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16846 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxString
const &)*arg4
);
16847 wxPyEndAllowThreads(__tstate
);
16848 if (PyErr_Occurred()) SWIG_fail
;
16852 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16854 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16887 SWIGINTERN PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
16891 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GetTranslation",0,4,argv
))) SWIG_fail
;
16894 return _wrap_GetTranslation__SWIG_0(self
, argc
, argv
);
16897 return _wrap_GetTranslation__SWIG_1(self
, argc
, argv
);
16900 return _wrap_GetTranslation__SWIG_2(self
, argc
, argv
);
16903 return _wrap_GetTranslation__SWIG_3(self
, argc
, argv
);
16907 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GetTranslation'");
16912 SWIGINTERN PyObject
*_wrap_new_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16913 PyObject
*resultobj
= 0;
16914 wxEncodingConverter
*result
= 0 ;
16916 if (!SWIG_Python_UnpackTuple(args
,"new_EncodingConverter",0,0,0)) SWIG_fail
;
16918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16919 result
= (wxEncodingConverter
*)new wxEncodingConverter();
16920 wxPyEndAllowThreads(__tstate
);
16921 if (PyErr_Occurred()) SWIG_fail
;
16923 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_NEW
| 0 );
16930 SWIGINTERN PyObject
*_wrap_delete_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16931 PyObject
*resultobj
= 0;
16932 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
16935 PyObject
*swig_obj
[1] ;
16937 if (!args
) SWIG_fail
;
16938 swig_obj
[0] = args
;
16939 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_DISOWN
| 0 );
16940 if (!SWIG_IsOK(res1
)) {
16941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_EncodingConverter" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
16943 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
16945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16948 wxPyEndAllowThreads(__tstate
);
16949 if (PyErr_Occurred()) SWIG_fail
;
16951 resultobj
= SWIG_Py_Void();
16958 SWIGINTERN PyObject
*_wrap_EncodingConverter_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16959 PyObject
*resultobj
= 0;
16960 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
16961 wxFontEncoding arg2
;
16962 wxFontEncoding arg3
;
16963 int arg4
= (int) wxCONVERT_STRICT
;
16973 PyObject
* obj0
= 0 ;
16974 PyObject
* obj1
= 0 ;
16975 PyObject
* obj2
= 0 ;
16976 PyObject
* obj3
= 0 ;
16977 char * kwnames
[] = {
16978 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
16981 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16982 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
16983 if (!SWIG_IsOK(res1
)) {
16984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Init" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
16986 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
16987 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16988 if (!SWIG_IsOK(ecode2
)) {
16989 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_Init" "', expected argument " "2"" of type '" "wxFontEncoding""'");
16991 arg2
= static_cast< wxFontEncoding
>(val2
);
16992 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16993 if (!SWIG_IsOK(ecode3
)) {
16994 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "EncodingConverter_Init" "', expected argument " "3"" of type '" "wxFontEncoding""'");
16996 arg3
= static_cast< wxFontEncoding
>(val3
);
16998 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16999 if (!SWIG_IsOK(ecode4
)) {
17000 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "EncodingConverter_Init" "', expected argument " "4"" of type '" "int""'");
17002 arg4
= static_cast< int >(val4
);
17005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17006 result
= (bool)(arg1
)->Init(arg2
,arg3
,arg4
);
17007 wxPyEndAllowThreads(__tstate
);
17008 if (PyErr_Occurred()) SWIG_fail
;
17011 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17019 SWIGINTERN PyObject
*_wrap_EncodingConverter_Convert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17020 PyObject
*resultobj
= 0;
17021 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17022 wxString
*arg2
= 0 ;
17026 bool temp2
= false ;
17027 PyObject
* obj0
= 0 ;
17028 PyObject
* obj1
= 0 ;
17029 char * kwnames
[] = {
17030 (char *) "self",(char *) "input", NULL
17033 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17034 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
17035 if (!SWIG_IsOK(res1
)) {
17036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Convert" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17038 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17040 arg2
= wxString_in_helper(obj1
);
17041 if (arg2
== NULL
) SWIG_fail
;
17045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17046 result
= (arg1
)->Convert((wxString
const &)*arg2
);
17047 wxPyEndAllowThreads(__tstate
);
17048 if (PyErr_Occurred()) SWIG_fail
;
17052 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17054 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17071 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17072 PyObject
*resultobj
= 0;
17073 wxFontEncoding arg1
;
17074 int arg2
= (int) wxPLATFORM_CURRENT
;
17075 wxFontEncodingArray result
;
17080 PyObject
* obj0
= 0 ;
17081 PyObject
* obj1
= 0 ;
17082 char * kwnames
[] = {
17083 (char *) "enc",(char *) "platform", NULL
17086 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17087 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17088 if (!SWIG_IsOK(ecode1
)) {
17089 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17091 arg1
= static_cast< wxFontEncoding
>(val1
);
17093 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17094 if (!SWIG_IsOK(ecode2
)) {
17095 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "2"" of type '" "int""'");
17097 arg2
= static_cast< int >(val2
);
17100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17101 result
= wxEncodingConverter::GetPlatformEquivalents(arg1
,arg2
);
17102 wxPyEndAllowThreads(__tstate
);
17103 if (PyErr_Occurred()) SWIG_fail
;
17106 resultobj
= PyList_New(0);
17107 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
17108 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
17109 PyList_Append(resultobj
, number
);
17119 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17120 PyObject
*resultobj
= 0;
17121 wxFontEncoding arg1
;
17122 wxFontEncodingArray result
;
17125 PyObject
* obj0
= 0 ;
17126 char * kwnames
[] = {
17127 (char *) "enc", NULL
17130 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) SWIG_fail
;
17131 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17132 if (!SWIG_IsOK(ecode1
)) {
17133 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetAllEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17135 arg1
= static_cast< wxFontEncoding
>(val1
);
17137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17138 result
= wxEncodingConverter::GetAllEquivalents(arg1
);
17139 wxPyEndAllowThreads(__tstate
);
17140 if (PyErr_Occurred()) SWIG_fail
;
17143 resultobj
= PyList_New(0);
17144 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
17145 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
17146 PyList_Append(resultobj
, number
);
17156 SWIGINTERN PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17157 PyObject
*resultobj
= 0;
17158 wxFontEncoding arg1
;
17159 wxFontEncoding arg2
;
17165 PyObject
* obj0
= 0 ;
17166 PyObject
* obj1
= 0 ;
17167 char * kwnames
[] = {
17168 (char *) "encIn",(char *) "encOut", NULL
17171 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17172 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17173 if (!SWIG_IsOK(ecode1
)) {
17174 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17176 arg1
= static_cast< wxFontEncoding
>(val1
);
17177 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17178 if (!SWIG_IsOK(ecode2
)) {
17179 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "2"" of type '" "wxFontEncoding""'");
17181 arg2
= static_cast< wxFontEncoding
>(val2
);
17183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17184 result
= (bool)wxEncodingConverter::CanConvert(arg1
,arg2
);
17185 wxPyEndAllowThreads(__tstate
);
17186 if (PyErr_Occurred()) SWIG_fail
;
17189 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17197 SWIGINTERN PyObject
*EncodingConverter_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17199 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17200 SWIG_TypeNewClientData(SWIGTYPE_p_wxEncodingConverter
, SWIG_NewClientData(obj
));
17201 return SWIG_Py_Void();
17204 SWIGINTERN PyObject
*EncodingConverter_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17205 return SWIG_Python_InitShadowInstance(args
);
17208 SWIGINTERN PyObject
*_wrap_delete_DC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17209 PyObject
*resultobj
= 0;
17210 wxDC
*arg1
= (wxDC
*) 0 ;
17213 PyObject
*swig_obj
[1] ;
17215 if (!args
) SWIG_fail
;
17216 swig_obj
[0] = args
;
17217 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, SWIG_POINTER_DISOWN
| 0 );
17218 if (!SWIG_IsOK(res1
)) {
17219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DC" "', expected argument " "1"" of type '" "wxDC *""'");
17221 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17226 wxPyEndAllowThreads(__tstate
);
17227 if (PyErr_Occurred()) SWIG_fail
;
17229 resultobj
= SWIG_Py_Void();
17236 SWIGINTERN PyObject
*_wrap_DC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17237 PyObject
*resultobj
= 0;
17238 wxDC
*arg1
= (wxDC
*) 0 ;
17241 wxColour
*arg4
= 0 ;
17242 int arg5
= (int) wxFLOOD_SURFACE
;
17253 PyObject
* obj0
= 0 ;
17254 PyObject
* obj1
= 0 ;
17255 PyObject
* obj2
= 0 ;
17256 PyObject
* obj3
= 0 ;
17257 PyObject
* obj4
= 0 ;
17258 char * kwnames
[] = {
17259 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
17262 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17263 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17264 if (!SWIG_IsOK(res1
)) {
17265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFill" "', expected argument " "1"" of type '" "wxDC *""'");
17267 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17268 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17269 if (!SWIG_IsOK(ecode2
)) {
17270 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_FloodFill" "', expected argument " "2"" of type '" "int""'");
17272 arg2
= static_cast< int >(val2
);
17273 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17274 if (!SWIG_IsOK(ecode3
)) {
17275 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_FloodFill" "', expected argument " "3"" of type '" "int""'");
17277 arg3
= static_cast< int >(val3
);
17280 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17283 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17284 if (!SWIG_IsOK(ecode5
)) {
17285 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_FloodFill" "', expected argument " "5"" of type '" "int""'");
17287 arg5
= static_cast< int >(val5
);
17290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17291 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
17292 wxPyEndAllowThreads(__tstate
);
17293 if (PyErr_Occurred()) SWIG_fail
;
17296 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17304 SWIGINTERN PyObject
*_wrap_DC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17305 PyObject
*resultobj
= 0;
17306 wxDC
*arg1
= (wxDC
*) 0 ;
17307 wxPoint
*arg2
= 0 ;
17308 wxColour
*arg3
= 0 ;
17309 int arg4
= (int) wxFLOOD_SURFACE
;
17317 PyObject
* obj0
= 0 ;
17318 PyObject
* obj1
= 0 ;
17319 PyObject
* obj2
= 0 ;
17320 PyObject
* obj3
= 0 ;
17321 char * kwnames
[] = {
17322 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
17325 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17326 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17327 if (!SWIG_IsOK(res1
)) {
17328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFillPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17330 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17333 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17337 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17340 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17341 if (!SWIG_IsOK(ecode4
)) {
17342 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
17344 arg4
= static_cast< int >(val4
);
17347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17348 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
17349 wxPyEndAllowThreads(__tstate
);
17350 if (PyErr_Occurred()) SWIG_fail
;
17353 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17361 SWIGINTERN PyObject
*_wrap_DC_GradientFillConcentric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17362 PyObject
*resultobj
= 0;
17363 wxDC
*arg1
= (wxDC
*) 0 ;
17365 wxColour
*arg3
= 0 ;
17366 wxColour
*arg4
= 0 ;
17367 wxPoint
*arg5
= 0 ;
17374 PyObject
* obj0
= 0 ;
17375 PyObject
* obj1
= 0 ;
17376 PyObject
* obj2
= 0 ;
17377 PyObject
* obj3
= 0 ;
17378 PyObject
* obj4
= 0 ;
17379 char * kwnames
[] = {
17380 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "circleCenter", NULL
17383 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_GradientFillConcentric",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17384 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17385 if (!SWIG_IsOK(res1
)) {
17386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillConcentric" "', expected argument " "1"" of type '" "wxDC *""'");
17388 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17391 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17395 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17399 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17403 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17407 (arg1
)->GradientFillConcentric((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
);
17408 wxPyEndAllowThreads(__tstate
);
17409 if (PyErr_Occurred()) SWIG_fail
;
17411 resultobj
= SWIG_Py_Void();
17418 SWIGINTERN PyObject
*_wrap_DC_GradientFillLinear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17419 PyObject
*resultobj
= 0;
17420 wxDC
*arg1
= (wxDC
*) 0 ;
17422 wxColour
*arg3
= 0 ;
17423 wxColour
*arg4
= 0 ;
17424 wxDirection arg5
= (wxDirection
) wxEAST
;
17432 PyObject
* obj0
= 0 ;
17433 PyObject
* obj1
= 0 ;
17434 PyObject
* obj2
= 0 ;
17435 PyObject
* obj3
= 0 ;
17436 PyObject
* obj4
= 0 ;
17437 char * kwnames
[] = {
17438 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "nDirection", NULL
17441 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_GradientFillLinear",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17442 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17443 if (!SWIG_IsOK(res1
)) {
17444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillLinear" "', expected argument " "1"" of type '" "wxDC *""'");
17446 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17449 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17453 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17457 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17460 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17461 if (!SWIG_IsOK(ecode5
)) {
17462 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_GradientFillLinear" "', expected argument " "5"" of type '" "wxDirection""'");
17464 arg5
= static_cast< wxDirection
>(val5
);
17467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17468 (arg1
)->GradientFillLinear((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,arg5
);
17469 wxPyEndAllowThreads(__tstate
);
17470 if (PyErr_Occurred()) SWIG_fail
;
17472 resultobj
= SWIG_Py_Void();
17479 SWIGINTERN PyObject
*_wrap_DC_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17480 PyObject
*resultobj
= 0;
17481 wxDC
*arg1
= (wxDC
*) 0 ;
17491 PyObject
* obj0
= 0 ;
17492 PyObject
* obj1
= 0 ;
17493 PyObject
* obj2
= 0 ;
17494 char * kwnames
[] = {
17495 (char *) "self",(char *) "x",(char *) "y", NULL
17498 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17499 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17500 if (!SWIG_IsOK(res1
)) {
17501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixel" "', expected argument " "1"" of type '" "wxDC *""'");
17503 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17504 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17505 if (!SWIG_IsOK(ecode2
)) {
17506 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_GetPixel" "', expected argument " "2"" of type '" "int""'");
17508 arg2
= static_cast< int >(val2
);
17509 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17510 if (!SWIG_IsOK(ecode3
)) {
17511 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_GetPixel" "', expected argument " "3"" of type '" "int""'");
17513 arg3
= static_cast< int >(val3
);
17515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17516 result
= wxDC_GetPixel(arg1
,arg2
,arg3
);
17517 wxPyEndAllowThreads(__tstate
);
17518 if (PyErr_Occurred()) SWIG_fail
;
17520 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
17527 SWIGINTERN PyObject
*_wrap_DC_GetPixelPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17528 PyObject
*resultobj
= 0;
17529 wxDC
*arg1
= (wxDC
*) 0 ;
17530 wxPoint
*arg2
= 0 ;
17535 PyObject
* obj0
= 0 ;
17536 PyObject
* obj1
= 0 ;
17537 char * kwnames
[] = {
17538 (char *) "self",(char *) "pt", NULL
17541 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17542 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17543 if (!SWIG_IsOK(res1
)) {
17544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixelPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17546 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17549 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17553 result
= wxDC_GetPixelPoint(arg1
,(wxPoint
const &)*arg2
);
17554 wxPyEndAllowThreads(__tstate
);
17555 if (PyErr_Occurred()) SWIG_fail
;
17557 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
17564 SWIGINTERN PyObject
*_wrap_DC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17565 PyObject
*resultobj
= 0;
17566 wxDC
*arg1
= (wxDC
*) 0 ;
17581 PyObject
* obj0
= 0 ;
17582 PyObject
* obj1
= 0 ;
17583 PyObject
* obj2
= 0 ;
17584 PyObject
* obj3
= 0 ;
17585 PyObject
* obj4
= 0 ;
17586 char * kwnames
[] = {
17587 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
17590 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17591 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17592 if (!SWIG_IsOK(res1
)) {
17593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLine" "', expected argument " "1"" of type '" "wxDC *""'");
17595 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17596 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17597 if (!SWIG_IsOK(ecode2
)) {
17598 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawLine" "', expected argument " "2"" of type '" "int""'");
17600 arg2
= static_cast< int >(val2
);
17601 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17602 if (!SWIG_IsOK(ecode3
)) {
17603 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawLine" "', expected argument " "3"" of type '" "int""'");
17605 arg3
= static_cast< int >(val3
);
17606 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17607 if (!SWIG_IsOK(ecode4
)) {
17608 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLine" "', expected argument " "4"" of type '" "int""'");
17610 arg4
= static_cast< int >(val4
);
17611 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17612 if (!SWIG_IsOK(ecode5
)) {
17613 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLine" "', expected argument " "5"" of type '" "int""'");
17615 arg5
= static_cast< int >(val5
);
17617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17618 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
17619 wxPyEndAllowThreads(__tstate
);
17620 if (PyErr_Occurred()) SWIG_fail
;
17622 resultobj
= SWIG_Py_Void();
17629 SWIGINTERN PyObject
*_wrap_DC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17630 PyObject
*resultobj
= 0;
17631 wxDC
*arg1
= (wxDC
*) 0 ;
17632 wxPoint
*arg2
= 0 ;
17633 wxPoint
*arg3
= 0 ;
17638 PyObject
* obj0
= 0 ;
17639 PyObject
* obj1
= 0 ;
17640 PyObject
* obj2
= 0 ;
17641 char * kwnames
[] = {
17642 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
17645 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17646 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17647 if (!SWIG_IsOK(res1
)) {
17648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLinePoint" "', expected argument " "1"" of type '" "wxDC *""'");
17650 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17653 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17657 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17661 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
17662 wxPyEndAllowThreads(__tstate
);
17663 if (PyErr_Occurred()) SWIG_fail
;
17665 resultobj
= SWIG_Py_Void();
17672 SWIGINTERN PyObject
*_wrap_DC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17673 PyObject
*resultobj
= 0;
17674 wxDC
*arg1
= (wxDC
*) 0 ;
17683 PyObject
* obj0
= 0 ;
17684 PyObject
* obj1
= 0 ;
17685 PyObject
* obj2
= 0 ;
17686 char * kwnames
[] = {
17687 (char *) "self",(char *) "x",(char *) "y", NULL
17690 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17691 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17692 if (!SWIG_IsOK(res1
)) {
17693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHair" "', expected argument " "1"" of type '" "wxDC *""'");
17695 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17696 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17697 if (!SWIG_IsOK(ecode2
)) {
17698 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CrossHair" "', expected argument " "2"" of type '" "int""'");
17700 arg2
= static_cast< int >(val2
);
17701 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17702 if (!SWIG_IsOK(ecode3
)) {
17703 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CrossHair" "', expected argument " "3"" of type '" "int""'");
17705 arg3
= static_cast< int >(val3
);
17707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17708 (arg1
)->CrossHair(arg2
,arg3
);
17709 wxPyEndAllowThreads(__tstate
);
17710 if (PyErr_Occurred()) SWIG_fail
;
17712 resultobj
= SWIG_Py_Void();
17719 SWIGINTERN PyObject
*_wrap_DC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17720 PyObject
*resultobj
= 0;
17721 wxDC
*arg1
= (wxDC
*) 0 ;
17722 wxPoint
*arg2
= 0 ;
17726 PyObject
* obj0
= 0 ;
17727 PyObject
* obj1
= 0 ;
17728 char * kwnames
[] = {
17729 (char *) "self",(char *) "pt", NULL
17732 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17733 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17734 if (!SWIG_IsOK(res1
)) {
17735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHairPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17737 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17740 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17744 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
17745 wxPyEndAllowThreads(__tstate
);
17746 if (PyErr_Occurred()) SWIG_fail
;
17748 resultobj
= SWIG_Py_Void();
17755 SWIGINTERN PyObject
*_wrap_DC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17756 PyObject
*resultobj
= 0;
17757 wxDC
*arg1
= (wxDC
*) 0 ;
17778 PyObject
* obj0
= 0 ;
17779 PyObject
* obj1
= 0 ;
17780 PyObject
* obj2
= 0 ;
17781 PyObject
* obj3
= 0 ;
17782 PyObject
* obj4
= 0 ;
17783 PyObject
* obj5
= 0 ;
17784 PyObject
* obj6
= 0 ;
17785 char * kwnames
[] = {
17786 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
17789 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
17790 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17791 if (!SWIG_IsOK(res1
)) {
17792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArc" "', expected argument " "1"" of type '" "wxDC *""'");
17794 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17795 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17796 if (!SWIG_IsOK(ecode2
)) {
17797 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawArc" "', expected argument " "2"" of type '" "int""'");
17799 arg2
= static_cast< int >(val2
);
17800 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17801 if (!SWIG_IsOK(ecode3
)) {
17802 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawArc" "', expected argument " "3"" of type '" "int""'");
17804 arg3
= static_cast< int >(val3
);
17805 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17806 if (!SWIG_IsOK(ecode4
)) {
17807 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawArc" "', expected argument " "4"" of type '" "int""'");
17809 arg4
= static_cast< int >(val4
);
17810 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17811 if (!SWIG_IsOK(ecode5
)) {
17812 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawArc" "', expected argument " "5"" of type '" "int""'");
17814 arg5
= static_cast< int >(val5
);
17815 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
17816 if (!SWIG_IsOK(ecode6
)) {
17817 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawArc" "', expected argument " "6"" of type '" "int""'");
17819 arg6
= static_cast< int >(val6
);
17820 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
17821 if (!SWIG_IsOK(ecode7
)) {
17822 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawArc" "', expected argument " "7"" of type '" "int""'");
17824 arg7
= static_cast< int >(val7
);
17826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17827 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
17828 wxPyEndAllowThreads(__tstate
);
17829 if (PyErr_Occurred()) SWIG_fail
;
17831 resultobj
= SWIG_Py_Void();
17838 SWIGINTERN PyObject
*_wrap_DC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17839 PyObject
*resultobj
= 0;
17840 wxDC
*arg1
= (wxDC
*) 0 ;
17841 wxPoint
*arg2
= 0 ;
17842 wxPoint
*arg3
= 0 ;
17843 wxPoint
*arg4
= 0 ;
17849 PyObject
* obj0
= 0 ;
17850 PyObject
* obj1
= 0 ;
17851 PyObject
* obj2
= 0 ;
17852 PyObject
* obj3
= 0 ;
17853 char * kwnames
[] = {
17854 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
17857 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17858 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17859 if (!SWIG_IsOK(res1
)) {
17860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArcPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17862 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17865 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17869 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17873 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17877 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
17878 wxPyEndAllowThreads(__tstate
);
17879 if (PyErr_Occurred()) SWIG_fail
;
17881 resultobj
= SWIG_Py_Void();
17888 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17889 PyObject
*resultobj
= 0;
17890 wxDC
*arg1
= (wxDC
*) 0 ;
17905 PyObject
* obj0
= 0 ;
17906 PyObject
* obj1
= 0 ;
17907 PyObject
* obj2
= 0 ;
17908 PyObject
* obj3
= 0 ;
17909 PyObject
* obj4
= 0 ;
17910 char * kwnames
[] = {
17911 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
17914 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17915 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17916 if (!SWIG_IsOK(res1
)) {
17917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMark" "', expected argument " "1"" of type '" "wxDC *""'");
17919 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17920 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17921 if (!SWIG_IsOK(ecode2
)) {
17922 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
17924 arg2
= static_cast< int >(val2
);
17925 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17926 if (!SWIG_IsOK(ecode3
)) {
17927 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
17929 arg3
= static_cast< int >(val3
);
17930 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17931 if (!SWIG_IsOK(ecode4
)) {
17932 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
17934 arg4
= static_cast< int >(val4
);
17935 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17936 if (!SWIG_IsOK(ecode5
)) {
17937 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
17939 arg5
= static_cast< int >(val5
);
17941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17942 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
17943 wxPyEndAllowThreads(__tstate
);
17944 if (PyErr_Occurred()) SWIG_fail
;
17946 resultobj
= SWIG_Py_Void();
17953 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17954 PyObject
*resultobj
= 0;
17955 wxDC
*arg1
= (wxDC
*) 0 ;
17960 PyObject
* obj0
= 0 ;
17961 PyObject
* obj1
= 0 ;
17962 char * kwnames
[] = {
17963 (char *) "self",(char *) "rect", NULL
17966 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17967 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17968 if (!SWIG_IsOK(res1
)) {
17969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxDC *""'");
17971 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17974 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17978 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
17979 wxPyEndAllowThreads(__tstate
);
17980 if (PyErr_Occurred()) SWIG_fail
;
17982 resultobj
= SWIG_Py_Void();
17989 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17990 PyObject
*resultobj
= 0;
17991 wxDC
*arg1
= (wxDC
*) 0 ;
18012 PyObject
* obj0
= 0 ;
18013 PyObject
* obj1
= 0 ;
18014 PyObject
* obj2
= 0 ;
18015 PyObject
* obj3
= 0 ;
18016 PyObject
* obj4
= 0 ;
18017 PyObject
* obj5
= 0 ;
18018 PyObject
* obj6
= 0 ;
18019 char * kwnames
[] = {
18020 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
18023 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
18024 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18025 if (!SWIG_IsOK(res1
)) {
18026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxDC *""'");
18028 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18029 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18030 if (!SWIG_IsOK(ecode2
)) {
18031 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
18033 arg2
= static_cast< int >(val2
);
18034 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18035 if (!SWIG_IsOK(ecode3
)) {
18036 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
18038 arg3
= static_cast< int >(val3
);
18039 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18040 if (!SWIG_IsOK(ecode4
)) {
18041 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
18043 arg4
= static_cast< int >(val4
);
18044 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18045 if (!SWIG_IsOK(ecode5
)) {
18046 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
18048 arg5
= static_cast< int >(val5
);
18049 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
18050 if (!SWIG_IsOK(ecode6
)) {
18051 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
18053 arg6
= static_cast< double >(val6
);
18054 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
18055 if (!SWIG_IsOK(ecode7
)) {
18056 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
18058 arg7
= static_cast< double >(val7
);
18060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18061 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18062 wxPyEndAllowThreads(__tstate
);
18063 if (PyErr_Occurred()) SWIG_fail
;
18065 resultobj
= SWIG_Py_Void();
18072 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18073 PyObject
*resultobj
= 0;
18074 wxDC
*arg1
= (wxDC
*) 0 ;
18075 wxPoint
*arg2
= 0 ;
18087 PyObject
* obj0
= 0 ;
18088 PyObject
* obj1
= 0 ;
18089 PyObject
* obj2
= 0 ;
18090 PyObject
* obj3
= 0 ;
18091 PyObject
* obj4
= 0 ;
18092 char * kwnames
[] = {
18093 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
18096 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18097 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18098 if (!SWIG_IsOK(res1
)) {
18099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18101 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18104 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18108 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18110 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
18111 if (!SWIG_IsOK(ecode4
)) {
18112 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
18114 arg4
= static_cast< double >(val4
);
18115 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
18116 if (!SWIG_IsOK(ecode5
)) {
18117 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
18119 arg5
= static_cast< double >(val5
);
18121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18122 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
18123 wxPyEndAllowThreads(__tstate
);
18124 if (PyErr_Occurred()) SWIG_fail
;
18126 resultobj
= SWIG_Py_Void();
18133 SWIGINTERN PyObject
*_wrap_DC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18134 PyObject
*resultobj
= 0;
18135 wxDC
*arg1
= (wxDC
*) 0 ;
18144 PyObject
* obj0
= 0 ;
18145 PyObject
* obj1
= 0 ;
18146 PyObject
* obj2
= 0 ;
18147 char * kwnames
[] = {
18148 (char *) "self",(char *) "x",(char *) "y", NULL
18151 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18152 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18153 if (!SWIG_IsOK(res1
)) {
18154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18156 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18157 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18158 if (!SWIG_IsOK(ecode2
)) {
18159 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
18161 arg2
= static_cast< int >(val2
);
18162 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18163 if (!SWIG_IsOK(ecode3
)) {
18164 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
18166 arg3
= static_cast< int >(val3
);
18168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18169 (arg1
)->DrawPoint(arg2
,arg3
);
18170 wxPyEndAllowThreads(__tstate
);
18171 if (PyErr_Occurred()) SWIG_fail
;
18173 resultobj
= SWIG_Py_Void();
18180 SWIGINTERN PyObject
*_wrap_DC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18181 PyObject
*resultobj
= 0;
18182 wxDC
*arg1
= (wxDC
*) 0 ;
18183 wxPoint
*arg2
= 0 ;
18187 PyObject
* obj0
= 0 ;
18188 PyObject
* obj1
= 0 ;
18189 char * kwnames
[] = {
18190 (char *) "self",(char *) "pt", NULL
18193 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18194 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18195 if (!SWIG_IsOK(res1
)) {
18196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPointPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18198 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18201 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18205 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
18206 wxPyEndAllowThreads(__tstate
);
18207 if (PyErr_Occurred()) SWIG_fail
;
18209 resultobj
= SWIG_Py_Void();
18216 SWIGINTERN PyObject
*_wrap_DC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18217 PyObject
*resultobj
= 0;
18218 wxDC
*arg1
= (wxDC
*) 0 ;
18233 PyObject
* obj0
= 0 ;
18234 PyObject
* obj1
= 0 ;
18235 PyObject
* obj2
= 0 ;
18236 PyObject
* obj3
= 0 ;
18237 PyObject
* obj4
= 0 ;
18238 char * kwnames
[] = {
18239 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18242 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18243 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18244 if (!SWIG_IsOK(res1
)) {
18245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
18247 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18248 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18249 if (!SWIG_IsOK(ecode2
)) {
18250 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
18252 arg2
= static_cast< int >(val2
);
18253 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18254 if (!SWIG_IsOK(ecode3
)) {
18255 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
18257 arg3
= static_cast< int >(val3
);
18258 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18259 if (!SWIG_IsOK(ecode4
)) {
18260 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
18262 arg4
= static_cast< int >(val4
);
18263 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18264 if (!SWIG_IsOK(ecode5
)) {
18265 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
18267 arg5
= static_cast< int >(val5
);
18269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18270 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
18271 wxPyEndAllowThreads(__tstate
);
18272 if (PyErr_Occurred()) SWIG_fail
;
18274 resultobj
= SWIG_Py_Void();
18281 SWIGINTERN PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18282 PyObject
*resultobj
= 0;
18283 wxDC
*arg1
= (wxDC
*) 0 ;
18288 PyObject
* obj0
= 0 ;
18289 PyObject
* obj1
= 0 ;
18290 char * kwnames
[] = {
18291 (char *) "self",(char *) "rect", NULL
18294 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18295 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18296 if (!SWIG_IsOK(res1
)) {
18297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
18299 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18302 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18306 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
18307 wxPyEndAllowThreads(__tstate
);
18308 if (PyErr_Occurred()) SWIG_fail
;
18310 resultobj
= SWIG_Py_Void();
18317 SWIGINTERN PyObject
*_wrap_DC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18318 PyObject
*resultobj
= 0;
18319 wxDC
*arg1
= (wxDC
*) 0 ;
18320 wxPoint
*arg2
= 0 ;
18326 PyObject
* obj0
= 0 ;
18327 PyObject
* obj1
= 0 ;
18328 PyObject
* obj2
= 0 ;
18329 char * kwnames
[] = {
18330 (char *) "self",(char *) "pt",(char *) "sz", NULL
18333 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18334 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18335 if (!SWIG_IsOK(res1
)) {
18336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18338 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18341 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18345 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18349 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
18350 wxPyEndAllowThreads(__tstate
);
18351 if (PyErr_Occurred()) SWIG_fail
;
18353 resultobj
= SWIG_Py_Void();
18360 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18361 PyObject
*resultobj
= 0;
18362 wxDC
*arg1
= (wxDC
*) 0 ;
18380 PyObject
* obj0
= 0 ;
18381 PyObject
* obj1
= 0 ;
18382 PyObject
* obj2
= 0 ;
18383 PyObject
* obj3
= 0 ;
18384 PyObject
* obj4
= 0 ;
18385 PyObject
* obj5
= 0 ;
18386 char * kwnames
[] = {
18387 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
18390 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18391 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18392 if (!SWIG_IsOK(res1
)) {
18393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
18395 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18396 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18397 if (!SWIG_IsOK(ecode2
)) {
18398 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
18400 arg2
= static_cast< int >(val2
);
18401 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18402 if (!SWIG_IsOK(ecode3
)) {
18403 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
18405 arg3
= static_cast< int >(val3
);
18406 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18407 if (!SWIG_IsOK(ecode4
)) {
18408 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
18410 arg4
= static_cast< int >(val4
);
18411 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18412 if (!SWIG_IsOK(ecode5
)) {
18413 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
18415 arg5
= static_cast< int >(val5
);
18416 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
18417 if (!SWIG_IsOK(ecode6
)) {
18418 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
18420 arg6
= static_cast< double >(val6
);
18422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18423 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
18424 wxPyEndAllowThreads(__tstate
);
18425 if (PyErr_Occurred()) SWIG_fail
;
18427 resultobj
= SWIG_Py_Void();
18434 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18435 PyObject
*resultobj
= 0;
18436 wxDC
*arg1
= (wxDC
*) 0 ;
18444 PyObject
* obj0
= 0 ;
18445 PyObject
* obj1
= 0 ;
18446 PyObject
* obj2
= 0 ;
18447 char * kwnames
[] = {
18448 (char *) "self",(char *) "r",(char *) "radius", NULL
18451 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18452 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18453 if (!SWIG_IsOK(res1
)) {
18454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
18456 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18459 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18461 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
18462 if (!SWIG_IsOK(ecode3
)) {
18463 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
18465 arg3
= static_cast< double >(val3
);
18467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18468 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
18469 wxPyEndAllowThreads(__tstate
);
18470 if (PyErr_Occurred()) SWIG_fail
;
18472 resultobj
= SWIG_Py_Void();
18479 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18480 PyObject
*resultobj
= 0;
18481 wxDC
*arg1
= (wxDC
*) 0 ;
18482 wxPoint
*arg2
= 0 ;
18491 PyObject
* obj0
= 0 ;
18492 PyObject
* obj1
= 0 ;
18493 PyObject
* obj2
= 0 ;
18494 PyObject
* obj3
= 0 ;
18495 char * kwnames
[] = {
18496 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
18499 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18500 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18501 if (!SWIG_IsOK(res1
)) {
18502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18504 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18507 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18511 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18513 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
18514 if (!SWIG_IsOK(ecode4
)) {
18515 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
18517 arg4
= static_cast< double >(val4
);
18519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18520 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
18521 wxPyEndAllowThreads(__tstate
);
18522 if (PyErr_Occurred()) SWIG_fail
;
18524 resultobj
= SWIG_Py_Void();
18531 SWIGINTERN PyObject
*_wrap_DC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18532 PyObject
*resultobj
= 0;
18533 wxDC
*arg1
= (wxDC
*) 0 ;
18545 PyObject
* obj0
= 0 ;
18546 PyObject
* obj1
= 0 ;
18547 PyObject
* obj2
= 0 ;
18548 PyObject
* obj3
= 0 ;
18549 char * kwnames
[] = {
18550 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
18553 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18554 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18555 if (!SWIG_IsOK(res1
)) {
18556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCircle" "', expected argument " "1"" of type '" "wxDC *""'");
18558 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18559 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18560 if (!SWIG_IsOK(ecode2
)) {
18561 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
18563 arg2
= static_cast< int >(val2
);
18564 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18565 if (!SWIG_IsOK(ecode3
)) {
18566 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
18568 arg3
= static_cast< int >(val3
);
18569 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18570 if (!SWIG_IsOK(ecode4
)) {
18571 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
18573 arg4
= static_cast< int >(val4
);
18575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18576 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
18577 wxPyEndAllowThreads(__tstate
);
18578 if (PyErr_Occurred()) SWIG_fail
;
18580 resultobj
= SWIG_Py_Void();
18587 SWIGINTERN PyObject
*_wrap_DC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18588 PyObject
*resultobj
= 0;
18589 wxDC
*arg1
= (wxDC
*) 0 ;
18590 wxPoint
*arg2
= 0 ;
18597 PyObject
* obj0
= 0 ;
18598 PyObject
* obj1
= 0 ;
18599 PyObject
* obj2
= 0 ;
18600 char * kwnames
[] = {
18601 (char *) "self",(char *) "pt",(char *) "radius", NULL
18604 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18605 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18606 if (!SWIG_IsOK(res1
)) {
18607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxDC *""'");
18609 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18612 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18614 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18615 if (!SWIG_IsOK(ecode3
)) {
18616 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
18618 arg3
= static_cast< int >(val3
);
18620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18621 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
18622 wxPyEndAllowThreads(__tstate
);
18623 if (PyErr_Occurred()) SWIG_fail
;
18625 resultobj
= SWIG_Py_Void();
18632 SWIGINTERN PyObject
*_wrap_DC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18633 PyObject
*resultobj
= 0;
18634 wxDC
*arg1
= (wxDC
*) 0 ;
18649 PyObject
* obj0
= 0 ;
18650 PyObject
* obj1
= 0 ;
18651 PyObject
* obj2
= 0 ;
18652 PyObject
* obj3
= 0 ;
18653 PyObject
* obj4
= 0 ;
18654 char * kwnames
[] = {
18655 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18658 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18659 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18660 if (!SWIG_IsOK(res1
)) {
18661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipse" "', expected argument " "1"" of type '" "wxDC *""'");
18663 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18664 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18665 if (!SWIG_IsOK(ecode2
)) {
18666 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
18668 arg2
= static_cast< int >(val2
);
18669 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18670 if (!SWIG_IsOK(ecode3
)) {
18671 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
18673 arg3
= static_cast< int >(val3
);
18674 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18675 if (!SWIG_IsOK(ecode4
)) {
18676 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
18678 arg4
= static_cast< int >(val4
);
18679 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18680 if (!SWIG_IsOK(ecode5
)) {
18681 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
18683 arg5
= static_cast< int >(val5
);
18685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18686 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
18687 wxPyEndAllowThreads(__tstate
);
18688 if (PyErr_Occurred()) SWIG_fail
;
18690 resultobj
= SWIG_Py_Void();
18697 SWIGINTERN PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18698 PyObject
*resultobj
= 0;
18699 wxDC
*arg1
= (wxDC
*) 0 ;
18704 PyObject
* obj0
= 0 ;
18705 PyObject
* obj1
= 0 ;
18706 char * kwnames
[] = {
18707 (char *) "self",(char *) "rect", NULL
18710 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18711 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18712 if (!SWIG_IsOK(res1
)) {
18713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxDC *""'");
18715 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18718 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18722 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
18723 wxPyEndAllowThreads(__tstate
);
18724 if (PyErr_Occurred()) SWIG_fail
;
18726 resultobj
= SWIG_Py_Void();
18733 SWIGINTERN PyObject
*_wrap_DC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18734 PyObject
*resultobj
= 0;
18735 wxDC
*arg1
= (wxDC
*) 0 ;
18736 wxPoint
*arg2
= 0 ;
18742 PyObject
* obj0
= 0 ;
18743 PyObject
* obj1
= 0 ;
18744 PyObject
* obj2
= 0 ;
18745 char * kwnames
[] = {
18746 (char *) "self",(char *) "pt",(char *) "sz", NULL
18749 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18750 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18751 if (!SWIG_IsOK(res1
)) {
18752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18754 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18757 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18761 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18765 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
18766 wxPyEndAllowThreads(__tstate
);
18767 if (PyErr_Occurred()) SWIG_fail
;
18769 resultobj
= SWIG_Py_Void();
18776 SWIGINTERN PyObject
*_wrap_DC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18777 PyObject
*resultobj
= 0;
18778 wxDC
*arg1
= (wxDC
*) 0 ;
18790 PyObject
* obj0
= 0 ;
18791 PyObject
* obj1
= 0 ;
18792 PyObject
* obj2
= 0 ;
18793 PyObject
* obj3
= 0 ;
18794 char * kwnames
[] = {
18795 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
18798 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18799 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18800 if (!SWIG_IsOK(res1
)) {
18801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIcon" "', expected argument " "1"" of type '" "wxDC *""'");
18803 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18804 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
18805 if (!SWIG_IsOK(res2
)) {
18806 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
18809 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
18811 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
18812 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18813 if (!SWIG_IsOK(ecode3
)) {
18814 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
18816 arg3
= static_cast< int >(val3
);
18817 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18818 if (!SWIG_IsOK(ecode4
)) {
18819 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
18821 arg4
= static_cast< int >(val4
);
18823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18824 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
18825 wxPyEndAllowThreads(__tstate
);
18826 if (PyErr_Occurred()) SWIG_fail
;
18828 resultobj
= SWIG_Py_Void();
18835 SWIGINTERN PyObject
*_wrap_DC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18836 PyObject
*resultobj
= 0;
18837 wxDC
*arg1
= (wxDC
*) 0 ;
18839 wxPoint
*arg3
= 0 ;
18845 PyObject
* obj0
= 0 ;
18846 PyObject
* obj1
= 0 ;
18847 PyObject
* obj2
= 0 ;
18848 char * kwnames
[] = {
18849 (char *) "self",(char *) "icon",(char *) "pt", NULL
18852 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18853 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18854 if (!SWIG_IsOK(res1
)) {
18855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIconPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18857 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18858 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
18859 if (!SWIG_IsOK(res2
)) {
18860 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
18863 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
18865 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
18868 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18872 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
18873 wxPyEndAllowThreads(__tstate
);
18874 if (PyErr_Occurred()) SWIG_fail
;
18876 resultobj
= SWIG_Py_Void();
18883 SWIGINTERN PyObject
*_wrap_DC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18884 PyObject
*resultobj
= 0;
18885 wxDC
*arg1
= (wxDC
*) 0 ;
18886 wxBitmap
*arg2
= 0 ;
18889 bool arg5
= (bool) false ;
18900 PyObject
* obj0
= 0 ;
18901 PyObject
* obj1
= 0 ;
18902 PyObject
* obj2
= 0 ;
18903 PyObject
* obj3
= 0 ;
18904 PyObject
* obj4
= 0 ;
18905 char * kwnames
[] = {
18906 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
18909 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18910 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18911 if (!SWIG_IsOK(res1
)) {
18912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmap" "', expected argument " "1"" of type '" "wxDC *""'");
18914 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18915 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
18916 if (!SWIG_IsOK(res2
)) {
18917 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
18920 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
18922 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
18923 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18924 if (!SWIG_IsOK(ecode3
)) {
18925 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
18927 arg3
= static_cast< int >(val3
);
18928 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18929 if (!SWIG_IsOK(ecode4
)) {
18930 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
18932 arg4
= static_cast< int >(val4
);
18934 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
18935 if (!SWIG_IsOK(ecode5
)) {
18936 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
18938 arg5
= static_cast< bool >(val5
);
18941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18942 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
18943 wxPyEndAllowThreads(__tstate
);
18944 if (PyErr_Occurred()) SWIG_fail
;
18946 resultobj
= SWIG_Py_Void();
18953 SWIGINTERN PyObject
*_wrap_DC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18954 PyObject
*resultobj
= 0;
18955 wxDC
*arg1
= (wxDC
*) 0 ;
18956 wxBitmap
*arg2
= 0 ;
18957 wxPoint
*arg3
= 0 ;
18958 bool arg4
= (bool) false ;
18966 PyObject
* obj0
= 0 ;
18967 PyObject
* obj1
= 0 ;
18968 PyObject
* obj2
= 0 ;
18969 PyObject
* obj3
= 0 ;
18970 char * kwnames
[] = {
18971 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
18974 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18975 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18976 if (!SWIG_IsOK(res1
)) {
18977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18979 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18980 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
18981 if (!SWIG_IsOK(res2
)) {
18982 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
18985 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
18987 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
18990 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18993 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
18994 if (!SWIG_IsOK(ecode4
)) {
18995 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
18997 arg4
= static_cast< bool >(val4
);
19000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19001 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
19002 wxPyEndAllowThreads(__tstate
);
19003 if (PyErr_Occurred()) SWIG_fail
;
19005 resultobj
= SWIG_Py_Void();
19012 SWIGINTERN PyObject
*_wrap_DC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19013 PyObject
*resultobj
= 0;
19014 wxDC
*arg1
= (wxDC
*) 0 ;
19015 wxString
*arg2
= 0 ;
19020 bool temp2
= false ;
19025 PyObject
* obj0
= 0 ;
19026 PyObject
* obj1
= 0 ;
19027 PyObject
* obj2
= 0 ;
19028 PyObject
* obj3
= 0 ;
19029 char * kwnames
[] = {
19030 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
19033 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) 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_DrawText" "', expected argument " "1"" of type '" "wxDC *""'");
19038 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19040 arg2
= wxString_in_helper(obj1
);
19041 if (arg2
== NULL
) SWIG_fail
;
19044 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19045 if (!SWIG_IsOK(ecode3
)) {
19046 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawText" "', expected argument " "3"" of type '" "int""'");
19048 arg3
= static_cast< int >(val3
);
19049 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19050 if (!SWIG_IsOK(ecode4
)) {
19051 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawText" "', expected argument " "4"" of type '" "int""'");
19053 arg4
= static_cast< int >(val4
);
19055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19056 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
19057 wxPyEndAllowThreads(__tstate
);
19058 if (PyErr_Occurred()) SWIG_fail
;
19060 resultobj
= SWIG_Py_Void();
19075 SWIGINTERN PyObject
*_wrap_DC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19076 PyObject
*resultobj
= 0;
19077 wxDC
*arg1
= (wxDC
*) 0 ;
19078 wxString
*arg2
= 0 ;
19079 wxPoint
*arg3
= 0 ;
19082 bool temp2
= false ;
19084 PyObject
* obj0
= 0 ;
19085 PyObject
* obj1
= 0 ;
19086 PyObject
* obj2
= 0 ;
19087 char * kwnames
[] = {
19088 (char *) "self",(char *) "text",(char *) "pt", NULL
19091 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19092 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19093 if (!SWIG_IsOK(res1
)) {
19094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19096 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19098 arg2
= wxString_in_helper(obj1
);
19099 if (arg2
== NULL
) SWIG_fail
;
19104 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19108 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
19109 wxPyEndAllowThreads(__tstate
);
19110 if (PyErr_Occurred()) SWIG_fail
;
19112 resultobj
= SWIG_Py_Void();
19127 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19128 PyObject
*resultobj
= 0;
19129 wxDC
*arg1
= (wxDC
*) 0 ;
19130 wxString
*arg2
= 0 ;
19136 bool temp2
= false ;
19143 PyObject
* obj0
= 0 ;
19144 PyObject
* obj1
= 0 ;
19145 PyObject
* obj2
= 0 ;
19146 PyObject
* obj3
= 0 ;
19147 PyObject
* obj4
= 0 ;
19148 char * kwnames
[] = {
19149 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
19152 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19153 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19154 if (!SWIG_IsOK(res1
)) {
19155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedText" "', expected argument " "1"" of type '" "wxDC *""'");
19157 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19159 arg2
= wxString_in_helper(obj1
);
19160 if (arg2
== NULL
) SWIG_fail
;
19163 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19164 if (!SWIG_IsOK(ecode3
)) {
19165 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
19167 arg3
= static_cast< int >(val3
);
19168 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19169 if (!SWIG_IsOK(ecode4
)) {
19170 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
19172 arg4
= static_cast< int >(val4
);
19173 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
19174 if (!SWIG_IsOK(ecode5
)) {
19175 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
19177 arg5
= static_cast< double >(val5
);
19179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19180 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
19181 wxPyEndAllowThreads(__tstate
);
19182 if (PyErr_Occurred()) SWIG_fail
;
19184 resultobj
= SWIG_Py_Void();
19199 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19200 PyObject
*resultobj
= 0;
19201 wxDC
*arg1
= (wxDC
*) 0 ;
19202 wxString
*arg2
= 0 ;
19203 wxPoint
*arg3
= 0 ;
19207 bool temp2
= false ;
19211 PyObject
* obj0
= 0 ;
19212 PyObject
* obj1
= 0 ;
19213 PyObject
* obj2
= 0 ;
19214 PyObject
* obj3
= 0 ;
19215 char * kwnames
[] = {
19216 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
19219 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19220 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19221 if (!SWIG_IsOK(res1
)) {
19222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19224 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19226 arg2
= wxString_in_helper(obj1
);
19227 if (arg2
== NULL
) SWIG_fail
;
19232 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19234 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
19235 if (!SWIG_IsOK(ecode4
)) {
19236 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
19238 arg4
= static_cast< double >(val4
);
19240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19241 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
19242 wxPyEndAllowThreads(__tstate
);
19243 if (PyErr_Occurred()) SWIG_fail
;
19245 resultobj
= SWIG_Py_Void();
19260 SWIGINTERN PyObject
*_wrap_DC_Blit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19261 PyObject
*resultobj
= 0;
19262 wxDC
*arg1
= (wxDC
*) 0 ;
19267 wxDC
*arg6
= (wxDC
*) 0 ;
19270 int arg9
= (int) wxCOPY
;
19271 bool arg10
= (bool) false ;
19272 int arg11
= (int) -1 ;
19273 int arg12
= (int) -1 ;
19299 PyObject
* obj0
= 0 ;
19300 PyObject
* obj1
= 0 ;
19301 PyObject
* obj2
= 0 ;
19302 PyObject
* obj3
= 0 ;
19303 PyObject
* obj4
= 0 ;
19304 PyObject
* obj5
= 0 ;
19305 PyObject
* obj6
= 0 ;
19306 PyObject
* obj7
= 0 ;
19307 PyObject
* obj8
= 0 ;
19308 PyObject
* obj9
= 0 ;
19309 PyObject
* obj10
= 0 ;
19310 PyObject
* obj11
= 0 ;
19311 char * kwnames
[] = {
19312 (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
19315 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
;
19316 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19317 if (!SWIG_IsOK(res1
)) {
19318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Blit" "', expected argument " "1"" of type '" "wxDC *""'");
19320 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19321 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19322 if (!SWIG_IsOK(ecode2
)) {
19323 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_Blit" "', expected argument " "2"" of type '" "int""'");
19325 arg2
= static_cast< int >(val2
);
19326 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19327 if (!SWIG_IsOK(ecode3
)) {
19328 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_Blit" "', expected argument " "3"" of type '" "int""'");
19330 arg3
= static_cast< int >(val3
);
19331 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19332 if (!SWIG_IsOK(ecode4
)) {
19333 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_Blit" "', expected argument " "4"" of type '" "int""'");
19335 arg4
= static_cast< int >(val4
);
19336 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19337 if (!SWIG_IsOK(ecode5
)) {
19338 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_Blit" "', expected argument " "5"" of type '" "int""'");
19340 arg5
= static_cast< int >(val5
);
19341 res6
= SWIG_ConvertPtr(obj5
, &argp6
,SWIGTYPE_p_wxDC
, 0 | 0 );
19342 if (!SWIG_IsOK(res6
)) {
19343 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_Blit" "', expected argument " "6"" of type '" "wxDC *""'");
19345 arg6
= reinterpret_cast< wxDC
* >(argp6
);
19346 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
19347 if (!SWIG_IsOK(ecode7
)) {
19348 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_Blit" "', expected argument " "7"" of type '" "int""'");
19350 arg7
= static_cast< int >(val7
);
19351 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
19352 if (!SWIG_IsOK(ecode8
)) {
19353 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DC_Blit" "', expected argument " "8"" of type '" "int""'");
19355 arg8
= static_cast< int >(val8
);
19357 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
19358 if (!SWIG_IsOK(ecode9
)) {
19359 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "DC_Blit" "', expected argument " "9"" of type '" "int""'");
19361 arg9
= static_cast< int >(val9
);
19364 ecode10
= SWIG_AsVal_bool(obj9
, &val10
);
19365 if (!SWIG_IsOK(ecode10
)) {
19366 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "DC_Blit" "', expected argument " "10"" of type '" "bool""'");
19368 arg10
= static_cast< bool >(val10
);
19371 ecode11
= SWIG_AsVal_int(obj10
, &val11
);
19372 if (!SWIG_IsOK(ecode11
)) {
19373 SWIG_exception_fail(SWIG_ArgError(ecode11
), "in method '" "DC_Blit" "', expected argument " "11"" of type '" "int""'");
19375 arg11
= static_cast< int >(val11
);
19378 ecode12
= SWIG_AsVal_int(obj11
, &val12
);
19379 if (!SWIG_IsOK(ecode12
)) {
19380 SWIG_exception_fail(SWIG_ArgError(ecode12
), "in method '" "DC_Blit" "', expected argument " "12"" of type '" "int""'");
19382 arg12
= static_cast< int >(val12
);
19385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19386 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
19387 wxPyEndAllowThreads(__tstate
);
19388 if (PyErr_Occurred()) SWIG_fail
;
19391 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19399 SWIGINTERN PyObject
*_wrap_DC_BlitPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19400 PyObject
*resultobj
= 0;
19401 wxDC
*arg1
= (wxDC
*) 0 ;
19402 wxPoint
*arg2
= 0 ;
19404 wxDC
*arg4
= (wxDC
*) 0 ;
19405 wxPoint
*arg5
= 0 ;
19406 int arg6
= (int) wxCOPY
;
19407 bool arg7
= (bool) false ;
19408 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
19409 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
19423 PyObject
* obj0
= 0 ;
19424 PyObject
* obj1
= 0 ;
19425 PyObject
* obj2
= 0 ;
19426 PyObject
* obj3
= 0 ;
19427 PyObject
* obj4
= 0 ;
19428 PyObject
* obj5
= 0 ;
19429 PyObject
* obj6
= 0 ;
19430 PyObject
* obj7
= 0 ;
19431 char * kwnames
[] = {
19432 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
19435 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
19436 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19437 if (!SWIG_IsOK(res1
)) {
19438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_BlitPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19440 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19443 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19447 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19449 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxDC
, 0 | 0 );
19450 if (!SWIG_IsOK(res4
)) {
19451 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DC_BlitPointSize" "', expected argument " "4"" of type '" "wxDC *""'");
19453 arg4
= reinterpret_cast< wxDC
* >(argp4
);
19456 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
19459 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
19460 if (!SWIG_IsOK(ecode6
)) {
19461 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_BlitPointSize" "', expected argument " "6"" of type '" "int""'");
19463 arg6
= static_cast< int >(val6
);
19466 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
19467 if (!SWIG_IsOK(ecode7
)) {
19468 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_BlitPointSize" "', expected argument " "7"" of type '" "bool""'");
19470 arg7
= static_cast< bool >(val7
);
19475 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
19479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19480 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
19481 wxPyEndAllowThreads(__tstate
);
19482 if (PyErr_Occurred()) SWIG_fail
;
19485 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19493 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19494 PyObject
*resultobj
= 0;
19495 wxDC
*arg1
= (wxDC
*) 0 ;
19510 PyObject
* obj0
= 0 ;
19511 PyObject
* obj1
= 0 ;
19512 PyObject
* obj2
= 0 ;
19513 PyObject
* obj3
= 0 ;
19514 PyObject
* obj4
= 0 ;
19515 char * kwnames
[] = {
19516 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19519 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19520 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19521 if (!SWIG_IsOK(res1
)) {
19522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
19524 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19525 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19526 if (!SWIG_IsOK(ecode2
)) {
19527 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetClippingRegion" "', expected argument " "2"" of type '" "int""'");
19529 arg2
= static_cast< int >(val2
);
19530 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19531 if (!SWIG_IsOK(ecode3
)) {
19532 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetClippingRegion" "', expected argument " "3"" of type '" "int""'");
19534 arg3
= static_cast< int >(val3
);
19535 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19536 if (!SWIG_IsOK(ecode4
)) {
19537 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_SetClippingRegion" "', expected argument " "4"" of type '" "int""'");
19539 arg4
= static_cast< int >(val4
);
19540 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19541 if (!SWIG_IsOK(ecode5
)) {
19542 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_SetClippingRegion" "', expected argument " "5"" of type '" "int""'");
19544 arg5
= static_cast< int >(val5
);
19546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19547 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
19548 wxPyEndAllowThreads(__tstate
);
19549 if (PyErr_Occurred()) SWIG_fail
;
19551 resultobj
= SWIG_Py_Void();
19558 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19559 PyObject
*resultobj
= 0;
19560 wxDC
*arg1
= (wxDC
*) 0 ;
19561 wxPoint
*arg2
= 0 ;
19567 PyObject
* obj0
= 0 ;
19568 PyObject
* obj1
= 0 ;
19569 PyObject
* obj2
= 0 ;
19570 char * kwnames
[] = {
19571 (char *) "self",(char *) "pt",(char *) "sz", NULL
19574 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19575 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19576 if (!SWIG_IsOK(res1
)) {
19577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19579 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19582 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19586 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19590 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
19591 wxPyEndAllowThreads(__tstate
);
19592 if (PyErr_Occurred()) SWIG_fail
;
19594 resultobj
= SWIG_Py_Void();
19601 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19602 PyObject
*resultobj
= 0;
19603 wxDC
*arg1
= (wxDC
*) 0 ;
19604 wxRegion
*arg2
= 0 ;
19609 PyObject
* obj0
= 0 ;
19610 PyObject
* obj1
= 0 ;
19611 char * kwnames
[] = {
19612 (char *) "self",(char *) "region", NULL
19615 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19616 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19617 if (!SWIG_IsOK(res1
)) {
19618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "1"" of type '" "wxDC *""'");
19620 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19621 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
19622 if (!SWIG_IsOK(res2
)) {
19623 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
19626 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
19628 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
19630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19631 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
19632 wxPyEndAllowThreads(__tstate
);
19633 if (PyErr_Occurred()) SWIG_fail
;
19635 resultobj
= SWIG_Py_Void();
19642 SWIGINTERN PyObject
*_wrap_DC_SetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19643 PyObject
*resultobj
= 0;
19644 wxDC
*arg1
= (wxDC
*) 0 ;
19649 PyObject
* obj0
= 0 ;
19650 PyObject
* obj1
= 0 ;
19651 char * kwnames
[] = {
19652 (char *) "self",(char *) "rect", NULL
19655 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19656 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19657 if (!SWIG_IsOK(res1
)) {
19658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
19660 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19663 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19667 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
19668 wxPyEndAllowThreads(__tstate
);
19669 if (PyErr_Occurred()) SWIG_fail
;
19671 resultobj
= SWIG_Py_Void();
19678 SWIGINTERN PyObject
*_wrap_DC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19679 PyObject
*resultobj
= 0;
19680 wxDC
*arg1
= (wxDC
*) 0 ;
19682 wxPoint
*arg3
= (wxPoint
*) 0 ;
19683 int arg4
= (int) 0 ;
19684 int arg5
= (int) 0 ;
19691 PyObject
* obj0
= 0 ;
19692 PyObject
* obj1
= 0 ;
19693 PyObject
* obj2
= 0 ;
19694 PyObject
* obj3
= 0 ;
19695 char * kwnames
[] = {
19696 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
19699 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19700 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19701 if (!SWIG_IsOK(res1
)) {
19702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLines" "', expected argument " "1"" of type '" "wxDC *""'");
19704 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19706 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
19707 if (arg3
== NULL
) SWIG_fail
;
19710 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
19711 if (!SWIG_IsOK(ecode4
)) {
19712 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLines" "', expected argument " "4"" of type '" "int""'");
19714 arg4
= static_cast< int >(val4
);
19717 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
19718 if (!SWIG_IsOK(ecode5
)) {
19719 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLines" "', expected argument " "5"" of type '" "int""'");
19721 arg5
= static_cast< int >(val5
);
19724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19725 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
19726 wxPyEndAllowThreads(__tstate
);
19727 if (PyErr_Occurred()) SWIG_fail
;
19729 resultobj
= SWIG_Py_Void();
19731 if (arg3
) delete [] arg3
;
19736 if (arg3
) delete [] arg3
;
19742 SWIGINTERN PyObject
*_wrap_DC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19743 PyObject
*resultobj
= 0;
19744 wxDC
*arg1
= (wxDC
*) 0 ;
19746 wxPoint
*arg3
= (wxPoint
*) 0 ;
19747 int arg4
= (int) 0 ;
19748 int arg5
= (int) 0 ;
19749 int arg6
= (int) wxODDEVEN_RULE
;
19758 PyObject
* obj0
= 0 ;
19759 PyObject
* obj1
= 0 ;
19760 PyObject
* obj2
= 0 ;
19761 PyObject
* obj3
= 0 ;
19762 PyObject
* obj4
= 0 ;
19763 char * kwnames
[] = {
19764 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
19767 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19768 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19769 if (!SWIG_IsOK(res1
)) {
19770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPolygon" "', expected argument " "1"" of type '" "wxDC *""'");
19772 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19774 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
19775 if (arg3
== NULL
) SWIG_fail
;
19778 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
19779 if (!SWIG_IsOK(ecode4
)) {
19780 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
19782 arg4
= static_cast< int >(val4
);
19785 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
19786 if (!SWIG_IsOK(ecode5
)) {
19787 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
19789 arg5
= static_cast< int >(val5
);
19792 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
19793 if (!SWIG_IsOK(ecode6
)) {
19794 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
19796 arg6
= static_cast< int >(val6
);
19799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19800 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
19801 wxPyEndAllowThreads(__tstate
);
19802 if (PyErr_Occurred()) SWIG_fail
;
19804 resultobj
= SWIG_Py_Void();
19806 if (arg3
) delete [] arg3
;
19811 if (arg3
) delete [] arg3
;
19817 SWIGINTERN PyObject
*_wrap_DC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19818 PyObject
*resultobj
= 0;
19819 wxDC
*arg1
= (wxDC
*) 0 ;
19820 wxString
*arg2
= 0 ;
19822 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
19823 int arg5
= (int) -1 ;
19826 bool temp2
= false ;
19832 PyObject
* obj0
= 0 ;
19833 PyObject
* obj1
= 0 ;
19834 PyObject
* obj2
= 0 ;
19835 PyObject
* obj3
= 0 ;
19836 PyObject
* obj4
= 0 ;
19837 char * kwnames
[] = {
19838 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
19841 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19842 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19843 if (!SWIG_IsOK(res1
)) {
19844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLabel" "', expected argument " "1"" of type '" "wxDC *""'");
19846 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19848 arg2
= wxString_in_helper(obj1
);
19849 if (arg2
== NULL
) SWIG_fail
;
19854 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
19857 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19858 if (!SWIG_IsOK(ecode4
)) {
19859 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
19861 arg4
= static_cast< int >(val4
);
19864 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19865 if (!SWIG_IsOK(ecode5
)) {
19866 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
19868 arg5
= static_cast< int >(val5
);
19871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19872 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
19873 wxPyEndAllowThreads(__tstate
);
19874 if (PyErr_Occurred()) SWIG_fail
;
19876 resultobj
= SWIG_Py_Void();
19891 SWIGINTERN PyObject
*_wrap_DC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19892 PyObject
*resultobj
= 0;
19893 wxDC
*arg1
= (wxDC
*) 0 ;
19894 wxString
*arg2
= 0 ;
19895 wxBitmap
*arg3
= 0 ;
19897 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
19898 int arg6
= (int) -1 ;
19902 bool temp2
= false ;
19910 PyObject
* obj0
= 0 ;
19911 PyObject
* obj1
= 0 ;
19912 PyObject
* obj2
= 0 ;
19913 PyObject
* obj3
= 0 ;
19914 PyObject
* obj4
= 0 ;
19915 PyObject
* obj5
= 0 ;
19916 char * kwnames
[] = {
19917 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
19920 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
19921 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19922 if (!SWIG_IsOK(res1
)) {
19923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawImageLabel" "', expected argument " "1"" of type '" "wxDC *""'");
19925 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19927 arg2
= wxString_in_helper(obj1
);
19928 if (arg2
== NULL
) SWIG_fail
;
19931 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
19932 if (!SWIG_IsOK(res3
)) {
19933 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
19936 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
19938 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
19941 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
19944 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19945 if (!SWIG_IsOK(ecode5
)) {
19946 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
19948 arg5
= static_cast< int >(val5
);
19951 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
19952 if (!SWIG_IsOK(ecode6
)) {
19953 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
19955 arg6
= static_cast< int >(val6
);
19958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19959 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
19960 wxPyEndAllowThreads(__tstate
);
19961 if (PyErr_Occurred()) SWIG_fail
;
19963 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
19978 SWIGINTERN PyObject
*_wrap_DC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19979 PyObject
*resultobj
= 0;
19980 wxDC
*arg1
= (wxDC
*) 0 ;
19982 wxPoint
*arg3
= (wxPoint
*) 0 ;
19985 PyObject
* obj0
= 0 ;
19986 PyObject
* obj1
= 0 ;
19987 char * kwnames
[] = {
19988 (char *) "self",(char *) "points", NULL
19991 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19992 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19993 if (!SWIG_IsOK(res1
)) {
19994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawSpline" "', expected argument " "1"" of type '" "wxDC *""'");
19996 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19998 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
19999 if (arg3
== NULL
) SWIG_fail
;
20002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20003 (arg1
)->DrawSpline(arg2
,arg3
);
20004 wxPyEndAllowThreads(__tstate
);
20005 if (PyErr_Occurred()) SWIG_fail
;
20007 resultobj
= SWIG_Py_Void();
20009 if (arg3
) delete [] arg3
;
20014 if (arg3
) delete [] arg3
;
20020 SWIGINTERN PyObject
*_wrap_DC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20021 PyObject
*resultobj
= 0;
20022 wxDC
*arg1
= (wxDC
*) 0 ;
20025 PyObject
*swig_obj
[1] ;
20027 if (!args
) SWIG_fail
;
20028 swig_obj
[0] = args
;
20029 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20030 if (!SWIG_IsOK(res1
)) {
20031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Clear" "', expected argument " "1"" of type '" "wxDC *""'");
20033 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20037 wxPyEndAllowThreads(__tstate
);
20038 if (PyErr_Occurred()) SWIG_fail
;
20040 resultobj
= SWIG_Py_Void();
20047 SWIGINTERN PyObject
*_wrap_DC_StartDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20048 PyObject
*resultobj
= 0;
20049 wxDC
*arg1
= (wxDC
*) 0 ;
20050 wxString
*arg2
= 0 ;
20054 bool temp2
= false ;
20055 PyObject
* obj0
= 0 ;
20056 PyObject
* obj1
= 0 ;
20057 char * kwnames
[] = {
20058 (char *) "self",(char *) "message", NULL
20061 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20062 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20063 if (!SWIG_IsOK(res1
)) {
20064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartDoc" "', expected argument " "1"" of type '" "wxDC *""'");
20066 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20068 arg2
= wxString_in_helper(obj1
);
20069 if (arg2
== NULL
) SWIG_fail
;
20073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20074 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
20075 wxPyEndAllowThreads(__tstate
);
20076 if (PyErr_Occurred()) SWIG_fail
;
20079 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20095 SWIGINTERN PyObject
*_wrap_DC_EndDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20096 PyObject
*resultobj
= 0;
20097 wxDC
*arg1
= (wxDC
*) 0 ;
20100 PyObject
*swig_obj
[1] ;
20102 if (!args
) SWIG_fail
;
20103 swig_obj
[0] = args
;
20104 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20105 if (!SWIG_IsOK(res1
)) {
20106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndDoc" "', expected argument " "1"" of type '" "wxDC *""'");
20108 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20112 wxPyEndAllowThreads(__tstate
);
20113 if (PyErr_Occurred()) SWIG_fail
;
20115 resultobj
= SWIG_Py_Void();
20122 SWIGINTERN PyObject
*_wrap_DC_StartPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20123 PyObject
*resultobj
= 0;
20124 wxDC
*arg1
= (wxDC
*) 0 ;
20127 PyObject
*swig_obj
[1] ;
20129 if (!args
) SWIG_fail
;
20130 swig_obj
[0] = args
;
20131 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20132 if (!SWIG_IsOK(res1
)) {
20133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartPage" "', expected argument " "1"" of type '" "wxDC *""'");
20135 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20138 (arg1
)->StartPage();
20139 wxPyEndAllowThreads(__tstate
);
20140 if (PyErr_Occurred()) SWIG_fail
;
20142 resultobj
= SWIG_Py_Void();
20149 SWIGINTERN PyObject
*_wrap_DC_EndPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20150 PyObject
*resultobj
= 0;
20151 wxDC
*arg1
= (wxDC
*) 0 ;
20154 PyObject
*swig_obj
[1] ;
20156 if (!args
) SWIG_fail
;
20157 swig_obj
[0] = args
;
20158 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20159 if (!SWIG_IsOK(res1
)) {
20160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndPage" "', expected argument " "1"" of type '" "wxDC *""'");
20162 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20166 wxPyEndAllowThreads(__tstate
);
20167 if (PyErr_Occurred()) SWIG_fail
;
20169 resultobj
= SWIG_Py_Void();
20176 SWIGINTERN PyObject
*_wrap_DC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20177 PyObject
*resultobj
= 0;
20178 wxDC
*arg1
= (wxDC
*) 0 ;
20184 PyObject
* obj0
= 0 ;
20185 PyObject
* obj1
= 0 ;
20186 char * kwnames
[] = {
20187 (char *) "self",(char *) "font", NULL
20190 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20191 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20192 if (!SWIG_IsOK(res1
)) {
20193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetFont" "', expected argument " "1"" of type '" "wxDC *""'");
20195 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20196 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
20197 if (!SWIG_IsOK(res2
)) {
20198 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
20201 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
20203 arg2
= reinterpret_cast< wxFont
* >(argp2
);
20205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20206 (arg1
)->SetFont((wxFont
const &)*arg2
);
20207 wxPyEndAllowThreads(__tstate
);
20208 if (PyErr_Occurred()) SWIG_fail
;
20210 resultobj
= SWIG_Py_Void();
20217 SWIGINTERN PyObject
*_wrap_DC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20218 PyObject
*resultobj
= 0;
20219 wxDC
*arg1
= (wxDC
*) 0 ;
20225 PyObject
* obj0
= 0 ;
20226 PyObject
* obj1
= 0 ;
20227 char * kwnames
[] = {
20228 (char *) "self",(char *) "pen", NULL
20231 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20232 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20233 if (!SWIG_IsOK(res1
)) {
20234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPen" "', expected argument " "1"" of type '" "wxDC *""'");
20236 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20237 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
20238 if (!SWIG_IsOK(res2
)) {
20239 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
20242 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
20244 arg2
= reinterpret_cast< wxPen
* >(argp2
);
20246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20247 (arg1
)->SetPen((wxPen
const &)*arg2
);
20248 wxPyEndAllowThreads(__tstate
);
20249 if (PyErr_Occurred()) SWIG_fail
;
20251 resultobj
= SWIG_Py_Void();
20258 SWIGINTERN PyObject
*_wrap_DC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20259 PyObject
*resultobj
= 0;
20260 wxDC
*arg1
= (wxDC
*) 0 ;
20261 wxBrush
*arg2
= 0 ;
20266 PyObject
* obj0
= 0 ;
20267 PyObject
* obj1
= 0 ;
20268 char * kwnames
[] = {
20269 (char *) "self",(char *) "brush", NULL
20272 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20273 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20274 if (!SWIG_IsOK(res1
)) {
20275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBrush" "', expected argument " "1"" of type '" "wxDC *""'");
20277 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20278 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
20279 if (!SWIG_IsOK(res2
)) {
20280 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
20283 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
20285 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
20287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20288 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
20289 wxPyEndAllowThreads(__tstate
);
20290 if (PyErr_Occurred()) SWIG_fail
;
20292 resultobj
= SWIG_Py_Void();
20299 SWIGINTERN PyObject
*_wrap_DC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20300 PyObject
*resultobj
= 0;
20301 wxDC
*arg1
= (wxDC
*) 0 ;
20302 wxBrush
*arg2
= 0 ;
20307 PyObject
* obj0
= 0 ;
20308 PyObject
* obj1
= 0 ;
20309 char * kwnames
[] = {
20310 (char *) "self",(char *) "brush", NULL
20313 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20314 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20315 if (!SWIG_IsOK(res1
)) {
20316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackground" "', expected argument " "1"" of type '" "wxDC *""'");
20318 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20319 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
20320 if (!SWIG_IsOK(res2
)) {
20321 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
20324 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
20326 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
20328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20329 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
20330 wxPyEndAllowThreads(__tstate
);
20331 if (PyErr_Occurred()) SWIG_fail
;
20333 resultobj
= SWIG_Py_Void();
20340 SWIGINTERN PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20341 PyObject
*resultobj
= 0;
20342 wxDC
*arg1
= (wxDC
*) 0 ;
20348 PyObject
* obj0
= 0 ;
20349 PyObject
* obj1
= 0 ;
20350 char * kwnames
[] = {
20351 (char *) "self",(char *) "mode", NULL
20354 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20355 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20356 if (!SWIG_IsOK(res1
)) {
20357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxDC *""'");
20359 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20360 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20361 if (!SWIG_IsOK(ecode2
)) {
20362 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
20364 arg2
= static_cast< int >(val2
);
20366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20367 (arg1
)->SetBackgroundMode(arg2
);
20368 wxPyEndAllowThreads(__tstate
);
20369 if (PyErr_Occurred()) SWIG_fail
;
20371 resultobj
= SWIG_Py_Void();
20378 SWIGINTERN PyObject
*_wrap_DC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20379 PyObject
*resultobj
= 0;
20380 wxDC
*arg1
= (wxDC
*) 0 ;
20381 wxPalette
*arg2
= 0 ;
20386 PyObject
* obj0
= 0 ;
20387 PyObject
* obj1
= 0 ;
20388 char * kwnames
[] = {
20389 (char *) "self",(char *) "palette", NULL
20392 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20393 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20394 if (!SWIG_IsOK(res1
)) {
20395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPalette" "', expected argument " "1"" of type '" "wxDC *""'");
20397 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20398 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
20399 if (!SWIG_IsOK(res2
)) {
20400 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
20403 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
20405 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
20407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20408 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
20409 wxPyEndAllowThreads(__tstate
);
20410 if (PyErr_Occurred()) SWIG_fail
;
20412 resultobj
= SWIG_Py_Void();
20419 SWIGINTERN PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20420 PyObject
*resultobj
= 0;
20421 wxDC
*arg1
= (wxDC
*) 0 ;
20424 PyObject
*swig_obj
[1] ;
20426 if (!args
) SWIG_fail
;
20427 swig_obj
[0] = args
;
20428 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20429 if (!SWIG_IsOK(res1
)) {
20430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DestroyClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
20432 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20435 (arg1
)->DestroyClippingRegion();
20436 wxPyEndAllowThreads(__tstate
);
20437 if (PyErr_Occurred()) SWIG_fail
;
20439 resultobj
= SWIG_Py_Void();
20446 SWIGINTERN PyObject
*_wrap_DC_GetClippingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20447 PyObject
*resultobj
= 0;
20448 wxDC
*arg1
= (wxDC
*) 0 ;
20449 int *arg2
= (int *) 0 ;
20450 int *arg3
= (int *) 0 ;
20451 int *arg4
= (int *) 0 ;
20452 int *arg5
= (int *) 0 ;
20456 int res2
= SWIG_TMPOBJ
;
20458 int res3
= SWIG_TMPOBJ
;
20460 int res4
= SWIG_TMPOBJ
;
20462 int res5
= SWIG_TMPOBJ
;
20463 PyObject
*swig_obj
[1] ;
20469 if (!args
) SWIG_fail
;
20470 swig_obj
[0] = args
;
20471 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20472 if (!SWIG_IsOK(res1
)) {
20473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingBox" "', expected argument " "1"" of type '" "wxDC const *""'");
20475 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20478 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
20479 wxPyEndAllowThreads(__tstate
);
20480 if (PyErr_Occurred()) SWIG_fail
;
20482 resultobj
= SWIG_Py_Void();
20483 if (SWIG_IsTmpObj(res2
)) {
20484 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
20486 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20487 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
20489 if (SWIG_IsTmpObj(res3
)) {
20490 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20492 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20493 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20495 if (SWIG_IsTmpObj(res4
)) {
20496 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
20498 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20499 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
20501 if (SWIG_IsTmpObj(res5
)) {
20502 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
20504 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20505 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
20513 SWIGINTERN PyObject
*_wrap_DC_GetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20514 PyObject
*resultobj
= 0;
20515 wxDC
*arg1
= (wxDC
*) 0 ;
20519 PyObject
*swig_obj
[1] ;
20521 if (!args
) SWIG_fail
;
20522 swig_obj
[0] = args
;
20523 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20524 if (!SWIG_IsOK(res1
)) {
20525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
20527 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20530 result
= wxDC_GetClippingRect(arg1
);
20531 wxPyEndAllowThreads(__tstate
);
20532 if (PyErr_Occurred()) SWIG_fail
;
20534 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
20541 SWIGINTERN PyObject
*_wrap_DC_GetCharHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20542 PyObject
*resultobj
= 0;
20543 wxDC
*arg1
= (wxDC
*) 0 ;
20547 PyObject
*swig_obj
[1] ;
20549 if (!args
) SWIG_fail
;
20550 swig_obj
[0] = args
;
20551 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20552 if (!SWIG_IsOK(res1
)) {
20553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharHeight" "', expected argument " "1"" of type '" "wxDC const *""'");
20555 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20558 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
20559 wxPyEndAllowThreads(__tstate
);
20560 if (PyErr_Occurred()) SWIG_fail
;
20562 resultobj
= SWIG_From_int(static_cast< int >(result
));
20569 SWIGINTERN PyObject
*_wrap_DC_GetCharWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20570 PyObject
*resultobj
= 0;
20571 wxDC
*arg1
= (wxDC
*) 0 ;
20575 PyObject
*swig_obj
[1] ;
20577 if (!args
) SWIG_fail
;
20578 swig_obj
[0] = args
;
20579 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20580 if (!SWIG_IsOK(res1
)) {
20581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharWidth" "', expected argument " "1"" of type '" "wxDC const *""'");
20583 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20586 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
20587 wxPyEndAllowThreads(__tstate
);
20588 if (PyErr_Occurred()) SWIG_fail
;
20590 resultobj
= SWIG_From_int(static_cast< int >(result
));
20597 SWIGINTERN PyObject
*_wrap_DC_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20598 PyObject
*resultobj
= 0;
20599 wxDC
*arg1
= (wxDC
*) 0 ;
20600 wxString
*arg2
= 0 ;
20601 int *arg3
= (int *) 0 ;
20602 int *arg4
= (int *) 0 ;
20605 bool temp2
= false ;
20607 int res3
= SWIG_TMPOBJ
;
20609 int res4
= SWIG_TMPOBJ
;
20610 PyObject
* obj0
= 0 ;
20611 PyObject
* obj1
= 0 ;
20612 char * kwnames
[] = {
20613 (char *) "self",(char *) "string", NULL
20618 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20619 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20620 if (!SWIG_IsOK(res1
)) {
20621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
20623 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20625 arg2
= wxString_in_helper(obj1
);
20626 if (arg2
== NULL
) SWIG_fail
;
20630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20631 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
20632 wxPyEndAllowThreads(__tstate
);
20633 if (PyErr_Occurred()) SWIG_fail
;
20635 resultobj
= SWIG_Py_Void();
20636 if (SWIG_IsTmpObj(res3
)) {
20637 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20639 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20640 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20642 if (SWIG_IsTmpObj(res4
)) {
20643 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
20645 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20646 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
20662 SWIGINTERN PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20663 PyObject
*resultobj
= 0;
20664 wxDC
*arg1
= (wxDC
*) 0 ;
20665 wxString
*arg2
= 0 ;
20666 int *arg3
= (int *) 0 ;
20667 int *arg4
= (int *) 0 ;
20668 int *arg5
= (int *) 0 ;
20669 int *arg6
= (int *) 0 ;
20670 wxFont
*arg7
= (wxFont
*) NULL
;
20673 bool temp2
= false ;
20675 int res3
= SWIG_TMPOBJ
;
20677 int res4
= SWIG_TMPOBJ
;
20679 int res5
= SWIG_TMPOBJ
;
20681 int res6
= SWIG_TMPOBJ
;
20684 PyObject
* obj0
= 0 ;
20685 PyObject
* obj1
= 0 ;
20686 PyObject
* obj2
= 0 ;
20687 char * kwnames
[] = {
20688 (char *) "self",(char *) "string",(char *) "font", NULL
20695 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20696 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20697 if (!SWIG_IsOK(res1
)) {
20698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFullTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
20700 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20702 arg2
= wxString_in_helper(obj1
);
20703 if (arg2
== NULL
) SWIG_fail
;
20707 res7
= SWIG_ConvertPtr(obj2
, &argp7
,SWIGTYPE_p_wxFont
, 0 | 0 );
20708 if (!SWIG_IsOK(res7
)) {
20709 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "DC_GetFullTextExtent" "', expected argument " "7"" of type '" "wxFont *""'");
20711 arg7
= reinterpret_cast< wxFont
* >(argp7
);
20714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20715 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
20716 wxPyEndAllowThreads(__tstate
);
20717 if (PyErr_Occurred()) SWIG_fail
;
20719 resultobj
= SWIG_Py_Void();
20720 if (SWIG_IsTmpObj(res3
)) {
20721 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20723 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20724 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20726 if (SWIG_IsTmpObj(res4
)) {
20727 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
20729 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20730 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
20732 if (SWIG_IsTmpObj(res5
)) {
20733 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
20735 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20736 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
20738 if (SWIG_IsTmpObj(res6
)) {
20739 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg6
)));
20741 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20742 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, new_flags
));
20758 SWIGINTERN PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20759 PyObject
*resultobj
= 0;
20760 wxDC
*arg1
= (wxDC
*) 0 ;
20761 wxString
*arg2
= 0 ;
20762 int *arg3
= (int *) 0 ;
20763 int *arg4
= (int *) 0 ;
20764 int *arg5
= (int *) 0 ;
20765 wxFont
*arg6
= (wxFont
*) NULL
;
20768 bool temp2
= false ;
20770 int res3
= SWIG_TMPOBJ
;
20772 int res4
= SWIG_TMPOBJ
;
20774 int res5
= SWIG_TMPOBJ
;
20777 PyObject
* obj0
= 0 ;
20778 PyObject
* obj1
= 0 ;
20779 PyObject
* obj2
= 0 ;
20780 char * kwnames
[] = {
20781 (char *) "self",(char *) "text",(char *) "font", NULL
20787 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20788 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20789 if (!SWIG_IsOK(res1
)) {
20790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
20792 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20794 arg2
= wxString_in_helper(obj1
);
20795 if (arg2
== NULL
) SWIG_fail
;
20799 res6
= SWIG_ConvertPtr(obj2
, &argp6
,SWIGTYPE_p_wxFont
, 0 | 0 );
20800 if (!SWIG_IsOK(res6
)) {
20801 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "6"" of type '" "wxFont *""'");
20803 arg6
= reinterpret_cast< wxFont
* >(argp6
);
20806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20807 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
20808 wxPyEndAllowThreads(__tstate
);
20809 if (PyErr_Occurred()) SWIG_fail
;
20811 resultobj
= SWIG_Py_Void();
20812 if (SWIG_IsTmpObj(res3
)) {
20813 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20815 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20816 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20818 if (SWIG_IsTmpObj(res4
)) {
20819 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
20821 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20822 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
20824 if (SWIG_IsTmpObj(res5
)) {
20825 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
20827 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20828 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
20844 SWIGINTERN PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20845 PyObject
*resultobj
= 0;
20846 wxDC
*arg1
= (wxDC
*) 0 ;
20847 wxString
*arg2
= 0 ;
20851 bool temp2
= false ;
20852 PyObject
* obj0
= 0 ;
20853 PyObject
* obj1
= 0 ;
20854 char * kwnames
[] = {
20855 (char *) "self",(char *) "text", NULL
20858 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20859 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20860 if (!SWIG_IsOK(res1
)) {
20861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxDC *""'");
20863 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20865 arg2
= wxString_in_helper(obj1
);
20866 if (arg2
== NULL
) SWIG_fail
;
20870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20871 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
20872 wxPyEndAllowThreads(__tstate
);
20873 if (PyErr_Occurred()) SWIG_fail
;
20876 resultobj
= wxArrayInt2PyList_helper(result
);
20892 SWIGINTERN PyObject
*_wrap_DC_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20893 PyObject
*resultobj
= 0;
20894 wxDC
*arg1
= (wxDC
*) 0 ;
20898 PyObject
*swig_obj
[1] ;
20900 if (!args
) SWIG_fail
;
20901 swig_obj
[0] = args
;
20902 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20903 if (!SWIG_IsOK(res1
)) {
20904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSize" "', expected argument " "1"" of type '" "wxDC *""'");
20906 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20909 result
= (arg1
)->GetSize();
20910 wxPyEndAllowThreads(__tstate
);
20911 if (PyErr_Occurred()) SWIG_fail
;
20913 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
20920 SWIGINTERN PyObject
*_wrap_DC_GetSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20921 PyObject
*resultobj
= 0;
20922 wxDC
*arg1
= (wxDC
*) 0 ;
20923 int *arg2
= (int *) 0 ;
20924 int *arg3
= (int *) 0 ;
20928 int res2
= SWIG_TMPOBJ
;
20930 int res3
= SWIG_TMPOBJ
;
20931 PyObject
*swig_obj
[1] ;
20935 if (!args
) SWIG_fail
;
20936 swig_obj
[0] = args
;
20937 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20938 if (!SWIG_IsOK(res1
)) {
20939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeTuple" "', expected argument " "1"" of type '" "wxDC *""'");
20941 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20944 (arg1
)->GetSize(arg2
,arg3
);
20945 wxPyEndAllowThreads(__tstate
);
20946 if (PyErr_Occurred()) SWIG_fail
;
20948 resultobj
= SWIG_Py_Void();
20949 if (SWIG_IsTmpObj(res2
)) {
20950 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
20952 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20953 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
20955 if (SWIG_IsTmpObj(res3
)) {
20956 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20958 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20959 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20967 SWIGINTERN PyObject
*_wrap_DC_GetSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20968 PyObject
*resultobj
= 0;
20969 wxDC
*arg1
= (wxDC
*) 0 ;
20973 PyObject
*swig_obj
[1] ;
20975 if (!args
) SWIG_fail
;
20976 swig_obj
[0] = args
;
20977 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20978 if (!SWIG_IsOK(res1
)) {
20979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMM" "', expected argument " "1"" of type '" "wxDC const *""'");
20981 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20984 result
= ((wxDC
const *)arg1
)->GetSizeMM();
20985 wxPyEndAllowThreads(__tstate
);
20986 if (PyErr_Occurred()) SWIG_fail
;
20988 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
20995 SWIGINTERN PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20996 PyObject
*resultobj
= 0;
20997 wxDC
*arg1
= (wxDC
*) 0 ;
20998 int *arg2
= (int *) 0 ;
20999 int *arg3
= (int *) 0 ;
21003 int res2
= SWIG_TMPOBJ
;
21005 int res3
= SWIG_TMPOBJ
;
21006 PyObject
*swig_obj
[1] ;
21010 if (!args
) SWIG_fail
;
21011 swig_obj
[0] = args
;
21012 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21013 if (!SWIG_IsOK(res1
)) {
21014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMMTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
21016 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21019 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
21020 wxPyEndAllowThreads(__tstate
);
21021 if (PyErr_Occurred()) SWIG_fail
;
21023 resultobj
= SWIG_Py_Void();
21024 if (SWIG_IsTmpObj(res2
)) {
21025 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21027 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21028 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21030 if (SWIG_IsTmpObj(res3
)) {
21031 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21033 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21034 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21042 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21043 PyObject
*resultobj
= 0;
21044 wxDC
*arg1
= (wxDC
*) 0 ;
21051 PyObject
* obj0
= 0 ;
21052 PyObject
* obj1
= 0 ;
21053 char * kwnames
[] = {
21054 (char *) "self",(char *) "x", NULL
21057 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21058 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21059 if (!SWIG_IsOK(res1
)) {
21060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "1"" of type '" "wxDC const *""'");
21062 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21063 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21064 if (!SWIG_IsOK(ecode2
)) {
21065 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "2"" of type '" "int""'");
21067 arg2
= static_cast< int >(val2
);
21069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21070 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
21071 wxPyEndAllowThreads(__tstate
);
21072 if (PyErr_Occurred()) SWIG_fail
;
21074 resultobj
= SWIG_From_int(static_cast< int >(result
));
21081 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21082 PyObject
*resultobj
= 0;
21083 wxDC
*arg1
= (wxDC
*) 0 ;
21090 PyObject
* obj0
= 0 ;
21091 PyObject
* obj1
= 0 ;
21092 char * kwnames
[] = {
21093 (char *) "self",(char *) "y", NULL
21096 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21097 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21098 if (!SWIG_IsOK(res1
)) {
21099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "1"" of type '" "wxDC const *""'");
21101 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21102 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21103 if (!SWIG_IsOK(ecode2
)) {
21104 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "2"" of type '" "int""'");
21106 arg2
= static_cast< int >(val2
);
21108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21109 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
21110 wxPyEndAllowThreads(__tstate
);
21111 if (PyErr_Occurred()) SWIG_fail
;
21113 resultobj
= SWIG_From_int(static_cast< int >(result
));
21120 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21121 PyObject
*resultobj
= 0;
21122 wxDC
*arg1
= (wxDC
*) 0 ;
21129 PyObject
* obj0
= 0 ;
21130 PyObject
* obj1
= 0 ;
21131 char * kwnames
[] = {
21132 (char *) "self",(char *) "x", NULL
21135 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21136 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21137 if (!SWIG_IsOK(res1
)) {
21138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21140 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21141 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21142 if (!SWIG_IsOK(ecode2
)) {
21143 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "2"" of type '" "int""'");
21145 arg2
= static_cast< int >(val2
);
21147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21148 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
21149 wxPyEndAllowThreads(__tstate
);
21150 if (PyErr_Occurred()) SWIG_fail
;
21152 resultobj
= SWIG_From_int(static_cast< int >(result
));
21159 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21160 PyObject
*resultobj
= 0;
21161 wxDC
*arg1
= (wxDC
*) 0 ;
21168 PyObject
* obj0
= 0 ;
21169 PyObject
* obj1
= 0 ;
21170 char * kwnames
[] = {
21171 (char *) "self",(char *) "y", NULL
21174 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21175 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21176 if (!SWIG_IsOK(res1
)) {
21177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21179 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21180 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21181 if (!SWIG_IsOK(ecode2
)) {
21182 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "2"" of type '" "int""'");
21184 arg2
= static_cast< int >(val2
);
21186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21187 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
21188 wxPyEndAllowThreads(__tstate
);
21189 if (PyErr_Occurred()) SWIG_fail
;
21191 resultobj
= SWIG_From_int(static_cast< int >(result
));
21198 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21199 PyObject
*resultobj
= 0;
21200 wxDC
*arg1
= (wxDC
*) 0 ;
21207 PyObject
* obj0
= 0 ;
21208 PyObject
* obj1
= 0 ;
21209 char * kwnames
[] = {
21210 (char *) "self",(char *) "x", NULL
21213 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21214 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21215 if (!SWIG_IsOK(res1
)) {
21216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "1"" of type '" "wxDC const *""'");
21218 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21219 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21220 if (!SWIG_IsOK(ecode2
)) {
21221 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "2"" of type '" "int""'");
21223 arg2
= static_cast< int >(val2
);
21225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21226 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
21227 wxPyEndAllowThreads(__tstate
);
21228 if (PyErr_Occurred()) SWIG_fail
;
21230 resultobj
= SWIG_From_int(static_cast< int >(result
));
21237 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21238 PyObject
*resultobj
= 0;
21239 wxDC
*arg1
= (wxDC
*) 0 ;
21246 PyObject
* obj0
= 0 ;
21247 PyObject
* obj1
= 0 ;
21248 char * kwnames
[] = {
21249 (char *) "self",(char *) "y", NULL
21252 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21253 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21254 if (!SWIG_IsOK(res1
)) {
21255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "1"" of type '" "wxDC const *""'");
21257 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21258 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21259 if (!SWIG_IsOK(ecode2
)) {
21260 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "2"" of type '" "int""'");
21262 arg2
= static_cast< int >(val2
);
21264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21265 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
21266 wxPyEndAllowThreads(__tstate
);
21267 if (PyErr_Occurred()) SWIG_fail
;
21269 resultobj
= SWIG_From_int(static_cast< int >(result
));
21276 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21277 PyObject
*resultobj
= 0;
21278 wxDC
*arg1
= (wxDC
*) 0 ;
21285 PyObject
* obj0
= 0 ;
21286 PyObject
* obj1
= 0 ;
21287 char * kwnames
[] = {
21288 (char *) "self",(char *) "x", NULL
21291 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21292 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21293 if (!SWIG_IsOK(res1
)) {
21294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21296 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21297 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21298 if (!SWIG_IsOK(ecode2
)) {
21299 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "2"" of type '" "int""'");
21301 arg2
= static_cast< int >(val2
);
21303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21304 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
21305 wxPyEndAllowThreads(__tstate
);
21306 if (PyErr_Occurred()) SWIG_fail
;
21308 resultobj
= SWIG_From_int(static_cast< int >(result
));
21315 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21316 PyObject
*resultobj
= 0;
21317 wxDC
*arg1
= (wxDC
*) 0 ;
21324 PyObject
* obj0
= 0 ;
21325 PyObject
* obj1
= 0 ;
21326 char * kwnames
[] = {
21327 (char *) "self",(char *) "y", NULL
21330 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21331 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21332 if (!SWIG_IsOK(res1
)) {
21333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21335 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21336 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21337 if (!SWIG_IsOK(ecode2
)) {
21338 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "2"" of type '" "int""'");
21340 arg2
= static_cast< int >(val2
);
21342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21343 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
21344 wxPyEndAllowThreads(__tstate
);
21345 if (PyErr_Occurred()) SWIG_fail
;
21347 resultobj
= SWIG_From_int(static_cast< int >(result
));
21354 SWIGINTERN PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21355 PyObject
*resultobj
= 0;
21356 wxDC
*arg1
= (wxDC
*) 0 ;
21360 PyObject
*swig_obj
[1] ;
21362 if (!args
) SWIG_fail
;
21363 swig_obj
[0] = args
;
21364 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21365 if (!SWIG_IsOK(res1
)) {
21366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanDrawBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
21368 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21371 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
21372 wxPyEndAllowThreads(__tstate
);
21373 if (PyErr_Occurred()) SWIG_fail
;
21376 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21384 SWIGINTERN PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21385 PyObject
*resultobj
= 0;
21386 wxDC
*arg1
= (wxDC
*) 0 ;
21390 PyObject
*swig_obj
[1] ;
21392 if (!args
) SWIG_fail
;
21393 swig_obj
[0] = args
;
21394 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21395 if (!SWIG_IsOK(res1
)) {
21396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanGetTextExtent" "', expected argument " "1"" of type '" "wxDC const *""'");
21398 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21401 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
21402 wxPyEndAllowThreads(__tstate
);
21403 if (PyErr_Occurred()) SWIG_fail
;
21406 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21414 SWIGINTERN PyObject
*_wrap_DC_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21415 PyObject
*resultobj
= 0;
21416 wxDC
*arg1
= (wxDC
*) 0 ;
21420 PyObject
*swig_obj
[1] ;
21422 if (!args
) SWIG_fail
;
21423 swig_obj
[0] = args
;
21424 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21425 if (!SWIG_IsOK(res1
)) {
21426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDepth" "', expected argument " "1"" of type '" "wxDC const *""'");
21428 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21431 result
= (int)((wxDC
const *)arg1
)->GetDepth();
21432 wxPyEndAllowThreads(__tstate
);
21433 if (PyErr_Occurred()) SWIG_fail
;
21435 resultobj
= SWIG_From_int(static_cast< int >(result
));
21442 SWIGINTERN PyObject
*_wrap_DC_GetPPI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21443 PyObject
*resultobj
= 0;
21444 wxDC
*arg1
= (wxDC
*) 0 ;
21448 PyObject
*swig_obj
[1] ;
21450 if (!args
) SWIG_fail
;
21451 swig_obj
[0] = args
;
21452 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21453 if (!SWIG_IsOK(res1
)) {
21454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPPI" "', expected argument " "1"" of type '" "wxDC const *""'");
21456 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21459 result
= ((wxDC
const *)arg1
)->GetPPI();
21460 wxPyEndAllowThreads(__tstate
);
21461 if (PyErr_Occurred()) SWIG_fail
;
21463 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21470 SWIGINTERN PyObject
*_wrap_DC_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21471 PyObject
*resultobj
= 0;
21472 wxDC
*arg1
= (wxDC
*) 0 ;
21476 PyObject
*swig_obj
[1] ;
21478 if (!args
) SWIG_fail
;
21479 swig_obj
[0] = args
;
21480 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21481 if (!SWIG_IsOK(res1
)) {
21482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_IsOk" "', expected argument " "1"" of type '" "wxDC const *""'");
21484 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21487 result
= (bool)((wxDC
const *)arg1
)->IsOk();
21488 wxPyEndAllowThreads(__tstate
);
21489 if (PyErr_Occurred()) SWIG_fail
;
21492 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21500 SWIGINTERN PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21501 PyObject
*resultobj
= 0;
21502 wxDC
*arg1
= (wxDC
*) 0 ;
21506 PyObject
*swig_obj
[1] ;
21508 if (!args
) SWIG_fail
;
21509 swig_obj
[0] = args
;
21510 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21511 if (!SWIG_IsOK(res1
)) {
21512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackgroundMode" "', expected argument " "1"" of type '" "wxDC const *""'");
21514 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21517 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
21518 wxPyEndAllowThreads(__tstate
);
21519 if (PyErr_Occurred()) SWIG_fail
;
21521 resultobj
= SWIG_From_int(static_cast< int >(result
));
21528 SWIGINTERN PyObject
*_wrap_DC_GetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21529 PyObject
*resultobj
= 0;
21530 wxDC
*arg1
= (wxDC
*) 0 ;
21531 wxBrush
*result
= 0 ;
21534 PyObject
*swig_obj
[1] ;
21536 if (!args
) SWIG_fail
;
21537 swig_obj
[0] = args
;
21538 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21539 if (!SWIG_IsOK(res1
)) {
21540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
21542 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21546 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
21547 result
= (wxBrush
*) &_result_ref
;
21549 wxPyEndAllowThreads(__tstate
);
21550 if (PyErr_Occurred()) SWIG_fail
;
21553 wxBrush
* resultptr
= new wxBrush(*result
);
21554 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
21562 SWIGINTERN PyObject
*_wrap_DC_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21563 PyObject
*resultobj
= 0;
21564 wxDC
*arg1
= (wxDC
*) 0 ;
21565 wxBrush
*result
= 0 ;
21568 PyObject
*swig_obj
[1] ;
21570 if (!args
) SWIG_fail
;
21571 swig_obj
[0] = args
;
21572 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21573 if (!SWIG_IsOK(res1
)) {
21574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBrush" "', expected argument " "1"" of type '" "wxDC const *""'");
21576 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21580 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
21581 result
= (wxBrush
*) &_result_ref
;
21583 wxPyEndAllowThreads(__tstate
);
21584 if (PyErr_Occurred()) SWIG_fail
;
21587 wxBrush
* resultptr
= new wxBrush(*result
);
21588 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
21596 SWIGINTERN PyObject
*_wrap_DC_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21597 PyObject
*resultobj
= 0;
21598 wxDC
*arg1
= (wxDC
*) 0 ;
21599 wxFont
*result
= 0 ;
21602 PyObject
*swig_obj
[1] ;
21604 if (!args
) SWIG_fail
;
21605 swig_obj
[0] = args
;
21606 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21607 if (!SWIG_IsOK(res1
)) {
21608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFont" "', expected argument " "1"" of type '" "wxDC const *""'");
21610 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21614 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
21615 result
= (wxFont
*) &_result_ref
;
21617 wxPyEndAllowThreads(__tstate
);
21618 if (PyErr_Occurred()) SWIG_fail
;
21621 wxFont
* resultptr
= new wxFont(*result
);
21622 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
21630 SWIGINTERN PyObject
*_wrap_DC_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21631 PyObject
*resultobj
= 0;
21632 wxDC
*arg1
= (wxDC
*) 0 ;
21633 wxPen
*result
= 0 ;
21636 PyObject
*swig_obj
[1] ;
21638 if (!args
) SWIG_fail
;
21639 swig_obj
[0] = args
;
21640 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21641 if (!SWIG_IsOK(res1
)) {
21642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPen" "', expected argument " "1"" of type '" "wxDC const *""'");
21644 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21648 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
21649 result
= (wxPen
*) &_result_ref
;
21651 wxPyEndAllowThreads(__tstate
);
21652 if (PyErr_Occurred()) SWIG_fail
;
21655 wxPen
* resultptr
= new wxPen(*result
);
21656 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
21664 SWIGINTERN PyObject
*_wrap_DC_GetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21665 PyObject
*resultobj
= 0;
21666 wxDC
*arg1
= (wxDC
*) 0 ;
21667 wxColour
*result
= 0 ;
21670 PyObject
*swig_obj
[1] ;
21672 if (!args
) SWIG_fail
;
21673 swig_obj
[0] = args
;
21674 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21675 if (!SWIG_IsOK(res1
)) {
21676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
21678 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21682 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
21683 result
= (wxColour
*) &_result_ref
;
21685 wxPyEndAllowThreads(__tstate
);
21686 if (PyErr_Occurred()) SWIG_fail
;
21688 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
21695 SWIGINTERN PyObject
*_wrap_DC_GetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21696 PyObject
*resultobj
= 0;
21697 wxDC
*arg1
= (wxDC
*) 0 ;
21698 wxColour
*result
= 0 ;
21701 PyObject
*swig_obj
[1] ;
21703 if (!args
) SWIG_fail
;
21704 swig_obj
[0] = args
;
21705 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21706 if (!SWIG_IsOK(res1
)) {
21707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextForeground" "', expected argument " "1"" of type '" "wxDC const *""'");
21709 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21713 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
21714 result
= (wxColour
*) &_result_ref
;
21716 wxPyEndAllowThreads(__tstate
);
21717 if (PyErr_Occurred()) SWIG_fail
;
21719 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
21726 SWIGINTERN PyObject
*_wrap_DC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21727 PyObject
*resultobj
= 0;
21728 wxDC
*arg1
= (wxDC
*) 0 ;
21729 wxColour
*arg2
= 0 ;
21733 PyObject
* obj0
= 0 ;
21734 PyObject
* obj1
= 0 ;
21735 char * kwnames
[] = {
21736 (char *) "self",(char *) "colour", NULL
21739 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21740 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21741 if (!SWIG_IsOK(res1
)) {
21742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextForeground" "', expected argument " "1"" of type '" "wxDC *""'");
21744 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21747 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21751 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
21752 wxPyEndAllowThreads(__tstate
);
21753 if (PyErr_Occurred()) SWIG_fail
;
21755 resultobj
= SWIG_Py_Void();
21762 SWIGINTERN PyObject
*_wrap_DC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21763 PyObject
*resultobj
= 0;
21764 wxDC
*arg1
= (wxDC
*) 0 ;
21765 wxColour
*arg2
= 0 ;
21769 PyObject
* obj0
= 0 ;
21770 PyObject
* obj1
= 0 ;
21771 char * kwnames
[] = {
21772 (char *) "self",(char *) "colour", NULL
21775 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21776 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21777 if (!SWIG_IsOK(res1
)) {
21778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextBackground" "', expected argument " "1"" of type '" "wxDC *""'");
21780 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21783 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21787 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
21788 wxPyEndAllowThreads(__tstate
);
21789 if (PyErr_Occurred()) SWIG_fail
;
21791 resultobj
= SWIG_Py_Void();
21798 SWIGINTERN PyObject
*_wrap_DC_GetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21799 PyObject
*resultobj
= 0;
21800 wxDC
*arg1
= (wxDC
*) 0 ;
21804 PyObject
*swig_obj
[1] ;
21806 if (!args
) SWIG_fail
;
21807 swig_obj
[0] = args
;
21808 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21809 if (!SWIG_IsOK(res1
)) {
21810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMapMode" "', expected argument " "1"" of type '" "wxDC const *""'");
21812 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21815 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
21816 wxPyEndAllowThreads(__tstate
);
21817 if (PyErr_Occurred()) SWIG_fail
;
21819 resultobj
= SWIG_From_int(static_cast< int >(result
));
21826 SWIGINTERN PyObject
*_wrap_DC_SetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21827 PyObject
*resultobj
= 0;
21828 wxDC
*arg1
= (wxDC
*) 0 ;
21834 PyObject
* obj0
= 0 ;
21835 PyObject
* obj1
= 0 ;
21836 char * kwnames
[] = {
21837 (char *) "self",(char *) "mode", NULL
21840 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21841 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21842 if (!SWIG_IsOK(res1
)) {
21843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetMapMode" "', expected argument " "1"" of type '" "wxDC *""'");
21845 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21846 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21847 if (!SWIG_IsOK(ecode2
)) {
21848 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetMapMode" "', expected argument " "2"" of type '" "int""'");
21850 arg2
= static_cast< int >(val2
);
21852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21853 (arg1
)->SetMapMode(arg2
);
21854 wxPyEndAllowThreads(__tstate
);
21855 if (PyErr_Occurred()) SWIG_fail
;
21857 resultobj
= SWIG_Py_Void();
21864 SWIGINTERN PyObject
*_wrap_DC_GetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21865 PyObject
*resultobj
= 0;
21866 wxDC
*arg1
= (wxDC
*) 0 ;
21867 double *arg2
= (double *) 0 ;
21868 double *arg3
= (double *) 0 ;
21872 int res2
= SWIG_TMPOBJ
;
21874 int res3
= SWIG_TMPOBJ
;
21875 PyObject
*swig_obj
[1] ;
21879 if (!args
) SWIG_fail
;
21880 swig_obj
[0] = args
;
21881 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21882 if (!SWIG_IsOK(res1
)) {
21883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetUserScale" "', expected argument " "1"" of type '" "wxDC const *""'");
21885 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21888 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
21889 wxPyEndAllowThreads(__tstate
);
21890 if (PyErr_Occurred()) SWIG_fail
;
21892 resultobj
= SWIG_Py_Void();
21893 if (SWIG_IsTmpObj(res2
)) {
21894 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
21896 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21897 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
21899 if (SWIG_IsTmpObj(res3
)) {
21900 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
21902 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21903 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
21911 SWIGINTERN PyObject
*_wrap_DC_SetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21912 PyObject
*resultobj
= 0;
21913 wxDC
*arg1
= (wxDC
*) 0 ;
21922 PyObject
* obj0
= 0 ;
21923 PyObject
* obj1
= 0 ;
21924 PyObject
* obj2
= 0 ;
21925 char * kwnames
[] = {
21926 (char *) "self",(char *) "x",(char *) "y", NULL
21929 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21930 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21931 if (!SWIG_IsOK(res1
)) {
21932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetUserScale" "', expected argument " "1"" of type '" "wxDC *""'");
21934 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21935 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
21936 if (!SWIG_IsOK(ecode2
)) {
21937 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetUserScale" "', expected argument " "2"" of type '" "double""'");
21939 arg2
= static_cast< double >(val2
);
21940 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
21941 if (!SWIG_IsOK(ecode3
)) {
21942 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetUserScale" "', expected argument " "3"" of type '" "double""'");
21944 arg3
= static_cast< double >(val3
);
21946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21947 (arg1
)->SetUserScale(arg2
,arg3
);
21948 wxPyEndAllowThreads(__tstate
);
21949 if (PyErr_Occurred()) SWIG_fail
;
21951 resultobj
= SWIG_Py_Void();
21958 SWIGINTERN PyObject
*_wrap_DC_GetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21959 PyObject
*resultobj
= 0;
21960 wxDC
*arg1
= (wxDC
*) 0 ;
21961 double *arg2
= (double *) 0 ;
21962 double *arg3
= (double *) 0 ;
21966 int res2
= SWIG_TMPOBJ
;
21968 int res3
= SWIG_TMPOBJ
;
21969 PyObject
*swig_obj
[1] ;
21973 if (!args
) SWIG_fail
;
21974 swig_obj
[0] = args
;
21975 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21976 if (!SWIG_IsOK(res1
)) {
21977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
21979 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21982 (arg1
)->GetLogicalScale(arg2
,arg3
);
21983 wxPyEndAllowThreads(__tstate
);
21984 if (PyErr_Occurred()) SWIG_fail
;
21986 resultobj
= SWIG_Py_Void();
21987 if (SWIG_IsTmpObj(res2
)) {
21988 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
21990 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21991 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
21993 if (SWIG_IsTmpObj(res3
)) {
21994 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
21996 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21997 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
22005 SWIGINTERN PyObject
*_wrap_DC_SetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22006 PyObject
*resultobj
= 0;
22007 wxDC
*arg1
= (wxDC
*) 0 ;
22016 PyObject
* obj0
= 0 ;
22017 PyObject
* obj1
= 0 ;
22018 PyObject
* obj2
= 0 ;
22019 char * kwnames
[] = {
22020 (char *) "self",(char *) "x",(char *) "y", NULL
22023 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22024 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22025 if (!SWIG_IsOK(res1
)) {
22026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
22028 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22029 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
22030 if (!SWIG_IsOK(ecode2
)) {
22031 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalScale" "', expected argument " "2"" of type '" "double""'");
22033 arg2
= static_cast< double >(val2
);
22034 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
22035 if (!SWIG_IsOK(ecode3
)) {
22036 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalScale" "', expected argument " "3"" of type '" "double""'");
22038 arg3
= static_cast< double >(val3
);
22040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22041 (arg1
)->SetLogicalScale(arg2
,arg3
);
22042 wxPyEndAllowThreads(__tstate
);
22043 if (PyErr_Occurred()) SWIG_fail
;
22045 resultobj
= SWIG_Py_Void();
22052 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22053 PyObject
*resultobj
= 0;
22054 wxDC
*arg1
= (wxDC
*) 0 ;
22058 PyObject
*swig_obj
[1] ;
22060 if (!args
) SWIG_fail
;
22061 swig_obj
[0] = args
;
22062 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22063 if (!SWIG_IsOK(res1
)) {
22064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
22066 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22069 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
22070 wxPyEndAllowThreads(__tstate
);
22071 if (PyErr_Occurred()) SWIG_fail
;
22073 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
22080 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22081 PyObject
*resultobj
= 0;
22082 wxDC
*arg1
= (wxDC
*) 0 ;
22083 int *arg2
= (int *) 0 ;
22084 int *arg3
= (int *) 0 ;
22088 int res2
= SWIG_TMPOBJ
;
22090 int res3
= SWIG_TMPOBJ
;
22091 PyObject
*swig_obj
[1] ;
22095 if (!args
) SWIG_fail
;
22096 swig_obj
[0] = args
;
22097 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22098 if (!SWIG_IsOK(res1
)) {
22099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
22101 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22104 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
22105 wxPyEndAllowThreads(__tstate
);
22106 if (PyErr_Occurred()) SWIG_fail
;
22108 resultobj
= SWIG_Py_Void();
22109 if (SWIG_IsTmpObj(res2
)) {
22110 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22112 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22113 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22115 if (SWIG_IsTmpObj(res3
)) {
22116 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22118 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22119 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22127 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22128 PyObject
*resultobj
= 0;
22129 wxDC
*arg1
= (wxDC
*) 0 ;
22138 PyObject
* obj0
= 0 ;
22139 PyObject
* obj1
= 0 ;
22140 PyObject
* obj2
= 0 ;
22141 char * kwnames
[] = {
22142 (char *) "self",(char *) "x",(char *) "y", NULL
22145 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22146 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22147 if (!SWIG_IsOK(res1
)) {
22148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22150 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22151 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22152 if (!SWIG_IsOK(ecode2
)) {
22153 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
22155 arg2
= static_cast< int >(val2
);
22156 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22157 if (!SWIG_IsOK(ecode3
)) {
22158 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
22160 arg3
= static_cast< int >(val3
);
22162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22163 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
22164 wxPyEndAllowThreads(__tstate
);
22165 if (PyErr_Occurred()) SWIG_fail
;
22167 resultobj
= SWIG_Py_Void();
22174 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22175 PyObject
*resultobj
= 0;
22176 wxDC
*arg1
= (wxDC
*) 0 ;
22177 wxPoint
*arg2
= 0 ;
22181 PyObject
* obj0
= 0 ;
22182 PyObject
* obj1
= 0 ;
22183 char * kwnames
[] = {
22184 (char *) "self",(char *) "point", NULL
22187 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22188 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22189 if (!SWIG_IsOK(res1
)) {
22190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22192 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22195 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22199 wxDC_SetLogicalOriginPoint(arg1
,(wxPoint
const &)*arg2
);
22200 wxPyEndAllowThreads(__tstate
);
22201 if (PyErr_Occurred()) SWIG_fail
;
22203 resultobj
= SWIG_Py_Void();
22210 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22211 PyObject
*resultobj
= 0;
22212 wxDC
*arg1
= (wxDC
*) 0 ;
22216 PyObject
*swig_obj
[1] ;
22218 if (!args
) SWIG_fail
;
22219 swig_obj
[0] = args
;
22220 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22221 if (!SWIG_IsOK(res1
)) {
22222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
22224 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22227 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
22228 wxPyEndAllowThreads(__tstate
);
22229 if (PyErr_Occurred()) SWIG_fail
;
22231 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
22238 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22239 PyObject
*resultobj
= 0;
22240 wxDC
*arg1
= (wxDC
*) 0 ;
22241 int *arg2
= (int *) 0 ;
22242 int *arg3
= (int *) 0 ;
22246 int res2
= SWIG_TMPOBJ
;
22248 int res3
= SWIG_TMPOBJ
;
22249 PyObject
*swig_obj
[1] ;
22253 if (!args
) SWIG_fail
;
22254 swig_obj
[0] = args
;
22255 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22256 if (!SWIG_IsOK(res1
)) {
22257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
22259 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22262 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
22263 wxPyEndAllowThreads(__tstate
);
22264 if (PyErr_Occurred()) SWIG_fail
;
22266 resultobj
= SWIG_Py_Void();
22267 if (SWIG_IsTmpObj(res2
)) {
22268 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22270 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22271 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22273 if (SWIG_IsTmpObj(res3
)) {
22274 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22276 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22277 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22285 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22286 PyObject
*resultobj
= 0;
22287 wxDC
*arg1
= (wxDC
*) 0 ;
22296 PyObject
* obj0
= 0 ;
22297 PyObject
* obj1
= 0 ;
22298 PyObject
* obj2
= 0 ;
22299 char * kwnames
[] = {
22300 (char *) "self",(char *) "x",(char *) "y", NULL
22303 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22304 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22305 if (!SWIG_IsOK(res1
)) {
22306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22308 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22309 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22310 if (!SWIG_IsOK(ecode2
)) {
22311 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "2"" of type '" "int""'");
22313 arg2
= static_cast< int >(val2
);
22314 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22315 if (!SWIG_IsOK(ecode3
)) {
22316 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "3"" of type '" "int""'");
22318 arg3
= static_cast< int >(val3
);
22320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22321 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
22322 wxPyEndAllowThreads(__tstate
);
22323 if (PyErr_Occurred()) SWIG_fail
;
22325 resultobj
= SWIG_Py_Void();
22332 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22333 PyObject
*resultobj
= 0;
22334 wxDC
*arg1
= (wxDC
*) 0 ;
22335 wxPoint
*arg2
= 0 ;
22339 PyObject
* obj0
= 0 ;
22340 PyObject
* obj1
= 0 ;
22341 char * kwnames
[] = {
22342 (char *) "self",(char *) "point", NULL
22345 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22346 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22347 if (!SWIG_IsOK(res1
)) {
22348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22350 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22353 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22357 wxDC_SetDeviceOriginPoint(arg1
,(wxPoint
const &)*arg2
);
22358 wxPyEndAllowThreads(__tstate
);
22359 if (PyErr_Occurred()) SWIG_fail
;
22361 resultobj
= SWIG_Py_Void();
22368 SWIGINTERN PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22369 PyObject
*resultobj
= 0;
22370 wxDC
*arg1
= (wxDC
*) 0 ;
22379 PyObject
* obj0
= 0 ;
22380 PyObject
* obj1
= 0 ;
22381 PyObject
* obj2
= 0 ;
22382 char * kwnames
[] = {
22383 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
22386 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22387 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22388 if (!SWIG_IsOK(res1
)) {
22389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetAxisOrientation" "', expected argument " "1"" of type '" "wxDC *""'");
22391 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22392 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
22393 if (!SWIG_IsOK(ecode2
)) {
22394 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetAxisOrientation" "', expected argument " "2"" of type '" "bool""'");
22396 arg2
= static_cast< bool >(val2
);
22397 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
22398 if (!SWIG_IsOK(ecode3
)) {
22399 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetAxisOrientation" "', expected argument " "3"" of type '" "bool""'");
22401 arg3
= static_cast< bool >(val3
);
22403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22404 (arg1
)->SetAxisOrientation(arg2
,arg3
);
22405 wxPyEndAllowThreads(__tstate
);
22406 if (PyErr_Occurred()) SWIG_fail
;
22408 resultobj
= SWIG_Py_Void();
22415 SWIGINTERN PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22416 PyObject
*resultobj
= 0;
22417 wxDC
*arg1
= (wxDC
*) 0 ;
22421 PyObject
*swig_obj
[1] ;
22423 if (!args
) SWIG_fail
;
22424 swig_obj
[0] = args
;
22425 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22426 if (!SWIG_IsOK(res1
)) {
22427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalFunction" "', expected argument " "1"" of type '" "wxDC const *""'");
22429 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22432 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
22433 wxPyEndAllowThreads(__tstate
);
22434 if (PyErr_Occurred()) SWIG_fail
;
22436 resultobj
= SWIG_From_int(static_cast< int >(result
));
22443 SWIGINTERN PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22444 PyObject
*resultobj
= 0;
22445 wxDC
*arg1
= (wxDC
*) 0 ;
22451 PyObject
* obj0
= 0 ;
22452 PyObject
* obj1
= 0 ;
22453 char * kwnames
[] = {
22454 (char *) "self",(char *) "function", NULL
22457 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22458 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22459 if (!SWIG_IsOK(res1
)) {
22460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxDC *""'");
22462 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22463 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22464 if (!SWIG_IsOK(ecode2
)) {
22465 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
22467 arg2
= static_cast< int >(val2
);
22469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22470 (arg1
)->SetLogicalFunction(arg2
);
22471 wxPyEndAllowThreads(__tstate
);
22472 if (PyErr_Occurred()) SWIG_fail
;
22474 resultobj
= SWIG_Py_Void();
22481 SWIGINTERN PyObject
*_wrap_DC_ComputeScaleAndOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22482 PyObject
*resultobj
= 0;
22483 wxDC
*arg1
= (wxDC
*) 0 ;
22486 PyObject
*swig_obj
[1] ;
22488 if (!args
) SWIG_fail
;
22489 swig_obj
[0] = args
;
22490 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22491 if (!SWIG_IsOK(res1
)) {
22492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ComputeScaleAndOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22494 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22497 (arg1
)->ComputeScaleAndOrigin();
22498 wxPyEndAllowThreads(__tstate
);
22499 if (PyErr_Occurred()) SWIG_fail
;
22501 resultobj
= SWIG_Py_Void();
22508 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22509 PyObject
*resultobj
= 0;
22510 wxDC
*arg1
= (wxDC
*) 0 ;
22519 PyObject
* obj0
= 0 ;
22520 PyObject
* obj1
= 0 ;
22521 PyObject
* obj2
= 0 ;
22522 char * kwnames
[] = {
22523 (char *) "self",(char *) "x",(char *) "y", NULL
22526 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22527 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22528 if (!SWIG_IsOK(res1
)) {
22529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
22531 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22532 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22533 if (!SWIG_IsOK(ecode2
)) {
22534 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CalcBoundingBox" "', expected argument " "2"" of type '" "int""'");
22536 arg2
= static_cast< int >(val2
);
22537 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22538 if (!SWIG_IsOK(ecode3
)) {
22539 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CalcBoundingBox" "', expected argument " "3"" of type '" "int""'");
22541 arg3
= static_cast< int >(val3
);
22543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22544 (arg1
)->CalcBoundingBox(arg2
,arg3
);
22545 wxPyEndAllowThreads(__tstate
);
22546 if (PyErr_Occurred()) SWIG_fail
;
22548 resultobj
= SWIG_Py_Void();
22555 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBoxPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22556 PyObject
*resultobj
= 0;
22557 wxDC
*arg1
= (wxDC
*) 0 ;
22558 wxPoint
*arg2
= 0 ;
22562 PyObject
* obj0
= 0 ;
22563 PyObject
* obj1
= 0 ;
22564 char * kwnames
[] = {
22565 (char *) "self",(char *) "point", NULL
22568 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22569 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22570 if (!SWIG_IsOK(res1
)) {
22571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBoxPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22573 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22576 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22580 wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint
const &)*arg2
);
22581 wxPyEndAllowThreads(__tstate
);
22582 if (PyErr_Occurred()) SWIG_fail
;
22584 resultobj
= SWIG_Py_Void();
22591 SWIGINTERN PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22592 PyObject
*resultobj
= 0;
22593 wxDC
*arg1
= (wxDC
*) 0 ;
22596 PyObject
*swig_obj
[1] ;
22598 if (!args
) SWIG_fail
;
22599 swig_obj
[0] = args
;
22600 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22601 if (!SWIG_IsOK(res1
)) {
22602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ResetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
22604 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22607 (arg1
)->ResetBoundingBox();
22608 wxPyEndAllowThreads(__tstate
);
22609 if (PyErr_Occurred()) SWIG_fail
;
22611 resultobj
= SWIG_Py_Void();
22618 SWIGINTERN PyObject
*_wrap_DC_MinX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22619 PyObject
*resultobj
= 0;
22620 wxDC
*arg1
= (wxDC
*) 0 ;
22624 PyObject
*swig_obj
[1] ;
22626 if (!args
) SWIG_fail
;
22627 swig_obj
[0] = args
;
22628 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22629 if (!SWIG_IsOK(res1
)) {
22630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinX" "', expected argument " "1"" of type '" "wxDC const *""'");
22632 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22635 result
= (int)((wxDC
const *)arg1
)->MinX();
22636 wxPyEndAllowThreads(__tstate
);
22637 if (PyErr_Occurred()) SWIG_fail
;
22639 resultobj
= SWIG_From_int(static_cast< int >(result
));
22646 SWIGINTERN PyObject
*_wrap_DC_MaxX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22647 PyObject
*resultobj
= 0;
22648 wxDC
*arg1
= (wxDC
*) 0 ;
22652 PyObject
*swig_obj
[1] ;
22654 if (!args
) SWIG_fail
;
22655 swig_obj
[0] = args
;
22656 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22657 if (!SWIG_IsOK(res1
)) {
22658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxX" "', expected argument " "1"" of type '" "wxDC const *""'");
22660 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22663 result
= (int)((wxDC
const *)arg1
)->MaxX();
22664 wxPyEndAllowThreads(__tstate
);
22665 if (PyErr_Occurred()) SWIG_fail
;
22667 resultobj
= SWIG_From_int(static_cast< int >(result
));
22674 SWIGINTERN PyObject
*_wrap_DC_MinY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22675 PyObject
*resultobj
= 0;
22676 wxDC
*arg1
= (wxDC
*) 0 ;
22680 PyObject
*swig_obj
[1] ;
22682 if (!args
) SWIG_fail
;
22683 swig_obj
[0] = args
;
22684 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22685 if (!SWIG_IsOK(res1
)) {
22686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinY" "', expected argument " "1"" of type '" "wxDC const *""'");
22688 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22691 result
= (int)((wxDC
const *)arg1
)->MinY();
22692 wxPyEndAllowThreads(__tstate
);
22693 if (PyErr_Occurred()) SWIG_fail
;
22695 resultobj
= SWIG_From_int(static_cast< int >(result
));
22702 SWIGINTERN PyObject
*_wrap_DC_MaxY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22703 PyObject
*resultobj
= 0;
22704 wxDC
*arg1
= (wxDC
*) 0 ;
22708 PyObject
*swig_obj
[1] ;
22710 if (!args
) SWIG_fail
;
22711 swig_obj
[0] = args
;
22712 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22713 if (!SWIG_IsOK(res1
)) {
22714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxY" "', expected argument " "1"" of type '" "wxDC const *""'");
22716 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22719 result
= (int)((wxDC
const *)arg1
)->MaxY();
22720 wxPyEndAllowThreads(__tstate
);
22721 if (PyErr_Occurred()) SWIG_fail
;
22723 resultobj
= SWIG_From_int(static_cast< int >(result
));
22730 SWIGINTERN PyObject
*_wrap_DC_GetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22731 PyObject
*resultobj
= 0;
22732 wxDC
*arg1
= (wxDC
*) 0 ;
22733 int *arg2
= (int *) 0 ;
22734 int *arg3
= (int *) 0 ;
22735 int *arg4
= (int *) 0 ;
22736 int *arg5
= (int *) 0 ;
22740 int res2
= SWIG_TMPOBJ
;
22742 int res3
= SWIG_TMPOBJ
;
22744 int res4
= SWIG_TMPOBJ
;
22746 int res5
= SWIG_TMPOBJ
;
22747 PyObject
*swig_obj
[1] ;
22753 if (!args
) SWIG_fail
;
22754 swig_obj
[0] = args
;
22755 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22756 if (!SWIG_IsOK(res1
)) {
22757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
22759 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22762 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
22763 wxPyEndAllowThreads(__tstate
);
22764 if (PyErr_Occurred()) SWIG_fail
;
22766 resultobj
= SWIG_Py_Void();
22767 if (SWIG_IsTmpObj(res2
)) {
22768 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22770 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22771 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22773 if (SWIG_IsTmpObj(res3
)) {
22774 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22776 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22777 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22779 if (SWIG_IsTmpObj(res4
)) {
22780 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
22782 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22783 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
22785 if (SWIG_IsTmpObj(res5
)) {
22786 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
22788 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22789 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
22797 SWIGINTERN PyObject
*_wrap_DC_GetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22798 PyObject
*resultobj
= 0;
22799 wxDC
*arg1
= (wxDC
*) 0 ;
22800 wxLayoutDirection result
;
22803 PyObject
*swig_obj
[1] ;
22805 if (!args
) SWIG_fail
;
22806 swig_obj
[0] = args
;
22807 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22808 if (!SWIG_IsOK(res1
)) {
22809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLayoutDirection" "', expected argument " "1"" of type '" "wxDC const *""'");
22811 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22814 result
= (wxLayoutDirection
)((wxDC
const *)arg1
)->GetLayoutDirection();
22815 wxPyEndAllowThreads(__tstate
);
22816 if (PyErr_Occurred()) SWIG_fail
;
22818 resultobj
= SWIG_From_int(static_cast< int >(result
));
22825 SWIGINTERN PyObject
*_wrap_DC_SetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22826 PyObject
*resultobj
= 0;
22827 wxDC
*arg1
= (wxDC
*) 0 ;
22828 wxLayoutDirection arg2
;
22833 PyObject
* obj0
= 0 ;
22834 PyObject
* obj1
= 0 ;
22835 char * kwnames
[] = {
22836 (char *) "self",(char *) "dir", NULL
22839 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLayoutDirection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22840 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22841 if (!SWIG_IsOK(res1
)) {
22842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLayoutDirection" "', expected argument " "1"" of type '" "wxDC *""'");
22844 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22845 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22846 if (!SWIG_IsOK(ecode2
)) {
22847 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLayoutDirection" "', expected argument " "2"" of type '" "wxLayoutDirection""'");
22849 arg2
= static_cast< wxLayoutDirection
>(val2
);
22851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22852 (arg1
)->SetLayoutDirection(arg2
);
22853 wxPyEndAllowThreads(__tstate
);
22854 if (PyErr_Occurred()) SWIG_fail
;
22856 resultobj
= SWIG_Py_Void();
22863 SWIGINTERN PyObject
*_wrap_DC__DrawPointList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22864 PyObject
*resultobj
= 0;
22865 wxDC
*arg1
= (wxDC
*) 0 ;
22866 PyObject
*arg2
= (PyObject
*) 0 ;
22867 PyObject
*arg3
= (PyObject
*) 0 ;
22868 PyObject
*arg4
= (PyObject
*) 0 ;
22869 PyObject
*result
= 0 ;
22872 PyObject
* obj0
= 0 ;
22873 PyObject
* obj1
= 0 ;
22874 PyObject
* obj2
= 0 ;
22875 PyObject
* obj3
= 0 ;
22876 char * kwnames
[] = {
22877 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
22880 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22881 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22882 if (!SWIG_IsOK(res1
)) {
22883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPointList" "', expected argument " "1"" of type '" "wxDC *""'");
22885 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22891 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
22892 wxPyEndAllowThreads(__tstate
);
22893 if (PyErr_Occurred()) SWIG_fail
;
22895 resultobj
= result
;
22902 SWIGINTERN PyObject
*_wrap_DC__DrawLineList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22903 PyObject
*resultobj
= 0;
22904 wxDC
*arg1
= (wxDC
*) 0 ;
22905 PyObject
*arg2
= (PyObject
*) 0 ;
22906 PyObject
*arg3
= (PyObject
*) 0 ;
22907 PyObject
*arg4
= (PyObject
*) 0 ;
22908 PyObject
*result
= 0 ;
22911 PyObject
* obj0
= 0 ;
22912 PyObject
* obj1
= 0 ;
22913 PyObject
* obj2
= 0 ;
22914 PyObject
* obj3
= 0 ;
22915 char * kwnames
[] = {
22916 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
22919 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22920 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22921 if (!SWIG_IsOK(res1
)) {
22922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawLineList" "', expected argument " "1"" of type '" "wxDC *""'");
22924 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22930 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
22931 wxPyEndAllowThreads(__tstate
);
22932 if (PyErr_Occurred()) SWIG_fail
;
22934 resultobj
= result
;
22941 SWIGINTERN PyObject
*_wrap_DC__DrawRectangleList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22942 PyObject
*resultobj
= 0;
22943 wxDC
*arg1
= (wxDC
*) 0 ;
22944 PyObject
*arg2
= (PyObject
*) 0 ;
22945 PyObject
*arg3
= (PyObject
*) 0 ;
22946 PyObject
*arg4
= (PyObject
*) 0 ;
22947 PyObject
*result
= 0 ;
22950 PyObject
* obj0
= 0 ;
22951 PyObject
* obj1
= 0 ;
22952 PyObject
* obj2
= 0 ;
22953 PyObject
* obj3
= 0 ;
22954 char * kwnames
[] = {
22955 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
22958 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22959 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22960 if (!SWIG_IsOK(res1
)) {
22961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawRectangleList" "', expected argument " "1"" of type '" "wxDC *""'");
22963 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22969 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
22970 wxPyEndAllowThreads(__tstate
);
22971 if (PyErr_Occurred()) SWIG_fail
;
22973 resultobj
= result
;
22980 SWIGINTERN PyObject
*_wrap_DC__DrawEllipseList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22981 PyObject
*resultobj
= 0;
22982 wxDC
*arg1
= (wxDC
*) 0 ;
22983 PyObject
*arg2
= (PyObject
*) 0 ;
22984 PyObject
*arg3
= (PyObject
*) 0 ;
22985 PyObject
*arg4
= (PyObject
*) 0 ;
22986 PyObject
*result
= 0 ;
22989 PyObject
* obj0
= 0 ;
22990 PyObject
* obj1
= 0 ;
22991 PyObject
* obj2
= 0 ;
22992 PyObject
* obj3
= 0 ;
22993 char * kwnames
[] = {
22994 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
22997 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22998 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22999 if (!SWIG_IsOK(res1
)) {
23000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawEllipseList" "', expected argument " "1"" of type '" "wxDC *""'");
23002 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23008 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
23009 wxPyEndAllowThreads(__tstate
);
23010 if (PyErr_Occurred()) SWIG_fail
;
23012 resultobj
= result
;
23019 SWIGINTERN PyObject
*_wrap_DC__DrawPolygonList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23020 PyObject
*resultobj
= 0;
23021 wxDC
*arg1
= (wxDC
*) 0 ;
23022 PyObject
*arg2
= (PyObject
*) 0 ;
23023 PyObject
*arg3
= (PyObject
*) 0 ;
23024 PyObject
*arg4
= (PyObject
*) 0 ;
23025 PyObject
*result
= 0 ;
23028 PyObject
* obj0
= 0 ;
23029 PyObject
* obj1
= 0 ;
23030 PyObject
* obj2
= 0 ;
23031 PyObject
* obj3
= 0 ;
23032 char * kwnames
[] = {
23033 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23036 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23037 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23038 if (!SWIG_IsOK(res1
)) {
23039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPolygonList" "', expected argument " "1"" of type '" "wxDC *""'");
23041 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23047 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
23048 wxPyEndAllowThreads(__tstate
);
23049 if (PyErr_Occurred()) SWIG_fail
;
23051 resultobj
= result
;
23058 SWIGINTERN PyObject
*_wrap_DC__DrawTextList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23059 PyObject
*resultobj
= 0;
23060 wxDC
*arg1
= (wxDC
*) 0 ;
23061 PyObject
*arg2
= (PyObject
*) 0 ;
23062 PyObject
*arg3
= (PyObject
*) 0 ;
23063 PyObject
*arg4
= (PyObject
*) 0 ;
23064 PyObject
*arg5
= (PyObject
*) 0 ;
23065 PyObject
*result
= 0 ;
23068 PyObject
* obj0
= 0 ;
23069 PyObject
* obj1
= 0 ;
23070 PyObject
* obj2
= 0 ;
23071 PyObject
* obj3
= 0 ;
23072 PyObject
* obj4
= 0 ;
23073 char * kwnames
[] = {
23074 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
23077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
23078 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23079 if (!SWIG_IsOK(res1
)) {
23080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawTextList" "', expected argument " "1"" of type '" "wxDC *""'");
23082 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23089 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
23090 wxPyEndAllowThreads(__tstate
);
23091 if (PyErr_Occurred()) SWIG_fail
;
23093 resultobj
= result
;
23100 SWIGINTERN PyObject
*DC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23102 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23103 SWIG_TypeNewClientData(SWIGTYPE_p_wxDC
, SWIG_NewClientData(obj
));
23104 return SWIG_Py_Void();
23107 SWIGINTERN PyObject
*_wrap_new_MemoryDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23108 PyObject
*resultobj
= 0;
23109 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
23110 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
23111 wxMemoryDC
*result
= 0 ;
23114 PyObject
* obj0
= 0 ;
23115 char * kwnames
[] = {
23116 (char *) "bitmap", NULL
23119 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MemoryDC",kwnames
,&obj0
)) SWIG_fail
;
23121 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23122 if (!SWIG_IsOK(res1
)) {
23123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDC" "', expected argument " "1"" of type '" "wxBitmap const &""'");
23126 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MemoryDC" "', expected argument " "1"" of type '" "wxBitmap const &""'");
23128 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
23131 if (!wxPyCheckForApp()) SWIG_fail
;
23132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23133 result
= (wxMemoryDC
*)new wxMemoryDC((wxBitmap
const &)*arg1
);
23134 wxPyEndAllowThreads(__tstate
);
23135 if (PyErr_Occurred()) SWIG_fail
;
23137 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_NEW
| 0 );
23144 SWIGINTERN PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23145 PyObject
*resultobj
= 0;
23146 wxDC
*arg1
= (wxDC
*) 0 ;
23147 wxMemoryDC
*result
= 0 ;
23150 PyObject
* obj0
= 0 ;
23151 char * kwnames
[] = {
23152 (char *) "oldDC", NULL
23155 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) SWIG_fail
;
23156 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23157 if (!SWIG_IsOK(res1
)) {
23158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDCFromDC" "', expected argument " "1"" of type '" "wxDC *""'");
23160 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23162 if (!wxPyCheckForApp()) SWIG_fail
;
23163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23164 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
23165 wxPyEndAllowThreads(__tstate
);
23166 if (PyErr_Occurred()) SWIG_fail
;
23168 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_OWN
| 0 );
23175 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23176 PyObject
*resultobj
= 0;
23177 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
23178 wxBitmap
*arg2
= 0 ;
23183 PyObject
* obj0
= 0 ;
23184 PyObject
* obj1
= 0 ;
23185 char * kwnames
[] = {
23186 (char *) "self",(char *) "bitmap", NULL
23189 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23190 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
23191 if (!SWIG_IsOK(res1
)) {
23192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObject" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
23194 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
23195 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23196 if (!SWIG_IsOK(res2
)) {
23197 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23200 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23202 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23205 (arg1
)->SelectObject((wxBitmap
const &)*arg2
);
23206 wxPyEndAllowThreads(__tstate
);
23207 if (PyErr_Occurred()) SWIG_fail
;
23209 resultobj
= SWIG_Py_Void();
23216 SWIGINTERN PyObject
*MemoryDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23218 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23219 SWIG_TypeNewClientData(SWIGTYPE_p_wxMemoryDC
, SWIG_NewClientData(obj
));
23220 return SWIG_Py_Void();
23223 SWIGINTERN PyObject
*MemoryDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23224 return SWIG_Python_InitShadowInstance(args
);
23227 SWIGINTERN PyObject
*_wrap_new_ScreenDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23228 PyObject
*resultobj
= 0;
23229 wxScreenDC
*result
= 0 ;
23231 if (!SWIG_Python_UnpackTuple(args
,"new_ScreenDC",0,0,0)) SWIG_fail
;
23233 if (!wxPyCheckForApp()) SWIG_fail
;
23234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23235 result
= (wxScreenDC
*)new wxScreenDC();
23236 wxPyEndAllowThreads(__tstate
);
23237 if (PyErr_Occurred()) SWIG_fail
;
23239 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_NEW
| 0 );
23246 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23247 PyObject
*resultobj
= 0;
23248 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
23249 wxWindow
*arg2
= (wxWindow
*) 0 ;
23255 PyObject
* obj0
= 0 ;
23256 PyObject
* obj1
= 0 ;
23257 char * kwnames
[] = {
23258 (char *) "self",(char *) "window", NULL
23261 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23262 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
23263 if (!SWIG_IsOK(res1
)) {
23264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "1"" of type '" "wxScreenDC *""'");
23266 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
23267 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23268 if (!SWIG_IsOK(res2
)) {
23269 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "2"" of type '" "wxWindow *""'");
23271 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
23273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23274 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
23275 wxPyEndAllowThreads(__tstate
);
23276 if (PyErr_Occurred()) SWIG_fail
;
23279 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23287 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23288 PyObject
*resultobj
= 0;
23289 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
23290 wxRect
*arg2
= (wxRect
*) NULL
;
23296 PyObject
* obj0
= 0 ;
23297 PyObject
* obj1
= 0 ;
23298 char * kwnames
[] = {
23299 (char *) "self",(char *) "rect", NULL
23302 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23303 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
23304 if (!SWIG_IsOK(res1
)) {
23305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
23307 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
23309 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
23310 if (!SWIG_IsOK(res2
)) {
23311 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "2"" of type '" "wxRect *""'");
23313 arg2
= reinterpret_cast< wxRect
* >(argp2
);
23316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23317 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
23318 wxPyEndAllowThreads(__tstate
);
23319 if (PyErr_Occurred()) SWIG_fail
;
23322 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23330 SWIGINTERN PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23331 PyObject
*resultobj
= 0;
23332 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
23336 PyObject
*swig_obj
[1] ;
23338 if (!args
) SWIG_fail
;
23339 swig_obj
[0] = args
;
23340 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
23341 if (!SWIG_IsOK(res1
)) {
23342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_EndDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
23344 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
23346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23347 result
= (bool)(arg1
)->EndDrawingOnTop();
23348 wxPyEndAllowThreads(__tstate
);
23349 if (PyErr_Occurred()) SWIG_fail
;
23352 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23360 SWIGINTERN PyObject
*ScreenDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23362 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23363 SWIG_TypeNewClientData(SWIGTYPE_p_wxScreenDC
, SWIG_NewClientData(obj
));
23364 return SWIG_Py_Void();
23367 SWIGINTERN PyObject
*ScreenDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23368 return SWIG_Python_InitShadowInstance(args
);
23371 SWIGINTERN PyObject
*_wrap_new_WindowDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23372 PyObject
*resultobj
= 0;
23373 wxWindow
*arg1
= (wxWindow
*) 0 ;
23374 wxWindowDC
*result
= 0 ;
23377 PyObject
* obj0
= 0 ;
23378 char * kwnames
[] = {
23379 (char *) "win", NULL
23382 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) SWIG_fail
;
23383 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23384 if (!SWIG_IsOK(res1
)) {
23385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowDC" "', expected argument " "1"" of type '" "wxWindow *""'");
23387 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
23389 if (!wxPyCheckForApp()) SWIG_fail
;
23390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23391 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
23392 wxPyEndAllowThreads(__tstate
);
23393 if (PyErr_Occurred()) SWIG_fail
;
23395 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowDC
, SWIG_POINTER_NEW
| 0 );
23402 SWIGINTERN PyObject
*WindowDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23404 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23405 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowDC
, SWIG_NewClientData(obj
));
23406 return SWIG_Py_Void();
23409 SWIGINTERN PyObject
*WindowDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23410 return SWIG_Python_InitShadowInstance(args
);
23413 SWIGINTERN PyObject
*_wrap_new_ClientDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23414 PyObject
*resultobj
= 0;
23415 wxWindow
*arg1
= (wxWindow
*) 0 ;
23416 wxClientDC
*result
= 0 ;
23419 PyObject
* obj0
= 0 ;
23420 char * kwnames
[] = {
23421 (char *) "win", NULL
23424 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) SWIG_fail
;
23425 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23426 if (!SWIG_IsOK(res1
)) {
23427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ClientDC" "', expected argument " "1"" of type '" "wxWindow *""'");
23429 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
23431 if (!wxPyCheckForApp()) SWIG_fail
;
23432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23433 result
= (wxClientDC
*)new wxClientDC(arg1
);
23434 wxPyEndAllowThreads(__tstate
);
23435 if (PyErr_Occurred()) SWIG_fail
;
23437 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClientDC
, SWIG_POINTER_NEW
| 0 );
23444 SWIGINTERN PyObject
*ClientDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23446 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23447 SWIG_TypeNewClientData(SWIGTYPE_p_wxClientDC
, SWIG_NewClientData(obj
));
23448 return SWIG_Py_Void();
23451 SWIGINTERN PyObject
*ClientDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23452 return SWIG_Python_InitShadowInstance(args
);
23455 SWIGINTERN PyObject
*_wrap_new_PaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23456 PyObject
*resultobj
= 0;
23457 wxWindow
*arg1
= (wxWindow
*) 0 ;
23458 wxPaintDC
*result
= 0 ;
23461 PyObject
* obj0
= 0 ;
23462 char * kwnames
[] = {
23463 (char *) "win", NULL
23466 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) SWIG_fail
;
23467 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23468 if (!SWIG_IsOK(res1
)) {
23469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
23471 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
23473 if (!wxPyCheckForApp()) SWIG_fail
;
23474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23475 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
23476 wxPyEndAllowThreads(__tstate
);
23477 if (PyErr_Occurred()) SWIG_fail
;
23479 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPaintDC
, SWIG_POINTER_NEW
| 0 );
23486 SWIGINTERN PyObject
*PaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23488 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23489 SWIG_TypeNewClientData(SWIGTYPE_p_wxPaintDC
, SWIG_NewClientData(obj
));
23490 return SWIG_Py_Void();
23493 SWIGINTERN PyObject
*PaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23494 return SWIG_Python_InitShadowInstance(args
);
23497 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23498 PyObject
*resultobj
= 0;
23499 wxDC
*arg1
= (wxDC
*) 0 ;
23500 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
23501 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
23502 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
23503 wxBufferedDC
*result
= 0 ;
23511 if ((nobjs
< 1) || (nobjs
> 3)) SWIG_fail
;
23512 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23513 if (!SWIG_IsOK(res1
)) {
23514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
23516 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23518 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23519 if (!SWIG_IsOK(res2
)) {
23520 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23523 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23525 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23528 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
23529 if (!SWIG_IsOK(ecode3
)) {
23530 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
23532 arg3
= static_cast< int >(val3
);
23535 if (!wxPyCheckForApp()) SWIG_fail
;
23536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23537 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxBitmap
const &)*arg2
,arg3
);
23538 wxPyEndAllowThreads(__tstate
);
23539 if (PyErr_Occurred()) SWIG_fail
;
23541 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
23548 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23549 PyObject
*resultobj
= 0;
23550 wxDC
*arg1
= (wxDC
*) 0 ;
23552 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
23553 wxBufferedDC
*result
= 0 ;
23560 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
23561 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23562 if (!SWIG_IsOK(res1
)) {
23563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
23565 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23568 if ( ! wxSize_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
23571 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
23572 if (!SWIG_IsOK(ecode3
)) {
23573 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
23575 arg3
= static_cast< int >(val3
);
23578 if (!wxPyCheckForApp()) SWIG_fail
;
23579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23580 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
,arg3
);
23581 wxPyEndAllowThreads(__tstate
);
23582 if (PyErr_Occurred()) SWIG_fail
;
23584 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
23591 SWIGINTERN PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
23595 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_BufferedDC",0,3,argv
))) SWIG_fail
;
23597 if ((argc
>= 1) && (argc
<= 3)) {
23601 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxBitmap
, 0);
23602 _v
= SWIG_CheckState(res
);
23604 if (!_v
) goto check_1
;
23606 return _wrap_new_BufferedDC__SWIG_0(self
, argc
, argv
);
23610 if ((argc
>= 2) && (argc
<= 3)) {
23611 return _wrap_new_BufferedDC__SWIG_1(self
, argc
, argv
);
23615 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_BufferedDC'");
23620 SWIGINTERN PyObject
*_wrap_delete_BufferedDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23621 PyObject
*resultobj
= 0;
23622 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
23625 PyObject
*swig_obj
[1] ;
23627 if (!args
) SWIG_fail
;
23628 swig_obj
[0] = args
;
23629 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_DISOWN
| 0 );
23630 if (!SWIG_IsOK(res1
)) {
23631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BufferedDC" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
23633 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
23635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23638 wxPyEndAllowThreads(__tstate
);
23639 if (PyErr_Occurred()) SWIG_fail
;
23641 resultobj
= SWIG_Py_Void();
23648 SWIGINTERN PyObject
*_wrap_BufferedDC_UnMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23649 PyObject
*resultobj
= 0;
23650 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
23653 PyObject
*swig_obj
[1] ;
23655 if (!args
) SWIG_fail
;
23656 swig_obj
[0] = args
;
23657 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
23658 if (!SWIG_IsOK(res1
)) {
23659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_UnMask" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
23661 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
23663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23665 wxPyEndAllowThreads(__tstate
);
23666 if (PyErr_Occurred()) SWIG_fail
;
23668 resultobj
= SWIG_Py_Void();
23675 SWIGINTERN PyObject
*BufferedDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23677 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23678 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedDC
, SWIG_NewClientData(obj
));
23679 return SWIG_Py_Void();
23682 SWIGINTERN PyObject
*BufferedDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23683 return SWIG_Python_InitShadowInstance(args
);
23686 SWIGINTERN PyObject
*_wrap_new_BufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23687 PyObject
*resultobj
= 0;
23688 wxWindow
*arg1
= (wxWindow
*) 0 ;
23689 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
23690 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
23691 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
23692 wxBufferedPaintDC
*result
= 0 ;
23699 PyObject
* obj0
= 0 ;
23700 PyObject
* obj1
= 0 ;
23701 PyObject
* obj2
= 0 ;
23702 char * kwnames
[] = {
23703 (char *) "window",(char *) "buffer",(char *) "style", NULL
23706 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23707 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23708 if (!SWIG_IsOK(res1
)) {
23709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
23711 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
23713 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23714 if (!SWIG_IsOK(res2
)) {
23715 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23718 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23720 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23723 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23724 if (!SWIG_IsOK(ecode3
)) {
23725 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedPaintDC" "', expected argument " "3"" of type '" "int""'");
23727 arg3
= static_cast< int >(val3
);
23730 if (!wxPyCheckForApp()) SWIG_fail
;
23731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23732 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,(wxBitmap
const &)*arg2
,arg3
);
23733 wxPyEndAllowThreads(__tstate
);
23734 if (PyErr_Occurred()) SWIG_fail
;
23736 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
23743 SWIGINTERN PyObject
*BufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23745 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23746 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedPaintDC
, SWIG_NewClientData(obj
));
23747 return SWIG_Py_Void();
23750 SWIGINTERN PyObject
*BufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23751 return SWIG_Python_InitShadowInstance(args
);
23754 SWIGINTERN PyObject
*_wrap_new_AutoBufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23755 PyObject
*resultobj
= 0;
23756 wxWindow
*arg1
= (wxWindow
*) 0 ;
23757 wxAutoBufferedPaintDC
*result
= 0 ;
23760 PyObject
* obj0
= 0 ;
23761 char * kwnames
[] = {
23762 (char *) "win", NULL
23765 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AutoBufferedPaintDC",kwnames
,&obj0
)) SWIG_fail
;
23766 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23767 if (!SWIG_IsOK(res1
)) {
23768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AutoBufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
23770 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
23772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23773 result
= (wxAutoBufferedPaintDC
*)new wxAutoBufferedPaintDC(arg1
);
23774 wxPyEndAllowThreads(__tstate
);
23775 if (PyErr_Occurred()) SWIG_fail
;
23777 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAutoBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
23784 SWIGINTERN PyObject
*AutoBufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23786 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23787 SWIG_TypeNewClientData(SWIGTYPE_p_wxAutoBufferedPaintDC
, SWIG_NewClientData(obj
));
23788 return SWIG_Py_Void();
23791 SWIGINTERN PyObject
*AutoBufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23792 return SWIG_Python_InitShadowInstance(args
);
23795 SWIGINTERN PyObject
*_wrap_AutoBufferedPaintDCFactory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23796 PyObject
*resultobj
= 0;
23797 wxWindow
*arg1
= (wxWindow
*) 0 ;
23801 PyObject
* obj0
= 0 ;
23802 char * kwnames
[] = {
23803 (char *) "window", NULL
23806 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AutoBufferedPaintDCFactory",kwnames
,&obj0
)) SWIG_fail
;
23807 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23808 if (!SWIG_IsOK(res1
)) {
23809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AutoBufferedPaintDCFactory" "', expected argument " "1"" of type '" "wxWindow *""'");
23811 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
23813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23814 result
= (wxDC
*)wxAutoBufferedPaintDCFactory(arg1
);
23815 wxPyEndAllowThreads(__tstate
);
23816 if (PyErr_Occurred()) SWIG_fail
;
23819 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
23827 SWIGINTERN PyObject
*_wrap_new_MirrorDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23828 PyObject
*resultobj
= 0;
23831 wxMirrorDC
*result
= 0 ;
23836 PyObject
* obj0
= 0 ;
23837 PyObject
* obj1
= 0 ;
23838 char * kwnames
[] = {
23839 (char *) "dc",(char *) "mirror", NULL
23842 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23843 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
23844 if (!SWIG_IsOK(res1
)) {
23845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
23848 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
23850 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23851 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23852 if (!SWIG_IsOK(ecode2
)) {
23853 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MirrorDC" "', expected argument " "2"" of type '" "bool""'");
23855 arg2
= static_cast< bool >(val2
);
23857 if (!wxPyCheckForApp()) SWIG_fail
;
23858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23859 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
23860 wxPyEndAllowThreads(__tstate
);
23861 if (PyErr_Occurred()) SWIG_fail
;
23863 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMirrorDC
, SWIG_POINTER_NEW
| 0 );
23870 SWIGINTERN PyObject
*MirrorDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23872 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23873 SWIG_TypeNewClientData(SWIGTYPE_p_wxMirrorDC
, SWIG_NewClientData(obj
));
23874 return SWIG_Py_Void();
23877 SWIGINTERN PyObject
*MirrorDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23878 return SWIG_Python_InitShadowInstance(args
);
23881 SWIGINTERN PyObject
*_wrap_new_PostScriptDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23882 PyObject
*resultobj
= 0;
23883 wxPrintData
*arg1
= 0 ;
23884 wxPostScriptDC
*result
= 0 ;
23887 PyObject
* obj0
= 0 ;
23888 char * kwnames
[] = {
23889 (char *) "printData", NULL
23892 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) SWIG_fail
;
23893 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
23894 if (!SWIG_IsOK(res1
)) {
23895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23898 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23900 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23902 if (!wxPyCheckForApp()) SWIG_fail
;
23903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23904 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
23905 wxPyEndAllowThreads(__tstate
);
23906 if (PyErr_Occurred()) SWIG_fail
;
23908 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPostScriptDC
, SWIG_POINTER_NEW
| 0 );
23915 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23916 PyObject
*resultobj
= 0;
23917 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
23918 wxPrintData
*result
= 0 ;
23921 PyObject
*swig_obj
[1] ;
23923 if (!args
) SWIG_fail
;
23924 swig_obj
[0] = args
;
23925 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
23926 if (!SWIG_IsOK(res1
)) {
23927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_GetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
23929 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
23931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23933 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
23934 result
= (wxPrintData
*) &_result_ref
;
23936 wxPyEndAllowThreads(__tstate
);
23937 if (PyErr_Occurred()) SWIG_fail
;
23939 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
23946 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23947 PyObject
*resultobj
= 0;
23948 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
23949 wxPrintData
*arg2
= 0 ;
23954 PyObject
* obj0
= 0 ;
23955 PyObject
* obj1
= 0 ;
23956 char * kwnames
[] = {
23957 (char *) "self",(char *) "data", NULL
23960 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23961 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
23962 if (!SWIG_IsOK(res1
)) {
23963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
23965 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
23966 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
23967 if (!SWIG_IsOK(res2
)) {
23968 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
23971 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
23973 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
23975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23976 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
23977 wxPyEndAllowThreads(__tstate
);
23978 if (PyErr_Occurred()) SWIG_fail
;
23980 resultobj
= SWIG_Py_Void();
23987 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23988 PyObject
*resultobj
= 0;
23992 PyObject
* obj0
= 0 ;
23993 char * kwnames
[] = {
23994 (char *) "ppi", NULL
23997 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) SWIG_fail
;
23998 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23999 if (!SWIG_IsOK(ecode1
)) {
24000 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PostScriptDC_SetResolution" "', expected argument " "1"" of type '" "int""'");
24002 arg1
= static_cast< int >(val1
);
24004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24005 wxPostScriptDC::SetResolution(arg1
);
24006 wxPyEndAllowThreads(__tstate
);
24007 if (PyErr_Occurred()) SWIG_fail
;
24009 resultobj
= SWIG_Py_Void();
24016 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24017 PyObject
*resultobj
= 0;
24020 if (!SWIG_Python_UnpackTuple(args
,"PostScriptDC_GetResolution",0,0,0)) SWIG_fail
;
24022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24023 result
= (int)wxPostScriptDC::GetResolution();
24024 wxPyEndAllowThreads(__tstate
);
24025 if (PyErr_Occurred()) SWIG_fail
;
24027 resultobj
= SWIG_From_int(static_cast< int >(result
));
24034 SWIGINTERN PyObject
*PostScriptDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24036 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24037 SWIG_TypeNewClientData(SWIGTYPE_p_wxPostScriptDC
, SWIG_NewClientData(obj
));
24038 return SWIG_Py_Void();
24041 SWIGINTERN PyObject
*PostScriptDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24042 return SWIG_Python_InitShadowInstance(args
);
24045 SWIGINTERN PyObject
*_wrap_new_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24046 PyObject
*resultobj
= 0;
24047 wxString
const &arg1_defvalue
= wxPyEmptyString
;
24048 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24049 wxMetaFile
*result
= 0 ;
24050 bool temp1
= false ;
24051 PyObject
* obj0
= 0 ;
24052 char * kwnames
[] = {
24053 (char *) "filename", NULL
24056 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) SWIG_fail
;
24059 arg1
= wxString_in_helper(obj0
);
24060 if (arg1
== NULL
) SWIG_fail
;
24065 if (!wxPyCheckForApp()) SWIG_fail
;
24066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24067 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
24068 wxPyEndAllowThreads(__tstate
);
24069 if (PyErr_Occurred()) SWIG_fail
;
24071 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_NEW
| 0 );
24086 SWIGINTERN PyObject
*MetaFile_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24088 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24089 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFile
, SWIG_NewClientData(obj
));
24090 return SWIG_Py_Void();
24093 SWIGINTERN PyObject
*MetaFile_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24094 return SWIG_Python_InitShadowInstance(args
);
24097 SWIGINTERN PyObject
*_wrap_new_MetaFileDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24098 PyObject
*resultobj
= 0;
24099 wxString
const &arg1_defvalue
= wxPyEmptyString
;
24100 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24101 int arg2
= (int) 0 ;
24102 int arg3
= (int) 0 ;
24103 wxString
const &arg4_defvalue
= wxPyEmptyString
;
24104 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
24105 wxMetaFileDC
*result
= 0 ;
24106 bool temp1
= false ;
24111 bool temp4
= false ;
24112 PyObject
* obj0
= 0 ;
24113 PyObject
* obj1
= 0 ;
24114 PyObject
* obj2
= 0 ;
24115 PyObject
* obj3
= 0 ;
24116 char * kwnames
[] = {
24117 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
24120 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24123 arg1
= wxString_in_helper(obj0
);
24124 if (arg1
== NULL
) SWIG_fail
;
24129 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24130 if (!SWIG_IsOK(ecode2
)) {
24131 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MetaFileDC" "', expected argument " "2"" of type '" "int""'");
24133 arg2
= static_cast< int >(val2
);
24136 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24137 if (!SWIG_IsOK(ecode3
)) {
24138 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_MetaFileDC" "', expected argument " "3"" of type '" "int""'");
24140 arg3
= static_cast< int >(val3
);
24144 arg4
= wxString_in_helper(obj3
);
24145 if (arg4
== NULL
) SWIG_fail
;
24150 if (!wxPyCheckForApp()) SWIG_fail
;
24151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24152 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
24153 wxPyEndAllowThreads(__tstate
);
24154 if (PyErr_Occurred()) SWIG_fail
;
24156 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFileDC
, SWIG_POINTER_NEW
| 0 );
24179 SWIGINTERN PyObject
*MetaFileDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24181 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24182 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFileDC
, SWIG_NewClientData(obj
));
24183 return SWIG_Py_Void();
24186 SWIGINTERN PyObject
*MetaFileDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24187 return SWIG_Python_InitShadowInstance(args
);
24190 SWIGINTERN PyObject
*_wrap_new_PrinterDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24191 PyObject
*resultobj
= 0;
24192 wxPrintData
*arg1
= 0 ;
24193 wxPrinterDC
*result
= 0 ;
24196 PyObject
* obj0
= 0 ;
24197 char * kwnames
[] = {
24198 (char *) "printData", NULL
24201 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) SWIG_fail
;
24202 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24203 if (!SWIG_IsOK(res1
)) {
24204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24207 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24209 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24211 if (!wxPyCheckForApp()) SWIG_fail
;
24212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24213 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
24214 wxPyEndAllowThreads(__tstate
);
24215 if (PyErr_Occurred()) SWIG_fail
;
24217 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinterDC
, SWIG_POINTER_NEW
| 0 );
24224 SWIGINTERN PyObject
*PrinterDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24226 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24227 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinterDC
, SWIG_NewClientData(obj
));
24228 return SWIG_Py_Void();
24231 SWIGINTERN PyObject
*PrinterDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24232 return SWIG_Python_InitShadowInstance(args
);
24235 SWIGINTERN PyObject
*_wrap_delete_GraphicsPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24236 PyObject
*resultobj
= 0;
24237 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
24240 PyObject
*swig_obj
[1] ;
24242 if (!args
) SWIG_fail
;
24243 swig_obj
[0] = args
;
24244 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_DISOWN
| 0 );
24245 if (!SWIG_IsOK(res1
)) {
24246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsPath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
24248 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
24252 if (PyErr_Occurred()) SWIG_fail
;
24254 resultobj
= SWIG_Py_Void();
24261 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24262 PyObject
*resultobj
= 0;
24263 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
24272 PyObject
* obj0
= 0 ;
24273 PyObject
* obj1
= 0 ;
24274 PyObject
* obj2
= 0 ;
24275 char * kwnames
[] = {
24276 (char *) "self",(char *) "x",(char *) "y", NULL
24279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsPath_MoveToPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24280 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
24281 if (!SWIG_IsOK(res1
)) {
24282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
24284 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
24285 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
24286 if (!SWIG_IsOK(ecode2
)) {
24287 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
24289 arg2
= static_cast< wxDouble
>(val2
);
24290 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
24291 if (!SWIG_IsOK(ecode3
)) {
24292 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
24294 arg3
= static_cast< wxDouble
>(val3
);
24296 (arg1
)->MoveToPoint(arg2
,arg3
);
24297 if (PyErr_Occurred()) SWIG_fail
;
24299 resultobj
= SWIG_Py_Void();
24306 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24307 PyObject
*resultobj
= 0;
24308 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
24317 PyObject
* obj0
= 0 ;
24318 PyObject
* obj1
= 0 ;
24319 PyObject
* obj2
= 0 ;
24320 char * kwnames
[] = {
24321 (char *) "self",(char *) "x",(char *) "y", NULL
24324 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsPath_AddLineToPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24325 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
24326 if (!SWIG_IsOK(res1
)) {
24327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
24329 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
24330 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
24331 if (!SWIG_IsOK(ecode2
)) {
24332 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
24334 arg2
= static_cast< wxDouble
>(val2
);
24335 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
24336 if (!SWIG_IsOK(ecode3
)) {
24337 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
24339 arg3
= static_cast< wxDouble
>(val3
);
24341 (arg1
)->AddLineToPoint(arg2
,arg3
);
24342 if (PyErr_Occurred()) SWIG_fail
;
24344 resultobj
= SWIG_Py_Void();
24351 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24352 PyObject
*resultobj
= 0;
24353 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
24374 PyObject
* obj0
= 0 ;
24375 PyObject
* obj1
= 0 ;
24376 PyObject
* obj2
= 0 ;
24377 PyObject
* obj3
= 0 ;
24378 PyObject
* obj4
= 0 ;
24379 PyObject
* obj5
= 0 ;
24380 PyObject
* obj6
= 0 ;
24381 char * kwnames
[] = {
24382 (char *) "self",(char *) "cx1",(char *) "cy1",(char *) "cx2",(char *) "cy2",(char *) "x",(char *) "y", NULL
24385 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsPath_AddCurveToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
24386 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
24387 if (!SWIG_IsOK(res1
)) {
24388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
24390 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
24391 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
24392 if (!SWIG_IsOK(ecode2
)) {
24393 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
24395 arg2
= static_cast< wxDouble
>(val2
);
24396 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
24397 if (!SWIG_IsOK(ecode3
)) {
24398 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
24400 arg3
= static_cast< wxDouble
>(val3
);
24401 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
24402 if (!SWIG_IsOK(ecode4
)) {
24403 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
24405 arg4
= static_cast< wxDouble
>(val4
);
24406 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
24407 if (!SWIG_IsOK(ecode5
)) {
24408 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
24410 arg5
= static_cast< wxDouble
>(val5
);
24411 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
24412 if (!SWIG_IsOK(ecode6
)) {
24413 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "6"" of type '" "wxDouble""'");
24415 arg6
= static_cast< wxDouble
>(val6
);
24416 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
24417 if (!SWIG_IsOK(ecode7
)) {
24418 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "7"" of type '" "wxDouble""'");
24420 arg7
= static_cast< wxDouble
>(val7
);
24422 (arg1
)->AddCurveToPoint(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
24423 if (PyErr_Occurred()) SWIG_fail
;
24425 resultobj
= SWIG_Py_Void();
24432 SWIGINTERN PyObject
*_wrap_GraphicsPath_CloseSubpath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24433 PyObject
*resultobj
= 0;
24434 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
24437 PyObject
*swig_obj
[1] ;
24439 if (!args
) SWIG_fail
;
24440 swig_obj
[0] = args
;
24441 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
24442 if (!SWIG_IsOK(res1
)) {
24443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_CloseSubpath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
24445 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
24447 (arg1
)->CloseSubpath();
24448 if (PyErr_Occurred()) SWIG_fail
;
24450 resultobj
= SWIG_Py_Void();
24457 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetCurrentPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24458 PyObject
*resultobj
= 0;
24459 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
24463 PyObject
*swig_obj
[1] ;
24465 if (!args
) SWIG_fail
;
24466 swig_obj
[0] = args
;
24467 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
24468 if (!SWIG_IsOK(res1
)) {
24469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetCurrentPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
24471 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
24473 result
= (arg1
)->GetCurrentPoint();
24474 if (PyErr_Occurred()) SWIG_fail
;
24476 resultobj
= SWIG_NewPointerObj((new wxPoint2D(static_cast< const wxPoint2D
& >(result
))), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
24483 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24484 PyObject
*resultobj
= 0;
24485 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
24506 PyObject
* obj0
= 0 ;
24507 PyObject
* obj1
= 0 ;
24508 PyObject
* obj2
= 0 ;
24509 PyObject
* obj3
= 0 ;
24510 PyObject
* obj4
= 0 ;
24511 PyObject
* obj5
= 0 ;
24512 PyObject
* obj6
= 0 ;
24513 char * kwnames
[] = {
24514 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "startAngle",(char *) "endAngle",(char *) "clockwise", NULL
24517 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsPath_AddArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
24518 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
24519 if (!SWIG_IsOK(res1
)) {
24520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArc" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
24522 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
24523 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
24524 if (!SWIG_IsOK(ecode2
)) {
24525 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArc" "', expected argument " "2"" of type '" "wxDouble""'");
24527 arg2
= static_cast< wxDouble
>(val2
);
24528 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
24529 if (!SWIG_IsOK(ecode3
)) {
24530 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArc" "', expected argument " "3"" of type '" "wxDouble""'");
24532 arg3
= static_cast< wxDouble
>(val3
);
24533 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
24534 if (!SWIG_IsOK(ecode4
)) {
24535 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArc" "', expected argument " "4"" of type '" "wxDouble""'");
24537 arg4
= static_cast< wxDouble
>(val4
);
24538 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
24539 if (!SWIG_IsOK(ecode5
)) {
24540 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArc" "', expected argument " "5"" of type '" "wxDouble""'");
24542 arg5
= static_cast< wxDouble
>(val5
);
24543 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
24544 if (!SWIG_IsOK(ecode6
)) {
24545 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArc" "', expected argument " "6"" of type '" "wxDouble""'");
24547 arg6
= static_cast< wxDouble
>(val6
);
24548 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
24549 if (!SWIG_IsOK(ecode7
)) {
24550 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddArc" "', expected argument " "7"" of type '" "bool""'");
24552 arg7
= static_cast< bool >(val7
);
24554 (arg1
)->AddArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
24555 if (PyErr_Occurred()) SWIG_fail
;
24557 resultobj
= SWIG_Py_Void();
24564 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddQuadCurveToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24565 PyObject
*resultobj
= 0;
24566 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
24581 PyObject
* obj0
= 0 ;
24582 PyObject
* obj1
= 0 ;
24583 PyObject
* obj2
= 0 ;
24584 PyObject
* obj3
= 0 ;
24585 PyObject
* obj4
= 0 ;
24586 char * kwnames
[] = {
24587 (char *) "self",(char *) "cx",(char *) "cy",(char *) "x",(char *) "y", NULL
24590 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddQuadCurveToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
24591 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
24592 if (!SWIG_IsOK(res1
)) {
24593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
24595 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
24596 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
24597 if (!SWIG_IsOK(ecode2
)) {
24598 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
24600 arg2
= static_cast< wxDouble
>(val2
);
24601 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
24602 if (!SWIG_IsOK(ecode3
)) {
24603 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
24605 arg3
= static_cast< wxDouble
>(val3
);
24606 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
24607 if (!SWIG_IsOK(ecode4
)) {
24608 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
24610 arg4
= static_cast< wxDouble
>(val4
);
24611 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
24612 if (!SWIG_IsOK(ecode5
)) {
24613 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
24615 arg5
= static_cast< wxDouble
>(val5
);
24617 (arg1
)->AddQuadCurveToPoint(arg2
,arg3
,arg4
,arg5
);
24618 if (PyErr_Occurred()) SWIG_fail
;
24620 resultobj
= SWIG_Py_Void();
24627 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24628 PyObject
*resultobj
= 0;
24629 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
24644 PyObject
* obj0
= 0 ;
24645 PyObject
* obj1
= 0 ;
24646 PyObject
* obj2
= 0 ;
24647 PyObject
* obj3
= 0 ;
24648 PyObject
* obj4
= 0 ;
24649 char * kwnames
[] = {
24650 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
24653 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
24654 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
24655 if (!SWIG_IsOK(res1
)) {
24656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
24658 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
24659 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
24660 if (!SWIG_IsOK(ecode2
)) {
24661 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
24663 arg2
= static_cast< wxDouble
>(val2
);
24664 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
24665 if (!SWIG_IsOK(ecode3
)) {
24666 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
24668 arg3
= static_cast< wxDouble
>(val3
);
24669 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
24670 if (!SWIG_IsOK(ecode4
)) {
24671 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
24673 arg4
= static_cast< wxDouble
>(val4
);
24674 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
24675 if (!SWIG_IsOK(ecode5
)) {
24676 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
24678 arg5
= static_cast< wxDouble
>(val5
);
24680 (arg1
)->AddRectangle(arg2
,arg3
,arg4
,arg5
);
24681 if (PyErr_Occurred()) SWIG_fail
;
24683 resultobj
= SWIG_Py_Void();
24690 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24691 PyObject
*resultobj
= 0;
24692 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
24704 PyObject
* obj0
= 0 ;
24705 PyObject
* obj1
= 0 ;
24706 PyObject
* obj2
= 0 ;
24707 PyObject
* obj3
= 0 ;
24708 char * kwnames
[] = {
24709 (char *) "self",(char *) "x",(char *) "y",(char *) "r", NULL
24712 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GraphicsPath_AddCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24713 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
24714 if (!SWIG_IsOK(res1
)) {
24715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
24717 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
24718 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
24719 if (!SWIG_IsOK(ecode2
)) {
24720 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "2"" of type '" "wxDouble""'");
24722 arg2
= static_cast< wxDouble
>(val2
);
24723 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
24724 if (!SWIG_IsOK(ecode3
)) {
24725 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "3"" of type '" "wxDouble""'");
24727 arg3
= static_cast< wxDouble
>(val3
);
24728 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
24729 if (!SWIG_IsOK(ecode4
)) {
24730 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "4"" of type '" "wxDouble""'");
24732 arg4
= static_cast< wxDouble
>(val4
);
24734 (arg1
)->AddCircle(arg2
,arg3
,arg4
);
24735 if (PyErr_Occurred()) SWIG_fail
;
24737 resultobj
= SWIG_Py_Void();
24744 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArcToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24745 PyObject
*resultobj
= 0;
24746 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
24764 PyObject
* obj0
= 0 ;
24765 PyObject
* obj1
= 0 ;
24766 PyObject
* obj2
= 0 ;
24767 PyObject
* obj3
= 0 ;
24768 PyObject
* obj4
= 0 ;
24769 PyObject
* obj5
= 0 ;
24770 char * kwnames
[] = {
24771 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "r", NULL
24774 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsPath_AddArcToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
24775 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
24776 if (!SWIG_IsOK(res1
)) {
24777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
24779 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
24780 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
24781 if (!SWIG_IsOK(ecode2
)) {
24782 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
24784 arg2
= static_cast< wxDouble
>(val2
);
24785 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
24786 if (!SWIG_IsOK(ecode3
)) {
24787 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
24789 arg3
= static_cast< wxDouble
>(val3
);
24790 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
24791 if (!SWIG_IsOK(ecode4
)) {
24792 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
24794 arg4
= static_cast< wxDouble
>(val4
);
24795 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
24796 if (!SWIG_IsOK(ecode5
)) {
24797 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
24799 arg5
= static_cast< wxDouble
>(val5
);
24800 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
24801 if (!SWIG_IsOK(ecode6
)) {
24802 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "6"" of type '" "wxDouble""'");
24804 arg6
= static_cast< wxDouble
>(val6
);
24806 (arg1
)->AddArcToPoint(arg2
,arg3
,arg4
,arg5
,arg6
);
24807 if (PyErr_Occurred()) SWIG_fail
;
24809 resultobj
= SWIG_Py_Void();
24816 SWIGINTERN PyObject
*GraphicsPath_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24818 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24819 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsPath
, SWIG_NewClientData(obj
));
24820 return SWIG_Py_Void();
24823 SWIGINTERN PyObject
*_wrap_delete_GraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24824 PyObject
*resultobj
= 0;
24825 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
24828 PyObject
*swig_obj
[1] ;
24830 if (!args
) SWIG_fail
;
24831 swig_obj
[0] = args
;
24832 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_DISOWN
| 0 );
24833 if (!SWIG_IsOK(res1
)) {
24834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsContext" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
24836 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
24840 if (PyErr_Occurred()) SWIG_fail
;
24842 resultobj
= SWIG_Py_Void();
24849 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24850 PyObject
*resultobj
= 0;
24851 wxWindowDC
*arg1
= 0 ;
24852 wxGraphicsContext
*result
= 0 ;
24856 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
24857 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
24858 if (!SWIG_IsOK(res1
)) {
24859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
24862 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
24864 arg1
= reinterpret_cast< wxWindowDC
* >(argp1
);
24866 result
= (wxGraphicsContext
*)wxGraphicsContext::Create((wxWindowDC
const &)*arg1
);
24867 if (PyErr_Occurred()) SWIG_fail
;
24869 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
24876 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24877 PyObject
*resultobj
= 0;
24878 wxWindow
*arg1
= (wxWindow
*) 0 ;
24879 wxGraphicsContext
*result
= 0 ;
24883 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
24884 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24885 if (!SWIG_IsOK(res1
)) {
24886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindow *""'");
24888 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24890 result
= (wxGraphicsContext
*)wxGraphicsContext::Create(arg1
);
24891 if (PyErr_Occurred()) SWIG_fail
;
24893 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
24900 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create(PyObject
*self
, PyObject
*args
) {
24904 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_Create",0,1,argv
))) SWIG_fail
;
24909 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxWindowDC
, 0);
24910 _v
= SWIG_CheckState(res
);
24912 if (!_v
) goto check_1
;
24913 return _wrap_GraphicsContext_Create__SWIG_0(self
, argc
, argv
);
24918 return _wrap_GraphicsContext_Create__SWIG_1(self
, argc
, argv
);
24922 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_Create'");
24927 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFromNative(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24928 PyObject
*resultobj
= 0;
24929 void *arg1
= (void *) 0 ;
24930 wxGraphicsContext
*result
= 0 ;
24932 PyObject
* obj0
= 0 ;
24933 char * kwnames
[] = {
24934 (char *) "context", NULL
24937 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GraphicsContext_CreateFromNative",kwnames
,&obj0
)) SWIG_fail
;
24938 res1
= SWIG_ConvertPtr(obj0
,SWIG_as_voidptrptr(&arg1
), 0, 0);
24939 if (!SWIG_IsOK(res1
)) {
24940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFromNative" "', expected argument " "1"" of type '" "void *""'");
24943 result
= (wxGraphicsContext
*)wxGraphicsContext::CreateFromNative(arg1
);
24944 if (PyErr_Occurred()) SWIG_fail
;
24946 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
24953 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreatePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24954 PyObject
*resultobj
= 0;
24955 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
24956 wxGraphicsPath
*result
= 0 ;
24959 PyObject
*swig_obj
[1] ;
24961 if (!args
) SWIG_fail
;
24962 swig_obj
[0] = args
;
24963 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
24964 if (!SWIG_IsOK(res1
)) {
24965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreatePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
24967 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
24969 result
= (wxGraphicsPath
*)(arg1
)->CreatePath();
24970 if (PyErr_Occurred()) SWIG_fail
;
24972 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
24979 SWIGINTERN PyObject
*_wrap_GraphicsContext_PushState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24980 PyObject
*resultobj
= 0;
24981 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
24984 PyObject
*swig_obj
[1] ;
24986 if (!args
) SWIG_fail
;
24987 swig_obj
[0] = args
;
24988 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
24989 if (!SWIG_IsOK(res1
)) {
24990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_PushState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
24992 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
24994 (arg1
)->PushState();
24995 if (PyErr_Occurred()) SWIG_fail
;
24997 resultobj
= SWIG_Py_Void();
25004 SWIGINTERN PyObject
*_wrap_GraphicsContext_PopState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25005 PyObject
*resultobj
= 0;
25006 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25009 PyObject
*swig_obj
[1] ;
25011 if (!args
) SWIG_fail
;
25012 swig_obj
[0] = args
;
25013 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25014 if (!SWIG_IsOK(res1
)) {
25015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_PopState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25017 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25019 (arg1
)->PopState();
25020 if (PyErr_Occurred()) SWIG_fail
;
25022 resultobj
= SWIG_Py_Void();
25029 SWIGINTERN PyObject
*_wrap_GraphicsContext_ClipRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25030 PyObject
*resultobj
= 0;
25031 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25032 wxRegion
*arg2
= 0 ;
25037 PyObject
* obj0
= 0 ;
25038 PyObject
* obj1
= 0 ;
25039 char * kwnames
[] = {
25040 (char *) "self",(char *) "region", NULL
25043 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_ClipRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25044 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25045 if (!SWIG_IsOK(res1
)) {
25046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ClipRegion" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25048 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25049 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
25050 if (!SWIG_IsOK(res2
)) {
25051 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_ClipRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
25054 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_ClipRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
25056 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
25058 (arg1
)->Clip((wxRegion
const &)*arg2
);
25059 if (PyErr_Occurred()) SWIG_fail
;
25061 resultobj
= SWIG_Py_Void();
25068 SWIGINTERN PyObject
*_wrap_GraphicsContext_Clip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25069 PyObject
*resultobj
= 0;
25070 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25085 PyObject
* obj0
= 0 ;
25086 PyObject
* obj1
= 0 ;
25087 PyObject
* obj2
= 0 ;
25088 PyObject
* obj3
= 0 ;
25089 PyObject
* obj4
= 0 ;
25090 char * kwnames
[] = {
25091 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
25094 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_Clip",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
25095 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25096 if (!SWIG_IsOK(res1
)) {
25097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Clip" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25099 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25100 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25101 if (!SWIG_IsOK(ecode2
)) {
25102 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Clip" "', expected argument " "2"" of type '" "wxDouble""'");
25104 arg2
= static_cast< wxDouble
>(val2
);
25105 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25106 if (!SWIG_IsOK(ecode3
)) {
25107 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Clip" "', expected argument " "3"" of type '" "wxDouble""'");
25109 arg3
= static_cast< wxDouble
>(val3
);
25110 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
25111 if (!SWIG_IsOK(ecode4
)) {
25112 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_Clip" "', expected argument " "4"" of type '" "wxDouble""'");
25114 arg4
= static_cast< wxDouble
>(val4
);
25115 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
25116 if (!SWIG_IsOK(ecode5
)) {
25117 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_Clip" "', expected argument " "5"" of type '" "wxDouble""'");
25119 arg5
= static_cast< wxDouble
>(val5
);
25121 (arg1
)->Clip(arg2
,arg3
,arg4
,arg5
);
25122 if (PyErr_Occurred()) SWIG_fail
;
25124 resultobj
= SWIG_Py_Void();
25131 SWIGINTERN PyObject
*_wrap_GraphicsContext_ResetClip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25132 PyObject
*resultobj
= 0;
25133 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25136 PyObject
*swig_obj
[1] ;
25138 if (!args
) SWIG_fail
;
25139 swig_obj
[0] = args
;
25140 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25141 if (!SWIG_IsOK(res1
)) {
25142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ResetClip" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25144 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25146 (arg1
)->ResetClip();
25147 if (PyErr_Occurred()) SWIG_fail
;
25149 resultobj
= SWIG_Py_Void();
25156 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetNativeContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25157 PyObject
*resultobj
= 0;
25158 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25162 PyObject
*swig_obj
[1] ;
25164 if (!args
) SWIG_fail
;
25165 swig_obj
[0] = args
;
25166 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25167 if (!SWIG_IsOK(res1
)) {
25168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetNativeContext" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25170 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25172 result
= (void *)(arg1
)->GetNativeContext();
25173 if (PyErr_Occurred()) SWIG_fail
;
25175 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
25182 SWIGINTERN PyObject
*_wrap_GraphicsContext_Translate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25183 PyObject
*resultobj
= 0;
25184 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25193 PyObject
* obj0
= 0 ;
25194 PyObject
* obj1
= 0 ;
25195 PyObject
* obj2
= 0 ;
25196 char * kwnames
[] = {
25197 (char *) "self",(char *) "dx",(char *) "dy", NULL
25200 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25201 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25202 if (!SWIG_IsOK(res1
)) {
25203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Translate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25205 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25206 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25207 if (!SWIG_IsOK(ecode2
)) {
25208 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Translate" "', expected argument " "2"" of type '" "wxDouble""'");
25210 arg2
= static_cast< wxDouble
>(val2
);
25211 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25212 if (!SWIG_IsOK(ecode3
)) {
25213 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Translate" "', expected argument " "3"" of type '" "wxDouble""'");
25215 arg3
= static_cast< wxDouble
>(val3
);
25217 (arg1
)->Translate(arg2
,arg3
);
25218 if (PyErr_Occurred()) SWIG_fail
;
25220 resultobj
= SWIG_Py_Void();
25227 SWIGINTERN PyObject
*_wrap_GraphicsContext_Scale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25228 PyObject
*resultobj
= 0;
25229 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25238 PyObject
* obj0
= 0 ;
25239 PyObject
* obj1
= 0 ;
25240 PyObject
* obj2
= 0 ;
25241 char * kwnames
[] = {
25242 (char *) "self",(char *) "xScale",(char *) "yScale", NULL
25245 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25246 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25247 if (!SWIG_IsOK(res1
)) {
25248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Scale" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25250 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25251 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25252 if (!SWIG_IsOK(ecode2
)) {
25253 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Scale" "', expected argument " "2"" of type '" "wxDouble""'");
25255 arg2
= static_cast< wxDouble
>(val2
);
25256 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25257 if (!SWIG_IsOK(ecode3
)) {
25258 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Scale" "', expected argument " "3"" of type '" "wxDouble""'");
25260 arg3
= static_cast< wxDouble
>(val3
);
25262 (arg1
)->Scale(arg2
,arg3
);
25263 if (PyErr_Occurred()) SWIG_fail
;
25265 resultobj
= SWIG_Py_Void();
25272 SWIGINTERN PyObject
*_wrap_GraphicsContext_Rotate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25273 PyObject
*resultobj
= 0;
25274 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25280 PyObject
* obj0
= 0 ;
25281 PyObject
* obj1
= 0 ;
25282 char * kwnames
[] = {
25283 (char *) "self",(char *) "angle", NULL
25286 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_Rotate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25287 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25288 if (!SWIG_IsOK(res1
)) {
25289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Rotate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25291 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25292 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25293 if (!SWIG_IsOK(ecode2
)) {
25294 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Rotate" "', expected argument " "2"" of type '" "wxDouble""'");
25296 arg2
= static_cast< wxDouble
>(val2
);
25298 (arg1
)->Rotate(arg2
);
25299 if (PyErr_Occurred()) SWIG_fail
;
25301 resultobj
= SWIG_Py_Void();
25308 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25309 PyObject
*resultobj
= 0;
25310 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25316 PyObject
* obj0
= 0 ;
25317 PyObject
* obj1
= 0 ;
25318 char * kwnames
[] = {
25319 (char *) "self",(char *) "pen", NULL
25322 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25323 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25324 if (!SWIG_IsOK(res1
)) {
25325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetPen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25327 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25328 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
25329 if (!SWIG_IsOK(res2
)) {
25330 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
25333 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
25335 arg2
= reinterpret_cast< wxPen
* >(argp2
);
25337 (arg1
)->SetPen((wxPen
const &)*arg2
);
25338 if (PyErr_Occurred()) SWIG_fail
;
25340 resultobj
= SWIG_Py_Void();
25347 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25348 PyObject
*resultobj
= 0;
25349 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25350 wxBrush
*arg2
= 0 ;
25355 PyObject
* obj0
= 0 ;
25356 PyObject
* obj1
= 0 ;
25357 char * kwnames
[] = {
25358 (char *) "self",(char *) "brush", NULL
25361 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25362 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25363 if (!SWIG_IsOK(res1
)) {
25364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25366 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25367 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
25368 if (!SWIG_IsOK(res2
)) {
25369 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
25372 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
25374 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
25376 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
25377 if (PyErr_Occurred()) SWIG_fail
;
25379 resultobj
= SWIG_Py_Void();
25386 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetLinearGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25387 PyObject
*resultobj
= 0;
25388 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25393 wxColour
*arg6
= 0 ;
25394 wxColour
*arg7
= 0 ;
25407 PyObject
* obj0
= 0 ;
25408 PyObject
* obj1
= 0 ;
25409 PyObject
* obj2
= 0 ;
25410 PyObject
* obj3
= 0 ;
25411 PyObject
* obj4
= 0 ;
25412 PyObject
* obj5
= 0 ;
25413 PyObject
* obj6
= 0 ;
25414 char * kwnames
[] = {
25415 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "c1",(char *) "c2", NULL
25418 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsContext_SetLinearGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
25419 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25420 if (!SWIG_IsOK(res1
)) {
25421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetLinearGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25423 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25424 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25425 if (!SWIG_IsOK(ecode2
)) {
25426 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_SetLinearGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
25428 arg2
= static_cast< wxDouble
>(val2
);
25429 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25430 if (!SWIG_IsOK(ecode3
)) {
25431 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_SetLinearGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
25433 arg3
= static_cast< wxDouble
>(val3
);
25434 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
25435 if (!SWIG_IsOK(ecode4
)) {
25436 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_SetLinearGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
25438 arg4
= static_cast< wxDouble
>(val4
);
25439 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
25440 if (!SWIG_IsOK(ecode5
)) {
25441 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_SetLinearGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
25443 arg5
= static_cast< wxDouble
>(val5
);
25446 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
25450 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
25453 (arg1
)->SetLinearGradientBrush(arg2
,arg3
,arg4
,arg5
,(wxColour
const &)*arg6
,(wxColour
const &)*arg7
);
25454 if (PyErr_Occurred()) SWIG_fail
;
25456 resultobj
= SWIG_Py_Void();
25463 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetRadialGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25464 PyObject
*resultobj
= 0;
25465 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25471 wxColour
*arg7
= 0 ;
25472 wxColour
*arg8
= 0 ;
25487 PyObject
* obj0
= 0 ;
25488 PyObject
* obj1
= 0 ;
25489 PyObject
* obj2
= 0 ;
25490 PyObject
* obj3
= 0 ;
25491 PyObject
* obj4
= 0 ;
25492 PyObject
* obj5
= 0 ;
25493 PyObject
* obj6
= 0 ;
25494 PyObject
* obj7
= 0 ;
25495 char * kwnames
[] = {
25496 (char *) "self",(char *) "xo",(char *) "yo",(char *) "xc",(char *) "yc",(char *) "radius",(char *) "oColor",(char *) "cColor", NULL
25499 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GraphicsContext_SetRadialGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
25500 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25501 if (!SWIG_IsOK(res1
)) {
25502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetRadialGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25504 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25505 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25506 if (!SWIG_IsOK(ecode2
)) {
25507 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_SetRadialGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
25509 arg2
= static_cast< wxDouble
>(val2
);
25510 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25511 if (!SWIG_IsOK(ecode3
)) {
25512 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_SetRadialGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
25514 arg3
= static_cast< wxDouble
>(val3
);
25515 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
25516 if (!SWIG_IsOK(ecode4
)) {
25517 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_SetRadialGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
25519 arg4
= static_cast< wxDouble
>(val4
);
25520 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
25521 if (!SWIG_IsOK(ecode5
)) {
25522 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_SetRadialGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
25524 arg5
= static_cast< wxDouble
>(val5
);
25525 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
25526 if (!SWIG_IsOK(ecode6
)) {
25527 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_SetRadialGradientBrush" "', expected argument " "6"" of type '" "wxDouble""'");
25529 arg6
= static_cast< wxDouble
>(val6
);
25532 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
25536 if ( ! wxColour_helper(obj7
, &arg8
)) SWIG_fail
;
25539 (arg1
)->SetRadialGradientBrush(arg2
,arg3
,arg4
,arg5
,arg6
,(wxColour
const &)*arg7
,(wxColour
const &)*arg8
);
25540 if (PyErr_Occurred()) SWIG_fail
;
25542 resultobj
= SWIG_Py_Void();
25549 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25550 PyObject
*resultobj
= 0;
25551 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25557 PyObject
* obj0
= 0 ;
25558 PyObject
* obj1
= 0 ;
25559 char * kwnames
[] = {
25560 (char *) "self",(char *) "font", NULL
25563 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25564 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25565 if (!SWIG_IsOK(res1
)) {
25566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25568 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25569 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
25570 if (!SWIG_IsOK(res2
)) {
25571 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
25574 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
25576 arg2
= reinterpret_cast< wxFont
* >(argp2
);
25578 (arg1
)->SetFont((wxFont
const &)*arg2
);
25579 if (PyErr_Occurred()) SWIG_fail
;
25581 resultobj
= SWIG_Py_Void();
25588 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetTextColor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25589 PyObject
*resultobj
= 0;
25590 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25591 wxColour
*arg2
= 0 ;
25595 PyObject
* obj0
= 0 ;
25596 PyObject
* obj1
= 0 ;
25597 char * kwnames
[] = {
25598 (char *) "self",(char *) "col", NULL
25601 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetTextColor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25602 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25603 if (!SWIG_IsOK(res1
)) {
25604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetTextColor" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25606 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25609 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25612 (arg1
)->SetTextColor((wxColour
const &)*arg2
);
25613 if (PyErr_Occurred()) SWIG_fail
;
25615 resultobj
= SWIG_Py_Void();
25622 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25623 PyObject
*resultobj
= 0;
25624 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25625 wxGraphicsPath
*arg2
= (wxGraphicsPath
*) 0 ;
25630 PyObject
* obj0
= 0 ;
25631 PyObject
* obj1
= 0 ;
25632 char * kwnames
[] = {
25633 (char *) "self",(char *) "path", NULL
25636 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_StrokePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25637 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25638 if (!SWIG_IsOK(res1
)) {
25639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25641 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25642 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25643 if (!SWIG_IsOK(res2
)) {
25644 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "2"" of type '" "wxGraphicsPath const *""'");
25646 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
25648 (arg1
)->StrokePath((wxGraphicsPath
const *)arg2
);
25649 if (PyErr_Occurred()) SWIG_fail
;
25651 resultobj
= SWIG_Py_Void();
25658 SWIGINTERN PyObject
*_wrap_GraphicsContext_FillPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25659 PyObject
*resultobj
= 0;
25660 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25661 wxGraphicsPath
*arg2
= (wxGraphicsPath
*) 0 ;
25662 int arg3
= (int) wxWINDING_RULE
;
25669 PyObject
* obj0
= 0 ;
25670 PyObject
* obj1
= 0 ;
25671 PyObject
* obj2
= 0 ;
25672 char * kwnames
[] = {
25673 (char *) "self",(char *) "path",(char *) "fillStyle", NULL
25676 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_FillPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25677 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25678 if (!SWIG_IsOK(res1
)) {
25679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_FillPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25681 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25682 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25683 if (!SWIG_IsOK(res2
)) {
25684 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_FillPath" "', expected argument " "2"" of type '" "wxGraphicsPath const *""'");
25686 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
25688 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25689 if (!SWIG_IsOK(ecode3
)) {
25690 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_FillPath" "', expected argument " "3"" of type '" "int""'");
25692 arg3
= static_cast< int >(val3
);
25695 (arg1
)->FillPath((wxGraphicsPath
const *)arg2
,arg3
);
25696 if (PyErr_Occurred()) SWIG_fail
;
25698 resultobj
= SWIG_Py_Void();
25705 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25706 PyObject
*resultobj
= 0;
25707 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25708 wxGraphicsPath
*arg2
= (wxGraphicsPath
*) 0 ;
25709 int arg3
= (int) wxWINDING_RULE
;
25716 PyObject
* obj0
= 0 ;
25717 PyObject
* obj1
= 0 ;
25718 PyObject
* obj2
= 0 ;
25719 char * kwnames
[] = {
25720 (char *) "self",(char *) "path",(char *) "fillStyle", NULL
25723 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_DrawPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25724 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25725 if (!SWIG_IsOK(res1
)) {
25726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25728 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25729 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25730 if (!SWIG_IsOK(res2
)) {
25731 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "2"" of type '" "wxGraphicsPath const *""'");
25733 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
25735 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25736 if (!SWIG_IsOK(ecode3
)) {
25737 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "3"" of type '" "int""'");
25739 arg3
= static_cast< int >(val3
);
25742 (arg1
)->DrawPath((wxGraphicsPath
const *)arg2
,arg3
);
25743 if (PyErr_Occurred()) SWIG_fail
;
25745 resultobj
= SWIG_Py_Void();
25752 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25753 PyObject
*resultobj
= 0;
25754 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25755 wxString
*arg2
= 0 ;
25760 bool temp2
= false ;
25765 PyObject
* obj0
= 0 ;
25766 PyObject
* obj1
= 0 ;
25767 PyObject
* obj2
= 0 ;
25768 PyObject
* obj3
= 0 ;
25769 char * kwnames
[] = {
25770 (char *) "self",(char *) "str",(char *) "x",(char *) "y", NULL
25773 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GraphicsContext_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
25774 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25775 if (!SWIG_IsOK(res1
)) {
25776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25778 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25780 arg2
= wxString_in_helper(obj1
);
25781 if (arg2
== NULL
) SWIG_fail
;
25784 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25785 if (!SWIG_IsOK(ecode3
)) {
25786 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawText" "', expected argument " "3"" of type '" "wxDouble""'");
25788 arg3
= static_cast< wxDouble
>(val3
);
25789 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
25790 if (!SWIG_IsOK(ecode4
)) {
25791 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawText" "', expected argument " "4"" of type '" "wxDouble""'");
25793 arg4
= static_cast< wxDouble
>(val4
);
25795 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
25796 if (PyErr_Occurred()) SWIG_fail
;
25798 resultobj
= SWIG_Py_Void();
25813 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25814 PyObject
*resultobj
= 0;
25815 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25816 wxString
*arg2
= 0 ;
25822 bool temp2
= false ;
25829 PyObject
* obj0
= 0 ;
25830 PyObject
* obj1
= 0 ;
25831 PyObject
* obj2
= 0 ;
25832 PyObject
* obj3
= 0 ;
25833 PyObject
* obj4
= 0 ;
25834 char * kwnames
[] = {
25835 (char *) "self",(char *) "str",(char *) "x",(char *) "y",(char *) "angle", NULL
25838 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
25839 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25840 if (!SWIG_IsOK(res1
)) {
25841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25843 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25845 arg2
= wxString_in_helper(obj1
);
25846 if (arg2
== NULL
) SWIG_fail
;
25849 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25850 if (!SWIG_IsOK(ecode3
)) {
25851 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "3"" of type '" "wxDouble""'");
25853 arg3
= static_cast< wxDouble
>(val3
);
25854 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
25855 if (!SWIG_IsOK(ecode4
)) {
25856 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "4"" of type '" "wxDouble""'");
25858 arg4
= static_cast< wxDouble
>(val4
);
25859 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
25860 if (!SWIG_IsOK(ecode5
)) {
25861 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "5"" of type '" "wxDouble""'");
25863 arg5
= static_cast< wxDouble
>(val5
);
25865 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
25866 if (PyErr_Occurred()) SWIG_fail
;
25868 resultobj
= SWIG_Py_Void();
25883 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25884 PyObject
*resultobj
= 0;
25885 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25886 wxString
*arg2
= 0 ;
25887 wxDouble
*arg3
= (wxDouble
*) 0 ;
25888 wxDouble
*arg4
= (wxDouble
*) 0 ;
25889 wxDouble
*arg5
= (wxDouble
*) 0 ;
25890 wxDouble
*arg6
= (wxDouble
*) 0 ;
25893 bool temp2
= false ;
25895 int res3
= SWIG_TMPOBJ
;
25897 int res4
= SWIG_TMPOBJ
;
25899 int res5
= SWIG_TMPOBJ
;
25901 int res6
= SWIG_TMPOBJ
;
25902 PyObject
* obj0
= 0 ;
25903 PyObject
* obj1
= 0 ;
25904 char * kwnames
[] = {
25905 (char *) "self",(char *) "text", NULL
25912 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25913 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25914 if (!SWIG_IsOK(res1
)) {
25915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetTextExtent" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
25917 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25919 arg2
= wxString_in_helper(obj1
);
25920 if (arg2
== NULL
) SWIG_fail
;
25924 ((wxGraphicsContext
const *)arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
25925 if (PyErr_Occurred()) SWIG_fail
;
25927 resultobj
= SWIG_Py_Void();
25928 if (SWIG_IsTmpObj(res3
)) {
25929 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
25931 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25932 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
25934 if (SWIG_IsTmpObj(res4
)) {
25935 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg4
)));
25937 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25938 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_double
, new_flags
));
25940 if (SWIG_IsTmpObj(res5
)) {
25941 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg5
)));
25943 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25944 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_double
, new_flags
));
25946 if (SWIG_IsTmpObj(res6
)) {
25947 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg6
)));
25949 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25950 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_double
, new_flags
));
25966 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25967 PyObject
*resultobj
= 0;
25968 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25969 wxString
*arg2
= 0 ;
25970 wxArrayDouble result
;
25973 bool temp2
= false ;
25974 PyObject
* obj0
= 0 ;
25975 PyObject
* obj1
= 0 ;
25976 char * kwnames
[] = {
25977 (char *) "self",(char *) "text", NULL
25980 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25981 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25982 if (!SWIG_IsOK(res1
)) {
25983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25985 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25987 arg2
= wxString_in_helper(obj1
);
25988 if (arg2
== NULL
) SWIG_fail
;
25992 result
= wxGraphicsContext_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
25993 if (PyErr_Occurred()) SWIG_fail
;
25996 resultobj
= wxArrayDouble2PyList_helper(result
);
26012 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26013 PyObject
*resultobj
= 0;
26014 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26015 wxBitmap
*arg2
= 0 ;
26032 PyObject
* obj0
= 0 ;
26033 PyObject
* obj1
= 0 ;
26034 PyObject
* obj2
= 0 ;
26035 PyObject
* obj3
= 0 ;
26036 PyObject
* obj4
= 0 ;
26037 PyObject
* obj5
= 0 ;
26038 char * kwnames
[] = {
26039 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
26042 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
26043 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26044 if (!SWIG_IsOK(res1
)) {
26045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26047 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26048 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
26049 if (!SWIG_IsOK(res2
)) {
26050 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
26053 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
26055 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
26056 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26057 if (!SWIG_IsOK(ecode3
)) {
26058 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "3"" of type '" "wxDouble""'");
26060 arg3
= static_cast< wxDouble
>(val3
);
26061 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26062 if (!SWIG_IsOK(ecode4
)) {
26063 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "4"" of type '" "wxDouble""'");
26065 arg4
= static_cast< wxDouble
>(val4
);
26066 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26067 if (!SWIG_IsOK(ecode5
)) {
26068 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "5"" of type '" "wxDouble""'");
26070 arg5
= static_cast< wxDouble
>(val5
);
26071 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
26072 if (!SWIG_IsOK(ecode6
)) {
26073 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "6"" of type '" "wxDouble""'");
26075 arg6
= static_cast< wxDouble
>(val6
);
26077 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
26078 if (PyErr_Occurred()) SWIG_fail
;
26080 resultobj
= SWIG_Py_Void();
26087 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26088 PyObject
*resultobj
= 0;
26089 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26107 PyObject
* obj0
= 0 ;
26108 PyObject
* obj1
= 0 ;
26109 PyObject
* obj2
= 0 ;
26110 PyObject
* obj3
= 0 ;
26111 PyObject
* obj4
= 0 ;
26112 PyObject
* obj5
= 0 ;
26113 char * kwnames
[] = {
26114 (char *) "self",(char *) "icon",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
26117 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
26118 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26119 if (!SWIG_IsOK(res1
)) {
26120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26122 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26123 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
26124 if (!SWIG_IsOK(res2
)) {
26125 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
26128 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
26130 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
26131 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26132 if (!SWIG_IsOK(ecode3
)) {
26133 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "3"" of type '" "wxDouble""'");
26135 arg3
= static_cast< wxDouble
>(val3
);
26136 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26137 if (!SWIG_IsOK(ecode4
)) {
26138 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "4"" of type '" "wxDouble""'");
26140 arg4
= static_cast< wxDouble
>(val4
);
26141 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26142 if (!SWIG_IsOK(ecode5
)) {
26143 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "5"" of type '" "wxDouble""'");
26145 arg5
= static_cast< wxDouble
>(val5
);
26146 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
26147 if (!SWIG_IsOK(ecode6
)) {
26148 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "6"" of type '" "wxDouble""'");
26150 arg6
= static_cast< wxDouble
>(val6
);
26152 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
26153 if (PyErr_Occurred()) SWIG_fail
;
26155 resultobj
= SWIG_Py_Void();
26162 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26163 PyObject
*resultobj
= 0;
26164 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26179 PyObject
* obj0
= 0 ;
26180 PyObject
* obj1
= 0 ;
26181 PyObject
* obj2
= 0 ;
26182 PyObject
* obj3
= 0 ;
26183 PyObject
* obj4
= 0 ;
26184 char * kwnames
[] = {
26185 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
26188 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_StrokeLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26189 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26190 if (!SWIG_IsOK(res1
)) {
26191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26193 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26194 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26195 if (!SWIG_IsOK(ecode2
)) {
26196 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "2"" of type '" "wxDouble""'");
26198 arg2
= static_cast< wxDouble
>(val2
);
26199 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26200 if (!SWIG_IsOK(ecode3
)) {
26201 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "3"" of type '" "wxDouble""'");
26203 arg3
= static_cast< wxDouble
>(val3
);
26204 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26205 if (!SWIG_IsOK(ecode4
)) {
26206 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "4"" of type '" "wxDouble""'");
26208 arg4
= static_cast< wxDouble
>(val4
);
26209 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26210 if (!SWIG_IsOK(ecode5
)) {
26211 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "5"" of type '" "wxDouble""'");
26213 arg5
= static_cast< wxDouble
>(val5
);
26215 (arg1
)->StrokeLine(arg2
,arg3
,arg4
,arg5
);
26216 if (PyErr_Occurred()) SWIG_fail
;
26218 resultobj
= SWIG_Py_Void();
26225 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26226 PyObject
*resultobj
= 0;
26227 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26229 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
26232 PyObject
* obj0
= 0 ;
26233 PyObject
* obj1
= 0 ;
26234 char * kwnames
[] = {
26235 (char *) "self",(char *) "points", NULL
26238 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_StrokeLines",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26239 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26240 if (!SWIG_IsOK(res1
)) {
26241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26243 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26245 arg3
= wxPoint2D_LIST_helper(obj1
, &arg2
);
26246 if (arg3
== NULL
) SWIG_fail
;
26249 (arg1
)->StrokeLines(arg2
,(wxPoint2D
const *)arg3
);
26250 if (PyErr_Occurred()) SWIG_fail
;
26252 resultobj
= SWIG_Py_Void();
26254 if (arg3
) delete [] arg3
;
26259 if (arg3
) delete [] arg3
;
26265 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLineSegements(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26266 PyObject
*resultobj
= 0;
26267 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26268 PyObject
*arg2
= (PyObject
*) 0 ;
26269 PyObject
*arg3
= (PyObject
*) 0 ;
26272 PyObject
* obj0
= 0 ;
26273 PyObject
* obj1
= 0 ;
26274 PyObject
* obj2
= 0 ;
26275 char * kwnames
[] = {
26276 (char *) "self",(char *) "beginPoints",(char *) "endPoints", NULL
26279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_StrokeLineSegements",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26280 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26281 if (!SWIG_IsOK(res1
)) {
26282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLineSegements" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26284 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26288 wxGraphicsContext_StrokeLineSegements(arg1
,arg2
,arg3
);
26289 if (PyErr_Occurred()) SWIG_fail
;
26291 resultobj
= SWIG_Py_Void();
26298 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26299 PyObject
*resultobj
= 0;
26300 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26302 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
26303 int arg4
= (int) wxWINDING_RULE
;
26308 PyObject
* obj0
= 0 ;
26309 PyObject
* obj1
= 0 ;
26310 PyObject
* obj2
= 0 ;
26311 char * kwnames
[] = {
26312 (char *) "self",(char *) "points",(char *) "fillStyle", NULL
26315 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26316 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26317 if (!SWIG_IsOK(res1
)) {
26318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26320 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26322 arg3
= wxPoint2D_LIST_helper(obj1
, &arg2
);
26323 if (arg3
== NULL
) SWIG_fail
;
26326 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
26327 if (!SWIG_IsOK(ecode4
)) {
26328 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "4"" of type '" "int""'");
26330 arg4
= static_cast< int >(val4
);
26333 (arg1
)->DrawLines(arg2
,(wxPoint2D
const *)arg3
,arg4
);
26334 if (PyErr_Occurred()) SWIG_fail
;
26336 resultobj
= SWIG_Py_Void();
26338 if (arg3
) delete [] arg3
;
26343 if (arg3
) delete [] arg3
;
26349 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26350 PyObject
*resultobj
= 0;
26351 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26366 PyObject
* obj0
= 0 ;
26367 PyObject
* obj1
= 0 ;
26368 PyObject
* obj2
= 0 ;
26369 PyObject
* obj3
= 0 ;
26370 PyObject
* obj4
= 0 ;
26371 char * kwnames
[] = {
26372 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
26375 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26376 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26377 if (!SWIG_IsOK(res1
)) {
26378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26380 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26381 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26382 if (!SWIG_IsOK(ecode2
)) {
26383 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
26385 arg2
= static_cast< wxDouble
>(val2
);
26386 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26387 if (!SWIG_IsOK(ecode3
)) {
26388 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
26390 arg3
= static_cast< wxDouble
>(val3
);
26391 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26392 if (!SWIG_IsOK(ecode4
)) {
26393 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
26395 arg4
= static_cast< wxDouble
>(val4
);
26396 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26397 if (!SWIG_IsOK(ecode5
)) {
26398 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
26400 arg5
= static_cast< wxDouble
>(val5
);
26402 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
26403 if (PyErr_Occurred()) SWIG_fail
;
26405 resultobj
= SWIG_Py_Void();
26412 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26413 PyObject
*resultobj
= 0;
26414 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26429 PyObject
* obj0
= 0 ;
26430 PyObject
* obj1
= 0 ;
26431 PyObject
* obj2
= 0 ;
26432 PyObject
* obj3
= 0 ;
26433 PyObject
* obj4
= 0 ;
26434 char * kwnames
[] = {
26435 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
26438 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26439 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26440 if (!SWIG_IsOK(res1
)) {
26441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26443 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26444 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26445 if (!SWIG_IsOK(ecode2
)) {
26446 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "2"" of type '" "wxDouble""'");
26448 arg2
= static_cast< wxDouble
>(val2
);
26449 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26450 if (!SWIG_IsOK(ecode3
)) {
26451 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "3"" of type '" "wxDouble""'");
26453 arg3
= static_cast< wxDouble
>(val3
);
26454 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26455 if (!SWIG_IsOK(ecode4
)) {
26456 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "4"" of type '" "wxDouble""'");
26458 arg4
= static_cast< wxDouble
>(val4
);
26459 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26460 if (!SWIG_IsOK(ecode5
)) {
26461 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "5"" of type '" "wxDouble""'");
26463 arg5
= static_cast< wxDouble
>(val5
);
26465 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
26466 if (PyErr_Occurred()) SWIG_fail
;
26468 resultobj
= SWIG_Py_Void();
26475 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26476 PyObject
*resultobj
= 0;
26477 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26495 PyObject
* obj0
= 0 ;
26496 PyObject
* obj1
= 0 ;
26497 PyObject
* obj2
= 0 ;
26498 PyObject
* obj3
= 0 ;
26499 PyObject
* obj4
= 0 ;
26500 PyObject
* obj5
= 0 ;
26501 char * kwnames
[] = {
26502 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "radius", NULL
26505 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
26506 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26507 if (!SWIG_IsOK(res1
)) {
26508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26510 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26511 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26512 if (!SWIG_IsOK(ecode2
)) {
26513 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
26515 arg2
= static_cast< wxDouble
>(val2
);
26516 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26517 if (!SWIG_IsOK(ecode3
)) {
26518 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
26520 arg3
= static_cast< wxDouble
>(val3
);
26521 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26522 if (!SWIG_IsOK(ecode4
)) {
26523 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
26525 arg4
= static_cast< wxDouble
>(val4
);
26526 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26527 if (!SWIG_IsOK(ecode5
)) {
26528 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
26530 arg5
= static_cast< wxDouble
>(val5
);
26531 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
26532 if (!SWIG_IsOK(ecode6
)) {
26533 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "6"" of type '" "wxDouble""'");
26535 arg6
= static_cast< wxDouble
>(val6
);
26537 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
26538 if (PyErr_Occurred()) SWIG_fail
;
26540 resultobj
= SWIG_Py_Void();
26547 SWIGINTERN PyObject
*GraphicsContext_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26549 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26550 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsContext
, SWIG_NewClientData(obj
));
26551 return SWIG_Py_Void();
26554 SWIGINTERN PyObject
*_wrap_new_GCDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26555 PyObject
*resultobj
= 0;
26556 wxWindowDC
*arg1
= 0 ;
26557 wxGCDC
*result
= 0 ;
26560 PyObject
* obj0
= 0 ;
26561 char * kwnames
[] = {
26562 (char *) "dc", NULL
26565 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_GCDC",kwnames
,&obj0
)) SWIG_fail
;
26566 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
26567 if (!SWIG_IsOK(res1
)) {
26568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
26571 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
26573 arg1
= reinterpret_cast< wxWindowDC
* >(argp1
);
26575 if (!wxPyCheckForApp()) SWIG_fail
;
26576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26577 result
= (wxGCDC
*)new wxGCDC((wxWindowDC
const &)*arg1
);
26578 wxPyEndAllowThreads(__tstate
);
26579 if (PyErr_Occurred()) SWIG_fail
;
26581 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGCDC
, SWIG_POINTER_NEW
| 0 );
26588 SWIGINTERN PyObject
*_wrap_delete_GCDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26589 PyObject
*resultobj
= 0;
26590 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
26593 PyObject
*swig_obj
[1] ;
26595 if (!args
) SWIG_fail
;
26596 swig_obj
[0] = args
;
26597 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, SWIG_POINTER_DISOWN
| 0 );
26598 if (!SWIG_IsOK(res1
)) {
26599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GCDC" "', expected argument " "1"" of type '" "wxGCDC *""'");
26601 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
26605 if (PyErr_Occurred()) SWIG_fail
;
26607 resultobj
= SWIG_Py_Void();
26614 SWIGINTERN PyObject
*_wrap_GCDC_GetGraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26615 PyObject
*resultobj
= 0;
26616 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
26617 wxGraphicsContext
*result
= 0 ;
26620 PyObject
*swig_obj
[1] ;
26622 if (!args
) SWIG_fail
;
26623 swig_obj
[0] = args
;
26624 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, 0 | 0 );
26625 if (!SWIG_IsOK(res1
)) {
26626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GCDC_GetGraphicsContext" "', expected argument " "1"" of type '" "wxGCDC *""'");
26628 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
26630 result
= (wxGraphicsContext
*)(arg1
)->GetGraphicsContext();
26631 if (PyErr_Occurred()) SWIG_fail
;
26633 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26640 SWIGINTERN PyObject
*_wrap_GCDC_SetGraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26641 PyObject
*resultobj
= 0;
26642 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
26643 wxGraphicsContext
*arg2
= (wxGraphicsContext
*) 0 ;
26648 PyObject
* obj0
= 0 ;
26649 PyObject
* obj1
= 0 ;
26650 char * kwnames
[] = {
26651 (char *) "self",(char *) "ctx", NULL
26654 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GCDC_SetGraphicsContext",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26655 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGCDC
, 0 | 0 );
26656 if (!SWIG_IsOK(res1
)) {
26657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GCDC_SetGraphicsContext" "', expected argument " "1"" of type '" "wxGCDC *""'");
26659 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
26660 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26661 if (!SWIG_IsOK(res2
)) {
26662 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GCDC_SetGraphicsContext" "', expected argument " "2"" of type '" "wxGraphicsContext *""'");
26664 arg2
= reinterpret_cast< wxGraphicsContext
* >(argp2
);
26666 (arg1
)->SetGraphicsContext(arg2
);
26667 if (PyErr_Occurred()) SWIG_fail
;
26669 resultobj
= SWIG_Py_Void();
26676 SWIGINTERN PyObject
*GCDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26678 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26679 SWIG_TypeNewClientData(SWIGTYPE_p_wxGCDC
, SWIG_NewClientData(obj
));
26680 return SWIG_Py_Void();
26683 SWIGINTERN PyObject
*GCDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26684 return SWIG_Python_InitShadowInstance(args
);
26687 SWIGINTERN PyObject
*_wrap_new_Overlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26688 PyObject
*resultobj
= 0;
26689 wxOverlay
*result
= 0 ;
26691 if (!SWIG_Python_UnpackTuple(args
,"new_Overlay",0,0,0)) SWIG_fail
;
26693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26694 result
= (wxOverlay
*)new wxOverlay();
26695 wxPyEndAllowThreads(__tstate
);
26696 if (PyErr_Occurred()) SWIG_fail
;
26698 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxOverlay
, SWIG_POINTER_NEW
| 0 );
26705 SWIGINTERN PyObject
*_wrap_delete_Overlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26706 PyObject
*resultobj
= 0;
26707 wxOverlay
*arg1
= (wxOverlay
*) 0 ;
26710 PyObject
*swig_obj
[1] ;
26712 if (!args
) SWIG_fail
;
26713 swig_obj
[0] = args
;
26714 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOverlay
, SWIG_POINTER_DISOWN
| 0 );
26715 if (!SWIG_IsOK(res1
)) {
26716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Overlay" "', expected argument " "1"" of type '" "wxOverlay *""'");
26718 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
26720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26723 wxPyEndAllowThreads(__tstate
);
26724 if (PyErr_Occurred()) SWIG_fail
;
26726 resultobj
= SWIG_Py_Void();
26733 SWIGINTERN PyObject
*_wrap_Overlay_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26734 PyObject
*resultobj
= 0;
26735 wxOverlay
*arg1
= (wxOverlay
*) 0 ;
26738 PyObject
*swig_obj
[1] ;
26740 if (!args
) SWIG_fail
;
26741 swig_obj
[0] = args
;
26742 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOverlay
, 0 | 0 );
26743 if (!SWIG_IsOK(res1
)) {
26744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Overlay_Reset" "', expected argument " "1"" of type '" "wxOverlay *""'");
26746 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
26748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26750 wxPyEndAllowThreads(__tstate
);
26751 if (PyErr_Occurred()) SWIG_fail
;
26753 resultobj
= SWIG_Py_Void();
26760 SWIGINTERN PyObject
*Overlay_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26762 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26763 SWIG_TypeNewClientData(SWIGTYPE_p_wxOverlay
, SWIG_NewClientData(obj
));
26764 return SWIG_Py_Void();
26767 SWIGINTERN PyObject
*Overlay_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26768 return SWIG_Python_InitShadowInstance(args
);
26771 SWIGINTERN PyObject
*_wrap_new_DCOverlay__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26772 PyObject
*resultobj
= 0;
26773 wxOverlay
*arg1
= 0 ;
26774 wxWindowDC
*arg2
= (wxWindowDC
*) 0 ;
26779 wxDCOverlay
*result
= 0 ;
26793 if ((nobjs
< 6) || (nobjs
> 6)) SWIG_fail
;
26794 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxOverlay
, 0 );
26795 if (!SWIG_IsOK(res1
)) {
26796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
26799 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
26801 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
26802 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindowDC
, 0 | 0 );
26803 if (!SWIG_IsOK(res2
)) {
26804 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCOverlay" "', expected argument " "2"" of type '" "wxWindowDC *""'");
26806 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
26807 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
26808 if (!SWIG_IsOK(ecode3
)) {
26809 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DCOverlay" "', expected argument " "3"" of type '" "int""'");
26811 arg3
= static_cast< int >(val3
);
26812 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
26813 if (!SWIG_IsOK(ecode4
)) {
26814 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DCOverlay" "', expected argument " "4"" of type '" "int""'");
26816 arg4
= static_cast< int >(val4
);
26817 ecode5
= SWIG_AsVal_int(swig_obj
[4], &val5
);
26818 if (!SWIG_IsOK(ecode5
)) {
26819 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DCOverlay" "', expected argument " "5"" of type '" "int""'");
26821 arg5
= static_cast< int >(val5
);
26822 ecode6
= SWIG_AsVal_int(swig_obj
[5], &val6
);
26823 if (!SWIG_IsOK(ecode6
)) {
26824 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DCOverlay" "', expected argument " "6"" of type '" "int""'");
26826 arg6
= static_cast< int >(val6
);
26828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26829 result
= (wxDCOverlay
*)new wxDCOverlay(*arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
26830 wxPyEndAllowThreads(__tstate
);
26831 if (PyErr_Occurred()) SWIG_fail
;
26833 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_NEW
| 0 );
26840 SWIGINTERN PyObject
*_wrap_new_DCOverlay__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26841 PyObject
*resultobj
= 0;
26842 wxOverlay
*arg1
= 0 ;
26843 wxWindowDC
*arg2
= (wxWindowDC
*) 0 ;
26844 wxDCOverlay
*result
= 0 ;
26850 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26851 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxOverlay
, 0 );
26852 if (!SWIG_IsOK(res1
)) {
26853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
26856 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
26858 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
26859 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindowDC
, 0 | 0 );
26860 if (!SWIG_IsOK(res2
)) {
26861 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCOverlay" "', expected argument " "2"" of type '" "wxWindowDC *""'");
26863 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
26865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26866 result
= (wxDCOverlay
*)new wxDCOverlay(*arg1
,arg2
);
26867 wxPyEndAllowThreads(__tstate
);
26868 if (PyErr_Occurred()) SWIG_fail
;
26870 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_NEW
| 0 );
26877 SWIGINTERN PyObject
*_wrap_new_DCOverlay(PyObject
*self
, PyObject
*args
) {
26881 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_DCOverlay",0,6,argv
))) SWIG_fail
;
26884 return _wrap_new_DCOverlay__SWIG_1(self
, argc
, argv
);
26887 return _wrap_new_DCOverlay__SWIG_0(self
, argc
, argv
);
26891 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_DCOverlay'");
26896 SWIGINTERN PyObject
*_wrap_delete_DCOverlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26897 PyObject
*resultobj
= 0;
26898 wxDCOverlay
*arg1
= (wxDCOverlay
*) 0 ;
26901 PyObject
*swig_obj
[1] ;
26903 if (!args
) SWIG_fail
;
26904 swig_obj
[0] = args
;
26905 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_DISOWN
| 0 );
26906 if (!SWIG_IsOK(res1
)) {
26907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCOverlay" "', expected argument " "1"" of type '" "wxDCOverlay *""'");
26909 arg1
= reinterpret_cast< wxDCOverlay
* >(argp1
);
26911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26914 wxPyEndAllowThreads(__tstate
);
26915 if (PyErr_Occurred()) SWIG_fail
;
26917 resultobj
= SWIG_Py_Void();
26924 SWIGINTERN PyObject
*_wrap_DCOverlay_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26925 PyObject
*resultobj
= 0;
26926 wxDCOverlay
*arg1
= (wxDCOverlay
*) 0 ;
26929 PyObject
*swig_obj
[1] ;
26931 if (!args
) SWIG_fail
;
26932 swig_obj
[0] = args
;
26933 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCOverlay
, 0 | 0 );
26934 if (!SWIG_IsOK(res1
)) {
26935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DCOverlay_Clear" "', expected argument " "1"" of type '" "wxDCOverlay *""'");
26937 arg1
= reinterpret_cast< wxDCOverlay
* >(argp1
);
26939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26941 wxPyEndAllowThreads(__tstate
);
26942 if (PyErr_Occurred()) SWIG_fail
;
26944 resultobj
= SWIG_Py_Void();
26951 SWIGINTERN PyObject
*DCOverlay_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26953 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26954 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCOverlay
, SWIG_NewClientData(obj
));
26955 return SWIG_Py_Void();
26958 SWIGINTERN PyObject
*DCOverlay_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26959 return SWIG_Python_InitShadowInstance(args
);
26962 SWIGINTERN PyObject
*_wrap_new_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26963 PyObject
*resultobj
= 0;
26966 int arg3
= (int) true ;
26967 int arg4
= (int) 1 ;
26968 wxImageList
*result
= 0 ;
26977 PyObject
* obj0
= 0 ;
26978 PyObject
* obj1
= 0 ;
26979 PyObject
* obj2
= 0 ;
26980 PyObject
* obj3
= 0 ;
26981 char * kwnames
[] = {
26982 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
26985 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
26986 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
26987 if (!SWIG_IsOK(ecode1
)) {
26988 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ImageList" "', expected argument " "1"" of type '" "int""'");
26990 arg1
= static_cast< int >(val1
);
26991 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26992 if (!SWIG_IsOK(ecode2
)) {
26993 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ImageList" "', expected argument " "2"" of type '" "int""'");
26995 arg2
= static_cast< int >(val2
);
26997 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
26998 if (!SWIG_IsOK(ecode3
)) {
26999 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ImageList" "', expected argument " "3"" of type '" "int""'");
27001 arg3
= static_cast< int >(val3
);
27004 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
27005 if (!SWIG_IsOK(ecode4
)) {
27006 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ImageList" "', expected argument " "4"" of type '" "int""'");
27008 arg4
= static_cast< int >(val4
);
27011 if (!wxPyCheckForApp()) SWIG_fail
;
27012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27013 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
27014 wxPyEndAllowThreads(__tstate
);
27015 if (PyErr_Occurred()) SWIG_fail
;
27017 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_NEW
| 0 );
27024 SWIGINTERN PyObject
*_wrap_delete_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27025 PyObject
*resultobj
= 0;
27026 wxImageList
*arg1
= (wxImageList
*) 0 ;
27029 PyObject
*swig_obj
[1] ;
27031 if (!args
) SWIG_fail
;
27032 swig_obj
[0] = args
;
27033 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
27034 if (!SWIG_IsOK(res1
)) {
27035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ImageList" "', expected argument " "1"" of type '" "wxImageList *""'");
27037 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27042 wxPyEndAllowThreads(__tstate
);
27043 if (PyErr_Occurred()) SWIG_fail
;
27045 resultobj
= SWIG_Py_Void();
27052 SWIGINTERN PyObject
*_wrap_ImageList_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27053 PyObject
*resultobj
= 0;
27054 wxImageList
*arg1
= (wxImageList
*) 0 ;
27055 wxBitmap
*arg2
= 0 ;
27056 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
27057 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
27065 PyObject
* obj0
= 0 ;
27066 PyObject
* obj1
= 0 ;
27067 PyObject
* obj2
= 0 ;
27068 char * kwnames
[] = {
27069 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
27072 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27073 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
27074 if (!SWIG_IsOK(res1
)) {
27075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Add" "', expected argument " "1"" of type '" "wxImageList *""'");
27077 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27078 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
27079 if (!SWIG_IsOK(res2
)) {
27080 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
27083 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
27085 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
27087 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
27088 if (!SWIG_IsOK(res3
)) {
27089 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
27092 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
27094 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
27097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27098 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
27099 wxPyEndAllowThreads(__tstate
);
27100 if (PyErr_Occurred()) SWIG_fail
;
27102 resultobj
= SWIG_From_int(static_cast< int >(result
));
27109 SWIGINTERN PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27110 PyObject
*resultobj
= 0;
27111 wxImageList
*arg1
= (wxImageList
*) 0 ;
27112 wxBitmap
*arg2
= 0 ;
27113 wxColour
*arg3
= 0 ;
27120 PyObject
* obj0
= 0 ;
27121 PyObject
* obj1
= 0 ;
27122 PyObject
* obj2
= 0 ;
27123 char * kwnames
[] = {
27124 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
27127 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27128 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
27129 if (!SWIG_IsOK(res1
)) {
27130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "1"" of type '" "wxImageList *""'");
27132 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27133 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
27134 if (!SWIG_IsOK(res2
)) {
27135 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
27138 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
27140 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
27143 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
27146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27147 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
27148 wxPyEndAllowThreads(__tstate
);
27149 if (PyErr_Occurred()) SWIG_fail
;
27151 resultobj
= SWIG_From_int(static_cast< int >(result
));
27158 SWIGINTERN PyObject
*_wrap_ImageList_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27159 PyObject
*resultobj
= 0;
27160 wxImageList
*arg1
= (wxImageList
*) 0 ;
27167 PyObject
* obj0
= 0 ;
27168 PyObject
* obj1
= 0 ;
27169 char * kwnames
[] = {
27170 (char *) "self",(char *) "icon", NULL
27173 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27174 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
27175 if (!SWIG_IsOK(res1
)) {
27176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddIcon" "', expected argument " "1"" of type '" "wxImageList *""'");
27178 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27179 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
27180 if (!SWIG_IsOK(res2
)) {
27181 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
27184 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
27186 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
27188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27189 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
27190 wxPyEndAllowThreads(__tstate
);
27191 if (PyErr_Occurred()) SWIG_fail
;
27193 resultobj
= SWIG_From_int(static_cast< int >(result
));
27200 SWIGINTERN PyObject
*_wrap_ImageList_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27201 PyObject
*resultobj
= 0;
27202 wxImageList
*arg1
= (wxImageList
*) 0 ;
27204 SwigValueWrapper
<wxBitmap
> result
;
27209 PyObject
* obj0
= 0 ;
27210 PyObject
* obj1
= 0 ;
27211 char * kwnames
[] = {
27212 (char *) "self",(char *) "index", NULL
27215 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27216 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
27217 if (!SWIG_IsOK(res1
)) {
27218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetBitmap" "', expected argument " "1"" of type '" "wxImageList const *""'");
27220 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27221 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27222 if (!SWIG_IsOK(ecode2
)) {
27223 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetBitmap" "', expected argument " "2"" of type '" "int""'");
27225 arg2
= static_cast< int >(val2
);
27227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27228 result
= ((wxImageList
const *)arg1
)->GetBitmap(arg2
);
27229 wxPyEndAllowThreads(__tstate
);
27230 if (PyErr_Occurred()) SWIG_fail
;
27232 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
27239 SWIGINTERN PyObject
*_wrap_ImageList_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27240 PyObject
*resultobj
= 0;
27241 wxImageList
*arg1
= (wxImageList
*) 0 ;
27248 PyObject
* obj0
= 0 ;
27249 PyObject
* obj1
= 0 ;
27250 char * kwnames
[] = {
27251 (char *) "self",(char *) "index", NULL
27254 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27255 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
27256 if (!SWIG_IsOK(res1
)) {
27257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetIcon" "', expected argument " "1"" of type '" "wxImageList const *""'");
27259 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27260 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27261 if (!SWIG_IsOK(ecode2
)) {
27262 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetIcon" "', expected argument " "2"" of type '" "int""'");
27264 arg2
= static_cast< int >(val2
);
27266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27267 result
= ((wxImageList
const *)arg1
)->GetIcon(arg2
);
27268 wxPyEndAllowThreads(__tstate
);
27269 if (PyErr_Occurred()) SWIG_fail
;
27271 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
27278 SWIGINTERN PyObject
*_wrap_ImageList_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27279 PyObject
*resultobj
= 0;
27280 wxImageList
*arg1
= (wxImageList
*) 0 ;
27282 wxBitmap
*arg3
= 0 ;
27283 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
27284 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
27294 PyObject
* obj0
= 0 ;
27295 PyObject
* obj1
= 0 ;
27296 PyObject
* obj2
= 0 ;
27297 PyObject
* obj3
= 0 ;
27298 char * kwnames
[] = {
27299 (char *) "self",(char *) "index",(char *) "bitmap",(char *) "mask", NULL
27302 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27303 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
27304 if (!SWIG_IsOK(res1
)) {
27305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Replace" "', expected argument " "1"" of type '" "wxImageList *""'");
27307 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27308 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27309 if (!SWIG_IsOK(ecode2
)) {
27310 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Replace" "', expected argument " "2"" of type '" "int""'");
27312 arg2
= static_cast< int >(val2
);
27313 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
27314 if (!SWIG_IsOK(res3
)) {
27315 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
27318 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
27320 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
27322 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
27323 if (!SWIG_IsOK(res4
)) {
27324 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
27327 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
27329 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
27332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27333 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
,(wxBitmap
const &)*arg4
);
27334 wxPyEndAllowThreads(__tstate
);
27335 if (PyErr_Occurred()) SWIG_fail
;
27338 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27346 SWIGINTERN PyObject
*_wrap_ImageList_Draw(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27347 PyObject
*resultobj
= 0;
27348 wxImageList
*arg1
= (wxImageList
*) 0 ;
27353 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
27354 bool arg7
= (bool) (bool)false ;
27370 PyObject
* obj0
= 0 ;
27371 PyObject
* obj1
= 0 ;
27372 PyObject
* obj2
= 0 ;
27373 PyObject
* obj3
= 0 ;
27374 PyObject
* obj4
= 0 ;
27375 PyObject
* obj5
= 0 ;
27376 PyObject
* obj6
= 0 ;
27377 char * kwnames
[] = {
27378 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
27381 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
27382 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
27383 if (!SWIG_IsOK(res1
)) {
27384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Draw" "', expected argument " "1"" of type '" "wxImageList *""'");
27386 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27387 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27388 if (!SWIG_IsOK(ecode2
)) {
27389 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Draw" "', expected argument " "2"" of type '" "int""'");
27391 arg2
= static_cast< int >(val2
);
27392 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
27393 if (!SWIG_IsOK(res3
)) {
27394 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
27397 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
27399 arg3
= reinterpret_cast< wxDC
* >(argp3
);
27400 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
27401 if (!SWIG_IsOK(ecode4
)) {
27402 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ImageList_Draw" "', expected argument " "4"" of type '" "int""'");
27404 arg4
= static_cast< int >(val4
);
27405 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
27406 if (!SWIG_IsOK(ecode5
)) {
27407 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ImageList_Draw" "', expected argument " "5"" of type '" "int""'");
27409 arg5
= static_cast< int >(val5
);
27411 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
27412 if (!SWIG_IsOK(ecode6
)) {
27413 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ImageList_Draw" "', expected argument " "6"" of type '" "int""'");
27415 arg6
= static_cast< int >(val6
);
27418 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
27419 if (!SWIG_IsOK(ecode7
)) {
27420 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ImageList_Draw" "', expected argument " "7"" of type '" "bool""'");
27422 arg7
= static_cast< bool >(val7
);
27425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27426 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
27427 wxPyEndAllowThreads(__tstate
);
27428 if (PyErr_Occurred()) SWIG_fail
;
27431 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27439 SWIGINTERN PyObject
*_wrap_ImageList_GetImageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27440 PyObject
*resultobj
= 0;
27441 wxImageList
*arg1
= (wxImageList
*) 0 ;
27445 PyObject
*swig_obj
[1] ;
27447 if (!args
) SWIG_fail
;
27448 swig_obj
[0] = args
;
27449 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
27450 if (!SWIG_IsOK(res1
)) {
27451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetImageCount" "', expected argument " "1"" of type '" "wxImageList *""'");
27453 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27456 result
= (int)(arg1
)->GetImageCount();
27457 wxPyEndAllowThreads(__tstate
);
27458 if (PyErr_Occurred()) SWIG_fail
;
27460 resultobj
= SWIG_From_int(static_cast< int >(result
));
27467 SWIGINTERN PyObject
*_wrap_ImageList_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27468 PyObject
*resultobj
= 0;
27469 wxImageList
*arg1
= (wxImageList
*) 0 ;
27476 PyObject
* obj0
= 0 ;
27477 PyObject
* obj1
= 0 ;
27478 char * kwnames
[] = {
27479 (char *) "self",(char *) "index", NULL
27482 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27483 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
27484 if (!SWIG_IsOK(res1
)) {
27485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Remove" "', expected argument " "1"" of type '" "wxImageList *""'");
27487 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27488 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27489 if (!SWIG_IsOK(ecode2
)) {
27490 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Remove" "', expected argument " "2"" of type '" "int""'");
27492 arg2
= static_cast< int >(val2
);
27494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27495 result
= (bool)(arg1
)->Remove(arg2
);
27496 wxPyEndAllowThreads(__tstate
);
27497 if (PyErr_Occurred()) SWIG_fail
;
27500 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27508 SWIGINTERN PyObject
*_wrap_ImageList_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27509 PyObject
*resultobj
= 0;
27510 wxImageList
*arg1
= (wxImageList
*) 0 ;
27514 PyObject
*swig_obj
[1] ;
27516 if (!args
) SWIG_fail
;
27517 swig_obj
[0] = args
;
27518 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
27519 if (!SWIG_IsOK(res1
)) {
27520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_RemoveAll" "', expected argument " "1"" of type '" "wxImageList *""'");
27522 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27525 result
= (bool)(arg1
)->RemoveAll();
27526 wxPyEndAllowThreads(__tstate
);
27527 if (PyErr_Occurred()) SWIG_fail
;
27530 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27538 SWIGINTERN PyObject
*_wrap_ImageList_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27539 PyObject
*resultobj
= 0;
27540 wxImageList
*arg1
= (wxImageList
*) 0 ;
27549 int res3
= SWIG_TMPOBJ
;
27551 int res4
= SWIG_TMPOBJ
;
27552 PyObject
* obj0
= 0 ;
27553 PyObject
* obj1
= 0 ;
27554 char * kwnames
[] = {
27555 (char *) "self",(char *) "index", NULL
27560 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27561 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
27562 if (!SWIG_IsOK(res1
)) {
27563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetSize" "', expected argument " "1"" of type '" "wxImageList *""'");
27565 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27566 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27567 if (!SWIG_IsOK(ecode2
)) {
27568 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetSize" "', expected argument " "2"" of type '" "int""'");
27570 arg2
= static_cast< int >(val2
);
27572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27573 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
27574 wxPyEndAllowThreads(__tstate
);
27575 if (PyErr_Occurred()) SWIG_fail
;
27577 resultobj
= SWIG_Py_Void();
27578 if (SWIG_IsTmpObj(res3
)) {
27579 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
27581 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27582 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
27584 if (SWIG_IsTmpObj(res4
)) {
27585 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
27587 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27588 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
27596 SWIGINTERN PyObject
*ImageList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27598 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27599 SWIG_TypeNewClientData(SWIGTYPE_p_wxImageList
, SWIG_NewClientData(obj
));
27600 return SWIG_Py_Void();
27603 SWIGINTERN PyObject
*ImageList_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27604 return SWIG_Python_InitShadowInstance(args
);
27607 SWIGINTERN PyObject
*_wrap_new_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27608 PyObject
*resultobj
= 0;
27609 wxStockGDI
*result
= 0 ;
27611 if (!SWIG_Python_UnpackTuple(args
,"new_StockGDI",0,0,0)) SWIG_fail
;
27613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27614 result
= (wxStockGDI
*)new wxStockGDI();
27615 wxPyEndAllowThreads(__tstate
);
27616 if (PyErr_Occurred()) SWIG_fail
;
27618 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_NEW
| 0 );
27625 SWIGINTERN PyObject
*_wrap_delete_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27626 PyObject
*resultobj
= 0;
27627 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
27630 PyObject
*swig_obj
[1] ;
27632 if (!args
) SWIG_fail
;
27633 swig_obj
[0] = args
;
27634 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_DISOWN
| 0 );
27635 if (!SWIG_IsOK(res1
)) {
27636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_StockGDI" "', expected argument " "1"" of type '" "wxStockGDI *""'");
27638 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
27640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27643 wxPyEndAllowThreads(__tstate
);
27644 if (PyErr_Occurred()) SWIG_fail
;
27646 resultobj
= SWIG_Py_Void();
27653 SWIGINTERN PyObject
*_wrap_StockGDI_DeleteAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27654 PyObject
*resultobj
= 0;
27656 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_DeleteAll",0,0,0)) SWIG_fail
;
27658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27659 wxStockGDI::DeleteAll();
27660 wxPyEndAllowThreads(__tstate
);
27661 if (PyErr_Occurred()) SWIG_fail
;
27663 resultobj
= SWIG_Py_Void();
27670 SWIGINTERN PyObject
*_wrap_StockGDI_instance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27671 PyObject
*resultobj
= 0;
27672 wxStockGDI
*result
= 0 ;
27674 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_instance",0,0,0)) SWIG_fail
;
27676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27678 wxStockGDI
&_result_ref
= wxStockGDI::instance();
27679 result
= (wxStockGDI
*) &_result_ref
;
27681 wxPyEndAllowThreads(__tstate
);
27682 if (PyErr_Occurred()) SWIG_fail
;
27684 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, 0 | 0 );
27691 SWIGINTERN PyObject
*_wrap_StockGDI_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27692 PyObject
*resultobj
= 0;
27693 wxStockGDI::Item arg1
;
27694 wxBrush
*result
= 0 ;
27697 PyObject
* obj0
= 0 ;
27698 char * kwnames
[] = {
27699 (char *) "item", NULL
27702 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetBrush",kwnames
,&obj0
)) SWIG_fail
;
27703 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
27704 if (!SWIG_IsOK(ecode1
)) {
27705 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetBrush" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
27707 arg1
= static_cast< wxStockGDI::Item
>(val1
);
27709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27710 result
= (wxBrush
*)wxStockGDI::GetBrush(arg1
);
27711 wxPyEndAllowThreads(__tstate
);
27712 if (PyErr_Occurred()) SWIG_fail
;
27714 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
27721 SWIGINTERN PyObject
*_wrap_StockGDI_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27722 PyObject
*resultobj
= 0;
27723 wxStockGDI::Item arg1
;
27724 wxColour
*result
= 0 ;
27727 PyObject
* obj0
= 0 ;
27728 char * kwnames
[] = {
27729 (char *) "item", NULL
27732 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetColour",kwnames
,&obj0
)) SWIG_fail
;
27733 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
27734 if (!SWIG_IsOK(ecode1
)) {
27735 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetColour" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
27737 arg1
= static_cast< wxStockGDI::Item
>(val1
);
27739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27740 result
= (wxColour
*)wxStockGDI::GetColour(arg1
);
27741 wxPyEndAllowThreads(__tstate
);
27742 if (PyErr_Occurred()) SWIG_fail
;
27744 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
27751 SWIGINTERN PyObject
*_wrap_StockGDI_GetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27752 PyObject
*resultobj
= 0;
27753 wxStockGDI::Item arg1
;
27754 wxCursor
*result
= 0 ;
27757 PyObject
* obj0
= 0 ;
27758 char * kwnames
[] = {
27759 (char *) "item", NULL
27762 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetCursor",kwnames
,&obj0
)) SWIG_fail
;
27763 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
27764 if (!SWIG_IsOK(ecode1
)) {
27765 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetCursor" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
27767 arg1
= static_cast< wxStockGDI::Item
>(val1
);
27769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27770 result
= (wxCursor
*)wxStockGDI::GetCursor(arg1
);
27771 wxPyEndAllowThreads(__tstate
);
27772 if (PyErr_Occurred()) SWIG_fail
;
27774 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, 0 | 0 );
27781 SWIGINTERN PyObject
*_wrap_StockGDI_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27782 PyObject
*resultobj
= 0;
27783 wxStockGDI::Item arg1
;
27784 wxPen
*result
= 0 ;
27787 PyObject
* obj0
= 0 ;
27788 char * kwnames
[] = {
27789 (char *) "item", NULL
27792 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetPen",kwnames
,&obj0
)) SWIG_fail
;
27793 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
27794 if (!SWIG_IsOK(ecode1
)) {
27795 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetPen" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
27797 arg1
= static_cast< wxStockGDI::Item
>(val1
);
27799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27800 result
= (wxPen
*)wxStockGDI::GetPen(arg1
);
27801 wxPyEndAllowThreads(__tstate
);
27802 if (PyErr_Occurred()) SWIG_fail
;
27804 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
27811 SWIGINTERN PyObject
*_wrap_StockGDI_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27812 PyObject
*resultobj
= 0;
27813 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
27814 wxStockGDI::Item arg2
;
27815 wxFont
*result
= 0 ;
27820 PyObject
* obj0
= 0 ;
27821 PyObject
* obj1
= 0 ;
27822 char * kwnames
[] = {
27823 (char *) "self",(char *) "item", NULL
27826 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StockGDI_GetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27827 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStockGDI
, 0 | 0 );
27828 if (!SWIG_IsOK(res1
)) {
27829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StockGDI_GetFont" "', expected argument " "1"" of type '" "wxStockGDI *""'");
27831 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
27832 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27833 if (!SWIG_IsOK(ecode2
)) {
27834 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StockGDI_GetFont" "', expected argument " "2"" of type '" "wxStockGDI::Item""'");
27836 arg2
= static_cast< wxStockGDI::Item
>(val2
);
27838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27839 result
= (wxFont
*)(arg1
)->GetFont(arg2
);
27840 wxPyEndAllowThreads(__tstate
);
27841 if (PyErr_Occurred()) SWIG_fail
;
27843 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
27850 SWIGINTERN PyObject
*StockGDI_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27852 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27853 SWIG_TypeNewClientData(SWIGTYPE_p_wxStockGDI
, SWIG_NewClientData(obj
));
27854 return SWIG_Py_Void();
27857 SWIGINTERN PyObject
*StockGDI_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27858 return SWIG_Python_InitShadowInstance(args
);
27861 SWIGINTERN
int NullBitmap_set(PyObject
*) {
27862 SWIG_Error(SWIG_AttributeError
,"Variable NullBitmap is read-only.");
27867 SWIGINTERN PyObject
*NullBitmap_get(void) {
27868 PyObject
*pyobj
= 0;
27870 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0 );
27875 SWIGINTERN
int NullIcon_set(PyObject
*) {
27876 SWIG_Error(SWIG_AttributeError
,"Variable NullIcon is read-only.");
27881 SWIGINTERN PyObject
*NullIcon_get(void) {
27882 PyObject
*pyobj
= 0;
27884 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0 );
27889 SWIGINTERN
int NullCursor_set(PyObject
*) {
27890 SWIG_Error(SWIG_AttributeError
,"Variable NullCursor is read-only.");
27895 SWIGINTERN PyObject
*NullCursor_get(void) {
27896 PyObject
*pyobj
= 0;
27898 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0 );
27903 SWIGINTERN
int NullPen_set(PyObject
*) {
27904 SWIG_Error(SWIG_AttributeError
,"Variable NullPen is read-only.");
27909 SWIGINTERN PyObject
*NullPen_get(void) {
27910 PyObject
*pyobj
= 0;
27912 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPen
), SWIGTYPE_p_wxPen
, 0 );
27917 SWIGINTERN
int NullBrush_set(PyObject
*) {
27918 SWIG_Error(SWIG_AttributeError
,"Variable NullBrush is read-only.");
27923 SWIGINTERN PyObject
*NullBrush_get(void) {
27924 PyObject
*pyobj
= 0;
27926 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0 );
27931 SWIGINTERN
int NullPalette_set(PyObject
*) {
27932 SWIG_Error(SWIG_AttributeError
,"Variable NullPalette is read-only.");
27937 SWIGINTERN PyObject
*NullPalette_get(void) {
27938 PyObject
*pyobj
= 0;
27940 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0 );
27945 SWIGINTERN
int NullFont_set(PyObject
*) {
27946 SWIG_Error(SWIG_AttributeError
,"Variable NullFont is read-only.");
27951 SWIGINTERN PyObject
*NullFont_get(void) {
27952 PyObject
*pyobj
= 0;
27954 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullFont
), SWIGTYPE_p_wxFont
, 0 );
27959 SWIGINTERN
int NullColour_set(PyObject
*) {
27960 SWIG_Error(SWIG_AttributeError
,"Variable NullColour is read-only.");
27965 SWIGINTERN PyObject
*NullColour_get(void) {
27966 PyObject
*pyobj
= 0;
27968 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullColour
), SWIGTYPE_p_wxColour
, 0 );
27973 SWIGINTERN PyObject
*_wrap_new_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27974 PyObject
*resultobj
= 0;
27975 wxGDIObjListBase
*result
= 0 ;
27977 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObjListBase",0,0,0)) SWIG_fail
;
27979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27980 result
= (wxGDIObjListBase
*)new wxGDIObjListBase();
27981 wxPyEndAllowThreads(__tstate
);
27982 if (PyErr_Occurred()) SWIG_fail
;
27984 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_NEW
| 0 );
27991 SWIGINTERN PyObject
*_wrap_delete_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27992 PyObject
*resultobj
= 0;
27993 wxGDIObjListBase
*arg1
= (wxGDIObjListBase
*) 0 ;
27996 PyObject
*swig_obj
[1] ;
27998 if (!args
) SWIG_fail
;
27999 swig_obj
[0] = args
;
28000 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_DISOWN
| 0 );
28001 if (!SWIG_IsOK(res1
)) {
28002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObjListBase" "', expected argument " "1"" of type '" "wxGDIObjListBase *""'");
28004 arg1
= reinterpret_cast< wxGDIObjListBase
* >(argp1
);
28006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28009 wxPyEndAllowThreads(__tstate
);
28010 if (PyErr_Occurred()) SWIG_fail
;
28012 resultobj
= SWIG_Py_Void();
28019 SWIGINTERN PyObject
*GDIObjListBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28021 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28022 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObjListBase
, SWIG_NewClientData(obj
));
28023 return SWIG_Py_Void();
28026 SWIGINTERN PyObject
*GDIObjListBase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28027 return SWIG_Python_InitShadowInstance(args
);
28030 SWIGINTERN PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28031 PyObject
*resultobj
= 0;
28032 wxPenList
*arg1
= (wxPenList
*) 0 ;
28033 wxColour
*arg2
= 0 ;
28036 wxPen
*result
= 0 ;
28044 PyObject
* obj0
= 0 ;
28045 PyObject
* obj1
= 0 ;
28046 PyObject
* obj2
= 0 ;
28047 PyObject
* obj3
= 0 ;
28048 char * kwnames
[] = {
28049 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
28052 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
28053 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
28054 if (!SWIG_IsOK(res1
)) {
28055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "1"" of type '" "wxPenList *""'");
28057 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
28060 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
28062 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28063 if (!SWIG_IsOK(ecode3
)) {
28064 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "3"" of type '" "int""'");
28066 arg3
= static_cast< int >(val3
);
28067 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
28068 if (!SWIG_IsOK(ecode4
)) {
28069 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "4"" of type '" "int""'");
28071 arg4
= static_cast< int >(val4
);
28073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28074 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
28075 wxPyEndAllowThreads(__tstate
);
28076 if (PyErr_Occurred()) SWIG_fail
;
28078 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
28085 SWIGINTERN PyObject
*_wrap_PenList_AddPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28086 PyObject
*resultobj
= 0;
28087 wxPenList
*arg1
= (wxPenList
*) 0 ;
28088 wxPen
*arg2
= (wxPen
*) 0 ;
28093 PyObject
* obj0
= 0 ;
28094 PyObject
* obj1
= 0 ;
28095 char * kwnames
[] = {
28096 (char *) "self",(char *) "pen", NULL
28099 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28100 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
28101 if (!SWIG_IsOK(res1
)) {
28102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_AddPen" "', expected argument " "1"" of type '" "wxPenList *""'");
28104 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
28105 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
28106 if (!SWIG_IsOK(res2
)) {
28107 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_AddPen" "', expected argument " "2"" of type '" "wxPen *""'");
28109 arg2
= reinterpret_cast< wxPen
* >(argp2
);
28111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28112 (arg1
)->AddPen(arg2
);
28113 wxPyEndAllowThreads(__tstate
);
28114 if (PyErr_Occurred()) SWIG_fail
;
28116 resultobj
= SWIG_Py_Void();
28123 SWIGINTERN PyObject
*_wrap_PenList_RemovePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28124 PyObject
*resultobj
= 0;
28125 wxPenList
*arg1
= (wxPenList
*) 0 ;
28126 wxPen
*arg2
= (wxPen
*) 0 ;
28131 PyObject
* obj0
= 0 ;
28132 PyObject
* obj1
= 0 ;
28133 char * kwnames
[] = {
28134 (char *) "self",(char *) "pen", NULL
28137 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28138 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
28139 if (!SWIG_IsOK(res1
)) {
28140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_RemovePen" "', expected argument " "1"" of type '" "wxPenList *""'");
28142 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
28143 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
28144 if (!SWIG_IsOK(res2
)) {
28145 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_RemovePen" "', expected argument " "2"" of type '" "wxPen *""'");
28147 arg2
= reinterpret_cast< wxPen
* >(argp2
);
28149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28150 (arg1
)->RemovePen(arg2
);
28151 wxPyEndAllowThreads(__tstate
);
28152 if (PyErr_Occurred()) SWIG_fail
;
28154 resultobj
= SWIG_Py_Void();
28161 SWIGINTERN PyObject
*PenList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28163 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28164 SWIG_TypeNewClientData(SWIGTYPE_p_wxPenList
, SWIG_NewClientData(obj
));
28165 return SWIG_Py_Void();
28168 SWIGINTERN PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28169 PyObject
*resultobj
= 0;
28170 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
28171 wxColour
*arg2
= 0 ;
28172 int arg3
= (int) wxSOLID
;
28173 wxBrush
*result
= 0 ;
28179 PyObject
* obj0
= 0 ;
28180 PyObject
* obj1
= 0 ;
28181 PyObject
* obj2
= 0 ;
28182 char * kwnames
[] = {
28183 (char *) "self",(char *) "colour",(char *) "style", NULL
28186 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28187 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
28188 if (!SWIG_IsOK(res1
)) {
28189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
28191 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
28194 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
28197 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28198 if (!SWIG_IsOK(ecode3
)) {
28199 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "3"" of type '" "int""'");
28201 arg3
= static_cast< int >(val3
);
28204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28205 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
28206 wxPyEndAllowThreads(__tstate
);
28207 if (PyErr_Occurred()) SWIG_fail
;
28209 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
28216 SWIGINTERN PyObject
*_wrap_BrushList_AddBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28217 PyObject
*resultobj
= 0;
28218 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
28219 wxBrush
*arg2
= (wxBrush
*) 0 ;
28224 PyObject
* obj0
= 0 ;
28225 PyObject
* obj1
= 0 ;
28226 char * kwnames
[] = {
28227 (char *) "self",(char *) "brush", NULL
28230 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28231 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
28232 if (!SWIG_IsOK(res1
)) {
28233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_AddBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
28235 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
28236 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
28237 if (!SWIG_IsOK(res2
)) {
28238 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_AddBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
28240 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
28242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28243 (arg1
)->AddBrush(arg2
);
28244 wxPyEndAllowThreads(__tstate
);
28245 if (PyErr_Occurred()) SWIG_fail
;
28247 resultobj
= SWIG_Py_Void();
28254 SWIGINTERN PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28255 PyObject
*resultobj
= 0;
28256 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
28257 wxBrush
*arg2
= (wxBrush
*) 0 ;
28262 PyObject
* obj0
= 0 ;
28263 PyObject
* obj1
= 0 ;
28264 char * kwnames
[] = {
28265 (char *) "self",(char *) "brush", NULL
28268 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28269 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
28270 if (!SWIG_IsOK(res1
)) {
28271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_RemoveBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
28273 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
28274 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
28275 if (!SWIG_IsOK(res2
)) {
28276 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_RemoveBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
28278 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
28280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28281 (arg1
)->RemoveBrush(arg2
);
28282 wxPyEndAllowThreads(__tstate
);
28283 if (PyErr_Occurred()) SWIG_fail
;
28285 resultobj
= SWIG_Py_Void();
28292 SWIGINTERN PyObject
*BrushList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28294 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28295 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrushList
, SWIG_NewClientData(obj
));
28296 return SWIG_Py_Void();
28299 SWIGINTERN PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28300 PyObject
*resultobj
= 0;
28301 wxFontList
*arg1
= (wxFontList
*) 0 ;
28306 bool arg6
= (bool) false ;
28307 wxString
const &arg7_defvalue
= wxPyEmptyString
;
28308 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28309 wxFontEncoding arg8
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
28310 wxFont
*result
= 0 ;
28323 bool temp7
= false ;
28326 PyObject
* obj0
= 0 ;
28327 PyObject
* obj1
= 0 ;
28328 PyObject
* obj2
= 0 ;
28329 PyObject
* obj3
= 0 ;
28330 PyObject
* obj4
= 0 ;
28331 PyObject
* obj5
= 0 ;
28332 PyObject
* obj6
= 0 ;
28333 PyObject
* obj7
= 0 ;
28334 char * kwnames
[] = {
28335 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
28338 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
28339 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
28340 if (!SWIG_IsOK(res1
)) {
28341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "1"" of type '" "wxFontList *""'");
28343 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
28344 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28345 if (!SWIG_IsOK(ecode2
)) {
28346 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "2"" of type '" "int""'");
28348 arg2
= static_cast< int >(val2
);
28349 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28350 if (!SWIG_IsOK(ecode3
)) {
28351 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "3"" of type '" "int""'");
28353 arg3
= static_cast< int >(val3
);
28354 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
28355 if (!SWIG_IsOK(ecode4
)) {
28356 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "4"" of type '" "int""'");
28358 arg4
= static_cast< int >(val4
);
28359 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
28360 if (!SWIG_IsOK(ecode5
)) {
28361 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "5"" of type '" "int""'");
28363 arg5
= static_cast< int >(val5
);
28365 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
28366 if (!SWIG_IsOK(ecode6
)) {
28367 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "6"" of type '" "bool""'");
28369 arg6
= static_cast< bool >(val6
);
28373 arg7
= wxString_in_helper(obj6
);
28374 if (arg7
== NULL
) SWIG_fail
;
28379 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
28380 if (!SWIG_IsOK(ecode8
)) {
28381 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "8"" of type '" "wxFontEncoding""'");
28383 arg8
= static_cast< wxFontEncoding
>(val8
);
28386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28387 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,arg8
);
28388 wxPyEndAllowThreads(__tstate
);
28389 if (PyErr_Occurred()) SWIG_fail
;
28391 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
28406 SWIGINTERN PyObject
*_wrap_FontList_AddFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28407 PyObject
*resultobj
= 0;
28408 wxFontList
*arg1
= (wxFontList
*) 0 ;
28409 wxFont
*arg2
= (wxFont
*) 0 ;
28414 PyObject
* obj0
= 0 ;
28415 PyObject
* obj1
= 0 ;
28416 char * kwnames
[] = {
28417 (char *) "self",(char *) "font", NULL
28420 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28421 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
28422 if (!SWIG_IsOK(res1
)) {
28423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_AddFont" "', expected argument " "1"" of type '" "wxFontList *""'");
28425 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
28426 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
28427 if (!SWIG_IsOK(res2
)) {
28428 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_AddFont" "', expected argument " "2"" of type '" "wxFont *""'");
28430 arg2
= reinterpret_cast< wxFont
* >(argp2
);
28432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28433 (arg1
)->AddFont(arg2
);
28434 wxPyEndAllowThreads(__tstate
);
28435 if (PyErr_Occurred()) SWIG_fail
;
28437 resultobj
= SWIG_Py_Void();
28444 SWIGINTERN PyObject
*_wrap_FontList_RemoveFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28445 PyObject
*resultobj
= 0;
28446 wxFontList
*arg1
= (wxFontList
*) 0 ;
28447 wxFont
*arg2
= (wxFont
*) 0 ;
28452 PyObject
* obj0
= 0 ;
28453 PyObject
* obj1
= 0 ;
28454 char * kwnames
[] = {
28455 (char *) "self",(char *) "font", NULL
28458 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28459 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
28460 if (!SWIG_IsOK(res1
)) {
28461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_RemoveFont" "', expected argument " "1"" of type '" "wxFontList *""'");
28463 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
28464 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
28465 if (!SWIG_IsOK(res2
)) {
28466 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_RemoveFont" "', expected argument " "2"" of type '" "wxFont *""'");
28468 arg2
= reinterpret_cast< wxFont
* >(argp2
);
28470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28471 (arg1
)->RemoveFont(arg2
);
28472 wxPyEndAllowThreads(__tstate
);
28473 if (PyErr_Occurred()) SWIG_fail
;
28475 resultobj
= SWIG_Py_Void();
28482 SWIGINTERN PyObject
*FontList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28484 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28485 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontList
, SWIG_NewClientData(obj
));
28486 return SWIG_Py_Void();
28489 SWIGINTERN PyObject
*_wrap_new_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28490 PyObject
*resultobj
= 0;
28491 wxColourDatabase
*result
= 0 ;
28493 if (!SWIG_Python_UnpackTuple(args
,"new_ColourDatabase",0,0,0)) SWIG_fail
;
28495 if (!wxPyCheckForApp()) SWIG_fail
;
28496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28497 result
= (wxColourDatabase
*)new wxColourDatabase();
28498 wxPyEndAllowThreads(__tstate
);
28499 if (PyErr_Occurred()) SWIG_fail
;
28501 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_NEW
| 0 );
28508 SWIGINTERN PyObject
*_wrap_delete_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28509 PyObject
*resultobj
= 0;
28510 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
28513 PyObject
*swig_obj
[1] ;
28515 if (!args
) SWIG_fail
;
28516 swig_obj
[0] = args
;
28517 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_DISOWN
| 0 );
28518 if (!SWIG_IsOK(res1
)) {
28519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourDatabase" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
28521 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
28523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28526 wxPyEndAllowThreads(__tstate
);
28527 if (PyErr_Occurred()) SWIG_fail
;
28529 resultobj
= SWIG_Py_Void();
28536 SWIGINTERN PyObject
*_wrap_ColourDatabase_Find(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28537 PyObject
*resultobj
= 0;
28538 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
28539 wxString
*arg2
= 0 ;
28543 bool temp2
= false ;
28544 PyObject
* obj0
= 0 ;
28545 PyObject
* obj1
= 0 ;
28546 char * kwnames
[] = {
28547 (char *) "self",(char *) "name", NULL
28550 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28551 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
28552 if (!SWIG_IsOK(res1
)) {
28553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Find" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
28555 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
28557 arg2
= wxString_in_helper(obj1
);
28558 if (arg2
== NULL
) SWIG_fail
;
28562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28563 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
28564 wxPyEndAllowThreads(__tstate
);
28565 if (PyErr_Occurred()) SWIG_fail
;
28567 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
28582 SWIGINTERN PyObject
*_wrap_ColourDatabase_FindName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28583 PyObject
*resultobj
= 0;
28584 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
28585 wxColour
*arg2
= 0 ;
28590 PyObject
* obj0
= 0 ;
28591 PyObject
* obj1
= 0 ;
28592 char * kwnames
[] = {
28593 (char *) "self",(char *) "colour", NULL
28596 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28597 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
28598 if (!SWIG_IsOK(res1
)) {
28599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_FindName" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
28601 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
28604 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
28607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28608 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
28609 wxPyEndAllowThreads(__tstate
);
28610 if (PyErr_Occurred()) SWIG_fail
;
28614 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28616 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28625 SWIGINTERN PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28626 PyObject
*resultobj
= 0;
28627 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
28628 wxString
*arg2
= 0 ;
28629 wxColour
*arg3
= 0 ;
28632 bool temp2
= false ;
28634 PyObject
* obj0
= 0 ;
28635 PyObject
* obj1
= 0 ;
28636 PyObject
* obj2
= 0 ;
28637 char * kwnames
[] = {
28638 (char *) "self",(char *) "name",(char *) "colour", NULL
28641 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28642 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
28643 if (!SWIG_IsOK(res1
)) {
28644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_AddColour" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
28646 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
28648 arg2
= wxString_in_helper(obj1
);
28649 if (arg2
== NULL
) SWIG_fail
;
28654 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
28657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28658 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
28659 wxPyEndAllowThreads(__tstate
);
28660 if (PyErr_Occurred()) SWIG_fail
;
28662 resultobj
= SWIG_Py_Void();
28677 SWIGINTERN PyObject
*_wrap_ColourDatabase_Append(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28678 PyObject
*resultobj
= 0;
28679 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
28680 wxString
*arg2
= 0 ;
28686 bool temp2
= false ;
28693 PyObject
* obj0
= 0 ;
28694 PyObject
* obj1
= 0 ;
28695 PyObject
* obj2
= 0 ;
28696 PyObject
* obj3
= 0 ;
28697 PyObject
* obj4
= 0 ;
28698 char * kwnames
[] = {
28699 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
28702 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
28703 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
28704 if (!SWIG_IsOK(res1
)) {
28705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Append" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
28707 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
28709 arg2
= wxString_in_helper(obj1
);
28710 if (arg2
== NULL
) SWIG_fail
;
28713 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28714 if (!SWIG_IsOK(ecode3
)) {
28715 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourDatabase_Append" "', expected argument " "3"" of type '" "int""'");
28717 arg3
= static_cast< int >(val3
);
28718 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
28719 if (!SWIG_IsOK(ecode4
)) {
28720 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ColourDatabase_Append" "', expected argument " "4"" of type '" "int""'");
28722 arg4
= static_cast< int >(val4
);
28723 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
28724 if (!SWIG_IsOK(ecode5
)) {
28725 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ColourDatabase_Append" "', expected argument " "5"" of type '" "int""'");
28727 arg5
= static_cast< int >(val5
);
28729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28730 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
28731 wxPyEndAllowThreads(__tstate
);
28732 if (PyErr_Occurred()) SWIG_fail
;
28734 resultobj
= SWIG_Py_Void();
28749 SWIGINTERN PyObject
*ColourDatabase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28751 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28752 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDatabase
, SWIG_NewClientData(obj
));
28753 return SWIG_Py_Void();
28756 SWIGINTERN PyObject
*ColourDatabase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28757 return SWIG_Python_InitShadowInstance(args
);
28760 SWIGINTERN PyObject
*_wrap__wxPyInitTheFontList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28761 PyObject
*resultobj
= 0;
28762 wxFontList
*result
= 0 ;
28764 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheFontList",0,0,0)) SWIG_fail
;
28766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28767 result
= (wxFontList
*)_wxPyInitTheFontList();
28768 wxPyEndAllowThreads(__tstate
);
28769 if (PyErr_Occurred()) SWIG_fail
;
28771 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontList
, 0 | 0 );
28778 SWIGINTERN PyObject
*_wrap__wxPyInitThePenList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28779 PyObject
*resultobj
= 0;
28780 wxPenList
*result
= 0 ;
28782 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitThePenList",0,0,0)) SWIG_fail
;
28784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28785 result
= (wxPenList
*)_wxPyInitThePenList();
28786 wxPyEndAllowThreads(__tstate
);
28787 if (PyErr_Occurred()) SWIG_fail
;
28789 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPenList
, 0 | 0 );
28796 SWIGINTERN PyObject
*_wrap__wxPyInitTheBrushList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28797 PyObject
*resultobj
= 0;
28798 wxBrushList
*result
= 0 ;
28800 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheBrushList",0,0,0)) SWIG_fail
;
28802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28803 result
= (wxBrushList
*)_wxPyInitTheBrushList();
28804 wxPyEndAllowThreads(__tstate
);
28805 if (PyErr_Occurred()) SWIG_fail
;
28807 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrushList
, 0 | 0 );
28814 SWIGINTERN PyObject
*_wrap__wxPyInitTheColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28815 PyObject
*resultobj
= 0;
28816 wxColourDatabase
*result
= 0 ;
28818 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheColourDatabase",0,0,0)) SWIG_fail
;
28820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28821 result
= (wxColourDatabase
*)_wxPyInitTheColourDatabase();
28822 wxPyEndAllowThreads(__tstate
);
28823 if (PyErr_Occurred()) SWIG_fail
;
28825 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
28832 SWIGINTERN PyObject
*_wrap_new_Effects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28833 PyObject
*resultobj
= 0;
28834 wxEffects
*result
= 0 ;
28836 if (!SWIG_Python_UnpackTuple(args
,"new_Effects",0,0,0)) SWIG_fail
;
28838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28839 result
= (wxEffects
*)new wxEffects();
28840 wxPyEndAllowThreads(__tstate
);
28841 if (PyErr_Occurred()) SWIG_fail
;
28843 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEffects
, SWIG_POINTER_NEW
| 0 );
28850 SWIGINTERN PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28851 PyObject
*resultobj
= 0;
28852 wxEffects
*arg1
= (wxEffects
*) 0 ;
28856 PyObject
*swig_obj
[1] ;
28858 if (!args
) SWIG_fail
;
28859 swig_obj
[0] = args
;
28860 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
28861 if (!SWIG_IsOK(res1
)) {
28862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetHighlightColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
28864 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
28866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28867 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
28868 wxPyEndAllowThreads(__tstate
);
28869 if (PyErr_Occurred()) SWIG_fail
;
28871 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
28878 SWIGINTERN PyObject
*_wrap_Effects_GetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28879 PyObject
*resultobj
= 0;
28880 wxEffects
*arg1
= (wxEffects
*) 0 ;
28884 PyObject
*swig_obj
[1] ;
28886 if (!args
) SWIG_fail
;
28887 swig_obj
[0] = args
;
28888 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
28889 if (!SWIG_IsOK(res1
)) {
28890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetLightShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
28892 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
28894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28895 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
28896 wxPyEndAllowThreads(__tstate
);
28897 if (PyErr_Occurred()) SWIG_fail
;
28899 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
28906 SWIGINTERN PyObject
*_wrap_Effects_GetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28907 PyObject
*resultobj
= 0;
28908 wxEffects
*arg1
= (wxEffects
*) 0 ;
28912 PyObject
*swig_obj
[1] ;
28914 if (!args
) SWIG_fail
;
28915 swig_obj
[0] = args
;
28916 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
28917 if (!SWIG_IsOK(res1
)) {
28918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetFaceColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
28920 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
28922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28923 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
28924 wxPyEndAllowThreads(__tstate
);
28925 if (PyErr_Occurred()) SWIG_fail
;
28927 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
28934 SWIGINTERN PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28935 PyObject
*resultobj
= 0;
28936 wxEffects
*arg1
= (wxEffects
*) 0 ;
28940 PyObject
*swig_obj
[1] ;
28942 if (!args
) SWIG_fail
;
28943 swig_obj
[0] = args
;
28944 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
28945 if (!SWIG_IsOK(res1
)) {
28946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetMediumShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
28948 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
28950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28951 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
28952 wxPyEndAllowThreads(__tstate
);
28953 if (PyErr_Occurred()) SWIG_fail
;
28955 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
28962 SWIGINTERN PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28963 PyObject
*resultobj
= 0;
28964 wxEffects
*arg1
= (wxEffects
*) 0 ;
28968 PyObject
*swig_obj
[1] ;
28970 if (!args
) SWIG_fail
;
28971 swig_obj
[0] = args
;
28972 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
28973 if (!SWIG_IsOK(res1
)) {
28974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetDarkShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
28976 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
28978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28979 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
28980 wxPyEndAllowThreads(__tstate
);
28981 if (PyErr_Occurred()) SWIG_fail
;
28983 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
28990 SWIGINTERN PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28991 PyObject
*resultobj
= 0;
28992 wxEffects
*arg1
= (wxEffects
*) 0 ;
28993 wxColour
*arg2
= 0 ;
28997 PyObject
* obj0
= 0 ;
28998 PyObject
* obj1
= 0 ;
28999 char * kwnames
[] = {
29000 (char *) "self",(char *) "c", NULL
29003 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29004 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29005 if (!SWIG_IsOK(res1
)) {
29006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetHighlightColour" "', expected argument " "1"" of type '" "wxEffects *""'");
29008 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
29011 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29015 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
29016 wxPyEndAllowThreads(__tstate
);
29017 if (PyErr_Occurred()) SWIG_fail
;
29019 resultobj
= SWIG_Py_Void();
29026 SWIGINTERN PyObject
*_wrap_Effects_SetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29027 PyObject
*resultobj
= 0;
29028 wxEffects
*arg1
= (wxEffects
*) 0 ;
29029 wxColour
*arg2
= 0 ;
29033 PyObject
* obj0
= 0 ;
29034 PyObject
* obj1
= 0 ;
29035 char * kwnames
[] = {
29036 (char *) "self",(char *) "c", NULL
29039 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29040 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29041 if (!SWIG_IsOK(res1
)) {
29042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetLightShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
29044 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
29047 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29051 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
29052 wxPyEndAllowThreads(__tstate
);
29053 if (PyErr_Occurred()) SWIG_fail
;
29055 resultobj
= SWIG_Py_Void();
29062 SWIGINTERN PyObject
*_wrap_Effects_SetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29063 PyObject
*resultobj
= 0;
29064 wxEffects
*arg1
= (wxEffects
*) 0 ;
29065 wxColour
*arg2
= 0 ;
29069 PyObject
* obj0
= 0 ;
29070 PyObject
* obj1
= 0 ;
29071 char * kwnames
[] = {
29072 (char *) "self",(char *) "c", NULL
29075 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29076 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29077 if (!SWIG_IsOK(res1
)) {
29078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetFaceColour" "', expected argument " "1"" of type '" "wxEffects *""'");
29080 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
29083 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29087 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
29088 wxPyEndAllowThreads(__tstate
);
29089 if (PyErr_Occurred()) SWIG_fail
;
29091 resultobj
= SWIG_Py_Void();
29098 SWIGINTERN PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29099 PyObject
*resultobj
= 0;
29100 wxEffects
*arg1
= (wxEffects
*) 0 ;
29101 wxColour
*arg2
= 0 ;
29105 PyObject
* obj0
= 0 ;
29106 PyObject
* obj1
= 0 ;
29107 char * kwnames
[] = {
29108 (char *) "self",(char *) "c", NULL
29111 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29112 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29113 if (!SWIG_IsOK(res1
)) {
29114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetMediumShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
29116 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
29119 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29123 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
29124 wxPyEndAllowThreads(__tstate
);
29125 if (PyErr_Occurred()) SWIG_fail
;
29127 resultobj
= SWIG_Py_Void();
29134 SWIGINTERN PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29135 PyObject
*resultobj
= 0;
29136 wxEffects
*arg1
= (wxEffects
*) 0 ;
29137 wxColour
*arg2
= 0 ;
29141 PyObject
* obj0
= 0 ;
29142 PyObject
* obj1
= 0 ;
29143 char * kwnames
[] = {
29144 (char *) "self",(char *) "c", NULL
29147 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29148 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29149 if (!SWIG_IsOK(res1
)) {
29150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetDarkShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
29152 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
29155 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29159 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
29160 wxPyEndAllowThreads(__tstate
);
29161 if (PyErr_Occurred()) SWIG_fail
;
29163 resultobj
= SWIG_Py_Void();
29170 SWIGINTERN PyObject
*_wrap_Effects_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29171 PyObject
*resultobj
= 0;
29172 wxEffects
*arg1
= (wxEffects
*) 0 ;
29173 wxColour
*arg2
= 0 ;
29174 wxColour
*arg3
= 0 ;
29175 wxColour
*arg4
= 0 ;
29176 wxColour
*arg5
= 0 ;
29177 wxColour
*arg6
= 0 ;
29185 PyObject
* obj0
= 0 ;
29186 PyObject
* obj1
= 0 ;
29187 PyObject
* obj2
= 0 ;
29188 PyObject
* obj3
= 0 ;
29189 PyObject
* obj4
= 0 ;
29190 PyObject
* obj5
= 0 ;
29191 char * kwnames
[] = {
29192 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
29195 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29196 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29197 if (!SWIG_IsOK(res1
)) {
29198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_Set" "', expected argument " "1"" of type '" "wxEffects *""'");
29200 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
29203 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29207 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
29211 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
29215 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
29219 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
29222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29223 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
29224 wxPyEndAllowThreads(__tstate
);
29225 if (PyErr_Occurred()) SWIG_fail
;
29227 resultobj
= SWIG_Py_Void();
29234 SWIGINTERN PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29235 PyObject
*resultobj
= 0;
29236 wxEffects
*arg1
= (wxEffects
*) 0 ;
29239 int arg4
= (int) 1 ;
29247 PyObject
* obj0
= 0 ;
29248 PyObject
* obj1
= 0 ;
29249 PyObject
* obj2
= 0 ;
29250 PyObject
* obj3
= 0 ;
29251 char * kwnames
[] = {
29252 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
29255 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29256 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29257 if (!SWIG_IsOK(res1
)) {
29258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "1"" of type '" "wxEffects *""'");
29260 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
29261 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
29262 if (!SWIG_IsOK(res2
)) {
29263 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
29266 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
29268 arg2
= reinterpret_cast< wxDC
* >(argp2
);
29271 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
29274 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29275 if (!SWIG_IsOK(ecode4
)) {
29276 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "4"" of type '" "int""'");
29278 arg4
= static_cast< int >(val4
);
29281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29282 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
29283 wxPyEndAllowThreads(__tstate
);
29284 if (PyErr_Occurred()) SWIG_fail
;
29286 resultobj
= SWIG_Py_Void();
29293 SWIGINTERN PyObject
*_wrap_Effects_TileBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29294 PyObject
*resultobj
= 0;
29295 wxEffects
*arg1
= (wxEffects
*) 0 ;
29298 wxBitmap
*arg4
= 0 ;
29307 PyObject
* obj0
= 0 ;
29308 PyObject
* obj1
= 0 ;
29309 PyObject
* obj2
= 0 ;
29310 PyObject
* obj3
= 0 ;
29311 char * kwnames
[] = {
29312 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
29315 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29316 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29317 if (!SWIG_IsOK(res1
)) {
29318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_TileBitmap" "', expected argument " "1"" of type '" "wxEffects *""'");
29320 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
29323 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
29325 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
29326 if (!SWIG_IsOK(res3
)) {
29327 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
29330 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
29332 arg3
= reinterpret_cast< wxDC
* >(argp3
);
29333 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 );
29334 if (!SWIG_IsOK(res4
)) {
29335 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
29338 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
29340 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
29342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29343 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
29344 wxPyEndAllowThreads(__tstate
);
29345 if (PyErr_Occurred()) SWIG_fail
;
29348 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29356 SWIGINTERN PyObject
*Effects_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29358 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29359 SWIG_TypeNewClientData(SWIGTYPE_p_wxEffects
, SWIG_NewClientData(obj
));
29360 return SWIG_Py_Void();
29363 SWIGINTERN PyObject
*Effects_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29364 return SWIG_Python_InitShadowInstance(args
);
29367 SWIGINTERN PyObject
*_wrap_new_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29368 PyObject
*resultobj
= 0;
29372 wxSplitterRenderParams
*result
= 0 ;
29379 PyObject
* obj0
= 0 ;
29380 PyObject
* obj1
= 0 ;
29381 PyObject
* obj2
= 0 ;
29382 char * kwnames
[] = {
29383 (char *) "widthSash_",(char *) "border_",(char *) "isSens_", NULL
29386 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_SplitterRenderParams",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29387 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
29388 if (!SWIG_IsOK(ecode1
)) {
29389 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterRenderParams" "', expected argument " "1"" of type '" "int""'");
29391 arg1
= static_cast< int >(val1
);
29392 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29393 if (!SWIG_IsOK(ecode2
)) {
29394 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterRenderParams" "', expected argument " "2"" of type '" "int""'");
29396 arg2
= static_cast< int >(val2
);
29397 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
29398 if (!SWIG_IsOK(ecode3
)) {
29399 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplitterRenderParams" "', expected argument " "3"" of type '" "bool""'");
29401 arg3
= static_cast< bool >(val3
);
29403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29404 result
= (wxSplitterRenderParams
*)new wxSplitterRenderParams(arg1
,arg2
,arg3
);
29405 wxPyEndAllowThreads(__tstate
);
29406 if (PyErr_Occurred()) SWIG_fail
;
29408 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_NEW
| 0 );
29415 SWIGINTERN PyObject
*_wrap_delete_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29416 PyObject
*resultobj
= 0;
29417 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
29420 PyObject
*swig_obj
[1] ;
29422 if (!args
) SWIG_fail
;
29423 swig_obj
[0] = args
;
29424 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_DISOWN
| 0 );
29425 if (!SWIG_IsOK(res1
)) {
29426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_SplitterRenderParams" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
29428 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
29430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29433 wxPyEndAllowThreads(__tstate
);
29434 if (PyErr_Occurred()) SWIG_fail
;
29436 resultobj
= SWIG_Py_Void();
29443 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_widthSash_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29444 PyObject
*resultobj
= 0;
29445 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
29449 PyObject
*swig_obj
[1] ;
29451 if (!args
) SWIG_fail
;
29452 swig_obj
[0] = args
;
29453 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
29454 if (!SWIG_IsOK(res1
)) {
29455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_widthSash_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
29457 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
29458 result
= (int)(int) ((arg1
)->widthSash
);
29459 resultobj
= SWIG_From_int(static_cast< int >(result
));
29466 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_border_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29467 PyObject
*resultobj
= 0;
29468 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
29472 PyObject
*swig_obj
[1] ;
29474 if (!args
) SWIG_fail
;
29475 swig_obj
[0] = args
;
29476 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
29477 if (!SWIG_IsOK(res1
)) {
29478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_border_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
29480 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
29481 result
= (int)(int) ((arg1
)->border
);
29482 resultobj
= SWIG_From_int(static_cast< int >(result
));
29489 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_isHotSensitive_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29490 PyObject
*resultobj
= 0;
29491 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
29495 PyObject
*swig_obj
[1] ;
29497 if (!args
) SWIG_fail
;
29498 swig_obj
[0] = args
;
29499 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
29500 if (!SWIG_IsOK(res1
)) {
29501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_isHotSensitive_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
29503 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
29504 result
= (bool)(bool) ((arg1
)->isHotSensitive
);
29505 resultobj
= SWIG_From_bool(static_cast< bool >(result
));
29512 SWIGINTERN PyObject
*SplitterRenderParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29514 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29515 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterRenderParams
, SWIG_NewClientData(obj
));
29516 return SWIG_Py_Void();
29519 SWIGINTERN PyObject
*SplitterRenderParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29520 return SWIG_Python_InitShadowInstance(args
);
29523 SWIGINTERN PyObject
*_wrap_new_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29524 PyObject
*resultobj
= 0;
29525 wxHeaderButtonParams
*result
= 0 ;
29527 if (!SWIG_Python_UnpackTuple(args
,"new_HeaderButtonParams",0,0,0)) SWIG_fail
;
29529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29530 result
= (wxHeaderButtonParams
*)new wxHeaderButtonParams();
29531 wxPyEndAllowThreads(__tstate
);
29532 if (PyErr_Occurred()) SWIG_fail
;
29534 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_NEW
| 0 );
29541 SWIGINTERN PyObject
*_wrap_delete_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29542 PyObject
*resultobj
= 0;
29543 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29546 PyObject
*swig_obj
[1] ;
29548 if (!args
) SWIG_fail
;
29549 swig_obj
[0] = args
;
29550 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_DISOWN
| 0 );
29551 if (!SWIG_IsOK(res1
)) {
29552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HeaderButtonParams" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29554 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29559 wxPyEndAllowThreads(__tstate
);
29560 if (PyErr_Occurred()) SWIG_fail
;
29562 resultobj
= SWIG_Py_Void();
29569 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29570 PyObject
*resultobj
= 0;
29571 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29572 wxColour
*arg2
= (wxColour
*) 0 ;
29576 PyObject
*swig_obj
[2] ;
29578 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_arrowColour_set",2,2,swig_obj
)) SWIG_fail
;
29579 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29580 if (!SWIG_IsOK(res1
)) {
29581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29583 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29586 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
29588 if (arg1
) (arg1
)->m_arrowColour
= *arg2
;
29590 resultobj
= SWIG_Py_Void();
29597 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29598 PyObject
*resultobj
= 0;
29599 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29600 wxColour
*result
= 0 ;
29603 PyObject
*swig_obj
[1] ;
29605 if (!args
) SWIG_fail
;
29606 swig_obj
[0] = args
;
29607 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29608 if (!SWIG_IsOK(res1
)) {
29609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29611 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29612 result
= (wxColour
*)& ((arg1
)->m_arrowColour
);
29613 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
29620 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29621 PyObject
*resultobj
= 0;
29622 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29623 wxColour
*arg2
= (wxColour
*) 0 ;
29627 PyObject
*swig_obj
[2] ;
29629 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_selectionColour_set",2,2,swig_obj
)) SWIG_fail
;
29630 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29631 if (!SWIG_IsOK(res1
)) {
29632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29634 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29637 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
29639 if (arg1
) (arg1
)->m_selectionColour
= *arg2
;
29641 resultobj
= SWIG_Py_Void();
29648 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29649 PyObject
*resultobj
= 0;
29650 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29651 wxColour
*result
= 0 ;
29654 PyObject
*swig_obj
[1] ;
29656 if (!args
) SWIG_fail
;
29657 swig_obj
[0] = args
;
29658 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29659 if (!SWIG_IsOK(res1
)) {
29660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29662 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29663 result
= (wxColour
*)& ((arg1
)->m_selectionColour
);
29664 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
29671 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29672 PyObject
*resultobj
= 0;
29673 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29674 wxString
*arg2
= (wxString
*) 0 ;
29677 bool temp2
= false ;
29678 PyObject
*swig_obj
[2] ;
29680 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelText_set",2,2,swig_obj
)) SWIG_fail
;
29681 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29682 if (!SWIG_IsOK(res1
)) {
29683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29685 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29687 arg2
= wxString_in_helper(swig_obj
[1]);
29688 if (arg2
== NULL
) SWIG_fail
;
29691 if (arg1
) (arg1
)->m_labelText
= *arg2
;
29693 resultobj
= SWIG_Py_Void();
29708 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29709 PyObject
*resultobj
= 0;
29710 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29711 wxString
*result
= 0 ;
29714 PyObject
*swig_obj
[1] ;
29716 if (!args
) SWIG_fail
;
29717 swig_obj
[0] = args
;
29718 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29719 if (!SWIG_IsOK(res1
)) {
29720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29722 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29723 result
= (wxString
*)& ((arg1
)->m_labelText
);
29726 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
29728 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
29737 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29738 PyObject
*resultobj
= 0;
29739 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29740 wxFont
*arg2
= (wxFont
*) 0 ;
29745 PyObject
*swig_obj
[2] ;
29747 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelFont_set",2,2,swig_obj
)) SWIG_fail
;
29748 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29749 if (!SWIG_IsOK(res1
)) {
29750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29752 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29753 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
29754 if (!SWIG_IsOK(res2
)) {
29755 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "2"" of type '" "wxFont *""'");
29757 arg2
= reinterpret_cast< wxFont
* >(argp2
);
29758 if (arg1
) (arg1
)->m_labelFont
= *arg2
;
29760 resultobj
= SWIG_Py_Void();
29767 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29768 PyObject
*resultobj
= 0;
29769 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29770 wxFont
*result
= 0 ;
29773 PyObject
*swig_obj
[1] ;
29775 if (!args
) SWIG_fail
;
29776 swig_obj
[0] = args
;
29777 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29778 if (!SWIG_IsOK(res1
)) {
29779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29781 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29782 result
= (wxFont
*)& ((arg1
)->m_labelFont
);
29783 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
29790 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29791 PyObject
*resultobj
= 0;
29792 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29793 wxColour
*arg2
= (wxColour
*) 0 ;
29797 PyObject
*swig_obj
[2] ;
29799 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelColour_set",2,2,swig_obj
)) SWIG_fail
;
29800 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29801 if (!SWIG_IsOK(res1
)) {
29802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29804 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29807 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
29809 if (arg1
) (arg1
)->m_labelColour
= *arg2
;
29811 resultobj
= SWIG_Py_Void();
29818 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29819 PyObject
*resultobj
= 0;
29820 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29821 wxColour
*result
= 0 ;
29824 PyObject
*swig_obj
[1] ;
29826 if (!args
) SWIG_fail
;
29827 swig_obj
[0] = args
;
29828 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29829 if (!SWIG_IsOK(res1
)) {
29830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29832 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29833 result
= (wxColour
*)& ((arg1
)->m_labelColour
);
29834 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
29841 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29842 PyObject
*resultobj
= 0;
29843 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29844 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
29849 PyObject
*swig_obj
[2] ;
29851 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelBitmap_set",2,2,swig_obj
)) SWIG_fail
;
29852 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29853 if (!SWIG_IsOK(res1
)) {
29854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29856 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29857 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
29858 if (!SWIG_IsOK(res2
)) {
29859 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "2"" of type '" "wxBitmap *""'");
29861 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
29862 if (arg1
) (arg1
)->m_labelBitmap
= *arg2
;
29864 resultobj
= SWIG_Py_Void();
29871 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29872 PyObject
*resultobj
= 0;
29873 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29874 wxBitmap
*result
= 0 ;
29877 PyObject
*swig_obj
[1] ;
29879 if (!args
) SWIG_fail
;
29880 swig_obj
[0] = args
;
29881 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29882 if (!SWIG_IsOK(res1
)) {
29883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29885 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29886 result
= (wxBitmap
*)& ((arg1
)->m_labelBitmap
);
29887 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
29894 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29895 PyObject
*resultobj
= 0;
29896 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29902 PyObject
*swig_obj
[2] ;
29904 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelAlignment_set",2,2,swig_obj
)) SWIG_fail
;
29905 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29906 if (!SWIG_IsOK(res1
)) {
29907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29909 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29910 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
29911 if (!SWIG_IsOK(ecode2
)) {
29912 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "2"" of type '" "int""'");
29914 arg2
= static_cast< int >(val2
);
29915 if (arg1
) (arg1
)->m_labelAlignment
= arg2
;
29917 resultobj
= SWIG_Py_Void();
29924 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29925 PyObject
*resultobj
= 0;
29926 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29930 PyObject
*swig_obj
[1] ;
29932 if (!args
) SWIG_fail
;
29933 swig_obj
[0] = args
;
29934 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29935 if (!SWIG_IsOK(res1
)) {
29936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29938 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29939 result
= (int) ((arg1
)->m_labelAlignment
);
29940 resultobj
= SWIG_From_int(static_cast< int >(result
));
29947 SWIGINTERN PyObject
*HeaderButtonParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29949 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29950 SWIG_TypeNewClientData(SWIGTYPE_p_wxHeaderButtonParams
, SWIG_NewClientData(obj
));
29951 return SWIG_Py_Void();
29954 SWIGINTERN PyObject
*HeaderButtonParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29955 return SWIG_Python_InitShadowInstance(args
);
29958 SWIGINTERN PyObject
*_wrap_new_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29959 PyObject
*resultobj
= 0;
29962 wxRendererVersion
*result
= 0 ;
29967 PyObject
* obj0
= 0 ;
29968 PyObject
* obj1
= 0 ;
29969 char * kwnames
[] = {
29970 (char *) "version_",(char *) "age_", NULL
29973 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RendererVersion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29974 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
29975 if (!SWIG_IsOK(ecode1
)) {
29976 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_RendererVersion" "', expected argument " "1"" of type '" "int""'");
29978 arg1
= static_cast< int >(val1
);
29979 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29980 if (!SWIG_IsOK(ecode2
)) {
29981 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RendererVersion" "', expected argument " "2"" of type '" "int""'");
29983 arg2
= static_cast< int >(val2
);
29985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29986 result
= (wxRendererVersion
*)new wxRendererVersion(arg1
,arg2
);
29987 wxPyEndAllowThreads(__tstate
);
29988 if (PyErr_Occurred()) SWIG_fail
;
29990 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_NEW
| 0 );
29997 SWIGINTERN PyObject
*_wrap_delete_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29998 PyObject
*resultobj
= 0;
29999 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
30002 PyObject
*swig_obj
[1] ;
30004 if (!args
) SWIG_fail
;
30005 swig_obj
[0] = args
;
30006 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_DISOWN
| 0 );
30007 if (!SWIG_IsOK(res1
)) {
30008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RendererVersion" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
30010 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
30012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30015 wxPyEndAllowThreads(__tstate
);
30016 if (PyErr_Occurred()) SWIG_fail
;
30018 resultobj
= SWIG_Py_Void();
30025 SWIGINTERN PyObject
*_wrap_RendererVersion_IsCompatible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30026 PyObject
*resultobj
= 0;
30027 wxRendererVersion
*arg1
= 0 ;
30031 PyObject
* obj0
= 0 ;
30032 char * kwnames
[] = {
30033 (char *) "ver", NULL
30036 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererVersion_IsCompatible",kwnames
,&obj0
)) SWIG_fail
;
30037 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRendererVersion
, 0 | 0);
30038 if (!SWIG_IsOK(res1
)) {
30039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
30042 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
30044 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
30046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30047 result
= (bool)wxRendererVersion::IsCompatible((wxRendererVersion
const &)*arg1
);
30048 wxPyEndAllowThreads(__tstate
);
30049 if (PyErr_Occurred()) SWIG_fail
;
30052 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30060 SWIGINTERN PyObject
*_wrap_RendererVersion_version_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30061 PyObject
*resultobj
= 0;
30062 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
30066 PyObject
*swig_obj
[1] ;
30068 if (!args
) SWIG_fail
;
30069 swig_obj
[0] = args
;
30070 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
30071 if (!SWIG_IsOK(res1
)) {
30072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_version_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
30074 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
30075 result
= (int)(int) ((arg1
)->version
);
30076 resultobj
= SWIG_From_int(static_cast< int >(result
));
30083 SWIGINTERN PyObject
*_wrap_RendererVersion_age_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30084 PyObject
*resultobj
= 0;
30085 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
30089 PyObject
*swig_obj
[1] ;
30091 if (!args
) SWIG_fail
;
30092 swig_obj
[0] = args
;
30093 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
30094 if (!SWIG_IsOK(res1
)) {
30095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_age_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
30097 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
30098 result
= (int)(int) ((arg1
)->age
);
30099 resultobj
= SWIG_From_int(static_cast< int >(result
));
30106 SWIGINTERN PyObject
*RendererVersion_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30108 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30109 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererVersion
, SWIG_NewClientData(obj
));
30110 return SWIG_Py_Void();
30113 SWIGINTERN PyObject
*RendererVersion_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30114 return SWIG_Python_InitShadowInstance(args
);
30117 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30118 PyObject
*resultobj
= 0;
30119 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30120 wxWindow
*arg2
= (wxWindow
*) 0 ;
30123 int arg5
= (int) 0 ;
30124 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
30125 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
30139 PyObject
* obj0
= 0 ;
30140 PyObject
* obj1
= 0 ;
30141 PyObject
* obj2
= 0 ;
30142 PyObject
* obj3
= 0 ;
30143 PyObject
* obj4
= 0 ;
30144 PyObject
* obj5
= 0 ;
30145 PyObject
* obj6
= 0 ;
30146 char * kwnames
[] = {
30147 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
30150 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30151 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30152 if (!SWIG_IsOK(res1
)) {
30153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30155 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30156 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30157 if (!SWIG_IsOK(res2
)) {
30158 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "2"" of type '" "wxWindow *""'");
30160 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30161 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30162 if (!SWIG_IsOK(res3
)) {
30163 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
30166 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
30168 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30171 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
30174 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30175 if (!SWIG_IsOK(ecode5
)) {
30176 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "5"" of type '" "int""'");
30178 arg5
= static_cast< int >(val5
);
30181 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
30182 if (!SWIG_IsOK(ecode6
)) {
30183 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
30185 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
30188 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
30189 if (!SWIG_IsOK(res7
)) {
30190 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
30192 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
30195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30196 (arg1
)->DrawHeaderButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
30197 wxPyEndAllowThreads(__tstate
);
30198 if (PyErr_Occurred()) SWIG_fail
;
30200 resultobj
= SWIG_Py_Void();
30207 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButtonContents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30208 PyObject
*resultobj
= 0;
30209 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30210 wxWindow
*arg2
= (wxWindow
*) 0 ;
30213 int arg5
= (int) 0 ;
30214 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
30215 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
30229 PyObject
* obj0
= 0 ;
30230 PyObject
* obj1
= 0 ;
30231 PyObject
* obj2
= 0 ;
30232 PyObject
* obj3
= 0 ;
30233 PyObject
* obj4
= 0 ;
30234 PyObject
* obj5
= 0 ;
30235 PyObject
* obj6
= 0 ;
30236 char * kwnames
[] = {
30237 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
30240 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButtonContents",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30241 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30242 if (!SWIG_IsOK(res1
)) {
30243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30245 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30246 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30247 if (!SWIG_IsOK(res2
)) {
30248 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "2"" of type '" "wxWindow *""'");
30250 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30251 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30252 if (!SWIG_IsOK(res3
)) {
30253 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
30256 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
30258 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30261 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
30264 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30265 if (!SWIG_IsOK(ecode5
)) {
30266 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "5"" of type '" "int""'");
30268 arg5
= static_cast< int >(val5
);
30271 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
30272 if (!SWIG_IsOK(ecode6
)) {
30273 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
30275 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
30278 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
30279 if (!SWIG_IsOK(res7
)) {
30280 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
30282 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
30285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30286 (arg1
)->DrawHeaderButtonContents(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
30287 wxPyEndAllowThreads(__tstate
);
30288 if (PyErr_Occurred()) SWIG_fail
;
30290 resultobj
= SWIG_Py_Void();
30297 SWIGINTERN PyObject
*_wrap_RendererNative_GetHeaderButtonHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30298 PyObject
*resultobj
= 0;
30299 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30300 wxWindow
*arg2
= (wxWindow
*) 0 ;
30306 PyObject
* obj0
= 0 ;
30307 PyObject
* obj1
= 0 ;
30308 char * kwnames
[] = {
30309 (char *) "self",(char *) "win", NULL
30312 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetHeaderButtonHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30313 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30314 if (!SWIG_IsOK(res1
)) {
30315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30317 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30318 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30319 if (!SWIG_IsOK(res2
)) {
30320 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "2"" of type '" "wxWindow *""'");
30322 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30325 result
= (int)(arg1
)->GetHeaderButtonHeight(arg2
);
30326 wxPyEndAllowThreads(__tstate
);
30327 if (PyErr_Occurred()) SWIG_fail
;
30329 resultobj
= SWIG_From_int(static_cast< int >(result
));
30336 SWIGINTERN PyObject
*_wrap_RendererNative_DrawTreeItemButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30337 PyObject
*resultobj
= 0;
30338 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30339 wxWindow
*arg2
= (wxWindow
*) 0 ;
30342 int arg5
= (int) 0 ;
30352 PyObject
* obj0
= 0 ;
30353 PyObject
* obj1
= 0 ;
30354 PyObject
* obj2
= 0 ;
30355 PyObject
* obj3
= 0 ;
30356 PyObject
* obj4
= 0 ;
30357 char * kwnames
[] = {
30358 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
30361 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawTreeItemButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30362 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30363 if (!SWIG_IsOK(res1
)) {
30364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30366 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30367 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30368 if (!SWIG_IsOK(res2
)) {
30369 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "2"" of type '" "wxWindow *""'");
30371 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30372 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30373 if (!SWIG_IsOK(res3
)) {
30374 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
30377 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
30379 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30382 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
30385 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30386 if (!SWIG_IsOK(ecode5
)) {
30387 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "5"" of type '" "int""'");
30389 arg5
= static_cast< int >(val5
);
30392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30393 (arg1
)->DrawTreeItemButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
30394 wxPyEndAllowThreads(__tstate
);
30395 if (PyErr_Occurred()) SWIG_fail
;
30397 resultobj
= SWIG_Py_Void();
30404 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30405 PyObject
*resultobj
= 0;
30406 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30407 wxWindow
*arg2
= (wxWindow
*) 0 ;
30410 int arg5
= (int) 0 ;
30420 PyObject
* obj0
= 0 ;
30421 PyObject
* obj1
= 0 ;
30422 PyObject
* obj2
= 0 ;
30423 PyObject
* obj3
= 0 ;
30424 PyObject
* obj4
= 0 ;
30425 char * kwnames
[] = {
30426 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
30429 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawSplitterBorder",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30430 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30431 if (!SWIG_IsOK(res1
)) {
30432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30434 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30435 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30436 if (!SWIG_IsOK(res2
)) {
30437 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "2"" of type '" "wxWindow *""'");
30439 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30440 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30441 if (!SWIG_IsOK(res3
)) {
30442 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
30445 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
30447 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30450 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
30453 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30454 if (!SWIG_IsOK(ecode5
)) {
30455 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "5"" of type '" "int""'");
30457 arg5
= static_cast< int >(val5
);
30460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30461 (arg1
)->DrawSplitterBorder(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
30462 wxPyEndAllowThreads(__tstate
);
30463 if (PyErr_Occurred()) SWIG_fail
;
30465 resultobj
= SWIG_Py_Void();
30472 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterSash(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30473 PyObject
*resultobj
= 0;
30474 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30475 wxWindow
*arg2
= (wxWindow
*) 0 ;
30479 wxOrientation arg6
;
30480 int arg7
= (int) 0 ;
30494 PyObject
* obj0
= 0 ;
30495 PyObject
* obj1
= 0 ;
30496 PyObject
* obj2
= 0 ;
30497 PyObject
* obj3
= 0 ;
30498 PyObject
* obj4
= 0 ;
30499 PyObject
* obj5
= 0 ;
30500 PyObject
* obj6
= 0 ;
30501 char * kwnames
[] = {
30502 (char *) "self",(char *) "win",(char *) "dc",(char *) "size",(char *) "position",(char *) "orient",(char *) "flags", NULL
30505 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:RendererNative_DrawSplitterSash",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30506 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30507 if (!SWIG_IsOK(res1
)) {
30508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30510 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30511 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30512 if (!SWIG_IsOK(res2
)) {
30513 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "2"" of type '" "wxWindow *""'");
30515 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30516 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30517 if (!SWIG_IsOK(res3
)) {
30518 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
30521 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
30523 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30526 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
30528 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30529 if (!SWIG_IsOK(ecode5
)) {
30530 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "5"" of type '" "int""'");
30532 arg5
= static_cast< int >(val5
);
30533 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
30534 if (!SWIG_IsOK(ecode6
)) {
30535 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "6"" of type '" "wxOrientation""'");
30537 arg6
= static_cast< wxOrientation
>(val6
);
30539 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
30540 if (!SWIG_IsOK(ecode7
)) {
30541 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "7"" of type '" "int""'");
30543 arg7
= static_cast< int >(val7
);
30546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30547 (arg1
)->DrawSplitterSash(arg2
,*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
);
30548 wxPyEndAllowThreads(__tstate
);
30549 if (PyErr_Occurred()) SWIG_fail
;
30551 resultobj
= SWIG_Py_Void();
30558 SWIGINTERN PyObject
*_wrap_RendererNative_DrawComboBoxDropButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30559 PyObject
*resultobj
= 0;
30560 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30561 wxWindow
*arg2
= (wxWindow
*) 0 ;
30564 int arg5
= (int) 0 ;
30574 PyObject
* obj0
= 0 ;
30575 PyObject
* obj1
= 0 ;
30576 PyObject
* obj2
= 0 ;
30577 PyObject
* obj3
= 0 ;
30578 PyObject
* obj4
= 0 ;
30579 char * kwnames
[] = {
30580 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
30583 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawComboBoxDropButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30584 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30585 if (!SWIG_IsOK(res1
)) {
30586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30588 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30589 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30590 if (!SWIG_IsOK(res2
)) {
30591 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "2"" of type '" "wxWindow *""'");
30593 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30594 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30595 if (!SWIG_IsOK(res3
)) {
30596 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
30599 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
30601 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30604 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
30607 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30608 if (!SWIG_IsOK(ecode5
)) {
30609 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "5"" of type '" "int""'");
30611 arg5
= static_cast< int >(val5
);
30614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30615 (arg1
)->DrawComboBoxDropButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
30616 wxPyEndAllowThreads(__tstate
);
30617 if (PyErr_Occurred()) SWIG_fail
;
30619 resultobj
= SWIG_Py_Void();
30626 SWIGINTERN PyObject
*_wrap_RendererNative_DrawDropArrow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30627 PyObject
*resultobj
= 0;
30628 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30629 wxWindow
*arg2
= (wxWindow
*) 0 ;
30632 int arg5
= (int) 0 ;
30642 PyObject
* obj0
= 0 ;
30643 PyObject
* obj1
= 0 ;
30644 PyObject
* obj2
= 0 ;
30645 PyObject
* obj3
= 0 ;
30646 PyObject
* obj4
= 0 ;
30647 char * kwnames
[] = {
30648 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
30651 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawDropArrow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30652 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30653 if (!SWIG_IsOK(res1
)) {
30654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30656 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30657 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30658 if (!SWIG_IsOK(res2
)) {
30659 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "2"" of type '" "wxWindow *""'");
30661 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30662 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30663 if (!SWIG_IsOK(res3
)) {
30664 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
30667 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
30669 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30672 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
30675 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30676 if (!SWIG_IsOK(ecode5
)) {
30677 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "5"" of type '" "int""'");
30679 arg5
= static_cast< int >(val5
);
30682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30683 (arg1
)->DrawDropArrow(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
30684 wxPyEndAllowThreads(__tstate
);
30685 if (PyErr_Occurred()) SWIG_fail
;
30687 resultobj
= SWIG_Py_Void();
30694 SWIGINTERN PyObject
*_wrap_RendererNative_DrawCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30695 PyObject
*resultobj
= 0;
30696 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30697 wxWindow
*arg2
= (wxWindow
*) 0 ;
30700 int arg5
= (int) 0 ;
30710 PyObject
* obj0
= 0 ;
30711 PyObject
* obj1
= 0 ;
30712 PyObject
* obj2
= 0 ;
30713 PyObject
* obj3
= 0 ;
30714 PyObject
* obj4
= 0 ;
30715 char * kwnames
[] = {
30716 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
30719 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawCheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30720 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30721 if (!SWIG_IsOK(res1
)) {
30722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30724 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30725 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30726 if (!SWIG_IsOK(res2
)) {
30727 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "2"" of type '" "wxWindow *""'");
30729 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30730 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30731 if (!SWIG_IsOK(res3
)) {
30732 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
30735 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
30737 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30740 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
30743 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30744 if (!SWIG_IsOK(ecode5
)) {
30745 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "5"" of type '" "int""'");
30747 arg5
= static_cast< int >(val5
);
30750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30751 (arg1
)->DrawCheckBox(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
30752 wxPyEndAllowThreads(__tstate
);
30753 if (PyErr_Occurred()) SWIG_fail
;
30755 resultobj
= SWIG_Py_Void();
30762 SWIGINTERN PyObject
*_wrap_RendererNative_DrawPushButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30763 PyObject
*resultobj
= 0;
30764 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30765 wxWindow
*arg2
= (wxWindow
*) 0 ;
30768 int arg5
= (int) 0 ;
30778 PyObject
* obj0
= 0 ;
30779 PyObject
* obj1
= 0 ;
30780 PyObject
* obj2
= 0 ;
30781 PyObject
* obj3
= 0 ;
30782 PyObject
* obj4
= 0 ;
30783 char * kwnames
[] = {
30784 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
30787 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawPushButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30788 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30789 if (!SWIG_IsOK(res1
)) {
30790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30792 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30793 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30794 if (!SWIG_IsOK(res2
)) {
30795 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "2"" of type '" "wxWindow *""'");
30797 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30798 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30799 if (!SWIG_IsOK(res3
)) {
30800 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
30803 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
30805 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30808 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
30811 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30812 if (!SWIG_IsOK(ecode5
)) {
30813 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "5"" of type '" "int""'");
30815 arg5
= static_cast< int >(val5
);
30818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30819 (arg1
)->DrawPushButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
30820 wxPyEndAllowThreads(__tstate
);
30821 if (PyErr_Occurred()) SWIG_fail
;
30823 resultobj
= SWIG_Py_Void();
30830 SWIGINTERN PyObject
*_wrap_RendererNative_DrawItemSelectionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30831 PyObject
*resultobj
= 0;
30832 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30833 wxWindow
*arg2
= (wxWindow
*) 0 ;
30836 int arg5
= (int) 0 ;
30846 PyObject
* obj0
= 0 ;
30847 PyObject
* obj1
= 0 ;
30848 PyObject
* obj2
= 0 ;
30849 PyObject
* obj3
= 0 ;
30850 PyObject
* obj4
= 0 ;
30851 char * kwnames
[] = {
30852 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
30855 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawItemSelectionRect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30856 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30857 if (!SWIG_IsOK(res1
)) {
30858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30860 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30861 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30862 if (!SWIG_IsOK(res2
)) {
30863 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "2"" of type '" "wxWindow *""'");
30865 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30866 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30867 if (!SWIG_IsOK(res3
)) {
30868 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
30871 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
30873 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30876 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
30879 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30880 if (!SWIG_IsOK(ecode5
)) {
30881 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "5"" of type '" "int""'");
30883 arg5
= static_cast< int >(val5
);
30886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30887 (arg1
)->DrawItemSelectionRect(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
30888 wxPyEndAllowThreads(__tstate
);
30889 if (PyErr_Occurred()) SWIG_fail
;
30891 resultobj
= SWIG_Py_Void();
30898 SWIGINTERN PyObject
*_wrap_RendererNative_GetSplitterParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30899 PyObject
*resultobj
= 0;
30900 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30901 wxWindow
*arg2
= (wxWindow
*) 0 ;
30902 SwigValueWrapper
<wxSplitterRenderParams
> result
;
30907 PyObject
* obj0
= 0 ;
30908 PyObject
* obj1
= 0 ;
30909 char * kwnames
[] = {
30910 (char *) "self",(char *) "win", NULL
30913 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetSplitterParams",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30914 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30915 if (!SWIG_IsOK(res1
)) {
30916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30918 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30919 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30920 if (!SWIG_IsOK(res2
)) {
30921 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "2"" of type '" "wxWindow const *""'");
30923 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30926 result
= (arg1
)->GetSplitterParams((wxWindow
const *)arg2
);
30927 wxPyEndAllowThreads(__tstate
);
30928 if (PyErr_Occurred()) SWIG_fail
;
30930 resultobj
= SWIG_NewPointerObj((new wxSplitterRenderParams(static_cast< const wxSplitterRenderParams
& >(result
))), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_OWN
| 0 );
30937 SWIGINTERN PyObject
*_wrap_RendererNative_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30938 PyObject
*resultobj
= 0;
30939 wxRendererNative
*result
= 0 ;
30941 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_Get",0,0,0)) SWIG_fail
;
30943 if (!wxPyCheckForApp()) SWIG_fail
;
30944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30946 wxRendererNative
&_result_ref
= wxRendererNative::Get();
30947 result
= (wxRendererNative
*) &_result_ref
;
30949 wxPyEndAllowThreads(__tstate
);
30950 if (PyErr_Occurred()) SWIG_fail
;
30952 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30959 SWIGINTERN PyObject
*_wrap_RendererNative_GetGeneric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30960 PyObject
*resultobj
= 0;
30961 wxRendererNative
*result
= 0 ;
30963 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetGeneric",0,0,0)) SWIG_fail
;
30965 if (!wxPyCheckForApp()) SWIG_fail
;
30966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30968 wxRendererNative
&_result_ref
= wxRendererNative::GetGeneric();
30969 result
= (wxRendererNative
*) &_result_ref
;
30971 wxPyEndAllowThreads(__tstate
);
30972 if (PyErr_Occurred()) SWIG_fail
;
30974 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30981 SWIGINTERN PyObject
*_wrap_RendererNative_GetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30982 PyObject
*resultobj
= 0;
30983 wxRendererNative
*result
= 0 ;
30985 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetDefault",0,0,0)) SWIG_fail
;
30987 if (!wxPyCheckForApp()) SWIG_fail
;
30988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30990 wxRendererNative
&_result_ref
= wxRendererNative::GetDefault();
30991 result
= (wxRendererNative
*) &_result_ref
;
30993 wxPyEndAllowThreads(__tstate
);
30994 if (PyErr_Occurred()) SWIG_fail
;
30996 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31003 SWIGINTERN PyObject
*_wrap_RendererNative_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31004 PyObject
*resultobj
= 0;
31005 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
31006 wxRendererNative
*result
= 0 ;
31009 PyObject
* obj0
= 0 ;
31010 char * kwnames
[] = {
31011 (char *) "renderer", NULL
31014 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererNative_Set",kwnames
,&obj0
)) SWIG_fail
;
31015 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31016 if (!SWIG_IsOK(res1
)) {
31017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_Set" "', expected argument " "1"" of type '" "wxRendererNative *""'");
31019 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
31021 if (!wxPyCheckForApp()) SWIG_fail
;
31022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31023 result
= (wxRendererNative
*)wxRendererNative::Set(arg1
);
31024 wxPyEndAllowThreads(__tstate
);
31025 if (PyErr_Occurred()) SWIG_fail
;
31027 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31034 SWIGINTERN PyObject
*_wrap_RendererNative_GetVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31035 PyObject
*resultobj
= 0;
31036 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
31037 SwigValueWrapper
<wxRendererVersion
> result
;
31040 PyObject
*swig_obj
[1] ;
31042 if (!args
) SWIG_fail
;
31043 swig_obj
[0] = args
;
31044 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31045 if (!SWIG_IsOK(res1
)) {
31046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetVersion" "', expected argument " "1"" of type '" "wxRendererNative const *""'");
31048 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
31050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31051 result
= ((wxRendererNative
const *)arg1
)->GetVersion();
31052 wxPyEndAllowThreads(__tstate
);
31053 if (PyErr_Occurred()) SWIG_fail
;
31055 resultobj
= SWIG_NewPointerObj((new wxRendererVersion(static_cast< const wxRendererVersion
& >(result
))), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_OWN
| 0 );
31062 SWIGINTERN PyObject
*RendererNative_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31064 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31065 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererNative
, SWIG_NewClientData(obj
));
31066 return SWIG_Py_Void();
31069 SWIGINTERN PyObject
*_wrap_new_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31070 PyObject
*resultobj
= 0;
31071 wxPseudoDC
*result
= 0 ;
31073 if (!SWIG_Python_UnpackTuple(args
,"new_PseudoDC",0,0,0)) SWIG_fail
;
31075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31076 result
= (wxPseudoDC
*)new wxPseudoDC();
31077 wxPyEndAllowThreads(__tstate
);
31078 if (PyErr_Occurred()) SWIG_fail
;
31080 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_NEW
| 0 );
31087 SWIGINTERN PyObject
*_wrap_PseudoDC_BeginDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31088 PyObject
*resultobj
= 0;
31089 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31092 PyObject
*swig_obj
[1] ;
31094 if (!args
) SWIG_fail
;
31095 swig_obj
[0] = args
;
31096 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31097 if (!SWIG_IsOK(res1
)) {
31098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_BeginDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31100 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31103 (arg1
)->BeginDrawing();
31104 wxPyEndAllowThreads(__tstate
);
31105 if (PyErr_Occurred()) SWIG_fail
;
31107 resultobj
= SWIG_Py_Void();
31114 SWIGINTERN PyObject
*_wrap_PseudoDC_EndDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31115 PyObject
*resultobj
= 0;
31116 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31119 PyObject
*swig_obj
[1] ;
31121 if (!args
) SWIG_fail
;
31122 swig_obj
[0] = args
;
31123 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31124 if (!SWIG_IsOK(res1
)) {
31125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_EndDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31127 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31130 (arg1
)->EndDrawing();
31131 wxPyEndAllowThreads(__tstate
);
31132 if (PyErr_Occurred()) SWIG_fail
;
31134 resultobj
= SWIG_Py_Void();
31141 SWIGINTERN PyObject
*_wrap_delete_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31142 PyObject
*resultobj
= 0;
31143 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31146 PyObject
*swig_obj
[1] ;
31148 if (!args
) SWIG_fail
;
31149 swig_obj
[0] = args
;
31150 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_DISOWN
| 0 );
31151 if (!SWIG_IsOK(res1
)) {
31152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PseudoDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31154 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31159 wxPyEndAllowThreads(__tstate
);
31160 if (PyErr_Occurred()) SWIG_fail
;
31162 resultobj
= SWIG_Py_Void();
31169 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31170 PyObject
*resultobj
= 0;
31171 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31174 PyObject
*swig_obj
[1] ;
31176 if (!args
) SWIG_fail
;
31177 swig_obj
[0] = args
;
31178 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31179 if (!SWIG_IsOK(res1
)) {
31180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveAll" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31182 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31185 (arg1
)->RemoveAll();
31186 wxPyEndAllowThreads(__tstate
);
31187 if (PyErr_Occurred()) SWIG_fail
;
31189 resultobj
= SWIG_Py_Void();
31196 SWIGINTERN PyObject
*_wrap_PseudoDC_GetLen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31197 PyObject
*resultobj
= 0;
31198 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31202 PyObject
*swig_obj
[1] ;
31204 if (!args
) SWIG_fail
;
31205 swig_obj
[0] = args
;
31206 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31207 if (!SWIG_IsOK(res1
)) {
31208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetLen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31210 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31213 result
= (int)(arg1
)->GetLen();
31214 wxPyEndAllowThreads(__tstate
);
31215 if (PyErr_Occurred()) SWIG_fail
;
31217 resultobj
= SWIG_From_int(static_cast< int >(result
));
31224 SWIGINTERN PyObject
*_wrap_PseudoDC_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31225 PyObject
*resultobj
= 0;
31226 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31232 PyObject
* obj0
= 0 ;
31233 PyObject
* obj1
= 0 ;
31234 char * kwnames
[] = {
31235 (char *) "self",(char *) "id", NULL
31238 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31239 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31240 if (!SWIG_IsOK(res1
)) {
31241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31243 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31244 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31245 if (!SWIG_IsOK(ecode2
)) {
31246 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetId" "', expected argument " "2"" of type '" "int""'");
31248 arg2
= static_cast< int >(val2
);
31250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31251 (arg1
)->SetId(arg2
);
31252 wxPyEndAllowThreads(__tstate
);
31253 if (PyErr_Occurred()) SWIG_fail
;
31255 resultobj
= SWIG_Py_Void();
31262 SWIGINTERN PyObject
*_wrap_PseudoDC_ClearId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31263 PyObject
*resultobj
= 0;
31264 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31270 PyObject
* obj0
= 0 ;
31271 PyObject
* obj1
= 0 ;
31272 char * kwnames
[] = {
31273 (char *) "self",(char *) "id", NULL
31276 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_ClearId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31277 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31278 if (!SWIG_IsOK(res1
)) {
31279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_ClearId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31281 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31282 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31283 if (!SWIG_IsOK(ecode2
)) {
31284 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_ClearId" "', expected argument " "2"" of type '" "int""'");
31286 arg2
= static_cast< int >(val2
);
31288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31289 (arg1
)->ClearId(arg2
);
31290 wxPyEndAllowThreads(__tstate
);
31291 if (PyErr_Occurred()) SWIG_fail
;
31293 resultobj
= SWIG_Py_Void();
31300 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31301 PyObject
*resultobj
= 0;
31302 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31308 PyObject
* obj0
= 0 ;
31309 PyObject
* obj1
= 0 ;
31310 char * kwnames
[] = {
31311 (char *) "self",(char *) "id", NULL
31314 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_RemoveId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31315 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31316 if (!SWIG_IsOK(res1
)) {
31317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31319 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31320 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31321 if (!SWIG_IsOK(ecode2
)) {
31322 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_RemoveId" "', expected argument " "2"" of type '" "int""'");
31324 arg2
= static_cast< int >(val2
);
31326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31327 (arg1
)->RemoveId(arg2
);
31328 wxPyEndAllowThreads(__tstate
);
31329 if (PyErr_Occurred()) SWIG_fail
;
31331 resultobj
= SWIG_Py_Void();
31338 SWIGINTERN PyObject
*_wrap_PseudoDC_TranslateId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31339 PyObject
*resultobj
= 0;
31340 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31352 PyObject
* obj0
= 0 ;
31353 PyObject
* obj1
= 0 ;
31354 PyObject
* obj2
= 0 ;
31355 PyObject
* obj3
= 0 ;
31356 char * kwnames
[] = {
31357 (char *) "self",(char *) "id",(char *) "dx",(char *) "dy", NULL
31360 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_TranslateId",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31361 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31362 if (!SWIG_IsOK(res1
)) {
31363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_TranslateId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31365 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31366 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31367 if (!SWIG_IsOK(ecode2
)) {
31368 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_TranslateId" "', expected argument " "2"" of type '" "int""'");
31370 arg2
= static_cast< int >(val2
);
31371 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31372 if (!SWIG_IsOK(ecode3
)) {
31373 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_TranslateId" "', expected argument " "3"" of type '" "int""'");
31375 arg3
= static_cast< int >(val3
);
31376 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31377 if (!SWIG_IsOK(ecode4
)) {
31378 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_TranslateId" "', expected argument " "4"" of type '" "int""'");
31380 arg4
= static_cast< int >(val4
);
31382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31383 (arg1
)->TranslateId(arg2
,arg3
,arg4
);
31384 wxPyEndAllowThreads(__tstate
);
31385 if (PyErr_Occurred()) SWIG_fail
;
31387 resultobj
= SWIG_Py_Void();
31394 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdGreyedOut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31395 PyObject
*resultobj
= 0;
31396 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31398 bool arg3
= (bool) true ;
31405 PyObject
* obj0
= 0 ;
31406 PyObject
* obj1
= 0 ;
31407 PyObject
* obj2
= 0 ;
31408 char * kwnames
[] = {
31409 (char *) "self",(char *) "id",(char *) "greyout", NULL
31412 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PseudoDC_SetIdGreyedOut",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31413 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31414 if (!SWIG_IsOK(res1
)) {
31415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31417 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31418 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31419 if (!SWIG_IsOK(ecode2
)) {
31420 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "2"" of type '" "int""'");
31422 arg2
= static_cast< int >(val2
);
31424 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
31425 if (!SWIG_IsOK(ecode3
)) {
31426 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "3"" of type '" "bool""'");
31428 arg3
= static_cast< bool >(val3
);
31431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31432 (arg1
)->SetIdGreyedOut(arg2
,arg3
);
31433 wxPyEndAllowThreads(__tstate
);
31434 if (PyErr_Occurred()) SWIG_fail
;
31436 resultobj
= SWIG_Py_Void();
31443 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdGreyedOut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31444 PyObject
*resultobj
= 0;
31445 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31452 PyObject
* obj0
= 0 ;
31453 PyObject
* obj1
= 0 ;
31454 char * kwnames
[] = {
31455 (char *) "self",(char *) "id", NULL
31458 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdGreyedOut",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31459 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31460 if (!SWIG_IsOK(res1
)) {
31461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdGreyedOut" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31463 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31464 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31465 if (!SWIG_IsOK(ecode2
)) {
31466 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdGreyedOut" "', expected argument " "2"" of type '" "int""'");
31468 arg2
= static_cast< int >(val2
);
31470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31471 result
= (bool)(arg1
)->GetIdGreyedOut(arg2
);
31472 wxPyEndAllowThreads(__tstate
);
31473 if (PyErr_Occurred()) SWIG_fail
;
31476 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31484 SWIGINTERN PyObject
*_wrap_PseudoDC_FindObjects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31485 PyObject
*resultobj
= 0;
31486 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31489 int arg4
= (int) 1 ;
31490 wxColor
const &arg5_defvalue
= *wxWHITE
;
31491 wxColor
*arg5
= (wxColor
*) &arg5_defvalue
;
31492 PyObject
*result
= 0 ;
31503 PyObject
* obj0
= 0 ;
31504 PyObject
* obj1
= 0 ;
31505 PyObject
* obj2
= 0 ;
31506 PyObject
* obj3
= 0 ;
31507 PyObject
* obj4
= 0 ;
31508 char * kwnames
[] = {
31509 (char *) "self",(char *) "x",(char *) "y",(char *) "radius",(char *) "bg", NULL
31512 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_FindObjects",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31513 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31514 if (!SWIG_IsOK(res1
)) {
31515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FindObjects" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31517 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31518 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31519 if (!SWIG_IsOK(ecode2
)) {
31520 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FindObjects" "', expected argument " "2"" of type '" "int""'");
31522 arg2
= static_cast< int >(val2
);
31523 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31524 if (!SWIG_IsOK(ecode3
)) {
31525 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjects" "', expected argument " "3"" of type '" "int""'");
31527 arg3
= static_cast< int >(val3
);
31529 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31530 if (!SWIG_IsOK(ecode4
)) {
31531 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FindObjects" "', expected argument " "4"" of type '" "int""'");
31533 arg4
= static_cast< int >(val4
);
31536 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxColor
, 0 | 0);
31537 if (!SWIG_IsOK(res5
)) {
31538 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "PseudoDC_FindObjects" "', expected argument " "5"" of type '" "wxColor const &""'");
31541 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_FindObjects" "', expected argument " "5"" of type '" "wxColor const &""'");
31543 arg5
= reinterpret_cast< wxColor
* >(argp5
);
31546 result
= (PyObject
*)(arg1
)->FindObjects(arg2
,arg3
,arg4
,(wxColor
const &)*arg5
);
31547 if (PyErr_Occurred()) SWIG_fail
;
31549 resultobj
= result
;
31556 SWIGINTERN PyObject
*_wrap_PseudoDC_FindObjectsByBBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31557 PyObject
*resultobj
= 0;
31558 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31561 PyObject
*result
= 0 ;
31568 PyObject
* obj0
= 0 ;
31569 PyObject
* obj1
= 0 ;
31570 PyObject
* obj2
= 0 ;
31571 char * kwnames
[] = {
31572 (char *) "self",(char *) "x",(char *) "y", NULL
31575 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_FindObjectsByBBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31576 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31577 if (!SWIG_IsOK(res1
)) {
31578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31580 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31581 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31582 if (!SWIG_IsOK(ecode2
)) {
31583 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "2"" of type '" "int""'");
31585 arg2
= static_cast< int >(val2
);
31586 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31587 if (!SWIG_IsOK(ecode3
)) {
31588 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "3"" of type '" "int""'");
31590 arg3
= static_cast< int >(val3
);
31592 result
= (PyObject
*)(arg1
)->FindObjectsByBBox(arg2
,arg3
);
31593 if (PyErr_Occurred()) SWIG_fail
;
31595 resultobj
= result
;
31602 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIdToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31603 PyObject
*resultobj
= 0;
31604 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31606 wxDC
*arg3
= (wxDC
*) 0 ;
31613 PyObject
* obj0
= 0 ;
31614 PyObject
* obj1
= 0 ;
31615 PyObject
* obj2
= 0 ;
31616 char * kwnames
[] = {
31617 (char *) "self",(char *) "id",(char *) "dc", NULL
31620 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIdToDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31621 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31622 if (!SWIG_IsOK(res1
)) {
31623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31625 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31626 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31627 if (!SWIG_IsOK(ecode2
)) {
31628 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "2"" of type '" "int""'");
31630 arg2
= static_cast< int >(val2
);
31631 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxDC
, 0 | 0 );
31632 if (!SWIG_IsOK(res3
)) {
31633 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "3"" of type '" "wxDC *""'");
31635 arg3
= reinterpret_cast< wxDC
* >(argp3
);
31637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31638 (arg1
)->DrawIdToDC(arg2
,arg3
);
31639 wxPyEndAllowThreads(__tstate
);
31640 if (PyErr_Occurred()) SWIG_fail
;
31642 resultobj
= SWIG_Py_Void();
31649 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31650 PyObject
*resultobj
= 0;
31651 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31659 PyObject
* obj0
= 0 ;
31660 PyObject
* obj1
= 0 ;
31661 PyObject
* obj2
= 0 ;
31662 char * kwnames
[] = {
31663 (char *) "self",(char *) "id",(char *) "rect", NULL
31666 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_SetIdBounds",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31667 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31668 if (!SWIG_IsOK(res1
)) {
31669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31671 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31672 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31673 if (!SWIG_IsOK(ecode2
)) {
31674 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "2"" of type '" "int""'");
31676 arg2
= static_cast< int >(val2
);
31679 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
31682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31683 (arg1
)->SetIdBounds(arg2
,*arg3
);
31684 wxPyEndAllowThreads(__tstate
);
31685 if (PyErr_Occurred()) SWIG_fail
;
31687 resultobj
= SWIG_Py_Void();
31694 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31695 PyObject
*resultobj
= 0;
31696 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31703 PyObject
* obj0
= 0 ;
31704 PyObject
* obj1
= 0 ;
31705 char * kwnames
[] = {
31706 (char *) "self",(char *) "id", NULL
31709 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdBounds",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31710 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31711 if (!SWIG_IsOK(res1
)) {
31712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31714 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31715 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31716 if (!SWIG_IsOK(ecode2
)) {
31717 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "2"" of type '" "int""'");
31719 arg2
= static_cast< int >(val2
);
31721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31722 result
= wxPseudoDC_GetIdBounds(arg1
,arg2
);
31723 wxPyEndAllowThreads(__tstate
);
31724 if (PyErr_Occurred()) SWIG_fail
;
31726 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
31733 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClipped(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31734 PyObject
*resultobj
= 0;
31735 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31736 wxDC
*arg2
= (wxDC
*) 0 ;
31743 PyObject
* obj0
= 0 ;
31744 PyObject
* obj1
= 0 ;
31745 PyObject
* obj2
= 0 ;
31746 char * kwnames
[] = {
31747 (char *) "self",(char *) "dc",(char *) "rect", NULL
31750 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClipped",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31751 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31752 if (!SWIG_IsOK(res1
)) {
31753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31755 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31756 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
31757 if (!SWIG_IsOK(res2
)) {
31758 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "2"" of type '" "wxDC *""'");
31760 arg2
= reinterpret_cast< wxDC
* >(argp2
);
31763 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
31766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31767 (arg1
)->DrawToDCClipped(arg2
,(wxRect
const &)*arg3
);
31768 wxPyEndAllowThreads(__tstate
);
31769 if (PyErr_Occurred()) SWIG_fail
;
31771 resultobj
= SWIG_Py_Void();
31778 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClippedRgn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31779 PyObject
*resultobj
= 0;
31780 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31781 wxDC
*arg2
= (wxDC
*) 0 ;
31782 wxRegion
*arg3
= 0 ;
31789 PyObject
* obj0
= 0 ;
31790 PyObject
* obj1
= 0 ;
31791 PyObject
* obj2
= 0 ;
31792 char * kwnames
[] = {
31793 (char *) "self",(char *) "dc",(char *) "region", NULL
31796 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClippedRgn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31797 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31798 if (!SWIG_IsOK(res1
)) {
31799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31801 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31802 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
31803 if (!SWIG_IsOK(res2
)) {
31804 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "2"" of type '" "wxDC *""'");
31806 arg2
= reinterpret_cast< wxDC
* >(argp2
);
31807 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxRegion
, 0 | 0);
31808 if (!SWIG_IsOK(res3
)) {
31809 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
31812 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
31814 arg3
= reinterpret_cast< wxRegion
* >(argp3
);
31816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31817 (arg1
)->DrawToDCClippedRgn(arg2
,(wxRegion
const &)*arg3
);
31818 wxPyEndAllowThreads(__tstate
);
31819 if (PyErr_Occurred()) SWIG_fail
;
31821 resultobj
= SWIG_Py_Void();
31828 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31829 PyObject
*resultobj
= 0;
31830 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31831 wxDC
*arg2
= (wxDC
*) 0 ;
31836 PyObject
* obj0
= 0 ;
31837 PyObject
* obj1
= 0 ;
31838 char * kwnames
[] = {
31839 (char *) "self",(char *) "dc", NULL
31842 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawToDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31843 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31844 if (!SWIG_IsOK(res1
)) {
31845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31847 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31848 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
31849 if (!SWIG_IsOK(res2
)) {
31850 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "2"" of type '" "wxDC *""'");
31852 arg2
= reinterpret_cast< wxDC
* >(argp2
);
31854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31855 (arg1
)->DrawToDC(arg2
);
31856 wxPyEndAllowThreads(__tstate
);
31857 if (PyErr_Occurred()) SWIG_fail
;
31859 resultobj
= SWIG_Py_Void();
31866 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31867 PyObject
*resultobj
= 0;
31868 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31871 wxColour
*arg4
= 0 ;
31872 int arg5
= (int) wxFLOOD_SURFACE
;
31882 PyObject
* obj0
= 0 ;
31883 PyObject
* obj1
= 0 ;
31884 PyObject
* obj2
= 0 ;
31885 PyObject
* obj3
= 0 ;
31886 PyObject
* obj4
= 0 ;
31887 char * kwnames
[] = {
31888 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
31891 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31892 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31893 if (!SWIG_IsOK(res1
)) {
31894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFill" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31896 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31897 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31898 if (!SWIG_IsOK(ecode2
)) {
31899 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FloodFill" "', expected argument " "2"" of type '" "int""'");
31901 arg2
= static_cast< int >(val2
);
31902 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31903 if (!SWIG_IsOK(ecode3
)) {
31904 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FloodFill" "', expected argument " "3"" of type '" "int""'");
31906 arg3
= static_cast< int >(val3
);
31909 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
31912 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31913 if (!SWIG_IsOK(ecode5
)) {
31914 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_FloodFill" "', expected argument " "5"" of type '" "int""'");
31916 arg5
= static_cast< int >(val5
);
31919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31920 (arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
31921 wxPyEndAllowThreads(__tstate
);
31922 if (PyErr_Occurred()) SWIG_fail
;
31924 resultobj
= SWIG_Py_Void();
31931 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31932 PyObject
*resultobj
= 0;
31933 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31934 wxPoint
*arg2
= 0 ;
31935 wxColour
*arg3
= 0 ;
31936 int arg4
= (int) wxFLOOD_SURFACE
;
31943 PyObject
* obj0
= 0 ;
31944 PyObject
* obj1
= 0 ;
31945 PyObject
* obj2
= 0 ;
31946 PyObject
* obj3
= 0 ;
31947 char * kwnames
[] = {
31948 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
31951 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31952 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31953 if (!SWIG_IsOK(res1
)) {
31954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31956 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31959 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31963 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31966 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31967 if (!SWIG_IsOK(ecode4
)) {
31968 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
31970 arg4
= static_cast< int >(val4
);
31973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31974 (arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
31975 wxPyEndAllowThreads(__tstate
);
31976 if (PyErr_Occurred()) SWIG_fail
;
31978 resultobj
= SWIG_Py_Void();
31985 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31986 PyObject
*resultobj
= 0;
31987 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32002 PyObject
* obj0
= 0 ;
32003 PyObject
* obj1
= 0 ;
32004 PyObject
* obj2
= 0 ;
32005 PyObject
* obj3
= 0 ;
32006 PyObject
* obj4
= 0 ;
32007 char * kwnames
[] = {
32008 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
32011 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
32012 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32013 if (!SWIG_IsOK(res1
)) {
32014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLine" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32016 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32017 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32018 if (!SWIG_IsOK(ecode2
)) {
32019 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawLine" "', expected argument " "2"" of type '" "int""'");
32021 arg2
= static_cast< int >(val2
);
32022 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32023 if (!SWIG_IsOK(ecode3
)) {
32024 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawLine" "', expected argument " "3"" of type '" "int""'");
32026 arg3
= static_cast< int >(val3
);
32027 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32028 if (!SWIG_IsOK(ecode4
)) {
32029 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLine" "', expected argument " "4"" of type '" "int""'");
32031 arg4
= static_cast< int >(val4
);
32032 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32033 if (!SWIG_IsOK(ecode5
)) {
32034 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLine" "', expected argument " "5"" of type '" "int""'");
32036 arg5
= static_cast< int >(val5
);
32038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32039 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
32040 wxPyEndAllowThreads(__tstate
);
32041 if (PyErr_Occurred()) SWIG_fail
;
32043 resultobj
= SWIG_Py_Void();
32050 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32051 PyObject
*resultobj
= 0;
32052 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32053 wxPoint
*arg2
= 0 ;
32054 wxPoint
*arg3
= 0 ;
32059 PyObject
* obj0
= 0 ;
32060 PyObject
* obj1
= 0 ;
32061 PyObject
* obj2
= 0 ;
32062 char * kwnames
[] = {
32063 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
32066 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32067 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32068 if (!SWIG_IsOK(res1
)) {
32069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLinePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32071 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32074 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
32078 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
32081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32082 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
32083 wxPyEndAllowThreads(__tstate
);
32084 if (PyErr_Occurred()) SWIG_fail
;
32086 resultobj
= SWIG_Py_Void();
32093 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32094 PyObject
*resultobj
= 0;
32095 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32104 PyObject
* obj0
= 0 ;
32105 PyObject
* obj1
= 0 ;
32106 PyObject
* obj2
= 0 ;
32107 char * kwnames
[] = {
32108 (char *) "self",(char *) "x",(char *) "y", NULL
32111 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32112 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32113 if (!SWIG_IsOK(res1
)) {
32114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHair" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32116 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32117 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32118 if (!SWIG_IsOK(ecode2
)) {
32119 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_CrossHair" "', expected argument " "2"" of type '" "int""'");
32121 arg2
= static_cast< int >(val2
);
32122 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32123 if (!SWIG_IsOK(ecode3
)) {
32124 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_CrossHair" "', expected argument " "3"" of type '" "int""'");
32126 arg3
= static_cast< int >(val3
);
32128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32129 (arg1
)->CrossHair(arg2
,arg3
);
32130 wxPyEndAllowThreads(__tstate
);
32131 if (PyErr_Occurred()) SWIG_fail
;
32133 resultobj
= SWIG_Py_Void();
32140 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32141 PyObject
*resultobj
= 0;
32142 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32143 wxPoint
*arg2
= 0 ;
32147 PyObject
* obj0
= 0 ;
32148 PyObject
* obj1
= 0 ;
32149 char * kwnames
[] = {
32150 (char *) "self",(char *) "pt", NULL
32153 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32154 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32155 if (!SWIG_IsOK(res1
)) {
32156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHairPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32158 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32161 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
32164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32165 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
32166 wxPyEndAllowThreads(__tstate
);
32167 if (PyErr_Occurred()) SWIG_fail
;
32169 resultobj
= SWIG_Py_Void();
32176 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32177 PyObject
*resultobj
= 0;
32178 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32199 PyObject
* obj0
= 0 ;
32200 PyObject
* obj1
= 0 ;
32201 PyObject
* obj2
= 0 ;
32202 PyObject
* obj3
= 0 ;
32203 PyObject
* obj4
= 0 ;
32204 PyObject
* obj5
= 0 ;
32205 PyObject
* obj6
= 0 ;
32206 char * kwnames
[] = {
32207 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
32210 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
32211 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32212 if (!SWIG_IsOK(res1
)) {
32213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32215 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32216 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32217 if (!SWIG_IsOK(ecode2
)) {
32218 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawArc" "', expected argument " "2"" of type '" "int""'");
32220 arg2
= static_cast< int >(val2
);
32221 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32222 if (!SWIG_IsOK(ecode3
)) {
32223 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawArc" "', expected argument " "3"" of type '" "int""'");
32225 arg3
= static_cast< int >(val3
);
32226 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32227 if (!SWIG_IsOK(ecode4
)) {
32228 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawArc" "', expected argument " "4"" of type '" "int""'");
32230 arg4
= static_cast< int >(val4
);
32231 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32232 if (!SWIG_IsOK(ecode5
)) {
32233 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawArc" "', expected argument " "5"" of type '" "int""'");
32235 arg5
= static_cast< int >(val5
);
32236 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
32237 if (!SWIG_IsOK(ecode6
)) {
32238 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawArc" "', expected argument " "6"" of type '" "int""'");
32240 arg6
= static_cast< int >(val6
);
32241 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
32242 if (!SWIG_IsOK(ecode7
)) {
32243 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawArc" "', expected argument " "7"" of type '" "int""'");
32245 arg7
= static_cast< int >(val7
);
32247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32248 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
32249 wxPyEndAllowThreads(__tstate
);
32250 if (PyErr_Occurred()) SWIG_fail
;
32252 resultobj
= SWIG_Py_Void();
32259 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32260 PyObject
*resultobj
= 0;
32261 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32262 wxPoint
*arg2
= 0 ;
32263 wxPoint
*arg3
= 0 ;
32264 wxPoint
*arg4
= 0 ;
32270 PyObject
* obj0
= 0 ;
32271 PyObject
* obj1
= 0 ;
32272 PyObject
* obj2
= 0 ;
32273 PyObject
* obj3
= 0 ;
32274 char * kwnames
[] = {
32275 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
32278 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32279 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32280 if (!SWIG_IsOK(res1
)) {
32281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArcPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32283 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32286 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
32290 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
32294 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
32297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32298 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
32299 wxPyEndAllowThreads(__tstate
);
32300 if (PyErr_Occurred()) SWIG_fail
;
32302 resultobj
= SWIG_Py_Void();
32309 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32310 PyObject
*resultobj
= 0;
32311 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32326 PyObject
* obj0
= 0 ;
32327 PyObject
* obj1
= 0 ;
32328 PyObject
* obj2
= 0 ;
32329 PyObject
* obj3
= 0 ;
32330 PyObject
* obj4
= 0 ;
32331 char * kwnames
[] = {
32332 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
32335 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
32336 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32337 if (!SWIG_IsOK(res1
)) {
32338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32340 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32341 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32342 if (!SWIG_IsOK(ecode2
)) {
32343 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
32345 arg2
= static_cast< int >(val2
);
32346 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32347 if (!SWIG_IsOK(ecode3
)) {
32348 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
32350 arg3
= static_cast< int >(val3
);
32351 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32352 if (!SWIG_IsOK(ecode4
)) {
32353 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
32355 arg4
= static_cast< int >(val4
);
32356 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32357 if (!SWIG_IsOK(ecode5
)) {
32358 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
32360 arg5
= static_cast< int >(val5
);
32362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32363 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
32364 wxPyEndAllowThreads(__tstate
);
32365 if (PyErr_Occurred()) SWIG_fail
;
32367 resultobj
= SWIG_Py_Void();
32374 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32375 PyObject
*resultobj
= 0;
32376 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32381 PyObject
* obj0
= 0 ;
32382 PyObject
* obj1
= 0 ;
32383 char * kwnames
[] = {
32384 (char *) "self",(char *) "rect", NULL
32387 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32388 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32389 if (!SWIG_IsOK(res1
)) {
32390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32392 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32395 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
32398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32399 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
32400 wxPyEndAllowThreads(__tstate
);
32401 if (PyErr_Occurred()) SWIG_fail
;
32403 resultobj
= SWIG_Py_Void();
32410 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32411 PyObject
*resultobj
= 0;
32412 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32433 PyObject
* obj0
= 0 ;
32434 PyObject
* obj1
= 0 ;
32435 PyObject
* obj2
= 0 ;
32436 PyObject
* obj3
= 0 ;
32437 PyObject
* obj4
= 0 ;
32438 PyObject
* obj5
= 0 ;
32439 PyObject
* obj6
= 0 ;
32440 char * kwnames
[] = {
32441 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
32444 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
32445 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32446 if (!SWIG_IsOK(res1
)) {
32447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32449 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32450 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32451 if (!SWIG_IsOK(ecode2
)) {
32452 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
32454 arg2
= static_cast< int >(val2
);
32455 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32456 if (!SWIG_IsOK(ecode3
)) {
32457 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
32459 arg3
= static_cast< int >(val3
);
32460 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32461 if (!SWIG_IsOK(ecode4
)) {
32462 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
32464 arg4
= static_cast< int >(val4
);
32465 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32466 if (!SWIG_IsOK(ecode5
)) {
32467 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
32469 arg5
= static_cast< int >(val5
);
32470 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
32471 if (!SWIG_IsOK(ecode6
)) {
32472 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
32474 arg6
= static_cast< double >(val6
);
32475 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
32476 if (!SWIG_IsOK(ecode7
)) {
32477 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
32479 arg7
= static_cast< double >(val7
);
32481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32482 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
32483 wxPyEndAllowThreads(__tstate
);
32484 if (PyErr_Occurred()) SWIG_fail
;
32486 resultobj
= SWIG_Py_Void();
32493 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32494 PyObject
*resultobj
= 0;
32495 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32496 wxPoint
*arg2
= 0 ;
32508 PyObject
* obj0
= 0 ;
32509 PyObject
* obj1
= 0 ;
32510 PyObject
* obj2
= 0 ;
32511 PyObject
* obj3
= 0 ;
32512 PyObject
* obj4
= 0 ;
32513 char * kwnames
[] = {
32514 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
32517 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
32518 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32519 if (!SWIG_IsOK(res1
)) {
32520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32522 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32525 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
32529 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
32531 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
32532 if (!SWIG_IsOK(ecode4
)) {
32533 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
32535 arg4
= static_cast< double >(val4
);
32536 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
32537 if (!SWIG_IsOK(ecode5
)) {
32538 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
32540 arg5
= static_cast< double >(val5
);
32542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32543 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
32544 wxPyEndAllowThreads(__tstate
);
32545 if (PyErr_Occurred()) SWIG_fail
;
32547 resultobj
= SWIG_Py_Void();
32554 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32555 PyObject
*resultobj
= 0;
32556 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32565 PyObject
* obj0
= 0 ;
32566 PyObject
* obj1
= 0 ;
32567 PyObject
* obj2
= 0 ;
32568 char * kwnames
[] = {
32569 (char *) "self",(char *) "x",(char *) "y", NULL
32572 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32573 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32574 if (!SWIG_IsOK(res1
)) {
32575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32577 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32578 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32579 if (!SWIG_IsOK(ecode2
)) {
32580 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
32582 arg2
= static_cast< int >(val2
);
32583 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32584 if (!SWIG_IsOK(ecode3
)) {
32585 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
32587 arg3
= static_cast< int >(val3
);
32589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32590 (arg1
)->DrawPoint(arg2
,arg3
);
32591 wxPyEndAllowThreads(__tstate
);
32592 if (PyErr_Occurred()) SWIG_fail
;
32594 resultobj
= SWIG_Py_Void();
32601 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32602 PyObject
*resultobj
= 0;
32603 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32604 wxPoint
*arg2
= 0 ;
32608 PyObject
* obj0
= 0 ;
32609 PyObject
* obj1
= 0 ;
32610 char * kwnames
[] = {
32611 (char *) "self",(char *) "pt", NULL
32614 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32615 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32616 if (!SWIG_IsOK(res1
)) {
32617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPointPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32619 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32622 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
32625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32626 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
32627 wxPyEndAllowThreads(__tstate
);
32628 if (PyErr_Occurred()) SWIG_fail
;
32630 resultobj
= SWIG_Py_Void();
32637 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32638 PyObject
*resultobj
= 0;
32639 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32654 PyObject
* obj0
= 0 ;
32655 PyObject
* obj1
= 0 ;
32656 PyObject
* obj2
= 0 ;
32657 PyObject
* obj3
= 0 ;
32658 PyObject
* obj4
= 0 ;
32659 char * kwnames
[] = {
32660 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
32663 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
32664 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32665 if (!SWIG_IsOK(res1
)) {
32666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32668 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32669 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32670 if (!SWIG_IsOK(ecode2
)) {
32671 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
32673 arg2
= static_cast< int >(val2
);
32674 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32675 if (!SWIG_IsOK(ecode3
)) {
32676 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
32678 arg3
= static_cast< int >(val3
);
32679 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32680 if (!SWIG_IsOK(ecode4
)) {
32681 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
32683 arg4
= static_cast< int >(val4
);
32684 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32685 if (!SWIG_IsOK(ecode5
)) {
32686 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
32688 arg5
= static_cast< int >(val5
);
32690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32691 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
32692 wxPyEndAllowThreads(__tstate
);
32693 if (PyErr_Occurred()) SWIG_fail
;
32695 resultobj
= SWIG_Py_Void();
32702 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32703 PyObject
*resultobj
= 0;
32704 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32709 PyObject
* obj0
= 0 ;
32710 PyObject
* obj1
= 0 ;
32711 char * kwnames
[] = {
32712 (char *) "self",(char *) "rect", NULL
32715 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32716 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32717 if (!SWIG_IsOK(res1
)) {
32718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32720 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32723 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
32726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32727 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
32728 wxPyEndAllowThreads(__tstate
);
32729 if (PyErr_Occurred()) SWIG_fail
;
32731 resultobj
= SWIG_Py_Void();
32738 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32739 PyObject
*resultobj
= 0;
32740 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32741 wxPoint
*arg2
= 0 ;
32747 PyObject
* obj0
= 0 ;
32748 PyObject
* obj1
= 0 ;
32749 PyObject
* obj2
= 0 ;
32750 char * kwnames
[] = {
32751 (char *) "self",(char *) "pt",(char *) "sz", NULL
32754 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32755 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32756 if (!SWIG_IsOK(res1
)) {
32757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32759 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32762 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
32766 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
32769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32770 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
32771 wxPyEndAllowThreads(__tstate
);
32772 if (PyErr_Occurred()) SWIG_fail
;
32774 resultobj
= SWIG_Py_Void();
32781 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32782 PyObject
*resultobj
= 0;
32783 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32801 PyObject
* obj0
= 0 ;
32802 PyObject
* obj1
= 0 ;
32803 PyObject
* obj2
= 0 ;
32804 PyObject
* obj3
= 0 ;
32805 PyObject
* obj4
= 0 ;
32806 PyObject
* obj5
= 0 ;
32807 char * kwnames
[] = {
32808 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
32811 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PseudoDC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
32812 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32813 if (!SWIG_IsOK(res1
)) {
32814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32816 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32817 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32818 if (!SWIG_IsOK(ecode2
)) {
32819 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
32821 arg2
= static_cast< int >(val2
);
32822 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32823 if (!SWIG_IsOK(ecode3
)) {
32824 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
32826 arg3
= static_cast< int >(val3
);
32827 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32828 if (!SWIG_IsOK(ecode4
)) {
32829 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
32831 arg4
= static_cast< int >(val4
);
32832 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32833 if (!SWIG_IsOK(ecode5
)) {
32834 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
32836 arg5
= static_cast< int >(val5
);
32837 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
32838 if (!SWIG_IsOK(ecode6
)) {
32839 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
32841 arg6
= static_cast< double >(val6
);
32843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32844 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
32845 wxPyEndAllowThreads(__tstate
);
32846 if (PyErr_Occurred()) SWIG_fail
;
32848 resultobj
= SWIG_Py_Void();
32855 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32856 PyObject
*resultobj
= 0;
32857 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32865 PyObject
* obj0
= 0 ;
32866 PyObject
* obj1
= 0 ;
32867 PyObject
* obj2
= 0 ;
32868 char * kwnames
[] = {
32869 (char *) "self",(char *) "r",(char *) "radius", NULL
32872 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32873 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32874 if (!SWIG_IsOK(res1
)) {
32875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32877 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32880 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
32882 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
32883 if (!SWIG_IsOK(ecode3
)) {
32884 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
32886 arg3
= static_cast< double >(val3
);
32888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32889 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
32890 wxPyEndAllowThreads(__tstate
);
32891 if (PyErr_Occurred()) SWIG_fail
;
32893 resultobj
= SWIG_Py_Void();
32900 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32901 PyObject
*resultobj
= 0;
32902 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32903 wxPoint
*arg2
= 0 ;
32912 PyObject
* obj0
= 0 ;
32913 PyObject
* obj1
= 0 ;
32914 PyObject
* obj2
= 0 ;
32915 PyObject
* obj3
= 0 ;
32916 char * kwnames
[] = {
32917 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
32920 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32921 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32922 if (!SWIG_IsOK(res1
)) {
32923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32925 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32928 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
32932 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
32934 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
32935 if (!SWIG_IsOK(ecode4
)) {
32936 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
32938 arg4
= static_cast< double >(val4
);
32940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32941 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
32942 wxPyEndAllowThreads(__tstate
);
32943 if (PyErr_Occurred()) SWIG_fail
;
32945 resultobj
= SWIG_Py_Void();
32952 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32953 PyObject
*resultobj
= 0;
32954 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32966 PyObject
* obj0
= 0 ;
32967 PyObject
* obj1
= 0 ;
32968 PyObject
* obj2
= 0 ;
32969 PyObject
* obj3
= 0 ;
32970 char * kwnames
[] = {
32971 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
32974 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32975 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32976 if (!SWIG_IsOK(res1
)) {
32977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32979 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32980 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32981 if (!SWIG_IsOK(ecode2
)) {
32982 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
32984 arg2
= static_cast< int >(val2
);
32985 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32986 if (!SWIG_IsOK(ecode3
)) {
32987 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
32989 arg3
= static_cast< int >(val3
);
32990 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32991 if (!SWIG_IsOK(ecode4
)) {
32992 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
32994 arg4
= static_cast< int >(val4
);
32996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32997 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
32998 wxPyEndAllowThreads(__tstate
);
32999 if (PyErr_Occurred()) SWIG_fail
;
33001 resultobj
= SWIG_Py_Void();
33008 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33009 PyObject
*resultobj
= 0;
33010 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33011 wxPoint
*arg2
= 0 ;
33018 PyObject
* obj0
= 0 ;
33019 PyObject
* obj1
= 0 ;
33020 PyObject
* obj2
= 0 ;
33021 char * kwnames
[] = {
33022 (char *) "self",(char *) "pt",(char *) "radius", NULL
33025 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33026 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33027 if (!SWIG_IsOK(res1
)) {
33028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33030 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33033 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33035 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33036 if (!SWIG_IsOK(ecode3
)) {
33037 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
33039 arg3
= static_cast< int >(val3
);
33041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33042 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
33043 wxPyEndAllowThreads(__tstate
);
33044 if (PyErr_Occurred()) SWIG_fail
;
33046 resultobj
= SWIG_Py_Void();
33053 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33054 PyObject
*resultobj
= 0;
33055 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33070 PyObject
* obj0
= 0 ;
33071 PyObject
* obj1
= 0 ;
33072 PyObject
* obj2
= 0 ;
33073 PyObject
* obj3
= 0 ;
33074 PyObject
* obj4
= 0 ;
33075 char * kwnames
[] = {
33076 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
33079 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
33080 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33081 if (!SWIG_IsOK(res1
)) {
33082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33084 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33085 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33086 if (!SWIG_IsOK(ecode2
)) {
33087 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
33089 arg2
= static_cast< int >(val2
);
33090 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33091 if (!SWIG_IsOK(ecode3
)) {
33092 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
33094 arg3
= static_cast< int >(val3
);
33095 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33096 if (!SWIG_IsOK(ecode4
)) {
33097 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
33099 arg4
= static_cast< int >(val4
);
33100 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
33101 if (!SWIG_IsOK(ecode5
)) {
33102 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
33104 arg5
= static_cast< int >(val5
);
33106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33107 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
33108 wxPyEndAllowThreads(__tstate
);
33109 if (PyErr_Occurred()) SWIG_fail
;
33111 resultobj
= SWIG_Py_Void();
33118 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33119 PyObject
*resultobj
= 0;
33120 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33125 PyObject
* obj0
= 0 ;
33126 PyObject
* obj1
= 0 ;
33127 char * kwnames
[] = {
33128 (char *) "self",(char *) "rect", NULL
33131 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33132 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33133 if (!SWIG_IsOK(res1
)) {
33134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33136 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33139 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
33142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33143 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
33144 wxPyEndAllowThreads(__tstate
);
33145 if (PyErr_Occurred()) SWIG_fail
;
33147 resultobj
= SWIG_Py_Void();
33154 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33155 PyObject
*resultobj
= 0;
33156 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33157 wxPoint
*arg2
= 0 ;
33163 PyObject
* obj0
= 0 ;
33164 PyObject
* obj1
= 0 ;
33165 PyObject
* obj2
= 0 ;
33166 char * kwnames
[] = {
33167 (char *) "self",(char *) "pt",(char *) "sz", NULL
33170 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33171 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33172 if (!SWIG_IsOK(res1
)) {
33173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33175 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33178 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33182 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
33185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33186 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
33187 wxPyEndAllowThreads(__tstate
);
33188 if (PyErr_Occurred()) SWIG_fail
;
33190 resultobj
= SWIG_Py_Void();
33197 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33198 PyObject
*resultobj
= 0;
33199 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33211 PyObject
* obj0
= 0 ;
33212 PyObject
* obj1
= 0 ;
33213 PyObject
* obj2
= 0 ;
33214 PyObject
* obj3
= 0 ;
33215 char * kwnames
[] = {
33216 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
33219 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33220 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33221 if (!SWIG_IsOK(res1
)) {
33222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33224 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33225 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
33226 if (!SWIG_IsOK(res2
)) {
33227 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
33230 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
33232 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
33233 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33234 if (!SWIG_IsOK(ecode3
)) {
33235 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
33237 arg3
= static_cast< int >(val3
);
33238 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33239 if (!SWIG_IsOK(ecode4
)) {
33240 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
33242 arg4
= static_cast< int >(val4
);
33244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33245 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
33246 wxPyEndAllowThreads(__tstate
);
33247 if (PyErr_Occurred()) SWIG_fail
;
33249 resultobj
= SWIG_Py_Void();
33256 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33257 PyObject
*resultobj
= 0;
33258 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33260 wxPoint
*arg3
= 0 ;
33266 PyObject
* obj0
= 0 ;
33267 PyObject
* obj1
= 0 ;
33268 PyObject
* obj2
= 0 ;
33269 char * kwnames
[] = {
33270 (char *) "self",(char *) "icon",(char *) "pt", NULL
33273 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33274 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33275 if (!SWIG_IsOK(res1
)) {
33276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33278 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33279 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
33280 if (!SWIG_IsOK(res2
)) {
33281 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
33284 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
33286 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
33289 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33293 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
33294 wxPyEndAllowThreads(__tstate
);
33295 if (PyErr_Occurred()) SWIG_fail
;
33297 resultobj
= SWIG_Py_Void();
33304 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33305 PyObject
*resultobj
= 0;
33306 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33307 wxBitmap
*arg2
= 0 ;
33310 bool arg5
= (bool) false ;
33321 PyObject
* obj0
= 0 ;
33322 PyObject
* obj1
= 0 ;
33323 PyObject
* obj2
= 0 ;
33324 PyObject
* obj3
= 0 ;
33325 PyObject
* obj4
= 0 ;
33326 char * kwnames
[] = {
33327 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
33330 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
33331 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33332 if (!SWIG_IsOK(res1
)) {
33333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33335 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33336 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
33337 if (!SWIG_IsOK(res2
)) {
33338 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
33341 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
33343 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
33344 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33345 if (!SWIG_IsOK(ecode3
)) {
33346 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
33348 arg3
= static_cast< int >(val3
);
33349 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33350 if (!SWIG_IsOK(ecode4
)) {
33351 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
33353 arg4
= static_cast< int >(val4
);
33355 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
33356 if (!SWIG_IsOK(ecode5
)) {
33357 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
33359 arg5
= static_cast< bool >(val5
);
33362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33363 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
33364 wxPyEndAllowThreads(__tstate
);
33365 if (PyErr_Occurred()) SWIG_fail
;
33367 resultobj
= SWIG_Py_Void();
33374 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33375 PyObject
*resultobj
= 0;
33376 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33377 wxBitmap
*arg2
= 0 ;
33378 wxPoint
*arg3
= 0 ;
33379 bool arg4
= (bool) false ;
33387 PyObject
* obj0
= 0 ;
33388 PyObject
* obj1
= 0 ;
33389 PyObject
* obj2
= 0 ;
33390 PyObject
* obj3
= 0 ;
33391 char * kwnames
[] = {
33392 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
33395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33396 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33397 if (!SWIG_IsOK(res1
)) {
33398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33400 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33401 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
33402 if (!SWIG_IsOK(res2
)) {
33403 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
33406 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
33408 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
33411 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33414 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
33415 if (!SWIG_IsOK(ecode4
)) {
33416 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
33418 arg4
= static_cast< bool >(val4
);
33421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33422 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
33423 wxPyEndAllowThreads(__tstate
);
33424 if (PyErr_Occurred()) SWIG_fail
;
33426 resultobj
= SWIG_Py_Void();
33433 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33434 PyObject
*resultobj
= 0;
33435 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33436 wxString
*arg2
= 0 ;
33441 bool temp2
= false ;
33446 PyObject
* obj0
= 0 ;
33447 PyObject
* obj1
= 0 ;
33448 PyObject
* obj2
= 0 ;
33449 PyObject
* obj3
= 0 ;
33450 char * kwnames
[] = {
33451 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
33454 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33455 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33456 if (!SWIG_IsOK(res1
)) {
33457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33459 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33461 arg2
= wxString_in_helper(obj1
);
33462 if (arg2
== NULL
) SWIG_fail
;
33465 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33466 if (!SWIG_IsOK(ecode3
)) {
33467 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawText" "', expected argument " "3"" of type '" "int""'");
33469 arg3
= static_cast< int >(val3
);
33470 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33471 if (!SWIG_IsOK(ecode4
)) {
33472 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawText" "', expected argument " "4"" of type '" "int""'");
33474 arg4
= static_cast< int >(val4
);
33476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33477 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
33478 wxPyEndAllowThreads(__tstate
);
33479 if (PyErr_Occurred()) SWIG_fail
;
33481 resultobj
= SWIG_Py_Void();
33496 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33497 PyObject
*resultobj
= 0;
33498 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33499 wxString
*arg2
= 0 ;
33500 wxPoint
*arg3
= 0 ;
33503 bool temp2
= false ;
33505 PyObject
* obj0
= 0 ;
33506 PyObject
* obj1
= 0 ;
33507 PyObject
* obj2
= 0 ;
33508 char * kwnames
[] = {
33509 (char *) "self",(char *) "text",(char *) "pt", NULL
33512 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33513 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33514 if (!SWIG_IsOK(res1
)) {
33515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33517 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33519 arg2
= wxString_in_helper(obj1
);
33520 if (arg2
== NULL
) SWIG_fail
;
33525 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33529 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
33530 wxPyEndAllowThreads(__tstate
);
33531 if (PyErr_Occurred()) SWIG_fail
;
33533 resultobj
= SWIG_Py_Void();
33548 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33549 PyObject
*resultobj
= 0;
33550 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33551 wxString
*arg2
= 0 ;
33557 bool temp2
= false ;
33564 PyObject
* obj0
= 0 ;
33565 PyObject
* obj1
= 0 ;
33566 PyObject
* obj2
= 0 ;
33567 PyObject
* obj3
= 0 ;
33568 PyObject
* obj4
= 0 ;
33569 char * kwnames
[] = {
33570 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
33573 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
33574 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33575 if (!SWIG_IsOK(res1
)) {
33576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33578 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33580 arg2
= wxString_in_helper(obj1
);
33581 if (arg2
== NULL
) SWIG_fail
;
33584 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33585 if (!SWIG_IsOK(ecode3
)) {
33586 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
33588 arg3
= static_cast< int >(val3
);
33589 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33590 if (!SWIG_IsOK(ecode4
)) {
33591 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
33593 arg4
= static_cast< int >(val4
);
33594 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
33595 if (!SWIG_IsOK(ecode5
)) {
33596 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
33598 arg5
= static_cast< double >(val5
);
33600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33601 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
33602 wxPyEndAllowThreads(__tstate
);
33603 if (PyErr_Occurred()) SWIG_fail
;
33605 resultobj
= SWIG_Py_Void();
33620 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33621 PyObject
*resultobj
= 0;
33622 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33623 wxString
*arg2
= 0 ;
33624 wxPoint
*arg3
= 0 ;
33628 bool temp2
= false ;
33632 PyObject
* obj0
= 0 ;
33633 PyObject
* obj1
= 0 ;
33634 PyObject
* obj2
= 0 ;
33635 PyObject
* obj3
= 0 ;
33636 char * kwnames
[] = {
33637 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
33640 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33641 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33642 if (!SWIG_IsOK(res1
)) {
33643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33645 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33647 arg2
= wxString_in_helper(obj1
);
33648 if (arg2
== NULL
) SWIG_fail
;
33653 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33655 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
33656 if (!SWIG_IsOK(ecode4
)) {
33657 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
33659 arg4
= static_cast< double >(val4
);
33661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33662 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
33663 wxPyEndAllowThreads(__tstate
);
33664 if (PyErr_Occurred()) SWIG_fail
;
33666 resultobj
= SWIG_Py_Void();
33681 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33682 PyObject
*resultobj
= 0;
33683 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33685 wxPoint
*arg3
= (wxPoint
*) 0 ;
33686 int arg4
= (int) 0 ;
33687 int arg5
= (int) 0 ;
33694 PyObject
* obj0
= 0 ;
33695 PyObject
* obj1
= 0 ;
33696 PyObject
* obj2
= 0 ;
33697 PyObject
* obj3
= 0 ;
33698 char * kwnames
[] = {
33699 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
33702 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:PseudoDC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33703 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33704 if (!SWIG_IsOK(res1
)) {
33705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLines" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33707 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33709 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
33710 if (arg3
== NULL
) SWIG_fail
;
33713 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
33714 if (!SWIG_IsOK(ecode4
)) {
33715 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLines" "', expected argument " "4"" of type '" "int""'");
33717 arg4
= static_cast< int >(val4
);
33720 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
33721 if (!SWIG_IsOK(ecode5
)) {
33722 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLines" "', expected argument " "5"" of type '" "int""'");
33724 arg5
= static_cast< int >(val5
);
33727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33728 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
33729 wxPyEndAllowThreads(__tstate
);
33730 if (PyErr_Occurred()) SWIG_fail
;
33732 resultobj
= SWIG_Py_Void();
33734 if (arg3
) delete [] arg3
;
33739 if (arg3
) delete [] arg3
;
33745 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33746 PyObject
*resultobj
= 0;
33747 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33749 wxPoint
*arg3
= (wxPoint
*) 0 ;
33750 int arg4
= (int) 0 ;
33751 int arg5
= (int) 0 ;
33752 int arg6
= (int) wxODDEVEN_RULE
;
33761 PyObject
* obj0
= 0 ;
33762 PyObject
* obj1
= 0 ;
33763 PyObject
* obj2
= 0 ;
33764 PyObject
* obj3
= 0 ;
33765 PyObject
* obj4
= 0 ;
33766 char * kwnames
[] = {
33767 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
33770 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:PseudoDC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
33771 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33772 if (!SWIG_IsOK(res1
)) {
33773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33775 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33777 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
33778 if (arg3
== NULL
) SWIG_fail
;
33781 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
33782 if (!SWIG_IsOK(ecode4
)) {
33783 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
33785 arg4
= static_cast< int >(val4
);
33788 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
33789 if (!SWIG_IsOK(ecode5
)) {
33790 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
33792 arg5
= static_cast< int >(val5
);
33795 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
33796 if (!SWIG_IsOK(ecode6
)) {
33797 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
33799 arg6
= static_cast< int >(val6
);
33802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33803 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
33804 wxPyEndAllowThreads(__tstate
);
33805 if (PyErr_Occurred()) SWIG_fail
;
33807 resultobj
= SWIG_Py_Void();
33809 if (arg3
) delete [] arg3
;
33814 if (arg3
) delete [] arg3
;
33820 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33821 PyObject
*resultobj
= 0;
33822 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33823 wxString
*arg2
= 0 ;
33825 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
33826 int arg5
= (int) -1 ;
33829 bool temp2
= false ;
33835 PyObject
* obj0
= 0 ;
33836 PyObject
* obj1
= 0 ;
33837 PyObject
* obj2
= 0 ;
33838 PyObject
* obj3
= 0 ;
33839 PyObject
* obj4
= 0 ;
33840 char * kwnames
[] = {
33841 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
33844 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
33845 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33846 if (!SWIG_IsOK(res1
)) {
33847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33849 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33851 arg2
= wxString_in_helper(obj1
);
33852 if (arg2
== NULL
) SWIG_fail
;
33857 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
33860 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33861 if (!SWIG_IsOK(ecode4
)) {
33862 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
33864 arg4
= static_cast< int >(val4
);
33867 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
33868 if (!SWIG_IsOK(ecode5
)) {
33869 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
33871 arg5
= static_cast< int >(val5
);
33874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33875 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
33876 wxPyEndAllowThreads(__tstate
);
33877 if (PyErr_Occurred()) SWIG_fail
;
33879 resultobj
= SWIG_Py_Void();
33894 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33895 PyObject
*resultobj
= 0;
33896 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33897 wxString
*arg2
= 0 ;
33898 wxBitmap
*arg3
= 0 ;
33900 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
33901 int arg6
= (int) -1 ;
33904 bool temp2
= false ;
33912 PyObject
* obj0
= 0 ;
33913 PyObject
* obj1
= 0 ;
33914 PyObject
* obj2
= 0 ;
33915 PyObject
* obj3
= 0 ;
33916 PyObject
* obj4
= 0 ;
33917 PyObject
* obj5
= 0 ;
33918 char * kwnames
[] = {
33919 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
33922 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PseudoDC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
33923 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33924 if (!SWIG_IsOK(res1
)) {
33925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33927 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33929 arg2
= wxString_in_helper(obj1
);
33930 if (arg2
== NULL
) SWIG_fail
;
33933 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
33934 if (!SWIG_IsOK(res3
)) {
33935 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
33938 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
33940 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
33943 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
33946 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
33947 if (!SWIG_IsOK(ecode5
)) {
33948 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
33950 arg5
= static_cast< int >(val5
);
33953 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
33954 if (!SWIG_IsOK(ecode6
)) {
33955 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
33957 arg6
= static_cast< int >(val6
);
33960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33961 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
33962 wxPyEndAllowThreads(__tstate
);
33963 if (PyErr_Occurred()) SWIG_fail
;
33965 resultobj
= SWIG_Py_Void();
33980 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33981 PyObject
*resultobj
= 0;
33982 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33984 wxPoint
*arg3
= (wxPoint
*) 0 ;
33987 PyObject
* obj0
= 0 ;
33988 PyObject
* obj1
= 0 ;
33989 char * kwnames
[] = {
33990 (char *) "self",(char *) "points", NULL
33993 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33994 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33995 if (!SWIG_IsOK(res1
)) {
33996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawSpline" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33998 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34000 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
34001 if (arg3
== NULL
) SWIG_fail
;
34004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34005 (arg1
)->DrawSpline(arg2
,arg3
);
34006 wxPyEndAllowThreads(__tstate
);
34007 if (PyErr_Occurred()) SWIG_fail
;
34009 resultobj
= SWIG_Py_Void();
34011 if (arg3
) delete [] arg3
;
34016 if (arg3
) delete [] arg3
;
34022 SWIGINTERN PyObject
*_wrap_PseudoDC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34023 PyObject
*resultobj
= 0;
34024 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34027 PyObject
*swig_obj
[1] ;
34029 if (!args
) SWIG_fail
;
34030 swig_obj
[0] = args
;
34031 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34032 if (!SWIG_IsOK(res1
)) {
34033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_Clear" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34035 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34039 wxPyEndAllowThreads(__tstate
);
34040 if (PyErr_Occurred()) SWIG_fail
;
34042 resultobj
= SWIG_Py_Void();
34049 SWIGINTERN PyObject
*_wrap_PseudoDC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34050 PyObject
*resultobj
= 0;
34051 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34057 PyObject
* obj0
= 0 ;
34058 PyObject
* obj1
= 0 ;
34059 char * kwnames
[] = {
34060 (char *) "self",(char *) "font", NULL
34063 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34064 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34065 if (!SWIG_IsOK(res1
)) {
34066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetFont" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34068 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34069 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
34070 if (!SWIG_IsOK(res2
)) {
34071 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
34074 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
34076 arg2
= reinterpret_cast< wxFont
* >(argp2
);
34078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34079 (arg1
)->SetFont((wxFont
const &)*arg2
);
34080 wxPyEndAllowThreads(__tstate
);
34081 if (PyErr_Occurred()) SWIG_fail
;
34083 resultobj
= SWIG_Py_Void();
34090 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34091 PyObject
*resultobj
= 0;
34092 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34098 PyObject
* obj0
= 0 ;
34099 PyObject
* obj1
= 0 ;
34100 char * kwnames
[] = {
34101 (char *) "self",(char *) "pen", NULL
34104 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34105 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34106 if (!SWIG_IsOK(res1
)) {
34107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34109 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34110 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
34111 if (!SWIG_IsOK(res2
)) {
34112 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
34115 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
34117 arg2
= reinterpret_cast< wxPen
* >(argp2
);
34119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34120 (arg1
)->SetPen((wxPen
const &)*arg2
);
34121 wxPyEndAllowThreads(__tstate
);
34122 if (PyErr_Occurred()) SWIG_fail
;
34124 resultobj
= SWIG_Py_Void();
34131 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34132 PyObject
*resultobj
= 0;
34133 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34134 wxBrush
*arg2
= 0 ;
34139 PyObject
* obj0
= 0 ;
34140 PyObject
* obj1
= 0 ;
34141 char * kwnames
[] = {
34142 (char *) "self",(char *) "brush", NULL
34145 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34146 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34147 if (!SWIG_IsOK(res1
)) {
34148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBrush" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34150 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34151 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
34152 if (!SWIG_IsOK(res2
)) {
34153 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
34156 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
34158 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
34160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34161 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
34162 wxPyEndAllowThreads(__tstate
);
34163 if (PyErr_Occurred()) SWIG_fail
;
34165 resultobj
= SWIG_Py_Void();
34172 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34173 PyObject
*resultobj
= 0;
34174 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34175 wxBrush
*arg2
= 0 ;
34180 PyObject
* obj0
= 0 ;
34181 PyObject
* obj1
= 0 ;
34182 char * kwnames
[] = {
34183 (char *) "self",(char *) "brush", NULL
34186 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34187 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34188 if (!SWIG_IsOK(res1
)) {
34189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34191 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34192 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
34193 if (!SWIG_IsOK(res2
)) {
34194 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
34197 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
34199 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
34201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34202 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
34203 wxPyEndAllowThreads(__tstate
);
34204 if (PyErr_Occurred()) SWIG_fail
;
34206 resultobj
= SWIG_Py_Void();
34213 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34214 PyObject
*resultobj
= 0;
34215 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34221 PyObject
* obj0
= 0 ;
34222 PyObject
* obj1
= 0 ;
34223 char * kwnames
[] = {
34224 (char *) "self",(char *) "mode", NULL
34227 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34228 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34229 if (!SWIG_IsOK(res1
)) {
34230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34232 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34233 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34234 if (!SWIG_IsOK(ecode2
)) {
34235 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
34237 arg2
= static_cast< int >(val2
);
34239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34240 (arg1
)->SetBackgroundMode(arg2
);
34241 wxPyEndAllowThreads(__tstate
);
34242 if (PyErr_Occurred()) SWIG_fail
;
34244 resultobj
= SWIG_Py_Void();
34251 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34252 PyObject
*resultobj
= 0;
34253 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34254 wxPalette
*arg2
= 0 ;
34259 PyObject
* obj0
= 0 ;
34260 PyObject
* obj1
= 0 ;
34261 char * kwnames
[] = {
34262 (char *) "self",(char *) "palette", NULL
34265 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34266 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34267 if (!SWIG_IsOK(res1
)) {
34268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPalette" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34270 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34271 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
34272 if (!SWIG_IsOK(res2
)) {
34273 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
34276 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
34278 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
34280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34281 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
34282 wxPyEndAllowThreads(__tstate
);
34283 if (PyErr_Occurred()) SWIG_fail
;
34285 resultobj
= SWIG_Py_Void();
34292 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34293 PyObject
*resultobj
= 0;
34294 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34295 wxColour
*arg2
= 0 ;
34299 PyObject
* obj0
= 0 ;
34300 PyObject
* obj1
= 0 ;
34301 char * kwnames
[] = {
34302 (char *) "self",(char *) "colour", NULL
34305 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34306 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34307 if (!SWIG_IsOK(res1
)) {
34308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextForeground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34310 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34313 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
34316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34317 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
34318 wxPyEndAllowThreads(__tstate
);
34319 if (PyErr_Occurred()) SWIG_fail
;
34321 resultobj
= SWIG_Py_Void();
34328 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34329 PyObject
*resultobj
= 0;
34330 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34331 wxColour
*arg2
= 0 ;
34335 PyObject
* obj0
= 0 ;
34336 PyObject
* obj1
= 0 ;
34337 char * kwnames
[] = {
34338 (char *) "self",(char *) "colour", NULL
34341 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34342 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34343 if (!SWIG_IsOK(res1
)) {
34344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34346 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34349 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
34352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34353 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
34354 wxPyEndAllowThreads(__tstate
);
34355 if (PyErr_Occurred()) SWIG_fail
;
34357 resultobj
= SWIG_Py_Void();
34364 SWIGINTERN PyObject
*_wrap_PseudoDC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34365 PyObject
*resultobj
= 0;
34366 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34372 PyObject
* obj0
= 0 ;
34373 PyObject
* obj1
= 0 ;
34374 char * kwnames
[] = {
34375 (char *) "self",(char *) "function", NULL
34378 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34379 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34380 if (!SWIG_IsOK(res1
)) {
34381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34383 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34384 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34385 if (!SWIG_IsOK(ecode2
)) {
34386 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
34388 arg2
= static_cast< int >(val2
);
34390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34391 (arg1
)->SetLogicalFunction(arg2
);
34392 wxPyEndAllowThreads(__tstate
);
34393 if (PyErr_Occurred()) SWIG_fail
;
34395 resultobj
= SWIG_Py_Void();
34402 SWIGINTERN PyObject
*PseudoDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34404 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34405 SWIG_TypeNewClientData(SWIGTYPE_p_wxPseudoDC
, SWIG_NewClientData(obj
));
34406 return SWIG_Py_Void();
34409 SWIGINTERN PyObject
*PseudoDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34410 return SWIG_Python_InitShadowInstance(args
);
34413 static PyMethodDef SwigMethods
[] = {
34414 { (char *)"new_GDIObject", (PyCFunction
)_wrap_new_GDIObject
, METH_NOARGS
, NULL
},
34415 { (char *)"delete_GDIObject", (PyCFunction
)_wrap_delete_GDIObject
, METH_O
, NULL
},
34416 { (char *)"GDIObject_IsNull", (PyCFunction
)_wrap_GDIObject_IsNull
, METH_O
, NULL
},
34417 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
, NULL
},
34418 { (char *)"GDIObject_swiginit", GDIObject_swiginit
, METH_VARARGS
, NULL
},
34419 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34420 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34421 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34422 { (char *)"delete_Colour", (PyCFunction
)_wrap_delete_Colour
, METH_O
, NULL
},
34423 { (char *)"Colour_Red", (PyCFunction
)_wrap_Colour_Red
, METH_O
, NULL
},
34424 { (char *)"Colour_Green", (PyCFunction
)_wrap_Colour_Green
, METH_O
, NULL
},
34425 { (char *)"Colour_Blue", (PyCFunction
)_wrap_Colour_Blue
, METH_O
, NULL
},
34426 { (char *)"Colour_Alpha", (PyCFunction
)_wrap_Colour_Alpha
, METH_O
, NULL
},
34427 { (char *)"Colour_IsOk", (PyCFunction
)_wrap_Colour_IsOk
, METH_O
, NULL
},
34428 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34429 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34430 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34431 { (char *)"Colour_GetAsString", (PyCFunction
) _wrap_Colour_GetAsString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34432 { (char *)"Colour_GetPixel", (PyCFunction
)_wrap_Colour_GetPixel
, METH_O
, NULL
},
34433 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34434 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34435 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34436 { (char *)"Colour_GetRGB", (PyCFunction
)_wrap_Colour_GetRGB
, METH_O
, NULL
},
34437 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
, NULL
},
34438 { (char *)"Colour_swiginit", Colour_swiginit
, METH_VARARGS
, NULL
},
34439 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34440 { (char *)"delete_Palette", (PyCFunction
)_wrap_delete_Palette
, METH_O
, NULL
},
34441 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34442 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34443 { (char *)"Palette_GetColoursCount", (PyCFunction
)_wrap_Palette_GetColoursCount
, METH_O
, NULL
},
34444 { (char *)"Palette_IsOk", (PyCFunction
)_wrap_Palette_IsOk
, METH_O
, NULL
},
34445 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
, NULL
},
34446 { (char *)"Palette_swiginit", Palette_swiginit
, METH_VARARGS
, NULL
},
34447 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34448 { (char *)"delete_Pen", (PyCFunction
)_wrap_delete_Pen
, METH_O
, NULL
},
34449 { (char *)"Pen_GetCap", (PyCFunction
)_wrap_Pen_GetCap
, METH_O
, NULL
},
34450 { (char *)"Pen_GetColour", (PyCFunction
)_wrap_Pen_GetColour
, METH_O
, NULL
},
34451 { (char *)"Pen_GetJoin", (PyCFunction
)_wrap_Pen_GetJoin
, METH_O
, NULL
},
34452 { (char *)"Pen_GetStyle", (PyCFunction
)_wrap_Pen_GetStyle
, METH_O
, NULL
},
34453 { (char *)"Pen_GetWidth", (PyCFunction
)_wrap_Pen_GetWidth
, METH_O
, NULL
},
34454 { (char *)"Pen_IsOk", (PyCFunction
)_wrap_Pen_IsOk
, METH_O
, NULL
},
34455 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34456 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34457 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34458 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34459 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34460 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34461 { (char *)"Pen_GetDashes", (PyCFunction
)_wrap_Pen_GetDashes
, METH_O
, NULL
},
34462 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34463 { (char *)"Pen_GetDashCount", (PyCFunction
)_wrap_Pen_GetDashCount
, METH_O
, NULL
},
34464 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34465 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34466 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
, NULL
},
34467 { (char *)"Pen_swiginit", Pen_swiginit
, METH_VARARGS
, NULL
},
34468 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34469 { (char *)"new_BrushFromBitmap", (PyCFunction
) _wrap_new_BrushFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34470 { (char *)"delete_Brush", (PyCFunction
)_wrap_delete_Brush
, METH_O
, NULL
},
34471 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34472 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34473 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34474 { (char *)"Brush_GetColour", (PyCFunction
)_wrap_Brush_GetColour
, METH_O
, NULL
},
34475 { (char *)"Brush_GetStyle", (PyCFunction
)_wrap_Brush_GetStyle
, METH_O
, NULL
},
34476 { (char *)"Brush_GetStipple", (PyCFunction
)_wrap_Brush_GetStipple
, METH_O
, NULL
},
34477 { (char *)"Brush_IsHatch", (PyCFunction
)_wrap_Brush_IsHatch
, METH_O
, NULL
},
34478 { (char *)"Brush_IsOk", (PyCFunction
)_wrap_Brush_IsOk
, METH_O
, NULL
},
34479 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
, NULL
},
34480 { (char *)"Brush_swiginit", Brush_swiginit
, METH_VARARGS
, NULL
},
34481 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34482 { (char *)"delete_Bitmap", (PyCFunction
)_wrap_delete_Bitmap
, METH_O
, NULL
},
34483 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34484 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34485 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34486 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34487 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34488 { (char *)"Bitmap_IsOk", (PyCFunction
)_wrap_Bitmap_IsOk
, METH_O
, NULL
},
34489 { (char *)"Bitmap_GetWidth", (PyCFunction
)_wrap_Bitmap_GetWidth
, METH_O
, NULL
},
34490 { (char *)"Bitmap_GetHeight", (PyCFunction
)_wrap_Bitmap_GetHeight
, METH_O
, NULL
},
34491 { (char *)"Bitmap_GetDepth", (PyCFunction
)_wrap_Bitmap_GetDepth
, METH_O
, NULL
},
34492 { (char *)"Bitmap_GetSize", (PyCFunction
)_wrap_Bitmap_GetSize
, METH_O
, NULL
},
34493 { (char *)"Bitmap_ConvertToImage", (PyCFunction
)_wrap_Bitmap_ConvertToImage
, METH_O
, NULL
},
34494 { (char *)"Bitmap_GetMask", (PyCFunction
)_wrap_Bitmap_GetMask
, METH_O
, NULL
},
34495 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34496 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34497 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34498 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34499 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34500 { (char *)"Bitmap_GetPalette", (PyCFunction
)_wrap_Bitmap_GetPalette
, METH_O
, NULL
},
34501 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34502 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34503 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34504 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34505 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34506 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34507 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34508 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
, NULL
},
34509 { (char *)"Bitmap_swiginit", Bitmap_swiginit
, METH_VARARGS
, NULL
},
34510 { (char *)"_BitmapFromBufferAlpha", (PyCFunction
) _wrap__BitmapFromBufferAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34511 { (char *)"_BitmapFromBuffer", (PyCFunction
) _wrap__BitmapFromBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34512 { (char *)"_BitmapFromBufferRGBA", (PyCFunction
) _wrap__BitmapFromBufferRGBA
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34513 { (char *)"PixelDataBase_GetOrigin", (PyCFunction
)_wrap_PixelDataBase_GetOrigin
, METH_O
, NULL
},
34514 { (char *)"PixelDataBase_GetWidth", (PyCFunction
)_wrap_PixelDataBase_GetWidth
, METH_O
, NULL
},
34515 { (char *)"PixelDataBase_GetHeight", (PyCFunction
)_wrap_PixelDataBase_GetHeight
, METH_O
, NULL
},
34516 { (char *)"PixelDataBase_GetSize", (PyCFunction
)_wrap_PixelDataBase_GetSize
, METH_O
, NULL
},
34517 { (char *)"PixelDataBase_GetRowStride", (PyCFunction
)_wrap_PixelDataBase_GetRowStride
, METH_O
, NULL
},
34518 { (char *)"PixelDataBase_swigregister", PixelDataBase_swigregister
, METH_VARARGS
, NULL
},
34519 { (char *)"new_NativePixelData", _wrap_new_NativePixelData
, METH_VARARGS
, NULL
},
34520 { (char *)"delete_NativePixelData", (PyCFunction
)_wrap_delete_NativePixelData
, METH_O
, NULL
},
34521 { (char *)"NativePixelData_GetPixels", (PyCFunction
)_wrap_NativePixelData_GetPixels
, METH_O
, NULL
},
34522 { (char *)"NativePixelData_UseAlpha", (PyCFunction
)_wrap_NativePixelData_UseAlpha
, METH_O
, NULL
},
34523 { (char *)"NativePixelData___nonzero__", (PyCFunction
)_wrap_NativePixelData___nonzero__
, METH_O
, NULL
},
34524 { (char *)"NativePixelData_swigregister", NativePixelData_swigregister
, METH_VARARGS
, NULL
},
34525 { (char *)"NativePixelData_swiginit", NativePixelData_swiginit
, METH_VARARGS
, NULL
},
34526 { (char *)"new_NativePixelData_Accessor", _wrap_new_NativePixelData_Accessor
, METH_VARARGS
, NULL
},
34527 { (char *)"delete_NativePixelData_Accessor", (PyCFunction
)_wrap_delete_NativePixelData_Accessor
, METH_O
, NULL
},
34528 { (char *)"NativePixelData_Accessor_Reset", (PyCFunction
) _wrap_NativePixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34529 { (char *)"NativePixelData_Accessor_IsOk", (PyCFunction
)_wrap_NativePixelData_Accessor_IsOk
, METH_O
, NULL
},
34530 { (char *)"NativePixelData_Accessor_nextPixel", (PyCFunction
)_wrap_NativePixelData_Accessor_nextPixel
, METH_O
, NULL
},
34531 { (char *)"NativePixelData_Accessor_Offset", (PyCFunction
) _wrap_NativePixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34532 { (char *)"NativePixelData_Accessor_OffsetX", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34533 { (char *)"NativePixelData_Accessor_OffsetY", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34534 { (char *)"NativePixelData_Accessor_MoveTo", (PyCFunction
) _wrap_NativePixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34535 { (char *)"NativePixelData_Accessor_Set", (PyCFunction
) _wrap_NativePixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34536 { (char *)"NativePixelData_Accessor_Get", (PyCFunction
)_wrap_NativePixelData_Accessor_Get
, METH_O
, NULL
},
34537 { (char *)"NativePixelData_Accessor_swigregister", NativePixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
34538 { (char *)"NativePixelData_Accessor_swiginit", NativePixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
34539 { (char *)"new_AlphaPixelData", _wrap_new_AlphaPixelData
, METH_VARARGS
, NULL
},
34540 { (char *)"delete_AlphaPixelData", (PyCFunction
)_wrap_delete_AlphaPixelData
, METH_O
, NULL
},
34541 { (char *)"AlphaPixelData_GetPixels", (PyCFunction
)_wrap_AlphaPixelData_GetPixels
, METH_O
, NULL
},
34542 { (char *)"AlphaPixelData_UseAlpha", (PyCFunction
)_wrap_AlphaPixelData_UseAlpha
, METH_O
, NULL
},
34543 { (char *)"AlphaPixelData___nonzero__", (PyCFunction
)_wrap_AlphaPixelData___nonzero__
, METH_O
, NULL
},
34544 { (char *)"AlphaPixelData_swigregister", AlphaPixelData_swigregister
, METH_VARARGS
, NULL
},
34545 { (char *)"AlphaPixelData_swiginit", AlphaPixelData_swiginit
, METH_VARARGS
, NULL
},
34546 { (char *)"new_AlphaPixelData_Accessor", _wrap_new_AlphaPixelData_Accessor
, METH_VARARGS
, NULL
},
34547 { (char *)"delete_AlphaPixelData_Accessor", (PyCFunction
)_wrap_delete_AlphaPixelData_Accessor
, METH_O
, NULL
},
34548 { (char *)"AlphaPixelData_Accessor_Reset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34549 { (char *)"AlphaPixelData_Accessor_IsOk", (PyCFunction
)_wrap_AlphaPixelData_Accessor_IsOk
, METH_O
, NULL
},
34550 { (char *)"AlphaPixelData_Accessor_nextPixel", (PyCFunction
)_wrap_AlphaPixelData_Accessor_nextPixel
, METH_O
, NULL
},
34551 { (char *)"AlphaPixelData_Accessor_Offset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34552 { (char *)"AlphaPixelData_Accessor_OffsetX", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34553 { (char *)"AlphaPixelData_Accessor_OffsetY", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34554 { (char *)"AlphaPixelData_Accessor_MoveTo", (PyCFunction
) _wrap_AlphaPixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34555 { (char *)"AlphaPixelData_Accessor_Set", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34556 { (char *)"AlphaPixelData_Accessor_Get", (PyCFunction
)_wrap_AlphaPixelData_Accessor_Get
, METH_O
, NULL
},
34557 { (char *)"AlphaPixelData_Accessor_swigregister", AlphaPixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
34558 { (char *)"AlphaPixelData_Accessor_swiginit", AlphaPixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
34559 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34560 { (char *)"delete_Mask", (PyCFunction
)_wrap_delete_Mask
, METH_O
, NULL
},
34561 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
, NULL
},
34562 { (char *)"Mask_swiginit", Mask_swiginit
, METH_VARARGS
, NULL
},
34563 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34564 { (char *)"delete_Icon", (PyCFunction
)_wrap_delete_Icon
, METH_O
, NULL
},
34565 { (char *)"new_EmptyIcon", (PyCFunction
)_wrap_new_EmptyIcon
, METH_NOARGS
, NULL
},
34566 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34567 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34568 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34569 { (char *)"Icon_LoadFile", (PyCFunction
) _wrap_Icon_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34570 { (char *)"Icon_IsOk", (PyCFunction
)_wrap_Icon_IsOk
, METH_O
, NULL
},
34571 { (char *)"Icon_GetWidth", (PyCFunction
)_wrap_Icon_GetWidth
, METH_O
, NULL
},
34572 { (char *)"Icon_GetHeight", (PyCFunction
)_wrap_Icon_GetHeight
, METH_O
, NULL
},
34573 { (char *)"Icon_GetDepth", (PyCFunction
)_wrap_Icon_GetDepth
, METH_O
, NULL
},
34574 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34575 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34576 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34577 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34578 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
, NULL
},
34579 { (char *)"Icon_swiginit", Icon_swiginit
, METH_VARARGS
, NULL
},
34580 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34581 { (char *)"delete_IconLocation", (PyCFunction
)_wrap_delete_IconLocation
, METH_O
, NULL
},
34582 { (char *)"IconLocation_IsOk", (PyCFunction
)_wrap_IconLocation_IsOk
, METH_O
, NULL
},
34583 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34584 { (char *)"IconLocation_GetFileName", (PyCFunction
)_wrap_IconLocation_GetFileName
, METH_O
, NULL
},
34585 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34586 { (char *)"IconLocation_GetIndex", (PyCFunction
)_wrap_IconLocation_GetIndex
, METH_O
, NULL
},
34587 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
, NULL
},
34588 { (char *)"IconLocation_swiginit", IconLocation_swiginit
, METH_VARARGS
, NULL
},
34589 { (char *)"new_IconBundle", (PyCFunction
)_wrap_new_IconBundle
, METH_NOARGS
, NULL
},
34590 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34591 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34592 { (char *)"delete_IconBundle", (PyCFunction
)_wrap_delete_IconBundle
, METH_O
, NULL
},
34593 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34594 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34595 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34596 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
, NULL
},
34597 { (char *)"IconBundle_swiginit", IconBundle_swiginit
, METH_VARARGS
, NULL
},
34598 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34599 { (char *)"delete_Cursor", (PyCFunction
)_wrap_delete_Cursor
, METH_O
, NULL
},
34600 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34601 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34602 { (char *)"Cursor_IsOk", (PyCFunction
)_wrap_Cursor_IsOk
, METH_O
, NULL
},
34603 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
, NULL
},
34604 { (char *)"Cursor_swiginit", Cursor_swiginit
, METH_VARARGS
, NULL
},
34605 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34606 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34607 { (char *)"new_RegionFromBitmapColour", (PyCFunction
) _wrap_new_RegionFromBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34608 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34609 { (char *)"delete_Region", (PyCFunction
)_wrap_delete_Region
, METH_O
, NULL
},
34610 { (char *)"Region_Clear", (PyCFunction
)_wrap_Region_Clear
, METH_O
, NULL
},
34611 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34612 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34613 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34614 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34615 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34616 { (char *)"Region_GetBox", (PyCFunction
)_wrap_Region_GetBox
, METH_O
, NULL
},
34617 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34618 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34619 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34620 { (char *)"Region_IsEmpty", (PyCFunction
)_wrap_Region_IsEmpty
, METH_O
, NULL
},
34621 { (char *)"Region_IsEqual", (PyCFunction
) _wrap_Region_IsEqual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34622 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34623 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34624 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34625 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34626 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34627 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34628 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34629 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34630 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34631 { (char *)"Region_ConvertToBitmap", (PyCFunction
)_wrap_Region_ConvertToBitmap
, METH_O
, NULL
},
34632 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34633 { (char *)"Region_UnionBitmapColour", (PyCFunction
) _wrap_Region_UnionBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34634 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
, NULL
},
34635 { (char *)"Region_swiginit", Region_swiginit
, METH_VARARGS
, NULL
},
34636 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34637 { (char *)"delete_RegionIterator", (PyCFunction
)_wrap_delete_RegionIterator
, METH_O
, NULL
},
34638 { (char *)"RegionIterator_GetX", (PyCFunction
)_wrap_RegionIterator_GetX
, METH_O
, NULL
},
34639 { (char *)"RegionIterator_GetY", (PyCFunction
)_wrap_RegionIterator_GetY
, METH_O
, NULL
},
34640 { (char *)"RegionIterator_GetW", (PyCFunction
)_wrap_RegionIterator_GetW
, METH_O
, NULL
},
34641 { (char *)"RegionIterator_GetWidth", (PyCFunction
)_wrap_RegionIterator_GetWidth
, METH_O
, NULL
},
34642 { (char *)"RegionIterator_GetH", (PyCFunction
)_wrap_RegionIterator_GetH
, METH_O
, NULL
},
34643 { (char *)"RegionIterator_GetHeight", (PyCFunction
)_wrap_RegionIterator_GetHeight
, METH_O
, NULL
},
34644 { (char *)"RegionIterator_GetRect", (PyCFunction
)_wrap_RegionIterator_GetRect
, METH_O
, NULL
},
34645 { (char *)"RegionIterator_HaveRects", (PyCFunction
)_wrap_RegionIterator_HaveRects
, METH_O
, NULL
},
34646 { (char *)"RegionIterator_Reset", (PyCFunction
)_wrap_RegionIterator_Reset
, METH_O
, NULL
},
34647 { (char *)"RegionIterator_Next", (PyCFunction
)_wrap_RegionIterator_Next
, METH_O
, NULL
},
34648 { (char *)"RegionIterator___nonzero__", (PyCFunction
)_wrap_RegionIterator___nonzero__
, METH_O
, NULL
},
34649 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
, NULL
},
34650 { (char *)"RegionIterator_swiginit", RegionIterator_swiginit
, METH_VARARGS
, NULL
},
34651 { (char *)"new_NativeFontInfo", (PyCFunction
)_wrap_new_NativeFontInfo
, METH_NOARGS
, NULL
},
34652 { (char *)"delete_NativeFontInfo", (PyCFunction
)_wrap_delete_NativeFontInfo
, METH_O
, NULL
},
34653 { (char *)"NativeFontInfo_Init", (PyCFunction
)_wrap_NativeFontInfo_Init
, METH_O
, NULL
},
34654 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34655 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
)_wrap_NativeFontInfo_GetPointSize
, METH_O
, NULL
},
34656 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
)_wrap_NativeFontInfo_GetStyle
, METH_O
, NULL
},
34657 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
)_wrap_NativeFontInfo_GetWeight
, METH_O
, NULL
},
34658 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
)_wrap_NativeFontInfo_GetUnderlined
, METH_O
, NULL
},
34659 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
)_wrap_NativeFontInfo_GetFaceName
, METH_O
, NULL
},
34660 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
)_wrap_NativeFontInfo_GetFamily
, METH_O
, NULL
},
34661 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
)_wrap_NativeFontInfo_GetEncoding
, METH_O
, NULL
},
34662 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34663 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34664 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34665 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34666 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34667 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34668 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34669 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34670 { (char *)"NativeFontInfo_ToString", (PyCFunction
)_wrap_NativeFontInfo_ToString
, METH_O
, NULL
},
34671 { (char *)"NativeFontInfo___str__", (PyCFunction
)_wrap_NativeFontInfo___str__
, METH_O
, NULL
},
34672 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34673 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
)_wrap_NativeFontInfo_ToUserString
, METH_O
, NULL
},
34674 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
, NULL
},
34675 { (char *)"NativeFontInfo_swiginit", NativeFontInfo_swiginit
, METH_VARARGS
, NULL
},
34676 { (char *)"NativeEncodingInfo_facename_set", _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
, NULL
},
34677 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
)_wrap_NativeEncodingInfo_facename_get
, METH_O
, NULL
},
34678 { (char *)"NativeEncodingInfo_encoding_set", _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
, NULL
},
34679 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
)_wrap_NativeEncodingInfo_encoding_get
, METH_O
, NULL
},
34680 { (char *)"new_NativeEncodingInfo", (PyCFunction
)_wrap_new_NativeEncodingInfo
, METH_NOARGS
, NULL
},
34681 { (char *)"delete_NativeEncodingInfo", (PyCFunction
)_wrap_delete_NativeEncodingInfo
, METH_O
, NULL
},
34682 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34683 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
)_wrap_NativeEncodingInfo_ToString
, METH_O
, NULL
},
34684 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
, NULL
},
34685 { (char *)"NativeEncodingInfo_swiginit", NativeEncodingInfo_swiginit
, METH_VARARGS
, NULL
},
34686 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34687 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34688 { (char *)"new_FontMapper", (PyCFunction
)_wrap_new_FontMapper
, METH_NOARGS
, NULL
},
34689 { (char *)"delete_FontMapper", (PyCFunction
)_wrap_delete_FontMapper
, METH_O
, NULL
},
34690 { (char *)"FontMapper_Get", (PyCFunction
)_wrap_FontMapper_Get
, METH_NOARGS
, NULL
},
34691 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34692 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34693 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
)_wrap_FontMapper_GetSupportedEncodingsCount
, METH_NOARGS
, NULL
},
34694 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34695 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34696 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34697 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34698 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34699 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
)_wrap_FontMapper_GetDefaultConfigPath
, METH_NOARGS
, NULL
},
34700 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34701 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34702 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34703 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34704 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
, NULL
},
34705 { (char *)"FontMapper_swiginit", FontMapper_swiginit
, METH_VARARGS
, NULL
},
34706 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34707 { (char *)"delete_Font", (PyCFunction
)_wrap_delete_Font
, METH_O
, NULL
},
34708 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34709 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34710 { (char *)"new_FFont", (PyCFunction
) _wrap_new_FFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34711 { (char *)"new_FontFromPixelSize", (PyCFunction
) _wrap_new_FontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34712 { (char *)"new_FFontFromPixelSize", (PyCFunction
) _wrap_new_FFontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34713 { (char *)"Font_IsOk", (PyCFunction
)_wrap_Font_IsOk
, METH_O
, NULL
},
34714 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34715 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34716 { (char *)"Font_GetPointSize", (PyCFunction
)_wrap_Font_GetPointSize
, METH_O
, NULL
},
34717 { (char *)"Font_GetPixelSize", (PyCFunction
)_wrap_Font_GetPixelSize
, METH_O
, NULL
},
34718 { (char *)"Font_IsUsingSizeInPixels", (PyCFunction
)_wrap_Font_IsUsingSizeInPixels
, METH_O
, NULL
},
34719 { (char *)"Font_GetFamily", (PyCFunction
)_wrap_Font_GetFamily
, METH_O
, NULL
},
34720 { (char *)"Font_GetStyle", (PyCFunction
)_wrap_Font_GetStyle
, METH_O
, NULL
},
34721 { (char *)"Font_GetWeight", (PyCFunction
)_wrap_Font_GetWeight
, METH_O
, NULL
},
34722 { (char *)"Font_GetUnderlined", (PyCFunction
)_wrap_Font_GetUnderlined
, METH_O
, NULL
},
34723 { (char *)"Font_GetFaceName", (PyCFunction
)_wrap_Font_GetFaceName
, METH_O
, NULL
},
34724 { (char *)"Font_GetEncoding", (PyCFunction
)_wrap_Font_GetEncoding
, METH_O
, NULL
},
34725 { (char *)"Font_GetNativeFontInfo", (PyCFunction
)_wrap_Font_GetNativeFontInfo
, METH_O
, NULL
},
34726 { (char *)"Font_IsFixedWidth", (PyCFunction
)_wrap_Font_IsFixedWidth
, METH_O
, NULL
},
34727 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoDesc
, METH_O
, NULL
},
34728 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoUserDesc
, METH_O
, NULL
},
34729 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34730 { (char *)"Font_SetPixelSize", (PyCFunction
) _wrap_Font_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34731 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34732 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34733 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34734 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34735 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34736 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34737 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34738 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34739 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34740 { (char *)"Font_GetFamilyString", (PyCFunction
)_wrap_Font_GetFamilyString
, METH_O
, NULL
},
34741 { (char *)"Font_GetStyleString", (PyCFunction
)_wrap_Font_GetStyleString
, METH_O
, NULL
},
34742 { (char *)"Font_GetWeightString", (PyCFunction
)_wrap_Font_GetWeightString
, METH_O
, NULL
},
34743 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34744 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
)_wrap_Font_GetNoAntiAliasing
, METH_O
, NULL
},
34745 { (char *)"Font_GetDefaultEncoding", (PyCFunction
)_wrap_Font_GetDefaultEncoding
, METH_NOARGS
, NULL
},
34746 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34747 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
, NULL
},
34748 { (char *)"Font_swiginit", Font_swiginit
, METH_VARARGS
, NULL
},
34749 { (char *)"new_FontEnumerator", (PyCFunction
)_wrap_new_FontEnumerator
, METH_NOARGS
, NULL
},
34750 { (char *)"delete_FontEnumerator", (PyCFunction
)_wrap_delete_FontEnumerator
, METH_O
, NULL
},
34751 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34752 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34753 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34754 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
)_wrap_FontEnumerator_GetEncodings
, METH_NOARGS
, NULL
},
34755 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
)_wrap_FontEnumerator_GetFacenames
, METH_NOARGS
, NULL
},
34756 { (char *)"FontEnumerator_IsValidFacename", (PyCFunction
) _wrap_FontEnumerator_IsValidFacename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34757 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
, NULL
},
34758 { (char *)"FontEnumerator_swiginit", FontEnumerator_swiginit
, METH_VARARGS
, NULL
},
34759 { (char *)"LanguageInfo_Language_set", _wrap_LanguageInfo_Language_set
, METH_VARARGS
, NULL
},
34760 { (char *)"LanguageInfo_Language_get", (PyCFunction
)_wrap_LanguageInfo_Language_get
, METH_O
, NULL
},
34761 { (char *)"LanguageInfo_CanonicalName_set", _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
, NULL
},
34762 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
)_wrap_LanguageInfo_CanonicalName_get
, METH_O
, NULL
},
34763 { (char *)"LanguageInfo_Description_set", _wrap_LanguageInfo_Description_set
, METH_VARARGS
, NULL
},
34764 { (char *)"LanguageInfo_Description_get", (PyCFunction
)_wrap_LanguageInfo_Description_get
, METH_O
, NULL
},
34765 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
, NULL
},
34766 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34767 { (char *)"delete_Locale", (PyCFunction
)_wrap_delete_Locale
, METH_O
, NULL
},
34768 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34769 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34770 { (char *)"Locale_GetSystemLanguage", (PyCFunction
)_wrap_Locale_GetSystemLanguage
, METH_NOARGS
, NULL
},
34771 { (char *)"Locale_GetSystemEncoding", (PyCFunction
)_wrap_Locale_GetSystemEncoding
, METH_NOARGS
, NULL
},
34772 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
)_wrap_Locale_GetSystemEncodingName
, METH_NOARGS
, NULL
},
34773 { (char *)"Locale_IsOk", (PyCFunction
)_wrap_Locale_IsOk
, METH_O
, NULL
},
34774 { (char *)"Locale_GetLocale", (PyCFunction
)_wrap_Locale_GetLocale
, METH_O
, NULL
},
34775 { (char *)"Locale_GetLanguage", (PyCFunction
)_wrap_Locale_GetLanguage
, METH_O
, NULL
},
34776 { (char *)"Locale_GetSysName", (PyCFunction
)_wrap_Locale_GetSysName
, METH_O
, NULL
},
34777 { (char *)"Locale_GetCanonicalName", (PyCFunction
)_wrap_Locale_GetCanonicalName
, METH_O
, NULL
},
34778 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34779 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34780 { (char *)"Locale_IsAvailable", (PyCFunction
) _wrap_Locale_IsAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34781 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34782 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34783 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34784 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34785 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34786 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34787 { (char *)"Locale_GetName", (PyCFunction
)_wrap_Locale_GetName
, METH_O
, NULL
},
34788 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
, NULL
},
34789 { (char *)"Locale_swiginit", Locale_swiginit
, METH_VARARGS
, NULL
},
34790 { (char *)"new_PyLocale", (PyCFunction
) _wrap_new_PyLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34791 { (char *)"delete_PyLocale", (PyCFunction
)_wrap_delete_PyLocale
, METH_O
, NULL
},
34792 { (char *)"PyLocale__setCallbackInfo", (PyCFunction
) _wrap_PyLocale__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34793 { (char *)"PyLocale_GetSingularString", (PyCFunction
) _wrap_PyLocale_GetSingularString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34794 { (char *)"PyLocale_GetPluralString", (PyCFunction
) _wrap_PyLocale_GetPluralString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34795 { (char *)"PyLocale_swigregister", PyLocale_swigregister
, METH_VARARGS
, NULL
},
34796 { (char *)"PyLocale_swiginit", PyLocale_swiginit
, METH_VARARGS
, NULL
},
34797 { (char *)"GetLocale", (PyCFunction
)_wrap_GetLocale
, METH_NOARGS
, NULL
},
34798 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
, NULL
},
34799 { (char *)"new_EncodingConverter", (PyCFunction
)_wrap_new_EncodingConverter
, METH_NOARGS
, NULL
},
34800 { (char *)"delete_EncodingConverter", (PyCFunction
)_wrap_delete_EncodingConverter
, METH_O
, NULL
},
34801 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34802 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34803 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34804 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34805 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34806 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
, NULL
},
34807 { (char *)"EncodingConverter_swiginit", EncodingConverter_swiginit
, METH_VARARGS
, NULL
},
34808 { (char *)"delete_DC", (PyCFunction
)_wrap_delete_DC
, METH_O
, NULL
},
34809 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34810 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34811 { (char *)"DC_GradientFillConcentric", (PyCFunction
) _wrap_DC_GradientFillConcentric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34812 { (char *)"DC_GradientFillLinear", (PyCFunction
) _wrap_DC_GradientFillLinear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34813 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34814 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34815 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34816 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34817 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34818 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34819 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34820 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34821 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34822 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34823 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34824 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34825 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34826 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34827 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34828 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34829 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34830 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34831 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34832 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34833 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34834 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34835 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34836 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34837 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34838 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34839 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34840 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34841 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34842 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34843 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34844 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34845 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34846 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34847 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34848 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34849 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34850 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34851 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34852 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34853 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34854 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34855 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34856 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34857 { (char *)"DC_Clear", (PyCFunction
)_wrap_DC_Clear
, METH_O
, NULL
},
34858 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34859 { (char *)"DC_EndDoc", (PyCFunction
)_wrap_DC_EndDoc
, METH_O
, NULL
},
34860 { (char *)"DC_StartPage", (PyCFunction
)_wrap_DC_StartPage
, METH_O
, NULL
},
34861 { (char *)"DC_EndPage", (PyCFunction
)_wrap_DC_EndPage
, METH_O
, NULL
},
34862 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34863 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34864 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34865 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34866 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34867 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34868 { (char *)"DC_DestroyClippingRegion", (PyCFunction
)_wrap_DC_DestroyClippingRegion
, METH_O
, NULL
},
34869 { (char *)"DC_GetClippingBox", (PyCFunction
)_wrap_DC_GetClippingBox
, METH_O
, NULL
},
34870 { (char *)"DC_GetClippingRect", (PyCFunction
)_wrap_DC_GetClippingRect
, METH_O
, NULL
},
34871 { (char *)"DC_GetCharHeight", (PyCFunction
)_wrap_DC_GetCharHeight
, METH_O
, NULL
},
34872 { (char *)"DC_GetCharWidth", (PyCFunction
)_wrap_DC_GetCharWidth
, METH_O
, NULL
},
34873 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34874 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34875 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34876 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34877 { (char *)"DC_GetSize", (PyCFunction
)_wrap_DC_GetSize
, METH_O
, NULL
},
34878 { (char *)"DC_GetSizeTuple", (PyCFunction
)_wrap_DC_GetSizeTuple
, METH_O
, NULL
},
34879 { (char *)"DC_GetSizeMM", (PyCFunction
)_wrap_DC_GetSizeMM
, METH_O
, NULL
},
34880 { (char *)"DC_GetSizeMMTuple", (PyCFunction
)_wrap_DC_GetSizeMMTuple
, METH_O
, NULL
},
34881 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34882 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34883 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34884 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34885 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34886 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34887 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34888 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34889 { (char *)"DC_CanDrawBitmap", (PyCFunction
)_wrap_DC_CanDrawBitmap
, METH_O
, NULL
},
34890 { (char *)"DC_CanGetTextExtent", (PyCFunction
)_wrap_DC_CanGetTextExtent
, METH_O
, NULL
},
34891 { (char *)"DC_GetDepth", (PyCFunction
)_wrap_DC_GetDepth
, METH_O
, NULL
},
34892 { (char *)"DC_GetPPI", (PyCFunction
)_wrap_DC_GetPPI
, METH_O
, NULL
},
34893 { (char *)"DC_IsOk", (PyCFunction
)_wrap_DC_IsOk
, METH_O
, NULL
},
34894 { (char *)"DC_GetBackgroundMode", (PyCFunction
)_wrap_DC_GetBackgroundMode
, METH_O
, NULL
},
34895 { (char *)"DC_GetBackground", (PyCFunction
)_wrap_DC_GetBackground
, METH_O
, NULL
},
34896 { (char *)"DC_GetBrush", (PyCFunction
)_wrap_DC_GetBrush
, METH_O
, NULL
},
34897 { (char *)"DC_GetFont", (PyCFunction
)_wrap_DC_GetFont
, METH_O
, NULL
},
34898 { (char *)"DC_GetPen", (PyCFunction
)_wrap_DC_GetPen
, METH_O
, NULL
},
34899 { (char *)"DC_GetTextBackground", (PyCFunction
)_wrap_DC_GetTextBackground
, METH_O
, NULL
},
34900 { (char *)"DC_GetTextForeground", (PyCFunction
)_wrap_DC_GetTextForeground
, METH_O
, NULL
},
34901 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34902 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34903 { (char *)"DC_GetMapMode", (PyCFunction
)_wrap_DC_GetMapMode
, METH_O
, NULL
},
34904 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34905 { (char *)"DC_GetUserScale", (PyCFunction
)_wrap_DC_GetUserScale
, METH_O
, NULL
},
34906 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34907 { (char *)"DC_GetLogicalScale", (PyCFunction
)_wrap_DC_GetLogicalScale
, METH_O
, NULL
},
34908 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34909 { (char *)"DC_GetLogicalOrigin", (PyCFunction
)_wrap_DC_GetLogicalOrigin
, METH_O
, NULL
},
34910 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
)_wrap_DC_GetLogicalOriginTuple
, METH_O
, NULL
},
34911 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34912 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34913 { (char *)"DC_GetDeviceOrigin", (PyCFunction
)_wrap_DC_GetDeviceOrigin
, METH_O
, NULL
},
34914 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
)_wrap_DC_GetDeviceOriginTuple
, METH_O
, NULL
},
34915 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34916 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34917 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34918 { (char *)"DC_GetLogicalFunction", (PyCFunction
)_wrap_DC_GetLogicalFunction
, METH_O
, NULL
},
34919 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34920 { (char *)"DC_ComputeScaleAndOrigin", (PyCFunction
)_wrap_DC_ComputeScaleAndOrigin
, METH_O
, NULL
},
34921 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34922 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34923 { (char *)"DC_ResetBoundingBox", (PyCFunction
)_wrap_DC_ResetBoundingBox
, METH_O
, NULL
},
34924 { (char *)"DC_MinX", (PyCFunction
)_wrap_DC_MinX
, METH_O
, NULL
},
34925 { (char *)"DC_MaxX", (PyCFunction
)_wrap_DC_MaxX
, METH_O
, NULL
},
34926 { (char *)"DC_MinY", (PyCFunction
)_wrap_DC_MinY
, METH_O
, NULL
},
34927 { (char *)"DC_MaxY", (PyCFunction
)_wrap_DC_MaxY
, METH_O
, NULL
},
34928 { (char *)"DC_GetBoundingBox", (PyCFunction
)_wrap_DC_GetBoundingBox
, METH_O
, NULL
},
34929 { (char *)"DC_GetLayoutDirection", (PyCFunction
)_wrap_DC_GetLayoutDirection
, METH_O
, NULL
},
34930 { (char *)"DC_SetLayoutDirection", (PyCFunction
) _wrap_DC_SetLayoutDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34931 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34932 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34933 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34934 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34935 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34936 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34937 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
, NULL
},
34938 { (char *)"new_MemoryDC", (PyCFunction
) _wrap_new_MemoryDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34939 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34940 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34941 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
, NULL
},
34942 { (char *)"MemoryDC_swiginit", MemoryDC_swiginit
, METH_VARARGS
, NULL
},
34943 { (char *)"new_ScreenDC", (PyCFunction
)_wrap_new_ScreenDC
, METH_NOARGS
, NULL
},
34944 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34945 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34946 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
)_wrap_ScreenDC_EndDrawingOnTop
, METH_O
, NULL
},
34947 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
, NULL
},
34948 { (char *)"ScreenDC_swiginit", ScreenDC_swiginit
, METH_VARARGS
, NULL
},
34949 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34950 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
, NULL
},
34951 { (char *)"WindowDC_swiginit", WindowDC_swiginit
, METH_VARARGS
, NULL
},
34952 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34953 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
, NULL
},
34954 { (char *)"ClientDC_swiginit", ClientDC_swiginit
, METH_VARARGS
, NULL
},
34955 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34956 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
, NULL
},
34957 { (char *)"PaintDC_swiginit", PaintDC_swiginit
, METH_VARARGS
, NULL
},
34958 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
, NULL
},
34959 { (char *)"delete_BufferedDC", (PyCFunction
)_wrap_delete_BufferedDC
, METH_O
, NULL
},
34960 { (char *)"BufferedDC_UnMask", (PyCFunction
)_wrap_BufferedDC_UnMask
, METH_O
, NULL
},
34961 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
, NULL
},
34962 { (char *)"BufferedDC_swiginit", BufferedDC_swiginit
, METH_VARARGS
, NULL
},
34963 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34964 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
34965 { (char *)"BufferedPaintDC_swiginit", BufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
34966 { (char *)"new_AutoBufferedPaintDC", (PyCFunction
) _wrap_new_AutoBufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34967 { (char *)"AutoBufferedPaintDC_swigregister", AutoBufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
34968 { (char *)"AutoBufferedPaintDC_swiginit", AutoBufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
34969 { (char *)"AutoBufferedPaintDCFactory", (PyCFunction
) _wrap_AutoBufferedPaintDCFactory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34970 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34971 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
, NULL
},
34972 { (char *)"MirrorDC_swiginit", MirrorDC_swiginit
, METH_VARARGS
, NULL
},
34973 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34974 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
)_wrap_PostScriptDC_GetPrintData
, METH_O
, NULL
},
34975 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34976 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34977 { (char *)"PostScriptDC_GetResolution", (PyCFunction
)_wrap_PostScriptDC_GetResolution
, METH_NOARGS
, NULL
},
34978 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
, NULL
},
34979 { (char *)"PostScriptDC_swiginit", PostScriptDC_swiginit
, METH_VARARGS
, NULL
},
34980 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34981 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
, NULL
},
34982 { (char *)"MetaFile_swiginit", MetaFile_swiginit
, METH_VARARGS
, NULL
},
34983 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34984 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
, NULL
},
34985 { (char *)"MetaFileDC_swiginit", MetaFileDC_swiginit
, METH_VARARGS
, NULL
},
34986 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34987 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
, NULL
},
34988 { (char *)"PrinterDC_swiginit", PrinterDC_swiginit
, METH_VARARGS
, NULL
},
34989 { (char *)"delete_GraphicsPath", (PyCFunction
)_wrap_delete_GraphicsPath
, METH_O
, NULL
},
34990 { (char *)"GraphicsPath_MoveToPoint", (PyCFunction
) _wrap_GraphicsPath_MoveToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34991 { (char *)"GraphicsPath_AddLineToPoint", (PyCFunction
) _wrap_GraphicsPath_AddLineToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34992 { (char *)"GraphicsPath_AddCurveToPoint", (PyCFunction
) _wrap_GraphicsPath_AddCurveToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34993 { (char *)"GraphicsPath_CloseSubpath", (PyCFunction
)_wrap_GraphicsPath_CloseSubpath
, METH_O
, NULL
},
34994 { (char *)"GraphicsPath_GetCurrentPoint", (PyCFunction
)_wrap_GraphicsPath_GetCurrentPoint
, METH_O
, NULL
},
34995 { (char *)"GraphicsPath_AddArc", (PyCFunction
) _wrap_GraphicsPath_AddArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34996 { (char *)"GraphicsPath_AddQuadCurveToPoint", (PyCFunction
) _wrap_GraphicsPath_AddQuadCurveToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34997 { (char *)"GraphicsPath_AddRectangle", (PyCFunction
) _wrap_GraphicsPath_AddRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34998 { (char *)"GraphicsPath_AddCircle", (PyCFunction
) _wrap_GraphicsPath_AddCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34999 { (char *)"GraphicsPath_AddArcToPoint", (PyCFunction
) _wrap_GraphicsPath_AddArcToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35000 { (char *)"GraphicsPath_swigregister", GraphicsPath_swigregister
, METH_VARARGS
, NULL
},
35001 { (char *)"delete_GraphicsContext", (PyCFunction
)_wrap_delete_GraphicsContext
, METH_O
, NULL
},
35002 { (char *)"GraphicsContext_Create", _wrap_GraphicsContext_Create
, METH_VARARGS
, NULL
},
35003 { (char *)"GraphicsContext_CreateFromNative", (PyCFunction
) _wrap_GraphicsContext_CreateFromNative
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35004 { (char *)"GraphicsContext_CreatePath", (PyCFunction
)_wrap_GraphicsContext_CreatePath
, METH_O
, NULL
},
35005 { (char *)"GraphicsContext_PushState", (PyCFunction
)_wrap_GraphicsContext_PushState
, METH_O
, NULL
},
35006 { (char *)"GraphicsContext_PopState", (PyCFunction
)_wrap_GraphicsContext_PopState
, METH_O
, NULL
},
35007 { (char *)"GraphicsContext_ClipRegion", (PyCFunction
) _wrap_GraphicsContext_ClipRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35008 { (char *)"GraphicsContext_Clip", (PyCFunction
) _wrap_GraphicsContext_Clip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35009 { (char *)"GraphicsContext_ResetClip", (PyCFunction
)_wrap_GraphicsContext_ResetClip
, METH_O
, NULL
},
35010 { (char *)"GraphicsContext_GetNativeContext", (PyCFunction
)_wrap_GraphicsContext_GetNativeContext
, METH_O
, NULL
},
35011 { (char *)"GraphicsContext_Translate", (PyCFunction
) _wrap_GraphicsContext_Translate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35012 { (char *)"GraphicsContext_Scale", (PyCFunction
) _wrap_GraphicsContext_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35013 { (char *)"GraphicsContext_Rotate", (PyCFunction
) _wrap_GraphicsContext_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35014 { (char *)"GraphicsContext_SetPen", (PyCFunction
) _wrap_GraphicsContext_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35015 { (char *)"GraphicsContext_SetBrush", (PyCFunction
) _wrap_GraphicsContext_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35016 { (char *)"GraphicsContext_SetLinearGradientBrush", (PyCFunction
) _wrap_GraphicsContext_SetLinearGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35017 { (char *)"GraphicsContext_SetRadialGradientBrush", (PyCFunction
) _wrap_GraphicsContext_SetRadialGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35018 { (char *)"GraphicsContext_SetFont", (PyCFunction
) _wrap_GraphicsContext_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35019 { (char *)"GraphicsContext_SetTextColor", (PyCFunction
) _wrap_GraphicsContext_SetTextColor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35020 { (char *)"GraphicsContext_StrokePath", (PyCFunction
) _wrap_GraphicsContext_StrokePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35021 { (char *)"GraphicsContext_FillPath", (PyCFunction
) _wrap_GraphicsContext_FillPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35022 { (char *)"GraphicsContext_DrawPath", (PyCFunction
) _wrap_GraphicsContext_DrawPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35023 { (char *)"GraphicsContext_DrawText", (PyCFunction
) _wrap_GraphicsContext_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35024 { (char *)"GraphicsContext_DrawRotatedText", (PyCFunction
) _wrap_GraphicsContext_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35025 { (char *)"GraphicsContext_GetTextExtent", (PyCFunction
) _wrap_GraphicsContext_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35026 { (char *)"GraphicsContext_GetPartialTextExtents", (PyCFunction
) _wrap_GraphicsContext_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35027 { (char *)"GraphicsContext_DrawBitmap", (PyCFunction
) _wrap_GraphicsContext_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35028 { (char *)"GraphicsContext_DrawIcon", (PyCFunction
) _wrap_GraphicsContext_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35029 { (char *)"GraphicsContext_StrokeLine", (PyCFunction
) _wrap_GraphicsContext_StrokeLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35030 { (char *)"GraphicsContext_StrokeLines", (PyCFunction
) _wrap_GraphicsContext_StrokeLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35031 { (char *)"GraphicsContext_StrokeLineSegements", (PyCFunction
) _wrap_GraphicsContext_StrokeLineSegements
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35032 { (char *)"GraphicsContext_DrawLines", (PyCFunction
) _wrap_GraphicsContext_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35033 { (char *)"GraphicsContext_DrawRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35034 { (char *)"GraphicsContext_DrawEllipse", (PyCFunction
) _wrap_GraphicsContext_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35035 { (char *)"GraphicsContext_DrawRoundedRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35036 { (char *)"GraphicsContext_swigregister", GraphicsContext_swigregister
, METH_VARARGS
, NULL
},
35037 { (char *)"new_GCDC", (PyCFunction
) _wrap_new_GCDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35038 { (char *)"delete_GCDC", (PyCFunction
)_wrap_delete_GCDC
, METH_O
, NULL
},
35039 { (char *)"GCDC_GetGraphicsContext", (PyCFunction
)_wrap_GCDC_GetGraphicsContext
, METH_O
, NULL
},
35040 { (char *)"GCDC_SetGraphicsContext", (PyCFunction
) _wrap_GCDC_SetGraphicsContext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35041 { (char *)"GCDC_swigregister", GCDC_swigregister
, METH_VARARGS
, NULL
},
35042 { (char *)"GCDC_swiginit", GCDC_swiginit
, METH_VARARGS
, NULL
},
35043 { (char *)"new_Overlay", (PyCFunction
)_wrap_new_Overlay
, METH_NOARGS
, NULL
},
35044 { (char *)"delete_Overlay", (PyCFunction
)_wrap_delete_Overlay
, METH_O
, NULL
},
35045 { (char *)"Overlay_Reset", (PyCFunction
)_wrap_Overlay_Reset
, METH_O
, NULL
},
35046 { (char *)"Overlay_swigregister", Overlay_swigregister
, METH_VARARGS
, NULL
},
35047 { (char *)"Overlay_swiginit", Overlay_swiginit
, METH_VARARGS
, NULL
},
35048 { (char *)"new_DCOverlay", _wrap_new_DCOverlay
, METH_VARARGS
, NULL
},
35049 { (char *)"delete_DCOverlay", (PyCFunction
)_wrap_delete_DCOverlay
, METH_O
, NULL
},
35050 { (char *)"DCOverlay_Clear", (PyCFunction
)_wrap_DCOverlay_Clear
, METH_O
, NULL
},
35051 { (char *)"DCOverlay_swigregister", DCOverlay_swigregister
, METH_VARARGS
, NULL
},
35052 { (char *)"DCOverlay_swiginit", DCOverlay_swiginit
, METH_VARARGS
, NULL
},
35053 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35054 { (char *)"delete_ImageList", (PyCFunction
)_wrap_delete_ImageList
, METH_O
, NULL
},
35055 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35056 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35057 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35058 { (char *)"ImageList_GetBitmap", (PyCFunction
) _wrap_ImageList_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35059 { (char *)"ImageList_GetIcon", (PyCFunction
) _wrap_ImageList_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35060 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35061 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35062 { (char *)"ImageList_GetImageCount", (PyCFunction
)_wrap_ImageList_GetImageCount
, METH_O
, NULL
},
35063 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35064 { (char *)"ImageList_RemoveAll", (PyCFunction
)_wrap_ImageList_RemoveAll
, METH_O
, NULL
},
35065 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35066 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
, NULL
},
35067 { (char *)"ImageList_swiginit", ImageList_swiginit
, METH_VARARGS
, NULL
},
35068 { (char *)"new_StockGDI", (PyCFunction
)_wrap_new_StockGDI
, METH_NOARGS
, NULL
},
35069 { (char *)"delete_StockGDI", (PyCFunction
)_wrap_delete_StockGDI
, METH_O
, NULL
},
35070 { (char *)"StockGDI_DeleteAll", (PyCFunction
)_wrap_StockGDI_DeleteAll
, METH_NOARGS
, NULL
},
35071 { (char *)"StockGDI_instance", (PyCFunction
)_wrap_StockGDI_instance
, METH_NOARGS
, NULL
},
35072 { (char *)"StockGDI_GetBrush", (PyCFunction
) _wrap_StockGDI_GetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35073 { (char *)"StockGDI_GetColour", (PyCFunction
) _wrap_StockGDI_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35074 { (char *)"StockGDI_GetCursor", (PyCFunction
) _wrap_StockGDI_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35075 { (char *)"StockGDI_GetPen", (PyCFunction
) _wrap_StockGDI_GetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35076 { (char *)"StockGDI_GetFont", (PyCFunction
) _wrap_StockGDI_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35077 { (char *)"StockGDI_swigregister", StockGDI_swigregister
, METH_VARARGS
, NULL
},
35078 { (char *)"StockGDI_swiginit", StockGDI_swiginit
, METH_VARARGS
, NULL
},
35079 { (char *)"new_GDIObjListBase", (PyCFunction
)_wrap_new_GDIObjListBase
, METH_NOARGS
, NULL
},
35080 { (char *)"delete_GDIObjListBase", (PyCFunction
)_wrap_delete_GDIObjListBase
, METH_O
, NULL
},
35081 { (char *)"GDIObjListBase_swigregister", GDIObjListBase_swigregister
, METH_VARARGS
, NULL
},
35082 { (char *)"GDIObjListBase_swiginit", GDIObjListBase_swiginit
, METH_VARARGS
, NULL
},
35083 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35084 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35085 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35086 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
, NULL
},
35087 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35088 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35089 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35090 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
, NULL
},
35091 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35092 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35093 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35094 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
, NULL
},
35095 { (char *)"new_ColourDatabase", (PyCFunction
)_wrap_new_ColourDatabase
, METH_NOARGS
, NULL
},
35096 { (char *)"delete_ColourDatabase", (PyCFunction
)_wrap_delete_ColourDatabase
, METH_O
, NULL
},
35097 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35098 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35099 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35100 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35101 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
, NULL
},
35102 { (char *)"ColourDatabase_swiginit", ColourDatabase_swiginit
, METH_VARARGS
, NULL
},
35103 { (char *)"_wxPyInitTheFontList", (PyCFunction
)_wrap__wxPyInitTheFontList
, METH_NOARGS
, NULL
},
35104 { (char *)"_wxPyInitThePenList", (PyCFunction
)_wrap__wxPyInitThePenList
, METH_NOARGS
, NULL
},
35105 { (char *)"_wxPyInitTheBrushList", (PyCFunction
)_wrap__wxPyInitTheBrushList
, METH_NOARGS
, NULL
},
35106 { (char *)"_wxPyInitTheColourDatabase", (PyCFunction
)_wrap__wxPyInitTheColourDatabase
, METH_NOARGS
, NULL
},
35107 { (char *)"new_Effects", (PyCFunction
)_wrap_new_Effects
, METH_NOARGS
, NULL
},
35108 { (char *)"Effects_GetHighlightColour", (PyCFunction
)_wrap_Effects_GetHighlightColour
, METH_O
, NULL
},
35109 { (char *)"Effects_GetLightShadow", (PyCFunction
)_wrap_Effects_GetLightShadow
, METH_O
, NULL
},
35110 { (char *)"Effects_GetFaceColour", (PyCFunction
)_wrap_Effects_GetFaceColour
, METH_O
, NULL
},
35111 { (char *)"Effects_GetMediumShadow", (PyCFunction
)_wrap_Effects_GetMediumShadow
, METH_O
, NULL
},
35112 { (char *)"Effects_GetDarkShadow", (PyCFunction
)_wrap_Effects_GetDarkShadow
, METH_O
, NULL
},
35113 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35114 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35115 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35116 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35117 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35118 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35119 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35120 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35121 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
, NULL
},
35122 { (char *)"Effects_swiginit", Effects_swiginit
, METH_VARARGS
, NULL
},
35123 { (char *)"new_SplitterRenderParams", (PyCFunction
) _wrap_new_SplitterRenderParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35124 { (char *)"delete_SplitterRenderParams", (PyCFunction
)_wrap_delete_SplitterRenderParams
, METH_O
, NULL
},
35125 { (char *)"SplitterRenderParams_widthSash_get", (PyCFunction
)_wrap_SplitterRenderParams_widthSash_get
, METH_O
, NULL
},
35126 { (char *)"SplitterRenderParams_border_get", (PyCFunction
)_wrap_SplitterRenderParams_border_get
, METH_O
, NULL
},
35127 { (char *)"SplitterRenderParams_isHotSensitive_get", (PyCFunction
)_wrap_SplitterRenderParams_isHotSensitive_get
, METH_O
, NULL
},
35128 { (char *)"SplitterRenderParams_swigregister", SplitterRenderParams_swigregister
, METH_VARARGS
, NULL
},
35129 { (char *)"SplitterRenderParams_swiginit", SplitterRenderParams_swiginit
, METH_VARARGS
, NULL
},
35130 { (char *)"new_HeaderButtonParams", (PyCFunction
)_wrap_new_HeaderButtonParams
, METH_NOARGS
, NULL
},
35131 { (char *)"delete_HeaderButtonParams", (PyCFunction
)_wrap_delete_HeaderButtonParams
, METH_O
, NULL
},
35132 { (char *)"HeaderButtonParams_m_arrowColour_set", _wrap_HeaderButtonParams_m_arrowColour_set
, METH_VARARGS
, NULL
},
35133 { (char *)"HeaderButtonParams_m_arrowColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_arrowColour_get
, METH_O
, NULL
},
35134 { (char *)"HeaderButtonParams_m_selectionColour_set", _wrap_HeaderButtonParams_m_selectionColour_set
, METH_VARARGS
, NULL
},
35135 { (char *)"HeaderButtonParams_m_selectionColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_selectionColour_get
, METH_O
, NULL
},
35136 { (char *)"HeaderButtonParams_m_labelText_set", _wrap_HeaderButtonParams_m_labelText_set
, METH_VARARGS
, NULL
},
35137 { (char *)"HeaderButtonParams_m_labelText_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelText_get
, METH_O
, NULL
},
35138 { (char *)"HeaderButtonParams_m_labelFont_set", _wrap_HeaderButtonParams_m_labelFont_set
, METH_VARARGS
, NULL
},
35139 { (char *)"HeaderButtonParams_m_labelFont_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelFont_get
, METH_O
, NULL
},
35140 { (char *)"HeaderButtonParams_m_labelColour_set", _wrap_HeaderButtonParams_m_labelColour_set
, METH_VARARGS
, NULL
},
35141 { (char *)"HeaderButtonParams_m_labelColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelColour_get
, METH_O
, NULL
},
35142 { (char *)"HeaderButtonParams_m_labelBitmap_set", _wrap_HeaderButtonParams_m_labelBitmap_set
, METH_VARARGS
, NULL
},
35143 { (char *)"HeaderButtonParams_m_labelBitmap_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelBitmap_get
, METH_O
, NULL
},
35144 { (char *)"HeaderButtonParams_m_labelAlignment_set", _wrap_HeaderButtonParams_m_labelAlignment_set
, METH_VARARGS
, NULL
},
35145 { (char *)"HeaderButtonParams_m_labelAlignment_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelAlignment_get
, METH_O
, NULL
},
35146 { (char *)"HeaderButtonParams_swigregister", HeaderButtonParams_swigregister
, METH_VARARGS
, NULL
},
35147 { (char *)"HeaderButtonParams_swiginit", HeaderButtonParams_swiginit
, METH_VARARGS
, NULL
},
35148 { (char *)"new_RendererVersion", (PyCFunction
) _wrap_new_RendererVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35149 { (char *)"delete_RendererVersion", (PyCFunction
)_wrap_delete_RendererVersion
, METH_O
, NULL
},
35150 { (char *)"RendererVersion_IsCompatible", (PyCFunction
) _wrap_RendererVersion_IsCompatible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35151 { (char *)"RendererVersion_version_get", (PyCFunction
)_wrap_RendererVersion_version_get
, METH_O
, NULL
},
35152 { (char *)"RendererVersion_age_get", (PyCFunction
)_wrap_RendererVersion_age_get
, METH_O
, NULL
},
35153 { (char *)"RendererVersion_swigregister", RendererVersion_swigregister
, METH_VARARGS
, NULL
},
35154 { (char *)"RendererVersion_swiginit", RendererVersion_swiginit
, METH_VARARGS
, NULL
},
35155 { (char *)"RendererNative_DrawHeaderButton", (PyCFunction
) _wrap_RendererNative_DrawHeaderButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35156 { (char *)"RendererNative_DrawHeaderButtonContents", (PyCFunction
) _wrap_RendererNative_DrawHeaderButtonContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35157 { (char *)"RendererNative_GetHeaderButtonHeight", (PyCFunction
) _wrap_RendererNative_GetHeaderButtonHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35158 { (char *)"RendererNative_DrawTreeItemButton", (PyCFunction
) _wrap_RendererNative_DrawTreeItemButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35159 { (char *)"RendererNative_DrawSplitterBorder", (PyCFunction
) _wrap_RendererNative_DrawSplitterBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35160 { (char *)"RendererNative_DrawSplitterSash", (PyCFunction
) _wrap_RendererNative_DrawSplitterSash
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35161 { (char *)"RendererNative_DrawComboBoxDropButton", (PyCFunction
) _wrap_RendererNative_DrawComboBoxDropButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35162 { (char *)"RendererNative_DrawDropArrow", (PyCFunction
) _wrap_RendererNative_DrawDropArrow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35163 { (char *)"RendererNative_DrawCheckBox", (PyCFunction
) _wrap_RendererNative_DrawCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35164 { (char *)"RendererNative_DrawPushButton", (PyCFunction
) _wrap_RendererNative_DrawPushButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35165 { (char *)"RendererNative_DrawItemSelectionRect", (PyCFunction
) _wrap_RendererNative_DrawItemSelectionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35166 { (char *)"RendererNative_GetSplitterParams", (PyCFunction
) _wrap_RendererNative_GetSplitterParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35167 { (char *)"RendererNative_Get", (PyCFunction
)_wrap_RendererNative_Get
, METH_NOARGS
, NULL
},
35168 { (char *)"RendererNative_GetGeneric", (PyCFunction
)_wrap_RendererNative_GetGeneric
, METH_NOARGS
, NULL
},
35169 { (char *)"RendererNative_GetDefault", (PyCFunction
)_wrap_RendererNative_GetDefault
, METH_NOARGS
, NULL
},
35170 { (char *)"RendererNative_Set", (PyCFunction
) _wrap_RendererNative_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35171 { (char *)"RendererNative_GetVersion", (PyCFunction
)_wrap_RendererNative_GetVersion
, METH_O
, NULL
},
35172 { (char *)"RendererNative_swigregister", RendererNative_swigregister
, METH_VARARGS
, NULL
},
35173 { (char *)"new_PseudoDC", (PyCFunction
)_wrap_new_PseudoDC
, METH_NOARGS
, NULL
},
35174 { (char *)"PseudoDC_BeginDrawing", (PyCFunction
)_wrap_PseudoDC_BeginDrawing
, METH_O
, NULL
},
35175 { (char *)"PseudoDC_EndDrawing", (PyCFunction
)_wrap_PseudoDC_EndDrawing
, METH_O
, NULL
},
35176 { (char *)"delete_PseudoDC", (PyCFunction
)_wrap_delete_PseudoDC
, METH_O
, NULL
},
35177 { (char *)"PseudoDC_RemoveAll", (PyCFunction
)_wrap_PseudoDC_RemoveAll
, METH_O
, NULL
},
35178 { (char *)"PseudoDC_GetLen", (PyCFunction
)_wrap_PseudoDC_GetLen
, METH_O
, NULL
},
35179 { (char *)"PseudoDC_SetId", (PyCFunction
) _wrap_PseudoDC_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35180 { (char *)"PseudoDC_ClearId", (PyCFunction
) _wrap_PseudoDC_ClearId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35181 { (char *)"PseudoDC_RemoveId", (PyCFunction
) _wrap_PseudoDC_RemoveId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35182 { (char *)"PseudoDC_TranslateId", (PyCFunction
) _wrap_PseudoDC_TranslateId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35183 { (char *)"PseudoDC_SetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_SetIdGreyedOut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35184 { (char *)"PseudoDC_GetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_GetIdGreyedOut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35185 { (char *)"PseudoDC_FindObjects", (PyCFunction
) _wrap_PseudoDC_FindObjects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35186 { (char *)"PseudoDC_FindObjectsByBBox", (PyCFunction
) _wrap_PseudoDC_FindObjectsByBBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35187 { (char *)"PseudoDC_DrawIdToDC", (PyCFunction
) _wrap_PseudoDC_DrawIdToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35188 { (char *)"PseudoDC_SetIdBounds", (PyCFunction
) _wrap_PseudoDC_SetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35189 { (char *)"PseudoDC_GetIdBounds", (PyCFunction
) _wrap_PseudoDC_GetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35190 { (char *)"PseudoDC_DrawToDCClipped", (PyCFunction
) _wrap_PseudoDC_DrawToDCClipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35191 { (char *)"PseudoDC_DrawToDCClippedRgn", (PyCFunction
) _wrap_PseudoDC_DrawToDCClippedRgn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35192 { (char *)"PseudoDC_DrawToDC", (PyCFunction
) _wrap_PseudoDC_DrawToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35193 { (char *)"PseudoDC_FloodFill", (PyCFunction
) _wrap_PseudoDC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35194 { (char *)"PseudoDC_FloodFillPoint", (PyCFunction
) _wrap_PseudoDC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35195 { (char *)"PseudoDC_DrawLine", (PyCFunction
) _wrap_PseudoDC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35196 { (char *)"PseudoDC_DrawLinePoint", (PyCFunction
) _wrap_PseudoDC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35197 { (char *)"PseudoDC_CrossHair", (PyCFunction
) _wrap_PseudoDC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35198 { (char *)"PseudoDC_CrossHairPoint", (PyCFunction
) _wrap_PseudoDC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35199 { (char *)"PseudoDC_DrawArc", (PyCFunction
) _wrap_PseudoDC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35200 { (char *)"PseudoDC_DrawArcPoint", (PyCFunction
) _wrap_PseudoDC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35201 { (char *)"PseudoDC_DrawCheckMark", (PyCFunction
) _wrap_PseudoDC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35202 { (char *)"PseudoDC_DrawCheckMarkRect", (PyCFunction
) _wrap_PseudoDC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35203 { (char *)"PseudoDC_DrawEllipticArc", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35204 { (char *)"PseudoDC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35205 { (char *)"PseudoDC_DrawPoint", (PyCFunction
) _wrap_PseudoDC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35206 { (char *)"PseudoDC_DrawPointPoint", (PyCFunction
) _wrap_PseudoDC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35207 { (char *)"PseudoDC_DrawRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35208 { (char *)"PseudoDC_DrawRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35209 { (char *)"PseudoDC_DrawRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35210 { (char *)"PseudoDC_DrawRoundedRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35211 { (char *)"PseudoDC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35212 { (char *)"PseudoDC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35213 { (char *)"PseudoDC_DrawCircle", (PyCFunction
) _wrap_PseudoDC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35214 { (char *)"PseudoDC_DrawCirclePoint", (PyCFunction
) _wrap_PseudoDC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35215 { (char *)"PseudoDC_DrawEllipse", (PyCFunction
) _wrap_PseudoDC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35216 { (char *)"PseudoDC_DrawEllipseRect", (PyCFunction
) _wrap_PseudoDC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35217 { (char *)"PseudoDC_DrawEllipsePointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35218 { (char *)"PseudoDC_DrawIcon", (PyCFunction
) _wrap_PseudoDC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35219 { (char *)"PseudoDC_DrawIconPoint", (PyCFunction
) _wrap_PseudoDC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35220 { (char *)"PseudoDC_DrawBitmap", (PyCFunction
) _wrap_PseudoDC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35221 { (char *)"PseudoDC_DrawBitmapPoint", (PyCFunction
) _wrap_PseudoDC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35222 { (char *)"PseudoDC_DrawText", (PyCFunction
) _wrap_PseudoDC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35223 { (char *)"PseudoDC_DrawTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35224 { (char *)"PseudoDC_DrawRotatedText", (PyCFunction
) _wrap_PseudoDC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35225 { (char *)"PseudoDC_DrawRotatedTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35226 { (char *)"PseudoDC_DrawLines", (PyCFunction
) _wrap_PseudoDC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35227 { (char *)"PseudoDC_DrawPolygon", (PyCFunction
) _wrap_PseudoDC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35228 { (char *)"PseudoDC_DrawLabel", (PyCFunction
) _wrap_PseudoDC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35229 { (char *)"PseudoDC_DrawImageLabel", (PyCFunction
) _wrap_PseudoDC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35230 { (char *)"PseudoDC_DrawSpline", (PyCFunction
) _wrap_PseudoDC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35231 { (char *)"PseudoDC_Clear", (PyCFunction
)_wrap_PseudoDC_Clear
, METH_O
, NULL
},
35232 { (char *)"PseudoDC_SetFont", (PyCFunction
) _wrap_PseudoDC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35233 { (char *)"PseudoDC_SetPen", (PyCFunction
) _wrap_PseudoDC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35234 { (char *)"PseudoDC_SetBrush", (PyCFunction
) _wrap_PseudoDC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35235 { (char *)"PseudoDC_SetBackground", (PyCFunction
) _wrap_PseudoDC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35236 { (char *)"PseudoDC_SetBackgroundMode", (PyCFunction
) _wrap_PseudoDC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35237 { (char *)"PseudoDC_SetPalette", (PyCFunction
) _wrap_PseudoDC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35238 { (char *)"PseudoDC_SetTextForeground", (PyCFunction
) _wrap_PseudoDC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35239 { (char *)"PseudoDC_SetTextBackground", (PyCFunction
) _wrap_PseudoDC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35240 { (char *)"PseudoDC_SetLogicalFunction", (PyCFunction
) _wrap_PseudoDC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35241 { (char *)"PseudoDC_swigregister", PseudoDC_swigregister
, METH_VARARGS
, NULL
},
35242 { (char *)"PseudoDC_swiginit", PseudoDC_swiginit
, METH_VARARGS
, NULL
},
35243 { NULL
, NULL
, 0, NULL
}
35247 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
35249 static void *_p_wxPaintDCTo_p_wxClientDC(void *x
) {
35250 return (void *)((wxClientDC
*) ((wxPaintDC
*) x
));
35252 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
35253 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
35255 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
35256 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
35258 static void *_p_wxClientDCTo_p_wxWindowDC(void *x
) {
35259 return (void *)((wxWindowDC
*) ((wxClientDC
*) x
));
35261 static void *_p_wxPaintDCTo_p_wxWindowDC(void *x
) {
35262 return (void *)((wxWindowDC
*) (wxClientDC
*) ((wxPaintDC
*) x
));
35264 static void *_p_wxPyLocaleTo_p_wxLocale(void *x
) {
35265 return (void *)((wxLocale
*) ((wxPyLocale
*) x
));
35267 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
35268 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
35270 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
35271 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
35273 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
35274 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
35276 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
35277 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
35279 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
35280 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
35282 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
35283 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
35285 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
35286 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
35288 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
35289 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
35291 static void *_p_wxGCDCTo_p_wxDC(void *x
) {
35292 return (void *)((wxDC
*) ((wxGCDC
*) x
));
35294 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
35295 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
35297 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
35298 return (void *)((wxDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
35300 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
35301 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
35303 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
35304 return (void *)((wxDC
*) ((wxMemoryDC
*) x
));
35306 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
35307 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
35309 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
35310 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
35312 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
35313 return (void *)((wxDC
*) (wxWindowDC
*) ((wxClientDC
*) x
));
35315 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
35316 return (void *)((wxDC
*) (wxWindowDC
*)(wxClientDC
*) ((wxPaintDC
*) x
));
35318 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
35319 return (void *)((wxDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
35321 static void *_p_wxAutoBufferedPaintDCTo_p_wxDC(void *x
) {
35322 return (void *)((wxDC
*) ((wxAutoBufferedPaintDC
*) x
));
35324 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
35325 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
35327 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
35328 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
35330 static void *_p_wxBrushListTo_p_wxGDIObjListBase(void *x
) {
35331 return (void *)((wxGDIObjListBase
*) ((wxBrushList
*) x
));
35333 static void *_p_wxFontListTo_p_wxGDIObjListBase(void *x
) {
35334 return (void *)((wxGDIObjListBase
*) ((wxFontList
*) x
));
35336 static void *_p_wxPenListTo_p_wxGDIObjListBase(void *x
) {
35337 return (void *)((wxGDIObjListBase
*) ((wxPenList
*) x
));
35339 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
35340 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
35342 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
35343 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
35345 static void *_p_wxPenTo_p_wxObject(void *x
) {
35346 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
35348 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
35349 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
35351 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
35352 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
35354 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
35355 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
35357 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
35358 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
35360 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
35361 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
35363 static void *_p_wxIconTo_p_wxObject(void *x
) {
35364 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
35366 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
35367 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
35369 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
35370 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
35372 static void *_p_wxSizerTo_p_wxObject(void *x
) {
35373 return (void *)((wxObject
*) ((wxSizer
*) x
));
35375 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
35376 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
35378 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
35379 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
35381 static void *_p_wxEventTo_p_wxObject(void *x
) {
35382 return (void *)((wxObject
*) ((wxEvent
*) x
));
35384 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
35385 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
35387 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
35388 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
35390 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
35391 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
35393 static void *_p_wxPseudoDCTo_p_wxObject(void *x
) {
35394 return (void *)((wxObject
*) ((wxPseudoDC
*) x
));
35396 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
35397 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
35399 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
35400 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
35402 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
35403 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
35405 static void *_p_wxDCTo_p_wxObject(void *x
) {
35406 return (void *)((wxObject
*) ((wxDC
*) x
));
35408 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
35409 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
35411 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
35412 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
35414 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
35415 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
35417 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
35418 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
35420 static void *_p_wxControlTo_p_wxObject(void *x
) {
35421 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
35423 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
35424 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
35426 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
35427 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*) ((wxClientDC
*) x
));
35429 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
35430 return (void *)((wxObject
*) ((wxFSFile
*) x
));
35432 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
35433 return (void *)((wxObject
*) (wxDC
*) ((wxMemoryDC
*) x
));
35435 static void *_p_wxRegionTo_p_wxObject(void *x
) {
35436 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
35438 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
35439 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
35441 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
35442 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
35444 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
35445 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
35447 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
35448 return (void *)((wxObject
*) ((wxEffects
*) x
));
35450 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
35451 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
35453 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
35454 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
35456 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
35457 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
35459 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
35460 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
35462 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
35463 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
35465 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
35466 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
35468 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
35469 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
35471 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
35472 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
35474 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
35475 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
35477 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
35478 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
35480 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
35481 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
35483 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
35484 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
35486 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
35487 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
35489 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
35490 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
35492 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
35493 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
35495 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
35496 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
35498 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
35499 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
35501 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
35502 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
35504 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
35505 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
35507 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
35508 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
35510 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
35511 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
35513 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
35514 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
35516 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
35517 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
35519 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
35520 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
35522 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
35523 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
35525 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
35526 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
35528 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
35529 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
35531 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
35532 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
35534 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
35535 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
35537 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
35538 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxClientDC
*) ((wxPaintDC
*) x
));
35540 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
35541 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
35543 static void *_p_wxAutoBufferedPaintDCTo_p_wxObject(void *x
) {
35544 return (void *)((wxObject
*) (wxDC
*) ((wxAutoBufferedPaintDC
*) x
));
35546 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
35547 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
35549 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
35550 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
35552 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
35553 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
35555 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
35556 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
35558 static void *_p_wxImageTo_p_wxObject(void *x
) {
35559 return (void *)((wxObject
*) ((wxImage
*) x
));
35561 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
35562 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
35564 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
35565 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
35567 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
35568 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
35570 static void *_p_wxImageListTo_p_wxObject(void *x
) {
35571 return (void *)((wxObject
*) ((wxImageList
*) x
));
35573 static void *_p_wxGCDCTo_p_wxObject(void *x
) {
35574 return (void *)((wxObject
*) (wxDC
*) ((wxGCDC
*) x
));
35576 static void *_p_wxCursorTo_p_wxObject(void *x
) {
35577 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
35579 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
35580 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
35582 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
35583 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
35585 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
35586 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
35588 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
35589 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
35591 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
35592 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
35594 static void *_p_wxWindowTo_p_wxObject(void *x
) {
35595 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
35597 static void *_p_wxMenuTo_p_wxObject(void *x
) {
35598 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
35600 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
35601 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
35603 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
35604 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
35606 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
35607 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
35609 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
35610 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
35612 static void *_p_wxMaskTo_p_wxObject(void *x
) {
35613 return (void *)((wxObject
*) ((wxMask
*) x
));
35615 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
35616 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
35618 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
35619 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
35621 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
35622 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
35624 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
35625 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
35627 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
35628 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
35630 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
35631 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
35633 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
35634 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
35636 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
35637 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
35639 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
35640 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
35642 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
35643 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
35645 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
35646 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
35648 static void *_p_wxFontTo_p_wxObject(void *x
) {
35649 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
35651 static void *_p_wxBrushTo_p_wxObject(void *x
) {
35652 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
35654 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
35655 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
35657 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
35658 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
35660 static void *_p_wxColourTo_p_wxObject(void *x
) {
35661 return (void *)((wxObject
*) ((wxColour
*) x
));
35663 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
35664 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
35666 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
35667 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
35669 static void *_p_wxControlTo_p_wxWindow(void *x
) {
35670 return (void *)((wxWindow
*) ((wxControl
*) x
));
35672 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
35673 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
35675 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
35676 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
35678 static void *_p_wxNativePixelDataTo_p_wxPixelDataBase(void *x
) {
35679 return (void *)((wxPixelDataBase
*) ((wxNativePixelData
*) x
));
35681 static void *_p_wxAlphaPixelDataTo_p_wxPixelDataBase(void *x
) {
35682 return (void *)((wxPixelDataBase
*) ((wxAlphaPixelData
*) x
));
35684 static swig_type_info _swigt__p_buffer
= {"_p_buffer", "buffer *", 0, 0, (void*)0, 0};
35685 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
35686 static swig_type_info _swigt__p_double
= {"_p_double", "double *|wxDouble *", 0, 0, (void*)0, 0};
35687 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};
35688 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
35689 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
35690 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
35691 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
35692 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
35693 static swig_type_info _swigt__p_wxAlphaPixelData
= {"_p_wxAlphaPixelData", "wxAlphaPixelData *", 0, 0, (void*)0, 0};
35694 static swig_type_info _swigt__p_wxAlphaPixelData_Accessor
= {"_p_wxAlphaPixelData_Accessor", "wxAlphaPixelData_Accessor *", 0, 0, (void*)0, 0};
35695 static swig_type_info _swigt__p_wxAutoBufferedPaintDC
= {"_p_wxAutoBufferedPaintDC", "wxAutoBufferedPaintDC *", 0, 0, (void*)0, 0};
35696 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
35697 static swig_type_info _swigt__p_wxBrush
= {"_p_wxBrush", "wxBrush *", 0, 0, (void*)0, 0};
35698 static swig_type_info _swigt__p_wxBrushList
= {"_p_wxBrushList", "wxBrushList *", 0, 0, (void*)0, 0};
35699 static swig_type_info _swigt__p_wxBufferedDC
= {"_p_wxBufferedDC", "wxBufferedDC *", 0, 0, (void*)0, 0};
35700 static swig_type_info _swigt__p_wxBufferedPaintDC
= {"_p_wxBufferedPaintDC", "wxBufferedPaintDC *", 0, 0, (void*)0, 0};
35701 static swig_type_info _swigt__p_wxChar
= {"_p_wxChar", "wxChar *", 0, 0, (void*)0, 0};
35702 static swig_type_info _swigt__p_wxClientDC
= {"_p_wxClientDC", "wxClientDC *", 0, 0, (void*)0, 0};
35703 static swig_type_info _swigt__p_wxColor
= {"_p_wxColor", "wxColor *", 0, 0, (void*)0, 0};
35704 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
35705 static swig_type_info _swigt__p_wxColourDatabase
= {"_p_wxColourDatabase", "wxColourDatabase *", 0, 0, (void*)0, 0};
35706 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
35707 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
35708 static swig_type_info _swigt__p_wxDCOverlay
= {"_p_wxDCOverlay", "wxDCOverlay *", 0, 0, (void*)0, 0};
35709 static swig_type_info _swigt__p_wxDash
= {"_p_wxDash", "wxDash *", 0, 0, (void*)0, 0};
35710 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
35711 static swig_type_info _swigt__p_wxEffects
= {"_p_wxEffects", "wxEffects *", 0, 0, (void*)0, 0};
35712 static swig_type_info _swigt__p_wxEncodingConverter
= {"_p_wxEncodingConverter", "wxEncodingConverter *", 0, 0, (void*)0, 0};
35713 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
35714 static swig_type_info _swigt__p_wxFontList
= {"_p_wxFontList", "wxFontList *", 0, 0, (void*)0, 0};
35715 static swig_type_info _swigt__p_wxFontMapper
= {"_p_wxFontMapper", "wxFontMapper *", 0, 0, (void*)0, 0};
35716 static swig_type_info _swigt__p_wxGCDC
= {"_p_wxGCDC", "wxGCDC *", 0, 0, (void*)0, 0};
35717 static swig_type_info _swigt__p_wxGDIObjListBase
= {"_p_wxGDIObjListBase", "wxGDIObjListBase *", 0, 0, (void*)0, 0};
35718 static swig_type_info _swigt__p_wxGDIObject
= {"_p_wxGDIObject", "wxGDIObject *", 0, 0, (void*)0, 0};
35719 static swig_type_info _swigt__p_wxGraphicsContext
= {"_p_wxGraphicsContext", "wxGraphicsContext *", 0, 0, (void*)0, 0};
35720 static swig_type_info _swigt__p_wxGraphicsPath
= {"_p_wxGraphicsPath", "wxGraphicsPath *", 0, 0, (void*)0, 0};
35721 static swig_type_info _swigt__p_wxHeaderButtonParams
= {"_p_wxHeaderButtonParams", "wxHeaderButtonParams *", 0, 0, (void*)0, 0};
35722 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
35723 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
35724 static swig_type_info _swigt__p_wxIconLocation
= {"_p_wxIconLocation", "wxIconLocation *", 0, 0, (void*)0, 0};
35725 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", "wxImage *", 0, 0, (void*)0, 0};
35726 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
35727 static swig_type_info _swigt__p_wxLanguageInfo
= {"_p_wxLanguageInfo", "wxLanguageInfo *", 0, 0, (void*)0, 0};
35728 static swig_type_info _swigt__p_wxLocale
= {"_p_wxLocale", "wxLocale *", 0, 0, (void*)0, 0};
35729 static swig_type_info _swigt__p_wxMask
= {"_p_wxMask", "wxMask *", 0, 0, (void*)0, 0};
35730 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
35731 static swig_type_info _swigt__p_wxMetaFile
= {"_p_wxMetaFile", "wxMetaFile *", 0, 0, (void*)0, 0};
35732 static swig_type_info _swigt__p_wxMetaFileDC
= {"_p_wxMetaFileDC", "wxMetaFileDC *", 0, 0, (void*)0, 0};
35733 static swig_type_info _swigt__p_wxMirrorDC
= {"_p_wxMirrorDC", "wxMirrorDC *", 0, 0, (void*)0, 0};
35734 static swig_type_info _swigt__p_wxNativeEncodingInfo
= {"_p_wxNativeEncodingInfo", "wxNativeEncodingInfo *", 0, 0, (void*)0, 0};
35735 static swig_type_info _swigt__p_wxNativeFontInfo
= {"_p_wxNativeFontInfo", "wxNativeFontInfo *", 0, 0, (void*)0, 0};
35736 static swig_type_info _swigt__p_wxNativePixelData
= {"_p_wxNativePixelData", "wxNativePixelData *", 0, 0, (void*)0, 0};
35737 static swig_type_info _swigt__p_wxNativePixelData_Accessor
= {"_p_wxNativePixelData_Accessor", "wxNativePixelData_Accessor *", 0, 0, (void*)0, 0};
35738 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
35739 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
35740 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
35741 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
35742 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
35743 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
35744 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
35745 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
35746 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
35747 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
35748 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
35749 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
35750 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", 0, 0, 0, 0, 0};
35751 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
35752 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
35753 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
35754 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
35755 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
35756 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
35757 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
35758 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
35759 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
35760 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
35761 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
35762 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
35763 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
35764 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
35765 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
35766 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
35767 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
35768 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
35769 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
35770 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
35771 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
35772 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
35773 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
35774 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
35775 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
35776 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
35777 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
35778 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
35779 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
35780 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
35781 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
35782 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
35783 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
35784 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", 0, 0, 0, 0, 0};
35785 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
35786 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
35787 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
35788 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
35789 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
35790 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
35791 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
35792 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
35793 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
35794 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
35795 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
35796 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
35797 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
35798 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
35799 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
35800 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
35801 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
35802 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
35803 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
35804 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
35805 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
35806 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
35807 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
35808 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0, 0};
35809 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
35810 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
35811 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
35812 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
35813 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
35814 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
35815 static swig_type_info _swigt__p_wxOverlay
= {"_p_wxOverlay", "wxOverlay *", 0, 0, (void*)0, 0};
35816 static swig_type_info _swigt__p_wxPaintDC
= {"_p_wxPaintDC", "wxPaintDC *", 0, 0, (void*)0, 0};
35817 static swig_type_info _swigt__p_wxPalette
= {"_p_wxPalette", "wxPalette *", 0, 0, (void*)0, 0};
35818 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
35819 static swig_type_info _swigt__p_wxPen
= {"_p_wxPen", "wxPen *", 0, 0, (void*)0, 0};
35820 static swig_type_info _swigt__p_wxPenList
= {"_p_wxPenList", "wxPenList *", 0, 0, (void*)0, 0};
35821 static swig_type_info _swigt__p_wxPixelDataBase
= {"_p_wxPixelDataBase", "wxPixelDataBase *", 0, 0, (void*)0, 0};
35822 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
35823 static swig_type_info _swigt__p_wxPoint2D
= {"_p_wxPoint2D", "wxPoint2D *", 0, 0, (void*)0, 0};
35824 static swig_type_info _swigt__p_wxPostScriptDC
= {"_p_wxPostScriptDC", "wxPostScriptDC *", 0, 0, (void*)0, 0};
35825 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
35826 static swig_type_info _swigt__p_wxPrinterDC
= {"_p_wxPrinterDC", "wxPrinterDC *", 0, 0, (void*)0, 0};
35827 static swig_type_info _swigt__p_wxPseudoDC
= {"_p_wxPseudoDC", "wxPseudoDC *", 0, 0, (void*)0, 0};
35828 static swig_type_info _swigt__p_wxPyFontEnumerator
= {"_p_wxPyFontEnumerator", "wxPyFontEnumerator *", 0, 0, (void*)0, 0};
35829 static swig_type_info _swigt__p_wxPyLocale
= {"_p_wxPyLocale", "wxPyLocale *", 0, 0, (void*)0, 0};
35830 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
35831 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
35832 static swig_type_info _swigt__p_wxRegionIterator
= {"_p_wxRegionIterator", "wxRegionIterator *", 0, 0, (void*)0, 0};
35833 static swig_type_info _swigt__p_wxRendererNative
= {"_p_wxRendererNative", "wxRendererNative *", 0, 0, (void*)0, 0};
35834 static swig_type_info _swigt__p_wxRendererVersion
= {"_p_wxRendererVersion", "wxRendererVersion *", 0, 0, (void*)0, 0};
35835 static swig_type_info _swigt__p_wxScreenDC
= {"_p_wxScreenDC", "wxScreenDC *", 0, 0, (void*)0, 0};
35836 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
35837 static swig_type_info _swigt__p_wxSplitterRenderParams
= {"_p_wxSplitterRenderParams", "wxSplitterRenderParams *", 0, 0, (void*)0, 0};
35838 static swig_type_info _swigt__p_wxStockGDI
= {"_p_wxStockGDI", "wxStockGDI *", 0, 0, (void*)0, 0};
35839 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
35840 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
35841 static swig_type_info _swigt__p_wxWindowDC
= {"_p_wxWindowDC", "wxWindowDC *", 0, 0, (void*)0, 0};
35843 static swig_type_info
*swig_type_initial
[] = {
35847 &_swigt__p_form_ops_t
,
35849 &_swigt__p_unsigned_char
,
35850 &_swigt__p_unsigned_int
,
35851 &_swigt__p_unsigned_long
,
35853 &_swigt__p_wxANIHandler
,
35854 &_swigt__p_wxAcceleratorTable
,
35855 &_swigt__p_wxActivateEvent
,
35856 &_swigt__p_wxAlphaPixelData
,
35857 &_swigt__p_wxAlphaPixelData_Accessor
,
35858 &_swigt__p_wxAutoBufferedPaintDC
,
35859 &_swigt__p_wxBMPHandler
,
35860 &_swigt__p_wxBitmap
,
35861 &_swigt__p_wxBoxSizer
,
35862 &_swigt__p_wxBrush
,
35863 &_swigt__p_wxBrushList
,
35864 &_swigt__p_wxBufferedDC
,
35865 &_swigt__p_wxBufferedPaintDC
,
35866 &_swigt__p_wxCURHandler
,
35868 &_swigt__p_wxChildFocusEvent
,
35869 &_swigt__p_wxClientDC
,
35870 &_swigt__p_wxClipboardTextEvent
,
35871 &_swigt__p_wxCloseEvent
,
35872 &_swigt__p_wxColor
,
35873 &_swigt__p_wxColour
,
35874 &_swigt__p_wxColourDatabase
,
35875 &_swigt__p_wxCommandEvent
,
35876 &_swigt__p_wxContextMenuEvent
,
35877 &_swigt__p_wxControl
,
35878 &_swigt__p_wxControlWithItems
,
35879 &_swigt__p_wxCursor
,
35881 &_swigt__p_wxDCOverlay
,
35883 &_swigt__p_wxDateEvent
,
35884 &_swigt__p_wxDisplayChangedEvent
,
35885 &_swigt__p_wxDropFilesEvent
,
35886 &_swigt__p_wxDuplexMode
,
35887 &_swigt__p_wxEffects
,
35888 &_swigt__p_wxEncodingConverter
,
35889 &_swigt__p_wxEraseEvent
,
35890 &_swigt__p_wxEvent
,
35891 &_swigt__p_wxEvtHandler
,
35892 &_swigt__p_wxFSFile
,
35893 &_swigt__p_wxFileSystem
,
35894 &_swigt__p_wxFlexGridSizer
,
35895 &_swigt__p_wxFocusEvent
,
35897 &_swigt__p_wxFontList
,
35898 &_swigt__p_wxFontMapper
,
35899 &_swigt__p_wxGBSizerItem
,
35901 &_swigt__p_wxGDIObjListBase
,
35902 &_swigt__p_wxGDIObject
,
35903 &_swigt__p_wxGIFHandler
,
35904 &_swigt__p_wxGraphicsContext
,
35905 &_swigt__p_wxGraphicsPath
,
35906 &_swigt__p_wxGridBagSizer
,
35907 &_swigt__p_wxGridSizer
,
35908 &_swigt__p_wxHeaderButtonParams
,
35909 &_swigt__p_wxICOHandler
,
35911 &_swigt__p_wxIconBundle
,
35912 &_swigt__p_wxIconLocation
,
35913 &_swigt__p_wxIconizeEvent
,
35914 &_swigt__p_wxIdleEvent
,
35915 &_swigt__p_wxImage
,
35916 &_swigt__p_wxImageHandler
,
35917 &_swigt__p_wxImageList
,
35918 &_swigt__p_wxIndividualLayoutConstraint
,
35919 &_swigt__p_wxInitDialogEvent
,
35920 &_swigt__p_wxJPEGHandler
,
35921 &_swigt__p_wxKeyEvent
,
35922 &_swigt__p_wxLanguageInfo
,
35923 &_swigt__p_wxLayoutConstraints
,
35924 &_swigt__p_wxLocale
,
35926 &_swigt__p_wxMaximizeEvent
,
35927 &_swigt__p_wxMemoryDC
,
35929 &_swigt__p_wxMenuBar
,
35930 &_swigt__p_wxMenuEvent
,
35931 &_swigt__p_wxMenuItem
,
35932 &_swigt__p_wxMetaFile
,
35933 &_swigt__p_wxMetaFileDC
,
35934 &_swigt__p_wxMirrorDC
,
35935 &_swigt__p_wxMouseCaptureChangedEvent
,
35936 &_swigt__p_wxMouseCaptureLostEvent
,
35937 &_swigt__p_wxMouseEvent
,
35938 &_swigt__p_wxMoveEvent
,
35939 &_swigt__p_wxNativeEncodingInfo
,
35940 &_swigt__p_wxNativeFontInfo
,
35941 &_swigt__p_wxNativePixelData
,
35942 &_swigt__p_wxNativePixelData_Accessor
,
35943 &_swigt__p_wxNavigationKeyEvent
,
35944 &_swigt__p_wxNcPaintEvent
,
35945 &_swigt__p_wxNotifyEvent
,
35946 &_swigt__p_wxObject
,
35947 &_swigt__p_wxOverlay
,
35948 &_swigt__p_wxPCXHandler
,
35949 &_swigt__p_wxPNGHandler
,
35950 &_swigt__p_wxPNMHandler
,
35951 &_swigt__p_wxPaintDC
,
35952 &_swigt__p_wxPaintEvent
,
35953 &_swigt__p_wxPalette
,
35954 &_swigt__p_wxPaletteChangedEvent
,
35955 &_swigt__p_wxPaperSize
,
35957 &_swigt__p_wxPenList
,
35958 &_swigt__p_wxPixelDataBase
,
35959 &_swigt__p_wxPoint
,
35960 &_swigt__p_wxPoint2D
,
35961 &_swigt__p_wxPostScriptDC
,
35962 &_swigt__p_wxPrintData
,
35963 &_swigt__p_wxPrinterDC
,
35964 &_swigt__p_wxPseudoDC
,
35965 &_swigt__p_wxPyApp
,
35966 &_swigt__p_wxPyCommandEvent
,
35967 &_swigt__p_wxPyEvent
,
35968 &_swigt__p_wxPyFontEnumerator
,
35969 &_swigt__p_wxPyImageHandler
,
35970 &_swigt__p_wxPyLocale
,
35971 &_swigt__p_wxPySizer
,
35972 &_swigt__p_wxPyValidator
,
35973 &_swigt__p_wxQueryNewPaletteEvent
,
35975 &_swigt__p_wxRegion
,
35976 &_swigt__p_wxRegionIterator
,
35977 &_swigt__p_wxRendererNative
,
35978 &_swigt__p_wxRendererVersion
,
35979 &_swigt__p_wxScreenDC
,
35980 &_swigt__p_wxScrollEvent
,
35981 &_swigt__p_wxScrollWinEvent
,
35982 &_swigt__p_wxSetCursorEvent
,
35983 &_swigt__p_wxShowEvent
,
35985 &_swigt__p_wxSizeEvent
,
35986 &_swigt__p_wxSizer
,
35987 &_swigt__p_wxSizerItem
,
35988 &_swigt__p_wxSplitterRenderParams
,
35989 &_swigt__p_wxStaticBoxSizer
,
35990 &_swigt__p_wxStdDialogButtonSizer
,
35991 &_swigt__p_wxStockGDI
,
35992 &_swigt__p_wxString
,
35993 &_swigt__p_wxSysColourChangedEvent
,
35994 &_swigt__p_wxTIFFHandler
,
35995 &_swigt__p_wxUpdateUIEvent
,
35996 &_swigt__p_wxValidator
,
35997 &_swigt__p_wxWindow
,
35998 &_swigt__p_wxWindowCreateEvent
,
35999 &_swigt__p_wxWindowDC
,
36000 &_swigt__p_wxWindowDestroyEvent
,
36001 &_swigt__p_wxXPMHandler
,
36004 static swig_cast_info _swigc__p_buffer
[] = { {&_swigt__p_buffer
, 0, 0, 0},{0, 0, 0, 0}};
36005 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
36006 static swig_cast_info _swigc__p_double
[] = { {&_swigt__p_double
, 0, 0, 0},{0, 0, 0, 0}};
36007 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
36008 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
36009 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
36010 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
36011 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
36012 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
36013 static swig_cast_info _swigc__p_wxAlphaPixelData
[] = { {&_swigt__p_wxAlphaPixelData
, 0, 0, 0},{0, 0, 0, 0}};
36014 static swig_cast_info _swigc__p_wxAlphaPixelData_Accessor
[] = { {&_swigt__p_wxAlphaPixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
36015 static swig_cast_info _swigc__p_wxAutoBufferedPaintDC
[] = { {&_swigt__p_wxAutoBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
36016 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
36017 static swig_cast_info _swigc__p_wxBrush
[] = { {&_swigt__p_wxBrush
, 0, 0, 0},{0, 0, 0, 0}};
36018 static swig_cast_info _swigc__p_wxBrushList
[] = { {&_swigt__p_wxBrushList
, 0, 0, 0},{0, 0, 0, 0}};
36019 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}};
36020 static swig_cast_info _swigc__p_wxBufferedPaintDC
[] = { {&_swigt__p_wxBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
36021 static swig_cast_info _swigc__p_wxChar
[] = { {&_swigt__p_wxChar
, 0, 0, 0},{0, 0, 0, 0}};
36022 static swig_cast_info _swigc__p_wxClientDC
[] = { {&_swigt__p_wxClientDC
, 0, 0, 0}, {&_swigt__p_wxPaintDC
, _p_wxPaintDCTo_p_wxClientDC
, 0, 0},{0, 0, 0, 0}};
36023 static swig_cast_info _swigc__p_wxColor
[] = { {&_swigt__p_wxColor
, 0, 0, 0},{0, 0, 0, 0}};
36024 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
36025 static swig_cast_info _swigc__p_wxColourDatabase
[] = { {&_swigt__p_wxColourDatabase
, 0, 0, 0},{0, 0, 0, 0}};
36026 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
36027 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxPrinterDC
, _p_wxPrinterDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxPaintDC
, _p_wxPaintDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxBufferedPaintDC
, _p_wxBufferedPaintDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxAutoBufferedPaintDC
, _p_wxAutoBufferedPaintDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxMetaFileDC
, _p_wxMetaFileDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxClientDC
, _p_wxClientDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxPostScriptDC
, _p_wxPostScriptDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxDC
, 0, 0, 0}, {&_swigt__p_wxWindowDC
, _p_wxWindowDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxScreenDC
, _p_wxScreenDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxBufferedDC
, _p_wxBufferedDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxMemoryDC
, _p_wxMemoryDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxGCDC
, _p_wxGCDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxMirrorDC
, _p_wxMirrorDCTo_p_wxDC
, 0, 0},{0, 0, 0, 0}};
36028 static swig_cast_info _swigc__p_wxDCOverlay
[] = { {&_swigt__p_wxDCOverlay
, 0, 0, 0},{0, 0, 0, 0}};
36029 static swig_cast_info _swigc__p_wxDash
[] = { {&_swigt__p_wxDash
, 0, 0, 0},{0, 0, 0, 0}};
36030 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
36031 static swig_cast_info _swigc__p_wxEffects
[] = { {&_swigt__p_wxEffects
, 0, 0, 0},{0, 0, 0, 0}};
36032 static swig_cast_info _swigc__p_wxEncodingConverter
[] = { {&_swigt__p_wxEncodingConverter
, 0, 0, 0},{0, 0, 0, 0}};
36033 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
36034 static swig_cast_info _swigc__p_wxFontList
[] = { {&_swigt__p_wxFontList
, 0, 0, 0},{0, 0, 0, 0}};
36035 static swig_cast_info _swigc__p_wxFontMapper
[] = { {&_swigt__p_wxFontMapper
, 0, 0, 0},{0, 0, 0, 0}};
36036 static swig_cast_info _swigc__p_wxGCDC
[] = { {&_swigt__p_wxGCDC
, 0, 0, 0},{0, 0, 0, 0}};
36037 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}};
36038 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}};
36039 static swig_cast_info _swigc__p_wxGraphicsContext
[] = { {&_swigt__p_wxGraphicsContext
, 0, 0, 0},{0, 0, 0, 0}};
36040 static swig_cast_info _swigc__p_wxGraphicsPath
[] = { {&_swigt__p_wxGraphicsPath
, 0, 0, 0},{0, 0, 0, 0}};
36041 static swig_cast_info _swigc__p_wxHeaderButtonParams
[] = { {&_swigt__p_wxHeaderButtonParams
, 0, 0, 0},{0, 0, 0, 0}};
36042 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
36043 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
36044 static swig_cast_info _swigc__p_wxIconLocation
[] = { {&_swigt__p_wxIconLocation
, 0, 0, 0},{0, 0, 0, 0}};
36045 static swig_cast_info _swigc__p_wxImage
[] = { {&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
36046 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
36047 static swig_cast_info _swigc__p_wxLanguageInfo
[] = { {&_swigt__p_wxLanguageInfo
, 0, 0, 0},{0, 0, 0, 0}};
36048 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}};
36049 static swig_cast_info _swigc__p_wxMask
[] = { {&_swigt__p_wxMask
, 0, 0, 0},{0, 0, 0, 0}};
36050 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}};
36051 static swig_cast_info _swigc__p_wxMetaFile
[] = { {&_swigt__p_wxMetaFile
, 0, 0, 0},{0, 0, 0, 0}};
36052 static swig_cast_info _swigc__p_wxMetaFileDC
[] = { {&_swigt__p_wxMetaFileDC
, 0, 0, 0},{0, 0, 0, 0}};
36053 static swig_cast_info _swigc__p_wxMirrorDC
[] = { {&_swigt__p_wxMirrorDC
, 0, 0, 0},{0, 0, 0, 0}};
36054 static swig_cast_info _swigc__p_wxNativeEncodingInfo
[] = { {&_swigt__p_wxNativeEncodingInfo
, 0, 0, 0},{0, 0, 0, 0}};
36055 static swig_cast_info _swigc__p_wxNativeFontInfo
[] = { {&_swigt__p_wxNativeFontInfo
, 0, 0, 0},{0, 0, 0, 0}};
36056 static swig_cast_info _swigc__p_wxNativePixelData
[] = { {&_swigt__p_wxNativePixelData
, 0, 0, 0},{0, 0, 0, 0}};
36057 static swig_cast_info _swigc__p_wxNativePixelData_Accessor
[] = { {&_swigt__p_wxNativePixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
36058 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
36059 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
36060 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
36061 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
36062 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
36063 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
36064 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
36065 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
36066 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
36067 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
36068 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
36069 static swig_cast_info _swigc__p_wxEvent
[] = {{&_swigt__p_wxEvent
, 0, 0, 0},{0, 0, 0, 0}};
36070 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
36071 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
36072 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
36073 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
36074 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
36075 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
36076 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
36077 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
36078 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
36079 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
36080 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
36081 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
36082 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
36083 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
36084 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
36085 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
36086 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
36087 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
36088 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
36089 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
36090 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
36091 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
36092 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
36093 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
36094 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
36095 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
36096 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
36097 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
36098 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
36099 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
36100 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
36101 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
36102 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
36103 static swig_cast_info _swigc__p_wxEvtHandler
[] = {{&_swigt__p_wxEvtHandler
, 0, 0, 0},{0, 0, 0, 0}};
36104 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
36105 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
36106 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
36107 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
36108 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
36109 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
36110 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
36111 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
36112 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
36113 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
36114 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
36115 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
36116 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
36117 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
36118 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
36119 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
36120 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
36121 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
36122 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
36123 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
36124 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
36125 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
36126 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
36127 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
36128 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
36129 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
36130 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
36131 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
36132 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
36133 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
36134 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_wxGCDC
, _p_wxGCDCTo_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_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_wxCURHandler
, _p_wxCURHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxANIHandler
, _p_wxANIHandlerTo_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_wxAutoBufferedPaintDC
, _p_wxAutoBufferedPaintDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBufferedPaintDC
, _p_wxBufferedPaintDCTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintDC
, _p_wxPaintDCTo_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}};
36135 static swig_cast_info _swigc__p_wxOverlay
[] = { {&_swigt__p_wxOverlay
, 0, 0, 0},{0, 0, 0, 0}};
36136 static swig_cast_info _swigc__p_wxPaintDC
[] = { {&_swigt__p_wxPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
36137 static swig_cast_info _swigc__p_wxPalette
[] = { {&_swigt__p_wxPalette
, 0, 0, 0},{0, 0, 0, 0}};
36138 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
36139 static swig_cast_info _swigc__p_wxPen
[] = { {&_swigt__p_wxPen
, 0, 0, 0},{0, 0, 0, 0}};
36140 static swig_cast_info _swigc__p_wxPenList
[] = { {&_swigt__p_wxPenList
, 0, 0, 0},{0, 0, 0, 0}};
36141 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}};
36142 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
36143 static swig_cast_info _swigc__p_wxPoint2D
[] = { {&_swigt__p_wxPoint2D
, 0, 0, 0},{0, 0, 0, 0}};
36144 static swig_cast_info _swigc__p_wxPostScriptDC
[] = { {&_swigt__p_wxPostScriptDC
, 0, 0, 0},{0, 0, 0, 0}};
36145 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
36146 static swig_cast_info _swigc__p_wxPrinterDC
[] = { {&_swigt__p_wxPrinterDC
, 0, 0, 0},{0, 0, 0, 0}};
36147 static swig_cast_info _swigc__p_wxPseudoDC
[] = { {&_swigt__p_wxPseudoDC
, 0, 0, 0},{0, 0, 0, 0}};
36148 static swig_cast_info _swigc__p_wxPyFontEnumerator
[] = { {&_swigt__p_wxPyFontEnumerator
, 0, 0, 0},{0, 0, 0, 0}};
36149 static swig_cast_info _swigc__p_wxPyLocale
[] = { {&_swigt__p_wxPyLocale
, 0, 0, 0},{0, 0, 0, 0}};
36150 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
36151 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
36152 static swig_cast_info _swigc__p_wxRegionIterator
[] = { {&_swigt__p_wxRegionIterator
, 0, 0, 0},{0, 0, 0, 0}};
36153 static swig_cast_info _swigc__p_wxRendererNative
[] = { {&_swigt__p_wxRendererNative
, 0, 0, 0},{0, 0, 0, 0}};
36154 static swig_cast_info _swigc__p_wxRendererVersion
[] = { {&_swigt__p_wxRendererVersion
, 0, 0, 0},{0, 0, 0, 0}};
36155 static swig_cast_info _swigc__p_wxScreenDC
[] = { {&_swigt__p_wxScreenDC
, 0, 0, 0},{0, 0, 0, 0}};
36156 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
36157 static swig_cast_info _swigc__p_wxSplitterRenderParams
[] = { {&_swigt__p_wxSplitterRenderParams
, 0, 0, 0},{0, 0, 0, 0}};
36158 static swig_cast_info _swigc__p_wxStockGDI
[] = { {&_swigt__p_wxStockGDI
, 0, 0, 0},{0, 0, 0, 0}};
36159 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
36160 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}};
36161 static swig_cast_info _swigc__p_wxWindowDC
[] = { {&_swigt__p_wxWindowDC
, 0, 0, 0}, {&_swigt__p_wxClientDC
, _p_wxClientDCTo_p_wxWindowDC
, 0, 0}, {&_swigt__p_wxPaintDC
, _p_wxPaintDCTo_p_wxWindowDC
, 0, 0},{0, 0, 0, 0}};
36163 static swig_cast_info
*swig_cast_initial
[] = {
36167 _swigc__p_form_ops_t
,
36169 _swigc__p_unsigned_char
,
36170 _swigc__p_unsigned_int
,
36171 _swigc__p_unsigned_long
,
36173 _swigc__p_wxANIHandler
,
36174 _swigc__p_wxAcceleratorTable
,
36175 _swigc__p_wxActivateEvent
,
36176 _swigc__p_wxAlphaPixelData
,
36177 _swigc__p_wxAlphaPixelData_Accessor
,
36178 _swigc__p_wxAutoBufferedPaintDC
,
36179 _swigc__p_wxBMPHandler
,
36180 _swigc__p_wxBitmap
,
36181 _swigc__p_wxBoxSizer
,
36183 _swigc__p_wxBrushList
,
36184 _swigc__p_wxBufferedDC
,
36185 _swigc__p_wxBufferedPaintDC
,
36186 _swigc__p_wxCURHandler
,
36188 _swigc__p_wxChildFocusEvent
,
36189 _swigc__p_wxClientDC
,
36190 _swigc__p_wxClipboardTextEvent
,
36191 _swigc__p_wxCloseEvent
,
36193 _swigc__p_wxColour
,
36194 _swigc__p_wxColourDatabase
,
36195 _swigc__p_wxCommandEvent
,
36196 _swigc__p_wxContextMenuEvent
,
36197 _swigc__p_wxControl
,
36198 _swigc__p_wxControlWithItems
,
36199 _swigc__p_wxCursor
,
36201 _swigc__p_wxDCOverlay
,
36203 _swigc__p_wxDateEvent
,
36204 _swigc__p_wxDisplayChangedEvent
,
36205 _swigc__p_wxDropFilesEvent
,
36206 _swigc__p_wxDuplexMode
,
36207 _swigc__p_wxEffects
,
36208 _swigc__p_wxEncodingConverter
,
36209 _swigc__p_wxEraseEvent
,
36211 _swigc__p_wxEvtHandler
,
36212 _swigc__p_wxFSFile
,
36213 _swigc__p_wxFileSystem
,
36214 _swigc__p_wxFlexGridSizer
,
36215 _swigc__p_wxFocusEvent
,
36217 _swigc__p_wxFontList
,
36218 _swigc__p_wxFontMapper
,
36219 _swigc__p_wxGBSizerItem
,
36221 _swigc__p_wxGDIObjListBase
,
36222 _swigc__p_wxGDIObject
,
36223 _swigc__p_wxGIFHandler
,
36224 _swigc__p_wxGraphicsContext
,
36225 _swigc__p_wxGraphicsPath
,
36226 _swigc__p_wxGridBagSizer
,
36227 _swigc__p_wxGridSizer
,
36228 _swigc__p_wxHeaderButtonParams
,
36229 _swigc__p_wxICOHandler
,
36231 _swigc__p_wxIconBundle
,
36232 _swigc__p_wxIconLocation
,
36233 _swigc__p_wxIconizeEvent
,
36234 _swigc__p_wxIdleEvent
,
36236 _swigc__p_wxImageHandler
,
36237 _swigc__p_wxImageList
,
36238 _swigc__p_wxIndividualLayoutConstraint
,
36239 _swigc__p_wxInitDialogEvent
,
36240 _swigc__p_wxJPEGHandler
,
36241 _swigc__p_wxKeyEvent
,
36242 _swigc__p_wxLanguageInfo
,
36243 _swigc__p_wxLayoutConstraints
,
36244 _swigc__p_wxLocale
,
36246 _swigc__p_wxMaximizeEvent
,
36247 _swigc__p_wxMemoryDC
,
36249 _swigc__p_wxMenuBar
,
36250 _swigc__p_wxMenuEvent
,
36251 _swigc__p_wxMenuItem
,
36252 _swigc__p_wxMetaFile
,
36253 _swigc__p_wxMetaFileDC
,
36254 _swigc__p_wxMirrorDC
,
36255 _swigc__p_wxMouseCaptureChangedEvent
,
36256 _swigc__p_wxMouseCaptureLostEvent
,
36257 _swigc__p_wxMouseEvent
,
36258 _swigc__p_wxMoveEvent
,
36259 _swigc__p_wxNativeEncodingInfo
,
36260 _swigc__p_wxNativeFontInfo
,
36261 _swigc__p_wxNativePixelData
,
36262 _swigc__p_wxNativePixelData_Accessor
,
36263 _swigc__p_wxNavigationKeyEvent
,
36264 _swigc__p_wxNcPaintEvent
,
36265 _swigc__p_wxNotifyEvent
,
36266 _swigc__p_wxObject
,
36267 _swigc__p_wxOverlay
,
36268 _swigc__p_wxPCXHandler
,
36269 _swigc__p_wxPNGHandler
,
36270 _swigc__p_wxPNMHandler
,
36271 _swigc__p_wxPaintDC
,
36272 _swigc__p_wxPaintEvent
,
36273 _swigc__p_wxPalette
,
36274 _swigc__p_wxPaletteChangedEvent
,
36275 _swigc__p_wxPaperSize
,
36277 _swigc__p_wxPenList
,
36278 _swigc__p_wxPixelDataBase
,
36280 _swigc__p_wxPoint2D
,
36281 _swigc__p_wxPostScriptDC
,
36282 _swigc__p_wxPrintData
,
36283 _swigc__p_wxPrinterDC
,
36284 _swigc__p_wxPseudoDC
,
36286 _swigc__p_wxPyCommandEvent
,
36287 _swigc__p_wxPyEvent
,
36288 _swigc__p_wxPyFontEnumerator
,
36289 _swigc__p_wxPyImageHandler
,
36290 _swigc__p_wxPyLocale
,
36291 _swigc__p_wxPySizer
,
36292 _swigc__p_wxPyValidator
,
36293 _swigc__p_wxQueryNewPaletteEvent
,
36295 _swigc__p_wxRegion
,
36296 _swigc__p_wxRegionIterator
,
36297 _swigc__p_wxRendererNative
,
36298 _swigc__p_wxRendererVersion
,
36299 _swigc__p_wxScreenDC
,
36300 _swigc__p_wxScrollEvent
,
36301 _swigc__p_wxScrollWinEvent
,
36302 _swigc__p_wxSetCursorEvent
,
36303 _swigc__p_wxShowEvent
,
36305 _swigc__p_wxSizeEvent
,
36307 _swigc__p_wxSizerItem
,
36308 _swigc__p_wxSplitterRenderParams
,
36309 _swigc__p_wxStaticBoxSizer
,
36310 _swigc__p_wxStdDialogButtonSizer
,
36311 _swigc__p_wxStockGDI
,
36312 _swigc__p_wxString
,
36313 _swigc__p_wxSysColourChangedEvent
,
36314 _swigc__p_wxTIFFHandler
,
36315 _swigc__p_wxUpdateUIEvent
,
36316 _swigc__p_wxValidator
,
36317 _swigc__p_wxWindow
,
36318 _swigc__p_wxWindowCreateEvent
,
36319 _swigc__p_wxWindowDC
,
36320 _swigc__p_wxWindowDestroyEvent
,
36321 _swigc__p_wxXPMHandler
,
36325 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
36327 static swig_const_info swig_const_table
[] = {
36328 {0, 0, 0, 0.0, 0, 0}};
36333 /* -----------------------------------------------------------------------------
36334 * Type initialization:
36335 * This problem is tough by the requirement that no dynamic
36336 * memory is used. Also, since swig_type_info structures store pointers to
36337 * swig_cast_info structures and swig_cast_info structures store pointers back
36338 * to swig_type_info structures, we need some lookup code at initialization.
36339 * The idea is that swig generates all the structures that are needed.
36340 * The runtime then collects these partially filled structures.
36341 * The SWIG_InitializeModule function takes these initial arrays out of
36342 * swig_module, and does all the lookup, filling in the swig_module.types
36343 * array with the correct data and linking the correct swig_cast_info
36344 * structures together.
36346 * The generated swig_type_info structures are assigned staticly to an initial
36347 * array. We just loop though that array, and handle each type individually.
36348 * First we lookup if this type has been already loaded, and if so, use the
36349 * loaded structure instead of the generated one. Then we have to fill in the
36350 * cast linked list. The cast data is initially stored in something like a
36351 * two-dimensional array. Each row corresponds to a type (there are the same
36352 * number of rows as there are in the swig_type_initial array). Each entry in
36353 * a column is one of the swig_cast_info structures for that type.
36354 * The cast_initial array is actually an array of arrays, because each row has
36355 * a variable number of columns. So to actually build the cast linked list,
36356 * we find the array of casts associated with the type, and loop through it
36357 * adding the casts to the list. The one last trick we need to do is making
36358 * sure the type pointer in the swig_cast_info struct is correct.
36360 * First off, we lookup the cast->type name to see if it is already loaded.
36361 * There are three cases to handle:
36362 * 1) If the cast->type has already been loaded AND the type we are adding
36363 * casting info to has not been loaded (it is in this module), THEN we
36364 * replace the cast->type pointer with the type pointer that has already
36366 * 2) If BOTH types (the one we are adding casting info to, and the
36367 * cast->type) are loaded, THEN the cast info has already been loaded by
36368 * the previous module so we just ignore it.
36369 * 3) Finally, if cast->type has not already been loaded, then we add that
36370 * swig_cast_info to the linked list (because the cast->type) pointer will
36372 * ----------------------------------------------------------------------------- */
36382 #define SWIGRUNTIME_DEBUG
36386 SWIG_InitializeModule(void *clientdata
) {
36388 swig_module_info
*module_head
;
36389 static int init_run
= 0;
36391 clientdata
= clientdata
;
36393 if (init_run
) return;
36396 /* Initialize the swig_module */
36397 swig_module
.type_initial
= swig_type_initial
;
36398 swig_module
.cast_initial
= swig_cast_initial
;
36400 /* Try and load any already created modules */
36401 module_head
= SWIG_GetModule(clientdata
);
36403 swig_module
.next
= module_head
->next
;
36404 module_head
->next
= &swig_module
;
36406 /* This is the first module loaded */
36407 swig_module
.next
= &swig_module
;
36408 SWIG_SetModule(clientdata
, &swig_module
);
36411 /* Now work on filling in swig_module.types */
36412 #ifdef SWIGRUNTIME_DEBUG
36413 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
36415 for (i
= 0; i
< swig_module
.size
; ++i
) {
36416 swig_type_info
*type
= 0;
36417 swig_type_info
*ret
;
36418 swig_cast_info
*cast
;
36420 #ifdef SWIGRUNTIME_DEBUG
36421 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
36424 /* if there is another module already loaded */
36425 if (swig_module
.next
!= &swig_module
) {
36426 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
36429 /* Overwrite clientdata field */
36430 #ifdef SWIGRUNTIME_DEBUG
36431 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
36433 if (swig_module
.type_initial
[i
]->clientdata
) {
36434 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
36435 #ifdef SWIGRUNTIME_DEBUG
36436 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
36440 type
= swig_module
.type_initial
[i
];
36443 /* Insert casting types */
36444 cast
= swig_module
.cast_initial
[i
];
36445 while (cast
->type
) {
36446 /* Don't need to add information already in the list */
36448 #ifdef SWIGRUNTIME_DEBUG
36449 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
36451 if (swig_module
.next
!= &swig_module
) {
36452 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
36453 #ifdef SWIGRUNTIME_DEBUG
36454 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
36458 if (type
== swig_module
.type_initial
[i
]) {
36459 #ifdef SWIGRUNTIME_DEBUG
36460 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
36465 /* Check for casting already in the list */
36466 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
36467 #ifdef SWIGRUNTIME_DEBUG
36468 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
36470 if (!ocast
) ret
= 0;
36475 #ifdef SWIGRUNTIME_DEBUG
36476 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
36479 type
->cast
->prev
= cast
;
36480 cast
->next
= type
->cast
;
36486 /* Set entry in modules->types array equal to the type */
36487 swig_module
.types
[i
] = type
;
36489 swig_module
.types
[i
] = 0;
36491 #ifdef SWIGRUNTIME_DEBUG
36492 printf("**** SWIG_InitializeModule: Cast List ******\n");
36493 for (i
= 0; i
< swig_module
.size
; ++i
) {
36495 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
36496 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
36497 while (cast
->type
) {
36498 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
36502 printf("---- Total casts: %d\n",j
);
36504 printf("**** SWIG_InitializeModule: Cast List ******\n");
36508 /* This function will propagate the clientdata field of type to
36509 * any new swig_type_info structures that have been added into the list
36510 * of equivalent types. It is like calling
36511 * SWIG_TypeClientData(type, clientdata) a second time.
36514 SWIG_PropagateClientData(void) {
36516 swig_cast_info
*equiv
;
36517 static int init_run
= 0;
36519 if (init_run
) return;
36522 for (i
= 0; i
< swig_module
.size
; i
++) {
36523 if (swig_module
.types
[i
]->clientdata
) {
36524 equiv
= swig_module
.types
[i
]->cast
;
36526 if (!equiv
->converter
) {
36527 if (equiv
->type
&& !equiv
->type
->clientdata
)
36528 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
36530 equiv
= equiv
->next
;
36550 /* Python-specific SWIG API */
36551 #define SWIG_newvarlink() SWIG_Python_newvarlink()
36552 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
36553 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
36555 /* -----------------------------------------------------------------------------
36556 * global variable support code.
36557 * ----------------------------------------------------------------------------- */
36559 typedef struct swig_globalvar
{
36560 char *name
; /* Name of global variable */
36561 PyObject
*(*get_attr
)(void); /* Return the current value */
36562 int (*set_attr
)(PyObject
*); /* Set the value */
36563 struct swig_globalvar
*next
;
36566 typedef struct swig_varlinkobject
{
36568 swig_globalvar
*vars
;
36569 } swig_varlinkobject
;
36571 SWIGINTERN PyObject
*
36572 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
36573 return PyString_FromString("<Swig global variables>");
36576 SWIGINTERN PyObject
*
36577 swig_varlink_str(swig_varlinkobject
*v
) {
36578 PyObject
*str
= PyString_FromString("(");
36579 swig_globalvar
*var
;
36580 for (var
= v
->vars
; var
; var
=var
->next
) {
36581 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
36582 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
36584 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
36589 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
36590 PyObject
*str
= swig_varlink_str(v
);
36591 fprintf(fp
,"Swig global variables ");
36592 fprintf(fp
,"%s\n", PyString_AsString(str
));
36598 swig_varlink_dealloc(swig_varlinkobject
*v
) {
36599 swig_globalvar
*var
= v
->vars
;
36601 swig_globalvar
*n
= var
->next
;
36608 SWIGINTERN PyObject
*
36609 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
36610 PyObject
*res
= NULL
;
36611 swig_globalvar
*var
= v
->vars
;
36613 if (strcmp(var
->name
,n
) == 0) {
36614 res
= (*var
->get_attr
)();
36619 if (res
== NULL
&& !PyErr_Occurred()) {
36620 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
36626 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
36628 swig_globalvar
*var
= v
->vars
;
36630 if (strcmp(var
->name
,n
) == 0) {
36631 res
= (*var
->set_attr
)(p
);
36636 if (res
== 1 && !PyErr_Occurred()) {
36637 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
36642 SWIGINTERN PyTypeObject
*
36643 swig_varlink_type(void) {
36644 static char varlink__doc__
[] = "Swig var link object";
36645 static PyTypeObject varlink_type
;
36646 static int type_init
= 0;
36648 const PyTypeObject tmp
36650 PyObject_HEAD_INIT(NULL
)
36651 0, /* Number of items in variable part (ob_size) */
36652 (char *)"swigvarlink", /* Type name (tp_name) */
36653 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
36654 0, /* Itemsize (tp_itemsize) */
36655 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
36656 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
36657 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
36658 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
36659 0, /* tp_compare */
36660 (reprfunc
) swig_varlink_repr
, /* tp_repr */
36661 0, /* tp_as_number */
36662 0, /* tp_as_sequence */
36663 0, /* tp_as_mapping */
36666 (reprfunc
)swig_varlink_str
, /* tp_str */
36667 0, /* tp_getattro */
36668 0, /* tp_setattro */
36669 0, /* tp_as_buffer */
36671 varlink__doc__
, /* tp_doc */
36672 0, /* tp_traverse */
36674 0, /* tp_richcompare */
36675 0, /* tp_weaklistoffset */
36676 #if PY_VERSION_HEX >= 0x02020000
36677 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
36679 #if PY_VERSION_HEX >= 0x02030000
36682 #ifdef COUNT_ALLOCS
36683 0,0,0,0 /* tp_alloc -> tp_next */
36686 varlink_type
= tmp
;
36687 varlink_type
.ob_type
= &PyType_Type
;
36690 return &varlink_type
;
36693 /* Create a variable linking object for use later */
36694 SWIGINTERN PyObject
*
36695 SWIG_Python_newvarlink(void) {
36696 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
36700 return ((PyObject
*) result
);
36704 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
36705 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
36706 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
36708 size_t size
= strlen(name
)+1;
36709 gv
->name
= (char *)malloc(size
);
36711 strncpy(gv
->name
,name
,size
);
36712 gv
->get_attr
= get_attr
;
36713 gv
->set_attr
= set_attr
;
36714 gv
->next
= v
->vars
;
36720 SWIGINTERN PyObject
*
36722 static PyObject
*_SWIG_globals
= 0;
36723 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
36724 return _SWIG_globals
;
36727 /* -----------------------------------------------------------------------------
36728 * constants/methods manipulation
36729 * ----------------------------------------------------------------------------- */
36731 /* Install Constants */
36733 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
36736 for (i
= 0; constants
[i
].type
; ++i
) {
36737 switch(constants
[i
].type
) {
36738 case SWIG_PY_POINTER
:
36739 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
36741 case SWIG_PY_BINARY
:
36742 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
36749 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
36755 /* -----------------------------------------------------------------------------*/
36756 /* Fix SwigMethods to carry the callback ptrs when needed */
36757 /* -----------------------------------------------------------------------------*/
36760 SWIG_Python_FixMethods(PyMethodDef
*methods
,
36761 swig_const_info
*const_table
,
36762 swig_type_info
**types
,
36763 swig_type_info
**types_initial
) {
36765 for (i
= 0; methods
[i
].ml_name
; ++i
) {
36766 const char *c
= methods
[i
].ml_doc
;
36767 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
36769 swig_const_info
*ci
= 0;
36770 const char *name
= c
+ 10;
36771 for (j
= 0; const_table
[j
].type
; ++j
) {
36772 if (strncmp(const_table
[j
].name
, name
,
36773 strlen(const_table
[j
].name
)) == 0) {
36774 ci
= &(const_table
[j
]);
36779 size_t shift
= (ci
->ptype
) - types
;
36780 swig_type_info
*ty
= types_initial
[shift
];
36781 size_t ldoc
= (c
- methods
[i
].ml_doc
);
36782 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
36783 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
36786 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
36788 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
36790 strncpy(buff
, "swig_ptr: ", 10);
36792 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
36793 methods
[i
].ml_doc
= ndoc
;
36805 /* -----------------------------------------------------------------------------*
36806 * Partial Init method
36807 * -----------------------------------------------------------------------------*/
36812 SWIGEXPORT
void SWIG_init(void) {
36815 /* Fix SwigMethods to carry the callback ptrs when needed */
36816 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
36818 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
36819 d
= PyModule_GetDict(m
);
36821 SWIG_InitializeModule(0);
36822 SWIG_InstallConstants(d
,swig_const_table
);
36825 SWIG_Python_SetConstant(d
, "C2S_NAME",SWIG_From_int(static_cast< int >(wxC2S_NAME
)));
36826 SWIG_Python_SetConstant(d
, "C2S_CSS_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_CSS_SYNTAX
)));
36827 SWIG_Python_SetConstant(d
, "C2S_HTML_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_HTML_SYNTAX
)));
36828 SWIG_Python_SetConstant(d
, "ALPHA_TRANSPARENT",SWIG_From_int(static_cast< int >(wxALPHA_TRANSPARENT
)));
36829 SWIG_Python_SetConstant(d
, "ALPHA_OPAQUE",SWIG_From_int(static_cast< int >(wxALPHA_OPAQUE
)));
36830 SWIG_Python_SetConstant(d
, "OutRegion",SWIG_From_int(static_cast< int >(wxOutRegion
)));
36831 SWIG_Python_SetConstant(d
, "PartRegion",SWIG_From_int(static_cast< int >(wxPartRegion
)));
36832 SWIG_Python_SetConstant(d
, "InRegion",SWIG_From_int(static_cast< int >(wxInRegion
)));
36833 SWIG_Python_SetConstant(d
, "FONTFAMILY_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DEFAULT
)));
36834 SWIG_Python_SetConstant(d
, "FONTFAMILY_DECORATIVE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DECORATIVE
)));
36835 SWIG_Python_SetConstant(d
, "FONTFAMILY_ROMAN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_ROMAN
)));
36836 SWIG_Python_SetConstant(d
, "FONTFAMILY_SCRIPT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SCRIPT
)));
36837 SWIG_Python_SetConstant(d
, "FONTFAMILY_SWISS",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SWISS
)));
36838 SWIG_Python_SetConstant(d
, "FONTFAMILY_MODERN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MODERN
)));
36839 SWIG_Python_SetConstant(d
, "FONTFAMILY_TELETYPE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_TELETYPE
)));
36840 SWIG_Python_SetConstant(d
, "FONTFAMILY_MAX",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MAX
)));
36841 SWIG_Python_SetConstant(d
, "FONTFAMILY_UNKNOWN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_UNKNOWN
)));
36842 SWIG_Python_SetConstant(d
, "FONTSTYLE_NORMAL",SWIG_From_int(static_cast< int >(wxFONTSTYLE_NORMAL
)));
36843 SWIG_Python_SetConstant(d
, "FONTSTYLE_ITALIC",SWIG_From_int(static_cast< int >(wxFONTSTYLE_ITALIC
)));
36844 SWIG_Python_SetConstant(d
, "FONTSTYLE_SLANT",SWIG_From_int(static_cast< int >(wxFONTSTYLE_SLANT
)));
36845 SWIG_Python_SetConstant(d
, "FONTSTYLE_MAX",SWIG_From_int(static_cast< int >(wxFONTSTYLE_MAX
)));
36846 SWIG_Python_SetConstant(d
, "FONTWEIGHT_NORMAL",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_NORMAL
)));
36847 SWIG_Python_SetConstant(d
, "FONTWEIGHT_LIGHT",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_LIGHT
)));
36848 SWIG_Python_SetConstant(d
, "FONTWEIGHT_BOLD",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_BOLD
)));
36849 SWIG_Python_SetConstant(d
, "FONTWEIGHT_MAX",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_MAX
)));
36850 SWIG_Python_SetConstant(d
, "FONTFLAG_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFLAG_DEFAULT
)));
36851 SWIG_Python_SetConstant(d
, "FONTFLAG_ITALIC",SWIG_From_int(static_cast< int >(wxFONTFLAG_ITALIC
)));
36852 SWIG_Python_SetConstant(d
, "FONTFLAG_SLANT",SWIG_From_int(static_cast< int >(wxFONTFLAG_SLANT
)));
36853 SWIG_Python_SetConstant(d
, "FONTFLAG_LIGHT",SWIG_From_int(static_cast< int >(wxFONTFLAG_LIGHT
)));
36854 SWIG_Python_SetConstant(d
, "FONTFLAG_BOLD",SWIG_From_int(static_cast< int >(wxFONTFLAG_BOLD
)));
36855 SWIG_Python_SetConstant(d
, "FONTFLAG_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_ANTIALIASED
)));
36856 SWIG_Python_SetConstant(d
, "FONTFLAG_NOT_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_NOT_ANTIALIASED
)));
36857 SWIG_Python_SetConstant(d
, "FONTFLAG_UNDERLINED",SWIG_From_int(static_cast< int >(wxFONTFLAG_UNDERLINED
)));
36858 SWIG_Python_SetConstant(d
, "FONTFLAG_STRIKETHROUGH",SWIG_From_int(static_cast< int >(wxFONTFLAG_STRIKETHROUGH
)));
36859 SWIG_Python_SetConstant(d
, "FONTFLAG_MASK",SWIG_From_int(static_cast< int >(wxFONTFLAG_MASK
)));
36860 SWIG_Python_SetConstant(d
, "FONTENCODING_SYSTEM",SWIG_From_int(static_cast< int >(wxFONTENCODING_SYSTEM
)));
36861 SWIG_Python_SetConstant(d
, "FONTENCODING_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTENCODING_DEFAULT
)));
36862 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_1",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_1
)));
36863 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_2",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_2
)));
36864 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_3",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_3
)));
36865 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_4",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_4
)));
36866 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_5",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_5
)));
36867 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_6",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_6
)));
36868 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_7",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_7
)));
36869 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_8",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_8
)));
36870 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_9",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_9
)));
36871 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_10",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_10
)));
36872 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_11",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_11
)));
36873 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_12",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_12
)));
36874 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_13",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_13
)));
36875 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_14",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_14
)));
36876 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_15",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_15
)));
36877 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_MAX
)));
36878 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8
)));
36879 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8_U",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8_U
)));
36880 SWIG_Python_SetConstant(d
, "FONTENCODING_ALTERNATIVE",SWIG_From_int(static_cast< int >(wxFONTENCODING_ALTERNATIVE
)));
36881 SWIG_Python_SetConstant(d
, "FONTENCODING_BULGARIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_BULGARIAN
)));
36882 SWIG_Python_SetConstant(d
, "FONTENCODING_CP437",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP437
)));
36883 SWIG_Python_SetConstant(d
, "FONTENCODING_CP850",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP850
)));
36884 SWIG_Python_SetConstant(d
, "FONTENCODING_CP852",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP852
)));
36885 SWIG_Python_SetConstant(d
, "FONTENCODING_CP855",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP855
)));
36886 SWIG_Python_SetConstant(d
, "FONTENCODING_CP866",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP866
)));
36887 SWIG_Python_SetConstant(d
, "FONTENCODING_CP874",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP874
)));
36888 SWIG_Python_SetConstant(d
, "FONTENCODING_CP932",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP932
)));
36889 SWIG_Python_SetConstant(d
, "FONTENCODING_CP936",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP936
)));
36890 SWIG_Python_SetConstant(d
, "FONTENCODING_CP949",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP949
)));
36891 SWIG_Python_SetConstant(d
, "FONTENCODING_CP950",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP950
)));
36892 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1250",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1250
)));
36893 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1251",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1251
)));
36894 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1252",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1252
)));
36895 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1253",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1253
)));
36896 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1254",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1254
)));
36897 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1255",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1255
)));
36898 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1256",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1256
)));
36899 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1257",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1257
)));
36900 SWIG_Python_SetConstant(d
, "FONTENCODING_CP12_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP12_MAX
)));
36901 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF7",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF7
)));
36902 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF8",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF8
)));
36903 SWIG_Python_SetConstant(d
, "FONTENCODING_EUC_JP",SWIG_From_int(static_cast< int >(wxFONTENCODING_EUC_JP
)));
36904 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16BE
)));
36905 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16LE
)));
36906 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32BE
)));
36907 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32LE
)));
36908 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMAN
)));
36909 SWIG_Python_SetConstant(d
, "FONTENCODING_MACJAPANESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACJAPANESE
)));
36910 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESETRAD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESETRAD
)));
36911 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKOREAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKOREAN
)));
36912 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABIC
)));
36913 SWIG_Python_SetConstant(d
, "FONTENCODING_MACHEBREW",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACHEBREW
)));
36914 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGREEK",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGREEK
)));
36915 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCYRILLIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCYRILLIC
)));
36916 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDEVANAGARI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDEVANAGARI
)));
36917 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGURMUKHI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGURMUKHI
)));
36918 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGUJARATI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGUJARATI
)));
36919 SWIG_Python_SetConstant(d
, "FONTENCODING_MACORIYA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACORIYA
)));
36920 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBENGALI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBENGALI
)));
36921 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTAMIL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTAMIL
)));
36922 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTELUGU",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTELUGU
)));
36923 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKANNADA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKANNADA
)));
36924 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMALAJALAM",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMALAJALAM
)));
36925 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSINHALESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSINHALESE
)));
36926 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBURMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBURMESE
)));
36927 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKHMER",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKHMER
)));
36928 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTHAI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTHAI
)));
36929 SWIG_Python_SetConstant(d
, "FONTENCODING_MACLAOTIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACLAOTIAN
)));
36930 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGEORGIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGEORGIAN
)));
36931 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARMENIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARMENIAN
)));
36932 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESESIMP",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESESIMP
)));
36933 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTIBETAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTIBETAN
)));
36934 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMONGOLIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMONGOLIAN
)));
36935 SWIG_Python_SetConstant(d
, "FONTENCODING_MACETHIOPIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACETHIOPIC
)));
36936 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCENTRALEUR",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCENTRALEUR
)));
36937 SWIG_Python_SetConstant(d
, "FONTENCODING_MACVIATNAMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACVIATNAMESE
)));
36938 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABICEXT",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABICEXT
)));
36939 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSYMBOL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSYMBOL
)));
36940 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDINGBATS",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDINGBATS
)));
36941 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTURKISH",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTURKISH
)));
36942 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCROATIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCROATIAN
)));
36943 SWIG_Python_SetConstant(d
, "FONTENCODING_MACICELANDIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACICELANDIC
)));
36944 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMANIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMANIAN
)));
36945 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCELTIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCELTIC
)));
36946 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGAELIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGAELIC
)));
36947 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKEYBOARD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKEYBOARD
)));
36948 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMIN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMIN
)));
36949 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMAX
)));
36950 SWIG_Python_SetConstant(d
, "FONTENCODING_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MAX
)));
36951 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16
)));
36952 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32
)));
36953 SWIG_Python_SetConstant(d
, "FONTENCODING_UNICODE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UNICODE
)));
36954 SWIG_Python_SetConstant(d
, "FONTENCODING_GB2312",SWIG_From_int(static_cast< int >(wxFONTENCODING_GB2312
)));
36955 SWIG_Python_SetConstant(d
, "FONTENCODING_BIG5",SWIG_From_int(static_cast< int >(wxFONTENCODING_BIG5
)));
36956 SWIG_Python_SetConstant(d
, "FONTENCODING_SHIFT_JIS",SWIG_From_int(static_cast< int >(wxFONTENCODING_SHIFT_JIS
)));
36958 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
36960 SWIG_Python_SetConstant(d
, "LANGUAGE_DEFAULT",SWIG_From_int(static_cast< int >(wxLANGUAGE_DEFAULT
)));
36961 SWIG_Python_SetConstant(d
, "LANGUAGE_UNKNOWN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UNKNOWN
)));
36962 SWIG_Python_SetConstant(d
, "LANGUAGE_ABKHAZIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ABKHAZIAN
)));
36963 SWIG_Python_SetConstant(d
, "LANGUAGE_AFAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFAR
)));
36964 SWIG_Python_SetConstant(d
, "LANGUAGE_AFRIKAANS",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFRIKAANS
)));
36965 SWIG_Python_SetConstant(d
, "LANGUAGE_ALBANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ALBANIAN
)));
36966 SWIG_Python_SetConstant(d
, "LANGUAGE_AMHARIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AMHARIC
)));
36967 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC
)));
36968 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_ALGERIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_ALGERIA
)));
36969 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_BAHRAIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_BAHRAIN
)));
36970 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_EGYPT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_EGYPT
)));
36971 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_IRAQ",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_IRAQ
)));
36972 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_JORDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_JORDAN
)));
36973 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_KUWAIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_KUWAIT
)));
36974 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LEBANON",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LEBANON
)));
36975 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LIBYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LIBYA
)));
36976 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_MOROCCO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_MOROCCO
)));
36977 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_OMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_OMAN
)));
36978 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_QATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_QATAR
)));
36979 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SAUDI_ARABIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SAUDI_ARABIA
)));
36980 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SUDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SUDAN
)));
36981 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SYRIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SYRIA
)));
36982 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_TUNISIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_TUNISIA
)));
36983 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_UAE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_UAE
)));
36984 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_YEMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_YEMEN
)));
36985 SWIG_Python_SetConstant(d
, "LANGUAGE_ARMENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARMENIAN
)));
36986 SWIG_Python_SetConstant(d
, "LANGUAGE_ASSAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ASSAMESE
)));
36987 SWIG_Python_SetConstant(d
, "LANGUAGE_AYMARA",SWIG_From_int(static_cast< int >(wxLANGUAGE_AYMARA
)));
36988 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI
)));
36989 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_CYRILLIC
)));
36990 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_LATIN
)));
36991 SWIG_Python_SetConstant(d
, "LANGUAGE_BASHKIR",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASHKIR
)));
36992 SWIG_Python_SetConstant(d
, "LANGUAGE_BASQUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASQUE
)));
36993 SWIG_Python_SetConstant(d
, "LANGUAGE_BELARUSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BELARUSIAN
)));
36994 SWIG_Python_SetConstant(d
, "LANGUAGE_BENGALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BENGALI
)));
36995 SWIG_Python_SetConstant(d
, "LANGUAGE_BHUTANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BHUTANI
)));
36996 SWIG_Python_SetConstant(d
, "LANGUAGE_BIHARI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BIHARI
)));
36997 SWIG_Python_SetConstant(d
, "LANGUAGE_BISLAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_BISLAMA
)));
36998 SWIG_Python_SetConstant(d
, "LANGUAGE_BRETON",SWIG_From_int(static_cast< int >(wxLANGUAGE_BRETON
)));
36999 SWIG_Python_SetConstant(d
, "LANGUAGE_BULGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BULGARIAN
)));
37000 SWIG_Python_SetConstant(d
, "LANGUAGE_BURMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BURMESE
)));
37001 SWIG_Python_SetConstant(d
, "LANGUAGE_CAMBODIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CAMBODIAN
)));
37002 SWIG_Python_SetConstant(d
, "LANGUAGE_CATALAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CATALAN
)));
37003 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE
)));
37004 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SIMPLIFIED",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SIMPLIFIED
)));
37005 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TRADITIONAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TRADITIONAL
)));
37006 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_HONGKONG",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_HONGKONG
)));
37007 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_MACAU",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_MACAU
)));
37008 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SINGAPORE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SINGAPORE
)));
37009 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TAIWAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TAIWAN
)));
37010 SWIG_Python_SetConstant(d
, "LANGUAGE_CORSICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CORSICAN
)));
37011 SWIG_Python_SetConstant(d
, "LANGUAGE_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CROATIAN
)));
37012 SWIG_Python_SetConstant(d
, "LANGUAGE_CZECH",SWIG_From_int(static_cast< int >(wxLANGUAGE_CZECH
)));
37013 SWIG_Python_SetConstant(d
, "LANGUAGE_DANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DANISH
)));
37014 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH
)));
37015 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH_BELGIAN
)));
37016 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH
)));
37017 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_UK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_UK
)));
37018 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_US
)));
37019 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_AUSTRALIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_AUSTRALIA
)));
37020 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BELIZE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BELIZE
)));
37021 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BOTSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BOTSWANA
)));
37022 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CANADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CANADA
)));
37023 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CARIBBEAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CARIBBEAN
)));
37024 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_DENMARK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_DENMARK
)));
37025 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_EIRE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_EIRE
)));
37026 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_JAMAICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_JAMAICA
)));
37027 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_NEW_ZEALAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_NEW_ZEALAND
)));
37028 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_PHILIPPINES",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_PHILIPPINES
)));
37029 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_SOUTH_AFRICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_SOUTH_AFRICA
)));
37030 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_TRINIDAD",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_TRINIDAD
)));
37031 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_ZIMBABWE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_ZIMBABWE
)));
37032 SWIG_Python_SetConstant(d
, "LANGUAGE_ESPERANTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESPERANTO
)));
37033 SWIG_Python_SetConstant(d
, "LANGUAGE_ESTONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESTONIAN
)));
37034 SWIG_Python_SetConstant(d
, "LANGUAGE_FAEROESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_FAEROESE
)));
37035 SWIG_Python_SetConstant(d
, "LANGUAGE_FARSI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FARSI
)));
37036 SWIG_Python_SetConstant(d
, "LANGUAGE_FIJI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FIJI
)));
37037 SWIG_Python_SetConstant(d
, "LANGUAGE_FINNISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FINNISH
)));
37038 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH
)));
37039 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_BELGIAN
)));
37040 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_CANADIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_CANADIAN
)));
37041 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_LUXEMBOURG
)));
37042 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_MONACO",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_MONACO
)));
37043 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_SWISS
)));
37044 SWIG_Python_SetConstant(d
, "LANGUAGE_FRISIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRISIAN
)));
37045 SWIG_Python_SetConstant(d
, "LANGUAGE_GALICIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GALICIAN
)));
37046 SWIG_Python_SetConstant(d
, "LANGUAGE_GEORGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GEORGIAN
)));
37047 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN
)));
37048 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_AUSTRIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_AUSTRIAN
)));
37049 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_BELGIUM",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_BELGIUM
)));
37050 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LIECHTENSTEIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LIECHTENSTEIN
)));
37051 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LUXEMBOURG
)));
37052 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_SWISS
)));
37053 SWIG_Python_SetConstant(d
, "LANGUAGE_GREEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREEK
)));
37054 SWIG_Python_SetConstant(d
, "LANGUAGE_GREENLANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREENLANDIC
)));
37055 SWIG_Python_SetConstant(d
, "LANGUAGE_GUARANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUARANI
)));
37056 SWIG_Python_SetConstant(d
, "LANGUAGE_GUJARATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUJARATI
)));
37057 SWIG_Python_SetConstant(d
, "LANGUAGE_HAUSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_HAUSA
)));
37058 SWIG_Python_SetConstant(d
, "LANGUAGE_HEBREW",SWIG_From_int(static_cast< int >(wxLANGUAGE_HEBREW
)));
37059 SWIG_Python_SetConstant(d
, "LANGUAGE_HINDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_HINDI
)));
37060 SWIG_Python_SetConstant(d
, "LANGUAGE_HUNGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_HUNGARIAN
)));
37061 SWIG_Python_SetConstant(d
, "LANGUAGE_ICELANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ICELANDIC
)));
37062 SWIG_Python_SetConstant(d
, "LANGUAGE_INDONESIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_INDONESIAN
)));
37063 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUA
)));
37064 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUE
)));
37065 SWIG_Python_SetConstant(d
, "LANGUAGE_INUKTITUT",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUKTITUT
)));
37066 SWIG_Python_SetConstant(d
, "LANGUAGE_INUPIAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUPIAK
)));
37067 SWIG_Python_SetConstant(d
, "LANGUAGE_IRISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_IRISH
)));
37068 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN
)));
37069 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN_SWISS
)));
37070 SWIG_Python_SetConstant(d
, "LANGUAGE_JAPANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAPANESE
)));
37071 SWIG_Python_SetConstant(d
, "LANGUAGE_JAVANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAVANESE
)));
37072 SWIG_Python_SetConstant(d
, "LANGUAGE_KANNADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KANNADA
)));
37073 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI
)));
37074 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI_INDIA
)));
37075 SWIG_Python_SetConstant(d
, "LANGUAGE_KAZAKH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KAZAKH
)));
37076 SWIG_Python_SetConstant(d
, "LANGUAGE_KERNEWEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_KERNEWEK
)));
37077 SWIG_Python_SetConstant(d
, "LANGUAGE_KINYARWANDA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KINYARWANDA
)));
37078 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRGHIZ",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRGHIZ
)));
37079 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRUNDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRUNDI
)));
37080 SWIG_Python_SetConstant(d
, "LANGUAGE_KONKANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KONKANI
)));
37081 SWIG_Python_SetConstant(d
, "LANGUAGE_KOREAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_KOREAN
)));
37082 SWIG_Python_SetConstant(d
, "LANGUAGE_KURDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KURDISH
)));
37083 SWIG_Python_SetConstant(d
, "LANGUAGE_LAOTHIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LAOTHIAN
)));
37084 SWIG_Python_SetConstant(d
, "LANGUAGE_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATIN
)));
37085 SWIG_Python_SetConstant(d
, "LANGUAGE_LATVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATVIAN
)));
37086 SWIG_Python_SetConstant(d
, "LANGUAGE_LINGALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_LINGALA
)));
37087 SWIG_Python_SetConstant(d
, "LANGUAGE_LITHUANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LITHUANIAN
)));
37088 SWIG_Python_SetConstant(d
, "LANGUAGE_MACEDONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MACEDONIAN
)));
37089 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAGASY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAGASY
)));
37090 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY
)));
37091 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAYALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAYALAM
)));
37092 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_BRUNEI_DARUSSALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
)));
37093 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_MALAYSIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_MALAYSIA
)));
37094 SWIG_Python_SetConstant(d
, "LANGUAGE_MALTESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALTESE
)));
37095 SWIG_Python_SetConstant(d
, "LANGUAGE_MANIPURI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MANIPURI
)));
37096 SWIG_Python_SetConstant(d
, "LANGUAGE_MAORI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MAORI
)));
37097 SWIG_Python_SetConstant(d
, "LANGUAGE_MARATHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MARATHI
)));
37098 SWIG_Python_SetConstant(d
, "LANGUAGE_MOLDAVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MOLDAVIAN
)));
37099 SWIG_Python_SetConstant(d
, "LANGUAGE_MONGOLIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MONGOLIAN
)));
37100 SWIG_Python_SetConstant(d
, "LANGUAGE_NAURU",SWIG_From_int(static_cast< int >(wxLANGUAGE_NAURU
)));
37101 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI
)));
37102 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI_INDIA
)));
37103 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_BOKMAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_BOKMAL
)));
37104 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_NYNORSK",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_NYNORSK
)));
37105 SWIG_Python_SetConstant(d
, "LANGUAGE_OCCITAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_OCCITAN
)));
37106 SWIG_Python_SetConstant(d
, "LANGUAGE_ORIYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ORIYA
)));
37107 SWIG_Python_SetConstant(d
, "LANGUAGE_OROMO",SWIG_From_int(static_cast< int >(wxLANGUAGE_OROMO
)));
37108 SWIG_Python_SetConstant(d
, "LANGUAGE_PASHTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_PASHTO
)));
37109 SWIG_Python_SetConstant(d
, "LANGUAGE_POLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_POLISH
)));
37110 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE
)));
37111 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE_BRAZILIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE_BRAZILIAN
)));
37112 SWIG_Python_SetConstant(d
, "LANGUAGE_PUNJABI",SWIG_From_int(static_cast< int >(wxLANGUAGE_PUNJABI
)));
37113 SWIG_Python_SetConstant(d
, "LANGUAGE_QUECHUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_QUECHUA
)));
37114 SWIG_Python_SetConstant(d
, "LANGUAGE_RHAETO_ROMANCE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RHAETO_ROMANCE
)));
37115 SWIG_Python_SetConstant(d
, "LANGUAGE_ROMANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ROMANIAN
)));
37116 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN
)));
37117 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN_UKRAINE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN_UKRAINE
)));
37118 SWIG_Python_SetConstant(d
, "LANGUAGE_SAMOAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SAMOAN
)));
37119 SWIG_Python_SetConstant(d
, "LANGUAGE_SANGHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANGHO
)));
37120 SWIG_Python_SetConstant(d
, "LANGUAGE_SANSKRIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANSKRIT
)));
37121 SWIG_Python_SetConstant(d
, "LANGUAGE_SCOTS_GAELIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SCOTS_GAELIC
)));
37122 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN
)));
37123 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_CYRILLIC
)));
37124 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_LATIN
)));
37125 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBO_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBO_CROATIAN
)));
37126 SWIG_Python_SetConstant(d
, "LANGUAGE_SESOTHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SESOTHO
)));
37127 SWIG_Python_SetConstant(d
, "LANGUAGE_SETSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SETSWANA
)));
37128 SWIG_Python_SetConstant(d
, "LANGUAGE_SHONA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SHONA
)));
37129 SWIG_Python_SetConstant(d
, "LANGUAGE_SINDHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINDHI
)));
37130 SWIG_Python_SetConstant(d
, "LANGUAGE_SINHALESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINHALESE
)));
37131 SWIG_Python_SetConstant(d
, "LANGUAGE_SISWATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SISWATI
)));
37132 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVAK
)));
37133 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVENIAN
)));
37134 SWIG_Python_SetConstant(d
, "LANGUAGE_SOMALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SOMALI
)));
37135 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH
)));
37136 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ARGENTINA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ARGENTINA
)));
37137 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_BOLIVIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_BOLIVIA
)));
37138 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_CHILE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_CHILE
)));
37139 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COLOMBIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COLOMBIA
)));
37140 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COSTA_RICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COSTA_RICA
)));
37141 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_DOMINICAN_REPUBLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
)));
37142 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ECUADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ECUADOR
)));
37143 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_EL_SALVADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_EL_SALVADOR
)));
37144 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_GUATEMALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_GUATEMALA
)));
37145 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_HONDURAS",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_HONDURAS
)));
37146 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MEXICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MEXICAN
)));
37147 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MODERN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MODERN
)));
37148 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_NICARAGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_NICARAGUA
)));
37149 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PANAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PANAMA
)));
37150 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PARAGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PARAGUAY
)));
37151 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PERU",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PERU
)));
37152 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PUERTO_RICO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PUERTO_RICO
)));
37153 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_URUGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_URUGUAY
)));
37154 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_US
)));
37155 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_VENEZUELA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_VENEZUELA
)));
37156 SWIG_Python_SetConstant(d
, "LANGUAGE_SUNDANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SUNDANESE
)));
37157 SWIG_Python_SetConstant(d
, "LANGUAGE_SWAHILI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWAHILI
)));
37158 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH
)));
37159 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH_FINLAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH_FINLAND
)));
37160 SWIG_Python_SetConstant(d
, "LANGUAGE_TAGALOG",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAGALOG
)));
37161 SWIG_Python_SetConstant(d
, "LANGUAGE_TAJIK",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAJIK
)));
37162 SWIG_Python_SetConstant(d
, "LANGUAGE_TAMIL",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAMIL
)));
37163 SWIG_Python_SetConstant(d
, "LANGUAGE_TATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_TATAR
)));
37164 SWIG_Python_SetConstant(d
, "LANGUAGE_TELUGU",SWIG_From_int(static_cast< int >(wxLANGUAGE_TELUGU
)));
37165 SWIG_Python_SetConstant(d
, "LANGUAGE_THAI",SWIG_From_int(static_cast< int >(wxLANGUAGE_THAI
)));
37166 SWIG_Python_SetConstant(d
, "LANGUAGE_TIBETAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIBETAN
)));
37167 SWIG_Python_SetConstant(d
, "LANGUAGE_TIGRINYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIGRINYA
)));
37168 SWIG_Python_SetConstant(d
, "LANGUAGE_TONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TONGA
)));
37169 SWIG_Python_SetConstant(d
, "LANGUAGE_TSONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TSONGA
)));
37170 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKISH
)));
37171 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKMEN
)));
37172 SWIG_Python_SetConstant(d
, "LANGUAGE_TWI",SWIG_From_int(static_cast< int >(wxLANGUAGE_TWI
)));
37173 SWIG_Python_SetConstant(d
, "LANGUAGE_UIGHUR",SWIG_From_int(static_cast< int >(wxLANGUAGE_UIGHUR
)));
37174 SWIG_Python_SetConstant(d
, "LANGUAGE_UKRAINIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UKRAINIAN
)));
37175 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU
)));
37176 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_INDIA
)));
37177 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_PAKISTAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_PAKISTAN
)));
37178 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK
)));
37179 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_CYRILLIC
)));
37180 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_LATIN
)));
37181 SWIG_Python_SetConstant(d
, "LANGUAGE_VIETNAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_VIETNAMESE
)));
37182 SWIG_Python_SetConstant(d
, "LANGUAGE_VOLAPUK",SWIG_From_int(static_cast< int >(wxLANGUAGE_VOLAPUK
)));
37183 SWIG_Python_SetConstant(d
, "LANGUAGE_WELSH",SWIG_From_int(static_cast< int >(wxLANGUAGE_WELSH
)));
37184 SWIG_Python_SetConstant(d
, "LANGUAGE_WOLOF",SWIG_From_int(static_cast< int >(wxLANGUAGE_WOLOF
)));
37185 SWIG_Python_SetConstant(d
, "LANGUAGE_XHOSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_XHOSA
)));
37186 SWIG_Python_SetConstant(d
, "LANGUAGE_YIDDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_YIDDISH
)));
37187 SWIG_Python_SetConstant(d
, "LANGUAGE_YORUBA",SWIG_From_int(static_cast< int >(wxLANGUAGE_YORUBA
)));
37188 SWIG_Python_SetConstant(d
, "LANGUAGE_ZHUANG",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZHUANG
)));
37189 SWIG_Python_SetConstant(d
, "LANGUAGE_ZULU",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZULU
)));
37190 SWIG_Python_SetConstant(d
, "LANGUAGE_USER_DEFINED",SWIG_From_int(static_cast< int >(wxLANGUAGE_USER_DEFINED
)));
37191 SWIG_Python_SetConstant(d
, "LOCALE_CAT_NUMBER",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_NUMBER
)));
37192 SWIG_Python_SetConstant(d
, "LOCALE_CAT_DATE",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_DATE
)));
37193 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MONEY",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MONEY
)));
37194 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MAX",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MAX
)));
37195 SWIG_Python_SetConstant(d
, "LOCALE_THOUSANDS_SEP",SWIG_From_int(static_cast< int >(wxLOCALE_THOUSANDS_SEP
)));
37196 SWIG_Python_SetConstant(d
, "LOCALE_DECIMAL_POINT",SWIG_From_int(static_cast< int >(wxLOCALE_DECIMAL_POINT
)));
37197 SWIG_Python_SetConstant(d
, "LOCALE_LOAD_DEFAULT",SWIG_From_int(static_cast< int >(wxLOCALE_LOAD_DEFAULT
)));
37198 SWIG_Python_SetConstant(d
, "LOCALE_CONV_ENCODING",SWIG_From_int(static_cast< int >(wxLOCALE_CONV_ENCODING
)));
37199 SWIG_Python_SetConstant(d
, "CONVERT_STRICT",SWIG_From_int(static_cast< int >(wxCONVERT_STRICT
)));
37200 SWIG_Python_SetConstant(d
, "CONVERT_SUBSTITUTE",SWIG_From_int(static_cast< int >(wxCONVERT_SUBSTITUTE
)));
37201 SWIG_Python_SetConstant(d
, "PLATFORM_CURRENT",SWIG_From_int(static_cast< int >(wxPLATFORM_CURRENT
)));
37202 SWIG_Python_SetConstant(d
, "PLATFORM_UNIX",SWIG_From_int(static_cast< int >(wxPLATFORM_UNIX
)));
37203 SWIG_Python_SetConstant(d
, "PLATFORM_WINDOWS",SWIG_From_int(static_cast< int >(wxPLATFORM_WINDOWS
)));
37204 SWIG_Python_SetConstant(d
, "PLATFORM_OS2",SWIG_From_int(static_cast< int >(wxPLATFORM_OS2
)));
37205 SWIG_Python_SetConstant(d
, "PLATFORM_MAC",SWIG_From_int(static_cast< int >(wxPLATFORM_MAC
)));
37206 SWIG_Python_SetConstant(d
, "BUFFER_VIRTUAL_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_VIRTUAL_AREA
)));
37207 SWIG_Python_SetConstant(d
, "BUFFER_CLIENT_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_CLIENT_AREA
)));
37208 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_NORMAL
)));
37209 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_TRANSPARENT",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_TRANSPARENT
)));
37210 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_SELECTED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_SELECTED
)));
37211 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_FOCUSED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_FOCUSED
)));
37212 SWIG_Python_SetConstant(d
, "IMAGE_LIST_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_NORMAL
)));
37213 SWIG_Python_SetConstant(d
, "IMAGE_LIST_SMALL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_SMALL
)));
37214 SWIG_Python_SetConstant(d
, "IMAGE_LIST_STATE",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_STATE
)));
37215 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLACK
)));
37216 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLUE
)));
37217 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_CYAN
)));
37218 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREEN
)));
37219 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREY
)));
37220 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_LIGHTGREY
)));
37221 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_MEDIUMGREY
)));
37222 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_RED",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_RED
)));
37223 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_TRANSPARENT
)));
37224 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_WHITE
)));
37225 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLACK
)));
37226 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLUE
)));
37227 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_CYAN
)));
37228 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_GREEN
)));
37229 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_LIGHTGREY
)));
37230 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_RED",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_RED
)));
37231 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_WHITE
)));
37232 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_CROSS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_CROSS
)));
37233 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_HOURGLASS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_HOURGLASS
)));
37234 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_STANDARD",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_STANDARD
)));
37235 SWIG_Python_SetConstant(d
, "StockGDI_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_ITALIC
)));
37236 SWIG_Python_SetConstant(d
, "StockGDI_FONT_NORMAL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_NORMAL
)));
37237 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SMALL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SMALL
)));
37238 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SWISS",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SWISS
)));
37239 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACK
)));
37240 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACKDASHED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACKDASHED
)));
37241 SWIG_Python_SetConstant(d
, "StockGDI_PEN_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_CYAN
)));
37242 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREEN
)));
37243 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREY
)));
37244 SWIG_Python_SetConstant(d
, "StockGDI_PEN_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_LIGHTGREY
)));
37245 SWIG_Python_SetConstant(d
, "StockGDI_PEN_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_MEDIUMGREY
)));
37246 SWIG_Python_SetConstant(d
, "StockGDI_PEN_RED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_RED
)));
37247 SWIG_Python_SetConstant(d
, "StockGDI_PEN_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_TRANSPARENT
)));
37248 SWIG_Python_SetConstant(d
, "StockGDI_PEN_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_WHITE
)));
37249 SWIG_Python_SetConstant(d
, "StockGDI_ITEMCOUNT",SWIG_From_int(static_cast< int >(wxStockGDI::ITEMCOUNT
)));
37250 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
37251 SWIG_addvarlink(SWIG_globals(),(char*)"NullBitmap",NullBitmap_get
, NullBitmap_set
);
37252 SWIG_addvarlink(SWIG_globals(),(char*)"NullIcon",NullIcon_get
, NullIcon_set
);
37253 SWIG_addvarlink(SWIG_globals(),(char*)"NullCursor",NullCursor_get
, NullCursor_set
);
37254 SWIG_addvarlink(SWIG_globals(),(char*)"NullPen",NullPen_get
, NullPen_set
);
37255 SWIG_addvarlink(SWIG_globals(),(char*)"NullBrush",NullBrush_get
, NullBrush_set
);
37256 SWIG_addvarlink(SWIG_globals(),(char*)"NullPalette",NullPalette_get
, NullPalette_set
);
37257 SWIG_addvarlink(SWIG_globals(),(char*)"NullFont",NullFont_get
, NullFont_set
);
37258 SWIG_addvarlink(SWIG_globals(),(char*)"NullColour",NullColour_get
, NullColour_set
);
37259 SWIG_Python_SetConstant(d
, "CONTROL_DISABLED",SWIG_From_int(static_cast< int >(wxCONTROL_DISABLED
)));
37260 SWIG_Python_SetConstant(d
, "CONTROL_FOCUSED",SWIG_From_int(static_cast< int >(wxCONTROL_FOCUSED
)));
37261 SWIG_Python_SetConstant(d
, "CONTROL_PRESSED",SWIG_From_int(static_cast< int >(wxCONTROL_PRESSED
)));
37262 SWIG_Python_SetConstant(d
, "CONTROL_SPECIAL",SWIG_From_int(static_cast< int >(wxCONTROL_SPECIAL
)));
37263 SWIG_Python_SetConstant(d
, "CONTROL_ISDEFAULT",SWIG_From_int(static_cast< int >(wxCONTROL_ISDEFAULT
)));
37264 SWIG_Python_SetConstant(d
, "CONTROL_ISSUBMENU",SWIG_From_int(static_cast< int >(wxCONTROL_ISSUBMENU
)));
37265 SWIG_Python_SetConstant(d
, "CONTROL_EXPANDED",SWIG_From_int(static_cast< int >(wxCONTROL_EXPANDED
)));
37266 SWIG_Python_SetConstant(d
, "CONTROL_SIZEGRIP",SWIG_From_int(static_cast< int >(wxCONTROL_SIZEGRIP
)));
37267 SWIG_Python_SetConstant(d
, "CONTROL_CURRENT",SWIG_From_int(static_cast< int >(wxCONTROL_CURRENT
)));
37268 SWIG_Python_SetConstant(d
, "CONTROL_SELECTED",SWIG_From_int(static_cast< int >(wxCONTROL_SELECTED
)));
37269 SWIG_Python_SetConstant(d
, "CONTROL_CHECKED",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKED
)));
37270 SWIG_Python_SetConstant(d
, "CONTROL_CHECKABLE",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKABLE
)));
37271 SWIG_Python_SetConstant(d
, "CONTROL_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCONTROL_UNDETERMINED
)));
37272 SWIG_Python_SetConstant(d
, "CONTROL_FLAGS_MASK",SWIG_From_int(static_cast< int >(wxCONTROL_FLAGS_MASK
)));
37273 SWIG_Python_SetConstant(d
, "CONTROL_DIRTY",SWIG_From_int(static_cast< int >(wxCONTROL_DIRTY
)));
37274 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_NONE",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_NONE
)));
37275 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_UP",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_UP
)));
37276 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_DOWN",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_DOWN
)));
37277 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Version",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Version
)));
37278 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Age",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Age
)));
37280 // Work around a chicken/egg problem in drawlist.cpp
37281 wxPyDrawList_SetAPIPtr();