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 static wxGraphicsContext
* CreateFromNative( void * ) {
3615 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3616 PyErr_SetString(PyExc_NotImplementedError
,
3617 "wxGraphicsContext is not available on this platform.");
3618 wxPyEndBlockThreads(blocked
);
3622 wxGraphicsPath
* CreatePath() { return NULL
; }
3625 void Clip( const wxRegion
& ) {}
3626 void Clip( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3628 void * GetNativeContext() { return NULL
; }
3629 void Translate( wxDouble
, wxDouble
) {}
3630 void Scale( wxDouble
, wxDouble
) {}
3631 void Rotate( wxDouble
) {}
3632 void SetPen( const wxPen
& ) {}
3633 void SetBrush( const wxBrush
& ) {}
3634 void SetLinearGradientBrush( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3635 const wxColour
&, const wxColour
&) {}
3636 void SetRadialGradientBrush( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3637 const wxColour
&, const wxColour
&) {}
3638 void SetFont( const wxFont
& ) {}
3639 void SetTextColor( const wxColour
& ) {}
3640 void StrokePath( const wxGraphicsPath
* ) {}
3641 void FillPath( const wxGraphicsPath
*, int ) {}
3642 void DrawPath( const wxGraphicsPath
*, int ) {}
3643 void DrawText( const wxString
&, wxDouble
, wxDouble
) {}
3644 void DrawText( const wxString
&, wxDouble
, wxDouble
, wxDouble
) {}
3645 void GetTextExtent( const wxString
&, wxDouble
*, wxDouble
*,
3646 wxDouble
*, wxDouble
* ) const {}
3647 void GetPartialTextExtents(const wxString
& , wxArrayDouble
& ) const {}
3648 void DrawBitmap( const wxBitmap
&, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3649 void DrawIcon( const wxIcon
&, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3650 void StrokeLine( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3651 void StrokeLines( size_t , const wxPoint2DDouble
*) {}
3652 void StrokeLines( size_t , const wxPoint2DDouble
*, const wxPoint2DDouble
*) {}
3653 void DrawLines( size_t , const wxPoint2DDouble
*, int ) {}
3654 void DrawRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3655 void DrawEllipse( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3656 void DrawRoundedRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3660 class wxGCDC
: public wxWindowDC
3663 wxGCDC(const wxWindowDC
&) {
3664 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3665 PyErr_SetString(PyExc_NotImplementedError
,
3666 "wxGCDC is not available on this platform.");
3667 wxPyEndBlockThreads(blocked
);
3671 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3672 PyErr_SetString(PyExc_NotImplementedError
,
3673 "wxGCDC is not available on this platform.");
3674 wxPyEndBlockThreads(blocked
);
3677 virtual ~wxGCDC() {}
3679 wxGraphicsContext
* GetGraphicsContext() { return NULL
; }
3680 void SetGraphicsContext( wxGraphicsContext
* ) {}
3685 SWIGINTERN wxArrayDouble
wxGraphicsContext_GetPartialTextExtents(wxGraphicsContext
*self
,wxString
const &text
){
3686 wxArrayDouble widths
;
3687 self
->GetPartialTextExtents(text
, widths
);
3690 SWIGINTERN
void wxGraphicsContext_StrokeLineSegements(wxGraphicsContext
*self
,PyObject
*beginPoints
,PyObject
*endPoints
){
3691 size_t c1
, c2
, count
;
3692 wxPoint2D
* beginP
= wxPoint2D_LIST_helper(beginPoints
, &c1
);
3693 wxPoint2D
* endP
= wxPoint2D_LIST_helper(endPoints
, &c2
);
3695 if ( beginP
!= NULL
&& endP
!= NULL
)
3697 count
= wxMin(c1
, c2
);
3698 self
->StrokeLines(count
, beginP
, endP
);
3704 #include "wx/dcgraph.h"
3708 SWIGINTERN
void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
3709 self
->AddColour(name
, wxColour(red
, green
, blue
));
3712 wxFontList
* _wxPyInitTheFontList() { return wxTheFontList
; }
3713 wxPenList
* _wxPyInitThePenList() { return wxThePenList
; }
3714 wxBrushList
* _wxPyInitTheBrushList() { return wxTheBrushList
; }
3715 wxColourDatabase
* _wxPyInitTheColourDatabase() { return wxTheColourDatabase
; }
3718 #include <wx/effects.h>
3721 #include "wx/renderer.h"
3724 SWIGINTERNINLINE PyObject
*
3725 SWIG_From_bool (bool value
)
3727 return PyBool_FromLong(value
? 1 : 0);
3731 #include "wx/wxPython/pseudodc.h"
3733 SWIGINTERN wxRect
wxPseudoDC_GetIdBounds(wxPseudoDC
*self
,int id
){
3735 self
->GetIdBounds(id
, rect
);
3741 SWIGINTERN PyObject
*_wrap_new_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3742 PyObject
*resultobj
= 0;
3743 wxGDIObject
*result
= 0 ;
3745 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObject",0,0,0)) SWIG_fail
;
3747 if (!wxPyCheckForApp()) SWIG_fail
;
3748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3749 result
= (wxGDIObject
*)new wxGDIObject();
3750 wxPyEndAllowThreads(__tstate
);
3751 if (PyErr_Occurred()) SWIG_fail
;
3753 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_NEW
| 0 );
3760 SWIGINTERN PyObject
*_wrap_delete_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3761 PyObject
*resultobj
= 0;
3762 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
3765 PyObject
*swig_obj
[1] ;
3767 if (!args
) SWIG_fail
;
3769 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_DISOWN
| 0 );
3770 if (!SWIG_IsOK(res1
)) {
3771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObject" "', expected argument " "1"" of type '" "wxGDIObject *""'");
3773 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
3775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3778 wxPyEndAllowThreads(__tstate
);
3779 if (PyErr_Occurred()) SWIG_fail
;
3781 resultobj
= SWIG_Py_Void();
3788 SWIGINTERN PyObject
*_wrap_GDIObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3789 PyObject
*resultobj
= 0;
3790 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
3794 PyObject
*swig_obj
[1] ;
3796 if (!args
) SWIG_fail
;
3798 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, 0 | 0 );
3799 if (!SWIG_IsOK(res1
)) {
3800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GDIObject_IsNull" "', expected argument " "1"" of type '" "wxGDIObject *""'");
3802 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
3804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3805 result
= (bool)(arg1
)->IsNull();
3806 wxPyEndAllowThreads(__tstate
);
3807 if (PyErr_Occurred()) SWIG_fail
;
3810 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3818 SWIGINTERN PyObject
*GDIObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3820 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3821 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObject
, SWIG_NewClientData(obj
));
3822 return SWIG_Py_Void();
3825 SWIGINTERN PyObject
*GDIObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3826 return SWIG_Python_InitShadowInstance(args
);
3829 SWIGINTERN PyObject
*_wrap_new_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3830 PyObject
*resultobj
= 0;
3831 byte arg1
= (byte
) 0 ;
3832 byte arg2
= (byte
) 0 ;
3833 byte arg3
= (byte
) 0 ;
3834 byte arg4
= (byte
) wxALPHA_OPAQUE
;
3835 wxColour
*result
= 0 ;
3836 unsigned char val1
;
3838 unsigned char val2
;
3840 unsigned char val3
;
3842 unsigned char val4
;
3844 PyObject
* obj0
= 0 ;
3845 PyObject
* obj1
= 0 ;
3846 PyObject
* obj2
= 0 ;
3847 PyObject
* obj3
= 0 ;
3848 char * kwnames
[] = {
3849 (char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
3852 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
3854 ecode1
= SWIG_AsVal_unsigned_SS_char(obj0
, &val1
);
3855 if (!SWIG_IsOK(ecode1
)) {
3856 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Colour" "', expected argument " "1"" of type '" "byte""'");
3858 arg1
= static_cast< byte
>(val1
);
3861 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
3862 if (!SWIG_IsOK(ecode2
)) {
3863 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Colour" "', expected argument " "2"" of type '" "byte""'");
3865 arg2
= static_cast< byte
>(val2
);
3868 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
3869 if (!SWIG_IsOK(ecode3
)) {
3870 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Colour" "', expected argument " "3"" of type '" "byte""'");
3872 arg3
= static_cast< byte
>(val3
);
3875 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
3876 if (!SWIG_IsOK(ecode4
)) {
3877 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Colour" "', expected argument " "4"" of type '" "byte""'");
3879 arg4
= static_cast< byte
>(val4
);
3882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3883 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
,arg4
);
3884 wxPyEndAllowThreads(__tstate
);
3885 if (PyErr_Occurred()) SWIG_fail
;
3887 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_NEW
| 0 );
3894 SWIGINTERN PyObject
*_wrap_new_NamedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3895 PyObject
*resultobj
= 0;
3896 wxString
*arg1
= 0 ;
3897 wxColour
*result
= 0 ;
3898 bool temp1
= false ;
3899 PyObject
* obj0
= 0 ;
3900 char * kwnames
[] = {
3901 (char *) "colorName", NULL
3904 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) SWIG_fail
;
3906 arg1
= wxString_in_helper(obj0
);
3907 if (arg1
== NULL
) SWIG_fail
;
3911 if (!wxPyCheckForApp()) SWIG_fail
;
3912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3913 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
3914 wxPyEndAllowThreads(__tstate
);
3915 if (PyErr_Occurred()) SWIG_fail
;
3917 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
3932 SWIGINTERN PyObject
*_wrap_new_ColourRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3933 PyObject
*resultobj
= 0;
3934 unsigned long arg1
;
3935 wxColour
*result
= 0 ;
3936 unsigned long val1
;
3938 PyObject
* obj0
= 0 ;
3939 char * kwnames
[] = {
3940 (char *) "colRGB", NULL
3943 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) SWIG_fail
;
3944 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
3945 if (!SWIG_IsOK(ecode1
)) {
3946 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ColourRGB" "', expected argument " "1"" of type '" "unsigned long""'");
3948 arg1
= static_cast< unsigned long >(val1
);
3950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3951 result
= (wxColour
*)new wxColour(arg1
);
3952 wxPyEndAllowThreads(__tstate
);
3953 if (PyErr_Occurred()) SWIG_fail
;
3955 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
3962 SWIGINTERN PyObject
*_wrap_delete_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3963 PyObject
*resultobj
= 0;
3964 wxColour
*arg1
= (wxColour
*) 0 ;
3967 PyObject
*swig_obj
[1] ;
3969 if (!args
) SWIG_fail
;
3971 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, SWIG_POINTER_DISOWN
| 0 );
3972 if (!SWIG_IsOK(res1
)) {
3973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Colour" "', expected argument " "1"" of type '" "wxColour *""'");
3975 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3980 wxPyEndAllowThreads(__tstate
);
3981 if (PyErr_Occurred()) SWIG_fail
;
3983 resultobj
= SWIG_Py_Void();
3990 SWIGINTERN PyObject
*_wrap_Colour_Red(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3991 PyObject
*resultobj
= 0;
3992 wxColour
*arg1
= (wxColour
*) 0 ;
3996 PyObject
*swig_obj
[1] ;
3998 if (!args
) SWIG_fail
;
4000 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4001 if (!SWIG_IsOK(res1
)) {
4002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Red" "', expected argument " "1"" of type '" "wxColour *""'");
4004 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4007 result
= (byte
)(arg1
)->Red();
4008 wxPyEndAllowThreads(__tstate
);
4009 if (PyErr_Occurred()) SWIG_fail
;
4011 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4018 SWIGINTERN PyObject
*_wrap_Colour_Green(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4019 PyObject
*resultobj
= 0;
4020 wxColour
*arg1
= (wxColour
*) 0 ;
4024 PyObject
*swig_obj
[1] ;
4026 if (!args
) SWIG_fail
;
4028 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4029 if (!SWIG_IsOK(res1
)) {
4030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Green" "', expected argument " "1"" of type '" "wxColour *""'");
4032 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4035 result
= (byte
)(arg1
)->Green();
4036 wxPyEndAllowThreads(__tstate
);
4037 if (PyErr_Occurred()) SWIG_fail
;
4039 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4046 SWIGINTERN PyObject
*_wrap_Colour_Blue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4047 PyObject
*resultobj
= 0;
4048 wxColour
*arg1
= (wxColour
*) 0 ;
4052 PyObject
*swig_obj
[1] ;
4054 if (!args
) SWIG_fail
;
4056 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4057 if (!SWIG_IsOK(res1
)) {
4058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Blue" "', expected argument " "1"" of type '" "wxColour *""'");
4060 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4063 result
= (byte
)(arg1
)->Blue();
4064 wxPyEndAllowThreads(__tstate
);
4065 if (PyErr_Occurred()) SWIG_fail
;
4067 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4074 SWIGINTERN PyObject
*_wrap_Colour_Alpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4075 PyObject
*resultobj
= 0;
4076 wxColour
*arg1
= (wxColour
*) 0 ;
4080 PyObject
*swig_obj
[1] ;
4082 if (!args
) SWIG_fail
;
4084 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4085 if (!SWIG_IsOK(res1
)) {
4086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Alpha" "', expected argument " "1"" of type '" "wxColour *""'");
4088 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4091 result
= (byte
)(arg1
)->Alpha();
4092 wxPyEndAllowThreads(__tstate
);
4093 if (PyErr_Occurred()) SWIG_fail
;
4095 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4102 SWIGINTERN PyObject
*_wrap_Colour_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4103 PyObject
*resultobj
= 0;
4104 wxColour
*arg1
= (wxColour
*) 0 ;
4108 PyObject
*swig_obj
[1] ;
4110 if (!args
) SWIG_fail
;
4112 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4113 if (!SWIG_IsOK(res1
)) {
4114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_IsOk" "', expected argument " "1"" of type '" "wxColour *""'");
4116 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4119 result
= (bool)(arg1
)->IsOk();
4120 wxPyEndAllowThreads(__tstate
);
4121 if (PyErr_Occurred()) SWIG_fail
;
4124 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4132 SWIGINTERN PyObject
*_wrap_Colour_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4133 PyObject
*resultobj
= 0;
4134 wxColour
*arg1
= (wxColour
*) 0 ;
4138 byte arg5
= (byte
) wxALPHA_OPAQUE
;
4141 unsigned char val2
;
4143 unsigned char val3
;
4145 unsigned char val4
;
4147 unsigned char val5
;
4149 PyObject
* obj0
= 0 ;
4150 PyObject
* obj1
= 0 ;
4151 PyObject
* obj2
= 0 ;
4152 PyObject
* obj3
= 0 ;
4153 PyObject
* obj4
= 0 ;
4154 char * kwnames
[] = {
4155 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
4158 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
4159 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4160 if (!SWIG_IsOK(res1
)) {
4161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Set" "', expected argument " "1"" of type '" "wxColour *""'");
4163 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4164 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4165 if (!SWIG_IsOK(ecode2
)) {
4166 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Set" "', expected argument " "2"" of type '" "byte""'");
4168 arg2
= static_cast< byte
>(val2
);
4169 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4170 if (!SWIG_IsOK(ecode3
)) {
4171 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Colour_Set" "', expected argument " "3"" of type '" "byte""'");
4173 arg3
= static_cast< byte
>(val3
);
4174 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4175 if (!SWIG_IsOK(ecode4
)) {
4176 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Colour_Set" "', expected argument " "4"" of type '" "byte""'");
4178 arg4
= static_cast< byte
>(val4
);
4180 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
4181 if (!SWIG_IsOK(ecode5
)) {
4182 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Colour_Set" "', expected argument " "5"" of type '" "byte""'");
4184 arg5
= static_cast< byte
>(val5
);
4187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4188 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
4189 wxPyEndAllowThreads(__tstate
);
4190 if (PyErr_Occurred()) SWIG_fail
;
4192 resultobj
= SWIG_Py_Void();
4199 SWIGINTERN PyObject
*_wrap_Colour_SetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4200 PyObject
*resultobj
= 0;
4201 wxColour
*arg1
= (wxColour
*) 0 ;
4202 unsigned long arg2
;
4205 unsigned long val2
;
4207 PyObject
* obj0
= 0 ;
4208 PyObject
* obj1
= 0 ;
4209 char * kwnames
[] = {
4210 (char *) "self",(char *) "colRGB", NULL
4213 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4214 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4215 if (!SWIG_IsOK(res1
)) {
4216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4218 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4219 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
4220 if (!SWIG_IsOK(ecode2
)) {
4221 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_SetRGB" "', expected argument " "2"" of type '" "unsigned long""'");
4223 arg2
= static_cast< unsigned long >(val2
);
4225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4227 wxPyEndAllowThreads(__tstate
);
4228 if (PyErr_Occurred()) SWIG_fail
;
4230 resultobj
= SWIG_Py_Void();
4237 SWIGINTERN PyObject
*_wrap_Colour_SetFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4238 PyObject
*resultobj
= 0;
4239 wxColour
*arg1
= (wxColour
*) 0 ;
4240 wxString
*arg2
= 0 ;
4243 bool temp2
= false ;
4244 PyObject
* obj0
= 0 ;
4245 PyObject
* obj1
= 0 ;
4246 char * kwnames
[] = {
4247 (char *) "self",(char *) "colourName", NULL
4250 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4251 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4252 if (!SWIG_IsOK(res1
)) {
4253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetFromName" "', expected argument " "1"" of type '" "wxColour *""'");
4255 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4257 arg2
= wxString_in_helper(obj1
);
4258 if (arg2
== NULL
) SWIG_fail
;
4262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4263 (arg1
)->Set((wxString
const &)*arg2
);
4264 wxPyEndAllowThreads(__tstate
);
4265 if (PyErr_Occurred()) SWIG_fail
;
4267 resultobj
= SWIG_Py_Void();
4282 SWIGINTERN PyObject
*_wrap_Colour_GetAsString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4283 PyObject
*resultobj
= 0;
4284 wxColour
*arg1
= (wxColour
*) 0 ;
4285 long arg2
= (long) wxC2S_NAME
|wxC2S_CSS_SYNTAX
;
4291 PyObject
* obj0
= 0 ;
4292 PyObject
* obj1
= 0 ;
4293 char * kwnames
[] = {
4294 (char *) "self",(char *) "flags", NULL
4297 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_GetAsString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4298 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4299 if (!SWIG_IsOK(res1
)) {
4300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetAsString" "', expected argument " "1"" of type '" "wxColour const *""'");
4302 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4304 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
4305 if (!SWIG_IsOK(ecode2
)) {
4306 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_GetAsString" "', expected argument " "2"" of type '" "long""'");
4308 arg2
= static_cast< long >(val2
);
4311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4312 result
= ((wxColour
const *)arg1
)->GetAsString(arg2
);
4313 wxPyEndAllowThreads(__tstate
);
4314 if (PyErr_Occurred()) SWIG_fail
;
4318 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4320 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4329 SWIGINTERN PyObject
*_wrap_Colour_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4330 PyObject
*resultobj
= 0;
4331 wxColour
*arg1
= (wxColour
*) 0 ;
4335 PyObject
*swig_obj
[1] ;
4337 if (!args
) SWIG_fail
;
4339 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4340 if (!SWIG_IsOK(res1
)) {
4341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetPixel" "', expected argument " "1"" of type '" "wxColour const *""'");
4343 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4346 result
= (long)((wxColour
const *)arg1
)->GetPixel();
4347 wxPyEndAllowThreads(__tstate
);
4348 if (PyErr_Occurred()) SWIG_fail
;
4350 resultobj
= SWIG_From_long(static_cast< long >(result
));
4357 SWIGINTERN PyObject
*_wrap_Colour___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4358 PyObject
*resultobj
= 0;
4359 wxColour
*arg1
= (wxColour
*) 0 ;
4360 PyObject
*arg2
= (PyObject
*) 0 ;
4364 PyObject
* obj0
= 0 ;
4365 PyObject
* obj1
= 0 ;
4366 char * kwnames
[] = {
4367 (char *) "self",(char *) "other", NULL
4370 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4371 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4372 if (!SWIG_IsOK(res1
)) {
4373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___eq__" "', expected argument " "1"" of type '" "wxColour *""'");
4375 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4378 result
= (bool)wxColour___eq__(arg1
,arg2
);
4379 if (PyErr_Occurred()) SWIG_fail
;
4382 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4390 SWIGINTERN PyObject
*_wrap_Colour___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4391 PyObject
*resultobj
= 0;
4392 wxColour
*arg1
= (wxColour
*) 0 ;
4393 PyObject
*arg2
= (PyObject
*) 0 ;
4397 PyObject
* obj0
= 0 ;
4398 PyObject
* obj1
= 0 ;
4399 char * kwnames
[] = {
4400 (char *) "self",(char *) "other", NULL
4403 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4404 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4405 if (!SWIG_IsOK(res1
)) {
4406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___ne__" "', expected argument " "1"" of type '" "wxColour *""'");
4408 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4411 result
= (bool)wxColour___ne__(arg1
,arg2
);
4412 if (PyErr_Occurred()) SWIG_fail
;
4415 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4423 SWIGINTERN PyObject
*_wrap_Colour_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4424 PyObject
*resultobj
= 0;
4425 wxColour
*arg1
= (wxColour
*) 0 ;
4426 bool arg2
= (bool) false ;
4427 PyObject
*result
= 0 ;
4432 PyObject
* obj0
= 0 ;
4433 PyObject
* obj1
= 0 ;
4434 char * kwnames
[] = {
4435 (char *) "self",(char *) "includeAlpha", NULL
4438 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_Get",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4439 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4440 if (!SWIG_IsOK(res1
)) {
4441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Get" "', expected argument " "1"" of type '" "wxColour *""'");
4443 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4445 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4446 if (!SWIG_IsOK(ecode2
)) {
4447 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Get" "', expected argument " "2"" of type '" "bool""'");
4449 arg2
= static_cast< bool >(val2
);
4452 result
= (PyObject
*)wxColour_Get(arg1
,arg2
);
4453 if (PyErr_Occurred()) SWIG_fail
;
4462 SWIGINTERN PyObject
*_wrap_Colour_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4463 PyObject
*resultobj
= 0;
4464 wxColour
*arg1
= (wxColour
*) 0 ;
4465 unsigned long result
;
4468 PyObject
*swig_obj
[1] ;
4470 if (!args
) SWIG_fail
;
4472 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4473 if (!SWIG_IsOK(res1
)) {
4474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4476 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4478 result
= (unsigned long)wxColour_GetRGB(arg1
);
4479 if (PyErr_Occurred()) SWIG_fail
;
4481 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
4488 SWIGINTERN PyObject
*Colour_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4490 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4491 SWIG_TypeNewClientData(SWIGTYPE_p_wxColour
, SWIG_NewClientData(obj
));
4492 return SWIG_Py_Void();
4495 SWIGINTERN PyObject
*Colour_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4496 return SWIG_Python_InitShadowInstance(args
);
4499 SWIGINTERN PyObject
*_wrap_new_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4500 PyObject
*resultobj
= 0;
4502 unsigned char *arg2
= (unsigned char *) 0 ;
4503 unsigned char *arg3
= (unsigned char *) 0 ;
4504 unsigned char *arg4
= (unsigned char *) 0 ;
4505 wxPalette
*result
= 0 ;
4514 PyObject
* obj0
= 0 ;
4515 PyObject
* obj1
= 0 ;
4516 PyObject
* obj2
= 0 ;
4517 PyObject
* obj3
= 0 ;
4518 char * kwnames
[] = {
4519 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
4522 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4523 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4524 if (!SWIG_IsOK(ecode1
)) {
4525 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Palette" "', expected argument " "1"" of type '" "int""'");
4527 arg1
= static_cast< int >(val1
);
4528 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4529 if (!SWIG_IsOK(res2
)) {
4530 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_Palette" "', expected argument " "2"" of type '" "unsigned char const *""'");
4532 arg2
= reinterpret_cast< unsigned char * >(argp2
);
4533 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4534 if (!SWIG_IsOK(res3
)) {
4535 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_Palette" "', expected argument " "3"" of type '" "unsigned char const *""'");
4537 arg3
= reinterpret_cast< unsigned char * >(argp3
);
4538 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4539 if (!SWIG_IsOK(res4
)) {
4540 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_Palette" "', expected argument " "4"" of type '" "unsigned char const *""'");
4542 arg4
= reinterpret_cast< unsigned char * >(argp4
);
4544 if (!wxPyCheckForApp()) SWIG_fail
;
4545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4546 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
4547 wxPyEndAllowThreads(__tstate
);
4548 if (PyErr_Occurred()) SWIG_fail
;
4550 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, SWIG_POINTER_NEW
| 0 );
4557 SWIGINTERN PyObject
*_wrap_delete_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4558 PyObject
*resultobj
= 0;
4559 wxPalette
*arg1
= (wxPalette
*) 0 ;
4562 PyObject
*swig_obj
[1] ;
4564 if (!args
) SWIG_fail
;
4566 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, SWIG_POINTER_DISOWN
| 0 );
4567 if (!SWIG_IsOK(res1
)) {
4568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Palette" "', expected argument " "1"" of type '" "wxPalette *""'");
4570 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4575 wxPyEndAllowThreads(__tstate
);
4576 if (PyErr_Occurred()) SWIG_fail
;
4578 resultobj
= SWIG_Py_Void();
4585 SWIGINTERN PyObject
*_wrap_Palette_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4586 PyObject
*resultobj
= 0;
4587 wxPalette
*arg1
= (wxPalette
*) 0 ;
4594 unsigned char val2
;
4596 unsigned char val3
;
4598 unsigned char val4
;
4600 PyObject
* obj0
= 0 ;
4601 PyObject
* obj1
= 0 ;
4602 PyObject
* obj2
= 0 ;
4603 PyObject
* obj3
= 0 ;
4604 char * kwnames
[] = {
4605 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
4608 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4609 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4610 if (!SWIG_IsOK(res1
)) {
4611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetPixel" "', expected argument " "1"" of type '" "wxPalette *""'");
4613 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4614 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4615 if (!SWIG_IsOK(ecode2
)) {
4616 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetPixel" "', expected argument " "2"" of type '" "byte""'");
4618 arg2
= static_cast< byte
>(val2
);
4619 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4620 if (!SWIG_IsOK(ecode3
)) {
4621 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Palette_GetPixel" "', expected argument " "3"" of type '" "byte""'");
4623 arg3
= static_cast< byte
>(val3
);
4624 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4625 if (!SWIG_IsOK(ecode4
)) {
4626 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Palette_GetPixel" "', expected argument " "4"" of type '" "byte""'");
4628 arg4
= static_cast< byte
>(val4
);
4630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4631 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
4632 wxPyEndAllowThreads(__tstate
);
4633 if (PyErr_Occurred()) SWIG_fail
;
4635 resultobj
= SWIG_From_int(static_cast< int >(result
));
4642 SWIGINTERN PyObject
*_wrap_Palette_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4643 PyObject
*resultobj
= 0;
4644 wxPalette
*arg1
= (wxPalette
*) 0 ;
4646 byte
*arg3
= (byte
*) 0 ;
4647 byte
*arg4
= (byte
*) 0 ;
4648 byte
*arg5
= (byte
*) 0 ;
4655 int res3
= SWIG_TMPOBJ
;
4657 int res4
= SWIG_TMPOBJ
;
4659 int res5
= SWIG_TMPOBJ
;
4660 PyObject
* obj0
= 0 ;
4661 PyObject
* obj1
= 0 ;
4662 char * kwnames
[] = {
4663 (char *) "self",(char *) "pixel", NULL
4669 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4670 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4671 if (!SWIG_IsOK(res1
)) {
4672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetRGB" "', expected argument " "1"" of type '" "wxPalette *""'");
4674 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4675 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4676 if (!SWIG_IsOK(ecode2
)) {
4677 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetRGB" "', expected argument " "2"" of type '" "int""'");
4679 arg2
= static_cast< int >(val2
);
4681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4682 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
4683 wxPyEndAllowThreads(__tstate
);
4684 if (PyErr_Occurred()) SWIG_fail
;
4687 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4689 if (SWIG_IsTmpObj(res3
)) {
4690 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg3
)));
4692 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4693 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, new_flags
));
4695 if (SWIG_IsTmpObj(res4
)) {
4696 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg4
)));
4698 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4699 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, new_flags
));
4701 if (SWIG_IsTmpObj(res5
)) {
4702 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg5
)));
4704 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4705 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_unsigned_char
, new_flags
));
4713 SWIGINTERN PyObject
*_wrap_Palette_GetColoursCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4714 PyObject
*resultobj
= 0;
4715 wxPalette
*arg1
= (wxPalette
*) 0 ;
4719 PyObject
*swig_obj
[1] ;
4721 if (!args
) SWIG_fail
;
4723 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4724 if (!SWIG_IsOK(res1
)) {
4725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetColoursCount" "', expected argument " "1"" of type '" "wxPalette const *""'");
4727 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4730 result
= (int)((wxPalette
const *)arg1
)->GetColoursCount();
4731 wxPyEndAllowThreads(__tstate
);
4732 if (PyErr_Occurred()) SWIG_fail
;
4734 resultobj
= SWIG_From_int(static_cast< int >(result
));
4741 SWIGINTERN PyObject
*_wrap_Palette_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4742 PyObject
*resultobj
= 0;
4743 wxPalette
*arg1
= (wxPalette
*) 0 ;
4747 PyObject
*swig_obj
[1] ;
4749 if (!args
) SWIG_fail
;
4751 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4752 if (!SWIG_IsOK(res1
)) {
4753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_IsOk" "', expected argument " "1"" of type '" "wxPalette *""'");
4755 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4758 result
= (bool)(arg1
)->IsOk();
4759 wxPyEndAllowThreads(__tstate
);
4760 if (PyErr_Occurred()) SWIG_fail
;
4763 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4771 SWIGINTERN PyObject
*Palette_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4773 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4774 SWIG_TypeNewClientData(SWIGTYPE_p_wxPalette
, SWIG_NewClientData(obj
));
4775 return SWIG_Py_Void();
4778 SWIGINTERN PyObject
*Palette_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4779 return SWIG_Python_InitShadowInstance(args
);
4782 SWIGINTERN PyObject
*_wrap_new_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4783 PyObject
*resultobj
= 0;
4784 wxColour
*arg1
= 0 ;
4785 int arg2
= (int) 1 ;
4786 int arg3
= (int) wxSOLID
;
4793 PyObject
* obj0
= 0 ;
4794 PyObject
* obj1
= 0 ;
4795 PyObject
* obj2
= 0 ;
4796 char * kwnames
[] = {
4797 (char *) "colour",(char *) "width",(char *) "style", NULL
4800 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4803 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
4806 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4807 if (!SWIG_IsOK(ecode2
)) {
4808 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Pen" "', expected argument " "2"" of type '" "int""'");
4810 arg2
= static_cast< int >(val2
);
4813 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4814 if (!SWIG_IsOK(ecode3
)) {
4815 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Pen" "', expected argument " "3"" of type '" "int""'");
4817 arg3
= static_cast< int >(val3
);
4820 if (!wxPyCheckForApp()) SWIG_fail
;
4821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4822 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
4823 wxPyEndAllowThreads(__tstate
);
4824 if (PyErr_Occurred()) SWIG_fail
;
4826 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, SWIG_POINTER_NEW
| 0 );
4833 SWIGINTERN PyObject
*_wrap_delete_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4834 PyObject
*resultobj
= 0;
4835 wxPen
*arg1
= (wxPen
*) 0 ;
4838 PyObject
*swig_obj
[1] ;
4840 if (!args
) SWIG_fail
;
4842 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, SWIG_POINTER_DISOWN
| 0 );
4843 if (!SWIG_IsOK(res1
)) {
4844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Pen" "', expected argument " "1"" of type '" "wxPen *""'");
4846 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4851 wxPyEndAllowThreads(__tstate
);
4852 if (PyErr_Occurred()) SWIG_fail
;
4854 resultobj
= SWIG_Py_Void();
4861 SWIGINTERN PyObject
*_wrap_Pen_GetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4862 PyObject
*resultobj
= 0;
4863 wxPen
*arg1
= (wxPen
*) 0 ;
4867 PyObject
*swig_obj
[1] ;
4869 if (!args
) SWIG_fail
;
4871 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4872 if (!SWIG_IsOK(res1
)) {
4873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetCap" "', expected argument " "1"" of type '" "wxPen *""'");
4875 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4878 result
= (int)(arg1
)->GetCap();
4879 wxPyEndAllowThreads(__tstate
);
4880 if (PyErr_Occurred()) SWIG_fail
;
4882 resultobj
= SWIG_From_int(static_cast< int >(result
));
4889 SWIGINTERN PyObject
*_wrap_Pen_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4890 PyObject
*resultobj
= 0;
4891 wxPen
*arg1
= (wxPen
*) 0 ;
4895 PyObject
*swig_obj
[1] ;
4897 if (!args
) SWIG_fail
;
4899 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4900 if (!SWIG_IsOK(res1
)) {
4901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetColour" "', expected argument " "1"" of type '" "wxPen *""'");
4903 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4906 result
= (arg1
)->GetColour();
4907 wxPyEndAllowThreads(__tstate
);
4908 if (PyErr_Occurred()) SWIG_fail
;
4910 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4917 SWIGINTERN PyObject
*_wrap_Pen_GetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4918 PyObject
*resultobj
= 0;
4919 wxPen
*arg1
= (wxPen
*) 0 ;
4923 PyObject
*swig_obj
[1] ;
4925 if (!args
) SWIG_fail
;
4927 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4928 if (!SWIG_IsOK(res1
)) {
4929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
4931 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4934 result
= (int)(arg1
)->GetJoin();
4935 wxPyEndAllowThreads(__tstate
);
4936 if (PyErr_Occurred()) SWIG_fail
;
4938 resultobj
= SWIG_From_int(static_cast< int >(result
));
4945 SWIGINTERN PyObject
*_wrap_Pen_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4946 PyObject
*resultobj
= 0;
4947 wxPen
*arg1
= (wxPen
*) 0 ;
4951 PyObject
*swig_obj
[1] ;
4953 if (!args
) SWIG_fail
;
4955 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4956 if (!SWIG_IsOK(res1
)) {
4957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
4959 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4962 result
= (int)(arg1
)->GetStyle();
4963 wxPyEndAllowThreads(__tstate
);
4964 if (PyErr_Occurred()) SWIG_fail
;
4966 resultobj
= SWIG_From_int(static_cast< int >(result
));
4973 SWIGINTERN PyObject
*_wrap_Pen_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4974 PyObject
*resultobj
= 0;
4975 wxPen
*arg1
= (wxPen
*) 0 ;
4979 PyObject
*swig_obj
[1] ;
4981 if (!args
) SWIG_fail
;
4983 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4984 if (!SWIG_IsOK(res1
)) {
4985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
4987 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4990 result
= (int)(arg1
)->GetWidth();
4991 wxPyEndAllowThreads(__tstate
);
4992 if (PyErr_Occurred()) SWIG_fail
;
4994 resultobj
= SWIG_From_int(static_cast< int >(result
));
5001 SWIGINTERN PyObject
*_wrap_Pen_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5002 PyObject
*resultobj
= 0;
5003 wxPen
*arg1
= (wxPen
*) 0 ;
5007 PyObject
*swig_obj
[1] ;
5009 if (!args
) SWIG_fail
;
5011 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5012 if (!SWIG_IsOK(res1
)) {
5013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_IsOk" "', expected argument " "1"" of type '" "wxPen *""'");
5015 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5018 result
= (bool)(arg1
)->IsOk();
5019 wxPyEndAllowThreads(__tstate
);
5020 if (PyErr_Occurred()) SWIG_fail
;
5023 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5031 SWIGINTERN PyObject
*_wrap_Pen_SetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5032 PyObject
*resultobj
= 0;
5033 wxPen
*arg1
= (wxPen
*) 0 ;
5039 PyObject
* obj0
= 0 ;
5040 PyObject
* obj1
= 0 ;
5041 char * kwnames
[] = {
5042 (char *) "self",(char *) "cap_style", NULL
5045 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5046 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5047 if (!SWIG_IsOK(res1
)) {
5048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetCap" "', expected argument " "1"" of type '" "wxPen *""'");
5050 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5051 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5052 if (!SWIG_IsOK(ecode2
)) {
5053 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetCap" "', expected argument " "2"" of type '" "int""'");
5055 arg2
= static_cast< int >(val2
);
5057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5058 (arg1
)->SetCap(arg2
);
5059 wxPyEndAllowThreads(__tstate
);
5060 if (PyErr_Occurred()) SWIG_fail
;
5062 resultobj
= SWIG_Py_Void();
5069 SWIGINTERN PyObject
*_wrap_Pen_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5070 PyObject
*resultobj
= 0;
5071 wxPen
*arg1
= (wxPen
*) 0 ;
5072 wxColour
*arg2
= 0 ;
5076 PyObject
* obj0
= 0 ;
5077 PyObject
* obj1
= 0 ;
5078 char * kwnames
[] = {
5079 (char *) "self",(char *) "colour", NULL
5082 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5083 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5084 if (!SWIG_IsOK(res1
)) {
5085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetColour" "', expected argument " "1"" of type '" "wxPen *""'");
5087 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5090 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5094 (arg1
)->SetColour(*arg2
);
5095 wxPyEndAllowThreads(__tstate
);
5096 if (PyErr_Occurred()) SWIG_fail
;
5098 resultobj
= SWIG_Py_Void();
5105 SWIGINTERN PyObject
*_wrap_Pen_SetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5106 PyObject
*resultobj
= 0;
5107 wxPen
*arg1
= (wxPen
*) 0 ;
5113 PyObject
* obj0
= 0 ;
5114 PyObject
* obj1
= 0 ;
5115 char * kwnames
[] = {
5116 (char *) "self",(char *) "join_style", NULL
5119 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5120 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5121 if (!SWIG_IsOK(res1
)) {
5122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
5124 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5125 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5126 if (!SWIG_IsOK(ecode2
)) {
5127 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetJoin" "', expected argument " "2"" of type '" "int""'");
5129 arg2
= static_cast< int >(val2
);
5131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5132 (arg1
)->SetJoin(arg2
);
5133 wxPyEndAllowThreads(__tstate
);
5134 if (PyErr_Occurred()) SWIG_fail
;
5136 resultobj
= SWIG_Py_Void();
5143 SWIGINTERN PyObject
*_wrap_Pen_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5144 PyObject
*resultobj
= 0;
5145 wxPen
*arg1
= (wxPen
*) 0 ;
5151 PyObject
* obj0
= 0 ;
5152 PyObject
* obj1
= 0 ;
5153 char * kwnames
[] = {
5154 (char *) "self",(char *) "style", NULL
5157 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5158 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5159 if (!SWIG_IsOK(res1
)) {
5160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
5162 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5163 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5164 if (!SWIG_IsOK(ecode2
)) {
5165 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetStyle" "', expected argument " "2"" of type '" "int""'");
5167 arg2
= static_cast< int >(val2
);
5169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5170 (arg1
)->SetStyle(arg2
);
5171 wxPyEndAllowThreads(__tstate
);
5172 if (PyErr_Occurred()) SWIG_fail
;
5174 resultobj
= SWIG_Py_Void();
5181 SWIGINTERN PyObject
*_wrap_Pen_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5182 PyObject
*resultobj
= 0;
5183 wxPen
*arg1
= (wxPen
*) 0 ;
5189 PyObject
* obj0
= 0 ;
5190 PyObject
* obj1
= 0 ;
5191 char * kwnames
[] = {
5192 (char *) "self",(char *) "width", NULL
5195 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5196 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5197 if (!SWIG_IsOK(res1
)) {
5198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
5200 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5201 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5202 if (!SWIG_IsOK(ecode2
)) {
5203 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetWidth" "', expected argument " "2"" of type '" "int""'");
5205 arg2
= static_cast< int >(val2
);
5207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5208 (arg1
)->SetWidth(arg2
);
5209 wxPyEndAllowThreads(__tstate
);
5210 if (PyErr_Occurred()) SWIG_fail
;
5212 resultobj
= SWIG_Py_Void();
5219 SWIGINTERN PyObject
*_wrap_Pen_SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5220 PyObject
*resultobj
= 0;
5221 wxPen
*arg1
= (wxPen
*) 0 ;
5223 wxDash
*arg3
= (wxDash
*) 0 ;
5226 PyObject
* obj0
= 0 ;
5227 PyObject
* obj1
= 0 ;
5228 char * kwnames
[] = {
5229 (char *) "self",(char *) "dashes", NULL
5232 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5233 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5234 if (!SWIG_IsOK(res1
)) {
5235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5237 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5239 arg2
= PyList_Size(obj1
);
5240 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
5241 if (arg3
== NULL
) SWIG_fail
;
5244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5245 (arg1
)->SetDashes(arg2
,arg3
);
5246 wxPyEndAllowThreads(__tstate
);
5247 if (PyErr_Occurred()) SWIG_fail
;
5249 resultobj
= SWIG_Py_Void();
5251 if (arg3
) delete [] arg3
;
5256 if (arg3
) delete [] arg3
;
5262 SWIGINTERN PyObject
*_wrap_Pen_GetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5263 PyObject
*resultobj
= 0;
5264 wxPen
*arg1
= (wxPen
*) 0 ;
5265 PyObject
*result
= 0 ;
5268 PyObject
*swig_obj
[1] ;
5270 if (!args
) SWIG_fail
;
5272 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5273 if (!SWIG_IsOK(res1
)) {
5274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5276 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5279 result
= (PyObject
*)wxPen_GetDashes(arg1
);
5280 wxPyEndAllowThreads(__tstate
);
5281 if (PyErr_Occurred()) SWIG_fail
;
5290 SWIGINTERN PyObject
*_wrap_Pen__SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5291 PyObject
*resultobj
= 0;
5292 wxPen
*arg1
= (wxPen
*) 0 ;
5293 PyObject
*arg2
= (PyObject
*) 0 ;
5294 PyObject
*arg3
= (PyObject
*) 0 ;
5297 PyObject
* obj0
= 0 ;
5298 PyObject
* obj1
= 0 ;
5299 PyObject
* obj2
= 0 ;
5300 char * kwnames
[] = {
5301 (char *) "self",(char *) "_self",(char *) "pyDashes", NULL
5304 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Pen__SetDashes",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5305 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5306 if (!SWIG_IsOK(res1
)) {
5307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen__SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5309 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5314 wxPen__SetDashes(arg1
,arg2
,arg3
);
5315 wxPyEndAllowThreads(__tstate
);
5316 if (PyErr_Occurred()) SWIG_fail
;
5318 resultobj
= SWIG_Py_Void();
5325 SWIGINTERN PyObject
*_wrap_Pen_GetDashCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5326 PyObject
*resultobj
= 0;
5327 wxPen
*arg1
= (wxPen
*) 0 ;
5331 PyObject
*swig_obj
[1] ;
5333 if (!args
) SWIG_fail
;
5335 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5336 if (!SWIG_IsOK(res1
)) {
5337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashCount" "', expected argument " "1"" of type '" "wxPen const *""'");
5339 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5342 result
= (int)((wxPen
const *)arg1
)->GetDashCount();
5343 wxPyEndAllowThreads(__tstate
);
5344 if (PyErr_Occurred()) SWIG_fail
;
5346 resultobj
= SWIG_From_int(static_cast< int >(result
));
5353 SWIGINTERN PyObject
*_wrap_Pen___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5354 PyObject
*resultobj
= 0;
5355 wxPen
*arg1
= (wxPen
*) 0 ;
5356 wxPen
*arg2
= (wxPen
*) 0 ;
5362 PyObject
* obj0
= 0 ;
5363 PyObject
* obj1
= 0 ;
5364 char * kwnames
[] = {
5365 (char *) "self",(char *) "other", NULL
5368 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5369 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5370 if (!SWIG_IsOK(res1
)) {
5371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___eq__" "', expected argument " "1"" of type '" "wxPen *""'");
5373 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5374 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5375 if (!SWIG_IsOK(res2
)) {
5376 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___eq__" "', expected argument " "2"" of type '" "wxPen const *""'");
5378 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5381 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
5382 wxPyEndAllowThreads(__tstate
);
5383 if (PyErr_Occurred()) SWIG_fail
;
5386 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5394 SWIGINTERN PyObject
*_wrap_Pen___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5395 PyObject
*resultobj
= 0;
5396 wxPen
*arg1
= (wxPen
*) 0 ;
5397 wxPen
*arg2
= (wxPen
*) 0 ;
5403 PyObject
* obj0
= 0 ;
5404 PyObject
* obj1
= 0 ;
5405 char * kwnames
[] = {
5406 (char *) "self",(char *) "other", NULL
5409 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5410 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5411 if (!SWIG_IsOK(res1
)) {
5412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___ne__" "', expected argument " "1"" of type '" "wxPen *""'");
5414 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5415 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5416 if (!SWIG_IsOK(res2
)) {
5417 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___ne__" "', expected argument " "2"" of type '" "wxPen const *""'");
5419 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5422 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
5423 wxPyEndAllowThreads(__tstate
);
5424 if (PyErr_Occurred()) SWIG_fail
;
5427 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5435 SWIGINTERN PyObject
*Pen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5437 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5438 SWIG_TypeNewClientData(SWIGTYPE_p_wxPen
, SWIG_NewClientData(obj
));
5439 return SWIG_Py_Void();
5442 SWIGINTERN PyObject
*Pen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5443 return SWIG_Python_InitShadowInstance(args
);
5446 SWIGINTERN PyObject
*_wrap_new_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5447 PyObject
*resultobj
= 0;
5448 wxColour
*arg1
= 0 ;
5449 int arg2
= (int) wxSOLID
;
5450 wxBrush
*result
= 0 ;
5454 PyObject
* obj0
= 0 ;
5455 PyObject
* obj1
= 0 ;
5456 char * kwnames
[] = {
5457 (char *) "colour",(char *) "style", NULL
5460 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5463 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
5466 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5467 if (!SWIG_IsOK(ecode2
)) {
5468 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Brush" "', expected argument " "2"" of type '" "int""'");
5470 arg2
= static_cast< int >(val2
);
5473 if (!wxPyCheckForApp()) SWIG_fail
;
5474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5475 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
5476 wxPyEndAllowThreads(__tstate
);
5477 if (PyErr_Occurred()) SWIG_fail
;
5479 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_NEW
| 0 );
5486 SWIGINTERN PyObject
*_wrap_new_BrushFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5487 PyObject
*resultobj
= 0;
5488 wxBitmap
*arg1
= 0 ;
5489 wxBrush
*result
= 0 ;
5492 PyObject
* obj0
= 0 ;
5493 char * kwnames
[] = {
5494 (char *) "stippleBitmap", NULL
5497 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BrushFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
5498 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5499 if (!SWIG_IsOK(res1
)) {
5500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5503 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5505 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5507 if (!wxPyCheckForApp()) SWIG_fail
;
5508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5509 result
= (wxBrush
*)new wxBrush((wxBitmap
const &)*arg1
);
5510 wxPyEndAllowThreads(__tstate
);
5511 if (PyErr_Occurred()) SWIG_fail
;
5513 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_OWN
| 0 );
5520 SWIGINTERN PyObject
*_wrap_delete_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5521 PyObject
*resultobj
= 0;
5522 wxBrush
*arg1
= (wxBrush
*) 0 ;
5525 PyObject
*swig_obj
[1] ;
5527 if (!args
) SWIG_fail
;
5529 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, SWIG_POINTER_DISOWN
| 0 );
5530 if (!SWIG_IsOK(res1
)) {
5531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Brush" "', expected argument " "1"" of type '" "wxBrush *""'");
5533 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5538 wxPyEndAllowThreads(__tstate
);
5539 if (PyErr_Occurred()) SWIG_fail
;
5541 resultobj
= SWIG_Py_Void();
5548 SWIGINTERN PyObject
*_wrap_Brush_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5549 PyObject
*resultobj
= 0;
5550 wxBrush
*arg1
= (wxBrush
*) 0 ;
5551 wxColour
*arg2
= 0 ;
5555 PyObject
* obj0
= 0 ;
5556 PyObject
* obj1
= 0 ;
5557 char * kwnames
[] = {
5558 (char *) "self",(char *) "col", NULL
5561 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5562 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5563 if (!SWIG_IsOK(res1
)) {
5564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetColour" "', expected argument " "1"" of type '" "wxBrush *""'");
5566 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5569 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5573 (arg1
)->SetColour((wxColour
const &)*arg2
);
5574 wxPyEndAllowThreads(__tstate
);
5575 if (PyErr_Occurred()) SWIG_fail
;
5577 resultobj
= SWIG_Py_Void();
5584 SWIGINTERN PyObject
*_wrap_Brush_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5585 PyObject
*resultobj
= 0;
5586 wxBrush
*arg1
= (wxBrush
*) 0 ;
5592 PyObject
* obj0
= 0 ;
5593 PyObject
* obj1
= 0 ;
5594 char * kwnames
[] = {
5595 (char *) "self",(char *) "style", NULL
5598 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5599 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5600 if (!SWIG_IsOK(res1
)) {
5601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStyle" "', expected argument " "1"" of type '" "wxBrush *""'");
5603 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5604 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5605 if (!SWIG_IsOK(ecode2
)) {
5606 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Brush_SetStyle" "', expected argument " "2"" of type '" "int""'");
5608 arg2
= static_cast< int >(val2
);
5610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5611 (arg1
)->SetStyle(arg2
);
5612 wxPyEndAllowThreads(__tstate
);
5613 if (PyErr_Occurred()) SWIG_fail
;
5615 resultobj
= SWIG_Py_Void();
5622 SWIGINTERN PyObject
*_wrap_Brush_SetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5623 PyObject
*resultobj
= 0;
5624 wxBrush
*arg1
= (wxBrush
*) 0 ;
5625 wxBitmap
*arg2
= 0 ;
5630 PyObject
* obj0
= 0 ;
5631 PyObject
* obj1
= 0 ;
5632 char * kwnames
[] = {
5633 (char *) "self",(char *) "stipple", NULL
5636 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5637 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5638 if (!SWIG_IsOK(res1
)) {
5639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStipple" "', expected argument " "1"" of type '" "wxBrush *""'");
5641 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5642 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5643 if (!SWIG_IsOK(res2
)) {
5644 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5647 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5649 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
5651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5652 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
5653 wxPyEndAllowThreads(__tstate
);
5654 if (PyErr_Occurred()) SWIG_fail
;
5656 resultobj
= SWIG_Py_Void();
5663 SWIGINTERN PyObject
*_wrap_Brush_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5664 PyObject
*resultobj
= 0;
5665 wxBrush
*arg1
= (wxBrush
*) 0 ;
5669 PyObject
*swig_obj
[1] ;
5671 if (!args
) SWIG_fail
;
5673 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5674 if (!SWIG_IsOK(res1
)) {
5675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetColour" "', expected argument " "1"" of type '" "wxBrush const *""'");
5677 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5680 result
= ((wxBrush
const *)arg1
)->GetColour();
5681 wxPyEndAllowThreads(__tstate
);
5682 if (PyErr_Occurred()) SWIG_fail
;
5684 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5691 SWIGINTERN PyObject
*_wrap_Brush_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5692 PyObject
*resultobj
= 0;
5693 wxBrush
*arg1
= (wxBrush
*) 0 ;
5697 PyObject
*swig_obj
[1] ;
5699 if (!args
) SWIG_fail
;
5701 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5702 if (!SWIG_IsOK(res1
)) {
5703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStyle" "', expected argument " "1"" of type '" "wxBrush const *""'");
5705 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5708 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
5709 wxPyEndAllowThreads(__tstate
);
5710 if (PyErr_Occurred()) SWIG_fail
;
5712 resultobj
= SWIG_From_int(static_cast< int >(result
));
5719 SWIGINTERN PyObject
*_wrap_Brush_GetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5720 PyObject
*resultobj
= 0;
5721 wxBrush
*arg1
= (wxBrush
*) 0 ;
5722 wxBitmap
*result
= 0 ;
5725 PyObject
*swig_obj
[1] ;
5727 if (!args
) SWIG_fail
;
5729 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5730 if (!SWIG_IsOK(res1
)) {
5731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStipple" "', expected argument " "1"" of type '" "wxBrush const *""'");
5733 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5736 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
5737 wxPyEndAllowThreads(__tstate
);
5738 if (PyErr_Occurred()) SWIG_fail
;
5740 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
5747 SWIGINTERN PyObject
*_wrap_Brush_IsHatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5748 PyObject
*resultobj
= 0;
5749 wxBrush
*arg1
= (wxBrush
*) 0 ;
5753 PyObject
*swig_obj
[1] ;
5755 if (!args
) SWIG_fail
;
5757 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5758 if (!SWIG_IsOK(res1
)) {
5759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsHatch" "', expected argument " "1"" of type '" "wxBrush const *""'");
5761 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5764 result
= (bool)((wxBrush
const *)arg1
)->IsHatch();
5765 wxPyEndAllowThreads(__tstate
);
5766 if (PyErr_Occurred()) SWIG_fail
;
5769 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5777 SWIGINTERN PyObject
*_wrap_Brush_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5778 PyObject
*resultobj
= 0;
5779 wxBrush
*arg1
= (wxBrush
*) 0 ;
5783 PyObject
*swig_obj
[1] ;
5785 if (!args
) SWIG_fail
;
5787 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5788 if (!SWIG_IsOK(res1
)) {
5789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsOk" "', expected argument " "1"" of type '" "wxBrush *""'");
5791 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5794 result
= (bool)(arg1
)->IsOk();
5795 wxPyEndAllowThreads(__tstate
);
5796 if (PyErr_Occurred()) SWIG_fail
;
5799 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5807 SWIGINTERN PyObject
*Brush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5809 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5810 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrush
, SWIG_NewClientData(obj
));
5811 return SWIG_Py_Void();
5814 SWIGINTERN PyObject
*Brush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5815 return SWIG_Python_InitShadowInstance(args
);
5818 SWIGINTERN PyObject
*_wrap_new_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5819 PyObject
*resultobj
= 0;
5820 wxString
*arg1
= 0 ;
5821 wxBitmapType arg2
= (wxBitmapType
) wxBITMAP_TYPE_ANY
;
5822 wxBitmap
*result
= 0 ;
5823 bool temp1
= false ;
5826 PyObject
* obj0
= 0 ;
5827 PyObject
* obj1
= 0 ;
5828 char * kwnames
[] = {
5829 (char *) "name",(char *) "type", NULL
5832 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5834 arg1
= wxString_in_helper(obj0
);
5835 if (arg1
== NULL
) SWIG_fail
;
5839 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5840 if (!SWIG_IsOK(ecode2
)) {
5841 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Bitmap" "', expected argument " "2"" of type '" "wxBitmapType""'");
5843 arg2
= static_cast< wxBitmapType
>(val2
);
5846 if (!wxPyCheckForApp()) SWIG_fail
;
5847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5848 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,arg2
);
5849 wxPyEndAllowThreads(__tstate
);
5850 if (PyErr_Occurred()) SWIG_fail
;
5852 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_NEW
| 0 );
5867 SWIGINTERN PyObject
*_wrap_delete_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5868 PyObject
*resultobj
= 0;
5869 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5872 PyObject
*swig_obj
[1] ;
5874 if (!args
) SWIG_fail
;
5876 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, SWIG_POINTER_DISOWN
| 0 );
5877 if (!SWIG_IsOK(res1
)) {
5878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Bitmap" "', expected argument " "1"" of type '" "wxBitmap *""'");
5880 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5884 if (PyErr_Occurred()) SWIG_fail
;
5886 resultobj
= SWIG_Py_Void();
5893 SWIGINTERN PyObject
*_wrap_new_EmptyBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5894 PyObject
*resultobj
= 0;
5897 int arg3
= (int) -1 ;
5898 wxBitmap
*result
= 0 ;
5905 PyObject
* obj0
= 0 ;
5906 PyObject
* obj1
= 0 ;
5907 PyObject
* obj2
= 0 ;
5908 char * kwnames
[] = {
5909 (char *) "width",(char *) "height",(char *) "depth", NULL
5912 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5913 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5914 if (!SWIG_IsOK(ecode1
)) {
5915 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_EmptyBitmap" "', expected argument " "1"" of type '" "int""'");
5917 arg1
= static_cast< int >(val1
);
5918 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5919 if (!SWIG_IsOK(ecode2
)) {
5920 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_EmptyBitmap" "', expected argument " "2"" of type '" "int""'");
5922 arg2
= static_cast< int >(val2
);
5924 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5925 if (!SWIG_IsOK(ecode3
)) {
5926 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_EmptyBitmap" "', expected argument " "3"" of type '" "int""'");
5928 arg3
= static_cast< int >(val3
);
5931 if (!wxPyCheckForApp()) SWIG_fail
;
5932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5933 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
5934 wxPyEndAllowThreads(__tstate
);
5935 if (PyErr_Occurred()) SWIG_fail
;
5937 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5944 SWIGINTERN PyObject
*_wrap_new_BitmapFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5945 PyObject
*resultobj
= 0;
5947 wxBitmap
*result
= 0 ;
5950 PyObject
* obj0
= 0 ;
5951 char * kwnames
[] = {
5952 (char *) "icon", NULL
5955 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) SWIG_fail
;
5956 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
5957 if (!SWIG_IsOK(res1
)) {
5958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
5961 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
5963 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
5965 if (!wxPyCheckForApp()) SWIG_fail
;
5966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5967 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
5968 wxPyEndAllowThreads(__tstate
);
5969 if (PyErr_Occurred()) SWIG_fail
;
5971 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5978 SWIGINTERN PyObject
*_wrap_new_BitmapFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5979 PyObject
*resultobj
= 0;
5981 int arg2
= (int) -1 ;
5982 wxBitmap
*result
= 0 ;
5987 PyObject
* obj0
= 0 ;
5988 PyObject
* obj1
= 0 ;
5989 char * kwnames
[] = {
5990 (char *) "image",(char *) "depth", NULL
5993 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5994 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
5995 if (!SWIG_IsOK(res1
)) {
5996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
5999 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
6001 arg1
= reinterpret_cast< wxImage
* >(argp1
);
6003 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6004 if (!SWIG_IsOK(ecode2
)) {
6005 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromImage" "', expected argument " "2"" of type '" "int""'");
6007 arg2
= static_cast< int >(val2
);
6010 if (!wxPyCheckForApp()) SWIG_fail
;
6011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6012 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
6013 wxPyEndAllowThreads(__tstate
);
6014 if (PyErr_Occurred()) SWIG_fail
;
6016 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6023 SWIGINTERN PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6024 PyObject
*resultobj
= 0;
6025 PyObject
*arg1
= (PyObject
*) 0 ;
6026 wxBitmap
*result
= 0 ;
6027 PyObject
* obj0
= 0 ;
6028 char * kwnames
[] = {
6029 (char *) "listOfStrings", NULL
6032 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
6035 if (!wxPyCheckForApp()) SWIG_fail
;
6036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6037 result
= (wxBitmap
*)new_wxBitmap(arg1
);
6038 wxPyEndAllowThreads(__tstate
);
6039 if (PyErr_Occurred()) SWIG_fail
;
6041 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6048 SWIGINTERN PyObject
*_wrap_new_BitmapFromBits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6049 PyObject
*resultobj
= 0;
6050 PyObject
*arg1
= (PyObject
*) 0 ;
6053 int arg4
= (int) 1 ;
6054 wxBitmap
*result
= 0 ;
6061 PyObject
* obj0
= 0 ;
6062 PyObject
* obj1
= 0 ;
6063 PyObject
* obj2
= 0 ;
6064 PyObject
* obj3
= 0 ;
6065 char * kwnames
[] = {
6066 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
6069 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6071 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6072 if (!SWIG_IsOK(ecode2
)) {
6073 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromBits" "', expected argument " "2"" of type '" "int""'");
6075 arg2
= static_cast< int >(val2
);
6076 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6077 if (!SWIG_IsOK(ecode3
)) {
6078 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BitmapFromBits" "', expected argument " "3"" of type '" "int""'");
6080 arg3
= static_cast< int >(val3
);
6082 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6083 if (!SWIG_IsOK(ecode4
)) {
6084 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BitmapFromBits" "', expected argument " "4"" of type '" "int""'");
6086 arg4
= static_cast< int >(val4
);
6089 if (!wxPyCheckForApp()) SWIG_fail
;
6090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6091 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
6092 wxPyEndAllowThreads(__tstate
);
6093 if (PyErr_Occurred()) SWIG_fail
;
6095 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6102 SWIGINTERN PyObject
*_wrap_Bitmap_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6103 PyObject
*resultobj
= 0;
6104 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6108 PyObject
*swig_obj
[1] ;
6110 if (!args
) SWIG_fail
;
6112 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6113 if (!SWIG_IsOK(res1
)) {
6114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_IsOk" "', expected argument " "1"" of type '" "wxBitmap *""'");
6116 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6118 result
= (bool)(arg1
)->IsOk();
6119 if (PyErr_Occurred()) SWIG_fail
;
6122 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6130 SWIGINTERN PyObject
*_wrap_Bitmap_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6131 PyObject
*resultobj
= 0;
6132 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6136 PyObject
*swig_obj
[1] ;
6138 if (!args
) SWIG_fail
;
6140 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6141 if (!SWIG_IsOK(res1
)) {
6142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6144 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6146 result
= (int)(arg1
)->GetWidth();
6147 if (PyErr_Occurred()) SWIG_fail
;
6149 resultobj
= SWIG_From_int(static_cast< int >(result
));
6156 SWIGINTERN PyObject
*_wrap_Bitmap_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6157 PyObject
*resultobj
= 0;
6158 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6162 PyObject
*swig_obj
[1] ;
6164 if (!args
) SWIG_fail
;
6166 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6167 if (!SWIG_IsOK(res1
)) {
6168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6170 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6172 result
= (int)(arg1
)->GetHeight();
6173 if (PyErr_Occurred()) SWIG_fail
;
6175 resultobj
= SWIG_From_int(static_cast< int >(result
));
6182 SWIGINTERN PyObject
*_wrap_Bitmap_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6183 PyObject
*resultobj
= 0;
6184 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6188 PyObject
*swig_obj
[1] ;
6190 if (!args
) SWIG_fail
;
6192 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6193 if (!SWIG_IsOK(res1
)) {
6194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6196 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6198 result
= (int)(arg1
)->GetDepth();
6199 if (PyErr_Occurred()) SWIG_fail
;
6201 resultobj
= SWIG_From_int(static_cast< int >(result
));
6208 SWIGINTERN PyObject
*_wrap_Bitmap_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6209 PyObject
*resultobj
= 0;
6210 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6214 PyObject
*swig_obj
[1] ;
6216 if (!args
) SWIG_fail
;
6218 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6219 if (!SWIG_IsOK(res1
)) {
6220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6222 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6224 result
= wxBitmap_GetSize(arg1
);
6225 if (PyErr_Occurred()) SWIG_fail
;
6227 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6234 SWIGINTERN PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6235 PyObject
*resultobj
= 0;
6236 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6237 SwigValueWrapper
<wxImage
> result
;
6240 PyObject
*swig_obj
[1] ;
6242 if (!args
) SWIG_fail
;
6244 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6245 if (!SWIG_IsOK(res1
)) {
6246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_ConvertToImage" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6248 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6250 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
6251 if (PyErr_Occurred()) SWIG_fail
;
6253 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
6260 SWIGINTERN PyObject
*_wrap_Bitmap_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6261 PyObject
*resultobj
= 0;
6262 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6263 wxMask
*result
= 0 ;
6266 PyObject
*swig_obj
[1] ;
6268 if (!args
) SWIG_fail
;
6270 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6271 if (!SWIG_IsOK(res1
)) {
6272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetMask" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6274 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6276 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
6277 if (PyErr_Occurred()) SWIG_fail
;
6279 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, 0 | 0 );
6286 SWIGINTERN PyObject
*_wrap_Bitmap_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6287 PyObject
*resultobj
= 0;
6288 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6289 wxMask
*arg2
= (wxMask
*) 0 ;
6293 PyObject
* obj0
= 0 ;
6294 PyObject
* obj1
= 0 ;
6295 char * kwnames
[] = {
6296 (char *) "self",(char *) "mask", NULL
6299 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6300 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6301 if (!SWIG_IsOK(res1
)) {
6302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMask" "', expected argument " "1"" of type '" "wxBitmap *""'");
6304 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6305 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
6306 if (!SWIG_IsOK(res2
)) {
6307 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_SetMask" "', expected argument " "2"" of type '" "wxMask *""'");
6310 (arg1
)->SetMask(arg2
);
6311 if (PyErr_Occurred()) SWIG_fail
;
6313 resultobj
= SWIG_Py_Void();
6320 SWIGINTERN PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6321 PyObject
*resultobj
= 0;
6322 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6323 wxColour
*arg2
= 0 ;
6327 PyObject
* obj0
= 0 ;
6328 PyObject
* obj1
= 0 ;
6329 char * kwnames
[] = {
6330 (char *) "self",(char *) "colour", NULL
6333 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6334 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6335 if (!SWIG_IsOK(res1
)) {
6336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMaskColour" "', expected argument " "1"" of type '" "wxBitmap *""'");
6338 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6341 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6344 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
6345 if (PyErr_Occurred()) SWIG_fail
;
6347 resultobj
= SWIG_Py_Void();
6354 SWIGINTERN PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6355 PyObject
*resultobj
= 0;
6356 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6358 SwigValueWrapper
<wxBitmap
> result
;
6362 PyObject
* obj0
= 0 ;
6363 PyObject
* obj1
= 0 ;
6364 char * kwnames
[] = {
6365 (char *) "self",(char *) "rect", NULL
6368 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6369 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6370 if (!SWIG_IsOK(res1
)) {
6371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSubBitmap" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6373 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6376 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6379 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
6380 if (PyErr_Occurred()) SWIG_fail
;
6382 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6389 SWIGINTERN PyObject
*_wrap_Bitmap_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6390 PyObject
*resultobj
= 0;
6391 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6392 wxString
*arg2
= 0 ;
6394 wxPalette
*arg4
= (wxPalette
*) NULL
;
6398 bool temp2
= false ;
6403 PyObject
* obj0
= 0 ;
6404 PyObject
* obj1
= 0 ;
6405 PyObject
* obj2
= 0 ;
6406 PyObject
* obj3
= 0 ;
6407 char * kwnames
[] = {
6408 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
6411 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6412 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6413 if (!SWIG_IsOK(res1
)) {
6414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SaveFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6416 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6418 arg2
= wxString_in_helper(obj1
);
6419 if (arg2
== NULL
) SWIG_fail
;
6422 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6423 if (!SWIG_IsOK(ecode3
)) {
6424 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_SaveFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6426 arg3
= static_cast< wxBitmapType
>(val3
);
6428 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxPalette
, 0 | 0 );
6429 if (!SWIG_IsOK(res4
)) {
6430 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Bitmap_SaveFile" "', expected argument " "4"" of type '" "wxPalette *""'");
6432 arg4
= reinterpret_cast< wxPalette
* >(argp4
);
6435 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
,arg4
);
6436 if (PyErr_Occurred()) SWIG_fail
;
6439 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6455 SWIGINTERN PyObject
*_wrap_Bitmap_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6456 PyObject
*resultobj
= 0;
6457 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6458 wxString
*arg2
= 0 ;
6463 bool temp2
= false ;
6466 PyObject
* obj0
= 0 ;
6467 PyObject
* obj1
= 0 ;
6468 PyObject
* obj2
= 0 ;
6469 char * kwnames
[] = {
6470 (char *) "self",(char *) "name",(char *) "type", NULL
6473 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6474 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6475 if (!SWIG_IsOK(res1
)) {
6476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_LoadFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6478 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6480 arg2
= wxString_in_helper(obj1
);
6481 if (arg2
== NULL
) SWIG_fail
;
6484 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6485 if (!SWIG_IsOK(ecode3
)) {
6486 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6488 arg3
= static_cast< wxBitmapType
>(val3
);
6490 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
6491 if (PyErr_Occurred()) SWIG_fail
;
6494 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6510 SWIGINTERN PyObject
*_wrap_Bitmap_GetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6511 PyObject
*resultobj
= 0;
6512 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6513 wxPalette
*result
= 0 ;
6516 PyObject
*swig_obj
[1] ;
6518 if (!args
) SWIG_fail
;
6520 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6521 if (!SWIG_IsOK(res1
)) {
6522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetPalette" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6524 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6526 result
= (wxPalette
*)((wxBitmap
const *)arg1
)->GetPalette();
6527 if (PyErr_Occurred()) SWIG_fail
;
6529 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, 0 | 0 );
6536 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6537 PyObject
*resultobj
= 0;
6538 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6545 PyObject
* obj0
= 0 ;
6546 PyObject
* obj1
= 0 ;
6547 char * kwnames
[] = {
6548 (char *) "self",(char *) "icon", NULL
6551 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6552 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6553 if (!SWIG_IsOK(res1
)) {
6554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "1"" of type '" "wxBitmap *""'");
6556 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6557 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
6558 if (!SWIG_IsOK(res2
)) {
6559 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6562 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6564 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
6566 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
6567 if (PyErr_Occurred()) SWIG_fail
;
6570 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6578 SWIGINTERN PyObject
*_wrap_Bitmap_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6579 PyObject
*resultobj
= 0;
6580 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6586 PyObject
* obj0
= 0 ;
6587 PyObject
* obj1
= 0 ;
6588 char * kwnames
[] = {
6589 (char *) "self",(char *) "height", NULL
6592 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6593 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6594 if (!SWIG_IsOK(res1
)) {
6595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6597 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6598 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6599 if (!SWIG_IsOK(ecode2
)) {
6600 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetHeight" "', expected argument " "2"" of type '" "int""'");
6602 arg2
= static_cast< int >(val2
);
6604 (arg1
)->SetHeight(arg2
);
6605 if (PyErr_Occurred()) SWIG_fail
;
6607 resultobj
= SWIG_Py_Void();
6614 SWIGINTERN PyObject
*_wrap_Bitmap_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6615 PyObject
*resultobj
= 0;
6616 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6622 PyObject
* obj0
= 0 ;
6623 PyObject
* obj1
= 0 ;
6624 char * kwnames
[] = {
6625 (char *) "self",(char *) "width", NULL
6628 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6629 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6630 if (!SWIG_IsOK(res1
)) {
6631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6633 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6634 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6635 if (!SWIG_IsOK(ecode2
)) {
6636 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetWidth" "', expected argument " "2"" of type '" "int""'");
6638 arg2
= static_cast< int >(val2
);
6640 (arg1
)->SetWidth(arg2
);
6641 if (PyErr_Occurred()) SWIG_fail
;
6643 resultobj
= SWIG_Py_Void();
6650 SWIGINTERN PyObject
*_wrap_Bitmap_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6651 PyObject
*resultobj
= 0;
6652 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6658 PyObject
* obj0
= 0 ;
6659 PyObject
* obj1
= 0 ;
6660 char * kwnames
[] = {
6661 (char *) "self",(char *) "depth", NULL
6664 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6665 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6666 if (!SWIG_IsOK(res1
)) {
6667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6669 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6670 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6671 if (!SWIG_IsOK(ecode2
)) {
6672 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetDepth" "', expected argument " "2"" of type '" "int""'");
6674 arg2
= static_cast< int >(val2
);
6676 (arg1
)->SetDepth(arg2
);
6677 if (PyErr_Occurred()) SWIG_fail
;
6679 resultobj
= SWIG_Py_Void();
6686 SWIGINTERN PyObject
*_wrap_Bitmap_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6687 PyObject
*resultobj
= 0;
6688 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6693 PyObject
* obj0
= 0 ;
6694 PyObject
* obj1
= 0 ;
6695 char * kwnames
[] = {
6696 (char *) "self",(char *) "size", NULL
6699 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6700 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6701 if (!SWIG_IsOK(res1
)) {
6702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6704 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6707 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6710 wxBitmap_SetSize(arg1
,(wxSize
const &)*arg2
);
6711 if (PyErr_Occurred()) SWIG_fail
;
6713 resultobj
= SWIG_Py_Void();
6720 SWIGINTERN PyObject
*_wrap_Bitmap___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6721 PyObject
*resultobj
= 0;
6722 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6723 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
6729 PyObject
* obj0
= 0 ;
6730 PyObject
* obj1
= 0 ;
6731 char * kwnames
[] = {
6732 (char *) "self",(char *) "other", NULL
6735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6736 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6737 if (!SWIG_IsOK(res1
)) {
6738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___eq__" "', expected argument " "1"" of type '" "wxBitmap *""'");
6740 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6741 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6742 if (!SWIG_IsOK(res2
)) {
6743 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___eq__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
6745 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
6747 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
6748 if (PyErr_Occurred()) SWIG_fail
;
6751 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6759 SWIGINTERN PyObject
*_wrap_Bitmap___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6760 PyObject
*resultobj
= 0;
6761 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6762 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
6768 PyObject
* obj0
= 0 ;
6769 PyObject
* obj1
= 0 ;
6770 char * kwnames
[] = {
6771 (char *) "self",(char *) "other", NULL
6774 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6775 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6776 if (!SWIG_IsOK(res1
)) {
6777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___ne__" "', expected argument " "1"" of type '" "wxBitmap *""'");
6779 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6780 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6781 if (!SWIG_IsOK(res2
)) {
6782 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___ne__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
6784 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
6786 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
6787 if (PyErr_Occurred()) SWIG_fail
;
6790 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6798 SWIGINTERN PyObject
*Bitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6800 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6801 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmap
, SWIG_NewClientData(obj
));
6802 return SWIG_Py_Void();
6805 SWIGINTERN PyObject
*Bitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6806 return SWIG_Python_InitShadowInstance(args
);
6809 SWIGINTERN PyObject
*_wrap__BitmapFromBufferAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6810 PyObject
*resultobj
= 0;
6817 wxBitmap
*result
= 0 ;
6824 PyObject
* obj0
= 0 ;
6825 PyObject
* obj1
= 0 ;
6826 PyObject
* obj2
= 0 ;
6827 PyObject
* obj3
= 0 ;
6828 char * kwnames
[] = {
6829 (char *) "width",(char *) "height",(char *) "data",(char *) "alpha", NULL
6832 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:_BitmapFromBufferAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6833 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6834 if (!SWIG_IsOK(ecode1
)) {
6835 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "1"" of type '" "int""'");
6837 arg1
= static_cast< int >(val1
);
6838 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6839 if (!SWIG_IsOK(ecode2
)) {
6840 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "2"" of type '" "int""'");
6842 arg2
= static_cast< int >(val2
);
6844 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
6848 if (obj3
!= Py_None
) {
6849 if (PyObject_AsReadBuffer(obj3
, (const void**)(&arg5
), &temp5
) == -1) SWIG_fail
;
6854 result
= (wxBitmap
*)_BitmapFromBufferAlpha(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
6855 if (PyErr_Occurred()) SWIG_fail
;
6857 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6864 SWIGINTERN PyObject
*_wrap__BitmapFromBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6865 PyObject
*resultobj
= 0;
6870 wxBitmap
*result
= 0 ;
6876 PyObject
* obj0
= 0 ;
6877 PyObject
* obj1
= 0 ;
6878 PyObject
* obj2
= 0 ;
6879 char * kwnames
[] = {
6880 (char *) "width",(char *) "height",(char *) "data", NULL
6883 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBuffer",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6884 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6885 if (!SWIG_IsOK(ecode1
)) {
6886 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBuffer" "', expected argument " "1"" of type '" "int""'");
6888 arg1
= static_cast< int >(val1
);
6889 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6890 if (!SWIG_IsOK(ecode2
)) {
6891 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBuffer" "', expected argument " "2"" of type '" "int""'");
6893 arg2
= static_cast< int >(val2
);
6895 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
6899 result
= (wxBitmap
*)_BitmapFromBuffer(arg1
,arg2
,arg3
,arg4
);
6900 if (PyErr_Occurred()) SWIG_fail
;
6902 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6909 SWIGINTERN PyObject
*_wrap__BitmapFromBufferRGBA(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6910 PyObject
*resultobj
= 0;
6915 wxBitmap
*result
= 0 ;
6921 PyObject
* obj0
= 0 ;
6922 PyObject
* obj1
= 0 ;
6923 PyObject
* obj2
= 0 ;
6924 char * kwnames
[] = {
6925 (char *) "width",(char *) "height",(char *) "data", NULL
6928 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBufferRGBA",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6929 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6930 if (!SWIG_IsOK(ecode1
)) {
6931 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "1"" of type '" "int""'");
6933 arg1
= static_cast< int >(val1
);
6934 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6935 if (!SWIG_IsOK(ecode2
)) {
6936 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "2"" of type '" "int""'");
6938 arg2
= static_cast< int >(val2
);
6940 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
6944 result
= (wxBitmap
*)_BitmapFromBufferRGBA(arg1
,arg2
,arg3
,arg4
);
6945 if (PyErr_Occurred()) SWIG_fail
;
6947 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6954 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6955 PyObject
*resultobj
= 0;
6956 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
6960 PyObject
*swig_obj
[1] ;
6962 if (!args
) SWIG_fail
;
6964 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
6965 if (!SWIG_IsOK(res1
)) {
6966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetOrigin" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
6968 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
6970 result
= ((wxPixelDataBase
const *)arg1
)->GetOrigin();
6971 if (PyErr_Occurred()) SWIG_fail
;
6973 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
6980 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6981 PyObject
*resultobj
= 0;
6982 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
6986 PyObject
*swig_obj
[1] ;
6988 if (!args
) SWIG_fail
;
6990 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
6991 if (!SWIG_IsOK(res1
)) {
6992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetWidth" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
6994 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
6996 result
= (int)((wxPixelDataBase
const *)arg1
)->GetWidth();
6997 if (PyErr_Occurred()) SWIG_fail
;
6999 resultobj
= SWIG_From_int(static_cast< int >(result
));
7006 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7007 PyObject
*resultobj
= 0;
7008 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7012 PyObject
*swig_obj
[1] ;
7014 if (!args
) SWIG_fail
;
7016 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7017 if (!SWIG_IsOK(res1
)) {
7018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetHeight" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7020 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7022 result
= (int)((wxPixelDataBase
const *)arg1
)->GetHeight();
7023 if (PyErr_Occurred()) SWIG_fail
;
7025 resultobj
= SWIG_From_int(static_cast< int >(result
));
7032 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7033 PyObject
*resultobj
= 0;
7034 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7038 PyObject
*swig_obj
[1] ;
7040 if (!args
) SWIG_fail
;
7042 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7043 if (!SWIG_IsOK(res1
)) {
7044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetSize" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7046 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7048 result
= ((wxPixelDataBase
const *)arg1
)->GetSize();
7049 if (PyErr_Occurred()) SWIG_fail
;
7051 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
7058 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetRowStride(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7059 PyObject
*resultobj
= 0;
7060 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7064 PyObject
*swig_obj
[1] ;
7066 if (!args
) SWIG_fail
;
7068 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7069 if (!SWIG_IsOK(res1
)) {
7070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetRowStride" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7072 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7074 result
= (int)((wxPixelDataBase
const *)arg1
)->GetRowStride();
7075 if (PyErr_Occurred()) SWIG_fail
;
7077 resultobj
= SWIG_From_int(static_cast< int >(result
));
7084 SWIGINTERN PyObject
*PixelDataBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7086 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7087 SWIG_TypeNewClientData(SWIGTYPE_p_wxPixelDataBase
, SWIG_NewClientData(obj
));
7088 return SWIG_Py_Void();
7091 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7092 PyObject
*resultobj
= 0;
7093 wxBitmap
*arg1
= 0 ;
7094 wxNativePixelData
*result
= 0 ;
7098 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7099 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7100 if (!SWIG_IsOK(res1
)) {
7101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7104 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7106 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7108 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
);
7109 if (PyErr_Occurred()) SWIG_fail
;
7111 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7118 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7119 PyObject
*resultobj
= 0;
7120 wxBitmap
*arg1
= 0 ;
7122 wxNativePixelData
*result
= 0 ;
7127 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7128 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7129 if (!SWIG_IsOK(res1
)) {
7130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7133 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7135 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7138 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7141 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxRect
const &)*arg2
);
7142 if (PyErr_Occurred()) SWIG_fail
;
7144 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7151 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7152 PyObject
*resultobj
= 0;
7153 wxBitmap
*arg1
= 0 ;
7156 wxNativePixelData
*result
= 0 ;
7162 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
7163 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7164 if (!SWIG_IsOK(res1
)) {
7165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7168 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7170 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7173 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7177 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
7180 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
7181 if (PyErr_Occurred()) SWIG_fail
;
7183 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7190 SWIGINTERN PyObject
*_wrap_new_NativePixelData(PyObject
*self
, PyObject
*args
) {
7194 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData",0,3,argv
))) SWIG_fail
;
7197 return _wrap_new_NativePixelData__SWIG_0(self
, argc
, argv
);
7200 return _wrap_new_NativePixelData__SWIG_1(self
, argc
, argv
);
7203 return _wrap_new_NativePixelData__SWIG_2(self
, argc
, argv
);
7207 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData'");
7212 SWIGINTERN PyObject
*_wrap_delete_NativePixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7213 PyObject
*resultobj
= 0;
7214 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7217 PyObject
*swig_obj
[1] ;
7219 if (!args
) SWIG_fail
;
7221 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_DISOWN
| 0 );
7222 if (!SWIG_IsOK(res1
)) {
7223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7225 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7229 if (PyErr_Occurred()) SWIG_fail
;
7231 resultobj
= SWIG_Py_Void();
7238 SWIGINTERN PyObject
*_wrap_NativePixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7239 PyObject
*resultobj
= 0;
7240 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7241 wxNativePixelData_Accessor result
;
7244 PyObject
*swig_obj
[1] ;
7246 if (!args
) SWIG_fail
;
7248 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7249 if (!SWIG_IsOK(res1
)) {
7250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_GetPixels" "', expected argument " "1"" of type '" "wxNativePixelData const *""'");
7252 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7254 result
= ((wxNativePixelData
const *)arg1
)->GetPixels();
7255 if (PyErr_Occurred()) SWIG_fail
;
7257 resultobj
= SWIG_NewPointerObj((new wxNativePixelData_Accessor(static_cast< const wxNativePixelData_Accessor
& >(result
))), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
7264 SWIGINTERN PyObject
*_wrap_NativePixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7265 PyObject
*resultobj
= 0;
7266 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7269 PyObject
*swig_obj
[1] ;
7271 if (!args
) SWIG_fail
;
7273 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7274 if (!SWIG_IsOK(res1
)) {
7275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_UseAlpha" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7277 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7280 if (PyErr_Occurred()) SWIG_fail
;
7282 resultobj
= SWIG_Py_Void();
7289 SWIGINTERN PyObject
*_wrap_NativePixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7290 PyObject
*resultobj
= 0;
7291 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7295 PyObject
*swig_obj
[1] ;
7297 if (!args
) SWIG_fail
;
7299 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7300 if (!SWIG_IsOK(res1
)) {
7301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData___nonzero__" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7303 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7305 result
= (bool)wxNativePixelData___nonzero__(arg1
);
7306 if (PyErr_Occurred()) SWIG_fail
;
7309 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7317 SWIGINTERN PyObject
*NativePixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7319 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7320 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData
, SWIG_NewClientData(obj
));
7321 return SWIG_Py_Void();
7324 SWIGINTERN PyObject
*NativePixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7325 return SWIG_Python_InitShadowInstance(args
);
7328 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7329 PyObject
*resultobj
= 0;
7330 wxNativePixelData
*arg1
= 0 ;
7331 wxNativePixelData_Accessor
*result
= 0 ;
7335 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7336 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxNativePixelData
, 0 );
7337 if (!SWIG_IsOK(res1
)) {
7338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7341 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7343 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7345 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
);
7346 if (PyErr_Occurred()) SWIG_fail
;
7348 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7355 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7356 PyObject
*resultobj
= 0;
7357 wxBitmap
*arg1
= 0 ;
7358 wxNativePixelData
*arg2
= 0 ;
7359 wxNativePixelData_Accessor
*result
= 0 ;
7365 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7366 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7367 if (!SWIG_IsOK(res1
)) {
7368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7371 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7373 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7374 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 );
7375 if (!SWIG_IsOK(res2
)) {
7376 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7379 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7381 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7383 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
,*arg2
);
7384 if (PyErr_Occurred()) SWIG_fail
;
7386 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7393 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
7394 PyObject
*resultobj
= 0;
7395 wxNativePixelData_Accessor
*result
= 0 ;
7397 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
7399 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor();
7400 if (PyErr_Occurred()) SWIG_fail
;
7402 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7409 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor(PyObject
*self
, PyObject
*args
) {
7413 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData_Accessor",0,2,argv
))) SWIG_fail
;
7416 return _wrap_new_NativePixelData_Accessor__SWIG_2(self
, argc
, argv
);
7419 return _wrap_new_NativePixelData_Accessor__SWIG_0(self
, argc
, argv
);
7422 return _wrap_new_NativePixelData_Accessor__SWIG_1(self
, argc
, argv
);
7426 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData_Accessor'");
7431 SWIGINTERN PyObject
*_wrap_delete_NativePixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7432 PyObject
*resultobj
= 0;
7433 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7436 PyObject
*swig_obj
[1] ;
7438 if (!args
) SWIG_fail
;
7440 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
7441 if (!SWIG_IsOK(res1
)) {
7442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7444 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7448 if (PyErr_Occurred()) SWIG_fail
;
7450 resultobj
= SWIG_Py_Void();
7457 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7458 PyObject
*resultobj
= 0;
7459 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7460 wxNativePixelData
*arg2
= 0 ;
7465 PyObject
* obj0
= 0 ;
7466 PyObject
* obj1
= 0 ;
7467 char * kwnames
[] = {
7468 (char *) "self",(char *) "data", NULL
7471 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativePixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7472 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7473 if (!SWIG_IsOK(res1
)) {
7474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7476 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7477 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7478 if (!SWIG_IsOK(res2
)) {
7479 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7482 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7484 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7486 (arg1
)->Reset((wxNativePixelData
const &)*arg2
);
7487 if (PyErr_Occurred()) SWIG_fail
;
7489 resultobj
= SWIG_Py_Void();
7496 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7497 PyObject
*resultobj
= 0;
7498 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7502 PyObject
*swig_obj
[1] ;
7504 if (!args
) SWIG_fail
;
7506 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7507 if (!SWIG_IsOK(res1
)) {
7508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor const *""'");
7510 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7512 result
= (bool)((wxNativePixelData_Accessor
const *)arg1
)->IsOk();
7513 if (PyErr_Occurred()) SWIG_fail
;
7516 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7524 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7525 PyObject
*resultobj
= 0;
7526 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7529 PyObject
*swig_obj
[1] ;
7531 if (!args
) SWIG_fail
;
7533 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7534 if (!SWIG_IsOK(res1
)) {
7535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7537 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7539 wxNativePixelData_Accessor_nextPixel(arg1
);
7540 if (PyErr_Occurred()) SWIG_fail
;
7542 resultobj
= SWIG_Py_Void();
7549 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7550 PyObject
*resultobj
= 0;
7551 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7552 wxNativePixelData
*arg2
= 0 ;
7563 PyObject
* obj0
= 0 ;
7564 PyObject
* obj1
= 0 ;
7565 PyObject
* obj2
= 0 ;
7566 PyObject
* obj3
= 0 ;
7567 char * kwnames
[] = {
7568 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
7571 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7572 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7573 if (!SWIG_IsOK(res1
)) {
7574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7576 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7577 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7578 if (!SWIG_IsOK(res2
)) {
7579 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7582 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7584 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7585 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7586 if (!SWIG_IsOK(ecode3
)) {
7587 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
7589 arg3
= static_cast< int >(val3
);
7590 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7591 if (!SWIG_IsOK(ecode4
)) {
7592 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
7594 arg4
= static_cast< int >(val4
);
7596 (arg1
)->Offset((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
7597 if (PyErr_Occurred()) SWIG_fail
;
7599 resultobj
= SWIG_Py_Void();
7606 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7607 PyObject
*resultobj
= 0;
7608 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7609 wxNativePixelData
*arg2
= 0 ;
7617 PyObject
* obj0
= 0 ;
7618 PyObject
* obj1
= 0 ;
7619 PyObject
* obj2
= 0 ;
7620 char * kwnames
[] = {
7621 (char *) "self",(char *) "data",(char *) "x", NULL
7624 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7625 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7626 if (!SWIG_IsOK(res1
)) {
7627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7629 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7630 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7631 if (!SWIG_IsOK(res2
)) {
7632 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7635 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7637 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7638 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7639 if (!SWIG_IsOK(ecode3
)) {
7640 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
7642 arg3
= static_cast< int >(val3
);
7644 (arg1
)->OffsetX((wxNativePixelData
const &)*arg2
,arg3
);
7645 if (PyErr_Occurred()) SWIG_fail
;
7647 resultobj
= SWIG_Py_Void();
7654 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7655 PyObject
*resultobj
= 0;
7656 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7657 wxNativePixelData
*arg2
= 0 ;
7665 PyObject
* obj0
= 0 ;
7666 PyObject
* obj1
= 0 ;
7667 PyObject
* obj2
= 0 ;
7668 char * kwnames
[] = {
7669 (char *) "self",(char *) "data",(char *) "y", NULL
7672 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7673 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7674 if (!SWIG_IsOK(res1
)) {
7675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7677 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7678 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7679 if (!SWIG_IsOK(res2
)) {
7680 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7683 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7685 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7686 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7687 if (!SWIG_IsOK(ecode3
)) {
7688 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
7690 arg3
= static_cast< int >(val3
);
7692 (arg1
)->OffsetY((wxNativePixelData
const &)*arg2
,arg3
);
7693 if (PyErr_Occurred()) SWIG_fail
;
7695 resultobj
= SWIG_Py_Void();
7702 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7703 PyObject
*resultobj
= 0;
7704 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7705 wxNativePixelData
*arg2
= 0 ;
7716 PyObject
* obj0
= 0 ;
7717 PyObject
* obj1
= 0 ;
7718 PyObject
* obj2
= 0 ;
7719 PyObject
* obj3
= 0 ;
7720 char * kwnames
[] = {
7721 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
7724 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7725 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7726 if (!SWIG_IsOK(res1
)) {
7727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7729 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7730 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7731 if (!SWIG_IsOK(res2
)) {
7732 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7735 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7737 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7738 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7739 if (!SWIG_IsOK(ecode3
)) {
7740 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
7742 arg3
= static_cast< int >(val3
);
7743 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7744 if (!SWIG_IsOK(ecode4
)) {
7745 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
7747 arg4
= static_cast< int >(val4
);
7749 (arg1
)->MoveTo((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
7750 if (PyErr_Occurred()) SWIG_fail
;
7752 resultobj
= SWIG_Py_Void();
7759 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7760 PyObject
*resultobj
= 0;
7761 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7767 unsigned char val2
;
7769 unsigned char val3
;
7771 unsigned char val4
;
7773 PyObject
* obj0
= 0 ;
7774 PyObject
* obj1
= 0 ;
7775 PyObject
* obj2
= 0 ;
7776 PyObject
* obj3
= 0 ;
7777 char * kwnames
[] = {
7778 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
7781 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7782 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7783 if (!SWIG_IsOK(res1
)) {
7784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7786 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7787 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
7788 if (!SWIG_IsOK(ecode2
)) {
7789 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
7791 arg2
= static_cast< byte
>(val2
);
7792 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
7793 if (!SWIG_IsOK(ecode3
)) {
7794 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
7796 arg3
= static_cast< byte
>(val3
);
7797 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
7798 if (!SWIG_IsOK(ecode4
)) {
7799 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
7801 arg4
= static_cast< byte
>(val4
);
7803 wxNativePixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
);
7804 if (PyErr_Occurred()) SWIG_fail
;
7806 resultobj
= SWIG_Py_Void();
7813 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7814 PyObject
*resultobj
= 0;
7815 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7816 PyObject
*result
= 0 ;
7819 PyObject
*swig_obj
[1] ;
7821 if (!args
) SWIG_fail
;
7823 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7824 if (!SWIG_IsOK(res1
)) {
7825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7827 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7829 result
= (PyObject
*)wxNativePixelData_Accessor_Get(arg1
);
7830 if (PyErr_Occurred()) SWIG_fail
;
7839 SWIGINTERN PyObject
*NativePixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7841 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7842 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_NewClientData(obj
));
7843 return SWIG_Py_Void();
7846 SWIGINTERN PyObject
*NativePixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7847 return SWIG_Python_InitShadowInstance(args
);
7850 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7851 PyObject
*resultobj
= 0;
7852 wxBitmap
*arg1
= 0 ;
7853 wxAlphaPixelData
*result
= 0 ;
7857 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7858 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7859 if (!SWIG_IsOK(res1
)) {
7860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7863 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7865 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7867 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
);
7868 if (PyErr_Occurred()) SWIG_fail
;
7870 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
7877 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7878 PyObject
*resultobj
= 0;
7879 wxBitmap
*arg1
= 0 ;
7881 wxAlphaPixelData
*result
= 0 ;
7886 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7887 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7888 if (!SWIG_IsOK(res1
)) {
7889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7892 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7894 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7897 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7900 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxRect
const &)*arg2
);
7901 if (PyErr_Occurred()) SWIG_fail
;
7903 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
7910 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7911 PyObject
*resultobj
= 0;
7912 wxBitmap
*arg1
= 0 ;
7915 wxAlphaPixelData
*result
= 0 ;
7921 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
7922 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7923 if (!SWIG_IsOK(res1
)) {
7924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7927 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7929 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7932 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7936 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
7939 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
7940 if (PyErr_Occurred()) SWIG_fail
;
7942 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
7949 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData(PyObject
*self
, PyObject
*args
) {
7953 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData",0,3,argv
))) SWIG_fail
;
7956 return _wrap_new_AlphaPixelData__SWIG_0(self
, argc
, argv
);
7959 return _wrap_new_AlphaPixelData__SWIG_1(self
, argc
, argv
);
7962 return _wrap_new_AlphaPixelData__SWIG_2(self
, argc
, argv
);
7966 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData'");
7971 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7972 PyObject
*resultobj
= 0;
7973 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
7976 PyObject
*swig_obj
[1] ;
7978 if (!args
) SWIG_fail
;
7980 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_DISOWN
| 0 );
7981 if (!SWIG_IsOK(res1
)) {
7982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
7984 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
7988 if (PyErr_Occurred()) SWIG_fail
;
7990 resultobj
= SWIG_Py_Void();
7997 SWIGINTERN PyObject
*_wrap_AlphaPixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7998 PyObject
*resultobj
= 0;
7999 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8000 wxAlphaPixelData_Accessor result
;
8003 PyObject
*swig_obj
[1] ;
8005 if (!args
) SWIG_fail
;
8007 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8008 if (!SWIG_IsOK(res1
)) {
8009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_GetPixels" "', expected argument " "1"" of type '" "wxAlphaPixelData const *""'");
8011 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8013 result
= ((wxAlphaPixelData
const *)arg1
)->GetPixels();
8014 if (PyErr_Occurred()) SWIG_fail
;
8016 resultobj
= SWIG_NewPointerObj((new wxAlphaPixelData_Accessor(static_cast< const wxAlphaPixelData_Accessor
& >(result
))), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
8023 SWIGINTERN PyObject
*_wrap_AlphaPixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8024 PyObject
*resultobj
= 0;
8025 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8028 PyObject
*swig_obj
[1] ;
8030 if (!args
) SWIG_fail
;
8032 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8033 if (!SWIG_IsOK(res1
)) {
8034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_UseAlpha" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8036 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8039 if (PyErr_Occurred()) SWIG_fail
;
8041 resultobj
= SWIG_Py_Void();
8048 SWIGINTERN PyObject
*_wrap_AlphaPixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8049 PyObject
*resultobj
= 0;
8050 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8054 PyObject
*swig_obj
[1] ;
8056 if (!args
) SWIG_fail
;
8058 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8059 if (!SWIG_IsOK(res1
)) {
8060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData___nonzero__" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8062 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8064 result
= (bool)wxAlphaPixelData___nonzero__(arg1
);
8065 if (PyErr_Occurred()) SWIG_fail
;
8068 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8076 SWIGINTERN PyObject
*AlphaPixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8078 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8079 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData
, SWIG_NewClientData(obj
));
8080 return SWIG_Py_Void();
8083 SWIGINTERN PyObject
*AlphaPixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8084 return SWIG_Python_InitShadowInstance(args
);
8087 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8088 PyObject
*resultobj
= 0;
8089 wxAlphaPixelData
*arg1
= 0 ;
8090 wxAlphaPixelData_Accessor
*result
= 0 ;
8094 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
8095 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8096 if (!SWIG_IsOK(res1
)) {
8097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
8100 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
8102 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8104 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
);
8105 if (PyErr_Occurred()) SWIG_fail
;
8107 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8114 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8115 PyObject
*resultobj
= 0;
8116 wxBitmap
*arg1
= 0 ;
8117 wxAlphaPixelData
*arg2
= 0 ;
8118 wxAlphaPixelData_Accessor
*result
= 0 ;
8124 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
8125 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8126 if (!SWIG_IsOK(res1
)) {
8127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8130 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8132 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8133 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8134 if (!SWIG_IsOK(res2
)) {
8135 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8138 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8140 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8142 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
,*arg2
);
8143 if (PyErr_Occurred()) SWIG_fail
;
8145 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8152 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
8153 PyObject
*resultobj
= 0;
8154 wxAlphaPixelData_Accessor
*result
= 0 ;
8156 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
8158 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor();
8159 if (PyErr_Occurred()) SWIG_fail
;
8161 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8168 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor(PyObject
*self
, PyObject
*args
) {
8172 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData_Accessor",0,2,argv
))) SWIG_fail
;
8175 return _wrap_new_AlphaPixelData_Accessor__SWIG_2(self
, argc
, argv
);
8178 return _wrap_new_AlphaPixelData_Accessor__SWIG_0(self
, argc
, argv
);
8181 return _wrap_new_AlphaPixelData_Accessor__SWIG_1(self
, argc
, argv
);
8185 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData_Accessor'");
8190 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8191 PyObject
*resultobj
= 0;
8192 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8195 PyObject
*swig_obj
[1] ;
8197 if (!args
) SWIG_fail
;
8199 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
8200 if (!SWIG_IsOK(res1
)) {
8201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8203 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8207 if (PyErr_Occurred()) SWIG_fail
;
8209 resultobj
= SWIG_Py_Void();
8216 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8217 PyObject
*resultobj
= 0;
8218 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8219 wxAlphaPixelData
*arg2
= 0 ;
8224 PyObject
* obj0
= 0 ;
8225 PyObject
* obj1
= 0 ;
8226 char * kwnames
[] = {
8227 (char *) "self",(char *) "data", NULL
8230 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AlphaPixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8231 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8232 if (!SWIG_IsOK(res1
)) {
8233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8235 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8236 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8237 if (!SWIG_IsOK(res2
)) {
8238 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8241 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8243 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8245 (arg1
)->Reset((wxAlphaPixelData
const &)*arg2
);
8246 if (PyErr_Occurred()) SWIG_fail
;
8248 resultobj
= SWIG_Py_Void();
8255 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8256 PyObject
*resultobj
= 0;
8257 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8261 PyObject
*swig_obj
[1] ;
8263 if (!args
) SWIG_fail
;
8265 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8266 if (!SWIG_IsOK(res1
)) {
8267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor const *""'");
8269 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8271 result
= (bool)((wxAlphaPixelData_Accessor
const *)arg1
)->IsOk();
8272 if (PyErr_Occurred()) SWIG_fail
;
8275 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8283 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8284 PyObject
*resultobj
= 0;
8285 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8288 PyObject
*swig_obj
[1] ;
8290 if (!args
) SWIG_fail
;
8292 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8293 if (!SWIG_IsOK(res1
)) {
8294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8296 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8298 wxAlphaPixelData_Accessor_nextPixel(arg1
);
8299 if (PyErr_Occurred()) SWIG_fail
;
8301 resultobj
= SWIG_Py_Void();
8308 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8309 PyObject
*resultobj
= 0;
8310 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8311 wxAlphaPixelData
*arg2
= 0 ;
8322 PyObject
* obj0
= 0 ;
8323 PyObject
* obj1
= 0 ;
8324 PyObject
* obj2
= 0 ;
8325 PyObject
* obj3
= 0 ;
8326 char * kwnames
[] = {
8327 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8330 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8331 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8332 if (!SWIG_IsOK(res1
)) {
8333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8335 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8336 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8337 if (!SWIG_IsOK(res2
)) {
8338 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8341 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8343 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8344 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8345 if (!SWIG_IsOK(ecode3
)) {
8346 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
8348 arg3
= static_cast< int >(val3
);
8349 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8350 if (!SWIG_IsOK(ecode4
)) {
8351 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
8353 arg4
= static_cast< int >(val4
);
8355 (arg1
)->Offset((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8356 if (PyErr_Occurred()) SWIG_fail
;
8358 resultobj
= SWIG_Py_Void();
8365 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8366 PyObject
*resultobj
= 0;
8367 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8368 wxAlphaPixelData
*arg2
= 0 ;
8376 PyObject
* obj0
= 0 ;
8377 PyObject
* obj1
= 0 ;
8378 PyObject
* obj2
= 0 ;
8379 char * kwnames
[] = {
8380 (char *) "self",(char *) "data",(char *) "x", NULL
8383 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8384 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8385 if (!SWIG_IsOK(res1
)) {
8386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8388 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8389 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8390 if (!SWIG_IsOK(res2
)) {
8391 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8394 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8396 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8397 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8398 if (!SWIG_IsOK(ecode3
)) {
8399 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
8401 arg3
= static_cast< int >(val3
);
8403 (arg1
)->OffsetX((wxAlphaPixelData
const &)*arg2
,arg3
);
8404 if (PyErr_Occurred()) SWIG_fail
;
8406 resultobj
= SWIG_Py_Void();
8413 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8414 PyObject
*resultobj
= 0;
8415 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8416 wxAlphaPixelData
*arg2
= 0 ;
8424 PyObject
* obj0
= 0 ;
8425 PyObject
* obj1
= 0 ;
8426 PyObject
* obj2
= 0 ;
8427 char * kwnames
[] = {
8428 (char *) "self",(char *) "data",(char *) "y", NULL
8431 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8432 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8433 if (!SWIG_IsOK(res1
)) {
8434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8436 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8437 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8438 if (!SWIG_IsOK(res2
)) {
8439 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8442 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8444 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8445 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8446 if (!SWIG_IsOK(ecode3
)) {
8447 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
8449 arg3
= static_cast< int >(val3
);
8451 (arg1
)->OffsetY((wxAlphaPixelData
const &)*arg2
,arg3
);
8452 if (PyErr_Occurred()) SWIG_fail
;
8454 resultobj
= SWIG_Py_Void();
8461 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8462 PyObject
*resultobj
= 0;
8463 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8464 wxAlphaPixelData
*arg2
= 0 ;
8475 PyObject
* obj0
= 0 ;
8476 PyObject
* obj1
= 0 ;
8477 PyObject
* obj2
= 0 ;
8478 PyObject
* obj3
= 0 ;
8479 char * kwnames
[] = {
8480 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8483 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8484 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8485 if (!SWIG_IsOK(res1
)) {
8486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8488 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8489 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8490 if (!SWIG_IsOK(res2
)) {
8491 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8494 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8496 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8497 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8498 if (!SWIG_IsOK(ecode3
)) {
8499 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
8501 arg3
= static_cast< int >(val3
);
8502 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8503 if (!SWIG_IsOK(ecode4
)) {
8504 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
8506 arg4
= static_cast< int >(val4
);
8508 (arg1
)->MoveTo((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8509 if (PyErr_Occurred()) SWIG_fail
;
8511 resultobj
= SWIG_Py_Void();
8518 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8519 PyObject
*resultobj
= 0;
8520 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8527 unsigned char val2
;
8529 unsigned char val3
;
8531 unsigned char val4
;
8533 unsigned char val5
;
8535 PyObject
* obj0
= 0 ;
8536 PyObject
* obj1
= 0 ;
8537 PyObject
* obj2
= 0 ;
8538 PyObject
* obj3
= 0 ;
8539 PyObject
* obj4
= 0 ;
8540 char * kwnames
[] = {
8541 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
8544 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:AlphaPixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8545 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8546 if (!SWIG_IsOK(res1
)) {
8547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8549 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8550 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
8551 if (!SWIG_IsOK(ecode2
)) {
8552 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
8554 arg2
= static_cast< byte
>(val2
);
8555 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
8556 if (!SWIG_IsOK(ecode3
)) {
8557 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
8559 arg3
= static_cast< byte
>(val3
);
8560 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
8561 if (!SWIG_IsOK(ecode4
)) {
8562 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
8564 arg4
= static_cast< byte
>(val4
);
8565 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
8566 if (!SWIG_IsOK(ecode5
)) {
8567 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "5"" of type '" "byte""'");
8569 arg5
= static_cast< byte
>(val5
);
8571 wxAlphaPixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
8572 if (PyErr_Occurred()) SWIG_fail
;
8574 resultobj
= SWIG_Py_Void();
8581 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8582 PyObject
*resultobj
= 0;
8583 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8584 PyObject
*result
= 0 ;
8587 PyObject
*swig_obj
[1] ;
8589 if (!args
) SWIG_fail
;
8591 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8592 if (!SWIG_IsOK(res1
)) {
8593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8595 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8597 result
= (PyObject
*)wxAlphaPixelData_Accessor_Get(arg1
);
8598 if (PyErr_Occurred()) SWIG_fail
;
8607 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8609 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8610 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_NewClientData(obj
));
8611 return SWIG_Py_Void();
8614 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8615 return SWIG_Python_InitShadowInstance(args
);
8618 SWIGINTERN PyObject
*_wrap_new_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8619 PyObject
*resultobj
= 0;
8620 wxBitmap
*arg1
= 0 ;
8621 wxColour
const &arg2_defvalue
= wxNullColour
;
8622 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
8623 wxMask
*result
= 0 ;
8627 PyObject
* obj0
= 0 ;
8628 PyObject
* obj1
= 0 ;
8629 char * kwnames
[] = {
8630 (char *) "bitmap",(char *) "colour", NULL
8633 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8634 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8635 if (!SWIG_IsOK(res1
)) {
8636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8639 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8641 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8645 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8649 if (!wxPyCheckForApp()) SWIG_fail
;
8650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8651 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
8652 wxPyEndAllowThreads(__tstate
);
8653 if (PyErr_Occurred()) SWIG_fail
;
8655 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, SWIG_POINTER_NEW
| 0 );
8662 SWIGINTERN PyObject
*_wrap_delete_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8663 PyObject
*resultobj
= 0;
8664 wxMask
*arg1
= (wxMask
*) 0 ;
8667 PyObject
*swig_obj
[1] ;
8669 if (!args
) SWIG_fail
;
8671 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
8672 if (!SWIG_IsOK(res1
)) {
8673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Mask" "', expected argument " "1"" of type '" "wxMask *""'");
8675 arg1
= reinterpret_cast< wxMask
* >(argp1
);
8679 if (PyErr_Occurred()) SWIG_fail
;
8681 resultobj
= SWIG_Py_Void();
8688 SWIGINTERN PyObject
*Mask_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8690 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8691 SWIG_TypeNewClientData(SWIGTYPE_p_wxMask
, SWIG_NewClientData(obj
));
8692 return SWIG_Py_Void();
8695 SWIGINTERN PyObject
*Mask_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8696 return SWIG_Python_InitShadowInstance(args
);
8699 SWIGINTERN PyObject
*_wrap_new_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8700 PyObject
*resultobj
= 0;
8701 wxString
*arg1
= 0 ;
8703 int arg3
= (int) -1 ;
8704 int arg4
= (int) -1 ;
8705 wxIcon
*result
= 0 ;
8706 bool temp1
= false ;
8713 PyObject
* obj0
= 0 ;
8714 PyObject
* obj1
= 0 ;
8715 PyObject
* obj2
= 0 ;
8716 PyObject
* obj3
= 0 ;
8717 char * kwnames
[] = {
8718 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
8721 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8723 arg1
= wxString_in_helper(obj0
);
8724 if (arg1
== NULL
) SWIG_fail
;
8727 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8728 if (!SWIG_IsOK(ecode2
)) {
8729 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Icon" "', expected argument " "2"" of type '" "wxBitmapType""'");
8731 arg2
= static_cast< wxBitmapType
>(val2
);
8733 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8734 if (!SWIG_IsOK(ecode3
)) {
8735 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Icon" "', expected argument " "3"" of type '" "int""'");
8737 arg3
= static_cast< int >(val3
);
8740 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8741 if (!SWIG_IsOK(ecode4
)) {
8742 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Icon" "', expected argument " "4"" of type '" "int""'");
8744 arg4
= static_cast< int >(val4
);
8747 if (!wxPyCheckForApp()) SWIG_fail
;
8748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8749 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
8750 wxPyEndAllowThreads(__tstate
);
8751 if (PyErr_Occurred()) SWIG_fail
;
8753 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_NEW
| 0 );
8768 SWIGINTERN PyObject
*_wrap_delete_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8769 PyObject
*resultobj
= 0;
8770 wxIcon
*arg1
= (wxIcon
*) 0 ;
8773 PyObject
*swig_obj
[1] ;
8775 if (!args
) SWIG_fail
;
8777 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, SWIG_POINTER_DISOWN
| 0 );
8778 if (!SWIG_IsOK(res1
)) {
8779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Icon" "', expected argument " "1"" of type '" "wxIcon *""'");
8781 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
8783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8786 wxPyEndAllowThreads(__tstate
);
8787 if (PyErr_Occurred()) SWIG_fail
;
8789 resultobj
= SWIG_Py_Void();
8796 SWIGINTERN PyObject
*_wrap_new_EmptyIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8797 PyObject
*resultobj
= 0;
8798 wxIcon
*result
= 0 ;
8800 if (!SWIG_Python_UnpackTuple(args
,"new_EmptyIcon",0,0,0)) SWIG_fail
;
8802 if (!wxPyCheckForApp()) SWIG_fail
;
8803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8804 result
= (wxIcon
*)new wxIcon();
8805 wxPyEndAllowThreads(__tstate
);
8806 if (PyErr_Occurred()) SWIG_fail
;
8808 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
8815 SWIGINTERN PyObject
*_wrap_new_IconFromLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8816 PyObject
*resultobj
= 0;
8817 wxIconLocation
*arg1
= 0 ;
8818 wxIcon
*result
= 0 ;
8821 PyObject
* obj0
= 0 ;
8822 char * kwnames
[] = {
8823 (char *) "loc", NULL
8826 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) SWIG_fail
;
8827 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIconLocation
, 0 | 0);
8828 if (!SWIG_IsOK(res1
)) {
8829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
8832 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
8834 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
8836 if (!wxPyCheckForApp()) SWIG_fail
;
8837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8838 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
8839 wxPyEndAllowThreads(__tstate
);
8840 if (PyErr_Occurred()) SWIG_fail
;
8842 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
8849 SWIGINTERN PyObject
*_wrap_new_IconFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8850 PyObject
*resultobj
= 0;
8851 wxBitmap
*arg1
= 0 ;
8852 wxIcon
*result
= 0 ;
8855 PyObject
* obj0
= 0 ;
8856 char * kwnames
[] = {
8857 (char *) "bmp", NULL
8860 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
8861 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8862 if (!SWIG_IsOK(res1
)) {
8863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8866 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8868 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8870 if (!wxPyCheckForApp()) SWIG_fail
;
8871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8872 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
8873 wxPyEndAllowThreads(__tstate
);
8874 if (PyErr_Occurred()) SWIG_fail
;
8876 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
8883 SWIGINTERN PyObject
*_wrap_new_IconFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8884 PyObject
*resultobj
= 0;
8885 PyObject
*arg1
= (PyObject
*) 0 ;
8886 wxIcon
*result
= 0 ;
8887 PyObject
* obj0
= 0 ;
8888 char * kwnames
[] = {
8889 (char *) "listOfStrings", NULL
8892 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
8895 if (!wxPyCheckForApp()) SWIG_fail
;
8896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8897 result
= (wxIcon
*)new_wxIcon(arg1
);
8898 wxPyEndAllowThreads(__tstate
);
8899 if (PyErr_Occurred()) SWIG_fail
;
8901 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
8908 SWIGINTERN PyObject
*_wrap_Icon_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8909 PyObject
*resultobj
= 0;
8910 wxIcon
*arg1
= (wxIcon
*) 0 ;
8911 wxString
*arg2
= 0 ;
8916 bool temp2
= false ;
8919 PyObject
* obj0
= 0 ;
8920 PyObject
* obj1
= 0 ;
8921 PyObject
* obj2
= 0 ;
8922 char * kwnames
[] = {
8923 (char *) "self",(char *) "name",(char *) "type", NULL
8926 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Icon_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8927 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
8928 if (!SWIG_IsOK(res1
)) {
8929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_LoadFile" "', expected argument " "1"" of type '" "wxIcon *""'");
8931 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
8933 arg2
= wxString_in_helper(obj1
);
8934 if (arg2
== NULL
) SWIG_fail
;
8937 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8938 if (!SWIG_IsOK(ecode3
)) {
8939 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Icon_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
8941 arg3
= static_cast< wxBitmapType
>(val3
);
8943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8944 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
8945 wxPyEndAllowThreads(__tstate
);
8946 if (PyErr_Occurred()) SWIG_fail
;
8949 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8965 SWIGINTERN PyObject
*_wrap_Icon_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8966 PyObject
*resultobj
= 0;
8967 wxIcon
*arg1
= (wxIcon
*) 0 ;
8971 PyObject
*swig_obj
[1] ;
8973 if (!args
) SWIG_fail
;
8975 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
8976 if (!SWIG_IsOK(res1
)) {
8977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_IsOk" "', expected argument " "1"" of type '" "wxIcon *""'");
8979 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
8981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8982 result
= (bool)(arg1
)->IsOk();
8983 wxPyEndAllowThreads(__tstate
);
8984 if (PyErr_Occurred()) SWIG_fail
;
8987 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8995 SWIGINTERN PyObject
*_wrap_Icon_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8996 PyObject
*resultobj
= 0;
8997 wxIcon
*arg1
= (wxIcon
*) 0 ;
9001 PyObject
*swig_obj
[1] ;
9003 if (!args
) SWIG_fail
;
9005 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9006 if (!SWIG_IsOK(res1
)) {
9007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
9009 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9012 result
= (int)(arg1
)->GetWidth();
9013 wxPyEndAllowThreads(__tstate
);
9014 if (PyErr_Occurred()) SWIG_fail
;
9016 resultobj
= SWIG_From_int(static_cast< int >(result
));
9023 SWIGINTERN PyObject
*_wrap_Icon_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9024 PyObject
*resultobj
= 0;
9025 wxIcon
*arg1
= (wxIcon
*) 0 ;
9029 PyObject
*swig_obj
[1] ;
9031 if (!args
) SWIG_fail
;
9033 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9034 if (!SWIG_IsOK(res1
)) {
9035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
9037 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9040 result
= (int)(arg1
)->GetHeight();
9041 wxPyEndAllowThreads(__tstate
);
9042 if (PyErr_Occurred()) SWIG_fail
;
9044 resultobj
= SWIG_From_int(static_cast< int >(result
));
9051 SWIGINTERN PyObject
*_wrap_Icon_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9052 PyObject
*resultobj
= 0;
9053 wxIcon
*arg1
= (wxIcon
*) 0 ;
9057 PyObject
*swig_obj
[1] ;
9059 if (!args
) SWIG_fail
;
9061 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9062 if (!SWIG_IsOK(res1
)) {
9063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9065 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9068 result
= (int)(arg1
)->GetDepth();
9069 wxPyEndAllowThreads(__tstate
);
9070 if (PyErr_Occurred()) SWIG_fail
;
9072 resultobj
= SWIG_From_int(static_cast< int >(result
));
9079 SWIGINTERN PyObject
*_wrap_Icon_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9080 PyObject
*resultobj
= 0;
9081 wxIcon
*arg1
= (wxIcon
*) 0 ;
9087 PyObject
* obj0
= 0 ;
9088 PyObject
* obj1
= 0 ;
9089 char * kwnames
[] = {
9090 (char *) "self",(char *) "w", NULL
9093 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9094 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9095 if (!SWIG_IsOK(res1
)) {
9096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
9098 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9099 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9100 if (!SWIG_IsOK(ecode2
)) {
9101 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetWidth" "', expected argument " "2"" of type '" "int""'");
9103 arg2
= static_cast< int >(val2
);
9105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9106 (arg1
)->SetWidth(arg2
);
9107 wxPyEndAllowThreads(__tstate
);
9108 if (PyErr_Occurred()) SWIG_fail
;
9110 resultobj
= SWIG_Py_Void();
9117 SWIGINTERN PyObject
*_wrap_Icon_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9118 PyObject
*resultobj
= 0;
9119 wxIcon
*arg1
= (wxIcon
*) 0 ;
9125 PyObject
* obj0
= 0 ;
9126 PyObject
* obj1
= 0 ;
9127 char * kwnames
[] = {
9128 (char *) "self",(char *) "h", NULL
9131 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9132 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9133 if (!SWIG_IsOK(res1
)) {
9134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
9136 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9137 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9138 if (!SWIG_IsOK(ecode2
)) {
9139 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetHeight" "', expected argument " "2"" of type '" "int""'");
9141 arg2
= static_cast< int >(val2
);
9143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9144 (arg1
)->SetHeight(arg2
);
9145 wxPyEndAllowThreads(__tstate
);
9146 if (PyErr_Occurred()) SWIG_fail
;
9148 resultobj
= SWIG_Py_Void();
9155 SWIGINTERN PyObject
*_wrap_Icon_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9156 PyObject
*resultobj
= 0;
9157 wxIcon
*arg1
= (wxIcon
*) 0 ;
9163 PyObject
* obj0
= 0 ;
9164 PyObject
* obj1
= 0 ;
9165 char * kwnames
[] = {
9166 (char *) "self",(char *) "d", NULL
9169 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9170 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9171 if (!SWIG_IsOK(res1
)) {
9172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9174 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9175 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9176 if (!SWIG_IsOK(ecode2
)) {
9177 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetDepth" "', expected argument " "2"" of type '" "int""'");
9179 arg2
= static_cast< int >(val2
);
9181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9182 (arg1
)->SetDepth(arg2
);
9183 wxPyEndAllowThreads(__tstate
);
9184 if (PyErr_Occurred()) SWIG_fail
;
9186 resultobj
= SWIG_Py_Void();
9193 SWIGINTERN PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9194 PyObject
*resultobj
= 0;
9195 wxIcon
*arg1
= (wxIcon
*) 0 ;
9196 wxBitmap
*arg2
= 0 ;
9201 PyObject
* obj0
= 0 ;
9202 PyObject
* obj1
= 0 ;
9203 char * kwnames
[] = {
9204 (char *) "self",(char *) "bmp", NULL
9207 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9208 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9209 if (!SWIG_IsOK(res1
)) {
9210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "1"" of type '" "wxIcon *""'");
9212 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9213 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9214 if (!SWIG_IsOK(res2
)) {
9215 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9218 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9220 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
9222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9223 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
9224 wxPyEndAllowThreads(__tstate
);
9225 if (PyErr_Occurred()) SWIG_fail
;
9227 resultobj
= SWIG_Py_Void();
9234 SWIGINTERN PyObject
*Icon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9236 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9237 SWIG_TypeNewClientData(SWIGTYPE_p_wxIcon
, SWIG_NewClientData(obj
));
9238 return SWIG_Py_Void();
9241 SWIGINTERN PyObject
*Icon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9242 return SWIG_Python_InitShadowInstance(args
);
9245 SWIGINTERN PyObject
*_wrap_new_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9246 PyObject
*resultobj
= 0;
9247 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
9248 int arg2
= (int) 0 ;
9249 wxIconLocation
*result
= 0 ;
9250 bool temp1
= false ;
9253 PyObject
* obj0
= 0 ;
9254 PyObject
* obj1
= 0 ;
9255 char * kwnames
[] = {
9256 (char *) "filename",(char *) "num", NULL
9259 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9262 arg1
= wxString_in_helper(obj0
);
9263 if (arg1
== NULL
) SWIG_fail
;
9268 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9269 if (!SWIG_IsOK(ecode2
)) {
9270 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconLocation" "', expected argument " "2"" of type '" "int""'");
9272 arg2
= static_cast< int >(val2
);
9275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9276 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
9277 wxPyEndAllowThreads(__tstate
);
9278 if (PyErr_Occurred()) SWIG_fail
;
9280 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_NEW
| 0 );
9295 SWIGINTERN PyObject
*_wrap_delete_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9296 PyObject
*resultobj
= 0;
9297 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9300 PyObject
*swig_obj
[1] ;
9302 if (!args
) SWIG_fail
;
9304 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_DISOWN
| 0 );
9305 if (!SWIG_IsOK(res1
)) {
9306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconLocation" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9308 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9313 wxPyEndAllowThreads(__tstate
);
9314 if (PyErr_Occurred()) SWIG_fail
;
9316 resultobj
= SWIG_Py_Void();
9323 SWIGINTERN PyObject
*_wrap_IconLocation_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9324 PyObject
*resultobj
= 0;
9325 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9329 PyObject
*swig_obj
[1] ;
9331 if (!args
) SWIG_fail
;
9333 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9334 if (!SWIG_IsOK(res1
)) {
9335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_IsOk" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9337 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9340 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
9341 wxPyEndAllowThreads(__tstate
);
9342 if (PyErr_Occurred()) SWIG_fail
;
9345 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9353 SWIGINTERN PyObject
*_wrap_IconLocation_SetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9354 PyObject
*resultobj
= 0;
9355 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9356 wxString
*arg2
= 0 ;
9359 bool temp2
= false ;
9360 PyObject
* obj0
= 0 ;
9361 PyObject
* obj1
= 0 ;
9362 char * kwnames
[] = {
9363 (char *) "self",(char *) "filename", NULL
9366 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9367 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9368 if (!SWIG_IsOK(res1
)) {
9369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetFileName" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9371 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9373 arg2
= wxString_in_helper(obj1
);
9374 if (arg2
== NULL
) SWIG_fail
;
9378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9379 (arg1
)->SetFileName((wxString
const &)*arg2
);
9380 wxPyEndAllowThreads(__tstate
);
9381 if (PyErr_Occurred()) SWIG_fail
;
9383 resultobj
= SWIG_Py_Void();
9398 SWIGINTERN PyObject
*_wrap_IconLocation_GetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9399 PyObject
*resultobj
= 0;
9400 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9401 wxString
*result
= 0 ;
9404 PyObject
*swig_obj
[1] ;
9406 if (!args
) SWIG_fail
;
9408 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9409 if (!SWIG_IsOK(res1
)) {
9410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetFileName" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9412 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9416 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
9417 result
= (wxString
*) &_result_ref
;
9419 wxPyEndAllowThreads(__tstate
);
9420 if (PyErr_Occurred()) SWIG_fail
;
9424 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9426 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9435 SWIGINTERN PyObject
*_wrap_IconLocation_SetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9436 PyObject
*resultobj
= 0;
9437 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9443 PyObject
* obj0
= 0 ;
9444 PyObject
* obj1
= 0 ;
9445 char * kwnames
[] = {
9446 (char *) "self",(char *) "num", NULL
9449 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9450 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9451 if (!SWIG_IsOK(res1
)) {
9452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9454 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9455 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9456 if (!SWIG_IsOK(ecode2
)) {
9457 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IconLocation_SetIndex" "', expected argument " "2"" of type '" "int""'");
9459 arg2
= static_cast< int >(val2
);
9461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9462 wxIconLocation_SetIndex(arg1
,arg2
);
9463 wxPyEndAllowThreads(__tstate
);
9464 if (PyErr_Occurred()) SWIG_fail
;
9466 resultobj
= SWIG_Py_Void();
9473 SWIGINTERN PyObject
*_wrap_IconLocation_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9474 PyObject
*resultobj
= 0;
9475 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9479 PyObject
*swig_obj
[1] ;
9481 if (!args
) SWIG_fail
;
9483 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9484 if (!SWIG_IsOK(res1
)) {
9485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9487 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9490 result
= (int)wxIconLocation_GetIndex(arg1
);
9491 wxPyEndAllowThreads(__tstate
);
9492 if (PyErr_Occurred()) SWIG_fail
;
9494 resultobj
= SWIG_From_int(static_cast< int >(result
));
9501 SWIGINTERN PyObject
*IconLocation_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9503 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9504 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconLocation
, SWIG_NewClientData(obj
));
9505 return SWIG_Py_Void();
9508 SWIGINTERN PyObject
*IconLocation_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9509 return SWIG_Python_InitShadowInstance(args
);
9512 SWIGINTERN PyObject
*_wrap_new_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9513 PyObject
*resultobj
= 0;
9514 wxIconBundle
*result
= 0 ;
9516 if (!SWIG_Python_UnpackTuple(args
,"new_IconBundle",0,0,0)) SWIG_fail
;
9518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9519 result
= (wxIconBundle
*)new wxIconBundle();
9520 wxPyEndAllowThreads(__tstate
);
9521 if (PyErr_Occurred()) SWIG_fail
;
9523 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_NEW
| 0 );
9530 SWIGINTERN PyObject
*_wrap_new_IconBundleFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9531 PyObject
*resultobj
= 0;
9532 wxString
*arg1
= 0 ;
9534 wxIconBundle
*result
= 0 ;
9535 bool temp1
= false ;
9538 PyObject
* obj0
= 0 ;
9539 PyObject
* obj1
= 0 ;
9540 char * kwnames
[] = {
9541 (char *) "file",(char *) "type", NULL
9544 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9546 arg1
= wxString_in_helper(obj0
);
9547 if (arg1
== NULL
) SWIG_fail
;
9550 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9551 if (!SWIG_IsOK(ecode2
)) {
9552 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconBundleFromFile" "', expected argument " "2"" of type '" "long""'");
9554 arg2
= static_cast< long >(val2
);
9556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9557 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
9558 wxPyEndAllowThreads(__tstate
);
9559 if (PyErr_Occurred()) SWIG_fail
;
9561 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
9576 SWIGINTERN PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9577 PyObject
*resultobj
= 0;
9579 wxIconBundle
*result
= 0 ;
9582 PyObject
* obj0
= 0 ;
9583 char * kwnames
[] = {
9584 (char *) "icon", NULL
9587 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) SWIG_fail
;
9588 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
9589 if (!SWIG_IsOK(res1
)) {
9590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
9593 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
9595 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9598 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
9599 wxPyEndAllowThreads(__tstate
);
9600 if (PyErr_Occurred()) SWIG_fail
;
9602 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
9609 SWIGINTERN PyObject
*_wrap_delete_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9610 PyObject
*resultobj
= 0;
9611 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9614 PyObject
*swig_obj
[1] ;
9616 if (!args
) SWIG_fail
;
9618 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_DISOWN
| 0 );
9619 if (!SWIG_IsOK(res1
)) {
9620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconBundle" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9622 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9627 wxPyEndAllowThreads(__tstate
);
9628 if (PyErr_Occurred()) SWIG_fail
;
9630 resultobj
= SWIG_Py_Void();
9637 SWIGINTERN PyObject
*_wrap_IconBundle_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9638 PyObject
*resultobj
= 0;
9639 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9645 PyObject
* obj0
= 0 ;
9646 PyObject
* obj1
= 0 ;
9647 char * kwnames
[] = {
9648 (char *) "self",(char *) "icon", NULL
9651 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9652 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
9653 if (!SWIG_IsOK(res1
)) {
9654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIcon" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9656 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9657 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
9658 if (!SWIG_IsOK(res2
)) {
9659 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
9662 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
9664 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
9666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9667 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
9668 wxPyEndAllowThreads(__tstate
);
9669 if (PyErr_Occurred()) SWIG_fail
;
9671 resultobj
= SWIG_Py_Void();
9678 SWIGINTERN PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9679 PyObject
*resultobj
= 0;
9680 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9681 wxString
*arg2
= 0 ;
9685 bool temp2
= false ;
9688 PyObject
* obj0
= 0 ;
9689 PyObject
* obj1
= 0 ;
9690 PyObject
* obj2
= 0 ;
9691 char * kwnames
[] = {
9692 (char *) "self",(char *) "file",(char *) "type", NULL
9695 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9696 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
9697 if (!SWIG_IsOK(res1
)) {
9698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9700 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9702 arg2
= wxString_in_helper(obj1
);
9703 if (arg2
== NULL
) SWIG_fail
;
9706 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
9707 if (!SWIG_IsOK(ecode3
)) {
9708 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "3"" of type '" "long""'");
9710 arg3
= static_cast< long >(val3
);
9712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9713 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
9714 wxPyEndAllowThreads(__tstate
);
9715 if (PyErr_Occurred()) SWIG_fail
;
9717 resultobj
= SWIG_Py_Void();
9732 SWIGINTERN PyObject
*_wrap_IconBundle_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9733 PyObject
*resultobj
= 0;
9734 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9736 wxIcon
*result
= 0 ;
9740 PyObject
* obj0
= 0 ;
9741 PyObject
* obj1
= 0 ;
9742 char * kwnames
[] = {
9743 (char *) "self",(char *) "size", NULL
9746 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9747 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
9748 if (!SWIG_IsOK(res1
)) {
9749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_GetIcon" "', expected argument " "1"" of type '" "wxIconBundle const *""'");
9751 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9754 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
9757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9759 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
9760 result
= (wxIcon
*) &_result_ref
;
9762 wxPyEndAllowThreads(__tstate
);
9763 if (PyErr_Occurred()) SWIG_fail
;
9766 wxIcon
* resultptr
= new wxIcon(*result
);
9767 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
9775 SWIGINTERN PyObject
*IconBundle_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9777 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9778 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconBundle
, SWIG_NewClientData(obj
));
9779 return SWIG_Py_Void();
9782 SWIGINTERN PyObject
*IconBundle_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9783 return SWIG_Python_InitShadowInstance(args
);
9786 SWIGINTERN PyObject
*_wrap_new_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9787 PyObject
*resultobj
= 0;
9788 wxString
*arg1
= 0 ;
9790 int arg3
= (int) 0 ;
9791 int arg4
= (int) 0 ;
9792 wxCursor
*result
= 0 ;
9793 bool temp1
= false ;
9800 PyObject
* obj0
= 0 ;
9801 PyObject
* obj1
= 0 ;
9802 PyObject
* obj2
= 0 ;
9803 PyObject
* obj3
= 0 ;
9804 char * kwnames
[] = {
9805 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
9808 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9810 arg1
= wxString_in_helper(obj0
);
9811 if (arg1
== NULL
) SWIG_fail
;
9814 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9815 if (!SWIG_IsOK(ecode2
)) {
9816 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Cursor" "', expected argument " "2"" of type '" "long""'");
9818 arg2
= static_cast< long >(val2
);
9820 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9821 if (!SWIG_IsOK(ecode3
)) {
9822 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Cursor" "', expected argument " "3"" of type '" "int""'");
9824 arg3
= static_cast< int >(val3
);
9827 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9828 if (!SWIG_IsOK(ecode4
)) {
9829 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Cursor" "', expected argument " "4"" of type '" "int""'");
9831 arg4
= static_cast< int >(val4
);
9834 if (!wxPyCheckForApp()) SWIG_fail
;
9835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9836 result
= (wxCursor
*)new_wxCursor((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
9837 wxPyEndAllowThreads(__tstate
);
9838 if (PyErr_Occurred()) SWIG_fail
;
9840 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_NEW
| 0 );
9855 SWIGINTERN PyObject
*_wrap_delete_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9856 PyObject
*resultobj
= 0;
9857 wxCursor
*arg1
= (wxCursor
*) 0 ;
9860 PyObject
*swig_obj
[1] ;
9862 if (!args
) SWIG_fail
;
9864 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, SWIG_POINTER_DISOWN
| 0 );
9865 if (!SWIG_IsOK(res1
)) {
9866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Cursor" "', expected argument " "1"" of type '" "wxCursor *""'");
9868 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
9870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9873 wxPyEndAllowThreads(__tstate
);
9874 if (PyErr_Occurred()) SWIG_fail
;
9876 resultobj
= SWIG_Py_Void();
9883 SWIGINTERN PyObject
*_wrap_new_StockCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9884 PyObject
*resultobj
= 0;
9886 wxCursor
*result
= 0 ;
9889 PyObject
* obj0
= 0 ;
9890 char * kwnames
[] = {
9894 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) SWIG_fail
;
9895 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9896 if (!SWIG_IsOK(ecode1
)) {
9897 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_StockCursor" "', expected argument " "1"" of type '" "int""'");
9899 arg1
= static_cast< int >(val1
);
9901 if (!wxPyCheckForApp()) SWIG_fail
;
9902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9903 result
= (wxCursor
*)new wxCursor(arg1
);
9904 wxPyEndAllowThreads(__tstate
);
9905 if (PyErr_Occurred()) SWIG_fail
;
9907 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
9914 SWIGINTERN PyObject
*_wrap_new_CursorFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9915 PyObject
*resultobj
= 0;
9917 wxCursor
*result
= 0 ;
9920 PyObject
* obj0
= 0 ;
9921 char * kwnames
[] = {
9922 (char *) "image", NULL
9925 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) SWIG_fail
;
9926 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
9927 if (!SWIG_IsOK(res1
)) {
9928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
9931 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
9933 arg1
= reinterpret_cast< wxImage
* >(argp1
);
9935 if (!wxPyCheckForApp()) SWIG_fail
;
9936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9937 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
9938 wxPyEndAllowThreads(__tstate
);
9939 if (PyErr_Occurred()) SWIG_fail
;
9941 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
9948 SWIGINTERN PyObject
*_wrap_Cursor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9949 PyObject
*resultobj
= 0;
9950 wxCursor
*arg1
= (wxCursor
*) 0 ;
9954 PyObject
*swig_obj
[1] ;
9956 if (!args
) SWIG_fail
;
9958 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
9959 if (!SWIG_IsOK(res1
)) {
9960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_IsOk" "', expected argument " "1"" of type '" "wxCursor *""'");
9962 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
9964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9965 result
= (bool)(arg1
)->IsOk();
9966 wxPyEndAllowThreads(__tstate
);
9967 if (PyErr_Occurred()) SWIG_fail
;
9970 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9978 SWIGINTERN PyObject
*Cursor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9980 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9981 SWIG_TypeNewClientData(SWIGTYPE_p_wxCursor
, SWIG_NewClientData(obj
));
9982 return SWIG_Py_Void();
9985 SWIGINTERN PyObject
*Cursor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9986 return SWIG_Python_InitShadowInstance(args
);
9989 SWIGINTERN PyObject
*_wrap_new_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9990 PyObject
*resultobj
= 0;
9991 int arg1
= (int) 0 ;
9992 int arg2
= (int) 0 ;
9993 int arg3
= (int) 0 ;
9994 int arg4
= (int) 0 ;
9995 wxRegion
*result
= 0 ;
10004 PyObject
* obj0
= 0 ;
10005 PyObject
* obj1
= 0 ;
10006 PyObject
* obj2
= 0 ;
10007 PyObject
* obj3
= 0 ;
10008 char * kwnames
[] = {
10009 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10012 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10014 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10015 if (!SWIG_IsOK(ecode1
)) {
10016 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Region" "', expected argument " "1"" of type '" "int""'");
10018 arg1
= static_cast< int >(val1
);
10021 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10022 if (!SWIG_IsOK(ecode2
)) {
10023 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Region" "', expected argument " "2"" of type '" "int""'");
10025 arg2
= static_cast< int >(val2
);
10028 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10029 if (!SWIG_IsOK(ecode3
)) {
10030 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Region" "', expected argument " "3"" of type '" "int""'");
10032 arg3
= static_cast< int >(val3
);
10035 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10036 if (!SWIG_IsOK(ecode4
)) {
10037 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Region" "', expected argument " "4"" of type '" "int""'");
10039 arg4
= static_cast< int >(val4
);
10042 if (!wxPyCheckForApp()) SWIG_fail
;
10043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10044 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
10045 wxPyEndAllowThreads(__tstate
);
10046 if (PyErr_Occurred()) SWIG_fail
;
10048 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_NEW
| 0 );
10055 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10056 PyObject
*resultobj
= 0;
10057 wxBitmap
*arg1
= 0 ;
10058 wxRegion
*result
= 0 ;
10061 PyObject
* obj0
= 0 ;
10062 char * kwnames
[] = {
10063 (char *) "bmp", NULL
10066 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
10067 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
10068 if (!SWIG_IsOK(res1
)) {
10069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10072 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10074 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
10076 if (!wxPyCheckForApp()) SWIG_fail
;
10077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10078 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
);
10079 wxPyEndAllowThreads(__tstate
);
10080 if (PyErr_Occurred()) SWIG_fail
;
10082 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10089 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10090 PyObject
*resultobj
= 0;
10091 wxBitmap
*arg1
= 0 ;
10092 wxColour
*arg2
= 0 ;
10093 int arg3
= (int) 0 ;
10094 wxRegion
*result
= 0 ;
10100 PyObject
* obj0
= 0 ;
10101 PyObject
* obj1
= 0 ;
10102 PyObject
* obj2
= 0 ;
10103 char * kwnames
[] = {
10104 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
10107 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_RegionFromBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10108 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
10109 if (!SWIG_IsOK(res1
)) {
10110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10113 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10115 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
10118 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10121 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10122 if (!SWIG_IsOK(ecode3
)) {
10123 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "3"" of type '" "int""'");
10125 arg3
= static_cast< int >(val3
);
10128 if (!wxPyCheckForApp()) SWIG_fail
;
10129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10130 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
10131 wxPyEndAllowThreads(__tstate
);
10132 if (PyErr_Occurred()) SWIG_fail
;
10134 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10141 SWIGINTERN PyObject
*_wrap_new_RegionFromPoints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10142 PyObject
*resultobj
= 0;
10144 wxPoint
*arg2
= (wxPoint
*) 0 ;
10145 int arg3
= (int) wxWINDING_RULE
;
10146 wxRegion
*result
= 0 ;
10149 PyObject
* obj0
= 0 ;
10150 PyObject
* obj1
= 0 ;
10151 char * kwnames
[] = {
10152 (char *) "points",(char *) "fillStyle", NULL
10155 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10157 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
10158 if (arg2
== NULL
) SWIG_fail
;
10161 ecode3
= SWIG_AsVal_int(obj1
, &val3
);
10162 if (!SWIG_IsOK(ecode3
)) {
10163 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromPoints" "', expected argument " "3"" of type '" "int""'");
10165 arg3
= static_cast< int >(val3
);
10168 if (!wxPyCheckForApp()) SWIG_fail
;
10169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10170 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
10171 wxPyEndAllowThreads(__tstate
);
10172 if (PyErr_Occurred()) SWIG_fail
;
10174 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10176 if (arg2
) delete [] arg2
;
10181 if (arg2
) delete [] arg2
;
10187 SWIGINTERN PyObject
*_wrap_delete_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10188 PyObject
*resultobj
= 0;
10189 wxRegion
*arg1
= (wxRegion
*) 0 ;
10192 PyObject
*swig_obj
[1] ;
10194 if (!args
) SWIG_fail
;
10195 swig_obj
[0] = args
;
10196 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, SWIG_POINTER_DISOWN
| 0 );
10197 if (!SWIG_IsOK(res1
)) {
10198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Region" "', expected argument " "1"" of type '" "wxRegion *""'");
10200 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10205 wxPyEndAllowThreads(__tstate
);
10206 if (PyErr_Occurred()) SWIG_fail
;
10208 resultobj
= SWIG_Py_Void();
10215 SWIGINTERN PyObject
*_wrap_Region_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10216 PyObject
*resultobj
= 0;
10217 wxRegion
*arg1
= (wxRegion
*) 0 ;
10220 PyObject
*swig_obj
[1] ;
10222 if (!args
) SWIG_fail
;
10223 swig_obj
[0] = args
;
10224 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10225 if (!SWIG_IsOK(res1
)) {
10226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Clear" "', expected argument " "1"" of type '" "wxRegion *""'");
10228 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10232 wxPyEndAllowThreads(__tstate
);
10233 if (PyErr_Occurred()) SWIG_fail
;
10235 resultobj
= SWIG_Py_Void();
10242 SWIGINTERN PyObject
*_wrap_Region_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10243 PyObject
*resultobj
= 0;
10244 wxRegion
*arg1
= (wxRegion
*) 0 ;
10254 PyObject
* obj0
= 0 ;
10255 PyObject
* obj1
= 0 ;
10256 PyObject
* obj2
= 0 ;
10257 char * kwnames
[] = {
10258 (char *) "self",(char *) "x",(char *) "y", NULL
10261 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10262 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10263 if (!SWIG_IsOK(res1
)) {
10264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Offset" "', expected argument " "1"" of type '" "wxRegion *""'");
10266 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10267 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10268 if (!SWIG_IsOK(ecode2
)) {
10269 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Offset" "', expected argument " "2"" of type '" "int""'");
10271 arg2
= static_cast< int >(val2
);
10272 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10273 if (!SWIG_IsOK(ecode3
)) {
10274 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Offset" "', expected argument " "3"" of type '" "int""'");
10276 arg3
= static_cast< int >(val3
);
10278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10279 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
10280 wxPyEndAllowThreads(__tstate
);
10281 if (PyErr_Occurred()) SWIG_fail
;
10284 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10292 SWIGINTERN PyObject
*_wrap_Region_Contains(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10293 PyObject
*resultobj
= 0;
10294 wxRegion
*arg1
= (wxRegion
*) 0 ;
10297 wxRegionContain result
;
10304 PyObject
* obj0
= 0 ;
10305 PyObject
* obj1
= 0 ;
10306 PyObject
* obj2
= 0 ;
10307 char * kwnames
[] = {
10308 (char *) "self",(char *) "x",(char *) "y", NULL
10311 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10312 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10313 if (!SWIG_IsOK(res1
)) {
10314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Contains" "', expected argument " "1"" of type '" "wxRegion *""'");
10316 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10317 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10318 if (!SWIG_IsOK(ecode2
)) {
10319 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Contains" "', expected argument " "2"" of type '" "int""'");
10321 arg2
= static_cast< int >(val2
);
10322 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10323 if (!SWIG_IsOK(ecode3
)) {
10324 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Contains" "', expected argument " "3"" of type '" "int""'");
10326 arg3
= static_cast< int >(val3
);
10328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10329 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
);
10330 wxPyEndAllowThreads(__tstate
);
10331 if (PyErr_Occurred()) SWIG_fail
;
10333 resultobj
= SWIG_From_int(static_cast< int >(result
));
10340 SWIGINTERN PyObject
*_wrap_Region_ContainsPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10341 PyObject
*resultobj
= 0;
10342 wxRegion
*arg1
= (wxRegion
*) 0 ;
10343 wxPoint
*arg2
= 0 ;
10344 wxRegionContain result
;
10348 PyObject
* obj0
= 0 ;
10349 PyObject
* obj1
= 0 ;
10350 char * kwnames
[] = {
10351 (char *) "self",(char *) "pt", NULL
10354 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10355 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10356 if (!SWIG_IsOK(res1
)) {
10357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsPoint" "', expected argument " "1"" of type '" "wxRegion *""'");
10359 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10362 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10366 result
= (wxRegionContain
)(arg1
)->Contains((wxPoint
const &)*arg2
);
10367 wxPyEndAllowThreads(__tstate
);
10368 if (PyErr_Occurred()) SWIG_fail
;
10370 resultobj
= SWIG_From_int(static_cast< int >(result
));
10377 SWIGINTERN PyObject
*_wrap_Region_ContainsRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10378 PyObject
*resultobj
= 0;
10379 wxRegion
*arg1
= (wxRegion
*) 0 ;
10381 wxRegionContain result
;
10385 PyObject
* obj0
= 0 ;
10386 PyObject
* obj1
= 0 ;
10387 char * kwnames
[] = {
10388 (char *) "self",(char *) "rect", NULL
10391 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10392 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10393 if (!SWIG_IsOK(res1
)) {
10394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10396 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10399 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10403 result
= (wxRegionContain
)(arg1
)->Contains((wxRect
const &)*arg2
);
10404 wxPyEndAllowThreads(__tstate
);
10405 if (PyErr_Occurred()) SWIG_fail
;
10407 resultobj
= SWIG_From_int(static_cast< int >(result
));
10414 SWIGINTERN PyObject
*_wrap_Region_ContainsRectDim(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10415 PyObject
*resultobj
= 0;
10416 wxRegion
*arg1
= (wxRegion
*) 0 ;
10421 wxRegionContain result
;
10432 PyObject
* obj0
= 0 ;
10433 PyObject
* obj1
= 0 ;
10434 PyObject
* obj2
= 0 ;
10435 PyObject
* obj3
= 0 ;
10436 PyObject
* obj4
= 0 ;
10437 char * kwnames
[] = {
10438 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
10441 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10442 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10443 if (!SWIG_IsOK(res1
)) {
10444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRectDim" "', expected argument " "1"" of type '" "wxRegion *""'");
10446 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10447 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10448 if (!SWIG_IsOK(ecode2
)) {
10449 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_ContainsRectDim" "', expected argument " "2"" of type '" "int""'");
10451 arg2
= static_cast< int >(val2
);
10452 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10453 if (!SWIG_IsOK(ecode3
)) {
10454 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_ContainsRectDim" "', expected argument " "3"" of type '" "int""'");
10456 arg3
= static_cast< int >(val3
);
10457 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10458 if (!SWIG_IsOK(ecode4
)) {
10459 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_ContainsRectDim" "', expected argument " "4"" of type '" "int""'");
10461 arg4
= static_cast< int >(val4
);
10462 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10463 if (!SWIG_IsOK(ecode5
)) {
10464 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_ContainsRectDim" "', expected argument " "5"" of type '" "int""'");
10466 arg5
= static_cast< int >(val5
);
10468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10469 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
10470 wxPyEndAllowThreads(__tstate
);
10471 if (PyErr_Occurred()) SWIG_fail
;
10473 resultobj
= SWIG_From_int(static_cast< int >(result
));
10480 SWIGINTERN PyObject
*_wrap_Region_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10481 PyObject
*resultobj
= 0;
10482 wxRegion
*arg1
= (wxRegion
*) 0 ;
10486 PyObject
*swig_obj
[1] ;
10488 if (!args
) SWIG_fail
;
10489 swig_obj
[0] = args
;
10490 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10491 if (!SWIG_IsOK(res1
)) {
10492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_GetBox" "', expected argument " "1"" of type '" "wxRegion *""'");
10494 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10497 result
= (arg1
)->GetBox();
10498 wxPyEndAllowThreads(__tstate
);
10499 if (PyErr_Occurred()) SWIG_fail
;
10501 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
10508 SWIGINTERN PyObject
*_wrap_Region_Intersect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10509 PyObject
*resultobj
= 0;
10510 wxRegion
*arg1
= (wxRegion
*) 0 ;
10526 PyObject
* obj0
= 0 ;
10527 PyObject
* obj1
= 0 ;
10528 PyObject
* obj2
= 0 ;
10529 PyObject
* obj3
= 0 ;
10530 PyObject
* obj4
= 0 ;
10531 char * kwnames
[] = {
10532 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10535 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10536 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10537 if (!SWIG_IsOK(res1
)) {
10538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Intersect" "', expected argument " "1"" of type '" "wxRegion *""'");
10540 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10541 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10542 if (!SWIG_IsOK(ecode2
)) {
10543 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Intersect" "', expected argument " "2"" of type '" "int""'");
10545 arg2
= static_cast< int >(val2
);
10546 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10547 if (!SWIG_IsOK(ecode3
)) {
10548 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Intersect" "', expected argument " "3"" of type '" "int""'");
10550 arg3
= static_cast< int >(val3
);
10551 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10552 if (!SWIG_IsOK(ecode4
)) {
10553 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Intersect" "', expected argument " "4"" of type '" "int""'");
10555 arg4
= static_cast< int >(val4
);
10556 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10557 if (!SWIG_IsOK(ecode5
)) {
10558 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Intersect" "', expected argument " "5"" of type '" "int""'");
10560 arg5
= static_cast< int >(val5
);
10562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10563 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
10564 wxPyEndAllowThreads(__tstate
);
10565 if (PyErr_Occurred()) SWIG_fail
;
10568 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10576 SWIGINTERN PyObject
*_wrap_Region_IntersectRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10577 PyObject
*resultobj
= 0;
10578 wxRegion
*arg1
= (wxRegion
*) 0 ;
10584 PyObject
* obj0
= 0 ;
10585 PyObject
* obj1
= 0 ;
10586 char * kwnames
[] = {
10587 (char *) "self",(char *) "rect", NULL
10590 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10591 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10592 if (!SWIG_IsOK(res1
)) {
10593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10595 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10598 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10602 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
10603 wxPyEndAllowThreads(__tstate
);
10604 if (PyErr_Occurred()) SWIG_fail
;
10607 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10615 SWIGINTERN PyObject
*_wrap_Region_IntersectRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10616 PyObject
*resultobj
= 0;
10617 wxRegion
*arg1
= (wxRegion
*) 0 ;
10618 wxRegion
*arg2
= 0 ;
10624 PyObject
* obj0
= 0 ;
10625 PyObject
* obj1
= 0 ;
10626 char * kwnames
[] = {
10627 (char *) "self",(char *) "region", NULL
10630 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10631 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10632 if (!SWIG_IsOK(res1
)) {
10633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
10635 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10636 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
10637 if (!SWIG_IsOK(res2
)) {
10638 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10641 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10643 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
10645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10646 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
10647 wxPyEndAllowThreads(__tstate
);
10648 if (PyErr_Occurred()) SWIG_fail
;
10651 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10659 SWIGINTERN PyObject
*_wrap_Region_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10660 PyObject
*resultobj
= 0;
10661 wxRegion
*arg1
= (wxRegion
*) 0 ;
10665 PyObject
*swig_obj
[1] ;
10667 if (!args
) SWIG_fail
;
10668 swig_obj
[0] = args
;
10669 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10670 if (!SWIG_IsOK(res1
)) {
10671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEmpty" "', expected argument " "1"" of type '" "wxRegion *""'");
10673 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10676 result
= (bool)(arg1
)->IsEmpty();
10677 wxPyEndAllowThreads(__tstate
);
10678 if (PyErr_Occurred()) SWIG_fail
;
10681 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10689 SWIGINTERN PyObject
*_wrap_Region_IsEqual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10690 PyObject
*resultobj
= 0;
10691 wxRegion
*arg1
= (wxRegion
*) 0 ;
10692 wxRegion
*arg2
= 0 ;
10698 PyObject
* obj0
= 0 ;
10699 PyObject
* obj1
= 0 ;
10700 char * kwnames
[] = {
10701 (char *) "self",(char *) "region", NULL
10704 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IsEqual",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10705 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10706 if (!SWIG_IsOK(res1
)) {
10707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEqual" "', expected argument " "1"" of type '" "wxRegion const *""'");
10709 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10710 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
10711 if (!SWIG_IsOK(res2
)) {
10712 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IsEqual" "', expected argument " "2"" of type '" "wxRegion const &""'");
10715 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IsEqual" "', expected argument " "2"" of type '" "wxRegion const &""'");
10717 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
10719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10720 result
= (bool)((wxRegion
const *)arg1
)->IsEqual((wxRegion
const &)*arg2
);
10721 wxPyEndAllowThreads(__tstate
);
10722 if (PyErr_Occurred()) SWIG_fail
;
10725 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10733 SWIGINTERN PyObject
*_wrap_Region_Union(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10734 PyObject
*resultobj
= 0;
10735 wxRegion
*arg1
= (wxRegion
*) 0 ;
10751 PyObject
* obj0
= 0 ;
10752 PyObject
* obj1
= 0 ;
10753 PyObject
* obj2
= 0 ;
10754 PyObject
* obj3
= 0 ;
10755 PyObject
* obj4
= 0 ;
10756 char * kwnames
[] = {
10757 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10760 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10761 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10762 if (!SWIG_IsOK(res1
)) {
10763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Union" "', expected argument " "1"" of type '" "wxRegion *""'");
10765 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10766 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10767 if (!SWIG_IsOK(ecode2
)) {
10768 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Union" "', expected argument " "2"" of type '" "int""'");
10770 arg2
= static_cast< int >(val2
);
10771 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10772 if (!SWIG_IsOK(ecode3
)) {
10773 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Union" "', expected argument " "3"" of type '" "int""'");
10775 arg3
= static_cast< int >(val3
);
10776 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10777 if (!SWIG_IsOK(ecode4
)) {
10778 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Union" "', expected argument " "4"" of type '" "int""'");
10780 arg4
= static_cast< int >(val4
);
10781 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10782 if (!SWIG_IsOK(ecode5
)) {
10783 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Union" "', expected argument " "5"" of type '" "int""'");
10785 arg5
= static_cast< int >(val5
);
10787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10788 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
10789 wxPyEndAllowThreads(__tstate
);
10790 if (PyErr_Occurred()) SWIG_fail
;
10793 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10801 SWIGINTERN PyObject
*_wrap_Region_UnionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10802 PyObject
*resultobj
= 0;
10803 wxRegion
*arg1
= (wxRegion
*) 0 ;
10809 PyObject
* obj0
= 0 ;
10810 PyObject
* obj1
= 0 ;
10811 char * kwnames
[] = {
10812 (char *) "self",(char *) "rect", NULL
10815 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10816 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10817 if (!SWIG_IsOK(res1
)) {
10818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10820 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10823 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10827 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
10828 wxPyEndAllowThreads(__tstate
);
10829 if (PyErr_Occurred()) SWIG_fail
;
10832 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10840 SWIGINTERN PyObject
*_wrap_Region_UnionRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10841 PyObject
*resultobj
= 0;
10842 wxRegion
*arg1
= (wxRegion
*) 0 ;
10843 wxRegion
*arg2
= 0 ;
10849 PyObject
* obj0
= 0 ;
10850 PyObject
* obj1
= 0 ;
10851 char * kwnames
[] = {
10852 (char *) "self",(char *) "region", NULL
10855 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10856 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10857 if (!SWIG_IsOK(res1
)) {
10858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
10860 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10861 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
10862 if (!SWIG_IsOK(res2
)) {
10863 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10866 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10868 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
10870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10871 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
10872 wxPyEndAllowThreads(__tstate
);
10873 if (PyErr_Occurred()) SWIG_fail
;
10876 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10884 SWIGINTERN PyObject
*_wrap_Region_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10885 PyObject
*resultobj
= 0;
10886 wxRegion
*arg1
= (wxRegion
*) 0 ;
10902 PyObject
* obj0
= 0 ;
10903 PyObject
* obj1
= 0 ;
10904 PyObject
* obj2
= 0 ;
10905 PyObject
* obj3
= 0 ;
10906 PyObject
* obj4
= 0 ;
10907 char * kwnames
[] = {
10908 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10911 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10912 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10913 if (!SWIG_IsOK(res1
)) {
10914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Subtract" "', expected argument " "1"" of type '" "wxRegion *""'");
10916 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10917 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10918 if (!SWIG_IsOK(ecode2
)) {
10919 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Subtract" "', expected argument " "2"" of type '" "int""'");
10921 arg2
= static_cast< int >(val2
);
10922 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10923 if (!SWIG_IsOK(ecode3
)) {
10924 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Subtract" "', expected argument " "3"" of type '" "int""'");
10926 arg3
= static_cast< int >(val3
);
10927 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10928 if (!SWIG_IsOK(ecode4
)) {
10929 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Subtract" "', expected argument " "4"" of type '" "int""'");
10931 arg4
= static_cast< int >(val4
);
10932 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10933 if (!SWIG_IsOK(ecode5
)) {
10934 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Subtract" "', expected argument " "5"" of type '" "int""'");
10936 arg5
= static_cast< int >(val5
);
10938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10939 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
10940 wxPyEndAllowThreads(__tstate
);
10941 if (PyErr_Occurred()) SWIG_fail
;
10944 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10952 SWIGINTERN PyObject
*_wrap_Region_SubtractRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10953 PyObject
*resultobj
= 0;
10954 wxRegion
*arg1
= (wxRegion
*) 0 ;
10960 PyObject
* obj0
= 0 ;
10961 PyObject
* obj1
= 0 ;
10962 char * kwnames
[] = {
10963 (char *) "self",(char *) "rect", NULL
10966 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10967 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10968 if (!SWIG_IsOK(res1
)) {
10969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10971 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10974 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10978 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
10979 wxPyEndAllowThreads(__tstate
);
10980 if (PyErr_Occurred()) SWIG_fail
;
10983 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10991 SWIGINTERN PyObject
*_wrap_Region_SubtractRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10992 PyObject
*resultobj
= 0;
10993 wxRegion
*arg1
= (wxRegion
*) 0 ;
10994 wxRegion
*arg2
= 0 ;
11000 PyObject
* obj0
= 0 ;
11001 PyObject
* obj1
= 0 ;
11002 char * kwnames
[] = {
11003 (char *) "self",(char *) "region", NULL
11006 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11007 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11008 if (!SWIG_IsOK(res1
)) {
11009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11011 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11012 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11013 if (!SWIG_IsOK(res2
)) {
11014 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11017 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11019 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11022 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
11023 wxPyEndAllowThreads(__tstate
);
11024 if (PyErr_Occurred()) SWIG_fail
;
11027 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11035 SWIGINTERN PyObject
*_wrap_Region_Xor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11036 PyObject
*resultobj
= 0;
11037 wxRegion
*arg1
= (wxRegion
*) 0 ;
11053 PyObject
* obj0
= 0 ;
11054 PyObject
* obj1
= 0 ;
11055 PyObject
* obj2
= 0 ;
11056 PyObject
* obj3
= 0 ;
11057 PyObject
* obj4
= 0 ;
11058 char * kwnames
[] = {
11059 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11062 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11063 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11064 if (!SWIG_IsOK(res1
)) {
11065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Xor" "', expected argument " "1"" of type '" "wxRegion *""'");
11067 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11068 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11069 if (!SWIG_IsOK(ecode2
)) {
11070 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Xor" "', expected argument " "2"" of type '" "int""'");
11072 arg2
= static_cast< int >(val2
);
11073 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11074 if (!SWIG_IsOK(ecode3
)) {
11075 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Xor" "', expected argument " "3"" of type '" "int""'");
11077 arg3
= static_cast< int >(val3
);
11078 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11079 if (!SWIG_IsOK(ecode4
)) {
11080 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Xor" "', expected argument " "4"" of type '" "int""'");
11082 arg4
= static_cast< int >(val4
);
11083 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11084 if (!SWIG_IsOK(ecode5
)) {
11085 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Xor" "', expected argument " "5"" of type '" "int""'");
11087 arg5
= static_cast< int >(val5
);
11089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11090 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
11091 wxPyEndAllowThreads(__tstate
);
11092 if (PyErr_Occurred()) SWIG_fail
;
11095 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11103 SWIGINTERN PyObject
*_wrap_Region_XorRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11104 PyObject
*resultobj
= 0;
11105 wxRegion
*arg1
= (wxRegion
*) 0 ;
11111 PyObject
* obj0
= 0 ;
11112 PyObject
* obj1
= 0 ;
11113 char * kwnames
[] = {
11114 (char *) "self",(char *) "rect", NULL
11117 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11118 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11119 if (!SWIG_IsOK(res1
)) {
11120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11122 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11125 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11129 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
11130 wxPyEndAllowThreads(__tstate
);
11131 if (PyErr_Occurred()) SWIG_fail
;
11134 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11142 SWIGINTERN PyObject
*_wrap_Region_XorRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11143 PyObject
*resultobj
= 0;
11144 wxRegion
*arg1
= (wxRegion
*) 0 ;
11145 wxRegion
*arg2
= 0 ;
11151 PyObject
* obj0
= 0 ;
11152 PyObject
* obj1
= 0 ;
11153 char * kwnames
[] = {
11154 (char *) "self",(char *) "region", NULL
11157 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11158 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11159 if (!SWIG_IsOK(res1
)) {
11160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11162 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11163 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11164 if (!SWIG_IsOK(res2
)) {
11165 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11168 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11170 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11173 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
11174 wxPyEndAllowThreads(__tstate
);
11175 if (PyErr_Occurred()) SWIG_fail
;
11178 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11186 SWIGINTERN PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11187 PyObject
*resultobj
= 0;
11188 wxRegion
*arg1
= (wxRegion
*) 0 ;
11189 SwigValueWrapper
<wxBitmap
> result
;
11192 PyObject
*swig_obj
[1] ;
11194 if (!args
) SWIG_fail
;
11195 swig_obj
[0] = args
;
11196 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11197 if (!SWIG_IsOK(res1
)) {
11198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ConvertToBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
11200 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11203 result
= (arg1
)->ConvertToBitmap();
11204 wxPyEndAllowThreads(__tstate
);
11205 if (PyErr_Occurred()) SWIG_fail
;
11207 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
11214 SWIGINTERN PyObject
*_wrap_Region_UnionBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11215 PyObject
*resultobj
= 0;
11216 wxRegion
*arg1
= (wxRegion
*) 0 ;
11217 wxBitmap
*arg2
= 0 ;
11223 PyObject
* obj0
= 0 ;
11224 PyObject
* obj1
= 0 ;
11225 char * kwnames
[] = {
11226 (char *) "self",(char *) "bmp", NULL
11229 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11230 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11231 if (!SWIG_IsOK(res1
)) {
11232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
11234 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11235 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11236 if (!SWIG_IsOK(res2
)) {
11237 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11240 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11242 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
11244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11245 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
);
11246 wxPyEndAllowThreads(__tstate
);
11247 if (PyErr_Occurred()) SWIG_fail
;
11250 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11258 SWIGINTERN PyObject
*_wrap_Region_UnionBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11259 PyObject
*resultobj
= 0;
11260 wxRegion
*arg1
= (wxRegion
*) 0 ;
11261 wxBitmap
*arg2
= 0 ;
11262 wxColour
*arg3
= 0 ;
11263 int arg4
= (int) 0 ;
11272 PyObject
* obj0
= 0 ;
11273 PyObject
* obj1
= 0 ;
11274 PyObject
* obj2
= 0 ;
11275 PyObject
* obj3
= 0 ;
11276 char * kwnames
[] = {
11277 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
11280 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Region_UnionBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11281 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11282 if (!SWIG_IsOK(res1
)) {
11283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmapColour" "', expected argument " "1"" of type '" "wxRegion *""'");
11285 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11286 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11287 if (!SWIG_IsOK(res2
)) {
11288 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11291 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11293 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
11296 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
11299 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11300 if (!SWIG_IsOK(ecode4
)) {
11301 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_UnionBitmapColour" "', expected argument " "4"" of type '" "int""'");
11303 arg4
= static_cast< int >(val4
);
11306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11307 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
11308 wxPyEndAllowThreads(__tstate
);
11309 if (PyErr_Occurred()) SWIG_fail
;
11312 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11320 SWIGINTERN PyObject
*Region_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11322 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11323 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegion
, SWIG_NewClientData(obj
));
11324 return SWIG_Py_Void();
11327 SWIGINTERN PyObject
*Region_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11328 return SWIG_Python_InitShadowInstance(args
);
11331 SWIGINTERN PyObject
*_wrap_new_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11332 PyObject
*resultobj
= 0;
11333 wxRegion
*arg1
= 0 ;
11334 wxRegionIterator
*result
= 0 ;
11337 PyObject
* obj0
= 0 ;
11338 char * kwnames
[] = {
11339 (char *) "region", NULL
11342 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) SWIG_fail
;
11343 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRegion
, 0 | 0);
11344 if (!SWIG_IsOK(res1
)) {
11345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
11348 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
11350 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11352 if (!wxPyCheckForApp()) SWIG_fail
;
11353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11354 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
11355 wxPyEndAllowThreads(__tstate
);
11356 if (PyErr_Occurred()) SWIG_fail
;
11358 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_NEW
| 0 );
11365 SWIGINTERN PyObject
*_wrap_delete_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11366 PyObject
*resultobj
= 0;
11367 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11370 PyObject
*swig_obj
[1] ;
11372 if (!args
) SWIG_fail
;
11373 swig_obj
[0] = args
;
11374 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_DISOWN
| 0 );
11375 if (!SWIG_IsOK(res1
)) {
11376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RegionIterator" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11378 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11383 wxPyEndAllowThreads(__tstate
);
11384 if (PyErr_Occurred()) SWIG_fail
;
11386 resultobj
= SWIG_Py_Void();
11393 SWIGINTERN PyObject
*_wrap_RegionIterator_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11394 PyObject
*resultobj
= 0;
11395 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11399 PyObject
*swig_obj
[1] ;
11401 if (!args
) SWIG_fail
;
11402 swig_obj
[0] = args
;
11403 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11404 if (!SWIG_IsOK(res1
)) {
11405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetX" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11407 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11410 result
= (int)(arg1
)->GetX();
11411 wxPyEndAllowThreads(__tstate
);
11412 if (PyErr_Occurred()) SWIG_fail
;
11414 resultobj
= SWIG_From_int(static_cast< int >(result
));
11421 SWIGINTERN PyObject
*_wrap_RegionIterator_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11422 PyObject
*resultobj
= 0;
11423 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11427 PyObject
*swig_obj
[1] ;
11429 if (!args
) SWIG_fail
;
11430 swig_obj
[0] = args
;
11431 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11432 if (!SWIG_IsOK(res1
)) {
11433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetY" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11435 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11438 result
= (int)(arg1
)->GetY();
11439 wxPyEndAllowThreads(__tstate
);
11440 if (PyErr_Occurred()) SWIG_fail
;
11442 resultobj
= SWIG_From_int(static_cast< int >(result
));
11449 SWIGINTERN PyObject
*_wrap_RegionIterator_GetW(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11450 PyObject
*resultobj
= 0;
11451 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11455 PyObject
*swig_obj
[1] ;
11457 if (!args
) SWIG_fail
;
11458 swig_obj
[0] = args
;
11459 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11460 if (!SWIG_IsOK(res1
)) {
11461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetW" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11463 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11466 result
= (int)(arg1
)->GetW();
11467 wxPyEndAllowThreads(__tstate
);
11468 if (PyErr_Occurred()) SWIG_fail
;
11470 resultobj
= SWIG_From_int(static_cast< int >(result
));
11477 SWIGINTERN PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11478 PyObject
*resultobj
= 0;
11479 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11483 PyObject
*swig_obj
[1] ;
11485 if (!args
) SWIG_fail
;
11486 swig_obj
[0] = args
;
11487 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11488 if (!SWIG_IsOK(res1
)) {
11489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetWidth" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11491 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11494 result
= (int)(arg1
)->GetWidth();
11495 wxPyEndAllowThreads(__tstate
);
11496 if (PyErr_Occurred()) SWIG_fail
;
11498 resultobj
= SWIG_From_int(static_cast< int >(result
));
11505 SWIGINTERN PyObject
*_wrap_RegionIterator_GetH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11506 PyObject
*resultobj
= 0;
11507 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11511 PyObject
*swig_obj
[1] ;
11513 if (!args
) SWIG_fail
;
11514 swig_obj
[0] = args
;
11515 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11516 if (!SWIG_IsOK(res1
)) {
11517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetH" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11519 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11522 result
= (int)(arg1
)->GetH();
11523 wxPyEndAllowThreads(__tstate
);
11524 if (PyErr_Occurred()) SWIG_fail
;
11526 resultobj
= SWIG_From_int(static_cast< int >(result
));
11533 SWIGINTERN PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11534 PyObject
*resultobj
= 0;
11535 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11539 PyObject
*swig_obj
[1] ;
11541 if (!args
) SWIG_fail
;
11542 swig_obj
[0] = args
;
11543 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11544 if (!SWIG_IsOK(res1
)) {
11545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetHeight" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11547 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11550 result
= (int)(arg1
)->GetHeight();
11551 wxPyEndAllowThreads(__tstate
);
11552 if (PyErr_Occurred()) SWIG_fail
;
11554 resultobj
= SWIG_From_int(static_cast< int >(result
));
11561 SWIGINTERN PyObject
*_wrap_RegionIterator_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11562 PyObject
*resultobj
= 0;
11563 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11567 PyObject
*swig_obj
[1] ;
11569 if (!args
) SWIG_fail
;
11570 swig_obj
[0] = args
;
11571 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11572 if (!SWIG_IsOK(res1
)) {
11573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetRect" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11575 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11578 result
= (arg1
)->GetRect();
11579 wxPyEndAllowThreads(__tstate
);
11580 if (PyErr_Occurred()) SWIG_fail
;
11582 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
11589 SWIGINTERN PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11590 PyObject
*resultobj
= 0;
11591 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11595 PyObject
*swig_obj
[1] ;
11597 if (!args
) SWIG_fail
;
11598 swig_obj
[0] = args
;
11599 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11600 if (!SWIG_IsOK(res1
)) {
11601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_HaveRects" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11603 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11606 result
= (bool)(arg1
)->HaveRects();
11607 wxPyEndAllowThreads(__tstate
);
11608 if (PyErr_Occurred()) SWIG_fail
;
11611 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11619 SWIGINTERN PyObject
*_wrap_RegionIterator_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11620 PyObject
*resultobj
= 0;
11621 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11624 PyObject
*swig_obj
[1] ;
11626 if (!args
) SWIG_fail
;
11627 swig_obj
[0] = args
;
11628 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11629 if (!SWIG_IsOK(res1
)) {
11630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Reset" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11632 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11636 wxPyEndAllowThreads(__tstate
);
11637 if (PyErr_Occurred()) SWIG_fail
;
11639 resultobj
= SWIG_Py_Void();
11646 SWIGINTERN PyObject
*_wrap_RegionIterator_Next(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11647 PyObject
*resultobj
= 0;
11648 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11651 PyObject
*swig_obj
[1] ;
11653 if (!args
) SWIG_fail
;
11654 swig_obj
[0] = args
;
11655 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11656 if (!SWIG_IsOK(res1
)) {
11657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Next" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11659 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11662 wxRegionIterator_Next(arg1
);
11663 wxPyEndAllowThreads(__tstate
);
11664 if (PyErr_Occurred()) SWIG_fail
;
11666 resultobj
= SWIG_Py_Void();
11673 SWIGINTERN PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11674 PyObject
*resultobj
= 0;
11675 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11679 PyObject
*swig_obj
[1] ;
11681 if (!args
) SWIG_fail
;
11682 swig_obj
[0] = args
;
11683 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11684 if (!SWIG_IsOK(res1
)) {
11685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator___nonzero__" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11687 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11690 result
= (bool)wxRegionIterator___nonzero__(arg1
);
11691 wxPyEndAllowThreads(__tstate
);
11692 if (PyErr_Occurred()) SWIG_fail
;
11695 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11703 SWIGINTERN PyObject
*RegionIterator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11705 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11706 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegionIterator
, SWIG_NewClientData(obj
));
11707 return SWIG_Py_Void();
11710 SWIGINTERN PyObject
*RegionIterator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11711 return SWIG_Python_InitShadowInstance(args
);
11714 SWIGINTERN PyObject
*_wrap_new_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11715 PyObject
*resultobj
= 0;
11716 wxNativeFontInfo
*result
= 0 ;
11718 if (!SWIG_Python_UnpackTuple(args
,"new_NativeFontInfo",0,0,0)) SWIG_fail
;
11720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11721 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
11722 wxPyEndAllowThreads(__tstate
);
11723 if (PyErr_Occurred()) SWIG_fail
;
11725 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_NEW
| 0 );
11732 SWIGINTERN PyObject
*_wrap_delete_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11733 PyObject
*resultobj
= 0;
11734 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11737 PyObject
*swig_obj
[1] ;
11739 if (!args
) SWIG_fail
;
11740 swig_obj
[0] = args
;
11741 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_DISOWN
| 0 );
11742 if (!SWIG_IsOK(res1
)) {
11743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeFontInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
11745 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11750 wxPyEndAllowThreads(__tstate
);
11751 if (PyErr_Occurred()) SWIG_fail
;
11753 resultobj
= SWIG_Py_Void();
11760 SWIGINTERN PyObject
*_wrap_NativeFontInfo_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11761 PyObject
*resultobj
= 0;
11762 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11765 PyObject
*swig_obj
[1] ;
11767 if (!args
) SWIG_fail
;
11768 swig_obj
[0] = args
;
11769 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11770 if (!SWIG_IsOK(res1
)) {
11771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_Init" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
11773 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11777 wxPyEndAllowThreads(__tstate
);
11778 if (PyErr_Occurred()) SWIG_fail
;
11780 resultobj
= SWIG_Py_Void();
11787 SWIGINTERN PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11788 PyObject
*resultobj
= 0;
11789 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11795 PyObject
* obj0
= 0 ;
11796 PyObject
* obj1
= 0 ;
11797 char * kwnames
[] = {
11798 (char *) "self",(char *) "font", NULL
11801 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11802 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11803 if (!SWIG_IsOK(res1
)) {
11804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
11806 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11807 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
11808 if (!SWIG_IsOK(res2
)) {
11809 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
11812 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
11814 arg2
= reinterpret_cast< wxFont
* >(argp2
);
11816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11817 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
11818 wxPyEndAllowThreads(__tstate
);
11819 if (PyErr_Occurred()) SWIG_fail
;
11821 resultobj
= SWIG_Py_Void();
11828 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11829 PyObject
*resultobj
= 0;
11830 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11834 PyObject
*swig_obj
[1] ;
11836 if (!args
) SWIG_fail
;
11837 swig_obj
[0] = args
;
11838 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11839 if (!SWIG_IsOK(res1
)) {
11840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
11842 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11845 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
11846 wxPyEndAllowThreads(__tstate
);
11847 if (PyErr_Occurred()) SWIG_fail
;
11849 resultobj
= SWIG_From_int(static_cast< int >(result
));
11856 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11857 PyObject
*resultobj
= 0;
11858 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11859 wxFontStyle result
;
11862 PyObject
*swig_obj
[1] ;
11864 if (!args
) SWIG_fail
;
11865 swig_obj
[0] = args
;
11866 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11867 if (!SWIG_IsOK(res1
)) {
11868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
11870 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11873 result
= (wxFontStyle
)((wxNativeFontInfo
const *)arg1
)->GetStyle();
11874 wxPyEndAllowThreads(__tstate
);
11875 if (PyErr_Occurred()) SWIG_fail
;
11877 resultobj
= SWIG_From_int(static_cast< int >(result
));
11884 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11885 PyObject
*resultobj
= 0;
11886 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11887 wxFontWeight result
;
11890 PyObject
*swig_obj
[1] ;
11892 if (!args
) SWIG_fail
;
11893 swig_obj
[0] = args
;
11894 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11895 if (!SWIG_IsOK(res1
)) {
11896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
11898 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11901 result
= (wxFontWeight
)((wxNativeFontInfo
const *)arg1
)->GetWeight();
11902 wxPyEndAllowThreads(__tstate
);
11903 if (PyErr_Occurred()) SWIG_fail
;
11905 resultobj
= SWIG_From_int(static_cast< int >(result
));
11912 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11913 PyObject
*resultobj
= 0;
11914 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11918 PyObject
*swig_obj
[1] ;
11920 if (!args
) SWIG_fail
;
11921 swig_obj
[0] = args
;
11922 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11923 if (!SWIG_IsOK(res1
)) {
11924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
11926 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11929 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
11930 wxPyEndAllowThreads(__tstate
);
11931 if (PyErr_Occurred()) SWIG_fail
;
11934 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11942 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11943 PyObject
*resultobj
= 0;
11944 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11948 PyObject
*swig_obj
[1] ;
11950 if (!args
) SWIG_fail
;
11951 swig_obj
[0] = args
;
11952 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11953 if (!SWIG_IsOK(res1
)) {
11954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
11956 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11959 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
11960 wxPyEndAllowThreads(__tstate
);
11961 if (PyErr_Occurred()) SWIG_fail
;
11965 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11967 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11976 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11977 PyObject
*resultobj
= 0;
11978 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11979 wxFontFamily result
;
11982 PyObject
*swig_obj
[1] ;
11984 if (!args
) SWIG_fail
;
11985 swig_obj
[0] = args
;
11986 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11987 if (!SWIG_IsOK(res1
)) {
11988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
11990 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11993 result
= (wxFontFamily
)((wxNativeFontInfo
const *)arg1
)->GetFamily();
11994 wxPyEndAllowThreads(__tstate
);
11995 if (PyErr_Occurred()) SWIG_fail
;
11997 resultobj
= SWIG_From_int(static_cast< int >(result
));
12004 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12005 PyObject
*resultobj
= 0;
12006 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12007 wxFontEncoding result
;
12010 PyObject
*swig_obj
[1] ;
12012 if (!args
) SWIG_fail
;
12013 swig_obj
[0] = args
;
12014 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12015 if (!SWIG_IsOK(res1
)) {
12016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12018 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12021 result
= (wxFontEncoding
)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
12022 wxPyEndAllowThreads(__tstate
);
12023 if (PyErr_Occurred()) SWIG_fail
;
12025 resultobj
= SWIG_From_int(static_cast< int >(result
));
12032 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12033 PyObject
*resultobj
= 0;
12034 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12040 PyObject
* obj0
= 0 ;
12041 PyObject
* obj1
= 0 ;
12042 char * kwnames
[] = {
12043 (char *) "self",(char *) "pointsize", NULL
12046 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12047 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12048 if (!SWIG_IsOK(res1
)) {
12049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12051 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12052 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12053 if (!SWIG_IsOK(ecode2
)) {
12054 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "2"" of type '" "int""'");
12056 arg2
= static_cast< int >(val2
);
12058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12059 (arg1
)->SetPointSize(arg2
);
12060 wxPyEndAllowThreads(__tstate
);
12061 if (PyErr_Occurred()) SWIG_fail
;
12063 resultobj
= SWIG_Py_Void();
12070 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12071 PyObject
*resultobj
= 0;
12072 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12078 PyObject
* obj0
= 0 ;
12079 PyObject
* obj1
= 0 ;
12080 char * kwnames
[] = {
12081 (char *) "self",(char *) "style", NULL
12084 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12085 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12086 if (!SWIG_IsOK(res1
)) {
12087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12089 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12090 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12091 if (!SWIG_IsOK(ecode2
)) {
12092 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "2"" of type '" "wxFontStyle""'");
12094 arg2
= static_cast< wxFontStyle
>(val2
);
12096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12097 (arg1
)->SetStyle(arg2
);
12098 wxPyEndAllowThreads(__tstate
);
12099 if (PyErr_Occurred()) SWIG_fail
;
12101 resultobj
= SWIG_Py_Void();
12108 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12109 PyObject
*resultobj
= 0;
12110 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12111 wxFontWeight arg2
;
12116 PyObject
* obj0
= 0 ;
12117 PyObject
* obj1
= 0 ;
12118 char * kwnames
[] = {
12119 (char *) "self",(char *) "weight", NULL
12122 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12123 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12124 if (!SWIG_IsOK(res1
)) {
12125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12127 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12128 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12129 if (!SWIG_IsOK(ecode2
)) {
12130 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "2"" of type '" "wxFontWeight""'");
12132 arg2
= static_cast< wxFontWeight
>(val2
);
12134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12135 (arg1
)->SetWeight(arg2
);
12136 wxPyEndAllowThreads(__tstate
);
12137 if (PyErr_Occurred()) SWIG_fail
;
12139 resultobj
= SWIG_Py_Void();
12146 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12147 PyObject
*resultobj
= 0;
12148 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12154 PyObject
* obj0
= 0 ;
12155 PyObject
* obj1
= 0 ;
12156 char * kwnames
[] = {
12157 (char *) "self",(char *) "underlined", NULL
12160 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12161 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12162 if (!SWIG_IsOK(res1
)) {
12163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12165 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12166 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12167 if (!SWIG_IsOK(ecode2
)) {
12168 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
12170 arg2
= static_cast< bool >(val2
);
12172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12173 (arg1
)->SetUnderlined(arg2
);
12174 wxPyEndAllowThreads(__tstate
);
12175 if (PyErr_Occurred()) SWIG_fail
;
12177 resultobj
= SWIG_Py_Void();
12184 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12185 PyObject
*resultobj
= 0;
12186 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12191 PyObject
* obj0
= 0 ;
12192 PyObject
* obj1
= 0 ;
12193 char * kwnames
[] = {
12194 (char *) "self",(char *) "facename", NULL
12197 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12198 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12199 if (!SWIG_IsOK(res1
)) {
12200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12202 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12204 wxString
* sptr
= wxString_in_helper(obj1
);
12205 if (sptr
== NULL
) SWIG_fail
;
12210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12211 result
= (bool)(arg1
)->SetFaceName(arg2
);
12212 wxPyEndAllowThreads(__tstate
);
12213 if (PyErr_Occurred()) SWIG_fail
;
12216 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12224 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12225 PyObject
*resultobj
= 0;
12226 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12227 wxFontFamily arg2
;
12232 PyObject
* obj0
= 0 ;
12233 PyObject
* obj1
= 0 ;
12234 char * kwnames
[] = {
12235 (char *) "self",(char *) "family", NULL
12238 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12239 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12240 if (!SWIG_IsOK(res1
)) {
12241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12243 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12244 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12245 if (!SWIG_IsOK(ecode2
)) {
12246 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "2"" of type '" "wxFontFamily""'");
12248 arg2
= static_cast< wxFontFamily
>(val2
);
12250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12251 (arg1
)->SetFamily(arg2
);
12252 wxPyEndAllowThreads(__tstate
);
12253 if (PyErr_Occurred()) SWIG_fail
;
12255 resultobj
= SWIG_Py_Void();
12262 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12263 PyObject
*resultobj
= 0;
12264 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12265 wxFontEncoding arg2
;
12270 PyObject
* obj0
= 0 ;
12271 PyObject
* obj1
= 0 ;
12272 char * kwnames
[] = {
12273 (char *) "self",(char *) "encoding", NULL
12276 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12277 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12278 if (!SWIG_IsOK(res1
)) {
12279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12281 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12282 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12283 if (!SWIG_IsOK(ecode2
)) {
12284 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
12286 arg2
= static_cast< wxFontEncoding
>(val2
);
12288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12289 (arg1
)->SetEncoding(arg2
);
12290 wxPyEndAllowThreads(__tstate
);
12291 if (PyErr_Occurred()) SWIG_fail
;
12293 resultobj
= SWIG_Py_Void();
12300 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12301 PyObject
*resultobj
= 0;
12302 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12303 wxString
*arg2
= 0 ;
12307 bool temp2
= false ;
12308 PyObject
* obj0
= 0 ;
12309 PyObject
* obj1
= 0 ;
12310 char * kwnames
[] = {
12311 (char *) "self",(char *) "s", NULL
12314 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12315 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12316 if (!SWIG_IsOK(res1
)) {
12317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12319 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12321 arg2
= wxString_in_helper(obj1
);
12322 if (arg2
== NULL
) SWIG_fail
;
12326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12327 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
12328 wxPyEndAllowThreads(__tstate
);
12329 if (PyErr_Occurred()) SWIG_fail
;
12332 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12348 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12349 PyObject
*resultobj
= 0;
12350 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12354 PyObject
*swig_obj
[1] ;
12356 if (!args
) SWIG_fail
;
12357 swig_obj
[0] = args
;
12358 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12359 if (!SWIG_IsOK(res1
)) {
12360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12362 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12365 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
12366 wxPyEndAllowThreads(__tstate
);
12367 if (PyErr_Occurred()) SWIG_fail
;
12371 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12373 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12382 SWIGINTERN PyObject
*_wrap_NativeFontInfo___str__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12383 PyObject
*resultobj
= 0;
12384 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12388 PyObject
*swig_obj
[1] ;
12390 if (!args
) SWIG_fail
;
12391 swig_obj
[0] = args
;
12392 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12393 if (!SWIG_IsOK(res1
)) {
12394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo___str__" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12396 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12399 result
= wxNativeFontInfo___str__(arg1
);
12400 wxPyEndAllowThreads(__tstate
);
12401 if (PyErr_Occurred()) SWIG_fail
;
12405 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12407 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12416 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12417 PyObject
*resultobj
= 0;
12418 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12419 wxString
*arg2
= 0 ;
12423 bool temp2
= false ;
12424 PyObject
* obj0
= 0 ;
12425 PyObject
* obj1
= 0 ;
12426 char * kwnames
[] = {
12427 (char *) "self",(char *) "s", NULL
12430 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12431 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12432 if (!SWIG_IsOK(res1
)) {
12433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12435 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12437 arg2
= wxString_in_helper(obj1
);
12438 if (arg2
== NULL
) SWIG_fail
;
12442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12443 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
12444 wxPyEndAllowThreads(__tstate
);
12445 if (PyErr_Occurred()) SWIG_fail
;
12448 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12464 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12465 PyObject
*resultobj
= 0;
12466 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12470 PyObject
*swig_obj
[1] ;
12472 if (!args
) SWIG_fail
;
12473 swig_obj
[0] = args
;
12474 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12475 if (!SWIG_IsOK(res1
)) {
12476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12478 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12481 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
12482 wxPyEndAllowThreads(__tstate
);
12483 if (PyErr_Occurred()) SWIG_fail
;
12487 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12489 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12498 SWIGINTERN PyObject
*NativeFontInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12500 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12501 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeFontInfo
, SWIG_NewClientData(obj
));
12502 return SWIG_Py_Void();
12505 SWIGINTERN PyObject
*NativeFontInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12506 return SWIG_Python_InitShadowInstance(args
);
12509 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12510 PyObject
*resultobj
= 0;
12511 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12512 wxString
*arg2
= (wxString
*) 0 ;
12515 bool temp2
= false ;
12516 PyObject
*swig_obj
[2] ;
12518 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_facename_set",2,2,swig_obj
)) SWIG_fail
;
12519 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12520 if (!SWIG_IsOK(res1
)) {
12521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12523 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12525 arg2
= wxString_in_helper(swig_obj
[1]);
12526 if (arg2
== NULL
) SWIG_fail
;
12529 if (arg1
) (arg1
)->facename
= *arg2
;
12531 resultobj
= SWIG_Py_Void();
12546 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12547 PyObject
*resultobj
= 0;
12548 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12549 wxString
*result
= 0 ;
12552 PyObject
*swig_obj
[1] ;
12554 if (!args
) SWIG_fail
;
12555 swig_obj
[0] = args
;
12556 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12557 if (!SWIG_IsOK(res1
)) {
12558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12560 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12561 result
= (wxString
*)& ((arg1
)->facename
);
12564 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12566 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12575 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12576 PyObject
*resultobj
= 0;
12577 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12578 wxFontEncoding arg2
;
12583 PyObject
*swig_obj
[2] ;
12585 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_encoding_set",2,2,swig_obj
)) SWIG_fail
;
12586 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12587 if (!SWIG_IsOK(res1
)) {
12588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12590 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12591 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
12592 if (!SWIG_IsOK(ecode2
)) {
12593 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "2"" of type '" "wxFontEncoding""'");
12595 arg2
= static_cast< wxFontEncoding
>(val2
);
12596 if (arg1
) (arg1
)->encoding
= arg2
;
12598 resultobj
= SWIG_Py_Void();
12605 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12606 PyObject
*resultobj
= 0;
12607 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12608 wxFontEncoding result
;
12611 PyObject
*swig_obj
[1] ;
12613 if (!args
) SWIG_fail
;
12614 swig_obj
[0] = args
;
12615 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12616 if (!SWIG_IsOK(res1
)) {
12617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12619 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12620 result
= (wxFontEncoding
) ((arg1
)->encoding
);
12621 resultobj
= SWIG_From_int(static_cast< int >(result
));
12628 SWIGINTERN PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12629 PyObject
*resultobj
= 0;
12630 wxNativeEncodingInfo
*result
= 0 ;
12632 if (!SWIG_Python_UnpackTuple(args
,"new_NativeEncodingInfo",0,0,0)) SWIG_fail
;
12634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12635 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
12636 wxPyEndAllowThreads(__tstate
);
12637 if (PyErr_Occurred()) SWIG_fail
;
12639 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_NEW
| 0 );
12646 SWIGINTERN PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12647 PyObject
*resultobj
= 0;
12648 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12651 PyObject
*swig_obj
[1] ;
12653 if (!args
) SWIG_fail
;
12654 swig_obj
[0] = args
;
12655 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_DISOWN
| 0 );
12656 if (!SWIG_IsOK(res1
)) {
12657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeEncodingInfo" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12659 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12664 wxPyEndAllowThreads(__tstate
);
12665 if (PyErr_Occurred()) SWIG_fail
;
12667 resultobj
= SWIG_Py_Void();
12674 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12675 PyObject
*resultobj
= 0;
12676 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12677 wxString
*arg2
= 0 ;
12681 bool temp2
= false ;
12682 PyObject
* obj0
= 0 ;
12683 PyObject
* obj1
= 0 ;
12684 char * kwnames
[] = {
12685 (char *) "self",(char *) "s", NULL
12688 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12689 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12690 if (!SWIG_IsOK(res1
)) {
12691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_FromString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12693 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12695 arg2
= wxString_in_helper(obj1
);
12696 if (arg2
== NULL
) SWIG_fail
;
12700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12701 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
12702 wxPyEndAllowThreads(__tstate
);
12703 if (PyErr_Occurred()) SWIG_fail
;
12706 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12722 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12723 PyObject
*resultobj
= 0;
12724 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12728 PyObject
*swig_obj
[1] ;
12730 if (!args
) SWIG_fail
;
12731 swig_obj
[0] = args
;
12732 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12733 if (!SWIG_IsOK(res1
)) {
12734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_ToString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const *""'");
12736 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12739 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
12740 wxPyEndAllowThreads(__tstate
);
12741 if (PyErr_Occurred()) SWIG_fail
;
12745 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12747 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12756 SWIGINTERN PyObject
*NativeEncodingInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12758 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12759 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_NewClientData(obj
));
12760 return SWIG_Py_Void();
12763 SWIGINTERN PyObject
*NativeEncodingInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12764 return SWIG_Python_InitShadowInstance(args
);
12767 SWIGINTERN PyObject
*_wrap_GetNativeFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12768 PyObject
*resultobj
= 0;
12769 wxFontEncoding arg1
;
12770 wxNativeEncodingInfo
*result
= 0 ;
12773 PyObject
* obj0
= 0 ;
12774 char * kwnames
[] = {
12775 (char *) "encoding", NULL
12778 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
12779 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
12780 if (!SWIG_IsOK(ecode1
)) {
12781 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetNativeFontEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
12783 arg1
= static_cast< wxFontEncoding
>(val1
);
12785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12786 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding(arg1
);
12787 wxPyEndAllowThreads(__tstate
);
12788 if (PyErr_Occurred()) SWIG_fail
;
12790 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12797 SWIGINTERN PyObject
*_wrap_TestFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12798 PyObject
*resultobj
= 0;
12799 wxNativeEncodingInfo
*arg1
= 0 ;
12803 PyObject
* obj0
= 0 ;
12804 char * kwnames
[] = {
12805 (char *) "info", NULL
12808 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
12809 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0);
12810 if (!SWIG_IsOK(res1
)) {
12811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
12814 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
12816 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12819 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
12820 wxPyEndAllowThreads(__tstate
);
12821 if (PyErr_Occurred()) SWIG_fail
;
12824 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12832 SWIGINTERN PyObject
*_wrap_new_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12833 PyObject
*resultobj
= 0;
12834 wxFontMapper
*result
= 0 ;
12836 if (!SWIG_Python_UnpackTuple(args
,"new_FontMapper",0,0,0)) SWIG_fail
;
12838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12839 result
= (wxFontMapper
*)new wxFontMapper();
12840 wxPyEndAllowThreads(__tstate
);
12841 if (PyErr_Occurred()) SWIG_fail
;
12843 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_NEW
| 0 );
12850 SWIGINTERN PyObject
*_wrap_delete_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12851 PyObject
*resultobj
= 0;
12852 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
12855 PyObject
*swig_obj
[1] ;
12857 if (!args
) SWIG_fail
;
12858 swig_obj
[0] = args
;
12859 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_DISOWN
| 0 );
12860 if (!SWIG_IsOK(res1
)) {
12861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontMapper" "', expected argument " "1"" of type '" "wxFontMapper *""'");
12863 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
12865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12868 wxPyEndAllowThreads(__tstate
);
12869 if (PyErr_Occurred()) SWIG_fail
;
12871 resultobj
= SWIG_Py_Void();
12878 SWIGINTERN PyObject
*_wrap_FontMapper_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12879 PyObject
*resultobj
= 0;
12880 wxFontMapper
*result
= 0 ;
12882 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_Get",0,0,0)) SWIG_fail
;
12884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12885 result
= (wxFontMapper
*)wxFontMapper::Get();
12886 wxPyEndAllowThreads(__tstate
);
12887 if (PyErr_Occurred()) SWIG_fail
;
12889 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
12896 SWIGINTERN PyObject
*_wrap_FontMapper_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12897 PyObject
*resultobj
= 0;
12898 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
12899 wxFontMapper
*result
= 0 ;
12902 PyObject
* obj0
= 0 ;
12903 char * kwnames
[] = {
12904 (char *) "mapper", NULL
12907 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) SWIG_fail
;
12908 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
12909 if (!SWIG_IsOK(res1
)) {
12910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_Set" "', expected argument " "1"" of type '" "wxFontMapper *""'");
12912 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
12914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12915 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
12916 wxPyEndAllowThreads(__tstate
);
12917 if (PyErr_Occurred()) SWIG_fail
;
12919 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
12926 SWIGINTERN PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12927 PyObject
*resultobj
= 0;
12928 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
12929 wxString
*arg2
= 0 ;
12930 bool arg3
= (bool) true ;
12931 wxFontEncoding result
;
12934 bool temp2
= false ;
12937 PyObject
* obj0
= 0 ;
12938 PyObject
* obj1
= 0 ;
12939 PyObject
* obj2
= 0 ;
12940 char * kwnames
[] = {
12941 (char *) "self",(char *) "charset",(char *) "interactive", NULL
12944 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12945 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
12946 if (!SWIG_IsOK(res1
)) {
12947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
12949 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
12951 arg2
= wxString_in_helper(obj1
);
12952 if (arg2
== NULL
) SWIG_fail
;
12956 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
12957 if (!SWIG_IsOK(ecode3
)) {
12958 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "3"" of type '" "bool""'");
12960 arg3
= static_cast< bool >(val3
);
12963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12964 result
= (wxFontEncoding
)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
12965 wxPyEndAllowThreads(__tstate
);
12966 if (PyErr_Occurred()) SWIG_fail
;
12968 resultobj
= SWIG_From_int(static_cast< int >(result
));
12983 SWIGINTERN PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12984 PyObject
*resultobj
= 0;
12987 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetSupportedEncodingsCount",0,0,0)) SWIG_fail
;
12989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12990 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
12991 wxPyEndAllowThreads(__tstate
);
12992 if (PyErr_Occurred()) SWIG_fail
;
12994 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
13001 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13002 PyObject
*resultobj
= 0;
13004 wxFontEncoding result
;
13007 PyObject
* obj0
= 0 ;
13008 char * kwnames
[] = {
13012 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) SWIG_fail
;
13013 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
13014 if (!SWIG_IsOK(ecode1
)) {
13015 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncoding" "', expected argument " "1"" of type '" "size_t""'");
13017 arg1
= static_cast< size_t >(val1
);
13019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13020 result
= (wxFontEncoding
)wxFontMapper::GetEncoding(arg1
);
13021 wxPyEndAllowThreads(__tstate
);
13022 if (PyErr_Occurred()) SWIG_fail
;
13024 resultobj
= SWIG_From_int(static_cast< int >(result
));
13031 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13032 PyObject
*resultobj
= 0;
13033 wxFontEncoding arg1
;
13037 PyObject
* obj0
= 0 ;
13038 char * kwnames
[] = {
13039 (char *) "encoding", NULL
13042 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) SWIG_fail
;
13043 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13044 if (!SWIG_IsOK(ecode1
)) {
13045 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingName" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13047 arg1
= static_cast< wxFontEncoding
>(val1
);
13049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13050 result
= wxFontMapper::GetEncodingName(arg1
);
13051 wxPyEndAllowThreads(__tstate
);
13052 if (PyErr_Occurred()) SWIG_fail
;
13056 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13058 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13067 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13068 PyObject
*resultobj
= 0;
13069 wxFontEncoding arg1
;
13073 PyObject
* obj0
= 0 ;
13074 char * kwnames
[] = {
13075 (char *) "encoding", NULL
13078 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) SWIG_fail
;
13079 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13080 if (!SWIG_IsOK(ecode1
)) {
13081 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingDescription" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13083 arg1
= static_cast< wxFontEncoding
>(val1
);
13085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13086 result
= wxFontMapper::GetEncodingDescription(arg1
);
13087 wxPyEndAllowThreads(__tstate
);
13088 if (PyErr_Occurred()) SWIG_fail
;
13092 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13094 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13103 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13104 PyObject
*resultobj
= 0;
13105 wxString
*arg1
= 0 ;
13106 wxFontEncoding result
;
13107 bool temp1
= false ;
13108 PyObject
* obj0
= 0 ;
13109 char * kwnames
[] = {
13110 (char *) "name", NULL
13113 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) SWIG_fail
;
13115 arg1
= wxString_in_helper(obj0
);
13116 if (arg1
== NULL
) SWIG_fail
;
13120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13121 result
= (wxFontEncoding
)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
13122 wxPyEndAllowThreads(__tstate
);
13123 if (PyErr_Occurred()) SWIG_fail
;
13125 resultobj
= SWIG_From_int(static_cast< int >(result
));
13140 SWIGINTERN PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13141 PyObject
*resultobj
= 0;
13142 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13143 wxString
*arg2
= 0 ;
13146 bool temp2
= false ;
13147 PyObject
* obj0
= 0 ;
13148 PyObject
* obj1
= 0 ;
13149 char * kwnames
[] = {
13150 (char *) "self",(char *) "prefix", NULL
13153 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13154 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13155 if (!SWIG_IsOK(res1
)) {
13156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetConfigPath" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13158 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13160 arg2
= wxString_in_helper(obj1
);
13161 if (arg2
== NULL
) SWIG_fail
;
13165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13166 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
13167 wxPyEndAllowThreads(__tstate
);
13168 if (PyErr_Occurred()) SWIG_fail
;
13170 resultobj
= SWIG_Py_Void();
13185 SWIGINTERN PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13186 PyObject
*resultobj
= 0;
13189 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetDefaultConfigPath",0,0,0)) SWIG_fail
;
13191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13192 result
= wxFontMapper::GetDefaultConfigPath();
13193 wxPyEndAllowThreads(__tstate
);
13194 if (PyErr_Occurred()) SWIG_fail
;
13198 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13200 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13209 SWIGINTERN PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13210 PyObject
*resultobj
= 0;
13211 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13212 wxFontEncoding arg2
;
13213 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13214 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13215 bool arg4
= (bool) true ;
13216 PyObject
*result
= 0 ;
13221 bool temp3
= false ;
13224 PyObject
* obj0
= 0 ;
13225 PyObject
* obj1
= 0 ;
13226 PyObject
* obj2
= 0 ;
13227 PyObject
* obj3
= 0 ;
13228 char * kwnames
[] = {
13229 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
13232 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13233 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13234 if (!SWIG_IsOK(res1
)) {
13235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13237 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13238 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13239 if (!SWIG_IsOK(ecode2
)) {
13240 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13242 arg2
= static_cast< wxFontEncoding
>(val2
);
13245 arg3
= wxString_in_helper(obj2
);
13246 if (arg3
== NULL
) SWIG_fail
;
13251 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
13252 if (!SWIG_IsOK(ecode4
)) {
13253 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "4"" of type '" "bool""'");
13255 arg4
= static_cast< bool >(val4
);
13258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13259 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
13260 wxPyEndAllowThreads(__tstate
);
13261 if (PyErr_Occurred()) SWIG_fail
;
13263 resultobj
= result
;
13278 SWIGINTERN PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13279 PyObject
*resultobj
= 0;
13280 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13281 wxFontEncoding arg2
;
13282 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13283 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13289 bool temp3
= false ;
13290 PyObject
* obj0
= 0 ;
13291 PyObject
* obj1
= 0 ;
13292 PyObject
* obj2
= 0 ;
13293 char * kwnames
[] = {
13294 (char *) "self",(char *) "encoding",(char *) "facename", NULL
13297 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13298 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13299 if (!SWIG_IsOK(res1
)) {
13300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13302 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13303 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13304 if (!SWIG_IsOK(ecode2
)) {
13305 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13307 arg2
= static_cast< wxFontEncoding
>(val2
);
13310 arg3
= wxString_in_helper(obj2
);
13311 if (arg3
== NULL
) SWIG_fail
;
13316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13317 result
= (bool)(arg1
)->IsEncodingAvailable(arg2
,(wxString
const &)*arg3
);
13318 wxPyEndAllowThreads(__tstate
);
13319 if (PyErr_Occurred()) SWIG_fail
;
13322 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13338 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13339 PyObject
*resultobj
= 0;
13340 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13341 wxWindow
*arg2
= (wxWindow
*) 0 ;
13346 PyObject
* obj0
= 0 ;
13347 PyObject
* obj1
= 0 ;
13348 char * kwnames
[] = {
13349 (char *) "self",(char *) "parent", NULL
13352 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13353 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13354 if (!SWIG_IsOK(res1
)) {
13355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13357 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13358 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13359 if (!SWIG_IsOK(res2
)) {
13360 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "2"" of type '" "wxWindow *""'");
13362 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13365 (arg1
)->SetDialogParent(arg2
);
13366 wxPyEndAllowThreads(__tstate
);
13367 if (PyErr_Occurred()) SWIG_fail
;
13369 resultobj
= SWIG_Py_Void();
13376 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13377 PyObject
*resultobj
= 0;
13378 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13379 wxString
*arg2
= 0 ;
13382 bool temp2
= false ;
13383 PyObject
* obj0
= 0 ;
13384 PyObject
* obj1
= 0 ;
13385 char * kwnames
[] = {
13386 (char *) "self",(char *) "title", NULL
13389 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13390 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13391 if (!SWIG_IsOK(res1
)) {
13392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogTitle" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13394 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13396 arg2
= wxString_in_helper(obj1
);
13397 if (arg2
== NULL
) SWIG_fail
;
13401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13402 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
13403 wxPyEndAllowThreads(__tstate
);
13404 if (PyErr_Occurred()) SWIG_fail
;
13406 resultobj
= SWIG_Py_Void();
13421 SWIGINTERN PyObject
*FontMapper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13423 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13424 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontMapper
, SWIG_NewClientData(obj
));
13425 return SWIG_Py_Void();
13428 SWIGINTERN PyObject
*FontMapper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13429 return SWIG_Python_InitShadowInstance(args
);
13432 SWIGINTERN PyObject
*_wrap_new_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13433 PyObject
*resultobj
= 0;
13438 bool arg5
= (bool) false ;
13439 wxString
const &arg6_defvalue
= wxPyEmptyString
;
13440 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13441 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13442 wxFont
*result
= 0 ;
13453 bool temp6
= false ;
13456 PyObject
* obj0
= 0 ;
13457 PyObject
* obj1
= 0 ;
13458 PyObject
* obj2
= 0 ;
13459 PyObject
* obj3
= 0 ;
13460 PyObject
* obj4
= 0 ;
13461 PyObject
* obj5
= 0 ;
13462 PyObject
* obj6
= 0 ;
13463 char * kwnames
[] = {
13464 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
13467 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
13468 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13469 if (!SWIG_IsOK(ecode1
)) {
13470 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Font" "', expected argument " "1"" of type '" "int""'");
13472 arg1
= static_cast< int >(val1
);
13473 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13474 if (!SWIG_IsOK(ecode2
)) {
13475 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Font" "', expected argument " "2"" of type '" "int""'");
13477 arg2
= static_cast< int >(val2
);
13478 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13479 if (!SWIG_IsOK(ecode3
)) {
13480 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Font" "', expected argument " "3"" of type '" "int""'");
13482 arg3
= static_cast< int >(val3
);
13483 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
13484 if (!SWIG_IsOK(ecode4
)) {
13485 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Font" "', expected argument " "4"" of type '" "int""'");
13487 arg4
= static_cast< int >(val4
);
13489 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
13490 if (!SWIG_IsOK(ecode5
)) {
13491 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Font" "', expected argument " "5"" of type '" "bool""'");
13493 arg5
= static_cast< bool >(val5
);
13497 arg6
= wxString_in_helper(obj5
);
13498 if (arg6
== NULL
) SWIG_fail
;
13503 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
13504 if (!SWIG_IsOK(ecode7
)) {
13505 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_Font" "', expected argument " "7"" of type '" "wxFontEncoding""'");
13507 arg7
= static_cast< wxFontEncoding
>(val7
);
13510 if (!wxPyCheckForApp()) SWIG_fail
;
13511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13512 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
13513 wxPyEndAllowThreads(__tstate
);
13514 if (PyErr_Occurred()) SWIG_fail
;
13516 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_NEW
| 0 );
13531 SWIGINTERN PyObject
*_wrap_delete_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13532 PyObject
*resultobj
= 0;
13533 wxFont
*arg1
= (wxFont
*) 0 ;
13536 PyObject
*swig_obj
[1] ;
13538 if (!args
) SWIG_fail
;
13539 swig_obj
[0] = args
;
13540 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, SWIG_POINTER_DISOWN
| 0 );
13541 if (!SWIG_IsOK(res1
)) {
13542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Font" "', expected argument " "1"" of type '" "wxFont *""'");
13544 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13549 wxPyEndAllowThreads(__tstate
);
13550 if (PyErr_Occurred()) SWIG_fail
;
13552 resultobj
= SWIG_Py_Void();
13559 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13560 PyObject
*resultobj
= 0;
13561 wxNativeFontInfo
*arg1
= 0 ;
13562 wxFont
*result
= 0 ;
13565 PyObject
* obj0
= 0 ;
13566 char * kwnames
[] = {
13567 (char *) "info", NULL
13570 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) SWIG_fail
;
13571 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
13572 if (!SWIG_IsOK(res1
)) {
13573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
13576 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
13578 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13580 if (!wxPyCheckForApp()) SWIG_fail
;
13581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13582 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
13583 wxPyEndAllowThreads(__tstate
);
13584 if (PyErr_Occurred()) SWIG_fail
;
13586 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13593 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13594 PyObject
*resultobj
= 0;
13595 wxString
*arg1
= 0 ;
13596 wxFont
*result
= 0 ;
13597 bool temp1
= false ;
13598 PyObject
* obj0
= 0 ;
13599 char * kwnames
[] = {
13600 (char *) "info", NULL
13603 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) SWIG_fail
;
13605 arg1
= wxString_in_helper(obj0
);
13606 if (arg1
== NULL
) SWIG_fail
;
13610 if (!wxPyCheckForApp()) SWIG_fail
;
13611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13612 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
13613 wxPyEndAllowThreads(__tstate
);
13614 if (PyErr_Occurred()) SWIG_fail
;
13616 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13631 SWIGINTERN PyObject
*_wrap_new_FFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13632 PyObject
*resultobj
= 0;
13634 wxFontFamily arg2
;
13635 int arg3
= (int) wxFONTFLAG_DEFAULT
;
13636 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13637 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13638 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13639 wxFont
*result
= 0 ;
13646 bool temp4
= false ;
13649 PyObject
* obj0
= 0 ;
13650 PyObject
* obj1
= 0 ;
13651 PyObject
* obj2
= 0 ;
13652 PyObject
* obj3
= 0 ;
13653 PyObject
* obj4
= 0 ;
13654 char * kwnames
[] = {
13655 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
13658 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
13659 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13660 if (!SWIG_IsOK(ecode1
)) {
13661 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FFont" "', expected argument " "1"" of type '" "int""'");
13663 arg1
= static_cast< int >(val1
);
13664 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13665 if (!SWIG_IsOK(ecode2
)) {
13666 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFont" "', expected argument " "2"" of type '" "wxFontFamily""'");
13668 arg2
= static_cast< wxFontFamily
>(val2
);
13670 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13671 if (!SWIG_IsOK(ecode3
)) {
13672 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFont" "', expected argument " "3"" of type '" "int""'");
13674 arg3
= static_cast< int >(val3
);
13678 arg4
= wxString_in_helper(obj3
);
13679 if (arg4
== NULL
) SWIG_fail
;
13684 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
13685 if (!SWIG_IsOK(ecode5
)) {
13686 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFont" "', expected argument " "5"" of type '" "wxFontEncoding""'");
13688 arg5
= static_cast< wxFontEncoding
>(val5
);
13691 if (!wxPyCheckForApp()) SWIG_fail
;
13692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13693 result
= (wxFont
*)new_wxFont(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
13694 wxPyEndAllowThreads(__tstate
);
13695 if (PyErr_Occurred()) SWIG_fail
;
13697 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13712 SWIGINTERN PyObject
*_wrap_new_FontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13713 PyObject
*resultobj
= 0;
13718 bool arg5
= (bool) false ;
13719 wxString
const &arg6_defvalue
= wxEmptyString
;
13720 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13721 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13722 wxFont
*result
= 0 ;
13732 bool temp6
= false ;
13735 PyObject
* obj0
= 0 ;
13736 PyObject
* obj1
= 0 ;
13737 PyObject
* obj2
= 0 ;
13738 PyObject
* obj3
= 0 ;
13739 PyObject
* obj4
= 0 ;
13740 PyObject
* obj5
= 0 ;
13741 PyObject
* obj6
= 0 ;
13742 char * kwnames
[] = {
13743 (char *) "pixelSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underlined",(char *) "face",(char *) "encoding", NULL
13746 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_FontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
13749 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
13751 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13752 if (!SWIG_IsOK(ecode2
)) {
13753 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontFromPixelSize" "', expected argument " "2"" of type '" "int""'");
13755 arg2
= static_cast< int >(val2
);
13756 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13757 if (!SWIG_IsOK(ecode3
)) {
13758 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
13760 arg3
= static_cast< int >(val3
);
13761 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
13762 if (!SWIG_IsOK(ecode4
)) {
13763 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FontFromPixelSize" "', expected argument " "4"" of type '" "int""'");
13765 arg4
= static_cast< int >(val4
);
13767 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
13768 if (!SWIG_IsOK(ecode5
)) {
13769 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FontFromPixelSize" "', expected argument " "5"" of type '" "bool""'");
13771 arg5
= static_cast< bool >(val5
);
13775 arg6
= wxString_in_helper(obj5
);
13776 if (arg6
== NULL
) SWIG_fail
;
13781 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
13782 if (!SWIG_IsOK(ecode7
)) {
13783 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_FontFromPixelSize" "', expected argument " "7"" of type '" "wxFontEncoding""'");
13785 arg7
= static_cast< wxFontEncoding
>(val7
);
13788 if (!wxPyCheckForApp()) SWIG_fail
;
13789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13790 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
13791 wxPyEndAllowThreads(__tstate
);
13792 if (PyErr_Occurred()) SWIG_fail
;
13794 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13809 SWIGINTERN PyObject
*_wrap_new_FFontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13810 PyObject
*resultobj
= 0;
13812 wxFontFamily arg2
;
13813 int arg3
= (int) wxFONTFLAG_DEFAULT
;
13814 wxString
const &arg4_defvalue
= wxEmptyString
;
13815 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13816 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13817 wxFont
*result
= 0 ;
13823 bool temp4
= false ;
13826 PyObject
* obj0
= 0 ;
13827 PyObject
* obj1
= 0 ;
13828 PyObject
* obj2
= 0 ;
13829 PyObject
* obj3
= 0 ;
13830 PyObject
* obj4
= 0 ;
13831 char * kwnames
[] = {
13832 (char *) "pixelSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
13835 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
13838 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
13840 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13841 if (!SWIG_IsOK(ecode2
)) {
13842 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFontFromPixelSize" "', expected argument " "2"" of type '" "wxFontFamily""'");
13844 arg2
= static_cast< wxFontFamily
>(val2
);
13846 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13847 if (!SWIG_IsOK(ecode3
)) {
13848 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
13850 arg3
= static_cast< int >(val3
);
13854 arg4
= wxString_in_helper(obj3
);
13855 if (arg4
== NULL
) SWIG_fail
;
13860 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
13861 if (!SWIG_IsOK(ecode5
)) {
13862 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFontFromPixelSize" "', expected argument " "5"" of type '" "wxFontEncoding""'");
13864 arg5
= static_cast< wxFontEncoding
>(val5
);
13867 if (!wxPyCheckForApp()) SWIG_fail
;
13868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13869 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
13870 wxPyEndAllowThreads(__tstate
);
13871 if (PyErr_Occurred()) SWIG_fail
;
13873 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13888 SWIGINTERN PyObject
*_wrap_Font_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13889 PyObject
*resultobj
= 0;
13890 wxFont
*arg1
= (wxFont
*) 0 ;
13894 PyObject
*swig_obj
[1] ;
13896 if (!args
) SWIG_fail
;
13897 swig_obj
[0] = args
;
13898 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13899 if (!SWIG_IsOK(res1
)) {
13900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsOk" "', expected argument " "1"" of type '" "wxFont const *""'");
13902 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13905 result
= (bool)((wxFont
const *)arg1
)->IsOk();
13906 wxPyEndAllowThreads(__tstate
);
13907 if (PyErr_Occurred()) SWIG_fail
;
13910 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13918 SWIGINTERN PyObject
*_wrap_Font___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13919 PyObject
*resultobj
= 0;
13920 wxFont
*arg1
= (wxFont
*) 0 ;
13921 wxFont
*arg2
= (wxFont
*) 0 ;
13927 PyObject
* obj0
= 0 ;
13928 PyObject
* obj1
= 0 ;
13929 char * kwnames
[] = {
13930 (char *) "self",(char *) "other", NULL
13933 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13934 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13935 if (!SWIG_IsOK(res1
)) {
13936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___eq__" "', expected argument " "1"" of type '" "wxFont *""'");
13938 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13939 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
13940 if (!SWIG_IsOK(res2
)) {
13941 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___eq__" "', expected argument " "2"" of type '" "wxFont const *""'");
13943 arg2
= reinterpret_cast< wxFont
* >(argp2
);
13945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13946 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
13947 wxPyEndAllowThreads(__tstate
);
13948 if (PyErr_Occurred()) SWIG_fail
;
13951 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13959 SWIGINTERN PyObject
*_wrap_Font___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13960 PyObject
*resultobj
= 0;
13961 wxFont
*arg1
= (wxFont
*) 0 ;
13962 wxFont
*arg2
= (wxFont
*) 0 ;
13968 PyObject
* obj0
= 0 ;
13969 PyObject
* obj1
= 0 ;
13970 char * kwnames
[] = {
13971 (char *) "self",(char *) "other", NULL
13974 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13975 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13976 if (!SWIG_IsOK(res1
)) {
13977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___ne__" "', expected argument " "1"" of type '" "wxFont *""'");
13979 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13980 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
13981 if (!SWIG_IsOK(res2
)) {
13982 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___ne__" "', expected argument " "2"" of type '" "wxFont const *""'");
13984 arg2
= reinterpret_cast< wxFont
* >(argp2
);
13986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13987 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
13988 wxPyEndAllowThreads(__tstate
);
13989 if (PyErr_Occurred()) SWIG_fail
;
13992 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14000 SWIGINTERN PyObject
*_wrap_Font_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14001 PyObject
*resultobj
= 0;
14002 wxFont
*arg1
= (wxFont
*) 0 ;
14006 PyObject
*swig_obj
[1] ;
14008 if (!args
) SWIG_fail
;
14009 swig_obj
[0] = args
;
14010 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14011 if (!SWIG_IsOK(res1
)) {
14012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPointSize" "', expected argument " "1"" of type '" "wxFont const *""'");
14014 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14017 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
14018 wxPyEndAllowThreads(__tstate
);
14019 if (PyErr_Occurred()) SWIG_fail
;
14021 resultobj
= SWIG_From_int(static_cast< int >(result
));
14028 SWIGINTERN PyObject
*_wrap_Font_GetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14029 PyObject
*resultobj
= 0;
14030 wxFont
*arg1
= (wxFont
*) 0 ;
14034 PyObject
*swig_obj
[1] ;
14036 if (!args
) SWIG_fail
;
14037 swig_obj
[0] = args
;
14038 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14039 if (!SWIG_IsOK(res1
)) {
14040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPixelSize" "', expected argument " "1"" of type '" "wxFont const *""'");
14042 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14045 result
= ((wxFont
const *)arg1
)->GetPixelSize();
14046 wxPyEndAllowThreads(__tstate
);
14047 if (PyErr_Occurred()) SWIG_fail
;
14049 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
14056 SWIGINTERN PyObject
*_wrap_Font_IsUsingSizeInPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14057 PyObject
*resultobj
= 0;
14058 wxFont
*arg1
= (wxFont
*) 0 ;
14062 PyObject
*swig_obj
[1] ;
14064 if (!args
) SWIG_fail
;
14065 swig_obj
[0] = args
;
14066 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14067 if (!SWIG_IsOK(res1
)) {
14068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsUsingSizeInPixels" "', expected argument " "1"" of type '" "wxFont const *""'");
14070 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14073 result
= (bool)((wxFont
const *)arg1
)->IsUsingSizeInPixels();
14074 wxPyEndAllowThreads(__tstate
);
14075 if (PyErr_Occurred()) SWIG_fail
;
14078 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14086 SWIGINTERN PyObject
*_wrap_Font_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14087 PyObject
*resultobj
= 0;
14088 wxFont
*arg1
= (wxFont
*) 0 ;
14092 PyObject
*swig_obj
[1] ;
14094 if (!args
) SWIG_fail
;
14095 swig_obj
[0] = args
;
14096 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14097 if (!SWIG_IsOK(res1
)) {
14098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamily" "', expected argument " "1"" of type '" "wxFont const *""'");
14100 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14103 result
= (int)((wxFont
const *)arg1
)->GetFamily();
14104 wxPyEndAllowThreads(__tstate
);
14105 if (PyErr_Occurred()) SWIG_fail
;
14107 resultobj
= SWIG_From_int(static_cast< int >(result
));
14114 SWIGINTERN PyObject
*_wrap_Font_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14115 PyObject
*resultobj
= 0;
14116 wxFont
*arg1
= (wxFont
*) 0 ;
14120 PyObject
*swig_obj
[1] ;
14122 if (!args
) SWIG_fail
;
14123 swig_obj
[0] = args
;
14124 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14125 if (!SWIG_IsOK(res1
)) {
14126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyle" "', expected argument " "1"" of type '" "wxFont const *""'");
14128 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14131 result
= (int)((wxFont
const *)arg1
)->GetStyle();
14132 wxPyEndAllowThreads(__tstate
);
14133 if (PyErr_Occurred()) SWIG_fail
;
14135 resultobj
= SWIG_From_int(static_cast< int >(result
));
14142 SWIGINTERN PyObject
*_wrap_Font_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14143 PyObject
*resultobj
= 0;
14144 wxFont
*arg1
= (wxFont
*) 0 ;
14148 PyObject
*swig_obj
[1] ;
14150 if (!args
) SWIG_fail
;
14151 swig_obj
[0] = args
;
14152 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14153 if (!SWIG_IsOK(res1
)) {
14154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeight" "', expected argument " "1"" of type '" "wxFont const *""'");
14156 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14159 result
= (int)((wxFont
const *)arg1
)->GetWeight();
14160 wxPyEndAllowThreads(__tstate
);
14161 if (PyErr_Occurred()) SWIG_fail
;
14163 resultobj
= SWIG_From_int(static_cast< int >(result
));
14170 SWIGINTERN PyObject
*_wrap_Font_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14171 PyObject
*resultobj
= 0;
14172 wxFont
*arg1
= (wxFont
*) 0 ;
14176 PyObject
*swig_obj
[1] ;
14178 if (!args
) SWIG_fail
;
14179 swig_obj
[0] = args
;
14180 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14181 if (!SWIG_IsOK(res1
)) {
14182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetUnderlined" "', expected argument " "1"" of type '" "wxFont const *""'");
14184 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14187 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
14188 wxPyEndAllowThreads(__tstate
);
14189 if (PyErr_Occurred()) SWIG_fail
;
14192 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14200 SWIGINTERN PyObject
*_wrap_Font_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14201 PyObject
*resultobj
= 0;
14202 wxFont
*arg1
= (wxFont
*) 0 ;
14206 PyObject
*swig_obj
[1] ;
14208 if (!args
) SWIG_fail
;
14209 swig_obj
[0] = args
;
14210 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14211 if (!SWIG_IsOK(res1
)) {
14212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFaceName" "', expected argument " "1"" of type '" "wxFont const *""'");
14214 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14217 result
= ((wxFont
const *)arg1
)->GetFaceName();
14218 wxPyEndAllowThreads(__tstate
);
14219 if (PyErr_Occurred()) SWIG_fail
;
14223 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14225 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14234 SWIGINTERN PyObject
*_wrap_Font_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14235 PyObject
*resultobj
= 0;
14236 wxFont
*arg1
= (wxFont
*) 0 ;
14237 wxFontEncoding result
;
14240 PyObject
*swig_obj
[1] ;
14242 if (!args
) SWIG_fail
;
14243 swig_obj
[0] = args
;
14244 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14245 if (!SWIG_IsOK(res1
)) {
14246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetEncoding" "', expected argument " "1"" of type '" "wxFont const *""'");
14248 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14251 result
= (wxFontEncoding
)((wxFont
const *)arg1
)->GetEncoding();
14252 wxPyEndAllowThreads(__tstate
);
14253 if (PyErr_Occurred()) SWIG_fail
;
14255 resultobj
= SWIG_From_int(static_cast< int >(result
));
14262 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14263 PyObject
*resultobj
= 0;
14264 wxFont
*arg1
= (wxFont
*) 0 ;
14265 wxNativeFontInfo
*result
= 0 ;
14268 PyObject
*swig_obj
[1] ;
14270 if (!args
) SWIG_fail
;
14271 swig_obj
[0] = args
;
14272 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14273 if (!SWIG_IsOK(res1
)) {
14274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont const *""'");
14276 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14279 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
14280 wxPyEndAllowThreads(__tstate
);
14281 if (PyErr_Occurred()) SWIG_fail
;
14283 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
14290 SWIGINTERN PyObject
*_wrap_Font_IsFixedWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14291 PyObject
*resultobj
= 0;
14292 wxFont
*arg1
= (wxFont
*) 0 ;
14296 PyObject
*swig_obj
[1] ;
14298 if (!args
) SWIG_fail
;
14299 swig_obj
[0] = args
;
14300 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14301 if (!SWIG_IsOK(res1
)) {
14302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsFixedWidth" "', expected argument " "1"" of type '" "wxFont const *""'");
14304 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14307 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
14308 wxPyEndAllowThreads(__tstate
);
14309 if (PyErr_Occurred()) SWIG_fail
;
14312 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14320 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14321 PyObject
*resultobj
= 0;
14322 wxFont
*arg1
= (wxFont
*) 0 ;
14326 PyObject
*swig_obj
[1] ;
14328 if (!args
) SWIG_fail
;
14329 swig_obj
[0] = args
;
14330 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14331 if (!SWIG_IsOK(res1
)) {
14332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
14334 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14337 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
14338 wxPyEndAllowThreads(__tstate
);
14339 if (PyErr_Occurred()) SWIG_fail
;
14343 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14345 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14354 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14355 PyObject
*resultobj
= 0;
14356 wxFont
*arg1
= (wxFont
*) 0 ;
14360 PyObject
*swig_obj
[1] ;
14362 if (!args
) SWIG_fail
;
14363 swig_obj
[0] = args
;
14364 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14365 if (!SWIG_IsOK(res1
)) {
14366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
14368 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14371 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
14372 wxPyEndAllowThreads(__tstate
);
14373 if (PyErr_Occurred()) SWIG_fail
;
14377 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14379 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14388 SWIGINTERN PyObject
*_wrap_Font_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14389 PyObject
*resultobj
= 0;
14390 wxFont
*arg1
= (wxFont
*) 0 ;
14396 PyObject
* obj0
= 0 ;
14397 PyObject
* obj1
= 0 ;
14398 char * kwnames
[] = {
14399 (char *) "self",(char *) "pointSize", NULL
14402 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14403 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14404 if (!SWIG_IsOK(res1
)) {
14405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPointSize" "', expected argument " "1"" of type '" "wxFont *""'");
14407 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14408 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14409 if (!SWIG_IsOK(ecode2
)) {
14410 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetPointSize" "', expected argument " "2"" of type '" "int""'");
14412 arg2
= static_cast< int >(val2
);
14414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14415 (arg1
)->SetPointSize(arg2
);
14416 wxPyEndAllowThreads(__tstate
);
14417 if (PyErr_Occurred()) SWIG_fail
;
14419 resultobj
= SWIG_Py_Void();
14426 SWIGINTERN PyObject
*_wrap_Font_SetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14427 PyObject
*resultobj
= 0;
14428 wxFont
*arg1
= (wxFont
*) 0 ;
14433 PyObject
* obj0
= 0 ;
14434 PyObject
* obj1
= 0 ;
14435 char * kwnames
[] = {
14436 (char *) "self",(char *) "pixelSize", NULL
14439 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPixelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14440 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14441 if (!SWIG_IsOK(res1
)) {
14442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPixelSize" "', expected argument " "1"" of type '" "wxFont *""'");
14444 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14447 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14451 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
14452 wxPyEndAllowThreads(__tstate
);
14453 if (PyErr_Occurred()) SWIG_fail
;
14455 resultobj
= SWIG_Py_Void();
14462 SWIGINTERN PyObject
*_wrap_Font_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14463 PyObject
*resultobj
= 0;
14464 wxFont
*arg1
= (wxFont
*) 0 ;
14470 PyObject
* obj0
= 0 ;
14471 PyObject
* obj1
= 0 ;
14472 char * kwnames
[] = {
14473 (char *) "self",(char *) "family", NULL
14476 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14477 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14478 if (!SWIG_IsOK(res1
)) {
14479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFamily" "', expected argument " "1"" of type '" "wxFont *""'");
14481 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14482 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14483 if (!SWIG_IsOK(ecode2
)) {
14484 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetFamily" "', expected argument " "2"" of type '" "int""'");
14486 arg2
= static_cast< int >(val2
);
14488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14489 (arg1
)->SetFamily(arg2
);
14490 wxPyEndAllowThreads(__tstate
);
14491 if (PyErr_Occurred()) SWIG_fail
;
14493 resultobj
= SWIG_Py_Void();
14500 SWIGINTERN PyObject
*_wrap_Font_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14501 PyObject
*resultobj
= 0;
14502 wxFont
*arg1
= (wxFont
*) 0 ;
14508 PyObject
* obj0
= 0 ;
14509 PyObject
* obj1
= 0 ;
14510 char * kwnames
[] = {
14511 (char *) "self",(char *) "style", NULL
14514 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14515 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14516 if (!SWIG_IsOK(res1
)) {
14517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetStyle" "', expected argument " "1"" of type '" "wxFont *""'");
14519 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14520 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14521 if (!SWIG_IsOK(ecode2
)) {
14522 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetStyle" "', expected argument " "2"" of type '" "int""'");
14524 arg2
= static_cast< int >(val2
);
14526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14527 (arg1
)->SetStyle(arg2
);
14528 wxPyEndAllowThreads(__tstate
);
14529 if (PyErr_Occurred()) SWIG_fail
;
14531 resultobj
= SWIG_Py_Void();
14538 SWIGINTERN PyObject
*_wrap_Font_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14539 PyObject
*resultobj
= 0;
14540 wxFont
*arg1
= (wxFont
*) 0 ;
14546 PyObject
* obj0
= 0 ;
14547 PyObject
* obj1
= 0 ;
14548 char * kwnames
[] = {
14549 (char *) "self",(char *) "weight", NULL
14552 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14553 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14554 if (!SWIG_IsOK(res1
)) {
14555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetWeight" "', expected argument " "1"" of type '" "wxFont *""'");
14557 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14558 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14559 if (!SWIG_IsOK(ecode2
)) {
14560 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetWeight" "', expected argument " "2"" of type '" "int""'");
14562 arg2
= static_cast< int >(val2
);
14564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14565 (arg1
)->SetWeight(arg2
);
14566 wxPyEndAllowThreads(__tstate
);
14567 if (PyErr_Occurred()) SWIG_fail
;
14569 resultobj
= SWIG_Py_Void();
14576 SWIGINTERN PyObject
*_wrap_Font_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14577 PyObject
*resultobj
= 0;
14578 wxFont
*arg1
= (wxFont
*) 0 ;
14579 wxString
*arg2
= 0 ;
14583 bool temp2
= false ;
14584 PyObject
* obj0
= 0 ;
14585 PyObject
* obj1
= 0 ;
14586 char * kwnames
[] = {
14587 (char *) "self",(char *) "faceName", NULL
14590 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14591 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14592 if (!SWIG_IsOK(res1
)) {
14593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFaceName" "', expected argument " "1"" of type '" "wxFont *""'");
14595 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14597 arg2
= wxString_in_helper(obj1
);
14598 if (arg2
== NULL
) SWIG_fail
;
14602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14603 result
= (bool)(arg1
)->SetFaceName((wxString
const &)*arg2
);
14604 wxPyEndAllowThreads(__tstate
);
14605 if (PyErr_Occurred()) SWIG_fail
;
14608 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14624 SWIGINTERN PyObject
*_wrap_Font_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14625 PyObject
*resultobj
= 0;
14626 wxFont
*arg1
= (wxFont
*) 0 ;
14632 PyObject
* obj0
= 0 ;
14633 PyObject
* obj1
= 0 ;
14634 char * kwnames
[] = {
14635 (char *) "self",(char *) "underlined", NULL
14638 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14639 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14640 if (!SWIG_IsOK(res1
)) {
14641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetUnderlined" "', expected argument " "1"" of type '" "wxFont *""'");
14643 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14644 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
14645 if (!SWIG_IsOK(ecode2
)) {
14646 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
14648 arg2
= static_cast< bool >(val2
);
14650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14651 (arg1
)->SetUnderlined(arg2
);
14652 wxPyEndAllowThreads(__tstate
);
14653 if (PyErr_Occurred()) SWIG_fail
;
14655 resultobj
= SWIG_Py_Void();
14662 SWIGINTERN PyObject
*_wrap_Font_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14663 PyObject
*resultobj
= 0;
14664 wxFont
*arg1
= (wxFont
*) 0 ;
14665 wxFontEncoding arg2
;
14670 PyObject
* obj0
= 0 ;
14671 PyObject
* obj1
= 0 ;
14672 char * kwnames
[] = {
14673 (char *) "self",(char *) "encoding", NULL
14676 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14677 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14678 if (!SWIG_IsOK(res1
)) {
14679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetEncoding" "', expected argument " "1"" of type '" "wxFont *""'");
14681 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14682 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14683 if (!SWIG_IsOK(ecode2
)) {
14684 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
14686 arg2
= static_cast< wxFontEncoding
>(val2
);
14688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14689 (arg1
)->SetEncoding(arg2
);
14690 wxPyEndAllowThreads(__tstate
);
14691 if (PyErr_Occurred()) SWIG_fail
;
14693 resultobj
= SWIG_Py_Void();
14700 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14701 PyObject
*resultobj
= 0;
14702 wxFont
*arg1
= (wxFont
*) 0 ;
14703 wxNativeFontInfo
*arg2
= 0 ;
14708 PyObject
* obj0
= 0 ;
14709 PyObject
* obj1
= 0 ;
14710 char * kwnames
[] = {
14711 (char *) "self",(char *) "info", NULL
14714 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14715 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14716 if (!SWIG_IsOK(res1
)) {
14717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont *""'");
14719 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14720 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
14721 if (!SWIG_IsOK(res2
)) {
14722 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
14725 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
14727 arg2
= reinterpret_cast< wxNativeFontInfo
* >(argp2
);
14729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14730 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
14731 wxPyEndAllowThreads(__tstate
);
14732 if (PyErr_Occurred()) SWIG_fail
;
14734 resultobj
= SWIG_Py_Void();
14741 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14742 PyObject
*resultobj
= 0;
14743 wxFont
*arg1
= (wxFont
*) 0 ;
14744 wxString
*arg2
= 0 ;
14748 bool temp2
= false ;
14749 PyObject
* obj0
= 0 ;
14750 PyObject
* obj1
= 0 ;
14751 char * kwnames
[] = {
14752 (char *) "self",(char *) "info", NULL
14755 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14756 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14757 if (!SWIG_IsOK(res1
)) {
14758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoFromString" "', expected argument " "1"" of type '" "wxFont *""'");
14760 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14762 arg2
= wxString_in_helper(obj1
);
14763 if (arg2
== NULL
) SWIG_fail
;
14767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14768 result
= (bool)(arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
14769 wxPyEndAllowThreads(__tstate
);
14770 if (PyErr_Occurred()) SWIG_fail
;
14773 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14789 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14790 PyObject
*resultobj
= 0;
14791 wxFont
*arg1
= (wxFont
*) 0 ;
14792 wxString
*arg2
= 0 ;
14796 bool temp2
= false ;
14797 PyObject
* obj0
= 0 ;
14798 PyObject
* obj1
= 0 ;
14799 char * kwnames
[] = {
14800 (char *) "self",(char *) "info", NULL
14803 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14804 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14805 if (!SWIG_IsOK(res1
)) {
14806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont *""'");
14808 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14810 arg2
= wxString_in_helper(obj1
);
14811 if (arg2
== NULL
) SWIG_fail
;
14815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14816 result
= (bool)(arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
14817 wxPyEndAllowThreads(__tstate
);
14818 if (PyErr_Occurred()) SWIG_fail
;
14821 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14837 SWIGINTERN PyObject
*_wrap_Font_GetFamilyString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14838 PyObject
*resultobj
= 0;
14839 wxFont
*arg1
= (wxFont
*) 0 ;
14843 PyObject
*swig_obj
[1] ;
14845 if (!args
) SWIG_fail
;
14846 swig_obj
[0] = args
;
14847 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14848 if (!SWIG_IsOK(res1
)) {
14849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamilyString" "', expected argument " "1"" of type '" "wxFont const *""'");
14851 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14854 result
= ((wxFont
const *)arg1
)->GetFamilyString();
14855 wxPyEndAllowThreads(__tstate
);
14856 if (PyErr_Occurred()) SWIG_fail
;
14860 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14862 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14871 SWIGINTERN PyObject
*_wrap_Font_GetStyleString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14872 PyObject
*resultobj
= 0;
14873 wxFont
*arg1
= (wxFont
*) 0 ;
14877 PyObject
*swig_obj
[1] ;
14879 if (!args
) SWIG_fail
;
14880 swig_obj
[0] = args
;
14881 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14882 if (!SWIG_IsOK(res1
)) {
14883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyleString" "', expected argument " "1"" of type '" "wxFont const *""'");
14885 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14888 result
= ((wxFont
const *)arg1
)->GetStyleString();
14889 wxPyEndAllowThreads(__tstate
);
14890 if (PyErr_Occurred()) SWIG_fail
;
14894 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14896 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14905 SWIGINTERN PyObject
*_wrap_Font_GetWeightString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14906 PyObject
*resultobj
= 0;
14907 wxFont
*arg1
= (wxFont
*) 0 ;
14911 PyObject
*swig_obj
[1] ;
14913 if (!args
) SWIG_fail
;
14914 swig_obj
[0] = args
;
14915 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14916 if (!SWIG_IsOK(res1
)) {
14917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeightString" "', expected argument " "1"" of type '" "wxFont const *""'");
14919 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14922 result
= ((wxFont
const *)arg1
)->GetWeightString();
14923 wxPyEndAllowThreads(__tstate
);
14924 if (PyErr_Occurred()) SWIG_fail
;
14928 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14930 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14939 SWIGINTERN PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14940 PyObject
*resultobj
= 0;
14941 wxFont
*arg1
= (wxFont
*) 0 ;
14942 bool arg2
= (bool) true ;
14947 PyObject
* obj0
= 0 ;
14948 PyObject
* obj1
= 0 ;
14949 char * kwnames
[] = {
14950 (char *) "self",(char *) "no", NULL
14953 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14954 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14955 if (!SWIG_IsOK(res1
)) {
14956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont *""'");
14958 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14960 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
14961 if (!SWIG_IsOK(ecode2
)) {
14962 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "2"" of type '" "bool""'");
14964 arg2
= static_cast< bool >(val2
);
14967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14968 (arg1
)->SetNoAntiAliasing(arg2
);
14969 wxPyEndAllowThreads(__tstate
);
14970 if (PyErr_Occurred()) SWIG_fail
;
14972 resultobj
= SWIG_Py_Void();
14979 SWIGINTERN PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14980 PyObject
*resultobj
= 0;
14981 wxFont
*arg1
= (wxFont
*) 0 ;
14985 PyObject
*swig_obj
[1] ;
14987 if (!args
) SWIG_fail
;
14988 swig_obj
[0] = args
;
14989 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14990 if (!SWIG_IsOK(res1
)) {
14991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont const *""'");
14993 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14996 result
= (bool)((wxFont
const *)arg1
)->GetNoAntiAliasing();
14997 wxPyEndAllowThreads(__tstate
);
14998 if (PyErr_Occurred()) SWIG_fail
;
15001 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15009 SWIGINTERN PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15010 PyObject
*resultobj
= 0;
15011 wxFontEncoding result
;
15013 if (!SWIG_Python_UnpackTuple(args
,"Font_GetDefaultEncoding",0,0,0)) SWIG_fail
;
15015 if (!wxPyCheckForApp()) SWIG_fail
;
15016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15017 result
= (wxFontEncoding
)wxFont::GetDefaultEncoding();
15018 wxPyEndAllowThreads(__tstate
);
15019 if (PyErr_Occurred()) SWIG_fail
;
15021 resultobj
= SWIG_From_int(static_cast< int >(result
));
15028 SWIGINTERN PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15029 PyObject
*resultobj
= 0;
15030 wxFontEncoding arg1
;
15033 PyObject
* obj0
= 0 ;
15034 char * kwnames
[] = {
15035 (char *) "encoding", NULL
15038 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) SWIG_fail
;
15039 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15040 if (!SWIG_IsOK(ecode1
)) {
15041 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Font_SetDefaultEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
15043 arg1
= static_cast< wxFontEncoding
>(val1
);
15045 if (!wxPyCheckForApp()) SWIG_fail
;
15046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15047 wxFont::SetDefaultEncoding(arg1
);
15048 wxPyEndAllowThreads(__tstate
);
15049 if (PyErr_Occurred()) SWIG_fail
;
15051 resultobj
= SWIG_Py_Void();
15058 SWIGINTERN PyObject
*Font_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15060 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15061 SWIG_TypeNewClientData(SWIGTYPE_p_wxFont
, SWIG_NewClientData(obj
));
15062 return SWIG_Py_Void();
15065 SWIGINTERN PyObject
*Font_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15066 return SWIG_Python_InitShadowInstance(args
);
15069 SWIGINTERN PyObject
*_wrap_new_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15070 PyObject
*resultobj
= 0;
15071 wxPyFontEnumerator
*result
= 0 ;
15073 if (!SWIG_Python_UnpackTuple(args
,"new_FontEnumerator",0,0,0)) SWIG_fail
;
15075 if (!wxPyCheckForApp()) SWIG_fail
;
15076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15077 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
15078 wxPyEndAllowThreads(__tstate
);
15079 if (PyErr_Occurred()) SWIG_fail
;
15081 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_NEW
| 0 );
15088 SWIGINTERN PyObject
*_wrap_delete_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15089 PyObject
*resultobj
= 0;
15090 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15093 PyObject
*swig_obj
[1] ;
15095 if (!args
) SWIG_fail
;
15096 swig_obj
[0] = args
;
15097 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_DISOWN
| 0 );
15098 if (!SWIG_IsOK(res1
)) {
15099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontEnumerator" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15101 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15106 wxPyEndAllowThreads(__tstate
);
15107 if (PyErr_Occurred()) SWIG_fail
;
15109 resultobj
= SWIG_Py_Void();
15116 SWIGINTERN PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15117 PyObject
*resultobj
= 0;
15118 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15119 PyObject
*arg2
= (PyObject
*) 0 ;
15120 PyObject
*arg3
= (PyObject
*) 0 ;
15126 PyObject
* obj0
= 0 ;
15127 PyObject
* obj1
= 0 ;
15128 PyObject
* obj2
= 0 ;
15129 PyObject
* obj3
= 0 ;
15130 char * kwnames
[] = {
15131 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
15134 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15135 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15136 if (!SWIG_IsOK(res1
)) {
15137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15139 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15142 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
15143 if (!SWIG_IsOK(ecode4
)) {
15144 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "4"" of type '" "bool""'");
15146 arg4
= static_cast< bool >(val4
);
15148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15149 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
15150 wxPyEndAllowThreads(__tstate
);
15151 if (PyErr_Occurred()) SWIG_fail
;
15153 resultobj
= SWIG_Py_Void();
15160 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15161 PyObject
*resultobj
= 0;
15162 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15163 wxFontEncoding arg2
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
15164 bool arg3
= (bool) false ;
15172 PyObject
* obj0
= 0 ;
15173 PyObject
* obj1
= 0 ;
15174 PyObject
* obj2
= 0 ;
15175 char * kwnames
[] = {
15176 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
15179 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15180 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15181 if (!SWIG_IsOK(res1
)) {
15182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15184 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15186 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15187 if (!SWIG_IsOK(ecode2
)) {
15188 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "2"" of type '" "wxFontEncoding""'");
15190 arg2
= static_cast< wxFontEncoding
>(val2
);
15193 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
15194 if (!SWIG_IsOK(ecode3
)) {
15195 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "3"" of type '" "bool""'");
15197 arg3
= static_cast< bool >(val3
);
15200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15201 result
= (bool)(arg1
)->EnumerateFacenames(arg2
,arg3
);
15202 wxPyEndAllowThreads(__tstate
);
15203 if (PyErr_Occurred()) SWIG_fail
;
15206 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15214 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15215 PyObject
*resultobj
= 0;
15216 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15217 wxString
const &arg2_defvalue
= wxPyEmptyString
;
15218 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
15222 bool temp2
= false ;
15223 PyObject
* obj0
= 0 ;
15224 PyObject
* obj1
= 0 ;
15225 char * kwnames
[] = {
15226 (char *) "self",(char *) "facename", NULL
15229 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15230 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15231 if (!SWIG_IsOK(res1
)) {
15232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateEncodings" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15234 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15237 arg2
= wxString_in_helper(obj1
);
15238 if (arg2
== NULL
) SWIG_fail
;
15243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15244 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
15245 wxPyEndAllowThreads(__tstate
);
15246 if (PyErr_Occurred()) SWIG_fail
;
15249 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15265 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15266 PyObject
*resultobj
= 0;
15267 PyObject
*result
= 0 ;
15269 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetEncodings",0,0,0)) SWIG_fail
;
15271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15272 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings();
15273 wxPyEndAllowThreads(__tstate
);
15274 if (PyErr_Occurred()) SWIG_fail
;
15276 resultobj
= result
;
15283 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15284 PyObject
*resultobj
= 0;
15285 PyObject
*result
= 0 ;
15287 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetFacenames",0,0,0)) SWIG_fail
;
15289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15290 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames();
15291 wxPyEndAllowThreads(__tstate
);
15292 if (PyErr_Occurred()) SWIG_fail
;
15294 resultobj
= result
;
15301 SWIGINTERN PyObject
*_wrap_FontEnumerator_IsValidFacename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15302 PyObject
*resultobj
= 0;
15303 wxString
*arg1
= 0 ;
15305 bool temp1
= false ;
15306 PyObject
* obj0
= 0 ;
15307 char * kwnames
[] = {
15308 (char *) "str", NULL
15311 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_IsValidFacename",kwnames
,&obj0
)) SWIG_fail
;
15313 arg1
= wxString_in_helper(obj0
);
15314 if (arg1
== NULL
) SWIG_fail
;
15318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15319 result
= (bool)wxPyFontEnumerator::IsValidFacename((wxString
const &)*arg1
);
15320 wxPyEndAllowThreads(__tstate
);
15321 if (PyErr_Occurred()) SWIG_fail
;
15324 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15340 SWIGINTERN PyObject
*FontEnumerator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15342 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15343 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyFontEnumerator
, SWIG_NewClientData(obj
));
15344 return SWIG_Py_Void();
15347 SWIGINTERN PyObject
*FontEnumerator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15348 return SWIG_Python_InitShadowInstance(args
);
15351 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15352 PyObject
*resultobj
= 0;
15353 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15359 PyObject
*swig_obj
[2] ;
15361 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Language_set",2,2,swig_obj
)) SWIG_fail
;
15362 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15363 if (!SWIG_IsOK(res1
)) {
15364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15366 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15367 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
15368 if (!SWIG_IsOK(ecode2
)) {
15369 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LanguageInfo_Language_set" "', expected argument " "2"" of type '" "int""'");
15371 arg2
= static_cast< int >(val2
);
15372 if (arg1
) (arg1
)->Language
= arg2
;
15374 resultobj
= SWIG_Py_Void();
15381 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15382 PyObject
*resultobj
= 0;
15383 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15387 PyObject
*swig_obj
[1] ;
15389 if (!args
) SWIG_fail
;
15390 swig_obj
[0] = args
;
15391 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15392 if (!SWIG_IsOK(res1
)) {
15393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15395 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15396 result
= (int) ((arg1
)->Language
);
15397 resultobj
= SWIG_From_int(static_cast< int >(result
));
15404 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15405 PyObject
*resultobj
= 0;
15406 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15407 wxString
*arg2
= (wxString
*) 0 ;
15410 bool temp2
= false ;
15411 PyObject
*swig_obj
[2] ;
15413 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_CanonicalName_set",2,2,swig_obj
)) SWIG_fail
;
15414 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15415 if (!SWIG_IsOK(res1
)) {
15416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15418 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15420 arg2
= wxString_in_helper(swig_obj
[1]);
15421 if (arg2
== NULL
) SWIG_fail
;
15424 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
15426 resultobj
= SWIG_Py_Void();
15441 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15442 PyObject
*resultobj
= 0;
15443 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15444 wxString
*result
= 0 ;
15447 PyObject
*swig_obj
[1] ;
15449 if (!args
) SWIG_fail
;
15450 swig_obj
[0] = args
;
15451 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15452 if (!SWIG_IsOK(res1
)) {
15453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15455 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15456 result
= (wxString
*)& ((arg1
)->CanonicalName
);
15459 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15461 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15470 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15471 PyObject
*resultobj
= 0;
15472 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15473 wxString
*arg2
= (wxString
*) 0 ;
15476 bool temp2
= false ;
15477 PyObject
*swig_obj
[2] ;
15479 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Description_set",2,2,swig_obj
)) SWIG_fail
;
15480 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15481 if (!SWIG_IsOK(res1
)) {
15482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15484 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15486 arg2
= wxString_in_helper(swig_obj
[1]);
15487 if (arg2
== NULL
) SWIG_fail
;
15490 if (arg1
) (arg1
)->Description
= *arg2
;
15492 resultobj
= SWIG_Py_Void();
15507 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15508 PyObject
*resultobj
= 0;
15509 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15510 wxString
*result
= 0 ;
15513 PyObject
*swig_obj
[1] ;
15515 if (!args
) SWIG_fail
;
15516 swig_obj
[0] = args
;
15517 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15518 if (!SWIG_IsOK(res1
)) {
15519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15521 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15522 result
= (wxString
*)& ((arg1
)->Description
);
15525 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15527 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15536 SWIGINTERN PyObject
*LanguageInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15538 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15539 SWIG_TypeNewClientData(SWIGTYPE_p_wxLanguageInfo
, SWIG_NewClientData(obj
));
15540 return SWIG_Py_Void();
15543 SWIGINTERN PyObject
*_wrap_new_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15544 PyObject
*resultobj
= 0;
15545 int arg1
= (int) -1 ;
15546 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
15547 wxLocale
*result
= 0 ;
15552 PyObject
* obj0
= 0 ;
15553 PyObject
* obj1
= 0 ;
15554 char * kwnames
[] = {
15555 (char *) "language",(char *) "flags", NULL
15558 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15560 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15561 if (!SWIG_IsOK(ecode1
)) {
15562 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Locale" "', expected argument " "1"" of type '" "int""'");
15564 arg1
= static_cast< int >(val1
);
15567 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15568 if (!SWIG_IsOK(ecode2
)) {
15569 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Locale" "', expected argument " "2"" of type '" "int""'");
15571 arg2
= static_cast< int >(val2
);
15574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15575 result
= (wxLocale
*)new_wxLocale(arg1
,arg2
);
15576 wxPyEndAllowThreads(__tstate
);
15577 if (PyErr_Occurred()) SWIG_fail
;
15579 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, SWIG_POINTER_NEW
| 0 );
15586 SWIGINTERN PyObject
*_wrap_delete_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15587 PyObject
*resultobj
= 0;
15588 wxLocale
*arg1
= (wxLocale
*) 0 ;
15591 PyObject
*swig_obj
[1] ;
15593 if (!args
) SWIG_fail
;
15594 swig_obj
[0] = args
;
15595 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, SWIG_POINTER_DISOWN
| 0 );
15596 if (!SWIG_IsOK(res1
)) {
15597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Locale" "', expected argument " "1"" of type '" "wxLocale *""'");
15599 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15604 wxPyEndAllowThreads(__tstate
);
15605 if (PyErr_Occurred()) SWIG_fail
;
15607 resultobj
= SWIG_Py_Void();
15614 SWIGINTERN PyObject
*_wrap_Locale_Init1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15615 PyObject
*resultobj
= 0;
15616 wxLocale
*arg1
= (wxLocale
*) 0 ;
15617 wxString
*arg2
= 0 ;
15618 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15619 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15620 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15621 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15622 bool arg5
= (bool) true ;
15623 bool arg6
= (bool) false ;
15627 bool temp2
= false ;
15628 bool temp3
= false ;
15629 bool temp4
= false ;
15634 PyObject
* obj0
= 0 ;
15635 PyObject
* obj1
= 0 ;
15636 PyObject
* obj2
= 0 ;
15637 PyObject
* obj3
= 0 ;
15638 PyObject
* obj4
= 0 ;
15639 PyObject
* obj5
= 0 ;
15640 char * kwnames
[] = {
15641 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
15644 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
15645 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15646 if (!SWIG_IsOK(res1
)) {
15647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init1" "', expected argument " "1"" of type '" "wxLocale *""'");
15649 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15651 arg2
= wxString_in_helper(obj1
);
15652 if (arg2
== NULL
) SWIG_fail
;
15657 arg3
= wxString_in_helper(obj2
);
15658 if (arg3
== NULL
) SWIG_fail
;
15664 arg4
= wxString_in_helper(obj3
);
15665 if (arg4
== NULL
) SWIG_fail
;
15670 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
15671 if (!SWIG_IsOK(ecode5
)) {
15672 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Locale_Init1" "', expected argument " "5"" of type '" "bool""'");
15674 arg5
= static_cast< bool >(val5
);
15677 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
15678 if (!SWIG_IsOK(ecode6
)) {
15679 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Locale_Init1" "', expected argument " "6"" of type '" "bool""'");
15681 arg6
= static_cast< bool >(val6
);
15684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15685 result
= (bool)wxLocale_Init1(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
15686 wxPyEndAllowThreads(__tstate
);
15687 if (PyErr_Occurred()) SWIG_fail
;
15690 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15722 SWIGINTERN PyObject
*_wrap_Locale_Init2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15723 PyObject
*resultobj
= 0;
15724 wxLocale
*arg1
= (wxLocale
*) 0 ;
15725 int arg2
= (int) wxLANGUAGE_DEFAULT
;
15726 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
15734 PyObject
* obj0
= 0 ;
15735 PyObject
* obj1
= 0 ;
15736 PyObject
* obj2
= 0 ;
15737 char * kwnames
[] = {
15738 (char *) "self",(char *) "language",(char *) "flags", NULL
15741 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15742 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15743 if (!SWIG_IsOK(res1
)) {
15744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init2" "', expected argument " "1"" of type '" "wxLocale *""'");
15746 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15748 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15749 if (!SWIG_IsOK(ecode2
)) {
15750 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Locale_Init2" "', expected argument " "2"" of type '" "int""'");
15752 arg2
= static_cast< int >(val2
);
15755 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15756 if (!SWIG_IsOK(ecode3
)) {
15757 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Locale_Init2" "', expected argument " "3"" of type '" "int""'");
15759 arg3
= static_cast< int >(val3
);
15762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15763 result
= (bool)wxLocale_Init2(arg1
,arg2
,arg3
);
15764 wxPyEndAllowThreads(__tstate
);
15765 if (PyErr_Occurred()) SWIG_fail
;
15768 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15776 SWIGINTERN PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15777 PyObject
*resultobj
= 0;
15780 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemLanguage",0,0,0)) SWIG_fail
;
15782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15783 result
= (int)wxLocale::GetSystemLanguage();
15784 wxPyEndAllowThreads(__tstate
);
15785 if (PyErr_Occurred()) SWIG_fail
;
15787 resultobj
= SWIG_From_int(static_cast< int >(result
));
15794 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15795 PyObject
*resultobj
= 0;
15796 wxFontEncoding result
;
15798 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncoding",0,0,0)) SWIG_fail
;
15800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15801 result
= (wxFontEncoding
)wxLocale::GetSystemEncoding();
15802 wxPyEndAllowThreads(__tstate
);
15803 if (PyErr_Occurred()) SWIG_fail
;
15805 resultobj
= SWIG_From_int(static_cast< int >(result
));
15812 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15813 PyObject
*resultobj
= 0;
15816 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncodingName",0,0,0)) SWIG_fail
;
15818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15819 result
= wxLocale::GetSystemEncodingName();
15820 wxPyEndAllowThreads(__tstate
);
15821 if (PyErr_Occurred()) SWIG_fail
;
15825 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15827 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15836 SWIGINTERN PyObject
*_wrap_Locale_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15837 PyObject
*resultobj
= 0;
15838 wxLocale
*arg1
= (wxLocale
*) 0 ;
15842 PyObject
*swig_obj
[1] ;
15844 if (!args
) SWIG_fail
;
15845 swig_obj
[0] = args
;
15846 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15847 if (!SWIG_IsOK(res1
)) {
15848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsOk" "', expected argument " "1"" of type '" "wxLocale const *""'");
15850 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15853 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
15854 wxPyEndAllowThreads(__tstate
);
15855 if (PyErr_Occurred()) SWIG_fail
;
15858 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15866 SWIGINTERN PyObject
*_wrap_Locale_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15867 PyObject
*resultobj
= 0;
15868 wxLocale
*arg1
= (wxLocale
*) 0 ;
15872 PyObject
*swig_obj
[1] ;
15874 if (!args
) SWIG_fail
;
15875 swig_obj
[0] = args
;
15876 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15877 if (!SWIG_IsOK(res1
)) {
15878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLocale" "', expected argument " "1"" of type '" "wxLocale const *""'");
15880 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15883 result
= ((wxLocale
const *)arg1
)->GetLocale();
15884 wxPyEndAllowThreads(__tstate
);
15885 if (PyErr_Occurred()) SWIG_fail
;
15889 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15891 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15900 SWIGINTERN PyObject
*_wrap_Locale_GetLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15901 PyObject
*resultobj
= 0;
15902 wxLocale
*arg1
= (wxLocale
*) 0 ;
15906 PyObject
*swig_obj
[1] ;
15908 if (!args
) SWIG_fail
;
15909 swig_obj
[0] = args
;
15910 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15911 if (!SWIG_IsOK(res1
)) {
15912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLanguage" "', expected argument " "1"" of type '" "wxLocale const *""'");
15914 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15917 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
15918 wxPyEndAllowThreads(__tstate
);
15919 if (PyErr_Occurred()) SWIG_fail
;
15921 resultobj
= SWIG_From_int(static_cast< int >(result
));
15928 SWIGINTERN PyObject
*_wrap_Locale_GetSysName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15929 PyObject
*resultobj
= 0;
15930 wxLocale
*arg1
= (wxLocale
*) 0 ;
15934 PyObject
*swig_obj
[1] ;
15936 if (!args
) SWIG_fail
;
15937 swig_obj
[0] = args
;
15938 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15939 if (!SWIG_IsOK(res1
)) {
15940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetSysName" "', expected argument " "1"" of type '" "wxLocale const *""'");
15942 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15945 result
= ((wxLocale
const *)arg1
)->GetSysName();
15946 wxPyEndAllowThreads(__tstate
);
15947 if (PyErr_Occurred()) SWIG_fail
;
15951 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15953 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15962 SWIGINTERN PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15963 PyObject
*resultobj
= 0;
15964 wxLocale
*arg1
= (wxLocale
*) 0 ;
15968 PyObject
*swig_obj
[1] ;
15970 if (!args
) SWIG_fail
;
15971 swig_obj
[0] = args
;
15972 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15973 if (!SWIG_IsOK(res1
)) {
15974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetCanonicalName" "', expected argument " "1"" of type '" "wxLocale const *""'");
15976 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15979 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
15980 wxPyEndAllowThreads(__tstate
);
15981 if (PyErr_Occurred()) SWIG_fail
;
15985 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15987 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15996 SWIGINTERN PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15997 PyObject
*resultobj
= 0;
15998 wxString
*arg1
= 0 ;
15999 bool temp1
= false ;
16000 PyObject
* obj0
= 0 ;
16001 char * kwnames
[] = {
16002 (char *) "prefix", NULL
16005 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) SWIG_fail
;
16007 arg1
= wxString_in_helper(obj0
);
16008 if (arg1
== NULL
) SWIG_fail
;
16012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16013 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
16014 wxPyEndAllowThreads(__tstate
);
16015 if (PyErr_Occurred()) SWIG_fail
;
16017 resultobj
= SWIG_Py_Void();
16032 SWIGINTERN PyObject
*_wrap_Locale_AddCatalog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16033 PyObject
*resultobj
= 0;
16034 wxLocale
*arg1
= (wxLocale
*) 0 ;
16035 wxString
*arg2
= 0 ;
16039 bool temp2
= false ;
16040 PyObject
* obj0
= 0 ;
16041 PyObject
* obj1
= 0 ;
16042 char * kwnames
[] = {
16043 (char *) "self",(char *) "szDomain", NULL
16046 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16047 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16048 if (!SWIG_IsOK(res1
)) {
16049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddCatalog" "', expected argument " "1"" of type '" "wxLocale *""'");
16051 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16053 arg2
= wxString_in_helper(obj1
);
16054 if (arg2
== NULL
) SWIG_fail
;
16058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16059 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
16060 wxPyEndAllowThreads(__tstate
);
16061 if (PyErr_Occurred()) SWIG_fail
;
16064 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16080 SWIGINTERN PyObject
*_wrap_Locale_IsAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16081 PyObject
*resultobj
= 0;
16086 PyObject
* obj0
= 0 ;
16087 char * kwnames
[] = {
16088 (char *) "lang", NULL
16091 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsAvailable",kwnames
,&obj0
)) SWIG_fail
;
16092 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16093 if (!SWIG_IsOK(ecode1
)) {
16094 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_IsAvailable" "', expected argument " "1"" of type '" "int""'");
16096 arg1
= static_cast< int >(val1
);
16098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16099 result
= (bool)wxLocale::IsAvailable(arg1
);
16100 wxPyEndAllowThreads(__tstate
);
16101 if (PyErr_Occurred()) SWIG_fail
;
16104 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16112 SWIGINTERN PyObject
*_wrap_Locale_IsLoaded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16113 PyObject
*resultobj
= 0;
16114 wxLocale
*arg1
= (wxLocale
*) 0 ;
16115 wxString
*arg2
= 0 ;
16119 bool temp2
= false ;
16120 PyObject
* obj0
= 0 ;
16121 PyObject
* obj1
= 0 ;
16122 char * kwnames
[] = {
16123 (char *) "self",(char *) "szDomain", NULL
16126 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16127 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16128 if (!SWIG_IsOK(res1
)) {
16129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsLoaded" "', expected argument " "1"" of type '" "wxLocale const *""'");
16131 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16133 arg2
= wxString_in_helper(obj1
);
16134 if (arg2
== NULL
) SWIG_fail
;
16138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16139 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
16140 wxPyEndAllowThreads(__tstate
);
16141 if (PyErr_Occurred()) SWIG_fail
;
16144 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16160 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16161 PyObject
*resultobj
= 0;
16163 wxLanguageInfo
*result
= 0 ;
16166 PyObject
* obj0
= 0 ;
16167 char * kwnames
[] = {
16168 (char *) "lang", NULL
16171 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
16172 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16173 if (!SWIG_IsOK(ecode1
)) {
16174 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageInfo" "', expected argument " "1"" of type '" "int""'");
16176 arg1
= static_cast< int >(val1
);
16178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16179 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
16180 wxPyEndAllowThreads(__tstate
);
16181 if (PyErr_Occurred()) SWIG_fail
;
16183 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16190 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16191 PyObject
*resultobj
= 0;
16196 PyObject
* obj0
= 0 ;
16197 char * kwnames
[] = {
16198 (char *) "lang", NULL
16201 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) SWIG_fail
;
16202 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16203 if (!SWIG_IsOK(ecode1
)) {
16204 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageName" "', expected argument " "1"" of type '" "int""'");
16206 arg1
= static_cast< int >(val1
);
16208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16209 result
= wxLocale::GetLanguageName(arg1
);
16210 wxPyEndAllowThreads(__tstate
);
16211 if (PyErr_Occurred()) SWIG_fail
;
16215 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16217 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16226 SWIGINTERN PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16227 PyObject
*resultobj
= 0;
16228 wxString
*arg1
= 0 ;
16229 wxLanguageInfo
*result
= 0 ;
16230 bool temp1
= false ;
16231 PyObject
* obj0
= 0 ;
16232 char * kwnames
[] = {
16233 (char *) "locale", NULL
16236 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
16238 arg1
= wxString_in_helper(obj0
);
16239 if (arg1
== NULL
) SWIG_fail
;
16243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16244 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
16245 wxPyEndAllowThreads(__tstate
);
16246 if (PyErr_Occurred()) SWIG_fail
;
16248 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16263 SWIGINTERN PyObject
*_wrap_Locale_AddLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16264 PyObject
*resultobj
= 0;
16265 wxLanguageInfo
*arg1
= 0 ;
16268 PyObject
* obj0
= 0 ;
16269 char * kwnames
[] = {
16270 (char *) "info", NULL
16273 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) SWIG_fail
;
16274 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxLanguageInfo
, 0 | 0);
16275 if (!SWIG_IsOK(res1
)) {
16276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
16279 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
16281 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16284 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
16285 wxPyEndAllowThreads(__tstate
);
16286 if (PyErr_Occurred()) SWIG_fail
;
16288 resultobj
= SWIG_Py_Void();
16295 SWIGINTERN PyObject
*_wrap_Locale_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16296 PyObject
*resultobj
= 0;
16297 wxLocale
*arg1
= (wxLocale
*) 0 ;
16298 wxString
*arg2
= 0 ;
16299 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16300 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16304 bool temp2
= false ;
16305 bool temp3
= false ;
16306 PyObject
* obj0
= 0 ;
16307 PyObject
* obj1
= 0 ;
16308 PyObject
* obj2
= 0 ;
16309 char * kwnames
[] = {
16310 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
16313 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16314 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16315 if (!SWIG_IsOK(res1
)) {
16316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetString" "', expected argument " "1"" of type '" "wxLocale const *""'");
16318 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16320 arg2
= wxString_in_helper(obj1
);
16321 if (arg2
== NULL
) SWIG_fail
;
16326 arg3
= wxString_in_helper(obj2
);
16327 if (arg3
== NULL
) SWIG_fail
;
16332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16333 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
16334 wxPyEndAllowThreads(__tstate
);
16335 if (PyErr_Occurred()) SWIG_fail
;
16339 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16341 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16366 SWIGINTERN PyObject
*_wrap_Locale_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16367 PyObject
*resultobj
= 0;
16368 wxLocale
*arg1
= (wxLocale
*) 0 ;
16369 wxString
*result
= 0 ;
16372 PyObject
*swig_obj
[1] ;
16374 if (!args
) SWIG_fail
;
16375 swig_obj
[0] = args
;
16376 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16377 if (!SWIG_IsOK(res1
)) {
16378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16380 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16384 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
16385 result
= (wxString
*) &_result_ref
;
16387 wxPyEndAllowThreads(__tstate
);
16388 if (PyErr_Occurred()) SWIG_fail
;
16392 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16394 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16403 SWIGINTERN PyObject
*Locale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16405 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16406 SWIG_TypeNewClientData(SWIGTYPE_p_wxLocale
, SWIG_NewClientData(obj
));
16407 return SWIG_Py_Void();
16410 SWIGINTERN PyObject
*Locale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16411 return SWIG_Python_InitShadowInstance(args
);
16414 SWIGINTERN PyObject
*_wrap_new_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16415 PyObject
*resultobj
= 0;
16416 int arg1
= (int) -1 ;
16417 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16418 wxPyLocale
*result
= 0 ;
16423 PyObject
* obj0
= 0 ;
16424 PyObject
* obj1
= 0 ;
16425 char * kwnames
[] = {
16426 (char *) "language",(char *) "flags", NULL
16429 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyLocale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16431 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16432 if (!SWIG_IsOK(ecode1
)) {
16433 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PyLocale" "', expected argument " "1"" of type '" "int""'");
16435 arg1
= static_cast< int >(val1
);
16438 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16439 if (!SWIG_IsOK(ecode2
)) {
16440 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyLocale" "', expected argument " "2"" of type '" "int""'");
16442 arg2
= static_cast< int >(val2
);
16445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16446 result
= (wxPyLocale
*)new_wxPyLocale(arg1
,arg2
);
16447 wxPyEndAllowThreads(__tstate
);
16448 if (PyErr_Occurred()) SWIG_fail
;
16450 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_NEW
| 0 );
16457 SWIGINTERN PyObject
*_wrap_delete_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16458 PyObject
*resultobj
= 0;
16459 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16462 PyObject
*swig_obj
[1] ;
16464 if (!args
) SWIG_fail
;
16465 swig_obj
[0] = args
;
16466 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_DISOWN
| 0 );
16467 if (!SWIG_IsOK(res1
)) {
16468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PyLocale" "', expected argument " "1"" of type '" "wxPyLocale *""'");
16470 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16475 wxPyEndAllowThreads(__tstate
);
16476 if (PyErr_Occurred()) SWIG_fail
;
16478 resultobj
= SWIG_Py_Void();
16485 SWIGINTERN PyObject
*_wrap_PyLocale__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16486 PyObject
*resultobj
= 0;
16487 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16488 PyObject
*arg2
= (PyObject
*) 0 ;
16489 PyObject
*arg3
= (PyObject
*) 0 ;
16492 PyObject
* obj0
= 0 ;
16493 PyObject
* obj1
= 0 ;
16494 PyObject
* obj2
= 0 ;
16495 char * kwnames
[] = {
16496 (char *) "self",(char *) "self",(char *) "_class", NULL
16499 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLocale__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16500 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16501 if (!SWIG_IsOK(res1
)) {
16502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyLocale *""'");
16504 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16509 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16510 wxPyEndAllowThreads(__tstate
);
16511 if (PyErr_Occurred()) SWIG_fail
;
16513 resultobj
= SWIG_Py_Void();
16520 SWIGINTERN PyObject
*_wrap_PyLocale_GetSingularString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16521 PyObject
*resultobj
= 0;
16522 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16523 wxChar
*arg2
= (wxChar
*) 0 ;
16524 wxChar
*arg3
= (wxChar
*) NULL
;
16525 wxChar
*result
= 0 ;
16532 PyObject
* obj0
= 0 ;
16533 PyObject
* obj1
= 0 ;
16534 PyObject
* obj2
= 0 ;
16535 char * kwnames
[] = {
16536 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
16539 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyLocale_GetSingularString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16540 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16541 if (!SWIG_IsOK(res1
)) {
16542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetSingularString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
16544 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16545 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
16546 if (!SWIG_IsOK(res2
)) {
16547 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetSingularString" "', expected argument " "2"" of type '" "wxChar const *""'");
16549 arg2
= reinterpret_cast< wxChar
* >(argp2
);
16551 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
16552 if (!SWIG_IsOK(res3
)) {
16553 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetSingularString" "', expected argument " "3"" of type '" "wxChar const *""'");
16555 arg3
= reinterpret_cast< wxChar
* >(argp3
);
16558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16559 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetSingularString((wxChar
const *)arg2
,(wxChar
const *)arg3
);
16560 wxPyEndAllowThreads(__tstate
);
16561 if (PyErr_Occurred()) SWIG_fail
;
16563 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
16570 SWIGINTERN PyObject
*_wrap_PyLocale_GetPluralString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16571 PyObject
*resultobj
= 0;
16572 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16573 wxChar
*arg2
= (wxChar
*) 0 ;
16574 wxChar
*arg3
= (wxChar
*) 0 ;
16576 wxChar
*arg5
= (wxChar
*) NULL
;
16577 wxChar
*result
= 0 ;
16588 PyObject
* obj0
= 0 ;
16589 PyObject
* obj1
= 0 ;
16590 PyObject
* obj2
= 0 ;
16591 PyObject
* obj3
= 0 ;
16592 PyObject
* obj4
= 0 ;
16593 char * kwnames
[] = {
16594 (char *) "self",(char *) "szOrigString",(char *) "szOrigString2",(char *) "n",(char *) "szDomain", NULL
16597 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PyLocale_GetPluralString",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
16598 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16599 if (!SWIG_IsOK(res1
)) {
16600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetPluralString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
16602 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16603 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
16604 if (!SWIG_IsOK(res2
)) {
16605 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetPluralString" "', expected argument " "2"" of type '" "wxChar const *""'");
16607 arg2
= reinterpret_cast< wxChar
* >(argp2
);
16608 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
16609 if (!SWIG_IsOK(res3
)) {
16610 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetPluralString" "', expected argument " "3"" of type '" "wxChar const *""'");
16612 arg3
= reinterpret_cast< wxChar
* >(argp3
);
16613 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
16614 if (!SWIG_IsOK(ecode4
)) {
16615 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyLocale_GetPluralString" "', expected argument " "4"" of type '" "size_t""'");
16617 arg4
= static_cast< size_t >(val4
);
16619 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxChar
, 0 | 0 );
16620 if (!SWIG_IsOK(res5
)) {
16621 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "PyLocale_GetPluralString" "', expected argument " "5"" of type '" "wxChar const *""'");
16623 arg5
= reinterpret_cast< wxChar
* >(argp5
);
16626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16627 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetPluralString((wxChar
const *)arg2
,(wxChar
const *)arg3
,arg4
,(wxChar
const *)arg5
);
16628 wxPyEndAllowThreads(__tstate
);
16629 if (PyErr_Occurred()) SWIG_fail
;
16631 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
16638 SWIGINTERN PyObject
*PyLocale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16640 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16641 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyLocale
, SWIG_NewClientData(obj
));
16642 return SWIG_Py_Void();
16645 SWIGINTERN PyObject
*PyLocale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16646 return SWIG_Python_InitShadowInstance(args
);
16649 SWIGINTERN PyObject
*_wrap_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16650 PyObject
*resultobj
= 0;
16651 wxLocale
*result
= 0 ;
16653 if (!SWIG_Python_UnpackTuple(args
,"GetLocale",0,0,0)) SWIG_fail
;
16655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16656 result
= (wxLocale
*)wxGetLocale();
16657 wxPyEndAllowThreads(__tstate
);
16658 if (PyErr_Occurred()) SWIG_fail
;
16660 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, 0 | 0 );
16667 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
16668 PyObject
*resultobj
= 0;
16669 wxString
*arg1
= 0 ;
16671 bool temp1
= false ;
16673 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
16675 arg1
= wxString_in_helper(swig_obj
[0]);
16676 if (arg1
== NULL
) SWIG_fail
;
16680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16681 result
= wxGetTranslation((wxString
const &)*arg1
);
16682 wxPyEndAllowThreads(__tstate
);
16683 if (PyErr_Occurred()) SWIG_fail
;
16687 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16689 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16706 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
16707 PyObject
*resultobj
= 0;
16708 wxString
*arg1
= 0 ;
16709 wxString
*arg2
= 0 ;
16711 bool temp1
= false ;
16712 bool temp2
= false ;
16714 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
16716 arg1
= wxString_in_helper(swig_obj
[0]);
16717 if (arg1
== NULL
) SWIG_fail
;
16721 arg2
= wxString_in_helper(swig_obj
[1]);
16722 if (arg2
== NULL
) SWIG_fail
;
16726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16727 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
);
16728 wxPyEndAllowThreads(__tstate
);
16729 if (PyErr_Occurred()) SWIG_fail
;
16733 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16735 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16760 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
16761 PyObject
*resultobj
= 0;
16762 wxString
*arg1
= 0 ;
16763 wxString
*arg2
= 0 ;
16766 bool temp1
= false ;
16767 bool temp2
= false ;
16771 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
16773 arg1
= wxString_in_helper(swig_obj
[0]);
16774 if (arg1
== NULL
) SWIG_fail
;
16778 arg2
= wxString_in_helper(swig_obj
[1]);
16779 if (arg2
== NULL
) SWIG_fail
;
16782 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
16783 if (!SWIG_IsOK(ecode3
)) {
16784 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
16786 arg3
= static_cast< size_t >(val3
);
16788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16789 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
16790 wxPyEndAllowThreads(__tstate
);
16791 if (PyErr_Occurred()) SWIG_fail
;
16795 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16797 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16822 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_3(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
16823 PyObject
*resultobj
= 0;
16824 wxString
*arg1
= 0 ;
16825 wxString
*arg2
= 0 ;
16827 wxString
*arg4
= 0 ;
16829 bool temp1
= false ;
16830 bool temp2
= false ;
16833 bool temp4
= false ;
16835 if ((nobjs
< 4) || (nobjs
> 4)) SWIG_fail
;
16837 arg1
= wxString_in_helper(swig_obj
[0]);
16838 if (arg1
== NULL
) SWIG_fail
;
16842 arg2
= wxString_in_helper(swig_obj
[1]);
16843 if (arg2
== NULL
) SWIG_fail
;
16846 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
16847 if (!SWIG_IsOK(ecode3
)) {
16848 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
16850 arg3
= static_cast< size_t >(val3
);
16852 arg4
= wxString_in_helper(swig_obj
[3]);
16853 if (arg4
== NULL
) SWIG_fail
;
16857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16858 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxString
const &)*arg4
);
16859 wxPyEndAllowThreads(__tstate
);
16860 if (PyErr_Occurred()) SWIG_fail
;
16864 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16866 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16899 SWIGINTERN PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
16903 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GetTranslation",0,4,argv
))) SWIG_fail
;
16906 return _wrap_GetTranslation__SWIG_0(self
, argc
, argv
);
16909 return _wrap_GetTranslation__SWIG_1(self
, argc
, argv
);
16912 return _wrap_GetTranslation__SWIG_2(self
, argc
, argv
);
16915 return _wrap_GetTranslation__SWIG_3(self
, argc
, argv
);
16919 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GetTranslation'");
16924 SWIGINTERN PyObject
*_wrap_new_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16925 PyObject
*resultobj
= 0;
16926 wxEncodingConverter
*result
= 0 ;
16928 if (!SWIG_Python_UnpackTuple(args
,"new_EncodingConverter",0,0,0)) SWIG_fail
;
16930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16931 result
= (wxEncodingConverter
*)new wxEncodingConverter();
16932 wxPyEndAllowThreads(__tstate
);
16933 if (PyErr_Occurred()) SWIG_fail
;
16935 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_NEW
| 0 );
16942 SWIGINTERN PyObject
*_wrap_delete_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16943 PyObject
*resultobj
= 0;
16944 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
16947 PyObject
*swig_obj
[1] ;
16949 if (!args
) SWIG_fail
;
16950 swig_obj
[0] = args
;
16951 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_DISOWN
| 0 );
16952 if (!SWIG_IsOK(res1
)) {
16953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_EncodingConverter" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
16955 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
16957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16960 wxPyEndAllowThreads(__tstate
);
16961 if (PyErr_Occurred()) SWIG_fail
;
16963 resultobj
= SWIG_Py_Void();
16970 SWIGINTERN PyObject
*_wrap_EncodingConverter_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16971 PyObject
*resultobj
= 0;
16972 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
16973 wxFontEncoding arg2
;
16974 wxFontEncoding arg3
;
16975 int arg4
= (int) wxCONVERT_STRICT
;
16985 PyObject
* obj0
= 0 ;
16986 PyObject
* obj1
= 0 ;
16987 PyObject
* obj2
= 0 ;
16988 PyObject
* obj3
= 0 ;
16989 char * kwnames
[] = {
16990 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
16993 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16994 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
16995 if (!SWIG_IsOK(res1
)) {
16996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Init" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
16998 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
16999 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17000 if (!SWIG_IsOK(ecode2
)) {
17001 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_Init" "', expected argument " "2"" of type '" "wxFontEncoding""'");
17003 arg2
= static_cast< wxFontEncoding
>(val2
);
17004 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17005 if (!SWIG_IsOK(ecode3
)) {
17006 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "EncodingConverter_Init" "', expected argument " "3"" of type '" "wxFontEncoding""'");
17008 arg3
= static_cast< wxFontEncoding
>(val3
);
17010 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17011 if (!SWIG_IsOK(ecode4
)) {
17012 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "EncodingConverter_Init" "', expected argument " "4"" of type '" "int""'");
17014 arg4
= static_cast< int >(val4
);
17017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17018 result
= (bool)(arg1
)->Init(arg2
,arg3
,arg4
);
17019 wxPyEndAllowThreads(__tstate
);
17020 if (PyErr_Occurred()) SWIG_fail
;
17023 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17031 SWIGINTERN PyObject
*_wrap_EncodingConverter_Convert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17032 PyObject
*resultobj
= 0;
17033 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17034 wxString
*arg2
= 0 ;
17038 bool temp2
= false ;
17039 PyObject
* obj0
= 0 ;
17040 PyObject
* obj1
= 0 ;
17041 char * kwnames
[] = {
17042 (char *) "self",(char *) "input", NULL
17045 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17046 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
17047 if (!SWIG_IsOK(res1
)) {
17048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Convert" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17050 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17052 arg2
= wxString_in_helper(obj1
);
17053 if (arg2
== NULL
) SWIG_fail
;
17057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17058 result
= (arg1
)->Convert((wxString
const &)*arg2
);
17059 wxPyEndAllowThreads(__tstate
);
17060 if (PyErr_Occurred()) SWIG_fail
;
17064 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17066 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17083 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17084 PyObject
*resultobj
= 0;
17085 wxFontEncoding arg1
;
17086 int arg2
= (int) wxPLATFORM_CURRENT
;
17087 wxFontEncodingArray result
;
17092 PyObject
* obj0
= 0 ;
17093 PyObject
* obj1
= 0 ;
17094 char * kwnames
[] = {
17095 (char *) "enc",(char *) "platform", NULL
17098 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17099 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17100 if (!SWIG_IsOK(ecode1
)) {
17101 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17103 arg1
= static_cast< wxFontEncoding
>(val1
);
17105 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17106 if (!SWIG_IsOK(ecode2
)) {
17107 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "2"" of type '" "int""'");
17109 arg2
= static_cast< int >(val2
);
17112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17113 result
= wxEncodingConverter::GetPlatformEquivalents(arg1
,arg2
);
17114 wxPyEndAllowThreads(__tstate
);
17115 if (PyErr_Occurred()) SWIG_fail
;
17118 resultobj
= PyList_New(0);
17119 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
17120 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
17121 PyList_Append(resultobj
, number
);
17131 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17132 PyObject
*resultobj
= 0;
17133 wxFontEncoding arg1
;
17134 wxFontEncodingArray result
;
17137 PyObject
* obj0
= 0 ;
17138 char * kwnames
[] = {
17139 (char *) "enc", NULL
17142 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) SWIG_fail
;
17143 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17144 if (!SWIG_IsOK(ecode1
)) {
17145 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetAllEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17147 arg1
= static_cast< wxFontEncoding
>(val1
);
17149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17150 result
= wxEncodingConverter::GetAllEquivalents(arg1
);
17151 wxPyEndAllowThreads(__tstate
);
17152 if (PyErr_Occurred()) SWIG_fail
;
17155 resultobj
= PyList_New(0);
17156 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
17157 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
17158 PyList_Append(resultobj
, number
);
17168 SWIGINTERN PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17169 PyObject
*resultobj
= 0;
17170 wxFontEncoding arg1
;
17171 wxFontEncoding arg2
;
17177 PyObject
* obj0
= 0 ;
17178 PyObject
* obj1
= 0 ;
17179 char * kwnames
[] = {
17180 (char *) "encIn",(char *) "encOut", NULL
17183 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17184 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17185 if (!SWIG_IsOK(ecode1
)) {
17186 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17188 arg1
= static_cast< wxFontEncoding
>(val1
);
17189 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17190 if (!SWIG_IsOK(ecode2
)) {
17191 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "2"" of type '" "wxFontEncoding""'");
17193 arg2
= static_cast< wxFontEncoding
>(val2
);
17195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17196 result
= (bool)wxEncodingConverter::CanConvert(arg1
,arg2
);
17197 wxPyEndAllowThreads(__tstate
);
17198 if (PyErr_Occurred()) SWIG_fail
;
17201 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17209 SWIGINTERN PyObject
*EncodingConverter_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17211 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17212 SWIG_TypeNewClientData(SWIGTYPE_p_wxEncodingConverter
, SWIG_NewClientData(obj
));
17213 return SWIG_Py_Void();
17216 SWIGINTERN PyObject
*EncodingConverter_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17217 return SWIG_Python_InitShadowInstance(args
);
17220 SWIGINTERN PyObject
*_wrap_delete_DC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17221 PyObject
*resultobj
= 0;
17222 wxDC
*arg1
= (wxDC
*) 0 ;
17225 PyObject
*swig_obj
[1] ;
17227 if (!args
) SWIG_fail
;
17228 swig_obj
[0] = args
;
17229 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, SWIG_POINTER_DISOWN
| 0 );
17230 if (!SWIG_IsOK(res1
)) {
17231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DC" "', expected argument " "1"" of type '" "wxDC *""'");
17233 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17238 wxPyEndAllowThreads(__tstate
);
17239 if (PyErr_Occurred()) SWIG_fail
;
17241 resultobj
= SWIG_Py_Void();
17248 SWIGINTERN PyObject
*_wrap_DC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17249 PyObject
*resultobj
= 0;
17250 wxDC
*arg1
= (wxDC
*) 0 ;
17253 wxColour
*arg4
= 0 ;
17254 int arg5
= (int) wxFLOOD_SURFACE
;
17265 PyObject
* obj0
= 0 ;
17266 PyObject
* obj1
= 0 ;
17267 PyObject
* obj2
= 0 ;
17268 PyObject
* obj3
= 0 ;
17269 PyObject
* obj4
= 0 ;
17270 char * kwnames
[] = {
17271 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
17274 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17275 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17276 if (!SWIG_IsOK(res1
)) {
17277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFill" "', expected argument " "1"" of type '" "wxDC *""'");
17279 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17280 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17281 if (!SWIG_IsOK(ecode2
)) {
17282 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_FloodFill" "', expected argument " "2"" of type '" "int""'");
17284 arg2
= static_cast< int >(val2
);
17285 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17286 if (!SWIG_IsOK(ecode3
)) {
17287 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_FloodFill" "', expected argument " "3"" of type '" "int""'");
17289 arg3
= static_cast< int >(val3
);
17292 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17295 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17296 if (!SWIG_IsOK(ecode5
)) {
17297 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_FloodFill" "', expected argument " "5"" of type '" "int""'");
17299 arg5
= static_cast< int >(val5
);
17302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17303 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
17304 wxPyEndAllowThreads(__tstate
);
17305 if (PyErr_Occurred()) SWIG_fail
;
17308 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17316 SWIGINTERN PyObject
*_wrap_DC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17317 PyObject
*resultobj
= 0;
17318 wxDC
*arg1
= (wxDC
*) 0 ;
17319 wxPoint
*arg2
= 0 ;
17320 wxColour
*arg3
= 0 ;
17321 int arg4
= (int) wxFLOOD_SURFACE
;
17329 PyObject
* obj0
= 0 ;
17330 PyObject
* obj1
= 0 ;
17331 PyObject
* obj2
= 0 ;
17332 PyObject
* obj3
= 0 ;
17333 char * kwnames
[] = {
17334 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
17337 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17338 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17339 if (!SWIG_IsOK(res1
)) {
17340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFillPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17342 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17345 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17349 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17352 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17353 if (!SWIG_IsOK(ecode4
)) {
17354 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
17356 arg4
= static_cast< int >(val4
);
17359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17360 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
17361 wxPyEndAllowThreads(__tstate
);
17362 if (PyErr_Occurred()) SWIG_fail
;
17365 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17373 SWIGINTERN PyObject
*_wrap_DC_GradientFillConcentric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17374 PyObject
*resultobj
= 0;
17375 wxDC
*arg1
= (wxDC
*) 0 ;
17377 wxColour
*arg3
= 0 ;
17378 wxColour
*arg4
= 0 ;
17379 wxPoint
*arg5
= 0 ;
17386 PyObject
* obj0
= 0 ;
17387 PyObject
* obj1
= 0 ;
17388 PyObject
* obj2
= 0 ;
17389 PyObject
* obj3
= 0 ;
17390 PyObject
* obj4
= 0 ;
17391 char * kwnames
[] = {
17392 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "circleCenter", NULL
17395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_GradientFillConcentric",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17396 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17397 if (!SWIG_IsOK(res1
)) {
17398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillConcentric" "', expected argument " "1"" of type '" "wxDC *""'");
17400 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17403 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17407 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17411 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17415 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17419 (arg1
)->GradientFillConcentric((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
);
17420 wxPyEndAllowThreads(__tstate
);
17421 if (PyErr_Occurred()) SWIG_fail
;
17423 resultobj
= SWIG_Py_Void();
17430 SWIGINTERN PyObject
*_wrap_DC_GradientFillLinear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17431 PyObject
*resultobj
= 0;
17432 wxDC
*arg1
= (wxDC
*) 0 ;
17434 wxColour
*arg3
= 0 ;
17435 wxColour
*arg4
= 0 ;
17436 wxDirection arg5
= (wxDirection
) wxEAST
;
17444 PyObject
* obj0
= 0 ;
17445 PyObject
* obj1
= 0 ;
17446 PyObject
* obj2
= 0 ;
17447 PyObject
* obj3
= 0 ;
17448 PyObject
* obj4
= 0 ;
17449 char * kwnames
[] = {
17450 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "nDirection", NULL
17453 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_GradientFillLinear",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17454 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17455 if (!SWIG_IsOK(res1
)) {
17456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillLinear" "', expected argument " "1"" of type '" "wxDC *""'");
17458 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17461 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17465 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17469 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17472 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17473 if (!SWIG_IsOK(ecode5
)) {
17474 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_GradientFillLinear" "', expected argument " "5"" of type '" "wxDirection""'");
17476 arg5
= static_cast< wxDirection
>(val5
);
17479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17480 (arg1
)->GradientFillLinear((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,arg5
);
17481 wxPyEndAllowThreads(__tstate
);
17482 if (PyErr_Occurred()) SWIG_fail
;
17484 resultobj
= SWIG_Py_Void();
17491 SWIGINTERN PyObject
*_wrap_DC_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17492 PyObject
*resultobj
= 0;
17493 wxDC
*arg1
= (wxDC
*) 0 ;
17503 PyObject
* obj0
= 0 ;
17504 PyObject
* obj1
= 0 ;
17505 PyObject
* obj2
= 0 ;
17506 char * kwnames
[] = {
17507 (char *) "self",(char *) "x",(char *) "y", NULL
17510 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17511 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17512 if (!SWIG_IsOK(res1
)) {
17513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixel" "', expected argument " "1"" of type '" "wxDC *""'");
17515 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17516 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17517 if (!SWIG_IsOK(ecode2
)) {
17518 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_GetPixel" "', expected argument " "2"" of type '" "int""'");
17520 arg2
= static_cast< int >(val2
);
17521 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17522 if (!SWIG_IsOK(ecode3
)) {
17523 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_GetPixel" "', expected argument " "3"" of type '" "int""'");
17525 arg3
= static_cast< int >(val3
);
17527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17528 result
= wxDC_GetPixel(arg1
,arg2
,arg3
);
17529 wxPyEndAllowThreads(__tstate
);
17530 if (PyErr_Occurred()) SWIG_fail
;
17532 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
17539 SWIGINTERN PyObject
*_wrap_DC_GetPixelPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17540 PyObject
*resultobj
= 0;
17541 wxDC
*arg1
= (wxDC
*) 0 ;
17542 wxPoint
*arg2
= 0 ;
17547 PyObject
* obj0
= 0 ;
17548 PyObject
* obj1
= 0 ;
17549 char * kwnames
[] = {
17550 (char *) "self",(char *) "pt", NULL
17553 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17554 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17555 if (!SWIG_IsOK(res1
)) {
17556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixelPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17558 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17561 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17565 result
= wxDC_GetPixelPoint(arg1
,(wxPoint
const &)*arg2
);
17566 wxPyEndAllowThreads(__tstate
);
17567 if (PyErr_Occurred()) SWIG_fail
;
17569 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
17576 SWIGINTERN PyObject
*_wrap_DC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17577 PyObject
*resultobj
= 0;
17578 wxDC
*arg1
= (wxDC
*) 0 ;
17593 PyObject
* obj0
= 0 ;
17594 PyObject
* obj1
= 0 ;
17595 PyObject
* obj2
= 0 ;
17596 PyObject
* obj3
= 0 ;
17597 PyObject
* obj4
= 0 ;
17598 char * kwnames
[] = {
17599 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
17602 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17603 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17604 if (!SWIG_IsOK(res1
)) {
17605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLine" "', expected argument " "1"" of type '" "wxDC *""'");
17607 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17608 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17609 if (!SWIG_IsOK(ecode2
)) {
17610 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawLine" "', expected argument " "2"" of type '" "int""'");
17612 arg2
= static_cast< int >(val2
);
17613 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17614 if (!SWIG_IsOK(ecode3
)) {
17615 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawLine" "', expected argument " "3"" of type '" "int""'");
17617 arg3
= static_cast< int >(val3
);
17618 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17619 if (!SWIG_IsOK(ecode4
)) {
17620 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLine" "', expected argument " "4"" of type '" "int""'");
17622 arg4
= static_cast< int >(val4
);
17623 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17624 if (!SWIG_IsOK(ecode5
)) {
17625 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLine" "', expected argument " "5"" of type '" "int""'");
17627 arg5
= static_cast< int >(val5
);
17629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17630 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
17631 wxPyEndAllowThreads(__tstate
);
17632 if (PyErr_Occurred()) SWIG_fail
;
17634 resultobj
= SWIG_Py_Void();
17641 SWIGINTERN PyObject
*_wrap_DC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17642 PyObject
*resultobj
= 0;
17643 wxDC
*arg1
= (wxDC
*) 0 ;
17644 wxPoint
*arg2
= 0 ;
17645 wxPoint
*arg3
= 0 ;
17650 PyObject
* obj0
= 0 ;
17651 PyObject
* obj1
= 0 ;
17652 PyObject
* obj2
= 0 ;
17653 char * kwnames
[] = {
17654 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
17657 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17658 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17659 if (!SWIG_IsOK(res1
)) {
17660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLinePoint" "', expected argument " "1"" of type '" "wxDC *""'");
17662 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17665 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17669 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17673 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
17674 wxPyEndAllowThreads(__tstate
);
17675 if (PyErr_Occurred()) SWIG_fail
;
17677 resultobj
= SWIG_Py_Void();
17684 SWIGINTERN PyObject
*_wrap_DC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17685 PyObject
*resultobj
= 0;
17686 wxDC
*arg1
= (wxDC
*) 0 ;
17695 PyObject
* obj0
= 0 ;
17696 PyObject
* obj1
= 0 ;
17697 PyObject
* obj2
= 0 ;
17698 char * kwnames
[] = {
17699 (char *) "self",(char *) "x",(char *) "y", NULL
17702 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17703 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17704 if (!SWIG_IsOK(res1
)) {
17705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHair" "', expected argument " "1"" of type '" "wxDC *""'");
17707 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17708 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17709 if (!SWIG_IsOK(ecode2
)) {
17710 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CrossHair" "', expected argument " "2"" of type '" "int""'");
17712 arg2
= static_cast< int >(val2
);
17713 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17714 if (!SWIG_IsOK(ecode3
)) {
17715 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CrossHair" "', expected argument " "3"" of type '" "int""'");
17717 arg3
= static_cast< int >(val3
);
17719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17720 (arg1
)->CrossHair(arg2
,arg3
);
17721 wxPyEndAllowThreads(__tstate
);
17722 if (PyErr_Occurred()) SWIG_fail
;
17724 resultobj
= SWIG_Py_Void();
17731 SWIGINTERN PyObject
*_wrap_DC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17732 PyObject
*resultobj
= 0;
17733 wxDC
*arg1
= (wxDC
*) 0 ;
17734 wxPoint
*arg2
= 0 ;
17738 PyObject
* obj0
= 0 ;
17739 PyObject
* obj1
= 0 ;
17740 char * kwnames
[] = {
17741 (char *) "self",(char *) "pt", NULL
17744 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17745 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17746 if (!SWIG_IsOK(res1
)) {
17747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHairPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17749 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17752 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17756 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
17757 wxPyEndAllowThreads(__tstate
);
17758 if (PyErr_Occurred()) SWIG_fail
;
17760 resultobj
= SWIG_Py_Void();
17767 SWIGINTERN PyObject
*_wrap_DC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17768 PyObject
*resultobj
= 0;
17769 wxDC
*arg1
= (wxDC
*) 0 ;
17790 PyObject
* obj0
= 0 ;
17791 PyObject
* obj1
= 0 ;
17792 PyObject
* obj2
= 0 ;
17793 PyObject
* obj3
= 0 ;
17794 PyObject
* obj4
= 0 ;
17795 PyObject
* obj5
= 0 ;
17796 PyObject
* obj6
= 0 ;
17797 char * kwnames
[] = {
17798 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
17801 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
17802 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17803 if (!SWIG_IsOK(res1
)) {
17804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArc" "', expected argument " "1"" of type '" "wxDC *""'");
17806 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17807 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17808 if (!SWIG_IsOK(ecode2
)) {
17809 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawArc" "', expected argument " "2"" of type '" "int""'");
17811 arg2
= static_cast< int >(val2
);
17812 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17813 if (!SWIG_IsOK(ecode3
)) {
17814 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawArc" "', expected argument " "3"" of type '" "int""'");
17816 arg3
= static_cast< int >(val3
);
17817 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17818 if (!SWIG_IsOK(ecode4
)) {
17819 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawArc" "', expected argument " "4"" of type '" "int""'");
17821 arg4
= static_cast< int >(val4
);
17822 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17823 if (!SWIG_IsOK(ecode5
)) {
17824 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawArc" "', expected argument " "5"" of type '" "int""'");
17826 arg5
= static_cast< int >(val5
);
17827 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
17828 if (!SWIG_IsOK(ecode6
)) {
17829 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawArc" "', expected argument " "6"" of type '" "int""'");
17831 arg6
= static_cast< int >(val6
);
17832 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
17833 if (!SWIG_IsOK(ecode7
)) {
17834 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawArc" "', expected argument " "7"" of type '" "int""'");
17836 arg7
= static_cast< int >(val7
);
17838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17839 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
17840 wxPyEndAllowThreads(__tstate
);
17841 if (PyErr_Occurred()) SWIG_fail
;
17843 resultobj
= SWIG_Py_Void();
17850 SWIGINTERN PyObject
*_wrap_DC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17851 PyObject
*resultobj
= 0;
17852 wxDC
*arg1
= (wxDC
*) 0 ;
17853 wxPoint
*arg2
= 0 ;
17854 wxPoint
*arg3
= 0 ;
17855 wxPoint
*arg4
= 0 ;
17861 PyObject
* obj0
= 0 ;
17862 PyObject
* obj1
= 0 ;
17863 PyObject
* obj2
= 0 ;
17864 PyObject
* obj3
= 0 ;
17865 char * kwnames
[] = {
17866 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
17869 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17870 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17871 if (!SWIG_IsOK(res1
)) {
17872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArcPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17874 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17877 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17881 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17885 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17889 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
17890 wxPyEndAllowThreads(__tstate
);
17891 if (PyErr_Occurred()) SWIG_fail
;
17893 resultobj
= SWIG_Py_Void();
17900 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17901 PyObject
*resultobj
= 0;
17902 wxDC
*arg1
= (wxDC
*) 0 ;
17917 PyObject
* obj0
= 0 ;
17918 PyObject
* obj1
= 0 ;
17919 PyObject
* obj2
= 0 ;
17920 PyObject
* obj3
= 0 ;
17921 PyObject
* obj4
= 0 ;
17922 char * kwnames
[] = {
17923 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
17926 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17927 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17928 if (!SWIG_IsOK(res1
)) {
17929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMark" "', expected argument " "1"" of type '" "wxDC *""'");
17931 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17932 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17933 if (!SWIG_IsOK(ecode2
)) {
17934 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
17936 arg2
= static_cast< int >(val2
);
17937 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17938 if (!SWIG_IsOK(ecode3
)) {
17939 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
17941 arg3
= static_cast< int >(val3
);
17942 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17943 if (!SWIG_IsOK(ecode4
)) {
17944 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
17946 arg4
= static_cast< int >(val4
);
17947 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17948 if (!SWIG_IsOK(ecode5
)) {
17949 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
17951 arg5
= static_cast< int >(val5
);
17953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17954 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
17955 wxPyEndAllowThreads(__tstate
);
17956 if (PyErr_Occurred()) SWIG_fail
;
17958 resultobj
= SWIG_Py_Void();
17965 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17966 PyObject
*resultobj
= 0;
17967 wxDC
*arg1
= (wxDC
*) 0 ;
17972 PyObject
* obj0
= 0 ;
17973 PyObject
* obj1
= 0 ;
17974 char * kwnames
[] = {
17975 (char *) "self",(char *) "rect", NULL
17978 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17979 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17980 if (!SWIG_IsOK(res1
)) {
17981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxDC *""'");
17983 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17986 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17990 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
17991 wxPyEndAllowThreads(__tstate
);
17992 if (PyErr_Occurred()) SWIG_fail
;
17994 resultobj
= SWIG_Py_Void();
18001 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18002 PyObject
*resultobj
= 0;
18003 wxDC
*arg1
= (wxDC
*) 0 ;
18024 PyObject
* obj0
= 0 ;
18025 PyObject
* obj1
= 0 ;
18026 PyObject
* obj2
= 0 ;
18027 PyObject
* obj3
= 0 ;
18028 PyObject
* obj4
= 0 ;
18029 PyObject
* obj5
= 0 ;
18030 PyObject
* obj6
= 0 ;
18031 char * kwnames
[] = {
18032 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
18035 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
18036 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18037 if (!SWIG_IsOK(res1
)) {
18038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxDC *""'");
18040 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18041 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18042 if (!SWIG_IsOK(ecode2
)) {
18043 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
18045 arg2
= static_cast< int >(val2
);
18046 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18047 if (!SWIG_IsOK(ecode3
)) {
18048 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
18050 arg3
= static_cast< int >(val3
);
18051 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18052 if (!SWIG_IsOK(ecode4
)) {
18053 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
18055 arg4
= static_cast< int >(val4
);
18056 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18057 if (!SWIG_IsOK(ecode5
)) {
18058 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
18060 arg5
= static_cast< int >(val5
);
18061 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
18062 if (!SWIG_IsOK(ecode6
)) {
18063 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
18065 arg6
= static_cast< double >(val6
);
18066 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
18067 if (!SWIG_IsOK(ecode7
)) {
18068 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
18070 arg7
= static_cast< double >(val7
);
18072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18073 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18074 wxPyEndAllowThreads(__tstate
);
18075 if (PyErr_Occurred()) SWIG_fail
;
18077 resultobj
= SWIG_Py_Void();
18084 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18085 PyObject
*resultobj
= 0;
18086 wxDC
*arg1
= (wxDC
*) 0 ;
18087 wxPoint
*arg2
= 0 ;
18099 PyObject
* obj0
= 0 ;
18100 PyObject
* obj1
= 0 ;
18101 PyObject
* obj2
= 0 ;
18102 PyObject
* obj3
= 0 ;
18103 PyObject
* obj4
= 0 ;
18104 char * kwnames
[] = {
18105 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
18108 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18109 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18110 if (!SWIG_IsOK(res1
)) {
18111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18113 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18116 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18120 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18122 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
18123 if (!SWIG_IsOK(ecode4
)) {
18124 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
18126 arg4
= static_cast< double >(val4
);
18127 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
18128 if (!SWIG_IsOK(ecode5
)) {
18129 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
18131 arg5
= static_cast< double >(val5
);
18133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18134 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
18135 wxPyEndAllowThreads(__tstate
);
18136 if (PyErr_Occurred()) SWIG_fail
;
18138 resultobj
= SWIG_Py_Void();
18145 SWIGINTERN PyObject
*_wrap_DC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18146 PyObject
*resultobj
= 0;
18147 wxDC
*arg1
= (wxDC
*) 0 ;
18156 PyObject
* obj0
= 0 ;
18157 PyObject
* obj1
= 0 ;
18158 PyObject
* obj2
= 0 ;
18159 char * kwnames
[] = {
18160 (char *) "self",(char *) "x",(char *) "y", NULL
18163 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18164 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18165 if (!SWIG_IsOK(res1
)) {
18166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18168 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18169 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18170 if (!SWIG_IsOK(ecode2
)) {
18171 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
18173 arg2
= static_cast< int >(val2
);
18174 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18175 if (!SWIG_IsOK(ecode3
)) {
18176 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
18178 arg3
= static_cast< int >(val3
);
18180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18181 (arg1
)->DrawPoint(arg2
,arg3
);
18182 wxPyEndAllowThreads(__tstate
);
18183 if (PyErr_Occurred()) SWIG_fail
;
18185 resultobj
= SWIG_Py_Void();
18192 SWIGINTERN PyObject
*_wrap_DC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18193 PyObject
*resultobj
= 0;
18194 wxDC
*arg1
= (wxDC
*) 0 ;
18195 wxPoint
*arg2
= 0 ;
18199 PyObject
* obj0
= 0 ;
18200 PyObject
* obj1
= 0 ;
18201 char * kwnames
[] = {
18202 (char *) "self",(char *) "pt", NULL
18205 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18206 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18207 if (!SWIG_IsOK(res1
)) {
18208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPointPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18210 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18213 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18217 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
18218 wxPyEndAllowThreads(__tstate
);
18219 if (PyErr_Occurred()) SWIG_fail
;
18221 resultobj
= SWIG_Py_Void();
18228 SWIGINTERN PyObject
*_wrap_DC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18229 PyObject
*resultobj
= 0;
18230 wxDC
*arg1
= (wxDC
*) 0 ;
18245 PyObject
* obj0
= 0 ;
18246 PyObject
* obj1
= 0 ;
18247 PyObject
* obj2
= 0 ;
18248 PyObject
* obj3
= 0 ;
18249 PyObject
* obj4
= 0 ;
18250 char * kwnames
[] = {
18251 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18254 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18255 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18256 if (!SWIG_IsOK(res1
)) {
18257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
18259 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18260 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18261 if (!SWIG_IsOK(ecode2
)) {
18262 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
18264 arg2
= static_cast< int >(val2
);
18265 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18266 if (!SWIG_IsOK(ecode3
)) {
18267 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
18269 arg3
= static_cast< int >(val3
);
18270 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18271 if (!SWIG_IsOK(ecode4
)) {
18272 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
18274 arg4
= static_cast< int >(val4
);
18275 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18276 if (!SWIG_IsOK(ecode5
)) {
18277 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
18279 arg5
= static_cast< int >(val5
);
18281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18282 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
18283 wxPyEndAllowThreads(__tstate
);
18284 if (PyErr_Occurred()) SWIG_fail
;
18286 resultobj
= SWIG_Py_Void();
18293 SWIGINTERN PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18294 PyObject
*resultobj
= 0;
18295 wxDC
*arg1
= (wxDC
*) 0 ;
18300 PyObject
* obj0
= 0 ;
18301 PyObject
* obj1
= 0 ;
18302 char * kwnames
[] = {
18303 (char *) "self",(char *) "rect", NULL
18306 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18307 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18308 if (!SWIG_IsOK(res1
)) {
18309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
18311 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18314 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18318 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
18319 wxPyEndAllowThreads(__tstate
);
18320 if (PyErr_Occurred()) SWIG_fail
;
18322 resultobj
= SWIG_Py_Void();
18329 SWIGINTERN PyObject
*_wrap_DC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18330 PyObject
*resultobj
= 0;
18331 wxDC
*arg1
= (wxDC
*) 0 ;
18332 wxPoint
*arg2
= 0 ;
18338 PyObject
* obj0
= 0 ;
18339 PyObject
* obj1
= 0 ;
18340 PyObject
* obj2
= 0 ;
18341 char * kwnames
[] = {
18342 (char *) "self",(char *) "pt",(char *) "sz", NULL
18345 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18346 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18347 if (!SWIG_IsOK(res1
)) {
18348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18350 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18353 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18357 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18361 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
18362 wxPyEndAllowThreads(__tstate
);
18363 if (PyErr_Occurred()) SWIG_fail
;
18365 resultobj
= SWIG_Py_Void();
18372 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18373 PyObject
*resultobj
= 0;
18374 wxDC
*arg1
= (wxDC
*) 0 ;
18392 PyObject
* obj0
= 0 ;
18393 PyObject
* obj1
= 0 ;
18394 PyObject
* obj2
= 0 ;
18395 PyObject
* obj3
= 0 ;
18396 PyObject
* obj4
= 0 ;
18397 PyObject
* obj5
= 0 ;
18398 char * kwnames
[] = {
18399 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
18402 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18403 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18404 if (!SWIG_IsOK(res1
)) {
18405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
18407 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18408 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18409 if (!SWIG_IsOK(ecode2
)) {
18410 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
18412 arg2
= static_cast< int >(val2
);
18413 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18414 if (!SWIG_IsOK(ecode3
)) {
18415 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
18417 arg3
= static_cast< int >(val3
);
18418 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18419 if (!SWIG_IsOK(ecode4
)) {
18420 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
18422 arg4
= static_cast< int >(val4
);
18423 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18424 if (!SWIG_IsOK(ecode5
)) {
18425 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
18427 arg5
= static_cast< int >(val5
);
18428 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
18429 if (!SWIG_IsOK(ecode6
)) {
18430 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
18432 arg6
= static_cast< double >(val6
);
18434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18435 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
18436 wxPyEndAllowThreads(__tstate
);
18437 if (PyErr_Occurred()) SWIG_fail
;
18439 resultobj
= SWIG_Py_Void();
18446 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18447 PyObject
*resultobj
= 0;
18448 wxDC
*arg1
= (wxDC
*) 0 ;
18456 PyObject
* obj0
= 0 ;
18457 PyObject
* obj1
= 0 ;
18458 PyObject
* obj2
= 0 ;
18459 char * kwnames
[] = {
18460 (char *) "self",(char *) "r",(char *) "radius", NULL
18463 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18464 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18465 if (!SWIG_IsOK(res1
)) {
18466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
18468 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18471 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18473 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
18474 if (!SWIG_IsOK(ecode3
)) {
18475 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
18477 arg3
= static_cast< double >(val3
);
18479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18480 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
18481 wxPyEndAllowThreads(__tstate
);
18482 if (PyErr_Occurred()) SWIG_fail
;
18484 resultobj
= SWIG_Py_Void();
18491 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18492 PyObject
*resultobj
= 0;
18493 wxDC
*arg1
= (wxDC
*) 0 ;
18494 wxPoint
*arg2
= 0 ;
18503 PyObject
* obj0
= 0 ;
18504 PyObject
* obj1
= 0 ;
18505 PyObject
* obj2
= 0 ;
18506 PyObject
* obj3
= 0 ;
18507 char * kwnames
[] = {
18508 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
18511 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18512 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18513 if (!SWIG_IsOK(res1
)) {
18514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18516 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18519 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18523 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18525 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
18526 if (!SWIG_IsOK(ecode4
)) {
18527 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
18529 arg4
= static_cast< double >(val4
);
18531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18532 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
18533 wxPyEndAllowThreads(__tstate
);
18534 if (PyErr_Occurred()) SWIG_fail
;
18536 resultobj
= SWIG_Py_Void();
18543 SWIGINTERN PyObject
*_wrap_DC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18544 PyObject
*resultobj
= 0;
18545 wxDC
*arg1
= (wxDC
*) 0 ;
18557 PyObject
* obj0
= 0 ;
18558 PyObject
* obj1
= 0 ;
18559 PyObject
* obj2
= 0 ;
18560 PyObject
* obj3
= 0 ;
18561 char * kwnames
[] = {
18562 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
18565 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18566 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18567 if (!SWIG_IsOK(res1
)) {
18568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCircle" "', expected argument " "1"" of type '" "wxDC *""'");
18570 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18571 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18572 if (!SWIG_IsOK(ecode2
)) {
18573 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
18575 arg2
= static_cast< int >(val2
);
18576 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18577 if (!SWIG_IsOK(ecode3
)) {
18578 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
18580 arg3
= static_cast< int >(val3
);
18581 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18582 if (!SWIG_IsOK(ecode4
)) {
18583 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
18585 arg4
= static_cast< int >(val4
);
18587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18588 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
18589 wxPyEndAllowThreads(__tstate
);
18590 if (PyErr_Occurred()) SWIG_fail
;
18592 resultobj
= SWIG_Py_Void();
18599 SWIGINTERN PyObject
*_wrap_DC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18600 PyObject
*resultobj
= 0;
18601 wxDC
*arg1
= (wxDC
*) 0 ;
18602 wxPoint
*arg2
= 0 ;
18609 PyObject
* obj0
= 0 ;
18610 PyObject
* obj1
= 0 ;
18611 PyObject
* obj2
= 0 ;
18612 char * kwnames
[] = {
18613 (char *) "self",(char *) "pt",(char *) "radius", NULL
18616 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18617 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18618 if (!SWIG_IsOK(res1
)) {
18619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxDC *""'");
18621 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18624 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18626 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18627 if (!SWIG_IsOK(ecode3
)) {
18628 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
18630 arg3
= static_cast< int >(val3
);
18632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18633 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
18634 wxPyEndAllowThreads(__tstate
);
18635 if (PyErr_Occurred()) SWIG_fail
;
18637 resultobj
= SWIG_Py_Void();
18644 SWIGINTERN PyObject
*_wrap_DC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18645 PyObject
*resultobj
= 0;
18646 wxDC
*arg1
= (wxDC
*) 0 ;
18661 PyObject
* obj0
= 0 ;
18662 PyObject
* obj1
= 0 ;
18663 PyObject
* obj2
= 0 ;
18664 PyObject
* obj3
= 0 ;
18665 PyObject
* obj4
= 0 ;
18666 char * kwnames
[] = {
18667 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18670 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18671 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18672 if (!SWIG_IsOK(res1
)) {
18673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipse" "', expected argument " "1"" of type '" "wxDC *""'");
18675 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18676 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18677 if (!SWIG_IsOK(ecode2
)) {
18678 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
18680 arg2
= static_cast< int >(val2
);
18681 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18682 if (!SWIG_IsOK(ecode3
)) {
18683 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
18685 arg3
= static_cast< int >(val3
);
18686 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18687 if (!SWIG_IsOK(ecode4
)) {
18688 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
18690 arg4
= static_cast< int >(val4
);
18691 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18692 if (!SWIG_IsOK(ecode5
)) {
18693 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
18695 arg5
= static_cast< int >(val5
);
18697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18698 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
18699 wxPyEndAllowThreads(__tstate
);
18700 if (PyErr_Occurred()) SWIG_fail
;
18702 resultobj
= SWIG_Py_Void();
18709 SWIGINTERN PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18710 PyObject
*resultobj
= 0;
18711 wxDC
*arg1
= (wxDC
*) 0 ;
18716 PyObject
* obj0
= 0 ;
18717 PyObject
* obj1
= 0 ;
18718 char * kwnames
[] = {
18719 (char *) "self",(char *) "rect", NULL
18722 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18723 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18724 if (!SWIG_IsOK(res1
)) {
18725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxDC *""'");
18727 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18730 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18734 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
18735 wxPyEndAllowThreads(__tstate
);
18736 if (PyErr_Occurred()) SWIG_fail
;
18738 resultobj
= SWIG_Py_Void();
18745 SWIGINTERN PyObject
*_wrap_DC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18746 PyObject
*resultobj
= 0;
18747 wxDC
*arg1
= (wxDC
*) 0 ;
18748 wxPoint
*arg2
= 0 ;
18754 PyObject
* obj0
= 0 ;
18755 PyObject
* obj1
= 0 ;
18756 PyObject
* obj2
= 0 ;
18757 char * kwnames
[] = {
18758 (char *) "self",(char *) "pt",(char *) "sz", NULL
18761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18762 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18763 if (!SWIG_IsOK(res1
)) {
18764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18766 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18769 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18773 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18777 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
18778 wxPyEndAllowThreads(__tstate
);
18779 if (PyErr_Occurred()) SWIG_fail
;
18781 resultobj
= SWIG_Py_Void();
18788 SWIGINTERN PyObject
*_wrap_DC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18789 PyObject
*resultobj
= 0;
18790 wxDC
*arg1
= (wxDC
*) 0 ;
18802 PyObject
* obj0
= 0 ;
18803 PyObject
* obj1
= 0 ;
18804 PyObject
* obj2
= 0 ;
18805 PyObject
* obj3
= 0 ;
18806 char * kwnames
[] = {
18807 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
18810 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18811 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18812 if (!SWIG_IsOK(res1
)) {
18813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIcon" "', expected argument " "1"" of type '" "wxDC *""'");
18815 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18816 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
18817 if (!SWIG_IsOK(res2
)) {
18818 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
18821 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
18823 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
18824 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18825 if (!SWIG_IsOK(ecode3
)) {
18826 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
18828 arg3
= static_cast< int >(val3
);
18829 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18830 if (!SWIG_IsOK(ecode4
)) {
18831 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
18833 arg4
= static_cast< int >(val4
);
18835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18836 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
18837 wxPyEndAllowThreads(__tstate
);
18838 if (PyErr_Occurred()) SWIG_fail
;
18840 resultobj
= SWIG_Py_Void();
18847 SWIGINTERN PyObject
*_wrap_DC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18848 PyObject
*resultobj
= 0;
18849 wxDC
*arg1
= (wxDC
*) 0 ;
18851 wxPoint
*arg3
= 0 ;
18857 PyObject
* obj0
= 0 ;
18858 PyObject
* obj1
= 0 ;
18859 PyObject
* obj2
= 0 ;
18860 char * kwnames
[] = {
18861 (char *) "self",(char *) "icon",(char *) "pt", NULL
18864 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18865 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18866 if (!SWIG_IsOK(res1
)) {
18867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIconPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18869 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18870 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
18871 if (!SWIG_IsOK(res2
)) {
18872 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
18875 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
18877 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
18880 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18884 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
18885 wxPyEndAllowThreads(__tstate
);
18886 if (PyErr_Occurred()) SWIG_fail
;
18888 resultobj
= SWIG_Py_Void();
18895 SWIGINTERN PyObject
*_wrap_DC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18896 PyObject
*resultobj
= 0;
18897 wxDC
*arg1
= (wxDC
*) 0 ;
18898 wxBitmap
*arg2
= 0 ;
18901 bool arg5
= (bool) false ;
18912 PyObject
* obj0
= 0 ;
18913 PyObject
* obj1
= 0 ;
18914 PyObject
* obj2
= 0 ;
18915 PyObject
* obj3
= 0 ;
18916 PyObject
* obj4
= 0 ;
18917 char * kwnames
[] = {
18918 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
18921 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18922 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18923 if (!SWIG_IsOK(res1
)) {
18924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmap" "', expected argument " "1"" of type '" "wxDC *""'");
18926 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18927 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
18928 if (!SWIG_IsOK(res2
)) {
18929 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
18932 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
18934 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
18935 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18936 if (!SWIG_IsOK(ecode3
)) {
18937 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
18939 arg3
= static_cast< int >(val3
);
18940 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18941 if (!SWIG_IsOK(ecode4
)) {
18942 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
18944 arg4
= static_cast< int >(val4
);
18946 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
18947 if (!SWIG_IsOK(ecode5
)) {
18948 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
18950 arg5
= static_cast< bool >(val5
);
18953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18954 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
18955 wxPyEndAllowThreads(__tstate
);
18956 if (PyErr_Occurred()) SWIG_fail
;
18958 resultobj
= SWIG_Py_Void();
18965 SWIGINTERN PyObject
*_wrap_DC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18966 PyObject
*resultobj
= 0;
18967 wxDC
*arg1
= (wxDC
*) 0 ;
18968 wxBitmap
*arg2
= 0 ;
18969 wxPoint
*arg3
= 0 ;
18970 bool arg4
= (bool) false ;
18978 PyObject
* obj0
= 0 ;
18979 PyObject
* obj1
= 0 ;
18980 PyObject
* obj2
= 0 ;
18981 PyObject
* obj3
= 0 ;
18982 char * kwnames
[] = {
18983 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
18986 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18987 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18988 if (!SWIG_IsOK(res1
)) {
18989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18991 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18992 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
18993 if (!SWIG_IsOK(res2
)) {
18994 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
18997 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
18999 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
19002 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19005 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
19006 if (!SWIG_IsOK(ecode4
)) {
19007 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
19009 arg4
= static_cast< bool >(val4
);
19012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19013 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
19014 wxPyEndAllowThreads(__tstate
);
19015 if (PyErr_Occurred()) SWIG_fail
;
19017 resultobj
= SWIG_Py_Void();
19024 SWIGINTERN PyObject
*_wrap_DC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19025 PyObject
*resultobj
= 0;
19026 wxDC
*arg1
= (wxDC
*) 0 ;
19027 wxString
*arg2
= 0 ;
19032 bool temp2
= false ;
19037 PyObject
* obj0
= 0 ;
19038 PyObject
* obj1
= 0 ;
19039 PyObject
* obj2
= 0 ;
19040 PyObject
* obj3
= 0 ;
19041 char * kwnames
[] = {
19042 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
19045 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19046 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19047 if (!SWIG_IsOK(res1
)) {
19048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawText" "', expected argument " "1"" of type '" "wxDC *""'");
19050 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19052 arg2
= wxString_in_helper(obj1
);
19053 if (arg2
== NULL
) SWIG_fail
;
19056 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19057 if (!SWIG_IsOK(ecode3
)) {
19058 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawText" "', expected argument " "3"" of type '" "int""'");
19060 arg3
= static_cast< int >(val3
);
19061 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19062 if (!SWIG_IsOK(ecode4
)) {
19063 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawText" "', expected argument " "4"" of type '" "int""'");
19065 arg4
= static_cast< int >(val4
);
19067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19068 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
19069 wxPyEndAllowThreads(__tstate
);
19070 if (PyErr_Occurred()) SWIG_fail
;
19072 resultobj
= SWIG_Py_Void();
19087 SWIGINTERN PyObject
*_wrap_DC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19088 PyObject
*resultobj
= 0;
19089 wxDC
*arg1
= (wxDC
*) 0 ;
19090 wxString
*arg2
= 0 ;
19091 wxPoint
*arg3
= 0 ;
19094 bool temp2
= false ;
19096 PyObject
* obj0
= 0 ;
19097 PyObject
* obj1
= 0 ;
19098 PyObject
* obj2
= 0 ;
19099 char * kwnames
[] = {
19100 (char *) "self",(char *) "text",(char *) "pt", NULL
19103 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19104 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19105 if (!SWIG_IsOK(res1
)) {
19106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19108 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19110 arg2
= wxString_in_helper(obj1
);
19111 if (arg2
== NULL
) SWIG_fail
;
19116 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19120 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
19121 wxPyEndAllowThreads(__tstate
);
19122 if (PyErr_Occurred()) SWIG_fail
;
19124 resultobj
= SWIG_Py_Void();
19139 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19140 PyObject
*resultobj
= 0;
19141 wxDC
*arg1
= (wxDC
*) 0 ;
19142 wxString
*arg2
= 0 ;
19148 bool temp2
= false ;
19155 PyObject
* obj0
= 0 ;
19156 PyObject
* obj1
= 0 ;
19157 PyObject
* obj2
= 0 ;
19158 PyObject
* obj3
= 0 ;
19159 PyObject
* obj4
= 0 ;
19160 char * kwnames
[] = {
19161 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
19164 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19165 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19166 if (!SWIG_IsOK(res1
)) {
19167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedText" "', expected argument " "1"" of type '" "wxDC *""'");
19169 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19171 arg2
= wxString_in_helper(obj1
);
19172 if (arg2
== NULL
) SWIG_fail
;
19175 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19176 if (!SWIG_IsOK(ecode3
)) {
19177 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
19179 arg3
= static_cast< int >(val3
);
19180 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19181 if (!SWIG_IsOK(ecode4
)) {
19182 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
19184 arg4
= static_cast< int >(val4
);
19185 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
19186 if (!SWIG_IsOK(ecode5
)) {
19187 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
19189 arg5
= static_cast< double >(val5
);
19191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19192 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
19193 wxPyEndAllowThreads(__tstate
);
19194 if (PyErr_Occurred()) SWIG_fail
;
19196 resultobj
= SWIG_Py_Void();
19211 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19212 PyObject
*resultobj
= 0;
19213 wxDC
*arg1
= (wxDC
*) 0 ;
19214 wxString
*arg2
= 0 ;
19215 wxPoint
*arg3
= 0 ;
19219 bool temp2
= false ;
19223 PyObject
* obj0
= 0 ;
19224 PyObject
* obj1
= 0 ;
19225 PyObject
* obj2
= 0 ;
19226 PyObject
* obj3
= 0 ;
19227 char * kwnames
[] = {
19228 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
19231 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19232 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19233 if (!SWIG_IsOK(res1
)) {
19234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19236 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19238 arg2
= wxString_in_helper(obj1
);
19239 if (arg2
== NULL
) SWIG_fail
;
19244 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19246 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
19247 if (!SWIG_IsOK(ecode4
)) {
19248 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
19250 arg4
= static_cast< double >(val4
);
19252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19253 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
19254 wxPyEndAllowThreads(__tstate
);
19255 if (PyErr_Occurred()) SWIG_fail
;
19257 resultobj
= SWIG_Py_Void();
19272 SWIGINTERN PyObject
*_wrap_DC_Blit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19273 PyObject
*resultobj
= 0;
19274 wxDC
*arg1
= (wxDC
*) 0 ;
19279 wxDC
*arg6
= (wxDC
*) 0 ;
19282 int arg9
= (int) wxCOPY
;
19283 bool arg10
= (bool) false ;
19284 int arg11
= (int) -1 ;
19285 int arg12
= (int) -1 ;
19311 PyObject
* obj0
= 0 ;
19312 PyObject
* obj1
= 0 ;
19313 PyObject
* obj2
= 0 ;
19314 PyObject
* obj3
= 0 ;
19315 PyObject
* obj4
= 0 ;
19316 PyObject
* obj5
= 0 ;
19317 PyObject
* obj6
= 0 ;
19318 PyObject
* obj7
= 0 ;
19319 PyObject
* obj8
= 0 ;
19320 PyObject
* obj9
= 0 ;
19321 PyObject
* obj10
= 0 ;
19322 PyObject
* obj11
= 0 ;
19323 char * kwnames
[] = {
19324 (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
19327 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
;
19328 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19329 if (!SWIG_IsOK(res1
)) {
19330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Blit" "', expected argument " "1"" of type '" "wxDC *""'");
19332 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19333 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19334 if (!SWIG_IsOK(ecode2
)) {
19335 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_Blit" "', expected argument " "2"" of type '" "int""'");
19337 arg2
= static_cast< int >(val2
);
19338 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19339 if (!SWIG_IsOK(ecode3
)) {
19340 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_Blit" "', expected argument " "3"" of type '" "int""'");
19342 arg3
= static_cast< int >(val3
);
19343 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19344 if (!SWIG_IsOK(ecode4
)) {
19345 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_Blit" "', expected argument " "4"" of type '" "int""'");
19347 arg4
= static_cast< int >(val4
);
19348 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19349 if (!SWIG_IsOK(ecode5
)) {
19350 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_Blit" "', expected argument " "5"" of type '" "int""'");
19352 arg5
= static_cast< int >(val5
);
19353 res6
= SWIG_ConvertPtr(obj5
, &argp6
,SWIGTYPE_p_wxDC
, 0 | 0 );
19354 if (!SWIG_IsOK(res6
)) {
19355 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_Blit" "', expected argument " "6"" of type '" "wxDC *""'");
19357 arg6
= reinterpret_cast< wxDC
* >(argp6
);
19358 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
19359 if (!SWIG_IsOK(ecode7
)) {
19360 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_Blit" "', expected argument " "7"" of type '" "int""'");
19362 arg7
= static_cast< int >(val7
);
19363 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
19364 if (!SWIG_IsOK(ecode8
)) {
19365 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DC_Blit" "', expected argument " "8"" of type '" "int""'");
19367 arg8
= static_cast< int >(val8
);
19369 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
19370 if (!SWIG_IsOK(ecode9
)) {
19371 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "DC_Blit" "', expected argument " "9"" of type '" "int""'");
19373 arg9
= static_cast< int >(val9
);
19376 ecode10
= SWIG_AsVal_bool(obj9
, &val10
);
19377 if (!SWIG_IsOK(ecode10
)) {
19378 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "DC_Blit" "', expected argument " "10"" of type '" "bool""'");
19380 arg10
= static_cast< bool >(val10
);
19383 ecode11
= SWIG_AsVal_int(obj10
, &val11
);
19384 if (!SWIG_IsOK(ecode11
)) {
19385 SWIG_exception_fail(SWIG_ArgError(ecode11
), "in method '" "DC_Blit" "', expected argument " "11"" of type '" "int""'");
19387 arg11
= static_cast< int >(val11
);
19390 ecode12
= SWIG_AsVal_int(obj11
, &val12
);
19391 if (!SWIG_IsOK(ecode12
)) {
19392 SWIG_exception_fail(SWIG_ArgError(ecode12
), "in method '" "DC_Blit" "', expected argument " "12"" of type '" "int""'");
19394 arg12
= static_cast< int >(val12
);
19397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19398 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
19399 wxPyEndAllowThreads(__tstate
);
19400 if (PyErr_Occurred()) SWIG_fail
;
19403 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19411 SWIGINTERN PyObject
*_wrap_DC_BlitPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19412 PyObject
*resultobj
= 0;
19413 wxDC
*arg1
= (wxDC
*) 0 ;
19414 wxPoint
*arg2
= 0 ;
19416 wxDC
*arg4
= (wxDC
*) 0 ;
19417 wxPoint
*arg5
= 0 ;
19418 int arg6
= (int) wxCOPY
;
19419 bool arg7
= (bool) false ;
19420 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
19421 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
19435 PyObject
* obj0
= 0 ;
19436 PyObject
* obj1
= 0 ;
19437 PyObject
* obj2
= 0 ;
19438 PyObject
* obj3
= 0 ;
19439 PyObject
* obj4
= 0 ;
19440 PyObject
* obj5
= 0 ;
19441 PyObject
* obj6
= 0 ;
19442 PyObject
* obj7
= 0 ;
19443 char * kwnames
[] = {
19444 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
19447 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
19448 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19449 if (!SWIG_IsOK(res1
)) {
19450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_BlitPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19452 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19455 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19459 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19461 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxDC
, 0 | 0 );
19462 if (!SWIG_IsOK(res4
)) {
19463 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DC_BlitPointSize" "', expected argument " "4"" of type '" "wxDC *""'");
19465 arg4
= reinterpret_cast< wxDC
* >(argp4
);
19468 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
19471 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
19472 if (!SWIG_IsOK(ecode6
)) {
19473 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_BlitPointSize" "', expected argument " "6"" of type '" "int""'");
19475 arg6
= static_cast< int >(val6
);
19478 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
19479 if (!SWIG_IsOK(ecode7
)) {
19480 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_BlitPointSize" "', expected argument " "7"" of type '" "bool""'");
19482 arg7
= static_cast< bool >(val7
);
19487 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
19491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19492 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
19493 wxPyEndAllowThreads(__tstate
);
19494 if (PyErr_Occurred()) SWIG_fail
;
19497 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19505 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19506 PyObject
*resultobj
= 0;
19507 wxDC
*arg1
= (wxDC
*) 0 ;
19522 PyObject
* obj0
= 0 ;
19523 PyObject
* obj1
= 0 ;
19524 PyObject
* obj2
= 0 ;
19525 PyObject
* obj3
= 0 ;
19526 PyObject
* obj4
= 0 ;
19527 char * kwnames
[] = {
19528 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19531 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19532 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19533 if (!SWIG_IsOK(res1
)) {
19534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
19536 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19537 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19538 if (!SWIG_IsOK(ecode2
)) {
19539 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetClippingRegion" "', expected argument " "2"" of type '" "int""'");
19541 arg2
= static_cast< int >(val2
);
19542 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19543 if (!SWIG_IsOK(ecode3
)) {
19544 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetClippingRegion" "', expected argument " "3"" of type '" "int""'");
19546 arg3
= static_cast< int >(val3
);
19547 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19548 if (!SWIG_IsOK(ecode4
)) {
19549 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_SetClippingRegion" "', expected argument " "4"" of type '" "int""'");
19551 arg4
= static_cast< int >(val4
);
19552 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19553 if (!SWIG_IsOK(ecode5
)) {
19554 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_SetClippingRegion" "', expected argument " "5"" of type '" "int""'");
19556 arg5
= static_cast< int >(val5
);
19558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19559 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
19560 wxPyEndAllowThreads(__tstate
);
19561 if (PyErr_Occurred()) SWIG_fail
;
19563 resultobj
= SWIG_Py_Void();
19570 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19571 PyObject
*resultobj
= 0;
19572 wxDC
*arg1
= (wxDC
*) 0 ;
19573 wxPoint
*arg2
= 0 ;
19579 PyObject
* obj0
= 0 ;
19580 PyObject
* obj1
= 0 ;
19581 PyObject
* obj2
= 0 ;
19582 char * kwnames
[] = {
19583 (char *) "self",(char *) "pt",(char *) "sz", NULL
19586 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19587 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19588 if (!SWIG_IsOK(res1
)) {
19589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19591 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19594 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19598 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19602 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
19603 wxPyEndAllowThreads(__tstate
);
19604 if (PyErr_Occurred()) SWIG_fail
;
19606 resultobj
= SWIG_Py_Void();
19613 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19614 PyObject
*resultobj
= 0;
19615 wxDC
*arg1
= (wxDC
*) 0 ;
19616 wxRegion
*arg2
= 0 ;
19621 PyObject
* obj0
= 0 ;
19622 PyObject
* obj1
= 0 ;
19623 char * kwnames
[] = {
19624 (char *) "self",(char *) "region", NULL
19627 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19628 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19629 if (!SWIG_IsOK(res1
)) {
19630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "1"" of type '" "wxDC *""'");
19632 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19633 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
19634 if (!SWIG_IsOK(res2
)) {
19635 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
19638 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
19640 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
19642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19643 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
19644 wxPyEndAllowThreads(__tstate
);
19645 if (PyErr_Occurred()) SWIG_fail
;
19647 resultobj
= SWIG_Py_Void();
19654 SWIGINTERN PyObject
*_wrap_DC_SetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19655 PyObject
*resultobj
= 0;
19656 wxDC
*arg1
= (wxDC
*) 0 ;
19661 PyObject
* obj0
= 0 ;
19662 PyObject
* obj1
= 0 ;
19663 char * kwnames
[] = {
19664 (char *) "self",(char *) "rect", NULL
19667 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19668 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19669 if (!SWIG_IsOK(res1
)) {
19670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
19672 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19675 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19679 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
19680 wxPyEndAllowThreads(__tstate
);
19681 if (PyErr_Occurred()) SWIG_fail
;
19683 resultobj
= SWIG_Py_Void();
19690 SWIGINTERN PyObject
*_wrap_DC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19691 PyObject
*resultobj
= 0;
19692 wxDC
*arg1
= (wxDC
*) 0 ;
19694 wxPoint
*arg3
= (wxPoint
*) 0 ;
19695 int arg4
= (int) 0 ;
19696 int arg5
= (int) 0 ;
19703 PyObject
* obj0
= 0 ;
19704 PyObject
* obj1
= 0 ;
19705 PyObject
* obj2
= 0 ;
19706 PyObject
* obj3
= 0 ;
19707 char * kwnames
[] = {
19708 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
19711 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19712 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19713 if (!SWIG_IsOK(res1
)) {
19714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLines" "', expected argument " "1"" of type '" "wxDC *""'");
19716 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19718 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
19719 if (arg3
== NULL
) SWIG_fail
;
19722 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
19723 if (!SWIG_IsOK(ecode4
)) {
19724 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLines" "', expected argument " "4"" of type '" "int""'");
19726 arg4
= static_cast< int >(val4
);
19729 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
19730 if (!SWIG_IsOK(ecode5
)) {
19731 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLines" "', expected argument " "5"" of type '" "int""'");
19733 arg5
= static_cast< int >(val5
);
19736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19737 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
19738 wxPyEndAllowThreads(__tstate
);
19739 if (PyErr_Occurred()) SWIG_fail
;
19741 resultobj
= SWIG_Py_Void();
19743 if (arg3
) delete [] arg3
;
19748 if (arg3
) delete [] arg3
;
19754 SWIGINTERN PyObject
*_wrap_DC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19755 PyObject
*resultobj
= 0;
19756 wxDC
*arg1
= (wxDC
*) 0 ;
19758 wxPoint
*arg3
= (wxPoint
*) 0 ;
19759 int arg4
= (int) 0 ;
19760 int arg5
= (int) 0 ;
19761 int arg6
= (int) wxODDEVEN_RULE
;
19770 PyObject
* obj0
= 0 ;
19771 PyObject
* obj1
= 0 ;
19772 PyObject
* obj2
= 0 ;
19773 PyObject
* obj3
= 0 ;
19774 PyObject
* obj4
= 0 ;
19775 char * kwnames
[] = {
19776 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
19779 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19780 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19781 if (!SWIG_IsOK(res1
)) {
19782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPolygon" "', expected argument " "1"" of type '" "wxDC *""'");
19784 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19786 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
19787 if (arg3
== NULL
) SWIG_fail
;
19790 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
19791 if (!SWIG_IsOK(ecode4
)) {
19792 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
19794 arg4
= static_cast< int >(val4
);
19797 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
19798 if (!SWIG_IsOK(ecode5
)) {
19799 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
19801 arg5
= static_cast< int >(val5
);
19804 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
19805 if (!SWIG_IsOK(ecode6
)) {
19806 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
19808 arg6
= static_cast< int >(val6
);
19811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19812 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
19813 wxPyEndAllowThreads(__tstate
);
19814 if (PyErr_Occurred()) SWIG_fail
;
19816 resultobj
= SWIG_Py_Void();
19818 if (arg3
) delete [] arg3
;
19823 if (arg3
) delete [] arg3
;
19829 SWIGINTERN PyObject
*_wrap_DC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19830 PyObject
*resultobj
= 0;
19831 wxDC
*arg1
= (wxDC
*) 0 ;
19832 wxString
*arg2
= 0 ;
19834 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
19835 int arg5
= (int) -1 ;
19838 bool temp2
= false ;
19844 PyObject
* obj0
= 0 ;
19845 PyObject
* obj1
= 0 ;
19846 PyObject
* obj2
= 0 ;
19847 PyObject
* obj3
= 0 ;
19848 PyObject
* obj4
= 0 ;
19849 char * kwnames
[] = {
19850 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
19853 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19854 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19855 if (!SWIG_IsOK(res1
)) {
19856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLabel" "', expected argument " "1"" of type '" "wxDC *""'");
19858 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19860 arg2
= wxString_in_helper(obj1
);
19861 if (arg2
== NULL
) SWIG_fail
;
19866 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
19869 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19870 if (!SWIG_IsOK(ecode4
)) {
19871 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
19873 arg4
= static_cast< int >(val4
);
19876 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19877 if (!SWIG_IsOK(ecode5
)) {
19878 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
19880 arg5
= static_cast< int >(val5
);
19883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19884 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
19885 wxPyEndAllowThreads(__tstate
);
19886 if (PyErr_Occurred()) SWIG_fail
;
19888 resultobj
= SWIG_Py_Void();
19903 SWIGINTERN PyObject
*_wrap_DC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19904 PyObject
*resultobj
= 0;
19905 wxDC
*arg1
= (wxDC
*) 0 ;
19906 wxString
*arg2
= 0 ;
19907 wxBitmap
*arg3
= 0 ;
19909 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
19910 int arg6
= (int) -1 ;
19914 bool temp2
= false ;
19922 PyObject
* obj0
= 0 ;
19923 PyObject
* obj1
= 0 ;
19924 PyObject
* obj2
= 0 ;
19925 PyObject
* obj3
= 0 ;
19926 PyObject
* obj4
= 0 ;
19927 PyObject
* obj5
= 0 ;
19928 char * kwnames
[] = {
19929 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
19932 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
19933 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19934 if (!SWIG_IsOK(res1
)) {
19935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawImageLabel" "', expected argument " "1"" of type '" "wxDC *""'");
19937 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19939 arg2
= wxString_in_helper(obj1
);
19940 if (arg2
== NULL
) SWIG_fail
;
19943 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
19944 if (!SWIG_IsOK(res3
)) {
19945 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
19948 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
19950 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
19953 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
19956 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19957 if (!SWIG_IsOK(ecode5
)) {
19958 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
19960 arg5
= static_cast< int >(val5
);
19963 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
19964 if (!SWIG_IsOK(ecode6
)) {
19965 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
19967 arg6
= static_cast< int >(val6
);
19970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19971 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
19972 wxPyEndAllowThreads(__tstate
);
19973 if (PyErr_Occurred()) SWIG_fail
;
19975 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
19990 SWIGINTERN PyObject
*_wrap_DC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19991 PyObject
*resultobj
= 0;
19992 wxDC
*arg1
= (wxDC
*) 0 ;
19994 wxPoint
*arg3
= (wxPoint
*) 0 ;
19997 PyObject
* obj0
= 0 ;
19998 PyObject
* obj1
= 0 ;
19999 char * kwnames
[] = {
20000 (char *) "self",(char *) "points", NULL
20003 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20004 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20005 if (!SWIG_IsOK(res1
)) {
20006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawSpline" "', expected argument " "1"" of type '" "wxDC *""'");
20008 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20010 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
20011 if (arg3
== NULL
) SWIG_fail
;
20014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20015 (arg1
)->DrawSpline(arg2
,arg3
);
20016 wxPyEndAllowThreads(__tstate
);
20017 if (PyErr_Occurred()) SWIG_fail
;
20019 resultobj
= SWIG_Py_Void();
20021 if (arg3
) delete [] arg3
;
20026 if (arg3
) delete [] arg3
;
20032 SWIGINTERN PyObject
*_wrap_DC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20033 PyObject
*resultobj
= 0;
20034 wxDC
*arg1
= (wxDC
*) 0 ;
20037 PyObject
*swig_obj
[1] ;
20039 if (!args
) SWIG_fail
;
20040 swig_obj
[0] = args
;
20041 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20042 if (!SWIG_IsOK(res1
)) {
20043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Clear" "', expected argument " "1"" of type '" "wxDC *""'");
20045 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20049 wxPyEndAllowThreads(__tstate
);
20050 if (PyErr_Occurred()) SWIG_fail
;
20052 resultobj
= SWIG_Py_Void();
20059 SWIGINTERN PyObject
*_wrap_DC_StartDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20060 PyObject
*resultobj
= 0;
20061 wxDC
*arg1
= (wxDC
*) 0 ;
20062 wxString
*arg2
= 0 ;
20066 bool temp2
= false ;
20067 PyObject
* obj0
= 0 ;
20068 PyObject
* obj1
= 0 ;
20069 char * kwnames
[] = {
20070 (char *) "self",(char *) "message", NULL
20073 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20074 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20075 if (!SWIG_IsOK(res1
)) {
20076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartDoc" "', expected argument " "1"" of type '" "wxDC *""'");
20078 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20080 arg2
= wxString_in_helper(obj1
);
20081 if (arg2
== NULL
) SWIG_fail
;
20085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20086 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
20087 wxPyEndAllowThreads(__tstate
);
20088 if (PyErr_Occurred()) SWIG_fail
;
20091 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20107 SWIGINTERN PyObject
*_wrap_DC_EndDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20108 PyObject
*resultobj
= 0;
20109 wxDC
*arg1
= (wxDC
*) 0 ;
20112 PyObject
*swig_obj
[1] ;
20114 if (!args
) SWIG_fail
;
20115 swig_obj
[0] = args
;
20116 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20117 if (!SWIG_IsOK(res1
)) {
20118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndDoc" "', expected argument " "1"" of type '" "wxDC *""'");
20120 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20124 wxPyEndAllowThreads(__tstate
);
20125 if (PyErr_Occurred()) SWIG_fail
;
20127 resultobj
= SWIG_Py_Void();
20134 SWIGINTERN PyObject
*_wrap_DC_StartPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20135 PyObject
*resultobj
= 0;
20136 wxDC
*arg1
= (wxDC
*) 0 ;
20139 PyObject
*swig_obj
[1] ;
20141 if (!args
) SWIG_fail
;
20142 swig_obj
[0] = args
;
20143 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20144 if (!SWIG_IsOK(res1
)) {
20145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartPage" "', expected argument " "1"" of type '" "wxDC *""'");
20147 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20150 (arg1
)->StartPage();
20151 wxPyEndAllowThreads(__tstate
);
20152 if (PyErr_Occurred()) SWIG_fail
;
20154 resultobj
= SWIG_Py_Void();
20161 SWIGINTERN PyObject
*_wrap_DC_EndPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20162 PyObject
*resultobj
= 0;
20163 wxDC
*arg1
= (wxDC
*) 0 ;
20166 PyObject
*swig_obj
[1] ;
20168 if (!args
) SWIG_fail
;
20169 swig_obj
[0] = args
;
20170 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20171 if (!SWIG_IsOK(res1
)) {
20172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndPage" "', expected argument " "1"" of type '" "wxDC *""'");
20174 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20178 wxPyEndAllowThreads(__tstate
);
20179 if (PyErr_Occurred()) SWIG_fail
;
20181 resultobj
= SWIG_Py_Void();
20188 SWIGINTERN PyObject
*_wrap_DC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20189 PyObject
*resultobj
= 0;
20190 wxDC
*arg1
= (wxDC
*) 0 ;
20196 PyObject
* obj0
= 0 ;
20197 PyObject
* obj1
= 0 ;
20198 char * kwnames
[] = {
20199 (char *) "self",(char *) "font", NULL
20202 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20203 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20204 if (!SWIG_IsOK(res1
)) {
20205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetFont" "', expected argument " "1"" of type '" "wxDC *""'");
20207 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20208 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
20209 if (!SWIG_IsOK(res2
)) {
20210 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
20213 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
20215 arg2
= reinterpret_cast< wxFont
* >(argp2
);
20217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20218 (arg1
)->SetFont((wxFont
const &)*arg2
);
20219 wxPyEndAllowThreads(__tstate
);
20220 if (PyErr_Occurred()) SWIG_fail
;
20222 resultobj
= SWIG_Py_Void();
20229 SWIGINTERN PyObject
*_wrap_DC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20230 PyObject
*resultobj
= 0;
20231 wxDC
*arg1
= (wxDC
*) 0 ;
20237 PyObject
* obj0
= 0 ;
20238 PyObject
* obj1
= 0 ;
20239 char * kwnames
[] = {
20240 (char *) "self",(char *) "pen", NULL
20243 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20244 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20245 if (!SWIG_IsOK(res1
)) {
20246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPen" "', expected argument " "1"" of type '" "wxDC *""'");
20248 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20249 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
20250 if (!SWIG_IsOK(res2
)) {
20251 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
20254 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
20256 arg2
= reinterpret_cast< wxPen
* >(argp2
);
20258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20259 (arg1
)->SetPen((wxPen
const &)*arg2
);
20260 wxPyEndAllowThreads(__tstate
);
20261 if (PyErr_Occurred()) SWIG_fail
;
20263 resultobj
= SWIG_Py_Void();
20270 SWIGINTERN PyObject
*_wrap_DC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20271 PyObject
*resultobj
= 0;
20272 wxDC
*arg1
= (wxDC
*) 0 ;
20273 wxBrush
*arg2
= 0 ;
20278 PyObject
* obj0
= 0 ;
20279 PyObject
* obj1
= 0 ;
20280 char * kwnames
[] = {
20281 (char *) "self",(char *) "brush", NULL
20284 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20285 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20286 if (!SWIG_IsOK(res1
)) {
20287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBrush" "', expected argument " "1"" of type '" "wxDC *""'");
20289 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20290 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
20291 if (!SWIG_IsOK(res2
)) {
20292 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
20295 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
20297 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
20299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20300 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
20301 wxPyEndAllowThreads(__tstate
);
20302 if (PyErr_Occurred()) SWIG_fail
;
20304 resultobj
= SWIG_Py_Void();
20311 SWIGINTERN PyObject
*_wrap_DC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20312 PyObject
*resultobj
= 0;
20313 wxDC
*arg1
= (wxDC
*) 0 ;
20314 wxBrush
*arg2
= 0 ;
20319 PyObject
* obj0
= 0 ;
20320 PyObject
* obj1
= 0 ;
20321 char * kwnames
[] = {
20322 (char *) "self",(char *) "brush", NULL
20325 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20326 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20327 if (!SWIG_IsOK(res1
)) {
20328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackground" "', expected argument " "1"" of type '" "wxDC *""'");
20330 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20331 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
20332 if (!SWIG_IsOK(res2
)) {
20333 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
20336 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
20338 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
20340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20341 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
20342 wxPyEndAllowThreads(__tstate
);
20343 if (PyErr_Occurred()) SWIG_fail
;
20345 resultobj
= SWIG_Py_Void();
20352 SWIGINTERN PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20353 PyObject
*resultobj
= 0;
20354 wxDC
*arg1
= (wxDC
*) 0 ;
20360 PyObject
* obj0
= 0 ;
20361 PyObject
* obj1
= 0 ;
20362 char * kwnames
[] = {
20363 (char *) "self",(char *) "mode", NULL
20366 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20367 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20368 if (!SWIG_IsOK(res1
)) {
20369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxDC *""'");
20371 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20372 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20373 if (!SWIG_IsOK(ecode2
)) {
20374 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
20376 arg2
= static_cast< int >(val2
);
20378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20379 (arg1
)->SetBackgroundMode(arg2
);
20380 wxPyEndAllowThreads(__tstate
);
20381 if (PyErr_Occurred()) SWIG_fail
;
20383 resultobj
= SWIG_Py_Void();
20390 SWIGINTERN PyObject
*_wrap_DC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20391 PyObject
*resultobj
= 0;
20392 wxDC
*arg1
= (wxDC
*) 0 ;
20393 wxPalette
*arg2
= 0 ;
20398 PyObject
* obj0
= 0 ;
20399 PyObject
* obj1
= 0 ;
20400 char * kwnames
[] = {
20401 (char *) "self",(char *) "palette", NULL
20404 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20405 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20406 if (!SWIG_IsOK(res1
)) {
20407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPalette" "', expected argument " "1"" of type '" "wxDC *""'");
20409 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20410 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
20411 if (!SWIG_IsOK(res2
)) {
20412 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
20415 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
20417 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
20419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20420 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
20421 wxPyEndAllowThreads(__tstate
);
20422 if (PyErr_Occurred()) SWIG_fail
;
20424 resultobj
= SWIG_Py_Void();
20431 SWIGINTERN PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20432 PyObject
*resultobj
= 0;
20433 wxDC
*arg1
= (wxDC
*) 0 ;
20436 PyObject
*swig_obj
[1] ;
20438 if (!args
) SWIG_fail
;
20439 swig_obj
[0] = args
;
20440 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20441 if (!SWIG_IsOK(res1
)) {
20442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DestroyClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
20444 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20447 (arg1
)->DestroyClippingRegion();
20448 wxPyEndAllowThreads(__tstate
);
20449 if (PyErr_Occurred()) SWIG_fail
;
20451 resultobj
= SWIG_Py_Void();
20458 SWIGINTERN PyObject
*_wrap_DC_GetClippingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20459 PyObject
*resultobj
= 0;
20460 wxDC
*arg1
= (wxDC
*) 0 ;
20461 int *arg2
= (int *) 0 ;
20462 int *arg3
= (int *) 0 ;
20463 int *arg4
= (int *) 0 ;
20464 int *arg5
= (int *) 0 ;
20468 int res2
= SWIG_TMPOBJ
;
20470 int res3
= SWIG_TMPOBJ
;
20472 int res4
= SWIG_TMPOBJ
;
20474 int res5
= SWIG_TMPOBJ
;
20475 PyObject
*swig_obj
[1] ;
20481 if (!args
) SWIG_fail
;
20482 swig_obj
[0] = args
;
20483 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20484 if (!SWIG_IsOK(res1
)) {
20485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingBox" "', expected argument " "1"" of type '" "wxDC const *""'");
20487 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20490 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
20491 wxPyEndAllowThreads(__tstate
);
20492 if (PyErr_Occurred()) SWIG_fail
;
20494 resultobj
= SWIG_Py_Void();
20495 if (SWIG_IsTmpObj(res2
)) {
20496 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
20498 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20499 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
20501 if (SWIG_IsTmpObj(res3
)) {
20502 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20504 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20505 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20507 if (SWIG_IsTmpObj(res4
)) {
20508 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
20510 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20511 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
20513 if (SWIG_IsTmpObj(res5
)) {
20514 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
20516 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20517 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
20525 SWIGINTERN PyObject
*_wrap_DC_GetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20526 PyObject
*resultobj
= 0;
20527 wxDC
*arg1
= (wxDC
*) 0 ;
20531 PyObject
*swig_obj
[1] ;
20533 if (!args
) SWIG_fail
;
20534 swig_obj
[0] = args
;
20535 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20536 if (!SWIG_IsOK(res1
)) {
20537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
20539 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20542 result
= wxDC_GetClippingRect(arg1
);
20543 wxPyEndAllowThreads(__tstate
);
20544 if (PyErr_Occurred()) SWIG_fail
;
20546 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
20553 SWIGINTERN PyObject
*_wrap_DC_GetCharHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20554 PyObject
*resultobj
= 0;
20555 wxDC
*arg1
= (wxDC
*) 0 ;
20559 PyObject
*swig_obj
[1] ;
20561 if (!args
) SWIG_fail
;
20562 swig_obj
[0] = args
;
20563 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20564 if (!SWIG_IsOK(res1
)) {
20565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharHeight" "', expected argument " "1"" of type '" "wxDC const *""'");
20567 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20570 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
20571 wxPyEndAllowThreads(__tstate
);
20572 if (PyErr_Occurred()) SWIG_fail
;
20574 resultobj
= SWIG_From_int(static_cast< int >(result
));
20581 SWIGINTERN PyObject
*_wrap_DC_GetCharWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20582 PyObject
*resultobj
= 0;
20583 wxDC
*arg1
= (wxDC
*) 0 ;
20587 PyObject
*swig_obj
[1] ;
20589 if (!args
) SWIG_fail
;
20590 swig_obj
[0] = args
;
20591 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20592 if (!SWIG_IsOK(res1
)) {
20593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharWidth" "', expected argument " "1"" of type '" "wxDC const *""'");
20595 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20598 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
20599 wxPyEndAllowThreads(__tstate
);
20600 if (PyErr_Occurred()) SWIG_fail
;
20602 resultobj
= SWIG_From_int(static_cast< int >(result
));
20609 SWIGINTERN PyObject
*_wrap_DC_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20610 PyObject
*resultobj
= 0;
20611 wxDC
*arg1
= (wxDC
*) 0 ;
20612 wxString
*arg2
= 0 ;
20613 int *arg3
= (int *) 0 ;
20614 int *arg4
= (int *) 0 ;
20617 bool temp2
= false ;
20619 int res3
= SWIG_TMPOBJ
;
20621 int res4
= SWIG_TMPOBJ
;
20622 PyObject
* obj0
= 0 ;
20623 PyObject
* obj1
= 0 ;
20624 char * kwnames
[] = {
20625 (char *) "self",(char *) "string", NULL
20630 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20631 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20632 if (!SWIG_IsOK(res1
)) {
20633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
20635 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20637 arg2
= wxString_in_helper(obj1
);
20638 if (arg2
== NULL
) SWIG_fail
;
20642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20643 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
20644 wxPyEndAllowThreads(__tstate
);
20645 if (PyErr_Occurred()) SWIG_fail
;
20647 resultobj
= SWIG_Py_Void();
20648 if (SWIG_IsTmpObj(res3
)) {
20649 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20651 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20652 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20654 if (SWIG_IsTmpObj(res4
)) {
20655 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
20657 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20658 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
20674 SWIGINTERN PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20675 PyObject
*resultobj
= 0;
20676 wxDC
*arg1
= (wxDC
*) 0 ;
20677 wxString
*arg2
= 0 ;
20678 int *arg3
= (int *) 0 ;
20679 int *arg4
= (int *) 0 ;
20680 int *arg5
= (int *) 0 ;
20681 int *arg6
= (int *) 0 ;
20682 wxFont
*arg7
= (wxFont
*) NULL
;
20685 bool temp2
= false ;
20687 int res3
= SWIG_TMPOBJ
;
20689 int res4
= SWIG_TMPOBJ
;
20691 int res5
= SWIG_TMPOBJ
;
20693 int res6
= SWIG_TMPOBJ
;
20696 PyObject
* obj0
= 0 ;
20697 PyObject
* obj1
= 0 ;
20698 PyObject
* obj2
= 0 ;
20699 char * kwnames
[] = {
20700 (char *) "self",(char *) "string",(char *) "font", NULL
20707 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20708 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20709 if (!SWIG_IsOK(res1
)) {
20710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFullTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
20712 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20714 arg2
= wxString_in_helper(obj1
);
20715 if (arg2
== NULL
) SWIG_fail
;
20719 res7
= SWIG_ConvertPtr(obj2
, &argp7
,SWIGTYPE_p_wxFont
, 0 | 0 );
20720 if (!SWIG_IsOK(res7
)) {
20721 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "DC_GetFullTextExtent" "', expected argument " "7"" of type '" "wxFont *""'");
20723 arg7
= reinterpret_cast< wxFont
* >(argp7
);
20726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20727 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
20728 wxPyEndAllowThreads(__tstate
);
20729 if (PyErr_Occurred()) SWIG_fail
;
20731 resultobj
= SWIG_Py_Void();
20732 if (SWIG_IsTmpObj(res3
)) {
20733 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20735 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20736 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20738 if (SWIG_IsTmpObj(res4
)) {
20739 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
20741 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20742 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
20744 if (SWIG_IsTmpObj(res5
)) {
20745 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
20747 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20748 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
20750 if (SWIG_IsTmpObj(res6
)) {
20751 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg6
)));
20753 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20754 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, new_flags
));
20770 SWIGINTERN PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20771 PyObject
*resultobj
= 0;
20772 wxDC
*arg1
= (wxDC
*) 0 ;
20773 wxString
*arg2
= 0 ;
20774 int *arg3
= (int *) 0 ;
20775 int *arg4
= (int *) 0 ;
20776 int *arg5
= (int *) 0 ;
20777 wxFont
*arg6
= (wxFont
*) NULL
;
20780 bool temp2
= false ;
20782 int res3
= SWIG_TMPOBJ
;
20784 int res4
= SWIG_TMPOBJ
;
20786 int res5
= SWIG_TMPOBJ
;
20789 PyObject
* obj0
= 0 ;
20790 PyObject
* obj1
= 0 ;
20791 PyObject
* obj2
= 0 ;
20792 char * kwnames
[] = {
20793 (char *) "self",(char *) "text",(char *) "font", NULL
20799 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20800 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20801 if (!SWIG_IsOK(res1
)) {
20802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
20804 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20806 arg2
= wxString_in_helper(obj1
);
20807 if (arg2
== NULL
) SWIG_fail
;
20811 res6
= SWIG_ConvertPtr(obj2
, &argp6
,SWIGTYPE_p_wxFont
, 0 | 0 );
20812 if (!SWIG_IsOK(res6
)) {
20813 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "6"" of type '" "wxFont *""'");
20815 arg6
= reinterpret_cast< wxFont
* >(argp6
);
20818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20819 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
20820 wxPyEndAllowThreads(__tstate
);
20821 if (PyErr_Occurred()) SWIG_fail
;
20823 resultobj
= SWIG_Py_Void();
20824 if (SWIG_IsTmpObj(res3
)) {
20825 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20827 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20828 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20830 if (SWIG_IsTmpObj(res4
)) {
20831 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
20833 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20834 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
20836 if (SWIG_IsTmpObj(res5
)) {
20837 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
20839 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20840 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
20856 SWIGINTERN PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20857 PyObject
*resultobj
= 0;
20858 wxDC
*arg1
= (wxDC
*) 0 ;
20859 wxString
*arg2
= 0 ;
20863 bool temp2
= false ;
20864 PyObject
* obj0
= 0 ;
20865 PyObject
* obj1
= 0 ;
20866 char * kwnames
[] = {
20867 (char *) "self",(char *) "text", NULL
20870 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20871 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20872 if (!SWIG_IsOK(res1
)) {
20873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxDC *""'");
20875 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20877 arg2
= wxString_in_helper(obj1
);
20878 if (arg2
== NULL
) SWIG_fail
;
20882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20883 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
20884 wxPyEndAllowThreads(__tstate
);
20885 if (PyErr_Occurred()) SWIG_fail
;
20888 resultobj
= wxArrayInt2PyList_helper(result
);
20904 SWIGINTERN PyObject
*_wrap_DC_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20905 PyObject
*resultobj
= 0;
20906 wxDC
*arg1
= (wxDC
*) 0 ;
20910 PyObject
*swig_obj
[1] ;
20912 if (!args
) SWIG_fail
;
20913 swig_obj
[0] = args
;
20914 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20915 if (!SWIG_IsOK(res1
)) {
20916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSize" "', expected argument " "1"" of type '" "wxDC *""'");
20918 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20921 result
= (arg1
)->GetSize();
20922 wxPyEndAllowThreads(__tstate
);
20923 if (PyErr_Occurred()) SWIG_fail
;
20925 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
20932 SWIGINTERN PyObject
*_wrap_DC_GetSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20933 PyObject
*resultobj
= 0;
20934 wxDC
*arg1
= (wxDC
*) 0 ;
20935 int *arg2
= (int *) 0 ;
20936 int *arg3
= (int *) 0 ;
20940 int res2
= SWIG_TMPOBJ
;
20942 int res3
= SWIG_TMPOBJ
;
20943 PyObject
*swig_obj
[1] ;
20947 if (!args
) SWIG_fail
;
20948 swig_obj
[0] = args
;
20949 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20950 if (!SWIG_IsOK(res1
)) {
20951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeTuple" "', expected argument " "1"" of type '" "wxDC *""'");
20953 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20956 (arg1
)->GetSize(arg2
,arg3
);
20957 wxPyEndAllowThreads(__tstate
);
20958 if (PyErr_Occurred()) SWIG_fail
;
20960 resultobj
= SWIG_Py_Void();
20961 if (SWIG_IsTmpObj(res2
)) {
20962 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
20964 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20965 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
20967 if (SWIG_IsTmpObj(res3
)) {
20968 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20970 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20971 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20979 SWIGINTERN PyObject
*_wrap_DC_GetSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20980 PyObject
*resultobj
= 0;
20981 wxDC
*arg1
= (wxDC
*) 0 ;
20985 PyObject
*swig_obj
[1] ;
20987 if (!args
) SWIG_fail
;
20988 swig_obj
[0] = args
;
20989 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20990 if (!SWIG_IsOK(res1
)) {
20991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMM" "', expected argument " "1"" of type '" "wxDC const *""'");
20993 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20996 result
= ((wxDC
const *)arg1
)->GetSizeMM();
20997 wxPyEndAllowThreads(__tstate
);
20998 if (PyErr_Occurred()) SWIG_fail
;
21000 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21007 SWIGINTERN PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21008 PyObject
*resultobj
= 0;
21009 wxDC
*arg1
= (wxDC
*) 0 ;
21010 int *arg2
= (int *) 0 ;
21011 int *arg3
= (int *) 0 ;
21015 int res2
= SWIG_TMPOBJ
;
21017 int res3
= SWIG_TMPOBJ
;
21018 PyObject
*swig_obj
[1] ;
21022 if (!args
) SWIG_fail
;
21023 swig_obj
[0] = args
;
21024 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21025 if (!SWIG_IsOK(res1
)) {
21026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMMTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
21028 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21031 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
21032 wxPyEndAllowThreads(__tstate
);
21033 if (PyErr_Occurred()) SWIG_fail
;
21035 resultobj
= SWIG_Py_Void();
21036 if (SWIG_IsTmpObj(res2
)) {
21037 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21039 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21040 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21042 if (SWIG_IsTmpObj(res3
)) {
21043 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21045 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21046 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21054 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21055 PyObject
*resultobj
= 0;
21056 wxDC
*arg1
= (wxDC
*) 0 ;
21063 PyObject
* obj0
= 0 ;
21064 PyObject
* obj1
= 0 ;
21065 char * kwnames
[] = {
21066 (char *) "self",(char *) "x", NULL
21069 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21070 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21071 if (!SWIG_IsOK(res1
)) {
21072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "1"" of type '" "wxDC const *""'");
21074 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21075 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21076 if (!SWIG_IsOK(ecode2
)) {
21077 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "2"" of type '" "int""'");
21079 arg2
= static_cast< int >(val2
);
21081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21082 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
21083 wxPyEndAllowThreads(__tstate
);
21084 if (PyErr_Occurred()) SWIG_fail
;
21086 resultobj
= SWIG_From_int(static_cast< int >(result
));
21093 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21094 PyObject
*resultobj
= 0;
21095 wxDC
*arg1
= (wxDC
*) 0 ;
21102 PyObject
* obj0
= 0 ;
21103 PyObject
* obj1
= 0 ;
21104 char * kwnames
[] = {
21105 (char *) "self",(char *) "y", NULL
21108 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21109 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21110 if (!SWIG_IsOK(res1
)) {
21111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "1"" of type '" "wxDC const *""'");
21113 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21114 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21115 if (!SWIG_IsOK(ecode2
)) {
21116 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "2"" of type '" "int""'");
21118 arg2
= static_cast< int >(val2
);
21120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21121 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
21122 wxPyEndAllowThreads(__tstate
);
21123 if (PyErr_Occurred()) SWIG_fail
;
21125 resultobj
= SWIG_From_int(static_cast< int >(result
));
21132 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21133 PyObject
*resultobj
= 0;
21134 wxDC
*arg1
= (wxDC
*) 0 ;
21141 PyObject
* obj0
= 0 ;
21142 PyObject
* obj1
= 0 ;
21143 char * kwnames
[] = {
21144 (char *) "self",(char *) "x", NULL
21147 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21148 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21149 if (!SWIG_IsOK(res1
)) {
21150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21152 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21153 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21154 if (!SWIG_IsOK(ecode2
)) {
21155 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "2"" of type '" "int""'");
21157 arg2
= static_cast< int >(val2
);
21159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21160 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
21161 wxPyEndAllowThreads(__tstate
);
21162 if (PyErr_Occurred()) SWIG_fail
;
21164 resultobj
= SWIG_From_int(static_cast< int >(result
));
21171 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21172 PyObject
*resultobj
= 0;
21173 wxDC
*arg1
= (wxDC
*) 0 ;
21180 PyObject
* obj0
= 0 ;
21181 PyObject
* obj1
= 0 ;
21182 char * kwnames
[] = {
21183 (char *) "self",(char *) "y", NULL
21186 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21187 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21188 if (!SWIG_IsOK(res1
)) {
21189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21191 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21192 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21193 if (!SWIG_IsOK(ecode2
)) {
21194 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "2"" of type '" "int""'");
21196 arg2
= static_cast< int >(val2
);
21198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21199 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
21200 wxPyEndAllowThreads(__tstate
);
21201 if (PyErr_Occurred()) SWIG_fail
;
21203 resultobj
= SWIG_From_int(static_cast< int >(result
));
21210 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21211 PyObject
*resultobj
= 0;
21212 wxDC
*arg1
= (wxDC
*) 0 ;
21219 PyObject
* obj0
= 0 ;
21220 PyObject
* obj1
= 0 ;
21221 char * kwnames
[] = {
21222 (char *) "self",(char *) "x", NULL
21225 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21226 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21227 if (!SWIG_IsOK(res1
)) {
21228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "1"" of type '" "wxDC const *""'");
21230 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21231 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21232 if (!SWIG_IsOK(ecode2
)) {
21233 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "2"" of type '" "int""'");
21235 arg2
= static_cast< int >(val2
);
21237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21238 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
21239 wxPyEndAllowThreads(__tstate
);
21240 if (PyErr_Occurred()) SWIG_fail
;
21242 resultobj
= SWIG_From_int(static_cast< int >(result
));
21249 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21250 PyObject
*resultobj
= 0;
21251 wxDC
*arg1
= (wxDC
*) 0 ;
21258 PyObject
* obj0
= 0 ;
21259 PyObject
* obj1
= 0 ;
21260 char * kwnames
[] = {
21261 (char *) "self",(char *) "y", NULL
21264 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21265 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21266 if (!SWIG_IsOK(res1
)) {
21267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "1"" of type '" "wxDC const *""'");
21269 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21270 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21271 if (!SWIG_IsOK(ecode2
)) {
21272 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "2"" of type '" "int""'");
21274 arg2
= static_cast< int >(val2
);
21276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21277 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
21278 wxPyEndAllowThreads(__tstate
);
21279 if (PyErr_Occurred()) SWIG_fail
;
21281 resultobj
= SWIG_From_int(static_cast< int >(result
));
21288 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21289 PyObject
*resultobj
= 0;
21290 wxDC
*arg1
= (wxDC
*) 0 ;
21297 PyObject
* obj0
= 0 ;
21298 PyObject
* obj1
= 0 ;
21299 char * kwnames
[] = {
21300 (char *) "self",(char *) "x", NULL
21303 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21304 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21305 if (!SWIG_IsOK(res1
)) {
21306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21308 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21309 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21310 if (!SWIG_IsOK(ecode2
)) {
21311 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "2"" of type '" "int""'");
21313 arg2
= static_cast< int >(val2
);
21315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21316 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
21317 wxPyEndAllowThreads(__tstate
);
21318 if (PyErr_Occurred()) SWIG_fail
;
21320 resultobj
= SWIG_From_int(static_cast< int >(result
));
21327 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21328 PyObject
*resultobj
= 0;
21329 wxDC
*arg1
= (wxDC
*) 0 ;
21336 PyObject
* obj0
= 0 ;
21337 PyObject
* obj1
= 0 ;
21338 char * kwnames
[] = {
21339 (char *) "self",(char *) "y", NULL
21342 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21343 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21344 if (!SWIG_IsOK(res1
)) {
21345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21347 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21348 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21349 if (!SWIG_IsOK(ecode2
)) {
21350 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "2"" of type '" "int""'");
21352 arg2
= static_cast< int >(val2
);
21354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21355 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
21356 wxPyEndAllowThreads(__tstate
);
21357 if (PyErr_Occurred()) SWIG_fail
;
21359 resultobj
= SWIG_From_int(static_cast< int >(result
));
21366 SWIGINTERN PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21367 PyObject
*resultobj
= 0;
21368 wxDC
*arg1
= (wxDC
*) 0 ;
21372 PyObject
*swig_obj
[1] ;
21374 if (!args
) SWIG_fail
;
21375 swig_obj
[0] = args
;
21376 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21377 if (!SWIG_IsOK(res1
)) {
21378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanDrawBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
21380 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21383 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
21384 wxPyEndAllowThreads(__tstate
);
21385 if (PyErr_Occurred()) SWIG_fail
;
21388 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21396 SWIGINTERN PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21397 PyObject
*resultobj
= 0;
21398 wxDC
*arg1
= (wxDC
*) 0 ;
21402 PyObject
*swig_obj
[1] ;
21404 if (!args
) SWIG_fail
;
21405 swig_obj
[0] = args
;
21406 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21407 if (!SWIG_IsOK(res1
)) {
21408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanGetTextExtent" "', expected argument " "1"" of type '" "wxDC const *""'");
21410 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21413 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
21414 wxPyEndAllowThreads(__tstate
);
21415 if (PyErr_Occurred()) SWIG_fail
;
21418 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21426 SWIGINTERN PyObject
*_wrap_DC_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21427 PyObject
*resultobj
= 0;
21428 wxDC
*arg1
= (wxDC
*) 0 ;
21432 PyObject
*swig_obj
[1] ;
21434 if (!args
) SWIG_fail
;
21435 swig_obj
[0] = args
;
21436 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21437 if (!SWIG_IsOK(res1
)) {
21438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDepth" "', expected argument " "1"" of type '" "wxDC const *""'");
21440 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21443 result
= (int)((wxDC
const *)arg1
)->GetDepth();
21444 wxPyEndAllowThreads(__tstate
);
21445 if (PyErr_Occurred()) SWIG_fail
;
21447 resultobj
= SWIG_From_int(static_cast< int >(result
));
21454 SWIGINTERN PyObject
*_wrap_DC_GetPPI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21455 PyObject
*resultobj
= 0;
21456 wxDC
*arg1
= (wxDC
*) 0 ;
21460 PyObject
*swig_obj
[1] ;
21462 if (!args
) SWIG_fail
;
21463 swig_obj
[0] = args
;
21464 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21465 if (!SWIG_IsOK(res1
)) {
21466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPPI" "', expected argument " "1"" of type '" "wxDC const *""'");
21468 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21471 result
= ((wxDC
const *)arg1
)->GetPPI();
21472 wxPyEndAllowThreads(__tstate
);
21473 if (PyErr_Occurred()) SWIG_fail
;
21475 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21482 SWIGINTERN PyObject
*_wrap_DC_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21483 PyObject
*resultobj
= 0;
21484 wxDC
*arg1
= (wxDC
*) 0 ;
21488 PyObject
*swig_obj
[1] ;
21490 if (!args
) SWIG_fail
;
21491 swig_obj
[0] = args
;
21492 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21493 if (!SWIG_IsOK(res1
)) {
21494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_IsOk" "', expected argument " "1"" of type '" "wxDC const *""'");
21496 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21499 result
= (bool)((wxDC
const *)arg1
)->IsOk();
21500 wxPyEndAllowThreads(__tstate
);
21501 if (PyErr_Occurred()) SWIG_fail
;
21504 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21512 SWIGINTERN PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21513 PyObject
*resultobj
= 0;
21514 wxDC
*arg1
= (wxDC
*) 0 ;
21518 PyObject
*swig_obj
[1] ;
21520 if (!args
) SWIG_fail
;
21521 swig_obj
[0] = args
;
21522 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21523 if (!SWIG_IsOK(res1
)) {
21524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackgroundMode" "', expected argument " "1"" of type '" "wxDC const *""'");
21526 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21529 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
21530 wxPyEndAllowThreads(__tstate
);
21531 if (PyErr_Occurred()) SWIG_fail
;
21533 resultobj
= SWIG_From_int(static_cast< int >(result
));
21540 SWIGINTERN PyObject
*_wrap_DC_GetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21541 PyObject
*resultobj
= 0;
21542 wxDC
*arg1
= (wxDC
*) 0 ;
21543 wxBrush
*result
= 0 ;
21546 PyObject
*swig_obj
[1] ;
21548 if (!args
) SWIG_fail
;
21549 swig_obj
[0] = args
;
21550 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21551 if (!SWIG_IsOK(res1
)) {
21552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
21554 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21558 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
21559 result
= (wxBrush
*) &_result_ref
;
21561 wxPyEndAllowThreads(__tstate
);
21562 if (PyErr_Occurred()) SWIG_fail
;
21565 wxBrush
* resultptr
= new wxBrush(*result
);
21566 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
21574 SWIGINTERN PyObject
*_wrap_DC_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21575 PyObject
*resultobj
= 0;
21576 wxDC
*arg1
= (wxDC
*) 0 ;
21577 wxBrush
*result
= 0 ;
21580 PyObject
*swig_obj
[1] ;
21582 if (!args
) SWIG_fail
;
21583 swig_obj
[0] = args
;
21584 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21585 if (!SWIG_IsOK(res1
)) {
21586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBrush" "', expected argument " "1"" of type '" "wxDC const *""'");
21588 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21592 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
21593 result
= (wxBrush
*) &_result_ref
;
21595 wxPyEndAllowThreads(__tstate
);
21596 if (PyErr_Occurred()) SWIG_fail
;
21599 wxBrush
* resultptr
= new wxBrush(*result
);
21600 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
21608 SWIGINTERN PyObject
*_wrap_DC_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21609 PyObject
*resultobj
= 0;
21610 wxDC
*arg1
= (wxDC
*) 0 ;
21611 wxFont
*result
= 0 ;
21614 PyObject
*swig_obj
[1] ;
21616 if (!args
) SWIG_fail
;
21617 swig_obj
[0] = args
;
21618 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21619 if (!SWIG_IsOK(res1
)) {
21620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFont" "', expected argument " "1"" of type '" "wxDC const *""'");
21622 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21626 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
21627 result
= (wxFont
*) &_result_ref
;
21629 wxPyEndAllowThreads(__tstate
);
21630 if (PyErr_Occurred()) SWIG_fail
;
21633 wxFont
* resultptr
= new wxFont(*result
);
21634 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
21642 SWIGINTERN PyObject
*_wrap_DC_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21643 PyObject
*resultobj
= 0;
21644 wxDC
*arg1
= (wxDC
*) 0 ;
21645 wxPen
*result
= 0 ;
21648 PyObject
*swig_obj
[1] ;
21650 if (!args
) SWIG_fail
;
21651 swig_obj
[0] = args
;
21652 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21653 if (!SWIG_IsOK(res1
)) {
21654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPen" "', expected argument " "1"" of type '" "wxDC const *""'");
21656 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21660 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
21661 result
= (wxPen
*) &_result_ref
;
21663 wxPyEndAllowThreads(__tstate
);
21664 if (PyErr_Occurred()) SWIG_fail
;
21667 wxPen
* resultptr
= new wxPen(*result
);
21668 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
21676 SWIGINTERN PyObject
*_wrap_DC_GetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21677 PyObject
*resultobj
= 0;
21678 wxDC
*arg1
= (wxDC
*) 0 ;
21679 wxColour
*result
= 0 ;
21682 PyObject
*swig_obj
[1] ;
21684 if (!args
) SWIG_fail
;
21685 swig_obj
[0] = args
;
21686 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21687 if (!SWIG_IsOK(res1
)) {
21688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
21690 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21694 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
21695 result
= (wxColour
*) &_result_ref
;
21697 wxPyEndAllowThreads(__tstate
);
21698 if (PyErr_Occurred()) SWIG_fail
;
21700 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
21707 SWIGINTERN PyObject
*_wrap_DC_GetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21708 PyObject
*resultobj
= 0;
21709 wxDC
*arg1
= (wxDC
*) 0 ;
21710 wxColour
*result
= 0 ;
21713 PyObject
*swig_obj
[1] ;
21715 if (!args
) SWIG_fail
;
21716 swig_obj
[0] = args
;
21717 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21718 if (!SWIG_IsOK(res1
)) {
21719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextForeground" "', expected argument " "1"" of type '" "wxDC const *""'");
21721 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21725 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
21726 result
= (wxColour
*) &_result_ref
;
21728 wxPyEndAllowThreads(__tstate
);
21729 if (PyErr_Occurred()) SWIG_fail
;
21731 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
21738 SWIGINTERN PyObject
*_wrap_DC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21739 PyObject
*resultobj
= 0;
21740 wxDC
*arg1
= (wxDC
*) 0 ;
21741 wxColour
*arg2
= 0 ;
21745 PyObject
* obj0
= 0 ;
21746 PyObject
* obj1
= 0 ;
21747 char * kwnames
[] = {
21748 (char *) "self",(char *) "colour", NULL
21751 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21752 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21753 if (!SWIG_IsOK(res1
)) {
21754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextForeground" "', expected argument " "1"" of type '" "wxDC *""'");
21756 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21759 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21763 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
21764 wxPyEndAllowThreads(__tstate
);
21765 if (PyErr_Occurred()) SWIG_fail
;
21767 resultobj
= SWIG_Py_Void();
21774 SWIGINTERN PyObject
*_wrap_DC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21775 PyObject
*resultobj
= 0;
21776 wxDC
*arg1
= (wxDC
*) 0 ;
21777 wxColour
*arg2
= 0 ;
21781 PyObject
* obj0
= 0 ;
21782 PyObject
* obj1
= 0 ;
21783 char * kwnames
[] = {
21784 (char *) "self",(char *) "colour", NULL
21787 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21788 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21789 if (!SWIG_IsOK(res1
)) {
21790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextBackground" "', expected argument " "1"" of type '" "wxDC *""'");
21792 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21795 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21799 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
21800 wxPyEndAllowThreads(__tstate
);
21801 if (PyErr_Occurred()) SWIG_fail
;
21803 resultobj
= SWIG_Py_Void();
21810 SWIGINTERN PyObject
*_wrap_DC_GetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21811 PyObject
*resultobj
= 0;
21812 wxDC
*arg1
= (wxDC
*) 0 ;
21816 PyObject
*swig_obj
[1] ;
21818 if (!args
) SWIG_fail
;
21819 swig_obj
[0] = args
;
21820 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21821 if (!SWIG_IsOK(res1
)) {
21822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMapMode" "', expected argument " "1"" of type '" "wxDC const *""'");
21824 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21827 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
21828 wxPyEndAllowThreads(__tstate
);
21829 if (PyErr_Occurred()) SWIG_fail
;
21831 resultobj
= SWIG_From_int(static_cast< int >(result
));
21838 SWIGINTERN PyObject
*_wrap_DC_SetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21839 PyObject
*resultobj
= 0;
21840 wxDC
*arg1
= (wxDC
*) 0 ;
21846 PyObject
* obj0
= 0 ;
21847 PyObject
* obj1
= 0 ;
21848 char * kwnames
[] = {
21849 (char *) "self",(char *) "mode", NULL
21852 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21853 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21854 if (!SWIG_IsOK(res1
)) {
21855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetMapMode" "', expected argument " "1"" of type '" "wxDC *""'");
21857 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21858 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21859 if (!SWIG_IsOK(ecode2
)) {
21860 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetMapMode" "', expected argument " "2"" of type '" "int""'");
21862 arg2
= static_cast< int >(val2
);
21864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21865 (arg1
)->SetMapMode(arg2
);
21866 wxPyEndAllowThreads(__tstate
);
21867 if (PyErr_Occurred()) SWIG_fail
;
21869 resultobj
= SWIG_Py_Void();
21876 SWIGINTERN PyObject
*_wrap_DC_GetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21877 PyObject
*resultobj
= 0;
21878 wxDC
*arg1
= (wxDC
*) 0 ;
21879 double *arg2
= (double *) 0 ;
21880 double *arg3
= (double *) 0 ;
21884 int res2
= SWIG_TMPOBJ
;
21886 int res3
= SWIG_TMPOBJ
;
21887 PyObject
*swig_obj
[1] ;
21891 if (!args
) SWIG_fail
;
21892 swig_obj
[0] = args
;
21893 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21894 if (!SWIG_IsOK(res1
)) {
21895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetUserScale" "', expected argument " "1"" of type '" "wxDC const *""'");
21897 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21900 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
21901 wxPyEndAllowThreads(__tstate
);
21902 if (PyErr_Occurred()) SWIG_fail
;
21904 resultobj
= SWIG_Py_Void();
21905 if (SWIG_IsTmpObj(res2
)) {
21906 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
21908 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21909 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
21911 if (SWIG_IsTmpObj(res3
)) {
21912 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
21914 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21915 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
21923 SWIGINTERN PyObject
*_wrap_DC_SetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21924 PyObject
*resultobj
= 0;
21925 wxDC
*arg1
= (wxDC
*) 0 ;
21934 PyObject
* obj0
= 0 ;
21935 PyObject
* obj1
= 0 ;
21936 PyObject
* obj2
= 0 ;
21937 char * kwnames
[] = {
21938 (char *) "self",(char *) "x",(char *) "y", NULL
21941 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21942 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21943 if (!SWIG_IsOK(res1
)) {
21944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetUserScale" "', expected argument " "1"" of type '" "wxDC *""'");
21946 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21947 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
21948 if (!SWIG_IsOK(ecode2
)) {
21949 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetUserScale" "', expected argument " "2"" of type '" "double""'");
21951 arg2
= static_cast< double >(val2
);
21952 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
21953 if (!SWIG_IsOK(ecode3
)) {
21954 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetUserScale" "', expected argument " "3"" of type '" "double""'");
21956 arg3
= static_cast< double >(val3
);
21958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21959 (arg1
)->SetUserScale(arg2
,arg3
);
21960 wxPyEndAllowThreads(__tstate
);
21961 if (PyErr_Occurred()) SWIG_fail
;
21963 resultobj
= SWIG_Py_Void();
21970 SWIGINTERN PyObject
*_wrap_DC_GetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21971 PyObject
*resultobj
= 0;
21972 wxDC
*arg1
= (wxDC
*) 0 ;
21973 double *arg2
= (double *) 0 ;
21974 double *arg3
= (double *) 0 ;
21978 int res2
= SWIG_TMPOBJ
;
21980 int res3
= SWIG_TMPOBJ
;
21981 PyObject
*swig_obj
[1] ;
21985 if (!args
) SWIG_fail
;
21986 swig_obj
[0] = args
;
21987 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21988 if (!SWIG_IsOK(res1
)) {
21989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
21991 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21994 (arg1
)->GetLogicalScale(arg2
,arg3
);
21995 wxPyEndAllowThreads(__tstate
);
21996 if (PyErr_Occurred()) SWIG_fail
;
21998 resultobj
= SWIG_Py_Void();
21999 if (SWIG_IsTmpObj(res2
)) {
22000 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
22002 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22003 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
22005 if (SWIG_IsTmpObj(res3
)) {
22006 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
22008 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22009 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
22017 SWIGINTERN PyObject
*_wrap_DC_SetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22018 PyObject
*resultobj
= 0;
22019 wxDC
*arg1
= (wxDC
*) 0 ;
22028 PyObject
* obj0
= 0 ;
22029 PyObject
* obj1
= 0 ;
22030 PyObject
* obj2
= 0 ;
22031 char * kwnames
[] = {
22032 (char *) "self",(char *) "x",(char *) "y", NULL
22035 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22036 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22037 if (!SWIG_IsOK(res1
)) {
22038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
22040 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22041 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
22042 if (!SWIG_IsOK(ecode2
)) {
22043 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalScale" "', expected argument " "2"" of type '" "double""'");
22045 arg2
= static_cast< double >(val2
);
22046 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
22047 if (!SWIG_IsOK(ecode3
)) {
22048 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalScale" "', expected argument " "3"" of type '" "double""'");
22050 arg3
= static_cast< double >(val3
);
22052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22053 (arg1
)->SetLogicalScale(arg2
,arg3
);
22054 wxPyEndAllowThreads(__tstate
);
22055 if (PyErr_Occurred()) SWIG_fail
;
22057 resultobj
= SWIG_Py_Void();
22064 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22065 PyObject
*resultobj
= 0;
22066 wxDC
*arg1
= (wxDC
*) 0 ;
22070 PyObject
*swig_obj
[1] ;
22072 if (!args
) SWIG_fail
;
22073 swig_obj
[0] = args
;
22074 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22075 if (!SWIG_IsOK(res1
)) {
22076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
22078 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22081 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
22082 wxPyEndAllowThreads(__tstate
);
22083 if (PyErr_Occurred()) SWIG_fail
;
22085 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
22092 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22093 PyObject
*resultobj
= 0;
22094 wxDC
*arg1
= (wxDC
*) 0 ;
22095 int *arg2
= (int *) 0 ;
22096 int *arg3
= (int *) 0 ;
22100 int res2
= SWIG_TMPOBJ
;
22102 int res3
= SWIG_TMPOBJ
;
22103 PyObject
*swig_obj
[1] ;
22107 if (!args
) SWIG_fail
;
22108 swig_obj
[0] = args
;
22109 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22110 if (!SWIG_IsOK(res1
)) {
22111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
22113 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22116 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
22117 wxPyEndAllowThreads(__tstate
);
22118 if (PyErr_Occurred()) SWIG_fail
;
22120 resultobj
= SWIG_Py_Void();
22121 if (SWIG_IsTmpObj(res2
)) {
22122 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22124 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22125 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22127 if (SWIG_IsTmpObj(res3
)) {
22128 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22130 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22131 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22139 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22140 PyObject
*resultobj
= 0;
22141 wxDC
*arg1
= (wxDC
*) 0 ;
22150 PyObject
* obj0
= 0 ;
22151 PyObject
* obj1
= 0 ;
22152 PyObject
* obj2
= 0 ;
22153 char * kwnames
[] = {
22154 (char *) "self",(char *) "x",(char *) "y", NULL
22157 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22158 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22159 if (!SWIG_IsOK(res1
)) {
22160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22162 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22163 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22164 if (!SWIG_IsOK(ecode2
)) {
22165 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
22167 arg2
= static_cast< int >(val2
);
22168 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22169 if (!SWIG_IsOK(ecode3
)) {
22170 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
22172 arg3
= static_cast< int >(val3
);
22174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22175 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
22176 wxPyEndAllowThreads(__tstate
);
22177 if (PyErr_Occurred()) SWIG_fail
;
22179 resultobj
= SWIG_Py_Void();
22186 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22187 PyObject
*resultobj
= 0;
22188 wxDC
*arg1
= (wxDC
*) 0 ;
22189 wxPoint
*arg2
= 0 ;
22193 PyObject
* obj0
= 0 ;
22194 PyObject
* obj1
= 0 ;
22195 char * kwnames
[] = {
22196 (char *) "self",(char *) "point", NULL
22199 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22200 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22201 if (!SWIG_IsOK(res1
)) {
22202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22204 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22207 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22211 wxDC_SetLogicalOriginPoint(arg1
,(wxPoint
const &)*arg2
);
22212 wxPyEndAllowThreads(__tstate
);
22213 if (PyErr_Occurred()) SWIG_fail
;
22215 resultobj
= SWIG_Py_Void();
22222 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22223 PyObject
*resultobj
= 0;
22224 wxDC
*arg1
= (wxDC
*) 0 ;
22228 PyObject
*swig_obj
[1] ;
22230 if (!args
) SWIG_fail
;
22231 swig_obj
[0] = args
;
22232 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22233 if (!SWIG_IsOK(res1
)) {
22234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
22236 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22239 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
22240 wxPyEndAllowThreads(__tstate
);
22241 if (PyErr_Occurred()) SWIG_fail
;
22243 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
22250 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22251 PyObject
*resultobj
= 0;
22252 wxDC
*arg1
= (wxDC
*) 0 ;
22253 int *arg2
= (int *) 0 ;
22254 int *arg3
= (int *) 0 ;
22258 int res2
= SWIG_TMPOBJ
;
22260 int res3
= SWIG_TMPOBJ
;
22261 PyObject
*swig_obj
[1] ;
22265 if (!args
) SWIG_fail
;
22266 swig_obj
[0] = args
;
22267 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22268 if (!SWIG_IsOK(res1
)) {
22269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
22271 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22274 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
22275 wxPyEndAllowThreads(__tstate
);
22276 if (PyErr_Occurred()) SWIG_fail
;
22278 resultobj
= SWIG_Py_Void();
22279 if (SWIG_IsTmpObj(res2
)) {
22280 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22282 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22283 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22285 if (SWIG_IsTmpObj(res3
)) {
22286 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22288 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22289 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22297 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22298 PyObject
*resultobj
= 0;
22299 wxDC
*arg1
= (wxDC
*) 0 ;
22308 PyObject
* obj0
= 0 ;
22309 PyObject
* obj1
= 0 ;
22310 PyObject
* obj2
= 0 ;
22311 char * kwnames
[] = {
22312 (char *) "self",(char *) "x",(char *) "y", NULL
22315 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22316 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22317 if (!SWIG_IsOK(res1
)) {
22318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22320 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22321 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22322 if (!SWIG_IsOK(ecode2
)) {
22323 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "2"" of type '" "int""'");
22325 arg2
= static_cast< int >(val2
);
22326 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22327 if (!SWIG_IsOK(ecode3
)) {
22328 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "3"" of type '" "int""'");
22330 arg3
= static_cast< int >(val3
);
22332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22333 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
22334 wxPyEndAllowThreads(__tstate
);
22335 if (PyErr_Occurred()) SWIG_fail
;
22337 resultobj
= SWIG_Py_Void();
22344 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22345 PyObject
*resultobj
= 0;
22346 wxDC
*arg1
= (wxDC
*) 0 ;
22347 wxPoint
*arg2
= 0 ;
22351 PyObject
* obj0
= 0 ;
22352 PyObject
* obj1
= 0 ;
22353 char * kwnames
[] = {
22354 (char *) "self",(char *) "point", NULL
22357 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22358 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22359 if (!SWIG_IsOK(res1
)) {
22360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22362 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22365 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22369 wxDC_SetDeviceOriginPoint(arg1
,(wxPoint
const &)*arg2
);
22370 wxPyEndAllowThreads(__tstate
);
22371 if (PyErr_Occurred()) SWIG_fail
;
22373 resultobj
= SWIG_Py_Void();
22380 SWIGINTERN PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22381 PyObject
*resultobj
= 0;
22382 wxDC
*arg1
= (wxDC
*) 0 ;
22391 PyObject
* obj0
= 0 ;
22392 PyObject
* obj1
= 0 ;
22393 PyObject
* obj2
= 0 ;
22394 char * kwnames
[] = {
22395 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
22398 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22399 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22400 if (!SWIG_IsOK(res1
)) {
22401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetAxisOrientation" "', expected argument " "1"" of type '" "wxDC *""'");
22403 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22404 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
22405 if (!SWIG_IsOK(ecode2
)) {
22406 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetAxisOrientation" "', expected argument " "2"" of type '" "bool""'");
22408 arg2
= static_cast< bool >(val2
);
22409 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
22410 if (!SWIG_IsOK(ecode3
)) {
22411 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetAxisOrientation" "', expected argument " "3"" of type '" "bool""'");
22413 arg3
= static_cast< bool >(val3
);
22415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22416 (arg1
)->SetAxisOrientation(arg2
,arg3
);
22417 wxPyEndAllowThreads(__tstate
);
22418 if (PyErr_Occurred()) SWIG_fail
;
22420 resultobj
= SWIG_Py_Void();
22427 SWIGINTERN PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22428 PyObject
*resultobj
= 0;
22429 wxDC
*arg1
= (wxDC
*) 0 ;
22433 PyObject
*swig_obj
[1] ;
22435 if (!args
) SWIG_fail
;
22436 swig_obj
[0] = args
;
22437 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22438 if (!SWIG_IsOK(res1
)) {
22439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalFunction" "', expected argument " "1"" of type '" "wxDC const *""'");
22441 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22444 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
22445 wxPyEndAllowThreads(__tstate
);
22446 if (PyErr_Occurred()) SWIG_fail
;
22448 resultobj
= SWIG_From_int(static_cast< int >(result
));
22455 SWIGINTERN PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22456 PyObject
*resultobj
= 0;
22457 wxDC
*arg1
= (wxDC
*) 0 ;
22463 PyObject
* obj0
= 0 ;
22464 PyObject
* obj1
= 0 ;
22465 char * kwnames
[] = {
22466 (char *) "self",(char *) "function", NULL
22469 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22470 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22471 if (!SWIG_IsOK(res1
)) {
22472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxDC *""'");
22474 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22475 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22476 if (!SWIG_IsOK(ecode2
)) {
22477 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
22479 arg2
= static_cast< int >(val2
);
22481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22482 (arg1
)->SetLogicalFunction(arg2
);
22483 wxPyEndAllowThreads(__tstate
);
22484 if (PyErr_Occurred()) SWIG_fail
;
22486 resultobj
= SWIG_Py_Void();
22493 SWIGINTERN PyObject
*_wrap_DC_ComputeScaleAndOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22494 PyObject
*resultobj
= 0;
22495 wxDC
*arg1
= (wxDC
*) 0 ;
22498 PyObject
*swig_obj
[1] ;
22500 if (!args
) SWIG_fail
;
22501 swig_obj
[0] = args
;
22502 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22503 if (!SWIG_IsOK(res1
)) {
22504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ComputeScaleAndOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22506 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22509 (arg1
)->ComputeScaleAndOrigin();
22510 wxPyEndAllowThreads(__tstate
);
22511 if (PyErr_Occurred()) SWIG_fail
;
22513 resultobj
= SWIG_Py_Void();
22520 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22521 PyObject
*resultobj
= 0;
22522 wxDC
*arg1
= (wxDC
*) 0 ;
22531 PyObject
* obj0
= 0 ;
22532 PyObject
* obj1
= 0 ;
22533 PyObject
* obj2
= 0 ;
22534 char * kwnames
[] = {
22535 (char *) "self",(char *) "x",(char *) "y", NULL
22538 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22539 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22540 if (!SWIG_IsOK(res1
)) {
22541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
22543 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22544 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22545 if (!SWIG_IsOK(ecode2
)) {
22546 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CalcBoundingBox" "', expected argument " "2"" of type '" "int""'");
22548 arg2
= static_cast< int >(val2
);
22549 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22550 if (!SWIG_IsOK(ecode3
)) {
22551 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CalcBoundingBox" "', expected argument " "3"" of type '" "int""'");
22553 arg3
= static_cast< int >(val3
);
22555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22556 (arg1
)->CalcBoundingBox(arg2
,arg3
);
22557 wxPyEndAllowThreads(__tstate
);
22558 if (PyErr_Occurred()) SWIG_fail
;
22560 resultobj
= SWIG_Py_Void();
22567 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBoxPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22568 PyObject
*resultobj
= 0;
22569 wxDC
*arg1
= (wxDC
*) 0 ;
22570 wxPoint
*arg2
= 0 ;
22574 PyObject
* obj0
= 0 ;
22575 PyObject
* obj1
= 0 ;
22576 char * kwnames
[] = {
22577 (char *) "self",(char *) "point", NULL
22580 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22581 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22582 if (!SWIG_IsOK(res1
)) {
22583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBoxPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22585 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22588 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22592 wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint
const &)*arg2
);
22593 wxPyEndAllowThreads(__tstate
);
22594 if (PyErr_Occurred()) SWIG_fail
;
22596 resultobj
= SWIG_Py_Void();
22603 SWIGINTERN PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22604 PyObject
*resultobj
= 0;
22605 wxDC
*arg1
= (wxDC
*) 0 ;
22608 PyObject
*swig_obj
[1] ;
22610 if (!args
) SWIG_fail
;
22611 swig_obj
[0] = args
;
22612 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22613 if (!SWIG_IsOK(res1
)) {
22614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ResetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
22616 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22619 (arg1
)->ResetBoundingBox();
22620 wxPyEndAllowThreads(__tstate
);
22621 if (PyErr_Occurred()) SWIG_fail
;
22623 resultobj
= SWIG_Py_Void();
22630 SWIGINTERN PyObject
*_wrap_DC_MinX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22631 PyObject
*resultobj
= 0;
22632 wxDC
*arg1
= (wxDC
*) 0 ;
22636 PyObject
*swig_obj
[1] ;
22638 if (!args
) SWIG_fail
;
22639 swig_obj
[0] = args
;
22640 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22641 if (!SWIG_IsOK(res1
)) {
22642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinX" "', expected argument " "1"" of type '" "wxDC const *""'");
22644 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22647 result
= (int)((wxDC
const *)arg1
)->MinX();
22648 wxPyEndAllowThreads(__tstate
);
22649 if (PyErr_Occurred()) SWIG_fail
;
22651 resultobj
= SWIG_From_int(static_cast< int >(result
));
22658 SWIGINTERN PyObject
*_wrap_DC_MaxX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22659 PyObject
*resultobj
= 0;
22660 wxDC
*arg1
= (wxDC
*) 0 ;
22664 PyObject
*swig_obj
[1] ;
22666 if (!args
) SWIG_fail
;
22667 swig_obj
[0] = args
;
22668 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22669 if (!SWIG_IsOK(res1
)) {
22670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxX" "', expected argument " "1"" of type '" "wxDC const *""'");
22672 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22675 result
= (int)((wxDC
const *)arg1
)->MaxX();
22676 wxPyEndAllowThreads(__tstate
);
22677 if (PyErr_Occurred()) SWIG_fail
;
22679 resultobj
= SWIG_From_int(static_cast< int >(result
));
22686 SWIGINTERN PyObject
*_wrap_DC_MinY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22687 PyObject
*resultobj
= 0;
22688 wxDC
*arg1
= (wxDC
*) 0 ;
22692 PyObject
*swig_obj
[1] ;
22694 if (!args
) SWIG_fail
;
22695 swig_obj
[0] = args
;
22696 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22697 if (!SWIG_IsOK(res1
)) {
22698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinY" "', expected argument " "1"" of type '" "wxDC const *""'");
22700 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22703 result
= (int)((wxDC
const *)arg1
)->MinY();
22704 wxPyEndAllowThreads(__tstate
);
22705 if (PyErr_Occurred()) SWIG_fail
;
22707 resultobj
= SWIG_From_int(static_cast< int >(result
));
22714 SWIGINTERN PyObject
*_wrap_DC_MaxY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22715 PyObject
*resultobj
= 0;
22716 wxDC
*arg1
= (wxDC
*) 0 ;
22720 PyObject
*swig_obj
[1] ;
22722 if (!args
) SWIG_fail
;
22723 swig_obj
[0] = args
;
22724 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22725 if (!SWIG_IsOK(res1
)) {
22726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxY" "', expected argument " "1"" of type '" "wxDC const *""'");
22728 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22731 result
= (int)((wxDC
const *)arg1
)->MaxY();
22732 wxPyEndAllowThreads(__tstate
);
22733 if (PyErr_Occurred()) SWIG_fail
;
22735 resultobj
= SWIG_From_int(static_cast< int >(result
));
22742 SWIGINTERN PyObject
*_wrap_DC_GetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22743 PyObject
*resultobj
= 0;
22744 wxDC
*arg1
= (wxDC
*) 0 ;
22745 int *arg2
= (int *) 0 ;
22746 int *arg3
= (int *) 0 ;
22747 int *arg4
= (int *) 0 ;
22748 int *arg5
= (int *) 0 ;
22752 int res2
= SWIG_TMPOBJ
;
22754 int res3
= SWIG_TMPOBJ
;
22756 int res4
= SWIG_TMPOBJ
;
22758 int res5
= SWIG_TMPOBJ
;
22759 PyObject
*swig_obj
[1] ;
22765 if (!args
) SWIG_fail
;
22766 swig_obj
[0] = args
;
22767 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22768 if (!SWIG_IsOK(res1
)) {
22769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
22771 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22774 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
22775 wxPyEndAllowThreads(__tstate
);
22776 if (PyErr_Occurred()) SWIG_fail
;
22778 resultobj
= SWIG_Py_Void();
22779 if (SWIG_IsTmpObj(res2
)) {
22780 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22782 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22783 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22785 if (SWIG_IsTmpObj(res3
)) {
22786 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22788 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22789 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22791 if (SWIG_IsTmpObj(res4
)) {
22792 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
22794 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22795 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
22797 if (SWIG_IsTmpObj(res5
)) {
22798 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
22800 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22801 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
22809 SWIGINTERN PyObject
*_wrap_DC_GetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22810 PyObject
*resultobj
= 0;
22811 wxDC
*arg1
= (wxDC
*) 0 ;
22812 wxLayoutDirection result
;
22815 PyObject
*swig_obj
[1] ;
22817 if (!args
) SWIG_fail
;
22818 swig_obj
[0] = args
;
22819 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22820 if (!SWIG_IsOK(res1
)) {
22821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLayoutDirection" "', expected argument " "1"" of type '" "wxDC const *""'");
22823 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22826 result
= (wxLayoutDirection
)((wxDC
const *)arg1
)->GetLayoutDirection();
22827 wxPyEndAllowThreads(__tstate
);
22828 if (PyErr_Occurred()) SWIG_fail
;
22830 resultobj
= SWIG_From_int(static_cast< int >(result
));
22837 SWIGINTERN PyObject
*_wrap_DC_SetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22838 PyObject
*resultobj
= 0;
22839 wxDC
*arg1
= (wxDC
*) 0 ;
22840 wxLayoutDirection arg2
;
22845 PyObject
* obj0
= 0 ;
22846 PyObject
* obj1
= 0 ;
22847 char * kwnames
[] = {
22848 (char *) "self",(char *) "dir", NULL
22851 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLayoutDirection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22852 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22853 if (!SWIG_IsOK(res1
)) {
22854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLayoutDirection" "', expected argument " "1"" of type '" "wxDC *""'");
22856 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22857 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22858 if (!SWIG_IsOK(ecode2
)) {
22859 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLayoutDirection" "', expected argument " "2"" of type '" "wxLayoutDirection""'");
22861 arg2
= static_cast< wxLayoutDirection
>(val2
);
22863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22864 (arg1
)->SetLayoutDirection(arg2
);
22865 wxPyEndAllowThreads(__tstate
);
22866 if (PyErr_Occurred()) SWIG_fail
;
22868 resultobj
= SWIG_Py_Void();
22875 SWIGINTERN PyObject
*_wrap_DC__DrawPointList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22876 PyObject
*resultobj
= 0;
22877 wxDC
*arg1
= (wxDC
*) 0 ;
22878 PyObject
*arg2
= (PyObject
*) 0 ;
22879 PyObject
*arg3
= (PyObject
*) 0 ;
22880 PyObject
*arg4
= (PyObject
*) 0 ;
22881 PyObject
*result
= 0 ;
22884 PyObject
* obj0
= 0 ;
22885 PyObject
* obj1
= 0 ;
22886 PyObject
* obj2
= 0 ;
22887 PyObject
* obj3
= 0 ;
22888 char * kwnames
[] = {
22889 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
22892 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22893 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22894 if (!SWIG_IsOK(res1
)) {
22895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPointList" "', expected argument " "1"" of type '" "wxDC *""'");
22897 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22903 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
22904 wxPyEndAllowThreads(__tstate
);
22905 if (PyErr_Occurred()) SWIG_fail
;
22907 resultobj
= result
;
22914 SWIGINTERN PyObject
*_wrap_DC__DrawLineList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22915 PyObject
*resultobj
= 0;
22916 wxDC
*arg1
= (wxDC
*) 0 ;
22917 PyObject
*arg2
= (PyObject
*) 0 ;
22918 PyObject
*arg3
= (PyObject
*) 0 ;
22919 PyObject
*arg4
= (PyObject
*) 0 ;
22920 PyObject
*result
= 0 ;
22923 PyObject
* obj0
= 0 ;
22924 PyObject
* obj1
= 0 ;
22925 PyObject
* obj2
= 0 ;
22926 PyObject
* obj3
= 0 ;
22927 char * kwnames
[] = {
22928 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
22931 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22932 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22933 if (!SWIG_IsOK(res1
)) {
22934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawLineList" "', expected argument " "1"" of type '" "wxDC *""'");
22936 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22942 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
22943 wxPyEndAllowThreads(__tstate
);
22944 if (PyErr_Occurred()) SWIG_fail
;
22946 resultobj
= result
;
22953 SWIGINTERN PyObject
*_wrap_DC__DrawRectangleList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22954 PyObject
*resultobj
= 0;
22955 wxDC
*arg1
= (wxDC
*) 0 ;
22956 PyObject
*arg2
= (PyObject
*) 0 ;
22957 PyObject
*arg3
= (PyObject
*) 0 ;
22958 PyObject
*arg4
= (PyObject
*) 0 ;
22959 PyObject
*result
= 0 ;
22962 PyObject
* obj0
= 0 ;
22963 PyObject
* obj1
= 0 ;
22964 PyObject
* obj2
= 0 ;
22965 PyObject
* obj3
= 0 ;
22966 char * kwnames
[] = {
22967 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
22970 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22971 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22972 if (!SWIG_IsOK(res1
)) {
22973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawRectangleList" "', expected argument " "1"" of type '" "wxDC *""'");
22975 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22981 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
22982 wxPyEndAllowThreads(__tstate
);
22983 if (PyErr_Occurred()) SWIG_fail
;
22985 resultobj
= result
;
22992 SWIGINTERN PyObject
*_wrap_DC__DrawEllipseList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22993 PyObject
*resultobj
= 0;
22994 wxDC
*arg1
= (wxDC
*) 0 ;
22995 PyObject
*arg2
= (PyObject
*) 0 ;
22996 PyObject
*arg3
= (PyObject
*) 0 ;
22997 PyObject
*arg4
= (PyObject
*) 0 ;
22998 PyObject
*result
= 0 ;
23001 PyObject
* obj0
= 0 ;
23002 PyObject
* obj1
= 0 ;
23003 PyObject
* obj2
= 0 ;
23004 PyObject
* obj3
= 0 ;
23005 char * kwnames
[] = {
23006 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23010 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23011 if (!SWIG_IsOK(res1
)) {
23012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawEllipseList" "', expected argument " "1"" of type '" "wxDC *""'");
23014 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23020 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
23021 wxPyEndAllowThreads(__tstate
);
23022 if (PyErr_Occurred()) SWIG_fail
;
23024 resultobj
= result
;
23031 SWIGINTERN PyObject
*_wrap_DC__DrawPolygonList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23032 PyObject
*resultobj
= 0;
23033 wxDC
*arg1
= (wxDC
*) 0 ;
23034 PyObject
*arg2
= (PyObject
*) 0 ;
23035 PyObject
*arg3
= (PyObject
*) 0 ;
23036 PyObject
*arg4
= (PyObject
*) 0 ;
23037 PyObject
*result
= 0 ;
23040 PyObject
* obj0
= 0 ;
23041 PyObject
* obj1
= 0 ;
23042 PyObject
* obj2
= 0 ;
23043 PyObject
* obj3
= 0 ;
23044 char * kwnames
[] = {
23045 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23048 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23049 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23050 if (!SWIG_IsOK(res1
)) {
23051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPolygonList" "', expected argument " "1"" of type '" "wxDC *""'");
23053 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23059 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
23060 wxPyEndAllowThreads(__tstate
);
23061 if (PyErr_Occurred()) SWIG_fail
;
23063 resultobj
= result
;
23070 SWIGINTERN PyObject
*_wrap_DC__DrawTextList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23071 PyObject
*resultobj
= 0;
23072 wxDC
*arg1
= (wxDC
*) 0 ;
23073 PyObject
*arg2
= (PyObject
*) 0 ;
23074 PyObject
*arg3
= (PyObject
*) 0 ;
23075 PyObject
*arg4
= (PyObject
*) 0 ;
23076 PyObject
*arg5
= (PyObject
*) 0 ;
23077 PyObject
*result
= 0 ;
23080 PyObject
* obj0
= 0 ;
23081 PyObject
* obj1
= 0 ;
23082 PyObject
* obj2
= 0 ;
23083 PyObject
* obj3
= 0 ;
23084 PyObject
* obj4
= 0 ;
23085 char * kwnames
[] = {
23086 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
23089 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
23090 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23091 if (!SWIG_IsOK(res1
)) {
23092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawTextList" "', expected argument " "1"" of type '" "wxDC *""'");
23094 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23101 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
23102 wxPyEndAllowThreads(__tstate
);
23103 if (PyErr_Occurred()) SWIG_fail
;
23105 resultobj
= result
;
23112 SWIGINTERN PyObject
*DC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23114 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23115 SWIG_TypeNewClientData(SWIGTYPE_p_wxDC
, SWIG_NewClientData(obj
));
23116 return SWIG_Py_Void();
23119 SWIGINTERN PyObject
*_wrap_new_MemoryDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23120 PyObject
*resultobj
= 0;
23121 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
23122 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
23123 wxMemoryDC
*result
= 0 ;
23126 PyObject
* obj0
= 0 ;
23127 char * kwnames
[] = {
23128 (char *) "bitmap", NULL
23131 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MemoryDC",kwnames
,&obj0
)) SWIG_fail
;
23133 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23134 if (!SWIG_IsOK(res1
)) {
23135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDC" "', expected argument " "1"" of type '" "wxBitmap const &""'");
23138 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MemoryDC" "', expected argument " "1"" of type '" "wxBitmap const &""'");
23140 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
23143 if (!wxPyCheckForApp()) SWIG_fail
;
23144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23145 result
= (wxMemoryDC
*)new wxMemoryDC((wxBitmap
const &)*arg1
);
23146 wxPyEndAllowThreads(__tstate
);
23147 if (PyErr_Occurred()) SWIG_fail
;
23149 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_NEW
| 0 );
23156 SWIGINTERN PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23157 PyObject
*resultobj
= 0;
23158 wxDC
*arg1
= (wxDC
*) 0 ;
23159 wxMemoryDC
*result
= 0 ;
23162 PyObject
* obj0
= 0 ;
23163 char * kwnames
[] = {
23164 (char *) "oldDC", NULL
23167 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) SWIG_fail
;
23168 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23169 if (!SWIG_IsOK(res1
)) {
23170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDCFromDC" "', expected argument " "1"" of type '" "wxDC *""'");
23172 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23174 if (!wxPyCheckForApp()) SWIG_fail
;
23175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23176 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
23177 wxPyEndAllowThreads(__tstate
);
23178 if (PyErr_Occurred()) SWIG_fail
;
23180 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_OWN
| 0 );
23187 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23188 PyObject
*resultobj
= 0;
23189 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
23190 wxBitmap
*arg2
= 0 ;
23195 PyObject
* obj0
= 0 ;
23196 PyObject
* obj1
= 0 ;
23197 char * kwnames
[] = {
23198 (char *) "self",(char *) "bitmap", NULL
23201 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23202 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
23203 if (!SWIG_IsOK(res1
)) {
23204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObject" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
23206 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
23207 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23208 if (!SWIG_IsOK(res2
)) {
23209 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23212 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23214 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23217 (arg1
)->SelectObject((wxBitmap
const &)*arg2
);
23218 wxPyEndAllowThreads(__tstate
);
23219 if (PyErr_Occurred()) SWIG_fail
;
23221 resultobj
= SWIG_Py_Void();
23228 SWIGINTERN PyObject
*MemoryDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23230 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23231 SWIG_TypeNewClientData(SWIGTYPE_p_wxMemoryDC
, SWIG_NewClientData(obj
));
23232 return SWIG_Py_Void();
23235 SWIGINTERN PyObject
*MemoryDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23236 return SWIG_Python_InitShadowInstance(args
);
23239 SWIGINTERN PyObject
*_wrap_new_ScreenDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23240 PyObject
*resultobj
= 0;
23241 wxScreenDC
*result
= 0 ;
23243 if (!SWIG_Python_UnpackTuple(args
,"new_ScreenDC",0,0,0)) SWIG_fail
;
23245 if (!wxPyCheckForApp()) SWIG_fail
;
23246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23247 result
= (wxScreenDC
*)new wxScreenDC();
23248 wxPyEndAllowThreads(__tstate
);
23249 if (PyErr_Occurred()) SWIG_fail
;
23251 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_NEW
| 0 );
23258 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23259 PyObject
*resultobj
= 0;
23260 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
23261 wxWindow
*arg2
= (wxWindow
*) 0 ;
23267 PyObject
* obj0
= 0 ;
23268 PyObject
* obj1
= 0 ;
23269 char * kwnames
[] = {
23270 (char *) "self",(char *) "window", NULL
23273 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23274 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
23275 if (!SWIG_IsOK(res1
)) {
23276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "1"" of type '" "wxScreenDC *""'");
23278 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
23279 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23280 if (!SWIG_IsOK(res2
)) {
23281 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "2"" of type '" "wxWindow *""'");
23283 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
23285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23286 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
23287 wxPyEndAllowThreads(__tstate
);
23288 if (PyErr_Occurred()) SWIG_fail
;
23291 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23299 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23300 PyObject
*resultobj
= 0;
23301 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
23302 wxRect
*arg2
= (wxRect
*) NULL
;
23308 PyObject
* obj0
= 0 ;
23309 PyObject
* obj1
= 0 ;
23310 char * kwnames
[] = {
23311 (char *) "self",(char *) "rect", NULL
23314 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23315 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
23316 if (!SWIG_IsOK(res1
)) {
23317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
23319 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
23321 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
23322 if (!SWIG_IsOK(res2
)) {
23323 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "2"" of type '" "wxRect *""'");
23325 arg2
= reinterpret_cast< wxRect
* >(argp2
);
23328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23329 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
23330 wxPyEndAllowThreads(__tstate
);
23331 if (PyErr_Occurred()) SWIG_fail
;
23334 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23342 SWIGINTERN PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23343 PyObject
*resultobj
= 0;
23344 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
23348 PyObject
*swig_obj
[1] ;
23350 if (!args
) SWIG_fail
;
23351 swig_obj
[0] = args
;
23352 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
23353 if (!SWIG_IsOK(res1
)) {
23354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_EndDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
23356 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
23358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23359 result
= (bool)(arg1
)->EndDrawingOnTop();
23360 wxPyEndAllowThreads(__tstate
);
23361 if (PyErr_Occurred()) SWIG_fail
;
23364 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23372 SWIGINTERN PyObject
*ScreenDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23374 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23375 SWIG_TypeNewClientData(SWIGTYPE_p_wxScreenDC
, SWIG_NewClientData(obj
));
23376 return SWIG_Py_Void();
23379 SWIGINTERN PyObject
*ScreenDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23380 return SWIG_Python_InitShadowInstance(args
);
23383 SWIGINTERN PyObject
*_wrap_new_WindowDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23384 PyObject
*resultobj
= 0;
23385 wxWindow
*arg1
= (wxWindow
*) 0 ;
23386 wxWindowDC
*result
= 0 ;
23389 PyObject
* obj0
= 0 ;
23390 char * kwnames
[] = {
23391 (char *) "win", NULL
23394 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) SWIG_fail
;
23395 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23396 if (!SWIG_IsOK(res1
)) {
23397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowDC" "', expected argument " "1"" of type '" "wxWindow *""'");
23399 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
23401 if (!wxPyCheckForApp()) SWIG_fail
;
23402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23403 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
23404 wxPyEndAllowThreads(__tstate
);
23405 if (PyErr_Occurred()) SWIG_fail
;
23407 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowDC
, SWIG_POINTER_NEW
| 0 );
23414 SWIGINTERN PyObject
*WindowDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23416 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23417 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowDC
, SWIG_NewClientData(obj
));
23418 return SWIG_Py_Void();
23421 SWIGINTERN PyObject
*WindowDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23422 return SWIG_Python_InitShadowInstance(args
);
23425 SWIGINTERN PyObject
*_wrap_new_ClientDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23426 PyObject
*resultobj
= 0;
23427 wxWindow
*arg1
= (wxWindow
*) 0 ;
23428 wxClientDC
*result
= 0 ;
23431 PyObject
* obj0
= 0 ;
23432 char * kwnames
[] = {
23433 (char *) "win", NULL
23436 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) SWIG_fail
;
23437 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23438 if (!SWIG_IsOK(res1
)) {
23439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ClientDC" "', expected argument " "1"" of type '" "wxWindow *""'");
23441 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
23443 if (!wxPyCheckForApp()) SWIG_fail
;
23444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23445 result
= (wxClientDC
*)new wxClientDC(arg1
);
23446 wxPyEndAllowThreads(__tstate
);
23447 if (PyErr_Occurred()) SWIG_fail
;
23449 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClientDC
, SWIG_POINTER_NEW
| 0 );
23456 SWIGINTERN PyObject
*ClientDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23458 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23459 SWIG_TypeNewClientData(SWIGTYPE_p_wxClientDC
, SWIG_NewClientData(obj
));
23460 return SWIG_Py_Void();
23463 SWIGINTERN PyObject
*ClientDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23464 return SWIG_Python_InitShadowInstance(args
);
23467 SWIGINTERN PyObject
*_wrap_new_PaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23468 PyObject
*resultobj
= 0;
23469 wxWindow
*arg1
= (wxWindow
*) 0 ;
23470 wxPaintDC
*result
= 0 ;
23473 PyObject
* obj0
= 0 ;
23474 char * kwnames
[] = {
23475 (char *) "win", NULL
23478 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) SWIG_fail
;
23479 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23480 if (!SWIG_IsOK(res1
)) {
23481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
23483 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
23485 if (!wxPyCheckForApp()) SWIG_fail
;
23486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23487 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
23488 wxPyEndAllowThreads(__tstate
);
23489 if (PyErr_Occurred()) SWIG_fail
;
23491 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPaintDC
, SWIG_POINTER_NEW
| 0 );
23498 SWIGINTERN PyObject
*PaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23500 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23501 SWIG_TypeNewClientData(SWIGTYPE_p_wxPaintDC
, SWIG_NewClientData(obj
));
23502 return SWIG_Py_Void();
23505 SWIGINTERN PyObject
*PaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23506 return SWIG_Python_InitShadowInstance(args
);
23509 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23510 PyObject
*resultobj
= 0;
23511 wxDC
*arg1
= (wxDC
*) 0 ;
23512 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
23513 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
23514 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
23515 wxBufferedDC
*result
= 0 ;
23523 if ((nobjs
< 1) || (nobjs
> 3)) SWIG_fail
;
23524 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23525 if (!SWIG_IsOK(res1
)) {
23526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
23528 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23530 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23531 if (!SWIG_IsOK(res2
)) {
23532 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23535 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23537 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23540 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
23541 if (!SWIG_IsOK(ecode3
)) {
23542 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
23544 arg3
= static_cast< int >(val3
);
23547 if (!wxPyCheckForApp()) SWIG_fail
;
23548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23549 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxBitmap
const &)*arg2
,arg3
);
23550 wxPyEndAllowThreads(__tstate
);
23551 if (PyErr_Occurred()) SWIG_fail
;
23553 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
23560 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23561 PyObject
*resultobj
= 0;
23562 wxDC
*arg1
= (wxDC
*) 0 ;
23564 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
23565 wxBufferedDC
*result
= 0 ;
23572 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
23573 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23574 if (!SWIG_IsOK(res1
)) {
23575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
23577 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23580 if ( ! wxSize_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
23583 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
23584 if (!SWIG_IsOK(ecode3
)) {
23585 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
23587 arg3
= static_cast< int >(val3
);
23590 if (!wxPyCheckForApp()) SWIG_fail
;
23591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23592 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
,arg3
);
23593 wxPyEndAllowThreads(__tstate
);
23594 if (PyErr_Occurred()) SWIG_fail
;
23596 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
23603 SWIGINTERN PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
23607 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_BufferedDC",0,3,argv
))) SWIG_fail
;
23609 if ((argc
>= 1) && (argc
<= 3)) {
23613 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxBitmap
, 0);
23614 _v
= SWIG_CheckState(res
);
23616 if (!_v
) goto check_1
;
23618 return _wrap_new_BufferedDC__SWIG_0(self
, argc
, argv
);
23622 if ((argc
>= 2) && (argc
<= 3)) {
23623 return _wrap_new_BufferedDC__SWIG_1(self
, argc
, argv
);
23627 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_BufferedDC'");
23632 SWIGINTERN PyObject
*_wrap_delete_BufferedDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23633 PyObject
*resultobj
= 0;
23634 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
23637 PyObject
*swig_obj
[1] ;
23639 if (!args
) SWIG_fail
;
23640 swig_obj
[0] = args
;
23641 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_DISOWN
| 0 );
23642 if (!SWIG_IsOK(res1
)) {
23643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BufferedDC" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
23645 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
23647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23650 wxPyEndAllowThreads(__tstate
);
23651 if (PyErr_Occurred()) SWIG_fail
;
23653 resultobj
= SWIG_Py_Void();
23660 SWIGINTERN PyObject
*_wrap_BufferedDC_UnMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23661 PyObject
*resultobj
= 0;
23662 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
23665 PyObject
*swig_obj
[1] ;
23667 if (!args
) SWIG_fail
;
23668 swig_obj
[0] = args
;
23669 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
23670 if (!SWIG_IsOK(res1
)) {
23671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_UnMask" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
23673 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
23675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23677 wxPyEndAllowThreads(__tstate
);
23678 if (PyErr_Occurred()) SWIG_fail
;
23680 resultobj
= SWIG_Py_Void();
23687 SWIGINTERN PyObject
*BufferedDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23689 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23690 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedDC
, SWIG_NewClientData(obj
));
23691 return SWIG_Py_Void();
23694 SWIGINTERN PyObject
*BufferedDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23695 return SWIG_Python_InitShadowInstance(args
);
23698 SWIGINTERN PyObject
*_wrap_new_BufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23699 PyObject
*resultobj
= 0;
23700 wxWindow
*arg1
= (wxWindow
*) 0 ;
23701 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
23702 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
23703 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
23704 wxBufferedPaintDC
*result
= 0 ;
23711 PyObject
* obj0
= 0 ;
23712 PyObject
* obj1
= 0 ;
23713 PyObject
* obj2
= 0 ;
23714 char * kwnames
[] = {
23715 (char *) "window",(char *) "buffer",(char *) "style", NULL
23718 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23719 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23720 if (!SWIG_IsOK(res1
)) {
23721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
23723 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
23725 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23726 if (!SWIG_IsOK(res2
)) {
23727 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23730 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23732 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23735 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23736 if (!SWIG_IsOK(ecode3
)) {
23737 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedPaintDC" "', expected argument " "3"" of type '" "int""'");
23739 arg3
= static_cast< int >(val3
);
23742 if (!wxPyCheckForApp()) SWIG_fail
;
23743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23744 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,(wxBitmap
const &)*arg2
,arg3
);
23745 wxPyEndAllowThreads(__tstate
);
23746 if (PyErr_Occurred()) SWIG_fail
;
23748 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
23755 SWIGINTERN PyObject
*BufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23757 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23758 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedPaintDC
, SWIG_NewClientData(obj
));
23759 return SWIG_Py_Void();
23762 SWIGINTERN PyObject
*BufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23763 return SWIG_Python_InitShadowInstance(args
);
23766 SWIGINTERN PyObject
*_wrap_new_AutoBufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23767 PyObject
*resultobj
= 0;
23768 wxWindow
*arg1
= (wxWindow
*) 0 ;
23769 wxAutoBufferedPaintDC
*result
= 0 ;
23772 PyObject
* obj0
= 0 ;
23773 char * kwnames
[] = {
23774 (char *) "win", NULL
23777 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AutoBufferedPaintDC",kwnames
,&obj0
)) SWIG_fail
;
23778 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23779 if (!SWIG_IsOK(res1
)) {
23780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AutoBufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
23782 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
23784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23785 result
= (wxAutoBufferedPaintDC
*)new wxAutoBufferedPaintDC(arg1
);
23786 wxPyEndAllowThreads(__tstate
);
23787 if (PyErr_Occurred()) SWIG_fail
;
23789 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAutoBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
23796 SWIGINTERN PyObject
*AutoBufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23798 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23799 SWIG_TypeNewClientData(SWIGTYPE_p_wxAutoBufferedPaintDC
, SWIG_NewClientData(obj
));
23800 return SWIG_Py_Void();
23803 SWIGINTERN PyObject
*AutoBufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23804 return SWIG_Python_InitShadowInstance(args
);
23807 SWIGINTERN PyObject
*_wrap_AutoBufferedPaintDCFactory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23808 PyObject
*resultobj
= 0;
23809 wxWindow
*arg1
= (wxWindow
*) 0 ;
23813 PyObject
* obj0
= 0 ;
23814 char * kwnames
[] = {
23815 (char *) "window", NULL
23818 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AutoBufferedPaintDCFactory",kwnames
,&obj0
)) SWIG_fail
;
23819 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23820 if (!SWIG_IsOK(res1
)) {
23821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AutoBufferedPaintDCFactory" "', expected argument " "1"" of type '" "wxWindow *""'");
23823 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
23825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23826 result
= (wxDC
*)wxAutoBufferedPaintDCFactory(arg1
);
23827 wxPyEndAllowThreads(__tstate
);
23828 if (PyErr_Occurred()) SWIG_fail
;
23831 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
23839 SWIGINTERN PyObject
*_wrap_new_MirrorDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23840 PyObject
*resultobj
= 0;
23843 wxMirrorDC
*result
= 0 ;
23848 PyObject
* obj0
= 0 ;
23849 PyObject
* obj1
= 0 ;
23850 char * kwnames
[] = {
23851 (char *) "dc",(char *) "mirror", NULL
23854 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23855 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
23856 if (!SWIG_IsOK(res1
)) {
23857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
23860 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
23862 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23863 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23864 if (!SWIG_IsOK(ecode2
)) {
23865 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MirrorDC" "', expected argument " "2"" of type '" "bool""'");
23867 arg2
= static_cast< bool >(val2
);
23869 if (!wxPyCheckForApp()) SWIG_fail
;
23870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23871 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
23872 wxPyEndAllowThreads(__tstate
);
23873 if (PyErr_Occurred()) SWIG_fail
;
23875 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMirrorDC
, SWIG_POINTER_NEW
| 0 );
23882 SWIGINTERN PyObject
*MirrorDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23884 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23885 SWIG_TypeNewClientData(SWIGTYPE_p_wxMirrorDC
, SWIG_NewClientData(obj
));
23886 return SWIG_Py_Void();
23889 SWIGINTERN PyObject
*MirrorDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23890 return SWIG_Python_InitShadowInstance(args
);
23893 SWIGINTERN PyObject
*_wrap_new_PostScriptDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23894 PyObject
*resultobj
= 0;
23895 wxPrintData
*arg1
= 0 ;
23896 wxPostScriptDC
*result
= 0 ;
23899 PyObject
* obj0
= 0 ;
23900 char * kwnames
[] = {
23901 (char *) "printData", NULL
23904 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) SWIG_fail
;
23905 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
23906 if (!SWIG_IsOK(res1
)) {
23907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23910 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23912 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23914 if (!wxPyCheckForApp()) SWIG_fail
;
23915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23916 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
23917 wxPyEndAllowThreads(__tstate
);
23918 if (PyErr_Occurred()) SWIG_fail
;
23920 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPostScriptDC
, SWIG_POINTER_NEW
| 0 );
23927 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23928 PyObject
*resultobj
= 0;
23929 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
23930 wxPrintData
*result
= 0 ;
23933 PyObject
*swig_obj
[1] ;
23935 if (!args
) SWIG_fail
;
23936 swig_obj
[0] = args
;
23937 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
23938 if (!SWIG_IsOK(res1
)) {
23939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_GetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
23941 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
23943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23945 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
23946 result
= (wxPrintData
*) &_result_ref
;
23948 wxPyEndAllowThreads(__tstate
);
23949 if (PyErr_Occurred()) SWIG_fail
;
23951 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
23958 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23959 PyObject
*resultobj
= 0;
23960 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
23961 wxPrintData
*arg2
= 0 ;
23966 PyObject
* obj0
= 0 ;
23967 PyObject
* obj1
= 0 ;
23968 char * kwnames
[] = {
23969 (char *) "self",(char *) "data", NULL
23972 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23973 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
23974 if (!SWIG_IsOK(res1
)) {
23975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
23977 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
23978 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
23979 if (!SWIG_IsOK(res2
)) {
23980 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
23983 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
23985 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
23987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23988 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
23989 wxPyEndAllowThreads(__tstate
);
23990 if (PyErr_Occurred()) SWIG_fail
;
23992 resultobj
= SWIG_Py_Void();
23999 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24000 PyObject
*resultobj
= 0;
24004 PyObject
* obj0
= 0 ;
24005 char * kwnames
[] = {
24006 (char *) "ppi", NULL
24009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) SWIG_fail
;
24010 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24011 if (!SWIG_IsOK(ecode1
)) {
24012 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PostScriptDC_SetResolution" "', expected argument " "1"" of type '" "int""'");
24014 arg1
= static_cast< int >(val1
);
24016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24017 wxPostScriptDC::SetResolution(arg1
);
24018 wxPyEndAllowThreads(__tstate
);
24019 if (PyErr_Occurred()) SWIG_fail
;
24021 resultobj
= SWIG_Py_Void();
24028 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24029 PyObject
*resultobj
= 0;
24032 if (!SWIG_Python_UnpackTuple(args
,"PostScriptDC_GetResolution",0,0,0)) SWIG_fail
;
24034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24035 result
= (int)wxPostScriptDC::GetResolution();
24036 wxPyEndAllowThreads(__tstate
);
24037 if (PyErr_Occurred()) SWIG_fail
;
24039 resultobj
= SWIG_From_int(static_cast< int >(result
));
24046 SWIGINTERN PyObject
*PostScriptDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24048 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24049 SWIG_TypeNewClientData(SWIGTYPE_p_wxPostScriptDC
, SWIG_NewClientData(obj
));
24050 return SWIG_Py_Void();
24053 SWIGINTERN PyObject
*PostScriptDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24054 return SWIG_Python_InitShadowInstance(args
);
24057 SWIGINTERN PyObject
*_wrap_new_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24058 PyObject
*resultobj
= 0;
24059 wxString
const &arg1_defvalue
= wxPyEmptyString
;
24060 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24061 wxMetaFile
*result
= 0 ;
24062 bool temp1
= false ;
24063 PyObject
* obj0
= 0 ;
24064 char * kwnames
[] = {
24065 (char *) "filename", NULL
24068 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) SWIG_fail
;
24071 arg1
= wxString_in_helper(obj0
);
24072 if (arg1
== NULL
) SWIG_fail
;
24077 if (!wxPyCheckForApp()) SWIG_fail
;
24078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24079 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
24080 wxPyEndAllowThreads(__tstate
);
24081 if (PyErr_Occurred()) SWIG_fail
;
24083 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_NEW
| 0 );
24098 SWIGINTERN PyObject
*MetaFile_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24100 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24101 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFile
, SWIG_NewClientData(obj
));
24102 return SWIG_Py_Void();
24105 SWIGINTERN PyObject
*MetaFile_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24106 return SWIG_Python_InitShadowInstance(args
);
24109 SWIGINTERN PyObject
*_wrap_new_MetaFileDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24110 PyObject
*resultobj
= 0;
24111 wxString
const &arg1_defvalue
= wxPyEmptyString
;
24112 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24113 int arg2
= (int) 0 ;
24114 int arg3
= (int) 0 ;
24115 wxString
const &arg4_defvalue
= wxPyEmptyString
;
24116 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
24117 wxMetaFileDC
*result
= 0 ;
24118 bool temp1
= false ;
24123 bool temp4
= false ;
24124 PyObject
* obj0
= 0 ;
24125 PyObject
* obj1
= 0 ;
24126 PyObject
* obj2
= 0 ;
24127 PyObject
* obj3
= 0 ;
24128 char * kwnames
[] = {
24129 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
24132 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24135 arg1
= wxString_in_helper(obj0
);
24136 if (arg1
== NULL
) SWIG_fail
;
24141 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24142 if (!SWIG_IsOK(ecode2
)) {
24143 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MetaFileDC" "', expected argument " "2"" of type '" "int""'");
24145 arg2
= static_cast< int >(val2
);
24148 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24149 if (!SWIG_IsOK(ecode3
)) {
24150 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_MetaFileDC" "', expected argument " "3"" of type '" "int""'");
24152 arg3
= static_cast< int >(val3
);
24156 arg4
= wxString_in_helper(obj3
);
24157 if (arg4
== NULL
) SWIG_fail
;
24162 if (!wxPyCheckForApp()) SWIG_fail
;
24163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24164 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
24165 wxPyEndAllowThreads(__tstate
);
24166 if (PyErr_Occurred()) SWIG_fail
;
24168 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFileDC
, SWIG_POINTER_NEW
| 0 );
24191 SWIGINTERN PyObject
*MetaFileDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24193 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24194 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFileDC
, SWIG_NewClientData(obj
));
24195 return SWIG_Py_Void();
24198 SWIGINTERN PyObject
*MetaFileDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24199 return SWIG_Python_InitShadowInstance(args
);
24202 SWIGINTERN PyObject
*_wrap_new_PrinterDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24203 PyObject
*resultobj
= 0;
24204 wxPrintData
*arg1
= 0 ;
24205 wxPrinterDC
*result
= 0 ;
24208 PyObject
* obj0
= 0 ;
24209 char * kwnames
[] = {
24210 (char *) "printData", NULL
24213 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) SWIG_fail
;
24214 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24215 if (!SWIG_IsOK(res1
)) {
24216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24219 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24221 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24223 if (!wxPyCheckForApp()) SWIG_fail
;
24224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24225 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
24226 wxPyEndAllowThreads(__tstate
);
24227 if (PyErr_Occurred()) SWIG_fail
;
24229 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinterDC
, SWIG_POINTER_NEW
| 0 );
24236 SWIGINTERN PyObject
*PrinterDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24238 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24239 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinterDC
, SWIG_NewClientData(obj
));
24240 return SWIG_Py_Void();
24243 SWIGINTERN PyObject
*PrinterDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24244 return SWIG_Python_InitShadowInstance(args
);
24247 SWIGINTERN PyObject
*_wrap_delete_GraphicsPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24248 PyObject
*resultobj
= 0;
24249 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
24252 PyObject
*swig_obj
[1] ;
24254 if (!args
) SWIG_fail
;
24255 swig_obj
[0] = args
;
24256 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_DISOWN
| 0 );
24257 if (!SWIG_IsOK(res1
)) {
24258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsPath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
24260 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
24264 if (PyErr_Occurred()) SWIG_fail
;
24266 resultobj
= SWIG_Py_Void();
24273 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24274 PyObject
*resultobj
= 0;
24275 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
24284 PyObject
* obj0
= 0 ;
24285 PyObject
* obj1
= 0 ;
24286 PyObject
* obj2
= 0 ;
24287 char * kwnames
[] = {
24288 (char *) "self",(char *) "x",(char *) "y", NULL
24291 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsPath_MoveToPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24292 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
24293 if (!SWIG_IsOK(res1
)) {
24294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
24296 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
24297 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
24298 if (!SWIG_IsOK(ecode2
)) {
24299 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
24301 arg2
= static_cast< wxDouble
>(val2
);
24302 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
24303 if (!SWIG_IsOK(ecode3
)) {
24304 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
24306 arg3
= static_cast< wxDouble
>(val3
);
24308 (arg1
)->MoveToPoint(arg2
,arg3
);
24309 if (PyErr_Occurred()) SWIG_fail
;
24311 resultobj
= SWIG_Py_Void();
24318 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24319 PyObject
*resultobj
= 0;
24320 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
24329 PyObject
* obj0
= 0 ;
24330 PyObject
* obj1
= 0 ;
24331 PyObject
* obj2
= 0 ;
24332 char * kwnames
[] = {
24333 (char *) "self",(char *) "x",(char *) "y", NULL
24336 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsPath_AddLineToPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24337 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
24338 if (!SWIG_IsOK(res1
)) {
24339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
24341 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
24342 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
24343 if (!SWIG_IsOK(ecode2
)) {
24344 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
24346 arg2
= static_cast< wxDouble
>(val2
);
24347 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
24348 if (!SWIG_IsOK(ecode3
)) {
24349 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
24351 arg3
= static_cast< wxDouble
>(val3
);
24353 (arg1
)->AddLineToPoint(arg2
,arg3
);
24354 if (PyErr_Occurred()) SWIG_fail
;
24356 resultobj
= SWIG_Py_Void();
24363 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24364 PyObject
*resultobj
= 0;
24365 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
24386 PyObject
* obj0
= 0 ;
24387 PyObject
* obj1
= 0 ;
24388 PyObject
* obj2
= 0 ;
24389 PyObject
* obj3
= 0 ;
24390 PyObject
* obj4
= 0 ;
24391 PyObject
* obj5
= 0 ;
24392 PyObject
* obj6
= 0 ;
24393 char * kwnames
[] = {
24394 (char *) "self",(char *) "cx1",(char *) "cy1",(char *) "cx2",(char *) "cy2",(char *) "x",(char *) "y", NULL
24397 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsPath_AddCurveToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
24398 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
24399 if (!SWIG_IsOK(res1
)) {
24400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
24402 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
24403 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
24404 if (!SWIG_IsOK(ecode2
)) {
24405 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
24407 arg2
= static_cast< wxDouble
>(val2
);
24408 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
24409 if (!SWIG_IsOK(ecode3
)) {
24410 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
24412 arg3
= static_cast< wxDouble
>(val3
);
24413 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
24414 if (!SWIG_IsOK(ecode4
)) {
24415 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
24417 arg4
= static_cast< wxDouble
>(val4
);
24418 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
24419 if (!SWIG_IsOK(ecode5
)) {
24420 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
24422 arg5
= static_cast< wxDouble
>(val5
);
24423 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
24424 if (!SWIG_IsOK(ecode6
)) {
24425 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "6"" of type '" "wxDouble""'");
24427 arg6
= static_cast< wxDouble
>(val6
);
24428 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
24429 if (!SWIG_IsOK(ecode7
)) {
24430 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "7"" of type '" "wxDouble""'");
24432 arg7
= static_cast< wxDouble
>(val7
);
24434 (arg1
)->AddCurveToPoint(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
24435 if (PyErr_Occurred()) SWIG_fail
;
24437 resultobj
= SWIG_Py_Void();
24444 SWIGINTERN PyObject
*_wrap_GraphicsPath_CloseSubpath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24445 PyObject
*resultobj
= 0;
24446 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
24449 PyObject
*swig_obj
[1] ;
24451 if (!args
) SWIG_fail
;
24452 swig_obj
[0] = args
;
24453 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
24454 if (!SWIG_IsOK(res1
)) {
24455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_CloseSubpath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
24457 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
24459 (arg1
)->CloseSubpath();
24460 if (PyErr_Occurred()) SWIG_fail
;
24462 resultobj
= SWIG_Py_Void();
24469 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetCurrentPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24470 PyObject
*resultobj
= 0;
24471 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
24475 PyObject
*swig_obj
[1] ;
24477 if (!args
) SWIG_fail
;
24478 swig_obj
[0] = args
;
24479 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
24480 if (!SWIG_IsOK(res1
)) {
24481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetCurrentPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
24483 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
24485 result
= (arg1
)->GetCurrentPoint();
24486 if (PyErr_Occurred()) SWIG_fail
;
24488 resultobj
= SWIG_NewPointerObj((new wxPoint2D(static_cast< const wxPoint2D
& >(result
))), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
24495 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24496 PyObject
*resultobj
= 0;
24497 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
24518 PyObject
* obj0
= 0 ;
24519 PyObject
* obj1
= 0 ;
24520 PyObject
* obj2
= 0 ;
24521 PyObject
* obj3
= 0 ;
24522 PyObject
* obj4
= 0 ;
24523 PyObject
* obj5
= 0 ;
24524 PyObject
* obj6
= 0 ;
24525 char * kwnames
[] = {
24526 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "startAngle",(char *) "endAngle",(char *) "clockwise", NULL
24529 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsPath_AddArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
24530 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
24531 if (!SWIG_IsOK(res1
)) {
24532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArc" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
24534 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
24535 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
24536 if (!SWIG_IsOK(ecode2
)) {
24537 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArc" "', expected argument " "2"" of type '" "wxDouble""'");
24539 arg2
= static_cast< wxDouble
>(val2
);
24540 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
24541 if (!SWIG_IsOK(ecode3
)) {
24542 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArc" "', expected argument " "3"" of type '" "wxDouble""'");
24544 arg3
= static_cast< wxDouble
>(val3
);
24545 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
24546 if (!SWIG_IsOK(ecode4
)) {
24547 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArc" "', expected argument " "4"" of type '" "wxDouble""'");
24549 arg4
= static_cast< wxDouble
>(val4
);
24550 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
24551 if (!SWIG_IsOK(ecode5
)) {
24552 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArc" "', expected argument " "5"" of type '" "wxDouble""'");
24554 arg5
= static_cast< wxDouble
>(val5
);
24555 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
24556 if (!SWIG_IsOK(ecode6
)) {
24557 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArc" "', expected argument " "6"" of type '" "wxDouble""'");
24559 arg6
= static_cast< wxDouble
>(val6
);
24560 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
24561 if (!SWIG_IsOK(ecode7
)) {
24562 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddArc" "', expected argument " "7"" of type '" "bool""'");
24564 arg7
= static_cast< bool >(val7
);
24566 (arg1
)->AddArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
24567 if (PyErr_Occurred()) SWIG_fail
;
24569 resultobj
= SWIG_Py_Void();
24576 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddQuadCurveToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24577 PyObject
*resultobj
= 0;
24578 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
24593 PyObject
* obj0
= 0 ;
24594 PyObject
* obj1
= 0 ;
24595 PyObject
* obj2
= 0 ;
24596 PyObject
* obj3
= 0 ;
24597 PyObject
* obj4
= 0 ;
24598 char * kwnames
[] = {
24599 (char *) "self",(char *) "cx",(char *) "cy",(char *) "x",(char *) "y", NULL
24602 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddQuadCurveToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
24603 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
24604 if (!SWIG_IsOK(res1
)) {
24605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
24607 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
24608 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
24609 if (!SWIG_IsOK(ecode2
)) {
24610 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
24612 arg2
= static_cast< wxDouble
>(val2
);
24613 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
24614 if (!SWIG_IsOK(ecode3
)) {
24615 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
24617 arg3
= static_cast< wxDouble
>(val3
);
24618 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
24619 if (!SWIG_IsOK(ecode4
)) {
24620 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
24622 arg4
= static_cast< wxDouble
>(val4
);
24623 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
24624 if (!SWIG_IsOK(ecode5
)) {
24625 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
24627 arg5
= static_cast< wxDouble
>(val5
);
24629 (arg1
)->AddQuadCurveToPoint(arg2
,arg3
,arg4
,arg5
);
24630 if (PyErr_Occurred()) SWIG_fail
;
24632 resultobj
= SWIG_Py_Void();
24639 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24640 PyObject
*resultobj
= 0;
24641 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
24656 PyObject
* obj0
= 0 ;
24657 PyObject
* obj1
= 0 ;
24658 PyObject
* obj2
= 0 ;
24659 PyObject
* obj3
= 0 ;
24660 PyObject
* obj4
= 0 ;
24661 char * kwnames
[] = {
24662 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
24665 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
24666 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
24667 if (!SWIG_IsOK(res1
)) {
24668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
24670 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
24671 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
24672 if (!SWIG_IsOK(ecode2
)) {
24673 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
24675 arg2
= static_cast< wxDouble
>(val2
);
24676 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
24677 if (!SWIG_IsOK(ecode3
)) {
24678 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
24680 arg3
= static_cast< wxDouble
>(val3
);
24681 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
24682 if (!SWIG_IsOK(ecode4
)) {
24683 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
24685 arg4
= static_cast< wxDouble
>(val4
);
24686 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
24687 if (!SWIG_IsOK(ecode5
)) {
24688 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
24690 arg5
= static_cast< wxDouble
>(val5
);
24692 (arg1
)->AddRectangle(arg2
,arg3
,arg4
,arg5
);
24693 if (PyErr_Occurred()) SWIG_fail
;
24695 resultobj
= SWIG_Py_Void();
24702 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24703 PyObject
*resultobj
= 0;
24704 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
24716 PyObject
* obj0
= 0 ;
24717 PyObject
* obj1
= 0 ;
24718 PyObject
* obj2
= 0 ;
24719 PyObject
* obj3
= 0 ;
24720 char * kwnames
[] = {
24721 (char *) "self",(char *) "x",(char *) "y",(char *) "r", NULL
24724 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GraphicsPath_AddCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24725 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
24726 if (!SWIG_IsOK(res1
)) {
24727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
24729 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
24730 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
24731 if (!SWIG_IsOK(ecode2
)) {
24732 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "2"" of type '" "wxDouble""'");
24734 arg2
= static_cast< wxDouble
>(val2
);
24735 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
24736 if (!SWIG_IsOK(ecode3
)) {
24737 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "3"" of type '" "wxDouble""'");
24739 arg3
= static_cast< wxDouble
>(val3
);
24740 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
24741 if (!SWIG_IsOK(ecode4
)) {
24742 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "4"" of type '" "wxDouble""'");
24744 arg4
= static_cast< wxDouble
>(val4
);
24746 (arg1
)->AddCircle(arg2
,arg3
,arg4
);
24747 if (PyErr_Occurred()) SWIG_fail
;
24749 resultobj
= SWIG_Py_Void();
24756 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArcToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24757 PyObject
*resultobj
= 0;
24758 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
24776 PyObject
* obj0
= 0 ;
24777 PyObject
* obj1
= 0 ;
24778 PyObject
* obj2
= 0 ;
24779 PyObject
* obj3
= 0 ;
24780 PyObject
* obj4
= 0 ;
24781 PyObject
* obj5
= 0 ;
24782 char * kwnames
[] = {
24783 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "r", NULL
24786 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsPath_AddArcToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
24787 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
24788 if (!SWIG_IsOK(res1
)) {
24789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
24791 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
24792 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
24793 if (!SWIG_IsOK(ecode2
)) {
24794 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
24796 arg2
= static_cast< wxDouble
>(val2
);
24797 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
24798 if (!SWIG_IsOK(ecode3
)) {
24799 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
24801 arg3
= static_cast< wxDouble
>(val3
);
24802 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
24803 if (!SWIG_IsOK(ecode4
)) {
24804 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
24806 arg4
= static_cast< wxDouble
>(val4
);
24807 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
24808 if (!SWIG_IsOK(ecode5
)) {
24809 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
24811 arg5
= static_cast< wxDouble
>(val5
);
24812 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
24813 if (!SWIG_IsOK(ecode6
)) {
24814 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "6"" of type '" "wxDouble""'");
24816 arg6
= static_cast< wxDouble
>(val6
);
24818 (arg1
)->AddArcToPoint(arg2
,arg3
,arg4
,arg5
,arg6
);
24819 if (PyErr_Occurred()) SWIG_fail
;
24821 resultobj
= SWIG_Py_Void();
24828 SWIGINTERN PyObject
*GraphicsPath_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24830 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24831 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsPath
, SWIG_NewClientData(obj
));
24832 return SWIG_Py_Void();
24835 SWIGINTERN PyObject
*_wrap_delete_GraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24836 PyObject
*resultobj
= 0;
24837 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
24840 PyObject
*swig_obj
[1] ;
24842 if (!args
) SWIG_fail
;
24843 swig_obj
[0] = args
;
24844 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_DISOWN
| 0 );
24845 if (!SWIG_IsOK(res1
)) {
24846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsContext" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
24848 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
24852 if (PyErr_Occurred()) SWIG_fail
;
24854 resultobj
= SWIG_Py_Void();
24861 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24862 PyObject
*resultobj
= 0;
24863 wxWindowDC
*arg1
= 0 ;
24864 wxGraphicsContext
*result
= 0 ;
24868 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
24869 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
24870 if (!SWIG_IsOK(res1
)) {
24871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
24874 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
24876 arg1
= reinterpret_cast< wxWindowDC
* >(argp1
);
24878 result
= (wxGraphicsContext
*)wxGraphicsContext::Create((wxWindowDC
const &)*arg1
);
24879 if (PyErr_Occurred()) SWIG_fail
;
24881 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
24888 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24889 PyObject
*resultobj
= 0;
24890 wxWindow
*arg1
= (wxWindow
*) 0 ;
24891 wxGraphicsContext
*result
= 0 ;
24895 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
24896 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24897 if (!SWIG_IsOK(res1
)) {
24898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindow *""'");
24900 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24902 result
= (wxGraphicsContext
*)wxGraphicsContext::Create(arg1
);
24903 if (PyErr_Occurred()) SWIG_fail
;
24905 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
24912 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create(PyObject
*self
, PyObject
*args
) {
24916 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_Create",0,1,argv
))) SWIG_fail
;
24921 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxWindowDC
, 0);
24922 _v
= SWIG_CheckState(res
);
24924 if (!_v
) goto check_1
;
24925 return _wrap_GraphicsContext_Create__SWIG_0(self
, argc
, argv
);
24930 return _wrap_GraphicsContext_Create__SWIG_1(self
, argc
, argv
);
24934 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_Create'");
24939 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFromNative(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24940 PyObject
*resultobj
= 0;
24941 void *arg1
= (void *) 0 ;
24942 wxGraphicsContext
*result
= 0 ;
24944 PyObject
* obj0
= 0 ;
24945 char * kwnames
[] = {
24946 (char *) "context", NULL
24949 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GraphicsContext_CreateFromNative",kwnames
,&obj0
)) SWIG_fail
;
24950 res1
= SWIG_ConvertPtr(obj0
,SWIG_as_voidptrptr(&arg1
), 0, 0);
24951 if (!SWIG_IsOK(res1
)) {
24952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFromNative" "', expected argument " "1"" of type '" "void *""'");
24955 result
= (wxGraphicsContext
*)wxGraphicsContext::CreateFromNative(arg1
);
24956 if (PyErr_Occurred()) SWIG_fail
;
24958 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
24965 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreatePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24966 PyObject
*resultobj
= 0;
24967 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
24968 wxGraphicsPath
*result
= 0 ;
24971 PyObject
*swig_obj
[1] ;
24973 if (!args
) SWIG_fail
;
24974 swig_obj
[0] = args
;
24975 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
24976 if (!SWIG_IsOK(res1
)) {
24977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreatePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
24979 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
24981 result
= (wxGraphicsPath
*)(arg1
)->CreatePath();
24982 if (PyErr_Occurred()) SWIG_fail
;
24984 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
24991 SWIGINTERN PyObject
*_wrap_GraphicsContext_PushState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24992 PyObject
*resultobj
= 0;
24993 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
24996 PyObject
*swig_obj
[1] ;
24998 if (!args
) SWIG_fail
;
24999 swig_obj
[0] = args
;
25000 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25001 if (!SWIG_IsOK(res1
)) {
25002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_PushState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25004 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25006 (arg1
)->PushState();
25007 if (PyErr_Occurred()) SWIG_fail
;
25009 resultobj
= SWIG_Py_Void();
25016 SWIGINTERN PyObject
*_wrap_GraphicsContext_PopState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25017 PyObject
*resultobj
= 0;
25018 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25021 PyObject
*swig_obj
[1] ;
25023 if (!args
) SWIG_fail
;
25024 swig_obj
[0] = args
;
25025 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25026 if (!SWIG_IsOK(res1
)) {
25027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_PopState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25029 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25031 (arg1
)->PopState();
25032 if (PyErr_Occurred()) SWIG_fail
;
25034 resultobj
= SWIG_Py_Void();
25041 SWIGINTERN PyObject
*_wrap_GraphicsContext_ClipRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25042 PyObject
*resultobj
= 0;
25043 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25044 wxRegion
*arg2
= 0 ;
25049 PyObject
* obj0
= 0 ;
25050 PyObject
* obj1
= 0 ;
25051 char * kwnames
[] = {
25052 (char *) "self",(char *) "region", NULL
25055 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_ClipRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25056 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25057 if (!SWIG_IsOK(res1
)) {
25058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ClipRegion" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25060 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25061 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
25062 if (!SWIG_IsOK(res2
)) {
25063 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_ClipRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
25066 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_ClipRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
25068 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
25070 (arg1
)->Clip((wxRegion
const &)*arg2
);
25071 if (PyErr_Occurred()) SWIG_fail
;
25073 resultobj
= SWIG_Py_Void();
25080 SWIGINTERN PyObject
*_wrap_GraphicsContext_Clip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25081 PyObject
*resultobj
= 0;
25082 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25097 PyObject
* obj0
= 0 ;
25098 PyObject
* obj1
= 0 ;
25099 PyObject
* obj2
= 0 ;
25100 PyObject
* obj3
= 0 ;
25101 PyObject
* obj4
= 0 ;
25102 char * kwnames
[] = {
25103 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
25106 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_Clip",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
25107 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25108 if (!SWIG_IsOK(res1
)) {
25109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Clip" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25111 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25112 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25113 if (!SWIG_IsOK(ecode2
)) {
25114 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Clip" "', expected argument " "2"" of type '" "wxDouble""'");
25116 arg2
= static_cast< wxDouble
>(val2
);
25117 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25118 if (!SWIG_IsOK(ecode3
)) {
25119 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Clip" "', expected argument " "3"" of type '" "wxDouble""'");
25121 arg3
= static_cast< wxDouble
>(val3
);
25122 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
25123 if (!SWIG_IsOK(ecode4
)) {
25124 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_Clip" "', expected argument " "4"" of type '" "wxDouble""'");
25126 arg4
= static_cast< wxDouble
>(val4
);
25127 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
25128 if (!SWIG_IsOK(ecode5
)) {
25129 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_Clip" "', expected argument " "5"" of type '" "wxDouble""'");
25131 arg5
= static_cast< wxDouble
>(val5
);
25133 (arg1
)->Clip(arg2
,arg3
,arg4
,arg5
);
25134 if (PyErr_Occurred()) SWIG_fail
;
25136 resultobj
= SWIG_Py_Void();
25143 SWIGINTERN PyObject
*_wrap_GraphicsContext_ResetClip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25144 PyObject
*resultobj
= 0;
25145 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25148 PyObject
*swig_obj
[1] ;
25150 if (!args
) SWIG_fail
;
25151 swig_obj
[0] = args
;
25152 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25153 if (!SWIG_IsOK(res1
)) {
25154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ResetClip" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25156 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25158 (arg1
)->ResetClip();
25159 if (PyErr_Occurred()) SWIG_fail
;
25161 resultobj
= SWIG_Py_Void();
25168 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetNativeContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25169 PyObject
*resultobj
= 0;
25170 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25174 PyObject
*swig_obj
[1] ;
25176 if (!args
) SWIG_fail
;
25177 swig_obj
[0] = args
;
25178 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25179 if (!SWIG_IsOK(res1
)) {
25180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetNativeContext" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25182 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25184 result
= (void *)(arg1
)->GetNativeContext();
25185 if (PyErr_Occurred()) SWIG_fail
;
25187 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
25194 SWIGINTERN PyObject
*_wrap_GraphicsContext_Translate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25195 PyObject
*resultobj
= 0;
25196 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25205 PyObject
* obj0
= 0 ;
25206 PyObject
* obj1
= 0 ;
25207 PyObject
* obj2
= 0 ;
25208 char * kwnames
[] = {
25209 (char *) "self",(char *) "dx",(char *) "dy", NULL
25212 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25213 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25214 if (!SWIG_IsOK(res1
)) {
25215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Translate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25217 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25218 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25219 if (!SWIG_IsOK(ecode2
)) {
25220 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Translate" "', expected argument " "2"" of type '" "wxDouble""'");
25222 arg2
= static_cast< wxDouble
>(val2
);
25223 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25224 if (!SWIG_IsOK(ecode3
)) {
25225 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Translate" "', expected argument " "3"" of type '" "wxDouble""'");
25227 arg3
= static_cast< wxDouble
>(val3
);
25229 (arg1
)->Translate(arg2
,arg3
);
25230 if (PyErr_Occurred()) SWIG_fail
;
25232 resultobj
= SWIG_Py_Void();
25239 SWIGINTERN PyObject
*_wrap_GraphicsContext_Scale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25240 PyObject
*resultobj
= 0;
25241 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25250 PyObject
* obj0
= 0 ;
25251 PyObject
* obj1
= 0 ;
25252 PyObject
* obj2
= 0 ;
25253 char * kwnames
[] = {
25254 (char *) "self",(char *) "xScale",(char *) "yScale", NULL
25257 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25258 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25259 if (!SWIG_IsOK(res1
)) {
25260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Scale" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25262 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25263 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25264 if (!SWIG_IsOK(ecode2
)) {
25265 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Scale" "', expected argument " "2"" of type '" "wxDouble""'");
25267 arg2
= static_cast< wxDouble
>(val2
);
25268 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25269 if (!SWIG_IsOK(ecode3
)) {
25270 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Scale" "', expected argument " "3"" of type '" "wxDouble""'");
25272 arg3
= static_cast< wxDouble
>(val3
);
25274 (arg1
)->Scale(arg2
,arg3
);
25275 if (PyErr_Occurred()) SWIG_fail
;
25277 resultobj
= SWIG_Py_Void();
25284 SWIGINTERN PyObject
*_wrap_GraphicsContext_Rotate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25285 PyObject
*resultobj
= 0;
25286 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25292 PyObject
* obj0
= 0 ;
25293 PyObject
* obj1
= 0 ;
25294 char * kwnames
[] = {
25295 (char *) "self",(char *) "angle", NULL
25298 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_Rotate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25299 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25300 if (!SWIG_IsOK(res1
)) {
25301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Rotate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25303 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25304 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25305 if (!SWIG_IsOK(ecode2
)) {
25306 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Rotate" "', expected argument " "2"" of type '" "wxDouble""'");
25308 arg2
= static_cast< wxDouble
>(val2
);
25310 (arg1
)->Rotate(arg2
);
25311 if (PyErr_Occurred()) SWIG_fail
;
25313 resultobj
= SWIG_Py_Void();
25320 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25321 PyObject
*resultobj
= 0;
25322 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25328 PyObject
* obj0
= 0 ;
25329 PyObject
* obj1
= 0 ;
25330 char * kwnames
[] = {
25331 (char *) "self",(char *) "pen", NULL
25334 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25335 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25336 if (!SWIG_IsOK(res1
)) {
25337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetPen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25339 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25340 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
25341 if (!SWIG_IsOK(res2
)) {
25342 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
25345 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
25347 arg2
= reinterpret_cast< wxPen
* >(argp2
);
25349 (arg1
)->SetPen((wxPen
const &)*arg2
);
25350 if (PyErr_Occurred()) SWIG_fail
;
25352 resultobj
= SWIG_Py_Void();
25359 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25360 PyObject
*resultobj
= 0;
25361 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25362 wxBrush
*arg2
= 0 ;
25367 PyObject
* obj0
= 0 ;
25368 PyObject
* obj1
= 0 ;
25369 char * kwnames
[] = {
25370 (char *) "self",(char *) "brush", NULL
25373 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25374 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25375 if (!SWIG_IsOK(res1
)) {
25376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25378 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25379 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
25380 if (!SWIG_IsOK(res2
)) {
25381 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
25384 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
25386 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
25388 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
25389 if (PyErr_Occurred()) SWIG_fail
;
25391 resultobj
= SWIG_Py_Void();
25398 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetLinearGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25399 PyObject
*resultobj
= 0;
25400 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25405 wxColour
*arg6
= 0 ;
25406 wxColour
*arg7
= 0 ;
25419 PyObject
* obj0
= 0 ;
25420 PyObject
* obj1
= 0 ;
25421 PyObject
* obj2
= 0 ;
25422 PyObject
* obj3
= 0 ;
25423 PyObject
* obj4
= 0 ;
25424 PyObject
* obj5
= 0 ;
25425 PyObject
* obj6
= 0 ;
25426 char * kwnames
[] = {
25427 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "c1",(char *) "c2", NULL
25430 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsContext_SetLinearGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
25431 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25432 if (!SWIG_IsOK(res1
)) {
25433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetLinearGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25435 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25436 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25437 if (!SWIG_IsOK(ecode2
)) {
25438 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_SetLinearGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
25440 arg2
= static_cast< wxDouble
>(val2
);
25441 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25442 if (!SWIG_IsOK(ecode3
)) {
25443 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_SetLinearGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
25445 arg3
= static_cast< wxDouble
>(val3
);
25446 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
25447 if (!SWIG_IsOK(ecode4
)) {
25448 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_SetLinearGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
25450 arg4
= static_cast< wxDouble
>(val4
);
25451 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
25452 if (!SWIG_IsOK(ecode5
)) {
25453 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_SetLinearGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
25455 arg5
= static_cast< wxDouble
>(val5
);
25458 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
25462 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
25465 (arg1
)->SetLinearGradientBrush(arg2
,arg3
,arg4
,arg5
,(wxColour
const &)*arg6
,(wxColour
const &)*arg7
);
25466 if (PyErr_Occurred()) SWIG_fail
;
25468 resultobj
= SWIG_Py_Void();
25475 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetRadialGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25476 PyObject
*resultobj
= 0;
25477 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25483 wxColour
*arg7
= 0 ;
25484 wxColour
*arg8
= 0 ;
25499 PyObject
* obj0
= 0 ;
25500 PyObject
* obj1
= 0 ;
25501 PyObject
* obj2
= 0 ;
25502 PyObject
* obj3
= 0 ;
25503 PyObject
* obj4
= 0 ;
25504 PyObject
* obj5
= 0 ;
25505 PyObject
* obj6
= 0 ;
25506 PyObject
* obj7
= 0 ;
25507 char * kwnames
[] = {
25508 (char *) "self",(char *) "xo",(char *) "yo",(char *) "xc",(char *) "yc",(char *) "radius",(char *) "oColor",(char *) "cColor", NULL
25511 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GraphicsContext_SetRadialGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
25512 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25513 if (!SWIG_IsOK(res1
)) {
25514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetRadialGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25516 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25517 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25518 if (!SWIG_IsOK(ecode2
)) {
25519 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_SetRadialGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
25521 arg2
= static_cast< wxDouble
>(val2
);
25522 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25523 if (!SWIG_IsOK(ecode3
)) {
25524 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_SetRadialGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
25526 arg3
= static_cast< wxDouble
>(val3
);
25527 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
25528 if (!SWIG_IsOK(ecode4
)) {
25529 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_SetRadialGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
25531 arg4
= static_cast< wxDouble
>(val4
);
25532 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
25533 if (!SWIG_IsOK(ecode5
)) {
25534 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_SetRadialGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
25536 arg5
= static_cast< wxDouble
>(val5
);
25537 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
25538 if (!SWIG_IsOK(ecode6
)) {
25539 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_SetRadialGradientBrush" "', expected argument " "6"" of type '" "wxDouble""'");
25541 arg6
= static_cast< wxDouble
>(val6
);
25544 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
25548 if ( ! wxColour_helper(obj7
, &arg8
)) SWIG_fail
;
25551 (arg1
)->SetRadialGradientBrush(arg2
,arg3
,arg4
,arg5
,arg6
,(wxColour
const &)*arg7
,(wxColour
const &)*arg8
);
25552 if (PyErr_Occurred()) SWIG_fail
;
25554 resultobj
= SWIG_Py_Void();
25561 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25562 PyObject
*resultobj
= 0;
25563 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25569 PyObject
* obj0
= 0 ;
25570 PyObject
* obj1
= 0 ;
25571 char * kwnames
[] = {
25572 (char *) "self",(char *) "font", NULL
25575 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25576 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25577 if (!SWIG_IsOK(res1
)) {
25578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25580 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25581 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
25582 if (!SWIG_IsOK(res2
)) {
25583 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
25586 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
25588 arg2
= reinterpret_cast< wxFont
* >(argp2
);
25590 (arg1
)->SetFont((wxFont
const &)*arg2
);
25591 if (PyErr_Occurred()) SWIG_fail
;
25593 resultobj
= SWIG_Py_Void();
25600 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetTextColor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25601 PyObject
*resultobj
= 0;
25602 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25603 wxColour
*arg2
= 0 ;
25607 PyObject
* obj0
= 0 ;
25608 PyObject
* obj1
= 0 ;
25609 char * kwnames
[] = {
25610 (char *) "self",(char *) "col", NULL
25613 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetTextColor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25614 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25615 if (!SWIG_IsOK(res1
)) {
25616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetTextColor" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25618 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25621 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25624 (arg1
)->SetTextColor((wxColour
const &)*arg2
);
25625 if (PyErr_Occurred()) SWIG_fail
;
25627 resultobj
= SWIG_Py_Void();
25634 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25635 PyObject
*resultobj
= 0;
25636 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25637 wxGraphicsPath
*arg2
= (wxGraphicsPath
*) 0 ;
25642 PyObject
* obj0
= 0 ;
25643 PyObject
* obj1
= 0 ;
25644 char * kwnames
[] = {
25645 (char *) "self",(char *) "path", NULL
25648 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_StrokePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25649 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25650 if (!SWIG_IsOK(res1
)) {
25651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25653 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25654 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25655 if (!SWIG_IsOK(res2
)) {
25656 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "2"" of type '" "wxGraphicsPath const *""'");
25658 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
25660 (arg1
)->StrokePath((wxGraphicsPath
const *)arg2
);
25661 if (PyErr_Occurred()) SWIG_fail
;
25663 resultobj
= SWIG_Py_Void();
25670 SWIGINTERN PyObject
*_wrap_GraphicsContext_FillPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25671 PyObject
*resultobj
= 0;
25672 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25673 wxGraphicsPath
*arg2
= (wxGraphicsPath
*) 0 ;
25674 int arg3
= (int) wxWINDING_RULE
;
25681 PyObject
* obj0
= 0 ;
25682 PyObject
* obj1
= 0 ;
25683 PyObject
* obj2
= 0 ;
25684 char * kwnames
[] = {
25685 (char *) "self",(char *) "path",(char *) "fillStyle", NULL
25688 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_FillPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25689 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25690 if (!SWIG_IsOK(res1
)) {
25691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_FillPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25693 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25694 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25695 if (!SWIG_IsOK(res2
)) {
25696 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_FillPath" "', expected argument " "2"" of type '" "wxGraphicsPath const *""'");
25698 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
25700 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25701 if (!SWIG_IsOK(ecode3
)) {
25702 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_FillPath" "', expected argument " "3"" of type '" "int""'");
25704 arg3
= static_cast< int >(val3
);
25707 (arg1
)->FillPath((wxGraphicsPath
const *)arg2
,arg3
);
25708 if (PyErr_Occurred()) SWIG_fail
;
25710 resultobj
= SWIG_Py_Void();
25717 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25718 PyObject
*resultobj
= 0;
25719 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25720 wxGraphicsPath
*arg2
= (wxGraphicsPath
*) 0 ;
25721 int arg3
= (int) wxWINDING_RULE
;
25728 PyObject
* obj0
= 0 ;
25729 PyObject
* obj1
= 0 ;
25730 PyObject
* obj2
= 0 ;
25731 char * kwnames
[] = {
25732 (char *) "self",(char *) "path",(char *) "fillStyle", NULL
25735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_DrawPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25736 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25737 if (!SWIG_IsOK(res1
)) {
25738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25740 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25741 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25742 if (!SWIG_IsOK(res2
)) {
25743 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "2"" of type '" "wxGraphicsPath const *""'");
25745 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
25747 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25748 if (!SWIG_IsOK(ecode3
)) {
25749 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "3"" of type '" "int""'");
25751 arg3
= static_cast< int >(val3
);
25754 (arg1
)->DrawPath((wxGraphicsPath
const *)arg2
,arg3
);
25755 if (PyErr_Occurred()) SWIG_fail
;
25757 resultobj
= SWIG_Py_Void();
25764 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25765 PyObject
*resultobj
= 0;
25766 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25767 wxString
*arg2
= 0 ;
25772 bool temp2
= false ;
25777 PyObject
* obj0
= 0 ;
25778 PyObject
* obj1
= 0 ;
25779 PyObject
* obj2
= 0 ;
25780 PyObject
* obj3
= 0 ;
25781 char * kwnames
[] = {
25782 (char *) "self",(char *) "str",(char *) "x",(char *) "y", NULL
25785 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GraphicsContext_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
25786 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25787 if (!SWIG_IsOK(res1
)) {
25788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25790 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25792 arg2
= wxString_in_helper(obj1
);
25793 if (arg2
== NULL
) SWIG_fail
;
25796 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25797 if (!SWIG_IsOK(ecode3
)) {
25798 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawText" "', expected argument " "3"" of type '" "wxDouble""'");
25800 arg3
= static_cast< wxDouble
>(val3
);
25801 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
25802 if (!SWIG_IsOK(ecode4
)) {
25803 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawText" "', expected argument " "4"" of type '" "wxDouble""'");
25805 arg4
= static_cast< wxDouble
>(val4
);
25807 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
25808 if (PyErr_Occurred()) SWIG_fail
;
25810 resultobj
= SWIG_Py_Void();
25825 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25826 PyObject
*resultobj
= 0;
25827 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25828 wxString
*arg2
= 0 ;
25834 bool temp2
= false ;
25841 PyObject
* obj0
= 0 ;
25842 PyObject
* obj1
= 0 ;
25843 PyObject
* obj2
= 0 ;
25844 PyObject
* obj3
= 0 ;
25845 PyObject
* obj4
= 0 ;
25846 char * kwnames
[] = {
25847 (char *) "self",(char *) "str",(char *) "x",(char *) "y",(char *) "angle", NULL
25850 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
25851 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25852 if (!SWIG_IsOK(res1
)) {
25853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25855 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25857 arg2
= wxString_in_helper(obj1
);
25858 if (arg2
== NULL
) SWIG_fail
;
25861 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25862 if (!SWIG_IsOK(ecode3
)) {
25863 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "3"" of type '" "wxDouble""'");
25865 arg3
= static_cast< wxDouble
>(val3
);
25866 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
25867 if (!SWIG_IsOK(ecode4
)) {
25868 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "4"" of type '" "wxDouble""'");
25870 arg4
= static_cast< wxDouble
>(val4
);
25871 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
25872 if (!SWIG_IsOK(ecode5
)) {
25873 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "5"" of type '" "wxDouble""'");
25875 arg5
= static_cast< wxDouble
>(val5
);
25877 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
25878 if (PyErr_Occurred()) SWIG_fail
;
25880 resultobj
= SWIG_Py_Void();
25895 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25896 PyObject
*resultobj
= 0;
25897 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25898 wxString
*arg2
= 0 ;
25899 wxDouble
*arg3
= (wxDouble
*) 0 ;
25900 wxDouble
*arg4
= (wxDouble
*) 0 ;
25901 wxDouble
*arg5
= (wxDouble
*) 0 ;
25902 wxDouble
*arg6
= (wxDouble
*) 0 ;
25905 bool temp2
= false ;
25907 int res3
= SWIG_TMPOBJ
;
25909 int res4
= SWIG_TMPOBJ
;
25911 int res5
= SWIG_TMPOBJ
;
25913 int res6
= SWIG_TMPOBJ
;
25914 PyObject
* obj0
= 0 ;
25915 PyObject
* obj1
= 0 ;
25916 char * kwnames
[] = {
25917 (char *) "self",(char *) "text", NULL
25924 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25925 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25926 if (!SWIG_IsOK(res1
)) {
25927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetTextExtent" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
25929 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25931 arg2
= wxString_in_helper(obj1
);
25932 if (arg2
== NULL
) SWIG_fail
;
25936 ((wxGraphicsContext
const *)arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
25937 if (PyErr_Occurred()) SWIG_fail
;
25939 resultobj
= SWIG_Py_Void();
25940 if (SWIG_IsTmpObj(res3
)) {
25941 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
25943 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25944 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
25946 if (SWIG_IsTmpObj(res4
)) {
25947 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg4
)));
25949 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25950 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_double
, new_flags
));
25952 if (SWIG_IsTmpObj(res5
)) {
25953 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg5
)));
25955 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25956 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_double
, new_flags
));
25958 if (SWIG_IsTmpObj(res6
)) {
25959 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg6
)));
25961 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25962 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_double
, new_flags
));
25978 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25979 PyObject
*resultobj
= 0;
25980 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25981 wxString
*arg2
= 0 ;
25982 wxArrayDouble result
;
25985 bool temp2
= false ;
25986 PyObject
* obj0
= 0 ;
25987 PyObject
* obj1
= 0 ;
25988 char * kwnames
[] = {
25989 (char *) "self",(char *) "text", NULL
25992 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25993 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25994 if (!SWIG_IsOK(res1
)) {
25995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25997 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25999 arg2
= wxString_in_helper(obj1
);
26000 if (arg2
== NULL
) SWIG_fail
;
26004 result
= wxGraphicsContext_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
26005 if (PyErr_Occurred()) SWIG_fail
;
26008 resultobj
= wxArrayDouble2PyList_helper(result
);
26024 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26025 PyObject
*resultobj
= 0;
26026 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26027 wxBitmap
*arg2
= 0 ;
26044 PyObject
* obj0
= 0 ;
26045 PyObject
* obj1
= 0 ;
26046 PyObject
* obj2
= 0 ;
26047 PyObject
* obj3
= 0 ;
26048 PyObject
* obj4
= 0 ;
26049 PyObject
* obj5
= 0 ;
26050 char * kwnames
[] = {
26051 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
26054 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
26055 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26056 if (!SWIG_IsOK(res1
)) {
26057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26059 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26060 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
26061 if (!SWIG_IsOK(res2
)) {
26062 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
26065 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
26067 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
26068 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26069 if (!SWIG_IsOK(ecode3
)) {
26070 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "3"" of type '" "wxDouble""'");
26072 arg3
= static_cast< wxDouble
>(val3
);
26073 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26074 if (!SWIG_IsOK(ecode4
)) {
26075 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "4"" of type '" "wxDouble""'");
26077 arg4
= static_cast< wxDouble
>(val4
);
26078 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26079 if (!SWIG_IsOK(ecode5
)) {
26080 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "5"" of type '" "wxDouble""'");
26082 arg5
= static_cast< wxDouble
>(val5
);
26083 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
26084 if (!SWIG_IsOK(ecode6
)) {
26085 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "6"" of type '" "wxDouble""'");
26087 arg6
= static_cast< wxDouble
>(val6
);
26089 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
26090 if (PyErr_Occurred()) SWIG_fail
;
26092 resultobj
= SWIG_Py_Void();
26099 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26100 PyObject
*resultobj
= 0;
26101 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26119 PyObject
* obj0
= 0 ;
26120 PyObject
* obj1
= 0 ;
26121 PyObject
* obj2
= 0 ;
26122 PyObject
* obj3
= 0 ;
26123 PyObject
* obj4
= 0 ;
26124 PyObject
* obj5
= 0 ;
26125 char * kwnames
[] = {
26126 (char *) "self",(char *) "icon",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
26129 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
26130 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26131 if (!SWIG_IsOK(res1
)) {
26132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26134 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26135 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
26136 if (!SWIG_IsOK(res2
)) {
26137 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
26140 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
26142 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
26143 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26144 if (!SWIG_IsOK(ecode3
)) {
26145 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "3"" of type '" "wxDouble""'");
26147 arg3
= static_cast< wxDouble
>(val3
);
26148 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26149 if (!SWIG_IsOK(ecode4
)) {
26150 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "4"" of type '" "wxDouble""'");
26152 arg4
= static_cast< wxDouble
>(val4
);
26153 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26154 if (!SWIG_IsOK(ecode5
)) {
26155 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "5"" of type '" "wxDouble""'");
26157 arg5
= static_cast< wxDouble
>(val5
);
26158 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
26159 if (!SWIG_IsOK(ecode6
)) {
26160 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "6"" of type '" "wxDouble""'");
26162 arg6
= static_cast< wxDouble
>(val6
);
26164 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
26165 if (PyErr_Occurred()) SWIG_fail
;
26167 resultobj
= SWIG_Py_Void();
26174 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26175 PyObject
*resultobj
= 0;
26176 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26191 PyObject
* obj0
= 0 ;
26192 PyObject
* obj1
= 0 ;
26193 PyObject
* obj2
= 0 ;
26194 PyObject
* obj3
= 0 ;
26195 PyObject
* obj4
= 0 ;
26196 char * kwnames
[] = {
26197 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
26200 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_StrokeLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26201 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26202 if (!SWIG_IsOK(res1
)) {
26203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26205 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26206 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26207 if (!SWIG_IsOK(ecode2
)) {
26208 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "2"" of type '" "wxDouble""'");
26210 arg2
= static_cast< wxDouble
>(val2
);
26211 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26212 if (!SWIG_IsOK(ecode3
)) {
26213 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "3"" of type '" "wxDouble""'");
26215 arg3
= static_cast< wxDouble
>(val3
);
26216 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26217 if (!SWIG_IsOK(ecode4
)) {
26218 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "4"" of type '" "wxDouble""'");
26220 arg4
= static_cast< wxDouble
>(val4
);
26221 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26222 if (!SWIG_IsOK(ecode5
)) {
26223 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "5"" of type '" "wxDouble""'");
26225 arg5
= static_cast< wxDouble
>(val5
);
26227 (arg1
)->StrokeLine(arg2
,arg3
,arg4
,arg5
);
26228 if (PyErr_Occurred()) SWIG_fail
;
26230 resultobj
= SWIG_Py_Void();
26237 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26238 PyObject
*resultobj
= 0;
26239 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26241 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
26244 PyObject
* obj0
= 0 ;
26245 PyObject
* obj1
= 0 ;
26246 char * kwnames
[] = {
26247 (char *) "self",(char *) "points", NULL
26250 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_StrokeLines",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26251 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26252 if (!SWIG_IsOK(res1
)) {
26253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26255 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26257 arg3
= wxPoint2D_LIST_helper(obj1
, &arg2
);
26258 if (arg3
== NULL
) SWIG_fail
;
26261 (arg1
)->StrokeLines(arg2
,(wxPoint2D
const *)arg3
);
26262 if (PyErr_Occurred()) SWIG_fail
;
26264 resultobj
= SWIG_Py_Void();
26266 if (arg3
) delete [] arg3
;
26271 if (arg3
) delete [] arg3
;
26277 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLineSegements(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26278 PyObject
*resultobj
= 0;
26279 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26280 PyObject
*arg2
= (PyObject
*) 0 ;
26281 PyObject
*arg3
= (PyObject
*) 0 ;
26284 PyObject
* obj0
= 0 ;
26285 PyObject
* obj1
= 0 ;
26286 PyObject
* obj2
= 0 ;
26287 char * kwnames
[] = {
26288 (char *) "self",(char *) "beginPoints",(char *) "endPoints", NULL
26291 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_StrokeLineSegements",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26292 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26293 if (!SWIG_IsOK(res1
)) {
26294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLineSegements" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26296 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26300 wxGraphicsContext_StrokeLineSegements(arg1
,arg2
,arg3
);
26301 if (PyErr_Occurred()) SWIG_fail
;
26303 resultobj
= SWIG_Py_Void();
26310 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26311 PyObject
*resultobj
= 0;
26312 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26314 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
26315 int arg4
= (int) wxWINDING_RULE
;
26320 PyObject
* obj0
= 0 ;
26321 PyObject
* obj1
= 0 ;
26322 PyObject
* obj2
= 0 ;
26323 char * kwnames
[] = {
26324 (char *) "self",(char *) "points",(char *) "fillStyle", NULL
26327 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26328 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26329 if (!SWIG_IsOK(res1
)) {
26330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26332 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26334 arg3
= wxPoint2D_LIST_helper(obj1
, &arg2
);
26335 if (arg3
== NULL
) SWIG_fail
;
26338 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
26339 if (!SWIG_IsOK(ecode4
)) {
26340 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "4"" of type '" "int""'");
26342 arg4
= static_cast< int >(val4
);
26345 (arg1
)->DrawLines(arg2
,(wxPoint2D
const *)arg3
,arg4
);
26346 if (PyErr_Occurred()) SWIG_fail
;
26348 resultobj
= SWIG_Py_Void();
26350 if (arg3
) delete [] arg3
;
26355 if (arg3
) delete [] arg3
;
26361 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26362 PyObject
*resultobj
= 0;
26363 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26378 PyObject
* obj0
= 0 ;
26379 PyObject
* obj1
= 0 ;
26380 PyObject
* obj2
= 0 ;
26381 PyObject
* obj3
= 0 ;
26382 PyObject
* obj4
= 0 ;
26383 char * kwnames
[] = {
26384 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
26387 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26388 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26389 if (!SWIG_IsOK(res1
)) {
26390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26392 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26393 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26394 if (!SWIG_IsOK(ecode2
)) {
26395 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
26397 arg2
= static_cast< wxDouble
>(val2
);
26398 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26399 if (!SWIG_IsOK(ecode3
)) {
26400 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
26402 arg3
= static_cast< wxDouble
>(val3
);
26403 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26404 if (!SWIG_IsOK(ecode4
)) {
26405 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
26407 arg4
= static_cast< wxDouble
>(val4
);
26408 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26409 if (!SWIG_IsOK(ecode5
)) {
26410 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
26412 arg5
= static_cast< wxDouble
>(val5
);
26414 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
26415 if (PyErr_Occurred()) SWIG_fail
;
26417 resultobj
= SWIG_Py_Void();
26424 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26425 PyObject
*resultobj
= 0;
26426 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26441 PyObject
* obj0
= 0 ;
26442 PyObject
* obj1
= 0 ;
26443 PyObject
* obj2
= 0 ;
26444 PyObject
* obj3
= 0 ;
26445 PyObject
* obj4
= 0 ;
26446 char * kwnames
[] = {
26447 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
26450 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26451 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26452 if (!SWIG_IsOK(res1
)) {
26453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26455 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26456 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26457 if (!SWIG_IsOK(ecode2
)) {
26458 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "2"" of type '" "wxDouble""'");
26460 arg2
= static_cast< wxDouble
>(val2
);
26461 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26462 if (!SWIG_IsOK(ecode3
)) {
26463 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "3"" of type '" "wxDouble""'");
26465 arg3
= static_cast< wxDouble
>(val3
);
26466 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26467 if (!SWIG_IsOK(ecode4
)) {
26468 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "4"" of type '" "wxDouble""'");
26470 arg4
= static_cast< wxDouble
>(val4
);
26471 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26472 if (!SWIG_IsOK(ecode5
)) {
26473 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "5"" of type '" "wxDouble""'");
26475 arg5
= static_cast< wxDouble
>(val5
);
26477 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
26478 if (PyErr_Occurred()) SWIG_fail
;
26480 resultobj
= SWIG_Py_Void();
26487 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26488 PyObject
*resultobj
= 0;
26489 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26507 PyObject
* obj0
= 0 ;
26508 PyObject
* obj1
= 0 ;
26509 PyObject
* obj2
= 0 ;
26510 PyObject
* obj3
= 0 ;
26511 PyObject
* obj4
= 0 ;
26512 PyObject
* obj5
= 0 ;
26513 char * kwnames
[] = {
26514 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "radius", NULL
26517 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
26518 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26519 if (!SWIG_IsOK(res1
)) {
26520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26522 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26523 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26524 if (!SWIG_IsOK(ecode2
)) {
26525 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
26527 arg2
= static_cast< wxDouble
>(val2
);
26528 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26529 if (!SWIG_IsOK(ecode3
)) {
26530 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
26532 arg3
= static_cast< wxDouble
>(val3
);
26533 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26534 if (!SWIG_IsOK(ecode4
)) {
26535 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
26537 arg4
= static_cast< wxDouble
>(val4
);
26538 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26539 if (!SWIG_IsOK(ecode5
)) {
26540 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
26542 arg5
= static_cast< wxDouble
>(val5
);
26543 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
26544 if (!SWIG_IsOK(ecode6
)) {
26545 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "6"" of type '" "wxDouble""'");
26547 arg6
= static_cast< wxDouble
>(val6
);
26549 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
26550 if (PyErr_Occurred()) SWIG_fail
;
26552 resultobj
= SWIG_Py_Void();
26559 SWIGINTERN PyObject
*GraphicsContext_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26561 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26562 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsContext
, SWIG_NewClientData(obj
));
26563 return SWIG_Py_Void();
26566 SWIGINTERN PyObject
*_wrap_new_GCDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26567 PyObject
*resultobj
= 0;
26568 wxWindowDC
*arg1
= 0 ;
26569 wxGCDC
*result
= 0 ;
26572 PyObject
* obj0
= 0 ;
26573 char * kwnames
[] = {
26574 (char *) "dc", NULL
26577 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_GCDC",kwnames
,&obj0
)) SWIG_fail
;
26578 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
26579 if (!SWIG_IsOK(res1
)) {
26580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
26583 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
26585 arg1
= reinterpret_cast< wxWindowDC
* >(argp1
);
26587 if (!wxPyCheckForApp()) SWIG_fail
;
26588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26589 result
= (wxGCDC
*)new wxGCDC((wxWindowDC
const &)*arg1
);
26590 wxPyEndAllowThreads(__tstate
);
26591 if (PyErr_Occurred()) SWIG_fail
;
26593 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGCDC
, SWIG_POINTER_NEW
| 0 );
26600 SWIGINTERN PyObject
*_wrap_delete_GCDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26601 PyObject
*resultobj
= 0;
26602 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
26605 PyObject
*swig_obj
[1] ;
26607 if (!args
) SWIG_fail
;
26608 swig_obj
[0] = args
;
26609 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, SWIG_POINTER_DISOWN
| 0 );
26610 if (!SWIG_IsOK(res1
)) {
26611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GCDC" "', expected argument " "1"" of type '" "wxGCDC *""'");
26613 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
26617 if (PyErr_Occurred()) SWIG_fail
;
26619 resultobj
= SWIG_Py_Void();
26626 SWIGINTERN PyObject
*_wrap_GCDC_GetGraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26627 PyObject
*resultobj
= 0;
26628 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
26629 wxGraphicsContext
*result
= 0 ;
26632 PyObject
*swig_obj
[1] ;
26634 if (!args
) SWIG_fail
;
26635 swig_obj
[0] = args
;
26636 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, 0 | 0 );
26637 if (!SWIG_IsOK(res1
)) {
26638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GCDC_GetGraphicsContext" "', expected argument " "1"" of type '" "wxGCDC *""'");
26640 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
26642 result
= (wxGraphicsContext
*)(arg1
)->GetGraphicsContext();
26643 if (PyErr_Occurred()) SWIG_fail
;
26645 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26652 SWIGINTERN PyObject
*_wrap_GCDC_SetGraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26653 PyObject
*resultobj
= 0;
26654 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
26655 wxGraphicsContext
*arg2
= (wxGraphicsContext
*) 0 ;
26660 PyObject
* obj0
= 0 ;
26661 PyObject
* obj1
= 0 ;
26662 char * kwnames
[] = {
26663 (char *) "self",(char *) "ctx", NULL
26666 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GCDC_SetGraphicsContext",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26667 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGCDC
, 0 | 0 );
26668 if (!SWIG_IsOK(res1
)) {
26669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GCDC_SetGraphicsContext" "', expected argument " "1"" of type '" "wxGCDC *""'");
26671 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
26672 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26673 if (!SWIG_IsOK(res2
)) {
26674 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GCDC_SetGraphicsContext" "', expected argument " "2"" of type '" "wxGraphicsContext *""'");
26676 arg2
= reinterpret_cast< wxGraphicsContext
* >(argp2
);
26678 (arg1
)->SetGraphicsContext(arg2
);
26679 if (PyErr_Occurred()) SWIG_fail
;
26681 resultobj
= SWIG_Py_Void();
26688 SWIGINTERN PyObject
*GCDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26690 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26691 SWIG_TypeNewClientData(SWIGTYPE_p_wxGCDC
, SWIG_NewClientData(obj
));
26692 return SWIG_Py_Void();
26695 SWIGINTERN PyObject
*GCDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26696 return SWIG_Python_InitShadowInstance(args
);
26699 SWIGINTERN PyObject
*_wrap_new_Overlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26700 PyObject
*resultobj
= 0;
26701 wxOverlay
*result
= 0 ;
26703 if (!SWIG_Python_UnpackTuple(args
,"new_Overlay",0,0,0)) SWIG_fail
;
26705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26706 result
= (wxOverlay
*)new wxOverlay();
26707 wxPyEndAllowThreads(__tstate
);
26708 if (PyErr_Occurred()) SWIG_fail
;
26710 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxOverlay
, SWIG_POINTER_NEW
| 0 );
26717 SWIGINTERN PyObject
*_wrap_delete_Overlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26718 PyObject
*resultobj
= 0;
26719 wxOverlay
*arg1
= (wxOverlay
*) 0 ;
26722 PyObject
*swig_obj
[1] ;
26724 if (!args
) SWIG_fail
;
26725 swig_obj
[0] = args
;
26726 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOverlay
, SWIG_POINTER_DISOWN
| 0 );
26727 if (!SWIG_IsOK(res1
)) {
26728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Overlay" "', expected argument " "1"" of type '" "wxOverlay *""'");
26730 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
26732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26735 wxPyEndAllowThreads(__tstate
);
26736 if (PyErr_Occurred()) SWIG_fail
;
26738 resultobj
= SWIG_Py_Void();
26745 SWIGINTERN PyObject
*_wrap_Overlay_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26746 PyObject
*resultobj
= 0;
26747 wxOverlay
*arg1
= (wxOverlay
*) 0 ;
26750 PyObject
*swig_obj
[1] ;
26752 if (!args
) SWIG_fail
;
26753 swig_obj
[0] = args
;
26754 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOverlay
, 0 | 0 );
26755 if (!SWIG_IsOK(res1
)) {
26756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Overlay_Reset" "', expected argument " "1"" of type '" "wxOverlay *""'");
26758 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
26760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26762 wxPyEndAllowThreads(__tstate
);
26763 if (PyErr_Occurred()) SWIG_fail
;
26765 resultobj
= SWIG_Py_Void();
26772 SWIGINTERN PyObject
*Overlay_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26774 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26775 SWIG_TypeNewClientData(SWIGTYPE_p_wxOverlay
, SWIG_NewClientData(obj
));
26776 return SWIG_Py_Void();
26779 SWIGINTERN PyObject
*Overlay_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26780 return SWIG_Python_InitShadowInstance(args
);
26783 SWIGINTERN PyObject
*_wrap_new_DCOverlay__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26784 PyObject
*resultobj
= 0;
26785 wxOverlay
*arg1
= 0 ;
26786 wxWindowDC
*arg2
= (wxWindowDC
*) 0 ;
26791 wxDCOverlay
*result
= 0 ;
26805 if ((nobjs
< 6) || (nobjs
> 6)) SWIG_fail
;
26806 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxOverlay
, 0 );
26807 if (!SWIG_IsOK(res1
)) {
26808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
26811 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
26813 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
26814 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindowDC
, 0 | 0 );
26815 if (!SWIG_IsOK(res2
)) {
26816 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCOverlay" "', expected argument " "2"" of type '" "wxWindowDC *""'");
26818 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
26819 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
26820 if (!SWIG_IsOK(ecode3
)) {
26821 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DCOverlay" "', expected argument " "3"" of type '" "int""'");
26823 arg3
= static_cast< int >(val3
);
26824 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
26825 if (!SWIG_IsOK(ecode4
)) {
26826 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DCOverlay" "', expected argument " "4"" of type '" "int""'");
26828 arg4
= static_cast< int >(val4
);
26829 ecode5
= SWIG_AsVal_int(swig_obj
[4], &val5
);
26830 if (!SWIG_IsOK(ecode5
)) {
26831 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DCOverlay" "', expected argument " "5"" of type '" "int""'");
26833 arg5
= static_cast< int >(val5
);
26834 ecode6
= SWIG_AsVal_int(swig_obj
[5], &val6
);
26835 if (!SWIG_IsOK(ecode6
)) {
26836 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DCOverlay" "', expected argument " "6"" of type '" "int""'");
26838 arg6
= static_cast< int >(val6
);
26840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26841 result
= (wxDCOverlay
*)new wxDCOverlay(*arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
26842 wxPyEndAllowThreads(__tstate
);
26843 if (PyErr_Occurred()) SWIG_fail
;
26845 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_NEW
| 0 );
26852 SWIGINTERN PyObject
*_wrap_new_DCOverlay__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26853 PyObject
*resultobj
= 0;
26854 wxOverlay
*arg1
= 0 ;
26855 wxWindowDC
*arg2
= (wxWindowDC
*) 0 ;
26856 wxDCOverlay
*result
= 0 ;
26862 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26863 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxOverlay
, 0 );
26864 if (!SWIG_IsOK(res1
)) {
26865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
26868 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
26870 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
26871 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindowDC
, 0 | 0 );
26872 if (!SWIG_IsOK(res2
)) {
26873 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCOverlay" "', expected argument " "2"" of type '" "wxWindowDC *""'");
26875 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
26877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26878 result
= (wxDCOverlay
*)new wxDCOverlay(*arg1
,arg2
);
26879 wxPyEndAllowThreads(__tstate
);
26880 if (PyErr_Occurred()) SWIG_fail
;
26882 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_NEW
| 0 );
26889 SWIGINTERN PyObject
*_wrap_new_DCOverlay(PyObject
*self
, PyObject
*args
) {
26893 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_DCOverlay",0,6,argv
))) SWIG_fail
;
26896 return _wrap_new_DCOverlay__SWIG_1(self
, argc
, argv
);
26899 return _wrap_new_DCOverlay__SWIG_0(self
, argc
, argv
);
26903 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_DCOverlay'");
26908 SWIGINTERN PyObject
*_wrap_delete_DCOverlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26909 PyObject
*resultobj
= 0;
26910 wxDCOverlay
*arg1
= (wxDCOverlay
*) 0 ;
26913 PyObject
*swig_obj
[1] ;
26915 if (!args
) SWIG_fail
;
26916 swig_obj
[0] = args
;
26917 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_DISOWN
| 0 );
26918 if (!SWIG_IsOK(res1
)) {
26919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCOverlay" "', expected argument " "1"" of type '" "wxDCOverlay *""'");
26921 arg1
= reinterpret_cast< wxDCOverlay
* >(argp1
);
26923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26926 wxPyEndAllowThreads(__tstate
);
26927 if (PyErr_Occurred()) SWIG_fail
;
26929 resultobj
= SWIG_Py_Void();
26936 SWIGINTERN PyObject
*_wrap_DCOverlay_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26937 PyObject
*resultobj
= 0;
26938 wxDCOverlay
*arg1
= (wxDCOverlay
*) 0 ;
26941 PyObject
*swig_obj
[1] ;
26943 if (!args
) SWIG_fail
;
26944 swig_obj
[0] = args
;
26945 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCOverlay
, 0 | 0 );
26946 if (!SWIG_IsOK(res1
)) {
26947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DCOverlay_Clear" "', expected argument " "1"" of type '" "wxDCOverlay *""'");
26949 arg1
= reinterpret_cast< wxDCOverlay
* >(argp1
);
26951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26953 wxPyEndAllowThreads(__tstate
);
26954 if (PyErr_Occurred()) SWIG_fail
;
26956 resultobj
= SWIG_Py_Void();
26963 SWIGINTERN PyObject
*DCOverlay_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26965 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26966 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCOverlay
, SWIG_NewClientData(obj
));
26967 return SWIG_Py_Void();
26970 SWIGINTERN PyObject
*DCOverlay_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26971 return SWIG_Python_InitShadowInstance(args
);
26974 SWIGINTERN PyObject
*_wrap_new_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26975 PyObject
*resultobj
= 0;
26978 int arg3
= (int) true ;
26979 int arg4
= (int) 1 ;
26980 wxImageList
*result
= 0 ;
26989 PyObject
* obj0
= 0 ;
26990 PyObject
* obj1
= 0 ;
26991 PyObject
* obj2
= 0 ;
26992 PyObject
* obj3
= 0 ;
26993 char * kwnames
[] = {
26994 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
26997 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
26998 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
26999 if (!SWIG_IsOK(ecode1
)) {
27000 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ImageList" "', expected argument " "1"" of type '" "int""'");
27002 arg1
= static_cast< int >(val1
);
27003 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27004 if (!SWIG_IsOK(ecode2
)) {
27005 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ImageList" "', expected argument " "2"" of type '" "int""'");
27007 arg2
= static_cast< int >(val2
);
27009 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27010 if (!SWIG_IsOK(ecode3
)) {
27011 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ImageList" "', expected argument " "3"" of type '" "int""'");
27013 arg3
= static_cast< int >(val3
);
27016 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
27017 if (!SWIG_IsOK(ecode4
)) {
27018 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ImageList" "', expected argument " "4"" of type '" "int""'");
27020 arg4
= static_cast< int >(val4
);
27023 if (!wxPyCheckForApp()) SWIG_fail
;
27024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27025 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
27026 wxPyEndAllowThreads(__tstate
);
27027 if (PyErr_Occurred()) SWIG_fail
;
27029 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_NEW
| 0 );
27036 SWIGINTERN PyObject
*_wrap_delete_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27037 PyObject
*resultobj
= 0;
27038 wxImageList
*arg1
= (wxImageList
*) 0 ;
27041 PyObject
*swig_obj
[1] ;
27043 if (!args
) SWIG_fail
;
27044 swig_obj
[0] = args
;
27045 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
27046 if (!SWIG_IsOK(res1
)) {
27047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ImageList" "', expected argument " "1"" of type '" "wxImageList *""'");
27049 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27054 wxPyEndAllowThreads(__tstate
);
27055 if (PyErr_Occurred()) SWIG_fail
;
27057 resultobj
= SWIG_Py_Void();
27064 SWIGINTERN PyObject
*_wrap_ImageList_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27065 PyObject
*resultobj
= 0;
27066 wxImageList
*arg1
= (wxImageList
*) 0 ;
27067 wxBitmap
*arg2
= 0 ;
27068 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
27069 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
27077 PyObject
* obj0
= 0 ;
27078 PyObject
* obj1
= 0 ;
27079 PyObject
* obj2
= 0 ;
27080 char * kwnames
[] = {
27081 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
27084 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27085 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
27086 if (!SWIG_IsOK(res1
)) {
27087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Add" "', expected argument " "1"" of type '" "wxImageList *""'");
27089 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27090 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
27091 if (!SWIG_IsOK(res2
)) {
27092 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
27095 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
27097 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
27099 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
27100 if (!SWIG_IsOK(res3
)) {
27101 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
27104 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
27106 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
27109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27110 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
27111 wxPyEndAllowThreads(__tstate
);
27112 if (PyErr_Occurred()) SWIG_fail
;
27114 resultobj
= SWIG_From_int(static_cast< int >(result
));
27121 SWIGINTERN PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27122 PyObject
*resultobj
= 0;
27123 wxImageList
*arg1
= (wxImageList
*) 0 ;
27124 wxBitmap
*arg2
= 0 ;
27125 wxColour
*arg3
= 0 ;
27132 PyObject
* obj0
= 0 ;
27133 PyObject
* obj1
= 0 ;
27134 PyObject
* obj2
= 0 ;
27135 char * kwnames
[] = {
27136 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
27139 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27140 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
27141 if (!SWIG_IsOK(res1
)) {
27142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "1"" of type '" "wxImageList *""'");
27144 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27145 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
27146 if (!SWIG_IsOK(res2
)) {
27147 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
27150 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
27152 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
27155 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
27158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27159 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
27160 wxPyEndAllowThreads(__tstate
);
27161 if (PyErr_Occurred()) SWIG_fail
;
27163 resultobj
= SWIG_From_int(static_cast< int >(result
));
27170 SWIGINTERN PyObject
*_wrap_ImageList_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27171 PyObject
*resultobj
= 0;
27172 wxImageList
*arg1
= (wxImageList
*) 0 ;
27179 PyObject
* obj0
= 0 ;
27180 PyObject
* obj1
= 0 ;
27181 char * kwnames
[] = {
27182 (char *) "self",(char *) "icon", NULL
27185 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27186 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
27187 if (!SWIG_IsOK(res1
)) {
27188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddIcon" "', expected argument " "1"" of type '" "wxImageList *""'");
27190 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27191 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
27192 if (!SWIG_IsOK(res2
)) {
27193 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
27196 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
27198 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
27200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27201 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
27202 wxPyEndAllowThreads(__tstate
);
27203 if (PyErr_Occurred()) SWIG_fail
;
27205 resultobj
= SWIG_From_int(static_cast< int >(result
));
27212 SWIGINTERN PyObject
*_wrap_ImageList_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27213 PyObject
*resultobj
= 0;
27214 wxImageList
*arg1
= (wxImageList
*) 0 ;
27216 SwigValueWrapper
<wxBitmap
> result
;
27221 PyObject
* obj0
= 0 ;
27222 PyObject
* obj1
= 0 ;
27223 char * kwnames
[] = {
27224 (char *) "self",(char *) "index", NULL
27227 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27228 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
27229 if (!SWIG_IsOK(res1
)) {
27230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetBitmap" "', expected argument " "1"" of type '" "wxImageList const *""'");
27232 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27233 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27234 if (!SWIG_IsOK(ecode2
)) {
27235 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetBitmap" "', expected argument " "2"" of type '" "int""'");
27237 arg2
= static_cast< int >(val2
);
27239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27240 result
= ((wxImageList
const *)arg1
)->GetBitmap(arg2
);
27241 wxPyEndAllowThreads(__tstate
);
27242 if (PyErr_Occurred()) SWIG_fail
;
27244 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
27251 SWIGINTERN PyObject
*_wrap_ImageList_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27252 PyObject
*resultobj
= 0;
27253 wxImageList
*arg1
= (wxImageList
*) 0 ;
27260 PyObject
* obj0
= 0 ;
27261 PyObject
* obj1
= 0 ;
27262 char * kwnames
[] = {
27263 (char *) "self",(char *) "index", NULL
27266 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27267 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
27268 if (!SWIG_IsOK(res1
)) {
27269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetIcon" "', expected argument " "1"" of type '" "wxImageList const *""'");
27271 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27272 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27273 if (!SWIG_IsOK(ecode2
)) {
27274 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetIcon" "', expected argument " "2"" of type '" "int""'");
27276 arg2
= static_cast< int >(val2
);
27278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27279 result
= ((wxImageList
const *)arg1
)->GetIcon(arg2
);
27280 wxPyEndAllowThreads(__tstate
);
27281 if (PyErr_Occurred()) SWIG_fail
;
27283 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
27290 SWIGINTERN PyObject
*_wrap_ImageList_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27291 PyObject
*resultobj
= 0;
27292 wxImageList
*arg1
= (wxImageList
*) 0 ;
27294 wxBitmap
*arg3
= 0 ;
27295 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
27296 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
27306 PyObject
* obj0
= 0 ;
27307 PyObject
* obj1
= 0 ;
27308 PyObject
* obj2
= 0 ;
27309 PyObject
* obj3
= 0 ;
27310 char * kwnames
[] = {
27311 (char *) "self",(char *) "index",(char *) "bitmap",(char *) "mask", NULL
27314 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27315 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
27316 if (!SWIG_IsOK(res1
)) {
27317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Replace" "', expected argument " "1"" of type '" "wxImageList *""'");
27319 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27320 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27321 if (!SWIG_IsOK(ecode2
)) {
27322 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Replace" "', expected argument " "2"" of type '" "int""'");
27324 arg2
= static_cast< int >(val2
);
27325 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
27326 if (!SWIG_IsOK(res3
)) {
27327 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
27330 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
27332 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
27334 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
27335 if (!SWIG_IsOK(res4
)) {
27336 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
27339 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
27341 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
27344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27345 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
,(wxBitmap
const &)*arg4
);
27346 wxPyEndAllowThreads(__tstate
);
27347 if (PyErr_Occurred()) SWIG_fail
;
27350 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27358 SWIGINTERN PyObject
*_wrap_ImageList_Draw(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27359 PyObject
*resultobj
= 0;
27360 wxImageList
*arg1
= (wxImageList
*) 0 ;
27365 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
27366 bool arg7
= (bool) (bool)false ;
27382 PyObject
* obj0
= 0 ;
27383 PyObject
* obj1
= 0 ;
27384 PyObject
* obj2
= 0 ;
27385 PyObject
* obj3
= 0 ;
27386 PyObject
* obj4
= 0 ;
27387 PyObject
* obj5
= 0 ;
27388 PyObject
* obj6
= 0 ;
27389 char * kwnames
[] = {
27390 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
27393 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
27394 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
27395 if (!SWIG_IsOK(res1
)) {
27396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Draw" "', expected argument " "1"" of type '" "wxImageList *""'");
27398 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27399 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27400 if (!SWIG_IsOK(ecode2
)) {
27401 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Draw" "', expected argument " "2"" of type '" "int""'");
27403 arg2
= static_cast< int >(val2
);
27404 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
27405 if (!SWIG_IsOK(res3
)) {
27406 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
27409 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
27411 arg3
= reinterpret_cast< wxDC
* >(argp3
);
27412 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
27413 if (!SWIG_IsOK(ecode4
)) {
27414 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ImageList_Draw" "', expected argument " "4"" of type '" "int""'");
27416 arg4
= static_cast< int >(val4
);
27417 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
27418 if (!SWIG_IsOK(ecode5
)) {
27419 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ImageList_Draw" "', expected argument " "5"" of type '" "int""'");
27421 arg5
= static_cast< int >(val5
);
27423 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
27424 if (!SWIG_IsOK(ecode6
)) {
27425 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ImageList_Draw" "', expected argument " "6"" of type '" "int""'");
27427 arg6
= static_cast< int >(val6
);
27430 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
27431 if (!SWIG_IsOK(ecode7
)) {
27432 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ImageList_Draw" "', expected argument " "7"" of type '" "bool""'");
27434 arg7
= static_cast< bool >(val7
);
27437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27438 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
27439 wxPyEndAllowThreads(__tstate
);
27440 if (PyErr_Occurred()) SWIG_fail
;
27443 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27451 SWIGINTERN PyObject
*_wrap_ImageList_GetImageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27452 PyObject
*resultobj
= 0;
27453 wxImageList
*arg1
= (wxImageList
*) 0 ;
27457 PyObject
*swig_obj
[1] ;
27459 if (!args
) SWIG_fail
;
27460 swig_obj
[0] = args
;
27461 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
27462 if (!SWIG_IsOK(res1
)) {
27463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetImageCount" "', expected argument " "1"" of type '" "wxImageList *""'");
27465 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27468 result
= (int)(arg1
)->GetImageCount();
27469 wxPyEndAllowThreads(__tstate
);
27470 if (PyErr_Occurred()) SWIG_fail
;
27472 resultobj
= SWIG_From_int(static_cast< int >(result
));
27479 SWIGINTERN PyObject
*_wrap_ImageList_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27480 PyObject
*resultobj
= 0;
27481 wxImageList
*arg1
= (wxImageList
*) 0 ;
27488 PyObject
* obj0
= 0 ;
27489 PyObject
* obj1
= 0 ;
27490 char * kwnames
[] = {
27491 (char *) "self",(char *) "index", NULL
27494 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27495 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
27496 if (!SWIG_IsOK(res1
)) {
27497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Remove" "', expected argument " "1"" of type '" "wxImageList *""'");
27499 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27500 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27501 if (!SWIG_IsOK(ecode2
)) {
27502 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Remove" "', expected argument " "2"" of type '" "int""'");
27504 arg2
= static_cast< int >(val2
);
27506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27507 result
= (bool)(arg1
)->Remove(arg2
);
27508 wxPyEndAllowThreads(__tstate
);
27509 if (PyErr_Occurred()) SWIG_fail
;
27512 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27520 SWIGINTERN PyObject
*_wrap_ImageList_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27521 PyObject
*resultobj
= 0;
27522 wxImageList
*arg1
= (wxImageList
*) 0 ;
27526 PyObject
*swig_obj
[1] ;
27528 if (!args
) SWIG_fail
;
27529 swig_obj
[0] = args
;
27530 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
27531 if (!SWIG_IsOK(res1
)) {
27532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_RemoveAll" "', expected argument " "1"" of type '" "wxImageList *""'");
27534 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27537 result
= (bool)(arg1
)->RemoveAll();
27538 wxPyEndAllowThreads(__tstate
);
27539 if (PyErr_Occurred()) SWIG_fail
;
27542 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27550 SWIGINTERN PyObject
*_wrap_ImageList_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27551 PyObject
*resultobj
= 0;
27552 wxImageList
*arg1
= (wxImageList
*) 0 ;
27561 int res3
= SWIG_TMPOBJ
;
27563 int res4
= SWIG_TMPOBJ
;
27564 PyObject
* obj0
= 0 ;
27565 PyObject
* obj1
= 0 ;
27566 char * kwnames
[] = {
27567 (char *) "self",(char *) "index", NULL
27572 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27573 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
27574 if (!SWIG_IsOK(res1
)) {
27575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetSize" "', expected argument " "1"" of type '" "wxImageList *""'");
27577 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27578 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27579 if (!SWIG_IsOK(ecode2
)) {
27580 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetSize" "', expected argument " "2"" of type '" "int""'");
27582 arg2
= static_cast< int >(val2
);
27584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27585 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
27586 wxPyEndAllowThreads(__tstate
);
27587 if (PyErr_Occurred()) SWIG_fail
;
27589 resultobj
= SWIG_Py_Void();
27590 if (SWIG_IsTmpObj(res3
)) {
27591 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
27593 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27594 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
27596 if (SWIG_IsTmpObj(res4
)) {
27597 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
27599 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27600 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
27608 SWIGINTERN PyObject
*ImageList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27610 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27611 SWIG_TypeNewClientData(SWIGTYPE_p_wxImageList
, SWIG_NewClientData(obj
));
27612 return SWIG_Py_Void();
27615 SWIGINTERN PyObject
*ImageList_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27616 return SWIG_Python_InitShadowInstance(args
);
27619 SWIGINTERN PyObject
*_wrap_new_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27620 PyObject
*resultobj
= 0;
27621 wxStockGDI
*result
= 0 ;
27623 if (!SWIG_Python_UnpackTuple(args
,"new_StockGDI",0,0,0)) SWIG_fail
;
27625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27626 result
= (wxStockGDI
*)new wxStockGDI();
27627 wxPyEndAllowThreads(__tstate
);
27628 if (PyErr_Occurred()) SWIG_fail
;
27630 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_NEW
| 0 );
27637 SWIGINTERN PyObject
*_wrap_delete_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27638 PyObject
*resultobj
= 0;
27639 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
27642 PyObject
*swig_obj
[1] ;
27644 if (!args
) SWIG_fail
;
27645 swig_obj
[0] = args
;
27646 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_DISOWN
| 0 );
27647 if (!SWIG_IsOK(res1
)) {
27648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_StockGDI" "', expected argument " "1"" of type '" "wxStockGDI *""'");
27650 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
27652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27655 wxPyEndAllowThreads(__tstate
);
27656 if (PyErr_Occurred()) SWIG_fail
;
27658 resultobj
= SWIG_Py_Void();
27665 SWIGINTERN PyObject
*_wrap_StockGDI_DeleteAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27666 PyObject
*resultobj
= 0;
27668 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_DeleteAll",0,0,0)) SWIG_fail
;
27670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27671 wxStockGDI::DeleteAll();
27672 wxPyEndAllowThreads(__tstate
);
27673 if (PyErr_Occurred()) SWIG_fail
;
27675 resultobj
= SWIG_Py_Void();
27682 SWIGINTERN PyObject
*_wrap_StockGDI_instance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27683 PyObject
*resultobj
= 0;
27684 wxStockGDI
*result
= 0 ;
27686 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_instance",0,0,0)) SWIG_fail
;
27688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27690 wxStockGDI
&_result_ref
= wxStockGDI::instance();
27691 result
= (wxStockGDI
*) &_result_ref
;
27693 wxPyEndAllowThreads(__tstate
);
27694 if (PyErr_Occurred()) SWIG_fail
;
27696 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, 0 | 0 );
27703 SWIGINTERN PyObject
*_wrap_StockGDI_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27704 PyObject
*resultobj
= 0;
27705 wxStockGDI::Item arg1
;
27706 wxBrush
*result
= 0 ;
27709 PyObject
* obj0
= 0 ;
27710 char * kwnames
[] = {
27711 (char *) "item", NULL
27714 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetBrush",kwnames
,&obj0
)) SWIG_fail
;
27715 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
27716 if (!SWIG_IsOK(ecode1
)) {
27717 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetBrush" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
27719 arg1
= static_cast< wxStockGDI::Item
>(val1
);
27721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27722 result
= (wxBrush
*)wxStockGDI::GetBrush(arg1
);
27723 wxPyEndAllowThreads(__tstate
);
27724 if (PyErr_Occurred()) SWIG_fail
;
27726 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
27733 SWIGINTERN PyObject
*_wrap_StockGDI_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27734 PyObject
*resultobj
= 0;
27735 wxStockGDI::Item arg1
;
27736 wxColour
*result
= 0 ;
27739 PyObject
* obj0
= 0 ;
27740 char * kwnames
[] = {
27741 (char *) "item", NULL
27744 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetColour",kwnames
,&obj0
)) SWIG_fail
;
27745 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
27746 if (!SWIG_IsOK(ecode1
)) {
27747 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetColour" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
27749 arg1
= static_cast< wxStockGDI::Item
>(val1
);
27751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27752 result
= (wxColour
*)wxStockGDI::GetColour(arg1
);
27753 wxPyEndAllowThreads(__tstate
);
27754 if (PyErr_Occurred()) SWIG_fail
;
27756 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
27763 SWIGINTERN PyObject
*_wrap_StockGDI_GetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27764 PyObject
*resultobj
= 0;
27765 wxStockGDI::Item arg1
;
27766 wxCursor
*result
= 0 ;
27769 PyObject
* obj0
= 0 ;
27770 char * kwnames
[] = {
27771 (char *) "item", NULL
27774 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetCursor",kwnames
,&obj0
)) SWIG_fail
;
27775 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
27776 if (!SWIG_IsOK(ecode1
)) {
27777 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetCursor" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
27779 arg1
= static_cast< wxStockGDI::Item
>(val1
);
27781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27782 result
= (wxCursor
*)wxStockGDI::GetCursor(arg1
);
27783 wxPyEndAllowThreads(__tstate
);
27784 if (PyErr_Occurred()) SWIG_fail
;
27786 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, 0 | 0 );
27793 SWIGINTERN PyObject
*_wrap_StockGDI_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27794 PyObject
*resultobj
= 0;
27795 wxStockGDI::Item arg1
;
27796 wxPen
*result
= 0 ;
27799 PyObject
* obj0
= 0 ;
27800 char * kwnames
[] = {
27801 (char *) "item", NULL
27804 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetPen",kwnames
,&obj0
)) SWIG_fail
;
27805 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
27806 if (!SWIG_IsOK(ecode1
)) {
27807 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetPen" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
27809 arg1
= static_cast< wxStockGDI::Item
>(val1
);
27811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27812 result
= (wxPen
*)wxStockGDI::GetPen(arg1
);
27813 wxPyEndAllowThreads(__tstate
);
27814 if (PyErr_Occurred()) SWIG_fail
;
27816 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
27823 SWIGINTERN PyObject
*_wrap_StockGDI_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27824 PyObject
*resultobj
= 0;
27825 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
27826 wxStockGDI::Item arg2
;
27827 wxFont
*result
= 0 ;
27832 PyObject
* obj0
= 0 ;
27833 PyObject
* obj1
= 0 ;
27834 char * kwnames
[] = {
27835 (char *) "self",(char *) "item", NULL
27838 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StockGDI_GetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27839 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStockGDI
, 0 | 0 );
27840 if (!SWIG_IsOK(res1
)) {
27841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StockGDI_GetFont" "', expected argument " "1"" of type '" "wxStockGDI *""'");
27843 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
27844 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27845 if (!SWIG_IsOK(ecode2
)) {
27846 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StockGDI_GetFont" "', expected argument " "2"" of type '" "wxStockGDI::Item""'");
27848 arg2
= static_cast< wxStockGDI::Item
>(val2
);
27850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27851 result
= (wxFont
*)(arg1
)->GetFont(arg2
);
27852 wxPyEndAllowThreads(__tstate
);
27853 if (PyErr_Occurred()) SWIG_fail
;
27855 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
27862 SWIGINTERN PyObject
*StockGDI_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27864 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27865 SWIG_TypeNewClientData(SWIGTYPE_p_wxStockGDI
, SWIG_NewClientData(obj
));
27866 return SWIG_Py_Void();
27869 SWIGINTERN PyObject
*StockGDI_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27870 return SWIG_Python_InitShadowInstance(args
);
27873 SWIGINTERN
int NullBitmap_set(PyObject
*) {
27874 SWIG_Error(SWIG_AttributeError
,"Variable NullBitmap is read-only.");
27879 SWIGINTERN PyObject
*NullBitmap_get(void) {
27880 PyObject
*pyobj
= 0;
27882 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0 );
27887 SWIGINTERN
int NullIcon_set(PyObject
*) {
27888 SWIG_Error(SWIG_AttributeError
,"Variable NullIcon is read-only.");
27893 SWIGINTERN PyObject
*NullIcon_get(void) {
27894 PyObject
*pyobj
= 0;
27896 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0 );
27901 SWIGINTERN
int NullCursor_set(PyObject
*) {
27902 SWIG_Error(SWIG_AttributeError
,"Variable NullCursor is read-only.");
27907 SWIGINTERN PyObject
*NullCursor_get(void) {
27908 PyObject
*pyobj
= 0;
27910 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0 );
27915 SWIGINTERN
int NullPen_set(PyObject
*) {
27916 SWIG_Error(SWIG_AttributeError
,"Variable NullPen is read-only.");
27921 SWIGINTERN PyObject
*NullPen_get(void) {
27922 PyObject
*pyobj
= 0;
27924 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPen
), SWIGTYPE_p_wxPen
, 0 );
27929 SWIGINTERN
int NullBrush_set(PyObject
*) {
27930 SWIG_Error(SWIG_AttributeError
,"Variable NullBrush is read-only.");
27935 SWIGINTERN PyObject
*NullBrush_get(void) {
27936 PyObject
*pyobj
= 0;
27938 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0 );
27943 SWIGINTERN
int NullPalette_set(PyObject
*) {
27944 SWIG_Error(SWIG_AttributeError
,"Variable NullPalette is read-only.");
27949 SWIGINTERN PyObject
*NullPalette_get(void) {
27950 PyObject
*pyobj
= 0;
27952 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0 );
27957 SWIGINTERN
int NullFont_set(PyObject
*) {
27958 SWIG_Error(SWIG_AttributeError
,"Variable NullFont is read-only.");
27963 SWIGINTERN PyObject
*NullFont_get(void) {
27964 PyObject
*pyobj
= 0;
27966 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullFont
), SWIGTYPE_p_wxFont
, 0 );
27971 SWIGINTERN
int NullColour_set(PyObject
*) {
27972 SWIG_Error(SWIG_AttributeError
,"Variable NullColour is read-only.");
27977 SWIGINTERN PyObject
*NullColour_get(void) {
27978 PyObject
*pyobj
= 0;
27980 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullColour
), SWIGTYPE_p_wxColour
, 0 );
27985 SWIGINTERN PyObject
*_wrap_new_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27986 PyObject
*resultobj
= 0;
27987 wxGDIObjListBase
*result
= 0 ;
27989 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObjListBase",0,0,0)) SWIG_fail
;
27991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27992 result
= (wxGDIObjListBase
*)new wxGDIObjListBase();
27993 wxPyEndAllowThreads(__tstate
);
27994 if (PyErr_Occurred()) SWIG_fail
;
27996 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_NEW
| 0 );
28003 SWIGINTERN PyObject
*_wrap_delete_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28004 PyObject
*resultobj
= 0;
28005 wxGDIObjListBase
*arg1
= (wxGDIObjListBase
*) 0 ;
28008 PyObject
*swig_obj
[1] ;
28010 if (!args
) SWIG_fail
;
28011 swig_obj
[0] = args
;
28012 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_DISOWN
| 0 );
28013 if (!SWIG_IsOK(res1
)) {
28014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObjListBase" "', expected argument " "1"" of type '" "wxGDIObjListBase *""'");
28016 arg1
= reinterpret_cast< wxGDIObjListBase
* >(argp1
);
28018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28021 wxPyEndAllowThreads(__tstate
);
28022 if (PyErr_Occurred()) SWIG_fail
;
28024 resultobj
= SWIG_Py_Void();
28031 SWIGINTERN PyObject
*GDIObjListBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28033 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28034 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObjListBase
, SWIG_NewClientData(obj
));
28035 return SWIG_Py_Void();
28038 SWIGINTERN PyObject
*GDIObjListBase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28039 return SWIG_Python_InitShadowInstance(args
);
28042 SWIGINTERN PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28043 PyObject
*resultobj
= 0;
28044 wxPenList
*arg1
= (wxPenList
*) 0 ;
28045 wxColour
*arg2
= 0 ;
28048 wxPen
*result
= 0 ;
28056 PyObject
* obj0
= 0 ;
28057 PyObject
* obj1
= 0 ;
28058 PyObject
* obj2
= 0 ;
28059 PyObject
* obj3
= 0 ;
28060 char * kwnames
[] = {
28061 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
28064 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
28065 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
28066 if (!SWIG_IsOK(res1
)) {
28067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "1"" of type '" "wxPenList *""'");
28069 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
28072 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
28074 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28075 if (!SWIG_IsOK(ecode3
)) {
28076 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "3"" of type '" "int""'");
28078 arg3
= static_cast< int >(val3
);
28079 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
28080 if (!SWIG_IsOK(ecode4
)) {
28081 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "4"" of type '" "int""'");
28083 arg4
= static_cast< int >(val4
);
28085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28086 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
28087 wxPyEndAllowThreads(__tstate
);
28088 if (PyErr_Occurred()) SWIG_fail
;
28090 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
28097 SWIGINTERN PyObject
*_wrap_PenList_AddPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28098 PyObject
*resultobj
= 0;
28099 wxPenList
*arg1
= (wxPenList
*) 0 ;
28100 wxPen
*arg2
= (wxPen
*) 0 ;
28105 PyObject
* obj0
= 0 ;
28106 PyObject
* obj1
= 0 ;
28107 char * kwnames
[] = {
28108 (char *) "self",(char *) "pen", NULL
28111 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28112 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
28113 if (!SWIG_IsOK(res1
)) {
28114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_AddPen" "', expected argument " "1"" of type '" "wxPenList *""'");
28116 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
28117 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
28118 if (!SWIG_IsOK(res2
)) {
28119 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_AddPen" "', expected argument " "2"" of type '" "wxPen *""'");
28121 arg2
= reinterpret_cast< wxPen
* >(argp2
);
28123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28124 (arg1
)->AddPen(arg2
);
28125 wxPyEndAllowThreads(__tstate
);
28126 if (PyErr_Occurred()) SWIG_fail
;
28128 resultobj
= SWIG_Py_Void();
28135 SWIGINTERN PyObject
*_wrap_PenList_RemovePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28136 PyObject
*resultobj
= 0;
28137 wxPenList
*arg1
= (wxPenList
*) 0 ;
28138 wxPen
*arg2
= (wxPen
*) 0 ;
28143 PyObject
* obj0
= 0 ;
28144 PyObject
* obj1
= 0 ;
28145 char * kwnames
[] = {
28146 (char *) "self",(char *) "pen", NULL
28149 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28150 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
28151 if (!SWIG_IsOK(res1
)) {
28152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_RemovePen" "', expected argument " "1"" of type '" "wxPenList *""'");
28154 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
28155 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
28156 if (!SWIG_IsOK(res2
)) {
28157 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_RemovePen" "', expected argument " "2"" of type '" "wxPen *""'");
28159 arg2
= reinterpret_cast< wxPen
* >(argp2
);
28161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28162 (arg1
)->RemovePen(arg2
);
28163 wxPyEndAllowThreads(__tstate
);
28164 if (PyErr_Occurred()) SWIG_fail
;
28166 resultobj
= SWIG_Py_Void();
28173 SWIGINTERN PyObject
*PenList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28175 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28176 SWIG_TypeNewClientData(SWIGTYPE_p_wxPenList
, SWIG_NewClientData(obj
));
28177 return SWIG_Py_Void();
28180 SWIGINTERN PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28181 PyObject
*resultobj
= 0;
28182 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
28183 wxColour
*arg2
= 0 ;
28184 int arg3
= (int) wxSOLID
;
28185 wxBrush
*result
= 0 ;
28191 PyObject
* obj0
= 0 ;
28192 PyObject
* obj1
= 0 ;
28193 PyObject
* obj2
= 0 ;
28194 char * kwnames
[] = {
28195 (char *) "self",(char *) "colour",(char *) "style", NULL
28198 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28199 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
28200 if (!SWIG_IsOK(res1
)) {
28201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
28203 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
28206 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
28209 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28210 if (!SWIG_IsOK(ecode3
)) {
28211 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "3"" of type '" "int""'");
28213 arg3
= static_cast< int >(val3
);
28216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28217 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
28218 wxPyEndAllowThreads(__tstate
);
28219 if (PyErr_Occurred()) SWIG_fail
;
28221 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
28228 SWIGINTERN PyObject
*_wrap_BrushList_AddBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28229 PyObject
*resultobj
= 0;
28230 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
28231 wxBrush
*arg2
= (wxBrush
*) 0 ;
28236 PyObject
* obj0
= 0 ;
28237 PyObject
* obj1
= 0 ;
28238 char * kwnames
[] = {
28239 (char *) "self",(char *) "brush", NULL
28242 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28243 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
28244 if (!SWIG_IsOK(res1
)) {
28245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_AddBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
28247 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
28248 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
28249 if (!SWIG_IsOK(res2
)) {
28250 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_AddBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
28252 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
28254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28255 (arg1
)->AddBrush(arg2
);
28256 wxPyEndAllowThreads(__tstate
);
28257 if (PyErr_Occurred()) SWIG_fail
;
28259 resultobj
= SWIG_Py_Void();
28266 SWIGINTERN PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28267 PyObject
*resultobj
= 0;
28268 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
28269 wxBrush
*arg2
= (wxBrush
*) 0 ;
28274 PyObject
* obj0
= 0 ;
28275 PyObject
* obj1
= 0 ;
28276 char * kwnames
[] = {
28277 (char *) "self",(char *) "brush", NULL
28280 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28281 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
28282 if (!SWIG_IsOK(res1
)) {
28283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_RemoveBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
28285 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
28286 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
28287 if (!SWIG_IsOK(res2
)) {
28288 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_RemoveBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
28290 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
28292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28293 (arg1
)->RemoveBrush(arg2
);
28294 wxPyEndAllowThreads(__tstate
);
28295 if (PyErr_Occurred()) SWIG_fail
;
28297 resultobj
= SWIG_Py_Void();
28304 SWIGINTERN PyObject
*BrushList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28306 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28307 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrushList
, SWIG_NewClientData(obj
));
28308 return SWIG_Py_Void();
28311 SWIGINTERN PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28312 PyObject
*resultobj
= 0;
28313 wxFontList
*arg1
= (wxFontList
*) 0 ;
28318 bool arg6
= (bool) false ;
28319 wxString
const &arg7_defvalue
= wxPyEmptyString
;
28320 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28321 wxFontEncoding arg8
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
28322 wxFont
*result
= 0 ;
28335 bool temp7
= false ;
28338 PyObject
* obj0
= 0 ;
28339 PyObject
* obj1
= 0 ;
28340 PyObject
* obj2
= 0 ;
28341 PyObject
* obj3
= 0 ;
28342 PyObject
* obj4
= 0 ;
28343 PyObject
* obj5
= 0 ;
28344 PyObject
* obj6
= 0 ;
28345 PyObject
* obj7
= 0 ;
28346 char * kwnames
[] = {
28347 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
28350 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
28351 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
28352 if (!SWIG_IsOK(res1
)) {
28353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "1"" of type '" "wxFontList *""'");
28355 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
28356 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28357 if (!SWIG_IsOK(ecode2
)) {
28358 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "2"" of type '" "int""'");
28360 arg2
= static_cast< int >(val2
);
28361 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28362 if (!SWIG_IsOK(ecode3
)) {
28363 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "3"" of type '" "int""'");
28365 arg3
= static_cast< int >(val3
);
28366 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
28367 if (!SWIG_IsOK(ecode4
)) {
28368 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "4"" of type '" "int""'");
28370 arg4
= static_cast< int >(val4
);
28371 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
28372 if (!SWIG_IsOK(ecode5
)) {
28373 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "5"" of type '" "int""'");
28375 arg5
= static_cast< int >(val5
);
28377 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
28378 if (!SWIG_IsOK(ecode6
)) {
28379 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "6"" of type '" "bool""'");
28381 arg6
= static_cast< bool >(val6
);
28385 arg7
= wxString_in_helper(obj6
);
28386 if (arg7
== NULL
) SWIG_fail
;
28391 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
28392 if (!SWIG_IsOK(ecode8
)) {
28393 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "8"" of type '" "wxFontEncoding""'");
28395 arg8
= static_cast< wxFontEncoding
>(val8
);
28398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28399 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,arg8
);
28400 wxPyEndAllowThreads(__tstate
);
28401 if (PyErr_Occurred()) SWIG_fail
;
28403 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
28418 SWIGINTERN PyObject
*_wrap_FontList_AddFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28419 PyObject
*resultobj
= 0;
28420 wxFontList
*arg1
= (wxFontList
*) 0 ;
28421 wxFont
*arg2
= (wxFont
*) 0 ;
28426 PyObject
* obj0
= 0 ;
28427 PyObject
* obj1
= 0 ;
28428 char * kwnames
[] = {
28429 (char *) "self",(char *) "font", NULL
28432 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28433 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
28434 if (!SWIG_IsOK(res1
)) {
28435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_AddFont" "', expected argument " "1"" of type '" "wxFontList *""'");
28437 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
28438 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
28439 if (!SWIG_IsOK(res2
)) {
28440 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_AddFont" "', expected argument " "2"" of type '" "wxFont *""'");
28442 arg2
= reinterpret_cast< wxFont
* >(argp2
);
28444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28445 (arg1
)->AddFont(arg2
);
28446 wxPyEndAllowThreads(__tstate
);
28447 if (PyErr_Occurred()) SWIG_fail
;
28449 resultobj
= SWIG_Py_Void();
28456 SWIGINTERN PyObject
*_wrap_FontList_RemoveFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28457 PyObject
*resultobj
= 0;
28458 wxFontList
*arg1
= (wxFontList
*) 0 ;
28459 wxFont
*arg2
= (wxFont
*) 0 ;
28464 PyObject
* obj0
= 0 ;
28465 PyObject
* obj1
= 0 ;
28466 char * kwnames
[] = {
28467 (char *) "self",(char *) "font", NULL
28470 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28471 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
28472 if (!SWIG_IsOK(res1
)) {
28473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_RemoveFont" "', expected argument " "1"" of type '" "wxFontList *""'");
28475 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
28476 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
28477 if (!SWIG_IsOK(res2
)) {
28478 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_RemoveFont" "', expected argument " "2"" of type '" "wxFont *""'");
28480 arg2
= reinterpret_cast< wxFont
* >(argp2
);
28482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28483 (arg1
)->RemoveFont(arg2
);
28484 wxPyEndAllowThreads(__tstate
);
28485 if (PyErr_Occurred()) SWIG_fail
;
28487 resultobj
= SWIG_Py_Void();
28494 SWIGINTERN PyObject
*FontList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28496 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28497 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontList
, SWIG_NewClientData(obj
));
28498 return SWIG_Py_Void();
28501 SWIGINTERN PyObject
*_wrap_new_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28502 PyObject
*resultobj
= 0;
28503 wxColourDatabase
*result
= 0 ;
28505 if (!SWIG_Python_UnpackTuple(args
,"new_ColourDatabase",0,0,0)) SWIG_fail
;
28507 if (!wxPyCheckForApp()) SWIG_fail
;
28508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28509 result
= (wxColourDatabase
*)new wxColourDatabase();
28510 wxPyEndAllowThreads(__tstate
);
28511 if (PyErr_Occurred()) SWIG_fail
;
28513 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_NEW
| 0 );
28520 SWIGINTERN PyObject
*_wrap_delete_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28521 PyObject
*resultobj
= 0;
28522 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
28525 PyObject
*swig_obj
[1] ;
28527 if (!args
) SWIG_fail
;
28528 swig_obj
[0] = args
;
28529 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_DISOWN
| 0 );
28530 if (!SWIG_IsOK(res1
)) {
28531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourDatabase" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
28533 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
28535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28538 wxPyEndAllowThreads(__tstate
);
28539 if (PyErr_Occurred()) SWIG_fail
;
28541 resultobj
= SWIG_Py_Void();
28548 SWIGINTERN PyObject
*_wrap_ColourDatabase_Find(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28549 PyObject
*resultobj
= 0;
28550 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
28551 wxString
*arg2
= 0 ;
28555 bool temp2
= false ;
28556 PyObject
* obj0
= 0 ;
28557 PyObject
* obj1
= 0 ;
28558 char * kwnames
[] = {
28559 (char *) "self",(char *) "name", NULL
28562 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28563 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
28564 if (!SWIG_IsOK(res1
)) {
28565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Find" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
28567 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
28569 arg2
= wxString_in_helper(obj1
);
28570 if (arg2
== NULL
) SWIG_fail
;
28574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28575 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
28576 wxPyEndAllowThreads(__tstate
);
28577 if (PyErr_Occurred()) SWIG_fail
;
28579 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
28594 SWIGINTERN PyObject
*_wrap_ColourDatabase_FindName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28595 PyObject
*resultobj
= 0;
28596 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
28597 wxColour
*arg2
= 0 ;
28602 PyObject
* obj0
= 0 ;
28603 PyObject
* obj1
= 0 ;
28604 char * kwnames
[] = {
28605 (char *) "self",(char *) "colour", NULL
28608 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28609 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
28610 if (!SWIG_IsOK(res1
)) {
28611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_FindName" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
28613 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
28616 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
28619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28620 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
28621 wxPyEndAllowThreads(__tstate
);
28622 if (PyErr_Occurred()) SWIG_fail
;
28626 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28628 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28637 SWIGINTERN PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28638 PyObject
*resultobj
= 0;
28639 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
28640 wxString
*arg2
= 0 ;
28641 wxColour
*arg3
= 0 ;
28644 bool temp2
= false ;
28646 PyObject
* obj0
= 0 ;
28647 PyObject
* obj1
= 0 ;
28648 PyObject
* obj2
= 0 ;
28649 char * kwnames
[] = {
28650 (char *) "self",(char *) "name",(char *) "colour", NULL
28653 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28654 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
28655 if (!SWIG_IsOK(res1
)) {
28656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_AddColour" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
28658 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
28660 arg2
= wxString_in_helper(obj1
);
28661 if (arg2
== NULL
) SWIG_fail
;
28666 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
28669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28670 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
28671 wxPyEndAllowThreads(__tstate
);
28672 if (PyErr_Occurred()) SWIG_fail
;
28674 resultobj
= SWIG_Py_Void();
28689 SWIGINTERN PyObject
*_wrap_ColourDatabase_Append(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28690 PyObject
*resultobj
= 0;
28691 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
28692 wxString
*arg2
= 0 ;
28698 bool temp2
= false ;
28705 PyObject
* obj0
= 0 ;
28706 PyObject
* obj1
= 0 ;
28707 PyObject
* obj2
= 0 ;
28708 PyObject
* obj3
= 0 ;
28709 PyObject
* obj4
= 0 ;
28710 char * kwnames
[] = {
28711 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
28714 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
28715 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
28716 if (!SWIG_IsOK(res1
)) {
28717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Append" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
28719 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
28721 arg2
= wxString_in_helper(obj1
);
28722 if (arg2
== NULL
) SWIG_fail
;
28725 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28726 if (!SWIG_IsOK(ecode3
)) {
28727 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourDatabase_Append" "', expected argument " "3"" of type '" "int""'");
28729 arg3
= static_cast< int >(val3
);
28730 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
28731 if (!SWIG_IsOK(ecode4
)) {
28732 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ColourDatabase_Append" "', expected argument " "4"" of type '" "int""'");
28734 arg4
= static_cast< int >(val4
);
28735 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
28736 if (!SWIG_IsOK(ecode5
)) {
28737 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ColourDatabase_Append" "', expected argument " "5"" of type '" "int""'");
28739 arg5
= static_cast< int >(val5
);
28741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28742 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
28743 wxPyEndAllowThreads(__tstate
);
28744 if (PyErr_Occurred()) SWIG_fail
;
28746 resultobj
= SWIG_Py_Void();
28761 SWIGINTERN PyObject
*ColourDatabase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28763 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28764 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDatabase
, SWIG_NewClientData(obj
));
28765 return SWIG_Py_Void();
28768 SWIGINTERN PyObject
*ColourDatabase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28769 return SWIG_Python_InitShadowInstance(args
);
28772 SWIGINTERN PyObject
*_wrap__wxPyInitTheFontList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28773 PyObject
*resultobj
= 0;
28774 wxFontList
*result
= 0 ;
28776 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheFontList",0,0,0)) SWIG_fail
;
28778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28779 result
= (wxFontList
*)_wxPyInitTheFontList();
28780 wxPyEndAllowThreads(__tstate
);
28781 if (PyErr_Occurred()) SWIG_fail
;
28783 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontList
, 0 | 0 );
28790 SWIGINTERN PyObject
*_wrap__wxPyInitThePenList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28791 PyObject
*resultobj
= 0;
28792 wxPenList
*result
= 0 ;
28794 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitThePenList",0,0,0)) SWIG_fail
;
28796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28797 result
= (wxPenList
*)_wxPyInitThePenList();
28798 wxPyEndAllowThreads(__tstate
);
28799 if (PyErr_Occurred()) SWIG_fail
;
28801 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPenList
, 0 | 0 );
28808 SWIGINTERN PyObject
*_wrap__wxPyInitTheBrushList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28809 PyObject
*resultobj
= 0;
28810 wxBrushList
*result
= 0 ;
28812 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheBrushList",0,0,0)) SWIG_fail
;
28814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28815 result
= (wxBrushList
*)_wxPyInitTheBrushList();
28816 wxPyEndAllowThreads(__tstate
);
28817 if (PyErr_Occurred()) SWIG_fail
;
28819 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrushList
, 0 | 0 );
28826 SWIGINTERN PyObject
*_wrap__wxPyInitTheColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28827 PyObject
*resultobj
= 0;
28828 wxColourDatabase
*result
= 0 ;
28830 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheColourDatabase",0,0,0)) SWIG_fail
;
28832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28833 result
= (wxColourDatabase
*)_wxPyInitTheColourDatabase();
28834 wxPyEndAllowThreads(__tstate
);
28835 if (PyErr_Occurred()) SWIG_fail
;
28837 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
28844 SWIGINTERN PyObject
*_wrap_new_Effects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28845 PyObject
*resultobj
= 0;
28846 wxEffects
*result
= 0 ;
28848 if (!SWIG_Python_UnpackTuple(args
,"new_Effects",0,0,0)) SWIG_fail
;
28850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28851 result
= (wxEffects
*)new wxEffects();
28852 wxPyEndAllowThreads(__tstate
);
28853 if (PyErr_Occurred()) SWIG_fail
;
28855 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEffects
, SWIG_POINTER_NEW
| 0 );
28862 SWIGINTERN PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28863 PyObject
*resultobj
= 0;
28864 wxEffects
*arg1
= (wxEffects
*) 0 ;
28868 PyObject
*swig_obj
[1] ;
28870 if (!args
) SWIG_fail
;
28871 swig_obj
[0] = args
;
28872 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
28873 if (!SWIG_IsOK(res1
)) {
28874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetHighlightColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
28876 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
28878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28879 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
28880 wxPyEndAllowThreads(__tstate
);
28881 if (PyErr_Occurred()) SWIG_fail
;
28883 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
28890 SWIGINTERN PyObject
*_wrap_Effects_GetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28891 PyObject
*resultobj
= 0;
28892 wxEffects
*arg1
= (wxEffects
*) 0 ;
28896 PyObject
*swig_obj
[1] ;
28898 if (!args
) SWIG_fail
;
28899 swig_obj
[0] = args
;
28900 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
28901 if (!SWIG_IsOK(res1
)) {
28902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetLightShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
28904 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
28906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28907 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
28908 wxPyEndAllowThreads(__tstate
);
28909 if (PyErr_Occurred()) SWIG_fail
;
28911 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
28918 SWIGINTERN PyObject
*_wrap_Effects_GetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28919 PyObject
*resultobj
= 0;
28920 wxEffects
*arg1
= (wxEffects
*) 0 ;
28924 PyObject
*swig_obj
[1] ;
28926 if (!args
) SWIG_fail
;
28927 swig_obj
[0] = args
;
28928 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
28929 if (!SWIG_IsOK(res1
)) {
28930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetFaceColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
28932 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
28934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28935 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
28936 wxPyEndAllowThreads(__tstate
);
28937 if (PyErr_Occurred()) SWIG_fail
;
28939 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
28946 SWIGINTERN PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28947 PyObject
*resultobj
= 0;
28948 wxEffects
*arg1
= (wxEffects
*) 0 ;
28952 PyObject
*swig_obj
[1] ;
28954 if (!args
) SWIG_fail
;
28955 swig_obj
[0] = args
;
28956 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
28957 if (!SWIG_IsOK(res1
)) {
28958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetMediumShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
28960 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
28962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28963 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
28964 wxPyEndAllowThreads(__tstate
);
28965 if (PyErr_Occurred()) SWIG_fail
;
28967 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
28974 SWIGINTERN PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28975 PyObject
*resultobj
= 0;
28976 wxEffects
*arg1
= (wxEffects
*) 0 ;
28980 PyObject
*swig_obj
[1] ;
28982 if (!args
) SWIG_fail
;
28983 swig_obj
[0] = args
;
28984 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
28985 if (!SWIG_IsOK(res1
)) {
28986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetDarkShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
28988 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
28990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28991 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
28992 wxPyEndAllowThreads(__tstate
);
28993 if (PyErr_Occurred()) SWIG_fail
;
28995 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
29002 SWIGINTERN PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29003 PyObject
*resultobj
= 0;
29004 wxEffects
*arg1
= (wxEffects
*) 0 ;
29005 wxColour
*arg2
= 0 ;
29009 PyObject
* obj0
= 0 ;
29010 PyObject
* obj1
= 0 ;
29011 char * kwnames
[] = {
29012 (char *) "self",(char *) "c", NULL
29015 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29016 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29017 if (!SWIG_IsOK(res1
)) {
29018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetHighlightColour" "', expected argument " "1"" of type '" "wxEffects *""'");
29020 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
29023 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29027 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
29028 wxPyEndAllowThreads(__tstate
);
29029 if (PyErr_Occurred()) SWIG_fail
;
29031 resultobj
= SWIG_Py_Void();
29038 SWIGINTERN PyObject
*_wrap_Effects_SetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29039 PyObject
*resultobj
= 0;
29040 wxEffects
*arg1
= (wxEffects
*) 0 ;
29041 wxColour
*arg2
= 0 ;
29045 PyObject
* obj0
= 0 ;
29046 PyObject
* obj1
= 0 ;
29047 char * kwnames
[] = {
29048 (char *) "self",(char *) "c", NULL
29051 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29052 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29053 if (!SWIG_IsOK(res1
)) {
29054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetLightShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
29056 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
29059 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29063 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
29064 wxPyEndAllowThreads(__tstate
);
29065 if (PyErr_Occurred()) SWIG_fail
;
29067 resultobj
= SWIG_Py_Void();
29074 SWIGINTERN PyObject
*_wrap_Effects_SetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29075 PyObject
*resultobj
= 0;
29076 wxEffects
*arg1
= (wxEffects
*) 0 ;
29077 wxColour
*arg2
= 0 ;
29081 PyObject
* obj0
= 0 ;
29082 PyObject
* obj1
= 0 ;
29083 char * kwnames
[] = {
29084 (char *) "self",(char *) "c", NULL
29087 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29088 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29089 if (!SWIG_IsOK(res1
)) {
29090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetFaceColour" "', expected argument " "1"" of type '" "wxEffects *""'");
29092 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
29095 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29099 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
29100 wxPyEndAllowThreads(__tstate
);
29101 if (PyErr_Occurred()) SWIG_fail
;
29103 resultobj
= SWIG_Py_Void();
29110 SWIGINTERN PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29111 PyObject
*resultobj
= 0;
29112 wxEffects
*arg1
= (wxEffects
*) 0 ;
29113 wxColour
*arg2
= 0 ;
29117 PyObject
* obj0
= 0 ;
29118 PyObject
* obj1
= 0 ;
29119 char * kwnames
[] = {
29120 (char *) "self",(char *) "c", NULL
29123 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29124 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29125 if (!SWIG_IsOK(res1
)) {
29126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetMediumShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
29128 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
29131 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29135 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
29136 wxPyEndAllowThreads(__tstate
);
29137 if (PyErr_Occurred()) SWIG_fail
;
29139 resultobj
= SWIG_Py_Void();
29146 SWIGINTERN PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29147 PyObject
*resultobj
= 0;
29148 wxEffects
*arg1
= (wxEffects
*) 0 ;
29149 wxColour
*arg2
= 0 ;
29153 PyObject
* obj0
= 0 ;
29154 PyObject
* obj1
= 0 ;
29155 char * kwnames
[] = {
29156 (char *) "self",(char *) "c", NULL
29159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29160 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29161 if (!SWIG_IsOK(res1
)) {
29162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetDarkShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
29164 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
29167 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29171 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
29172 wxPyEndAllowThreads(__tstate
);
29173 if (PyErr_Occurred()) SWIG_fail
;
29175 resultobj
= SWIG_Py_Void();
29182 SWIGINTERN PyObject
*_wrap_Effects_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29183 PyObject
*resultobj
= 0;
29184 wxEffects
*arg1
= (wxEffects
*) 0 ;
29185 wxColour
*arg2
= 0 ;
29186 wxColour
*arg3
= 0 ;
29187 wxColour
*arg4
= 0 ;
29188 wxColour
*arg5
= 0 ;
29189 wxColour
*arg6
= 0 ;
29197 PyObject
* obj0
= 0 ;
29198 PyObject
* obj1
= 0 ;
29199 PyObject
* obj2
= 0 ;
29200 PyObject
* obj3
= 0 ;
29201 PyObject
* obj4
= 0 ;
29202 PyObject
* obj5
= 0 ;
29203 char * kwnames
[] = {
29204 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
29207 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29208 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29209 if (!SWIG_IsOK(res1
)) {
29210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_Set" "', expected argument " "1"" of type '" "wxEffects *""'");
29212 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
29215 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29219 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
29223 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
29227 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
29231 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
29234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29235 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
29236 wxPyEndAllowThreads(__tstate
);
29237 if (PyErr_Occurred()) SWIG_fail
;
29239 resultobj
= SWIG_Py_Void();
29246 SWIGINTERN PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29247 PyObject
*resultobj
= 0;
29248 wxEffects
*arg1
= (wxEffects
*) 0 ;
29251 int arg4
= (int) 1 ;
29259 PyObject
* obj0
= 0 ;
29260 PyObject
* obj1
= 0 ;
29261 PyObject
* obj2
= 0 ;
29262 PyObject
* obj3
= 0 ;
29263 char * kwnames
[] = {
29264 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
29267 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29268 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29269 if (!SWIG_IsOK(res1
)) {
29270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "1"" of type '" "wxEffects *""'");
29272 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
29273 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
29274 if (!SWIG_IsOK(res2
)) {
29275 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
29278 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
29280 arg2
= reinterpret_cast< wxDC
* >(argp2
);
29283 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
29286 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29287 if (!SWIG_IsOK(ecode4
)) {
29288 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "4"" of type '" "int""'");
29290 arg4
= static_cast< int >(val4
);
29293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29294 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
29295 wxPyEndAllowThreads(__tstate
);
29296 if (PyErr_Occurred()) SWIG_fail
;
29298 resultobj
= SWIG_Py_Void();
29305 SWIGINTERN PyObject
*_wrap_Effects_TileBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29306 PyObject
*resultobj
= 0;
29307 wxEffects
*arg1
= (wxEffects
*) 0 ;
29310 wxBitmap
*arg4
= 0 ;
29319 PyObject
* obj0
= 0 ;
29320 PyObject
* obj1
= 0 ;
29321 PyObject
* obj2
= 0 ;
29322 PyObject
* obj3
= 0 ;
29323 char * kwnames
[] = {
29324 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
29327 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29328 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29329 if (!SWIG_IsOK(res1
)) {
29330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_TileBitmap" "', expected argument " "1"" of type '" "wxEffects *""'");
29332 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
29335 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
29337 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
29338 if (!SWIG_IsOK(res3
)) {
29339 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
29342 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
29344 arg3
= reinterpret_cast< wxDC
* >(argp3
);
29345 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 );
29346 if (!SWIG_IsOK(res4
)) {
29347 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
29350 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
29352 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
29354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29355 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
29356 wxPyEndAllowThreads(__tstate
);
29357 if (PyErr_Occurred()) SWIG_fail
;
29360 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29368 SWIGINTERN PyObject
*Effects_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29370 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29371 SWIG_TypeNewClientData(SWIGTYPE_p_wxEffects
, SWIG_NewClientData(obj
));
29372 return SWIG_Py_Void();
29375 SWIGINTERN PyObject
*Effects_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29376 return SWIG_Python_InitShadowInstance(args
);
29379 SWIGINTERN PyObject
*_wrap_new_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29380 PyObject
*resultobj
= 0;
29384 wxSplitterRenderParams
*result
= 0 ;
29391 PyObject
* obj0
= 0 ;
29392 PyObject
* obj1
= 0 ;
29393 PyObject
* obj2
= 0 ;
29394 char * kwnames
[] = {
29395 (char *) "widthSash_",(char *) "border_",(char *) "isSens_", NULL
29398 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_SplitterRenderParams",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29399 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
29400 if (!SWIG_IsOK(ecode1
)) {
29401 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterRenderParams" "', expected argument " "1"" of type '" "int""'");
29403 arg1
= static_cast< int >(val1
);
29404 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29405 if (!SWIG_IsOK(ecode2
)) {
29406 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterRenderParams" "', expected argument " "2"" of type '" "int""'");
29408 arg2
= static_cast< int >(val2
);
29409 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
29410 if (!SWIG_IsOK(ecode3
)) {
29411 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplitterRenderParams" "', expected argument " "3"" of type '" "bool""'");
29413 arg3
= static_cast< bool >(val3
);
29415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29416 result
= (wxSplitterRenderParams
*)new wxSplitterRenderParams(arg1
,arg2
,arg3
);
29417 wxPyEndAllowThreads(__tstate
);
29418 if (PyErr_Occurred()) SWIG_fail
;
29420 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_NEW
| 0 );
29427 SWIGINTERN PyObject
*_wrap_delete_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29428 PyObject
*resultobj
= 0;
29429 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
29432 PyObject
*swig_obj
[1] ;
29434 if (!args
) SWIG_fail
;
29435 swig_obj
[0] = args
;
29436 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_DISOWN
| 0 );
29437 if (!SWIG_IsOK(res1
)) {
29438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_SplitterRenderParams" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
29440 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
29442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29445 wxPyEndAllowThreads(__tstate
);
29446 if (PyErr_Occurred()) SWIG_fail
;
29448 resultobj
= SWIG_Py_Void();
29455 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_widthSash_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29456 PyObject
*resultobj
= 0;
29457 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
29461 PyObject
*swig_obj
[1] ;
29463 if (!args
) SWIG_fail
;
29464 swig_obj
[0] = args
;
29465 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
29466 if (!SWIG_IsOK(res1
)) {
29467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_widthSash_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
29469 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
29470 result
= (int)(int) ((arg1
)->widthSash
);
29471 resultobj
= SWIG_From_int(static_cast< int >(result
));
29478 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_border_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29479 PyObject
*resultobj
= 0;
29480 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
29484 PyObject
*swig_obj
[1] ;
29486 if (!args
) SWIG_fail
;
29487 swig_obj
[0] = args
;
29488 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
29489 if (!SWIG_IsOK(res1
)) {
29490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_border_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
29492 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
29493 result
= (int)(int) ((arg1
)->border
);
29494 resultobj
= SWIG_From_int(static_cast< int >(result
));
29501 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_isHotSensitive_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29502 PyObject
*resultobj
= 0;
29503 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
29507 PyObject
*swig_obj
[1] ;
29509 if (!args
) SWIG_fail
;
29510 swig_obj
[0] = args
;
29511 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
29512 if (!SWIG_IsOK(res1
)) {
29513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_isHotSensitive_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
29515 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
29516 result
= (bool)(bool) ((arg1
)->isHotSensitive
);
29517 resultobj
= SWIG_From_bool(static_cast< bool >(result
));
29524 SWIGINTERN PyObject
*SplitterRenderParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29526 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29527 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterRenderParams
, SWIG_NewClientData(obj
));
29528 return SWIG_Py_Void();
29531 SWIGINTERN PyObject
*SplitterRenderParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29532 return SWIG_Python_InitShadowInstance(args
);
29535 SWIGINTERN PyObject
*_wrap_new_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29536 PyObject
*resultobj
= 0;
29537 wxHeaderButtonParams
*result
= 0 ;
29539 if (!SWIG_Python_UnpackTuple(args
,"new_HeaderButtonParams",0,0,0)) SWIG_fail
;
29541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29542 result
= (wxHeaderButtonParams
*)new wxHeaderButtonParams();
29543 wxPyEndAllowThreads(__tstate
);
29544 if (PyErr_Occurred()) SWIG_fail
;
29546 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_NEW
| 0 );
29553 SWIGINTERN PyObject
*_wrap_delete_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29554 PyObject
*resultobj
= 0;
29555 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29558 PyObject
*swig_obj
[1] ;
29560 if (!args
) SWIG_fail
;
29561 swig_obj
[0] = args
;
29562 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_DISOWN
| 0 );
29563 if (!SWIG_IsOK(res1
)) {
29564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HeaderButtonParams" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29566 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29571 wxPyEndAllowThreads(__tstate
);
29572 if (PyErr_Occurred()) SWIG_fail
;
29574 resultobj
= SWIG_Py_Void();
29581 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29582 PyObject
*resultobj
= 0;
29583 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29584 wxColour
*arg2
= (wxColour
*) 0 ;
29588 PyObject
*swig_obj
[2] ;
29590 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_arrowColour_set",2,2,swig_obj
)) SWIG_fail
;
29591 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29592 if (!SWIG_IsOK(res1
)) {
29593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29595 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29598 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
29600 if (arg1
) (arg1
)->m_arrowColour
= *arg2
;
29602 resultobj
= SWIG_Py_Void();
29609 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29610 PyObject
*resultobj
= 0;
29611 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29612 wxColour
*result
= 0 ;
29615 PyObject
*swig_obj
[1] ;
29617 if (!args
) SWIG_fail
;
29618 swig_obj
[0] = args
;
29619 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29620 if (!SWIG_IsOK(res1
)) {
29621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29623 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29624 result
= (wxColour
*)& ((arg1
)->m_arrowColour
);
29625 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
29632 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29633 PyObject
*resultobj
= 0;
29634 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29635 wxColour
*arg2
= (wxColour
*) 0 ;
29639 PyObject
*swig_obj
[2] ;
29641 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_selectionColour_set",2,2,swig_obj
)) SWIG_fail
;
29642 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29643 if (!SWIG_IsOK(res1
)) {
29644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29646 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29649 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
29651 if (arg1
) (arg1
)->m_selectionColour
= *arg2
;
29653 resultobj
= SWIG_Py_Void();
29660 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29661 PyObject
*resultobj
= 0;
29662 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29663 wxColour
*result
= 0 ;
29666 PyObject
*swig_obj
[1] ;
29668 if (!args
) SWIG_fail
;
29669 swig_obj
[0] = args
;
29670 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29671 if (!SWIG_IsOK(res1
)) {
29672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29674 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29675 result
= (wxColour
*)& ((arg1
)->m_selectionColour
);
29676 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
29683 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29684 PyObject
*resultobj
= 0;
29685 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29686 wxString
*arg2
= (wxString
*) 0 ;
29689 bool temp2
= false ;
29690 PyObject
*swig_obj
[2] ;
29692 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelText_set",2,2,swig_obj
)) SWIG_fail
;
29693 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29694 if (!SWIG_IsOK(res1
)) {
29695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29697 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29699 arg2
= wxString_in_helper(swig_obj
[1]);
29700 if (arg2
== NULL
) SWIG_fail
;
29703 if (arg1
) (arg1
)->m_labelText
= *arg2
;
29705 resultobj
= SWIG_Py_Void();
29720 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29721 PyObject
*resultobj
= 0;
29722 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29723 wxString
*result
= 0 ;
29726 PyObject
*swig_obj
[1] ;
29728 if (!args
) SWIG_fail
;
29729 swig_obj
[0] = args
;
29730 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29731 if (!SWIG_IsOK(res1
)) {
29732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29734 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29735 result
= (wxString
*)& ((arg1
)->m_labelText
);
29738 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
29740 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
29749 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29750 PyObject
*resultobj
= 0;
29751 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29752 wxFont
*arg2
= (wxFont
*) 0 ;
29757 PyObject
*swig_obj
[2] ;
29759 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelFont_set",2,2,swig_obj
)) SWIG_fail
;
29760 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29761 if (!SWIG_IsOK(res1
)) {
29762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29764 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29765 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
29766 if (!SWIG_IsOK(res2
)) {
29767 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "2"" of type '" "wxFont *""'");
29769 arg2
= reinterpret_cast< wxFont
* >(argp2
);
29770 if (arg1
) (arg1
)->m_labelFont
= *arg2
;
29772 resultobj
= SWIG_Py_Void();
29779 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29780 PyObject
*resultobj
= 0;
29781 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29782 wxFont
*result
= 0 ;
29785 PyObject
*swig_obj
[1] ;
29787 if (!args
) SWIG_fail
;
29788 swig_obj
[0] = args
;
29789 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29790 if (!SWIG_IsOK(res1
)) {
29791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29793 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29794 result
= (wxFont
*)& ((arg1
)->m_labelFont
);
29795 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
29802 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29803 PyObject
*resultobj
= 0;
29804 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29805 wxColour
*arg2
= (wxColour
*) 0 ;
29809 PyObject
*swig_obj
[2] ;
29811 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelColour_set",2,2,swig_obj
)) SWIG_fail
;
29812 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29813 if (!SWIG_IsOK(res1
)) {
29814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29816 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29819 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
29821 if (arg1
) (arg1
)->m_labelColour
= *arg2
;
29823 resultobj
= SWIG_Py_Void();
29830 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29831 PyObject
*resultobj
= 0;
29832 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29833 wxColour
*result
= 0 ;
29836 PyObject
*swig_obj
[1] ;
29838 if (!args
) SWIG_fail
;
29839 swig_obj
[0] = args
;
29840 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29841 if (!SWIG_IsOK(res1
)) {
29842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29844 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29845 result
= (wxColour
*)& ((arg1
)->m_labelColour
);
29846 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
29853 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29854 PyObject
*resultobj
= 0;
29855 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29856 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
29861 PyObject
*swig_obj
[2] ;
29863 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelBitmap_set",2,2,swig_obj
)) SWIG_fail
;
29864 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29865 if (!SWIG_IsOK(res1
)) {
29866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29868 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29869 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
29870 if (!SWIG_IsOK(res2
)) {
29871 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "2"" of type '" "wxBitmap *""'");
29873 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
29874 if (arg1
) (arg1
)->m_labelBitmap
= *arg2
;
29876 resultobj
= SWIG_Py_Void();
29883 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29884 PyObject
*resultobj
= 0;
29885 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29886 wxBitmap
*result
= 0 ;
29889 PyObject
*swig_obj
[1] ;
29891 if (!args
) SWIG_fail
;
29892 swig_obj
[0] = args
;
29893 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29894 if (!SWIG_IsOK(res1
)) {
29895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29897 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29898 result
= (wxBitmap
*)& ((arg1
)->m_labelBitmap
);
29899 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
29906 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29907 PyObject
*resultobj
= 0;
29908 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29914 PyObject
*swig_obj
[2] ;
29916 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelAlignment_set",2,2,swig_obj
)) SWIG_fail
;
29917 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29918 if (!SWIG_IsOK(res1
)) {
29919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29921 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29922 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
29923 if (!SWIG_IsOK(ecode2
)) {
29924 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "2"" of type '" "int""'");
29926 arg2
= static_cast< int >(val2
);
29927 if (arg1
) (arg1
)->m_labelAlignment
= arg2
;
29929 resultobj
= SWIG_Py_Void();
29936 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29937 PyObject
*resultobj
= 0;
29938 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29942 PyObject
*swig_obj
[1] ;
29944 if (!args
) SWIG_fail
;
29945 swig_obj
[0] = args
;
29946 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29947 if (!SWIG_IsOK(res1
)) {
29948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29950 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29951 result
= (int) ((arg1
)->m_labelAlignment
);
29952 resultobj
= SWIG_From_int(static_cast< int >(result
));
29959 SWIGINTERN PyObject
*HeaderButtonParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29961 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29962 SWIG_TypeNewClientData(SWIGTYPE_p_wxHeaderButtonParams
, SWIG_NewClientData(obj
));
29963 return SWIG_Py_Void();
29966 SWIGINTERN PyObject
*HeaderButtonParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29967 return SWIG_Python_InitShadowInstance(args
);
29970 SWIGINTERN PyObject
*_wrap_new_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29971 PyObject
*resultobj
= 0;
29974 wxRendererVersion
*result
= 0 ;
29979 PyObject
* obj0
= 0 ;
29980 PyObject
* obj1
= 0 ;
29981 char * kwnames
[] = {
29982 (char *) "version_",(char *) "age_", NULL
29985 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RendererVersion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29986 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
29987 if (!SWIG_IsOK(ecode1
)) {
29988 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_RendererVersion" "', expected argument " "1"" of type '" "int""'");
29990 arg1
= static_cast< int >(val1
);
29991 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29992 if (!SWIG_IsOK(ecode2
)) {
29993 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RendererVersion" "', expected argument " "2"" of type '" "int""'");
29995 arg2
= static_cast< int >(val2
);
29997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29998 result
= (wxRendererVersion
*)new wxRendererVersion(arg1
,arg2
);
29999 wxPyEndAllowThreads(__tstate
);
30000 if (PyErr_Occurred()) SWIG_fail
;
30002 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_NEW
| 0 );
30009 SWIGINTERN PyObject
*_wrap_delete_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30010 PyObject
*resultobj
= 0;
30011 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
30014 PyObject
*swig_obj
[1] ;
30016 if (!args
) SWIG_fail
;
30017 swig_obj
[0] = args
;
30018 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_DISOWN
| 0 );
30019 if (!SWIG_IsOK(res1
)) {
30020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RendererVersion" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
30022 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
30024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30027 wxPyEndAllowThreads(__tstate
);
30028 if (PyErr_Occurred()) SWIG_fail
;
30030 resultobj
= SWIG_Py_Void();
30037 SWIGINTERN PyObject
*_wrap_RendererVersion_IsCompatible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30038 PyObject
*resultobj
= 0;
30039 wxRendererVersion
*arg1
= 0 ;
30043 PyObject
* obj0
= 0 ;
30044 char * kwnames
[] = {
30045 (char *) "ver", NULL
30048 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererVersion_IsCompatible",kwnames
,&obj0
)) SWIG_fail
;
30049 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRendererVersion
, 0 | 0);
30050 if (!SWIG_IsOK(res1
)) {
30051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
30054 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
30056 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
30058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30059 result
= (bool)wxRendererVersion::IsCompatible((wxRendererVersion
const &)*arg1
);
30060 wxPyEndAllowThreads(__tstate
);
30061 if (PyErr_Occurred()) SWIG_fail
;
30064 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30072 SWIGINTERN PyObject
*_wrap_RendererVersion_version_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30073 PyObject
*resultobj
= 0;
30074 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
30078 PyObject
*swig_obj
[1] ;
30080 if (!args
) SWIG_fail
;
30081 swig_obj
[0] = args
;
30082 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
30083 if (!SWIG_IsOK(res1
)) {
30084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_version_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
30086 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
30087 result
= (int)(int) ((arg1
)->version
);
30088 resultobj
= SWIG_From_int(static_cast< int >(result
));
30095 SWIGINTERN PyObject
*_wrap_RendererVersion_age_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30096 PyObject
*resultobj
= 0;
30097 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
30101 PyObject
*swig_obj
[1] ;
30103 if (!args
) SWIG_fail
;
30104 swig_obj
[0] = args
;
30105 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
30106 if (!SWIG_IsOK(res1
)) {
30107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_age_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
30109 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
30110 result
= (int)(int) ((arg1
)->age
);
30111 resultobj
= SWIG_From_int(static_cast< int >(result
));
30118 SWIGINTERN PyObject
*RendererVersion_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30120 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30121 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererVersion
, SWIG_NewClientData(obj
));
30122 return SWIG_Py_Void();
30125 SWIGINTERN PyObject
*RendererVersion_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30126 return SWIG_Python_InitShadowInstance(args
);
30129 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30130 PyObject
*resultobj
= 0;
30131 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30132 wxWindow
*arg2
= (wxWindow
*) 0 ;
30135 int arg5
= (int) 0 ;
30136 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
30137 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
30151 PyObject
* obj0
= 0 ;
30152 PyObject
* obj1
= 0 ;
30153 PyObject
* obj2
= 0 ;
30154 PyObject
* obj3
= 0 ;
30155 PyObject
* obj4
= 0 ;
30156 PyObject
* obj5
= 0 ;
30157 PyObject
* obj6
= 0 ;
30158 char * kwnames
[] = {
30159 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
30162 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30163 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30164 if (!SWIG_IsOK(res1
)) {
30165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30167 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30168 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30169 if (!SWIG_IsOK(res2
)) {
30170 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "2"" of type '" "wxWindow *""'");
30172 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30173 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30174 if (!SWIG_IsOK(res3
)) {
30175 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
30178 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
30180 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30183 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
30186 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30187 if (!SWIG_IsOK(ecode5
)) {
30188 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "5"" of type '" "int""'");
30190 arg5
= static_cast< int >(val5
);
30193 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
30194 if (!SWIG_IsOK(ecode6
)) {
30195 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
30197 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
30200 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
30201 if (!SWIG_IsOK(res7
)) {
30202 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
30204 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
30207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30208 (arg1
)->DrawHeaderButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
30209 wxPyEndAllowThreads(__tstate
);
30210 if (PyErr_Occurred()) SWIG_fail
;
30212 resultobj
= SWIG_Py_Void();
30219 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButtonContents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30220 PyObject
*resultobj
= 0;
30221 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30222 wxWindow
*arg2
= (wxWindow
*) 0 ;
30225 int arg5
= (int) 0 ;
30226 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
30227 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
30241 PyObject
* obj0
= 0 ;
30242 PyObject
* obj1
= 0 ;
30243 PyObject
* obj2
= 0 ;
30244 PyObject
* obj3
= 0 ;
30245 PyObject
* obj4
= 0 ;
30246 PyObject
* obj5
= 0 ;
30247 PyObject
* obj6
= 0 ;
30248 char * kwnames
[] = {
30249 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
30252 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButtonContents",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30253 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30254 if (!SWIG_IsOK(res1
)) {
30255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30257 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30258 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30259 if (!SWIG_IsOK(res2
)) {
30260 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "2"" of type '" "wxWindow *""'");
30262 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30263 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30264 if (!SWIG_IsOK(res3
)) {
30265 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
30268 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
30270 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30273 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
30276 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30277 if (!SWIG_IsOK(ecode5
)) {
30278 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "5"" of type '" "int""'");
30280 arg5
= static_cast< int >(val5
);
30283 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
30284 if (!SWIG_IsOK(ecode6
)) {
30285 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
30287 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
30290 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
30291 if (!SWIG_IsOK(res7
)) {
30292 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
30294 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
30297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30298 (arg1
)->DrawHeaderButtonContents(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
30299 wxPyEndAllowThreads(__tstate
);
30300 if (PyErr_Occurred()) SWIG_fail
;
30302 resultobj
= SWIG_Py_Void();
30309 SWIGINTERN PyObject
*_wrap_RendererNative_GetHeaderButtonHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30310 PyObject
*resultobj
= 0;
30311 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30312 wxWindow
*arg2
= (wxWindow
*) 0 ;
30318 PyObject
* obj0
= 0 ;
30319 PyObject
* obj1
= 0 ;
30320 char * kwnames
[] = {
30321 (char *) "self",(char *) "win", NULL
30324 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetHeaderButtonHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30325 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30326 if (!SWIG_IsOK(res1
)) {
30327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30329 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30330 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30331 if (!SWIG_IsOK(res2
)) {
30332 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "2"" of type '" "wxWindow *""'");
30334 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30337 result
= (int)(arg1
)->GetHeaderButtonHeight(arg2
);
30338 wxPyEndAllowThreads(__tstate
);
30339 if (PyErr_Occurred()) SWIG_fail
;
30341 resultobj
= SWIG_From_int(static_cast< int >(result
));
30348 SWIGINTERN PyObject
*_wrap_RendererNative_DrawTreeItemButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30349 PyObject
*resultobj
= 0;
30350 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30351 wxWindow
*arg2
= (wxWindow
*) 0 ;
30354 int arg5
= (int) 0 ;
30364 PyObject
* obj0
= 0 ;
30365 PyObject
* obj1
= 0 ;
30366 PyObject
* obj2
= 0 ;
30367 PyObject
* obj3
= 0 ;
30368 PyObject
* obj4
= 0 ;
30369 char * kwnames
[] = {
30370 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
30373 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawTreeItemButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30374 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30375 if (!SWIG_IsOK(res1
)) {
30376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30378 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30379 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30380 if (!SWIG_IsOK(res2
)) {
30381 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "2"" of type '" "wxWindow *""'");
30383 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30384 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30385 if (!SWIG_IsOK(res3
)) {
30386 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
30389 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
30391 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30394 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
30397 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30398 if (!SWIG_IsOK(ecode5
)) {
30399 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "5"" of type '" "int""'");
30401 arg5
= static_cast< int >(val5
);
30404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30405 (arg1
)->DrawTreeItemButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
30406 wxPyEndAllowThreads(__tstate
);
30407 if (PyErr_Occurred()) SWIG_fail
;
30409 resultobj
= SWIG_Py_Void();
30416 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30417 PyObject
*resultobj
= 0;
30418 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30419 wxWindow
*arg2
= (wxWindow
*) 0 ;
30422 int arg5
= (int) 0 ;
30432 PyObject
* obj0
= 0 ;
30433 PyObject
* obj1
= 0 ;
30434 PyObject
* obj2
= 0 ;
30435 PyObject
* obj3
= 0 ;
30436 PyObject
* obj4
= 0 ;
30437 char * kwnames
[] = {
30438 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
30441 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawSplitterBorder",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30442 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30443 if (!SWIG_IsOK(res1
)) {
30444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30446 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30447 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30448 if (!SWIG_IsOK(res2
)) {
30449 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "2"" of type '" "wxWindow *""'");
30451 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30452 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30453 if (!SWIG_IsOK(res3
)) {
30454 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
30457 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
30459 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30462 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
30465 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30466 if (!SWIG_IsOK(ecode5
)) {
30467 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "5"" of type '" "int""'");
30469 arg5
= static_cast< int >(val5
);
30472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30473 (arg1
)->DrawSplitterBorder(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
30474 wxPyEndAllowThreads(__tstate
);
30475 if (PyErr_Occurred()) SWIG_fail
;
30477 resultobj
= SWIG_Py_Void();
30484 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterSash(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30485 PyObject
*resultobj
= 0;
30486 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30487 wxWindow
*arg2
= (wxWindow
*) 0 ;
30491 wxOrientation arg6
;
30492 int arg7
= (int) 0 ;
30506 PyObject
* obj0
= 0 ;
30507 PyObject
* obj1
= 0 ;
30508 PyObject
* obj2
= 0 ;
30509 PyObject
* obj3
= 0 ;
30510 PyObject
* obj4
= 0 ;
30511 PyObject
* obj5
= 0 ;
30512 PyObject
* obj6
= 0 ;
30513 char * kwnames
[] = {
30514 (char *) "self",(char *) "win",(char *) "dc",(char *) "size",(char *) "position",(char *) "orient",(char *) "flags", NULL
30517 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:RendererNative_DrawSplitterSash",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30518 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30519 if (!SWIG_IsOK(res1
)) {
30520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30522 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30523 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30524 if (!SWIG_IsOK(res2
)) {
30525 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "2"" of type '" "wxWindow *""'");
30527 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30528 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30529 if (!SWIG_IsOK(res3
)) {
30530 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
30533 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
30535 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30538 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
30540 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30541 if (!SWIG_IsOK(ecode5
)) {
30542 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "5"" of type '" "int""'");
30544 arg5
= static_cast< int >(val5
);
30545 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
30546 if (!SWIG_IsOK(ecode6
)) {
30547 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "6"" of type '" "wxOrientation""'");
30549 arg6
= static_cast< wxOrientation
>(val6
);
30551 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
30552 if (!SWIG_IsOK(ecode7
)) {
30553 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "7"" of type '" "int""'");
30555 arg7
= static_cast< int >(val7
);
30558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30559 (arg1
)->DrawSplitterSash(arg2
,*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
);
30560 wxPyEndAllowThreads(__tstate
);
30561 if (PyErr_Occurred()) SWIG_fail
;
30563 resultobj
= SWIG_Py_Void();
30570 SWIGINTERN PyObject
*_wrap_RendererNative_DrawComboBoxDropButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30571 PyObject
*resultobj
= 0;
30572 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30573 wxWindow
*arg2
= (wxWindow
*) 0 ;
30576 int arg5
= (int) 0 ;
30586 PyObject
* obj0
= 0 ;
30587 PyObject
* obj1
= 0 ;
30588 PyObject
* obj2
= 0 ;
30589 PyObject
* obj3
= 0 ;
30590 PyObject
* obj4
= 0 ;
30591 char * kwnames
[] = {
30592 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
30595 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawComboBoxDropButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30596 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30597 if (!SWIG_IsOK(res1
)) {
30598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30600 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30601 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30602 if (!SWIG_IsOK(res2
)) {
30603 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "2"" of type '" "wxWindow *""'");
30605 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30606 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30607 if (!SWIG_IsOK(res3
)) {
30608 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
30611 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
30613 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30616 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
30619 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30620 if (!SWIG_IsOK(ecode5
)) {
30621 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "5"" of type '" "int""'");
30623 arg5
= static_cast< int >(val5
);
30626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30627 (arg1
)->DrawComboBoxDropButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
30628 wxPyEndAllowThreads(__tstate
);
30629 if (PyErr_Occurred()) SWIG_fail
;
30631 resultobj
= SWIG_Py_Void();
30638 SWIGINTERN PyObject
*_wrap_RendererNative_DrawDropArrow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30639 PyObject
*resultobj
= 0;
30640 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30641 wxWindow
*arg2
= (wxWindow
*) 0 ;
30644 int arg5
= (int) 0 ;
30654 PyObject
* obj0
= 0 ;
30655 PyObject
* obj1
= 0 ;
30656 PyObject
* obj2
= 0 ;
30657 PyObject
* obj3
= 0 ;
30658 PyObject
* obj4
= 0 ;
30659 char * kwnames
[] = {
30660 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
30663 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawDropArrow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30664 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30665 if (!SWIG_IsOK(res1
)) {
30666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30668 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30669 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30670 if (!SWIG_IsOK(res2
)) {
30671 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "2"" of type '" "wxWindow *""'");
30673 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30674 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30675 if (!SWIG_IsOK(res3
)) {
30676 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
30679 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
30681 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30684 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
30687 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30688 if (!SWIG_IsOK(ecode5
)) {
30689 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "5"" of type '" "int""'");
30691 arg5
= static_cast< int >(val5
);
30694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30695 (arg1
)->DrawDropArrow(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
30696 wxPyEndAllowThreads(__tstate
);
30697 if (PyErr_Occurred()) SWIG_fail
;
30699 resultobj
= SWIG_Py_Void();
30706 SWIGINTERN PyObject
*_wrap_RendererNative_DrawCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30707 PyObject
*resultobj
= 0;
30708 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30709 wxWindow
*arg2
= (wxWindow
*) 0 ;
30712 int arg5
= (int) 0 ;
30722 PyObject
* obj0
= 0 ;
30723 PyObject
* obj1
= 0 ;
30724 PyObject
* obj2
= 0 ;
30725 PyObject
* obj3
= 0 ;
30726 PyObject
* obj4
= 0 ;
30727 char * kwnames
[] = {
30728 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
30731 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawCheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30732 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30733 if (!SWIG_IsOK(res1
)) {
30734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30736 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30737 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30738 if (!SWIG_IsOK(res2
)) {
30739 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "2"" of type '" "wxWindow *""'");
30741 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30742 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30743 if (!SWIG_IsOK(res3
)) {
30744 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
30747 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
30749 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30752 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
30755 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30756 if (!SWIG_IsOK(ecode5
)) {
30757 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "5"" of type '" "int""'");
30759 arg5
= static_cast< int >(val5
);
30762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30763 (arg1
)->DrawCheckBox(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
30764 wxPyEndAllowThreads(__tstate
);
30765 if (PyErr_Occurred()) SWIG_fail
;
30767 resultobj
= SWIG_Py_Void();
30774 SWIGINTERN PyObject
*_wrap_RendererNative_DrawPushButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30775 PyObject
*resultobj
= 0;
30776 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30777 wxWindow
*arg2
= (wxWindow
*) 0 ;
30780 int arg5
= (int) 0 ;
30790 PyObject
* obj0
= 0 ;
30791 PyObject
* obj1
= 0 ;
30792 PyObject
* obj2
= 0 ;
30793 PyObject
* obj3
= 0 ;
30794 PyObject
* obj4
= 0 ;
30795 char * kwnames
[] = {
30796 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
30799 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawPushButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30800 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30801 if (!SWIG_IsOK(res1
)) {
30802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30804 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30805 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30806 if (!SWIG_IsOK(res2
)) {
30807 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "2"" of type '" "wxWindow *""'");
30809 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30810 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30811 if (!SWIG_IsOK(res3
)) {
30812 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
30815 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
30817 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30820 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
30823 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30824 if (!SWIG_IsOK(ecode5
)) {
30825 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "5"" of type '" "int""'");
30827 arg5
= static_cast< int >(val5
);
30830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30831 (arg1
)->DrawPushButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
30832 wxPyEndAllowThreads(__tstate
);
30833 if (PyErr_Occurred()) SWIG_fail
;
30835 resultobj
= SWIG_Py_Void();
30842 SWIGINTERN PyObject
*_wrap_RendererNative_DrawItemSelectionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30843 PyObject
*resultobj
= 0;
30844 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30845 wxWindow
*arg2
= (wxWindow
*) 0 ;
30848 int arg5
= (int) 0 ;
30858 PyObject
* obj0
= 0 ;
30859 PyObject
* obj1
= 0 ;
30860 PyObject
* obj2
= 0 ;
30861 PyObject
* obj3
= 0 ;
30862 PyObject
* obj4
= 0 ;
30863 char * kwnames
[] = {
30864 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
30867 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawItemSelectionRect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30868 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30869 if (!SWIG_IsOK(res1
)) {
30870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30872 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30873 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30874 if (!SWIG_IsOK(res2
)) {
30875 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "2"" of type '" "wxWindow *""'");
30877 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30878 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30879 if (!SWIG_IsOK(res3
)) {
30880 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
30883 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
30885 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30888 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
30891 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30892 if (!SWIG_IsOK(ecode5
)) {
30893 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "5"" of type '" "int""'");
30895 arg5
= static_cast< int >(val5
);
30898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30899 (arg1
)->DrawItemSelectionRect(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
30900 wxPyEndAllowThreads(__tstate
);
30901 if (PyErr_Occurred()) SWIG_fail
;
30903 resultobj
= SWIG_Py_Void();
30910 SWIGINTERN PyObject
*_wrap_RendererNative_GetSplitterParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30911 PyObject
*resultobj
= 0;
30912 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30913 wxWindow
*arg2
= (wxWindow
*) 0 ;
30914 SwigValueWrapper
<wxSplitterRenderParams
> result
;
30919 PyObject
* obj0
= 0 ;
30920 PyObject
* obj1
= 0 ;
30921 char * kwnames
[] = {
30922 (char *) "self",(char *) "win", NULL
30925 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetSplitterParams",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30926 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30927 if (!SWIG_IsOK(res1
)) {
30928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30930 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30931 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30932 if (!SWIG_IsOK(res2
)) {
30933 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "2"" of type '" "wxWindow const *""'");
30935 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30938 result
= (arg1
)->GetSplitterParams((wxWindow
const *)arg2
);
30939 wxPyEndAllowThreads(__tstate
);
30940 if (PyErr_Occurred()) SWIG_fail
;
30942 resultobj
= SWIG_NewPointerObj((new wxSplitterRenderParams(static_cast< const wxSplitterRenderParams
& >(result
))), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_OWN
| 0 );
30949 SWIGINTERN PyObject
*_wrap_RendererNative_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30950 PyObject
*resultobj
= 0;
30951 wxRendererNative
*result
= 0 ;
30953 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_Get",0,0,0)) SWIG_fail
;
30955 if (!wxPyCheckForApp()) SWIG_fail
;
30956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30958 wxRendererNative
&_result_ref
= wxRendererNative::Get();
30959 result
= (wxRendererNative
*) &_result_ref
;
30961 wxPyEndAllowThreads(__tstate
);
30962 if (PyErr_Occurred()) SWIG_fail
;
30964 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30971 SWIGINTERN PyObject
*_wrap_RendererNative_GetGeneric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30972 PyObject
*resultobj
= 0;
30973 wxRendererNative
*result
= 0 ;
30975 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetGeneric",0,0,0)) SWIG_fail
;
30977 if (!wxPyCheckForApp()) SWIG_fail
;
30978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30980 wxRendererNative
&_result_ref
= wxRendererNative::GetGeneric();
30981 result
= (wxRendererNative
*) &_result_ref
;
30983 wxPyEndAllowThreads(__tstate
);
30984 if (PyErr_Occurred()) SWIG_fail
;
30986 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30993 SWIGINTERN PyObject
*_wrap_RendererNative_GetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30994 PyObject
*resultobj
= 0;
30995 wxRendererNative
*result
= 0 ;
30997 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetDefault",0,0,0)) SWIG_fail
;
30999 if (!wxPyCheckForApp()) SWIG_fail
;
31000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31002 wxRendererNative
&_result_ref
= wxRendererNative::GetDefault();
31003 result
= (wxRendererNative
*) &_result_ref
;
31005 wxPyEndAllowThreads(__tstate
);
31006 if (PyErr_Occurred()) SWIG_fail
;
31008 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31015 SWIGINTERN PyObject
*_wrap_RendererNative_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31016 PyObject
*resultobj
= 0;
31017 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
31018 wxRendererNative
*result
= 0 ;
31021 PyObject
* obj0
= 0 ;
31022 char * kwnames
[] = {
31023 (char *) "renderer", NULL
31026 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererNative_Set",kwnames
,&obj0
)) SWIG_fail
;
31027 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31028 if (!SWIG_IsOK(res1
)) {
31029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_Set" "', expected argument " "1"" of type '" "wxRendererNative *""'");
31031 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
31033 if (!wxPyCheckForApp()) SWIG_fail
;
31034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31035 result
= (wxRendererNative
*)wxRendererNative::Set(arg1
);
31036 wxPyEndAllowThreads(__tstate
);
31037 if (PyErr_Occurred()) SWIG_fail
;
31039 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31046 SWIGINTERN PyObject
*_wrap_RendererNative_GetVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31047 PyObject
*resultobj
= 0;
31048 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
31049 SwigValueWrapper
<wxRendererVersion
> result
;
31052 PyObject
*swig_obj
[1] ;
31054 if (!args
) SWIG_fail
;
31055 swig_obj
[0] = args
;
31056 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31057 if (!SWIG_IsOK(res1
)) {
31058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetVersion" "', expected argument " "1"" of type '" "wxRendererNative const *""'");
31060 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
31062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31063 result
= ((wxRendererNative
const *)arg1
)->GetVersion();
31064 wxPyEndAllowThreads(__tstate
);
31065 if (PyErr_Occurred()) SWIG_fail
;
31067 resultobj
= SWIG_NewPointerObj((new wxRendererVersion(static_cast< const wxRendererVersion
& >(result
))), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_OWN
| 0 );
31074 SWIGINTERN PyObject
*RendererNative_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31076 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31077 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererNative
, SWIG_NewClientData(obj
));
31078 return SWIG_Py_Void();
31081 SWIGINTERN PyObject
*_wrap_new_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31082 PyObject
*resultobj
= 0;
31083 wxPseudoDC
*result
= 0 ;
31085 if (!SWIG_Python_UnpackTuple(args
,"new_PseudoDC",0,0,0)) SWIG_fail
;
31087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31088 result
= (wxPseudoDC
*)new wxPseudoDC();
31089 wxPyEndAllowThreads(__tstate
);
31090 if (PyErr_Occurred()) SWIG_fail
;
31092 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_NEW
| 0 );
31099 SWIGINTERN PyObject
*_wrap_PseudoDC_BeginDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31100 PyObject
*resultobj
= 0;
31101 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31104 PyObject
*swig_obj
[1] ;
31106 if (!args
) SWIG_fail
;
31107 swig_obj
[0] = args
;
31108 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31109 if (!SWIG_IsOK(res1
)) {
31110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_BeginDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31112 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31115 (arg1
)->BeginDrawing();
31116 wxPyEndAllowThreads(__tstate
);
31117 if (PyErr_Occurred()) SWIG_fail
;
31119 resultobj
= SWIG_Py_Void();
31126 SWIGINTERN PyObject
*_wrap_PseudoDC_EndDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31127 PyObject
*resultobj
= 0;
31128 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31131 PyObject
*swig_obj
[1] ;
31133 if (!args
) SWIG_fail
;
31134 swig_obj
[0] = args
;
31135 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31136 if (!SWIG_IsOK(res1
)) {
31137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_EndDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31139 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31142 (arg1
)->EndDrawing();
31143 wxPyEndAllowThreads(__tstate
);
31144 if (PyErr_Occurred()) SWIG_fail
;
31146 resultobj
= SWIG_Py_Void();
31153 SWIGINTERN PyObject
*_wrap_delete_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31154 PyObject
*resultobj
= 0;
31155 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31158 PyObject
*swig_obj
[1] ;
31160 if (!args
) SWIG_fail
;
31161 swig_obj
[0] = args
;
31162 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_DISOWN
| 0 );
31163 if (!SWIG_IsOK(res1
)) {
31164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PseudoDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31166 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31171 wxPyEndAllowThreads(__tstate
);
31172 if (PyErr_Occurred()) SWIG_fail
;
31174 resultobj
= SWIG_Py_Void();
31181 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31182 PyObject
*resultobj
= 0;
31183 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31186 PyObject
*swig_obj
[1] ;
31188 if (!args
) SWIG_fail
;
31189 swig_obj
[0] = args
;
31190 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31191 if (!SWIG_IsOK(res1
)) {
31192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveAll" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31194 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31197 (arg1
)->RemoveAll();
31198 wxPyEndAllowThreads(__tstate
);
31199 if (PyErr_Occurred()) SWIG_fail
;
31201 resultobj
= SWIG_Py_Void();
31208 SWIGINTERN PyObject
*_wrap_PseudoDC_GetLen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31209 PyObject
*resultobj
= 0;
31210 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31214 PyObject
*swig_obj
[1] ;
31216 if (!args
) SWIG_fail
;
31217 swig_obj
[0] = args
;
31218 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31219 if (!SWIG_IsOK(res1
)) {
31220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetLen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31222 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31225 result
= (int)(arg1
)->GetLen();
31226 wxPyEndAllowThreads(__tstate
);
31227 if (PyErr_Occurred()) SWIG_fail
;
31229 resultobj
= SWIG_From_int(static_cast< int >(result
));
31236 SWIGINTERN PyObject
*_wrap_PseudoDC_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31237 PyObject
*resultobj
= 0;
31238 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31244 PyObject
* obj0
= 0 ;
31245 PyObject
* obj1
= 0 ;
31246 char * kwnames
[] = {
31247 (char *) "self",(char *) "id", NULL
31250 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31251 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31252 if (!SWIG_IsOK(res1
)) {
31253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31255 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31256 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31257 if (!SWIG_IsOK(ecode2
)) {
31258 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetId" "', expected argument " "2"" of type '" "int""'");
31260 arg2
= static_cast< int >(val2
);
31262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31263 (arg1
)->SetId(arg2
);
31264 wxPyEndAllowThreads(__tstate
);
31265 if (PyErr_Occurred()) SWIG_fail
;
31267 resultobj
= SWIG_Py_Void();
31274 SWIGINTERN PyObject
*_wrap_PseudoDC_ClearId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31275 PyObject
*resultobj
= 0;
31276 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31282 PyObject
* obj0
= 0 ;
31283 PyObject
* obj1
= 0 ;
31284 char * kwnames
[] = {
31285 (char *) "self",(char *) "id", NULL
31288 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_ClearId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31289 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31290 if (!SWIG_IsOK(res1
)) {
31291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_ClearId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31293 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31294 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31295 if (!SWIG_IsOK(ecode2
)) {
31296 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_ClearId" "', expected argument " "2"" of type '" "int""'");
31298 arg2
= static_cast< int >(val2
);
31300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31301 (arg1
)->ClearId(arg2
);
31302 wxPyEndAllowThreads(__tstate
);
31303 if (PyErr_Occurred()) SWIG_fail
;
31305 resultobj
= SWIG_Py_Void();
31312 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31313 PyObject
*resultobj
= 0;
31314 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31320 PyObject
* obj0
= 0 ;
31321 PyObject
* obj1
= 0 ;
31322 char * kwnames
[] = {
31323 (char *) "self",(char *) "id", NULL
31326 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_RemoveId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31327 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31328 if (!SWIG_IsOK(res1
)) {
31329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31331 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31332 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31333 if (!SWIG_IsOK(ecode2
)) {
31334 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_RemoveId" "', expected argument " "2"" of type '" "int""'");
31336 arg2
= static_cast< int >(val2
);
31338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31339 (arg1
)->RemoveId(arg2
);
31340 wxPyEndAllowThreads(__tstate
);
31341 if (PyErr_Occurred()) SWIG_fail
;
31343 resultobj
= SWIG_Py_Void();
31350 SWIGINTERN PyObject
*_wrap_PseudoDC_TranslateId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31351 PyObject
*resultobj
= 0;
31352 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31364 PyObject
* obj0
= 0 ;
31365 PyObject
* obj1
= 0 ;
31366 PyObject
* obj2
= 0 ;
31367 PyObject
* obj3
= 0 ;
31368 char * kwnames
[] = {
31369 (char *) "self",(char *) "id",(char *) "dx",(char *) "dy", NULL
31372 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_TranslateId",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31373 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31374 if (!SWIG_IsOK(res1
)) {
31375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_TranslateId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31377 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31378 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31379 if (!SWIG_IsOK(ecode2
)) {
31380 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_TranslateId" "', expected argument " "2"" of type '" "int""'");
31382 arg2
= static_cast< int >(val2
);
31383 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31384 if (!SWIG_IsOK(ecode3
)) {
31385 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_TranslateId" "', expected argument " "3"" of type '" "int""'");
31387 arg3
= static_cast< int >(val3
);
31388 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31389 if (!SWIG_IsOK(ecode4
)) {
31390 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_TranslateId" "', expected argument " "4"" of type '" "int""'");
31392 arg4
= static_cast< int >(val4
);
31394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31395 (arg1
)->TranslateId(arg2
,arg3
,arg4
);
31396 wxPyEndAllowThreads(__tstate
);
31397 if (PyErr_Occurred()) SWIG_fail
;
31399 resultobj
= SWIG_Py_Void();
31406 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdGreyedOut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31407 PyObject
*resultobj
= 0;
31408 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31410 bool arg3
= (bool) true ;
31417 PyObject
* obj0
= 0 ;
31418 PyObject
* obj1
= 0 ;
31419 PyObject
* obj2
= 0 ;
31420 char * kwnames
[] = {
31421 (char *) "self",(char *) "id",(char *) "greyout", NULL
31424 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PseudoDC_SetIdGreyedOut",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31425 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31426 if (!SWIG_IsOK(res1
)) {
31427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31429 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31430 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31431 if (!SWIG_IsOK(ecode2
)) {
31432 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "2"" of type '" "int""'");
31434 arg2
= static_cast< int >(val2
);
31436 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
31437 if (!SWIG_IsOK(ecode3
)) {
31438 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "3"" of type '" "bool""'");
31440 arg3
= static_cast< bool >(val3
);
31443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31444 (arg1
)->SetIdGreyedOut(arg2
,arg3
);
31445 wxPyEndAllowThreads(__tstate
);
31446 if (PyErr_Occurred()) SWIG_fail
;
31448 resultobj
= SWIG_Py_Void();
31455 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdGreyedOut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31456 PyObject
*resultobj
= 0;
31457 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31464 PyObject
* obj0
= 0 ;
31465 PyObject
* obj1
= 0 ;
31466 char * kwnames
[] = {
31467 (char *) "self",(char *) "id", NULL
31470 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdGreyedOut",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31471 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31472 if (!SWIG_IsOK(res1
)) {
31473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdGreyedOut" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31475 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31476 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31477 if (!SWIG_IsOK(ecode2
)) {
31478 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdGreyedOut" "', expected argument " "2"" of type '" "int""'");
31480 arg2
= static_cast< int >(val2
);
31482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31483 result
= (bool)(arg1
)->GetIdGreyedOut(arg2
);
31484 wxPyEndAllowThreads(__tstate
);
31485 if (PyErr_Occurred()) SWIG_fail
;
31488 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31496 SWIGINTERN PyObject
*_wrap_PseudoDC_FindObjects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31497 PyObject
*resultobj
= 0;
31498 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31501 int arg4
= (int) 1 ;
31502 wxColor
const &arg5_defvalue
= *wxWHITE
;
31503 wxColor
*arg5
= (wxColor
*) &arg5_defvalue
;
31504 PyObject
*result
= 0 ;
31515 PyObject
* obj0
= 0 ;
31516 PyObject
* obj1
= 0 ;
31517 PyObject
* obj2
= 0 ;
31518 PyObject
* obj3
= 0 ;
31519 PyObject
* obj4
= 0 ;
31520 char * kwnames
[] = {
31521 (char *) "self",(char *) "x",(char *) "y",(char *) "radius",(char *) "bg", NULL
31524 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_FindObjects",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31525 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31526 if (!SWIG_IsOK(res1
)) {
31527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FindObjects" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31529 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31530 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31531 if (!SWIG_IsOK(ecode2
)) {
31532 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FindObjects" "', expected argument " "2"" of type '" "int""'");
31534 arg2
= static_cast< int >(val2
);
31535 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31536 if (!SWIG_IsOK(ecode3
)) {
31537 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjects" "', expected argument " "3"" of type '" "int""'");
31539 arg3
= static_cast< int >(val3
);
31541 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31542 if (!SWIG_IsOK(ecode4
)) {
31543 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FindObjects" "', expected argument " "4"" of type '" "int""'");
31545 arg4
= static_cast< int >(val4
);
31548 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxColor
, 0 | 0);
31549 if (!SWIG_IsOK(res5
)) {
31550 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "PseudoDC_FindObjects" "', expected argument " "5"" of type '" "wxColor const &""'");
31553 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_FindObjects" "', expected argument " "5"" of type '" "wxColor const &""'");
31555 arg5
= reinterpret_cast< wxColor
* >(argp5
);
31558 result
= (PyObject
*)(arg1
)->FindObjects(arg2
,arg3
,arg4
,(wxColor
const &)*arg5
);
31559 if (PyErr_Occurred()) SWIG_fail
;
31561 resultobj
= result
;
31568 SWIGINTERN PyObject
*_wrap_PseudoDC_FindObjectsByBBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31569 PyObject
*resultobj
= 0;
31570 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31573 PyObject
*result
= 0 ;
31580 PyObject
* obj0
= 0 ;
31581 PyObject
* obj1
= 0 ;
31582 PyObject
* obj2
= 0 ;
31583 char * kwnames
[] = {
31584 (char *) "self",(char *) "x",(char *) "y", NULL
31587 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_FindObjectsByBBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31588 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31589 if (!SWIG_IsOK(res1
)) {
31590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31592 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31593 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31594 if (!SWIG_IsOK(ecode2
)) {
31595 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "2"" of type '" "int""'");
31597 arg2
= static_cast< int >(val2
);
31598 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31599 if (!SWIG_IsOK(ecode3
)) {
31600 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "3"" of type '" "int""'");
31602 arg3
= static_cast< int >(val3
);
31604 result
= (PyObject
*)(arg1
)->FindObjectsByBBox(arg2
,arg3
);
31605 if (PyErr_Occurred()) SWIG_fail
;
31607 resultobj
= result
;
31614 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIdToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31615 PyObject
*resultobj
= 0;
31616 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31618 wxDC
*arg3
= (wxDC
*) 0 ;
31625 PyObject
* obj0
= 0 ;
31626 PyObject
* obj1
= 0 ;
31627 PyObject
* obj2
= 0 ;
31628 char * kwnames
[] = {
31629 (char *) "self",(char *) "id",(char *) "dc", NULL
31632 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIdToDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31633 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31634 if (!SWIG_IsOK(res1
)) {
31635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31637 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31638 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31639 if (!SWIG_IsOK(ecode2
)) {
31640 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "2"" of type '" "int""'");
31642 arg2
= static_cast< int >(val2
);
31643 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxDC
, 0 | 0 );
31644 if (!SWIG_IsOK(res3
)) {
31645 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "3"" of type '" "wxDC *""'");
31647 arg3
= reinterpret_cast< wxDC
* >(argp3
);
31649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31650 (arg1
)->DrawIdToDC(arg2
,arg3
);
31651 wxPyEndAllowThreads(__tstate
);
31652 if (PyErr_Occurred()) SWIG_fail
;
31654 resultobj
= SWIG_Py_Void();
31661 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31662 PyObject
*resultobj
= 0;
31663 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31671 PyObject
* obj0
= 0 ;
31672 PyObject
* obj1
= 0 ;
31673 PyObject
* obj2
= 0 ;
31674 char * kwnames
[] = {
31675 (char *) "self",(char *) "id",(char *) "rect", NULL
31678 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_SetIdBounds",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31679 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31680 if (!SWIG_IsOK(res1
)) {
31681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31683 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31684 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31685 if (!SWIG_IsOK(ecode2
)) {
31686 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "2"" of type '" "int""'");
31688 arg2
= static_cast< int >(val2
);
31691 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
31694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31695 (arg1
)->SetIdBounds(arg2
,*arg3
);
31696 wxPyEndAllowThreads(__tstate
);
31697 if (PyErr_Occurred()) SWIG_fail
;
31699 resultobj
= SWIG_Py_Void();
31706 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31707 PyObject
*resultobj
= 0;
31708 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31715 PyObject
* obj0
= 0 ;
31716 PyObject
* obj1
= 0 ;
31717 char * kwnames
[] = {
31718 (char *) "self",(char *) "id", NULL
31721 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdBounds",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31722 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31723 if (!SWIG_IsOK(res1
)) {
31724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31726 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31727 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31728 if (!SWIG_IsOK(ecode2
)) {
31729 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "2"" of type '" "int""'");
31731 arg2
= static_cast< int >(val2
);
31733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31734 result
= wxPseudoDC_GetIdBounds(arg1
,arg2
);
31735 wxPyEndAllowThreads(__tstate
);
31736 if (PyErr_Occurred()) SWIG_fail
;
31738 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
31745 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClipped(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31746 PyObject
*resultobj
= 0;
31747 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31748 wxDC
*arg2
= (wxDC
*) 0 ;
31755 PyObject
* obj0
= 0 ;
31756 PyObject
* obj1
= 0 ;
31757 PyObject
* obj2
= 0 ;
31758 char * kwnames
[] = {
31759 (char *) "self",(char *) "dc",(char *) "rect", NULL
31762 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClipped",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31763 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31764 if (!SWIG_IsOK(res1
)) {
31765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31767 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31768 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
31769 if (!SWIG_IsOK(res2
)) {
31770 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "2"" of type '" "wxDC *""'");
31772 arg2
= reinterpret_cast< wxDC
* >(argp2
);
31775 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
31778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31779 (arg1
)->DrawToDCClipped(arg2
,(wxRect
const &)*arg3
);
31780 wxPyEndAllowThreads(__tstate
);
31781 if (PyErr_Occurred()) SWIG_fail
;
31783 resultobj
= SWIG_Py_Void();
31790 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClippedRgn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31791 PyObject
*resultobj
= 0;
31792 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31793 wxDC
*arg2
= (wxDC
*) 0 ;
31794 wxRegion
*arg3
= 0 ;
31801 PyObject
* obj0
= 0 ;
31802 PyObject
* obj1
= 0 ;
31803 PyObject
* obj2
= 0 ;
31804 char * kwnames
[] = {
31805 (char *) "self",(char *) "dc",(char *) "region", NULL
31808 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClippedRgn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31809 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31810 if (!SWIG_IsOK(res1
)) {
31811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31813 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31814 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
31815 if (!SWIG_IsOK(res2
)) {
31816 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "2"" of type '" "wxDC *""'");
31818 arg2
= reinterpret_cast< wxDC
* >(argp2
);
31819 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxRegion
, 0 | 0);
31820 if (!SWIG_IsOK(res3
)) {
31821 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
31824 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
31826 arg3
= reinterpret_cast< wxRegion
* >(argp3
);
31828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31829 (arg1
)->DrawToDCClippedRgn(arg2
,(wxRegion
const &)*arg3
);
31830 wxPyEndAllowThreads(__tstate
);
31831 if (PyErr_Occurred()) SWIG_fail
;
31833 resultobj
= SWIG_Py_Void();
31840 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31841 PyObject
*resultobj
= 0;
31842 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31843 wxDC
*arg2
= (wxDC
*) 0 ;
31848 PyObject
* obj0
= 0 ;
31849 PyObject
* obj1
= 0 ;
31850 char * kwnames
[] = {
31851 (char *) "self",(char *) "dc", NULL
31854 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawToDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31855 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31856 if (!SWIG_IsOK(res1
)) {
31857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31859 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31860 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
31861 if (!SWIG_IsOK(res2
)) {
31862 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "2"" of type '" "wxDC *""'");
31864 arg2
= reinterpret_cast< wxDC
* >(argp2
);
31866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31867 (arg1
)->DrawToDC(arg2
);
31868 wxPyEndAllowThreads(__tstate
);
31869 if (PyErr_Occurred()) SWIG_fail
;
31871 resultobj
= SWIG_Py_Void();
31878 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31879 PyObject
*resultobj
= 0;
31880 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31883 wxColour
*arg4
= 0 ;
31884 int arg5
= (int) wxFLOOD_SURFACE
;
31894 PyObject
* obj0
= 0 ;
31895 PyObject
* obj1
= 0 ;
31896 PyObject
* obj2
= 0 ;
31897 PyObject
* obj3
= 0 ;
31898 PyObject
* obj4
= 0 ;
31899 char * kwnames
[] = {
31900 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
31903 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31904 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31905 if (!SWIG_IsOK(res1
)) {
31906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFill" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31908 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31909 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31910 if (!SWIG_IsOK(ecode2
)) {
31911 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FloodFill" "', expected argument " "2"" of type '" "int""'");
31913 arg2
= static_cast< int >(val2
);
31914 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31915 if (!SWIG_IsOK(ecode3
)) {
31916 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FloodFill" "', expected argument " "3"" of type '" "int""'");
31918 arg3
= static_cast< int >(val3
);
31921 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
31924 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31925 if (!SWIG_IsOK(ecode5
)) {
31926 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_FloodFill" "', expected argument " "5"" of type '" "int""'");
31928 arg5
= static_cast< int >(val5
);
31931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31932 (arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
31933 wxPyEndAllowThreads(__tstate
);
31934 if (PyErr_Occurred()) SWIG_fail
;
31936 resultobj
= SWIG_Py_Void();
31943 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31944 PyObject
*resultobj
= 0;
31945 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31946 wxPoint
*arg2
= 0 ;
31947 wxColour
*arg3
= 0 ;
31948 int arg4
= (int) wxFLOOD_SURFACE
;
31955 PyObject
* obj0
= 0 ;
31956 PyObject
* obj1
= 0 ;
31957 PyObject
* obj2
= 0 ;
31958 PyObject
* obj3
= 0 ;
31959 char * kwnames
[] = {
31960 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
31963 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31964 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31965 if (!SWIG_IsOK(res1
)) {
31966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31968 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31971 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31975 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31978 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31979 if (!SWIG_IsOK(ecode4
)) {
31980 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
31982 arg4
= static_cast< int >(val4
);
31985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31986 (arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
31987 wxPyEndAllowThreads(__tstate
);
31988 if (PyErr_Occurred()) SWIG_fail
;
31990 resultobj
= SWIG_Py_Void();
31997 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31998 PyObject
*resultobj
= 0;
31999 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32014 PyObject
* obj0
= 0 ;
32015 PyObject
* obj1
= 0 ;
32016 PyObject
* obj2
= 0 ;
32017 PyObject
* obj3
= 0 ;
32018 PyObject
* obj4
= 0 ;
32019 char * kwnames
[] = {
32020 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
32023 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
32024 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32025 if (!SWIG_IsOK(res1
)) {
32026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLine" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32028 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32029 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32030 if (!SWIG_IsOK(ecode2
)) {
32031 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawLine" "', expected argument " "2"" of type '" "int""'");
32033 arg2
= static_cast< int >(val2
);
32034 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32035 if (!SWIG_IsOK(ecode3
)) {
32036 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawLine" "', expected argument " "3"" of type '" "int""'");
32038 arg3
= static_cast< int >(val3
);
32039 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32040 if (!SWIG_IsOK(ecode4
)) {
32041 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLine" "', expected argument " "4"" of type '" "int""'");
32043 arg4
= static_cast< int >(val4
);
32044 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32045 if (!SWIG_IsOK(ecode5
)) {
32046 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLine" "', expected argument " "5"" of type '" "int""'");
32048 arg5
= static_cast< int >(val5
);
32050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32051 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
32052 wxPyEndAllowThreads(__tstate
);
32053 if (PyErr_Occurred()) SWIG_fail
;
32055 resultobj
= SWIG_Py_Void();
32062 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32063 PyObject
*resultobj
= 0;
32064 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32065 wxPoint
*arg2
= 0 ;
32066 wxPoint
*arg3
= 0 ;
32071 PyObject
* obj0
= 0 ;
32072 PyObject
* obj1
= 0 ;
32073 PyObject
* obj2
= 0 ;
32074 char * kwnames
[] = {
32075 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
32078 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32079 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32080 if (!SWIG_IsOK(res1
)) {
32081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLinePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32083 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32086 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
32090 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
32093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32094 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
32095 wxPyEndAllowThreads(__tstate
);
32096 if (PyErr_Occurred()) SWIG_fail
;
32098 resultobj
= SWIG_Py_Void();
32105 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32106 PyObject
*resultobj
= 0;
32107 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32116 PyObject
* obj0
= 0 ;
32117 PyObject
* obj1
= 0 ;
32118 PyObject
* obj2
= 0 ;
32119 char * kwnames
[] = {
32120 (char *) "self",(char *) "x",(char *) "y", NULL
32123 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32124 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32125 if (!SWIG_IsOK(res1
)) {
32126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHair" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32128 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32129 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32130 if (!SWIG_IsOK(ecode2
)) {
32131 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_CrossHair" "', expected argument " "2"" of type '" "int""'");
32133 arg2
= static_cast< int >(val2
);
32134 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32135 if (!SWIG_IsOK(ecode3
)) {
32136 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_CrossHair" "', expected argument " "3"" of type '" "int""'");
32138 arg3
= static_cast< int >(val3
);
32140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32141 (arg1
)->CrossHair(arg2
,arg3
);
32142 wxPyEndAllowThreads(__tstate
);
32143 if (PyErr_Occurred()) SWIG_fail
;
32145 resultobj
= SWIG_Py_Void();
32152 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32153 PyObject
*resultobj
= 0;
32154 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32155 wxPoint
*arg2
= 0 ;
32159 PyObject
* obj0
= 0 ;
32160 PyObject
* obj1
= 0 ;
32161 char * kwnames
[] = {
32162 (char *) "self",(char *) "pt", NULL
32165 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32166 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32167 if (!SWIG_IsOK(res1
)) {
32168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHairPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32170 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32173 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
32176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32177 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
32178 wxPyEndAllowThreads(__tstate
);
32179 if (PyErr_Occurred()) SWIG_fail
;
32181 resultobj
= SWIG_Py_Void();
32188 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32189 PyObject
*resultobj
= 0;
32190 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32211 PyObject
* obj0
= 0 ;
32212 PyObject
* obj1
= 0 ;
32213 PyObject
* obj2
= 0 ;
32214 PyObject
* obj3
= 0 ;
32215 PyObject
* obj4
= 0 ;
32216 PyObject
* obj5
= 0 ;
32217 PyObject
* obj6
= 0 ;
32218 char * kwnames
[] = {
32219 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
32222 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
32223 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32224 if (!SWIG_IsOK(res1
)) {
32225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32227 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32228 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32229 if (!SWIG_IsOK(ecode2
)) {
32230 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawArc" "', expected argument " "2"" of type '" "int""'");
32232 arg2
= static_cast< int >(val2
);
32233 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32234 if (!SWIG_IsOK(ecode3
)) {
32235 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawArc" "', expected argument " "3"" of type '" "int""'");
32237 arg3
= static_cast< int >(val3
);
32238 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32239 if (!SWIG_IsOK(ecode4
)) {
32240 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawArc" "', expected argument " "4"" of type '" "int""'");
32242 arg4
= static_cast< int >(val4
);
32243 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32244 if (!SWIG_IsOK(ecode5
)) {
32245 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawArc" "', expected argument " "5"" of type '" "int""'");
32247 arg5
= static_cast< int >(val5
);
32248 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
32249 if (!SWIG_IsOK(ecode6
)) {
32250 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawArc" "', expected argument " "6"" of type '" "int""'");
32252 arg6
= static_cast< int >(val6
);
32253 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
32254 if (!SWIG_IsOK(ecode7
)) {
32255 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawArc" "', expected argument " "7"" of type '" "int""'");
32257 arg7
= static_cast< int >(val7
);
32259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32260 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
32261 wxPyEndAllowThreads(__tstate
);
32262 if (PyErr_Occurred()) SWIG_fail
;
32264 resultobj
= SWIG_Py_Void();
32271 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32272 PyObject
*resultobj
= 0;
32273 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32274 wxPoint
*arg2
= 0 ;
32275 wxPoint
*arg3
= 0 ;
32276 wxPoint
*arg4
= 0 ;
32282 PyObject
* obj0
= 0 ;
32283 PyObject
* obj1
= 0 ;
32284 PyObject
* obj2
= 0 ;
32285 PyObject
* obj3
= 0 ;
32286 char * kwnames
[] = {
32287 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
32290 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32291 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32292 if (!SWIG_IsOK(res1
)) {
32293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArcPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32295 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32298 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
32302 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
32306 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
32309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32310 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
32311 wxPyEndAllowThreads(__tstate
);
32312 if (PyErr_Occurred()) SWIG_fail
;
32314 resultobj
= SWIG_Py_Void();
32321 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32322 PyObject
*resultobj
= 0;
32323 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32338 PyObject
* obj0
= 0 ;
32339 PyObject
* obj1
= 0 ;
32340 PyObject
* obj2
= 0 ;
32341 PyObject
* obj3
= 0 ;
32342 PyObject
* obj4
= 0 ;
32343 char * kwnames
[] = {
32344 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
32347 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
32348 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32349 if (!SWIG_IsOK(res1
)) {
32350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32352 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32353 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32354 if (!SWIG_IsOK(ecode2
)) {
32355 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
32357 arg2
= static_cast< int >(val2
);
32358 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32359 if (!SWIG_IsOK(ecode3
)) {
32360 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
32362 arg3
= static_cast< int >(val3
);
32363 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32364 if (!SWIG_IsOK(ecode4
)) {
32365 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
32367 arg4
= static_cast< int >(val4
);
32368 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32369 if (!SWIG_IsOK(ecode5
)) {
32370 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
32372 arg5
= static_cast< int >(val5
);
32374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32375 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
32376 wxPyEndAllowThreads(__tstate
);
32377 if (PyErr_Occurred()) SWIG_fail
;
32379 resultobj
= SWIG_Py_Void();
32386 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32387 PyObject
*resultobj
= 0;
32388 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32393 PyObject
* obj0
= 0 ;
32394 PyObject
* obj1
= 0 ;
32395 char * kwnames
[] = {
32396 (char *) "self",(char *) "rect", NULL
32399 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32400 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32401 if (!SWIG_IsOK(res1
)) {
32402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32404 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32407 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
32410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32411 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
32412 wxPyEndAllowThreads(__tstate
);
32413 if (PyErr_Occurred()) SWIG_fail
;
32415 resultobj
= SWIG_Py_Void();
32422 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32423 PyObject
*resultobj
= 0;
32424 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32445 PyObject
* obj0
= 0 ;
32446 PyObject
* obj1
= 0 ;
32447 PyObject
* obj2
= 0 ;
32448 PyObject
* obj3
= 0 ;
32449 PyObject
* obj4
= 0 ;
32450 PyObject
* obj5
= 0 ;
32451 PyObject
* obj6
= 0 ;
32452 char * kwnames
[] = {
32453 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
32456 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
32457 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32458 if (!SWIG_IsOK(res1
)) {
32459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32461 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32462 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32463 if (!SWIG_IsOK(ecode2
)) {
32464 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
32466 arg2
= static_cast< int >(val2
);
32467 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32468 if (!SWIG_IsOK(ecode3
)) {
32469 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
32471 arg3
= static_cast< int >(val3
);
32472 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32473 if (!SWIG_IsOK(ecode4
)) {
32474 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
32476 arg4
= static_cast< int >(val4
);
32477 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32478 if (!SWIG_IsOK(ecode5
)) {
32479 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
32481 arg5
= static_cast< int >(val5
);
32482 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
32483 if (!SWIG_IsOK(ecode6
)) {
32484 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
32486 arg6
= static_cast< double >(val6
);
32487 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
32488 if (!SWIG_IsOK(ecode7
)) {
32489 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
32491 arg7
= static_cast< double >(val7
);
32493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32494 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
32495 wxPyEndAllowThreads(__tstate
);
32496 if (PyErr_Occurred()) SWIG_fail
;
32498 resultobj
= SWIG_Py_Void();
32505 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32506 PyObject
*resultobj
= 0;
32507 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32508 wxPoint
*arg2
= 0 ;
32520 PyObject
* obj0
= 0 ;
32521 PyObject
* obj1
= 0 ;
32522 PyObject
* obj2
= 0 ;
32523 PyObject
* obj3
= 0 ;
32524 PyObject
* obj4
= 0 ;
32525 char * kwnames
[] = {
32526 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
32529 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
32530 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32531 if (!SWIG_IsOK(res1
)) {
32532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32534 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32537 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
32541 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
32543 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
32544 if (!SWIG_IsOK(ecode4
)) {
32545 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
32547 arg4
= static_cast< double >(val4
);
32548 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
32549 if (!SWIG_IsOK(ecode5
)) {
32550 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
32552 arg5
= static_cast< double >(val5
);
32554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32555 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
32556 wxPyEndAllowThreads(__tstate
);
32557 if (PyErr_Occurred()) SWIG_fail
;
32559 resultobj
= SWIG_Py_Void();
32566 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32567 PyObject
*resultobj
= 0;
32568 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32577 PyObject
* obj0
= 0 ;
32578 PyObject
* obj1
= 0 ;
32579 PyObject
* obj2
= 0 ;
32580 char * kwnames
[] = {
32581 (char *) "self",(char *) "x",(char *) "y", NULL
32584 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32585 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32586 if (!SWIG_IsOK(res1
)) {
32587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32589 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32590 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32591 if (!SWIG_IsOK(ecode2
)) {
32592 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
32594 arg2
= static_cast< int >(val2
);
32595 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32596 if (!SWIG_IsOK(ecode3
)) {
32597 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
32599 arg3
= static_cast< int >(val3
);
32601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32602 (arg1
)->DrawPoint(arg2
,arg3
);
32603 wxPyEndAllowThreads(__tstate
);
32604 if (PyErr_Occurred()) SWIG_fail
;
32606 resultobj
= SWIG_Py_Void();
32613 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32614 PyObject
*resultobj
= 0;
32615 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32616 wxPoint
*arg2
= 0 ;
32620 PyObject
* obj0
= 0 ;
32621 PyObject
* obj1
= 0 ;
32622 char * kwnames
[] = {
32623 (char *) "self",(char *) "pt", NULL
32626 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32627 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32628 if (!SWIG_IsOK(res1
)) {
32629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPointPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32631 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32634 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
32637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32638 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
32639 wxPyEndAllowThreads(__tstate
);
32640 if (PyErr_Occurred()) SWIG_fail
;
32642 resultobj
= SWIG_Py_Void();
32649 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32650 PyObject
*resultobj
= 0;
32651 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32666 PyObject
* obj0
= 0 ;
32667 PyObject
* obj1
= 0 ;
32668 PyObject
* obj2
= 0 ;
32669 PyObject
* obj3
= 0 ;
32670 PyObject
* obj4
= 0 ;
32671 char * kwnames
[] = {
32672 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
32675 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
32676 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32677 if (!SWIG_IsOK(res1
)) {
32678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32680 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32681 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32682 if (!SWIG_IsOK(ecode2
)) {
32683 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
32685 arg2
= static_cast< int >(val2
);
32686 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32687 if (!SWIG_IsOK(ecode3
)) {
32688 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
32690 arg3
= static_cast< int >(val3
);
32691 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32692 if (!SWIG_IsOK(ecode4
)) {
32693 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
32695 arg4
= static_cast< int >(val4
);
32696 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32697 if (!SWIG_IsOK(ecode5
)) {
32698 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
32700 arg5
= static_cast< int >(val5
);
32702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32703 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
32704 wxPyEndAllowThreads(__tstate
);
32705 if (PyErr_Occurred()) SWIG_fail
;
32707 resultobj
= SWIG_Py_Void();
32714 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32715 PyObject
*resultobj
= 0;
32716 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32721 PyObject
* obj0
= 0 ;
32722 PyObject
* obj1
= 0 ;
32723 char * kwnames
[] = {
32724 (char *) "self",(char *) "rect", NULL
32727 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32728 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32729 if (!SWIG_IsOK(res1
)) {
32730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32732 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32735 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
32738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32739 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
32740 wxPyEndAllowThreads(__tstate
);
32741 if (PyErr_Occurred()) SWIG_fail
;
32743 resultobj
= SWIG_Py_Void();
32750 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32751 PyObject
*resultobj
= 0;
32752 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32753 wxPoint
*arg2
= 0 ;
32759 PyObject
* obj0
= 0 ;
32760 PyObject
* obj1
= 0 ;
32761 PyObject
* obj2
= 0 ;
32762 char * kwnames
[] = {
32763 (char *) "self",(char *) "pt",(char *) "sz", NULL
32766 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32767 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32768 if (!SWIG_IsOK(res1
)) {
32769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32771 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32774 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
32778 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
32781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32782 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
32783 wxPyEndAllowThreads(__tstate
);
32784 if (PyErr_Occurred()) SWIG_fail
;
32786 resultobj
= SWIG_Py_Void();
32793 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32794 PyObject
*resultobj
= 0;
32795 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32813 PyObject
* obj0
= 0 ;
32814 PyObject
* obj1
= 0 ;
32815 PyObject
* obj2
= 0 ;
32816 PyObject
* obj3
= 0 ;
32817 PyObject
* obj4
= 0 ;
32818 PyObject
* obj5
= 0 ;
32819 char * kwnames
[] = {
32820 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
32823 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PseudoDC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
32824 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32825 if (!SWIG_IsOK(res1
)) {
32826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32828 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32829 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32830 if (!SWIG_IsOK(ecode2
)) {
32831 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
32833 arg2
= static_cast< int >(val2
);
32834 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32835 if (!SWIG_IsOK(ecode3
)) {
32836 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
32838 arg3
= static_cast< int >(val3
);
32839 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32840 if (!SWIG_IsOK(ecode4
)) {
32841 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
32843 arg4
= static_cast< int >(val4
);
32844 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32845 if (!SWIG_IsOK(ecode5
)) {
32846 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
32848 arg5
= static_cast< int >(val5
);
32849 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
32850 if (!SWIG_IsOK(ecode6
)) {
32851 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
32853 arg6
= static_cast< double >(val6
);
32855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32856 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
32857 wxPyEndAllowThreads(__tstate
);
32858 if (PyErr_Occurred()) SWIG_fail
;
32860 resultobj
= SWIG_Py_Void();
32867 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32868 PyObject
*resultobj
= 0;
32869 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32877 PyObject
* obj0
= 0 ;
32878 PyObject
* obj1
= 0 ;
32879 PyObject
* obj2
= 0 ;
32880 char * kwnames
[] = {
32881 (char *) "self",(char *) "r",(char *) "radius", NULL
32884 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32885 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32886 if (!SWIG_IsOK(res1
)) {
32887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32889 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32892 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
32894 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
32895 if (!SWIG_IsOK(ecode3
)) {
32896 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
32898 arg3
= static_cast< double >(val3
);
32900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32901 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
32902 wxPyEndAllowThreads(__tstate
);
32903 if (PyErr_Occurred()) SWIG_fail
;
32905 resultobj
= SWIG_Py_Void();
32912 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32913 PyObject
*resultobj
= 0;
32914 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32915 wxPoint
*arg2
= 0 ;
32924 PyObject
* obj0
= 0 ;
32925 PyObject
* obj1
= 0 ;
32926 PyObject
* obj2
= 0 ;
32927 PyObject
* obj3
= 0 ;
32928 char * kwnames
[] = {
32929 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
32932 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32933 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32934 if (!SWIG_IsOK(res1
)) {
32935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32937 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32940 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
32944 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
32946 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
32947 if (!SWIG_IsOK(ecode4
)) {
32948 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
32950 arg4
= static_cast< double >(val4
);
32952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32953 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
32954 wxPyEndAllowThreads(__tstate
);
32955 if (PyErr_Occurred()) SWIG_fail
;
32957 resultobj
= SWIG_Py_Void();
32964 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32965 PyObject
*resultobj
= 0;
32966 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32978 PyObject
* obj0
= 0 ;
32979 PyObject
* obj1
= 0 ;
32980 PyObject
* obj2
= 0 ;
32981 PyObject
* obj3
= 0 ;
32982 char * kwnames
[] = {
32983 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
32986 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32987 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32988 if (!SWIG_IsOK(res1
)) {
32989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32991 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32992 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32993 if (!SWIG_IsOK(ecode2
)) {
32994 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
32996 arg2
= static_cast< int >(val2
);
32997 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32998 if (!SWIG_IsOK(ecode3
)) {
32999 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
33001 arg3
= static_cast< int >(val3
);
33002 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33003 if (!SWIG_IsOK(ecode4
)) {
33004 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
33006 arg4
= static_cast< int >(val4
);
33008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33009 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
33010 wxPyEndAllowThreads(__tstate
);
33011 if (PyErr_Occurred()) SWIG_fail
;
33013 resultobj
= SWIG_Py_Void();
33020 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33021 PyObject
*resultobj
= 0;
33022 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33023 wxPoint
*arg2
= 0 ;
33030 PyObject
* obj0
= 0 ;
33031 PyObject
* obj1
= 0 ;
33032 PyObject
* obj2
= 0 ;
33033 char * kwnames
[] = {
33034 (char *) "self",(char *) "pt",(char *) "radius", NULL
33037 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33038 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33039 if (!SWIG_IsOK(res1
)) {
33040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33042 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33045 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33047 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33048 if (!SWIG_IsOK(ecode3
)) {
33049 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
33051 arg3
= static_cast< int >(val3
);
33053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33054 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
33055 wxPyEndAllowThreads(__tstate
);
33056 if (PyErr_Occurred()) SWIG_fail
;
33058 resultobj
= SWIG_Py_Void();
33065 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33066 PyObject
*resultobj
= 0;
33067 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33082 PyObject
* obj0
= 0 ;
33083 PyObject
* obj1
= 0 ;
33084 PyObject
* obj2
= 0 ;
33085 PyObject
* obj3
= 0 ;
33086 PyObject
* obj4
= 0 ;
33087 char * kwnames
[] = {
33088 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
33091 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
33092 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33093 if (!SWIG_IsOK(res1
)) {
33094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33096 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33097 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33098 if (!SWIG_IsOK(ecode2
)) {
33099 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
33101 arg2
= static_cast< int >(val2
);
33102 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33103 if (!SWIG_IsOK(ecode3
)) {
33104 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
33106 arg3
= static_cast< int >(val3
);
33107 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33108 if (!SWIG_IsOK(ecode4
)) {
33109 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
33111 arg4
= static_cast< int >(val4
);
33112 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
33113 if (!SWIG_IsOK(ecode5
)) {
33114 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
33116 arg5
= static_cast< int >(val5
);
33118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33119 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
33120 wxPyEndAllowThreads(__tstate
);
33121 if (PyErr_Occurred()) SWIG_fail
;
33123 resultobj
= SWIG_Py_Void();
33130 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33131 PyObject
*resultobj
= 0;
33132 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33137 PyObject
* obj0
= 0 ;
33138 PyObject
* obj1
= 0 ;
33139 char * kwnames
[] = {
33140 (char *) "self",(char *) "rect", NULL
33143 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33144 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33145 if (!SWIG_IsOK(res1
)) {
33146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33148 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33151 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
33154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33155 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
33156 wxPyEndAllowThreads(__tstate
);
33157 if (PyErr_Occurred()) SWIG_fail
;
33159 resultobj
= SWIG_Py_Void();
33166 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33167 PyObject
*resultobj
= 0;
33168 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33169 wxPoint
*arg2
= 0 ;
33175 PyObject
* obj0
= 0 ;
33176 PyObject
* obj1
= 0 ;
33177 PyObject
* obj2
= 0 ;
33178 char * kwnames
[] = {
33179 (char *) "self",(char *) "pt",(char *) "sz", NULL
33182 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33183 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33184 if (!SWIG_IsOK(res1
)) {
33185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33187 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33190 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33194 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
33197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33198 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
33199 wxPyEndAllowThreads(__tstate
);
33200 if (PyErr_Occurred()) SWIG_fail
;
33202 resultobj
= SWIG_Py_Void();
33209 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33210 PyObject
*resultobj
= 0;
33211 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33223 PyObject
* obj0
= 0 ;
33224 PyObject
* obj1
= 0 ;
33225 PyObject
* obj2
= 0 ;
33226 PyObject
* obj3
= 0 ;
33227 char * kwnames
[] = {
33228 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
33231 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33232 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33233 if (!SWIG_IsOK(res1
)) {
33234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33236 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33237 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
33238 if (!SWIG_IsOK(res2
)) {
33239 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
33242 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
33244 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
33245 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33246 if (!SWIG_IsOK(ecode3
)) {
33247 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
33249 arg3
= static_cast< int >(val3
);
33250 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33251 if (!SWIG_IsOK(ecode4
)) {
33252 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
33254 arg4
= static_cast< int >(val4
);
33256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33257 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
33258 wxPyEndAllowThreads(__tstate
);
33259 if (PyErr_Occurred()) SWIG_fail
;
33261 resultobj
= SWIG_Py_Void();
33268 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33269 PyObject
*resultobj
= 0;
33270 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33272 wxPoint
*arg3
= 0 ;
33278 PyObject
* obj0
= 0 ;
33279 PyObject
* obj1
= 0 ;
33280 PyObject
* obj2
= 0 ;
33281 char * kwnames
[] = {
33282 (char *) "self",(char *) "icon",(char *) "pt", NULL
33285 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33286 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33287 if (!SWIG_IsOK(res1
)) {
33288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33290 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33291 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
33292 if (!SWIG_IsOK(res2
)) {
33293 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
33296 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
33298 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
33301 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33305 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
33306 wxPyEndAllowThreads(__tstate
);
33307 if (PyErr_Occurred()) SWIG_fail
;
33309 resultobj
= SWIG_Py_Void();
33316 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33317 PyObject
*resultobj
= 0;
33318 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33319 wxBitmap
*arg2
= 0 ;
33322 bool arg5
= (bool) false ;
33333 PyObject
* obj0
= 0 ;
33334 PyObject
* obj1
= 0 ;
33335 PyObject
* obj2
= 0 ;
33336 PyObject
* obj3
= 0 ;
33337 PyObject
* obj4
= 0 ;
33338 char * kwnames
[] = {
33339 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
33342 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
33343 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33344 if (!SWIG_IsOK(res1
)) {
33345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33347 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33348 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
33349 if (!SWIG_IsOK(res2
)) {
33350 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
33353 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
33355 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
33356 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33357 if (!SWIG_IsOK(ecode3
)) {
33358 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
33360 arg3
= static_cast< int >(val3
);
33361 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33362 if (!SWIG_IsOK(ecode4
)) {
33363 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
33365 arg4
= static_cast< int >(val4
);
33367 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
33368 if (!SWIG_IsOK(ecode5
)) {
33369 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
33371 arg5
= static_cast< bool >(val5
);
33374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33375 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
33376 wxPyEndAllowThreads(__tstate
);
33377 if (PyErr_Occurred()) SWIG_fail
;
33379 resultobj
= SWIG_Py_Void();
33386 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33387 PyObject
*resultobj
= 0;
33388 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33389 wxBitmap
*arg2
= 0 ;
33390 wxPoint
*arg3
= 0 ;
33391 bool arg4
= (bool) false ;
33399 PyObject
* obj0
= 0 ;
33400 PyObject
* obj1
= 0 ;
33401 PyObject
* obj2
= 0 ;
33402 PyObject
* obj3
= 0 ;
33403 char * kwnames
[] = {
33404 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
33407 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33408 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33409 if (!SWIG_IsOK(res1
)) {
33410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33412 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33413 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
33414 if (!SWIG_IsOK(res2
)) {
33415 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
33418 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
33420 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
33423 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33426 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
33427 if (!SWIG_IsOK(ecode4
)) {
33428 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
33430 arg4
= static_cast< bool >(val4
);
33433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33434 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
33435 wxPyEndAllowThreads(__tstate
);
33436 if (PyErr_Occurred()) SWIG_fail
;
33438 resultobj
= SWIG_Py_Void();
33445 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33446 PyObject
*resultobj
= 0;
33447 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33448 wxString
*arg2
= 0 ;
33453 bool temp2
= false ;
33458 PyObject
* obj0
= 0 ;
33459 PyObject
* obj1
= 0 ;
33460 PyObject
* obj2
= 0 ;
33461 PyObject
* obj3
= 0 ;
33462 char * kwnames
[] = {
33463 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
33466 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33467 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33468 if (!SWIG_IsOK(res1
)) {
33469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33471 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33473 arg2
= wxString_in_helper(obj1
);
33474 if (arg2
== NULL
) SWIG_fail
;
33477 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33478 if (!SWIG_IsOK(ecode3
)) {
33479 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawText" "', expected argument " "3"" of type '" "int""'");
33481 arg3
= static_cast< int >(val3
);
33482 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33483 if (!SWIG_IsOK(ecode4
)) {
33484 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawText" "', expected argument " "4"" of type '" "int""'");
33486 arg4
= static_cast< int >(val4
);
33488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33489 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
33490 wxPyEndAllowThreads(__tstate
);
33491 if (PyErr_Occurred()) SWIG_fail
;
33493 resultobj
= SWIG_Py_Void();
33508 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33509 PyObject
*resultobj
= 0;
33510 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33511 wxString
*arg2
= 0 ;
33512 wxPoint
*arg3
= 0 ;
33515 bool temp2
= false ;
33517 PyObject
* obj0
= 0 ;
33518 PyObject
* obj1
= 0 ;
33519 PyObject
* obj2
= 0 ;
33520 char * kwnames
[] = {
33521 (char *) "self",(char *) "text",(char *) "pt", NULL
33524 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33525 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33526 if (!SWIG_IsOK(res1
)) {
33527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33529 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33531 arg2
= wxString_in_helper(obj1
);
33532 if (arg2
== NULL
) SWIG_fail
;
33537 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33541 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
33542 wxPyEndAllowThreads(__tstate
);
33543 if (PyErr_Occurred()) SWIG_fail
;
33545 resultobj
= SWIG_Py_Void();
33560 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33561 PyObject
*resultobj
= 0;
33562 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33563 wxString
*arg2
= 0 ;
33569 bool temp2
= false ;
33576 PyObject
* obj0
= 0 ;
33577 PyObject
* obj1
= 0 ;
33578 PyObject
* obj2
= 0 ;
33579 PyObject
* obj3
= 0 ;
33580 PyObject
* obj4
= 0 ;
33581 char * kwnames
[] = {
33582 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
33585 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
33586 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33587 if (!SWIG_IsOK(res1
)) {
33588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33590 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33592 arg2
= wxString_in_helper(obj1
);
33593 if (arg2
== NULL
) SWIG_fail
;
33596 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33597 if (!SWIG_IsOK(ecode3
)) {
33598 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
33600 arg3
= static_cast< int >(val3
);
33601 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33602 if (!SWIG_IsOK(ecode4
)) {
33603 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
33605 arg4
= static_cast< int >(val4
);
33606 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
33607 if (!SWIG_IsOK(ecode5
)) {
33608 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
33610 arg5
= static_cast< double >(val5
);
33612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33613 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
33614 wxPyEndAllowThreads(__tstate
);
33615 if (PyErr_Occurred()) SWIG_fail
;
33617 resultobj
= SWIG_Py_Void();
33632 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33633 PyObject
*resultobj
= 0;
33634 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33635 wxString
*arg2
= 0 ;
33636 wxPoint
*arg3
= 0 ;
33640 bool temp2
= false ;
33644 PyObject
* obj0
= 0 ;
33645 PyObject
* obj1
= 0 ;
33646 PyObject
* obj2
= 0 ;
33647 PyObject
* obj3
= 0 ;
33648 char * kwnames
[] = {
33649 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
33652 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33653 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33654 if (!SWIG_IsOK(res1
)) {
33655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33657 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33659 arg2
= wxString_in_helper(obj1
);
33660 if (arg2
== NULL
) SWIG_fail
;
33665 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33667 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
33668 if (!SWIG_IsOK(ecode4
)) {
33669 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
33671 arg4
= static_cast< double >(val4
);
33673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33674 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
33675 wxPyEndAllowThreads(__tstate
);
33676 if (PyErr_Occurred()) SWIG_fail
;
33678 resultobj
= SWIG_Py_Void();
33693 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33694 PyObject
*resultobj
= 0;
33695 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33697 wxPoint
*arg3
= (wxPoint
*) 0 ;
33698 int arg4
= (int) 0 ;
33699 int arg5
= (int) 0 ;
33706 PyObject
* obj0
= 0 ;
33707 PyObject
* obj1
= 0 ;
33708 PyObject
* obj2
= 0 ;
33709 PyObject
* obj3
= 0 ;
33710 char * kwnames
[] = {
33711 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
33714 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:PseudoDC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33715 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33716 if (!SWIG_IsOK(res1
)) {
33717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLines" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33719 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33721 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
33722 if (arg3
== NULL
) SWIG_fail
;
33725 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
33726 if (!SWIG_IsOK(ecode4
)) {
33727 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLines" "', expected argument " "4"" of type '" "int""'");
33729 arg4
= static_cast< int >(val4
);
33732 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
33733 if (!SWIG_IsOK(ecode5
)) {
33734 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLines" "', expected argument " "5"" of type '" "int""'");
33736 arg5
= static_cast< int >(val5
);
33739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33740 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
33741 wxPyEndAllowThreads(__tstate
);
33742 if (PyErr_Occurred()) SWIG_fail
;
33744 resultobj
= SWIG_Py_Void();
33746 if (arg3
) delete [] arg3
;
33751 if (arg3
) delete [] arg3
;
33757 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33758 PyObject
*resultobj
= 0;
33759 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33761 wxPoint
*arg3
= (wxPoint
*) 0 ;
33762 int arg4
= (int) 0 ;
33763 int arg5
= (int) 0 ;
33764 int arg6
= (int) wxODDEVEN_RULE
;
33773 PyObject
* obj0
= 0 ;
33774 PyObject
* obj1
= 0 ;
33775 PyObject
* obj2
= 0 ;
33776 PyObject
* obj3
= 0 ;
33777 PyObject
* obj4
= 0 ;
33778 char * kwnames
[] = {
33779 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
33782 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:PseudoDC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
33783 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33784 if (!SWIG_IsOK(res1
)) {
33785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33787 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33789 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
33790 if (arg3
== NULL
) SWIG_fail
;
33793 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
33794 if (!SWIG_IsOK(ecode4
)) {
33795 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
33797 arg4
= static_cast< int >(val4
);
33800 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
33801 if (!SWIG_IsOK(ecode5
)) {
33802 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
33804 arg5
= static_cast< int >(val5
);
33807 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
33808 if (!SWIG_IsOK(ecode6
)) {
33809 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
33811 arg6
= static_cast< int >(val6
);
33814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33815 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
33816 wxPyEndAllowThreads(__tstate
);
33817 if (PyErr_Occurred()) SWIG_fail
;
33819 resultobj
= SWIG_Py_Void();
33821 if (arg3
) delete [] arg3
;
33826 if (arg3
) delete [] arg3
;
33832 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33833 PyObject
*resultobj
= 0;
33834 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33835 wxString
*arg2
= 0 ;
33837 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
33838 int arg5
= (int) -1 ;
33841 bool temp2
= false ;
33847 PyObject
* obj0
= 0 ;
33848 PyObject
* obj1
= 0 ;
33849 PyObject
* obj2
= 0 ;
33850 PyObject
* obj3
= 0 ;
33851 PyObject
* obj4
= 0 ;
33852 char * kwnames
[] = {
33853 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
33856 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
33857 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33858 if (!SWIG_IsOK(res1
)) {
33859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33861 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33863 arg2
= wxString_in_helper(obj1
);
33864 if (arg2
== NULL
) SWIG_fail
;
33869 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
33872 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33873 if (!SWIG_IsOK(ecode4
)) {
33874 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
33876 arg4
= static_cast< int >(val4
);
33879 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
33880 if (!SWIG_IsOK(ecode5
)) {
33881 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
33883 arg5
= static_cast< int >(val5
);
33886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33887 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
33888 wxPyEndAllowThreads(__tstate
);
33889 if (PyErr_Occurred()) SWIG_fail
;
33891 resultobj
= SWIG_Py_Void();
33906 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33907 PyObject
*resultobj
= 0;
33908 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33909 wxString
*arg2
= 0 ;
33910 wxBitmap
*arg3
= 0 ;
33912 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
33913 int arg6
= (int) -1 ;
33916 bool temp2
= false ;
33924 PyObject
* obj0
= 0 ;
33925 PyObject
* obj1
= 0 ;
33926 PyObject
* obj2
= 0 ;
33927 PyObject
* obj3
= 0 ;
33928 PyObject
* obj4
= 0 ;
33929 PyObject
* obj5
= 0 ;
33930 char * kwnames
[] = {
33931 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
33934 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PseudoDC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
33935 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33936 if (!SWIG_IsOK(res1
)) {
33937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33939 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33941 arg2
= wxString_in_helper(obj1
);
33942 if (arg2
== NULL
) SWIG_fail
;
33945 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
33946 if (!SWIG_IsOK(res3
)) {
33947 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
33950 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
33952 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
33955 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
33958 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
33959 if (!SWIG_IsOK(ecode5
)) {
33960 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
33962 arg5
= static_cast< int >(val5
);
33965 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
33966 if (!SWIG_IsOK(ecode6
)) {
33967 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
33969 arg6
= static_cast< int >(val6
);
33972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33973 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
33974 wxPyEndAllowThreads(__tstate
);
33975 if (PyErr_Occurred()) SWIG_fail
;
33977 resultobj
= SWIG_Py_Void();
33992 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33993 PyObject
*resultobj
= 0;
33994 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33996 wxPoint
*arg3
= (wxPoint
*) 0 ;
33999 PyObject
* obj0
= 0 ;
34000 PyObject
* obj1
= 0 ;
34001 char * kwnames
[] = {
34002 (char *) "self",(char *) "points", NULL
34005 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34006 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34007 if (!SWIG_IsOK(res1
)) {
34008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawSpline" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34010 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34012 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
34013 if (arg3
== NULL
) SWIG_fail
;
34016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34017 (arg1
)->DrawSpline(arg2
,arg3
);
34018 wxPyEndAllowThreads(__tstate
);
34019 if (PyErr_Occurred()) SWIG_fail
;
34021 resultobj
= SWIG_Py_Void();
34023 if (arg3
) delete [] arg3
;
34028 if (arg3
) delete [] arg3
;
34034 SWIGINTERN PyObject
*_wrap_PseudoDC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34035 PyObject
*resultobj
= 0;
34036 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34039 PyObject
*swig_obj
[1] ;
34041 if (!args
) SWIG_fail
;
34042 swig_obj
[0] = args
;
34043 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34044 if (!SWIG_IsOK(res1
)) {
34045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_Clear" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34047 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34051 wxPyEndAllowThreads(__tstate
);
34052 if (PyErr_Occurred()) SWIG_fail
;
34054 resultobj
= SWIG_Py_Void();
34061 SWIGINTERN PyObject
*_wrap_PseudoDC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34062 PyObject
*resultobj
= 0;
34063 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34069 PyObject
* obj0
= 0 ;
34070 PyObject
* obj1
= 0 ;
34071 char * kwnames
[] = {
34072 (char *) "self",(char *) "font", NULL
34075 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34076 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34077 if (!SWIG_IsOK(res1
)) {
34078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetFont" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34080 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34081 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
34082 if (!SWIG_IsOK(res2
)) {
34083 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
34086 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
34088 arg2
= reinterpret_cast< wxFont
* >(argp2
);
34090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34091 (arg1
)->SetFont((wxFont
const &)*arg2
);
34092 wxPyEndAllowThreads(__tstate
);
34093 if (PyErr_Occurred()) SWIG_fail
;
34095 resultobj
= SWIG_Py_Void();
34102 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34103 PyObject
*resultobj
= 0;
34104 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34110 PyObject
* obj0
= 0 ;
34111 PyObject
* obj1
= 0 ;
34112 char * kwnames
[] = {
34113 (char *) "self",(char *) "pen", NULL
34116 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34117 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34118 if (!SWIG_IsOK(res1
)) {
34119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34121 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34122 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
34123 if (!SWIG_IsOK(res2
)) {
34124 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
34127 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
34129 arg2
= reinterpret_cast< wxPen
* >(argp2
);
34131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34132 (arg1
)->SetPen((wxPen
const &)*arg2
);
34133 wxPyEndAllowThreads(__tstate
);
34134 if (PyErr_Occurred()) SWIG_fail
;
34136 resultobj
= SWIG_Py_Void();
34143 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34144 PyObject
*resultobj
= 0;
34145 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34146 wxBrush
*arg2
= 0 ;
34151 PyObject
* obj0
= 0 ;
34152 PyObject
* obj1
= 0 ;
34153 char * kwnames
[] = {
34154 (char *) "self",(char *) "brush", NULL
34157 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34158 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34159 if (!SWIG_IsOK(res1
)) {
34160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBrush" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34162 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34163 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
34164 if (!SWIG_IsOK(res2
)) {
34165 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
34168 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
34170 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
34172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34173 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
34174 wxPyEndAllowThreads(__tstate
);
34175 if (PyErr_Occurred()) SWIG_fail
;
34177 resultobj
= SWIG_Py_Void();
34184 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34185 PyObject
*resultobj
= 0;
34186 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34187 wxBrush
*arg2
= 0 ;
34192 PyObject
* obj0
= 0 ;
34193 PyObject
* obj1
= 0 ;
34194 char * kwnames
[] = {
34195 (char *) "self",(char *) "brush", NULL
34198 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34199 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34200 if (!SWIG_IsOK(res1
)) {
34201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34203 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34204 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
34205 if (!SWIG_IsOK(res2
)) {
34206 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
34209 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
34211 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
34213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34214 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
34215 wxPyEndAllowThreads(__tstate
);
34216 if (PyErr_Occurred()) SWIG_fail
;
34218 resultobj
= SWIG_Py_Void();
34225 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34226 PyObject
*resultobj
= 0;
34227 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34233 PyObject
* obj0
= 0 ;
34234 PyObject
* obj1
= 0 ;
34235 char * kwnames
[] = {
34236 (char *) "self",(char *) "mode", NULL
34239 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34240 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34241 if (!SWIG_IsOK(res1
)) {
34242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34244 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34245 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34246 if (!SWIG_IsOK(ecode2
)) {
34247 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
34249 arg2
= static_cast< int >(val2
);
34251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34252 (arg1
)->SetBackgroundMode(arg2
);
34253 wxPyEndAllowThreads(__tstate
);
34254 if (PyErr_Occurred()) SWIG_fail
;
34256 resultobj
= SWIG_Py_Void();
34263 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34264 PyObject
*resultobj
= 0;
34265 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34266 wxPalette
*arg2
= 0 ;
34271 PyObject
* obj0
= 0 ;
34272 PyObject
* obj1
= 0 ;
34273 char * kwnames
[] = {
34274 (char *) "self",(char *) "palette", NULL
34277 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34278 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34279 if (!SWIG_IsOK(res1
)) {
34280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPalette" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34282 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34283 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
34284 if (!SWIG_IsOK(res2
)) {
34285 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
34288 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
34290 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
34292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34293 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
34294 wxPyEndAllowThreads(__tstate
);
34295 if (PyErr_Occurred()) SWIG_fail
;
34297 resultobj
= SWIG_Py_Void();
34304 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34305 PyObject
*resultobj
= 0;
34306 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34307 wxColour
*arg2
= 0 ;
34311 PyObject
* obj0
= 0 ;
34312 PyObject
* obj1
= 0 ;
34313 char * kwnames
[] = {
34314 (char *) "self",(char *) "colour", NULL
34317 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34318 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34319 if (!SWIG_IsOK(res1
)) {
34320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextForeground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34322 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34325 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
34328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34329 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
34330 wxPyEndAllowThreads(__tstate
);
34331 if (PyErr_Occurred()) SWIG_fail
;
34333 resultobj
= SWIG_Py_Void();
34340 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34341 PyObject
*resultobj
= 0;
34342 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34343 wxColour
*arg2
= 0 ;
34347 PyObject
* obj0
= 0 ;
34348 PyObject
* obj1
= 0 ;
34349 char * kwnames
[] = {
34350 (char *) "self",(char *) "colour", NULL
34353 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34354 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34355 if (!SWIG_IsOK(res1
)) {
34356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34358 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34361 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
34364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34365 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
34366 wxPyEndAllowThreads(__tstate
);
34367 if (PyErr_Occurred()) SWIG_fail
;
34369 resultobj
= SWIG_Py_Void();
34376 SWIGINTERN PyObject
*_wrap_PseudoDC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34377 PyObject
*resultobj
= 0;
34378 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34384 PyObject
* obj0
= 0 ;
34385 PyObject
* obj1
= 0 ;
34386 char * kwnames
[] = {
34387 (char *) "self",(char *) "function", NULL
34390 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34391 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34392 if (!SWIG_IsOK(res1
)) {
34393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34395 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34396 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34397 if (!SWIG_IsOK(ecode2
)) {
34398 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
34400 arg2
= static_cast< int >(val2
);
34402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34403 (arg1
)->SetLogicalFunction(arg2
);
34404 wxPyEndAllowThreads(__tstate
);
34405 if (PyErr_Occurred()) SWIG_fail
;
34407 resultobj
= SWIG_Py_Void();
34414 SWIGINTERN PyObject
*PseudoDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34416 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34417 SWIG_TypeNewClientData(SWIGTYPE_p_wxPseudoDC
, SWIG_NewClientData(obj
));
34418 return SWIG_Py_Void();
34421 SWIGINTERN PyObject
*PseudoDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34422 return SWIG_Python_InitShadowInstance(args
);
34425 static PyMethodDef SwigMethods
[] = {
34426 { (char *)"new_GDIObject", (PyCFunction
)_wrap_new_GDIObject
, METH_NOARGS
, NULL
},
34427 { (char *)"delete_GDIObject", (PyCFunction
)_wrap_delete_GDIObject
, METH_O
, NULL
},
34428 { (char *)"GDIObject_IsNull", (PyCFunction
)_wrap_GDIObject_IsNull
, METH_O
, NULL
},
34429 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
, NULL
},
34430 { (char *)"GDIObject_swiginit", GDIObject_swiginit
, METH_VARARGS
, NULL
},
34431 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34432 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34433 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34434 { (char *)"delete_Colour", (PyCFunction
)_wrap_delete_Colour
, METH_O
, NULL
},
34435 { (char *)"Colour_Red", (PyCFunction
)_wrap_Colour_Red
, METH_O
, NULL
},
34436 { (char *)"Colour_Green", (PyCFunction
)_wrap_Colour_Green
, METH_O
, NULL
},
34437 { (char *)"Colour_Blue", (PyCFunction
)_wrap_Colour_Blue
, METH_O
, NULL
},
34438 { (char *)"Colour_Alpha", (PyCFunction
)_wrap_Colour_Alpha
, METH_O
, NULL
},
34439 { (char *)"Colour_IsOk", (PyCFunction
)_wrap_Colour_IsOk
, METH_O
, NULL
},
34440 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34441 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34442 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34443 { (char *)"Colour_GetAsString", (PyCFunction
) _wrap_Colour_GetAsString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34444 { (char *)"Colour_GetPixel", (PyCFunction
)_wrap_Colour_GetPixel
, METH_O
, NULL
},
34445 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34446 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34447 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34448 { (char *)"Colour_GetRGB", (PyCFunction
)_wrap_Colour_GetRGB
, METH_O
, NULL
},
34449 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
, NULL
},
34450 { (char *)"Colour_swiginit", Colour_swiginit
, METH_VARARGS
, NULL
},
34451 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34452 { (char *)"delete_Palette", (PyCFunction
)_wrap_delete_Palette
, METH_O
, NULL
},
34453 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34454 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34455 { (char *)"Palette_GetColoursCount", (PyCFunction
)_wrap_Palette_GetColoursCount
, METH_O
, NULL
},
34456 { (char *)"Palette_IsOk", (PyCFunction
)_wrap_Palette_IsOk
, METH_O
, NULL
},
34457 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
, NULL
},
34458 { (char *)"Palette_swiginit", Palette_swiginit
, METH_VARARGS
, NULL
},
34459 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34460 { (char *)"delete_Pen", (PyCFunction
)_wrap_delete_Pen
, METH_O
, NULL
},
34461 { (char *)"Pen_GetCap", (PyCFunction
)_wrap_Pen_GetCap
, METH_O
, NULL
},
34462 { (char *)"Pen_GetColour", (PyCFunction
)_wrap_Pen_GetColour
, METH_O
, NULL
},
34463 { (char *)"Pen_GetJoin", (PyCFunction
)_wrap_Pen_GetJoin
, METH_O
, NULL
},
34464 { (char *)"Pen_GetStyle", (PyCFunction
)_wrap_Pen_GetStyle
, METH_O
, NULL
},
34465 { (char *)"Pen_GetWidth", (PyCFunction
)_wrap_Pen_GetWidth
, METH_O
, NULL
},
34466 { (char *)"Pen_IsOk", (PyCFunction
)_wrap_Pen_IsOk
, METH_O
, NULL
},
34467 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34468 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34469 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34470 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34471 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34472 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34473 { (char *)"Pen_GetDashes", (PyCFunction
)_wrap_Pen_GetDashes
, METH_O
, NULL
},
34474 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34475 { (char *)"Pen_GetDashCount", (PyCFunction
)_wrap_Pen_GetDashCount
, METH_O
, NULL
},
34476 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34477 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34478 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
, NULL
},
34479 { (char *)"Pen_swiginit", Pen_swiginit
, METH_VARARGS
, NULL
},
34480 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34481 { (char *)"new_BrushFromBitmap", (PyCFunction
) _wrap_new_BrushFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34482 { (char *)"delete_Brush", (PyCFunction
)_wrap_delete_Brush
, METH_O
, NULL
},
34483 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34484 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34485 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34486 { (char *)"Brush_GetColour", (PyCFunction
)_wrap_Brush_GetColour
, METH_O
, NULL
},
34487 { (char *)"Brush_GetStyle", (PyCFunction
)_wrap_Brush_GetStyle
, METH_O
, NULL
},
34488 { (char *)"Brush_GetStipple", (PyCFunction
)_wrap_Brush_GetStipple
, METH_O
, NULL
},
34489 { (char *)"Brush_IsHatch", (PyCFunction
)_wrap_Brush_IsHatch
, METH_O
, NULL
},
34490 { (char *)"Brush_IsOk", (PyCFunction
)_wrap_Brush_IsOk
, METH_O
, NULL
},
34491 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
, NULL
},
34492 { (char *)"Brush_swiginit", Brush_swiginit
, METH_VARARGS
, NULL
},
34493 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34494 { (char *)"delete_Bitmap", (PyCFunction
)_wrap_delete_Bitmap
, METH_O
, NULL
},
34495 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34496 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34497 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34498 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34499 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34500 { (char *)"Bitmap_IsOk", (PyCFunction
)_wrap_Bitmap_IsOk
, METH_O
, NULL
},
34501 { (char *)"Bitmap_GetWidth", (PyCFunction
)_wrap_Bitmap_GetWidth
, METH_O
, NULL
},
34502 { (char *)"Bitmap_GetHeight", (PyCFunction
)_wrap_Bitmap_GetHeight
, METH_O
, NULL
},
34503 { (char *)"Bitmap_GetDepth", (PyCFunction
)_wrap_Bitmap_GetDepth
, METH_O
, NULL
},
34504 { (char *)"Bitmap_GetSize", (PyCFunction
)_wrap_Bitmap_GetSize
, METH_O
, NULL
},
34505 { (char *)"Bitmap_ConvertToImage", (PyCFunction
)_wrap_Bitmap_ConvertToImage
, METH_O
, NULL
},
34506 { (char *)"Bitmap_GetMask", (PyCFunction
)_wrap_Bitmap_GetMask
, METH_O
, NULL
},
34507 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34508 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34509 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34510 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34511 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34512 { (char *)"Bitmap_GetPalette", (PyCFunction
)_wrap_Bitmap_GetPalette
, METH_O
, NULL
},
34513 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34514 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34515 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34516 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34517 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34518 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34519 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34520 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
, NULL
},
34521 { (char *)"Bitmap_swiginit", Bitmap_swiginit
, METH_VARARGS
, NULL
},
34522 { (char *)"_BitmapFromBufferAlpha", (PyCFunction
) _wrap__BitmapFromBufferAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34523 { (char *)"_BitmapFromBuffer", (PyCFunction
) _wrap__BitmapFromBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34524 { (char *)"_BitmapFromBufferRGBA", (PyCFunction
) _wrap__BitmapFromBufferRGBA
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34525 { (char *)"PixelDataBase_GetOrigin", (PyCFunction
)_wrap_PixelDataBase_GetOrigin
, METH_O
, NULL
},
34526 { (char *)"PixelDataBase_GetWidth", (PyCFunction
)_wrap_PixelDataBase_GetWidth
, METH_O
, NULL
},
34527 { (char *)"PixelDataBase_GetHeight", (PyCFunction
)_wrap_PixelDataBase_GetHeight
, METH_O
, NULL
},
34528 { (char *)"PixelDataBase_GetSize", (PyCFunction
)_wrap_PixelDataBase_GetSize
, METH_O
, NULL
},
34529 { (char *)"PixelDataBase_GetRowStride", (PyCFunction
)_wrap_PixelDataBase_GetRowStride
, METH_O
, NULL
},
34530 { (char *)"PixelDataBase_swigregister", PixelDataBase_swigregister
, METH_VARARGS
, NULL
},
34531 { (char *)"new_NativePixelData", _wrap_new_NativePixelData
, METH_VARARGS
, NULL
},
34532 { (char *)"delete_NativePixelData", (PyCFunction
)_wrap_delete_NativePixelData
, METH_O
, NULL
},
34533 { (char *)"NativePixelData_GetPixels", (PyCFunction
)_wrap_NativePixelData_GetPixels
, METH_O
, NULL
},
34534 { (char *)"NativePixelData_UseAlpha", (PyCFunction
)_wrap_NativePixelData_UseAlpha
, METH_O
, NULL
},
34535 { (char *)"NativePixelData___nonzero__", (PyCFunction
)_wrap_NativePixelData___nonzero__
, METH_O
, NULL
},
34536 { (char *)"NativePixelData_swigregister", NativePixelData_swigregister
, METH_VARARGS
, NULL
},
34537 { (char *)"NativePixelData_swiginit", NativePixelData_swiginit
, METH_VARARGS
, NULL
},
34538 { (char *)"new_NativePixelData_Accessor", _wrap_new_NativePixelData_Accessor
, METH_VARARGS
, NULL
},
34539 { (char *)"delete_NativePixelData_Accessor", (PyCFunction
)_wrap_delete_NativePixelData_Accessor
, METH_O
, NULL
},
34540 { (char *)"NativePixelData_Accessor_Reset", (PyCFunction
) _wrap_NativePixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34541 { (char *)"NativePixelData_Accessor_IsOk", (PyCFunction
)_wrap_NativePixelData_Accessor_IsOk
, METH_O
, NULL
},
34542 { (char *)"NativePixelData_Accessor_nextPixel", (PyCFunction
)_wrap_NativePixelData_Accessor_nextPixel
, METH_O
, NULL
},
34543 { (char *)"NativePixelData_Accessor_Offset", (PyCFunction
) _wrap_NativePixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34544 { (char *)"NativePixelData_Accessor_OffsetX", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34545 { (char *)"NativePixelData_Accessor_OffsetY", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34546 { (char *)"NativePixelData_Accessor_MoveTo", (PyCFunction
) _wrap_NativePixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34547 { (char *)"NativePixelData_Accessor_Set", (PyCFunction
) _wrap_NativePixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34548 { (char *)"NativePixelData_Accessor_Get", (PyCFunction
)_wrap_NativePixelData_Accessor_Get
, METH_O
, NULL
},
34549 { (char *)"NativePixelData_Accessor_swigregister", NativePixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
34550 { (char *)"NativePixelData_Accessor_swiginit", NativePixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
34551 { (char *)"new_AlphaPixelData", _wrap_new_AlphaPixelData
, METH_VARARGS
, NULL
},
34552 { (char *)"delete_AlphaPixelData", (PyCFunction
)_wrap_delete_AlphaPixelData
, METH_O
, NULL
},
34553 { (char *)"AlphaPixelData_GetPixels", (PyCFunction
)_wrap_AlphaPixelData_GetPixels
, METH_O
, NULL
},
34554 { (char *)"AlphaPixelData_UseAlpha", (PyCFunction
)_wrap_AlphaPixelData_UseAlpha
, METH_O
, NULL
},
34555 { (char *)"AlphaPixelData___nonzero__", (PyCFunction
)_wrap_AlphaPixelData___nonzero__
, METH_O
, NULL
},
34556 { (char *)"AlphaPixelData_swigregister", AlphaPixelData_swigregister
, METH_VARARGS
, NULL
},
34557 { (char *)"AlphaPixelData_swiginit", AlphaPixelData_swiginit
, METH_VARARGS
, NULL
},
34558 { (char *)"new_AlphaPixelData_Accessor", _wrap_new_AlphaPixelData_Accessor
, METH_VARARGS
, NULL
},
34559 { (char *)"delete_AlphaPixelData_Accessor", (PyCFunction
)_wrap_delete_AlphaPixelData_Accessor
, METH_O
, NULL
},
34560 { (char *)"AlphaPixelData_Accessor_Reset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34561 { (char *)"AlphaPixelData_Accessor_IsOk", (PyCFunction
)_wrap_AlphaPixelData_Accessor_IsOk
, METH_O
, NULL
},
34562 { (char *)"AlphaPixelData_Accessor_nextPixel", (PyCFunction
)_wrap_AlphaPixelData_Accessor_nextPixel
, METH_O
, NULL
},
34563 { (char *)"AlphaPixelData_Accessor_Offset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34564 { (char *)"AlphaPixelData_Accessor_OffsetX", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34565 { (char *)"AlphaPixelData_Accessor_OffsetY", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34566 { (char *)"AlphaPixelData_Accessor_MoveTo", (PyCFunction
) _wrap_AlphaPixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34567 { (char *)"AlphaPixelData_Accessor_Set", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34568 { (char *)"AlphaPixelData_Accessor_Get", (PyCFunction
)_wrap_AlphaPixelData_Accessor_Get
, METH_O
, NULL
},
34569 { (char *)"AlphaPixelData_Accessor_swigregister", AlphaPixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
34570 { (char *)"AlphaPixelData_Accessor_swiginit", AlphaPixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
34571 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34572 { (char *)"delete_Mask", (PyCFunction
)_wrap_delete_Mask
, METH_O
, NULL
},
34573 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
, NULL
},
34574 { (char *)"Mask_swiginit", Mask_swiginit
, METH_VARARGS
, NULL
},
34575 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34576 { (char *)"delete_Icon", (PyCFunction
)_wrap_delete_Icon
, METH_O
, NULL
},
34577 { (char *)"new_EmptyIcon", (PyCFunction
)_wrap_new_EmptyIcon
, METH_NOARGS
, NULL
},
34578 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34579 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34580 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34581 { (char *)"Icon_LoadFile", (PyCFunction
) _wrap_Icon_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34582 { (char *)"Icon_IsOk", (PyCFunction
)_wrap_Icon_IsOk
, METH_O
, NULL
},
34583 { (char *)"Icon_GetWidth", (PyCFunction
)_wrap_Icon_GetWidth
, METH_O
, NULL
},
34584 { (char *)"Icon_GetHeight", (PyCFunction
)_wrap_Icon_GetHeight
, METH_O
, NULL
},
34585 { (char *)"Icon_GetDepth", (PyCFunction
)_wrap_Icon_GetDepth
, METH_O
, NULL
},
34586 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34587 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34588 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34589 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34590 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
, NULL
},
34591 { (char *)"Icon_swiginit", Icon_swiginit
, METH_VARARGS
, NULL
},
34592 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34593 { (char *)"delete_IconLocation", (PyCFunction
)_wrap_delete_IconLocation
, METH_O
, NULL
},
34594 { (char *)"IconLocation_IsOk", (PyCFunction
)_wrap_IconLocation_IsOk
, METH_O
, NULL
},
34595 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34596 { (char *)"IconLocation_GetFileName", (PyCFunction
)_wrap_IconLocation_GetFileName
, METH_O
, NULL
},
34597 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34598 { (char *)"IconLocation_GetIndex", (PyCFunction
)_wrap_IconLocation_GetIndex
, METH_O
, NULL
},
34599 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
, NULL
},
34600 { (char *)"IconLocation_swiginit", IconLocation_swiginit
, METH_VARARGS
, NULL
},
34601 { (char *)"new_IconBundle", (PyCFunction
)_wrap_new_IconBundle
, METH_NOARGS
, NULL
},
34602 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34603 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34604 { (char *)"delete_IconBundle", (PyCFunction
)_wrap_delete_IconBundle
, METH_O
, NULL
},
34605 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34606 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34607 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34608 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
, NULL
},
34609 { (char *)"IconBundle_swiginit", IconBundle_swiginit
, METH_VARARGS
, NULL
},
34610 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34611 { (char *)"delete_Cursor", (PyCFunction
)_wrap_delete_Cursor
, METH_O
, NULL
},
34612 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34613 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34614 { (char *)"Cursor_IsOk", (PyCFunction
)_wrap_Cursor_IsOk
, METH_O
, NULL
},
34615 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
, NULL
},
34616 { (char *)"Cursor_swiginit", Cursor_swiginit
, METH_VARARGS
, NULL
},
34617 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34618 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34619 { (char *)"new_RegionFromBitmapColour", (PyCFunction
) _wrap_new_RegionFromBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34620 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34621 { (char *)"delete_Region", (PyCFunction
)_wrap_delete_Region
, METH_O
, NULL
},
34622 { (char *)"Region_Clear", (PyCFunction
)_wrap_Region_Clear
, METH_O
, NULL
},
34623 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34624 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34625 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34626 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34627 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34628 { (char *)"Region_GetBox", (PyCFunction
)_wrap_Region_GetBox
, METH_O
, NULL
},
34629 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34630 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34631 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34632 { (char *)"Region_IsEmpty", (PyCFunction
)_wrap_Region_IsEmpty
, METH_O
, NULL
},
34633 { (char *)"Region_IsEqual", (PyCFunction
) _wrap_Region_IsEqual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34634 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34635 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34636 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34637 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34638 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34639 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34640 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34641 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34642 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34643 { (char *)"Region_ConvertToBitmap", (PyCFunction
)_wrap_Region_ConvertToBitmap
, METH_O
, NULL
},
34644 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34645 { (char *)"Region_UnionBitmapColour", (PyCFunction
) _wrap_Region_UnionBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34646 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
, NULL
},
34647 { (char *)"Region_swiginit", Region_swiginit
, METH_VARARGS
, NULL
},
34648 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34649 { (char *)"delete_RegionIterator", (PyCFunction
)_wrap_delete_RegionIterator
, METH_O
, NULL
},
34650 { (char *)"RegionIterator_GetX", (PyCFunction
)_wrap_RegionIterator_GetX
, METH_O
, NULL
},
34651 { (char *)"RegionIterator_GetY", (PyCFunction
)_wrap_RegionIterator_GetY
, METH_O
, NULL
},
34652 { (char *)"RegionIterator_GetW", (PyCFunction
)_wrap_RegionIterator_GetW
, METH_O
, NULL
},
34653 { (char *)"RegionIterator_GetWidth", (PyCFunction
)_wrap_RegionIterator_GetWidth
, METH_O
, NULL
},
34654 { (char *)"RegionIterator_GetH", (PyCFunction
)_wrap_RegionIterator_GetH
, METH_O
, NULL
},
34655 { (char *)"RegionIterator_GetHeight", (PyCFunction
)_wrap_RegionIterator_GetHeight
, METH_O
, NULL
},
34656 { (char *)"RegionIterator_GetRect", (PyCFunction
)_wrap_RegionIterator_GetRect
, METH_O
, NULL
},
34657 { (char *)"RegionIterator_HaveRects", (PyCFunction
)_wrap_RegionIterator_HaveRects
, METH_O
, NULL
},
34658 { (char *)"RegionIterator_Reset", (PyCFunction
)_wrap_RegionIterator_Reset
, METH_O
, NULL
},
34659 { (char *)"RegionIterator_Next", (PyCFunction
)_wrap_RegionIterator_Next
, METH_O
, NULL
},
34660 { (char *)"RegionIterator___nonzero__", (PyCFunction
)_wrap_RegionIterator___nonzero__
, METH_O
, NULL
},
34661 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
, NULL
},
34662 { (char *)"RegionIterator_swiginit", RegionIterator_swiginit
, METH_VARARGS
, NULL
},
34663 { (char *)"new_NativeFontInfo", (PyCFunction
)_wrap_new_NativeFontInfo
, METH_NOARGS
, NULL
},
34664 { (char *)"delete_NativeFontInfo", (PyCFunction
)_wrap_delete_NativeFontInfo
, METH_O
, NULL
},
34665 { (char *)"NativeFontInfo_Init", (PyCFunction
)_wrap_NativeFontInfo_Init
, METH_O
, NULL
},
34666 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34667 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
)_wrap_NativeFontInfo_GetPointSize
, METH_O
, NULL
},
34668 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
)_wrap_NativeFontInfo_GetStyle
, METH_O
, NULL
},
34669 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
)_wrap_NativeFontInfo_GetWeight
, METH_O
, NULL
},
34670 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
)_wrap_NativeFontInfo_GetUnderlined
, METH_O
, NULL
},
34671 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
)_wrap_NativeFontInfo_GetFaceName
, METH_O
, NULL
},
34672 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
)_wrap_NativeFontInfo_GetFamily
, METH_O
, NULL
},
34673 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
)_wrap_NativeFontInfo_GetEncoding
, METH_O
, NULL
},
34674 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34675 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34676 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34677 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34678 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34679 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34680 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34681 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34682 { (char *)"NativeFontInfo_ToString", (PyCFunction
)_wrap_NativeFontInfo_ToString
, METH_O
, NULL
},
34683 { (char *)"NativeFontInfo___str__", (PyCFunction
)_wrap_NativeFontInfo___str__
, METH_O
, NULL
},
34684 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34685 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
)_wrap_NativeFontInfo_ToUserString
, METH_O
, NULL
},
34686 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
, NULL
},
34687 { (char *)"NativeFontInfo_swiginit", NativeFontInfo_swiginit
, METH_VARARGS
, NULL
},
34688 { (char *)"NativeEncodingInfo_facename_set", _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
, NULL
},
34689 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
)_wrap_NativeEncodingInfo_facename_get
, METH_O
, NULL
},
34690 { (char *)"NativeEncodingInfo_encoding_set", _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
, NULL
},
34691 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
)_wrap_NativeEncodingInfo_encoding_get
, METH_O
, NULL
},
34692 { (char *)"new_NativeEncodingInfo", (PyCFunction
)_wrap_new_NativeEncodingInfo
, METH_NOARGS
, NULL
},
34693 { (char *)"delete_NativeEncodingInfo", (PyCFunction
)_wrap_delete_NativeEncodingInfo
, METH_O
, NULL
},
34694 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34695 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
)_wrap_NativeEncodingInfo_ToString
, METH_O
, NULL
},
34696 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
, NULL
},
34697 { (char *)"NativeEncodingInfo_swiginit", NativeEncodingInfo_swiginit
, METH_VARARGS
, NULL
},
34698 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34699 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34700 { (char *)"new_FontMapper", (PyCFunction
)_wrap_new_FontMapper
, METH_NOARGS
, NULL
},
34701 { (char *)"delete_FontMapper", (PyCFunction
)_wrap_delete_FontMapper
, METH_O
, NULL
},
34702 { (char *)"FontMapper_Get", (PyCFunction
)_wrap_FontMapper_Get
, METH_NOARGS
, NULL
},
34703 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34704 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34705 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
)_wrap_FontMapper_GetSupportedEncodingsCount
, METH_NOARGS
, NULL
},
34706 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34707 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34708 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34709 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34710 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34711 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
)_wrap_FontMapper_GetDefaultConfigPath
, METH_NOARGS
, NULL
},
34712 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34713 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34714 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34715 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34716 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
, NULL
},
34717 { (char *)"FontMapper_swiginit", FontMapper_swiginit
, METH_VARARGS
, NULL
},
34718 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34719 { (char *)"delete_Font", (PyCFunction
)_wrap_delete_Font
, METH_O
, NULL
},
34720 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34721 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34722 { (char *)"new_FFont", (PyCFunction
) _wrap_new_FFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34723 { (char *)"new_FontFromPixelSize", (PyCFunction
) _wrap_new_FontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34724 { (char *)"new_FFontFromPixelSize", (PyCFunction
) _wrap_new_FFontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34725 { (char *)"Font_IsOk", (PyCFunction
)_wrap_Font_IsOk
, METH_O
, NULL
},
34726 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34727 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34728 { (char *)"Font_GetPointSize", (PyCFunction
)_wrap_Font_GetPointSize
, METH_O
, NULL
},
34729 { (char *)"Font_GetPixelSize", (PyCFunction
)_wrap_Font_GetPixelSize
, METH_O
, NULL
},
34730 { (char *)"Font_IsUsingSizeInPixels", (PyCFunction
)_wrap_Font_IsUsingSizeInPixels
, METH_O
, NULL
},
34731 { (char *)"Font_GetFamily", (PyCFunction
)_wrap_Font_GetFamily
, METH_O
, NULL
},
34732 { (char *)"Font_GetStyle", (PyCFunction
)_wrap_Font_GetStyle
, METH_O
, NULL
},
34733 { (char *)"Font_GetWeight", (PyCFunction
)_wrap_Font_GetWeight
, METH_O
, NULL
},
34734 { (char *)"Font_GetUnderlined", (PyCFunction
)_wrap_Font_GetUnderlined
, METH_O
, NULL
},
34735 { (char *)"Font_GetFaceName", (PyCFunction
)_wrap_Font_GetFaceName
, METH_O
, NULL
},
34736 { (char *)"Font_GetEncoding", (PyCFunction
)_wrap_Font_GetEncoding
, METH_O
, NULL
},
34737 { (char *)"Font_GetNativeFontInfo", (PyCFunction
)_wrap_Font_GetNativeFontInfo
, METH_O
, NULL
},
34738 { (char *)"Font_IsFixedWidth", (PyCFunction
)_wrap_Font_IsFixedWidth
, METH_O
, NULL
},
34739 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoDesc
, METH_O
, NULL
},
34740 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoUserDesc
, METH_O
, NULL
},
34741 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34742 { (char *)"Font_SetPixelSize", (PyCFunction
) _wrap_Font_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34743 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34744 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34745 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34746 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34747 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34748 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34749 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34750 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34751 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34752 { (char *)"Font_GetFamilyString", (PyCFunction
)_wrap_Font_GetFamilyString
, METH_O
, NULL
},
34753 { (char *)"Font_GetStyleString", (PyCFunction
)_wrap_Font_GetStyleString
, METH_O
, NULL
},
34754 { (char *)"Font_GetWeightString", (PyCFunction
)_wrap_Font_GetWeightString
, METH_O
, NULL
},
34755 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34756 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
)_wrap_Font_GetNoAntiAliasing
, METH_O
, NULL
},
34757 { (char *)"Font_GetDefaultEncoding", (PyCFunction
)_wrap_Font_GetDefaultEncoding
, METH_NOARGS
, NULL
},
34758 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34759 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
, NULL
},
34760 { (char *)"Font_swiginit", Font_swiginit
, METH_VARARGS
, NULL
},
34761 { (char *)"new_FontEnumerator", (PyCFunction
)_wrap_new_FontEnumerator
, METH_NOARGS
, NULL
},
34762 { (char *)"delete_FontEnumerator", (PyCFunction
)_wrap_delete_FontEnumerator
, METH_O
, NULL
},
34763 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34764 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34765 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34766 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
)_wrap_FontEnumerator_GetEncodings
, METH_NOARGS
, NULL
},
34767 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
)_wrap_FontEnumerator_GetFacenames
, METH_NOARGS
, NULL
},
34768 { (char *)"FontEnumerator_IsValidFacename", (PyCFunction
) _wrap_FontEnumerator_IsValidFacename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34769 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
, NULL
},
34770 { (char *)"FontEnumerator_swiginit", FontEnumerator_swiginit
, METH_VARARGS
, NULL
},
34771 { (char *)"LanguageInfo_Language_set", _wrap_LanguageInfo_Language_set
, METH_VARARGS
, NULL
},
34772 { (char *)"LanguageInfo_Language_get", (PyCFunction
)_wrap_LanguageInfo_Language_get
, METH_O
, NULL
},
34773 { (char *)"LanguageInfo_CanonicalName_set", _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
, NULL
},
34774 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
)_wrap_LanguageInfo_CanonicalName_get
, METH_O
, NULL
},
34775 { (char *)"LanguageInfo_Description_set", _wrap_LanguageInfo_Description_set
, METH_VARARGS
, NULL
},
34776 { (char *)"LanguageInfo_Description_get", (PyCFunction
)_wrap_LanguageInfo_Description_get
, METH_O
, NULL
},
34777 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
, NULL
},
34778 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34779 { (char *)"delete_Locale", (PyCFunction
)_wrap_delete_Locale
, METH_O
, NULL
},
34780 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34781 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34782 { (char *)"Locale_GetSystemLanguage", (PyCFunction
)_wrap_Locale_GetSystemLanguage
, METH_NOARGS
, NULL
},
34783 { (char *)"Locale_GetSystemEncoding", (PyCFunction
)_wrap_Locale_GetSystemEncoding
, METH_NOARGS
, NULL
},
34784 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
)_wrap_Locale_GetSystemEncodingName
, METH_NOARGS
, NULL
},
34785 { (char *)"Locale_IsOk", (PyCFunction
)_wrap_Locale_IsOk
, METH_O
, NULL
},
34786 { (char *)"Locale_GetLocale", (PyCFunction
)_wrap_Locale_GetLocale
, METH_O
, NULL
},
34787 { (char *)"Locale_GetLanguage", (PyCFunction
)_wrap_Locale_GetLanguage
, METH_O
, NULL
},
34788 { (char *)"Locale_GetSysName", (PyCFunction
)_wrap_Locale_GetSysName
, METH_O
, NULL
},
34789 { (char *)"Locale_GetCanonicalName", (PyCFunction
)_wrap_Locale_GetCanonicalName
, METH_O
, NULL
},
34790 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34791 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34792 { (char *)"Locale_IsAvailable", (PyCFunction
) _wrap_Locale_IsAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34793 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34794 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34795 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34796 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34797 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34798 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34799 { (char *)"Locale_GetName", (PyCFunction
)_wrap_Locale_GetName
, METH_O
, NULL
},
34800 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
, NULL
},
34801 { (char *)"Locale_swiginit", Locale_swiginit
, METH_VARARGS
, NULL
},
34802 { (char *)"new_PyLocale", (PyCFunction
) _wrap_new_PyLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34803 { (char *)"delete_PyLocale", (PyCFunction
)_wrap_delete_PyLocale
, METH_O
, NULL
},
34804 { (char *)"PyLocale__setCallbackInfo", (PyCFunction
) _wrap_PyLocale__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34805 { (char *)"PyLocale_GetSingularString", (PyCFunction
) _wrap_PyLocale_GetSingularString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34806 { (char *)"PyLocale_GetPluralString", (PyCFunction
) _wrap_PyLocale_GetPluralString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34807 { (char *)"PyLocale_swigregister", PyLocale_swigregister
, METH_VARARGS
, NULL
},
34808 { (char *)"PyLocale_swiginit", PyLocale_swiginit
, METH_VARARGS
, NULL
},
34809 { (char *)"GetLocale", (PyCFunction
)_wrap_GetLocale
, METH_NOARGS
, NULL
},
34810 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
, NULL
},
34811 { (char *)"new_EncodingConverter", (PyCFunction
)_wrap_new_EncodingConverter
, METH_NOARGS
, NULL
},
34812 { (char *)"delete_EncodingConverter", (PyCFunction
)_wrap_delete_EncodingConverter
, METH_O
, NULL
},
34813 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34814 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34815 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34816 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34817 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34818 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
, NULL
},
34819 { (char *)"EncodingConverter_swiginit", EncodingConverter_swiginit
, METH_VARARGS
, NULL
},
34820 { (char *)"delete_DC", (PyCFunction
)_wrap_delete_DC
, METH_O
, NULL
},
34821 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34822 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34823 { (char *)"DC_GradientFillConcentric", (PyCFunction
) _wrap_DC_GradientFillConcentric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34824 { (char *)"DC_GradientFillLinear", (PyCFunction
) _wrap_DC_GradientFillLinear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34825 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34826 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34827 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34828 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34829 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34830 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34831 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34832 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34833 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34834 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34835 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34836 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34837 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34838 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34839 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34840 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34841 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34842 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34843 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34844 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34845 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34846 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34847 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34848 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34849 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34850 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34851 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34852 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34853 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34854 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34855 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34856 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34857 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34858 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34859 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34860 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34861 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34862 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34863 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34864 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34865 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34866 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34867 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34868 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34869 { (char *)"DC_Clear", (PyCFunction
)_wrap_DC_Clear
, METH_O
, NULL
},
34870 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34871 { (char *)"DC_EndDoc", (PyCFunction
)_wrap_DC_EndDoc
, METH_O
, NULL
},
34872 { (char *)"DC_StartPage", (PyCFunction
)_wrap_DC_StartPage
, METH_O
, NULL
},
34873 { (char *)"DC_EndPage", (PyCFunction
)_wrap_DC_EndPage
, METH_O
, NULL
},
34874 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34875 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34876 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34877 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34878 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34879 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34880 { (char *)"DC_DestroyClippingRegion", (PyCFunction
)_wrap_DC_DestroyClippingRegion
, METH_O
, NULL
},
34881 { (char *)"DC_GetClippingBox", (PyCFunction
)_wrap_DC_GetClippingBox
, METH_O
, NULL
},
34882 { (char *)"DC_GetClippingRect", (PyCFunction
)_wrap_DC_GetClippingRect
, METH_O
, NULL
},
34883 { (char *)"DC_GetCharHeight", (PyCFunction
)_wrap_DC_GetCharHeight
, METH_O
, NULL
},
34884 { (char *)"DC_GetCharWidth", (PyCFunction
)_wrap_DC_GetCharWidth
, METH_O
, NULL
},
34885 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34886 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34887 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34888 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34889 { (char *)"DC_GetSize", (PyCFunction
)_wrap_DC_GetSize
, METH_O
, NULL
},
34890 { (char *)"DC_GetSizeTuple", (PyCFunction
)_wrap_DC_GetSizeTuple
, METH_O
, NULL
},
34891 { (char *)"DC_GetSizeMM", (PyCFunction
)_wrap_DC_GetSizeMM
, METH_O
, NULL
},
34892 { (char *)"DC_GetSizeMMTuple", (PyCFunction
)_wrap_DC_GetSizeMMTuple
, METH_O
, NULL
},
34893 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34894 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34895 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34896 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34897 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34898 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34899 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34900 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34901 { (char *)"DC_CanDrawBitmap", (PyCFunction
)_wrap_DC_CanDrawBitmap
, METH_O
, NULL
},
34902 { (char *)"DC_CanGetTextExtent", (PyCFunction
)_wrap_DC_CanGetTextExtent
, METH_O
, NULL
},
34903 { (char *)"DC_GetDepth", (PyCFunction
)_wrap_DC_GetDepth
, METH_O
, NULL
},
34904 { (char *)"DC_GetPPI", (PyCFunction
)_wrap_DC_GetPPI
, METH_O
, NULL
},
34905 { (char *)"DC_IsOk", (PyCFunction
)_wrap_DC_IsOk
, METH_O
, NULL
},
34906 { (char *)"DC_GetBackgroundMode", (PyCFunction
)_wrap_DC_GetBackgroundMode
, METH_O
, NULL
},
34907 { (char *)"DC_GetBackground", (PyCFunction
)_wrap_DC_GetBackground
, METH_O
, NULL
},
34908 { (char *)"DC_GetBrush", (PyCFunction
)_wrap_DC_GetBrush
, METH_O
, NULL
},
34909 { (char *)"DC_GetFont", (PyCFunction
)_wrap_DC_GetFont
, METH_O
, NULL
},
34910 { (char *)"DC_GetPen", (PyCFunction
)_wrap_DC_GetPen
, METH_O
, NULL
},
34911 { (char *)"DC_GetTextBackground", (PyCFunction
)_wrap_DC_GetTextBackground
, METH_O
, NULL
},
34912 { (char *)"DC_GetTextForeground", (PyCFunction
)_wrap_DC_GetTextForeground
, METH_O
, NULL
},
34913 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34914 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34915 { (char *)"DC_GetMapMode", (PyCFunction
)_wrap_DC_GetMapMode
, METH_O
, NULL
},
34916 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34917 { (char *)"DC_GetUserScale", (PyCFunction
)_wrap_DC_GetUserScale
, METH_O
, NULL
},
34918 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34919 { (char *)"DC_GetLogicalScale", (PyCFunction
)_wrap_DC_GetLogicalScale
, METH_O
, NULL
},
34920 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34921 { (char *)"DC_GetLogicalOrigin", (PyCFunction
)_wrap_DC_GetLogicalOrigin
, METH_O
, NULL
},
34922 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
)_wrap_DC_GetLogicalOriginTuple
, METH_O
, NULL
},
34923 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34924 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34925 { (char *)"DC_GetDeviceOrigin", (PyCFunction
)_wrap_DC_GetDeviceOrigin
, METH_O
, NULL
},
34926 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
)_wrap_DC_GetDeviceOriginTuple
, METH_O
, NULL
},
34927 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34928 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34929 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34930 { (char *)"DC_GetLogicalFunction", (PyCFunction
)_wrap_DC_GetLogicalFunction
, METH_O
, NULL
},
34931 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34932 { (char *)"DC_ComputeScaleAndOrigin", (PyCFunction
)_wrap_DC_ComputeScaleAndOrigin
, METH_O
, NULL
},
34933 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34934 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34935 { (char *)"DC_ResetBoundingBox", (PyCFunction
)_wrap_DC_ResetBoundingBox
, METH_O
, NULL
},
34936 { (char *)"DC_MinX", (PyCFunction
)_wrap_DC_MinX
, METH_O
, NULL
},
34937 { (char *)"DC_MaxX", (PyCFunction
)_wrap_DC_MaxX
, METH_O
, NULL
},
34938 { (char *)"DC_MinY", (PyCFunction
)_wrap_DC_MinY
, METH_O
, NULL
},
34939 { (char *)"DC_MaxY", (PyCFunction
)_wrap_DC_MaxY
, METH_O
, NULL
},
34940 { (char *)"DC_GetBoundingBox", (PyCFunction
)_wrap_DC_GetBoundingBox
, METH_O
, NULL
},
34941 { (char *)"DC_GetLayoutDirection", (PyCFunction
)_wrap_DC_GetLayoutDirection
, METH_O
, NULL
},
34942 { (char *)"DC_SetLayoutDirection", (PyCFunction
) _wrap_DC_SetLayoutDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34943 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34944 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34945 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34946 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34947 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34948 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34949 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
, NULL
},
34950 { (char *)"new_MemoryDC", (PyCFunction
) _wrap_new_MemoryDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34951 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34952 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34953 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
, NULL
},
34954 { (char *)"MemoryDC_swiginit", MemoryDC_swiginit
, METH_VARARGS
, NULL
},
34955 { (char *)"new_ScreenDC", (PyCFunction
)_wrap_new_ScreenDC
, METH_NOARGS
, NULL
},
34956 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34957 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34958 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
)_wrap_ScreenDC_EndDrawingOnTop
, METH_O
, NULL
},
34959 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
, NULL
},
34960 { (char *)"ScreenDC_swiginit", ScreenDC_swiginit
, METH_VARARGS
, NULL
},
34961 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34962 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
, NULL
},
34963 { (char *)"WindowDC_swiginit", WindowDC_swiginit
, METH_VARARGS
, NULL
},
34964 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34965 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
, NULL
},
34966 { (char *)"ClientDC_swiginit", ClientDC_swiginit
, METH_VARARGS
, NULL
},
34967 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34968 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
, NULL
},
34969 { (char *)"PaintDC_swiginit", PaintDC_swiginit
, METH_VARARGS
, NULL
},
34970 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
, NULL
},
34971 { (char *)"delete_BufferedDC", (PyCFunction
)_wrap_delete_BufferedDC
, METH_O
, NULL
},
34972 { (char *)"BufferedDC_UnMask", (PyCFunction
)_wrap_BufferedDC_UnMask
, METH_O
, NULL
},
34973 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
, NULL
},
34974 { (char *)"BufferedDC_swiginit", BufferedDC_swiginit
, METH_VARARGS
, NULL
},
34975 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34976 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
34977 { (char *)"BufferedPaintDC_swiginit", BufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
34978 { (char *)"new_AutoBufferedPaintDC", (PyCFunction
) _wrap_new_AutoBufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34979 { (char *)"AutoBufferedPaintDC_swigregister", AutoBufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
34980 { (char *)"AutoBufferedPaintDC_swiginit", AutoBufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
34981 { (char *)"AutoBufferedPaintDCFactory", (PyCFunction
) _wrap_AutoBufferedPaintDCFactory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34982 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34983 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
, NULL
},
34984 { (char *)"MirrorDC_swiginit", MirrorDC_swiginit
, METH_VARARGS
, NULL
},
34985 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34986 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
)_wrap_PostScriptDC_GetPrintData
, METH_O
, NULL
},
34987 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34988 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34989 { (char *)"PostScriptDC_GetResolution", (PyCFunction
)_wrap_PostScriptDC_GetResolution
, METH_NOARGS
, NULL
},
34990 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
, NULL
},
34991 { (char *)"PostScriptDC_swiginit", PostScriptDC_swiginit
, METH_VARARGS
, NULL
},
34992 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34993 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
, NULL
},
34994 { (char *)"MetaFile_swiginit", MetaFile_swiginit
, METH_VARARGS
, NULL
},
34995 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34996 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
, NULL
},
34997 { (char *)"MetaFileDC_swiginit", MetaFileDC_swiginit
, METH_VARARGS
, NULL
},
34998 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34999 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
, NULL
},
35000 { (char *)"PrinterDC_swiginit", PrinterDC_swiginit
, METH_VARARGS
, NULL
},
35001 { (char *)"delete_GraphicsPath", (PyCFunction
)_wrap_delete_GraphicsPath
, METH_O
, NULL
},
35002 { (char *)"GraphicsPath_MoveToPoint", (PyCFunction
) _wrap_GraphicsPath_MoveToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35003 { (char *)"GraphicsPath_AddLineToPoint", (PyCFunction
) _wrap_GraphicsPath_AddLineToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35004 { (char *)"GraphicsPath_AddCurveToPoint", (PyCFunction
) _wrap_GraphicsPath_AddCurveToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35005 { (char *)"GraphicsPath_CloseSubpath", (PyCFunction
)_wrap_GraphicsPath_CloseSubpath
, METH_O
, NULL
},
35006 { (char *)"GraphicsPath_GetCurrentPoint", (PyCFunction
)_wrap_GraphicsPath_GetCurrentPoint
, METH_O
, NULL
},
35007 { (char *)"GraphicsPath_AddArc", (PyCFunction
) _wrap_GraphicsPath_AddArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35008 { (char *)"GraphicsPath_AddQuadCurveToPoint", (PyCFunction
) _wrap_GraphicsPath_AddQuadCurveToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35009 { (char *)"GraphicsPath_AddRectangle", (PyCFunction
) _wrap_GraphicsPath_AddRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35010 { (char *)"GraphicsPath_AddCircle", (PyCFunction
) _wrap_GraphicsPath_AddCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35011 { (char *)"GraphicsPath_AddArcToPoint", (PyCFunction
) _wrap_GraphicsPath_AddArcToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35012 { (char *)"GraphicsPath_swigregister", GraphicsPath_swigregister
, METH_VARARGS
, NULL
},
35013 { (char *)"delete_GraphicsContext", (PyCFunction
)_wrap_delete_GraphicsContext
, METH_O
, NULL
},
35014 { (char *)"GraphicsContext_Create", _wrap_GraphicsContext_Create
, METH_VARARGS
, NULL
},
35015 { (char *)"GraphicsContext_CreateFromNative", (PyCFunction
) _wrap_GraphicsContext_CreateFromNative
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35016 { (char *)"GraphicsContext_CreatePath", (PyCFunction
)_wrap_GraphicsContext_CreatePath
, METH_O
, NULL
},
35017 { (char *)"GraphicsContext_PushState", (PyCFunction
)_wrap_GraphicsContext_PushState
, METH_O
, NULL
},
35018 { (char *)"GraphicsContext_PopState", (PyCFunction
)_wrap_GraphicsContext_PopState
, METH_O
, NULL
},
35019 { (char *)"GraphicsContext_ClipRegion", (PyCFunction
) _wrap_GraphicsContext_ClipRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35020 { (char *)"GraphicsContext_Clip", (PyCFunction
) _wrap_GraphicsContext_Clip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35021 { (char *)"GraphicsContext_ResetClip", (PyCFunction
)_wrap_GraphicsContext_ResetClip
, METH_O
, NULL
},
35022 { (char *)"GraphicsContext_GetNativeContext", (PyCFunction
)_wrap_GraphicsContext_GetNativeContext
, METH_O
, NULL
},
35023 { (char *)"GraphicsContext_Translate", (PyCFunction
) _wrap_GraphicsContext_Translate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35024 { (char *)"GraphicsContext_Scale", (PyCFunction
) _wrap_GraphicsContext_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35025 { (char *)"GraphicsContext_Rotate", (PyCFunction
) _wrap_GraphicsContext_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35026 { (char *)"GraphicsContext_SetPen", (PyCFunction
) _wrap_GraphicsContext_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35027 { (char *)"GraphicsContext_SetBrush", (PyCFunction
) _wrap_GraphicsContext_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35028 { (char *)"GraphicsContext_SetLinearGradientBrush", (PyCFunction
) _wrap_GraphicsContext_SetLinearGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35029 { (char *)"GraphicsContext_SetRadialGradientBrush", (PyCFunction
) _wrap_GraphicsContext_SetRadialGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35030 { (char *)"GraphicsContext_SetFont", (PyCFunction
) _wrap_GraphicsContext_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35031 { (char *)"GraphicsContext_SetTextColor", (PyCFunction
) _wrap_GraphicsContext_SetTextColor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35032 { (char *)"GraphicsContext_StrokePath", (PyCFunction
) _wrap_GraphicsContext_StrokePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35033 { (char *)"GraphicsContext_FillPath", (PyCFunction
) _wrap_GraphicsContext_FillPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35034 { (char *)"GraphicsContext_DrawPath", (PyCFunction
) _wrap_GraphicsContext_DrawPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35035 { (char *)"GraphicsContext_DrawText", (PyCFunction
) _wrap_GraphicsContext_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35036 { (char *)"GraphicsContext_DrawRotatedText", (PyCFunction
) _wrap_GraphicsContext_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35037 { (char *)"GraphicsContext_GetTextExtent", (PyCFunction
) _wrap_GraphicsContext_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35038 { (char *)"GraphicsContext_GetPartialTextExtents", (PyCFunction
) _wrap_GraphicsContext_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35039 { (char *)"GraphicsContext_DrawBitmap", (PyCFunction
) _wrap_GraphicsContext_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35040 { (char *)"GraphicsContext_DrawIcon", (PyCFunction
) _wrap_GraphicsContext_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35041 { (char *)"GraphicsContext_StrokeLine", (PyCFunction
) _wrap_GraphicsContext_StrokeLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35042 { (char *)"GraphicsContext_StrokeLines", (PyCFunction
) _wrap_GraphicsContext_StrokeLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35043 { (char *)"GraphicsContext_StrokeLineSegements", (PyCFunction
) _wrap_GraphicsContext_StrokeLineSegements
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35044 { (char *)"GraphicsContext_DrawLines", (PyCFunction
) _wrap_GraphicsContext_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35045 { (char *)"GraphicsContext_DrawRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35046 { (char *)"GraphicsContext_DrawEllipse", (PyCFunction
) _wrap_GraphicsContext_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35047 { (char *)"GraphicsContext_DrawRoundedRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35048 { (char *)"GraphicsContext_swigregister", GraphicsContext_swigregister
, METH_VARARGS
, NULL
},
35049 { (char *)"new_GCDC", (PyCFunction
) _wrap_new_GCDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35050 { (char *)"delete_GCDC", (PyCFunction
)_wrap_delete_GCDC
, METH_O
, NULL
},
35051 { (char *)"GCDC_GetGraphicsContext", (PyCFunction
)_wrap_GCDC_GetGraphicsContext
, METH_O
, NULL
},
35052 { (char *)"GCDC_SetGraphicsContext", (PyCFunction
) _wrap_GCDC_SetGraphicsContext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35053 { (char *)"GCDC_swigregister", GCDC_swigregister
, METH_VARARGS
, NULL
},
35054 { (char *)"GCDC_swiginit", GCDC_swiginit
, METH_VARARGS
, NULL
},
35055 { (char *)"new_Overlay", (PyCFunction
)_wrap_new_Overlay
, METH_NOARGS
, NULL
},
35056 { (char *)"delete_Overlay", (PyCFunction
)_wrap_delete_Overlay
, METH_O
, NULL
},
35057 { (char *)"Overlay_Reset", (PyCFunction
)_wrap_Overlay_Reset
, METH_O
, NULL
},
35058 { (char *)"Overlay_swigregister", Overlay_swigregister
, METH_VARARGS
, NULL
},
35059 { (char *)"Overlay_swiginit", Overlay_swiginit
, METH_VARARGS
, NULL
},
35060 { (char *)"new_DCOverlay", _wrap_new_DCOverlay
, METH_VARARGS
, NULL
},
35061 { (char *)"delete_DCOverlay", (PyCFunction
)_wrap_delete_DCOverlay
, METH_O
, NULL
},
35062 { (char *)"DCOverlay_Clear", (PyCFunction
)_wrap_DCOverlay_Clear
, METH_O
, NULL
},
35063 { (char *)"DCOverlay_swigregister", DCOverlay_swigregister
, METH_VARARGS
, NULL
},
35064 { (char *)"DCOverlay_swiginit", DCOverlay_swiginit
, METH_VARARGS
, NULL
},
35065 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35066 { (char *)"delete_ImageList", (PyCFunction
)_wrap_delete_ImageList
, METH_O
, NULL
},
35067 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35068 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35069 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35070 { (char *)"ImageList_GetBitmap", (PyCFunction
) _wrap_ImageList_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35071 { (char *)"ImageList_GetIcon", (PyCFunction
) _wrap_ImageList_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35072 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35073 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35074 { (char *)"ImageList_GetImageCount", (PyCFunction
)_wrap_ImageList_GetImageCount
, METH_O
, NULL
},
35075 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35076 { (char *)"ImageList_RemoveAll", (PyCFunction
)_wrap_ImageList_RemoveAll
, METH_O
, NULL
},
35077 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35078 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
, NULL
},
35079 { (char *)"ImageList_swiginit", ImageList_swiginit
, METH_VARARGS
, NULL
},
35080 { (char *)"new_StockGDI", (PyCFunction
)_wrap_new_StockGDI
, METH_NOARGS
, NULL
},
35081 { (char *)"delete_StockGDI", (PyCFunction
)_wrap_delete_StockGDI
, METH_O
, NULL
},
35082 { (char *)"StockGDI_DeleteAll", (PyCFunction
)_wrap_StockGDI_DeleteAll
, METH_NOARGS
, NULL
},
35083 { (char *)"StockGDI_instance", (PyCFunction
)_wrap_StockGDI_instance
, METH_NOARGS
, NULL
},
35084 { (char *)"StockGDI_GetBrush", (PyCFunction
) _wrap_StockGDI_GetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35085 { (char *)"StockGDI_GetColour", (PyCFunction
) _wrap_StockGDI_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35086 { (char *)"StockGDI_GetCursor", (PyCFunction
) _wrap_StockGDI_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35087 { (char *)"StockGDI_GetPen", (PyCFunction
) _wrap_StockGDI_GetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35088 { (char *)"StockGDI_GetFont", (PyCFunction
) _wrap_StockGDI_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35089 { (char *)"StockGDI_swigregister", StockGDI_swigregister
, METH_VARARGS
, NULL
},
35090 { (char *)"StockGDI_swiginit", StockGDI_swiginit
, METH_VARARGS
, NULL
},
35091 { (char *)"new_GDIObjListBase", (PyCFunction
)_wrap_new_GDIObjListBase
, METH_NOARGS
, NULL
},
35092 { (char *)"delete_GDIObjListBase", (PyCFunction
)_wrap_delete_GDIObjListBase
, METH_O
, NULL
},
35093 { (char *)"GDIObjListBase_swigregister", GDIObjListBase_swigregister
, METH_VARARGS
, NULL
},
35094 { (char *)"GDIObjListBase_swiginit", GDIObjListBase_swiginit
, METH_VARARGS
, NULL
},
35095 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35096 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35097 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35098 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
, NULL
},
35099 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35100 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35101 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35102 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
, NULL
},
35103 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35104 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35105 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35106 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
, NULL
},
35107 { (char *)"new_ColourDatabase", (PyCFunction
)_wrap_new_ColourDatabase
, METH_NOARGS
, NULL
},
35108 { (char *)"delete_ColourDatabase", (PyCFunction
)_wrap_delete_ColourDatabase
, METH_O
, NULL
},
35109 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35110 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35111 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35112 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35113 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
, NULL
},
35114 { (char *)"ColourDatabase_swiginit", ColourDatabase_swiginit
, METH_VARARGS
, NULL
},
35115 { (char *)"_wxPyInitTheFontList", (PyCFunction
)_wrap__wxPyInitTheFontList
, METH_NOARGS
, NULL
},
35116 { (char *)"_wxPyInitThePenList", (PyCFunction
)_wrap__wxPyInitThePenList
, METH_NOARGS
, NULL
},
35117 { (char *)"_wxPyInitTheBrushList", (PyCFunction
)_wrap__wxPyInitTheBrushList
, METH_NOARGS
, NULL
},
35118 { (char *)"_wxPyInitTheColourDatabase", (PyCFunction
)_wrap__wxPyInitTheColourDatabase
, METH_NOARGS
, NULL
},
35119 { (char *)"new_Effects", (PyCFunction
)_wrap_new_Effects
, METH_NOARGS
, NULL
},
35120 { (char *)"Effects_GetHighlightColour", (PyCFunction
)_wrap_Effects_GetHighlightColour
, METH_O
, NULL
},
35121 { (char *)"Effects_GetLightShadow", (PyCFunction
)_wrap_Effects_GetLightShadow
, METH_O
, NULL
},
35122 { (char *)"Effects_GetFaceColour", (PyCFunction
)_wrap_Effects_GetFaceColour
, METH_O
, NULL
},
35123 { (char *)"Effects_GetMediumShadow", (PyCFunction
)_wrap_Effects_GetMediumShadow
, METH_O
, NULL
},
35124 { (char *)"Effects_GetDarkShadow", (PyCFunction
)_wrap_Effects_GetDarkShadow
, METH_O
, NULL
},
35125 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35126 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35127 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35128 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35129 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35130 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35131 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35132 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35133 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
, NULL
},
35134 { (char *)"Effects_swiginit", Effects_swiginit
, METH_VARARGS
, NULL
},
35135 { (char *)"new_SplitterRenderParams", (PyCFunction
) _wrap_new_SplitterRenderParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35136 { (char *)"delete_SplitterRenderParams", (PyCFunction
)_wrap_delete_SplitterRenderParams
, METH_O
, NULL
},
35137 { (char *)"SplitterRenderParams_widthSash_get", (PyCFunction
)_wrap_SplitterRenderParams_widthSash_get
, METH_O
, NULL
},
35138 { (char *)"SplitterRenderParams_border_get", (PyCFunction
)_wrap_SplitterRenderParams_border_get
, METH_O
, NULL
},
35139 { (char *)"SplitterRenderParams_isHotSensitive_get", (PyCFunction
)_wrap_SplitterRenderParams_isHotSensitive_get
, METH_O
, NULL
},
35140 { (char *)"SplitterRenderParams_swigregister", SplitterRenderParams_swigregister
, METH_VARARGS
, NULL
},
35141 { (char *)"SplitterRenderParams_swiginit", SplitterRenderParams_swiginit
, METH_VARARGS
, NULL
},
35142 { (char *)"new_HeaderButtonParams", (PyCFunction
)_wrap_new_HeaderButtonParams
, METH_NOARGS
, NULL
},
35143 { (char *)"delete_HeaderButtonParams", (PyCFunction
)_wrap_delete_HeaderButtonParams
, METH_O
, NULL
},
35144 { (char *)"HeaderButtonParams_m_arrowColour_set", _wrap_HeaderButtonParams_m_arrowColour_set
, METH_VARARGS
, NULL
},
35145 { (char *)"HeaderButtonParams_m_arrowColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_arrowColour_get
, METH_O
, NULL
},
35146 { (char *)"HeaderButtonParams_m_selectionColour_set", _wrap_HeaderButtonParams_m_selectionColour_set
, METH_VARARGS
, NULL
},
35147 { (char *)"HeaderButtonParams_m_selectionColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_selectionColour_get
, METH_O
, NULL
},
35148 { (char *)"HeaderButtonParams_m_labelText_set", _wrap_HeaderButtonParams_m_labelText_set
, METH_VARARGS
, NULL
},
35149 { (char *)"HeaderButtonParams_m_labelText_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelText_get
, METH_O
, NULL
},
35150 { (char *)"HeaderButtonParams_m_labelFont_set", _wrap_HeaderButtonParams_m_labelFont_set
, METH_VARARGS
, NULL
},
35151 { (char *)"HeaderButtonParams_m_labelFont_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelFont_get
, METH_O
, NULL
},
35152 { (char *)"HeaderButtonParams_m_labelColour_set", _wrap_HeaderButtonParams_m_labelColour_set
, METH_VARARGS
, NULL
},
35153 { (char *)"HeaderButtonParams_m_labelColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelColour_get
, METH_O
, NULL
},
35154 { (char *)"HeaderButtonParams_m_labelBitmap_set", _wrap_HeaderButtonParams_m_labelBitmap_set
, METH_VARARGS
, NULL
},
35155 { (char *)"HeaderButtonParams_m_labelBitmap_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelBitmap_get
, METH_O
, NULL
},
35156 { (char *)"HeaderButtonParams_m_labelAlignment_set", _wrap_HeaderButtonParams_m_labelAlignment_set
, METH_VARARGS
, NULL
},
35157 { (char *)"HeaderButtonParams_m_labelAlignment_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelAlignment_get
, METH_O
, NULL
},
35158 { (char *)"HeaderButtonParams_swigregister", HeaderButtonParams_swigregister
, METH_VARARGS
, NULL
},
35159 { (char *)"HeaderButtonParams_swiginit", HeaderButtonParams_swiginit
, METH_VARARGS
, NULL
},
35160 { (char *)"new_RendererVersion", (PyCFunction
) _wrap_new_RendererVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35161 { (char *)"delete_RendererVersion", (PyCFunction
)_wrap_delete_RendererVersion
, METH_O
, NULL
},
35162 { (char *)"RendererVersion_IsCompatible", (PyCFunction
) _wrap_RendererVersion_IsCompatible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35163 { (char *)"RendererVersion_version_get", (PyCFunction
)_wrap_RendererVersion_version_get
, METH_O
, NULL
},
35164 { (char *)"RendererVersion_age_get", (PyCFunction
)_wrap_RendererVersion_age_get
, METH_O
, NULL
},
35165 { (char *)"RendererVersion_swigregister", RendererVersion_swigregister
, METH_VARARGS
, NULL
},
35166 { (char *)"RendererVersion_swiginit", RendererVersion_swiginit
, METH_VARARGS
, NULL
},
35167 { (char *)"RendererNative_DrawHeaderButton", (PyCFunction
) _wrap_RendererNative_DrawHeaderButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35168 { (char *)"RendererNative_DrawHeaderButtonContents", (PyCFunction
) _wrap_RendererNative_DrawHeaderButtonContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35169 { (char *)"RendererNative_GetHeaderButtonHeight", (PyCFunction
) _wrap_RendererNative_GetHeaderButtonHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35170 { (char *)"RendererNative_DrawTreeItemButton", (PyCFunction
) _wrap_RendererNative_DrawTreeItemButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35171 { (char *)"RendererNative_DrawSplitterBorder", (PyCFunction
) _wrap_RendererNative_DrawSplitterBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35172 { (char *)"RendererNative_DrawSplitterSash", (PyCFunction
) _wrap_RendererNative_DrawSplitterSash
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35173 { (char *)"RendererNative_DrawComboBoxDropButton", (PyCFunction
) _wrap_RendererNative_DrawComboBoxDropButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35174 { (char *)"RendererNative_DrawDropArrow", (PyCFunction
) _wrap_RendererNative_DrawDropArrow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35175 { (char *)"RendererNative_DrawCheckBox", (PyCFunction
) _wrap_RendererNative_DrawCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35176 { (char *)"RendererNative_DrawPushButton", (PyCFunction
) _wrap_RendererNative_DrawPushButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35177 { (char *)"RendererNative_DrawItemSelectionRect", (PyCFunction
) _wrap_RendererNative_DrawItemSelectionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35178 { (char *)"RendererNative_GetSplitterParams", (PyCFunction
) _wrap_RendererNative_GetSplitterParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35179 { (char *)"RendererNative_Get", (PyCFunction
)_wrap_RendererNative_Get
, METH_NOARGS
, NULL
},
35180 { (char *)"RendererNative_GetGeneric", (PyCFunction
)_wrap_RendererNative_GetGeneric
, METH_NOARGS
, NULL
},
35181 { (char *)"RendererNative_GetDefault", (PyCFunction
)_wrap_RendererNative_GetDefault
, METH_NOARGS
, NULL
},
35182 { (char *)"RendererNative_Set", (PyCFunction
) _wrap_RendererNative_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35183 { (char *)"RendererNative_GetVersion", (PyCFunction
)_wrap_RendererNative_GetVersion
, METH_O
, NULL
},
35184 { (char *)"RendererNative_swigregister", RendererNative_swigregister
, METH_VARARGS
, NULL
},
35185 { (char *)"new_PseudoDC", (PyCFunction
)_wrap_new_PseudoDC
, METH_NOARGS
, NULL
},
35186 { (char *)"PseudoDC_BeginDrawing", (PyCFunction
)_wrap_PseudoDC_BeginDrawing
, METH_O
, NULL
},
35187 { (char *)"PseudoDC_EndDrawing", (PyCFunction
)_wrap_PseudoDC_EndDrawing
, METH_O
, NULL
},
35188 { (char *)"delete_PseudoDC", (PyCFunction
)_wrap_delete_PseudoDC
, METH_O
, NULL
},
35189 { (char *)"PseudoDC_RemoveAll", (PyCFunction
)_wrap_PseudoDC_RemoveAll
, METH_O
, NULL
},
35190 { (char *)"PseudoDC_GetLen", (PyCFunction
)_wrap_PseudoDC_GetLen
, METH_O
, NULL
},
35191 { (char *)"PseudoDC_SetId", (PyCFunction
) _wrap_PseudoDC_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35192 { (char *)"PseudoDC_ClearId", (PyCFunction
) _wrap_PseudoDC_ClearId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35193 { (char *)"PseudoDC_RemoveId", (PyCFunction
) _wrap_PseudoDC_RemoveId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35194 { (char *)"PseudoDC_TranslateId", (PyCFunction
) _wrap_PseudoDC_TranslateId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35195 { (char *)"PseudoDC_SetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_SetIdGreyedOut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35196 { (char *)"PseudoDC_GetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_GetIdGreyedOut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35197 { (char *)"PseudoDC_FindObjects", (PyCFunction
) _wrap_PseudoDC_FindObjects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35198 { (char *)"PseudoDC_FindObjectsByBBox", (PyCFunction
) _wrap_PseudoDC_FindObjectsByBBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35199 { (char *)"PseudoDC_DrawIdToDC", (PyCFunction
) _wrap_PseudoDC_DrawIdToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35200 { (char *)"PseudoDC_SetIdBounds", (PyCFunction
) _wrap_PseudoDC_SetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35201 { (char *)"PseudoDC_GetIdBounds", (PyCFunction
) _wrap_PseudoDC_GetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35202 { (char *)"PseudoDC_DrawToDCClipped", (PyCFunction
) _wrap_PseudoDC_DrawToDCClipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35203 { (char *)"PseudoDC_DrawToDCClippedRgn", (PyCFunction
) _wrap_PseudoDC_DrawToDCClippedRgn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35204 { (char *)"PseudoDC_DrawToDC", (PyCFunction
) _wrap_PseudoDC_DrawToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35205 { (char *)"PseudoDC_FloodFill", (PyCFunction
) _wrap_PseudoDC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35206 { (char *)"PseudoDC_FloodFillPoint", (PyCFunction
) _wrap_PseudoDC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35207 { (char *)"PseudoDC_DrawLine", (PyCFunction
) _wrap_PseudoDC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35208 { (char *)"PseudoDC_DrawLinePoint", (PyCFunction
) _wrap_PseudoDC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35209 { (char *)"PseudoDC_CrossHair", (PyCFunction
) _wrap_PseudoDC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35210 { (char *)"PseudoDC_CrossHairPoint", (PyCFunction
) _wrap_PseudoDC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35211 { (char *)"PseudoDC_DrawArc", (PyCFunction
) _wrap_PseudoDC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35212 { (char *)"PseudoDC_DrawArcPoint", (PyCFunction
) _wrap_PseudoDC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35213 { (char *)"PseudoDC_DrawCheckMark", (PyCFunction
) _wrap_PseudoDC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35214 { (char *)"PseudoDC_DrawCheckMarkRect", (PyCFunction
) _wrap_PseudoDC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35215 { (char *)"PseudoDC_DrawEllipticArc", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35216 { (char *)"PseudoDC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35217 { (char *)"PseudoDC_DrawPoint", (PyCFunction
) _wrap_PseudoDC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35218 { (char *)"PseudoDC_DrawPointPoint", (PyCFunction
) _wrap_PseudoDC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35219 { (char *)"PseudoDC_DrawRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35220 { (char *)"PseudoDC_DrawRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35221 { (char *)"PseudoDC_DrawRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35222 { (char *)"PseudoDC_DrawRoundedRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35223 { (char *)"PseudoDC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35224 { (char *)"PseudoDC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35225 { (char *)"PseudoDC_DrawCircle", (PyCFunction
) _wrap_PseudoDC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35226 { (char *)"PseudoDC_DrawCirclePoint", (PyCFunction
) _wrap_PseudoDC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35227 { (char *)"PseudoDC_DrawEllipse", (PyCFunction
) _wrap_PseudoDC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35228 { (char *)"PseudoDC_DrawEllipseRect", (PyCFunction
) _wrap_PseudoDC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35229 { (char *)"PseudoDC_DrawEllipsePointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35230 { (char *)"PseudoDC_DrawIcon", (PyCFunction
) _wrap_PseudoDC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35231 { (char *)"PseudoDC_DrawIconPoint", (PyCFunction
) _wrap_PseudoDC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35232 { (char *)"PseudoDC_DrawBitmap", (PyCFunction
) _wrap_PseudoDC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35233 { (char *)"PseudoDC_DrawBitmapPoint", (PyCFunction
) _wrap_PseudoDC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35234 { (char *)"PseudoDC_DrawText", (PyCFunction
) _wrap_PseudoDC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35235 { (char *)"PseudoDC_DrawTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35236 { (char *)"PseudoDC_DrawRotatedText", (PyCFunction
) _wrap_PseudoDC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35237 { (char *)"PseudoDC_DrawRotatedTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35238 { (char *)"PseudoDC_DrawLines", (PyCFunction
) _wrap_PseudoDC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35239 { (char *)"PseudoDC_DrawPolygon", (PyCFunction
) _wrap_PseudoDC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35240 { (char *)"PseudoDC_DrawLabel", (PyCFunction
) _wrap_PseudoDC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35241 { (char *)"PseudoDC_DrawImageLabel", (PyCFunction
) _wrap_PseudoDC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35242 { (char *)"PseudoDC_DrawSpline", (PyCFunction
) _wrap_PseudoDC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35243 { (char *)"PseudoDC_Clear", (PyCFunction
)_wrap_PseudoDC_Clear
, METH_O
, NULL
},
35244 { (char *)"PseudoDC_SetFont", (PyCFunction
) _wrap_PseudoDC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35245 { (char *)"PseudoDC_SetPen", (PyCFunction
) _wrap_PseudoDC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35246 { (char *)"PseudoDC_SetBrush", (PyCFunction
) _wrap_PseudoDC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35247 { (char *)"PseudoDC_SetBackground", (PyCFunction
) _wrap_PseudoDC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35248 { (char *)"PseudoDC_SetBackgroundMode", (PyCFunction
) _wrap_PseudoDC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35249 { (char *)"PseudoDC_SetPalette", (PyCFunction
) _wrap_PseudoDC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35250 { (char *)"PseudoDC_SetTextForeground", (PyCFunction
) _wrap_PseudoDC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35251 { (char *)"PseudoDC_SetTextBackground", (PyCFunction
) _wrap_PseudoDC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35252 { (char *)"PseudoDC_SetLogicalFunction", (PyCFunction
) _wrap_PseudoDC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35253 { (char *)"PseudoDC_swigregister", PseudoDC_swigregister
, METH_VARARGS
, NULL
},
35254 { (char *)"PseudoDC_swiginit", PseudoDC_swiginit
, METH_VARARGS
, NULL
},
35255 { NULL
, NULL
, 0, NULL
}
35259 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
35261 static void *_p_wxPaintDCTo_p_wxClientDC(void *x
) {
35262 return (void *)((wxClientDC
*) ((wxPaintDC
*) x
));
35264 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
35265 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
35267 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
35268 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
35270 static void *_p_wxClientDCTo_p_wxWindowDC(void *x
) {
35271 return (void *)((wxWindowDC
*) ((wxClientDC
*) x
));
35273 static void *_p_wxPaintDCTo_p_wxWindowDC(void *x
) {
35274 return (void *)((wxWindowDC
*) (wxClientDC
*) ((wxPaintDC
*) x
));
35276 static void *_p_wxPyLocaleTo_p_wxLocale(void *x
) {
35277 return (void *)((wxLocale
*) ((wxPyLocale
*) x
));
35279 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
35280 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
35282 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
35283 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
35285 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
35286 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
35288 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
35289 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
35291 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
35292 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
35294 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
35295 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
35297 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
35298 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
35300 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
35301 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
35303 static void *_p_wxGCDCTo_p_wxDC(void *x
) {
35304 return (void *)((wxDC
*) ((wxGCDC
*) x
));
35306 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
35307 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
35309 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
35310 return (void *)((wxDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
35312 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
35313 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
35315 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
35316 return (void *)((wxDC
*) ((wxMemoryDC
*) x
));
35318 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
35319 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
35321 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
35322 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
35324 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
35325 return (void *)((wxDC
*) (wxWindowDC
*) ((wxClientDC
*) x
));
35327 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
35328 return (void *)((wxDC
*) (wxWindowDC
*)(wxClientDC
*) ((wxPaintDC
*) x
));
35330 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
35331 return (void *)((wxDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
35333 static void *_p_wxAutoBufferedPaintDCTo_p_wxDC(void *x
) {
35334 return (void *)((wxDC
*) ((wxAutoBufferedPaintDC
*) x
));
35336 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
35337 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
35339 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
35340 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
35342 static void *_p_wxBrushListTo_p_wxGDIObjListBase(void *x
) {
35343 return (void *)((wxGDIObjListBase
*) ((wxBrushList
*) x
));
35345 static void *_p_wxFontListTo_p_wxGDIObjListBase(void *x
) {
35346 return (void *)((wxGDIObjListBase
*) ((wxFontList
*) x
));
35348 static void *_p_wxPenListTo_p_wxGDIObjListBase(void *x
) {
35349 return (void *)((wxGDIObjListBase
*) ((wxPenList
*) x
));
35351 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
35352 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
35354 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
35355 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
35357 static void *_p_wxPenTo_p_wxObject(void *x
) {
35358 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
35360 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
35361 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
35363 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
35364 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
35366 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
35367 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
35369 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
35370 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
35372 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
35373 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
35375 static void *_p_wxIconTo_p_wxObject(void *x
) {
35376 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
35378 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
35379 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
35381 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
35382 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
35384 static void *_p_wxSizerTo_p_wxObject(void *x
) {
35385 return (void *)((wxObject
*) ((wxSizer
*) x
));
35387 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
35388 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
35390 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
35391 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
35393 static void *_p_wxEventTo_p_wxObject(void *x
) {
35394 return (void *)((wxObject
*) ((wxEvent
*) x
));
35396 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
35397 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
35399 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
35400 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
35402 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
35403 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
35405 static void *_p_wxPseudoDCTo_p_wxObject(void *x
) {
35406 return (void *)((wxObject
*) ((wxPseudoDC
*) x
));
35408 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
35409 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
35411 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
35412 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
35414 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
35415 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
35417 static void *_p_wxDCTo_p_wxObject(void *x
) {
35418 return (void *)((wxObject
*) ((wxDC
*) x
));
35420 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
35421 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
35423 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
35424 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
35426 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
35427 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
35429 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
35430 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
35432 static void *_p_wxControlTo_p_wxObject(void *x
) {
35433 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
35435 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
35436 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
35438 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
35439 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*) ((wxClientDC
*) x
));
35441 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
35442 return (void *)((wxObject
*) ((wxFSFile
*) x
));
35444 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
35445 return (void *)((wxObject
*) (wxDC
*) ((wxMemoryDC
*) x
));
35447 static void *_p_wxRegionTo_p_wxObject(void *x
) {
35448 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
35450 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
35451 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
35453 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
35454 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
35456 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
35457 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
35459 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
35460 return (void *)((wxObject
*) ((wxEffects
*) x
));
35462 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
35463 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
35465 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
35466 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
35468 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
35469 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
35471 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
35472 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
35474 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
35475 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
35477 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
35478 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
35480 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
35481 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
35483 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
35484 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
35486 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
35487 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
35489 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
35490 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
35492 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
35493 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
35495 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
35496 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
35498 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
35499 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
35501 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
35502 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
35504 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
35505 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
35507 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
35508 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
35510 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
35511 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
35513 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
35514 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
35516 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
35517 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
35519 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
35520 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
35522 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
35523 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
35525 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
35526 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
35528 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
35529 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
35531 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
35532 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
35534 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
35535 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
35537 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
35538 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
35540 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
35541 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
35543 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
35544 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
35546 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
35547 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
35549 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
35550 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxClientDC
*) ((wxPaintDC
*) x
));
35552 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
35553 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
35555 static void *_p_wxAutoBufferedPaintDCTo_p_wxObject(void *x
) {
35556 return (void *)((wxObject
*) (wxDC
*) ((wxAutoBufferedPaintDC
*) x
));
35558 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
35559 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
35561 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
35562 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
35564 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
35565 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
35567 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
35568 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
35570 static void *_p_wxImageTo_p_wxObject(void *x
) {
35571 return (void *)((wxObject
*) ((wxImage
*) x
));
35573 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
35574 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
35576 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
35577 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
35579 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
35580 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
35582 static void *_p_wxImageListTo_p_wxObject(void *x
) {
35583 return (void *)((wxObject
*) ((wxImageList
*) x
));
35585 static void *_p_wxGCDCTo_p_wxObject(void *x
) {
35586 return (void *)((wxObject
*) (wxDC
*) ((wxGCDC
*) x
));
35588 static void *_p_wxCursorTo_p_wxObject(void *x
) {
35589 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
35591 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
35592 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
35594 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
35595 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
35597 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
35598 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
35600 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
35601 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
35603 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
35604 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
35606 static void *_p_wxWindowTo_p_wxObject(void *x
) {
35607 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
35609 static void *_p_wxMenuTo_p_wxObject(void *x
) {
35610 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
35612 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
35613 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
35615 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
35616 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
35618 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
35619 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
35621 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
35622 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
35624 static void *_p_wxMaskTo_p_wxObject(void *x
) {
35625 return (void *)((wxObject
*) ((wxMask
*) x
));
35627 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
35628 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
35630 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
35631 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
35633 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
35634 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
35636 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
35637 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
35639 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
35640 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
35642 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
35643 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
35645 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
35646 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
35648 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
35649 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
35651 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
35652 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
35654 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
35655 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
35657 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
35658 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
35660 static void *_p_wxFontTo_p_wxObject(void *x
) {
35661 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
35663 static void *_p_wxBrushTo_p_wxObject(void *x
) {
35664 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
35666 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
35667 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
35669 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
35670 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
35672 static void *_p_wxColourTo_p_wxObject(void *x
) {
35673 return (void *)((wxObject
*) ((wxColour
*) x
));
35675 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
35676 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
35678 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
35679 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
35681 static void *_p_wxControlTo_p_wxWindow(void *x
) {
35682 return (void *)((wxWindow
*) ((wxControl
*) x
));
35684 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
35685 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
35687 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
35688 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
35690 static void *_p_wxNativePixelDataTo_p_wxPixelDataBase(void *x
) {
35691 return (void *)((wxPixelDataBase
*) ((wxNativePixelData
*) x
));
35693 static void *_p_wxAlphaPixelDataTo_p_wxPixelDataBase(void *x
) {
35694 return (void *)((wxPixelDataBase
*) ((wxAlphaPixelData
*) x
));
35696 static swig_type_info _swigt__p_buffer
= {"_p_buffer", "buffer *", 0, 0, (void*)0, 0};
35697 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
35698 static swig_type_info _swigt__p_double
= {"_p_double", "double *|wxDouble *", 0, 0, (void*)0, 0};
35699 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};
35700 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
35701 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
35702 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
35703 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
35704 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
35705 static swig_type_info _swigt__p_wxAlphaPixelData
= {"_p_wxAlphaPixelData", "wxAlphaPixelData *", 0, 0, (void*)0, 0};
35706 static swig_type_info _swigt__p_wxAlphaPixelData_Accessor
= {"_p_wxAlphaPixelData_Accessor", "wxAlphaPixelData_Accessor *", 0, 0, (void*)0, 0};
35707 static swig_type_info _swigt__p_wxAutoBufferedPaintDC
= {"_p_wxAutoBufferedPaintDC", "wxAutoBufferedPaintDC *", 0, 0, (void*)0, 0};
35708 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
35709 static swig_type_info _swigt__p_wxBrush
= {"_p_wxBrush", "wxBrush *", 0, 0, (void*)0, 0};
35710 static swig_type_info _swigt__p_wxBrushList
= {"_p_wxBrushList", "wxBrushList *", 0, 0, (void*)0, 0};
35711 static swig_type_info _swigt__p_wxBufferedDC
= {"_p_wxBufferedDC", "wxBufferedDC *", 0, 0, (void*)0, 0};
35712 static swig_type_info _swigt__p_wxBufferedPaintDC
= {"_p_wxBufferedPaintDC", "wxBufferedPaintDC *", 0, 0, (void*)0, 0};
35713 static swig_type_info _swigt__p_wxChar
= {"_p_wxChar", "wxChar *", 0, 0, (void*)0, 0};
35714 static swig_type_info _swigt__p_wxClientDC
= {"_p_wxClientDC", "wxClientDC *", 0, 0, (void*)0, 0};
35715 static swig_type_info _swigt__p_wxColor
= {"_p_wxColor", "wxColor *", 0, 0, (void*)0, 0};
35716 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
35717 static swig_type_info _swigt__p_wxColourDatabase
= {"_p_wxColourDatabase", "wxColourDatabase *", 0, 0, (void*)0, 0};
35718 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
35719 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
35720 static swig_type_info _swigt__p_wxDCOverlay
= {"_p_wxDCOverlay", "wxDCOverlay *", 0, 0, (void*)0, 0};
35721 static swig_type_info _swigt__p_wxDash
= {"_p_wxDash", "wxDash *", 0, 0, (void*)0, 0};
35722 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
35723 static swig_type_info _swigt__p_wxEffects
= {"_p_wxEffects", "wxEffects *", 0, 0, (void*)0, 0};
35724 static swig_type_info _swigt__p_wxEncodingConverter
= {"_p_wxEncodingConverter", "wxEncodingConverter *", 0, 0, (void*)0, 0};
35725 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
35726 static swig_type_info _swigt__p_wxFontList
= {"_p_wxFontList", "wxFontList *", 0, 0, (void*)0, 0};
35727 static swig_type_info _swigt__p_wxFontMapper
= {"_p_wxFontMapper", "wxFontMapper *", 0, 0, (void*)0, 0};
35728 static swig_type_info _swigt__p_wxGCDC
= {"_p_wxGCDC", "wxGCDC *", 0, 0, (void*)0, 0};
35729 static swig_type_info _swigt__p_wxGDIObjListBase
= {"_p_wxGDIObjListBase", "wxGDIObjListBase *", 0, 0, (void*)0, 0};
35730 static swig_type_info _swigt__p_wxGDIObject
= {"_p_wxGDIObject", "wxGDIObject *", 0, 0, (void*)0, 0};
35731 static swig_type_info _swigt__p_wxGraphicsContext
= {"_p_wxGraphicsContext", "wxGraphicsContext *", 0, 0, (void*)0, 0};
35732 static swig_type_info _swigt__p_wxGraphicsPath
= {"_p_wxGraphicsPath", "wxGraphicsPath *", 0, 0, (void*)0, 0};
35733 static swig_type_info _swigt__p_wxHeaderButtonParams
= {"_p_wxHeaderButtonParams", "wxHeaderButtonParams *", 0, 0, (void*)0, 0};
35734 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
35735 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
35736 static swig_type_info _swigt__p_wxIconLocation
= {"_p_wxIconLocation", "wxIconLocation *", 0, 0, (void*)0, 0};
35737 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", "wxImage *", 0, 0, (void*)0, 0};
35738 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
35739 static swig_type_info _swigt__p_wxLanguageInfo
= {"_p_wxLanguageInfo", "wxLanguageInfo *", 0, 0, (void*)0, 0};
35740 static swig_type_info _swigt__p_wxLocale
= {"_p_wxLocale", "wxLocale *", 0, 0, (void*)0, 0};
35741 static swig_type_info _swigt__p_wxMask
= {"_p_wxMask", "wxMask *", 0, 0, (void*)0, 0};
35742 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
35743 static swig_type_info _swigt__p_wxMetaFile
= {"_p_wxMetaFile", "wxMetaFile *", 0, 0, (void*)0, 0};
35744 static swig_type_info _swigt__p_wxMetaFileDC
= {"_p_wxMetaFileDC", "wxMetaFileDC *", 0, 0, (void*)0, 0};
35745 static swig_type_info _swigt__p_wxMirrorDC
= {"_p_wxMirrorDC", "wxMirrorDC *", 0, 0, (void*)0, 0};
35746 static swig_type_info _swigt__p_wxNativeEncodingInfo
= {"_p_wxNativeEncodingInfo", "wxNativeEncodingInfo *", 0, 0, (void*)0, 0};
35747 static swig_type_info _swigt__p_wxNativeFontInfo
= {"_p_wxNativeFontInfo", "wxNativeFontInfo *", 0, 0, (void*)0, 0};
35748 static swig_type_info _swigt__p_wxNativePixelData
= {"_p_wxNativePixelData", "wxNativePixelData *", 0, 0, (void*)0, 0};
35749 static swig_type_info _swigt__p_wxNativePixelData_Accessor
= {"_p_wxNativePixelData_Accessor", "wxNativePixelData_Accessor *", 0, 0, (void*)0, 0};
35750 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
35751 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
35752 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
35753 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
35754 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
35755 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
35756 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
35757 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
35758 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
35759 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
35760 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
35761 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
35762 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", 0, 0, 0, 0, 0};
35763 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
35764 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
35765 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
35766 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
35767 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
35768 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
35769 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
35770 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
35771 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
35772 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
35773 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
35774 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
35775 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
35776 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
35777 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
35778 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
35779 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
35780 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
35781 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
35782 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
35783 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
35784 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
35785 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
35786 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
35787 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
35788 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
35789 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
35790 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
35791 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
35792 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
35793 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
35794 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
35795 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
35796 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", 0, 0, 0, 0, 0};
35797 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
35798 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
35799 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
35800 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
35801 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
35802 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
35803 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
35804 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
35805 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
35806 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
35807 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
35808 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
35809 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
35810 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
35811 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
35812 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
35813 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
35814 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
35815 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
35816 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
35817 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
35818 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
35819 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
35820 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0, 0};
35821 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
35822 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
35823 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
35824 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
35825 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
35826 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
35827 static swig_type_info _swigt__p_wxOverlay
= {"_p_wxOverlay", "wxOverlay *", 0, 0, (void*)0, 0};
35828 static swig_type_info _swigt__p_wxPaintDC
= {"_p_wxPaintDC", "wxPaintDC *", 0, 0, (void*)0, 0};
35829 static swig_type_info _swigt__p_wxPalette
= {"_p_wxPalette", "wxPalette *", 0, 0, (void*)0, 0};
35830 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
35831 static swig_type_info _swigt__p_wxPen
= {"_p_wxPen", "wxPen *", 0, 0, (void*)0, 0};
35832 static swig_type_info _swigt__p_wxPenList
= {"_p_wxPenList", "wxPenList *", 0, 0, (void*)0, 0};
35833 static swig_type_info _swigt__p_wxPixelDataBase
= {"_p_wxPixelDataBase", "wxPixelDataBase *", 0, 0, (void*)0, 0};
35834 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
35835 static swig_type_info _swigt__p_wxPoint2D
= {"_p_wxPoint2D", "wxPoint2D *", 0, 0, (void*)0, 0};
35836 static swig_type_info _swigt__p_wxPostScriptDC
= {"_p_wxPostScriptDC", "wxPostScriptDC *", 0, 0, (void*)0, 0};
35837 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
35838 static swig_type_info _swigt__p_wxPrinterDC
= {"_p_wxPrinterDC", "wxPrinterDC *", 0, 0, (void*)0, 0};
35839 static swig_type_info _swigt__p_wxPseudoDC
= {"_p_wxPseudoDC", "wxPseudoDC *", 0, 0, (void*)0, 0};
35840 static swig_type_info _swigt__p_wxPyFontEnumerator
= {"_p_wxPyFontEnumerator", "wxPyFontEnumerator *", 0, 0, (void*)0, 0};
35841 static swig_type_info _swigt__p_wxPyLocale
= {"_p_wxPyLocale", "wxPyLocale *", 0, 0, (void*)0, 0};
35842 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
35843 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
35844 static swig_type_info _swigt__p_wxRegionIterator
= {"_p_wxRegionIterator", "wxRegionIterator *", 0, 0, (void*)0, 0};
35845 static swig_type_info _swigt__p_wxRendererNative
= {"_p_wxRendererNative", "wxRendererNative *", 0, 0, (void*)0, 0};
35846 static swig_type_info _swigt__p_wxRendererVersion
= {"_p_wxRendererVersion", "wxRendererVersion *", 0, 0, (void*)0, 0};
35847 static swig_type_info _swigt__p_wxScreenDC
= {"_p_wxScreenDC", "wxScreenDC *", 0, 0, (void*)0, 0};
35848 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
35849 static swig_type_info _swigt__p_wxSplitterRenderParams
= {"_p_wxSplitterRenderParams", "wxSplitterRenderParams *", 0, 0, (void*)0, 0};
35850 static swig_type_info _swigt__p_wxStockGDI
= {"_p_wxStockGDI", "wxStockGDI *", 0, 0, (void*)0, 0};
35851 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
35852 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
35853 static swig_type_info _swigt__p_wxWindowDC
= {"_p_wxWindowDC", "wxWindowDC *", 0, 0, (void*)0, 0};
35855 static swig_type_info
*swig_type_initial
[] = {
35859 &_swigt__p_form_ops_t
,
35861 &_swigt__p_unsigned_char
,
35862 &_swigt__p_unsigned_int
,
35863 &_swigt__p_unsigned_long
,
35865 &_swigt__p_wxANIHandler
,
35866 &_swigt__p_wxAcceleratorTable
,
35867 &_swigt__p_wxActivateEvent
,
35868 &_swigt__p_wxAlphaPixelData
,
35869 &_swigt__p_wxAlphaPixelData_Accessor
,
35870 &_swigt__p_wxAutoBufferedPaintDC
,
35871 &_swigt__p_wxBMPHandler
,
35872 &_swigt__p_wxBitmap
,
35873 &_swigt__p_wxBoxSizer
,
35874 &_swigt__p_wxBrush
,
35875 &_swigt__p_wxBrushList
,
35876 &_swigt__p_wxBufferedDC
,
35877 &_swigt__p_wxBufferedPaintDC
,
35878 &_swigt__p_wxCURHandler
,
35880 &_swigt__p_wxChildFocusEvent
,
35881 &_swigt__p_wxClientDC
,
35882 &_swigt__p_wxClipboardTextEvent
,
35883 &_swigt__p_wxCloseEvent
,
35884 &_swigt__p_wxColor
,
35885 &_swigt__p_wxColour
,
35886 &_swigt__p_wxColourDatabase
,
35887 &_swigt__p_wxCommandEvent
,
35888 &_swigt__p_wxContextMenuEvent
,
35889 &_swigt__p_wxControl
,
35890 &_swigt__p_wxControlWithItems
,
35891 &_swigt__p_wxCursor
,
35893 &_swigt__p_wxDCOverlay
,
35895 &_swigt__p_wxDateEvent
,
35896 &_swigt__p_wxDisplayChangedEvent
,
35897 &_swigt__p_wxDropFilesEvent
,
35898 &_swigt__p_wxDuplexMode
,
35899 &_swigt__p_wxEffects
,
35900 &_swigt__p_wxEncodingConverter
,
35901 &_swigt__p_wxEraseEvent
,
35902 &_swigt__p_wxEvent
,
35903 &_swigt__p_wxEvtHandler
,
35904 &_swigt__p_wxFSFile
,
35905 &_swigt__p_wxFileSystem
,
35906 &_swigt__p_wxFlexGridSizer
,
35907 &_swigt__p_wxFocusEvent
,
35909 &_swigt__p_wxFontList
,
35910 &_swigt__p_wxFontMapper
,
35911 &_swigt__p_wxGBSizerItem
,
35913 &_swigt__p_wxGDIObjListBase
,
35914 &_swigt__p_wxGDIObject
,
35915 &_swigt__p_wxGIFHandler
,
35916 &_swigt__p_wxGraphicsContext
,
35917 &_swigt__p_wxGraphicsPath
,
35918 &_swigt__p_wxGridBagSizer
,
35919 &_swigt__p_wxGridSizer
,
35920 &_swigt__p_wxHeaderButtonParams
,
35921 &_swigt__p_wxICOHandler
,
35923 &_swigt__p_wxIconBundle
,
35924 &_swigt__p_wxIconLocation
,
35925 &_swigt__p_wxIconizeEvent
,
35926 &_swigt__p_wxIdleEvent
,
35927 &_swigt__p_wxImage
,
35928 &_swigt__p_wxImageHandler
,
35929 &_swigt__p_wxImageList
,
35930 &_swigt__p_wxIndividualLayoutConstraint
,
35931 &_swigt__p_wxInitDialogEvent
,
35932 &_swigt__p_wxJPEGHandler
,
35933 &_swigt__p_wxKeyEvent
,
35934 &_swigt__p_wxLanguageInfo
,
35935 &_swigt__p_wxLayoutConstraints
,
35936 &_swigt__p_wxLocale
,
35938 &_swigt__p_wxMaximizeEvent
,
35939 &_swigt__p_wxMemoryDC
,
35941 &_swigt__p_wxMenuBar
,
35942 &_swigt__p_wxMenuEvent
,
35943 &_swigt__p_wxMenuItem
,
35944 &_swigt__p_wxMetaFile
,
35945 &_swigt__p_wxMetaFileDC
,
35946 &_swigt__p_wxMirrorDC
,
35947 &_swigt__p_wxMouseCaptureChangedEvent
,
35948 &_swigt__p_wxMouseCaptureLostEvent
,
35949 &_swigt__p_wxMouseEvent
,
35950 &_swigt__p_wxMoveEvent
,
35951 &_swigt__p_wxNativeEncodingInfo
,
35952 &_swigt__p_wxNativeFontInfo
,
35953 &_swigt__p_wxNativePixelData
,
35954 &_swigt__p_wxNativePixelData_Accessor
,
35955 &_swigt__p_wxNavigationKeyEvent
,
35956 &_swigt__p_wxNcPaintEvent
,
35957 &_swigt__p_wxNotifyEvent
,
35958 &_swigt__p_wxObject
,
35959 &_swigt__p_wxOverlay
,
35960 &_swigt__p_wxPCXHandler
,
35961 &_swigt__p_wxPNGHandler
,
35962 &_swigt__p_wxPNMHandler
,
35963 &_swigt__p_wxPaintDC
,
35964 &_swigt__p_wxPaintEvent
,
35965 &_swigt__p_wxPalette
,
35966 &_swigt__p_wxPaletteChangedEvent
,
35967 &_swigt__p_wxPaperSize
,
35969 &_swigt__p_wxPenList
,
35970 &_swigt__p_wxPixelDataBase
,
35971 &_swigt__p_wxPoint
,
35972 &_swigt__p_wxPoint2D
,
35973 &_swigt__p_wxPostScriptDC
,
35974 &_swigt__p_wxPrintData
,
35975 &_swigt__p_wxPrinterDC
,
35976 &_swigt__p_wxPseudoDC
,
35977 &_swigt__p_wxPyApp
,
35978 &_swigt__p_wxPyCommandEvent
,
35979 &_swigt__p_wxPyEvent
,
35980 &_swigt__p_wxPyFontEnumerator
,
35981 &_swigt__p_wxPyImageHandler
,
35982 &_swigt__p_wxPyLocale
,
35983 &_swigt__p_wxPySizer
,
35984 &_swigt__p_wxPyValidator
,
35985 &_swigt__p_wxQueryNewPaletteEvent
,
35987 &_swigt__p_wxRegion
,
35988 &_swigt__p_wxRegionIterator
,
35989 &_swigt__p_wxRendererNative
,
35990 &_swigt__p_wxRendererVersion
,
35991 &_swigt__p_wxScreenDC
,
35992 &_swigt__p_wxScrollEvent
,
35993 &_swigt__p_wxScrollWinEvent
,
35994 &_swigt__p_wxSetCursorEvent
,
35995 &_swigt__p_wxShowEvent
,
35997 &_swigt__p_wxSizeEvent
,
35998 &_swigt__p_wxSizer
,
35999 &_swigt__p_wxSizerItem
,
36000 &_swigt__p_wxSplitterRenderParams
,
36001 &_swigt__p_wxStaticBoxSizer
,
36002 &_swigt__p_wxStdDialogButtonSizer
,
36003 &_swigt__p_wxStockGDI
,
36004 &_swigt__p_wxString
,
36005 &_swigt__p_wxSysColourChangedEvent
,
36006 &_swigt__p_wxTIFFHandler
,
36007 &_swigt__p_wxUpdateUIEvent
,
36008 &_swigt__p_wxValidator
,
36009 &_swigt__p_wxWindow
,
36010 &_swigt__p_wxWindowCreateEvent
,
36011 &_swigt__p_wxWindowDC
,
36012 &_swigt__p_wxWindowDestroyEvent
,
36013 &_swigt__p_wxXPMHandler
,
36016 static swig_cast_info _swigc__p_buffer
[] = { {&_swigt__p_buffer
, 0, 0, 0},{0, 0, 0, 0}};
36017 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
36018 static swig_cast_info _swigc__p_double
[] = { {&_swigt__p_double
, 0, 0, 0},{0, 0, 0, 0}};
36019 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
36020 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
36021 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
36022 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
36023 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
36024 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
36025 static swig_cast_info _swigc__p_wxAlphaPixelData
[] = { {&_swigt__p_wxAlphaPixelData
, 0, 0, 0},{0, 0, 0, 0}};
36026 static swig_cast_info _swigc__p_wxAlphaPixelData_Accessor
[] = { {&_swigt__p_wxAlphaPixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
36027 static swig_cast_info _swigc__p_wxAutoBufferedPaintDC
[] = { {&_swigt__p_wxAutoBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
36028 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
36029 static swig_cast_info _swigc__p_wxBrush
[] = { {&_swigt__p_wxBrush
, 0, 0, 0},{0, 0, 0, 0}};
36030 static swig_cast_info _swigc__p_wxBrushList
[] = { {&_swigt__p_wxBrushList
, 0, 0, 0},{0, 0, 0, 0}};
36031 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}};
36032 static swig_cast_info _swigc__p_wxBufferedPaintDC
[] = { {&_swigt__p_wxBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
36033 static swig_cast_info _swigc__p_wxChar
[] = { {&_swigt__p_wxChar
, 0, 0, 0},{0, 0, 0, 0}};
36034 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}};
36035 static swig_cast_info _swigc__p_wxColor
[] = { {&_swigt__p_wxColor
, 0, 0, 0},{0, 0, 0, 0}};
36036 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
36037 static swig_cast_info _swigc__p_wxColourDatabase
[] = { {&_swigt__p_wxColourDatabase
, 0, 0, 0},{0, 0, 0, 0}};
36038 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
36039 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}};
36040 static swig_cast_info _swigc__p_wxDCOverlay
[] = { {&_swigt__p_wxDCOverlay
, 0, 0, 0},{0, 0, 0, 0}};
36041 static swig_cast_info _swigc__p_wxDash
[] = { {&_swigt__p_wxDash
, 0, 0, 0},{0, 0, 0, 0}};
36042 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
36043 static swig_cast_info _swigc__p_wxEffects
[] = { {&_swigt__p_wxEffects
, 0, 0, 0},{0, 0, 0, 0}};
36044 static swig_cast_info _swigc__p_wxEncodingConverter
[] = { {&_swigt__p_wxEncodingConverter
, 0, 0, 0},{0, 0, 0, 0}};
36045 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
36046 static swig_cast_info _swigc__p_wxFontList
[] = { {&_swigt__p_wxFontList
, 0, 0, 0},{0, 0, 0, 0}};
36047 static swig_cast_info _swigc__p_wxFontMapper
[] = { {&_swigt__p_wxFontMapper
, 0, 0, 0},{0, 0, 0, 0}};
36048 static swig_cast_info _swigc__p_wxGCDC
[] = { {&_swigt__p_wxGCDC
, 0, 0, 0},{0, 0, 0, 0}};
36049 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}};
36050 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}};
36051 static swig_cast_info _swigc__p_wxGraphicsContext
[] = { {&_swigt__p_wxGraphicsContext
, 0, 0, 0},{0, 0, 0, 0}};
36052 static swig_cast_info _swigc__p_wxGraphicsPath
[] = { {&_swigt__p_wxGraphicsPath
, 0, 0, 0},{0, 0, 0, 0}};
36053 static swig_cast_info _swigc__p_wxHeaderButtonParams
[] = { {&_swigt__p_wxHeaderButtonParams
, 0, 0, 0},{0, 0, 0, 0}};
36054 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
36055 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
36056 static swig_cast_info _swigc__p_wxIconLocation
[] = { {&_swigt__p_wxIconLocation
, 0, 0, 0},{0, 0, 0, 0}};
36057 static swig_cast_info _swigc__p_wxImage
[] = { {&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
36058 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
36059 static swig_cast_info _swigc__p_wxLanguageInfo
[] = { {&_swigt__p_wxLanguageInfo
, 0, 0, 0},{0, 0, 0, 0}};
36060 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}};
36061 static swig_cast_info _swigc__p_wxMask
[] = { {&_swigt__p_wxMask
, 0, 0, 0},{0, 0, 0, 0}};
36062 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}};
36063 static swig_cast_info _swigc__p_wxMetaFile
[] = { {&_swigt__p_wxMetaFile
, 0, 0, 0},{0, 0, 0, 0}};
36064 static swig_cast_info _swigc__p_wxMetaFileDC
[] = { {&_swigt__p_wxMetaFileDC
, 0, 0, 0},{0, 0, 0, 0}};
36065 static swig_cast_info _swigc__p_wxMirrorDC
[] = { {&_swigt__p_wxMirrorDC
, 0, 0, 0},{0, 0, 0, 0}};
36066 static swig_cast_info _swigc__p_wxNativeEncodingInfo
[] = { {&_swigt__p_wxNativeEncodingInfo
, 0, 0, 0},{0, 0, 0, 0}};
36067 static swig_cast_info _swigc__p_wxNativeFontInfo
[] = { {&_swigt__p_wxNativeFontInfo
, 0, 0, 0},{0, 0, 0, 0}};
36068 static swig_cast_info _swigc__p_wxNativePixelData
[] = { {&_swigt__p_wxNativePixelData
, 0, 0, 0},{0, 0, 0, 0}};
36069 static swig_cast_info _swigc__p_wxNativePixelData_Accessor
[] = { {&_swigt__p_wxNativePixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
36070 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
36071 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
36072 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
36073 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
36074 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
36075 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
36076 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
36077 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
36078 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
36079 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
36080 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
36081 static swig_cast_info _swigc__p_wxEvent
[] = {{&_swigt__p_wxEvent
, 0, 0, 0},{0, 0, 0, 0}};
36082 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
36083 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
36084 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
36085 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
36086 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
36087 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
36088 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
36089 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
36090 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
36091 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
36092 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
36093 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
36094 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
36095 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
36096 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
36097 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
36098 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
36099 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
36100 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
36101 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
36102 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
36103 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
36104 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
36105 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
36106 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
36107 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
36108 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
36109 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
36110 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
36111 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
36112 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
36113 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
36114 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
36115 static swig_cast_info _swigc__p_wxEvtHandler
[] = {{&_swigt__p_wxEvtHandler
, 0, 0, 0},{0, 0, 0, 0}};
36116 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
36117 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
36118 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
36119 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
36120 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
36121 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
36122 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
36123 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
36124 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
36125 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
36126 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
36127 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
36128 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
36129 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
36130 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
36131 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
36132 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
36133 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
36134 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
36135 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
36136 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
36137 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
36138 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
36139 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
36140 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
36141 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
36142 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
36143 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
36144 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
36145 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
36146 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}};
36147 static swig_cast_info _swigc__p_wxOverlay
[] = { {&_swigt__p_wxOverlay
, 0, 0, 0},{0, 0, 0, 0}};
36148 static swig_cast_info _swigc__p_wxPaintDC
[] = { {&_swigt__p_wxPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
36149 static swig_cast_info _swigc__p_wxPalette
[] = { {&_swigt__p_wxPalette
, 0, 0, 0},{0, 0, 0, 0}};
36150 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
36151 static swig_cast_info _swigc__p_wxPen
[] = { {&_swigt__p_wxPen
, 0, 0, 0},{0, 0, 0, 0}};
36152 static swig_cast_info _swigc__p_wxPenList
[] = { {&_swigt__p_wxPenList
, 0, 0, 0},{0, 0, 0, 0}};
36153 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}};
36154 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
36155 static swig_cast_info _swigc__p_wxPoint2D
[] = { {&_swigt__p_wxPoint2D
, 0, 0, 0},{0, 0, 0, 0}};
36156 static swig_cast_info _swigc__p_wxPostScriptDC
[] = { {&_swigt__p_wxPostScriptDC
, 0, 0, 0},{0, 0, 0, 0}};
36157 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
36158 static swig_cast_info _swigc__p_wxPrinterDC
[] = { {&_swigt__p_wxPrinterDC
, 0, 0, 0},{0, 0, 0, 0}};
36159 static swig_cast_info _swigc__p_wxPseudoDC
[] = { {&_swigt__p_wxPseudoDC
, 0, 0, 0},{0, 0, 0, 0}};
36160 static swig_cast_info _swigc__p_wxPyFontEnumerator
[] = { {&_swigt__p_wxPyFontEnumerator
, 0, 0, 0},{0, 0, 0, 0}};
36161 static swig_cast_info _swigc__p_wxPyLocale
[] = { {&_swigt__p_wxPyLocale
, 0, 0, 0},{0, 0, 0, 0}};
36162 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
36163 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
36164 static swig_cast_info _swigc__p_wxRegionIterator
[] = { {&_swigt__p_wxRegionIterator
, 0, 0, 0},{0, 0, 0, 0}};
36165 static swig_cast_info _swigc__p_wxRendererNative
[] = { {&_swigt__p_wxRendererNative
, 0, 0, 0},{0, 0, 0, 0}};
36166 static swig_cast_info _swigc__p_wxRendererVersion
[] = { {&_swigt__p_wxRendererVersion
, 0, 0, 0},{0, 0, 0, 0}};
36167 static swig_cast_info _swigc__p_wxScreenDC
[] = { {&_swigt__p_wxScreenDC
, 0, 0, 0},{0, 0, 0, 0}};
36168 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
36169 static swig_cast_info _swigc__p_wxSplitterRenderParams
[] = { {&_swigt__p_wxSplitterRenderParams
, 0, 0, 0},{0, 0, 0, 0}};
36170 static swig_cast_info _swigc__p_wxStockGDI
[] = { {&_swigt__p_wxStockGDI
, 0, 0, 0},{0, 0, 0, 0}};
36171 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
36172 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}};
36173 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}};
36175 static swig_cast_info
*swig_cast_initial
[] = {
36179 _swigc__p_form_ops_t
,
36181 _swigc__p_unsigned_char
,
36182 _swigc__p_unsigned_int
,
36183 _swigc__p_unsigned_long
,
36185 _swigc__p_wxANIHandler
,
36186 _swigc__p_wxAcceleratorTable
,
36187 _swigc__p_wxActivateEvent
,
36188 _swigc__p_wxAlphaPixelData
,
36189 _swigc__p_wxAlphaPixelData_Accessor
,
36190 _swigc__p_wxAutoBufferedPaintDC
,
36191 _swigc__p_wxBMPHandler
,
36192 _swigc__p_wxBitmap
,
36193 _swigc__p_wxBoxSizer
,
36195 _swigc__p_wxBrushList
,
36196 _swigc__p_wxBufferedDC
,
36197 _swigc__p_wxBufferedPaintDC
,
36198 _swigc__p_wxCURHandler
,
36200 _swigc__p_wxChildFocusEvent
,
36201 _swigc__p_wxClientDC
,
36202 _swigc__p_wxClipboardTextEvent
,
36203 _swigc__p_wxCloseEvent
,
36205 _swigc__p_wxColour
,
36206 _swigc__p_wxColourDatabase
,
36207 _swigc__p_wxCommandEvent
,
36208 _swigc__p_wxContextMenuEvent
,
36209 _swigc__p_wxControl
,
36210 _swigc__p_wxControlWithItems
,
36211 _swigc__p_wxCursor
,
36213 _swigc__p_wxDCOverlay
,
36215 _swigc__p_wxDateEvent
,
36216 _swigc__p_wxDisplayChangedEvent
,
36217 _swigc__p_wxDropFilesEvent
,
36218 _swigc__p_wxDuplexMode
,
36219 _swigc__p_wxEffects
,
36220 _swigc__p_wxEncodingConverter
,
36221 _swigc__p_wxEraseEvent
,
36223 _swigc__p_wxEvtHandler
,
36224 _swigc__p_wxFSFile
,
36225 _swigc__p_wxFileSystem
,
36226 _swigc__p_wxFlexGridSizer
,
36227 _swigc__p_wxFocusEvent
,
36229 _swigc__p_wxFontList
,
36230 _swigc__p_wxFontMapper
,
36231 _swigc__p_wxGBSizerItem
,
36233 _swigc__p_wxGDIObjListBase
,
36234 _swigc__p_wxGDIObject
,
36235 _swigc__p_wxGIFHandler
,
36236 _swigc__p_wxGraphicsContext
,
36237 _swigc__p_wxGraphicsPath
,
36238 _swigc__p_wxGridBagSizer
,
36239 _swigc__p_wxGridSizer
,
36240 _swigc__p_wxHeaderButtonParams
,
36241 _swigc__p_wxICOHandler
,
36243 _swigc__p_wxIconBundle
,
36244 _swigc__p_wxIconLocation
,
36245 _swigc__p_wxIconizeEvent
,
36246 _swigc__p_wxIdleEvent
,
36248 _swigc__p_wxImageHandler
,
36249 _swigc__p_wxImageList
,
36250 _swigc__p_wxIndividualLayoutConstraint
,
36251 _swigc__p_wxInitDialogEvent
,
36252 _swigc__p_wxJPEGHandler
,
36253 _swigc__p_wxKeyEvent
,
36254 _swigc__p_wxLanguageInfo
,
36255 _swigc__p_wxLayoutConstraints
,
36256 _swigc__p_wxLocale
,
36258 _swigc__p_wxMaximizeEvent
,
36259 _swigc__p_wxMemoryDC
,
36261 _swigc__p_wxMenuBar
,
36262 _swigc__p_wxMenuEvent
,
36263 _swigc__p_wxMenuItem
,
36264 _swigc__p_wxMetaFile
,
36265 _swigc__p_wxMetaFileDC
,
36266 _swigc__p_wxMirrorDC
,
36267 _swigc__p_wxMouseCaptureChangedEvent
,
36268 _swigc__p_wxMouseCaptureLostEvent
,
36269 _swigc__p_wxMouseEvent
,
36270 _swigc__p_wxMoveEvent
,
36271 _swigc__p_wxNativeEncodingInfo
,
36272 _swigc__p_wxNativeFontInfo
,
36273 _swigc__p_wxNativePixelData
,
36274 _swigc__p_wxNativePixelData_Accessor
,
36275 _swigc__p_wxNavigationKeyEvent
,
36276 _swigc__p_wxNcPaintEvent
,
36277 _swigc__p_wxNotifyEvent
,
36278 _swigc__p_wxObject
,
36279 _swigc__p_wxOverlay
,
36280 _swigc__p_wxPCXHandler
,
36281 _swigc__p_wxPNGHandler
,
36282 _swigc__p_wxPNMHandler
,
36283 _swigc__p_wxPaintDC
,
36284 _swigc__p_wxPaintEvent
,
36285 _swigc__p_wxPalette
,
36286 _swigc__p_wxPaletteChangedEvent
,
36287 _swigc__p_wxPaperSize
,
36289 _swigc__p_wxPenList
,
36290 _swigc__p_wxPixelDataBase
,
36292 _swigc__p_wxPoint2D
,
36293 _swigc__p_wxPostScriptDC
,
36294 _swigc__p_wxPrintData
,
36295 _swigc__p_wxPrinterDC
,
36296 _swigc__p_wxPseudoDC
,
36298 _swigc__p_wxPyCommandEvent
,
36299 _swigc__p_wxPyEvent
,
36300 _swigc__p_wxPyFontEnumerator
,
36301 _swigc__p_wxPyImageHandler
,
36302 _swigc__p_wxPyLocale
,
36303 _swigc__p_wxPySizer
,
36304 _swigc__p_wxPyValidator
,
36305 _swigc__p_wxQueryNewPaletteEvent
,
36307 _swigc__p_wxRegion
,
36308 _swigc__p_wxRegionIterator
,
36309 _swigc__p_wxRendererNative
,
36310 _swigc__p_wxRendererVersion
,
36311 _swigc__p_wxScreenDC
,
36312 _swigc__p_wxScrollEvent
,
36313 _swigc__p_wxScrollWinEvent
,
36314 _swigc__p_wxSetCursorEvent
,
36315 _swigc__p_wxShowEvent
,
36317 _swigc__p_wxSizeEvent
,
36319 _swigc__p_wxSizerItem
,
36320 _swigc__p_wxSplitterRenderParams
,
36321 _swigc__p_wxStaticBoxSizer
,
36322 _swigc__p_wxStdDialogButtonSizer
,
36323 _swigc__p_wxStockGDI
,
36324 _swigc__p_wxString
,
36325 _swigc__p_wxSysColourChangedEvent
,
36326 _swigc__p_wxTIFFHandler
,
36327 _swigc__p_wxUpdateUIEvent
,
36328 _swigc__p_wxValidator
,
36329 _swigc__p_wxWindow
,
36330 _swigc__p_wxWindowCreateEvent
,
36331 _swigc__p_wxWindowDC
,
36332 _swigc__p_wxWindowDestroyEvent
,
36333 _swigc__p_wxXPMHandler
,
36337 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
36339 static swig_const_info swig_const_table
[] = {
36340 {0, 0, 0, 0.0, 0, 0}};
36345 /* -----------------------------------------------------------------------------
36346 * Type initialization:
36347 * This problem is tough by the requirement that no dynamic
36348 * memory is used. Also, since swig_type_info structures store pointers to
36349 * swig_cast_info structures and swig_cast_info structures store pointers back
36350 * to swig_type_info structures, we need some lookup code at initialization.
36351 * The idea is that swig generates all the structures that are needed.
36352 * The runtime then collects these partially filled structures.
36353 * The SWIG_InitializeModule function takes these initial arrays out of
36354 * swig_module, and does all the lookup, filling in the swig_module.types
36355 * array with the correct data and linking the correct swig_cast_info
36356 * structures together.
36358 * The generated swig_type_info structures are assigned staticly to an initial
36359 * array. We just loop though that array, and handle each type individually.
36360 * First we lookup if this type has been already loaded, and if so, use the
36361 * loaded structure instead of the generated one. Then we have to fill in the
36362 * cast linked list. The cast data is initially stored in something like a
36363 * two-dimensional array. Each row corresponds to a type (there are the same
36364 * number of rows as there are in the swig_type_initial array). Each entry in
36365 * a column is one of the swig_cast_info structures for that type.
36366 * The cast_initial array is actually an array of arrays, because each row has
36367 * a variable number of columns. So to actually build the cast linked list,
36368 * we find the array of casts associated with the type, and loop through it
36369 * adding the casts to the list. The one last trick we need to do is making
36370 * sure the type pointer in the swig_cast_info struct is correct.
36372 * First off, we lookup the cast->type name to see if it is already loaded.
36373 * There are three cases to handle:
36374 * 1) If the cast->type has already been loaded AND the type we are adding
36375 * casting info to has not been loaded (it is in this module), THEN we
36376 * replace the cast->type pointer with the type pointer that has already
36378 * 2) If BOTH types (the one we are adding casting info to, and the
36379 * cast->type) are loaded, THEN the cast info has already been loaded by
36380 * the previous module so we just ignore it.
36381 * 3) Finally, if cast->type has not already been loaded, then we add that
36382 * swig_cast_info to the linked list (because the cast->type) pointer will
36384 * ----------------------------------------------------------------------------- */
36394 #define SWIGRUNTIME_DEBUG
36398 SWIG_InitializeModule(void *clientdata
) {
36400 swig_module_info
*module_head
;
36401 static int init_run
= 0;
36403 clientdata
= clientdata
;
36405 if (init_run
) return;
36408 /* Initialize the swig_module */
36409 swig_module
.type_initial
= swig_type_initial
;
36410 swig_module
.cast_initial
= swig_cast_initial
;
36412 /* Try and load any already created modules */
36413 module_head
= SWIG_GetModule(clientdata
);
36415 swig_module
.next
= module_head
->next
;
36416 module_head
->next
= &swig_module
;
36418 /* This is the first module loaded */
36419 swig_module
.next
= &swig_module
;
36420 SWIG_SetModule(clientdata
, &swig_module
);
36423 /* Now work on filling in swig_module.types */
36424 #ifdef SWIGRUNTIME_DEBUG
36425 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
36427 for (i
= 0; i
< swig_module
.size
; ++i
) {
36428 swig_type_info
*type
= 0;
36429 swig_type_info
*ret
;
36430 swig_cast_info
*cast
;
36432 #ifdef SWIGRUNTIME_DEBUG
36433 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
36436 /* if there is another module already loaded */
36437 if (swig_module
.next
!= &swig_module
) {
36438 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
36441 /* Overwrite clientdata field */
36442 #ifdef SWIGRUNTIME_DEBUG
36443 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
36445 if (swig_module
.type_initial
[i
]->clientdata
) {
36446 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
36447 #ifdef SWIGRUNTIME_DEBUG
36448 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
36452 type
= swig_module
.type_initial
[i
];
36455 /* Insert casting types */
36456 cast
= swig_module
.cast_initial
[i
];
36457 while (cast
->type
) {
36458 /* Don't need to add information already in the list */
36460 #ifdef SWIGRUNTIME_DEBUG
36461 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
36463 if (swig_module
.next
!= &swig_module
) {
36464 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
36465 #ifdef SWIGRUNTIME_DEBUG
36466 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
36470 if (type
== swig_module
.type_initial
[i
]) {
36471 #ifdef SWIGRUNTIME_DEBUG
36472 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
36477 /* Check for casting already in the list */
36478 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
36479 #ifdef SWIGRUNTIME_DEBUG
36480 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
36482 if (!ocast
) ret
= 0;
36487 #ifdef SWIGRUNTIME_DEBUG
36488 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
36491 type
->cast
->prev
= cast
;
36492 cast
->next
= type
->cast
;
36498 /* Set entry in modules->types array equal to the type */
36499 swig_module
.types
[i
] = type
;
36501 swig_module
.types
[i
] = 0;
36503 #ifdef SWIGRUNTIME_DEBUG
36504 printf("**** SWIG_InitializeModule: Cast List ******\n");
36505 for (i
= 0; i
< swig_module
.size
; ++i
) {
36507 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
36508 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
36509 while (cast
->type
) {
36510 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
36514 printf("---- Total casts: %d\n",j
);
36516 printf("**** SWIG_InitializeModule: Cast List ******\n");
36520 /* This function will propagate the clientdata field of type to
36521 * any new swig_type_info structures that have been added into the list
36522 * of equivalent types. It is like calling
36523 * SWIG_TypeClientData(type, clientdata) a second time.
36526 SWIG_PropagateClientData(void) {
36528 swig_cast_info
*equiv
;
36529 static int init_run
= 0;
36531 if (init_run
) return;
36534 for (i
= 0; i
< swig_module
.size
; i
++) {
36535 if (swig_module
.types
[i
]->clientdata
) {
36536 equiv
= swig_module
.types
[i
]->cast
;
36538 if (!equiv
->converter
) {
36539 if (equiv
->type
&& !equiv
->type
->clientdata
)
36540 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
36542 equiv
= equiv
->next
;
36562 /* Python-specific SWIG API */
36563 #define SWIG_newvarlink() SWIG_Python_newvarlink()
36564 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
36565 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
36567 /* -----------------------------------------------------------------------------
36568 * global variable support code.
36569 * ----------------------------------------------------------------------------- */
36571 typedef struct swig_globalvar
{
36572 char *name
; /* Name of global variable */
36573 PyObject
*(*get_attr
)(void); /* Return the current value */
36574 int (*set_attr
)(PyObject
*); /* Set the value */
36575 struct swig_globalvar
*next
;
36578 typedef struct swig_varlinkobject
{
36580 swig_globalvar
*vars
;
36581 } swig_varlinkobject
;
36583 SWIGINTERN PyObject
*
36584 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
36585 return PyString_FromString("<Swig global variables>");
36588 SWIGINTERN PyObject
*
36589 swig_varlink_str(swig_varlinkobject
*v
) {
36590 PyObject
*str
= PyString_FromString("(");
36591 swig_globalvar
*var
;
36592 for (var
= v
->vars
; var
; var
=var
->next
) {
36593 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
36594 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
36596 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
36601 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
36602 PyObject
*str
= swig_varlink_str(v
);
36603 fprintf(fp
,"Swig global variables ");
36604 fprintf(fp
,"%s\n", PyString_AsString(str
));
36610 swig_varlink_dealloc(swig_varlinkobject
*v
) {
36611 swig_globalvar
*var
= v
->vars
;
36613 swig_globalvar
*n
= var
->next
;
36620 SWIGINTERN PyObject
*
36621 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
36622 PyObject
*res
= NULL
;
36623 swig_globalvar
*var
= v
->vars
;
36625 if (strcmp(var
->name
,n
) == 0) {
36626 res
= (*var
->get_attr
)();
36631 if (res
== NULL
&& !PyErr_Occurred()) {
36632 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
36638 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
36640 swig_globalvar
*var
= v
->vars
;
36642 if (strcmp(var
->name
,n
) == 0) {
36643 res
= (*var
->set_attr
)(p
);
36648 if (res
== 1 && !PyErr_Occurred()) {
36649 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
36654 SWIGINTERN PyTypeObject
*
36655 swig_varlink_type(void) {
36656 static char varlink__doc__
[] = "Swig var link object";
36657 static PyTypeObject varlink_type
;
36658 static int type_init
= 0;
36660 const PyTypeObject tmp
36662 PyObject_HEAD_INIT(NULL
)
36663 0, /* Number of items in variable part (ob_size) */
36664 (char *)"swigvarlink", /* Type name (tp_name) */
36665 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
36666 0, /* Itemsize (tp_itemsize) */
36667 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
36668 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
36669 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
36670 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
36671 0, /* tp_compare */
36672 (reprfunc
) swig_varlink_repr
, /* tp_repr */
36673 0, /* tp_as_number */
36674 0, /* tp_as_sequence */
36675 0, /* tp_as_mapping */
36678 (reprfunc
)swig_varlink_str
, /* tp_str */
36679 0, /* tp_getattro */
36680 0, /* tp_setattro */
36681 0, /* tp_as_buffer */
36683 varlink__doc__
, /* tp_doc */
36684 0, /* tp_traverse */
36686 0, /* tp_richcompare */
36687 0, /* tp_weaklistoffset */
36688 #if PY_VERSION_HEX >= 0x02020000
36689 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
36691 #if PY_VERSION_HEX >= 0x02030000
36694 #ifdef COUNT_ALLOCS
36695 0,0,0,0 /* tp_alloc -> tp_next */
36698 varlink_type
= tmp
;
36699 varlink_type
.ob_type
= &PyType_Type
;
36702 return &varlink_type
;
36705 /* Create a variable linking object for use later */
36706 SWIGINTERN PyObject
*
36707 SWIG_Python_newvarlink(void) {
36708 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
36712 return ((PyObject
*) result
);
36716 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
36717 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
36718 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
36720 size_t size
= strlen(name
)+1;
36721 gv
->name
= (char *)malloc(size
);
36723 strncpy(gv
->name
,name
,size
);
36724 gv
->get_attr
= get_attr
;
36725 gv
->set_attr
= set_attr
;
36726 gv
->next
= v
->vars
;
36732 SWIGINTERN PyObject
*
36734 static PyObject
*_SWIG_globals
= 0;
36735 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
36736 return _SWIG_globals
;
36739 /* -----------------------------------------------------------------------------
36740 * constants/methods manipulation
36741 * ----------------------------------------------------------------------------- */
36743 /* Install Constants */
36745 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
36748 for (i
= 0; constants
[i
].type
; ++i
) {
36749 switch(constants
[i
].type
) {
36750 case SWIG_PY_POINTER
:
36751 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
36753 case SWIG_PY_BINARY
:
36754 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
36761 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
36767 /* -----------------------------------------------------------------------------*/
36768 /* Fix SwigMethods to carry the callback ptrs when needed */
36769 /* -----------------------------------------------------------------------------*/
36772 SWIG_Python_FixMethods(PyMethodDef
*methods
,
36773 swig_const_info
*const_table
,
36774 swig_type_info
**types
,
36775 swig_type_info
**types_initial
) {
36777 for (i
= 0; methods
[i
].ml_name
; ++i
) {
36778 const char *c
= methods
[i
].ml_doc
;
36779 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
36781 swig_const_info
*ci
= 0;
36782 const char *name
= c
+ 10;
36783 for (j
= 0; const_table
[j
].type
; ++j
) {
36784 if (strncmp(const_table
[j
].name
, name
,
36785 strlen(const_table
[j
].name
)) == 0) {
36786 ci
= &(const_table
[j
]);
36791 size_t shift
= (ci
->ptype
) - types
;
36792 swig_type_info
*ty
= types_initial
[shift
];
36793 size_t ldoc
= (c
- methods
[i
].ml_doc
);
36794 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
36795 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
36798 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
36800 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
36802 strncpy(buff
, "swig_ptr: ", 10);
36804 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
36805 methods
[i
].ml_doc
= ndoc
;
36817 /* -----------------------------------------------------------------------------*
36818 * Partial Init method
36819 * -----------------------------------------------------------------------------*/
36824 SWIGEXPORT
void SWIG_init(void) {
36827 /* Fix SwigMethods to carry the callback ptrs when needed */
36828 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
36830 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
36831 d
= PyModule_GetDict(m
);
36833 SWIG_InitializeModule(0);
36834 SWIG_InstallConstants(d
,swig_const_table
);
36837 SWIG_Python_SetConstant(d
, "C2S_NAME",SWIG_From_int(static_cast< int >(wxC2S_NAME
)));
36838 SWIG_Python_SetConstant(d
, "C2S_CSS_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_CSS_SYNTAX
)));
36839 SWIG_Python_SetConstant(d
, "C2S_HTML_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_HTML_SYNTAX
)));
36840 SWIG_Python_SetConstant(d
, "ALPHA_TRANSPARENT",SWIG_From_int(static_cast< int >(wxALPHA_TRANSPARENT
)));
36841 SWIG_Python_SetConstant(d
, "ALPHA_OPAQUE",SWIG_From_int(static_cast< int >(wxALPHA_OPAQUE
)));
36842 SWIG_Python_SetConstant(d
, "OutRegion",SWIG_From_int(static_cast< int >(wxOutRegion
)));
36843 SWIG_Python_SetConstant(d
, "PartRegion",SWIG_From_int(static_cast< int >(wxPartRegion
)));
36844 SWIG_Python_SetConstant(d
, "InRegion",SWIG_From_int(static_cast< int >(wxInRegion
)));
36845 SWIG_Python_SetConstant(d
, "FONTFAMILY_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DEFAULT
)));
36846 SWIG_Python_SetConstant(d
, "FONTFAMILY_DECORATIVE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DECORATIVE
)));
36847 SWIG_Python_SetConstant(d
, "FONTFAMILY_ROMAN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_ROMAN
)));
36848 SWIG_Python_SetConstant(d
, "FONTFAMILY_SCRIPT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SCRIPT
)));
36849 SWIG_Python_SetConstant(d
, "FONTFAMILY_SWISS",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SWISS
)));
36850 SWIG_Python_SetConstant(d
, "FONTFAMILY_MODERN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MODERN
)));
36851 SWIG_Python_SetConstant(d
, "FONTFAMILY_TELETYPE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_TELETYPE
)));
36852 SWIG_Python_SetConstant(d
, "FONTFAMILY_MAX",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MAX
)));
36853 SWIG_Python_SetConstant(d
, "FONTFAMILY_UNKNOWN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_UNKNOWN
)));
36854 SWIG_Python_SetConstant(d
, "FONTSTYLE_NORMAL",SWIG_From_int(static_cast< int >(wxFONTSTYLE_NORMAL
)));
36855 SWIG_Python_SetConstant(d
, "FONTSTYLE_ITALIC",SWIG_From_int(static_cast< int >(wxFONTSTYLE_ITALIC
)));
36856 SWIG_Python_SetConstant(d
, "FONTSTYLE_SLANT",SWIG_From_int(static_cast< int >(wxFONTSTYLE_SLANT
)));
36857 SWIG_Python_SetConstant(d
, "FONTSTYLE_MAX",SWIG_From_int(static_cast< int >(wxFONTSTYLE_MAX
)));
36858 SWIG_Python_SetConstant(d
, "FONTWEIGHT_NORMAL",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_NORMAL
)));
36859 SWIG_Python_SetConstant(d
, "FONTWEIGHT_LIGHT",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_LIGHT
)));
36860 SWIG_Python_SetConstant(d
, "FONTWEIGHT_BOLD",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_BOLD
)));
36861 SWIG_Python_SetConstant(d
, "FONTWEIGHT_MAX",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_MAX
)));
36862 SWIG_Python_SetConstant(d
, "FONTFLAG_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFLAG_DEFAULT
)));
36863 SWIG_Python_SetConstant(d
, "FONTFLAG_ITALIC",SWIG_From_int(static_cast< int >(wxFONTFLAG_ITALIC
)));
36864 SWIG_Python_SetConstant(d
, "FONTFLAG_SLANT",SWIG_From_int(static_cast< int >(wxFONTFLAG_SLANT
)));
36865 SWIG_Python_SetConstant(d
, "FONTFLAG_LIGHT",SWIG_From_int(static_cast< int >(wxFONTFLAG_LIGHT
)));
36866 SWIG_Python_SetConstant(d
, "FONTFLAG_BOLD",SWIG_From_int(static_cast< int >(wxFONTFLAG_BOLD
)));
36867 SWIG_Python_SetConstant(d
, "FONTFLAG_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_ANTIALIASED
)));
36868 SWIG_Python_SetConstant(d
, "FONTFLAG_NOT_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_NOT_ANTIALIASED
)));
36869 SWIG_Python_SetConstant(d
, "FONTFLAG_UNDERLINED",SWIG_From_int(static_cast< int >(wxFONTFLAG_UNDERLINED
)));
36870 SWIG_Python_SetConstant(d
, "FONTFLAG_STRIKETHROUGH",SWIG_From_int(static_cast< int >(wxFONTFLAG_STRIKETHROUGH
)));
36871 SWIG_Python_SetConstant(d
, "FONTFLAG_MASK",SWIG_From_int(static_cast< int >(wxFONTFLAG_MASK
)));
36872 SWIG_Python_SetConstant(d
, "FONTENCODING_SYSTEM",SWIG_From_int(static_cast< int >(wxFONTENCODING_SYSTEM
)));
36873 SWIG_Python_SetConstant(d
, "FONTENCODING_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTENCODING_DEFAULT
)));
36874 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_1",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_1
)));
36875 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_2",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_2
)));
36876 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_3",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_3
)));
36877 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_4",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_4
)));
36878 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_5",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_5
)));
36879 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_6",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_6
)));
36880 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_7",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_7
)));
36881 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_8",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_8
)));
36882 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_9",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_9
)));
36883 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_10",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_10
)));
36884 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_11",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_11
)));
36885 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_12",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_12
)));
36886 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_13",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_13
)));
36887 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_14",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_14
)));
36888 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_15",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_15
)));
36889 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_MAX
)));
36890 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8
)));
36891 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8_U",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8_U
)));
36892 SWIG_Python_SetConstant(d
, "FONTENCODING_ALTERNATIVE",SWIG_From_int(static_cast< int >(wxFONTENCODING_ALTERNATIVE
)));
36893 SWIG_Python_SetConstant(d
, "FONTENCODING_BULGARIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_BULGARIAN
)));
36894 SWIG_Python_SetConstant(d
, "FONTENCODING_CP437",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP437
)));
36895 SWIG_Python_SetConstant(d
, "FONTENCODING_CP850",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP850
)));
36896 SWIG_Python_SetConstant(d
, "FONTENCODING_CP852",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP852
)));
36897 SWIG_Python_SetConstant(d
, "FONTENCODING_CP855",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP855
)));
36898 SWIG_Python_SetConstant(d
, "FONTENCODING_CP866",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP866
)));
36899 SWIG_Python_SetConstant(d
, "FONTENCODING_CP874",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP874
)));
36900 SWIG_Python_SetConstant(d
, "FONTENCODING_CP932",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP932
)));
36901 SWIG_Python_SetConstant(d
, "FONTENCODING_CP936",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP936
)));
36902 SWIG_Python_SetConstant(d
, "FONTENCODING_CP949",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP949
)));
36903 SWIG_Python_SetConstant(d
, "FONTENCODING_CP950",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP950
)));
36904 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1250",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1250
)));
36905 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1251",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1251
)));
36906 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1252",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1252
)));
36907 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1253",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1253
)));
36908 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1254",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1254
)));
36909 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1255",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1255
)));
36910 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1256",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1256
)));
36911 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1257",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1257
)));
36912 SWIG_Python_SetConstant(d
, "FONTENCODING_CP12_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP12_MAX
)));
36913 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF7",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF7
)));
36914 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF8",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF8
)));
36915 SWIG_Python_SetConstant(d
, "FONTENCODING_EUC_JP",SWIG_From_int(static_cast< int >(wxFONTENCODING_EUC_JP
)));
36916 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16BE
)));
36917 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16LE
)));
36918 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32BE
)));
36919 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32LE
)));
36920 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMAN
)));
36921 SWIG_Python_SetConstant(d
, "FONTENCODING_MACJAPANESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACJAPANESE
)));
36922 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESETRAD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESETRAD
)));
36923 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKOREAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKOREAN
)));
36924 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABIC
)));
36925 SWIG_Python_SetConstant(d
, "FONTENCODING_MACHEBREW",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACHEBREW
)));
36926 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGREEK",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGREEK
)));
36927 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCYRILLIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCYRILLIC
)));
36928 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDEVANAGARI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDEVANAGARI
)));
36929 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGURMUKHI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGURMUKHI
)));
36930 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGUJARATI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGUJARATI
)));
36931 SWIG_Python_SetConstant(d
, "FONTENCODING_MACORIYA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACORIYA
)));
36932 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBENGALI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBENGALI
)));
36933 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTAMIL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTAMIL
)));
36934 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTELUGU",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTELUGU
)));
36935 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKANNADA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKANNADA
)));
36936 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMALAJALAM",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMALAJALAM
)));
36937 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSINHALESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSINHALESE
)));
36938 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBURMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBURMESE
)));
36939 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKHMER",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKHMER
)));
36940 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTHAI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTHAI
)));
36941 SWIG_Python_SetConstant(d
, "FONTENCODING_MACLAOTIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACLAOTIAN
)));
36942 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGEORGIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGEORGIAN
)));
36943 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARMENIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARMENIAN
)));
36944 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESESIMP",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESESIMP
)));
36945 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTIBETAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTIBETAN
)));
36946 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMONGOLIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMONGOLIAN
)));
36947 SWIG_Python_SetConstant(d
, "FONTENCODING_MACETHIOPIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACETHIOPIC
)));
36948 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCENTRALEUR",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCENTRALEUR
)));
36949 SWIG_Python_SetConstant(d
, "FONTENCODING_MACVIATNAMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACVIATNAMESE
)));
36950 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABICEXT",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABICEXT
)));
36951 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSYMBOL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSYMBOL
)));
36952 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDINGBATS",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDINGBATS
)));
36953 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTURKISH",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTURKISH
)));
36954 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCROATIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCROATIAN
)));
36955 SWIG_Python_SetConstant(d
, "FONTENCODING_MACICELANDIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACICELANDIC
)));
36956 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMANIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMANIAN
)));
36957 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCELTIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCELTIC
)));
36958 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGAELIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGAELIC
)));
36959 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKEYBOARD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKEYBOARD
)));
36960 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMIN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMIN
)));
36961 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMAX
)));
36962 SWIG_Python_SetConstant(d
, "FONTENCODING_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MAX
)));
36963 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16
)));
36964 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32
)));
36965 SWIG_Python_SetConstant(d
, "FONTENCODING_UNICODE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UNICODE
)));
36966 SWIG_Python_SetConstant(d
, "FONTENCODING_GB2312",SWIG_From_int(static_cast< int >(wxFONTENCODING_GB2312
)));
36967 SWIG_Python_SetConstant(d
, "FONTENCODING_BIG5",SWIG_From_int(static_cast< int >(wxFONTENCODING_BIG5
)));
36968 SWIG_Python_SetConstant(d
, "FONTENCODING_SHIFT_JIS",SWIG_From_int(static_cast< int >(wxFONTENCODING_SHIFT_JIS
)));
36970 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
36972 SWIG_Python_SetConstant(d
, "LANGUAGE_DEFAULT",SWIG_From_int(static_cast< int >(wxLANGUAGE_DEFAULT
)));
36973 SWIG_Python_SetConstant(d
, "LANGUAGE_UNKNOWN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UNKNOWN
)));
36974 SWIG_Python_SetConstant(d
, "LANGUAGE_ABKHAZIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ABKHAZIAN
)));
36975 SWIG_Python_SetConstant(d
, "LANGUAGE_AFAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFAR
)));
36976 SWIG_Python_SetConstant(d
, "LANGUAGE_AFRIKAANS",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFRIKAANS
)));
36977 SWIG_Python_SetConstant(d
, "LANGUAGE_ALBANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ALBANIAN
)));
36978 SWIG_Python_SetConstant(d
, "LANGUAGE_AMHARIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AMHARIC
)));
36979 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC
)));
36980 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_ALGERIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_ALGERIA
)));
36981 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_BAHRAIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_BAHRAIN
)));
36982 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_EGYPT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_EGYPT
)));
36983 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_IRAQ",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_IRAQ
)));
36984 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_JORDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_JORDAN
)));
36985 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_KUWAIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_KUWAIT
)));
36986 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LEBANON",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LEBANON
)));
36987 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LIBYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LIBYA
)));
36988 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_MOROCCO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_MOROCCO
)));
36989 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_OMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_OMAN
)));
36990 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_QATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_QATAR
)));
36991 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SAUDI_ARABIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SAUDI_ARABIA
)));
36992 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SUDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SUDAN
)));
36993 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SYRIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SYRIA
)));
36994 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_TUNISIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_TUNISIA
)));
36995 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_UAE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_UAE
)));
36996 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_YEMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_YEMEN
)));
36997 SWIG_Python_SetConstant(d
, "LANGUAGE_ARMENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARMENIAN
)));
36998 SWIG_Python_SetConstant(d
, "LANGUAGE_ASSAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ASSAMESE
)));
36999 SWIG_Python_SetConstant(d
, "LANGUAGE_AYMARA",SWIG_From_int(static_cast< int >(wxLANGUAGE_AYMARA
)));
37000 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI
)));
37001 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_CYRILLIC
)));
37002 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_LATIN
)));
37003 SWIG_Python_SetConstant(d
, "LANGUAGE_BASHKIR",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASHKIR
)));
37004 SWIG_Python_SetConstant(d
, "LANGUAGE_BASQUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASQUE
)));
37005 SWIG_Python_SetConstant(d
, "LANGUAGE_BELARUSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BELARUSIAN
)));
37006 SWIG_Python_SetConstant(d
, "LANGUAGE_BENGALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BENGALI
)));
37007 SWIG_Python_SetConstant(d
, "LANGUAGE_BHUTANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BHUTANI
)));
37008 SWIG_Python_SetConstant(d
, "LANGUAGE_BIHARI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BIHARI
)));
37009 SWIG_Python_SetConstant(d
, "LANGUAGE_BISLAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_BISLAMA
)));
37010 SWIG_Python_SetConstant(d
, "LANGUAGE_BRETON",SWIG_From_int(static_cast< int >(wxLANGUAGE_BRETON
)));
37011 SWIG_Python_SetConstant(d
, "LANGUAGE_BULGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BULGARIAN
)));
37012 SWIG_Python_SetConstant(d
, "LANGUAGE_BURMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BURMESE
)));
37013 SWIG_Python_SetConstant(d
, "LANGUAGE_CAMBODIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CAMBODIAN
)));
37014 SWIG_Python_SetConstant(d
, "LANGUAGE_CATALAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CATALAN
)));
37015 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE
)));
37016 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SIMPLIFIED",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SIMPLIFIED
)));
37017 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TRADITIONAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TRADITIONAL
)));
37018 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_HONGKONG",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_HONGKONG
)));
37019 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_MACAU",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_MACAU
)));
37020 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SINGAPORE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SINGAPORE
)));
37021 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TAIWAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TAIWAN
)));
37022 SWIG_Python_SetConstant(d
, "LANGUAGE_CORSICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CORSICAN
)));
37023 SWIG_Python_SetConstant(d
, "LANGUAGE_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CROATIAN
)));
37024 SWIG_Python_SetConstant(d
, "LANGUAGE_CZECH",SWIG_From_int(static_cast< int >(wxLANGUAGE_CZECH
)));
37025 SWIG_Python_SetConstant(d
, "LANGUAGE_DANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DANISH
)));
37026 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH
)));
37027 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH_BELGIAN
)));
37028 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH
)));
37029 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_UK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_UK
)));
37030 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_US
)));
37031 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_AUSTRALIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_AUSTRALIA
)));
37032 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BELIZE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BELIZE
)));
37033 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BOTSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BOTSWANA
)));
37034 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CANADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CANADA
)));
37035 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CARIBBEAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CARIBBEAN
)));
37036 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_DENMARK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_DENMARK
)));
37037 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_EIRE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_EIRE
)));
37038 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_JAMAICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_JAMAICA
)));
37039 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_NEW_ZEALAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_NEW_ZEALAND
)));
37040 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_PHILIPPINES",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_PHILIPPINES
)));
37041 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_SOUTH_AFRICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_SOUTH_AFRICA
)));
37042 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_TRINIDAD",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_TRINIDAD
)));
37043 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_ZIMBABWE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_ZIMBABWE
)));
37044 SWIG_Python_SetConstant(d
, "LANGUAGE_ESPERANTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESPERANTO
)));
37045 SWIG_Python_SetConstant(d
, "LANGUAGE_ESTONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESTONIAN
)));
37046 SWIG_Python_SetConstant(d
, "LANGUAGE_FAEROESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_FAEROESE
)));
37047 SWIG_Python_SetConstant(d
, "LANGUAGE_FARSI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FARSI
)));
37048 SWIG_Python_SetConstant(d
, "LANGUAGE_FIJI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FIJI
)));
37049 SWIG_Python_SetConstant(d
, "LANGUAGE_FINNISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FINNISH
)));
37050 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH
)));
37051 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_BELGIAN
)));
37052 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_CANADIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_CANADIAN
)));
37053 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_LUXEMBOURG
)));
37054 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_MONACO",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_MONACO
)));
37055 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_SWISS
)));
37056 SWIG_Python_SetConstant(d
, "LANGUAGE_FRISIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRISIAN
)));
37057 SWIG_Python_SetConstant(d
, "LANGUAGE_GALICIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GALICIAN
)));
37058 SWIG_Python_SetConstant(d
, "LANGUAGE_GEORGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GEORGIAN
)));
37059 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN
)));
37060 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_AUSTRIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_AUSTRIAN
)));
37061 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_BELGIUM",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_BELGIUM
)));
37062 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LIECHTENSTEIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LIECHTENSTEIN
)));
37063 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LUXEMBOURG
)));
37064 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_SWISS
)));
37065 SWIG_Python_SetConstant(d
, "LANGUAGE_GREEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREEK
)));
37066 SWIG_Python_SetConstant(d
, "LANGUAGE_GREENLANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREENLANDIC
)));
37067 SWIG_Python_SetConstant(d
, "LANGUAGE_GUARANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUARANI
)));
37068 SWIG_Python_SetConstant(d
, "LANGUAGE_GUJARATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUJARATI
)));
37069 SWIG_Python_SetConstant(d
, "LANGUAGE_HAUSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_HAUSA
)));
37070 SWIG_Python_SetConstant(d
, "LANGUAGE_HEBREW",SWIG_From_int(static_cast< int >(wxLANGUAGE_HEBREW
)));
37071 SWIG_Python_SetConstant(d
, "LANGUAGE_HINDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_HINDI
)));
37072 SWIG_Python_SetConstant(d
, "LANGUAGE_HUNGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_HUNGARIAN
)));
37073 SWIG_Python_SetConstant(d
, "LANGUAGE_ICELANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ICELANDIC
)));
37074 SWIG_Python_SetConstant(d
, "LANGUAGE_INDONESIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_INDONESIAN
)));
37075 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUA
)));
37076 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUE
)));
37077 SWIG_Python_SetConstant(d
, "LANGUAGE_INUKTITUT",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUKTITUT
)));
37078 SWIG_Python_SetConstant(d
, "LANGUAGE_INUPIAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUPIAK
)));
37079 SWIG_Python_SetConstant(d
, "LANGUAGE_IRISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_IRISH
)));
37080 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN
)));
37081 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN_SWISS
)));
37082 SWIG_Python_SetConstant(d
, "LANGUAGE_JAPANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAPANESE
)));
37083 SWIG_Python_SetConstant(d
, "LANGUAGE_JAVANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAVANESE
)));
37084 SWIG_Python_SetConstant(d
, "LANGUAGE_KANNADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KANNADA
)));
37085 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI
)));
37086 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI_INDIA
)));
37087 SWIG_Python_SetConstant(d
, "LANGUAGE_KAZAKH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KAZAKH
)));
37088 SWIG_Python_SetConstant(d
, "LANGUAGE_KERNEWEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_KERNEWEK
)));
37089 SWIG_Python_SetConstant(d
, "LANGUAGE_KINYARWANDA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KINYARWANDA
)));
37090 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRGHIZ",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRGHIZ
)));
37091 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRUNDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRUNDI
)));
37092 SWIG_Python_SetConstant(d
, "LANGUAGE_KONKANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KONKANI
)));
37093 SWIG_Python_SetConstant(d
, "LANGUAGE_KOREAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_KOREAN
)));
37094 SWIG_Python_SetConstant(d
, "LANGUAGE_KURDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KURDISH
)));
37095 SWIG_Python_SetConstant(d
, "LANGUAGE_LAOTHIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LAOTHIAN
)));
37096 SWIG_Python_SetConstant(d
, "LANGUAGE_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATIN
)));
37097 SWIG_Python_SetConstant(d
, "LANGUAGE_LATVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATVIAN
)));
37098 SWIG_Python_SetConstant(d
, "LANGUAGE_LINGALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_LINGALA
)));
37099 SWIG_Python_SetConstant(d
, "LANGUAGE_LITHUANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LITHUANIAN
)));
37100 SWIG_Python_SetConstant(d
, "LANGUAGE_MACEDONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MACEDONIAN
)));
37101 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAGASY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAGASY
)));
37102 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY
)));
37103 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAYALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAYALAM
)));
37104 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_BRUNEI_DARUSSALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
)));
37105 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_MALAYSIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_MALAYSIA
)));
37106 SWIG_Python_SetConstant(d
, "LANGUAGE_MALTESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALTESE
)));
37107 SWIG_Python_SetConstant(d
, "LANGUAGE_MANIPURI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MANIPURI
)));
37108 SWIG_Python_SetConstant(d
, "LANGUAGE_MAORI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MAORI
)));
37109 SWIG_Python_SetConstant(d
, "LANGUAGE_MARATHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MARATHI
)));
37110 SWIG_Python_SetConstant(d
, "LANGUAGE_MOLDAVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MOLDAVIAN
)));
37111 SWIG_Python_SetConstant(d
, "LANGUAGE_MONGOLIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MONGOLIAN
)));
37112 SWIG_Python_SetConstant(d
, "LANGUAGE_NAURU",SWIG_From_int(static_cast< int >(wxLANGUAGE_NAURU
)));
37113 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI
)));
37114 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI_INDIA
)));
37115 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_BOKMAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_BOKMAL
)));
37116 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_NYNORSK",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_NYNORSK
)));
37117 SWIG_Python_SetConstant(d
, "LANGUAGE_OCCITAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_OCCITAN
)));
37118 SWIG_Python_SetConstant(d
, "LANGUAGE_ORIYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ORIYA
)));
37119 SWIG_Python_SetConstant(d
, "LANGUAGE_OROMO",SWIG_From_int(static_cast< int >(wxLANGUAGE_OROMO
)));
37120 SWIG_Python_SetConstant(d
, "LANGUAGE_PASHTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_PASHTO
)));
37121 SWIG_Python_SetConstant(d
, "LANGUAGE_POLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_POLISH
)));
37122 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE
)));
37123 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE_BRAZILIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE_BRAZILIAN
)));
37124 SWIG_Python_SetConstant(d
, "LANGUAGE_PUNJABI",SWIG_From_int(static_cast< int >(wxLANGUAGE_PUNJABI
)));
37125 SWIG_Python_SetConstant(d
, "LANGUAGE_QUECHUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_QUECHUA
)));
37126 SWIG_Python_SetConstant(d
, "LANGUAGE_RHAETO_ROMANCE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RHAETO_ROMANCE
)));
37127 SWIG_Python_SetConstant(d
, "LANGUAGE_ROMANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ROMANIAN
)));
37128 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN
)));
37129 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN_UKRAINE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN_UKRAINE
)));
37130 SWIG_Python_SetConstant(d
, "LANGUAGE_SAMOAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SAMOAN
)));
37131 SWIG_Python_SetConstant(d
, "LANGUAGE_SANGHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANGHO
)));
37132 SWIG_Python_SetConstant(d
, "LANGUAGE_SANSKRIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANSKRIT
)));
37133 SWIG_Python_SetConstant(d
, "LANGUAGE_SCOTS_GAELIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SCOTS_GAELIC
)));
37134 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN
)));
37135 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_CYRILLIC
)));
37136 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_LATIN
)));
37137 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBO_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBO_CROATIAN
)));
37138 SWIG_Python_SetConstant(d
, "LANGUAGE_SESOTHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SESOTHO
)));
37139 SWIG_Python_SetConstant(d
, "LANGUAGE_SETSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SETSWANA
)));
37140 SWIG_Python_SetConstant(d
, "LANGUAGE_SHONA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SHONA
)));
37141 SWIG_Python_SetConstant(d
, "LANGUAGE_SINDHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINDHI
)));
37142 SWIG_Python_SetConstant(d
, "LANGUAGE_SINHALESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINHALESE
)));
37143 SWIG_Python_SetConstant(d
, "LANGUAGE_SISWATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SISWATI
)));
37144 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVAK
)));
37145 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVENIAN
)));
37146 SWIG_Python_SetConstant(d
, "LANGUAGE_SOMALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SOMALI
)));
37147 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH
)));
37148 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ARGENTINA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ARGENTINA
)));
37149 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_BOLIVIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_BOLIVIA
)));
37150 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_CHILE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_CHILE
)));
37151 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COLOMBIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COLOMBIA
)));
37152 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COSTA_RICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COSTA_RICA
)));
37153 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_DOMINICAN_REPUBLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
)));
37154 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ECUADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ECUADOR
)));
37155 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_EL_SALVADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_EL_SALVADOR
)));
37156 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_GUATEMALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_GUATEMALA
)));
37157 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_HONDURAS",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_HONDURAS
)));
37158 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MEXICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MEXICAN
)));
37159 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MODERN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MODERN
)));
37160 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_NICARAGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_NICARAGUA
)));
37161 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PANAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PANAMA
)));
37162 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PARAGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PARAGUAY
)));
37163 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PERU",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PERU
)));
37164 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PUERTO_RICO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PUERTO_RICO
)));
37165 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_URUGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_URUGUAY
)));
37166 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_US
)));
37167 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_VENEZUELA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_VENEZUELA
)));
37168 SWIG_Python_SetConstant(d
, "LANGUAGE_SUNDANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SUNDANESE
)));
37169 SWIG_Python_SetConstant(d
, "LANGUAGE_SWAHILI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWAHILI
)));
37170 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH
)));
37171 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH_FINLAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH_FINLAND
)));
37172 SWIG_Python_SetConstant(d
, "LANGUAGE_TAGALOG",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAGALOG
)));
37173 SWIG_Python_SetConstant(d
, "LANGUAGE_TAJIK",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAJIK
)));
37174 SWIG_Python_SetConstant(d
, "LANGUAGE_TAMIL",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAMIL
)));
37175 SWIG_Python_SetConstant(d
, "LANGUAGE_TATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_TATAR
)));
37176 SWIG_Python_SetConstant(d
, "LANGUAGE_TELUGU",SWIG_From_int(static_cast< int >(wxLANGUAGE_TELUGU
)));
37177 SWIG_Python_SetConstant(d
, "LANGUAGE_THAI",SWIG_From_int(static_cast< int >(wxLANGUAGE_THAI
)));
37178 SWIG_Python_SetConstant(d
, "LANGUAGE_TIBETAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIBETAN
)));
37179 SWIG_Python_SetConstant(d
, "LANGUAGE_TIGRINYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIGRINYA
)));
37180 SWIG_Python_SetConstant(d
, "LANGUAGE_TONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TONGA
)));
37181 SWIG_Python_SetConstant(d
, "LANGUAGE_TSONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TSONGA
)));
37182 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKISH
)));
37183 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKMEN
)));
37184 SWIG_Python_SetConstant(d
, "LANGUAGE_TWI",SWIG_From_int(static_cast< int >(wxLANGUAGE_TWI
)));
37185 SWIG_Python_SetConstant(d
, "LANGUAGE_UIGHUR",SWIG_From_int(static_cast< int >(wxLANGUAGE_UIGHUR
)));
37186 SWIG_Python_SetConstant(d
, "LANGUAGE_UKRAINIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UKRAINIAN
)));
37187 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU
)));
37188 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_INDIA
)));
37189 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_PAKISTAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_PAKISTAN
)));
37190 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK
)));
37191 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_CYRILLIC
)));
37192 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_LATIN
)));
37193 SWIG_Python_SetConstant(d
, "LANGUAGE_VIETNAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_VIETNAMESE
)));
37194 SWIG_Python_SetConstant(d
, "LANGUAGE_VOLAPUK",SWIG_From_int(static_cast< int >(wxLANGUAGE_VOLAPUK
)));
37195 SWIG_Python_SetConstant(d
, "LANGUAGE_WELSH",SWIG_From_int(static_cast< int >(wxLANGUAGE_WELSH
)));
37196 SWIG_Python_SetConstant(d
, "LANGUAGE_WOLOF",SWIG_From_int(static_cast< int >(wxLANGUAGE_WOLOF
)));
37197 SWIG_Python_SetConstant(d
, "LANGUAGE_XHOSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_XHOSA
)));
37198 SWIG_Python_SetConstant(d
, "LANGUAGE_YIDDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_YIDDISH
)));
37199 SWIG_Python_SetConstant(d
, "LANGUAGE_YORUBA",SWIG_From_int(static_cast< int >(wxLANGUAGE_YORUBA
)));
37200 SWIG_Python_SetConstant(d
, "LANGUAGE_ZHUANG",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZHUANG
)));
37201 SWIG_Python_SetConstant(d
, "LANGUAGE_ZULU",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZULU
)));
37202 SWIG_Python_SetConstant(d
, "LANGUAGE_USER_DEFINED",SWIG_From_int(static_cast< int >(wxLANGUAGE_USER_DEFINED
)));
37203 SWIG_Python_SetConstant(d
, "LOCALE_CAT_NUMBER",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_NUMBER
)));
37204 SWIG_Python_SetConstant(d
, "LOCALE_CAT_DATE",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_DATE
)));
37205 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MONEY",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MONEY
)));
37206 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MAX",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MAX
)));
37207 SWIG_Python_SetConstant(d
, "LOCALE_THOUSANDS_SEP",SWIG_From_int(static_cast< int >(wxLOCALE_THOUSANDS_SEP
)));
37208 SWIG_Python_SetConstant(d
, "LOCALE_DECIMAL_POINT",SWIG_From_int(static_cast< int >(wxLOCALE_DECIMAL_POINT
)));
37209 SWIG_Python_SetConstant(d
, "LOCALE_LOAD_DEFAULT",SWIG_From_int(static_cast< int >(wxLOCALE_LOAD_DEFAULT
)));
37210 SWIG_Python_SetConstant(d
, "LOCALE_CONV_ENCODING",SWIG_From_int(static_cast< int >(wxLOCALE_CONV_ENCODING
)));
37211 SWIG_Python_SetConstant(d
, "CONVERT_STRICT",SWIG_From_int(static_cast< int >(wxCONVERT_STRICT
)));
37212 SWIG_Python_SetConstant(d
, "CONVERT_SUBSTITUTE",SWIG_From_int(static_cast< int >(wxCONVERT_SUBSTITUTE
)));
37213 SWIG_Python_SetConstant(d
, "PLATFORM_CURRENT",SWIG_From_int(static_cast< int >(wxPLATFORM_CURRENT
)));
37214 SWIG_Python_SetConstant(d
, "PLATFORM_UNIX",SWIG_From_int(static_cast< int >(wxPLATFORM_UNIX
)));
37215 SWIG_Python_SetConstant(d
, "PLATFORM_WINDOWS",SWIG_From_int(static_cast< int >(wxPLATFORM_WINDOWS
)));
37216 SWIG_Python_SetConstant(d
, "PLATFORM_OS2",SWIG_From_int(static_cast< int >(wxPLATFORM_OS2
)));
37217 SWIG_Python_SetConstant(d
, "PLATFORM_MAC",SWIG_From_int(static_cast< int >(wxPLATFORM_MAC
)));
37218 SWIG_Python_SetConstant(d
, "BUFFER_VIRTUAL_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_VIRTUAL_AREA
)));
37219 SWIG_Python_SetConstant(d
, "BUFFER_CLIENT_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_CLIENT_AREA
)));
37220 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_NORMAL
)));
37221 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_TRANSPARENT",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_TRANSPARENT
)));
37222 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_SELECTED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_SELECTED
)));
37223 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_FOCUSED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_FOCUSED
)));
37224 SWIG_Python_SetConstant(d
, "IMAGE_LIST_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_NORMAL
)));
37225 SWIG_Python_SetConstant(d
, "IMAGE_LIST_SMALL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_SMALL
)));
37226 SWIG_Python_SetConstant(d
, "IMAGE_LIST_STATE",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_STATE
)));
37227 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLACK
)));
37228 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLUE
)));
37229 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_CYAN
)));
37230 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREEN
)));
37231 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREY
)));
37232 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_LIGHTGREY
)));
37233 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_MEDIUMGREY
)));
37234 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_RED",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_RED
)));
37235 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_TRANSPARENT
)));
37236 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_WHITE
)));
37237 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLACK
)));
37238 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLUE
)));
37239 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_CYAN
)));
37240 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_GREEN
)));
37241 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_LIGHTGREY
)));
37242 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_RED",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_RED
)));
37243 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_WHITE
)));
37244 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_CROSS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_CROSS
)));
37245 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_HOURGLASS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_HOURGLASS
)));
37246 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_STANDARD",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_STANDARD
)));
37247 SWIG_Python_SetConstant(d
, "StockGDI_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_ITALIC
)));
37248 SWIG_Python_SetConstant(d
, "StockGDI_FONT_NORMAL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_NORMAL
)));
37249 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SMALL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SMALL
)));
37250 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SWISS",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SWISS
)));
37251 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACK
)));
37252 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACKDASHED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACKDASHED
)));
37253 SWIG_Python_SetConstant(d
, "StockGDI_PEN_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_CYAN
)));
37254 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREEN
)));
37255 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREY
)));
37256 SWIG_Python_SetConstant(d
, "StockGDI_PEN_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_LIGHTGREY
)));
37257 SWIG_Python_SetConstant(d
, "StockGDI_PEN_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_MEDIUMGREY
)));
37258 SWIG_Python_SetConstant(d
, "StockGDI_PEN_RED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_RED
)));
37259 SWIG_Python_SetConstant(d
, "StockGDI_PEN_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_TRANSPARENT
)));
37260 SWIG_Python_SetConstant(d
, "StockGDI_PEN_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_WHITE
)));
37261 SWIG_Python_SetConstant(d
, "StockGDI_ITEMCOUNT",SWIG_From_int(static_cast< int >(wxStockGDI::ITEMCOUNT
)));
37262 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
37263 SWIG_addvarlink(SWIG_globals(),(char*)"NullBitmap",NullBitmap_get
, NullBitmap_set
);
37264 SWIG_addvarlink(SWIG_globals(),(char*)"NullIcon",NullIcon_get
, NullIcon_set
);
37265 SWIG_addvarlink(SWIG_globals(),(char*)"NullCursor",NullCursor_get
, NullCursor_set
);
37266 SWIG_addvarlink(SWIG_globals(),(char*)"NullPen",NullPen_get
, NullPen_set
);
37267 SWIG_addvarlink(SWIG_globals(),(char*)"NullBrush",NullBrush_get
, NullBrush_set
);
37268 SWIG_addvarlink(SWIG_globals(),(char*)"NullPalette",NullPalette_get
, NullPalette_set
);
37269 SWIG_addvarlink(SWIG_globals(),(char*)"NullFont",NullFont_get
, NullFont_set
);
37270 SWIG_addvarlink(SWIG_globals(),(char*)"NullColour",NullColour_get
, NullColour_set
);
37271 SWIG_Python_SetConstant(d
, "CONTROL_DISABLED",SWIG_From_int(static_cast< int >(wxCONTROL_DISABLED
)));
37272 SWIG_Python_SetConstant(d
, "CONTROL_FOCUSED",SWIG_From_int(static_cast< int >(wxCONTROL_FOCUSED
)));
37273 SWIG_Python_SetConstant(d
, "CONTROL_PRESSED",SWIG_From_int(static_cast< int >(wxCONTROL_PRESSED
)));
37274 SWIG_Python_SetConstant(d
, "CONTROL_SPECIAL",SWIG_From_int(static_cast< int >(wxCONTROL_SPECIAL
)));
37275 SWIG_Python_SetConstant(d
, "CONTROL_ISDEFAULT",SWIG_From_int(static_cast< int >(wxCONTROL_ISDEFAULT
)));
37276 SWIG_Python_SetConstant(d
, "CONTROL_ISSUBMENU",SWIG_From_int(static_cast< int >(wxCONTROL_ISSUBMENU
)));
37277 SWIG_Python_SetConstant(d
, "CONTROL_EXPANDED",SWIG_From_int(static_cast< int >(wxCONTROL_EXPANDED
)));
37278 SWIG_Python_SetConstant(d
, "CONTROL_SIZEGRIP",SWIG_From_int(static_cast< int >(wxCONTROL_SIZEGRIP
)));
37279 SWIG_Python_SetConstant(d
, "CONTROL_CURRENT",SWIG_From_int(static_cast< int >(wxCONTROL_CURRENT
)));
37280 SWIG_Python_SetConstant(d
, "CONTROL_SELECTED",SWIG_From_int(static_cast< int >(wxCONTROL_SELECTED
)));
37281 SWIG_Python_SetConstant(d
, "CONTROL_CHECKED",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKED
)));
37282 SWIG_Python_SetConstant(d
, "CONTROL_CHECKABLE",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKABLE
)));
37283 SWIG_Python_SetConstant(d
, "CONTROL_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCONTROL_UNDETERMINED
)));
37284 SWIG_Python_SetConstant(d
, "CONTROL_FLAGS_MASK",SWIG_From_int(static_cast< int >(wxCONTROL_FLAGS_MASK
)));
37285 SWIG_Python_SetConstant(d
, "CONTROL_DIRTY",SWIG_From_int(static_cast< int >(wxCONTROL_DIRTY
)));
37286 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_NONE",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_NONE
)));
37287 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_UP",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_UP
)));
37288 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_DOWN",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_DOWN
)));
37289 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Version",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Version
)));
37290 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Age",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Age
)));
37292 // Work around a chicken/egg problem in drawlist.cpp
37293 wxPyDrawList_SetAPIPtr();