1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # define SWIGTEMPLATEDISAMBIGUATOR
44 # define SWIGTEMPLATEDISAMBIGUATOR
48 /* inline attribute */
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
66 # define SWIGUNUSED __attribute__ ((__unused__))
72 #ifndef SWIGUNUSEDPARM
74 # define SWIGUNUSEDPARM(p)
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
80 /* internal SWIG method */
82 # define SWIGINTERN static SWIGUNUSED
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
102 # define SWIGEXPORT __declspec(dllexport)
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
113 /* calling conventions for Windows */
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
128 /* Python.h has to appear first */
131 /* -----------------------------------------------------------------------------
134 * This file contains generic CAPI SWIG runtime support for pointer
136 * ----------------------------------------------------------------------------- */
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
148 # define SWIG_TYPE_TABLE_NAME
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
161 # define SWIGRUNTIME SWIGINTERN
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
181 Flags/methods for returning states.
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
187 Use the following macros/flags to set or process the returning
190 In old swig versions, you usually write code as:
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
198 Now you can be more explicit as:
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
207 that seems to be the same, but now you can also do
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
213 if (SWIG_IsNewObj(res) {
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
227 int SWIG_ConvertPtr(obj, ptr,...) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
233 *ptr = <ptr to old object>;
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
256 just use the SWIG_AddCast()/SWIG_CheckState()
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE
int SWIG_AddCast(int r
) {
296 return SWIG_IsOK(r
) ? ((SWIG_CastRank(r
) < SWIG_MAXCASTRANK
) ? (r
+ 1) : SWIG_ERROR
) : r
;
298 SWIGINTERNINLINE
int SWIG_CheckState(int r
) {
299 return SWIG_IsOK(r
) ? SWIG_CastRank(r
) + 1 : 0;
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
315 typedef void *(*swig_converter_func
)(void *);
316 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info
{
320 const char *name
; /* mangled name of this type */
321 const char *str
; /* human readable name of this type */
322 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
324 void *clientdata
; /* language specific type data */
325 int owndata
; /* flag if the structure owns the clientdata */
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info
{
330 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter
; /* function to cast the void pointers */
332 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
333 struct swig_cast_info
*prev
; /* pointer to the previous cast */
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info
{
340 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size
; /* Number of types in this module */
342 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
343 swig_type_info
**type_initial
; /* Array of initially generated type structures */
344 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
345 void *clientdata
; /* Language specific module data */
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
356 SWIG_TypeNameComp(const char *f1
, const char *l1
,
357 const char *f2
, const char *l2
) {
358 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
359 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
360 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
361 if (*f1
!= *f2
) return (*f1
> *f2
) ? 1 : -1;
363 return (l1
- f1
) - (l2
- f2
);
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
371 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
373 const char* te
= tb
+ strlen(tb
);
375 while (!equiv
&& *ne
) {
376 for (nb
= ne
; *ne
; ++ne
) {
377 if (*ne
== '|') break;
379 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
390 SWIG_TypeCompare(const char *nb
, const char *tb
) {
392 const char* te
= tb
+ strlen(tb
);
394 while (!equiv
&& *ne
) {
395 for (nb
= ne
; *ne
; ++ne
) {
396 if (*ne
== '|') break;
398 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
408 swig_cast_info *iter = ty->cast; \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
418 if (ty->cast) ty->cast->prev = iter; \
430 SWIGRUNTIME swig_cast_info
*
431 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
432 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info
*
437 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
438 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
442 Cast a pointer up an inheritance hierarchy
444 SWIGRUNTIMEINLINE
void *
445 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
446 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
450 Dynamic pointer casting. Down an inheritance hierarchy
452 SWIGRUNTIME swig_type_info
*
453 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
454 swig_type_info
*lastty
= ty
;
455 if (!ty
|| !ty
->dcast
) return ty
;
456 while (ty
&& (ty
->dcast
)) {
457 ty
= (*ty
->dcast
)(ptr
);
464 Return the name associated with this type
466 SWIGRUNTIMEINLINE
const char *
467 SWIG_TypeName(const swig_type_info
*ty
) {
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
475 SWIGRUNTIME
const char *
476 SWIG_TypePrettyName(const swig_type_info
*type
) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
481 if (!type
) return NULL
;
482 if (type
->str
!= NULL
) {
483 const char *last_name
= type
->str
;
485 for (s
= type
->str
; *s
; s
++)
486 if (*s
== '|') last_name
= s
+1;
494 Set the clientdata field for a type
497 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
498 swig_cast_info
*cast
= ti
->cast
;
499 /* if (ti->clientdata == clientdata) return; */
500 ti
->clientdata
= clientdata
;
503 if (!cast
->converter
) {
504 swig_type_info
*tc
= cast
->type
;
505 if (!tc
->clientdata
) {
506 SWIG_TypeClientData(tc
, clientdata
);
513 SWIG_TypeNewClientData(swig_type_info
*ti
, void *clientdata
) {
514 SWIG_TypeClientData(ti
, clientdata
);
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
526 SWIGRUNTIME swig_type_info
*
527 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
528 swig_module_info
*end
,
530 swig_module_info
*iter
= start
;
533 register size_t l
= 0;
534 register size_t r
= iter
->size
- 1;
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i
= (l
+ r
) >> 1;
538 const char *iname
= iter
->types
[i
]->name
;
540 register int compare
= strcmp(name
, iname
);
542 return iter
->types
[i
];
543 } else if (compare
< 0) {
549 } else if (compare
> 0) {
553 break; /* should never happen */
558 } while (iter
!= end
);
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
571 SWIGRUNTIME swig_type_info
*
572 SWIG_TypeQueryModule(swig_module_info
*start
,
573 swig_module_info
*end
,
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info
*iter
= start
;
584 register size_t i
= 0;
585 for (; i
< iter
->size
; ++i
) {
586 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
587 return iter
->types
[i
];
590 } while (iter
!= end
);
593 /* neither found a match */
598 Pack binary data into a string
601 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
602 static const char hex
[17] = "0123456789abcdef";
603 register const unsigned char *u
= (unsigned char *) ptr
;
604 register const unsigned char *eu
= u
+ sz
;
605 for (; u
!= eu
; ++u
) {
606 register unsigned char uu
= *u
;
607 *(c
++) = hex
[(uu
& 0xf0) >> 4];
608 *(c
++) = hex
[uu
& 0xf];
614 Unpack binary data from a string
616 SWIGRUNTIME
const char *
617 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
618 register unsigned char *u
= (unsigned char *) ptr
;
619 register const unsigned char *eu
= u
+ sz
;
620 for (; u
!= eu
; ++u
) {
621 register char d
= *(c
++);
622 register unsigned char uu
;
623 if ((d
>= '0') && (d
<= '9'))
624 uu
= ((d
- '0') << 4);
625 else if ((d
>= 'a') && (d
<= 'f'))
626 uu
= ((d
- ('a'-10)) << 4);
630 if ((d
>= '0') && (d
<= '9'))
632 else if ((d
>= 'a') && (d
<= 'f'))
633 uu
|= (d
- ('a'-10));
642 Pack 'void *' into a string buffer.
645 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
647 if ((2*sizeof(void *) + 2) > bsz
) return 0;
649 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
650 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
655 SWIGRUNTIME
const char *
656 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
658 if (strcmp(c
,"NULL") == 0) {
665 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
669 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
671 size_t lname
= (name
? strlen(name
) : 0);
672 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
674 r
= SWIG_PackData(r
,ptr
,sz
);
676 strncpy(r
,name
,lname
+1);
683 SWIGRUNTIME
const char *
684 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
686 if (strcmp(c
,"NULL") == 0) {
693 return SWIG_UnpackData(++c
,ptr
,sz
);
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
717 /* Python.h has to appear first */
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
725 # define PyOS_snprintf snprintf
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
737 PyString_FromFormat(const char *fmt
, ...) {
739 char buf
[SWIG_PYBUFFER_SIZE
* 2];
742 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
744 return (res
< 0 || res
>= (int)sizeof(buf
)) ? 0 : PyString_FromString(buf
);
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
753 # define PyObject_DEL PyObject_Del
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
791 PyObject
*PyBool_FromLong(long ok
)
793 PyObject
*result
= ok
? Py_True
: Py_False
;
800 /* -----------------------------------------------------------------------------
802 * ----------------------------------------------------------------------------- */
804 SWIGRUNTIME PyObject
*
805 SWIG_Python_ErrorType(int code
) {
808 case SWIG_MemoryError
:
809 type
= PyExc_MemoryError
;
812 type
= PyExc_IOError
;
814 case SWIG_RuntimeError
:
815 type
= PyExc_RuntimeError
;
817 case SWIG_IndexError
:
818 type
= PyExc_IndexError
;
821 type
= PyExc_TypeError
;
823 case SWIG_DivisionByZero
:
824 type
= PyExc_ZeroDivisionError
;
826 case SWIG_OverflowError
:
827 type
= PyExc_OverflowError
;
829 case SWIG_SyntaxError
:
830 type
= PyExc_SyntaxError
;
832 case SWIG_ValueError
:
833 type
= PyExc_ValueError
;
835 case SWIG_SystemError
:
836 type
= PyExc_SystemError
;
838 case SWIG_AttributeError
:
839 type
= PyExc_AttributeError
;
842 type
= PyExc_RuntimeError
;
849 SWIG_Python_AddErrorMsg(const char* mesg
)
853 PyObject
*traceback
= 0;
855 if (PyErr_Occurred()) PyErr_Fetch(&type
, &value
, &traceback
);
857 PyObject
*old_str
= PyObject_Str(value
);
860 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
864 PyErr_Format(PyExc_RuntimeError
, mesg
);
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block
{
888 PyGILState_STATE state
;
890 void end() { if (status
) { PyGILState_Release(state
); status
= false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
894 class SWIG_Python_Thread_Allow
{
898 void end() { if (status
) { PyEval_RestoreThread(save
); status
= false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
956 /* Constant information structure */
957 typedef struct swig_const_info
{
963 swig_type_info
**ptype
;
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
984 * ----------------------------------------------------------------------------- */
986 /* Common SWIG API */
988 #if PY_VERSION_HEX < 0x02050000
989 typedef int Py_ssize_t
;
992 /* for raw pointers */
993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999 #define swig_owntype int
1001 /* for raw packed data */
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1005 /* for class or struct pointers */
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1009 /* for C or C++ function pointers */
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1013 /* for C++ member pointers, ie, member methods */
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1020 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1024 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028 #define SWIG_fail goto fail
1031 /* Runtime API implementation */
1033 /* Error manipulation */
1036 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1038 PyErr_SetObject(errtype
, obj
);
1040 SWIG_PYTHON_THREAD_END_BLOCK
;
1044 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1046 PyErr_SetString(errtype
, (char *) msg
);
1047 SWIG_PYTHON_THREAD_END_BLOCK
;
1050 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1052 /* Set a constant value */
1055 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1056 PyDict_SetItemString(d
, (char*) name
, obj
);
1060 /* Append a value to the result obj */
1062 SWIGINTERN PyObject
*
1063 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1067 } else if (result
== Py_None
) {
1071 if (!PyList_Check(result
)) {
1072 PyObject
*o2
= result
;
1073 result
= PyList_New(1);
1074 PyList_SetItem(result
, 0, o2
);
1076 PyList_Append(result
,obj
);
1085 } else if (result
== Py_None
) {
1089 if (!PyTuple_Check(result
)) {
1091 result
= PyTuple_New(1);
1092 PyTuple_SET_ITEM(result
, 0, o2
);
1094 o3
= PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3
, 0, obj
);
1097 result
= PySequence_Concat(o2
, o3
);
1105 /* Unpack the argument tuple */
1108 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1114 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1115 name
, (min
== max
? "" : "at least "), min
);
1119 if (!PyTuple_Check(args
)) {
1120 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1123 register int l
= PyTuple_GET_SIZE(args
);
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at least "), min
, l
);
1128 } else if (l
> max
) {
1129 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1130 name
, (min
== max
? "" : "at most "), max
, l
);
1134 for (i
= 0; i
< l
; ++i
) {
1135 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1137 for (; l
< max
; ++l
) {
1145 /* A functor is a function object with one single object argument */
1146 #if PY_VERSION_HEX >= 0x02020000
1147 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1149 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1157 #define SWIG_STATIC_POINTER(var) var
1159 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1162 /* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1166 /* Flags for new pointer objects */
1167 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1170 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1179 /* How to access Py_None */
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1182 # ifndef SWIG_PYTHON_BUILD_NONE
1183 # define SWIG_PYTHON_BUILD_NONE
1188 #ifdef SWIG_PYTHON_BUILD_NONE
1191 # define Py_None SWIG_Py_None()
1193 SWIGRUNTIMEINLINE PyObject
*
1196 PyObject
*none
= Py_BuildValue("");
1200 SWIGRUNTIME PyObject
*
1203 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1208 /* The python void return value */
1210 SWIGRUNTIMEINLINE PyObject
*
1213 PyObject
*none
= Py_None
;
1218 /* PySwigClientData */
1229 SWIGRUNTIMEINLINE
int
1230 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1232 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1233 return data
? data
->implicitconv
: 0;
1236 SWIGRUNTIMEINLINE PyObject
*
1237 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1238 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1239 PyObject
*klass
= data
? data
->klass
: 0;
1240 return (klass
? klass
: PyExc_RuntimeError
);
1244 SWIGRUNTIME PySwigClientData
*
1245 PySwigClientData_New(PyObject
* obj
)
1250 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1251 /* the klass element */
1253 Py_INCREF(data
->klass
);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj
)) {
1257 data
->newargs
= obj
;
1260 #if (PY_VERSION_HEX < 0x02020000)
1263 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1266 Py_INCREF(data
->newraw
);
1267 data
->newargs
= PyTuple_New(1);
1268 PyTuple_SetItem(data
->newargs
, 0, obj
);
1270 data
->newargs
= obj
;
1272 Py_INCREF(data
->newargs
);
1274 /* the destroy method, aka as the C++ delete method */
1275 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1280 if (data
->destroy
) {
1282 Py_INCREF(data
->destroy
);
1283 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1285 data
->delargs
= !(flags
& (METH_O
));
1292 data
->implicitconv
= 0;
1298 PySwigClientData_Del(PySwigClientData
* data
)
1300 Py_XDECREF(data
->newraw
);
1301 Py_XDECREF(data
->newargs
);
1302 Py_XDECREF(data
->destroy
);
1305 /* =============== PySwigObject =====================*/
1315 SWIGRUNTIME PyObject
*
1316 PySwigObject_long(PySwigObject
*v
)
1318 return PyLong_FromVoidPtr(v
->ptr
);
1321 SWIGRUNTIME PyObject
*
1322 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1324 PyObject
*res
= NULL
;
1325 PyObject
*args
= PyTuple_New(1);
1327 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1328 PyObject
*ofmt
= PyString_FromString(fmt
);
1330 res
= PyString_Format(ofmt
,args
);
1339 SWIGRUNTIME PyObject
*
1340 PySwigObject_oct(PySwigObject
*v
)
1342 return PySwigObject_format("%o",v
);
1345 SWIGRUNTIME PyObject
*
1346 PySwigObject_hex(PySwigObject
*v
)
1348 return PySwigObject_format("%x",v
);
1351 SWIGRUNTIME PyObject
*
1353 PySwigObject_repr(PySwigObject
*v
)
1355 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1358 const char *name
= SWIG_TypePrettyName(v
->ty
);
1359 PyObject
*hex
= PySwigObject_hex(v
);
1360 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1364 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1366 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1368 PyString_ConcatAndDel(&repr
,nrep
);
1374 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1377 PyObject
*repr
= PySwigObject_repr(v
);
1379 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1382 fputs(PyString_AsString(repr
), fp
);
1390 SWIGRUNTIME PyObject
*
1391 PySwigObject_str(PySwigObject
*v
)
1393 char result
[SWIG_BUFFER_SIZE
];
1394 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1395 PyString_FromString(result
) : 0;
1399 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1403 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1406 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1408 SWIGRUNTIME PyTypeObject
*
1409 PySwigObject_type(void) {
1410 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1414 SWIGRUNTIMEINLINE
int
1415 PySwigObject_Check(PyObject
*op
) {
1416 return ((op
)->ob_type
== PySwigObject_type())
1417 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1420 SWIGRUNTIME PyObject
*
1421 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1424 PySwigObject_dealloc(PyObject
*v
)
1426 PySwigObject
*sobj
= (PySwigObject
*) v
;
1427 PyObject
*next
= sobj
->next
;
1429 swig_type_info
*ty
= sobj
->ty
;
1430 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1431 PyObject
*destroy
= data
? data
->destroy
: 0;
1433 /* destroy is always a VARARGS method */
1435 if (data
->delargs
) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1438 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1441 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1442 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1443 res
= ((*meth
)(mself
, v
));
1447 const char *name
= SWIG_TypePrettyName(ty
);
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1457 SWIGRUNTIME PyObject
*
1458 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1460 PySwigObject
*sobj
= (PySwigObject
*) v
;
1463 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1466 if (!PySwigObject_Check(next
)) {
1471 return SWIG_Py_Void();
1474 SWIGRUNTIME PyObject
*
1476 PySwigObject_next(PyObject
* v
)
1478 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1481 PySwigObject
*sobj
= (PySwigObject
*) v
;
1483 Py_INCREF(sobj
->next
);
1486 return SWIG_Py_Void();
1490 SWIGINTERN PyObject
*
1492 PySwigObject_disown(PyObject
*v
)
1494 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1497 PySwigObject
*sobj
= (PySwigObject
*)v
;
1499 return SWIG_Py_Void();
1502 SWIGINTERN PyObject
*
1504 PySwigObject_acquire(PyObject
*v
)
1506 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1509 PySwigObject
*sobj
= (PySwigObject
*)v
;
1510 sobj
->own
= SWIG_POINTER_OWN
;
1511 return SWIG_Py_Void();
1514 SWIGINTERN PyObject
*
1515 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1518 #if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1521 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1528 PySwigObject
*sobj
= (PySwigObject
*)v
;
1529 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1532 if (PyObject_IsTrue(val
)) {
1533 PySwigObject_acquire(v
);
1535 PySwigObject_disown(v
);
1538 if (PyObject_IsTrue(val
)) {
1539 PySwigObject_acquire(v
,args
);
1541 PySwigObject_disown(v
,args
);
1551 swigobject_methods
[] = {
1552 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1562 swigobject_methods
[] = {
1563 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1573 #if PY_VERSION_HEX < 0x02020000
1574 SWIGINTERN PyObject
*
1575 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1577 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1581 SWIGRUNTIME PyTypeObject
*
1582 _PySwigObject_type(void) {
1583 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1585 static PyNumberMethods PySwigObject_as_number
= {
1586 (binaryfunc
)0, /*nb_add*/
1587 (binaryfunc
)0, /*nb_subtract*/
1588 (binaryfunc
)0, /*nb_multiply*/
1589 (binaryfunc
)0, /*nb_divide*/
1590 (binaryfunc
)0, /*nb_remainder*/
1591 (binaryfunc
)0, /*nb_divmod*/
1592 (ternaryfunc
)0,/*nb_power*/
1593 (unaryfunc
)0, /*nb_negative*/
1594 (unaryfunc
)0, /*nb_positive*/
1595 (unaryfunc
)0, /*nb_absolute*/
1596 (inquiry
)0, /*nb_nonzero*/
1603 (coercion
)0, /*nb_coerce*/
1604 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1605 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1606 (unaryfunc
)0, /*nb_float*/
1607 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1608 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1609 #if PY_VERSION_HEX >= 0x02020000
1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1611 #elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1616 static PyTypeObject pyswigobject_type
;
1617 static int type_init
= 0;
1619 const PyTypeObject tmp
1621 PyObject_HEAD_INIT(NULL
)
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject
), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1627 (printfunc
)PySwigObject_print
, /* tp_print */
1628 #if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1631 (getattrfunc
)0, /* tp_getattr */
1633 (setattrfunc
)0, /* tp_setattr */
1634 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1635 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1636 &PySwigObject_as_number
, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc
)0, /* tp_hash */
1640 (ternaryfunc
)0, /* tp_call */
1641 (reprfunc
)PySwigObject_str
, /* tp_str */
1642 PyObject_GenericGetAttr
, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1646 swigobject_doc
, /* tp_doc */
1647 0, /* tp_traverse */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
1651 #if PY_VERSION_HEX >= 0x02020000
1653 0, /* tp_iternext */
1654 swigobject_methods
, /* tp_methods */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
1673 #if PY_VERSION_HEX >= 0x02030000
1677 0,0,0,0 /* tp_alloc -> tp_next */
1680 pyswigobject_type
= tmp
;
1681 pyswigobject_type
.ob_type
= &PyType_Type
;
1684 return &pyswigobject_type
;
1687 SWIGRUNTIME PyObject
*
1688 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1690 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1697 return (PyObject
*)sobj
;
1700 /* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1712 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1714 char result
[SWIG_BUFFER_SIZE
];
1715 fputs("<Swig Packed ", fp
);
1716 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1720 fputs(v
->ty
->name
,fp
);
1725 SWIGRUNTIME PyObject
*
1726 PySwigPacked_repr(PySwigPacked
*v
)
1728 char result
[SWIG_BUFFER_SIZE
];
1729 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1730 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1732 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1736 SWIGRUNTIME PyObject
*
1737 PySwigPacked_str(PySwigPacked
*v
)
1739 char result
[SWIG_BUFFER_SIZE
];
1740 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1741 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1743 return PyString_FromString(v
->ty
->name
);
1748 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1752 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1753 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1756 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1758 SWIGRUNTIME PyTypeObject
*
1759 PySwigPacked_type(void) {
1760 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1764 SWIGRUNTIMEINLINE
int
1765 PySwigPacked_Check(PyObject
*op
) {
1766 return ((op
)->ob_type
== _PySwigPacked_type())
1767 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1771 PySwigPacked_dealloc(PyObject
*v
)
1773 if (PySwigPacked_Check(v
)) {
1774 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1780 SWIGRUNTIME PyTypeObject
*
1781 _PySwigPacked_type(void) {
1782 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type
;
1784 static int type_init
= 0;
1786 const PyTypeObject tmp
1788 PyObject_HEAD_INIT(NULL
)
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked
), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1794 (printfunc
)PySwigPacked_print
, /* tp_print */
1795 (getattrfunc
)0, /* tp_getattr */
1796 (setattrfunc
)0, /* tp_setattr */
1797 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1798 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc
)0, /* tp_hash */
1803 (ternaryfunc
)0, /* tp_call */
1804 (reprfunc
)PySwigPacked_str
, /* tp_str */
1805 PyObject_GenericGetAttr
, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1809 swigpacked_doc
, /* tp_doc */
1810 0, /* tp_traverse */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814 #if PY_VERSION_HEX >= 0x02020000
1816 0, /* tp_iternext */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
1836 #if PY_VERSION_HEX >= 0x02030000
1840 0,0,0,0 /* tp_alloc -> tp_next */
1843 pyswigpacked_type
= tmp
;
1844 pyswigpacked_type
.ob_type
= &PyType_Type
;
1847 return &pyswigpacked_type
;
1850 SWIGRUNTIME PyObject
*
1851 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1853 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1855 void *pack
= malloc(size
);
1857 memcpy(pack
, ptr
, size
);
1862 PyObject_DEL((PyObject
*) sobj
);
1866 return (PyObject
*) sobj
;
1869 SWIGRUNTIME swig_type_info
*
1870 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1872 if (PySwigPacked_Check(obj
)) {
1873 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1874 if (sobj
->size
!= size
) return 0;
1875 memcpy(ptr
, sobj
->pack
, size
);
1882 /* -----------------------------------------------------------------------------
1883 * pointers/data manipulation
1884 * ----------------------------------------------------------------------------- */
1886 SWIGRUNTIMEINLINE PyObject
*
1889 return PyString_FromString("this");
1892 SWIGRUNTIME PyObject
*
1895 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1901 SWIGRUNTIME PySwigObject
*
1902 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1904 if (PySwigObject_Check(pyobj
)) {
1905 return (PySwigObject
*) pyobj
;
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj
)) {
1910 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1912 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1913 if (dictptr
!= NULL
) {
1914 PyObject
*dict
= *dictptr
;
1915 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1917 #ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj
)) {
1919 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1920 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1923 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1927 if (PyErr_Occurred()) PyErr_Clear();
1933 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1937 if (PyErr_Occurred()) PyErr_Clear();
1941 if (obj
&& !PySwigObject_Check(obj
)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj
);
1946 return (PySwigObject
*)obj
;
1950 /* Acquire a pointer value */
1953 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1955 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1957 int oldown
= sobj
->own
;
1965 /* Convert a pointer value */
1968 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1969 if (!obj
) return SWIG_ERROR
;
1970 if (obj
== Py_None
) {
1974 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1976 void *vptr
= sobj
->ptr
;
1978 swig_type_info
*to
= sobj
->ty
;
1980 /* no type cast needed */
1981 if (ptr
) *ptr
= vptr
;
1984 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1986 sobj
= (PySwigObject
*)sobj
->next
;
1988 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1993 if (ptr
) *ptr
= vptr
;
1998 if (own
) *own
= sobj
->own
;
1999 if (flags
& SWIG_POINTER_DISOWN
) {
2004 int res
= SWIG_ERROR
;
2005 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2006 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2007 if (data
&& !data
->implicitconv
) {
2008 PyObject
*klass
= data
->klass
;
2011 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2013 data
->implicitconv
= 0;
2014 if (PyErr_Occurred()) {
2019 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2022 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2023 if (SWIG_IsOK(res
)) {
2026 /* transfer the ownership to 'ptr' */
2028 res
= SWIG_AddCast(res
);
2029 res
= SWIG_AddNewMask(res
);
2031 res
= SWIG_AddCast(res
);
2045 /* Convert a function ptr value */
2048 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2049 if (!PyCFunction_Check(obj
)) {
2050 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2054 /* here we get the method pointer for callbacks */
2055 const char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2056 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2058 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2059 if (!desc
) return SWIG_ERROR
;
2062 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2063 if (!tc
) return SWIG_ERROR
;
2064 *ptr
= SWIG_TypeCast(tc
,vptr
);
2072 /* Convert a packed value value */
2075 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2076 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2077 if (!to
) return SWIG_ERROR
;
2080 /* check type cast? */
2081 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2082 if (!tc
) return SWIG_ERROR
;
2088 /* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
2093 Create a new instance object, whitout calling __init__, and set the
2097 SWIGRUNTIME PyObject
*
2098 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2100 #if (PY_VERSION_HEX >= 0x02020000)
2102 PyObject
*newraw
= data
->newraw
;
2104 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2108 if (dictptr
!= NULL
) {
2109 PyObject
*dict
= *dictptr
;
2111 dict
= PyDict_New();
2113 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2117 PyObject
*key
= SWIG_This();
2118 PyObject_SetAttr(inst
, key
, swig_this
);
2122 PyObject
*dict
= PyDict_New();
2123 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2124 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2129 #if (PY_VERSION_HEX >= 0x02010000)
2131 PyObject
*dict
= PyDict_New();
2132 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2133 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2135 return (PyObject
*) inst
;
2137 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2141 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2142 Py_INCREF(inst
->in_class
);
2143 inst
->in_dict
= PyDict_New();
2144 if (inst
->in_dict
== NULL
) {
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst
->in_weakreflist
= NULL
;
2151 #ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst
);
2154 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2155 return (PyObject
*) inst
;
2161 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2166 if (dictptr
!= NULL
) {
2169 dict
= PyDict_New();
2172 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2176 dict
= PyObject_GetAttrString(inst
, "__dict__");
2177 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2182 SWIGINTERN PyObject
*
2183 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2185 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2188 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2190 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2192 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2194 return SWIG_Py_Void();
2198 /* Create a new pointer object */
2200 SWIGRUNTIME PyObject
*
2201 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2203 return SWIG_Py_Void();
2205 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2206 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2207 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2208 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2209 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2219 /* Create a new packed object */
2221 SWIGRUNTIMEINLINE PyObject
*
2222 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2223 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2226 /* -----------------------------------------------------------------------------*
2228 * -----------------------------------------------------------------------------*/
2230 #ifdef SWIG_LINK_RUNTIME
2231 void *SWIG_ReturnGlobalTypeList(void *);
2234 SWIGRUNTIME swig_module_info
*
2235 SWIG_Python_GetModule(void) {
2236 static void *type_pointer
= (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer
) {
2239 #ifdef SWIG_LINK_RUNTIME
2240 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2242 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2244 if (PyErr_Occurred()) {
2246 type_pointer
= (void *)0;
2250 return (swig_module_info
*) type_pointer
;
2253 #if PY_MAJOR_VERSION < 2
2254 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2255 is copied out of Python/modsupport.c in python version 2.3.4 */
2257 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2260 if (!PyModule_Check(m
)) {
2261 PyErr_SetString(PyExc_TypeError
,
2262 "PyModule_AddObject() needs module as first arg");
2266 PyErr_SetString(PyExc_TypeError
,
2267 "PyModule_AddObject() needs non-NULL value");
2271 dict
= PyModule_GetDict(m
);
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2275 PyModule_GetName(m
));
2278 if (PyDict_SetItemString(dict
, name
, o
))
2286 SWIG_Python_DestroyModule(void *vptr
)
2288 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2289 swig_type_info
**types
= swig_module
->types
;
2291 for (i
=0; i
< swig_module
->size
; ++i
) {
2292 swig_type_info
*ty
= types
[i
];
2294 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2295 if (data
) PySwigClientData_Del(data
);
2298 Py_DECREF(SWIG_This());
2302 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2303 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2305 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2306 swig_empty_runtime_method_table
);
2307 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2308 if (pointer
&& module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2311 Py_XDECREF(pointer
);
2315 /* The python cached type query */
2316 SWIGRUNTIME PyObject
*
2317 SWIG_Python_TypeCache() {
2318 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2322 SWIGRUNTIME swig_type_info
*
2323 SWIG_Python_TypeQuery(const char *type
)
2325 PyObject
*cache
= SWIG_Python_TypeCache();
2326 PyObject
*key
= PyString_FromString(type
);
2327 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2328 swig_type_info
*descriptor
;
2330 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2332 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2333 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2335 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2336 PyDict_SetItem(cache
, key
, obj
);
2345 For backward compatibility only
2347 #define SWIG_POINTER_EXCEPTION 0
2348 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2352 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2354 if (PyErr_Occurred()) {
2356 PyObject
*value
= 0;
2357 PyObject
*traceback
= 0;
2358 PyErr_Fetch(&type
, &value
, &traceback
);
2360 PyObject
*old_str
= PyObject_Str(value
);
2364 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2366 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2377 SWIG_Python_ArgFail(int argnum
)
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2382 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2383 return SWIG_Python_AddErrMesg(mesg
, 1);
2389 SWIGRUNTIMEINLINE
const char *
2390 PySwigObject_GetDesc(PyObject
*self
)
2392 PySwigObject
*v
= (PySwigObject
*)self
;
2393 swig_type_info
*ty
= v
? v
->ty
: 0;
2394 return ty
? ty
->str
: (char*)"";
2398 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2401 #if defined(SWIG_COBJECT_TYPES)
2402 if (obj
&& PySwigObject_Check(obj
)) {
2403 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2405 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2412 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2414 PyObject
*str
= PyObject_Str(obj
);
2415 const char *cstr
= str
? PyString_AsString(str
) : 0;
2417 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2420 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2427 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2429 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2434 /* Convert a pointer value, signal an exception on a type mismatch */
2436 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2438 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2440 if (flags
& SWIG_POINTER_EXCEPTION
) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2442 SWIG_Python_ArgFail(argnum
);
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2464 /* -------- TYPES TABLE (BEGIN) -------- */
2466 #define SWIGTYPE_p_buffer swig_types[0]
2467 #define SWIGTYPE_p_char swig_types[1]
2468 #define SWIGTYPE_p_double swig_types[2]
2469 #define SWIGTYPE_p_form_ops_t swig_types[3]
2470 #define SWIGTYPE_p_int swig_types[4]
2471 #define SWIGTYPE_p_unsigned_char swig_types[5]
2472 #define SWIGTYPE_p_unsigned_int swig_types[6]
2473 #define SWIGTYPE_p_unsigned_long swig_types[7]
2474 #define SWIGTYPE_p_void swig_types[8]
2475 #define SWIGTYPE_p_wxANIHandler swig_types[9]
2476 #define SWIGTYPE_p_wxAcceleratorTable swig_types[10]
2477 #define SWIGTYPE_p_wxActivateEvent swig_types[11]
2478 #define SWIGTYPE_p_wxAlphaPixelData swig_types[12]
2479 #define SWIGTYPE_p_wxAlphaPixelData_Accessor swig_types[13]
2480 #define SWIGTYPE_p_wxAutoBufferedPaintDC swig_types[14]
2481 #define SWIGTYPE_p_wxBMPHandler swig_types[15]
2482 #define SWIGTYPE_p_wxBitmap swig_types[16]
2483 #define SWIGTYPE_p_wxBoxSizer swig_types[17]
2484 #define SWIGTYPE_p_wxBrush swig_types[18]
2485 #define SWIGTYPE_p_wxBrushList swig_types[19]
2486 #define SWIGTYPE_p_wxBufferedDC swig_types[20]
2487 #define SWIGTYPE_p_wxBufferedPaintDC swig_types[21]
2488 #define SWIGTYPE_p_wxCURHandler swig_types[22]
2489 #define SWIGTYPE_p_wxChar swig_types[23]
2490 #define SWIGTYPE_p_wxChildFocusEvent swig_types[24]
2491 #define SWIGTYPE_p_wxClientDC swig_types[25]
2492 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[26]
2493 #define SWIGTYPE_p_wxCloseEvent swig_types[27]
2494 #define SWIGTYPE_p_wxColor swig_types[28]
2495 #define SWIGTYPE_p_wxColour swig_types[29]
2496 #define SWIGTYPE_p_wxColourDatabase swig_types[30]
2497 #define SWIGTYPE_p_wxCommandEvent swig_types[31]
2498 #define SWIGTYPE_p_wxContextMenuEvent swig_types[32]
2499 #define SWIGTYPE_p_wxControl swig_types[33]
2500 #define SWIGTYPE_p_wxControlWithItems swig_types[34]
2501 #define SWIGTYPE_p_wxCursor swig_types[35]
2502 #define SWIGTYPE_p_wxDC swig_types[36]
2503 #define SWIGTYPE_p_wxDCOverlay swig_types[37]
2504 #define SWIGTYPE_p_wxDash swig_types[38]
2505 #define SWIGTYPE_p_wxDateEvent swig_types[39]
2506 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[40]
2507 #define SWIGTYPE_p_wxDropFilesEvent swig_types[41]
2508 #define SWIGTYPE_p_wxDuplexMode swig_types[42]
2509 #define SWIGTYPE_p_wxEffects swig_types[43]
2510 #define SWIGTYPE_p_wxEncodingConverter swig_types[44]
2511 #define SWIGTYPE_p_wxEraseEvent swig_types[45]
2512 #define SWIGTYPE_p_wxEvent swig_types[46]
2513 #define SWIGTYPE_p_wxEvtHandler swig_types[47]
2514 #define SWIGTYPE_p_wxFSFile swig_types[48]
2515 #define SWIGTYPE_p_wxFileSystem swig_types[49]
2516 #define SWIGTYPE_p_wxFlexGridSizer swig_types[50]
2517 #define SWIGTYPE_p_wxFocusEvent swig_types[51]
2518 #define SWIGTYPE_p_wxFont swig_types[52]
2519 #define SWIGTYPE_p_wxFontList swig_types[53]
2520 #define SWIGTYPE_p_wxFontMapper swig_types[54]
2521 #define SWIGTYPE_p_wxGBSizerItem swig_types[55]
2522 #define SWIGTYPE_p_wxGCDC swig_types[56]
2523 #define SWIGTYPE_p_wxGDIObjListBase swig_types[57]
2524 #define SWIGTYPE_p_wxGDIObject swig_types[58]
2525 #define SWIGTYPE_p_wxGIFHandler swig_types[59]
2526 #define SWIGTYPE_p_wxGraphicsContext swig_types[60]
2527 #define SWIGTYPE_p_wxGraphicsPath swig_types[61]
2528 #define SWIGTYPE_p_wxGridBagSizer swig_types[62]
2529 #define SWIGTYPE_p_wxGridSizer swig_types[63]
2530 #define SWIGTYPE_p_wxHeaderButtonParams swig_types[64]
2531 #define SWIGTYPE_p_wxICOHandler swig_types[65]
2532 #define SWIGTYPE_p_wxIcon swig_types[66]
2533 #define SWIGTYPE_p_wxIconBundle swig_types[67]
2534 #define SWIGTYPE_p_wxIconLocation swig_types[68]
2535 #define SWIGTYPE_p_wxIconizeEvent swig_types[69]
2536 #define SWIGTYPE_p_wxIdleEvent swig_types[70]
2537 #define SWIGTYPE_p_wxImage swig_types[71]
2538 #define SWIGTYPE_p_wxImageHandler swig_types[72]
2539 #define SWIGTYPE_p_wxImageList swig_types[73]
2540 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[74]
2541 #define SWIGTYPE_p_wxInitDialogEvent swig_types[75]
2542 #define SWIGTYPE_p_wxJPEGHandler swig_types[76]
2543 #define SWIGTYPE_p_wxKeyEvent swig_types[77]
2544 #define SWIGTYPE_p_wxLanguageInfo swig_types[78]
2545 #define SWIGTYPE_p_wxLayoutConstraints swig_types[79]
2546 #define SWIGTYPE_p_wxLocale swig_types[80]
2547 #define SWIGTYPE_p_wxMask swig_types[81]
2548 #define SWIGTYPE_p_wxMaximizeEvent swig_types[82]
2549 #define SWIGTYPE_p_wxMemoryDC swig_types[83]
2550 #define SWIGTYPE_p_wxMenu swig_types[84]
2551 #define SWIGTYPE_p_wxMenuBar swig_types[85]
2552 #define SWIGTYPE_p_wxMenuEvent swig_types[86]
2553 #define SWIGTYPE_p_wxMenuItem swig_types[87]
2554 #define SWIGTYPE_p_wxMetaFile swig_types[88]
2555 #define SWIGTYPE_p_wxMetaFileDC swig_types[89]
2556 #define SWIGTYPE_p_wxMirrorDC swig_types[90]
2557 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[91]
2558 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[92]
2559 #define SWIGTYPE_p_wxMouseEvent swig_types[93]
2560 #define SWIGTYPE_p_wxMoveEvent swig_types[94]
2561 #define SWIGTYPE_p_wxNativeEncodingInfo swig_types[95]
2562 #define SWIGTYPE_p_wxNativeFontInfo swig_types[96]
2563 #define SWIGTYPE_p_wxNativePixelData swig_types[97]
2564 #define SWIGTYPE_p_wxNativePixelData_Accessor swig_types[98]
2565 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[99]
2566 #define SWIGTYPE_p_wxNcPaintEvent swig_types[100]
2567 #define SWIGTYPE_p_wxNotifyEvent swig_types[101]
2568 #define SWIGTYPE_p_wxObject swig_types[102]
2569 #define SWIGTYPE_p_wxOverlay swig_types[103]
2570 #define SWIGTYPE_p_wxPCXHandler swig_types[104]
2571 #define SWIGTYPE_p_wxPNGHandler swig_types[105]
2572 #define SWIGTYPE_p_wxPNMHandler swig_types[106]
2573 #define SWIGTYPE_p_wxPaintDC swig_types[107]
2574 #define SWIGTYPE_p_wxPaintEvent swig_types[108]
2575 #define SWIGTYPE_p_wxPalette swig_types[109]
2576 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[110]
2577 #define SWIGTYPE_p_wxPaperSize swig_types[111]
2578 #define SWIGTYPE_p_wxPen swig_types[112]
2579 #define SWIGTYPE_p_wxPenList swig_types[113]
2580 #define SWIGTYPE_p_wxPixelDataBase swig_types[114]
2581 #define SWIGTYPE_p_wxPoint swig_types[115]
2582 #define SWIGTYPE_p_wxPoint2D swig_types[116]
2583 #define SWIGTYPE_p_wxPostScriptDC swig_types[117]
2584 #define SWIGTYPE_p_wxPrintData swig_types[118]
2585 #define SWIGTYPE_p_wxPrinterDC swig_types[119]
2586 #define SWIGTYPE_p_wxPseudoDC swig_types[120]
2587 #define SWIGTYPE_p_wxPyApp swig_types[121]
2588 #define SWIGTYPE_p_wxPyCommandEvent swig_types[122]
2589 #define SWIGTYPE_p_wxPyEvent swig_types[123]
2590 #define SWIGTYPE_p_wxPyFontEnumerator swig_types[124]
2591 #define SWIGTYPE_p_wxPyImageHandler swig_types[125]
2592 #define SWIGTYPE_p_wxPyLocale swig_types[126]
2593 #define SWIGTYPE_p_wxPySizer swig_types[127]
2594 #define SWIGTYPE_p_wxPyValidator swig_types[128]
2595 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[129]
2596 #define SWIGTYPE_p_wxRect swig_types[130]
2597 #define SWIGTYPE_p_wxRegion swig_types[131]
2598 #define SWIGTYPE_p_wxRegionIterator swig_types[132]
2599 #define SWIGTYPE_p_wxRendererNative swig_types[133]
2600 #define SWIGTYPE_p_wxRendererVersion swig_types[134]
2601 #define SWIGTYPE_p_wxScreenDC swig_types[135]
2602 #define SWIGTYPE_p_wxScrollEvent swig_types[136]
2603 #define SWIGTYPE_p_wxScrollWinEvent swig_types[137]
2604 #define SWIGTYPE_p_wxSetCursorEvent swig_types[138]
2605 #define SWIGTYPE_p_wxShowEvent swig_types[139]
2606 #define SWIGTYPE_p_wxSize swig_types[140]
2607 #define SWIGTYPE_p_wxSizeEvent swig_types[141]
2608 #define SWIGTYPE_p_wxSizer swig_types[142]
2609 #define SWIGTYPE_p_wxSizerItem swig_types[143]
2610 #define SWIGTYPE_p_wxSplitterRenderParams swig_types[144]
2611 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[145]
2612 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[146]
2613 #define SWIGTYPE_p_wxStockGDI swig_types[147]
2614 #define SWIGTYPE_p_wxString swig_types[148]
2615 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[149]
2616 #define SWIGTYPE_p_wxTIFFHandler swig_types[150]
2617 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[151]
2618 #define SWIGTYPE_p_wxValidator swig_types[152]
2619 #define SWIGTYPE_p_wxWindow swig_types[153]
2620 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[154]
2621 #define SWIGTYPE_p_wxWindowDC swig_types[155]
2622 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[156]
2623 #define SWIGTYPE_p_wxXPMHandler swig_types[157]
2624 static swig_type_info
*swig_types
[159];
2625 static swig_module_info swig_module
= {swig_types
, 158, 0, 0, 0, 0};
2626 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2627 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2629 /* -------- TYPES TABLE (END) -------- */
2631 #if (PY_VERSION_HEX <= 0x02000000)
2632 # if !defined(SWIG_PYTHON_CLASSIC)
2633 # error "This python version requires to use swig with the '-classic' option"
2636 #if (PY_VERSION_HEX <= 0x02020000)
2637 # error "This python version requires to use swig with the '-nomodern' option"
2639 #if (PY_VERSION_HEX <= 0x02020000)
2640 # error "This python version requires to use swig with the '-nomodernargs' option"
2643 # error "This python version requires to use swig with the '-nofastunpack' option"
2646 /*-----------------------------------------------
2647 @(target):= _gdi_.so
2648 ------------------------------------------------*/
2649 #define SWIG_init init_gdi_
2651 #define SWIG_name "_gdi_"
2653 #define SWIGVERSION 0x010329
2656 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2657 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2660 #include <stdexcept>
2664 class PyObject_ptr
{
2669 PyObject_ptr() :_obj(0)
2673 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2678 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2680 if (initial_ref
) Py_XINCREF(_obj
);
2683 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2685 Py_XINCREF(item
._obj
);
2696 operator PyObject
*() const
2701 PyObject
*operator->() const
2710 struct PyObject_var
: PyObject_ptr
{
2711 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2713 PyObject_var
& operator = (PyObject
* obj
)
2723 #include "wx/wxPython/wxPython.h"
2724 #include "wx/wxPython/pyclasses.h"
2727 static const wxString
wxPyEmptyString(wxEmptyString
);
2729 #define SWIG_From_long PyInt_FromLong
2732 SWIGINTERNINLINE PyObject
*
2733 SWIG_From_int (int value
)
2735 return SWIG_From_long (value
);
2741 # define LLONG_MIN LONG_LONG_MIN
2744 # define LLONG_MAX LONG_LONG_MAX
2747 # define ULLONG_MAX ULONG_LONG_MAX
2752 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2754 if (PyNumber_Check(obj
)) {
2755 if (val
) *val
= PyInt_AsLong(obj
);
2758 return SWIG_TypeError
;
2763 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2766 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2767 return SWIG_TypeError
;
2770 *val
= (unsigned long)v
;
2776 SWIG_AsVal_unsigned_SS_char (PyObject
* obj
, unsigned char *val
)
2779 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2780 if (SWIG_IsOK(res
)) {
2781 if ((v
> UCHAR_MAX
)) {
2782 return SWIG_OverflowError
;
2784 if (val
) *val
= static_cast< unsigned char >(v
);
2791 SWIGINTERNINLINE PyObject
*
2792 SWIG_From_unsigned_SS_long (unsigned long value
)
2794 return (value
> LONG_MAX
) ?
2795 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2799 SWIGINTERNINLINE PyObject
*
2800 SWIG_From_unsigned_SS_char (unsigned char value
)
2802 return SWIG_From_unsigned_SS_long (value
);
2805 SWIGINTERN
bool wxColour___eq__(wxColour
*self
,PyObject
*other
){
2806 wxColour temp
, *obj
= &temp
;
2807 if ( other
== Py_None
) return false;
2808 if ( ! wxColour_helper(other
, &obj
) ) {
2812 return self
->operator==(*obj
);
2814 SWIGINTERN
bool wxColour___ne__(wxColour
*self
,PyObject
*other
){
2815 wxColour temp
, *obj
= &temp
;
2816 if ( other
== Py_None
) return true;
2817 if ( ! wxColour_helper(other
, &obj
)) {
2821 return self
->operator!=(*obj
);
2825 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2827 if (obj
== Py_True
) {
2828 if (val
) *val
= true;
2830 } else if (obj
== Py_False
) {
2831 if (val
) *val
= false;
2835 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2836 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2841 SWIGINTERN PyObject
*wxColour_Get(wxColour
*self
,bool includeAlpha
=false){
2842 PyObject
* rv
= PyTuple_New(includeAlpha
? 4 : 3);
2846 int alpha
= wxALPHA_OPAQUE
;
2849 green
= self
->Green();
2850 blue
= self
->Blue();
2851 alpha
= self
->Alpha();
2853 PyTuple_SetItem(rv
, 0, PyInt_FromLong(red
));
2854 PyTuple_SetItem(rv
, 1, PyInt_FromLong(green
));
2855 PyTuple_SetItem(rv
, 2, PyInt_FromLong(blue
));
2857 PyTuple_SetItem(rv
, 3, PyInt_FromLong(alpha
));
2860 SWIGINTERN
unsigned long wxColour_GetRGB(wxColour
*self
){
2861 return self
->Red() | (self
->Green() << 8) | (self
->Blue() << 16);
2865 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2868 int res
= SWIG_AsVal_long (obj
, &v
);
2869 if (SWIG_IsOK(res
)) {
2870 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2871 return SWIG_OverflowError
;
2873 if (val
) *val
= static_cast< int >(v
);
2879 SWIGINTERN PyObject
*wxPen_GetDashes(wxPen
*self
){
2881 int count
= self
->GetDashes(&dashes
);
2882 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2883 PyObject
* retval
= PyList_New(0);
2884 for (int x
=0; x
<count
; x
++) {
2885 PyObject
* pyint
= PyInt_FromLong(dashes
[x
]);
2886 PyList_Append(retval
, pyint
);
2889 wxPyEndBlockThreads(blocked
);
2892 SWIGINTERN
void wxPen__SetDashes(wxPen
*self
,PyObject
*_self
,PyObject
*pyDashes
){
2893 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2894 int size
= PyList_Size(pyDashes
);
2895 wxDash
* dashes
= (wxDash
*)byte_LIST_helper(pyDashes
);
2897 // black magic warning! The array of wxDashes needs to exist as
2898 // long as the pen does because wxPen does not copy the array. So
2899 // stick a copy in a Python string object and attach it to _self,
2900 // and then call SetDashes with a pointer to that array. Then
2901 // when the Python pen object is destroyed the array will be
2903 PyObject
* strDashes
= PyString_FromStringAndSize((char*)dashes
, size
*sizeof(wxDash
));
2904 PyObject_SetAttrString(_self
, "_dashes", strDashes
);
2906 self
->SetDashes(size
, (wxDash
*)PyString_AS_STRING(strDashes
));
2908 Py_DECREF(strDashes
);
2909 wxPyEndBlockThreads(blocked
);
2911 SWIGINTERN
bool wxPen___eq__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
== *other
) : false; }
2912 SWIGINTERN
bool wxPen___ne__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
!= *other
) : true; }
2914 #include <wx/rawbmp.h>
2917 #include <wx/image.h>
2919 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
2920 char** cArray
= NULL
;
2923 if (!PyList_Check(listOfStrings
)) {
2924 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
2927 count
= PyList_Size(listOfStrings
);
2928 cArray
= new char*[count
];
2930 for(int x
=0; x
<count
; x
++) {
2931 // TODO: Need some validation and error checking here
2932 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
2938 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*listOfStrings
){
2939 char** cArray
= NULL
;
2942 cArray
= ConvertListOfStrings(listOfStrings
);
2945 bmp
= new wxBitmap(cArray
);
2949 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*bits
,int width
,int height
,int depth
=1){
2952 PyString_AsStringAndSize(bits
, &buf
, &length
);
2953 return new wxBitmap(buf
, width
, height
, depth
);
2955 SWIGINTERN wxSize
wxBitmap_GetSize(wxBitmap
*self
){
2956 wxSize
size(self
->GetWidth(), self
->GetHeight());
2959 SWIGINTERN
void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
2960 wxMask
*mask
= new wxMask(*self
, colour
);
2961 self
->SetMask(mask
);
2963 SWIGINTERN
void wxBitmap_SetSize(wxBitmap
*self
,wxSize
const &size
){
2964 self
->SetWidth(size
.x
);
2965 self
->SetHeight(size
.y
);
2967 SWIGINTERN
bool wxBitmap___eq__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
== *other
) : false; }
2968 SWIGINTERN
bool wxBitmap___ne__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
!= *other
) : true; }
2970 // See http://tinyurl.com/e5adr for what premultiplying alpha means. It
2971 // appears to me that the other platforms are already doing it, so I'll just
2972 // automatically do it for wxMSW here.
2974 #define wxPy_premultiply(p, a) ((p) * (a) / 0xff)
2975 #define wxPy_unpremultiply(p, a) ((a) ? ((p) * 0xff / (a)) : (p))
2977 #define wxPy_premultiply(p, a) (p)
2978 #define wxPy_unpremultiply(p, a) (p)
2982 wxBitmap
* _BitmapFromBufferAlpha(int width
, int height
,
2983 buffer data
, int DATASIZE
,
2984 buffer alpha
, int ALPHASIZE
)
2986 if (DATASIZE
!= width
*height
*3) {
2987 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
2991 if (ALPHASIZE
!= width
*height
) {
2992 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
2996 wxBitmap
* bmp
= new wxBitmap(width
, height
, 32);
2997 wxAlphaPixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
2999 // raise an exception...
3000 wxPyErr_SetString(PyExc_RuntimeError
,
3001 "Failed to gain raw access to bitmap data.");
3006 wxAlphaPixelData::Iterator
p(pixData
);
3007 for (int y
=0; y
<height
; y
++) {
3008 wxAlphaPixelData::Iterator rowStart
= p
;
3009 for (int x
=0; x
<width
; x
++) {
3010 byte a
= *(alpha
++);
3011 p
.Red() = wxPy_premultiply(*(data
++), a
);
3012 p
.Green() = wxPy_premultiply(*(data
++), a
);
3013 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3018 p
.OffsetY(pixData
, 1);
3023 wxBitmap
* _BitmapFromBuffer(int width
, int height
, buffer data
, int DATASIZE
)
3025 if (DATASIZE
!= width
*height
*3) {
3026 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3030 wxBitmap
* bmp
= new wxBitmap(width
, height
, 24);
3031 wxNativePixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3033 // raise an exception...
3034 wxPyErr_SetString(PyExc_RuntimeError
,
3035 "Failed to gain raw access to bitmap data.");
3039 wxNativePixelData::Iterator
p(pixData
);
3040 for (int y
=0; y
<height
; y
++) {
3041 wxNativePixelData::Iterator rowStart
= p
;
3042 for (int x
=0; x
<width
; x
++) {
3043 p
.Red() = *(data
++);
3044 p
.Green() = *(data
++);
3045 p
.Blue() = *(data
++);
3049 p
.OffsetY(pixData
, 1);
3055 wxBitmap
* _BitmapFromBufferRGBA(int width
, int height
, buffer data
, int DATASIZE
)
3057 if (DATASIZE
!= width
*height
*4) {
3058 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3062 wxBitmap
* bmp
= new wxBitmap(width
, height
, 32);
3063 wxAlphaPixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3065 // raise an exception...
3066 wxPyErr_SetString(PyExc_RuntimeError
,
3067 "Failed to gain raw access to bitmap data.");
3072 wxAlphaPixelData::Iterator
p(pixData
);
3073 for (int y
=0; y
<height
; y
++) {
3074 wxAlphaPixelData::Iterator rowStart
= p
;
3075 for (int x
=0; x
<width
; x
++) {
3077 p
.Red() = wxPy_premultiply(*(data
++), a
);
3078 p
.Green() = wxPy_premultiply(*(data
++), a
);
3079 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3080 p
.Alpha() = a
; data
++;
3084 p
.OffsetY(pixData
, 1);
3090 typedef wxNativePixelData::Iterator wxNativePixelData_Accessor
;
3092 SWIGINTERN
bool wxNativePixelData___nonzero__(wxNativePixelData
*self
){ return self
->operator bool(); }
3093 SWIGINTERN
void wxNativePixelData_Accessor_nextPixel(wxNativePixelData_Accessor
*self
){ ++(*self
); }
3094 SWIGINTERN
void wxNativePixelData_Accessor_Set(wxNativePixelData_Accessor
*self
,byte red
,byte green
,byte blue
){
3096 self
->Green() = green
;
3097 self
->Blue() = blue
;
3099 SWIGINTERN PyObject
*wxNativePixelData_Accessor_Get(wxNativePixelData_Accessor
*self
){
3100 PyObject
* rv
= PyTuple_New(3);
3101 PyTuple_SetItem(rv
, 0, PyInt_FromLong(self
->Red()));
3102 PyTuple_SetItem(rv
, 1, PyInt_FromLong(self
->Green()));
3103 PyTuple_SetItem(rv
, 2, PyInt_FromLong(self
->Blue()));
3107 typedef wxAlphaPixelData::Iterator wxAlphaPixelData_Accessor
;
3109 SWIGINTERN
bool wxAlphaPixelData___nonzero__(wxAlphaPixelData
*self
){ return self
->operator bool(); }
3110 SWIGINTERN
void wxAlphaPixelData_Accessor_nextPixel(wxAlphaPixelData_Accessor
*self
){ ++(*self
); }
3111 SWIGINTERN
void wxAlphaPixelData_Accessor_Set(wxAlphaPixelData_Accessor
*self
,byte red
,byte green
,byte blue
,byte alpha
){
3112 self
->Red() = wxPy_premultiply(red
, alpha
);
3113 self
->Green() = wxPy_premultiply(green
, alpha
);
3114 self
->Blue() = wxPy_premultiply(blue
, alpha
);
3115 self
->Alpha() = alpha
;
3117 SWIGINTERN PyObject
*wxAlphaPixelData_Accessor_Get(wxAlphaPixelData_Accessor
*self
){
3118 PyObject
* rv
= PyTuple_New(4);
3119 int red
= self
->Red();
3120 int green
= self
->Green();
3121 int blue
= self
->Blue();
3122 int alpha
= self
->Alpha();
3124 PyTuple_SetItem(rv
, 0, PyInt_FromLong( wxPy_unpremultiply(red
, alpha
) ));
3125 PyTuple_SetItem(rv
, 1, PyInt_FromLong( wxPy_unpremultiply(green
, alpha
) ));
3126 PyTuple_SetItem(rv
, 2, PyInt_FromLong( wxPy_unpremultiply(blue
, alpha
) ));
3127 PyTuple_SetItem(rv
, 3, PyInt_FromLong( alpha
));
3130 SWIGINTERN wxMask
*new_wxMask(wxBitmap
const &bitmap
,wxColour
const &colour
=wxNullColour
){
3131 if ( !colour
.IsOk() )
3132 return new wxMask(bitmap
, *wxBLACK
);
3134 return new wxMask(bitmap
, colour
);
3137 #include <wx/iconbndl.h>
3139 SWIGINTERN wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
3140 wxIcon
* icon
= new wxIcon();
3141 icon
->CopyFromBitmap(bmp
);
3144 SWIGINTERN wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
3145 char** cArray
= NULL
;
3148 cArray
= ConvertListOfStrings(listOfStrings
);
3151 icon
= new wxIcon(cArray
);
3155 SWIGINTERN wxIconLocation
*new_wxIconLocation(wxString
const *filename
=&wxPyEmptyString
,int num
=0){
3159 return new wxIconLocation(*filename
);
3162 SWIGINTERN
void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
3169 SWIGINTERN
int wxIconLocation_GetIndex(wxIconLocation
*self
){
3176 SWIGINTERN wxCursor
*new_wxCursor(wxString
const &cursorName
,long type
,int hotSpotX
=0,int hotSpotY
=0){
3178 wxImage
img(cursorName
, type
);
3179 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_X
, hotSpotX
);
3180 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_Y
, hotSpotY
);
3181 return new wxCursor(img
);
3183 return new wxCursor(cursorName
, type
, hotSpotX
, hotSpotY
);
3188 SWIGINTERN
void wxRegionIterator_Next(wxRegionIterator
*self
){
3191 SWIGINTERN
bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
3192 return self
->operator bool();
3195 #include <wx/fontutil.h>
3196 #include <wx/fontmap.h>
3197 #include <wx/fontenum.h>
3199 SWIGINTERN wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
3200 return self
->ToString();
3203 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
) {
3204 static wxNativeEncodingInfo info
;
3205 if ( wxGetNativeFontEncoding(encoding
, &info
) )
3212 SWIGINTERNINLINE PyObject
*
3213 SWIG_From_size_t (size_t value
)
3215 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
3219 SWIGINTERNINLINE
int
3220 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
3223 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
3224 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
3228 SWIGINTERN PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
=wxPyEmptyString
,bool interactive
=true){
3229 wxFontEncoding alt_enc
;
3230 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
3231 return PyInt_FromLong(alt_enc
);
3237 SWIGINTERN wxFont
*new_wxFont(wxString
const &info
){
3238 wxNativeFontInfo nfi
;
3239 nfi
.FromString(info
);
3240 return new wxFont(nfi
);
3242 SWIGINTERN wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxPyEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3243 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
3245 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,int family
,int style
,int weight
,bool underlined
=false,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3246 return wxFontBase::New(pixelSize
, family
,
3247 style
, weight
, underlined
,
3250 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3251 return wxFontBase::New(pixelSize
, family
, flags
, face
, encoding
);
3253 SWIGINTERN
bool wxFont___eq__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
== *other
) : false; }
3254 SWIGINTERN
bool wxFont___ne__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
!= *other
) : true; }
3256 class wxPyFontEnumerator
: public wxFontEnumerator
{
3258 wxPyFontEnumerator() {}
3259 ~wxPyFontEnumerator() {}
3261 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
3262 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
3267 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
3268 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
3271 SWIGINTERN PyObject
*wxPyFontEnumerator_GetEncodings(){
3273 wxArrayString arr
= wxFontEnumerator::GetEncodings();
3274 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3275 ret
= wxArrayString2PyList_helper(arr
);
3276 wxPyEndBlockThreads(blocked
);
3279 SWIGINTERN PyObject
*wxPyFontEnumerator_GetFacenames(){
3281 wxArrayString arr
= wxFontEnumerator::GetFacenames();
3282 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3283 ret
= wxArrayString2PyList_helper(arr
);
3284 wxPyEndBlockThreads(blocked
);
3290 SWIGINTERN wxLocale
*new_wxLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3293 loc
= new wxLocale();
3295 loc
= new wxLocale(language
, flags
);
3296 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3297 // for the floating point conversions and such to work right.
3298 #if PY_VERSION_HEX < 0x02040000
3299 setlocale(LC_NUMERIC
, "C");
3303 SWIGINTERN
bool wxLocale_Init1(wxLocale
*self
,wxString
const &szName
,wxString
const &szShort
=wxPyEmptyString
,wxString
const &szLocale
=wxPyEmptyString
,bool bLoadDefault
=true,bool bConvertEncoding
=false){
3304 bool rc
= self
->Init(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
);
3305 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3306 // for the floating point conversions and such to work right.
3307 #if PY_VERSION_HEX < 0x02040000
3308 setlocale(LC_NUMERIC
, "C");
3312 SWIGINTERN
bool wxLocale_Init2(wxLocale
*self
,int language
=wxLANGUAGE_DEFAULT
,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3313 bool rc
= self
->Init(language
, flags
);
3314 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3315 // for the floating point conversions and such to work right.
3316 #if PY_VERSION_HEX < 0x02040000
3317 setlocale(LC_NUMERIC
, "C");
3322 class wxPyLocale
: public wxLocale
3327 wxPyLocale(const wxChar
*szName
, // name (for messages)
3328 const wxChar
*szShort
= (const wxChar
*) NULL
, // dir prefix (for msg files)
3329 const wxChar
*szLocale
= (const wxChar
*) NULL
, // locale (for setlocale)
3330 bool bLoadDefault
= true, // preload wxstd.mo?
3331 bool bConvertEncoding
= false); // convert Win<->Unix if necessary?
3333 wxPyLocale(int language
, // wxLanguage id or custom language
3334 int flags
= wxLOCALE_LOAD_DEFAULT
| wxLOCALE_CONV_ENCODING
);
3338 virtual const wxChar
*GetString(const wxChar
*szOrigString
,
3339 const wxChar
*szDomain
= NULL
) const;
3340 virtual const wxChar
*GetString(const wxChar
*szOrigString
,
3341 const wxChar
*szOrigString2
, size_t n
,
3342 const wxChar
*szDomain
= NULL
) const;
3344 virtual wxChar
*GetSingularString(const wxChar
*szOrigString
,
3345 const wxChar
*szDomain
= NULL
) const;
3346 virtual wxChar
*GetPluralString(const wxChar
*szOrigString
,
3347 const wxChar
*szOrigString2
, size_t n
,
3348 const wxChar
*szDomain
= NULL
) const;
3352 DECLARE_NO_COPY_CLASS(wxPyLocale
)
3355 wxPyLocale::wxPyLocale() : wxLocale()
3359 wxPyLocale::wxPyLocale(const wxChar
*szName
, // name (for messages)
3360 const wxChar
*szShort
, // dir prefix (for msg files)
3361 const wxChar
*szLocale
, // locale (for setlocale)
3362 bool bLoadDefault
, // preload wxstd.mo?
3363 bool bConvertEncoding
) // convert Win<->Unix if necessary?
3364 : wxLocale(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
)
3368 wxPyLocale::wxPyLocale(int language
, // wxLanguage id or custom language
3369 int flags
) : wxLocale(language
, flags
)
3373 wxPyLocale::~wxPyLocale()
3377 const wxChar
*wxPyLocale::GetString(const wxChar
*szOrigString
,
3378 const wxChar
*szDomain
) const
3380 wxChar
*str
= GetSingularString(szOrigString
, szDomain
);
3381 return (str
!= NULL
) ? str
: wxLocale::GetString(szOrigString
, szDomain
);
3384 const wxChar
*wxPyLocale::GetString(const wxChar
*szOrigString
,
3385 const wxChar
*szOrigString2
, size_t n
,
3386 const wxChar
*szDomain
) const
3388 wxChar
*str
= GetPluralString(szOrigString
, szOrigString2
, n
, szDomain
);
3389 return (str
!= NULL
) ? str
: wxLocale::GetString(szOrigString
, szOrigString2
, n
, szDomain
);
3392 wxChar
*wxPyLocale::GetSingularString(const wxChar
*szOrigString
,
3393 const wxChar
*szDomain
) const
3396 static wxString str
;
3397 str
= _T("error in translation"); // when the first if condition is true but the second if condition is not we do not want to return the previously queried string.
3398 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3399 if((found
=wxPyCBH_findCallback(m_myInst
, "GetSingularString"))) {
3400 PyObject
* param1
= wx2PyString(szOrigString
);
3401 PyObject
* param2
= wx2PyString(szDomain
);
3402 PyObject
* ret
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OO)", param1
, param2
));
3406 str
= Py2wxString(ret
);
3410 wxPyEndBlockThreads(blocked
);
3411 return (found
? (wxChar
*)str
.c_str() : NULL
);
3414 wxChar
*wxPyLocale::GetPluralString(const wxChar
*szOrigString
,
3415 const wxChar
*szOrigString2
, size_t n
,
3416 const wxChar
*szDomain
) const
3419 static wxString str
;
3420 str
= _T("error in translation"); // when the first if condition is true but the second if condition is not we do not want to return the previously queried string.
3421 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3422 if((found
=wxPyCBH_findCallback(m_myInst
, "GetPluralString"))) {
3423 PyObject
* param1
= wx2PyString(szOrigString
);
3424 PyObject
* param2
= wx2PyString(szOrigString2
);
3425 PyObject
* param4
= wx2PyString(szDomain
);
3426 PyObject
* ret
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOiO)", param1
, param2
, (int)n
, param4
));
3431 str
= Py2wxString(ret
);
3435 wxPyEndBlockThreads(blocked
);
3436 return (found
? (wxChar
*)str
.c_str() : NULL
);
3439 SWIGINTERN wxPyLocale
*new_wxPyLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3442 loc
= new wxPyLocale();
3444 loc
= new wxPyLocale(language
, flags
);
3445 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3446 // for the floating point conversions and such to work right.
3447 #if PY_VERSION_HEX < 0x02040000
3448 setlocale(LC_NUMERIC
, "C");
3453 #include "wx/wxPython/pydrawxxx.h"
3455 SWIGINTERN wxColour
wxDC_GetPixel(wxDC
*self
,int x
,int y
){
3457 self
->GetPixel(x
, y
, &col
);
3460 SWIGINTERN wxColour
wxDC_GetPixelPoint(wxDC
*self
,wxPoint
const &pt
){
3462 self
->GetPixel(pt
, &col
);
3467 SWIG_AsVal_double (PyObject
*obj
, double* val
)
3469 if (PyNumber_Check(obj
)) {
3470 if (val
) *val
= PyFloat_AsDouble(obj
);
3473 return SWIG_TypeError
;
3476 SWIGINTERN wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
=wxALIGN_LEFT
|wxALIGN_TOP
,int indexAccel
=-1){
3478 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
3481 SWIGINTERN wxRect
wxDC_GetClippingRect(wxDC
*self
){
3483 self
->GetClippingBox(rect
);
3486 SWIGINTERN wxArrayInt
wxDC_GetPartialTextExtents(wxDC
*self
,wxString
const &text
){
3488 self
->GetPartialTextExtents(text
, widths
);
3492 #define SWIG_From_double PyFloat_FromDouble
3494 SWIGINTERN
void wxDC_SetLogicalOriginPoint(wxDC
*self
,wxPoint
const &point
){
3495 self
->SetLogicalOrigin(point
.x
, point
.y
);
3497 SWIGINTERN
void wxDC_SetDeviceOriginPoint(wxDC
*self
,wxPoint
const &point
){
3498 self
->SetDeviceOrigin(point
.x
, point
.y
);
3500 SWIGINTERN
void wxDC_CalcBoundingBoxPoint(wxDC
*self
,wxPoint
const &point
){
3501 self
->CalcBoundingBox(point
.x
, point
.y
);
3503 SWIGINTERN PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3504 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
3506 SWIGINTERN PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3507 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
3509 SWIGINTERN PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3510 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
3512 SWIGINTERN PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3513 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
3515 SWIGINTERN PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3516 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
3518 SWIGINTERN PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
3519 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
3522 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
3530 #include <wx/dcbuffer.h>
3533 #include <wx/dcps.h>
3536 class wxMetaFile
: public wxObject
{
3538 wxMetaFile(const wxString
&)
3539 { wxPyRaiseNotImplemented(); }
3542 class wxMetaFileDC
: public wxClientDC
{
3544 wxMetaFileDC(const wxString
&, int, int, const wxString
&)
3545 { wxPyRaiseNotImplemented(); }
3550 class wxPrinterDC
: public wxClientDC
{
3552 wxPrinterDC(const wxPrintData
&)
3553 { wxPyRaiseNotImplemented(); }
3558 #include <wx/graphics.h>
3561 #if !wxUSE_GRAPHICS_CONTEXT
3562 // C++ stub classes for platforms that don't have wxGraphicsContext yet.
3564 class wxGraphicsPath
3568 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3569 PyErr_SetString(PyExc_NotImplementedError
,
3570 "wxGraphicsPath is not available on this platform.");
3571 wxPyEndBlockThreads(blocked
);
3573 virtual ~wxGraphicsPath() {}
3575 void MoveToPoint( wxDouble
, wxDouble
) {}
3576 void AddLineToPoint( wxDouble
, wxDouble
) {}
3577 void AddCurveToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3578 void CloseSubpath() {}
3579 void GetCurrentPoint( wxDouble
&, wxDouble
&) {}
3580 void AddArc( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
, bool ) {}
3582 void AddQuadCurveToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3583 void AddRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3584 void AddCircle( wxDouble
, wxDouble
, wxDouble
) {}
3585 void AddArcToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3587 wxPoint2DDouble
GetCurrentPoint() { return wxPoint2DDouble(0,0); }
3588 void MoveToPoint( const wxPoint2DDouble
& ) {}
3589 void AddLineToPoint( const wxPoint2DDouble
&) {}
3590 void AddCurveToPoint( const wxPoint2DDouble
&, const wxPoint2DDouble
&, const wxPoint2DDouble
&) {}
3591 void AddArc( const wxPoint2DDouble
&, wxDouble
, wxDouble
, wxDouble
, bool) {}
3595 class wxGraphicsContext
3598 wxGraphicsContext() {
3599 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3600 PyErr_SetString(PyExc_NotImplementedError
,
3601 "wxGraphicsContext is not available on this platform.");
3602 wxPyEndBlockThreads(blocked
);
3604 virtual ~wxGraphicsContext() {}
3606 static wxGraphicsContext
* Create( const wxWindowDC
&) {
3607 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3608 PyErr_SetString(PyExc_NotImplementedError
,
3609 "wxGraphicsPath is not available on this platform.");
3610 wxPyEndBlockThreads(blocked
);
3614 wxGraphicsPath
* CreatePath() { return NULL
; }
3617 void Clip( const wxRegion
& ) {}
3618 void Translate( wxDouble
, wxDouble
) {}
3619 void Scale( wxDouble
, wxDouble
) {}
3620 void Rotate( wxDouble
) {}
3621 void SetPen( const wxPen
& ) {}
3622 void SetBrush( const wxBrush
& ) {}
3623 void SetLinearGradientBrush( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3624 const wxColour
&, const wxColour
&) {}
3625 void SetRadialGradientBrush( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3626 const wxColour
&, const wxColour
&) {}
3627 void SetFont( const wxFont
& ) {}
3628 void SetTextColor( const wxColour
& ) {}
3629 void StrokePath( const wxGraphicsPath
* ) {}
3630 void FillPath( const wxGraphicsPath
*, int ) {}
3631 void DrawPath( const wxGraphicsPath
*, int ) {}
3632 void DrawText( const wxString
&, wxDouble
, wxDouble
) {}
3633 void DrawText( const wxString
&, wxDouble
, wxDouble
, wxDouble
) {}
3634 void GetTextExtent( const wxString
&, wxDouble
*, wxDouble
*,
3635 wxDouble
*, wxDouble
* ) const {}
3636 void GetPartialTextExtents(const wxString
& , wxArrayDouble
& ) const {}
3637 void DrawBitmap( const wxBitmap
&, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3638 void DrawIcon( const wxIcon
&, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3639 void StrokeLine( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3640 void StrokeLines( size_t , const wxPoint2DDouble
*) {}
3641 void StrokeLines( size_t , const wxPoint2DDouble
*, const wxPoint2DDouble
*) {}
3642 void DrawLines( size_t , const wxPoint2DDouble
*, int ) {}
3643 void DrawRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3644 void DrawEllipse( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3645 void DrawRoundedRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3649 class wxGCDC
: public wxWindowDC
3652 wxGCDC(const wxWindowDC
&) {
3653 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3654 PyErr_SetString(PyExc_NotImplementedError
,
3655 "wxGCDC is not available on this platform.");
3656 wxPyEndBlockThreads(blocked
);
3660 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3661 PyErr_SetString(PyExc_NotImplementedError
,
3662 "wxGCDC is not available on this platform.");
3663 wxPyEndBlockThreads(blocked
);
3666 virtual ~wxGCDC() {}
3668 wxGraphicsContext
* GetGraphicContext() { return NULL
; }
3673 SWIGINTERN wxArrayDouble
wxGraphicsContext_GetPartialTextExtents(wxGraphicsContext
*self
,wxString
const &text
){
3674 wxArrayDouble widths
;
3675 self
->GetPartialTextExtents(text
, widths
);
3678 SWIGINTERN
void wxGraphicsContext_StrokeLineSegements(wxGraphicsContext
*self
,PyObject
*beginPoints
,PyObject
*endPoints
){
3679 size_t c1
, c2
, count
;
3680 wxPoint2D
* beginP
= wxPoint2D_LIST_helper(beginPoints
, &c1
);
3681 wxPoint2D
* endP
= wxPoint2D_LIST_helper(endPoints
, &c2
);
3683 if ( beginP
!= NULL
&& endP
!= NULL
)
3685 count
= wxMin(c1
, c2
);
3686 self
->StrokeLines(count
, beginP
, endP
);
3692 #include "wx/dcgraph.h"
3696 SWIGINTERN
void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
3697 self
->AddColour(name
, wxColour(red
, green
, blue
));
3700 wxFontList
* _wxPyInitTheFontList() { return wxTheFontList
; }
3701 wxPenList
* _wxPyInitThePenList() { return wxThePenList
; }
3702 wxBrushList
* _wxPyInitTheBrushList() { return wxTheBrushList
; }
3703 wxColourDatabase
* _wxPyInitTheColourDatabase() { return wxTheColourDatabase
; }
3706 #include <wx/effects.h>
3709 #include "wx/renderer.h"
3712 SWIGINTERNINLINE PyObject
*
3713 SWIG_From_bool (bool value
)
3715 return PyBool_FromLong(value
? 1 : 0);
3719 #include "wx/wxPython/pseudodc.h"
3721 SWIGINTERN wxRect
wxPseudoDC_GetIdBounds(wxPseudoDC
*self
,int id
){
3723 self
->GetIdBounds(id
, rect
);
3729 SWIGINTERN PyObject
*_wrap_new_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3730 PyObject
*resultobj
= 0;
3731 wxGDIObject
*result
= 0 ;
3733 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObject",0,0,0)) SWIG_fail
;
3735 if (!wxPyCheckForApp()) SWIG_fail
;
3736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3737 result
= (wxGDIObject
*)new wxGDIObject();
3738 wxPyEndAllowThreads(__tstate
);
3739 if (PyErr_Occurred()) SWIG_fail
;
3741 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_NEW
| 0 );
3748 SWIGINTERN PyObject
*_wrap_delete_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3749 PyObject
*resultobj
= 0;
3750 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
3753 PyObject
*swig_obj
[1] ;
3755 if (!args
) SWIG_fail
;
3757 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_DISOWN
| 0 );
3758 if (!SWIG_IsOK(res1
)) {
3759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObject" "', expected argument " "1"" of type '" "wxGDIObject *""'");
3761 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
3763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3766 wxPyEndAllowThreads(__tstate
);
3767 if (PyErr_Occurred()) SWIG_fail
;
3769 resultobj
= SWIG_Py_Void();
3776 SWIGINTERN PyObject
*_wrap_GDIObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3777 PyObject
*resultobj
= 0;
3778 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
3782 PyObject
*swig_obj
[1] ;
3784 if (!args
) SWIG_fail
;
3786 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, 0 | 0 );
3787 if (!SWIG_IsOK(res1
)) {
3788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GDIObject_IsNull" "', expected argument " "1"" of type '" "wxGDIObject *""'");
3790 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
3792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3793 result
= (bool)(arg1
)->IsNull();
3794 wxPyEndAllowThreads(__tstate
);
3795 if (PyErr_Occurred()) SWIG_fail
;
3798 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3806 SWIGINTERN PyObject
*GDIObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3808 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3809 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObject
, SWIG_NewClientData(obj
));
3810 return SWIG_Py_Void();
3813 SWIGINTERN PyObject
*GDIObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3814 return SWIG_Python_InitShadowInstance(args
);
3817 SWIGINTERN PyObject
*_wrap_new_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3818 PyObject
*resultobj
= 0;
3819 byte arg1
= (byte
) 0 ;
3820 byte arg2
= (byte
) 0 ;
3821 byte arg3
= (byte
) 0 ;
3822 byte arg4
= (byte
) wxALPHA_OPAQUE
;
3823 wxColour
*result
= 0 ;
3824 unsigned char val1
;
3826 unsigned char val2
;
3828 unsigned char val3
;
3830 unsigned char val4
;
3832 PyObject
* obj0
= 0 ;
3833 PyObject
* obj1
= 0 ;
3834 PyObject
* obj2
= 0 ;
3835 PyObject
* obj3
= 0 ;
3836 char * kwnames
[] = {
3837 (char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
3840 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
3842 ecode1
= SWIG_AsVal_unsigned_SS_char(obj0
, &val1
);
3843 if (!SWIG_IsOK(ecode1
)) {
3844 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Colour" "', expected argument " "1"" of type '" "byte""'");
3846 arg1
= static_cast< byte
>(val1
);
3849 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
3850 if (!SWIG_IsOK(ecode2
)) {
3851 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Colour" "', expected argument " "2"" of type '" "byte""'");
3853 arg2
= static_cast< byte
>(val2
);
3856 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
3857 if (!SWIG_IsOK(ecode3
)) {
3858 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Colour" "', expected argument " "3"" of type '" "byte""'");
3860 arg3
= static_cast< byte
>(val3
);
3863 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
3864 if (!SWIG_IsOK(ecode4
)) {
3865 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Colour" "', expected argument " "4"" of type '" "byte""'");
3867 arg4
= static_cast< byte
>(val4
);
3870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3871 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
,arg4
);
3872 wxPyEndAllowThreads(__tstate
);
3873 if (PyErr_Occurred()) SWIG_fail
;
3875 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_NEW
| 0 );
3882 SWIGINTERN PyObject
*_wrap_new_NamedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3883 PyObject
*resultobj
= 0;
3884 wxString
*arg1
= 0 ;
3885 wxColour
*result
= 0 ;
3886 bool temp1
= false ;
3887 PyObject
* obj0
= 0 ;
3888 char * kwnames
[] = {
3889 (char *) "colorName", NULL
3892 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) SWIG_fail
;
3894 arg1
= wxString_in_helper(obj0
);
3895 if (arg1
== NULL
) SWIG_fail
;
3899 if (!wxPyCheckForApp()) SWIG_fail
;
3900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3901 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
3902 wxPyEndAllowThreads(__tstate
);
3903 if (PyErr_Occurred()) SWIG_fail
;
3905 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
3920 SWIGINTERN PyObject
*_wrap_new_ColourRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3921 PyObject
*resultobj
= 0;
3922 unsigned long arg1
;
3923 wxColour
*result
= 0 ;
3924 unsigned long val1
;
3926 PyObject
* obj0
= 0 ;
3927 char * kwnames
[] = {
3928 (char *) "colRGB", NULL
3931 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) SWIG_fail
;
3932 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
3933 if (!SWIG_IsOK(ecode1
)) {
3934 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ColourRGB" "', expected argument " "1"" of type '" "unsigned long""'");
3936 arg1
= static_cast< unsigned long >(val1
);
3938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3939 result
= (wxColour
*)new wxColour(arg1
);
3940 wxPyEndAllowThreads(__tstate
);
3941 if (PyErr_Occurred()) SWIG_fail
;
3943 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
3950 SWIGINTERN PyObject
*_wrap_delete_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3951 PyObject
*resultobj
= 0;
3952 wxColour
*arg1
= (wxColour
*) 0 ;
3955 PyObject
*swig_obj
[1] ;
3957 if (!args
) SWIG_fail
;
3959 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, SWIG_POINTER_DISOWN
| 0 );
3960 if (!SWIG_IsOK(res1
)) {
3961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Colour" "', expected argument " "1"" of type '" "wxColour *""'");
3963 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3968 wxPyEndAllowThreads(__tstate
);
3969 if (PyErr_Occurred()) SWIG_fail
;
3971 resultobj
= SWIG_Py_Void();
3978 SWIGINTERN PyObject
*_wrap_Colour_Red(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3979 PyObject
*resultobj
= 0;
3980 wxColour
*arg1
= (wxColour
*) 0 ;
3984 PyObject
*swig_obj
[1] ;
3986 if (!args
) SWIG_fail
;
3988 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3989 if (!SWIG_IsOK(res1
)) {
3990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Red" "', expected argument " "1"" of type '" "wxColour *""'");
3992 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3995 result
= (byte
)(arg1
)->Red();
3996 wxPyEndAllowThreads(__tstate
);
3997 if (PyErr_Occurred()) SWIG_fail
;
3999 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4006 SWIGINTERN PyObject
*_wrap_Colour_Green(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4007 PyObject
*resultobj
= 0;
4008 wxColour
*arg1
= (wxColour
*) 0 ;
4012 PyObject
*swig_obj
[1] ;
4014 if (!args
) SWIG_fail
;
4016 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4017 if (!SWIG_IsOK(res1
)) {
4018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Green" "', expected argument " "1"" of type '" "wxColour *""'");
4020 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4023 result
= (byte
)(arg1
)->Green();
4024 wxPyEndAllowThreads(__tstate
);
4025 if (PyErr_Occurred()) SWIG_fail
;
4027 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4034 SWIGINTERN PyObject
*_wrap_Colour_Blue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4035 PyObject
*resultobj
= 0;
4036 wxColour
*arg1
= (wxColour
*) 0 ;
4040 PyObject
*swig_obj
[1] ;
4042 if (!args
) SWIG_fail
;
4044 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4045 if (!SWIG_IsOK(res1
)) {
4046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Blue" "', expected argument " "1"" of type '" "wxColour *""'");
4048 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4051 result
= (byte
)(arg1
)->Blue();
4052 wxPyEndAllowThreads(__tstate
);
4053 if (PyErr_Occurred()) SWIG_fail
;
4055 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4062 SWIGINTERN PyObject
*_wrap_Colour_Alpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4063 PyObject
*resultobj
= 0;
4064 wxColour
*arg1
= (wxColour
*) 0 ;
4068 PyObject
*swig_obj
[1] ;
4070 if (!args
) SWIG_fail
;
4072 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4073 if (!SWIG_IsOK(res1
)) {
4074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Alpha" "', expected argument " "1"" of type '" "wxColour *""'");
4076 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4079 result
= (byte
)(arg1
)->Alpha();
4080 wxPyEndAllowThreads(__tstate
);
4081 if (PyErr_Occurred()) SWIG_fail
;
4083 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4090 SWIGINTERN PyObject
*_wrap_Colour_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4091 PyObject
*resultobj
= 0;
4092 wxColour
*arg1
= (wxColour
*) 0 ;
4096 PyObject
*swig_obj
[1] ;
4098 if (!args
) SWIG_fail
;
4100 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4101 if (!SWIG_IsOK(res1
)) {
4102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_IsOk" "', expected argument " "1"" of type '" "wxColour *""'");
4104 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4107 result
= (bool)(arg1
)->IsOk();
4108 wxPyEndAllowThreads(__tstate
);
4109 if (PyErr_Occurred()) SWIG_fail
;
4112 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4120 SWIGINTERN PyObject
*_wrap_Colour_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4121 PyObject
*resultobj
= 0;
4122 wxColour
*arg1
= (wxColour
*) 0 ;
4126 byte arg5
= (byte
) wxALPHA_OPAQUE
;
4129 unsigned char val2
;
4131 unsigned char val3
;
4133 unsigned char val4
;
4135 unsigned char val5
;
4137 PyObject
* obj0
= 0 ;
4138 PyObject
* obj1
= 0 ;
4139 PyObject
* obj2
= 0 ;
4140 PyObject
* obj3
= 0 ;
4141 PyObject
* obj4
= 0 ;
4142 char * kwnames
[] = {
4143 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
4146 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
4147 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4148 if (!SWIG_IsOK(res1
)) {
4149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Set" "', expected argument " "1"" of type '" "wxColour *""'");
4151 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4152 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4153 if (!SWIG_IsOK(ecode2
)) {
4154 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Set" "', expected argument " "2"" of type '" "byte""'");
4156 arg2
= static_cast< byte
>(val2
);
4157 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4158 if (!SWIG_IsOK(ecode3
)) {
4159 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Colour_Set" "', expected argument " "3"" of type '" "byte""'");
4161 arg3
= static_cast< byte
>(val3
);
4162 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4163 if (!SWIG_IsOK(ecode4
)) {
4164 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Colour_Set" "', expected argument " "4"" of type '" "byte""'");
4166 arg4
= static_cast< byte
>(val4
);
4168 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
4169 if (!SWIG_IsOK(ecode5
)) {
4170 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Colour_Set" "', expected argument " "5"" of type '" "byte""'");
4172 arg5
= static_cast< byte
>(val5
);
4175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4176 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
4177 wxPyEndAllowThreads(__tstate
);
4178 if (PyErr_Occurred()) SWIG_fail
;
4180 resultobj
= SWIG_Py_Void();
4187 SWIGINTERN PyObject
*_wrap_Colour_SetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4188 PyObject
*resultobj
= 0;
4189 wxColour
*arg1
= (wxColour
*) 0 ;
4190 unsigned long arg2
;
4193 unsigned long val2
;
4195 PyObject
* obj0
= 0 ;
4196 PyObject
* obj1
= 0 ;
4197 char * kwnames
[] = {
4198 (char *) "self",(char *) "colRGB", NULL
4201 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4202 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4203 if (!SWIG_IsOK(res1
)) {
4204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4206 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4207 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
4208 if (!SWIG_IsOK(ecode2
)) {
4209 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_SetRGB" "', expected argument " "2"" of type '" "unsigned long""'");
4211 arg2
= static_cast< unsigned long >(val2
);
4213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4215 wxPyEndAllowThreads(__tstate
);
4216 if (PyErr_Occurred()) SWIG_fail
;
4218 resultobj
= SWIG_Py_Void();
4225 SWIGINTERN PyObject
*_wrap_Colour_SetFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4226 PyObject
*resultobj
= 0;
4227 wxColour
*arg1
= (wxColour
*) 0 ;
4228 wxString
*arg2
= 0 ;
4231 bool temp2
= false ;
4232 PyObject
* obj0
= 0 ;
4233 PyObject
* obj1
= 0 ;
4234 char * kwnames
[] = {
4235 (char *) "self",(char *) "colourName", NULL
4238 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4239 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4240 if (!SWIG_IsOK(res1
)) {
4241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetFromName" "', expected argument " "1"" of type '" "wxColour *""'");
4243 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4245 arg2
= wxString_in_helper(obj1
);
4246 if (arg2
== NULL
) SWIG_fail
;
4250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4251 (arg1
)->Set((wxString
const &)*arg2
);
4252 wxPyEndAllowThreads(__tstate
);
4253 if (PyErr_Occurred()) SWIG_fail
;
4255 resultobj
= SWIG_Py_Void();
4270 SWIGINTERN PyObject
*_wrap_Colour_GetAsString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4271 PyObject
*resultobj
= 0;
4272 wxColour
*arg1
= (wxColour
*) 0 ;
4273 long arg2
= (long) wxC2S_NAME
|wxC2S_CSS_SYNTAX
;
4279 PyObject
* obj0
= 0 ;
4280 PyObject
* obj1
= 0 ;
4281 char * kwnames
[] = {
4282 (char *) "self",(char *) "flags", NULL
4285 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_GetAsString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4286 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4287 if (!SWIG_IsOK(res1
)) {
4288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetAsString" "', expected argument " "1"" of type '" "wxColour const *""'");
4290 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4292 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
4293 if (!SWIG_IsOK(ecode2
)) {
4294 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_GetAsString" "', expected argument " "2"" of type '" "long""'");
4296 arg2
= static_cast< long >(val2
);
4299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4300 result
= ((wxColour
const *)arg1
)->GetAsString(arg2
);
4301 wxPyEndAllowThreads(__tstate
);
4302 if (PyErr_Occurred()) SWIG_fail
;
4306 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4308 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4317 SWIGINTERN PyObject
*_wrap_Colour_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4318 PyObject
*resultobj
= 0;
4319 wxColour
*arg1
= (wxColour
*) 0 ;
4323 PyObject
*swig_obj
[1] ;
4325 if (!args
) SWIG_fail
;
4327 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4328 if (!SWIG_IsOK(res1
)) {
4329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetPixel" "', expected argument " "1"" of type '" "wxColour const *""'");
4331 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4334 result
= (long)((wxColour
const *)arg1
)->GetPixel();
4335 wxPyEndAllowThreads(__tstate
);
4336 if (PyErr_Occurred()) SWIG_fail
;
4338 resultobj
= SWIG_From_long(static_cast< long >(result
));
4345 SWIGINTERN PyObject
*_wrap_Colour___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4346 PyObject
*resultobj
= 0;
4347 wxColour
*arg1
= (wxColour
*) 0 ;
4348 PyObject
*arg2
= (PyObject
*) 0 ;
4352 PyObject
* obj0
= 0 ;
4353 PyObject
* obj1
= 0 ;
4354 char * kwnames
[] = {
4355 (char *) "self",(char *) "other", NULL
4358 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4359 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4360 if (!SWIG_IsOK(res1
)) {
4361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___eq__" "', expected argument " "1"" of type '" "wxColour *""'");
4363 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4366 result
= (bool)wxColour___eq__(arg1
,arg2
);
4367 if (PyErr_Occurred()) SWIG_fail
;
4370 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4378 SWIGINTERN PyObject
*_wrap_Colour___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4379 PyObject
*resultobj
= 0;
4380 wxColour
*arg1
= (wxColour
*) 0 ;
4381 PyObject
*arg2
= (PyObject
*) 0 ;
4385 PyObject
* obj0
= 0 ;
4386 PyObject
* obj1
= 0 ;
4387 char * kwnames
[] = {
4388 (char *) "self",(char *) "other", NULL
4391 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4392 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4393 if (!SWIG_IsOK(res1
)) {
4394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___ne__" "', expected argument " "1"" of type '" "wxColour *""'");
4396 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4399 result
= (bool)wxColour___ne__(arg1
,arg2
);
4400 if (PyErr_Occurred()) SWIG_fail
;
4403 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4411 SWIGINTERN PyObject
*_wrap_Colour_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4412 PyObject
*resultobj
= 0;
4413 wxColour
*arg1
= (wxColour
*) 0 ;
4414 bool arg2
= (bool) false ;
4415 PyObject
*result
= 0 ;
4420 PyObject
* obj0
= 0 ;
4421 PyObject
* obj1
= 0 ;
4422 char * kwnames
[] = {
4423 (char *) "self",(char *) "includeAlpha", NULL
4426 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_Get",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4427 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4428 if (!SWIG_IsOK(res1
)) {
4429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Get" "', expected argument " "1"" of type '" "wxColour *""'");
4431 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4433 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4434 if (!SWIG_IsOK(ecode2
)) {
4435 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Get" "', expected argument " "2"" of type '" "bool""'");
4437 arg2
= static_cast< bool >(val2
);
4440 result
= (PyObject
*)wxColour_Get(arg1
,arg2
);
4441 if (PyErr_Occurred()) SWIG_fail
;
4450 SWIGINTERN PyObject
*_wrap_Colour_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4451 PyObject
*resultobj
= 0;
4452 wxColour
*arg1
= (wxColour
*) 0 ;
4453 unsigned long result
;
4456 PyObject
*swig_obj
[1] ;
4458 if (!args
) SWIG_fail
;
4460 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4461 if (!SWIG_IsOK(res1
)) {
4462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4464 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4466 result
= (unsigned long)wxColour_GetRGB(arg1
);
4467 if (PyErr_Occurred()) SWIG_fail
;
4469 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
4476 SWIGINTERN PyObject
*Colour_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4478 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4479 SWIG_TypeNewClientData(SWIGTYPE_p_wxColour
, SWIG_NewClientData(obj
));
4480 return SWIG_Py_Void();
4483 SWIGINTERN PyObject
*Colour_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4484 return SWIG_Python_InitShadowInstance(args
);
4487 SWIGINTERN PyObject
*_wrap_new_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4488 PyObject
*resultobj
= 0;
4490 unsigned char *arg2
= (unsigned char *) 0 ;
4491 unsigned char *arg3
= (unsigned char *) 0 ;
4492 unsigned char *arg4
= (unsigned char *) 0 ;
4493 wxPalette
*result
= 0 ;
4502 PyObject
* obj0
= 0 ;
4503 PyObject
* obj1
= 0 ;
4504 PyObject
* obj2
= 0 ;
4505 PyObject
* obj3
= 0 ;
4506 char * kwnames
[] = {
4507 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
4510 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4511 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4512 if (!SWIG_IsOK(ecode1
)) {
4513 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Palette" "', expected argument " "1"" of type '" "int""'");
4515 arg1
= static_cast< int >(val1
);
4516 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4517 if (!SWIG_IsOK(res2
)) {
4518 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_Palette" "', expected argument " "2"" of type '" "unsigned char const *""'");
4520 arg2
= reinterpret_cast< unsigned char * >(argp2
);
4521 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4522 if (!SWIG_IsOK(res3
)) {
4523 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_Palette" "', expected argument " "3"" of type '" "unsigned char const *""'");
4525 arg3
= reinterpret_cast< unsigned char * >(argp3
);
4526 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4527 if (!SWIG_IsOK(res4
)) {
4528 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_Palette" "', expected argument " "4"" of type '" "unsigned char const *""'");
4530 arg4
= reinterpret_cast< unsigned char * >(argp4
);
4532 if (!wxPyCheckForApp()) SWIG_fail
;
4533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4534 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
4535 wxPyEndAllowThreads(__tstate
);
4536 if (PyErr_Occurred()) SWIG_fail
;
4538 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, SWIG_POINTER_NEW
| 0 );
4545 SWIGINTERN PyObject
*_wrap_delete_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4546 PyObject
*resultobj
= 0;
4547 wxPalette
*arg1
= (wxPalette
*) 0 ;
4550 PyObject
*swig_obj
[1] ;
4552 if (!args
) SWIG_fail
;
4554 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, SWIG_POINTER_DISOWN
| 0 );
4555 if (!SWIG_IsOK(res1
)) {
4556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Palette" "', expected argument " "1"" of type '" "wxPalette *""'");
4558 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4563 wxPyEndAllowThreads(__tstate
);
4564 if (PyErr_Occurred()) SWIG_fail
;
4566 resultobj
= SWIG_Py_Void();
4573 SWIGINTERN PyObject
*_wrap_Palette_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4574 PyObject
*resultobj
= 0;
4575 wxPalette
*arg1
= (wxPalette
*) 0 ;
4582 unsigned char val2
;
4584 unsigned char val3
;
4586 unsigned char val4
;
4588 PyObject
* obj0
= 0 ;
4589 PyObject
* obj1
= 0 ;
4590 PyObject
* obj2
= 0 ;
4591 PyObject
* obj3
= 0 ;
4592 char * kwnames
[] = {
4593 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
4596 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4597 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4598 if (!SWIG_IsOK(res1
)) {
4599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetPixel" "', expected argument " "1"" of type '" "wxPalette *""'");
4601 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4602 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4603 if (!SWIG_IsOK(ecode2
)) {
4604 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetPixel" "', expected argument " "2"" of type '" "byte""'");
4606 arg2
= static_cast< byte
>(val2
);
4607 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4608 if (!SWIG_IsOK(ecode3
)) {
4609 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Palette_GetPixel" "', expected argument " "3"" of type '" "byte""'");
4611 arg3
= static_cast< byte
>(val3
);
4612 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4613 if (!SWIG_IsOK(ecode4
)) {
4614 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Palette_GetPixel" "', expected argument " "4"" of type '" "byte""'");
4616 arg4
= static_cast< byte
>(val4
);
4618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4619 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
4620 wxPyEndAllowThreads(__tstate
);
4621 if (PyErr_Occurred()) SWIG_fail
;
4623 resultobj
= SWIG_From_int(static_cast< int >(result
));
4630 SWIGINTERN PyObject
*_wrap_Palette_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4631 PyObject
*resultobj
= 0;
4632 wxPalette
*arg1
= (wxPalette
*) 0 ;
4634 byte
*arg3
= (byte
*) 0 ;
4635 byte
*arg4
= (byte
*) 0 ;
4636 byte
*arg5
= (byte
*) 0 ;
4643 int res3
= SWIG_TMPOBJ
;
4645 int res4
= SWIG_TMPOBJ
;
4647 int res5
= SWIG_TMPOBJ
;
4648 PyObject
* obj0
= 0 ;
4649 PyObject
* obj1
= 0 ;
4650 char * kwnames
[] = {
4651 (char *) "self",(char *) "pixel", NULL
4657 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4658 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4659 if (!SWIG_IsOK(res1
)) {
4660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetRGB" "', expected argument " "1"" of type '" "wxPalette *""'");
4662 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4663 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4664 if (!SWIG_IsOK(ecode2
)) {
4665 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetRGB" "', expected argument " "2"" of type '" "int""'");
4667 arg2
= static_cast< int >(val2
);
4669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4670 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
4671 wxPyEndAllowThreads(__tstate
);
4672 if (PyErr_Occurred()) SWIG_fail
;
4675 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4677 if (SWIG_IsTmpObj(res3
)) {
4678 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg3
)));
4680 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4681 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, new_flags
));
4683 if (SWIG_IsTmpObj(res4
)) {
4684 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg4
)));
4686 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4687 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, new_flags
));
4689 if (SWIG_IsTmpObj(res5
)) {
4690 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg5
)));
4692 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4693 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_unsigned_char
, new_flags
));
4701 SWIGINTERN PyObject
*_wrap_Palette_GetColoursCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4702 PyObject
*resultobj
= 0;
4703 wxPalette
*arg1
= (wxPalette
*) 0 ;
4707 PyObject
*swig_obj
[1] ;
4709 if (!args
) SWIG_fail
;
4711 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4712 if (!SWIG_IsOK(res1
)) {
4713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetColoursCount" "', expected argument " "1"" of type '" "wxPalette const *""'");
4715 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4718 result
= (int)((wxPalette
const *)arg1
)->GetColoursCount();
4719 wxPyEndAllowThreads(__tstate
);
4720 if (PyErr_Occurred()) SWIG_fail
;
4722 resultobj
= SWIG_From_int(static_cast< int >(result
));
4729 SWIGINTERN PyObject
*_wrap_Palette_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4730 PyObject
*resultobj
= 0;
4731 wxPalette
*arg1
= (wxPalette
*) 0 ;
4735 PyObject
*swig_obj
[1] ;
4737 if (!args
) SWIG_fail
;
4739 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4740 if (!SWIG_IsOK(res1
)) {
4741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_IsOk" "', expected argument " "1"" of type '" "wxPalette *""'");
4743 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4746 result
= (bool)(arg1
)->IsOk();
4747 wxPyEndAllowThreads(__tstate
);
4748 if (PyErr_Occurred()) SWIG_fail
;
4751 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4759 SWIGINTERN PyObject
*Palette_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4761 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4762 SWIG_TypeNewClientData(SWIGTYPE_p_wxPalette
, SWIG_NewClientData(obj
));
4763 return SWIG_Py_Void();
4766 SWIGINTERN PyObject
*Palette_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4767 return SWIG_Python_InitShadowInstance(args
);
4770 SWIGINTERN PyObject
*_wrap_new_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4771 PyObject
*resultobj
= 0;
4772 wxColour
*arg1
= 0 ;
4773 int arg2
= (int) 1 ;
4774 int arg3
= (int) wxSOLID
;
4781 PyObject
* obj0
= 0 ;
4782 PyObject
* obj1
= 0 ;
4783 PyObject
* obj2
= 0 ;
4784 char * kwnames
[] = {
4785 (char *) "colour",(char *) "width",(char *) "style", NULL
4788 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4791 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
4794 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4795 if (!SWIG_IsOK(ecode2
)) {
4796 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Pen" "', expected argument " "2"" of type '" "int""'");
4798 arg2
= static_cast< int >(val2
);
4801 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4802 if (!SWIG_IsOK(ecode3
)) {
4803 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Pen" "', expected argument " "3"" of type '" "int""'");
4805 arg3
= static_cast< int >(val3
);
4808 if (!wxPyCheckForApp()) SWIG_fail
;
4809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4810 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
4811 wxPyEndAllowThreads(__tstate
);
4812 if (PyErr_Occurred()) SWIG_fail
;
4814 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, SWIG_POINTER_NEW
| 0 );
4821 SWIGINTERN PyObject
*_wrap_delete_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4822 PyObject
*resultobj
= 0;
4823 wxPen
*arg1
= (wxPen
*) 0 ;
4826 PyObject
*swig_obj
[1] ;
4828 if (!args
) SWIG_fail
;
4830 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, SWIG_POINTER_DISOWN
| 0 );
4831 if (!SWIG_IsOK(res1
)) {
4832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Pen" "', expected argument " "1"" of type '" "wxPen *""'");
4834 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4839 wxPyEndAllowThreads(__tstate
);
4840 if (PyErr_Occurred()) SWIG_fail
;
4842 resultobj
= SWIG_Py_Void();
4849 SWIGINTERN PyObject
*_wrap_Pen_GetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4850 PyObject
*resultobj
= 0;
4851 wxPen
*arg1
= (wxPen
*) 0 ;
4855 PyObject
*swig_obj
[1] ;
4857 if (!args
) SWIG_fail
;
4859 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4860 if (!SWIG_IsOK(res1
)) {
4861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetCap" "', expected argument " "1"" of type '" "wxPen *""'");
4863 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4866 result
= (int)(arg1
)->GetCap();
4867 wxPyEndAllowThreads(__tstate
);
4868 if (PyErr_Occurred()) SWIG_fail
;
4870 resultobj
= SWIG_From_int(static_cast< int >(result
));
4877 SWIGINTERN PyObject
*_wrap_Pen_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4878 PyObject
*resultobj
= 0;
4879 wxPen
*arg1
= (wxPen
*) 0 ;
4883 PyObject
*swig_obj
[1] ;
4885 if (!args
) SWIG_fail
;
4887 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4888 if (!SWIG_IsOK(res1
)) {
4889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetColour" "', expected argument " "1"" of type '" "wxPen *""'");
4891 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4894 result
= (arg1
)->GetColour();
4895 wxPyEndAllowThreads(__tstate
);
4896 if (PyErr_Occurred()) SWIG_fail
;
4898 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4905 SWIGINTERN PyObject
*_wrap_Pen_GetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4906 PyObject
*resultobj
= 0;
4907 wxPen
*arg1
= (wxPen
*) 0 ;
4911 PyObject
*swig_obj
[1] ;
4913 if (!args
) SWIG_fail
;
4915 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4916 if (!SWIG_IsOK(res1
)) {
4917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
4919 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4922 result
= (int)(arg1
)->GetJoin();
4923 wxPyEndAllowThreads(__tstate
);
4924 if (PyErr_Occurred()) SWIG_fail
;
4926 resultobj
= SWIG_From_int(static_cast< int >(result
));
4933 SWIGINTERN PyObject
*_wrap_Pen_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4934 PyObject
*resultobj
= 0;
4935 wxPen
*arg1
= (wxPen
*) 0 ;
4939 PyObject
*swig_obj
[1] ;
4941 if (!args
) SWIG_fail
;
4943 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4944 if (!SWIG_IsOK(res1
)) {
4945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
4947 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4950 result
= (int)(arg1
)->GetStyle();
4951 wxPyEndAllowThreads(__tstate
);
4952 if (PyErr_Occurred()) SWIG_fail
;
4954 resultobj
= SWIG_From_int(static_cast< int >(result
));
4961 SWIGINTERN PyObject
*_wrap_Pen_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4962 PyObject
*resultobj
= 0;
4963 wxPen
*arg1
= (wxPen
*) 0 ;
4967 PyObject
*swig_obj
[1] ;
4969 if (!args
) SWIG_fail
;
4971 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4972 if (!SWIG_IsOK(res1
)) {
4973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
4975 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4978 result
= (int)(arg1
)->GetWidth();
4979 wxPyEndAllowThreads(__tstate
);
4980 if (PyErr_Occurred()) SWIG_fail
;
4982 resultobj
= SWIG_From_int(static_cast< int >(result
));
4989 SWIGINTERN PyObject
*_wrap_Pen_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4990 PyObject
*resultobj
= 0;
4991 wxPen
*arg1
= (wxPen
*) 0 ;
4995 PyObject
*swig_obj
[1] ;
4997 if (!args
) SWIG_fail
;
4999 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5000 if (!SWIG_IsOK(res1
)) {
5001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_IsOk" "', expected argument " "1"" of type '" "wxPen *""'");
5003 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5006 result
= (bool)(arg1
)->IsOk();
5007 wxPyEndAllowThreads(__tstate
);
5008 if (PyErr_Occurred()) SWIG_fail
;
5011 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5019 SWIGINTERN PyObject
*_wrap_Pen_SetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5020 PyObject
*resultobj
= 0;
5021 wxPen
*arg1
= (wxPen
*) 0 ;
5027 PyObject
* obj0
= 0 ;
5028 PyObject
* obj1
= 0 ;
5029 char * kwnames
[] = {
5030 (char *) "self",(char *) "cap_style", NULL
5033 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5034 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5035 if (!SWIG_IsOK(res1
)) {
5036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetCap" "', expected argument " "1"" of type '" "wxPen *""'");
5038 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5039 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5040 if (!SWIG_IsOK(ecode2
)) {
5041 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetCap" "', expected argument " "2"" of type '" "int""'");
5043 arg2
= static_cast< int >(val2
);
5045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5046 (arg1
)->SetCap(arg2
);
5047 wxPyEndAllowThreads(__tstate
);
5048 if (PyErr_Occurred()) SWIG_fail
;
5050 resultobj
= SWIG_Py_Void();
5057 SWIGINTERN PyObject
*_wrap_Pen_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5058 PyObject
*resultobj
= 0;
5059 wxPen
*arg1
= (wxPen
*) 0 ;
5060 wxColour
*arg2
= 0 ;
5064 PyObject
* obj0
= 0 ;
5065 PyObject
* obj1
= 0 ;
5066 char * kwnames
[] = {
5067 (char *) "self",(char *) "colour", NULL
5070 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5071 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5072 if (!SWIG_IsOK(res1
)) {
5073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetColour" "', expected argument " "1"" of type '" "wxPen *""'");
5075 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5078 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5082 (arg1
)->SetColour(*arg2
);
5083 wxPyEndAllowThreads(__tstate
);
5084 if (PyErr_Occurred()) SWIG_fail
;
5086 resultobj
= SWIG_Py_Void();
5093 SWIGINTERN PyObject
*_wrap_Pen_SetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5094 PyObject
*resultobj
= 0;
5095 wxPen
*arg1
= (wxPen
*) 0 ;
5101 PyObject
* obj0
= 0 ;
5102 PyObject
* obj1
= 0 ;
5103 char * kwnames
[] = {
5104 (char *) "self",(char *) "join_style", NULL
5107 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5108 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5109 if (!SWIG_IsOK(res1
)) {
5110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
5112 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5113 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5114 if (!SWIG_IsOK(ecode2
)) {
5115 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetJoin" "', expected argument " "2"" of type '" "int""'");
5117 arg2
= static_cast< int >(val2
);
5119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5120 (arg1
)->SetJoin(arg2
);
5121 wxPyEndAllowThreads(__tstate
);
5122 if (PyErr_Occurred()) SWIG_fail
;
5124 resultobj
= SWIG_Py_Void();
5131 SWIGINTERN PyObject
*_wrap_Pen_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5132 PyObject
*resultobj
= 0;
5133 wxPen
*arg1
= (wxPen
*) 0 ;
5139 PyObject
* obj0
= 0 ;
5140 PyObject
* obj1
= 0 ;
5141 char * kwnames
[] = {
5142 (char *) "self",(char *) "style", NULL
5145 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5146 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5147 if (!SWIG_IsOK(res1
)) {
5148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
5150 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5151 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5152 if (!SWIG_IsOK(ecode2
)) {
5153 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetStyle" "', expected argument " "2"" of type '" "int""'");
5155 arg2
= static_cast< int >(val2
);
5157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5158 (arg1
)->SetStyle(arg2
);
5159 wxPyEndAllowThreads(__tstate
);
5160 if (PyErr_Occurred()) SWIG_fail
;
5162 resultobj
= SWIG_Py_Void();
5169 SWIGINTERN PyObject
*_wrap_Pen_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5170 PyObject
*resultobj
= 0;
5171 wxPen
*arg1
= (wxPen
*) 0 ;
5177 PyObject
* obj0
= 0 ;
5178 PyObject
* obj1
= 0 ;
5179 char * kwnames
[] = {
5180 (char *) "self",(char *) "width", NULL
5183 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5184 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5185 if (!SWIG_IsOK(res1
)) {
5186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
5188 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5189 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5190 if (!SWIG_IsOK(ecode2
)) {
5191 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetWidth" "', expected argument " "2"" of type '" "int""'");
5193 arg2
= static_cast< int >(val2
);
5195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5196 (arg1
)->SetWidth(arg2
);
5197 wxPyEndAllowThreads(__tstate
);
5198 if (PyErr_Occurred()) SWIG_fail
;
5200 resultobj
= SWIG_Py_Void();
5207 SWIGINTERN PyObject
*_wrap_Pen_SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5208 PyObject
*resultobj
= 0;
5209 wxPen
*arg1
= (wxPen
*) 0 ;
5211 wxDash
*arg3
= (wxDash
*) 0 ;
5214 PyObject
* obj0
= 0 ;
5215 PyObject
* obj1
= 0 ;
5216 char * kwnames
[] = {
5217 (char *) "self",(char *) "dashes", NULL
5220 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5221 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5222 if (!SWIG_IsOK(res1
)) {
5223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5225 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5227 arg2
= PyList_Size(obj1
);
5228 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
5229 if (arg3
== NULL
) SWIG_fail
;
5232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5233 (arg1
)->SetDashes(arg2
,arg3
);
5234 wxPyEndAllowThreads(__tstate
);
5235 if (PyErr_Occurred()) SWIG_fail
;
5237 resultobj
= SWIG_Py_Void();
5239 if (arg3
) delete [] arg3
;
5244 if (arg3
) delete [] arg3
;
5250 SWIGINTERN PyObject
*_wrap_Pen_GetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5251 PyObject
*resultobj
= 0;
5252 wxPen
*arg1
= (wxPen
*) 0 ;
5253 PyObject
*result
= 0 ;
5256 PyObject
*swig_obj
[1] ;
5258 if (!args
) SWIG_fail
;
5260 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5261 if (!SWIG_IsOK(res1
)) {
5262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5264 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5267 result
= (PyObject
*)wxPen_GetDashes(arg1
);
5268 wxPyEndAllowThreads(__tstate
);
5269 if (PyErr_Occurred()) SWIG_fail
;
5278 SWIGINTERN PyObject
*_wrap_Pen__SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5279 PyObject
*resultobj
= 0;
5280 wxPen
*arg1
= (wxPen
*) 0 ;
5281 PyObject
*arg2
= (PyObject
*) 0 ;
5282 PyObject
*arg3
= (PyObject
*) 0 ;
5285 PyObject
* obj0
= 0 ;
5286 PyObject
* obj1
= 0 ;
5287 PyObject
* obj2
= 0 ;
5288 char * kwnames
[] = {
5289 (char *) "self",(char *) "_self",(char *) "pyDashes", NULL
5292 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Pen__SetDashes",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5293 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5294 if (!SWIG_IsOK(res1
)) {
5295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen__SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5297 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5302 wxPen__SetDashes(arg1
,arg2
,arg3
);
5303 wxPyEndAllowThreads(__tstate
);
5304 if (PyErr_Occurred()) SWIG_fail
;
5306 resultobj
= SWIG_Py_Void();
5313 SWIGINTERN PyObject
*_wrap_Pen_GetDashCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5314 PyObject
*resultobj
= 0;
5315 wxPen
*arg1
= (wxPen
*) 0 ;
5319 PyObject
*swig_obj
[1] ;
5321 if (!args
) SWIG_fail
;
5323 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5324 if (!SWIG_IsOK(res1
)) {
5325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashCount" "', expected argument " "1"" of type '" "wxPen const *""'");
5327 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5330 result
= (int)((wxPen
const *)arg1
)->GetDashCount();
5331 wxPyEndAllowThreads(__tstate
);
5332 if (PyErr_Occurred()) SWIG_fail
;
5334 resultobj
= SWIG_From_int(static_cast< int >(result
));
5341 SWIGINTERN PyObject
*_wrap_Pen___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5342 PyObject
*resultobj
= 0;
5343 wxPen
*arg1
= (wxPen
*) 0 ;
5344 wxPen
*arg2
= (wxPen
*) 0 ;
5350 PyObject
* obj0
= 0 ;
5351 PyObject
* obj1
= 0 ;
5352 char * kwnames
[] = {
5353 (char *) "self",(char *) "other", NULL
5356 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5357 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5358 if (!SWIG_IsOK(res1
)) {
5359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___eq__" "', expected argument " "1"" of type '" "wxPen *""'");
5361 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5362 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5363 if (!SWIG_IsOK(res2
)) {
5364 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___eq__" "', expected argument " "2"" of type '" "wxPen const *""'");
5366 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5369 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
5370 wxPyEndAllowThreads(__tstate
);
5371 if (PyErr_Occurred()) SWIG_fail
;
5374 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5382 SWIGINTERN PyObject
*_wrap_Pen___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5383 PyObject
*resultobj
= 0;
5384 wxPen
*arg1
= (wxPen
*) 0 ;
5385 wxPen
*arg2
= (wxPen
*) 0 ;
5391 PyObject
* obj0
= 0 ;
5392 PyObject
* obj1
= 0 ;
5393 char * kwnames
[] = {
5394 (char *) "self",(char *) "other", NULL
5397 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5398 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5399 if (!SWIG_IsOK(res1
)) {
5400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___ne__" "', expected argument " "1"" of type '" "wxPen *""'");
5402 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5403 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5404 if (!SWIG_IsOK(res2
)) {
5405 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___ne__" "', expected argument " "2"" of type '" "wxPen const *""'");
5407 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5410 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
5411 wxPyEndAllowThreads(__tstate
);
5412 if (PyErr_Occurred()) SWIG_fail
;
5415 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5423 SWIGINTERN PyObject
*Pen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5425 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5426 SWIG_TypeNewClientData(SWIGTYPE_p_wxPen
, SWIG_NewClientData(obj
));
5427 return SWIG_Py_Void();
5430 SWIGINTERN PyObject
*Pen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5431 return SWIG_Python_InitShadowInstance(args
);
5434 SWIGINTERN PyObject
*_wrap_new_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5435 PyObject
*resultobj
= 0;
5436 wxColour
*arg1
= 0 ;
5437 int arg2
= (int) wxSOLID
;
5438 wxBrush
*result
= 0 ;
5442 PyObject
* obj0
= 0 ;
5443 PyObject
* obj1
= 0 ;
5444 char * kwnames
[] = {
5445 (char *) "colour",(char *) "style", NULL
5448 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5451 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
5454 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5455 if (!SWIG_IsOK(ecode2
)) {
5456 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Brush" "', expected argument " "2"" of type '" "int""'");
5458 arg2
= static_cast< int >(val2
);
5461 if (!wxPyCheckForApp()) SWIG_fail
;
5462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5463 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
5464 wxPyEndAllowThreads(__tstate
);
5465 if (PyErr_Occurred()) SWIG_fail
;
5467 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_NEW
| 0 );
5474 SWIGINTERN PyObject
*_wrap_new_BrushFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5475 PyObject
*resultobj
= 0;
5476 wxBitmap
*arg1
= 0 ;
5477 wxBrush
*result
= 0 ;
5480 PyObject
* obj0
= 0 ;
5481 char * kwnames
[] = {
5482 (char *) "stippleBitmap", NULL
5485 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BrushFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
5486 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5487 if (!SWIG_IsOK(res1
)) {
5488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5491 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5493 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5495 if (!wxPyCheckForApp()) SWIG_fail
;
5496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5497 result
= (wxBrush
*)new wxBrush((wxBitmap
const &)*arg1
);
5498 wxPyEndAllowThreads(__tstate
);
5499 if (PyErr_Occurred()) SWIG_fail
;
5501 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_OWN
| 0 );
5508 SWIGINTERN PyObject
*_wrap_delete_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5509 PyObject
*resultobj
= 0;
5510 wxBrush
*arg1
= (wxBrush
*) 0 ;
5513 PyObject
*swig_obj
[1] ;
5515 if (!args
) SWIG_fail
;
5517 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, SWIG_POINTER_DISOWN
| 0 );
5518 if (!SWIG_IsOK(res1
)) {
5519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Brush" "', expected argument " "1"" of type '" "wxBrush *""'");
5521 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5526 wxPyEndAllowThreads(__tstate
);
5527 if (PyErr_Occurred()) SWIG_fail
;
5529 resultobj
= SWIG_Py_Void();
5536 SWIGINTERN PyObject
*_wrap_Brush_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5537 PyObject
*resultobj
= 0;
5538 wxBrush
*arg1
= (wxBrush
*) 0 ;
5539 wxColour
*arg2
= 0 ;
5543 PyObject
* obj0
= 0 ;
5544 PyObject
* obj1
= 0 ;
5545 char * kwnames
[] = {
5546 (char *) "self",(char *) "col", NULL
5549 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5550 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5551 if (!SWIG_IsOK(res1
)) {
5552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetColour" "', expected argument " "1"" of type '" "wxBrush *""'");
5554 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5557 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5561 (arg1
)->SetColour((wxColour
const &)*arg2
);
5562 wxPyEndAllowThreads(__tstate
);
5563 if (PyErr_Occurred()) SWIG_fail
;
5565 resultobj
= SWIG_Py_Void();
5572 SWIGINTERN PyObject
*_wrap_Brush_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5573 PyObject
*resultobj
= 0;
5574 wxBrush
*arg1
= (wxBrush
*) 0 ;
5580 PyObject
* obj0
= 0 ;
5581 PyObject
* obj1
= 0 ;
5582 char * kwnames
[] = {
5583 (char *) "self",(char *) "style", NULL
5586 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5587 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5588 if (!SWIG_IsOK(res1
)) {
5589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStyle" "', expected argument " "1"" of type '" "wxBrush *""'");
5591 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5592 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5593 if (!SWIG_IsOK(ecode2
)) {
5594 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Brush_SetStyle" "', expected argument " "2"" of type '" "int""'");
5596 arg2
= static_cast< int >(val2
);
5598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5599 (arg1
)->SetStyle(arg2
);
5600 wxPyEndAllowThreads(__tstate
);
5601 if (PyErr_Occurred()) SWIG_fail
;
5603 resultobj
= SWIG_Py_Void();
5610 SWIGINTERN PyObject
*_wrap_Brush_SetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5611 PyObject
*resultobj
= 0;
5612 wxBrush
*arg1
= (wxBrush
*) 0 ;
5613 wxBitmap
*arg2
= 0 ;
5618 PyObject
* obj0
= 0 ;
5619 PyObject
* obj1
= 0 ;
5620 char * kwnames
[] = {
5621 (char *) "self",(char *) "stipple", NULL
5624 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5625 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5626 if (!SWIG_IsOK(res1
)) {
5627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStipple" "', expected argument " "1"" of type '" "wxBrush *""'");
5629 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5630 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5631 if (!SWIG_IsOK(res2
)) {
5632 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5635 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5637 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
5639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5640 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
5641 wxPyEndAllowThreads(__tstate
);
5642 if (PyErr_Occurred()) SWIG_fail
;
5644 resultobj
= SWIG_Py_Void();
5651 SWIGINTERN PyObject
*_wrap_Brush_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5652 PyObject
*resultobj
= 0;
5653 wxBrush
*arg1
= (wxBrush
*) 0 ;
5657 PyObject
*swig_obj
[1] ;
5659 if (!args
) SWIG_fail
;
5661 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5662 if (!SWIG_IsOK(res1
)) {
5663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetColour" "', expected argument " "1"" of type '" "wxBrush const *""'");
5665 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5668 result
= ((wxBrush
const *)arg1
)->GetColour();
5669 wxPyEndAllowThreads(__tstate
);
5670 if (PyErr_Occurred()) SWIG_fail
;
5672 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5679 SWIGINTERN PyObject
*_wrap_Brush_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5680 PyObject
*resultobj
= 0;
5681 wxBrush
*arg1
= (wxBrush
*) 0 ;
5685 PyObject
*swig_obj
[1] ;
5687 if (!args
) SWIG_fail
;
5689 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5690 if (!SWIG_IsOK(res1
)) {
5691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStyle" "', expected argument " "1"" of type '" "wxBrush const *""'");
5693 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5696 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
5697 wxPyEndAllowThreads(__tstate
);
5698 if (PyErr_Occurred()) SWIG_fail
;
5700 resultobj
= SWIG_From_int(static_cast< int >(result
));
5707 SWIGINTERN PyObject
*_wrap_Brush_GetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5708 PyObject
*resultobj
= 0;
5709 wxBrush
*arg1
= (wxBrush
*) 0 ;
5710 wxBitmap
*result
= 0 ;
5713 PyObject
*swig_obj
[1] ;
5715 if (!args
) SWIG_fail
;
5717 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5718 if (!SWIG_IsOK(res1
)) {
5719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStipple" "', expected argument " "1"" of type '" "wxBrush const *""'");
5721 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5724 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
5725 wxPyEndAllowThreads(__tstate
);
5726 if (PyErr_Occurred()) SWIG_fail
;
5728 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
5735 SWIGINTERN PyObject
*_wrap_Brush_IsHatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5736 PyObject
*resultobj
= 0;
5737 wxBrush
*arg1
= (wxBrush
*) 0 ;
5741 PyObject
*swig_obj
[1] ;
5743 if (!args
) SWIG_fail
;
5745 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5746 if (!SWIG_IsOK(res1
)) {
5747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsHatch" "', expected argument " "1"" of type '" "wxBrush const *""'");
5749 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5752 result
= (bool)((wxBrush
const *)arg1
)->IsHatch();
5753 wxPyEndAllowThreads(__tstate
);
5754 if (PyErr_Occurred()) SWIG_fail
;
5757 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5765 SWIGINTERN PyObject
*_wrap_Brush_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5766 PyObject
*resultobj
= 0;
5767 wxBrush
*arg1
= (wxBrush
*) 0 ;
5771 PyObject
*swig_obj
[1] ;
5773 if (!args
) SWIG_fail
;
5775 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5776 if (!SWIG_IsOK(res1
)) {
5777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsOk" "', expected argument " "1"" of type '" "wxBrush *""'");
5779 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5782 result
= (bool)(arg1
)->IsOk();
5783 wxPyEndAllowThreads(__tstate
);
5784 if (PyErr_Occurred()) SWIG_fail
;
5787 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5795 SWIGINTERN PyObject
*Brush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5797 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5798 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrush
, SWIG_NewClientData(obj
));
5799 return SWIG_Py_Void();
5802 SWIGINTERN PyObject
*Brush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5803 return SWIG_Python_InitShadowInstance(args
);
5806 SWIGINTERN PyObject
*_wrap_new_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5807 PyObject
*resultobj
= 0;
5808 wxString
*arg1
= 0 ;
5809 wxBitmapType arg2
= (wxBitmapType
) wxBITMAP_TYPE_ANY
;
5810 wxBitmap
*result
= 0 ;
5811 bool temp1
= false ;
5814 PyObject
* obj0
= 0 ;
5815 PyObject
* obj1
= 0 ;
5816 char * kwnames
[] = {
5817 (char *) "name",(char *) "type", NULL
5820 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5822 arg1
= wxString_in_helper(obj0
);
5823 if (arg1
== NULL
) SWIG_fail
;
5827 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5828 if (!SWIG_IsOK(ecode2
)) {
5829 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Bitmap" "', expected argument " "2"" of type '" "wxBitmapType""'");
5831 arg2
= static_cast< wxBitmapType
>(val2
);
5834 if (!wxPyCheckForApp()) SWIG_fail
;
5835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5836 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,arg2
);
5837 wxPyEndAllowThreads(__tstate
);
5838 if (PyErr_Occurred()) SWIG_fail
;
5840 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_NEW
| 0 );
5855 SWIGINTERN PyObject
*_wrap_delete_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5856 PyObject
*resultobj
= 0;
5857 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5860 PyObject
*swig_obj
[1] ;
5862 if (!args
) SWIG_fail
;
5864 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, SWIG_POINTER_DISOWN
| 0 );
5865 if (!SWIG_IsOK(res1
)) {
5866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Bitmap" "', expected argument " "1"" of type '" "wxBitmap *""'");
5868 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5872 if (PyErr_Occurred()) SWIG_fail
;
5874 resultobj
= SWIG_Py_Void();
5881 SWIGINTERN PyObject
*_wrap_new_EmptyBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5882 PyObject
*resultobj
= 0;
5885 int arg3
= (int) -1 ;
5886 wxBitmap
*result
= 0 ;
5893 PyObject
* obj0
= 0 ;
5894 PyObject
* obj1
= 0 ;
5895 PyObject
* obj2
= 0 ;
5896 char * kwnames
[] = {
5897 (char *) "width",(char *) "height",(char *) "depth", NULL
5900 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5901 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5902 if (!SWIG_IsOK(ecode1
)) {
5903 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_EmptyBitmap" "', expected argument " "1"" of type '" "int""'");
5905 arg1
= static_cast< int >(val1
);
5906 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5907 if (!SWIG_IsOK(ecode2
)) {
5908 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_EmptyBitmap" "', expected argument " "2"" of type '" "int""'");
5910 arg2
= static_cast< int >(val2
);
5912 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5913 if (!SWIG_IsOK(ecode3
)) {
5914 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_EmptyBitmap" "', expected argument " "3"" of type '" "int""'");
5916 arg3
= static_cast< int >(val3
);
5919 if (!wxPyCheckForApp()) SWIG_fail
;
5920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5921 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
5922 wxPyEndAllowThreads(__tstate
);
5923 if (PyErr_Occurred()) SWIG_fail
;
5925 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5932 SWIGINTERN PyObject
*_wrap_new_BitmapFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5933 PyObject
*resultobj
= 0;
5935 wxBitmap
*result
= 0 ;
5938 PyObject
* obj0
= 0 ;
5939 char * kwnames
[] = {
5940 (char *) "icon", NULL
5943 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) SWIG_fail
;
5944 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
5945 if (!SWIG_IsOK(res1
)) {
5946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
5949 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
5951 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
5953 if (!wxPyCheckForApp()) SWIG_fail
;
5954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5955 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
5956 wxPyEndAllowThreads(__tstate
);
5957 if (PyErr_Occurred()) SWIG_fail
;
5959 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5966 SWIGINTERN PyObject
*_wrap_new_BitmapFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5967 PyObject
*resultobj
= 0;
5969 int arg2
= (int) -1 ;
5970 wxBitmap
*result
= 0 ;
5975 PyObject
* obj0
= 0 ;
5976 PyObject
* obj1
= 0 ;
5977 char * kwnames
[] = {
5978 (char *) "image",(char *) "depth", NULL
5981 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5982 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
5983 if (!SWIG_IsOK(res1
)) {
5984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
5987 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
5989 arg1
= reinterpret_cast< wxImage
* >(argp1
);
5991 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5992 if (!SWIG_IsOK(ecode2
)) {
5993 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromImage" "', expected argument " "2"" of type '" "int""'");
5995 arg2
= static_cast< int >(val2
);
5998 if (!wxPyCheckForApp()) SWIG_fail
;
5999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6000 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
6001 wxPyEndAllowThreads(__tstate
);
6002 if (PyErr_Occurred()) SWIG_fail
;
6004 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6011 SWIGINTERN PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6012 PyObject
*resultobj
= 0;
6013 PyObject
*arg1
= (PyObject
*) 0 ;
6014 wxBitmap
*result
= 0 ;
6015 PyObject
* obj0
= 0 ;
6016 char * kwnames
[] = {
6017 (char *) "listOfStrings", NULL
6020 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
6023 if (!wxPyCheckForApp()) SWIG_fail
;
6024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6025 result
= (wxBitmap
*)new_wxBitmap(arg1
);
6026 wxPyEndAllowThreads(__tstate
);
6027 if (PyErr_Occurred()) SWIG_fail
;
6029 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6036 SWIGINTERN PyObject
*_wrap_new_BitmapFromBits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6037 PyObject
*resultobj
= 0;
6038 PyObject
*arg1
= (PyObject
*) 0 ;
6041 int arg4
= (int) 1 ;
6042 wxBitmap
*result
= 0 ;
6049 PyObject
* obj0
= 0 ;
6050 PyObject
* obj1
= 0 ;
6051 PyObject
* obj2
= 0 ;
6052 PyObject
* obj3
= 0 ;
6053 char * kwnames
[] = {
6054 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
6057 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6059 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6060 if (!SWIG_IsOK(ecode2
)) {
6061 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromBits" "', expected argument " "2"" of type '" "int""'");
6063 arg2
= static_cast< int >(val2
);
6064 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6065 if (!SWIG_IsOK(ecode3
)) {
6066 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BitmapFromBits" "', expected argument " "3"" of type '" "int""'");
6068 arg3
= static_cast< int >(val3
);
6070 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6071 if (!SWIG_IsOK(ecode4
)) {
6072 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BitmapFromBits" "', expected argument " "4"" of type '" "int""'");
6074 arg4
= static_cast< int >(val4
);
6077 if (!wxPyCheckForApp()) SWIG_fail
;
6078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6079 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
6080 wxPyEndAllowThreads(__tstate
);
6081 if (PyErr_Occurred()) SWIG_fail
;
6083 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6090 SWIGINTERN PyObject
*_wrap_Bitmap_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6091 PyObject
*resultobj
= 0;
6092 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6096 PyObject
*swig_obj
[1] ;
6098 if (!args
) SWIG_fail
;
6100 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6101 if (!SWIG_IsOK(res1
)) {
6102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_IsOk" "', expected argument " "1"" of type '" "wxBitmap *""'");
6104 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6106 result
= (bool)(arg1
)->IsOk();
6107 if (PyErr_Occurred()) SWIG_fail
;
6110 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6118 SWIGINTERN PyObject
*_wrap_Bitmap_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6119 PyObject
*resultobj
= 0;
6120 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6124 PyObject
*swig_obj
[1] ;
6126 if (!args
) SWIG_fail
;
6128 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6129 if (!SWIG_IsOK(res1
)) {
6130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6132 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6134 result
= (int)(arg1
)->GetWidth();
6135 if (PyErr_Occurred()) SWIG_fail
;
6137 resultobj
= SWIG_From_int(static_cast< int >(result
));
6144 SWIGINTERN PyObject
*_wrap_Bitmap_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6145 PyObject
*resultobj
= 0;
6146 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6150 PyObject
*swig_obj
[1] ;
6152 if (!args
) SWIG_fail
;
6154 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6155 if (!SWIG_IsOK(res1
)) {
6156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6158 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6160 result
= (int)(arg1
)->GetHeight();
6161 if (PyErr_Occurred()) SWIG_fail
;
6163 resultobj
= SWIG_From_int(static_cast< int >(result
));
6170 SWIGINTERN PyObject
*_wrap_Bitmap_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6171 PyObject
*resultobj
= 0;
6172 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6176 PyObject
*swig_obj
[1] ;
6178 if (!args
) SWIG_fail
;
6180 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6181 if (!SWIG_IsOK(res1
)) {
6182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6184 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6186 result
= (int)(arg1
)->GetDepth();
6187 if (PyErr_Occurred()) SWIG_fail
;
6189 resultobj
= SWIG_From_int(static_cast< int >(result
));
6196 SWIGINTERN PyObject
*_wrap_Bitmap_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6197 PyObject
*resultobj
= 0;
6198 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6202 PyObject
*swig_obj
[1] ;
6204 if (!args
) SWIG_fail
;
6206 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6207 if (!SWIG_IsOK(res1
)) {
6208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6210 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6212 result
= wxBitmap_GetSize(arg1
);
6213 if (PyErr_Occurred()) SWIG_fail
;
6215 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6222 SWIGINTERN PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6223 PyObject
*resultobj
= 0;
6224 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6225 SwigValueWrapper
<wxImage
> result
;
6228 PyObject
*swig_obj
[1] ;
6230 if (!args
) SWIG_fail
;
6232 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6233 if (!SWIG_IsOK(res1
)) {
6234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_ConvertToImage" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6236 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6238 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
6239 if (PyErr_Occurred()) SWIG_fail
;
6241 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
6248 SWIGINTERN PyObject
*_wrap_Bitmap_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6249 PyObject
*resultobj
= 0;
6250 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6251 wxMask
*result
= 0 ;
6254 PyObject
*swig_obj
[1] ;
6256 if (!args
) SWIG_fail
;
6258 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6259 if (!SWIG_IsOK(res1
)) {
6260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetMask" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6262 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6264 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
6265 if (PyErr_Occurred()) SWIG_fail
;
6267 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, 0 | 0 );
6274 SWIGINTERN PyObject
*_wrap_Bitmap_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6275 PyObject
*resultobj
= 0;
6276 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6277 wxMask
*arg2
= (wxMask
*) 0 ;
6281 PyObject
* obj0
= 0 ;
6282 PyObject
* obj1
= 0 ;
6283 char * kwnames
[] = {
6284 (char *) "self",(char *) "mask", NULL
6287 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6288 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6289 if (!SWIG_IsOK(res1
)) {
6290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMask" "', expected argument " "1"" of type '" "wxBitmap *""'");
6292 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6293 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
6294 if (!SWIG_IsOK(res2
)) {
6295 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_SetMask" "', expected argument " "2"" of type '" "wxMask *""'");
6298 (arg1
)->SetMask(arg2
);
6299 if (PyErr_Occurred()) SWIG_fail
;
6301 resultobj
= SWIG_Py_Void();
6308 SWIGINTERN PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6309 PyObject
*resultobj
= 0;
6310 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6311 wxColour
*arg2
= 0 ;
6315 PyObject
* obj0
= 0 ;
6316 PyObject
* obj1
= 0 ;
6317 char * kwnames
[] = {
6318 (char *) "self",(char *) "colour", NULL
6321 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6322 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6323 if (!SWIG_IsOK(res1
)) {
6324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMaskColour" "', expected argument " "1"" of type '" "wxBitmap *""'");
6326 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6329 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6332 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
6333 if (PyErr_Occurred()) SWIG_fail
;
6335 resultobj
= SWIG_Py_Void();
6342 SWIGINTERN PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6343 PyObject
*resultobj
= 0;
6344 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6346 SwigValueWrapper
<wxBitmap
> result
;
6350 PyObject
* obj0
= 0 ;
6351 PyObject
* obj1
= 0 ;
6352 char * kwnames
[] = {
6353 (char *) "self",(char *) "rect", NULL
6356 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6357 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6358 if (!SWIG_IsOK(res1
)) {
6359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSubBitmap" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6361 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6364 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6367 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
6368 if (PyErr_Occurred()) SWIG_fail
;
6370 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6377 SWIGINTERN PyObject
*_wrap_Bitmap_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6378 PyObject
*resultobj
= 0;
6379 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6380 wxString
*arg2
= 0 ;
6382 wxPalette
*arg4
= (wxPalette
*) NULL
;
6386 bool temp2
= false ;
6391 PyObject
* obj0
= 0 ;
6392 PyObject
* obj1
= 0 ;
6393 PyObject
* obj2
= 0 ;
6394 PyObject
* obj3
= 0 ;
6395 char * kwnames
[] = {
6396 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
6399 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6400 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6401 if (!SWIG_IsOK(res1
)) {
6402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SaveFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6404 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6406 arg2
= wxString_in_helper(obj1
);
6407 if (arg2
== NULL
) SWIG_fail
;
6410 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6411 if (!SWIG_IsOK(ecode3
)) {
6412 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_SaveFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6414 arg3
= static_cast< wxBitmapType
>(val3
);
6416 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxPalette
, 0 | 0 );
6417 if (!SWIG_IsOK(res4
)) {
6418 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Bitmap_SaveFile" "', expected argument " "4"" of type '" "wxPalette *""'");
6420 arg4
= reinterpret_cast< wxPalette
* >(argp4
);
6423 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
,arg4
);
6424 if (PyErr_Occurred()) SWIG_fail
;
6427 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6443 SWIGINTERN PyObject
*_wrap_Bitmap_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6444 PyObject
*resultobj
= 0;
6445 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6446 wxString
*arg2
= 0 ;
6451 bool temp2
= false ;
6454 PyObject
* obj0
= 0 ;
6455 PyObject
* obj1
= 0 ;
6456 PyObject
* obj2
= 0 ;
6457 char * kwnames
[] = {
6458 (char *) "self",(char *) "name",(char *) "type", NULL
6461 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6462 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6463 if (!SWIG_IsOK(res1
)) {
6464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_LoadFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6466 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6468 arg2
= wxString_in_helper(obj1
);
6469 if (arg2
== NULL
) SWIG_fail
;
6472 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6473 if (!SWIG_IsOK(ecode3
)) {
6474 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6476 arg3
= static_cast< wxBitmapType
>(val3
);
6478 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
6479 if (PyErr_Occurred()) SWIG_fail
;
6482 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6498 SWIGINTERN PyObject
*_wrap_Bitmap_GetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6499 PyObject
*resultobj
= 0;
6500 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6501 wxPalette
*result
= 0 ;
6504 PyObject
*swig_obj
[1] ;
6506 if (!args
) SWIG_fail
;
6508 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6509 if (!SWIG_IsOK(res1
)) {
6510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetPalette" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6512 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6514 result
= (wxPalette
*)((wxBitmap
const *)arg1
)->GetPalette();
6515 if (PyErr_Occurred()) SWIG_fail
;
6517 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, 0 | 0 );
6524 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6525 PyObject
*resultobj
= 0;
6526 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6533 PyObject
* obj0
= 0 ;
6534 PyObject
* obj1
= 0 ;
6535 char * kwnames
[] = {
6536 (char *) "self",(char *) "icon", NULL
6539 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6540 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6541 if (!SWIG_IsOK(res1
)) {
6542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "1"" of type '" "wxBitmap *""'");
6544 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6545 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
6546 if (!SWIG_IsOK(res2
)) {
6547 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6550 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6552 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
6554 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
6555 if (PyErr_Occurred()) SWIG_fail
;
6558 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6566 SWIGINTERN PyObject
*_wrap_Bitmap_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6567 PyObject
*resultobj
= 0;
6568 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6574 PyObject
* obj0
= 0 ;
6575 PyObject
* obj1
= 0 ;
6576 char * kwnames
[] = {
6577 (char *) "self",(char *) "height", NULL
6580 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6581 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6582 if (!SWIG_IsOK(res1
)) {
6583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6585 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6586 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6587 if (!SWIG_IsOK(ecode2
)) {
6588 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetHeight" "', expected argument " "2"" of type '" "int""'");
6590 arg2
= static_cast< int >(val2
);
6592 (arg1
)->SetHeight(arg2
);
6593 if (PyErr_Occurred()) SWIG_fail
;
6595 resultobj
= SWIG_Py_Void();
6602 SWIGINTERN PyObject
*_wrap_Bitmap_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6603 PyObject
*resultobj
= 0;
6604 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6610 PyObject
* obj0
= 0 ;
6611 PyObject
* obj1
= 0 ;
6612 char * kwnames
[] = {
6613 (char *) "self",(char *) "width", NULL
6616 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6617 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6618 if (!SWIG_IsOK(res1
)) {
6619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6621 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6622 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6623 if (!SWIG_IsOK(ecode2
)) {
6624 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetWidth" "', expected argument " "2"" of type '" "int""'");
6626 arg2
= static_cast< int >(val2
);
6628 (arg1
)->SetWidth(arg2
);
6629 if (PyErr_Occurred()) SWIG_fail
;
6631 resultobj
= SWIG_Py_Void();
6638 SWIGINTERN PyObject
*_wrap_Bitmap_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6639 PyObject
*resultobj
= 0;
6640 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6646 PyObject
* obj0
= 0 ;
6647 PyObject
* obj1
= 0 ;
6648 char * kwnames
[] = {
6649 (char *) "self",(char *) "depth", NULL
6652 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6653 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6654 if (!SWIG_IsOK(res1
)) {
6655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6657 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6658 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6659 if (!SWIG_IsOK(ecode2
)) {
6660 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetDepth" "', expected argument " "2"" of type '" "int""'");
6662 arg2
= static_cast< int >(val2
);
6664 (arg1
)->SetDepth(arg2
);
6665 if (PyErr_Occurred()) SWIG_fail
;
6667 resultobj
= SWIG_Py_Void();
6674 SWIGINTERN PyObject
*_wrap_Bitmap_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6675 PyObject
*resultobj
= 0;
6676 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6681 PyObject
* obj0
= 0 ;
6682 PyObject
* obj1
= 0 ;
6683 char * kwnames
[] = {
6684 (char *) "self",(char *) "size", NULL
6687 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6688 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6689 if (!SWIG_IsOK(res1
)) {
6690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6692 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6695 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6698 wxBitmap_SetSize(arg1
,(wxSize
const &)*arg2
);
6699 if (PyErr_Occurred()) SWIG_fail
;
6701 resultobj
= SWIG_Py_Void();
6708 SWIGINTERN PyObject
*_wrap_Bitmap___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6709 PyObject
*resultobj
= 0;
6710 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6711 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
6717 PyObject
* obj0
= 0 ;
6718 PyObject
* obj1
= 0 ;
6719 char * kwnames
[] = {
6720 (char *) "self",(char *) "other", NULL
6723 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6724 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6725 if (!SWIG_IsOK(res1
)) {
6726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___eq__" "', expected argument " "1"" of type '" "wxBitmap *""'");
6728 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6729 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6730 if (!SWIG_IsOK(res2
)) {
6731 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___eq__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
6733 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
6735 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
6736 if (PyErr_Occurred()) SWIG_fail
;
6739 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6747 SWIGINTERN PyObject
*_wrap_Bitmap___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6748 PyObject
*resultobj
= 0;
6749 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6750 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
6756 PyObject
* obj0
= 0 ;
6757 PyObject
* obj1
= 0 ;
6758 char * kwnames
[] = {
6759 (char *) "self",(char *) "other", NULL
6762 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6763 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6764 if (!SWIG_IsOK(res1
)) {
6765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___ne__" "', expected argument " "1"" of type '" "wxBitmap *""'");
6767 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6768 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6769 if (!SWIG_IsOK(res2
)) {
6770 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___ne__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
6772 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
6774 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
6775 if (PyErr_Occurred()) SWIG_fail
;
6778 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6786 SWIGINTERN PyObject
*Bitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6788 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6789 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmap
, SWIG_NewClientData(obj
));
6790 return SWIG_Py_Void();
6793 SWIGINTERN PyObject
*Bitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6794 return SWIG_Python_InitShadowInstance(args
);
6797 SWIGINTERN PyObject
*_wrap__BitmapFromBufferAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6798 PyObject
*resultobj
= 0;
6805 wxBitmap
*result
= 0 ;
6812 PyObject
* obj0
= 0 ;
6813 PyObject
* obj1
= 0 ;
6814 PyObject
* obj2
= 0 ;
6815 PyObject
* obj3
= 0 ;
6816 char * kwnames
[] = {
6817 (char *) "width",(char *) "height",(char *) "data",(char *) "alpha", NULL
6820 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:_BitmapFromBufferAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6821 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6822 if (!SWIG_IsOK(ecode1
)) {
6823 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "1"" of type '" "int""'");
6825 arg1
= static_cast< int >(val1
);
6826 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6827 if (!SWIG_IsOK(ecode2
)) {
6828 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "2"" of type '" "int""'");
6830 arg2
= static_cast< int >(val2
);
6832 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
6836 if (obj3
!= Py_None
) {
6837 if (PyObject_AsReadBuffer(obj3
, (const void**)(&arg5
), &temp5
) == -1) SWIG_fail
;
6842 result
= (wxBitmap
*)_BitmapFromBufferAlpha(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
6843 if (PyErr_Occurred()) SWIG_fail
;
6845 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6852 SWIGINTERN PyObject
*_wrap__BitmapFromBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6853 PyObject
*resultobj
= 0;
6858 wxBitmap
*result
= 0 ;
6864 PyObject
* obj0
= 0 ;
6865 PyObject
* obj1
= 0 ;
6866 PyObject
* obj2
= 0 ;
6867 char * kwnames
[] = {
6868 (char *) "width",(char *) "height",(char *) "data", NULL
6871 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBuffer",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6872 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6873 if (!SWIG_IsOK(ecode1
)) {
6874 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBuffer" "', expected argument " "1"" of type '" "int""'");
6876 arg1
= static_cast< int >(val1
);
6877 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6878 if (!SWIG_IsOK(ecode2
)) {
6879 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBuffer" "', expected argument " "2"" of type '" "int""'");
6881 arg2
= static_cast< int >(val2
);
6883 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
6887 result
= (wxBitmap
*)_BitmapFromBuffer(arg1
,arg2
,arg3
,arg4
);
6888 if (PyErr_Occurred()) SWIG_fail
;
6890 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6897 SWIGINTERN PyObject
*_wrap__BitmapFromBufferRGBA(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6898 PyObject
*resultobj
= 0;
6903 wxBitmap
*result
= 0 ;
6909 PyObject
* obj0
= 0 ;
6910 PyObject
* obj1
= 0 ;
6911 PyObject
* obj2
= 0 ;
6912 char * kwnames
[] = {
6913 (char *) "width",(char *) "height",(char *) "data", NULL
6916 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBufferRGBA",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6917 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6918 if (!SWIG_IsOK(ecode1
)) {
6919 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "1"" of type '" "int""'");
6921 arg1
= static_cast< int >(val1
);
6922 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6923 if (!SWIG_IsOK(ecode2
)) {
6924 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "2"" of type '" "int""'");
6926 arg2
= static_cast< int >(val2
);
6928 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
6932 result
= (wxBitmap
*)_BitmapFromBufferRGBA(arg1
,arg2
,arg3
,arg4
);
6933 if (PyErr_Occurred()) SWIG_fail
;
6935 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6942 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6943 PyObject
*resultobj
= 0;
6944 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
6948 PyObject
*swig_obj
[1] ;
6950 if (!args
) SWIG_fail
;
6952 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
6953 if (!SWIG_IsOK(res1
)) {
6954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetOrigin" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
6956 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
6958 result
= ((wxPixelDataBase
const *)arg1
)->GetOrigin();
6959 if (PyErr_Occurred()) SWIG_fail
;
6961 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
6968 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6969 PyObject
*resultobj
= 0;
6970 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
6974 PyObject
*swig_obj
[1] ;
6976 if (!args
) SWIG_fail
;
6978 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
6979 if (!SWIG_IsOK(res1
)) {
6980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetWidth" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
6982 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
6984 result
= (int)((wxPixelDataBase
const *)arg1
)->GetWidth();
6985 if (PyErr_Occurred()) SWIG_fail
;
6987 resultobj
= SWIG_From_int(static_cast< int >(result
));
6994 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6995 PyObject
*resultobj
= 0;
6996 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7000 PyObject
*swig_obj
[1] ;
7002 if (!args
) SWIG_fail
;
7004 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7005 if (!SWIG_IsOK(res1
)) {
7006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetHeight" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7008 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7010 result
= (int)((wxPixelDataBase
const *)arg1
)->GetHeight();
7011 if (PyErr_Occurred()) SWIG_fail
;
7013 resultobj
= SWIG_From_int(static_cast< int >(result
));
7020 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7021 PyObject
*resultobj
= 0;
7022 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7026 PyObject
*swig_obj
[1] ;
7028 if (!args
) SWIG_fail
;
7030 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7031 if (!SWIG_IsOK(res1
)) {
7032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetSize" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7034 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7036 result
= ((wxPixelDataBase
const *)arg1
)->GetSize();
7037 if (PyErr_Occurred()) SWIG_fail
;
7039 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
7046 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetRowStride(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7047 PyObject
*resultobj
= 0;
7048 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7052 PyObject
*swig_obj
[1] ;
7054 if (!args
) SWIG_fail
;
7056 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7057 if (!SWIG_IsOK(res1
)) {
7058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetRowStride" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7060 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7062 result
= (int)((wxPixelDataBase
const *)arg1
)->GetRowStride();
7063 if (PyErr_Occurred()) SWIG_fail
;
7065 resultobj
= SWIG_From_int(static_cast< int >(result
));
7072 SWIGINTERN PyObject
*PixelDataBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7074 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7075 SWIG_TypeNewClientData(SWIGTYPE_p_wxPixelDataBase
, SWIG_NewClientData(obj
));
7076 return SWIG_Py_Void();
7079 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7080 PyObject
*resultobj
= 0;
7081 wxBitmap
*arg1
= 0 ;
7082 wxNativePixelData
*result
= 0 ;
7086 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7087 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7088 if (!SWIG_IsOK(res1
)) {
7089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7092 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7094 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7096 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
);
7097 if (PyErr_Occurred()) SWIG_fail
;
7099 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7106 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7107 PyObject
*resultobj
= 0;
7108 wxBitmap
*arg1
= 0 ;
7110 wxNativePixelData
*result
= 0 ;
7115 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7116 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7117 if (!SWIG_IsOK(res1
)) {
7118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7121 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7123 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7126 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7129 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxRect
const &)*arg2
);
7130 if (PyErr_Occurred()) SWIG_fail
;
7132 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7139 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7140 PyObject
*resultobj
= 0;
7141 wxBitmap
*arg1
= 0 ;
7144 wxNativePixelData
*result
= 0 ;
7150 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
7151 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7152 if (!SWIG_IsOK(res1
)) {
7153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7156 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7158 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7161 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7165 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
7168 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
7169 if (PyErr_Occurred()) SWIG_fail
;
7171 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7178 SWIGINTERN PyObject
*_wrap_new_NativePixelData(PyObject
*self
, PyObject
*args
) {
7182 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData",0,3,argv
))) SWIG_fail
;
7185 return _wrap_new_NativePixelData__SWIG_0(self
, argc
, argv
);
7188 return _wrap_new_NativePixelData__SWIG_1(self
, argc
, argv
);
7191 return _wrap_new_NativePixelData__SWIG_2(self
, argc
, argv
);
7195 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData'");
7200 SWIGINTERN PyObject
*_wrap_delete_NativePixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7201 PyObject
*resultobj
= 0;
7202 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7205 PyObject
*swig_obj
[1] ;
7207 if (!args
) SWIG_fail
;
7209 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_DISOWN
| 0 );
7210 if (!SWIG_IsOK(res1
)) {
7211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7213 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7217 if (PyErr_Occurred()) SWIG_fail
;
7219 resultobj
= SWIG_Py_Void();
7226 SWIGINTERN PyObject
*_wrap_NativePixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7227 PyObject
*resultobj
= 0;
7228 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7229 wxNativePixelData_Accessor result
;
7232 PyObject
*swig_obj
[1] ;
7234 if (!args
) SWIG_fail
;
7236 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7237 if (!SWIG_IsOK(res1
)) {
7238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_GetPixels" "', expected argument " "1"" of type '" "wxNativePixelData const *""'");
7240 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7242 result
= ((wxNativePixelData
const *)arg1
)->GetPixels();
7243 if (PyErr_Occurred()) SWIG_fail
;
7245 resultobj
= SWIG_NewPointerObj((new wxNativePixelData_Accessor(static_cast< const wxNativePixelData_Accessor
& >(result
))), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
7252 SWIGINTERN PyObject
*_wrap_NativePixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7253 PyObject
*resultobj
= 0;
7254 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7257 PyObject
*swig_obj
[1] ;
7259 if (!args
) SWIG_fail
;
7261 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7262 if (!SWIG_IsOK(res1
)) {
7263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_UseAlpha" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7265 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7268 if (PyErr_Occurred()) SWIG_fail
;
7270 resultobj
= SWIG_Py_Void();
7277 SWIGINTERN PyObject
*_wrap_NativePixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7278 PyObject
*resultobj
= 0;
7279 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7283 PyObject
*swig_obj
[1] ;
7285 if (!args
) SWIG_fail
;
7287 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7288 if (!SWIG_IsOK(res1
)) {
7289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData___nonzero__" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7291 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7293 result
= (bool)wxNativePixelData___nonzero__(arg1
);
7294 if (PyErr_Occurred()) SWIG_fail
;
7297 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7305 SWIGINTERN PyObject
*NativePixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7307 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7308 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData
, SWIG_NewClientData(obj
));
7309 return SWIG_Py_Void();
7312 SWIGINTERN PyObject
*NativePixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7313 return SWIG_Python_InitShadowInstance(args
);
7316 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7317 PyObject
*resultobj
= 0;
7318 wxNativePixelData
*arg1
= 0 ;
7319 wxNativePixelData_Accessor
*result
= 0 ;
7323 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7324 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxNativePixelData
, 0 );
7325 if (!SWIG_IsOK(res1
)) {
7326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7329 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7331 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7333 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
);
7334 if (PyErr_Occurred()) SWIG_fail
;
7336 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7343 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7344 PyObject
*resultobj
= 0;
7345 wxBitmap
*arg1
= 0 ;
7346 wxNativePixelData
*arg2
= 0 ;
7347 wxNativePixelData_Accessor
*result
= 0 ;
7353 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7354 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7355 if (!SWIG_IsOK(res1
)) {
7356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7359 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7361 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7362 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 );
7363 if (!SWIG_IsOK(res2
)) {
7364 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7367 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7369 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7371 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
,*arg2
);
7372 if (PyErr_Occurred()) SWIG_fail
;
7374 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7381 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
7382 PyObject
*resultobj
= 0;
7383 wxNativePixelData_Accessor
*result
= 0 ;
7385 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
7387 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor();
7388 if (PyErr_Occurred()) SWIG_fail
;
7390 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7397 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor(PyObject
*self
, PyObject
*args
) {
7401 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData_Accessor",0,2,argv
))) SWIG_fail
;
7404 return _wrap_new_NativePixelData_Accessor__SWIG_2(self
, argc
, argv
);
7407 return _wrap_new_NativePixelData_Accessor__SWIG_0(self
, argc
, argv
);
7410 return _wrap_new_NativePixelData_Accessor__SWIG_1(self
, argc
, argv
);
7414 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData_Accessor'");
7419 SWIGINTERN PyObject
*_wrap_delete_NativePixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7420 PyObject
*resultobj
= 0;
7421 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7424 PyObject
*swig_obj
[1] ;
7426 if (!args
) SWIG_fail
;
7428 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
7429 if (!SWIG_IsOK(res1
)) {
7430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7432 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7436 if (PyErr_Occurred()) SWIG_fail
;
7438 resultobj
= SWIG_Py_Void();
7445 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7446 PyObject
*resultobj
= 0;
7447 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7448 wxNativePixelData
*arg2
= 0 ;
7453 PyObject
* obj0
= 0 ;
7454 PyObject
* obj1
= 0 ;
7455 char * kwnames
[] = {
7456 (char *) "self",(char *) "data", NULL
7459 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativePixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7460 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7461 if (!SWIG_IsOK(res1
)) {
7462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7464 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7465 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7466 if (!SWIG_IsOK(res2
)) {
7467 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7470 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7472 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7474 (arg1
)->Reset((wxNativePixelData
const &)*arg2
);
7475 if (PyErr_Occurred()) SWIG_fail
;
7477 resultobj
= SWIG_Py_Void();
7484 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7485 PyObject
*resultobj
= 0;
7486 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7490 PyObject
*swig_obj
[1] ;
7492 if (!args
) SWIG_fail
;
7494 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7495 if (!SWIG_IsOK(res1
)) {
7496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor const *""'");
7498 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7500 result
= (bool)((wxNativePixelData_Accessor
const *)arg1
)->IsOk();
7501 if (PyErr_Occurred()) SWIG_fail
;
7504 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7512 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7513 PyObject
*resultobj
= 0;
7514 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7517 PyObject
*swig_obj
[1] ;
7519 if (!args
) SWIG_fail
;
7521 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7522 if (!SWIG_IsOK(res1
)) {
7523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7525 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7527 wxNativePixelData_Accessor_nextPixel(arg1
);
7528 if (PyErr_Occurred()) SWIG_fail
;
7530 resultobj
= SWIG_Py_Void();
7537 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7538 PyObject
*resultobj
= 0;
7539 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7540 wxNativePixelData
*arg2
= 0 ;
7551 PyObject
* obj0
= 0 ;
7552 PyObject
* obj1
= 0 ;
7553 PyObject
* obj2
= 0 ;
7554 PyObject
* obj3
= 0 ;
7555 char * kwnames
[] = {
7556 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
7559 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7560 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7561 if (!SWIG_IsOK(res1
)) {
7562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7564 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7565 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7566 if (!SWIG_IsOK(res2
)) {
7567 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7570 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7572 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7573 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7574 if (!SWIG_IsOK(ecode3
)) {
7575 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
7577 arg3
= static_cast< int >(val3
);
7578 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7579 if (!SWIG_IsOK(ecode4
)) {
7580 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
7582 arg4
= static_cast< int >(val4
);
7584 (arg1
)->Offset((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
7585 if (PyErr_Occurred()) SWIG_fail
;
7587 resultobj
= SWIG_Py_Void();
7594 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7595 PyObject
*resultobj
= 0;
7596 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7597 wxNativePixelData
*arg2
= 0 ;
7605 PyObject
* obj0
= 0 ;
7606 PyObject
* obj1
= 0 ;
7607 PyObject
* obj2
= 0 ;
7608 char * kwnames
[] = {
7609 (char *) "self",(char *) "data",(char *) "x", NULL
7612 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7613 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7614 if (!SWIG_IsOK(res1
)) {
7615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7617 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7618 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7619 if (!SWIG_IsOK(res2
)) {
7620 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7623 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7625 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7626 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7627 if (!SWIG_IsOK(ecode3
)) {
7628 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
7630 arg3
= static_cast< int >(val3
);
7632 (arg1
)->OffsetX((wxNativePixelData
const &)*arg2
,arg3
);
7633 if (PyErr_Occurred()) SWIG_fail
;
7635 resultobj
= SWIG_Py_Void();
7642 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7643 PyObject
*resultobj
= 0;
7644 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7645 wxNativePixelData
*arg2
= 0 ;
7653 PyObject
* obj0
= 0 ;
7654 PyObject
* obj1
= 0 ;
7655 PyObject
* obj2
= 0 ;
7656 char * kwnames
[] = {
7657 (char *) "self",(char *) "data",(char *) "y", NULL
7660 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7661 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7662 if (!SWIG_IsOK(res1
)) {
7663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7665 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7666 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7667 if (!SWIG_IsOK(res2
)) {
7668 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7671 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7673 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7674 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7675 if (!SWIG_IsOK(ecode3
)) {
7676 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
7678 arg3
= static_cast< int >(val3
);
7680 (arg1
)->OffsetY((wxNativePixelData
const &)*arg2
,arg3
);
7681 if (PyErr_Occurred()) SWIG_fail
;
7683 resultobj
= SWIG_Py_Void();
7690 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7691 PyObject
*resultobj
= 0;
7692 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7693 wxNativePixelData
*arg2
= 0 ;
7704 PyObject
* obj0
= 0 ;
7705 PyObject
* obj1
= 0 ;
7706 PyObject
* obj2
= 0 ;
7707 PyObject
* obj3
= 0 ;
7708 char * kwnames
[] = {
7709 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
7712 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7713 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7714 if (!SWIG_IsOK(res1
)) {
7715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7717 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7718 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7719 if (!SWIG_IsOK(res2
)) {
7720 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7723 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7725 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7726 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7727 if (!SWIG_IsOK(ecode3
)) {
7728 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
7730 arg3
= static_cast< int >(val3
);
7731 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7732 if (!SWIG_IsOK(ecode4
)) {
7733 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
7735 arg4
= static_cast< int >(val4
);
7737 (arg1
)->MoveTo((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
7738 if (PyErr_Occurred()) SWIG_fail
;
7740 resultobj
= SWIG_Py_Void();
7747 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7748 PyObject
*resultobj
= 0;
7749 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7755 unsigned char val2
;
7757 unsigned char val3
;
7759 unsigned char val4
;
7761 PyObject
* obj0
= 0 ;
7762 PyObject
* obj1
= 0 ;
7763 PyObject
* obj2
= 0 ;
7764 PyObject
* obj3
= 0 ;
7765 char * kwnames
[] = {
7766 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
7769 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7770 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7771 if (!SWIG_IsOK(res1
)) {
7772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7774 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7775 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
7776 if (!SWIG_IsOK(ecode2
)) {
7777 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
7779 arg2
= static_cast< byte
>(val2
);
7780 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
7781 if (!SWIG_IsOK(ecode3
)) {
7782 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
7784 arg3
= static_cast< byte
>(val3
);
7785 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
7786 if (!SWIG_IsOK(ecode4
)) {
7787 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
7789 arg4
= static_cast< byte
>(val4
);
7791 wxNativePixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
);
7792 if (PyErr_Occurred()) SWIG_fail
;
7794 resultobj
= SWIG_Py_Void();
7801 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7802 PyObject
*resultobj
= 0;
7803 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7804 PyObject
*result
= 0 ;
7807 PyObject
*swig_obj
[1] ;
7809 if (!args
) SWIG_fail
;
7811 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7812 if (!SWIG_IsOK(res1
)) {
7813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7815 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7817 result
= (PyObject
*)wxNativePixelData_Accessor_Get(arg1
);
7818 if (PyErr_Occurred()) SWIG_fail
;
7827 SWIGINTERN PyObject
*NativePixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7829 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7830 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_NewClientData(obj
));
7831 return SWIG_Py_Void();
7834 SWIGINTERN PyObject
*NativePixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7835 return SWIG_Python_InitShadowInstance(args
);
7838 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7839 PyObject
*resultobj
= 0;
7840 wxBitmap
*arg1
= 0 ;
7841 wxAlphaPixelData
*result
= 0 ;
7845 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7846 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7847 if (!SWIG_IsOK(res1
)) {
7848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7851 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7853 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7855 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
);
7856 if (PyErr_Occurred()) SWIG_fail
;
7858 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
7865 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7866 PyObject
*resultobj
= 0;
7867 wxBitmap
*arg1
= 0 ;
7869 wxAlphaPixelData
*result
= 0 ;
7874 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7875 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7876 if (!SWIG_IsOK(res1
)) {
7877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7880 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7882 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7885 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7888 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxRect
const &)*arg2
);
7889 if (PyErr_Occurred()) SWIG_fail
;
7891 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
7898 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7899 PyObject
*resultobj
= 0;
7900 wxBitmap
*arg1
= 0 ;
7903 wxAlphaPixelData
*result
= 0 ;
7909 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
7910 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7911 if (!SWIG_IsOK(res1
)) {
7912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7915 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7917 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7920 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7924 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
7927 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
7928 if (PyErr_Occurred()) SWIG_fail
;
7930 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
7937 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData(PyObject
*self
, PyObject
*args
) {
7941 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData",0,3,argv
))) SWIG_fail
;
7944 return _wrap_new_AlphaPixelData__SWIG_0(self
, argc
, argv
);
7947 return _wrap_new_AlphaPixelData__SWIG_1(self
, argc
, argv
);
7950 return _wrap_new_AlphaPixelData__SWIG_2(self
, argc
, argv
);
7954 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData'");
7959 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7960 PyObject
*resultobj
= 0;
7961 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
7964 PyObject
*swig_obj
[1] ;
7966 if (!args
) SWIG_fail
;
7968 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_DISOWN
| 0 );
7969 if (!SWIG_IsOK(res1
)) {
7970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
7972 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
7976 if (PyErr_Occurred()) SWIG_fail
;
7978 resultobj
= SWIG_Py_Void();
7985 SWIGINTERN PyObject
*_wrap_AlphaPixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7986 PyObject
*resultobj
= 0;
7987 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
7988 wxAlphaPixelData_Accessor result
;
7991 PyObject
*swig_obj
[1] ;
7993 if (!args
) SWIG_fail
;
7995 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
7996 if (!SWIG_IsOK(res1
)) {
7997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_GetPixels" "', expected argument " "1"" of type '" "wxAlphaPixelData const *""'");
7999 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8001 result
= ((wxAlphaPixelData
const *)arg1
)->GetPixels();
8002 if (PyErr_Occurred()) SWIG_fail
;
8004 resultobj
= SWIG_NewPointerObj((new wxAlphaPixelData_Accessor(static_cast< const wxAlphaPixelData_Accessor
& >(result
))), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
8011 SWIGINTERN PyObject
*_wrap_AlphaPixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8012 PyObject
*resultobj
= 0;
8013 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8016 PyObject
*swig_obj
[1] ;
8018 if (!args
) SWIG_fail
;
8020 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8021 if (!SWIG_IsOK(res1
)) {
8022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_UseAlpha" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8024 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8027 if (PyErr_Occurred()) SWIG_fail
;
8029 resultobj
= SWIG_Py_Void();
8036 SWIGINTERN PyObject
*_wrap_AlphaPixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8037 PyObject
*resultobj
= 0;
8038 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8042 PyObject
*swig_obj
[1] ;
8044 if (!args
) SWIG_fail
;
8046 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8047 if (!SWIG_IsOK(res1
)) {
8048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData___nonzero__" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8050 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8052 result
= (bool)wxAlphaPixelData___nonzero__(arg1
);
8053 if (PyErr_Occurred()) SWIG_fail
;
8056 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8064 SWIGINTERN PyObject
*AlphaPixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8066 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8067 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData
, SWIG_NewClientData(obj
));
8068 return SWIG_Py_Void();
8071 SWIGINTERN PyObject
*AlphaPixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8072 return SWIG_Python_InitShadowInstance(args
);
8075 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8076 PyObject
*resultobj
= 0;
8077 wxAlphaPixelData
*arg1
= 0 ;
8078 wxAlphaPixelData_Accessor
*result
= 0 ;
8082 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
8083 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8084 if (!SWIG_IsOK(res1
)) {
8085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
8088 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
8090 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8092 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
);
8093 if (PyErr_Occurred()) SWIG_fail
;
8095 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8102 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8103 PyObject
*resultobj
= 0;
8104 wxBitmap
*arg1
= 0 ;
8105 wxAlphaPixelData
*arg2
= 0 ;
8106 wxAlphaPixelData_Accessor
*result
= 0 ;
8112 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
8113 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8114 if (!SWIG_IsOK(res1
)) {
8115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8118 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8120 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8121 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8122 if (!SWIG_IsOK(res2
)) {
8123 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8126 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8128 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8130 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
,*arg2
);
8131 if (PyErr_Occurred()) SWIG_fail
;
8133 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8140 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
8141 PyObject
*resultobj
= 0;
8142 wxAlphaPixelData_Accessor
*result
= 0 ;
8144 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
8146 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor();
8147 if (PyErr_Occurred()) SWIG_fail
;
8149 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8156 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor(PyObject
*self
, PyObject
*args
) {
8160 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData_Accessor",0,2,argv
))) SWIG_fail
;
8163 return _wrap_new_AlphaPixelData_Accessor__SWIG_2(self
, argc
, argv
);
8166 return _wrap_new_AlphaPixelData_Accessor__SWIG_0(self
, argc
, argv
);
8169 return _wrap_new_AlphaPixelData_Accessor__SWIG_1(self
, argc
, argv
);
8173 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData_Accessor'");
8178 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8179 PyObject
*resultobj
= 0;
8180 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8183 PyObject
*swig_obj
[1] ;
8185 if (!args
) SWIG_fail
;
8187 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
8188 if (!SWIG_IsOK(res1
)) {
8189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8191 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8195 if (PyErr_Occurred()) SWIG_fail
;
8197 resultobj
= SWIG_Py_Void();
8204 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8205 PyObject
*resultobj
= 0;
8206 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8207 wxAlphaPixelData
*arg2
= 0 ;
8212 PyObject
* obj0
= 0 ;
8213 PyObject
* obj1
= 0 ;
8214 char * kwnames
[] = {
8215 (char *) "self",(char *) "data", NULL
8218 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AlphaPixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8219 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8220 if (!SWIG_IsOK(res1
)) {
8221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8223 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8224 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8225 if (!SWIG_IsOK(res2
)) {
8226 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8229 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8231 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8233 (arg1
)->Reset((wxAlphaPixelData
const &)*arg2
);
8234 if (PyErr_Occurred()) SWIG_fail
;
8236 resultobj
= SWIG_Py_Void();
8243 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8244 PyObject
*resultobj
= 0;
8245 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8249 PyObject
*swig_obj
[1] ;
8251 if (!args
) SWIG_fail
;
8253 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8254 if (!SWIG_IsOK(res1
)) {
8255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor const *""'");
8257 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8259 result
= (bool)((wxAlphaPixelData_Accessor
const *)arg1
)->IsOk();
8260 if (PyErr_Occurred()) SWIG_fail
;
8263 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8271 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8272 PyObject
*resultobj
= 0;
8273 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8276 PyObject
*swig_obj
[1] ;
8278 if (!args
) SWIG_fail
;
8280 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8281 if (!SWIG_IsOK(res1
)) {
8282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8284 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8286 wxAlphaPixelData_Accessor_nextPixel(arg1
);
8287 if (PyErr_Occurred()) SWIG_fail
;
8289 resultobj
= SWIG_Py_Void();
8296 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8297 PyObject
*resultobj
= 0;
8298 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8299 wxAlphaPixelData
*arg2
= 0 ;
8310 PyObject
* obj0
= 0 ;
8311 PyObject
* obj1
= 0 ;
8312 PyObject
* obj2
= 0 ;
8313 PyObject
* obj3
= 0 ;
8314 char * kwnames
[] = {
8315 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8318 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8319 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8320 if (!SWIG_IsOK(res1
)) {
8321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8323 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8324 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8325 if (!SWIG_IsOK(res2
)) {
8326 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8329 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8331 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8332 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8333 if (!SWIG_IsOK(ecode3
)) {
8334 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
8336 arg3
= static_cast< int >(val3
);
8337 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8338 if (!SWIG_IsOK(ecode4
)) {
8339 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
8341 arg4
= static_cast< int >(val4
);
8343 (arg1
)->Offset((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8344 if (PyErr_Occurred()) SWIG_fail
;
8346 resultobj
= SWIG_Py_Void();
8353 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8354 PyObject
*resultobj
= 0;
8355 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8356 wxAlphaPixelData
*arg2
= 0 ;
8364 PyObject
* obj0
= 0 ;
8365 PyObject
* obj1
= 0 ;
8366 PyObject
* obj2
= 0 ;
8367 char * kwnames
[] = {
8368 (char *) "self",(char *) "data",(char *) "x", NULL
8371 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8372 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8373 if (!SWIG_IsOK(res1
)) {
8374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8376 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8377 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8378 if (!SWIG_IsOK(res2
)) {
8379 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8382 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8384 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8385 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8386 if (!SWIG_IsOK(ecode3
)) {
8387 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
8389 arg3
= static_cast< int >(val3
);
8391 (arg1
)->OffsetX((wxAlphaPixelData
const &)*arg2
,arg3
);
8392 if (PyErr_Occurred()) SWIG_fail
;
8394 resultobj
= SWIG_Py_Void();
8401 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8402 PyObject
*resultobj
= 0;
8403 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8404 wxAlphaPixelData
*arg2
= 0 ;
8412 PyObject
* obj0
= 0 ;
8413 PyObject
* obj1
= 0 ;
8414 PyObject
* obj2
= 0 ;
8415 char * kwnames
[] = {
8416 (char *) "self",(char *) "data",(char *) "y", NULL
8419 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8420 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8421 if (!SWIG_IsOK(res1
)) {
8422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8424 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8425 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8426 if (!SWIG_IsOK(res2
)) {
8427 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8430 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8432 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8433 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8434 if (!SWIG_IsOK(ecode3
)) {
8435 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
8437 arg3
= static_cast< int >(val3
);
8439 (arg1
)->OffsetY((wxAlphaPixelData
const &)*arg2
,arg3
);
8440 if (PyErr_Occurred()) SWIG_fail
;
8442 resultobj
= SWIG_Py_Void();
8449 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8450 PyObject
*resultobj
= 0;
8451 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8452 wxAlphaPixelData
*arg2
= 0 ;
8463 PyObject
* obj0
= 0 ;
8464 PyObject
* obj1
= 0 ;
8465 PyObject
* obj2
= 0 ;
8466 PyObject
* obj3
= 0 ;
8467 char * kwnames
[] = {
8468 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8471 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8472 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8473 if (!SWIG_IsOK(res1
)) {
8474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8476 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8477 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8478 if (!SWIG_IsOK(res2
)) {
8479 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8482 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8484 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8485 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8486 if (!SWIG_IsOK(ecode3
)) {
8487 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
8489 arg3
= static_cast< int >(val3
);
8490 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8491 if (!SWIG_IsOK(ecode4
)) {
8492 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
8494 arg4
= static_cast< int >(val4
);
8496 (arg1
)->MoveTo((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8497 if (PyErr_Occurred()) SWIG_fail
;
8499 resultobj
= SWIG_Py_Void();
8506 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8507 PyObject
*resultobj
= 0;
8508 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8515 unsigned char val2
;
8517 unsigned char val3
;
8519 unsigned char val4
;
8521 unsigned char val5
;
8523 PyObject
* obj0
= 0 ;
8524 PyObject
* obj1
= 0 ;
8525 PyObject
* obj2
= 0 ;
8526 PyObject
* obj3
= 0 ;
8527 PyObject
* obj4
= 0 ;
8528 char * kwnames
[] = {
8529 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
8532 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:AlphaPixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8533 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8534 if (!SWIG_IsOK(res1
)) {
8535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8537 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8538 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
8539 if (!SWIG_IsOK(ecode2
)) {
8540 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
8542 arg2
= static_cast< byte
>(val2
);
8543 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
8544 if (!SWIG_IsOK(ecode3
)) {
8545 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
8547 arg3
= static_cast< byte
>(val3
);
8548 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
8549 if (!SWIG_IsOK(ecode4
)) {
8550 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
8552 arg4
= static_cast< byte
>(val4
);
8553 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
8554 if (!SWIG_IsOK(ecode5
)) {
8555 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "5"" of type '" "byte""'");
8557 arg5
= static_cast< byte
>(val5
);
8559 wxAlphaPixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
8560 if (PyErr_Occurred()) SWIG_fail
;
8562 resultobj
= SWIG_Py_Void();
8569 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8570 PyObject
*resultobj
= 0;
8571 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8572 PyObject
*result
= 0 ;
8575 PyObject
*swig_obj
[1] ;
8577 if (!args
) SWIG_fail
;
8579 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8580 if (!SWIG_IsOK(res1
)) {
8581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8583 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8585 result
= (PyObject
*)wxAlphaPixelData_Accessor_Get(arg1
);
8586 if (PyErr_Occurred()) SWIG_fail
;
8595 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8597 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8598 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_NewClientData(obj
));
8599 return SWIG_Py_Void();
8602 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8603 return SWIG_Python_InitShadowInstance(args
);
8606 SWIGINTERN PyObject
*_wrap_new_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8607 PyObject
*resultobj
= 0;
8608 wxBitmap
*arg1
= 0 ;
8609 wxColour
const &arg2_defvalue
= wxNullColour
;
8610 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
8611 wxMask
*result
= 0 ;
8615 PyObject
* obj0
= 0 ;
8616 PyObject
* obj1
= 0 ;
8617 char * kwnames
[] = {
8618 (char *) "bitmap",(char *) "colour", NULL
8621 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8622 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8623 if (!SWIG_IsOK(res1
)) {
8624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8627 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8629 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8633 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8637 if (!wxPyCheckForApp()) SWIG_fail
;
8638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8639 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
8640 wxPyEndAllowThreads(__tstate
);
8641 if (PyErr_Occurred()) SWIG_fail
;
8643 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, SWIG_POINTER_NEW
| 0 );
8650 SWIGINTERN PyObject
*_wrap_delete_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8651 PyObject
*resultobj
= 0;
8652 wxMask
*arg1
= (wxMask
*) 0 ;
8655 PyObject
*swig_obj
[1] ;
8657 if (!args
) SWIG_fail
;
8659 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
8660 if (!SWIG_IsOK(res1
)) {
8661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Mask" "', expected argument " "1"" of type '" "wxMask *""'");
8663 arg1
= reinterpret_cast< wxMask
* >(argp1
);
8667 if (PyErr_Occurred()) SWIG_fail
;
8669 resultobj
= SWIG_Py_Void();
8676 SWIGINTERN PyObject
*Mask_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8678 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8679 SWIG_TypeNewClientData(SWIGTYPE_p_wxMask
, SWIG_NewClientData(obj
));
8680 return SWIG_Py_Void();
8683 SWIGINTERN PyObject
*Mask_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8684 return SWIG_Python_InitShadowInstance(args
);
8687 SWIGINTERN PyObject
*_wrap_new_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8688 PyObject
*resultobj
= 0;
8689 wxString
*arg1
= 0 ;
8691 int arg3
= (int) -1 ;
8692 int arg4
= (int) -1 ;
8693 wxIcon
*result
= 0 ;
8694 bool temp1
= false ;
8701 PyObject
* obj0
= 0 ;
8702 PyObject
* obj1
= 0 ;
8703 PyObject
* obj2
= 0 ;
8704 PyObject
* obj3
= 0 ;
8705 char * kwnames
[] = {
8706 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
8709 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8711 arg1
= wxString_in_helper(obj0
);
8712 if (arg1
== NULL
) SWIG_fail
;
8715 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8716 if (!SWIG_IsOK(ecode2
)) {
8717 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Icon" "', expected argument " "2"" of type '" "wxBitmapType""'");
8719 arg2
= static_cast< wxBitmapType
>(val2
);
8721 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8722 if (!SWIG_IsOK(ecode3
)) {
8723 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Icon" "', expected argument " "3"" of type '" "int""'");
8725 arg3
= static_cast< int >(val3
);
8728 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8729 if (!SWIG_IsOK(ecode4
)) {
8730 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Icon" "', expected argument " "4"" of type '" "int""'");
8732 arg4
= static_cast< int >(val4
);
8735 if (!wxPyCheckForApp()) SWIG_fail
;
8736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8737 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
8738 wxPyEndAllowThreads(__tstate
);
8739 if (PyErr_Occurred()) SWIG_fail
;
8741 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_NEW
| 0 );
8756 SWIGINTERN PyObject
*_wrap_delete_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8757 PyObject
*resultobj
= 0;
8758 wxIcon
*arg1
= (wxIcon
*) 0 ;
8761 PyObject
*swig_obj
[1] ;
8763 if (!args
) SWIG_fail
;
8765 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, SWIG_POINTER_DISOWN
| 0 );
8766 if (!SWIG_IsOK(res1
)) {
8767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Icon" "', expected argument " "1"" of type '" "wxIcon *""'");
8769 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
8771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8774 wxPyEndAllowThreads(__tstate
);
8775 if (PyErr_Occurred()) SWIG_fail
;
8777 resultobj
= SWIG_Py_Void();
8784 SWIGINTERN PyObject
*_wrap_new_EmptyIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8785 PyObject
*resultobj
= 0;
8786 wxIcon
*result
= 0 ;
8788 if (!SWIG_Python_UnpackTuple(args
,"new_EmptyIcon",0,0,0)) SWIG_fail
;
8790 if (!wxPyCheckForApp()) SWIG_fail
;
8791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8792 result
= (wxIcon
*)new wxIcon();
8793 wxPyEndAllowThreads(__tstate
);
8794 if (PyErr_Occurred()) SWIG_fail
;
8796 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
8803 SWIGINTERN PyObject
*_wrap_new_IconFromLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8804 PyObject
*resultobj
= 0;
8805 wxIconLocation
*arg1
= 0 ;
8806 wxIcon
*result
= 0 ;
8809 PyObject
* obj0
= 0 ;
8810 char * kwnames
[] = {
8811 (char *) "loc", NULL
8814 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) SWIG_fail
;
8815 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIconLocation
, 0 | 0);
8816 if (!SWIG_IsOK(res1
)) {
8817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
8820 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
8822 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
8824 if (!wxPyCheckForApp()) SWIG_fail
;
8825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8826 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
8827 wxPyEndAllowThreads(__tstate
);
8828 if (PyErr_Occurred()) SWIG_fail
;
8830 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
8837 SWIGINTERN PyObject
*_wrap_new_IconFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8838 PyObject
*resultobj
= 0;
8839 wxBitmap
*arg1
= 0 ;
8840 wxIcon
*result
= 0 ;
8843 PyObject
* obj0
= 0 ;
8844 char * kwnames
[] = {
8845 (char *) "bmp", NULL
8848 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
8849 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8850 if (!SWIG_IsOK(res1
)) {
8851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8854 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8856 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8858 if (!wxPyCheckForApp()) SWIG_fail
;
8859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8860 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
8861 wxPyEndAllowThreads(__tstate
);
8862 if (PyErr_Occurred()) SWIG_fail
;
8864 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
8871 SWIGINTERN PyObject
*_wrap_new_IconFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8872 PyObject
*resultobj
= 0;
8873 PyObject
*arg1
= (PyObject
*) 0 ;
8874 wxIcon
*result
= 0 ;
8875 PyObject
* obj0
= 0 ;
8876 char * kwnames
[] = {
8877 (char *) "listOfStrings", NULL
8880 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
8883 if (!wxPyCheckForApp()) SWIG_fail
;
8884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8885 result
= (wxIcon
*)new_wxIcon(arg1
);
8886 wxPyEndAllowThreads(__tstate
);
8887 if (PyErr_Occurred()) SWIG_fail
;
8889 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
8896 SWIGINTERN PyObject
*_wrap_Icon_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8897 PyObject
*resultobj
= 0;
8898 wxIcon
*arg1
= (wxIcon
*) 0 ;
8899 wxString
*arg2
= 0 ;
8904 bool temp2
= false ;
8907 PyObject
* obj0
= 0 ;
8908 PyObject
* obj1
= 0 ;
8909 PyObject
* obj2
= 0 ;
8910 char * kwnames
[] = {
8911 (char *) "self",(char *) "name",(char *) "type", NULL
8914 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Icon_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8915 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
8916 if (!SWIG_IsOK(res1
)) {
8917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_LoadFile" "', expected argument " "1"" of type '" "wxIcon *""'");
8919 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
8921 arg2
= wxString_in_helper(obj1
);
8922 if (arg2
== NULL
) SWIG_fail
;
8925 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8926 if (!SWIG_IsOK(ecode3
)) {
8927 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Icon_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
8929 arg3
= static_cast< wxBitmapType
>(val3
);
8931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8932 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
8933 wxPyEndAllowThreads(__tstate
);
8934 if (PyErr_Occurred()) SWIG_fail
;
8937 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8953 SWIGINTERN PyObject
*_wrap_Icon_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8954 PyObject
*resultobj
= 0;
8955 wxIcon
*arg1
= (wxIcon
*) 0 ;
8959 PyObject
*swig_obj
[1] ;
8961 if (!args
) SWIG_fail
;
8963 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
8964 if (!SWIG_IsOK(res1
)) {
8965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_IsOk" "', expected argument " "1"" of type '" "wxIcon *""'");
8967 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
8969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8970 result
= (bool)(arg1
)->IsOk();
8971 wxPyEndAllowThreads(__tstate
);
8972 if (PyErr_Occurred()) SWIG_fail
;
8975 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8983 SWIGINTERN PyObject
*_wrap_Icon_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8984 PyObject
*resultobj
= 0;
8985 wxIcon
*arg1
= (wxIcon
*) 0 ;
8989 PyObject
*swig_obj
[1] ;
8991 if (!args
) SWIG_fail
;
8993 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
8994 if (!SWIG_IsOK(res1
)) {
8995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
8997 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
8999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9000 result
= (int)(arg1
)->GetWidth();
9001 wxPyEndAllowThreads(__tstate
);
9002 if (PyErr_Occurred()) SWIG_fail
;
9004 resultobj
= SWIG_From_int(static_cast< int >(result
));
9011 SWIGINTERN PyObject
*_wrap_Icon_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9012 PyObject
*resultobj
= 0;
9013 wxIcon
*arg1
= (wxIcon
*) 0 ;
9017 PyObject
*swig_obj
[1] ;
9019 if (!args
) SWIG_fail
;
9021 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9022 if (!SWIG_IsOK(res1
)) {
9023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
9025 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9028 result
= (int)(arg1
)->GetHeight();
9029 wxPyEndAllowThreads(__tstate
);
9030 if (PyErr_Occurred()) SWIG_fail
;
9032 resultobj
= SWIG_From_int(static_cast< int >(result
));
9039 SWIGINTERN PyObject
*_wrap_Icon_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9040 PyObject
*resultobj
= 0;
9041 wxIcon
*arg1
= (wxIcon
*) 0 ;
9045 PyObject
*swig_obj
[1] ;
9047 if (!args
) SWIG_fail
;
9049 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9050 if (!SWIG_IsOK(res1
)) {
9051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9053 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9056 result
= (int)(arg1
)->GetDepth();
9057 wxPyEndAllowThreads(__tstate
);
9058 if (PyErr_Occurred()) SWIG_fail
;
9060 resultobj
= SWIG_From_int(static_cast< int >(result
));
9067 SWIGINTERN PyObject
*_wrap_Icon_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9068 PyObject
*resultobj
= 0;
9069 wxIcon
*arg1
= (wxIcon
*) 0 ;
9075 PyObject
* obj0
= 0 ;
9076 PyObject
* obj1
= 0 ;
9077 char * kwnames
[] = {
9078 (char *) "self",(char *) "w", NULL
9081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9082 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9083 if (!SWIG_IsOK(res1
)) {
9084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
9086 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9087 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9088 if (!SWIG_IsOK(ecode2
)) {
9089 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetWidth" "', expected argument " "2"" of type '" "int""'");
9091 arg2
= static_cast< int >(val2
);
9093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9094 (arg1
)->SetWidth(arg2
);
9095 wxPyEndAllowThreads(__tstate
);
9096 if (PyErr_Occurred()) SWIG_fail
;
9098 resultobj
= SWIG_Py_Void();
9105 SWIGINTERN PyObject
*_wrap_Icon_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9106 PyObject
*resultobj
= 0;
9107 wxIcon
*arg1
= (wxIcon
*) 0 ;
9113 PyObject
* obj0
= 0 ;
9114 PyObject
* obj1
= 0 ;
9115 char * kwnames
[] = {
9116 (char *) "self",(char *) "h", NULL
9119 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9120 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9121 if (!SWIG_IsOK(res1
)) {
9122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
9124 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9125 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9126 if (!SWIG_IsOK(ecode2
)) {
9127 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetHeight" "', expected argument " "2"" of type '" "int""'");
9129 arg2
= static_cast< int >(val2
);
9131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9132 (arg1
)->SetHeight(arg2
);
9133 wxPyEndAllowThreads(__tstate
);
9134 if (PyErr_Occurred()) SWIG_fail
;
9136 resultobj
= SWIG_Py_Void();
9143 SWIGINTERN PyObject
*_wrap_Icon_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9144 PyObject
*resultobj
= 0;
9145 wxIcon
*arg1
= (wxIcon
*) 0 ;
9151 PyObject
* obj0
= 0 ;
9152 PyObject
* obj1
= 0 ;
9153 char * kwnames
[] = {
9154 (char *) "self",(char *) "d", NULL
9157 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9158 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9159 if (!SWIG_IsOK(res1
)) {
9160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9162 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9163 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9164 if (!SWIG_IsOK(ecode2
)) {
9165 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetDepth" "', expected argument " "2"" of type '" "int""'");
9167 arg2
= static_cast< int >(val2
);
9169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9170 (arg1
)->SetDepth(arg2
);
9171 wxPyEndAllowThreads(__tstate
);
9172 if (PyErr_Occurred()) SWIG_fail
;
9174 resultobj
= SWIG_Py_Void();
9181 SWIGINTERN PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9182 PyObject
*resultobj
= 0;
9183 wxIcon
*arg1
= (wxIcon
*) 0 ;
9184 wxBitmap
*arg2
= 0 ;
9189 PyObject
* obj0
= 0 ;
9190 PyObject
* obj1
= 0 ;
9191 char * kwnames
[] = {
9192 (char *) "self",(char *) "bmp", NULL
9195 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9196 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9197 if (!SWIG_IsOK(res1
)) {
9198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "1"" of type '" "wxIcon *""'");
9200 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9201 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9202 if (!SWIG_IsOK(res2
)) {
9203 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9206 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9208 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
9210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9211 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
9212 wxPyEndAllowThreads(__tstate
);
9213 if (PyErr_Occurred()) SWIG_fail
;
9215 resultobj
= SWIG_Py_Void();
9222 SWIGINTERN PyObject
*Icon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9224 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9225 SWIG_TypeNewClientData(SWIGTYPE_p_wxIcon
, SWIG_NewClientData(obj
));
9226 return SWIG_Py_Void();
9229 SWIGINTERN PyObject
*Icon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9230 return SWIG_Python_InitShadowInstance(args
);
9233 SWIGINTERN PyObject
*_wrap_new_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9234 PyObject
*resultobj
= 0;
9235 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
9236 int arg2
= (int) 0 ;
9237 wxIconLocation
*result
= 0 ;
9238 bool temp1
= false ;
9241 PyObject
* obj0
= 0 ;
9242 PyObject
* obj1
= 0 ;
9243 char * kwnames
[] = {
9244 (char *) "filename",(char *) "num", NULL
9247 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9250 arg1
= wxString_in_helper(obj0
);
9251 if (arg1
== NULL
) SWIG_fail
;
9256 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9257 if (!SWIG_IsOK(ecode2
)) {
9258 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconLocation" "', expected argument " "2"" of type '" "int""'");
9260 arg2
= static_cast< int >(val2
);
9263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9264 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
9265 wxPyEndAllowThreads(__tstate
);
9266 if (PyErr_Occurred()) SWIG_fail
;
9268 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_NEW
| 0 );
9283 SWIGINTERN PyObject
*_wrap_delete_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9284 PyObject
*resultobj
= 0;
9285 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9288 PyObject
*swig_obj
[1] ;
9290 if (!args
) SWIG_fail
;
9292 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_DISOWN
| 0 );
9293 if (!SWIG_IsOK(res1
)) {
9294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconLocation" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9296 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9301 wxPyEndAllowThreads(__tstate
);
9302 if (PyErr_Occurred()) SWIG_fail
;
9304 resultobj
= SWIG_Py_Void();
9311 SWIGINTERN PyObject
*_wrap_IconLocation_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9312 PyObject
*resultobj
= 0;
9313 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9317 PyObject
*swig_obj
[1] ;
9319 if (!args
) SWIG_fail
;
9321 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9322 if (!SWIG_IsOK(res1
)) {
9323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_IsOk" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9325 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9328 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
9329 wxPyEndAllowThreads(__tstate
);
9330 if (PyErr_Occurred()) SWIG_fail
;
9333 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9341 SWIGINTERN PyObject
*_wrap_IconLocation_SetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9342 PyObject
*resultobj
= 0;
9343 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9344 wxString
*arg2
= 0 ;
9347 bool temp2
= false ;
9348 PyObject
* obj0
= 0 ;
9349 PyObject
* obj1
= 0 ;
9350 char * kwnames
[] = {
9351 (char *) "self",(char *) "filename", NULL
9354 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9355 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9356 if (!SWIG_IsOK(res1
)) {
9357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetFileName" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9359 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9361 arg2
= wxString_in_helper(obj1
);
9362 if (arg2
== NULL
) SWIG_fail
;
9366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9367 (arg1
)->SetFileName((wxString
const &)*arg2
);
9368 wxPyEndAllowThreads(__tstate
);
9369 if (PyErr_Occurred()) SWIG_fail
;
9371 resultobj
= SWIG_Py_Void();
9386 SWIGINTERN PyObject
*_wrap_IconLocation_GetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9387 PyObject
*resultobj
= 0;
9388 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9389 wxString
*result
= 0 ;
9392 PyObject
*swig_obj
[1] ;
9394 if (!args
) SWIG_fail
;
9396 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9397 if (!SWIG_IsOK(res1
)) {
9398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetFileName" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9400 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9404 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
9405 result
= (wxString
*) &_result_ref
;
9407 wxPyEndAllowThreads(__tstate
);
9408 if (PyErr_Occurred()) SWIG_fail
;
9412 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9414 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9423 SWIGINTERN PyObject
*_wrap_IconLocation_SetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9424 PyObject
*resultobj
= 0;
9425 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9431 PyObject
* obj0
= 0 ;
9432 PyObject
* obj1
= 0 ;
9433 char * kwnames
[] = {
9434 (char *) "self",(char *) "num", NULL
9437 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9438 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9439 if (!SWIG_IsOK(res1
)) {
9440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9442 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9443 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9444 if (!SWIG_IsOK(ecode2
)) {
9445 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IconLocation_SetIndex" "', expected argument " "2"" of type '" "int""'");
9447 arg2
= static_cast< int >(val2
);
9449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9450 wxIconLocation_SetIndex(arg1
,arg2
);
9451 wxPyEndAllowThreads(__tstate
);
9452 if (PyErr_Occurred()) SWIG_fail
;
9454 resultobj
= SWIG_Py_Void();
9461 SWIGINTERN PyObject
*_wrap_IconLocation_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9462 PyObject
*resultobj
= 0;
9463 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9467 PyObject
*swig_obj
[1] ;
9469 if (!args
) SWIG_fail
;
9471 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9472 if (!SWIG_IsOK(res1
)) {
9473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9475 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9478 result
= (int)wxIconLocation_GetIndex(arg1
);
9479 wxPyEndAllowThreads(__tstate
);
9480 if (PyErr_Occurred()) SWIG_fail
;
9482 resultobj
= SWIG_From_int(static_cast< int >(result
));
9489 SWIGINTERN PyObject
*IconLocation_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9491 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9492 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconLocation
, SWIG_NewClientData(obj
));
9493 return SWIG_Py_Void();
9496 SWIGINTERN PyObject
*IconLocation_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9497 return SWIG_Python_InitShadowInstance(args
);
9500 SWIGINTERN PyObject
*_wrap_new_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9501 PyObject
*resultobj
= 0;
9502 wxIconBundle
*result
= 0 ;
9504 if (!SWIG_Python_UnpackTuple(args
,"new_IconBundle",0,0,0)) SWIG_fail
;
9506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9507 result
= (wxIconBundle
*)new wxIconBundle();
9508 wxPyEndAllowThreads(__tstate
);
9509 if (PyErr_Occurred()) SWIG_fail
;
9511 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_NEW
| 0 );
9518 SWIGINTERN PyObject
*_wrap_new_IconBundleFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9519 PyObject
*resultobj
= 0;
9520 wxString
*arg1
= 0 ;
9522 wxIconBundle
*result
= 0 ;
9523 bool temp1
= false ;
9526 PyObject
* obj0
= 0 ;
9527 PyObject
* obj1
= 0 ;
9528 char * kwnames
[] = {
9529 (char *) "file",(char *) "type", NULL
9532 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9534 arg1
= wxString_in_helper(obj0
);
9535 if (arg1
== NULL
) SWIG_fail
;
9538 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9539 if (!SWIG_IsOK(ecode2
)) {
9540 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconBundleFromFile" "', expected argument " "2"" of type '" "long""'");
9542 arg2
= static_cast< long >(val2
);
9544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9545 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
9546 wxPyEndAllowThreads(__tstate
);
9547 if (PyErr_Occurred()) SWIG_fail
;
9549 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
9564 SWIGINTERN PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9565 PyObject
*resultobj
= 0;
9567 wxIconBundle
*result
= 0 ;
9570 PyObject
* obj0
= 0 ;
9571 char * kwnames
[] = {
9572 (char *) "icon", NULL
9575 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) SWIG_fail
;
9576 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
9577 if (!SWIG_IsOK(res1
)) {
9578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
9581 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
9583 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9586 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
9587 wxPyEndAllowThreads(__tstate
);
9588 if (PyErr_Occurred()) SWIG_fail
;
9590 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
9597 SWIGINTERN PyObject
*_wrap_delete_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9598 PyObject
*resultobj
= 0;
9599 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9602 PyObject
*swig_obj
[1] ;
9604 if (!args
) SWIG_fail
;
9606 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_DISOWN
| 0 );
9607 if (!SWIG_IsOK(res1
)) {
9608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconBundle" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9610 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9615 wxPyEndAllowThreads(__tstate
);
9616 if (PyErr_Occurred()) SWIG_fail
;
9618 resultobj
= SWIG_Py_Void();
9625 SWIGINTERN PyObject
*_wrap_IconBundle_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9626 PyObject
*resultobj
= 0;
9627 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9633 PyObject
* obj0
= 0 ;
9634 PyObject
* obj1
= 0 ;
9635 char * kwnames
[] = {
9636 (char *) "self",(char *) "icon", NULL
9639 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9640 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
9641 if (!SWIG_IsOK(res1
)) {
9642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIcon" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9644 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9645 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
9646 if (!SWIG_IsOK(res2
)) {
9647 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
9650 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
9652 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
9654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9655 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
9656 wxPyEndAllowThreads(__tstate
);
9657 if (PyErr_Occurred()) SWIG_fail
;
9659 resultobj
= SWIG_Py_Void();
9666 SWIGINTERN PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9667 PyObject
*resultobj
= 0;
9668 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9669 wxString
*arg2
= 0 ;
9673 bool temp2
= false ;
9676 PyObject
* obj0
= 0 ;
9677 PyObject
* obj1
= 0 ;
9678 PyObject
* obj2
= 0 ;
9679 char * kwnames
[] = {
9680 (char *) "self",(char *) "file",(char *) "type", NULL
9683 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9684 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
9685 if (!SWIG_IsOK(res1
)) {
9686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9688 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9690 arg2
= wxString_in_helper(obj1
);
9691 if (arg2
== NULL
) SWIG_fail
;
9694 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
9695 if (!SWIG_IsOK(ecode3
)) {
9696 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "3"" of type '" "long""'");
9698 arg3
= static_cast< long >(val3
);
9700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9701 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
9702 wxPyEndAllowThreads(__tstate
);
9703 if (PyErr_Occurred()) SWIG_fail
;
9705 resultobj
= SWIG_Py_Void();
9720 SWIGINTERN PyObject
*_wrap_IconBundle_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9721 PyObject
*resultobj
= 0;
9722 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9724 wxIcon
*result
= 0 ;
9728 PyObject
* obj0
= 0 ;
9729 PyObject
* obj1
= 0 ;
9730 char * kwnames
[] = {
9731 (char *) "self",(char *) "size", NULL
9734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9735 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
9736 if (!SWIG_IsOK(res1
)) {
9737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_GetIcon" "', expected argument " "1"" of type '" "wxIconBundle const *""'");
9739 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9742 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
9745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9747 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
9748 result
= (wxIcon
*) &_result_ref
;
9750 wxPyEndAllowThreads(__tstate
);
9751 if (PyErr_Occurred()) SWIG_fail
;
9754 wxIcon
* resultptr
= new wxIcon(*result
);
9755 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
9763 SWIGINTERN PyObject
*IconBundle_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9765 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9766 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconBundle
, SWIG_NewClientData(obj
));
9767 return SWIG_Py_Void();
9770 SWIGINTERN PyObject
*IconBundle_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9771 return SWIG_Python_InitShadowInstance(args
);
9774 SWIGINTERN PyObject
*_wrap_new_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9775 PyObject
*resultobj
= 0;
9776 wxString
*arg1
= 0 ;
9778 int arg3
= (int) 0 ;
9779 int arg4
= (int) 0 ;
9780 wxCursor
*result
= 0 ;
9781 bool temp1
= false ;
9788 PyObject
* obj0
= 0 ;
9789 PyObject
* obj1
= 0 ;
9790 PyObject
* obj2
= 0 ;
9791 PyObject
* obj3
= 0 ;
9792 char * kwnames
[] = {
9793 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
9796 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9798 arg1
= wxString_in_helper(obj0
);
9799 if (arg1
== NULL
) SWIG_fail
;
9802 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9803 if (!SWIG_IsOK(ecode2
)) {
9804 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Cursor" "', expected argument " "2"" of type '" "long""'");
9806 arg2
= static_cast< long >(val2
);
9808 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9809 if (!SWIG_IsOK(ecode3
)) {
9810 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Cursor" "', expected argument " "3"" of type '" "int""'");
9812 arg3
= static_cast< int >(val3
);
9815 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9816 if (!SWIG_IsOK(ecode4
)) {
9817 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Cursor" "', expected argument " "4"" of type '" "int""'");
9819 arg4
= static_cast< int >(val4
);
9822 if (!wxPyCheckForApp()) SWIG_fail
;
9823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9824 result
= (wxCursor
*)new_wxCursor((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
9825 wxPyEndAllowThreads(__tstate
);
9826 if (PyErr_Occurred()) SWIG_fail
;
9828 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_NEW
| 0 );
9843 SWIGINTERN PyObject
*_wrap_delete_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9844 PyObject
*resultobj
= 0;
9845 wxCursor
*arg1
= (wxCursor
*) 0 ;
9848 PyObject
*swig_obj
[1] ;
9850 if (!args
) SWIG_fail
;
9852 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, SWIG_POINTER_DISOWN
| 0 );
9853 if (!SWIG_IsOK(res1
)) {
9854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Cursor" "', expected argument " "1"" of type '" "wxCursor *""'");
9856 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
9858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9861 wxPyEndAllowThreads(__tstate
);
9862 if (PyErr_Occurred()) SWIG_fail
;
9864 resultobj
= SWIG_Py_Void();
9871 SWIGINTERN PyObject
*_wrap_new_StockCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9872 PyObject
*resultobj
= 0;
9874 wxCursor
*result
= 0 ;
9877 PyObject
* obj0
= 0 ;
9878 char * kwnames
[] = {
9882 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) SWIG_fail
;
9883 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9884 if (!SWIG_IsOK(ecode1
)) {
9885 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_StockCursor" "', expected argument " "1"" of type '" "int""'");
9887 arg1
= static_cast< int >(val1
);
9889 if (!wxPyCheckForApp()) SWIG_fail
;
9890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9891 result
= (wxCursor
*)new wxCursor(arg1
);
9892 wxPyEndAllowThreads(__tstate
);
9893 if (PyErr_Occurred()) SWIG_fail
;
9895 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
9902 SWIGINTERN PyObject
*_wrap_new_CursorFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9903 PyObject
*resultobj
= 0;
9905 wxCursor
*result
= 0 ;
9908 PyObject
* obj0
= 0 ;
9909 char * kwnames
[] = {
9910 (char *) "image", NULL
9913 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) SWIG_fail
;
9914 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
9915 if (!SWIG_IsOK(res1
)) {
9916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
9919 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
9921 arg1
= reinterpret_cast< wxImage
* >(argp1
);
9923 if (!wxPyCheckForApp()) SWIG_fail
;
9924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9925 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
9926 wxPyEndAllowThreads(__tstate
);
9927 if (PyErr_Occurred()) SWIG_fail
;
9929 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
9936 SWIGINTERN PyObject
*_wrap_Cursor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9937 PyObject
*resultobj
= 0;
9938 wxCursor
*arg1
= (wxCursor
*) 0 ;
9942 PyObject
*swig_obj
[1] ;
9944 if (!args
) SWIG_fail
;
9946 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
9947 if (!SWIG_IsOK(res1
)) {
9948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_IsOk" "', expected argument " "1"" of type '" "wxCursor *""'");
9950 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
9952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9953 result
= (bool)(arg1
)->IsOk();
9954 wxPyEndAllowThreads(__tstate
);
9955 if (PyErr_Occurred()) SWIG_fail
;
9958 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9966 SWIGINTERN PyObject
*Cursor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9968 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9969 SWIG_TypeNewClientData(SWIGTYPE_p_wxCursor
, SWIG_NewClientData(obj
));
9970 return SWIG_Py_Void();
9973 SWIGINTERN PyObject
*Cursor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9974 return SWIG_Python_InitShadowInstance(args
);
9977 SWIGINTERN PyObject
*_wrap_new_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9978 PyObject
*resultobj
= 0;
9979 int arg1
= (int) 0 ;
9980 int arg2
= (int) 0 ;
9981 int arg3
= (int) 0 ;
9982 int arg4
= (int) 0 ;
9983 wxRegion
*result
= 0 ;
9992 PyObject
* obj0
= 0 ;
9993 PyObject
* obj1
= 0 ;
9994 PyObject
* obj2
= 0 ;
9995 PyObject
* obj3
= 0 ;
9996 char * kwnames
[] = {
9997 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10000 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10002 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10003 if (!SWIG_IsOK(ecode1
)) {
10004 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Region" "', expected argument " "1"" of type '" "int""'");
10006 arg1
= static_cast< int >(val1
);
10009 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10010 if (!SWIG_IsOK(ecode2
)) {
10011 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Region" "', expected argument " "2"" of type '" "int""'");
10013 arg2
= static_cast< int >(val2
);
10016 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10017 if (!SWIG_IsOK(ecode3
)) {
10018 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Region" "', expected argument " "3"" of type '" "int""'");
10020 arg3
= static_cast< int >(val3
);
10023 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10024 if (!SWIG_IsOK(ecode4
)) {
10025 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Region" "', expected argument " "4"" of type '" "int""'");
10027 arg4
= static_cast< int >(val4
);
10030 if (!wxPyCheckForApp()) SWIG_fail
;
10031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10032 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
10033 wxPyEndAllowThreads(__tstate
);
10034 if (PyErr_Occurred()) SWIG_fail
;
10036 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_NEW
| 0 );
10043 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10044 PyObject
*resultobj
= 0;
10045 wxBitmap
*arg1
= 0 ;
10046 wxRegion
*result
= 0 ;
10049 PyObject
* obj0
= 0 ;
10050 char * kwnames
[] = {
10051 (char *) "bmp", NULL
10054 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
10055 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
10056 if (!SWIG_IsOK(res1
)) {
10057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10060 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10062 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
10064 if (!wxPyCheckForApp()) SWIG_fail
;
10065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10066 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
);
10067 wxPyEndAllowThreads(__tstate
);
10068 if (PyErr_Occurred()) SWIG_fail
;
10070 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10077 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10078 PyObject
*resultobj
= 0;
10079 wxBitmap
*arg1
= 0 ;
10080 wxColour
*arg2
= 0 ;
10081 int arg3
= (int) 0 ;
10082 wxRegion
*result
= 0 ;
10088 PyObject
* obj0
= 0 ;
10089 PyObject
* obj1
= 0 ;
10090 PyObject
* obj2
= 0 ;
10091 char * kwnames
[] = {
10092 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
10095 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_RegionFromBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10096 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
10097 if (!SWIG_IsOK(res1
)) {
10098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10101 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10103 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
10106 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10109 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10110 if (!SWIG_IsOK(ecode3
)) {
10111 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "3"" of type '" "int""'");
10113 arg3
= static_cast< int >(val3
);
10116 if (!wxPyCheckForApp()) SWIG_fail
;
10117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10118 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
10119 wxPyEndAllowThreads(__tstate
);
10120 if (PyErr_Occurred()) SWIG_fail
;
10122 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10129 SWIGINTERN PyObject
*_wrap_new_RegionFromPoints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10130 PyObject
*resultobj
= 0;
10132 wxPoint
*arg2
= (wxPoint
*) 0 ;
10133 int arg3
= (int) wxWINDING_RULE
;
10134 wxRegion
*result
= 0 ;
10137 PyObject
* obj0
= 0 ;
10138 PyObject
* obj1
= 0 ;
10139 char * kwnames
[] = {
10140 (char *) "points",(char *) "fillStyle", NULL
10143 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10145 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
10146 if (arg2
== NULL
) SWIG_fail
;
10149 ecode3
= SWIG_AsVal_int(obj1
, &val3
);
10150 if (!SWIG_IsOK(ecode3
)) {
10151 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromPoints" "', expected argument " "3"" of type '" "int""'");
10153 arg3
= static_cast< int >(val3
);
10156 if (!wxPyCheckForApp()) SWIG_fail
;
10157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10158 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
10159 wxPyEndAllowThreads(__tstate
);
10160 if (PyErr_Occurred()) SWIG_fail
;
10162 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10164 if (arg2
) delete [] arg2
;
10169 if (arg2
) delete [] arg2
;
10175 SWIGINTERN PyObject
*_wrap_delete_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10176 PyObject
*resultobj
= 0;
10177 wxRegion
*arg1
= (wxRegion
*) 0 ;
10180 PyObject
*swig_obj
[1] ;
10182 if (!args
) SWIG_fail
;
10183 swig_obj
[0] = args
;
10184 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, SWIG_POINTER_DISOWN
| 0 );
10185 if (!SWIG_IsOK(res1
)) {
10186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Region" "', expected argument " "1"" of type '" "wxRegion *""'");
10188 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10193 wxPyEndAllowThreads(__tstate
);
10194 if (PyErr_Occurred()) SWIG_fail
;
10196 resultobj
= SWIG_Py_Void();
10203 SWIGINTERN PyObject
*_wrap_Region_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10204 PyObject
*resultobj
= 0;
10205 wxRegion
*arg1
= (wxRegion
*) 0 ;
10208 PyObject
*swig_obj
[1] ;
10210 if (!args
) SWIG_fail
;
10211 swig_obj
[0] = args
;
10212 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10213 if (!SWIG_IsOK(res1
)) {
10214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Clear" "', expected argument " "1"" of type '" "wxRegion *""'");
10216 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10220 wxPyEndAllowThreads(__tstate
);
10221 if (PyErr_Occurred()) SWIG_fail
;
10223 resultobj
= SWIG_Py_Void();
10230 SWIGINTERN PyObject
*_wrap_Region_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10231 PyObject
*resultobj
= 0;
10232 wxRegion
*arg1
= (wxRegion
*) 0 ;
10242 PyObject
* obj0
= 0 ;
10243 PyObject
* obj1
= 0 ;
10244 PyObject
* obj2
= 0 ;
10245 char * kwnames
[] = {
10246 (char *) "self",(char *) "x",(char *) "y", NULL
10249 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10250 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10251 if (!SWIG_IsOK(res1
)) {
10252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Offset" "', expected argument " "1"" of type '" "wxRegion *""'");
10254 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10255 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10256 if (!SWIG_IsOK(ecode2
)) {
10257 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Offset" "', expected argument " "2"" of type '" "int""'");
10259 arg2
= static_cast< int >(val2
);
10260 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10261 if (!SWIG_IsOK(ecode3
)) {
10262 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Offset" "', expected argument " "3"" of type '" "int""'");
10264 arg3
= static_cast< int >(val3
);
10266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10267 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
10268 wxPyEndAllowThreads(__tstate
);
10269 if (PyErr_Occurred()) SWIG_fail
;
10272 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10280 SWIGINTERN PyObject
*_wrap_Region_Contains(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10281 PyObject
*resultobj
= 0;
10282 wxRegion
*arg1
= (wxRegion
*) 0 ;
10285 wxRegionContain result
;
10292 PyObject
* obj0
= 0 ;
10293 PyObject
* obj1
= 0 ;
10294 PyObject
* obj2
= 0 ;
10295 char * kwnames
[] = {
10296 (char *) "self",(char *) "x",(char *) "y", NULL
10299 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10300 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10301 if (!SWIG_IsOK(res1
)) {
10302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Contains" "', expected argument " "1"" of type '" "wxRegion *""'");
10304 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10305 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10306 if (!SWIG_IsOK(ecode2
)) {
10307 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Contains" "', expected argument " "2"" of type '" "int""'");
10309 arg2
= static_cast< int >(val2
);
10310 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10311 if (!SWIG_IsOK(ecode3
)) {
10312 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Contains" "', expected argument " "3"" of type '" "int""'");
10314 arg3
= static_cast< int >(val3
);
10316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10317 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
);
10318 wxPyEndAllowThreads(__tstate
);
10319 if (PyErr_Occurred()) SWIG_fail
;
10321 resultobj
= SWIG_From_int(static_cast< int >(result
));
10328 SWIGINTERN PyObject
*_wrap_Region_ContainsPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10329 PyObject
*resultobj
= 0;
10330 wxRegion
*arg1
= (wxRegion
*) 0 ;
10331 wxPoint
*arg2
= 0 ;
10332 wxRegionContain result
;
10336 PyObject
* obj0
= 0 ;
10337 PyObject
* obj1
= 0 ;
10338 char * kwnames
[] = {
10339 (char *) "self",(char *) "pt", NULL
10342 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10343 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10344 if (!SWIG_IsOK(res1
)) {
10345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsPoint" "', expected argument " "1"" of type '" "wxRegion *""'");
10347 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10350 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10354 result
= (wxRegionContain
)(arg1
)->Contains((wxPoint
const &)*arg2
);
10355 wxPyEndAllowThreads(__tstate
);
10356 if (PyErr_Occurred()) SWIG_fail
;
10358 resultobj
= SWIG_From_int(static_cast< int >(result
));
10365 SWIGINTERN PyObject
*_wrap_Region_ContainsRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10366 PyObject
*resultobj
= 0;
10367 wxRegion
*arg1
= (wxRegion
*) 0 ;
10369 wxRegionContain result
;
10373 PyObject
* obj0
= 0 ;
10374 PyObject
* obj1
= 0 ;
10375 char * kwnames
[] = {
10376 (char *) "self",(char *) "rect", NULL
10379 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10380 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10381 if (!SWIG_IsOK(res1
)) {
10382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10384 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10387 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10391 result
= (wxRegionContain
)(arg1
)->Contains((wxRect
const &)*arg2
);
10392 wxPyEndAllowThreads(__tstate
);
10393 if (PyErr_Occurred()) SWIG_fail
;
10395 resultobj
= SWIG_From_int(static_cast< int >(result
));
10402 SWIGINTERN PyObject
*_wrap_Region_ContainsRectDim(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10403 PyObject
*resultobj
= 0;
10404 wxRegion
*arg1
= (wxRegion
*) 0 ;
10409 wxRegionContain result
;
10420 PyObject
* obj0
= 0 ;
10421 PyObject
* obj1
= 0 ;
10422 PyObject
* obj2
= 0 ;
10423 PyObject
* obj3
= 0 ;
10424 PyObject
* obj4
= 0 ;
10425 char * kwnames
[] = {
10426 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
10429 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10430 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10431 if (!SWIG_IsOK(res1
)) {
10432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRectDim" "', expected argument " "1"" of type '" "wxRegion *""'");
10434 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10435 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10436 if (!SWIG_IsOK(ecode2
)) {
10437 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_ContainsRectDim" "', expected argument " "2"" of type '" "int""'");
10439 arg2
= static_cast< int >(val2
);
10440 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10441 if (!SWIG_IsOK(ecode3
)) {
10442 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_ContainsRectDim" "', expected argument " "3"" of type '" "int""'");
10444 arg3
= static_cast< int >(val3
);
10445 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10446 if (!SWIG_IsOK(ecode4
)) {
10447 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_ContainsRectDim" "', expected argument " "4"" of type '" "int""'");
10449 arg4
= static_cast< int >(val4
);
10450 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10451 if (!SWIG_IsOK(ecode5
)) {
10452 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_ContainsRectDim" "', expected argument " "5"" of type '" "int""'");
10454 arg5
= static_cast< int >(val5
);
10456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10457 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
10458 wxPyEndAllowThreads(__tstate
);
10459 if (PyErr_Occurred()) SWIG_fail
;
10461 resultobj
= SWIG_From_int(static_cast< int >(result
));
10468 SWIGINTERN PyObject
*_wrap_Region_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10469 PyObject
*resultobj
= 0;
10470 wxRegion
*arg1
= (wxRegion
*) 0 ;
10474 PyObject
*swig_obj
[1] ;
10476 if (!args
) SWIG_fail
;
10477 swig_obj
[0] = args
;
10478 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10479 if (!SWIG_IsOK(res1
)) {
10480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_GetBox" "', expected argument " "1"" of type '" "wxRegion *""'");
10482 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10485 result
= (arg1
)->GetBox();
10486 wxPyEndAllowThreads(__tstate
);
10487 if (PyErr_Occurred()) SWIG_fail
;
10489 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
10496 SWIGINTERN PyObject
*_wrap_Region_Intersect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10497 PyObject
*resultobj
= 0;
10498 wxRegion
*arg1
= (wxRegion
*) 0 ;
10514 PyObject
* obj0
= 0 ;
10515 PyObject
* obj1
= 0 ;
10516 PyObject
* obj2
= 0 ;
10517 PyObject
* obj3
= 0 ;
10518 PyObject
* obj4
= 0 ;
10519 char * kwnames
[] = {
10520 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10523 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10524 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10525 if (!SWIG_IsOK(res1
)) {
10526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Intersect" "', expected argument " "1"" of type '" "wxRegion *""'");
10528 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10529 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10530 if (!SWIG_IsOK(ecode2
)) {
10531 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Intersect" "', expected argument " "2"" of type '" "int""'");
10533 arg2
= static_cast< int >(val2
);
10534 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10535 if (!SWIG_IsOK(ecode3
)) {
10536 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Intersect" "', expected argument " "3"" of type '" "int""'");
10538 arg3
= static_cast< int >(val3
);
10539 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10540 if (!SWIG_IsOK(ecode4
)) {
10541 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Intersect" "', expected argument " "4"" of type '" "int""'");
10543 arg4
= static_cast< int >(val4
);
10544 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10545 if (!SWIG_IsOK(ecode5
)) {
10546 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Intersect" "', expected argument " "5"" of type '" "int""'");
10548 arg5
= static_cast< int >(val5
);
10550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10551 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
10552 wxPyEndAllowThreads(__tstate
);
10553 if (PyErr_Occurred()) SWIG_fail
;
10556 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10564 SWIGINTERN PyObject
*_wrap_Region_IntersectRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10565 PyObject
*resultobj
= 0;
10566 wxRegion
*arg1
= (wxRegion
*) 0 ;
10572 PyObject
* obj0
= 0 ;
10573 PyObject
* obj1
= 0 ;
10574 char * kwnames
[] = {
10575 (char *) "self",(char *) "rect", NULL
10578 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10579 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10580 if (!SWIG_IsOK(res1
)) {
10581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10583 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10586 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10590 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
10591 wxPyEndAllowThreads(__tstate
);
10592 if (PyErr_Occurred()) SWIG_fail
;
10595 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10603 SWIGINTERN PyObject
*_wrap_Region_IntersectRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10604 PyObject
*resultobj
= 0;
10605 wxRegion
*arg1
= (wxRegion
*) 0 ;
10606 wxRegion
*arg2
= 0 ;
10612 PyObject
* obj0
= 0 ;
10613 PyObject
* obj1
= 0 ;
10614 char * kwnames
[] = {
10615 (char *) "self",(char *) "region", NULL
10618 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10619 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10620 if (!SWIG_IsOK(res1
)) {
10621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
10623 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10624 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
10625 if (!SWIG_IsOK(res2
)) {
10626 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10629 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10631 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
10633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10634 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
10635 wxPyEndAllowThreads(__tstate
);
10636 if (PyErr_Occurred()) SWIG_fail
;
10639 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10647 SWIGINTERN PyObject
*_wrap_Region_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10648 PyObject
*resultobj
= 0;
10649 wxRegion
*arg1
= (wxRegion
*) 0 ;
10653 PyObject
*swig_obj
[1] ;
10655 if (!args
) SWIG_fail
;
10656 swig_obj
[0] = args
;
10657 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10658 if (!SWIG_IsOK(res1
)) {
10659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEmpty" "', expected argument " "1"" of type '" "wxRegion *""'");
10661 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10664 result
= (bool)(arg1
)->IsEmpty();
10665 wxPyEndAllowThreads(__tstate
);
10666 if (PyErr_Occurred()) SWIG_fail
;
10669 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10677 SWIGINTERN PyObject
*_wrap_Region_IsEqual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10678 PyObject
*resultobj
= 0;
10679 wxRegion
*arg1
= (wxRegion
*) 0 ;
10680 wxRegion
*arg2
= 0 ;
10686 PyObject
* obj0
= 0 ;
10687 PyObject
* obj1
= 0 ;
10688 char * kwnames
[] = {
10689 (char *) "self",(char *) "region", NULL
10692 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IsEqual",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10693 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10694 if (!SWIG_IsOK(res1
)) {
10695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEqual" "', expected argument " "1"" of type '" "wxRegion const *""'");
10697 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10698 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
10699 if (!SWIG_IsOK(res2
)) {
10700 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IsEqual" "', expected argument " "2"" of type '" "wxRegion const &""'");
10703 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IsEqual" "', expected argument " "2"" of type '" "wxRegion const &""'");
10705 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
10707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10708 result
= (bool)((wxRegion
const *)arg1
)->IsEqual((wxRegion
const &)*arg2
);
10709 wxPyEndAllowThreads(__tstate
);
10710 if (PyErr_Occurred()) SWIG_fail
;
10713 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10721 SWIGINTERN PyObject
*_wrap_Region_Union(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10722 PyObject
*resultobj
= 0;
10723 wxRegion
*arg1
= (wxRegion
*) 0 ;
10739 PyObject
* obj0
= 0 ;
10740 PyObject
* obj1
= 0 ;
10741 PyObject
* obj2
= 0 ;
10742 PyObject
* obj3
= 0 ;
10743 PyObject
* obj4
= 0 ;
10744 char * kwnames
[] = {
10745 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10748 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10749 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10750 if (!SWIG_IsOK(res1
)) {
10751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Union" "', expected argument " "1"" of type '" "wxRegion *""'");
10753 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10754 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10755 if (!SWIG_IsOK(ecode2
)) {
10756 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Union" "', expected argument " "2"" of type '" "int""'");
10758 arg2
= static_cast< int >(val2
);
10759 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10760 if (!SWIG_IsOK(ecode3
)) {
10761 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Union" "', expected argument " "3"" of type '" "int""'");
10763 arg3
= static_cast< int >(val3
);
10764 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10765 if (!SWIG_IsOK(ecode4
)) {
10766 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Union" "', expected argument " "4"" of type '" "int""'");
10768 arg4
= static_cast< int >(val4
);
10769 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10770 if (!SWIG_IsOK(ecode5
)) {
10771 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Union" "', expected argument " "5"" of type '" "int""'");
10773 arg5
= static_cast< int >(val5
);
10775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10776 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
10777 wxPyEndAllowThreads(__tstate
);
10778 if (PyErr_Occurred()) SWIG_fail
;
10781 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10789 SWIGINTERN PyObject
*_wrap_Region_UnionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10790 PyObject
*resultobj
= 0;
10791 wxRegion
*arg1
= (wxRegion
*) 0 ;
10797 PyObject
* obj0
= 0 ;
10798 PyObject
* obj1
= 0 ;
10799 char * kwnames
[] = {
10800 (char *) "self",(char *) "rect", NULL
10803 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10804 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10805 if (!SWIG_IsOK(res1
)) {
10806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10808 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10811 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10815 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
10816 wxPyEndAllowThreads(__tstate
);
10817 if (PyErr_Occurred()) SWIG_fail
;
10820 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10828 SWIGINTERN PyObject
*_wrap_Region_UnionRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10829 PyObject
*resultobj
= 0;
10830 wxRegion
*arg1
= (wxRegion
*) 0 ;
10831 wxRegion
*arg2
= 0 ;
10837 PyObject
* obj0
= 0 ;
10838 PyObject
* obj1
= 0 ;
10839 char * kwnames
[] = {
10840 (char *) "self",(char *) "region", NULL
10843 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10844 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10845 if (!SWIG_IsOK(res1
)) {
10846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
10848 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10849 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
10850 if (!SWIG_IsOK(res2
)) {
10851 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10854 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10856 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
10858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10859 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
10860 wxPyEndAllowThreads(__tstate
);
10861 if (PyErr_Occurred()) SWIG_fail
;
10864 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10872 SWIGINTERN PyObject
*_wrap_Region_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10873 PyObject
*resultobj
= 0;
10874 wxRegion
*arg1
= (wxRegion
*) 0 ;
10890 PyObject
* obj0
= 0 ;
10891 PyObject
* obj1
= 0 ;
10892 PyObject
* obj2
= 0 ;
10893 PyObject
* obj3
= 0 ;
10894 PyObject
* obj4
= 0 ;
10895 char * kwnames
[] = {
10896 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10899 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10900 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10901 if (!SWIG_IsOK(res1
)) {
10902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Subtract" "', expected argument " "1"" of type '" "wxRegion *""'");
10904 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10905 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10906 if (!SWIG_IsOK(ecode2
)) {
10907 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Subtract" "', expected argument " "2"" of type '" "int""'");
10909 arg2
= static_cast< int >(val2
);
10910 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10911 if (!SWIG_IsOK(ecode3
)) {
10912 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Subtract" "', expected argument " "3"" of type '" "int""'");
10914 arg3
= static_cast< int >(val3
);
10915 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10916 if (!SWIG_IsOK(ecode4
)) {
10917 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Subtract" "', expected argument " "4"" of type '" "int""'");
10919 arg4
= static_cast< int >(val4
);
10920 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10921 if (!SWIG_IsOK(ecode5
)) {
10922 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Subtract" "', expected argument " "5"" of type '" "int""'");
10924 arg5
= static_cast< int >(val5
);
10926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10927 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
10928 wxPyEndAllowThreads(__tstate
);
10929 if (PyErr_Occurred()) SWIG_fail
;
10932 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10940 SWIGINTERN PyObject
*_wrap_Region_SubtractRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10941 PyObject
*resultobj
= 0;
10942 wxRegion
*arg1
= (wxRegion
*) 0 ;
10948 PyObject
* obj0
= 0 ;
10949 PyObject
* obj1
= 0 ;
10950 char * kwnames
[] = {
10951 (char *) "self",(char *) "rect", NULL
10954 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10955 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10956 if (!SWIG_IsOK(res1
)) {
10957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10959 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10962 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10966 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
10967 wxPyEndAllowThreads(__tstate
);
10968 if (PyErr_Occurred()) SWIG_fail
;
10971 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10979 SWIGINTERN PyObject
*_wrap_Region_SubtractRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10980 PyObject
*resultobj
= 0;
10981 wxRegion
*arg1
= (wxRegion
*) 0 ;
10982 wxRegion
*arg2
= 0 ;
10988 PyObject
* obj0
= 0 ;
10989 PyObject
* obj1
= 0 ;
10990 char * kwnames
[] = {
10991 (char *) "self",(char *) "region", NULL
10994 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10995 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10996 if (!SWIG_IsOK(res1
)) {
10997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
10999 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11000 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11001 if (!SWIG_IsOK(res2
)) {
11002 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11005 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11007 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11010 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
11011 wxPyEndAllowThreads(__tstate
);
11012 if (PyErr_Occurred()) SWIG_fail
;
11015 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11023 SWIGINTERN PyObject
*_wrap_Region_Xor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11024 PyObject
*resultobj
= 0;
11025 wxRegion
*arg1
= (wxRegion
*) 0 ;
11041 PyObject
* obj0
= 0 ;
11042 PyObject
* obj1
= 0 ;
11043 PyObject
* obj2
= 0 ;
11044 PyObject
* obj3
= 0 ;
11045 PyObject
* obj4
= 0 ;
11046 char * kwnames
[] = {
11047 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11050 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11051 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11052 if (!SWIG_IsOK(res1
)) {
11053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Xor" "', expected argument " "1"" of type '" "wxRegion *""'");
11055 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11056 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11057 if (!SWIG_IsOK(ecode2
)) {
11058 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Xor" "', expected argument " "2"" of type '" "int""'");
11060 arg2
= static_cast< int >(val2
);
11061 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11062 if (!SWIG_IsOK(ecode3
)) {
11063 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Xor" "', expected argument " "3"" of type '" "int""'");
11065 arg3
= static_cast< int >(val3
);
11066 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11067 if (!SWIG_IsOK(ecode4
)) {
11068 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Xor" "', expected argument " "4"" of type '" "int""'");
11070 arg4
= static_cast< int >(val4
);
11071 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11072 if (!SWIG_IsOK(ecode5
)) {
11073 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Xor" "', expected argument " "5"" of type '" "int""'");
11075 arg5
= static_cast< int >(val5
);
11077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11078 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
11079 wxPyEndAllowThreads(__tstate
);
11080 if (PyErr_Occurred()) SWIG_fail
;
11083 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11091 SWIGINTERN PyObject
*_wrap_Region_XorRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11092 PyObject
*resultobj
= 0;
11093 wxRegion
*arg1
= (wxRegion
*) 0 ;
11099 PyObject
* obj0
= 0 ;
11100 PyObject
* obj1
= 0 ;
11101 char * kwnames
[] = {
11102 (char *) "self",(char *) "rect", NULL
11105 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11106 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11107 if (!SWIG_IsOK(res1
)) {
11108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11110 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11113 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11117 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
11118 wxPyEndAllowThreads(__tstate
);
11119 if (PyErr_Occurred()) SWIG_fail
;
11122 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11130 SWIGINTERN PyObject
*_wrap_Region_XorRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11131 PyObject
*resultobj
= 0;
11132 wxRegion
*arg1
= (wxRegion
*) 0 ;
11133 wxRegion
*arg2
= 0 ;
11139 PyObject
* obj0
= 0 ;
11140 PyObject
* obj1
= 0 ;
11141 char * kwnames
[] = {
11142 (char *) "self",(char *) "region", NULL
11145 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11146 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11147 if (!SWIG_IsOK(res1
)) {
11148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11150 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11151 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11152 if (!SWIG_IsOK(res2
)) {
11153 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11156 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11158 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11161 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
11162 wxPyEndAllowThreads(__tstate
);
11163 if (PyErr_Occurred()) SWIG_fail
;
11166 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11174 SWIGINTERN PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11175 PyObject
*resultobj
= 0;
11176 wxRegion
*arg1
= (wxRegion
*) 0 ;
11177 SwigValueWrapper
<wxBitmap
> result
;
11180 PyObject
*swig_obj
[1] ;
11182 if (!args
) SWIG_fail
;
11183 swig_obj
[0] = args
;
11184 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11185 if (!SWIG_IsOK(res1
)) {
11186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ConvertToBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
11188 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11191 result
= (arg1
)->ConvertToBitmap();
11192 wxPyEndAllowThreads(__tstate
);
11193 if (PyErr_Occurred()) SWIG_fail
;
11195 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
11202 SWIGINTERN PyObject
*_wrap_Region_UnionBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11203 PyObject
*resultobj
= 0;
11204 wxRegion
*arg1
= (wxRegion
*) 0 ;
11205 wxBitmap
*arg2
= 0 ;
11211 PyObject
* obj0
= 0 ;
11212 PyObject
* obj1
= 0 ;
11213 char * kwnames
[] = {
11214 (char *) "self",(char *) "bmp", NULL
11217 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11218 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11219 if (!SWIG_IsOK(res1
)) {
11220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
11222 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11223 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11224 if (!SWIG_IsOK(res2
)) {
11225 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11228 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11230 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
11232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11233 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
);
11234 wxPyEndAllowThreads(__tstate
);
11235 if (PyErr_Occurred()) SWIG_fail
;
11238 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11246 SWIGINTERN PyObject
*_wrap_Region_UnionBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11247 PyObject
*resultobj
= 0;
11248 wxRegion
*arg1
= (wxRegion
*) 0 ;
11249 wxBitmap
*arg2
= 0 ;
11250 wxColour
*arg3
= 0 ;
11251 int arg4
= (int) 0 ;
11260 PyObject
* obj0
= 0 ;
11261 PyObject
* obj1
= 0 ;
11262 PyObject
* obj2
= 0 ;
11263 PyObject
* obj3
= 0 ;
11264 char * kwnames
[] = {
11265 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
11268 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Region_UnionBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11269 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11270 if (!SWIG_IsOK(res1
)) {
11271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmapColour" "', expected argument " "1"" of type '" "wxRegion *""'");
11273 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11274 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11275 if (!SWIG_IsOK(res2
)) {
11276 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11279 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11281 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
11284 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
11287 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11288 if (!SWIG_IsOK(ecode4
)) {
11289 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_UnionBitmapColour" "', expected argument " "4"" of type '" "int""'");
11291 arg4
= static_cast< int >(val4
);
11294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11295 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
11296 wxPyEndAllowThreads(__tstate
);
11297 if (PyErr_Occurred()) SWIG_fail
;
11300 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11308 SWIGINTERN PyObject
*Region_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11310 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11311 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegion
, SWIG_NewClientData(obj
));
11312 return SWIG_Py_Void();
11315 SWIGINTERN PyObject
*Region_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11316 return SWIG_Python_InitShadowInstance(args
);
11319 SWIGINTERN PyObject
*_wrap_new_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11320 PyObject
*resultobj
= 0;
11321 wxRegion
*arg1
= 0 ;
11322 wxRegionIterator
*result
= 0 ;
11325 PyObject
* obj0
= 0 ;
11326 char * kwnames
[] = {
11327 (char *) "region", NULL
11330 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) SWIG_fail
;
11331 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRegion
, 0 | 0);
11332 if (!SWIG_IsOK(res1
)) {
11333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
11336 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
11338 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11340 if (!wxPyCheckForApp()) SWIG_fail
;
11341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11342 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
11343 wxPyEndAllowThreads(__tstate
);
11344 if (PyErr_Occurred()) SWIG_fail
;
11346 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_NEW
| 0 );
11353 SWIGINTERN PyObject
*_wrap_delete_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11354 PyObject
*resultobj
= 0;
11355 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11358 PyObject
*swig_obj
[1] ;
11360 if (!args
) SWIG_fail
;
11361 swig_obj
[0] = args
;
11362 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_DISOWN
| 0 );
11363 if (!SWIG_IsOK(res1
)) {
11364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RegionIterator" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11366 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11371 wxPyEndAllowThreads(__tstate
);
11372 if (PyErr_Occurred()) SWIG_fail
;
11374 resultobj
= SWIG_Py_Void();
11381 SWIGINTERN PyObject
*_wrap_RegionIterator_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11382 PyObject
*resultobj
= 0;
11383 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11387 PyObject
*swig_obj
[1] ;
11389 if (!args
) SWIG_fail
;
11390 swig_obj
[0] = args
;
11391 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11392 if (!SWIG_IsOK(res1
)) {
11393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetX" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11395 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11398 result
= (int)(arg1
)->GetX();
11399 wxPyEndAllowThreads(__tstate
);
11400 if (PyErr_Occurred()) SWIG_fail
;
11402 resultobj
= SWIG_From_int(static_cast< int >(result
));
11409 SWIGINTERN PyObject
*_wrap_RegionIterator_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11410 PyObject
*resultobj
= 0;
11411 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11415 PyObject
*swig_obj
[1] ;
11417 if (!args
) SWIG_fail
;
11418 swig_obj
[0] = args
;
11419 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11420 if (!SWIG_IsOK(res1
)) {
11421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetY" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11423 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11426 result
= (int)(arg1
)->GetY();
11427 wxPyEndAllowThreads(__tstate
);
11428 if (PyErr_Occurred()) SWIG_fail
;
11430 resultobj
= SWIG_From_int(static_cast< int >(result
));
11437 SWIGINTERN PyObject
*_wrap_RegionIterator_GetW(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11438 PyObject
*resultobj
= 0;
11439 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11443 PyObject
*swig_obj
[1] ;
11445 if (!args
) SWIG_fail
;
11446 swig_obj
[0] = args
;
11447 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11448 if (!SWIG_IsOK(res1
)) {
11449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetW" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11451 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11454 result
= (int)(arg1
)->GetW();
11455 wxPyEndAllowThreads(__tstate
);
11456 if (PyErr_Occurred()) SWIG_fail
;
11458 resultobj
= SWIG_From_int(static_cast< int >(result
));
11465 SWIGINTERN PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11466 PyObject
*resultobj
= 0;
11467 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11471 PyObject
*swig_obj
[1] ;
11473 if (!args
) SWIG_fail
;
11474 swig_obj
[0] = args
;
11475 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11476 if (!SWIG_IsOK(res1
)) {
11477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetWidth" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11479 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11482 result
= (int)(arg1
)->GetWidth();
11483 wxPyEndAllowThreads(__tstate
);
11484 if (PyErr_Occurred()) SWIG_fail
;
11486 resultobj
= SWIG_From_int(static_cast< int >(result
));
11493 SWIGINTERN PyObject
*_wrap_RegionIterator_GetH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11494 PyObject
*resultobj
= 0;
11495 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11499 PyObject
*swig_obj
[1] ;
11501 if (!args
) SWIG_fail
;
11502 swig_obj
[0] = args
;
11503 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11504 if (!SWIG_IsOK(res1
)) {
11505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetH" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11507 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11510 result
= (int)(arg1
)->GetH();
11511 wxPyEndAllowThreads(__tstate
);
11512 if (PyErr_Occurred()) SWIG_fail
;
11514 resultobj
= SWIG_From_int(static_cast< int >(result
));
11521 SWIGINTERN PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11522 PyObject
*resultobj
= 0;
11523 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11527 PyObject
*swig_obj
[1] ;
11529 if (!args
) SWIG_fail
;
11530 swig_obj
[0] = args
;
11531 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11532 if (!SWIG_IsOK(res1
)) {
11533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetHeight" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11535 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11538 result
= (int)(arg1
)->GetHeight();
11539 wxPyEndAllowThreads(__tstate
);
11540 if (PyErr_Occurred()) SWIG_fail
;
11542 resultobj
= SWIG_From_int(static_cast< int >(result
));
11549 SWIGINTERN PyObject
*_wrap_RegionIterator_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11550 PyObject
*resultobj
= 0;
11551 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11555 PyObject
*swig_obj
[1] ;
11557 if (!args
) SWIG_fail
;
11558 swig_obj
[0] = args
;
11559 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11560 if (!SWIG_IsOK(res1
)) {
11561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetRect" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11563 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11566 result
= (arg1
)->GetRect();
11567 wxPyEndAllowThreads(__tstate
);
11568 if (PyErr_Occurred()) SWIG_fail
;
11570 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
11577 SWIGINTERN PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11578 PyObject
*resultobj
= 0;
11579 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11583 PyObject
*swig_obj
[1] ;
11585 if (!args
) SWIG_fail
;
11586 swig_obj
[0] = args
;
11587 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11588 if (!SWIG_IsOK(res1
)) {
11589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_HaveRects" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11591 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11594 result
= (bool)(arg1
)->HaveRects();
11595 wxPyEndAllowThreads(__tstate
);
11596 if (PyErr_Occurred()) SWIG_fail
;
11599 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11607 SWIGINTERN PyObject
*_wrap_RegionIterator_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11608 PyObject
*resultobj
= 0;
11609 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11612 PyObject
*swig_obj
[1] ;
11614 if (!args
) SWIG_fail
;
11615 swig_obj
[0] = args
;
11616 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11617 if (!SWIG_IsOK(res1
)) {
11618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Reset" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11620 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11624 wxPyEndAllowThreads(__tstate
);
11625 if (PyErr_Occurred()) SWIG_fail
;
11627 resultobj
= SWIG_Py_Void();
11634 SWIGINTERN PyObject
*_wrap_RegionIterator_Next(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11635 PyObject
*resultobj
= 0;
11636 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11639 PyObject
*swig_obj
[1] ;
11641 if (!args
) SWIG_fail
;
11642 swig_obj
[0] = args
;
11643 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11644 if (!SWIG_IsOK(res1
)) {
11645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Next" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11647 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11650 wxRegionIterator_Next(arg1
);
11651 wxPyEndAllowThreads(__tstate
);
11652 if (PyErr_Occurred()) SWIG_fail
;
11654 resultobj
= SWIG_Py_Void();
11661 SWIGINTERN PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11662 PyObject
*resultobj
= 0;
11663 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11667 PyObject
*swig_obj
[1] ;
11669 if (!args
) SWIG_fail
;
11670 swig_obj
[0] = args
;
11671 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11672 if (!SWIG_IsOK(res1
)) {
11673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator___nonzero__" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11675 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11678 result
= (bool)wxRegionIterator___nonzero__(arg1
);
11679 wxPyEndAllowThreads(__tstate
);
11680 if (PyErr_Occurred()) SWIG_fail
;
11683 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11691 SWIGINTERN PyObject
*RegionIterator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11693 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11694 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegionIterator
, SWIG_NewClientData(obj
));
11695 return SWIG_Py_Void();
11698 SWIGINTERN PyObject
*RegionIterator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11699 return SWIG_Python_InitShadowInstance(args
);
11702 SWIGINTERN PyObject
*_wrap_new_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11703 PyObject
*resultobj
= 0;
11704 wxNativeFontInfo
*result
= 0 ;
11706 if (!SWIG_Python_UnpackTuple(args
,"new_NativeFontInfo",0,0,0)) SWIG_fail
;
11708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11709 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
11710 wxPyEndAllowThreads(__tstate
);
11711 if (PyErr_Occurred()) SWIG_fail
;
11713 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_NEW
| 0 );
11720 SWIGINTERN PyObject
*_wrap_delete_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11721 PyObject
*resultobj
= 0;
11722 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11725 PyObject
*swig_obj
[1] ;
11727 if (!args
) SWIG_fail
;
11728 swig_obj
[0] = args
;
11729 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_DISOWN
| 0 );
11730 if (!SWIG_IsOK(res1
)) {
11731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeFontInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
11733 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11738 wxPyEndAllowThreads(__tstate
);
11739 if (PyErr_Occurred()) SWIG_fail
;
11741 resultobj
= SWIG_Py_Void();
11748 SWIGINTERN PyObject
*_wrap_NativeFontInfo_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11749 PyObject
*resultobj
= 0;
11750 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11753 PyObject
*swig_obj
[1] ;
11755 if (!args
) SWIG_fail
;
11756 swig_obj
[0] = args
;
11757 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11758 if (!SWIG_IsOK(res1
)) {
11759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_Init" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
11761 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11765 wxPyEndAllowThreads(__tstate
);
11766 if (PyErr_Occurred()) SWIG_fail
;
11768 resultobj
= SWIG_Py_Void();
11775 SWIGINTERN PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11776 PyObject
*resultobj
= 0;
11777 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11783 PyObject
* obj0
= 0 ;
11784 PyObject
* obj1
= 0 ;
11785 char * kwnames
[] = {
11786 (char *) "self",(char *) "font", NULL
11789 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11790 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11791 if (!SWIG_IsOK(res1
)) {
11792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
11794 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11795 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
11796 if (!SWIG_IsOK(res2
)) {
11797 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
11800 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
11802 arg2
= reinterpret_cast< wxFont
* >(argp2
);
11804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11805 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
11806 wxPyEndAllowThreads(__tstate
);
11807 if (PyErr_Occurred()) SWIG_fail
;
11809 resultobj
= SWIG_Py_Void();
11816 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11817 PyObject
*resultobj
= 0;
11818 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11822 PyObject
*swig_obj
[1] ;
11824 if (!args
) SWIG_fail
;
11825 swig_obj
[0] = args
;
11826 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11827 if (!SWIG_IsOK(res1
)) {
11828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
11830 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11833 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
11834 wxPyEndAllowThreads(__tstate
);
11835 if (PyErr_Occurred()) SWIG_fail
;
11837 resultobj
= SWIG_From_int(static_cast< int >(result
));
11844 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11845 PyObject
*resultobj
= 0;
11846 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11847 wxFontStyle result
;
11850 PyObject
*swig_obj
[1] ;
11852 if (!args
) SWIG_fail
;
11853 swig_obj
[0] = args
;
11854 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11855 if (!SWIG_IsOK(res1
)) {
11856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
11858 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11861 result
= (wxFontStyle
)((wxNativeFontInfo
const *)arg1
)->GetStyle();
11862 wxPyEndAllowThreads(__tstate
);
11863 if (PyErr_Occurred()) SWIG_fail
;
11865 resultobj
= SWIG_From_int(static_cast< int >(result
));
11872 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11873 PyObject
*resultobj
= 0;
11874 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11875 wxFontWeight result
;
11878 PyObject
*swig_obj
[1] ;
11880 if (!args
) SWIG_fail
;
11881 swig_obj
[0] = args
;
11882 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11883 if (!SWIG_IsOK(res1
)) {
11884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
11886 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11889 result
= (wxFontWeight
)((wxNativeFontInfo
const *)arg1
)->GetWeight();
11890 wxPyEndAllowThreads(__tstate
);
11891 if (PyErr_Occurred()) SWIG_fail
;
11893 resultobj
= SWIG_From_int(static_cast< int >(result
));
11900 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11901 PyObject
*resultobj
= 0;
11902 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11906 PyObject
*swig_obj
[1] ;
11908 if (!args
) SWIG_fail
;
11909 swig_obj
[0] = args
;
11910 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11911 if (!SWIG_IsOK(res1
)) {
11912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
11914 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11917 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
11918 wxPyEndAllowThreads(__tstate
);
11919 if (PyErr_Occurred()) SWIG_fail
;
11922 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11930 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11931 PyObject
*resultobj
= 0;
11932 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11936 PyObject
*swig_obj
[1] ;
11938 if (!args
) SWIG_fail
;
11939 swig_obj
[0] = args
;
11940 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11941 if (!SWIG_IsOK(res1
)) {
11942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
11944 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11947 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
11948 wxPyEndAllowThreads(__tstate
);
11949 if (PyErr_Occurred()) SWIG_fail
;
11953 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11955 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11964 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11965 PyObject
*resultobj
= 0;
11966 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11967 wxFontFamily result
;
11970 PyObject
*swig_obj
[1] ;
11972 if (!args
) SWIG_fail
;
11973 swig_obj
[0] = args
;
11974 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11975 if (!SWIG_IsOK(res1
)) {
11976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
11978 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11981 result
= (wxFontFamily
)((wxNativeFontInfo
const *)arg1
)->GetFamily();
11982 wxPyEndAllowThreads(__tstate
);
11983 if (PyErr_Occurred()) SWIG_fail
;
11985 resultobj
= SWIG_From_int(static_cast< int >(result
));
11992 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11993 PyObject
*resultobj
= 0;
11994 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11995 wxFontEncoding result
;
11998 PyObject
*swig_obj
[1] ;
12000 if (!args
) SWIG_fail
;
12001 swig_obj
[0] = args
;
12002 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12003 if (!SWIG_IsOK(res1
)) {
12004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12006 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12009 result
= (wxFontEncoding
)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
12010 wxPyEndAllowThreads(__tstate
);
12011 if (PyErr_Occurred()) SWIG_fail
;
12013 resultobj
= SWIG_From_int(static_cast< int >(result
));
12020 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12021 PyObject
*resultobj
= 0;
12022 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12028 PyObject
* obj0
= 0 ;
12029 PyObject
* obj1
= 0 ;
12030 char * kwnames
[] = {
12031 (char *) "self",(char *) "pointsize", NULL
12034 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12035 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12036 if (!SWIG_IsOK(res1
)) {
12037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12039 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12040 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12041 if (!SWIG_IsOK(ecode2
)) {
12042 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "2"" of type '" "int""'");
12044 arg2
= static_cast< int >(val2
);
12046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12047 (arg1
)->SetPointSize(arg2
);
12048 wxPyEndAllowThreads(__tstate
);
12049 if (PyErr_Occurred()) SWIG_fail
;
12051 resultobj
= SWIG_Py_Void();
12058 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12059 PyObject
*resultobj
= 0;
12060 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12066 PyObject
* obj0
= 0 ;
12067 PyObject
* obj1
= 0 ;
12068 char * kwnames
[] = {
12069 (char *) "self",(char *) "style", NULL
12072 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12073 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12074 if (!SWIG_IsOK(res1
)) {
12075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12077 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12078 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12079 if (!SWIG_IsOK(ecode2
)) {
12080 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "2"" of type '" "wxFontStyle""'");
12082 arg2
= static_cast< wxFontStyle
>(val2
);
12084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12085 (arg1
)->SetStyle(arg2
);
12086 wxPyEndAllowThreads(__tstate
);
12087 if (PyErr_Occurred()) SWIG_fail
;
12089 resultobj
= SWIG_Py_Void();
12096 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12097 PyObject
*resultobj
= 0;
12098 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12099 wxFontWeight arg2
;
12104 PyObject
* obj0
= 0 ;
12105 PyObject
* obj1
= 0 ;
12106 char * kwnames
[] = {
12107 (char *) "self",(char *) "weight", NULL
12110 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12111 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12112 if (!SWIG_IsOK(res1
)) {
12113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12115 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12116 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12117 if (!SWIG_IsOK(ecode2
)) {
12118 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "2"" of type '" "wxFontWeight""'");
12120 arg2
= static_cast< wxFontWeight
>(val2
);
12122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12123 (arg1
)->SetWeight(arg2
);
12124 wxPyEndAllowThreads(__tstate
);
12125 if (PyErr_Occurred()) SWIG_fail
;
12127 resultobj
= SWIG_Py_Void();
12134 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12135 PyObject
*resultobj
= 0;
12136 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12142 PyObject
* obj0
= 0 ;
12143 PyObject
* obj1
= 0 ;
12144 char * kwnames
[] = {
12145 (char *) "self",(char *) "underlined", NULL
12148 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12149 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12150 if (!SWIG_IsOK(res1
)) {
12151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12153 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12154 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12155 if (!SWIG_IsOK(ecode2
)) {
12156 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
12158 arg2
= static_cast< bool >(val2
);
12160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12161 (arg1
)->SetUnderlined(arg2
);
12162 wxPyEndAllowThreads(__tstate
);
12163 if (PyErr_Occurred()) SWIG_fail
;
12165 resultobj
= SWIG_Py_Void();
12172 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12173 PyObject
*resultobj
= 0;
12174 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12179 PyObject
* obj0
= 0 ;
12180 PyObject
* obj1
= 0 ;
12181 char * kwnames
[] = {
12182 (char *) "self",(char *) "facename", NULL
12185 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12186 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12187 if (!SWIG_IsOK(res1
)) {
12188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12190 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12192 wxString
* sptr
= wxString_in_helper(obj1
);
12193 if (sptr
== NULL
) SWIG_fail
;
12198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12199 result
= (bool)(arg1
)->SetFaceName(arg2
);
12200 wxPyEndAllowThreads(__tstate
);
12201 if (PyErr_Occurred()) SWIG_fail
;
12204 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12212 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12213 PyObject
*resultobj
= 0;
12214 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12215 wxFontFamily arg2
;
12220 PyObject
* obj0
= 0 ;
12221 PyObject
* obj1
= 0 ;
12222 char * kwnames
[] = {
12223 (char *) "self",(char *) "family", NULL
12226 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12227 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12228 if (!SWIG_IsOK(res1
)) {
12229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12231 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12232 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12233 if (!SWIG_IsOK(ecode2
)) {
12234 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "2"" of type '" "wxFontFamily""'");
12236 arg2
= static_cast< wxFontFamily
>(val2
);
12238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12239 (arg1
)->SetFamily(arg2
);
12240 wxPyEndAllowThreads(__tstate
);
12241 if (PyErr_Occurred()) SWIG_fail
;
12243 resultobj
= SWIG_Py_Void();
12250 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12251 PyObject
*resultobj
= 0;
12252 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12253 wxFontEncoding arg2
;
12258 PyObject
* obj0
= 0 ;
12259 PyObject
* obj1
= 0 ;
12260 char * kwnames
[] = {
12261 (char *) "self",(char *) "encoding", NULL
12264 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12265 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12266 if (!SWIG_IsOK(res1
)) {
12267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12269 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12270 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12271 if (!SWIG_IsOK(ecode2
)) {
12272 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
12274 arg2
= static_cast< wxFontEncoding
>(val2
);
12276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12277 (arg1
)->SetEncoding(arg2
);
12278 wxPyEndAllowThreads(__tstate
);
12279 if (PyErr_Occurred()) SWIG_fail
;
12281 resultobj
= SWIG_Py_Void();
12288 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12289 PyObject
*resultobj
= 0;
12290 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12291 wxString
*arg2
= 0 ;
12295 bool temp2
= false ;
12296 PyObject
* obj0
= 0 ;
12297 PyObject
* obj1
= 0 ;
12298 char * kwnames
[] = {
12299 (char *) "self",(char *) "s", NULL
12302 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12303 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12304 if (!SWIG_IsOK(res1
)) {
12305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12307 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12309 arg2
= wxString_in_helper(obj1
);
12310 if (arg2
== NULL
) SWIG_fail
;
12314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12315 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
12316 wxPyEndAllowThreads(__tstate
);
12317 if (PyErr_Occurred()) SWIG_fail
;
12320 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12336 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12337 PyObject
*resultobj
= 0;
12338 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12342 PyObject
*swig_obj
[1] ;
12344 if (!args
) SWIG_fail
;
12345 swig_obj
[0] = args
;
12346 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12347 if (!SWIG_IsOK(res1
)) {
12348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12350 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12353 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
12354 wxPyEndAllowThreads(__tstate
);
12355 if (PyErr_Occurred()) SWIG_fail
;
12359 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12361 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12370 SWIGINTERN PyObject
*_wrap_NativeFontInfo___str__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12371 PyObject
*resultobj
= 0;
12372 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12376 PyObject
*swig_obj
[1] ;
12378 if (!args
) SWIG_fail
;
12379 swig_obj
[0] = args
;
12380 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12381 if (!SWIG_IsOK(res1
)) {
12382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo___str__" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12384 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12387 result
= wxNativeFontInfo___str__(arg1
);
12388 wxPyEndAllowThreads(__tstate
);
12389 if (PyErr_Occurred()) SWIG_fail
;
12393 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12395 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12404 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12405 PyObject
*resultobj
= 0;
12406 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12407 wxString
*arg2
= 0 ;
12411 bool temp2
= false ;
12412 PyObject
* obj0
= 0 ;
12413 PyObject
* obj1
= 0 ;
12414 char * kwnames
[] = {
12415 (char *) "self",(char *) "s", NULL
12418 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12419 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12420 if (!SWIG_IsOK(res1
)) {
12421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12423 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12425 arg2
= wxString_in_helper(obj1
);
12426 if (arg2
== NULL
) SWIG_fail
;
12430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12431 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
12432 wxPyEndAllowThreads(__tstate
);
12433 if (PyErr_Occurred()) SWIG_fail
;
12436 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12452 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12453 PyObject
*resultobj
= 0;
12454 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12458 PyObject
*swig_obj
[1] ;
12460 if (!args
) SWIG_fail
;
12461 swig_obj
[0] = args
;
12462 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12463 if (!SWIG_IsOK(res1
)) {
12464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12466 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12469 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
12470 wxPyEndAllowThreads(__tstate
);
12471 if (PyErr_Occurred()) SWIG_fail
;
12475 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12477 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12486 SWIGINTERN PyObject
*NativeFontInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12488 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12489 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeFontInfo
, SWIG_NewClientData(obj
));
12490 return SWIG_Py_Void();
12493 SWIGINTERN PyObject
*NativeFontInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12494 return SWIG_Python_InitShadowInstance(args
);
12497 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12498 PyObject
*resultobj
= 0;
12499 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12500 wxString
*arg2
= (wxString
*) 0 ;
12503 bool temp2
= false ;
12504 PyObject
*swig_obj
[2] ;
12506 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_facename_set",2,2,swig_obj
)) SWIG_fail
;
12507 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12508 if (!SWIG_IsOK(res1
)) {
12509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12511 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12513 arg2
= wxString_in_helper(swig_obj
[1]);
12514 if (arg2
== NULL
) SWIG_fail
;
12517 if (arg1
) (arg1
)->facename
= *arg2
;
12519 resultobj
= SWIG_Py_Void();
12534 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12535 PyObject
*resultobj
= 0;
12536 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12537 wxString
*result
= 0 ;
12540 PyObject
*swig_obj
[1] ;
12542 if (!args
) SWIG_fail
;
12543 swig_obj
[0] = args
;
12544 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12545 if (!SWIG_IsOK(res1
)) {
12546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12548 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12549 result
= (wxString
*)& ((arg1
)->facename
);
12552 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12554 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12563 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12564 PyObject
*resultobj
= 0;
12565 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12566 wxFontEncoding arg2
;
12571 PyObject
*swig_obj
[2] ;
12573 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_encoding_set",2,2,swig_obj
)) SWIG_fail
;
12574 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12575 if (!SWIG_IsOK(res1
)) {
12576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12578 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12579 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
12580 if (!SWIG_IsOK(ecode2
)) {
12581 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "2"" of type '" "wxFontEncoding""'");
12583 arg2
= static_cast< wxFontEncoding
>(val2
);
12584 if (arg1
) (arg1
)->encoding
= arg2
;
12586 resultobj
= SWIG_Py_Void();
12593 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12594 PyObject
*resultobj
= 0;
12595 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12596 wxFontEncoding result
;
12599 PyObject
*swig_obj
[1] ;
12601 if (!args
) SWIG_fail
;
12602 swig_obj
[0] = args
;
12603 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12604 if (!SWIG_IsOK(res1
)) {
12605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12607 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12608 result
= (wxFontEncoding
) ((arg1
)->encoding
);
12609 resultobj
= SWIG_From_int(static_cast< int >(result
));
12616 SWIGINTERN PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12617 PyObject
*resultobj
= 0;
12618 wxNativeEncodingInfo
*result
= 0 ;
12620 if (!SWIG_Python_UnpackTuple(args
,"new_NativeEncodingInfo",0,0,0)) SWIG_fail
;
12622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12623 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
12624 wxPyEndAllowThreads(__tstate
);
12625 if (PyErr_Occurred()) SWIG_fail
;
12627 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_NEW
| 0 );
12634 SWIGINTERN PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12635 PyObject
*resultobj
= 0;
12636 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12639 PyObject
*swig_obj
[1] ;
12641 if (!args
) SWIG_fail
;
12642 swig_obj
[0] = args
;
12643 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_DISOWN
| 0 );
12644 if (!SWIG_IsOK(res1
)) {
12645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeEncodingInfo" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12647 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12652 wxPyEndAllowThreads(__tstate
);
12653 if (PyErr_Occurred()) SWIG_fail
;
12655 resultobj
= SWIG_Py_Void();
12662 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12663 PyObject
*resultobj
= 0;
12664 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12665 wxString
*arg2
= 0 ;
12669 bool temp2
= false ;
12670 PyObject
* obj0
= 0 ;
12671 PyObject
* obj1
= 0 ;
12672 char * kwnames
[] = {
12673 (char *) "self",(char *) "s", NULL
12676 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12677 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12678 if (!SWIG_IsOK(res1
)) {
12679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_FromString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12681 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12683 arg2
= wxString_in_helper(obj1
);
12684 if (arg2
== NULL
) SWIG_fail
;
12688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12689 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
12690 wxPyEndAllowThreads(__tstate
);
12691 if (PyErr_Occurred()) SWIG_fail
;
12694 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12710 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12711 PyObject
*resultobj
= 0;
12712 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12716 PyObject
*swig_obj
[1] ;
12718 if (!args
) SWIG_fail
;
12719 swig_obj
[0] = args
;
12720 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12721 if (!SWIG_IsOK(res1
)) {
12722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_ToString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const *""'");
12724 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12727 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
12728 wxPyEndAllowThreads(__tstate
);
12729 if (PyErr_Occurred()) SWIG_fail
;
12733 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12735 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12744 SWIGINTERN PyObject
*NativeEncodingInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12746 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12747 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_NewClientData(obj
));
12748 return SWIG_Py_Void();
12751 SWIGINTERN PyObject
*NativeEncodingInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12752 return SWIG_Python_InitShadowInstance(args
);
12755 SWIGINTERN PyObject
*_wrap_GetNativeFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12756 PyObject
*resultobj
= 0;
12757 wxFontEncoding arg1
;
12758 wxNativeEncodingInfo
*result
= 0 ;
12761 PyObject
* obj0
= 0 ;
12762 char * kwnames
[] = {
12763 (char *) "encoding", NULL
12766 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
12767 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
12768 if (!SWIG_IsOK(ecode1
)) {
12769 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetNativeFontEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
12771 arg1
= static_cast< wxFontEncoding
>(val1
);
12773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12774 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding(arg1
);
12775 wxPyEndAllowThreads(__tstate
);
12776 if (PyErr_Occurred()) SWIG_fail
;
12778 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12785 SWIGINTERN PyObject
*_wrap_TestFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12786 PyObject
*resultobj
= 0;
12787 wxNativeEncodingInfo
*arg1
= 0 ;
12791 PyObject
* obj0
= 0 ;
12792 char * kwnames
[] = {
12793 (char *) "info", NULL
12796 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
12797 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0);
12798 if (!SWIG_IsOK(res1
)) {
12799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
12802 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
12804 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12807 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
12808 wxPyEndAllowThreads(__tstate
);
12809 if (PyErr_Occurred()) SWIG_fail
;
12812 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12820 SWIGINTERN PyObject
*_wrap_new_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12821 PyObject
*resultobj
= 0;
12822 wxFontMapper
*result
= 0 ;
12824 if (!SWIG_Python_UnpackTuple(args
,"new_FontMapper",0,0,0)) SWIG_fail
;
12826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12827 result
= (wxFontMapper
*)new wxFontMapper();
12828 wxPyEndAllowThreads(__tstate
);
12829 if (PyErr_Occurred()) SWIG_fail
;
12831 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_NEW
| 0 );
12838 SWIGINTERN PyObject
*_wrap_delete_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12839 PyObject
*resultobj
= 0;
12840 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
12843 PyObject
*swig_obj
[1] ;
12845 if (!args
) SWIG_fail
;
12846 swig_obj
[0] = args
;
12847 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_DISOWN
| 0 );
12848 if (!SWIG_IsOK(res1
)) {
12849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontMapper" "', expected argument " "1"" of type '" "wxFontMapper *""'");
12851 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
12853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12856 wxPyEndAllowThreads(__tstate
);
12857 if (PyErr_Occurred()) SWIG_fail
;
12859 resultobj
= SWIG_Py_Void();
12866 SWIGINTERN PyObject
*_wrap_FontMapper_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12867 PyObject
*resultobj
= 0;
12868 wxFontMapper
*result
= 0 ;
12870 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_Get",0,0,0)) SWIG_fail
;
12872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12873 result
= (wxFontMapper
*)wxFontMapper::Get();
12874 wxPyEndAllowThreads(__tstate
);
12875 if (PyErr_Occurred()) SWIG_fail
;
12877 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
12884 SWIGINTERN PyObject
*_wrap_FontMapper_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12885 PyObject
*resultobj
= 0;
12886 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
12887 wxFontMapper
*result
= 0 ;
12890 PyObject
* obj0
= 0 ;
12891 char * kwnames
[] = {
12892 (char *) "mapper", NULL
12895 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) SWIG_fail
;
12896 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
12897 if (!SWIG_IsOK(res1
)) {
12898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_Set" "', expected argument " "1"" of type '" "wxFontMapper *""'");
12900 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
12902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12903 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
12904 wxPyEndAllowThreads(__tstate
);
12905 if (PyErr_Occurred()) SWIG_fail
;
12907 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
12914 SWIGINTERN PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12915 PyObject
*resultobj
= 0;
12916 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
12917 wxString
*arg2
= 0 ;
12918 bool arg3
= (bool) true ;
12919 wxFontEncoding result
;
12922 bool temp2
= false ;
12925 PyObject
* obj0
= 0 ;
12926 PyObject
* obj1
= 0 ;
12927 PyObject
* obj2
= 0 ;
12928 char * kwnames
[] = {
12929 (char *) "self",(char *) "charset",(char *) "interactive", NULL
12932 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12933 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
12934 if (!SWIG_IsOK(res1
)) {
12935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
12937 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
12939 arg2
= wxString_in_helper(obj1
);
12940 if (arg2
== NULL
) SWIG_fail
;
12944 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
12945 if (!SWIG_IsOK(ecode3
)) {
12946 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "3"" of type '" "bool""'");
12948 arg3
= static_cast< bool >(val3
);
12951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12952 result
= (wxFontEncoding
)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
12953 wxPyEndAllowThreads(__tstate
);
12954 if (PyErr_Occurred()) SWIG_fail
;
12956 resultobj
= SWIG_From_int(static_cast< int >(result
));
12971 SWIGINTERN PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12972 PyObject
*resultobj
= 0;
12975 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetSupportedEncodingsCount",0,0,0)) SWIG_fail
;
12977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12978 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
12979 wxPyEndAllowThreads(__tstate
);
12980 if (PyErr_Occurred()) SWIG_fail
;
12982 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
12989 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12990 PyObject
*resultobj
= 0;
12992 wxFontEncoding result
;
12995 PyObject
* obj0
= 0 ;
12996 char * kwnames
[] = {
13000 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) SWIG_fail
;
13001 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
13002 if (!SWIG_IsOK(ecode1
)) {
13003 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncoding" "', expected argument " "1"" of type '" "size_t""'");
13005 arg1
= static_cast< size_t >(val1
);
13007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13008 result
= (wxFontEncoding
)wxFontMapper::GetEncoding(arg1
);
13009 wxPyEndAllowThreads(__tstate
);
13010 if (PyErr_Occurred()) SWIG_fail
;
13012 resultobj
= SWIG_From_int(static_cast< int >(result
));
13019 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13020 PyObject
*resultobj
= 0;
13021 wxFontEncoding arg1
;
13025 PyObject
* obj0
= 0 ;
13026 char * kwnames
[] = {
13027 (char *) "encoding", NULL
13030 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) SWIG_fail
;
13031 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13032 if (!SWIG_IsOK(ecode1
)) {
13033 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingName" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13035 arg1
= static_cast< wxFontEncoding
>(val1
);
13037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13038 result
= wxFontMapper::GetEncodingName(arg1
);
13039 wxPyEndAllowThreads(__tstate
);
13040 if (PyErr_Occurred()) SWIG_fail
;
13044 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13046 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13055 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13056 PyObject
*resultobj
= 0;
13057 wxFontEncoding arg1
;
13061 PyObject
* obj0
= 0 ;
13062 char * kwnames
[] = {
13063 (char *) "encoding", NULL
13066 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) SWIG_fail
;
13067 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13068 if (!SWIG_IsOK(ecode1
)) {
13069 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingDescription" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13071 arg1
= static_cast< wxFontEncoding
>(val1
);
13073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13074 result
= wxFontMapper::GetEncodingDescription(arg1
);
13075 wxPyEndAllowThreads(__tstate
);
13076 if (PyErr_Occurred()) SWIG_fail
;
13080 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13082 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13091 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13092 PyObject
*resultobj
= 0;
13093 wxString
*arg1
= 0 ;
13094 wxFontEncoding result
;
13095 bool temp1
= false ;
13096 PyObject
* obj0
= 0 ;
13097 char * kwnames
[] = {
13098 (char *) "name", NULL
13101 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) SWIG_fail
;
13103 arg1
= wxString_in_helper(obj0
);
13104 if (arg1
== NULL
) SWIG_fail
;
13108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13109 result
= (wxFontEncoding
)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
13110 wxPyEndAllowThreads(__tstate
);
13111 if (PyErr_Occurred()) SWIG_fail
;
13113 resultobj
= SWIG_From_int(static_cast< int >(result
));
13128 SWIGINTERN PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13129 PyObject
*resultobj
= 0;
13130 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13131 wxString
*arg2
= 0 ;
13134 bool temp2
= false ;
13135 PyObject
* obj0
= 0 ;
13136 PyObject
* obj1
= 0 ;
13137 char * kwnames
[] = {
13138 (char *) "self",(char *) "prefix", NULL
13141 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13142 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13143 if (!SWIG_IsOK(res1
)) {
13144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetConfigPath" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13146 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13148 arg2
= wxString_in_helper(obj1
);
13149 if (arg2
== NULL
) SWIG_fail
;
13153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13154 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
13155 wxPyEndAllowThreads(__tstate
);
13156 if (PyErr_Occurred()) SWIG_fail
;
13158 resultobj
= SWIG_Py_Void();
13173 SWIGINTERN PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13174 PyObject
*resultobj
= 0;
13177 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetDefaultConfigPath",0,0,0)) SWIG_fail
;
13179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13180 result
= wxFontMapper::GetDefaultConfigPath();
13181 wxPyEndAllowThreads(__tstate
);
13182 if (PyErr_Occurred()) SWIG_fail
;
13186 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13188 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13197 SWIGINTERN PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13198 PyObject
*resultobj
= 0;
13199 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13200 wxFontEncoding arg2
;
13201 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13202 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13203 bool arg4
= (bool) true ;
13204 PyObject
*result
= 0 ;
13209 bool temp3
= false ;
13212 PyObject
* obj0
= 0 ;
13213 PyObject
* obj1
= 0 ;
13214 PyObject
* obj2
= 0 ;
13215 PyObject
* obj3
= 0 ;
13216 char * kwnames
[] = {
13217 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
13220 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13221 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13222 if (!SWIG_IsOK(res1
)) {
13223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13225 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13226 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13227 if (!SWIG_IsOK(ecode2
)) {
13228 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13230 arg2
= static_cast< wxFontEncoding
>(val2
);
13233 arg3
= wxString_in_helper(obj2
);
13234 if (arg3
== NULL
) SWIG_fail
;
13239 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
13240 if (!SWIG_IsOK(ecode4
)) {
13241 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "4"" of type '" "bool""'");
13243 arg4
= static_cast< bool >(val4
);
13246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13247 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
13248 wxPyEndAllowThreads(__tstate
);
13249 if (PyErr_Occurred()) SWIG_fail
;
13251 resultobj
= result
;
13266 SWIGINTERN PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13267 PyObject
*resultobj
= 0;
13268 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13269 wxFontEncoding arg2
;
13270 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13271 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13277 bool temp3
= false ;
13278 PyObject
* obj0
= 0 ;
13279 PyObject
* obj1
= 0 ;
13280 PyObject
* obj2
= 0 ;
13281 char * kwnames
[] = {
13282 (char *) "self",(char *) "encoding",(char *) "facename", NULL
13285 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13286 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13287 if (!SWIG_IsOK(res1
)) {
13288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13290 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13291 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13292 if (!SWIG_IsOK(ecode2
)) {
13293 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13295 arg2
= static_cast< wxFontEncoding
>(val2
);
13298 arg3
= wxString_in_helper(obj2
);
13299 if (arg3
== NULL
) SWIG_fail
;
13304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13305 result
= (bool)(arg1
)->IsEncodingAvailable(arg2
,(wxString
const &)*arg3
);
13306 wxPyEndAllowThreads(__tstate
);
13307 if (PyErr_Occurred()) SWIG_fail
;
13310 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13326 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13327 PyObject
*resultobj
= 0;
13328 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13329 wxWindow
*arg2
= (wxWindow
*) 0 ;
13334 PyObject
* obj0
= 0 ;
13335 PyObject
* obj1
= 0 ;
13336 char * kwnames
[] = {
13337 (char *) "self",(char *) "parent", NULL
13340 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13341 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13342 if (!SWIG_IsOK(res1
)) {
13343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13345 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13346 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13347 if (!SWIG_IsOK(res2
)) {
13348 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "2"" of type '" "wxWindow *""'");
13350 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13353 (arg1
)->SetDialogParent(arg2
);
13354 wxPyEndAllowThreads(__tstate
);
13355 if (PyErr_Occurred()) SWIG_fail
;
13357 resultobj
= SWIG_Py_Void();
13364 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13365 PyObject
*resultobj
= 0;
13366 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13367 wxString
*arg2
= 0 ;
13370 bool temp2
= false ;
13371 PyObject
* obj0
= 0 ;
13372 PyObject
* obj1
= 0 ;
13373 char * kwnames
[] = {
13374 (char *) "self",(char *) "title", NULL
13377 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13378 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13379 if (!SWIG_IsOK(res1
)) {
13380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogTitle" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13382 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13384 arg2
= wxString_in_helper(obj1
);
13385 if (arg2
== NULL
) SWIG_fail
;
13389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13390 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
13391 wxPyEndAllowThreads(__tstate
);
13392 if (PyErr_Occurred()) SWIG_fail
;
13394 resultobj
= SWIG_Py_Void();
13409 SWIGINTERN PyObject
*FontMapper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13411 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13412 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontMapper
, SWIG_NewClientData(obj
));
13413 return SWIG_Py_Void();
13416 SWIGINTERN PyObject
*FontMapper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13417 return SWIG_Python_InitShadowInstance(args
);
13420 SWIGINTERN PyObject
*_wrap_new_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13421 PyObject
*resultobj
= 0;
13426 bool arg5
= (bool) false ;
13427 wxString
const &arg6_defvalue
= wxPyEmptyString
;
13428 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13429 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13430 wxFont
*result
= 0 ;
13441 bool temp6
= false ;
13444 PyObject
* obj0
= 0 ;
13445 PyObject
* obj1
= 0 ;
13446 PyObject
* obj2
= 0 ;
13447 PyObject
* obj3
= 0 ;
13448 PyObject
* obj4
= 0 ;
13449 PyObject
* obj5
= 0 ;
13450 PyObject
* obj6
= 0 ;
13451 char * kwnames
[] = {
13452 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
13455 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
13456 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13457 if (!SWIG_IsOK(ecode1
)) {
13458 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Font" "', expected argument " "1"" of type '" "int""'");
13460 arg1
= static_cast< int >(val1
);
13461 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13462 if (!SWIG_IsOK(ecode2
)) {
13463 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Font" "', expected argument " "2"" of type '" "int""'");
13465 arg2
= static_cast< int >(val2
);
13466 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13467 if (!SWIG_IsOK(ecode3
)) {
13468 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Font" "', expected argument " "3"" of type '" "int""'");
13470 arg3
= static_cast< int >(val3
);
13471 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
13472 if (!SWIG_IsOK(ecode4
)) {
13473 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Font" "', expected argument " "4"" of type '" "int""'");
13475 arg4
= static_cast< int >(val4
);
13477 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
13478 if (!SWIG_IsOK(ecode5
)) {
13479 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Font" "', expected argument " "5"" of type '" "bool""'");
13481 arg5
= static_cast< bool >(val5
);
13485 arg6
= wxString_in_helper(obj5
);
13486 if (arg6
== NULL
) SWIG_fail
;
13491 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
13492 if (!SWIG_IsOK(ecode7
)) {
13493 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_Font" "', expected argument " "7"" of type '" "wxFontEncoding""'");
13495 arg7
= static_cast< wxFontEncoding
>(val7
);
13498 if (!wxPyCheckForApp()) SWIG_fail
;
13499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13500 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
13501 wxPyEndAllowThreads(__tstate
);
13502 if (PyErr_Occurred()) SWIG_fail
;
13504 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_NEW
| 0 );
13519 SWIGINTERN PyObject
*_wrap_delete_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13520 PyObject
*resultobj
= 0;
13521 wxFont
*arg1
= (wxFont
*) 0 ;
13524 PyObject
*swig_obj
[1] ;
13526 if (!args
) SWIG_fail
;
13527 swig_obj
[0] = args
;
13528 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, SWIG_POINTER_DISOWN
| 0 );
13529 if (!SWIG_IsOK(res1
)) {
13530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Font" "', expected argument " "1"" of type '" "wxFont *""'");
13532 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13537 wxPyEndAllowThreads(__tstate
);
13538 if (PyErr_Occurred()) SWIG_fail
;
13540 resultobj
= SWIG_Py_Void();
13547 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13548 PyObject
*resultobj
= 0;
13549 wxNativeFontInfo
*arg1
= 0 ;
13550 wxFont
*result
= 0 ;
13553 PyObject
* obj0
= 0 ;
13554 char * kwnames
[] = {
13555 (char *) "info", NULL
13558 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) SWIG_fail
;
13559 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
13560 if (!SWIG_IsOK(res1
)) {
13561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
13564 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
13566 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13568 if (!wxPyCheckForApp()) SWIG_fail
;
13569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13570 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
13571 wxPyEndAllowThreads(__tstate
);
13572 if (PyErr_Occurred()) SWIG_fail
;
13574 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13581 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13582 PyObject
*resultobj
= 0;
13583 wxString
*arg1
= 0 ;
13584 wxFont
*result
= 0 ;
13585 bool temp1
= false ;
13586 PyObject
* obj0
= 0 ;
13587 char * kwnames
[] = {
13588 (char *) "info", NULL
13591 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) SWIG_fail
;
13593 arg1
= wxString_in_helper(obj0
);
13594 if (arg1
== NULL
) SWIG_fail
;
13598 if (!wxPyCheckForApp()) SWIG_fail
;
13599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13600 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
13601 wxPyEndAllowThreads(__tstate
);
13602 if (PyErr_Occurred()) SWIG_fail
;
13604 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13619 SWIGINTERN PyObject
*_wrap_new_FFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13620 PyObject
*resultobj
= 0;
13622 wxFontFamily arg2
;
13623 int arg3
= (int) wxFONTFLAG_DEFAULT
;
13624 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13625 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13626 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13627 wxFont
*result
= 0 ;
13634 bool temp4
= false ;
13637 PyObject
* obj0
= 0 ;
13638 PyObject
* obj1
= 0 ;
13639 PyObject
* obj2
= 0 ;
13640 PyObject
* obj3
= 0 ;
13641 PyObject
* obj4
= 0 ;
13642 char * kwnames
[] = {
13643 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
13646 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
13647 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13648 if (!SWIG_IsOK(ecode1
)) {
13649 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FFont" "', expected argument " "1"" of type '" "int""'");
13651 arg1
= static_cast< int >(val1
);
13652 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13653 if (!SWIG_IsOK(ecode2
)) {
13654 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFont" "', expected argument " "2"" of type '" "wxFontFamily""'");
13656 arg2
= static_cast< wxFontFamily
>(val2
);
13658 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13659 if (!SWIG_IsOK(ecode3
)) {
13660 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFont" "', expected argument " "3"" of type '" "int""'");
13662 arg3
= static_cast< int >(val3
);
13666 arg4
= wxString_in_helper(obj3
);
13667 if (arg4
== NULL
) SWIG_fail
;
13672 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
13673 if (!SWIG_IsOK(ecode5
)) {
13674 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFont" "', expected argument " "5"" of type '" "wxFontEncoding""'");
13676 arg5
= static_cast< wxFontEncoding
>(val5
);
13679 if (!wxPyCheckForApp()) SWIG_fail
;
13680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13681 result
= (wxFont
*)new_wxFont(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
13682 wxPyEndAllowThreads(__tstate
);
13683 if (PyErr_Occurred()) SWIG_fail
;
13685 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13700 SWIGINTERN PyObject
*_wrap_new_FontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13701 PyObject
*resultobj
= 0;
13706 bool arg5
= (bool) false ;
13707 wxString
const &arg6_defvalue
= wxEmptyString
;
13708 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13709 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13710 wxFont
*result
= 0 ;
13720 bool temp6
= false ;
13723 PyObject
* obj0
= 0 ;
13724 PyObject
* obj1
= 0 ;
13725 PyObject
* obj2
= 0 ;
13726 PyObject
* obj3
= 0 ;
13727 PyObject
* obj4
= 0 ;
13728 PyObject
* obj5
= 0 ;
13729 PyObject
* obj6
= 0 ;
13730 char * kwnames
[] = {
13731 (char *) "pixelSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underlined",(char *) "face",(char *) "encoding", NULL
13734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_FontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
13737 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
13739 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13740 if (!SWIG_IsOK(ecode2
)) {
13741 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontFromPixelSize" "', expected argument " "2"" of type '" "int""'");
13743 arg2
= static_cast< int >(val2
);
13744 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13745 if (!SWIG_IsOK(ecode3
)) {
13746 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
13748 arg3
= static_cast< int >(val3
);
13749 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
13750 if (!SWIG_IsOK(ecode4
)) {
13751 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FontFromPixelSize" "', expected argument " "4"" of type '" "int""'");
13753 arg4
= static_cast< int >(val4
);
13755 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
13756 if (!SWIG_IsOK(ecode5
)) {
13757 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FontFromPixelSize" "', expected argument " "5"" of type '" "bool""'");
13759 arg5
= static_cast< bool >(val5
);
13763 arg6
= wxString_in_helper(obj5
);
13764 if (arg6
== NULL
) SWIG_fail
;
13769 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
13770 if (!SWIG_IsOK(ecode7
)) {
13771 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_FontFromPixelSize" "', expected argument " "7"" of type '" "wxFontEncoding""'");
13773 arg7
= static_cast< wxFontEncoding
>(val7
);
13776 if (!wxPyCheckForApp()) SWIG_fail
;
13777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13778 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
13779 wxPyEndAllowThreads(__tstate
);
13780 if (PyErr_Occurred()) SWIG_fail
;
13782 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13797 SWIGINTERN PyObject
*_wrap_new_FFontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13798 PyObject
*resultobj
= 0;
13800 wxFontFamily arg2
;
13801 int arg3
= (int) wxFONTFLAG_DEFAULT
;
13802 wxString
const &arg4_defvalue
= wxEmptyString
;
13803 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13804 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13805 wxFont
*result
= 0 ;
13811 bool temp4
= false ;
13814 PyObject
* obj0
= 0 ;
13815 PyObject
* obj1
= 0 ;
13816 PyObject
* obj2
= 0 ;
13817 PyObject
* obj3
= 0 ;
13818 PyObject
* obj4
= 0 ;
13819 char * kwnames
[] = {
13820 (char *) "pixelSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
13823 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
13826 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
13828 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13829 if (!SWIG_IsOK(ecode2
)) {
13830 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFontFromPixelSize" "', expected argument " "2"" of type '" "wxFontFamily""'");
13832 arg2
= static_cast< wxFontFamily
>(val2
);
13834 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13835 if (!SWIG_IsOK(ecode3
)) {
13836 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
13838 arg3
= static_cast< int >(val3
);
13842 arg4
= wxString_in_helper(obj3
);
13843 if (arg4
== NULL
) SWIG_fail
;
13848 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
13849 if (!SWIG_IsOK(ecode5
)) {
13850 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFontFromPixelSize" "', expected argument " "5"" of type '" "wxFontEncoding""'");
13852 arg5
= static_cast< wxFontEncoding
>(val5
);
13855 if (!wxPyCheckForApp()) SWIG_fail
;
13856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13857 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
13858 wxPyEndAllowThreads(__tstate
);
13859 if (PyErr_Occurred()) SWIG_fail
;
13861 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13876 SWIGINTERN PyObject
*_wrap_Font_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13877 PyObject
*resultobj
= 0;
13878 wxFont
*arg1
= (wxFont
*) 0 ;
13882 PyObject
*swig_obj
[1] ;
13884 if (!args
) SWIG_fail
;
13885 swig_obj
[0] = args
;
13886 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13887 if (!SWIG_IsOK(res1
)) {
13888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsOk" "', expected argument " "1"" of type '" "wxFont const *""'");
13890 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13893 result
= (bool)((wxFont
const *)arg1
)->IsOk();
13894 wxPyEndAllowThreads(__tstate
);
13895 if (PyErr_Occurred()) SWIG_fail
;
13898 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13906 SWIGINTERN PyObject
*_wrap_Font___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13907 PyObject
*resultobj
= 0;
13908 wxFont
*arg1
= (wxFont
*) 0 ;
13909 wxFont
*arg2
= (wxFont
*) 0 ;
13915 PyObject
* obj0
= 0 ;
13916 PyObject
* obj1
= 0 ;
13917 char * kwnames
[] = {
13918 (char *) "self",(char *) "other", NULL
13921 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13922 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13923 if (!SWIG_IsOK(res1
)) {
13924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___eq__" "', expected argument " "1"" of type '" "wxFont *""'");
13926 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13927 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
13928 if (!SWIG_IsOK(res2
)) {
13929 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___eq__" "', expected argument " "2"" of type '" "wxFont const *""'");
13931 arg2
= reinterpret_cast< wxFont
* >(argp2
);
13933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13934 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
13935 wxPyEndAllowThreads(__tstate
);
13936 if (PyErr_Occurred()) SWIG_fail
;
13939 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13947 SWIGINTERN PyObject
*_wrap_Font___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13948 PyObject
*resultobj
= 0;
13949 wxFont
*arg1
= (wxFont
*) 0 ;
13950 wxFont
*arg2
= (wxFont
*) 0 ;
13956 PyObject
* obj0
= 0 ;
13957 PyObject
* obj1
= 0 ;
13958 char * kwnames
[] = {
13959 (char *) "self",(char *) "other", NULL
13962 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13963 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13964 if (!SWIG_IsOK(res1
)) {
13965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___ne__" "', expected argument " "1"" of type '" "wxFont *""'");
13967 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13968 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
13969 if (!SWIG_IsOK(res2
)) {
13970 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___ne__" "', expected argument " "2"" of type '" "wxFont const *""'");
13972 arg2
= reinterpret_cast< wxFont
* >(argp2
);
13974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13975 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
13976 wxPyEndAllowThreads(__tstate
);
13977 if (PyErr_Occurred()) SWIG_fail
;
13980 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13988 SWIGINTERN PyObject
*_wrap_Font_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13989 PyObject
*resultobj
= 0;
13990 wxFont
*arg1
= (wxFont
*) 0 ;
13994 PyObject
*swig_obj
[1] ;
13996 if (!args
) SWIG_fail
;
13997 swig_obj
[0] = args
;
13998 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13999 if (!SWIG_IsOK(res1
)) {
14000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPointSize" "', expected argument " "1"" of type '" "wxFont const *""'");
14002 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14005 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
14006 wxPyEndAllowThreads(__tstate
);
14007 if (PyErr_Occurred()) SWIG_fail
;
14009 resultobj
= SWIG_From_int(static_cast< int >(result
));
14016 SWIGINTERN PyObject
*_wrap_Font_GetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14017 PyObject
*resultobj
= 0;
14018 wxFont
*arg1
= (wxFont
*) 0 ;
14022 PyObject
*swig_obj
[1] ;
14024 if (!args
) SWIG_fail
;
14025 swig_obj
[0] = args
;
14026 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14027 if (!SWIG_IsOK(res1
)) {
14028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPixelSize" "', expected argument " "1"" of type '" "wxFont const *""'");
14030 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14033 result
= ((wxFont
const *)arg1
)->GetPixelSize();
14034 wxPyEndAllowThreads(__tstate
);
14035 if (PyErr_Occurred()) SWIG_fail
;
14037 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
14044 SWIGINTERN PyObject
*_wrap_Font_IsUsingSizeInPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14045 PyObject
*resultobj
= 0;
14046 wxFont
*arg1
= (wxFont
*) 0 ;
14050 PyObject
*swig_obj
[1] ;
14052 if (!args
) SWIG_fail
;
14053 swig_obj
[0] = args
;
14054 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14055 if (!SWIG_IsOK(res1
)) {
14056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsUsingSizeInPixels" "', expected argument " "1"" of type '" "wxFont const *""'");
14058 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14061 result
= (bool)((wxFont
const *)arg1
)->IsUsingSizeInPixels();
14062 wxPyEndAllowThreads(__tstate
);
14063 if (PyErr_Occurred()) SWIG_fail
;
14066 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14074 SWIGINTERN PyObject
*_wrap_Font_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14075 PyObject
*resultobj
= 0;
14076 wxFont
*arg1
= (wxFont
*) 0 ;
14080 PyObject
*swig_obj
[1] ;
14082 if (!args
) SWIG_fail
;
14083 swig_obj
[0] = args
;
14084 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14085 if (!SWIG_IsOK(res1
)) {
14086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamily" "', expected argument " "1"" of type '" "wxFont const *""'");
14088 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14091 result
= (int)((wxFont
const *)arg1
)->GetFamily();
14092 wxPyEndAllowThreads(__tstate
);
14093 if (PyErr_Occurred()) SWIG_fail
;
14095 resultobj
= SWIG_From_int(static_cast< int >(result
));
14102 SWIGINTERN PyObject
*_wrap_Font_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14103 PyObject
*resultobj
= 0;
14104 wxFont
*arg1
= (wxFont
*) 0 ;
14108 PyObject
*swig_obj
[1] ;
14110 if (!args
) SWIG_fail
;
14111 swig_obj
[0] = args
;
14112 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14113 if (!SWIG_IsOK(res1
)) {
14114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyle" "', expected argument " "1"" of type '" "wxFont const *""'");
14116 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14119 result
= (int)((wxFont
const *)arg1
)->GetStyle();
14120 wxPyEndAllowThreads(__tstate
);
14121 if (PyErr_Occurred()) SWIG_fail
;
14123 resultobj
= SWIG_From_int(static_cast< int >(result
));
14130 SWIGINTERN PyObject
*_wrap_Font_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14131 PyObject
*resultobj
= 0;
14132 wxFont
*arg1
= (wxFont
*) 0 ;
14136 PyObject
*swig_obj
[1] ;
14138 if (!args
) SWIG_fail
;
14139 swig_obj
[0] = args
;
14140 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14141 if (!SWIG_IsOK(res1
)) {
14142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeight" "', expected argument " "1"" of type '" "wxFont const *""'");
14144 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14147 result
= (int)((wxFont
const *)arg1
)->GetWeight();
14148 wxPyEndAllowThreads(__tstate
);
14149 if (PyErr_Occurred()) SWIG_fail
;
14151 resultobj
= SWIG_From_int(static_cast< int >(result
));
14158 SWIGINTERN PyObject
*_wrap_Font_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14159 PyObject
*resultobj
= 0;
14160 wxFont
*arg1
= (wxFont
*) 0 ;
14164 PyObject
*swig_obj
[1] ;
14166 if (!args
) SWIG_fail
;
14167 swig_obj
[0] = args
;
14168 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14169 if (!SWIG_IsOK(res1
)) {
14170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetUnderlined" "', expected argument " "1"" of type '" "wxFont const *""'");
14172 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14175 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
14176 wxPyEndAllowThreads(__tstate
);
14177 if (PyErr_Occurred()) SWIG_fail
;
14180 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14188 SWIGINTERN PyObject
*_wrap_Font_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14189 PyObject
*resultobj
= 0;
14190 wxFont
*arg1
= (wxFont
*) 0 ;
14194 PyObject
*swig_obj
[1] ;
14196 if (!args
) SWIG_fail
;
14197 swig_obj
[0] = args
;
14198 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14199 if (!SWIG_IsOK(res1
)) {
14200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFaceName" "', expected argument " "1"" of type '" "wxFont const *""'");
14202 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14205 result
= ((wxFont
const *)arg1
)->GetFaceName();
14206 wxPyEndAllowThreads(__tstate
);
14207 if (PyErr_Occurred()) SWIG_fail
;
14211 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14213 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14222 SWIGINTERN PyObject
*_wrap_Font_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14223 PyObject
*resultobj
= 0;
14224 wxFont
*arg1
= (wxFont
*) 0 ;
14225 wxFontEncoding result
;
14228 PyObject
*swig_obj
[1] ;
14230 if (!args
) SWIG_fail
;
14231 swig_obj
[0] = args
;
14232 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14233 if (!SWIG_IsOK(res1
)) {
14234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetEncoding" "', expected argument " "1"" of type '" "wxFont const *""'");
14236 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14239 result
= (wxFontEncoding
)((wxFont
const *)arg1
)->GetEncoding();
14240 wxPyEndAllowThreads(__tstate
);
14241 if (PyErr_Occurred()) SWIG_fail
;
14243 resultobj
= SWIG_From_int(static_cast< int >(result
));
14250 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14251 PyObject
*resultobj
= 0;
14252 wxFont
*arg1
= (wxFont
*) 0 ;
14253 wxNativeFontInfo
*result
= 0 ;
14256 PyObject
*swig_obj
[1] ;
14258 if (!args
) SWIG_fail
;
14259 swig_obj
[0] = args
;
14260 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14261 if (!SWIG_IsOK(res1
)) {
14262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont const *""'");
14264 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14267 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
14268 wxPyEndAllowThreads(__tstate
);
14269 if (PyErr_Occurred()) SWIG_fail
;
14271 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
14278 SWIGINTERN PyObject
*_wrap_Font_IsFixedWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14279 PyObject
*resultobj
= 0;
14280 wxFont
*arg1
= (wxFont
*) 0 ;
14284 PyObject
*swig_obj
[1] ;
14286 if (!args
) SWIG_fail
;
14287 swig_obj
[0] = args
;
14288 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14289 if (!SWIG_IsOK(res1
)) {
14290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsFixedWidth" "', expected argument " "1"" of type '" "wxFont const *""'");
14292 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14295 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
14296 wxPyEndAllowThreads(__tstate
);
14297 if (PyErr_Occurred()) SWIG_fail
;
14300 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14308 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14309 PyObject
*resultobj
= 0;
14310 wxFont
*arg1
= (wxFont
*) 0 ;
14314 PyObject
*swig_obj
[1] ;
14316 if (!args
) SWIG_fail
;
14317 swig_obj
[0] = args
;
14318 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14319 if (!SWIG_IsOK(res1
)) {
14320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
14322 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14325 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
14326 wxPyEndAllowThreads(__tstate
);
14327 if (PyErr_Occurred()) SWIG_fail
;
14331 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14333 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14342 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14343 PyObject
*resultobj
= 0;
14344 wxFont
*arg1
= (wxFont
*) 0 ;
14348 PyObject
*swig_obj
[1] ;
14350 if (!args
) SWIG_fail
;
14351 swig_obj
[0] = args
;
14352 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14353 if (!SWIG_IsOK(res1
)) {
14354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
14356 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14359 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
14360 wxPyEndAllowThreads(__tstate
);
14361 if (PyErr_Occurred()) SWIG_fail
;
14365 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14367 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14376 SWIGINTERN PyObject
*_wrap_Font_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14377 PyObject
*resultobj
= 0;
14378 wxFont
*arg1
= (wxFont
*) 0 ;
14384 PyObject
* obj0
= 0 ;
14385 PyObject
* obj1
= 0 ;
14386 char * kwnames
[] = {
14387 (char *) "self",(char *) "pointSize", NULL
14390 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14391 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14392 if (!SWIG_IsOK(res1
)) {
14393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPointSize" "', expected argument " "1"" of type '" "wxFont *""'");
14395 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14396 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14397 if (!SWIG_IsOK(ecode2
)) {
14398 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetPointSize" "', expected argument " "2"" of type '" "int""'");
14400 arg2
= static_cast< int >(val2
);
14402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14403 (arg1
)->SetPointSize(arg2
);
14404 wxPyEndAllowThreads(__tstate
);
14405 if (PyErr_Occurred()) SWIG_fail
;
14407 resultobj
= SWIG_Py_Void();
14414 SWIGINTERN PyObject
*_wrap_Font_SetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14415 PyObject
*resultobj
= 0;
14416 wxFont
*arg1
= (wxFont
*) 0 ;
14421 PyObject
* obj0
= 0 ;
14422 PyObject
* obj1
= 0 ;
14423 char * kwnames
[] = {
14424 (char *) "self",(char *) "pixelSize", NULL
14427 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPixelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14428 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14429 if (!SWIG_IsOK(res1
)) {
14430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPixelSize" "', expected argument " "1"" of type '" "wxFont *""'");
14432 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14435 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14439 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
14440 wxPyEndAllowThreads(__tstate
);
14441 if (PyErr_Occurred()) SWIG_fail
;
14443 resultobj
= SWIG_Py_Void();
14450 SWIGINTERN PyObject
*_wrap_Font_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14451 PyObject
*resultobj
= 0;
14452 wxFont
*arg1
= (wxFont
*) 0 ;
14458 PyObject
* obj0
= 0 ;
14459 PyObject
* obj1
= 0 ;
14460 char * kwnames
[] = {
14461 (char *) "self",(char *) "family", NULL
14464 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14465 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14466 if (!SWIG_IsOK(res1
)) {
14467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFamily" "', expected argument " "1"" of type '" "wxFont *""'");
14469 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14470 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14471 if (!SWIG_IsOK(ecode2
)) {
14472 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetFamily" "', expected argument " "2"" of type '" "int""'");
14474 arg2
= static_cast< int >(val2
);
14476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14477 (arg1
)->SetFamily(arg2
);
14478 wxPyEndAllowThreads(__tstate
);
14479 if (PyErr_Occurred()) SWIG_fail
;
14481 resultobj
= SWIG_Py_Void();
14488 SWIGINTERN PyObject
*_wrap_Font_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14489 PyObject
*resultobj
= 0;
14490 wxFont
*arg1
= (wxFont
*) 0 ;
14496 PyObject
* obj0
= 0 ;
14497 PyObject
* obj1
= 0 ;
14498 char * kwnames
[] = {
14499 (char *) "self",(char *) "style", NULL
14502 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14503 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14504 if (!SWIG_IsOK(res1
)) {
14505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetStyle" "', expected argument " "1"" of type '" "wxFont *""'");
14507 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14508 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14509 if (!SWIG_IsOK(ecode2
)) {
14510 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetStyle" "', expected argument " "2"" of type '" "int""'");
14512 arg2
= static_cast< int >(val2
);
14514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14515 (arg1
)->SetStyle(arg2
);
14516 wxPyEndAllowThreads(__tstate
);
14517 if (PyErr_Occurred()) SWIG_fail
;
14519 resultobj
= SWIG_Py_Void();
14526 SWIGINTERN PyObject
*_wrap_Font_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14527 PyObject
*resultobj
= 0;
14528 wxFont
*arg1
= (wxFont
*) 0 ;
14534 PyObject
* obj0
= 0 ;
14535 PyObject
* obj1
= 0 ;
14536 char * kwnames
[] = {
14537 (char *) "self",(char *) "weight", NULL
14540 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14541 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14542 if (!SWIG_IsOK(res1
)) {
14543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetWeight" "', expected argument " "1"" of type '" "wxFont *""'");
14545 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14546 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14547 if (!SWIG_IsOK(ecode2
)) {
14548 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetWeight" "', expected argument " "2"" of type '" "int""'");
14550 arg2
= static_cast< int >(val2
);
14552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14553 (arg1
)->SetWeight(arg2
);
14554 wxPyEndAllowThreads(__tstate
);
14555 if (PyErr_Occurred()) SWIG_fail
;
14557 resultobj
= SWIG_Py_Void();
14564 SWIGINTERN PyObject
*_wrap_Font_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14565 PyObject
*resultobj
= 0;
14566 wxFont
*arg1
= (wxFont
*) 0 ;
14567 wxString
*arg2
= 0 ;
14571 bool temp2
= false ;
14572 PyObject
* obj0
= 0 ;
14573 PyObject
* obj1
= 0 ;
14574 char * kwnames
[] = {
14575 (char *) "self",(char *) "faceName", NULL
14578 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14579 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14580 if (!SWIG_IsOK(res1
)) {
14581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFaceName" "', expected argument " "1"" of type '" "wxFont *""'");
14583 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14585 arg2
= wxString_in_helper(obj1
);
14586 if (arg2
== NULL
) SWIG_fail
;
14590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14591 result
= (bool)(arg1
)->SetFaceName((wxString
const &)*arg2
);
14592 wxPyEndAllowThreads(__tstate
);
14593 if (PyErr_Occurred()) SWIG_fail
;
14596 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14612 SWIGINTERN PyObject
*_wrap_Font_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14613 PyObject
*resultobj
= 0;
14614 wxFont
*arg1
= (wxFont
*) 0 ;
14620 PyObject
* obj0
= 0 ;
14621 PyObject
* obj1
= 0 ;
14622 char * kwnames
[] = {
14623 (char *) "self",(char *) "underlined", NULL
14626 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14627 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14628 if (!SWIG_IsOK(res1
)) {
14629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetUnderlined" "', expected argument " "1"" of type '" "wxFont *""'");
14631 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14632 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
14633 if (!SWIG_IsOK(ecode2
)) {
14634 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
14636 arg2
= static_cast< bool >(val2
);
14638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14639 (arg1
)->SetUnderlined(arg2
);
14640 wxPyEndAllowThreads(__tstate
);
14641 if (PyErr_Occurred()) SWIG_fail
;
14643 resultobj
= SWIG_Py_Void();
14650 SWIGINTERN PyObject
*_wrap_Font_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14651 PyObject
*resultobj
= 0;
14652 wxFont
*arg1
= (wxFont
*) 0 ;
14653 wxFontEncoding arg2
;
14658 PyObject
* obj0
= 0 ;
14659 PyObject
* obj1
= 0 ;
14660 char * kwnames
[] = {
14661 (char *) "self",(char *) "encoding", NULL
14664 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14665 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14666 if (!SWIG_IsOK(res1
)) {
14667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetEncoding" "', expected argument " "1"" of type '" "wxFont *""'");
14669 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14670 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14671 if (!SWIG_IsOK(ecode2
)) {
14672 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
14674 arg2
= static_cast< wxFontEncoding
>(val2
);
14676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14677 (arg1
)->SetEncoding(arg2
);
14678 wxPyEndAllowThreads(__tstate
);
14679 if (PyErr_Occurred()) SWIG_fail
;
14681 resultobj
= SWIG_Py_Void();
14688 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14689 PyObject
*resultobj
= 0;
14690 wxFont
*arg1
= (wxFont
*) 0 ;
14691 wxNativeFontInfo
*arg2
= 0 ;
14696 PyObject
* obj0
= 0 ;
14697 PyObject
* obj1
= 0 ;
14698 char * kwnames
[] = {
14699 (char *) "self",(char *) "info", NULL
14702 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14703 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14704 if (!SWIG_IsOK(res1
)) {
14705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont *""'");
14707 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14708 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
14709 if (!SWIG_IsOK(res2
)) {
14710 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
14713 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
14715 arg2
= reinterpret_cast< wxNativeFontInfo
* >(argp2
);
14717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14718 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
14719 wxPyEndAllowThreads(__tstate
);
14720 if (PyErr_Occurred()) SWIG_fail
;
14722 resultobj
= SWIG_Py_Void();
14729 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14730 PyObject
*resultobj
= 0;
14731 wxFont
*arg1
= (wxFont
*) 0 ;
14732 wxString
*arg2
= 0 ;
14736 bool temp2
= false ;
14737 PyObject
* obj0
= 0 ;
14738 PyObject
* obj1
= 0 ;
14739 char * kwnames
[] = {
14740 (char *) "self",(char *) "info", NULL
14743 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14744 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14745 if (!SWIG_IsOK(res1
)) {
14746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoFromString" "', expected argument " "1"" of type '" "wxFont *""'");
14748 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14750 arg2
= wxString_in_helper(obj1
);
14751 if (arg2
== NULL
) SWIG_fail
;
14755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14756 result
= (bool)(arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
14757 wxPyEndAllowThreads(__tstate
);
14758 if (PyErr_Occurred()) SWIG_fail
;
14761 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14777 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14778 PyObject
*resultobj
= 0;
14779 wxFont
*arg1
= (wxFont
*) 0 ;
14780 wxString
*arg2
= 0 ;
14784 bool temp2
= false ;
14785 PyObject
* obj0
= 0 ;
14786 PyObject
* obj1
= 0 ;
14787 char * kwnames
[] = {
14788 (char *) "self",(char *) "info", NULL
14791 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14792 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14793 if (!SWIG_IsOK(res1
)) {
14794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont *""'");
14796 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14798 arg2
= wxString_in_helper(obj1
);
14799 if (arg2
== NULL
) SWIG_fail
;
14803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14804 result
= (bool)(arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
14805 wxPyEndAllowThreads(__tstate
);
14806 if (PyErr_Occurred()) SWIG_fail
;
14809 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14825 SWIGINTERN PyObject
*_wrap_Font_GetFamilyString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14826 PyObject
*resultobj
= 0;
14827 wxFont
*arg1
= (wxFont
*) 0 ;
14831 PyObject
*swig_obj
[1] ;
14833 if (!args
) SWIG_fail
;
14834 swig_obj
[0] = args
;
14835 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14836 if (!SWIG_IsOK(res1
)) {
14837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamilyString" "', expected argument " "1"" of type '" "wxFont const *""'");
14839 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14842 result
= ((wxFont
const *)arg1
)->GetFamilyString();
14843 wxPyEndAllowThreads(__tstate
);
14844 if (PyErr_Occurred()) SWIG_fail
;
14848 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14850 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14859 SWIGINTERN PyObject
*_wrap_Font_GetStyleString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14860 PyObject
*resultobj
= 0;
14861 wxFont
*arg1
= (wxFont
*) 0 ;
14865 PyObject
*swig_obj
[1] ;
14867 if (!args
) SWIG_fail
;
14868 swig_obj
[0] = args
;
14869 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14870 if (!SWIG_IsOK(res1
)) {
14871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyleString" "', expected argument " "1"" of type '" "wxFont const *""'");
14873 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14876 result
= ((wxFont
const *)arg1
)->GetStyleString();
14877 wxPyEndAllowThreads(__tstate
);
14878 if (PyErr_Occurred()) SWIG_fail
;
14882 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14884 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14893 SWIGINTERN PyObject
*_wrap_Font_GetWeightString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14894 PyObject
*resultobj
= 0;
14895 wxFont
*arg1
= (wxFont
*) 0 ;
14899 PyObject
*swig_obj
[1] ;
14901 if (!args
) SWIG_fail
;
14902 swig_obj
[0] = args
;
14903 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14904 if (!SWIG_IsOK(res1
)) {
14905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeightString" "', expected argument " "1"" of type '" "wxFont const *""'");
14907 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14910 result
= ((wxFont
const *)arg1
)->GetWeightString();
14911 wxPyEndAllowThreads(__tstate
);
14912 if (PyErr_Occurred()) SWIG_fail
;
14916 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14918 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14927 SWIGINTERN PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14928 PyObject
*resultobj
= 0;
14929 wxFont
*arg1
= (wxFont
*) 0 ;
14930 bool arg2
= (bool) true ;
14935 PyObject
* obj0
= 0 ;
14936 PyObject
* obj1
= 0 ;
14937 char * kwnames
[] = {
14938 (char *) "self",(char *) "no", NULL
14941 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14942 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14943 if (!SWIG_IsOK(res1
)) {
14944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont *""'");
14946 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14948 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
14949 if (!SWIG_IsOK(ecode2
)) {
14950 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "2"" of type '" "bool""'");
14952 arg2
= static_cast< bool >(val2
);
14955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14956 (arg1
)->SetNoAntiAliasing(arg2
);
14957 wxPyEndAllowThreads(__tstate
);
14958 if (PyErr_Occurred()) SWIG_fail
;
14960 resultobj
= SWIG_Py_Void();
14967 SWIGINTERN PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14968 PyObject
*resultobj
= 0;
14969 wxFont
*arg1
= (wxFont
*) 0 ;
14973 PyObject
*swig_obj
[1] ;
14975 if (!args
) SWIG_fail
;
14976 swig_obj
[0] = args
;
14977 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14978 if (!SWIG_IsOK(res1
)) {
14979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont const *""'");
14981 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14984 result
= (bool)((wxFont
const *)arg1
)->GetNoAntiAliasing();
14985 wxPyEndAllowThreads(__tstate
);
14986 if (PyErr_Occurred()) SWIG_fail
;
14989 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14997 SWIGINTERN PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14998 PyObject
*resultobj
= 0;
14999 wxFontEncoding result
;
15001 if (!SWIG_Python_UnpackTuple(args
,"Font_GetDefaultEncoding",0,0,0)) SWIG_fail
;
15003 if (!wxPyCheckForApp()) SWIG_fail
;
15004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15005 result
= (wxFontEncoding
)wxFont::GetDefaultEncoding();
15006 wxPyEndAllowThreads(__tstate
);
15007 if (PyErr_Occurred()) SWIG_fail
;
15009 resultobj
= SWIG_From_int(static_cast< int >(result
));
15016 SWIGINTERN PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15017 PyObject
*resultobj
= 0;
15018 wxFontEncoding arg1
;
15021 PyObject
* obj0
= 0 ;
15022 char * kwnames
[] = {
15023 (char *) "encoding", NULL
15026 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) SWIG_fail
;
15027 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15028 if (!SWIG_IsOK(ecode1
)) {
15029 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Font_SetDefaultEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
15031 arg1
= static_cast< wxFontEncoding
>(val1
);
15033 if (!wxPyCheckForApp()) SWIG_fail
;
15034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15035 wxFont::SetDefaultEncoding(arg1
);
15036 wxPyEndAllowThreads(__tstate
);
15037 if (PyErr_Occurred()) SWIG_fail
;
15039 resultobj
= SWIG_Py_Void();
15046 SWIGINTERN PyObject
*Font_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15048 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15049 SWIG_TypeNewClientData(SWIGTYPE_p_wxFont
, SWIG_NewClientData(obj
));
15050 return SWIG_Py_Void();
15053 SWIGINTERN PyObject
*Font_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15054 return SWIG_Python_InitShadowInstance(args
);
15057 SWIGINTERN PyObject
*_wrap_new_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15058 PyObject
*resultobj
= 0;
15059 wxPyFontEnumerator
*result
= 0 ;
15061 if (!SWIG_Python_UnpackTuple(args
,"new_FontEnumerator",0,0,0)) SWIG_fail
;
15063 if (!wxPyCheckForApp()) SWIG_fail
;
15064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15065 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
15066 wxPyEndAllowThreads(__tstate
);
15067 if (PyErr_Occurred()) SWIG_fail
;
15069 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_NEW
| 0 );
15076 SWIGINTERN PyObject
*_wrap_delete_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15077 PyObject
*resultobj
= 0;
15078 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15081 PyObject
*swig_obj
[1] ;
15083 if (!args
) SWIG_fail
;
15084 swig_obj
[0] = args
;
15085 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_DISOWN
| 0 );
15086 if (!SWIG_IsOK(res1
)) {
15087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontEnumerator" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15089 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15094 wxPyEndAllowThreads(__tstate
);
15095 if (PyErr_Occurred()) SWIG_fail
;
15097 resultobj
= SWIG_Py_Void();
15104 SWIGINTERN PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15105 PyObject
*resultobj
= 0;
15106 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15107 PyObject
*arg2
= (PyObject
*) 0 ;
15108 PyObject
*arg3
= (PyObject
*) 0 ;
15114 PyObject
* obj0
= 0 ;
15115 PyObject
* obj1
= 0 ;
15116 PyObject
* obj2
= 0 ;
15117 PyObject
* obj3
= 0 ;
15118 char * kwnames
[] = {
15119 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
15122 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15123 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15124 if (!SWIG_IsOK(res1
)) {
15125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15127 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15130 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
15131 if (!SWIG_IsOK(ecode4
)) {
15132 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "4"" of type '" "bool""'");
15134 arg4
= static_cast< bool >(val4
);
15136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15137 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
15138 wxPyEndAllowThreads(__tstate
);
15139 if (PyErr_Occurred()) SWIG_fail
;
15141 resultobj
= SWIG_Py_Void();
15148 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15149 PyObject
*resultobj
= 0;
15150 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15151 wxFontEncoding arg2
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
15152 bool arg3
= (bool) false ;
15160 PyObject
* obj0
= 0 ;
15161 PyObject
* obj1
= 0 ;
15162 PyObject
* obj2
= 0 ;
15163 char * kwnames
[] = {
15164 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
15167 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15168 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15169 if (!SWIG_IsOK(res1
)) {
15170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15172 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15174 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15175 if (!SWIG_IsOK(ecode2
)) {
15176 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "2"" of type '" "wxFontEncoding""'");
15178 arg2
= static_cast< wxFontEncoding
>(val2
);
15181 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
15182 if (!SWIG_IsOK(ecode3
)) {
15183 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "3"" of type '" "bool""'");
15185 arg3
= static_cast< bool >(val3
);
15188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15189 result
= (bool)(arg1
)->EnumerateFacenames(arg2
,arg3
);
15190 wxPyEndAllowThreads(__tstate
);
15191 if (PyErr_Occurred()) SWIG_fail
;
15194 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15202 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15203 PyObject
*resultobj
= 0;
15204 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15205 wxString
const &arg2_defvalue
= wxPyEmptyString
;
15206 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
15210 bool temp2
= false ;
15211 PyObject
* obj0
= 0 ;
15212 PyObject
* obj1
= 0 ;
15213 char * kwnames
[] = {
15214 (char *) "self",(char *) "facename", NULL
15217 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15218 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15219 if (!SWIG_IsOK(res1
)) {
15220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateEncodings" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15222 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15225 arg2
= wxString_in_helper(obj1
);
15226 if (arg2
== NULL
) SWIG_fail
;
15231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15232 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
15233 wxPyEndAllowThreads(__tstate
);
15234 if (PyErr_Occurred()) SWIG_fail
;
15237 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15253 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15254 PyObject
*resultobj
= 0;
15255 PyObject
*result
= 0 ;
15257 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetEncodings",0,0,0)) SWIG_fail
;
15259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15260 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings();
15261 wxPyEndAllowThreads(__tstate
);
15262 if (PyErr_Occurred()) SWIG_fail
;
15264 resultobj
= result
;
15271 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15272 PyObject
*resultobj
= 0;
15273 PyObject
*result
= 0 ;
15275 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetFacenames",0,0,0)) SWIG_fail
;
15277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15278 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames();
15279 wxPyEndAllowThreads(__tstate
);
15280 if (PyErr_Occurred()) SWIG_fail
;
15282 resultobj
= result
;
15289 SWIGINTERN PyObject
*_wrap_FontEnumerator_IsValidFacename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15290 PyObject
*resultobj
= 0;
15291 wxString
*arg1
= 0 ;
15293 bool temp1
= false ;
15294 PyObject
* obj0
= 0 ;
15295 char * kwnames
[] = {
15296 (char *) "str", NULL
15299 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_IsValidFacename",kwnames
,&obj0
)) SWIG_fail
;
15301 arg1
= wxString_in_helper(obj0
);
15302 if (arg1
== NULL
) SWIG_fail
;
15306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15307 result
= (bool)wxPyFontEnumerator::IsValidFacename((wxString
const &)*arg1
);
15308 wxPyEndAllowThreads(__tstate
);
15309 if (PyErr_Occurred()) SWIG_fail
;
15312 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15328 SWIGINTERN PyObject
*FontEnumerator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15330 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15331 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyFontEnumerator
, SWIG_NewClientData(obj
));
15332 return SWIG_Py_Void();
15335 SWIGINTERN PyObject
*FontEnumerator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15336 return SWIG_Python_InitShadowInstance(args
);
15339 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15340 PyObject
*resultobj
= 0;
15341 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15347 PyObject
*swig_obj
[2] ;
15349 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Language_set",2,2,swig_obj
)) SWIG_fail
;
15350 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15351 if (!SWIG_IsOK(res1
)) {
15352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15354 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15355 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
15356 if (!SWIG_IsOK(ecode2
)) {
15357 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LanguageInfo_Language_set" "', expected argument " "2"" of type '" "int""'");
15359 arg2
= static_cast< int >(val2
);
15360 if (arg1
) (arg1
)->Language
= arg2
;
15362 resultobj
= SWIG_Py_Void();
15369 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15370 PyObject
*resultobj
= 0;
15371 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15375 PyObject
*swig_obj
[1] ;
15377 if (!args
) SWIG_fail
;
15378 swig_obj
[0] = args
;
15379 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15380 if (!SWIG_IsOK(res1
)) {
15381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15383 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15384 result
= (int) ((arg1
)->Language
);
15385 resultobj
= SWIG_From_int(static_cast< int >(result
));
15392 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15393 PyObject
*resultobj
= 0;
15394 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15395 wxString
*arg2
= (wxString
*) 0 ;
15398 bool temp2
= false ;
15399 PyObject
*swig_obj
[2] ;
15401 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_CanonicalName_set",2,2,swig_obj
)) SWIG_fail
;
15402 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15403 if (!SWIG_IsOK(res1
)) {
15404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15406 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15408 arg2
= wxString_in_helper(swig_obj
[1]);
15409 if (arg2
== NULL
) SWIG_fail
;
15412 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
15414 resultobj
= SWIG_Py_Void();
15429 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15430 PyObject
*resultobj
= 0;
15431 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15432 wxString
*result
= 0 ;
15435 PyObject
*swig_obj
[1] ;
15437 if (!args
) SWIG_fail
;
15438 swig_obj
[0] = args
;
15439 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15440 if (!SWIG_IsOK(res1
)) {
15441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15443 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15444 result
= (wxString
*)& ((arg1
)->CanonicalName
);
15447 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15449 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15458 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15459 PyObject
*resultobj
= 0;
15460 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15461 wxString
*arg2
= (wxString
*) 0 ;
15464 bool temp2
= false ;
15465 PyObject
*swig_obj
[2] ;
15467 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Description_set",2,2,swig_obj
)) SWIG_fail
;
15468 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15469 if (!SWIG_IsOK(res1
)) {
15470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15472 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15474 arg2
= wxString_in_helper(swig_obj
[1]);
15475 if (arg2
== NULL
) SWIG_fail
;
15478 if (arg1
) (arg1
)->Description
= *arg2
;
15480 resultobj
= SWIG_Py_Void();
15495 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15496 PyObject
*resultobj
= 0;
15497 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15498 wxString
*result
= 0 ;
15501 PyObject
*swig_obj
[1] ;
15503 if (!args
) SWIG_fail
;
15504 swig_obj
[0] = args
;
15505 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15506 if (!SWIG_IsOK(res1
)) {
15507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15509 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15510 result
= (wxString
*)& ((arg1
)->Description
);
15513 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15515 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15524 SWIGINTERN PyObject
*LanguageInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15526 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15527 SWIG_TypeNewClientData(SWIGTYPE_p_wxLanguageInfo
, SWIG_NewClientData(obj
));
15528 return SWIG_Py_Void();
15531 SWIGINTERN PyObject
*_wrap_new_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15532 PyObject
*resultobj
= 0;
15533 int arg1
= (int) -1 ;
15534 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
15535 wxLocale
*result
= 0 ;
15540 PyObject
* obj0
= 0 ;
15541 PyObject
* obj1
= 0 ;
15542 char * kwnames
[] = {
15543 (char *) "language",(char *) "flags", NULL
15546 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15548 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15549 if (!SWIG_IsOK(ecode1
)) {
15550 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Locale" "', expected argument " "1"" of type '" "int""'");
15552 arg1
= static_cast< int >(val1
);
15555 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15556 if (!SWIG_IsOK(ecode2
)) {
15557 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Locale" "', expected argument " "2"" of type '" "int""'");
15559 arg2
= static_cast< int >(val2
);
15562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15563 result
= (wxLocale
*)new_wxLocale(arg1
,arg2
);
15564 wxPyEndAllowThreads(__tstate
);
15565 if (PyErr_Occurred()) SWIG_fail
;
15567 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, SWIG_POINTER_NEW
| 0 );
15574 SWIGINTERN PyObject
*_wrap_delete_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15575 PyObject
*resultobj
= 0;
15576 wxLocale
*arg1
= (wxLocale
*) 0 ;
15579 PyObject
*swig_obj
[1] ;
15581 if (!args
) SWIG_fail
;
15582 swig_obj
[0] = args
;
15583 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, SWIG_POINTER_DISOWN
| 0 );
15584 if (!SWIG_IsOK(res1
)) {
15585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Locale" "', expected argument " "1"" of type '" "wxLocale *""'");
15587 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15592 wxPyEndAllowThreads(__tstate
);
15593 if (PyErr_Occurred()) SWIG_fail
;
15595 resultobj
= SWIG_Py_Void();
15602 SWIGINTERN PyObject
*_wrap_Locale_Init1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15603 PyObject
*resultobj
= 0;
15604 wxLocale
*arg1
= (wxLocale
*) 0 ;
15605 wxString
*arg2
= 0 ;
15606 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15607 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15608 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15609 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15610 bool arg5
= (bool) true ;
15611 bool arg6
= (bool) false ;
15615 bool temp2
= false ;
15616 bool temp3
= false ;
15617 bool temp4
= false ;
15622 PyObject
* obj0
= 0 ;
15623 PyObject
* obj1
= 0 ;
15624 PyObject
* obj2
= 0 ;
15625 PyObject
* obj3
= 0 ;
15626 PyObject
* obj4
= 0 ;
15627 PyObject
* obj5
= 0 ;
15628 char * kwnames
[] = {
15629 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
15632 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
15633 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15634 if (!SWIG_IsOK(res1
)) {
15635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init1" "', expected argument " "1"" of type '" "wxLocale *""'");
15637 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15639 arg2
= wxString_in_helper(obj1
);
15640 if (arg2
== NULL
) SWIG_fail
;
15645 arg3
= wxString_in_helper(obj2
);
15646 if (arg3
== NULL
) SWIG_fail
;
15652 arg4
= wxString_in_helper(obj3
);
15653 if (arg4
== NULL
) SWIG_fail
;
15658 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
15659 if (!SWIG_IsOK(ecode5
)) {
15660 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Locale_Init1" "', expected argument " "5"" of type '" "bool""'");
15662 arg5
= static_cast< bool >(val5
);
15665 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
15666 if (!SWIG_IsOK(ecode6
)) {
15667 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Locale_Init1" "', expected argument " "6"" of type '" "bool""'");
15669 arg6
= static_cast< bool >(val6
);
15672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15673 result
= (bool)wxLocale_Init1(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
15674 wxPyEndAllowThreads(__tstate
);
15675 if (PyErr_Occurred()) SWIG_fail
;
15678 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15710 SWIGINTERN PyObject
*_wrap_Locale_Init2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15711 PyObject
*resultobj
= 0;
15712 wxLocale
*arg1
= (wxLocale
*) 0 ;
15713 int arg2
= (int) wxLANGUAGE_DEFAULT
;
15714 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
15722 PyObject
* obj0
= 0 ;
15723 PyObject
* obj1
= 0 ;
15724 PyObject
* obj2
= 0 ;
15725 char * kwnames
[] = {
15726 (char *) "self",(char *) "language",(char *) "flags", NULL
15729 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15730 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15731 if (!SWIG_IsOK(res1
)) {
15732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init2" "', expected argument " "1"" of type '" "wxLocale *""'");
15734 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15736 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15737 if (!SWIG_IsOK(ecode2
)) {
15738 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Locale_Init2" "', expected argument " "2"" of type '" "int""'");
15740 arg2
= static_cast< int >(val2
);
15743 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15744 if (!SWIG_IsOK(ecode3
)) {
15745 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Locale_Init2" "', expected argument " "3"" of type '" "int""'");
15747 arg3
= static_cast< int >(val3
);
15750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15751 result
= (bool)wxLocale_Init2(arg1
,arg2
,arg3
);
15752 wxPyEndAllowThreads(__tstate
);
15753 if (PyErr_Occurred()) SWIG_fail
;
15756 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15764 SWIGINTERN PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15765 PyObject
*resultobj
= 0;
15768 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemLanguage",0,0,0)) SWIG_fail
;
15770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15771 result
= (int)wxLocale::GetSystemLanguage();
15772 wxPyEndAllowThreads(__tstate
);
15773 if (PyErr_Occurred()) SWIG_fail
;
15775 resultobj
= SWIG_From_int(static_cast< int >(result
));
15782 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15783 PyObject
*resultobj
= 0;
15784 wxFontEncoding result
;
15786 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncoding",0,0,0)) SWIG_fail
;
15788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15789 result
= (wxFontEncoding
)wxLocale::GetSystemEncoding();
15790 wxPyEndAllowThreads(__tstate
);
15791 if (PyErr_Occurred()) SWIG_fail
;
15793 resultobj
= SWIG_From_int(static_cast< int >(result
));
15800 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15801 PyObject
*resultobj
= 0;
15804 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncodingName",0,0,0)) SWIG_fail
;
15806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15807 result
= wxLocale::GetSystemEncodingName();
15808 wxPyEndAllowThreads(__tstate
);
15809 if (PyErr_Occurred()) SWIG_fail
;
15813 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15815 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15824 SWIGINTERN PyObject
*_wrap_Locale_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15825 PyObject
*resultobj
= 0;
15826 wxLocale
*arg1
= (wxLocale
*) 0 ;
15830 PyObject
*swig_obj
[1] ;
15832 if (!args
) SWIG_fail
;
15833 swig_obj
[0] = args
;
15834 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15835 if (!SWIG_IsOK(res1
)) {
15836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsOk" "', expected argument " "1"" of type '" "wxLocale const *""'");
15838 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15841 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
15842 wxPyEndAllowThreads(__tstate
);
15843 if (PyErr_Occurred()) SWIG_fail
;
15846 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15854 SWIGINTERN PyObject
*_wrap_Locale_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15855 PyObject
*resultobj
= 0;
15856 wxLocale
*arg1
= (wxLocale
*) 0 ;
15860 PyObject
*swig_obj
[1] ;
15862 if (!args
) SWIG_fail
;
15863 swig_obj
[0] = args
;
15864 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15865 if (!SWIG_IsOK(res1
)) {
15866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLocale" "', expected argument " "1"" of type '" "wxLocale const *""'");
15868 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15871 result
= ((wxLocale
const *)arg1
)->GetLocale();
15872 wxPyEndAllowThreads(__tstate
);
15873 if (PyErr_Occurred()) SWIG_fail
;
15877 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15879 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15888 SWIGINTERN PyObject
*_wrap_Locale_GetLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15889 PyObject
*resultobj
= 0;
15890 wxLocale
*arg1
= (wxLocale
*) 0 ;
15894 PyObject
*swig_obj
[1] ;
15896 if (!args
) SWIG_fail
;
15897 swig_obj
[0] = args
;
15898 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15899 if (!SWIG_IsOK(res1
)) {
15900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLanguage" "', expected argument " "1"" of type '" "wxLocale const *""'");
15902 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15905 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
15906 wxPyEndAllowThreads(__tstate
);
15907 if (PyErr_Occurred()) SWIG_fail
;
15909 resultobj
= SWIG_From_int(static_cast< int >(result
));
15916 SWIGINTERN PyObject
*_wrap_Locale_GetSysName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15917 PyObject
*resultobj
= 0;
15918 wxLocale
*arg1
= (wxLocale
*) 0 ;
15922 PyObject
*swig_obj
[1] ;
15924 if (!args
) SWIG_fail
;
15925 swig_obj
[0] = args
;
15926 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15927 if (!SWIG_IsOK(res1
)) {
15928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetSysName" "', expected argument " "1"" of type '" "wxLocale const *""'");
15930 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15933 result
= ((wxLocale
const *)arg1
)->GetSysName();
15934 wxPyEndAllowThreads(__tstate
);
15935 if (PyErr_Occurred()) SWIG_fail
;
15939 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15941 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15950 SWIGINTERN PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15951 PyObject
*resultobj
= 0;
15952 wxLocale
*arg1
= (wxLocale
*) 0 ;
15956 PyObject
*swig_obj
[1] ;
15958 if (!args
) SWIG_fail
;
15959 swig_obj
[0] = args
;
15960 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15961 if (!SWIG_IsOK(res1
)) {
15962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetCanonicalName" "', expected argument " "1"" of type '" "wxLocale const *""'");
15964 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15967 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
15968 wxPyEndAllowThreads(__tstate
);
15969 if (PyErr_Occurred()) SWIG_fail
;
15973 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15975 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15984 SWIGINTERN PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15985 PyObject
*resultobj
= 0;
15986 wxString
*arg1
= 0 ;
15987 bool temp1
= false ;
15988 PyObject
* obj0
= 0 ;
15989 char * kwnames
[] = {
15990 (char *) "prefix", NULL
15993 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) SWIG_fail
;
15995 arg1
= wxString_in_helper(obj0
);
15996 if (arg1
== NULL
) SWIG_fail
;
16000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16001 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
16002 wxPyEndAllowThreads(__tstate
);
16003 if (PyErr_Occurred()) SWIG_fail
;
16005 resultobj
= SWIG_Py_Void();
16020 SWIGINTERN PyObject
*_wrap_Locale_AddCatalog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16021 PyObject
*resultobj
= 0;
16022 wxLocale
*arg1
= (wxLocale
*) 0 ;
16023 wxString
*arg2
= 0 ;
16027 bool temp2
= false ;
16028 PyObject
* obj0
= 0 ;
16029 PyObject
* obj1
= 0 ;
16030 char * kwnames
[] = {
16031 (char *) "self",(char *) "szDomain", NULL
16034 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16035 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16036 if (!SWIG_IsOK(res1
)) {
16037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddCatalog" "', expected argument " "1"" of type '" "wxLocale *""'");
16039 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16041 arg2
= wxString_in_helper(obj1
);
16042 if (arg2
== NULL
) SWIG_fail
;
16046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16047 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
16048 wxPyEndAllowThreads(__tstate
);
16049 if (PyErr_Occurred()) SWIG_fail
;
16052 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16068 SWIGINTERN PyObject
*_wrap_Locale_IsAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16069 PyObject
*resultobj
= 0;
16074 PyObject
* obj0
= 0 ;
16075 char * kwnames
[] = {
16076 (char *) "lang", NULL
16079 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsAvailable",kwnames
,&obj0
)) SWIG_fail
;
16080 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16081 if (!SWIG_IsOK(ecode1
)) {
16082 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_IsAvailable" "', expected argument " "1"" of type '" "int""'");
16084 arg1
= static_cast< int >(val1
);
16086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16087 result
= (bool)wxLocale::IsAvailable(arg1
);
16088 wxPyEndAllowThreads(__tstate
);
16089 if (PyErr_Occurred()) SWIG_fail
;
16092 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16100 SWIGINTERN PyObject
*_wrap_Locale_IsLoaded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16101 PyObject
*resultobj
= 0;
16102 wxLocale
*arg1
= (wxLocale
*) 0 ;
16103 wxString
*arg2
= 0 ;
16107 bool temp2
= false ;
16108 PyObject
* obj0
= 0 ;
16109 PyObject
* obj1
= 0 ;
16110 char * kwnames
[] = {
16111 (char *) "self",(char *) "szDomain", NULL
16114 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16115 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16116 if (!SWIG_IsOK(res1
)) {
16117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsLoaded" "', expected argument " "1"" of type '" "wxLocale const *""'");
16119 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16121 arg2
= wxString_in_helper(obj1
);
16122 if (arg2
== NULL
) SWIG_fail
;
16126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16127 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
16128 wxPyEndAllowThreads(__tstate
);
16129 if (PyErr_Occurred()) SWIG_fail
;
16132 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16148 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16149 PyObject
*resultobj
= 0;
16151 wxLanguageInfo
*result
= 0 ;
16154 PyObject
* obj0
= 0 ;
16155 char * kwnames
[] = {
16156 (char *) "lang", NULL
16159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
16160 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16161 if (!SWIG_IsOK(ecode1
)) {
16162 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageInfo" "', expected argument " "1"" of type '" "int""'");
16164 arg1
= static_cast< int >(val1
);
16166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16167 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
16168 wxPyEndAllowThreads(__tstate
);
16169 if (PyErr_Occurred()) SWIG_fail
;
16171 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16178 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16179 PyObject
*resultobj
= 0;
16184 PyObject
* obj0
= 0 ;
16185 char * kwnames
[] = {
16186 (char *) "lang", NULL
16189 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) SWIG_fail
;
16190 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16191 if (!SWIG_IsOK(ecode1
)) {
16192 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageName" "', expected argument " "1"" of type '" "int""'");
16194 arg1
= static_cast< int >(val1
);
16196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16197 result
= wxLocale::GetLanguageName(arg1
);
16198 wxPyEndAllowThreads(__tstate
);
16199 if (PyErr_Occurred()) SWIG_fail
;
16203 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16205 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16214 SWIGINTERN PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16215 PyObject
*resultobj
= 0;
16216 wxString
*arg1
= 0 ;
16217 wxLanguageInfo
*result
= 0 ;
16218 bool temp1
= false ;
16219 PyObject
* obj0
= 0 ;
16220 char * kwnames
[] = {
16221 (char *) "locale", NULL
16224 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
16226 arg1
= wxString_in_helper(obj0
);
16227 if (arg1
== NULL
) SWIG_fail
;
16231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16232 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
16233 wxPyEndAllowThreads(__tstate
);
16234 if (PyErr_Occurred()) SWIG_fail
;
16236 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16251 SWIGINTERN PyObject
*_wrap_Locale_AddLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16252 PyObject
*resultobj
= 0;
16253 wxLanguageInfo
*arg1
= 0 ;
16256 PyObject
* obj0
= 0 ;
16257 char * kwnames
[] = {
16258 (char *) "info", NULL
16261 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) SWIG_fail
;
16262 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxLanguageInfo
, 0 | 0);
16263 if (!SWIG_IsOK(res1
)) {
16264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
16267 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
16269 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16272 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
16273 wxPyEndAllowThreads(__tstate
);
16274 if (PyErr_Occurred()) SWIG_fail
;
16276 resultobj
= SWIG_Py_Void();
16283 SWIGINTERN PyObject
*_wrap_Locale_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16284 PyObject
*resultobj
= 0;
16285 wxLocale
*arg1
= (wxLocale
*) 0 ;
16286 wxString
*arg2
= 0 ;
16287 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16288 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16292 bool temp2
= false ;
16293 bool temp3
= false ;
16294 PyObject
* obj0
= 0 ;
16295 PyObject
* obj1
= 0 ;
16296 PyObject
* obj2
= 0 ;
16297 char * kwnames
[] = {
16298 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
16301 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16302 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16303 if (!SWIG_IsOK(res1
)) {
16304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetString" "', expected argument " "1"" of type '" "wxLocale const *""'");
16306 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16308 arg2
= wxString_in_helper(obj1
);
16309 if (arg2
== NULL
) SWIG_fail
;
16314 arg3
= wxString_in_helper(obj2
);
16315 if (arg3
== NULL
) SWIG_fail
;
16320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16321 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
16322 wxPyEndAllowThreads(__tstate
);
16323 if (PyErr_Occurred()) SWIG_fail
;
16327 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16329 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16354 SWIGINTERN PyObject
*_wrap_Locale_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16355 PyObject
*resultobj
= 0;
16356 wxLocale
*arg1
= (wxLocale
*) 0 ;
16357 wxString
*result
= 0 ;
16360 PyObject
*swig_obj
[1] ;
16362 if (!args
) SWIG_fail
;
16363 swig_obj
[0] = args
;
16364 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16365 if (!SWIG_IsOK(res1
)) {
16366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16368 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16372 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
16373 result
= (wxString
*) &_result_ref
;
16375 wxPyEndAllowThreads(__tstate
);
16376 if (PyErr_Occurred()) SWIG_fail
;
16380 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16382 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16391 SWIGINTERN PyObject
*Locale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16393 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16394 SWIG_TypeNewClientData(SWIGTYPE_p_wxLocale
, SWIG_NewClientData(obj
));
16395 return SWIG_Py_Void();
16398 SWIGINTERN PyObject
*Locale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16399 return SWIG_Python_InitShadowInstance(args
);
16402 SWIGINTERN PyObject
*_wrap_new_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16403 PyObject
*resultobj
= 0;
16404 int arg1
= (int) -1 ;
16405 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16406 wxPyLocale
*result
= 0 ;
16411 PyObject
* obj0
= 0 ;
16412 PyObject
* obj1
= 0 ;
16413 char * kwnames
[] = {
16414 (char *) "language",(char *) "flags", NULL
16417 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyLocale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16419 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16420 if (!SWIG_IsOK(ecode1
)) {
16421 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PyLocale" "', expected argument " "1"" of type '" "int""'");
16423 arg1
= static_cast< int >(val1
);
16426 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16427 if (!SWIG_IsOK(ecode2
)) {
16428 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyLocale" "', expected argument " "2"" of type '" "int""'");
16430 arg2
= static_cast< int >(val2
);
16433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16434 result
= (wxPyLocale
*)new_wxPyLocale(arg1
,arg2
);
16435 wxPyEndAllowThreads(__tstate
);
16436 if (PyErr_Occurred()) SWIG_fail
;
16438 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_NEW
| 0 );
16445 SWIGINTERN PyObject
*_wrap_delete_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16446 PyObject
*resultobj
= 0;
16447 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16450 PyObject
*swig_obj
[1] ;
16452 if (!args
) SWIG_fail
;
16453 swig_obj
[0] = args
;
16454 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_DISOWN
| 0 );
16455 if (!SWIG_IsOK(res1
)) {
16456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PyLocale" "', expected argument " "1"" of type '" "wxPyLocale *""'");
16458 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16463 wxPyEndAllowThreads(__tstate
);
16464 if (PyErr_Occurred()) SWIG_fail
;
16466 resultobj
= SWIG_Py_Void();
16473 SWIGINTERN PyObject
*_wrap_PyLocale__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16474 PyObject
*resultobj
= 0;
16475 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16476 PyObject
*arg2
= (PyObject
*) 0 ;
16477 PyObject
*arg3
= (PyObject
*) 0 ;
16480 PyObject
* obj0
= 0 ;
16481 PyObject
* obj1
= 0 ;
16482 PyObject
* obj2
= 0 ;
16483 char * kwnames
[] = {
16484 (char *) "self",(char *) "self",(char *) "_class", NULL
16487 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLocale__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16488 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16489 if (!SWIG_IsOK(res1
)) {
16490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyLocale *""'");
16492 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16497 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16498 wxPyEndAllowThreads(__tstate
);
16499 if (PyErr_Occurred()) SWIG_fail
;
16501 resultobj
= SWIG_Py_Void();
16508 SWIGINTERN PyObject
*_wrap_PyLocale_GetSingularString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16509 PyObject
*resultobj
= 0;
16510 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16511 wxChar
*arg2
= (wxChar
*) 0 ;
16512 wxChar
*arg3
= (wxChar
*) NULL
;
16513 wxChar
*result
= 0 ;
16520 PyObject
* obj0
= 0 ;
16521 PyObject
* obj1
= 0 ;
16522 PyObject
* obj2
= 0 ;
16523 char * kwnames
[] = {
16524 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
16527 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyLocale_GetSingularString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16528 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16529 if (!SWIG_IsOK(res1
)) {
16530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetSingularString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
16532 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16533 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
16534 if (!SWIG_IsOK(res2
)) {
16535 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetSingularString" "', expected argument " "2"" of type '" "wxChar const *""'");
16537 arg2
= reinterpret_cast< wxChar
* >(argp2
);
16539 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
16540 if (!SWIG_IsOK(res3
)) {
16541 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetSingularString" "', expected argument " "3"" of type '" "wxChar const *""'");
16543 arg3
= reinterpret_cast< wxChar
* >(argp3
);
16546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16547 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetSingularString((wxChar
const *)arg2
,(wxChar
const *)arg3
);
16548 wxPyEndAllowThreads(__tstate
);
16549 if (PyErr_Occurred()) SWIG_fail
;
16551 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
16558 SWIGINTERN PyObject
*_wrap_PyLocale_GetPluralString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16559 PyObject
*resultobj
= 0;
16560 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16561 wxChar
*arg2
= (wxChar
*) 0 ;
16562 wxChar
*arg3
= (wxChar
*) 0 ;
16564 wxChar
*arg5
= (wxChar
*) NULL
;
16565 wxChar
*result
= 0 ;
16576 PyObject
* obj0
= 0 ;
16577 PyObject
* obj1
= 0 ;
16578 PyObject
* obj2
= 0 ;
16579 PyObject
* obj3
= 0 ;
16580 PyObject
* obj4
= 0 ;
16581 char * kwnames
[] = {
16582 (char *) "self",(char *) "szOrigString",(char *) "szOrigString2",(char *) "n",(char *) "szDomain", NULL
16585 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PyLocale_GetPluralString",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
16586 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16587 if (!SWIG_IsOK(res1
)) {
16588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetPluralString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
16590 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16591 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
16592 if (!SWIG_IsOK(res2
)) {
16593 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetPluralString" "', expected argument " "2"" of type '" "wxChar const *""'");
16595 arg2
= reinterpret_cast< wxChar
* >(argp2
);
16596 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
16597 if (!SWIG_IsOK(res3
)) {
16598 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetPluralString" "', expected argument " "3"" of type '" "wxChar const *""'");
16600 arg3
= reinterpret_cast< wxChar
* >(argp3
);
16601 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
16602 if (!SWIG_IsOK(ecode4
)) {
16603 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyLocale_GetPluralString" "', expected argument " "4"" of type '" "size_t""'");
16605 arg4
= static_cast< size_t >(val4
);
16607 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxChar
, 0 | 0 );
16608 if (!SWIG_IsOK(res5
)) {
16609 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "PyLocale_GetPluralString" "', expected argument " "5"" of type '" "wxChar const *""'");
16611 arg5
= reinterpret_cast< wxChar
* >(argp5
);
16614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16615 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetPluralString((wxChar
const *)arg2
,(wxChar
const *)arg3
,arg4
,(wxChar
const *)arg5
);
16616 wxPyEndAllowThreads(__tstate
);
16617 if (PyErr_Occurred()) SWIG_fail
;
16619 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
16626 SWIGINTERN PyObject
*PyLocale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16628 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16629 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyLocale
, SWIG_NewClientData(obj
));
16630 return SWIG_Py_Void();
16633 SWIGINTERN PyObject
*PyLocale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16634 return SWIG_Python_InitShadowInstance(args
);
16637 SWIGINTERN PyObject
*_wrap_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16638 PyObject
*resultobj
= 0;
16639 wxLocale
*result
= 0 ;
16641 if (!SWIG_Python_UnpackTuple(args
,"GetLocale",0,0,0)) SWIG_fail
;
16643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16644 result
= (wxLocale
*)wxGetLocale();
16645 wxPyEndAllowThreads(__tstate
);
16646 if (PyErr_Occurred()) SWIG_fail
;
16648 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, 0 | 0 );
16655 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
16656 PyObject
*resultobj
= 0;
16657 wxString
*arg1
= 0 ;
16659 bool temp1
= false ;
16661 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
16663 arg1
= wxString_in_helper(swig_obj
[0]);
16664 if (arg1
== NULL
) SWIG_fail
;
16668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16669 result
= wxGetTranslation((wxString
const &)*arg1
);
16670 wxPyEndAllowThreads(__tstate
);
16671 if (PyErr_Occurred()) SWIG_fail
;
16675 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16677 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16694 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
16695 PyObject
*resultobj
= 0;
16696 wxString
*arg1
= 0 ;
16697 wxString
*arg2
= 0 ;
16699 bool temp1
= false ;
16700 bool temp2
= false ;
16702 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
16704 arg1
= wxString_in_helper(swig_obj
[0]);
16705 if (arg1
== NULL
) SWIG_fail
;
16709 arg2
= wxString_in_helper(swig_obj
[1]);
16710 if (arg2
== NULL
) SWIG_fail
;
16714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16715 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
);
16716 wxPyEndAllowThreads(__tstate
);
16717 if (PyErr_Occurred()) SWIG_fail
;
16721 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16723 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16748 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
16749 PyObject
*resultobj
= 0;
16750 wxString
*arg1
= 0 ;
16751 wxString
*arg2
= 0 ;
16754 bool temp1
= false ;
16755 bool temp2
= false ;
16759 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
16761 arg1
= wxString_in_helper(swig_obj
[0]);
16762 if (arg1
== NULL
) SWIG_fail
;
16766 arg2
= wxString_in_helper(swig_obj
[1]);
16767 if (arg2
== NULL
) SWIG_fail
;
16770 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
16771 if (!SWIG_IsOK(ecode3
)) {
16772 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
16774 arg3
= static_cast< size_t >(val3
);
16776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16777 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
16778 wxPyEndAllowThreads(__tstate
);
16779 if (PyErr_Occurred()) SWIG_fail
;
16783 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16785 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16810 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_3(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
16811 PyObject
*resultobj
= 0;
16812 wxString
*arg1
= 0 ;
16813 wxString
*arg2
= 0 ;
16815 wxString
*arg4
= 0 ;
16817 bool temp1
= false ;
16818 bool temp2
= false ;
16821 bool temp4
= false ;
16823 if ((nobjs
< 4) || (nobjs
> 4)) SWIG_fail
;
16825 arg1
= wxString_in_helper(swig_obj
[0]);
16826 if (arg1
== NULL
) SWIG_fail
;
16830 arg2
= wxString_in_helper(swig_obj
[1]);
16831 if (arg2
== NULL
) SWIG_fail
;
16834 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
16835 if (!SWIG_IsOK(ecode3
)) {
16836 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
16838 arg3
= static_cast< size_t >(val3
);
16840 arg4
= wxString_in_helper(swig_obj
[3]);
16841 if (arg4
== NULL
) SWIG_fail
;
16845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16846 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxString
const &)*arg4
);
16847 wxPyEndAllowThreads(__tstate
);
16848 if (PyErr_Occurred()) SWIG_fail
;
16852 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16854 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16887 SWIGINTERN PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
16891 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GetTranslation",0,4,argv
))) SWIG_fail
;
16894 return _wrap_GetTranslation__SWIG_0(self
, argc
, argv
);
16897 return _wrap_GetTranslation__SWIG_1(self
, argc
, argv
);
16900 return _wrap_GetTranslation__SWIG_2(self
, argc
, argv
);
16903 return _wrap_GetTranslation__SWIG_3(self
, argc
, argv
);
16907 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GetTranslation'");
16912 SWIGINTERN PyObject
*_wrap_new_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16913 PyObject
*resultobj
= 0;
16914 wxEncodingConverter
*result
= 0 ;
16916 if (!SWIG_Python_UnpackTuple(args
,"new_EncodingConverter",0,0,0)) SWIG_fail
;
16918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16919 result
= (wxEncodingConverter
*)new wxEncodingConverter();
16920 wxPyEndAllowThreads(__tstate
);
16921 if (PyErr_Occurred()) SWIG_fail
;
16923 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_NEW
| 0 );
16930 SWIGINTERN PyObject
*_wrap_delete_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16931 PyObject
*resultobj
= 0;
16932 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
16935 PyObject
*swig_obj
[1] ;
16937 if (!args
) SWIG_fail
;
16938 swig_obj
[0] = args
;
16939 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_DISOWN
| 0 );
16940 if (!SWIG_IsOK(res1
)) {
16941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_EncodingConverter" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
16943 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
16945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16948 wxPyEndAllowThreads(__tstate
);
16949 if (PyErr_Occurred()) SWIG_fail
;
16951 resultobj
= SWIG_Py_Void();
16958 SWIGINTERN PyObject
*_wrap_EncodingConverter_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16959 PyObject
*resultobj
= 0;
16960 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
16961 wxFontEncoding arg2
;
16962 wxFontEncoding arg3
;
16963 int arg4
= (int) wxCONVERT_STRICT
;
16973 PyObject
* obj0
= 0 ;
16974 PyObject
* obj1
= 0 ;
16975 PyObject
* obj2
= 0 ;
16976 PyObject
* obj3
= 0 ;
16977 char * kwnames
[] = {
16978 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
16981 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16982 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
16983 if (!SWIG_IsOK(res1
)) {
16984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Init" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
16986 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
16987 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16988 if (!SWIG_IsOK(ecode2
)) {
16989 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_Init" "', expected argument " "2"" of type '" "wxFontEncoding""'");
16991 arg2
= static_cast< wxFontEncoding
>(val2
);
16992 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16993 if (!SWIG_IsOK(ecode3
)) {
16994 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "EncodingConverter_Init" "', expected argument " "3"" of type '" "wxFontEncoding""'");
16996 arg3
= static_cast< wxFontEncoding
>(val3
);
16998 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16999 if (!SWIG_IsOK(ecode4
)) {
17000 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "EncodingConverter_Init" "', expected argument " "4"" of type '" "int""'");
17002 arg4
= static_cast< int >(val4
);
17005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17006 result
= (bool)(arg1
)->Init(arg2
,arg3
,arg4
);
17007 wxPyEndAllowThreads(__tstate
);
17008 if (PyErr_Occurred()) SWIG_fail
;
17011 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17019 SWIGINTERN PyObject
*_wrap_EncodingConverter_Convert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17020 PyObject
*resultobj
= 0;
17021 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17022 wxString
*arg2
= 0 ;
17026 bool temp2
= false ;
17027 PyObject
* obj0
= 0 ;
17028 PyObject
* obj1
= 0 ;
17029 char * kwnames
[] = {
17030 (char *) "self",(char *) "input", NULL
17033 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17034 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
17035 if (!SWIG_IsOK(res1
)) {
17036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Convert" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17038 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17040 arg2
= wxString_in_helper(obj1
);
17041 if (arg2
== NULL
) SWIG_fail
;
17045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17046 result
= (arg1
)->Convert((wxString
const &)*arg2
);
17047 wxPyEndAllowThreads(__tstate
);
17048 if (PyErr_Occurred()) SWIG_fail
;
17052 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17054 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17071 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17072 PyObject
*resultobj
= 0;
17073 wxFontEncoding arg1
;
17074 int arg2
= (int) wxPLATFORM_CURRENT
;
17075 wxFontEncodingArray result
;
17080 PyObject
* obj0
= 0 ;
17081 PyObject
* obj1
= 0 ;
17082 char * kwnames
[] = {
17083 (char *) "enc",(char *) "platform", NULL
17086 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17087 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17088 if (!SWIG_IsOK(ecode1
)) {
17089 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17091 arg1
= static_cast< wxFontEncoding
>(val1
);
17093 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17094 if (!SWIG_IsOK(ecode2
)) {
17095 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "2"" of type '" "int""'");
17097 arg2
= static_cast< int >(val2
);
17100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17101 result
= wxEncodingConverter::GetPlatformEquivalents(arg1
,arg2
);
17102 wxPyEndAllowThreads(__tstate
);
17103 if (PyErr_Occurred()) SWIG_fail
;
17106 resultobj
= PyList_New(0);
17107 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
17108 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
17109 PyList_Append(resultobj
, number
);
17119 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17120 PyObject
*resultobj
= 0;
17121 wxFontEncoding arg1
;
17122 wxFontEncodingArray result
;
17125 PyObject
* obj0
= 0 ;
17126 char * kwnames
[] = {
17127 (char *) "enc", NULL
17130 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) SWIG_fail
;
17131 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17132 if (!SWIG_IsOK(ecode1
)) {
17133 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetAllEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17135 arg1
= static_cast< wxFontEncoding
>(val1
);
17137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17138 result
= wxEncodingConverter::GetAllEquivalents(arg1
);
17139 wxPyEndAllowThreads(__tstate
);
17140 if (PyErr_Occurred()) SWIG_fail
;
17143 resultobj
= PyList_New(0);
17144 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
17145 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
17146 PyList_Append(resultobj
, number
);
17156 SWIGINTERN PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17157 PyObject
*resultobj
= 0;
17158 wxFontEncoding arg1
;
17159 wxFontEncoding arg2
;
17165 PyObject
* obj0
= 0 ;
17166 PyObject
* obj1
= 0 ;
17167 char * kwnames
[] = {
17168 (char *) "encIn",(char *) "encOut", NULL
17171 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17172 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17173 if (!SWIG_IsOK(ecode1
)) {
17174 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17176 arg1
= static_cast< wxFontEncoding
>(val1
);
17177 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17178 if (!SWIG_IsOK(ecode2
)) {
17179 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "2"" of type '" "wxFontEncoding""'");
17181 arg2
= static_cast< wxFontEncoding
>(val2
);
17183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17184 result
= (bool)wxEncodingConverter::CanConvert(arg1
,arg2
);
17185 wxPyEndAllowThreads(__tstate
);
17186 if (PyErr_Occurred()) SWIG_fail
;
17189 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17197 SWIGINTERN PyObject
*EncodingConverter_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17199 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17200 SWIG_TypeNewClientData(SWIGTYPE_p_wxEncodingConverter
, SWIG_NewClientData(obj
));
17201 return SWIG_Py_Void();
17204 SWIGINTERN PyObject
*EncodingConverter_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17205 return SWIG_Python_InitShadowInstance(args
);
17208 SWIGINTERN PyObject
*_wrap_delete_DC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17209 PyObject
*resultobj
= 0;
17210 wxDC
*arg1
= (wxDC
*) 0 ;
17213 PyObject
*swig_obj
[1] ;
17215 if (!args
) SWIG_fail
;
17216 swig_obj
[0] = args
;
17217 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, SWIG_POINTER_DISOWN
| 0 );
17218 if (!SWIG_IsOK(res1
)) {
17219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DC" "', expected argument " "1"" of type '" "wxDC *""'");
17221 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17226 wxPyEndAllowThreads(__tstate
);
17227 if (PyErr_Occurred()) SWIG_fail
;
17229 resultobj
= SWIG_Py_Void();
17236 SWIGINTERN PyObject
*_wrap_DC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17237 PyObject
*resultobj
= 0;
17238 wxDC
*arg1
= (wxDC
*) 0 ;
17241 wxColour
*arg4
= 0 ;
17242 int arg5
= (int) wxFLOOD_SURFACE
;
17253 PyObject
* obj0
= 0 ;
17254 PyObject
* obj1
= 0 ;
17255 PyObject
* obj2
= 0 ;
17256 PyObject
* obj3
= 0 ;
17257 PyObject
* obj4
= 0 ;
17258 char * kwnames
[] = {
17259 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
17262 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17263 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17264 if (!SWIG_IsOK(res1
)) {
17265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFill" "', expected argument " "1"" of type '" "wxDC *""'");
17267 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17268 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17269 if (!SWIG_IsOK(ecode2
)) {
17270 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_FloodFill" "', expected argument " "2"" of type '" "int""'");
17272 arg2
= static_cast< int >(val2
);
17273 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17274 if (!SWIG_IsOK(ecode3
)) {
17275 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_FloodFill" "', expected argument " "3"" of type '" "int""'");
17277 arg3
= static_cast< int >(val3
);
17280 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17283 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17284 if (!SWIG_IsOK(ecode5
)) {
17285 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_FloodFill" "', expected argument " "5"" of type '" "int""'");
17287 arg5
= static_cast< int >(val5
);
17290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17291 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
17292 wxPyEndAllowThreads(__tstate
);
17293 if (PyErr_Occurred()) SWIG_fail
;
17296 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17304 SWIGINTERN PyObject
*_wrap_DC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17305 PyObject
*resultobj
= 0;
17306 wxDC
*arg1
= (wxDC
*) 0 ;
17307 wxPoint
*arg2
= 0 ;
17308 wxColour
*arg3
= 0 ;
17309 int arg4
= (int) wxFLOOD_SURFACE
;
17317 PyObject
* obj0
= 0 ;
17318 PyObject
* obj1
= 0 ;
17319 PyObject
* obj2
= 0 ;
17320 PyObject
* obj3
= 0 ;
17321 char * kwnames
[] = {
17322 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
17325 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17326 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17327 if (!SWIG_IsOK(res1
)) {
17328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFillPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17330 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17333 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17337 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17340 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17341 if (!SWIG_IsOK(ecode4
)) {
17342 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
17344 arg4
= static_cast< int >(val4
);
17347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17348 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
17349 wxPyEndAllowThreads(__tstate
);
17350 if (PyErr_Occurred()) SWIG_fail
;
17353 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17361 SWIGINTERN PyObject
*_wrap_DC_GradientFillConcentric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17362 PyObject
*resultobj
= 0;
17363 wxDC
*arg1
= (wxDC
*) 0 ;
17365 wxColour
*arg3
= 0 ;
17366 wxColour
*arg4
= 0 ;
17367 wxPoint
*arg5
= 0 ;
17374 PyObject
* obj0
= 0 ;
17375 PyObject
* obj1
= 0 ;
17376 PyObject
* obj2
= 0 ;
17377 PyObject
* obj3
= 0 ;
17378 PyObject
* obj4
= 0 ;
17379 char * kwnames
[] = {
17380 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "circleCenter", NULL
17383 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_GradientFillConcentric",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17384 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17385 if (!SWIG_IsOK(res1
)) {
17386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillConcentric" "', expected argument " "1"" of type '" "wxDC *""'");
17388 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17391 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17395 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17399 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17403 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17407 (arg1
)->GradientFillConcentric((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
);
17408 wxPyEndAllowThreads(__tstate
);
17409 if (PyErr_Occurred()) SWIG_fail
;
17411 resultobj
= SWIG_Py_Void();
17418 SWIGINTERN PyObject
*_wrap_DC_GradientFillLinear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17419 PyObject
*resultobj
= 0;
17420 wxDC
*arg1
= (wxDC
*) 0 ;
17422 wxColour
*arg3
= 0 ;
17423 wxColour
*arg4
= 0 ;
17424 wxDirection arg5
= (wxDirection
) wxEAST
;
17432 PyObject
* obj0
= 0 ;
17433 PyObject
* obj1
= 0 ;
17434 PyObject
* obj2
= 0 ;
17435 PyObject
* obj3
= 0 ;
17436 PyObject
* obj4
= 0 ;
17437 char * kwnames
[] = {
17438 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "nDirection", NULL
17441 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_GradientFillLinear",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17442 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17443 if (!SWIG_IsOK(res1
)) {
17444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillLinear" "', expected argument " "1"" of type '" "wxDC *""'");
17446 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17449 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17453 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17457 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17460 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17461 if (!SWIG_IsOK(ecode5
)) {
17462 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_GradientFillLinear" "', expected argument " "5"" of type '" "wxDirection""'");
17464 arg5
= static_cast< wxDirection
>(val5
);
17467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17468 (arg1
)->GradientFillLinear((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,arg5
);
17469 wxPyEndAllowThreads(__tstate
);
17470 if (PyErr_Occurred()) SWIG_fail
;
17472 resultobj
= SWIG_Py_Void();
17479 SWIGINTERN PyObject
*_wrap_DC_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17480 PyObject
*resultobj
= 0;
17481 wxDC
*arg1
= (wxDC
*) 0 ;
17491 PyObject
* obj0
= 0 ;
17492 PyObject
* obj1
= 0 ;
17493 PyObject
* obj2
= 0 ;
17494 char * kwnames
[] = {
17495 (char *) "self",(char *) "x",(char *) "y", NULL
17498 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17499 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17500 if (!SWIG_IsOK(res1
)) {
17501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixel" "', expected argument " "1"" of type '" "wxDC *""'");
17503 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17504 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17505 if (!SWIG_IsOK(ecode2
)) {
17506 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_GetPixel" "', expected argument " "2"" of type '" "int""'");
17508 arg2
= static_cast< int >(val2
);
17509 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17510 if (!SWIG_IsOK(ecode3
)) {
17511 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_GetPixel" "', expected argument " "3"" of type '" "int""'");
17513 arg3
= static_cast< int >(val3
);
17515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17516 result
= wxDC_GetPixel(arg1
,arg2
,arg3
);
17517 wxPyEndAllowThreads(__tstate
);
17518 if (PyErr_Occurred()) SWIG_fail
;
17520 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
17527 SWIGINTERN PyObject
*_wrap_DC_GetPixelPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17528 PyObject
*resultobj
= 0;
17529 wxDC
*arg1
= (wxDC
*) 0 ;
17530 wxPoint
*arg2
= 0 ;
17535 PyObject
* obj0
= 0 ;
17536 PyObject
* obj1
= 0 ;
17537 char * kwnames
[] = {
17538 (char *) "self",(char *) "pt", NULL
17541 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17542 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17543 if (!SWIG_IsOK(res1
)) {
17544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixelPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17546 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17549 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17553 result
= wxDC_GetPixelPoint(arg1
,(wxPoint
const &)*arg2
);
17554 wxPyEndAllowThreads(__tstate
);
17555 if (PyErr_Occurred()) SWIG_fail
;
17557 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
17564 SWIGINTERN PyObject
*_wrap_DC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17565 PyObject
*resultobj
= 0;
17566 wxDC
*arg1
= (wxDC
*) 0 ;
17581 PyObject
* obj0
= 0 ;
17582 PyObject
* obj1
= 0 ;
17583 PyObject
* obj2
= 0 ;
17584 PyObject
* obj3
= 0 ;
17585 PyObject
* obj4
= 0 ;
17586 char * kwnames
[] = {
17587 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
17590 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17591 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17592 if (!SWIG_IsOK(res1
)) {
17593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLine" "', expected argument " "1"" of type '" "wxDC *""'");
17595 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17596 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17597 if (!SWIG_IsOK(ecode2
)) {
17598 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawLine" "', expected argument " "2"" of type '" "int""'");
17600 arg2
= static_cast< int >(val2
);
17601 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17602 if (!SWIG_IsOK(ecode3
)) {
17603 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawLine" "', expected argument " "3"" of type '" "int""'");
17605 arg3
= static_cast< int >(val3
);
17606 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17607 if (!SWIG_IsOK(ecode4
)) {
17608 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLine" "', expected argument " "4"" of type '" "int""'");
17610 arg4
= static_cast< int >(val4
);
17611 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17612 if (!SWIG_IsOK(ecode5
)) {
17613 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLine" "', expected argument " "5"" of type '" "int""'");
17615 arg5
= static_cast< int >(val5
);
17617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17618 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
17619 wxPyEndAllowThreads(__tstate
);
17620 if (PyErr_Occurred()) SWIG_fail
;
17622 resultobj
= SWIG_Py_Void();
17629 SWIGINTERN PyObject
*_wrap_DC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17630 PyObject
*resultobj
= 0;
17631 wxDC
*arg1
= (wxDC
*) 0 ;
17632 wxPoint
*arg2
= 0 ;
17633 wxPoint
*arg3
= 0 ;
17638 PyObject
* obj0
= 0 ;
17639 PyObject
* obj1
= 0 ;
17640 PyObject
* obj2
= 0 ;
17641 char * kwnames
[] = {
17642 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
17645 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17646 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17647 if (!SWIG_IsOK(res1
)) {
17648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLinePoint" "', expected argument " "1"" of type '" "wxDC *""'");
17650 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17653 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17657 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17661 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
17662 wxPyEndAllowThreads(__tstate
);
17663 if (PyErr_Occurred()) SWIG_fail
;
17665 resultobj
= SWIG_Py_Void();
17672 SWIGINTERN PyObject
*_wrap_DC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17673 PyObject
*resultobj
= 0;
17674 wxDC
*arg1
= (wxDC
*) 0 ;
17683 PyObject
* obj0
= 0 ;
17684 PyObject
* obj1
= 0 ;
17685 PyObject
* obj2
= 0 ;
17686 char * kwnames
[] = {
17687 (char *) "self",(char *) "x",(char *) "y", NULL
17690 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17691 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17692 if (!SWIG_IsOK(res1
)) {
17693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHair" "', expected argument " "1"" of type '" "wxDC *""'");
17695 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17696 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17697 if (!SWIG_IsOK(ecode2
)) {
17698 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CrossHair" "', expected argument " "2"" of type '" "int""'");
17700 arg2
= static_cast< int >(val2
);
17701 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17702 if (!SWIG_IsOK(ecode3
)) {
17703 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CrossHair" "', expected argument " "3"" of type '" "int""'");
17705 arg3
= static_cast< int >(val3
);
17707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17708 (arg1
)->CrossHair(arg2
,arg3
);
17709 wxPyEndAllowThreads(__tstate
);
17710 if (PyErr_Occurred()) SWIG_fail
;
17712 resultobj
= SWIG_Py_Void();
17719 SWIGINTERN PyObject
*_wrap_DC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17720 PyObject
*resultobj
= 0;
17721 wxDC
*arg1
= (wxDC
*) 0 ;
17722 wxPoint
*arg2
= 0 ;
17726 PyObject
* obj0
= 0 ;
17727 PyObject
* obj1
= 0 ;
17728 char * kwnames
[] = {
17729 (char *) "self",(char *) "pt", NULL
17732 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17733 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17734 if (!SWIG_IsOK(res1
)) {
17735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHairPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17737 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17740 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17744 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
17745 wxPyEndAllowThreads(__tstate
);
17746 if (PyErr_Occurred()) SWIG_fail
;
17748 resultobj
= SWIG_Py_Void();
17755 SWIGINTERN PyObject
*_wrap_DC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17756 PyObject
*resultobj
= 0;
17757 wxDC
*arg1
= (wxDC
*) 0 ;
17778 PyObject
* obj0
= 0 ;
17779 PyObject
* obj1
= 0 ;
17780 PyObject
* obj2
= 0 ;
17781 PyObject
* obj3
= 0 ;
17782 PyObject
* obj4
= 0 ;
17783 PyObject
* obj5
= 0 ;
17784 PyObject
* obj6
= 0 ;
17785 char * kwnames
[] = {
17786 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
17789 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
17790 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17791 if (!SWIG_IsOK(res1
)) {
17792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArc" "', expected argument " "1"" of type '" "wxDC *""'");
17794 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17795 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17796 if (!SWIG_IsOK(ecode2
)) {
17797 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawArc" "', expected argument " "2"" of type '" "int""'");
17799 arg2
= static_cast< int >(val2
);
17800 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17801 if (!SWIG_IsOK(ecode3
)) {
17802 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawArc" "', expected argument " "3"" of type '" "int""'");
17804 arg3
= static_cast< int >(val3
);
17805 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17806 if (!SWIG_IsOK(ecode4
)) {
17807 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawArc" "', expected argument " "4"" of type '" "int""'");
17809 arg4
= static_cast< int >(val4
);
17810 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17811 if (!SWIG_IsOK(ecode5
)) {
17812 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawArc" "', expected argument " "5"" of type '" "int""'");
17814 arg5
= static_cast< int >(val5
);
17815 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
17816 if (!SWIG_IsOK(ecode6
)) {
17817 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawArc" "', expected argument " "6"" of type '" "int""'");
17819 arg6
= static_cast< int >(val6
);
17820 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
17821 if (!SWIG_IsOK(ecode7
)) {
17822 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawArc" "', expected argument " "7"" of type '" "int""'");
17824 arg7
= static_cast< int >(val7
);
17826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17827 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
17828 wxPyEndAllowThreads(__tstate
);
17829 if (PyErr_Occurred()) SWIG_fail
;
17831 resultobj
= SWIG_Py_Void();
17838 SWIGINTERN PyObject
*_wrap_DC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17839 PyObject
*resultobj
= 0;
17840 wxDC
*arg1
= (wxDC
*) 0 ;
17841 wxPoint
*arg2
= 0 ;
17842 wxPoint
*arg3
= 0 ;
17843 wxPoint
*arg4
= 0 ;
17849 PyObject
* obj0
= 0 ;
17850 PyObject
* obj1
= 0 ;
17851 PyObject
* obj2
= 0 ;
17852 PyObject
* obj3
= 0 ;
17853 char * kwnames
[] = {
17854 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
17857 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17858 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17859 if (!SWIG_IsOK(res1
)) {
17860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArcPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17862 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17865 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17869 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17873 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17877 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
17878 wxPyEndAllowThreads(__tstate
);
17879 if (PyErr_Occurred()) SWIG_fail
;
17881 resultobj
= SWIG_Py_Void();
17888 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17889 PyObject
*resultobj
= 0;
17890 wxDC
*arg1
= (wxDC
*) 0 ;
17905 PyObject
* obj0
= 0 ;
17906 PyObject
* obj1
= 0 ;
17907 PyObject
* obj2
= 0 ;
17908 PyObject
* obj3
= 0 ;
17909 PyObject
* obj4
= 0 ;
17910 char * kwnames
[] = {
17911 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
17914 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17915 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17916 if (!SWIG_IsOK(res1
)) {
17917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMark" "', expected argument " "1"" of type '" "wxDC *""'");
17919 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17920 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17921 if (!SWIG_IsOK(ecode2
)) {
17922 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
17924 arg2
= static_cast< int >(val2
);
17925 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17926 if (!SWIG_IsOK(ecode3
)) {
17927 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
17929 arg3
= static_cast< int >(val3
);
17930 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17931 if (!SWIG_IsOK(ecode4
)) {
17932 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
17934 arg4
= static_cast< int >(val4
);
17935 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17936 if (!SWIG_IsOK(ecode5
)) {
17937 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
17939 arg5
= static_cast< int >(val5
);
17941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17942 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
17943 wxPyEndAllowThreads(__tstate
);
17944 if (PyErr_Occurred()) SWIG_fail
;
17946 resultobj
= SWIG_Py_Void();
17953 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17954 PyObject
*resultobj
= 0;
17955 wxDC
*arg1
= (wxDC
*) 0 ;
17960 PyObject
* obj0
= 0 ;
17961 PyObject
* obj1
= 0 ;
17962 char * kwnames
[] = {
17963 (char *) "self",(char *) "rect", NULL
17966 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17967 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17968 if (!SWIG_IsOK(res1
)) {
17969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxDC *""'");
17971 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17974 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17978 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
17979 wxPyEndAllowThreads(__tstate
);
17980 if (PyErr_Occurred()) SWIG_fail
;
17982 resultobj
= SWIG_Py_Void();
17989 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17990 PyObject
*resultobj
= 0;
17991 wxDC
*arg1
= (wxDC
*) 0 ;
18012 PyObject
* obj0
= 0 ;
18013 PyObject
* obj1
= 0 ;
18014 PyObject
* obj2
= 0 ;
18015 PyObject
* obj3
= 0 ;
18016 PyObject
* obj4
= 0 ;
18017 PyObject
* obj5
= 0 ;
18018 PyObject
* obj6
= 0 ;
18019 char * kwnames
[] = {
18020 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
18023 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
18024 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18025 if (!SWIG_IsOK(res1
)) {
18026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxDC *""'");
18028 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18029 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18030 if (!SWIG_IsOK(ecode2
)) {
18031 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
18033 arg2
= static_cast< int >(val2
);
18034 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18035 if (!SWIG_IsOK(ecode3
)) {
18036 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
18038 arg3
= static_cast< int >(val3
);
18039 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18040 if (!SWIG_IsOK(ecode4
)) {
18041 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
18043 arg4
= static_cast< int >(val4
);
18044 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18045 if (!SWIG_IsOK(ecode5
)) {
18046 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
18048 arg5
= static_cast< int >(val5
);
18049 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
18050 if (!SWIG_IsOK(ecode6
)) {
18051 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
18053 arg6
= static_cast< double >(val6
);
18054 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
18055 if (!SWIG_IsOK(ecode7
)) {
18056 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
18058 arg7
= static_cast< double >(val7
);
18060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18061 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18062 wxPyEndAllowThreads(__tstate
);
18063 if (PyErr_Occurred()) SWIG_fail
;
18065 resultobj
= SWIG_Py_Void();
18072 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18073 PyObject
*resultobj
= 0;
18074 wxDC
*arg1
= (wxDC
*) 0 ;
18075 wxPoint
*arg2
= 0 ;
18087 PyObject
* obj0
= 0 ;
18088 PyObject
* obj1
= 0 ;
18089 PyObject
* obj2
= 0 ;
18090 PyObject
* obj3
= 0 ;
18091 PyObject
* obj4
= 0 ;
18092 char * kwnames
[] = {
18093 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
18096 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18097 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18098 if (!SWIG_IsOK(res1
)) {
18099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18101 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18104 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18108 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18110 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
18111 if (!SWIG_IsOK(ecode4
)) {
18112 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
18114 arg4
= static_cast< double >(val4
);
18115 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
18116 if (!SWIG_IsOK(ecode5
)) {
18117 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
18119 arg5
= static_cast< double >(val5
);
18121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18122 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
18123 wxPyEndAllowThreads(__tstate
);
18124 if (PyErr_Occurred()) SWIG_fail
;
18126 resultobj
= SWIG_Py_Void();
18133 SWIGINTERN PyObject
*_wrap_DC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18134 PyObject
*resultobj
= 0;
18135 wxDC
*arg1
= (wxDC
*) 0 ;
18144 PyObject
* obj0
= 0 ;
18145 PyObject
* obj1
= 0 ;
18146 PyObject
* obj2
= 0 ;
18147 char * kwnames
[] = {
18148 (char *) "self",(char *) "x",(char *) "y", NULL
18151 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18152 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18153 if (!SWIG_IsOK(res1
)) {
18154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18156 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18157 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18158 if (!SWIG_IsOK(ecode2
)) {
18159 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
18161 arg2
= static_cast< int >(val2
);
18162 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18163 if (!SWIG_IsOK(ecode3
)) {
18164 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
18166 arg3
= static_cast< int >(val3
);
18168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18169 (arg1
)->DrawPoint(arg2
,arg3
);
18170 wxPyEndAllowThreads(__tstate
);
18171 if (PyErr_Occurred()) SWIG_fail
;
18173 resultobj
= SWIG_Py_Void();
18180 SWIGINTERN PyObject
*_wrap_DC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18181 PyObject
*resultobj
= 0;
18182 wxDC
*arg1
= (wxDC
*) 0 ;
18183 wxPoint
*arg2
= 0 ;
18187 PyObject
* obj0
= 0 ;
18188 PyObject
* obj1
= 0 ;
18189 char * kwnames
[] = {
18190 (char *) "self",(char *) "pt", NULL
18193 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18194 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18195 if (!SWIG_IsOK(res1
)) {
18196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPointPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18198 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18201 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18205 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
18206 wxPyEndAllowThreads(__tstate
);
18207 if (PyErr_Occurred()) SWIG_fail
;
18209 resultobj
= SWIG_Py_Void();
18216 SWIGINTERN PyObject
*_wrap_DC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18217 PyObject
*resultobj
= 0;
18218 wxDC
*arg1
= (wxDC
*) 0 ;
18233 PyObject
* obj0
= 0 ;
18234 PyObject
* obj1
= 0 ;
18235 PyObject
* obj2
= 0 ;
18236 PyObject
* obj3
= 0 ;
18237 PyObject
* obj4
= 0 ;
18238 char * kwnames
[] = {
18239 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18242 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18243 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18244 if (!SWIG_IsOK(res1
)) {
18245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
18247 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18248 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18249 if (!SWIG_IsOK(ecode2
)) {
18250 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
18252 arg2
= static_cast< int >(val2
);
18253 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18254 if (!SWIG_IsOK(ecode3
)) {
18255 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
18257 arg3
= static_cast< int >(val3
);
18258 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18259 if (!SWIG_IsOK(ecode4
)) {
18260 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
18262 arg4
= static_cast< int >(val4
);
18263 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18264 if (!SWIG_IsOK(ecode5
)) {
18265 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
18267 arg5
= static_cast< int >(val5
);
18269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18270 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
18271 wxPyEndAllowThreads(__tstate
);
18272 if (PyErr_Occurred()) SWIG_fail
;
18274 resultobj
= SWIG_Py_Void();
18281 SWIGINTERN PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18282 PyObject
*resultobj
= 0;
18283 wxDC
*arg1
= (wxDC
*) 0 ;
18288 PyObject
* obj0
= 0 ;
18289 PyObject
* obj1
= 0 ;
18290 char * kwnames
[] = {
18291 (char *) "self",(char *) "rect", NULL
18294 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18295 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18296 if (!SWIG_IsOK(res1
)) {
18297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
18299 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18302 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18306 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
18307 wxPyEndAllowThreads(__tstate
);
18308 if (PyErr_Occurred()) SWIG_fail
;
18310 resultobj
= SWIG_Py_Void();
18317 SWIGINTERN PyObject
*_wrap_DC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18318 PyObject
*resultobj
= 0;
18319 wxDC
*arg1
= (wxDC
*) 0 ;
18320 wxPoint
*arg2
= 0 ;
18326 PyObject
* obj0
= 0 ;
18327 PyObject
* obj1
= 0 ;
18328 PyObject
* obj2
= 0 ;
18329 char * kwnames
[] = {
18330 (char *) "self",(char *) "pt",(char *) "sz", NULL
18333 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18334 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18335 if (!SWIG_IsOK(res1
)) {
18336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18338 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18341 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18345 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18349 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
18350 wxPyEndAllowThreads(__tstate
);
18351 if (PyErr_Occurred()) SWIG_fail
;
18353 resultobj
= SWIG_Py_Void();
18360 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18361 PyObject
*resultobj
= 0;
18362 wxDC
*arg1
= (wxDC
*) 0 ;
18380 PyObject
* obj0
= 0 ;
18381 PyObject
* obj1
= 0 ;
18382 PyObject
* obj2
= 0 ;
18383 PyObject
* obj3
= 0 ;
18384 PyObject
* obj4
= 0 ;
18385 PyObject
* obj5
= 0 ;
18386 char * kwnames
[] = {
18387 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
18390 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18391 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18392 if (!SWIG_IsOK(res1
)) {
18393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
18395 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18396 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18397 if (!SWIG_IsOK(ecode2
)) {
18398 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
18400 arg2
= static_cast< int >(val2
);
18401 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18402 if (!SWIG_IsOK(ecode3
)) {
18403 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
18405 arg3
= static_cast< int >(val3
);
18406 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18407 if (!SWIG_IsOK(ecode4
)) {
18408 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
18410 arg4
= static_cast< int >(val4
);
18411 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18412 if (!SWIG_IsOK(ecode5
)) {
18413 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
18415 arg5
= static_cast< int >(val5
);
18416 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
18417 if (!SWIG_IsOK(ecode6
)) {
18418 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
18420 arg6
= static_cast< double >(val6
);
18422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18423 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
18424 wxPyEndAllowThreads(__tstate
);
18425 if (PyErr_Occurred()) SWIG_fail
;
18427 resultobj
= SWIG_Py_Void();
18434 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18435 PyObject
*resultobj
= 0;
18436 wxDC
*arg1
= (wxDC
*) 0 ;
18444 PyObject
* obj0
= 0 ;
18445 PyObject
* obj1
= 0 ;
18446 PyObject
* obj2
= 0 ;
18447 char * kwnames
[] = {
18448 (char *) "self",(char *) "r",(char *) "radius", NULL
18451 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18452 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18453 if (!SWIG_IsOK(res1
)) {
18454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
18456 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18459 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18461 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
18462 if (!SWIG_IsOK(ecode3
)) {
18463 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
18465 arg3
= static_cast< double >(val3
);
18467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18468 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
18469 wxPyEndAllowThreads(__tstate
);
18470 if (PyErr_Occurred()) SWIG_fail
;
18472 resultobj
= SWIG_Py_Void();
18479 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18480 PyObject
*resultobj
= 0;
18481 wxDC
*arg1
= (wxDC
*) 0 ;
18482 wxPoint
*arg2
= 0 ;
18491 PyObject
* obj0
= 0 ;
18492 PyObject
* obj1
= 0 ;
18493 PyObject
* obj2
= 0 ;
18494 PyObject
* obj3
= 0 ;
18495 char * kwnames
[] = {
18496 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
18499 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18500 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18501 if (!SWIG_IsOK(res1
)) {
18502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18504 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18507 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18511 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18513 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
18514 if (!SWIG_IsOK(ecode4
)) {
18515 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
18517 arg4
= static_cast< double >(val4
);
18519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18520 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
18521 wxPyEndAllowThreads(__tstate
);
18522 if (PyErr_Occurred()) SWIG_fail
;
18524 resultobj
= SWIG_Py_Void();
18531 SWIGINTERN PyObject
*_wrap_DC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18532 PyObject
*resultobj
= 0;
18533 wxDC
*arg1
= (wxDC
*) 0 ;
18545 PyObject
* obj0
= 0 ;
18546 PyObject
* obj1
= 0 ;
18547 PyObject
* obj2
= 0 ;
18548 PyObject
* obj3
= 0 ;
18549 char * kwnames
[] = {
18550 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
18553 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18554 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18555 if (!SWIG_IsOK(res1
)) {
18556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCircle" "', expected argument " "1"" of type '" "wxDC *""'");
18558 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18559 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18560 if (!SWIG_IsOK(ecode2
)) {
18561 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
18563 arg2
= static_cast< int >(val2
);
18564 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18565 if (!SWIG_IsOK(ecode3
)) {
18566 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
18568 arg3
= static_cast< int >(val3
);
18569 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18570 if (!SWIG_IsOK(ecode4
)) {
18571 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
18573 arg4
= static_cast< int >(val4
);
18575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18576 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
18577 wxPyEndAllowThreads(__tstate
);
18578 if (PyErr_Occurred()) SWIG_fail
;
18580 resultobj
= SWIG_Py_Void();
18587 SWIGINTERN PyObject
*_wrap_DC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18588 PyObject
*resultobj
= 0;
18589 wxDC
*arg1
= (wxDC
*) 0 ;
18590 wxPoint
*arg2
= 0 ;
18597 PyObject
* obj0
= 0 ;
18598 PyObject
* obj1
= 0 ;
18599 PyObject
* obj2
= 0 ;
18600 char * kwnames
[] = {
18601 (char *) "self",(char *) "pt",(char *) "radius", NULL
18604 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18605 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18606 if (!SWIG_IsOK(res1
)) {
18607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxDC *""'");
18609 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18612 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18614 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18615 if (!SWIG_IsOK(ecode3
)) {
18616 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
18618 arg3
= static_cast< int >(val3
);
18620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18621 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
18622 wxPyEndAllowThreads(__tstate
);
18623 if (PyErr_Occurred()) SWIG_fail
;
18625 resultobj
= SWIG_Py_Void();
18632 SWIGINTERN PyObject
*_wrap_DC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18633 PyObject
*resultobj
= 0;
18634 wxDC
*arg1
= (wxDC
*) 0 ;
18649 PyObject
* obj0
= 0 ;
18650 PyObject
* obj1
= 0 ;
18651 PyObject
* obj2
= 0 ;
18652 PyObject
* obj3
= 0 ;
18653 PyObject
* obj4
= 0 ;
18654 char * kwnames
[] = {
18655 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18658 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18659 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18660 if (!SWIG_IsOK(res1
)) {
18661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipse" "', expected argument " "1"" of type '" "wxDC *""'");
18663 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18664 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18665 if (!SWIG_IsOK(ecode2
)) {
18666 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
18668 arg2
= static_cast< int >(val2
);
18669 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18670 if (!SWIG_IsOK(ecode3
)) {
18671 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
18673 arg3
= static_cast< int >(val3
);
18674 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18675 if (!SWIG_IsOK(ecode4
)) {
18676 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
18678 arg4
= static_cast< int >(val4
);
18679 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18680 if (!SWIG_IsOK(ecode5
)) {
18681 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
18683 arg5
= static_cast< int >(val5
);
18685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18686 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
18687 wxPyEndAllowThreads(__tstate
);
18688 if (PyErr_Occurred()) SWIG_fail
;
18690 resultobj
= SWIG_Py_Void();
18697 SWIGINTERN PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18698 PyObject
*resultobj
= 0;
18699 wxDC
*arg1
= (wxDC
*) 0 ;
18704 PyObject
* obj0
= 0 ;
18705 PyObject
* obj1
= 0 ;
18706 char * kwnames
[] = {
18707 (char *) "self",(char *) "rect", NULL
18710 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18711 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18712 if (!SWIG_IsOK(res1
)) {
18713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxDC *""'");
18715 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18718 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18722 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
18723 wxPyEndAllowThreads(__tstate
);
18724 if (PyErr_Occurred()) SWIG_fail
;
18726 resultobj
= SWIG_Py_Void();
18733 SWIGINTERN PyObject
*_wrap_DC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18734 PyObject
*resultobj
= 0;
18735 wxDC
*arg1
= (wxDC
*) 0 ;
18736 wxPoint
*arg2
= 0 ;
18742 PyObject
* obj0
= 0 ;
18743 PyObject
* obj1
= 0 ;
18744 PyObject
* obj2
= 0 ;
18745 char * kwnames
[] = {
18746 (char *) "self",(char *) "pt",(char *) "sz", NULL
18749 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18750 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18751 if (!SWIG_IsOK(res1
)) {
18752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18754 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18757 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18761 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18765 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
18766 wxPyEndAllowThreads(__tstate
);
18767 if (PyErr_Occurred()) SWIG_fail
;
18769 resultobj
= SWIG_Py_Void();
18776 SWIGINTERN PyObject
*_wrap_DC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18777 PyObject
*resultobj
= 0;
18778 wxDC
*arg1
= (wxDC
*) 0 ;
18790 PyObject
* obj0
= 0 ;
18791 PyObject
* obj1
= 0 ;
18792 PyObject
* obj2
= 0 ;
18793 PyObject
* obj3
= 0 ;
18794 char * kwnames
[] = {
18795 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
18798 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18799 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18800 if (!SWIG_IsOK(res1
)) {
18801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIcon" "', expected argument " "1"" of type '" "wxDC *""'");
18803 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18804 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
18805 if (!SWIG_IsOK(res2
)) {
18806 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
18809 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
18811 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
18812 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18813 if (!SWIG_IsOK(ecode3
)) {
18814 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
18816 arg3
= static_cast< int >(val3
);
18817 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18818 if (!SWIG_IsOK(ecode4
)) {
18819 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
18821 arg4
= static_cast< int >(val4
);
18823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18824 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
18825 wxPyEndAllowThreads(__tstate
);
18826 if (PyErr_Occurred()) SWIG_fail
;
18828 resultobj
= SWIG_Py_Void();
18835 SWIGINTERN PyObject
*_wrap_DC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18836 PyObject
*resultobj
= 0;
18837 wxDC
*arg1
= (wxDC
*) 0 ;
18839 wxPoint
*arg3
= 0 ;
18845 PyObject
* obj0
= 0 ;
18846 PyObject
* obj1
= 0 ;
18847 PyObject
* obj2
= 0 ;
18848 char * kwnames
[] = {
18849 (char *) "self",(char *) "icon",(char *) "pt", NULL
18852 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18853 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18854 if (!SWIG_IsOK(res1
)) {
18855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIconPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18857 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18858 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
18859 if (!SWIG_IsOK(res2
)) {
18860 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
18863 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
18865 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
18868 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18872 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
18873 wxPyEndAllowThreads(__tstate
);
18874 if (PyErr_Occurred()) SWIG_fail
;
18876 resultobj
= SWIG_Py_Void();
18883 SWIGINTERN PyObject
*_wrap_DC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18884 PyObject
*resultobj
= 0;
18885 wxDC
*arg1
= (wxDC
*) 0 ;
18886 wxBitmap
*arg2
= 0 ;
18889 bool arg5
= (bool) false ;
18900 PyObject
* obj0
= 0 ;
18901 PyObject
* obj1
= 0 ;
18902 PyObject
* obj2
= 0 ;
18903 PyObject
* obj3
= 0 ;
18904 PyObject
* obj4
= 0 ;
18905 char * kwnames
[] = {
18906 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
18909 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18910 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18911 if (!SWIG_IsOK(res1
)) {
18912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmap" "', expected argument " "1"" of type '" "wxDC *""'");
18914 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18915 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
18916 if (!SWIG_IsOK(res2
)) {
18917 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
18920 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
18922 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
18923 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18924 if (!SWIG_IsOK(ecode3
)) {
18925 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
18927 arg3
= static_cast< int >(val3
);
18928 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18929 if (!SWIG_IsOK(ecode4
)) {
18930 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
18932 arg4
= static_cast< int >(val4
);
18934 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
18935 if (!SWIG_IsOK(ecode5
)) {
18936 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
18938 arg5
= static_cast< bool >(val5
);
18941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18942 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
18943 wxPyEndAllowThreads(__tstate
);
18944 if (PyErr_Occurred()) SWIG_fail
;
18946 resultobj
= SWIG_Py_Void();
18953 SWIGINTERN PyObject
*_wrap_DC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18954 PyObject
*resultobj
= 0;
18955 wxDC
*arg1
= (wxDC
*) 0 ;
18956 wxBitmap
*arg2
= 0 ;
18957 wxPoint
*arg3
= 0 ;
18958 bool arg4
= (bool) false ;
18966 PyObject
* obj0
= 0 ;
18967 PyObject
* obj1
= 0 ;
18968 PyObject
* obj2
= 0 ;
18969 PyObject
* obj3
= 0 ;
18970 char * kwnames
[] = {
18971 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
18974 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18975 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18976 if (!SWIG_IsOK(res1
)) {
18977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18979 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18980 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
18981 if (!SWIG_IsOK(res2
)) {
18982 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
18985 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
18987 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
18990 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18993 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
18994 if (!SWIG_IsOK(ecode4
)) {
18995 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
18997 arg4
= static_cast< bool >(val4
);
19000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19001 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
19002 wxPyEndAllowThreads(__tstate
);
19003 if (PyErr_Occurred()) SWIG_fail
;
19005 resultobj
= SWIG_Py_Void();
19012 SWIGINTERN PyObject
*_wrap_DC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19013 PyObject
*resultobj
= 0;
19014 wxDC
*arg1
= (wxDC
*) 0 ;
19015 wxString
*arg2
= 0 ;
19020 bool temp2
= false ;
19025 PyObject
* obj0
= 0 ;
19026 PyObject
* obj1
= 0 ;
19027 PyObject
* obj2
= 0 ;
19028 PyObject
* obj3
= 0 ;
19029 char * kwnames
[] = {
19030 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
19033 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19034 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19035 if (!SWIG_IsOK(res1
)) {
19036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawText" "', expected argument " "1"" of type '" "wxDC *""'");
19038 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19040 arg2
= wxString_in_helper(obj1
);
19041 if (arg2
== NULL
) SWIG_fail
;
19044 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19045 if (!SWIG_IsOK(ecode3
)) {
19046 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawText" "', expected argument " "3"" of type '" "int""'");
19048 arg3
= static_cast< int >(val3
);
19049 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19050 if (!SWIG_IsOK(ecode4
)) {
19051 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawText" "', expected argument " "4"" of type '" "int""'");
19053 arg4
= static_cast< int >(val4
);
19055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19056 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
19057 wxPyEndAllowThreads(__tstate
);
19058 if (PyErr_Occurred()) SWIG_fail
;
19060 resultobj
= SWIG_Py_Void();
19075 SWIGINTERN PyObject
*_wrap_DC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19076 PyObject
*resultobj
= 0;
19077 wxDC
*arg1
= (wxDC
*) 0 ;
19078 wxString
*arg2
= 0 ;
19079 wxPoint
*arg3
= 0 ;
19082 bool temp2
= false ;
19084 PyObject
* obj0
= 0 ;
19085 PyObject
* obj1
= 0 ;
19086 PyObject
* obj2
= 0 ;
19087 char * kwnames
[] = {
19088 (char *) "self",(char *) "text",(char *) "pt", NULL
19091 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19092 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19093 if (!SWIG_IsOK(res1
)) {
19094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19096 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19098 arg2
= wxString_in_helper(obj1
);
19099 if (arg2
== NULL
) SWIG_fail
;
19104 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19108 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
19109 wxPyEndAllowThreads(__tstate
);
19110 if (PyErr_Occurred()) SWIG_fail
;
19112 resultobj
= SWIG_Py_Void();
19127 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19128 PyObject
*resultobj
= 0;
19129 wxDC
*arg1
= (wxDC
*) 0 ;
19130 wxString
*arg2
= 0 ;
19136 bool temp2
= false ;
19143 PyObject
* obj0
= 0 ;
19144 PyObject
* obj1
= 0 ;
19145 PyObject
* obj2
= 0 ;
19146 PyObject
* obj3
= 0 ;
19147 PyObject
* obj4
= 0 ;
19148 char * kwnames
[] = {
19149 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
19152 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19153 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19154 if (!SWIG_IsOK(res1
)) {
19155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedText" "', expected argument " "1"" of type '" "wxDC *""'");
19157 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19159 arg2
= wxString_in_helper(obj1
);
19160 if (arg2
== NULL
) SWIG_fail
;
19163 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19164 if (!SWIG_IsOK(ecode3
)) {
19165 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
19167 arg3
= static_cast< int >(val3
);
19168 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19169 if (!SWIG_IsOK(ecode4
)) {
19170 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
19172 arg4
= static_cast< int >(val4
);
19173 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
19174 if (!SWIG_IsOK(ecode5
)) {
19175 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
19177 arg5
= static_cast< double >(val5
);
19179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19180 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
19181 wxPyEndAllowThreads(__tstate
);
19182 if (PyErr_Occurred()) SWIG_fail
;
19184 resultobj
= SWIG_Py_Void();
19199 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19200 PyObject
*resultobj
= 0;
19201 wxDC
*arg1
= (wxDC
*) 0 ;
19202 wxString
*arg2
= 0 ;
19203 wxPoint
*arg3
= 0 ;
19207 bool temp2
= false ;
19211 PyObject
* obj0
= 0 ;
19212 PyObject
* obj1
= 0 ;
19213 PyObject
* obj2
= 0 ;
19214 PyObject
* obj3
= 0 ;
19215 char * kwnames
[] = {
19216 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
19219 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19220 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19221 if (!SWIG_IsOK(res1
)) {
19222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19224 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19226 arg2
= wxString_in_helper(obj1
);
19227 if (arg2
== NULL
) SWIG_fail
;
19232 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19234 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
19235 if (!SWIG_IsOK(ecode4
)) {
19236 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
19238 arg4
= static_cast< double >(val4
);
19240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19241 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
19242 wxPyEndAllowThreads(__tstate
);
19243 if (PyErr_Occurred()) SWIG_fail
;
19245 resultobj
= SWIG_Py_Void();
19260 SWIGINTERN PyObject
*_wrap_DC_Blit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19261 PyObject
*resultobj
= 0;
19262 wxDC
*arg1
= (wxDC
*) 0 ;
19267 wxDC
*arg6
= (wxDC
*) 0 ;
19270 int arg9
= (int) wxCOPY
;
19271 bool arg10
= (bool) false ;
19272 int arg11
= (int) -1 ;
19273 int arg12
= (int) -1 ;
19299 PyObject
* obj0
= 0 ;
19300 PyObject
* obj1
= 0 ;
19301 PyObject
* obj2
= 0 ;
19302 PyObject
* obj3
= 0 ;
19303 PyObject
* obj4
= 0 ;
19304 PyObject
* obj5
= 0 ;
19305 PyObject
* obj6
= 0 ;
19306 PyObject
* obj7
= 0 ;
19307 PyObject
* obj8
= 0 ;
19308 PyObject
* obj9
= 0 ;
19309 PyObject
* obj10
= 0 ;
19310 PyObject
* obj11
= 0 ;
19311 char * kwnames
[] = {
19312 (char *) "self",(char *) "xdest",(char *) "ydest",(char *) "width",(char *) "height",(char *) "source",(char *) "xsrc",(char *) "ysrc",(char *) "rop",(char *) "useMask",(char *) "xsrcMask",(char *) "ysrcMask", NULL
19315 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO|OOOO:DC_Blit",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
,&obj11
)) SWIG_fail
;
19316 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19317 if (!SWIG_IsOK(res1
)) {
19318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Blit" "', expected argument " "1"" of type '" "wxDC *""'");
19320 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19321 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19322 if (!SWIG_IsOK(ecode2
)) {
19323 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_Blit" "', expected argument " "2"" of type '" "int""'");
19325 arg2
= static_cast< int >(val2
);
19326 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19327 if (!SWIG_IsOK(ecode3
)) {
19328 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_Blit" "', expected argument " "3"" of type '" "int""'");
19330 arg3
= static_cast< int >(val3
);
19331 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19332 if (!SWIG_IsOK(ecode4
)) {
19333 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_Blit" "', expected argument " "4"" of type '" "int""'");
19335 arg4
= static_cast< int >(val4
);
19336 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19337 if (!SWIG_IsOK(ecode5
)) {
19338 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_Blit" "', expected argument " "5"" of type '" "int""'");
19340 arg5
= static_cast< int >(val5
);
19341 res6
= SWIG_ConvertPtr(obj5
, &argp6
,SWIGTYPE_p_wxDC
, 0 | 0 );
19342 if (!SWIG_IsOK(res6
)) {
19343 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_Blit" "', expected argument " "6"" of type '" "wxDC *""'");
19345 arg6
= reinterpret_cast< wxDC
* >(argp6
);
19346 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
19347 if (!SWIG_IsOK(ecode7
)) {
19348 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_Blit" "', expected argument " "7"" of type '" "int""'");
19350 arg7
= static_cast< int >(val7
);
19351 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
19352 if (!SWIG_IsOK(ecode8
)) {
19353 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DC_Blit" "', expected argument " "8"" of type '" "int""'");
19355 arg8
= static_cast< int >(val8
);
19357 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
19358 if (!SWIG_IsOK(ecode9
)) {
19359 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "DC_Blit" "', expected argument " "9"" of type '" "int""'");
19361 arg9
= static_cast< int >(val9
);
19364 ecode10
= SWIG_AsVal_bool(obj9
, &val10
);
19365 if (!SWIG_IsOK(ecode10
)) {
19366 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "DC_Blit" "', expected argument " "10"" of type '" "bool""'");
19368 arg10
= static_cast< bool >(val10
);
19371 ecode11
= SWIG_AsVal_int(obj10
, &val11
);
19372 if (!SWIG_IsOK(ecode11
)) {
19373 SWIG_exception_fail(SWIG_ArgError(ecode11
), "in method '" "DC_Blit" "', expected argument " "11"" of type '" "int""'");
19375 arg11
= static_cast< int >(val11
);
19378 ecode12
= SWIG_AsVal_int(obj11
, &val12
);
19379 if (!SWIG_IsOK(ecode12
)) {
19380 SWIG_exception_fail(SWIG_ArgError(ecode12
), "in method '" "DC_Blit" "', expected argument " "12"" of type '" "int""'");
19382 arg12
= static_cast< int >(val12
);
19385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19386 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
19387 wxPyEndAllowThreads(__tstate
);
19388 if (PyErr_Occurred()) SWIG_fail
;
19391 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19399 SWIGINTERN PyObject
*_wrap_DC_BlitPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19400 PyObject
*resultobj
= 0;
19401 wxDC
*arg1
= (wxDC
*) 0 ;
19402 wxPoint
*arg2
= 0 ;
19404 wxDC
*arg4
= (wxDC
*) 0 ;
19405 wxPoint
*arg5
= 0 ;
19406 int arg6
= (int) wxCOPY
;
19407 bool arg7
= (bool) false ;
19408 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
19409 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
19423 PyObject
* obj0
= 0 ;
19424 PyObject
* obj1
= 0 ;
19425 PyObject
* obj2
= 0 ;
19426 PyObject
* obj3
= 0 ;
19427 PyObject
* obj4
= 0 ;
19428 PyObject
* obj5
= 0 ;
19429 PyObject
* obj6
= 0 ;
19430 PyObject
* obj7
= 0 ;
19431 char * kwnames
[] = {
19432 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
19435 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
19436 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19437 if (!SWIG_IsOK(res1
)) {
19438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_BlitPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19440 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19443 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19447 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19449 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxDC
, 0 | 0 );
19450 if (!SWIG_IsOK(res4
)) {
19451 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DC_BlitPointSize" "', expected argument " "4"" of type '" "wxDC *""'");
19453 arg4
= reinterpret_cast< wxDC
* >(argp4
);
19456 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
19459 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
19460 if (!SWIG_IsOK(ecode6
)) {
19461 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_BlitPointSize" "', expected argument " "6"" of type '" "int""'");
19463 arg6
= static_cast< int >(val6
);
19466 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
19467 if (!SWIG_IsOK(ecode7
)) {
19468 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_BlitPointSize" "', expected argument " "7"" of type '" "bool""'");
19470 arg7
= static_cast< bool >(val7
);
19475 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
19479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19480 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
19481 wxPyEndAllowThreads(__tstate
);
19482 if (PyErr_Occurred()) SWIG_fail
;
19485 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19493 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19494 PyObject
*resultobj
= 0;
19495 wxDC
*arg1
= (wxDC
*) 0 ;
19510 PyObject
* obj0
= 0 ;
19511 PyObject
* obj1
= 0 ;
19512 PyObject
* obj2
= 0 ;
19513 PyObject
* obj3
= 0 ;
19514 PyObject
* obj4
= 0 ;
19515 char * kwnames
[] = {
19516 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19519 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19520 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19521 if (!SWIG_IsOK(res1
)) {
19522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
19524 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19525 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19526 if (!SWIG_IsOK(ecode2
)) {
19527 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetClippingRegion" "', expected argument " "2"" of type '" "int""'");
19529 arg2
= static_cast< int >(val2
);
19530 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19531 if (!SWIG_IsOK(ecode3
)) {
19532 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetClippingRegion" "', expected argument " "3"" of type '" "int""'");
19534 arg3
= static_cast< int >(val3
);
19535 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19536 if (!SWIG_IsOK(ecode4
)) {
19537 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_SetClippingRegion" "', expected argument " "4"" of type '" "int""'");
19539 arg4
= static_cast< int >(val4
);
19540 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19541 if (!SWIG_IsOK(ecode5
)) {
19542 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_SetClippingRegion" "', expected argument " "5"" of type '" "int""'");
19544 arg5
= static_cast< int >(val5
);
19546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19547 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
19548 wxPyEndAllowThreads(__tstate
);
19549 if (PyErr_Occurred()) SWIG_fail
;
19551 resultobj
= SWIG_Py_Void();
19558 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19559 PyObject
*resultobj
= 0;
19560 wxDC
*arg1
= (wxDC
*) 0 ;
19561 wxPoint
*arg2
= 0 ;
19567 PyObject
* obj0
= 0 ;
19568 PyObject
* obj1
= 0 ;
19569 PyObject
* obj2
= 0 ;
19570 char * kwnames
[] = {
19571 (char *) "self",(char *) "pt",(char *) "sz", NULL
19574 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19575 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19576 if (!SWIG_IsOK(res1
)) {
19577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19579 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19582 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19586 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19590 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
19591 wxPyEndAllowThreads(__tstate
);
19592 if (PyErr_Occurred()) SWIG_fail
;
19594 resultobj
= SWIG_Py_Void();
19601 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19602 PyObject
*resultobj
= 0;
19603 wxDC
*arg1
= (wxDC
*) 0 ;
19604 wxRegion
*arg2
= 0 ;
19609 PyObject
* obj0
= 0 ;
19610 PyObject
* obj1
= 0 ;
19611 char * kwnames
[] = {
19612 (char *) "self",(char *) "region", NULL
19615 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19616 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19617 if (!SWIG_IsOK(res1
)) {
19618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "1"" of type '" "wxDC *""'");
19620 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19621 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
19622 if (!SWIG_IsOK(res2
)) {
19623 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
19626 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
19628 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
19630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19631 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
19632 wxPyEndAllowThreads(__tstate
);
19633 if (PyErr_Occurred()) SWIG_fail
;
19635 resultobj
= SWIG_Py_Void();
19642 SWIGINTERN PyObject
*_wrap_DC_SetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19643 PyObject
*resultobj
= 0;
19644 wxDC
*arg1
= (wxDC
*) 0 ;
19649 PyObject
* obj0
= 0 ;
19650 PyObject
* obj1
= 0 ;
19651 char * kwnames
[] = {
19652 (char *) "self",(char *) "rect", NULL
19655 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19656 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19657 if (!SWIG_IsOK(res1
)) {
19658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
19660 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19663 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19667 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
19668 wxPyEndAllowThreads(__tstate
);
19669 if (PyErr_Occurred()) SWIG_fail
;
19671 resultobj
= SWIG_Py_Void();
19678 SWIGINTERN PyObject
*_wrap_DC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19679 PyObject
*resultobj
= 0;
19680 wxDC
*arg1
= (wxDC
*) 0 ;
19682 wxPoint
*arg3
= (wxPoint
*) 0 ;
19683 int arg4
= (int) 0 ;
19684 int arg5
= (int) 0 ;
19691 PyObject
* obj0
= 0 ;
19692 PyObject
* obj1
= 0 ;
19693 PyObject
* obj2
= 0 ;
19694 PyObject
* obj3
= 0 ;
19695 char * kwnames
[] = {
19696 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
19699 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19700 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19701 if (!SWIG_IsOK(res1
)) {
19702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLines" "', expected argument " "1"" of type '" "wxDC *""'");
19704 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19706 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
19707 if (arg3
== NULL
) SWIG_fail
;
19710 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
19711 if (!SWIG_IsOK(ecode4
)) {
19712 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLines" "', expected argument " "4"" of type '" "int""'");
19714 arg4
= static_cast< int >(val4
);
19717 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
19718 if (!SWIG_IsOK(ecode5
)) {
19719 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLines" "', expected argument " "5"" of type '" "int""'");
19721 arg5
= static_cast< int >(val5
);
19724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19725 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
19726 wxPyEndAllowThreads(__tstate
);
19727 if (PyErr_Occurred()) SWIG_fail
;
19729 resultobj
= SWIG_Py_Void();
19731 if (arg3
) delete [] arg3
;
19736 if (arg3
) delete [] arg3
;
19742 SWIGINTERN PyObject
*_wrap_DC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19743 PyObject
*resultobj
= 0;
19744 wxDC
*arg1
= (wxDC
*) 0 ;
19746 wxPoint
*arg3
= (wxPoint
*) 0 ;
19747 int arg4
= (int) 0 ;
19748 int arg5
= (int) 0 ;
19749 int arg6
= (int) wxODDEVEN_RULE
;
19758 PyObject
* obj0
= 0 ;
19759 PyObject
* obj1
= 0 ;
19760 PyObject
* obj2
= 0 ;
19761 PyObject
* obj3
= 0 ;
19762 PyObject
* obj4
= 0 ;
19763 char * kwnames
[] = {
19764 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
19767 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19768 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19769 if (!SWIG_IsOK(res1
)) {
19770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPolygon" "', expected argument " "1"" of type '" "wxDC *""'");
19772 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19774 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
19775 if (arg3
== NULL
) SWIG_fail
;
19778 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
19779 if (!SWIG_IsOK(ecode4
)) {
19780 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
19782 arg4
= static_cast< int >(val4
);
19785 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
19786 if (!SWIG_IsOK(ecode5
)) {
19787 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
19789 arg5
= static_cast< int >(val5
);
19792 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
19793 if (!SWIG_IsOK(ecode6
)) {
19794 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
19796 arg6
= static_cast< int >(val6
);
19799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19800 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
19801 wxPyEndAllowThreads(__tstate
);
19802 if (PyErr_Occurred()) SWIG_fail
;
19804 resultobj
= SWIG_Py_Void();
19806 if (arg3
) delete [] arg3
;
19811 if (arg3
) delete [] arg3
;
19817 SWIGINTERN PyObject
*_wrap_DC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19818 PyObject
*resultobj
= 0;
19819 wxDC
*arg1
= (wxDC
*) 0 ;
19820 wxString
*arg2
= 0 ;
19822 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
19823 int arg5
= (int) -1 ;
19826 bool temp2
= false ;
19832 PyObject
* obj0
= 0 ;
19833 PyObject
* obj1
= 0 ;
19834 PyObject
* obj2
= 0 ;
19835 PyObject
* obj3
= 0 ;
19836 PyObject
* obj4
= 0 ;
19837 char * kwnames
[] = {
19838 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
19841 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19842 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19843 if (!SWIG_IsOK(res1
)) {
19844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLabel" "', expected argument " "1"" of type '" "wxDC *""'");
19846 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19848 arg2
= wxString_in_helper(obj1
);
19849 if (arg2
== NULL
) SWIG_fail
;
19854 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
19857 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19858 if (!SWIG_IsOK(ecode4
)) {
19859 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
19861 arg4
= static_cast< int >(val4
);
19864 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19865 if (!SWIG_IsOK(ecode5
)) {
19866 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
19868 arg5
= static_cast< int >(val5
);
19871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19872 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
19873 wxPyEndAllowThreads(__tstate
);
19874 if (PyErr_Occurred()) SWIG_fail
;
19876 resultobj
= SWIG_Py_Void();
19891 SWIGINTERN PyObject
*_wrap_DC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19892 PyObject
*resultobj
= 0;
19893 wxDC
*arg1
= (wxDC
*) 0 ;
19894 wxString
*arg2
= 0 ;
19895 wxBitmap
*arg3
= 0 ;
19897 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
19898 int arg6
= (int) -1 ;
19902 bool temp2
= false ;
19910 PyObject
* obj0
= 0 ;
19911 PyObject
* obj1
= 0 ;
19912 PyObject
* obj2
= 0 ;
19913 PyObject
* obj3
= 0 ;
19914 PyObject
* obj4
= 0 ;
19915 PyObject
* obj5
= 0 ;
19916 char * kwnames
[] = {
19917 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
19920 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
19921 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19922 if (!SWIG_IsOK(res1
)) {
19923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawImageLabel" "', expected argument " "1"" of type '" "wxDC *""'");
19925 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19927 arg2
= wxString_in_helper(obj1
);
19928 if (arg2
== NULL
) SWIG_fail
;
19931 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
19932 if (!SWIG_IsOK(res3
)) {
19933 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
19936 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
19938 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
19941 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
19944 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19945 if (!SWIG_IsOK(ecode5
)) {
19946 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
19948 arg5
= static_cast< int >(val5
);
19951 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
19952 if (!SWIG_IsOK(ecode6
)) {
19953 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
19955 arg6
= static_cast< int >(val6
);
19958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19959 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
19960 wxPyEndAllowThreads(__tstate
);
19961 if (PyErr_Occurred()) SWIG_fail
;
19963 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
19978 SWIGINTERN PyObject
*_wrap_DC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19979 PyObject
*resultobj
= 0;
19980 wxDC
*arg1
= (wxDC
*) 0 ;
19982 wxPoint
*arg3
= (wxPoint
*) 0 ;
19985 PyObject
* obj0
= 0 ;
19986 PyObject
* obj1
= 0 ;
19987 char * kwnames
[] = {
19988 (char *) "self",(char *) "points", NULL
19991 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19992 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19993 if (!SWIG_IsOK(res1
)) {
19994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawSpline" "', expected argument " "1"" of type '" "wxDC *""'");
19996 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19998 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
19999 if (arg3
== NULL
) SWIG_fail
;
20002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20003 (arg1
)->DrawSpline(arg2
,arg3
);
20004 wxPyEndAllowThreads(__tstate
);
20005 if (PyErr_Occurred()) SWIG_fail
;
20007 resultobj
= SWIG_Py_Void();
20009 if (arg3
) delete [] arg3
;
20014 if (arg3
) delete [] arg3
;
20020 SWIGINTERN PyObject
*_wrap_DC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20021 PyObject
*resultobj
= 0;
20022 wxDC
*arg1
= (wxDC
*) 0 ;
20025 PyObject
*swig_obj
[1] ;
20027 if (!args
) SWIG_fail
;
20028 swig_obj
[0] = args
;
20029 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20030 if (!SWIG_IsOK(res1
)) {
20031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Clear" "', expected argument " "1"" of type '" "wxDC *""'");
20033 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20037 wxPyEndAllowThreads(__tstate
);
20038 if (PyErr_Occurred()) SWIG_fail
;
20040 resultobj
= SWIG_Py_Void();
20047 SWIGINTERN PyObject
*_wrap_DC_StartDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20048 PyObject
*resultobj
= 0;
20049 wxDC
*arg1
= (wxDC
*) 0 ;
20050 wxString
*arg2
= 0 ;
20054 bool temp2
= false ;
20055 PyObject
* obj0
= 0 ;
20056 PyObject
* obj1
= 0 ;
20057 char * kwnames
[] = {
20058 (char *) "self",(char *) "message", NULL
20061 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20062 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20063 if (!SWIG_IsOK(res1
)) {
20064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartDoc" "', expected argument " "1"" of type '" "wxDC *""'");
20066 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20068 arg2
= wxString_in_helper(obj1
);
20069 if (arg2
== NULL
) SWIG_fail
;
20073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20074 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
20075 wxPyEndAllowThreads(__tstate
);
20076 if (PyErr_Occurred()) SWIG_fail
;
20079 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20095 SWIGINTERN PyObject
*_wrap_DC_EndDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20096 PyObject
*resultobj
= 0;
20097 wxDC
*arg1
= (wxDC
*) 0 ;
20100 PyObject
*swig_obj
[1] ;
20102 if (!args
) SWIG_fail
;
20103 swig_obj
[0] = args
;
20104 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20105 if (!SWIG_IsOK(res1
)) {
20106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndDoc" "', expected argument " "1"" of type '" "wxDC *""'");
20108 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20112 wxPyEndAllowThreads(__tstate
);
20113 if (PyErr_Occurred()) SWIG_fail
;
20115 resultobj
= SWIG_Py_Void();
20122 SWIGINTERN PyObject
*_wrap_DC_StartPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20123 PyObject
*resultobj
= 0;
20124 wxDC
*arg1
= (wxDC
*) 0 ;
20127 PyObject
*swig_obj
[1] ;
20129 if (!args
) SWIG_fail
;
20130 swig_obj
[0] = args
;
20131 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20132 if (!SWIG_IsOK(res1
)) {
20133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartPage" "', expected argument " "1"" of type '" "wxDC *""'");
20135 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20138 (arg1
)->StartPage();
20139 wxPyEndAllowThreads(__tstate
);
20140 if (PyErr_Occurred()) SWIG_fail
;
20142 resultobj
= SWIG_Py_Void();
20149 SWIGINTERN PyObject
*_wrap_DC_EndPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20150 PyObject
*resultobj
= 0;
20151 wxDC
*arg1
= (wxDC
*) 0 ;
20154 PyObject
*swig_obj
[1] ;
20156 if (!args
) SWIG_fail
;
20157 swig_obj
[0] = args
;
20158 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20159 if (!SWIG_IsOK(res1
)) {
20160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndPage" "', expected argument " "1"" of type '" "wxDC *""'");
20162 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20166 wxPyEndAllowThreads(__tstate
);
20167 if (PyErr_Occurred()) SWIG_fail
;
20169 resultobj
= SWIG_Py_Void();
20176 SWIGINTERN PyObject
*_wrap_DC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20177 PyObject
*resultobj
= 0;
20178 wxDC
*arg1
= (wxDC
*) 0 ;
20184 PyObject
* obj0
= 0 ;
20185 PyObject
* obj1
= 0 ;
20186 char * kwnames
[] = {
20187 (char *) "self",(char *) "font", NULL
20190 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20191 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20192 if (!SWIG_IsOK(res1
)) {
20193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetFont" "', expected argument " "1"" of type '" "wxDC *""'");
20195 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20196 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
20197 if (!SWIG_IsOK(res2
)) {
20198 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
20201 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
20203 arg2
= reinterpret_cast< wxFont
* >(argp2
);
20205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20206 (arg1
)->SetFont((wxFont
const &)*arg2
);
20207 wxPyEndAllowThreads(__tstate
);
20208 if (PyErr_Occurred()) SWIG_fail
;
20210 resultobj
= SWIG_Py_Void();
20217 SWIGINTERN PyObject
*_wrap_DC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20218 PyObject
*resultobj
= 0;
20219 wxDC
*arg1
= (wxDC
*) 0 ;
20225 PyObject
* obj0
= 0 ;
20226 PyObject
* obj1
= 0 ;
20227 char * kwnames
[] = {
20228 (char *) "self",(char *) "pen", NULL
20231 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20232 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20233 if (!SWIG_IsOK(res1
)) {
20234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPen" "', expected argument " "1"" of type '" "wxDC *""'");
20236 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20237 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
20238 if (!SWIG_IsOK(res2
)) {
20239 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
20242 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
20244 arg2
= reinterpret_cast< wxPen
* >(argp2
);
20246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20247 (arg1
)->SetPen((wxPen
const &)*arg2
);
20248 wxPyEndAllowThreads(__tstate
);
20249 if (PyErr_Occurred()) SWIG_fail
;
20251 resultobj
= SWIG_Py_Void();
20258 SWIGINTERN PyObject
*_wrap_DC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20259 PyObject
*resultobj
= 0;
20260 wxDC
*arg1
= (wxDC
*) 0 ;
20261 wxBrush
*arg2
= 0 ;
20266 PyObject
* obj0
= 0 ;
20267 PyObject
* obj1
= 0 ;
20268 char * kwnames
[] = {
20269 (char *) "self",(char *) "brush", NULL
20272 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20273 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20274 if (!SWIG_IsOK(res1
)) {
20275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBrush" "', expected argument " "1"" of type '" "wxDC *""'");
20277 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20278 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
20279 if (!SWIG_IsOK(res2
)) {
20280 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
20283 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
20285 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
20287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20288 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
20289 wxPyEndAllowThreads(__tstate
);
20290 if (PyErr_Occurred()) SWIG_fail
;
20292 resultobj
= SWIG_Py_Void();
20299 SWIGINTERN PyObject
*_wrap_DC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20300 PyObject
*resultobj
= 0;
20301 wxDC
*arg1
= (wxDC
*) 0 ;
20302 wxBrush
*arg2
= 0 ;
20307 PyObject
* obj0
= 0 ;
20308 PyObject
* obj1
= 0 ;
20309 char * kwnames
[] = {
20310 (char *) "self",(char *) "brush", NULL
20313 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20314 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20315 if (!SWIG_IsOK(res1
)) {
20316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackground" "', expected argument " "1"" of type '" "wxDC *""'");
20318 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20319 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
20320 if (!SWIG_IsOK(res2
)) {
20321 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
20324 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
20326 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
20328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20329 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
20330 wxPyEndAllowThreads(__tstate
);
20331 if (PyErr_Occurred()) SWIG_fail
;
20333 resultobj
= SWIG_Py_Void();
20340 SWIGINTERN PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20341 PyObject
*resultobj
= 0;
20342 wxDC
*arg1
= (wxDC
*) 0 ;
20348 PyObject
* obj0
= 0 ;
20349 PyObject
* obj1
= 0 ;
20350 char * kwnames
[] = {
20351 (char *) "self",(char *) "mode", NULL
20354 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20355 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20356 if (!SWIG_IsOK(res1
)) {
20357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxDC *""'");
20359 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20360 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20361 if (!SWIG_IsOK(ecode2
)) {
20362 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
20364 arg2
= static_cast< int >(val2
);
20366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20367 (arg1
)->SetBackgroundMode(arg2
);
20368 wxPyEndAllowThreads(__tstate
);
20369 if (PyErr_Occurred()) SWIG_fail
;
20371 resultobj
= SWIG_Py_Void();
20378 SWIGINTERN PyObject
*_wrap_DC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20379 PyObject
*resultobj
= 0;
20380 wxDC
*arg1
= (wxDC
*) 0 ;
20381 wxPalette
*arg2
= 0 ;
20386 PyObject
* obj0
= 0 ;
20387 PyObject
* obj1
= 0 ;
20388 char * kwnames
[] = {
20389 (char *) "self",(char *) "palette", NULL
20392 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20393 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20394 if (!SWIG_IsOK(res1
)) {
20395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPalette" "', expected argument " "1"" of type '" "wxDC *""'");
20397 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20398 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
20399 if (!SWIG_IsOK(res2
)) {
20400 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
20403 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
20405 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
20407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20408 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
20409 wxPyEndAllowThreads(__tstate
);
20410 if (PyErr_Occurred()) SWIG_fail
;
20412 resultobj
= SWIG_Py_Void();
20419 SWIGINTERN PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20420 PyObject
*resultobj
= 0;
20421 wxDC
*arg1
= (wxDC
*) 0 ;
20424 PyObject
*swig_obj
[1] ;
20426 if (!args
) SWIG_fail
;
20427 swig_obj
[0] = args
;
20428 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20429 if (!SWIG_IsOK(res1
)) {
20430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DestroyClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
20432 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20435 (arg1
)->DestroyClippingRegion();
20436 wxPyEndAllowThreads(__tstate
);
20437 if (PyErr_Occurred()) SWIG_fail
;
20439 resultobj
= SWIG_Py_Void();
20446 SWIGINTERN PyObject
*_wrap_DC_GetClippingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20447 PyObject
*resultobj
= 0;
20448 wxDC
*arg1
= (wxDC
*) 0 ;
20449 int *arg2
= (int *) 0 ;
20450 int *arg3
= (int *) 0 ;
20451 int *arg4
= (int *) 0 ;
20452 int *arg5
= (int *) 0 ;
20456 int res2
= SWIG_TMPOBJ
;
20458 int res3
= SWIG_TMPOBJ
;
20460 int res4
= SWIG_TMPOBJ
;
20462 int res5
= SWIG_TMPOBJ
;
20463 PyObject
*swig_obj
[1] ;
20469 if (!args
) SWIG_fail
;
20470 swig_obj
[0] = args
;
20471 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20472 if (!SWIG_IsOK(res1
)) {
20473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingBox" "', expected argument " "1"" of type '" "wxDC const *""'");
20475 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20478 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
20479 wxPyEndAllowThreads(__tstate
);
20480 if (PyErr_Occurred()) SWIG_fail
;
20482 resultobj
= SWIG_Py_Void();
20483 if (SWIG_IsTmpObj(res2
)) {
20484 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
20486 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20487 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
20489 if (SWIG_IsTmpObj(res3
)) {
20490 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20492 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20493 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20495 if (SWIG_IsTmpObj(res4
)) {
20496 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
20498 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20499 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
20501 if (SWIG_IsTmpObj(res5
)) {
20502 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
20504 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20505 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
20513 SWIGINTERN PyObject
*_wrap_DC_GetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20514 PyObject
*resultobj
= 0;
20515 wxDC
*arg1
= (wxDC
*) 0 ;
20519 PyObject
*swig_obj
[1] ;
20521 if (!args
) SWIG_fail
;
20522 swig_obj
[0] = args
;
20523 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20524 if (!SWIG_IsOK(res1
)) {
20525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
20527 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20530 result
= wxDC_GetClippingRect(arg1
);
20531 wxPyEndAllowThreads(__tstate
);
20532 if (PyErr_Occurred()) SWIG_fail
;
20534 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
20541 SWIGINTERN PyObject
*_wrap_DC_GetCharHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20542 PyObject
*resultobj
= 0;
20543 wxDC
*arg1
= (wxDC
*) 0 ;
20547 PyObject
*swig_obj
[1] ;
20549 if (!args
) SWIG_fail
;
20550 swig_obj
[0] = args
;
20551 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20552 if (!SWIG_IsOK(res1
)) {
20553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharHeight" "', expected argument " "1"" of type '" "wxDC const *""'");
20555 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20558 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
20559 wxPyEndAllowThreads(__tstate
);
20560 if (PyErr_Occurred()) SWIG_fail
;
20562 resultobj
= SWIG_From_int(static_cast< int >(result
));
20569 SWIGINTERN PyObject
*_wrap_DC_GetCharWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20570 PyObject
*resultobj
= 0;
20571 wxDC
*arg1
= (wxDC
*) 0 ;
20575 PyObject
*swig_obj
[1] ;
20577 if (!args
) SWIG_fail
;
20578 swig_obj
[0] = args
;
20579 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20580 if (!SWIG_IsOK(res1
)) {
20581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharWidth" "', expected argument " "1"" of type '" "wxDC const *""'");
20583 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20586 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
20587 wxPyEndAllowThreads(__tstate
);
20588 if (PyErr_Occurred()) SWIG_fail
;
20590 resultobj
= SWIG_From_int(static_cast< int >(result
));
20597 SWIGINTERN PyObject
*_wrap_DC_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20598 PyObject
*resultobj
= 0;
20599 wxDC
*arg1
= (wxDC
*) 0 ;
20600 wxString
*arg2
= 0 ;
20601 int *arg3
= (int *) 0 ;
20602 int *arg4
= (int *) 0 ;
20605 bool temp2
= false ;
20607 int res3
= SWIG_TMPOBJ
;
20609 int res4
= SWIG_TMPOBJ
;
20610 PyObject
* obj0
= 0 ;
20611 PyObject
* obj1
= 0 ;
20612 char * kwnames
[] = {
20613 (char *) "self",(char *) "string", NULL
20618 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20619 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20620 if (!SWIG_IsOK(res1
)) {
20621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
20623 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20625 arg2
= wxString_in_helper(obj1
);
20626 if (arg2
== NULL
) SWIG_fail
;
20630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20631 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
20632 wxPyEndAllowThreads(__tstate
);
20633 if (PyErr_Occurred()) SWIG_fail
;
20635 resultobj
= SWIG_Py_Void();
20636 if (SWIG_IsTmpObj(res3
)) {
20637 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20639 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20640 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20642 if (SWIG_IsTmpObj(res4
)) {
20643 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
20645 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20646 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
20662 SWIGINTERN PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20663 PyObject
*resultobj
= 0;
20664 wxDC
*arg1
= (wxDC
*) 0 ;
20665 wxString
*arg2
= 0 ;
20666 int *arg3
= (int *) 0 ;
20667 int *arg4
= (int *) 0 ;
20668 int *arg5
= (int *) 0 ;
20669 int *arg6
= (int *) 0 ;
20670 wxFont
*arg7
= (wxFont
*) NULL
;
20673 bool temp2
= false ;
20675 int res3
= SWIG_TMPOBJ
;
20677 int res4
= SWIG_TMPOBJ
;
20679 int res5
= SWIG_TMPOBJ
;
20681 int res6
= SWIG_TMPOBJ
;
20684 PyObject
* obj0
= 0 ;
20685 PyObject
* obj1
= 0 ;
20686 PyObject
* obj2
= 0 ;
20687 char * kwnames
[] = {
20688 (char *) "self",(char *) "string",(char *) "font", NULL
20695 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20696 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20697 if (!SWIG_IsOK(res1
)) {
20698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFullTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
20700 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20702 arg2
= wxString_in_helper(obj1
);
20703 if (arg2
== NULL
) SWIG_fail
;
20707 res7
= SWIG_ConvertPtr(obj2
, &argp7
,SWIGTYPE_p_wxFont
, 0 | 0 );
20708 if (!SWIG_IsOK(res7
)) {
20709 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "DC_GetFullTextExtent" "', expected argument " "7"" of type '" "wxFont *""'");
20711 arg7
= reinterpret_cast< wxFont
* >(argp7
);
20714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20715 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
20716 wxPyEndAllowThreads(__tstate
);
20717 if (PyErr_Occurred()) SWIG_fail
;
20719 resultobj
= SWIG_Py_Void();
20720 if (SWIG_IsTmpObj(res3
)) {
20721 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20723 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20724 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20726 if (SWIG_IsTmpObj(res4
)) {
20727 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
20729 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20730 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
20732 if (SWIG_IsTmpObj(res5
)) {
20733 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
20735 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20736 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
20738 if (SWIG_IsTmpObj(res6
)) {
20739 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg6
)));
20741 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20742 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, new_flags
));
20758 SWIGINTERN PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20759 PyObject
*resultobj
= 0;
20760 wxDC
*arg1
= (wxDC
*) 0 ;
20761 wxString
*arg2
= 0 ;
20762 int *arg3
= (int *) 0 ;
20763 int *arg4
= (int *) 0 ;
20764 int *arg5
= (int *) 0 ;
20765 wxFont
*arg6
= (wxFont
*) NULL
;
20768 bool temp2
= false ;
20770 int res3
= SWIG_TMPOBJ
;
20772 int res4
= SWIG_TMPOBJ
;
20774 int res5
= SWIG_TMPOBJ
;
20777 PyObject
* obj0
= 0 ;
20778 PyObject
* obj1
= 0 ;
20779 PyObject
* obj2
= 0 ;
20780 char * kwnames
[] = {
20781 (char *) "self",(char *) "text",(char *) "font", NULL
20787 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20788 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20789 if (!SWIG_IsOK(res1
)) {
20790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
20792 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20794 arg2
= wxString_in_helper(obj1
);
20795 if (arg2
== NULL
) SWIG_fail
;
20799 res6
= SWIG_ConvertPtr(obj2
, &argp6
,SWIGTYPE_p_wxFont
, 0 | 0 );
20800 if (!SWIG_IsOK(res6
)) {
20801 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "6"" of type '" "wxFont *""'");
20803 arg6
= reinterpret_cast< wxFont
* >(argp6
);
20806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20807 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
20808 wxPyEndAllowThreads(__tstate
);
20809 if (PyErr_Occurred()) SWIG_fail
;
20811 resultobj
= SWIG_Py_Void();
20812 if (SWIG_IsTmpObj(res3
)) {
20813 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20815 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20816 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20818 if (SWIG_IsTmpObj(res4
)) {
20819 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
20821 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20822 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
20824 if (SWIG_IsTmpObj(res5
)) {
20825 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
20827 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20828 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
20844 SWIGINTERN PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20845 PyObject
*resultobj
= 0;
20846 wxDC
*arg1
= (wxDC
*) 0 ;
20847 wxString
*arg2
= 0 ;
20851 bool temp2
= false ;
20852 PyObject
* obj0
= 0 ;
20853 PyObject
* obj1
= 0 ;
20854 char * kwnames
[] = {
20855 (char *) "self",(char *) "text", NULL
20858 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20859 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20860 if (!SWIG_IsOK(res1
)) {
20861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxDC *""'");
20863 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20865 arg2
= wxString_in_helper(obj1
);
20866 if (arg2
== NULL
) SWIG_fail
;
20870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20871 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
20872 wxPyEndAllowThreads(__tstate
);
20873 if (PyErr_Occurred()) SWIG_fail
;
20876 resultobj
= wxArrayInt2PyList_helper(result
);
20892 SWIGINTERN PyObject
*_wrap_DC_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20893 PyObject
*resultobj
= 0;
20894 wxDC
*arg1
= (wxDC
*) 0 ;
20898 PyObject
*swig_obj
[1] ;
20900 if (!args
) SWIG_fail
;
20901 swig_obj
[0] = args
;
20902 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20903 if (!SWIG_IsOK(res1
)) {
20904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSize" "', expected argument " "1"" of type '" "wxDC *""'");
20906 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20909 result
= (arg1
)->GetSize();
20910 wxPyEndAllowThreads(__tstate
);
20911 if (PyErr_Occurred()) SWIG_fail
;
20913 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
20920 SWIGINTERN PyObject
*_wrap_DC_GetSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20921 PyObject
*resultobj
= 0;
20922 wxDC
*arg1
= (wxDC
*) 0 ;
20923 int *arg2
= (int *) 0 ;
20924 int *arg3
= (int *) 0 ;
20928 int res2
= SWIG_TMPOBJ
;
20930 int res3
= SWIG_TMPOBJ
;
20931 PyObject
*swig_obj
[1] ;
20935 if (!args
) SWIG_fail
;
20936 swig_obj
[0] = args
;
20937 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20938 if (!SWIG_IsOK(res1
)) {
20939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeTuple" "', expected argument " "1"" of type '" "wxDC *""'");
20941 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20944 (arg1
)->GetSize(arg2
,arg3
);
20945 wxPyEndAllowThreads(__tstate
);
20946 if (PyErr_Occurred()) SWIG_fail
;
20948 resultobj
= SWIG_Py_Void();
20949 if (SWIG_IsTmpObj(res2
)) {
20950 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
20952 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20953 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
20955 if (SWIG_IsTmpObj(res3
)) {
20956 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20958 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20959 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20967 SWIGINTERN PyObject
*_wrap_DC_GetSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20968 PyObject
*resultobj
= 0;
20969 wxDC
*arg1
= (wxDC
*) 0 ;
20973 PyObject
*swig_obj
[1] ;
20975 if (!args
) SWIG_fail
;
20976 swig_obj
[0] = args
;
20977 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20978 if (!SWIG_IsOK(res1
)) {
20979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMM" "', expected argument " "1"" of type '" "wxDC const *""'");
20981 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20984 result
= ((wxDC
const *)arg1
)->GetSizeMM();
20985 wxPyEndAllowThreads(__tstate
);
20986 if (PyErr_Occurred()) SWIG_fail
;
20988 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
20995 SWIGINTERN PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20996 PyObject
*resultobj
= 0;
20997 wxDC
*arg1
= (wxDC
*) 0 ;
20998 int *arg2
= (int *) 0 ;
20999 int *arg3
= (int *) 0 ;
21003 int res2
= SWIG_TMPOBJ
;
21005 int res3
= SWIG_TMPOBJ
;
21006 PyObject
*swig_obj
[1] ;
21010 if (!args
) SWIG_fail
;
21011 swig_obj
[0] = args
;
21012 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21013 if (!SWIG_IsOK(res1
)) {
21014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMMTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
21016 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21019 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
21020 wxPyEndAllowThreads(__tstate
);
21021 if (PyErr_Occurred()) SWIG_fail
;
21023 resultobj
= SWIG_Py_Void();
21024 if (SWIG_IsTmpObj(res2
)) {
21025 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21027 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21028 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21030 if (SWIG_IsTmpObj(res3
)) {
21031 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21033 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21034 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21042 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21043 PyObject
*resultobj
= 0;
21044 wxDC
*arg1
= (wxDC
*) 0 ;
21051 PyObject
* obj0
= 0 ;
21052 PyObject
* obj1
= 0 ;
21053 char * kwnames
[] = {
21054 (char *) "self",(char *) "x", NULL
21057 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21058 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21059 if (!SWIG_IsOK(res1
)) {
21060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "1"" of type '" "wxDC const *""'");
21062 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21063 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21064 if (!SWIG_IsOK(ecode2
)) {
21065 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "2"" of type '" "int""'");
21067 arg2
= static_cast< int >(val2
);
21069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21070 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
21071 wxPyEndAllowThreads(__tstate
);
21072 if (PyErr_Occurred()) SWIG_fail
;
21074 resultobj
= SWIG_From_int(static_cast< int >(result
));
21081 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21082 PyObject
*resultobj
= 0;
21083 wxDC
*arg1
= (wxDC
*) 0 ;
21090 PyObject
* obj0
= 0 ;
21091 PyObject
* obj1
= 0 ;
21092 char * kwnames
[] = {
21093 (char *) "self",(char *) "y", NULL
21096 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21097 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21098 if (!SWIG_IsOK(res1
)) {
21099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "1"" of type '" "wxDC const *""'");
21101 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21102 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21103 if (!SWIG_IsOK(ecode2
)) {
21104 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "2"" of type '" "int""'");
21106 arg2
= static_cast< int >(val2
);
21108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21109 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
21110 wxPyEndAllowThreads(__tstate
);
21111 if (PyErr_Occurred()) SWIG_fail
;
21113 resultobj
= SWIG_From_int(static_cast< int >(result
));
21120 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21121 PyObject
*resultobj
= 0;
21122 wxDC
*arg1
= (wxDC
*) 0 ;
21129 PyObject
* obj0
= 0 ;
21130 PyObject
* obj1
= 0 ;
21131 char * kwnames
[] = {
21132 (char *) "self",(char *) "x", NULL
21135 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21136 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21137 if (!SWIG_IsOK(res1
)) {
21138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21140 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21141 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21142 if (!SWIG_IsOK(ecode2
)) {
21143 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "2"" of type '" "int""'");
21145 arg2
= static_cast< int >(val2
);
21147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21148 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
21149 wxPyEndAllowThreads(__tstate
);
21150 if (PyErr_Occurred()) SWIG_fail
;
21152 resultobj
= SWIG_From_int(static_cast< int >(result
));
21159 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21160 PyObject
*resultobj
= 0;
21161 wxDC
*arg1
= (wxDC
*) 0 ;
21168 PyObject
* obj0
= 0 ;
21169 PyObject
* obj1
= 0 ;
21170 char * kwnames
[] = {
21171 (char *) "self",(char *) "y", NULL
21174 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21175 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21176 if (!SWIG_IsOK(res1
)) {
21177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21179 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21180 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21181 if (!SWIG_IsOK(ecode2
)) {
21182 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "2"" of type '" "int""'");
21184 arg2
= static_cast< int >(val2
);
21186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21187 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
21188 wxPyEndAllowThreads(__tstate
);
21189 if (PyErr_Occurred()) SWIG_fail
;
21191 resultobj
= SWIG_From_int(static_cast< int >(result
));
21198 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21199 PyObject
*resultobj
= 0;
21200 wxDC
*arg1
= (wxDC
*) 0 ;
21207 PyObject
* obj0
= 0 ;
21208 PyObject
* obj1
= 0 ;
21209 char * kwnames
[] = {
21210 (char *) "self",(char *) "x", NULL
21213 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21214 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21215 if (!SWIG_IsOK(res1
)) {
21216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "1"" of type '" "wxDC const *""'");
21218 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21219 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21220 if (!SWIG_IsOK(ecode2
)) {
21221 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "2"" of type '" "int""'");
21223 arg2
= static_cast< int >(val2
);
21225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21226 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
21227 wxPyEndAllowThreads(__tstate
);
21228 if (PyErr_Occurred()) SWIG_fail
;
21230 resultobj
= SWIG_From_int(static_cast< int >(result
));
21237 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21238 PyObject
*resultobj
= 0;
21239 wxDC
*arg1
= (wxDC
*) 0 ;
21246 PyObject
* obj0
= 0 ;
21247 PyObject
* obj1
= 0 ;
21248 char * kwnames
[] = {
21249 (char *) "self",(char *) "y", NULL
21252 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21253 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21254 if (!SWIG_IsOK(res1
)) {
21255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "1"" of type '" "wxDC const *""'");
21257 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21258 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21259 if (!SWIG_IsOK(ecode2
)) {
21260 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "2"" of type '" "int""'");
21262 arg2
= static_cast< int >(val2
);
21264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21265 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
21266 wxPyEndAllowThreads(__tstate
);
21267 if (PyErr_Occurred()) SWIG_fail
;
21269 resultobj
= SWIG_From_int(static_cast< int >(result
));
21276 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21277 PyObject
*resultobj
= 0;
21278 wxDC
*arg1
= (wxDC
*) 0 ;
21285 PyObject
* obj0
= 0 ;
21286 PyObject
* obj1
= 0 ;
21287 char * kwnames
[] = {
21288 (char *) "self",(char *) "x", NULL
21291 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21292 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21293 if (!SWIG_IsOK(res1
)) {
21294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21296 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21297 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21298 if (!SWIG_IsOK(ecode2
)) {
21299 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "2"" of type '" "int""'");
21301 arg2
= static_cast< int >(val2
);
21303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21304 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
21305 wxPyEndAllowThreads(__tstate
);
21306 if (PyErr_Occurred()) SWIG_fail
;
21308 resultobj
= SWIG_From_int(static_cast< int >(result
));
21315 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21316 PyObject
*resultobj
= 0;
21317 wxDC
*arg1
= (wxDC
*) 0 ;
21324 PyObject
* obj0
= 0 ;
21325 PyObject
* obj1
= 0 ;
21326 char * kwnames
[] = {
21327 (char *) "self",(char *) "y", NULL
21330 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21331 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21332 if (!SWIG_IsOK(res1
)) {
21333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21335 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21336 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21337 if (!SWIG_IsOK(ecode2
)) {
21338 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "2"" of type '" "int""'");
21340 arg2
= static_cast< int >(val2
);
21342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21343 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
21344 wxPyEndAllowThreads(__tstate
);
21345 if (PyErr_Occurred()) SWIG_fail
;
21347 resultobj
= SWIG_From_int(static_cast< int >(result
));
21354 SWIGINTERN PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21355 PyObject
*resultobj
= 0;
21356 wxDC
*arg1
= (wxDC
*) 0 ;
21360 PyObject
*swig_obj
[1] ;
21362 if (!args
) SWIG_fail
;
21363 swig_obj
[0] = args
;
21364 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21365 if (!SWIG_IsOK(res1
)) {
21366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanDrawBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
21368 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21371 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
21372 wxPyEndAllowThreads(__tstate
);
21373 if (PyErr_Occurred()) SWIG_fail
;
21376 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21384 SWIGINTERN PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21385 PyObject
*resultobj
= 0;
21386 wxDC
*arg1
= (wxDC
*) 0 ;
21390 PyObject
*swig_obj
[1] ;
21392 if (!args
) SWIG_fail
;
21393 swig_obj
[0] = args
;
21394 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21395 if (!SWIG_IsOK(res1
)) {
21396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanGetTextExtent" "', expected argument " "1"" of type '" "wxDC const *""'");
21398 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21401 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
21402 wxPyEndAllowThreads(__tstate
);
21403 if (PyErr_Occurred()) SWIG_fail
;
21406 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21414 SWIGINTERN PyObject
*_wrap_DC_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21415 PyObject
*resultobj
= 0;
21416 wxDC
*arg1
= (wxDC
*) 0 ;
21420 PyObject
*swig_obj
[1] ;
21422 if (!args
) SWIG_fail
;
21423 swig_obj
[0] = args
;
21424 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21425 if (!SWIG_IsOK(res1
)) {
21426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDepth" "', expected argument " "1"" of type '" "wxDC const *""'");
21428 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21431 result
= (int)((wxDC
const *)arg1
)->GetDepth();
21432 wxPyEndAllowThreads(__tstate
);
21433 if (PyErr_Occurred()) SWIG_fail
;
21435 resultobj
= SWIG_From_int(static_cast< int >(result
));
21442 SWIGINTERN PyObject
*_wrap_DC_GetPPI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21443 PyObject
*resultobj
= 0;
21444 wxDC
*arg1
= (wxDC
*) 0 ;
21448 PyObject
*swig_obj
[1] ;
21450 if (!args
) SWIG_fail
;
21451 swig_obj
[0] = args
;
21452 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21453 if (!SWIG_IsOK(res1
)) {
21454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPPI" "', expected argument " "1"" of type '" "wxDC const *""'");
21456 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21459 result
= ((wxDC
const *)arg1
)->GetPPI();
21460 wxPyEndAllowThreads(__tstate
);
21461 if (PyErr_Occurred()) SWIG_fail
;
21463 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21470 SWIGINTERN PyObject
*_wrap_DC_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21471 PyObject
*resultobj
= 0;
21472 wxDC
*arg1
= (wxDC
*) 0 ;
21476 PyObject
*swig_obj
[1] ;
21478 if (!args
) SWIG_fail
;
21479 swig_obj
[0] = args
;
21480 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21481 if (!SWIG_IsOK(res1
)) {
21482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_IsOk" "', expected argument " "1"" of type '" "wxDC const *""'");
21484 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21487 result
= (bool)((wxDC
const *)arg1
)->IsOk();
21488 wxPyEndAllowThreads(__tstate
);
21489 if (PyErr_Occurred()) SWIG_fail
;
21492 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21500 SWIGINTERN PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21501 PyObject
*resultobj
= 0;
21502 wxDC
*arg1
= (wxDC
*) 0 ;
21506 PyObject
*swig_obj
[1] ;
21508 if (!args
) SWIG_fail
;
21509 swig_obj
[0] = args
;
21510 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21511 if (!SWIG_IsOK(res1
)) {
21512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackgroundMode" "', expected argument " "1"" of type '" "wxDC const *""'");
21514 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21517 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
21518 wxPyEndAllowThreads(__tstate
);
21519 if (PyErr_Occurred()) SWIG_fail
;
21521 resultobj
= SWIG_From_int(static_cast< int >(result
));
21528 SWIGINTERN PyObject
*_wrap_DC_GetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21529 PyObject
*resultobj
= 0;
21530 wxDC
*arg1
= (wxDC
*) 0 ;
21531 wxBrush
*result
= 0 ;
21534 PyObject
*swig_obj
[1] ;
21536 if (!args
) SWIG_fail
;
21537 swig_obj
[0] = args
;
21538 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21539 if (!SWIG_IsOK(res1
)) {
21540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
21542 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21546 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
21547 result
= (wxBrush
*) &_result_ref
;
21549 wxPyEndAllowThreads(__tstate
);
21550 if (PyErr_Occurred()) SWIG_fail
;
21553 wxBrush
* resultptr
= new wxBrush(*result
);
21554 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
21562 SWIGINTERN PyObject
*_wrap_DC_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21563 PyObject
*resultobj
= 0;
21564 wxDC
*arg1
= (wxDC
*) 0 ;
21565 wxBrush
*result
= 0 ;
21568 PyObject
*swig_obj
[1] ;
21570 if (!args
) SWIG_fail
;
21571 swig_obj
[0] = args
;
21572 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21573 if (!SWIG_IsOK(res1
)) {
21574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBrush" "', expected argument " "1"" of type '" "wxDC const *""'");
21576 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21580 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
21581 result
= (wxBrush
*) &_result_ref
;
21583 wxPyEndAllowThreads(__tstate
);
21584 if (PyErr_Occurred()) SWIG_fail
;
21587 wxBrush
* resultptr
= new wxBrush(*result
);
21588 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
21596 SWIGINTERN PyObject
*_wrap_DC_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21597 PyObject
*resultobj
= 0;
21598 wxDC
*arg1
= (wxDC
*) 0 ;
21599 wxFont
*result
= 0 ;
21602 PyObject
*swig_obj
[1] ;
21604 if (!args
) SWIG_fail
;
21605 swig_obj
[0] = args
;
21606 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21607 if (!SWIG_IsOK(res1
)) {
21608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFont" "', expected argument " "1"" of type '" "wxDC const *""'");
21610 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21614 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
21615 result
= (wxFont
*) &_result_ref
;
21617 wxPyEndAllowThreads(__tstate
);
21618 if (PyErr_Occurred()) SWIG_fail
;
21621 wxFont
* resultptr
= new wxFont(*result
);
21622 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
21630 SWIGINTERN PyObject
*_wrap_DC_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21631 PyObject
*resultobj
= 0;
21632 wxDC
*arg1
= (wxDC
*) 0 ;
21633 wxPen
*result
= 0 ;
21636 PyObject
*swig_obj
[1] ;
21638 if (!args
) SWIG_fail
;
21639 swig_obj
[0] = args
;
21640 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21641 if (!SWIG_IsOK(res1
)) {
21642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPen" "', expected argument " "1"" of type '" "wxDC const *""'");
21644 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21648 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
21649 result
= (wxPen
*) &_result_ref
;
21651 wxPyEndAllowThreads(__tstate
);
21652 if (PyErr_Occurred()) SWIG_fail
;
21655 wxPen
* resultptr
= new wxPen(*result
);
21656 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
21664 SWIGINTERN PyObject
*_wrap_DC_GetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21665 PyObject
*resultobj
= 0;
21666 wxDC
*arg1
= (wxDC
*) 0 ;
21667 wxColour
*result
= 0 ;
21670 PyObject
*swig_obj
[1] ;
21672 if (!args
) SWIG_fail
;
21673 swig_obj
[0] = args
;
21674 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21675 if (!SWIG_IsOK(res1
)) {
21676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
21678 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21682 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
21683 result
= (wxColour
*) &_result_ref
;
21685 wxPyEndAllowThreads(__tstate
);
21686 if (PyErr_Occurred()) SWIG_fail
;
21688 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
21695 SWIGINTERN PyObject
*_wrap_DC_GetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21696 PyObject
*resultobj
= 0;
21697 wxDC
*arg1
= (wxDC
*) 0 ;
21698 wxColour
*result
= 0 ;
21701 PyObject
*swig_obj
[1] ;
21703 if (!args
) SWIG_fail
;
21704 swig_obj
[0] = args
;
21705 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21706 if (!SWIG_IsOK(res1
)) {
21707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextForeground" "', expected argument " "1"" of type '" "wxDC const *""'");
21709 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21713 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
21714 result
= (wxColour
*) &_result_ref
;
21716 wxPyEndAllowThreads(__tstate
);
21717 if (PyErr_Occurred()) SWIG_fail
;
21719 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
21726 SWIGINTERN PyObject
*_wrap_DC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21727 PyObject
*resultobj
= 0;
21728 wxDC
*arg1
= (wxDC
*) 0 ;
21729 wxColour
*arg2
= 0 ;
21733 PyObject
* obj0
= 0 ;
21734 PyObject
* obj1
= 0 ;
21735 char * kwnames
[] = {
21736 (char *) "self",(char *) "colour", NULL
21739 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21740 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21741 if (!SWIG_IsOK(res1
)) {
21742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextForeground" "', expected argument " "1"" of type '" "wxDC *""'");
21744 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21747 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21751 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
21752 wxPyEndAllowThreads(__tstate
);
21753 if (PyErr_Occurred()) SWIG_fail
;
21755 resultobj
= SWIG_Py_Void();
21762 SWIGINTERN PyObject
*_wrap_DC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21763 PyObject
*resultobj
= 0;
21764 wxDC
*arg1
= (wxDC
*) 0 ;
21765 wxColour
*arg2
= 0 ;
21769 PyObject
* obj0
= 0 ;
21770 PyObject
* obj1
= 0 ;
21771 char * kwnames
[] = {
21772 (char *) "self",(char *) "colour", NULL
21775 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21776 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21777 if (!SWIG_IsOK(res1
)) {
21778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextBackground" "', expected argument " "1"" of type '" "wxDC *""'");
21780 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21783 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21787 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
21788 wxPyEndAllowThreads(__tstate
);
21789 if (PyErr_Occurred()) SWIG_fail
;
21791 resultobj
= SWIG_Py_Void();
21798 SWIGINTERN PyObject
*_wrap_DC_GetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21799 PyObject
*resultobj
= 0;
21800 wxDC
*arg1
= (wxDC
*) 0 ;
21804 PyObject
*swig_obj
[1] ;
21806 if (!args
) SWIG_fail
;
21807 swig_obj
[0] = args
;
21808 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21809 if (!SWIG_IsOK(res1
)) {
21810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMapMode" "', expected argument " "1"" of type '" "wxDC const *""'");
21812 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21815 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
21816 wxPyEndAllowThreads(__tstate
);
21817 if (PyErr_Occurred()) SWIG_fail
;
21819 resultobj
= SWIG_From_int(static_cast< int >(result
));
21826 SWIGINTERN PyObject
*_wrap_DC_SetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21827 PyObject
*resultobj
= 0;
21828 wxDC
*arg1
= (wxDC
*) 0 ;
21834 PyObject
* obj0
= 0 ;
21835 PyObject
* obj1
= 0 ;
21836 char * kwnames
[] = {
21837 (char *) "self",(char *) "mode", NULL
21840 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21841 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21842 if (!SWIG_IsOK(res1
)) {
21843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetMapMode" "', expected argument " "1"" of type '" "wxDC *""'");
21845 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21846 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21847 if (!SWIG_IsOK(ecode2
)) {
21848 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetMapMode" "', expected argument " "2"" of type '" "int""'");
21850 arg2
= static_cast< int >(val2
);
21852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21853 (arg1
)->SetMapMode(arg2
);
21854 wxPyEndAllowThreads(__tstate
);
21855 if (PyErr_Occurred()) SWIG_fail
;
21857 resultobj
= SWIG_Py_Void();
21864 SWIGINTERN PyObject
*_wrap_DC_GetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21865 PyObject
*resultobj
= 0;
21866 wxDC
*arg1
= (wxDC
*) 0 ;
21867 double *arg2
= (double *) 0 ;
21868 double *arg3
= (double *) 0 ;
21872 int res2
= SWIG_TMPOBJ
;
21874 int res3
= SWIG_TMPOBJ
;
21875 PyObject
*swig_obj
[1] ;
21879 if (!args
) SWIG_fail
;
21880 swig_obj
[0] = args
;
21881 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21882 if (!SWIG_IsOK(res1
)) {
21883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetUserScale" "', expected argument " "1"" of type '" "wxDC const *""'");
21885 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21888 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
21889 wxPyEndAllowThreads(__tstate
);
21890 if (PyErr_Occurred()) SWIG_fail
;
21892 resultobj
= SWIG_Py_Void();
21893 if (SWIG_IsTmpObj(res2
)) {
21894 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
21896 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21897 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
21899 if (SWIG_IsTmpObj(res3
)) {
21900 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
21902 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21903 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
21911 SWIGINTERN PyObject
*_wrap_DC_SetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21912 PyObject
*resultobj
= 0;
21913 wxDC
*arg1
= (wxDC
*) 0 ;
21922 PyObject
* obj0
= 0 ;
21923 PyObject
* obj1
= 0 ;
21924 PyObject
* obj2
= 0 ;
21925 char * kwnames
[] = {
21926 (char *) "self",(char *) "x",(char *) "y", NULL
21929 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21930 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21931 if (!SWIG_IsOK(res1
)) {
21932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetUserScale" "', expected argument " "1"" of type '" "wxDC *""'");
21934 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21935 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
21936 if (!SWIG_IsOK(ecode2
)) {
21937 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetUserScale" "', expected argument " "2"" of type '" "double""'");
21939 arg2
= static_cast< double >(val2
);
21940 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
21941 if (!SWIG_IsOK(ecode3
)) {
21942 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetUserScale" "', expected argument " "3"" of type '" "double""'");
21944 arg3
= static_cast< double >(val3
);
21946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21947 (arg1
)->SetUserScale(arg2
,arg3
);
21948 wxPyEndAllowThreads(__tstate
);
21949 if (PyErr_Occurred()) SWIG_fail
;
21951 resultobj
= SWIG_Py_Void();
21958 SWIGINTERN PyObject
*_wrap_DC_GetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21959 PyObject
*resultobj
= 0;
21960 wxDC
*arg1
= (wxDC
*) 0 ;
21961 double *arg2
= (double *) 0 ;
21962 double *arg3
= (double *) 0 ;
21966 int res2
= SWIG_TMPOBJ
;
21968 int res3
= SWIG_TMPOBJ
;
21969 PyObject
*swig_obj
[1] ;
21973 if (!args
) SWIG_fail
;
21974 swig_obj
[0] = args
;
21975 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21976 if (!SWIG_IsOK(res1
)) {
21977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
21979 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21982 (arg1
)->GetLogicalScale(arg2
,arg3
);
21983 wxPyEndAllowThreads(__tstate
);
21984 if (PyErr_Occurred()) SWIG_fail
;
21986 resultobj
= SWIG_Py_Void();
21987 if (SWIG_IsTmpObj(res2
)) {
21988 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
21990 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21991 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
21993 if (SWIG_IsTmpObj(res3
)) {
21994 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
21996 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21997 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
22005 SWIGINTERN PyObject
*_wrap_DC_SetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22006 PyObject
*resultobj
= 0;
22007 wxDC
*arg1
= (wxDC
*) 0 ;
22016 PyObject
* obj0
= 0 ;
22017 PyObject
* obj1
= 0 ;
22018 PyObject
* obj2
= 0 ;
22019 char * kwnames
[] = {
22020 (char *) "self",(char *) "x",(char *) "y", NULL
22023 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22024 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22025 if (!SWIG_IsOK(res1
)) {
22026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
22028 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22029 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
22030 if (!SWIG_IsOK(ecode2
)) {
22031 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalScale" "', expected argument " "2"" of type '" "double""'");
22033 arg2
= static_cast< double >(val2
);
22034 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
22035 if (!SWIG_IsOK(ecode3
)) {
22036 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalScale" "', expected argument " "3"" of type '" "double""'");
22038 arg3
= static_cast< double >(val3
);
22040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22041 (arg1
)->SetLogicalScale(arg2
,arg3
);
22042 wxPyEndAllowThreads(__tstate
);
22043 if (PyErr_Occurred()) SWIG_fail
;
22045 resultobj
= SWIG_Py_Void();
22052 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22053 PyObject
*resultobj
= 0;
22054 wxDC
*arg1
= (wxDC
*) 0 ;
22058 PyObject
*swig_obj
[1] ;
22060 if (!args
) SWIG_fail
;
22061 swig_obj
[0] = args
;
22062 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22063 if (!SWIG_IsOK(res1
)) {
22064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
22066 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22069 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
22070 wxPyEndAllowThreads(__tstate
);
22071 if (PyErr_Occurred()) SWIG_fail
;
22073 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
22080 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22081 PyObject
*resultobj
= 0;
22082 wxDC
*arg1
= (wxDC
*) 0 ;
22083 int *arg2
= (int *) 0 ;
22084 int *arg3
= (int *) 0 ;
22088 int res2
= SWIG_TMPOBJ
;
22090 int res3
= SWIG_TMPOBJ
;
22091 PyObject
*swig_obj
[1] ;
22095 if (!args
) SWIG_fail
;
22096 swig_obj
[0] = args
;
22097 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22098 if (!SWIG_IsOK(res1
)) {
22099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
22101 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22104 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
22105 wxPyEndAllowThreads(__tstate
);
22106 if (PyErr_Occurred()) SWIG_fail
;
22108 resultobj
= SWIG_Py_Void();
22109 if (SWIG_IsTmpObj(res2
)) {
22110 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22112 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22113 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22115 if (SWIG_IsTmpObj(res3
)) {
22116 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22118 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22119 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22127 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22128 PyObject
*resultobj
= 0;
22129 wxDC
*arg1
= (wxDC
*) 0 ;
22138 PyObject
* obj0
= 0 ;
22139 PyObject
* obj1
= 0 ;
22140 PyObject
* obj2
= 0 ;
22141 char * kwnames
[] = {
22142 (char *) "self",(char *) "x",(char *) "y", NULL
22145 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22146 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22147 if (!SWIG_IsOK(res1
)) {
22148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22150 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22151 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22152 if (!SWIG_IsOK(ecode2
)) {
22153 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
22155 arg2
= static_cast< int >(val2
);
22156 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22157 if (!SWIG_IsOK(ecode3
)) {
22158 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
22160 arg3
= static_cast< int >(val3
);
22162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22163 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
22164 wxPyEndAllowThreads(__tstate
);
22165 if (PyErr_Occurred()) SWIG_fail
;
22167 resultobj
= SWIG_Py_Void();
22174 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22175 PyObject
*resultobj
= 0;
22176 wxDC
*arg1
= (wxDC
*) 0 ;
22177 wxPoint
*arg2
= 0 ;
22181 PyObject
* obj0
= 0 ;
22182 PyObject
* obj1
= 0 ;
22183 char * kwnames
[] = {
22184 (char *) "self",(char *) "point", NULL
22187 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22188 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22189 if (!SWIG_IsOK(res1
)) {
22190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22192 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22195 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22199 wxDC_SetLogicalOriginPoint(arg1
,(wxPoint
const &)*arg2
);
22200 wxPyEndAllowThreads(__tstate
);
22201 if (PyErr_Occurred()) SWIG_fail
;
22203 resultobj
= SWIG_Py_Void();
22210 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22211 PyObject
*resultobj
= 0;
22212 wxDC
*arg1
= (wxDC
*) 0 ;
22216 PyObject
*swig_obj
[1] ;
22218 if (!args
) SWIG_fail
;
22219 swig_obj
[0] = args
;
22220 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22221 if (!SWIG_IsOK(res1
)) {
22222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
22224 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22227 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
22228 wxPyEndAllowThreads(__tstate
);
22229 if (PyErr_Occurred()) SWIG_fail
;
22231 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
22238 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22239 PyObject
*resultobj
= 0;
22240 wxDC
*arg1
= (wxDC
*) 0 ;
22241 int *arg2
= (int *) 0 ;
22242 int *arg3
= (int *) 0 ;
22246 int res2
= SWIG_TMPOBJ
;
22248 int res3
= SWIG_TMPOBJ
;
22249 PyObject
*swig_obj
[1] ;
22253 if (!args
) SWIG_fail
;
22254 swig_obj
[0] = args
;
22255 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22256 if (!SWIG_IsOK(res1
)) {
22257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
22259 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22262 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
22263 wxPyEndAllowThreads(__tstate
);
22264 if (PyErr_Occurred()) SWIG_fail
;
22266 resultobj
= SWIG_Py_Void();
22267 if (SWIG_IsTmpObj(res2
)) {
22268 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22270 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22271 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22273 if (SWIG_IsTmpObj(res3
)) {
22274 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22276 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22277 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22285 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22286 PyObject
*resultobj
= 0;
22287 wxDC
*arg1
= (wxDC
*) 0 ;
22296 PyObject
* obj0
= 0 ;
22297 PyObject
* obj1
= 0 ;
22298 PyObject
* obj2
= 0 ;
22299 char * kwnames
[] = {
22300 (char *) "self",(char *) "x",(char *) "y", NULL
22303 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22304 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22305 if (!SWIG_IsOK(res1
)) {
22306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22308 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22309 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22310 if (!SWIG_IsOK(ecode2
)) {
22311 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "2"" of type '" "int""'");
22313 arg2
= static_cast< int >(val2
);
22314 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22315 if (!SWIG_IsOK(ecode3
)) {
22316 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "3"" of type '" "int""'");
22318 arg3
= static_cast< int >(val3
);
22320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22321 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
22322 wxPyEndAllowThreads(__tstate
);
22323 if (PyErr_Occurred()) SWIG_fail
;
22325 resultobj
= SWIG_Py_Void();
22332 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22333 PyObject
*resultobj
= 0;
22334 wxDC
*arg1
= (wxDC
*) 0 ;
22335 wxPoint
*arg2
= 0 ;
22339 PyObject
* obj0
= 0 ;
22340 PyObject
* obj1
= 0 ;
22341 char * kwnames
[] = {
22342 (char *) "self",(char *) "point", NULL
22345 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22346 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22347 if (!SWIG_IsOK(res1
)) {
22348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22350 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22353 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22357 wxDC_SetDeviceOriginPoint(arg1
,(wxPoint
const &)*arg2
);
22358 wxPyEndAllowThreads(__tstate
);
22359 if (PyErr_Occurred()) SWIG_fail
;
22361 resultobj
= SWIG_Py_Void();
22368 SWIGINTERN PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22369 PyObject
*resultobj
= 0;
22370 wxDC
*arg1
= (wxDC
*) 0 ;
22379 PyObject
* obj0
= 0 ;
22380 PyObject
* obj1
= 0 ;
22381 PyObject
* obj2
= 0 ;
22382 char * kwnames
[] = {
22383 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
22386 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22387 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22388 if (!SWIG_IsOK(res1
)) {
22389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetAxisOrientation" "', expected argument " "1"" of type '" "wxDC *""'");
22391 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22392 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
22393 if (!SWIG_IsOK(ecode2
)) {
22394 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetAxisOrientation" "', expected argument " "2"" of type '" "bool""'");
22396 arg2
= static_cast< bool >(val2
);
22397 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
22398 if (!SWIG_IsOK(ecode3
)) {
22399 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetAxisOrientation" "', expected argument " "3"" of type '" "bool""'");
22401 arg3
= static_cast< bool >(val3
);
22403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22404 (arg1
)->SetAxisOrientation(arg2
,arg3
);
22405 wxPyEndAllowThreads(__tstate
);
22406 if (PyErr_Occurred()) SWIG_fail
;
22408 resultobj
= SWIG_Py_Void();
22415 SWIGINTERN PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22416 PyObject
*resultobj
= 0;
22417 wxDC
*arg1
= (wxDC
*) 0 ;
22421 PyObject
*swig_obj
[1] ;
22423 if (!args
) SWIG_fail
;
22424 swig_obj
[0] = args
;
22425 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22426 if (!SWIG_IsOK(res1
)) {
22427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalFunction" "', expected argument " "1"" of type '" "wxDC const *""'");
22429 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22432 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
22433 wxPyEndAllowThreads(__tstate
);
22434 if (PyErr_Occurred()) SWIG_fail
;
22436 resultobj
= SWIG_From_int(static_cast< int >(result
));
22443 SWIGINTERN PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22444 PyObject
*resultobj
= 0;
22445 wxDC
*arg1
= (wxDC
*) 0 ;
22451 PyObject
* obj0
= 0 ;
22452 PyObject
* obj1
= 0 ;
22453 char * kwnames
[] = {
22454 (char *) "self",(char *) "function", NULL
22457 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22458 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22459 if (!SWIG_IsOK(res1
)) {
22460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxDC *""'");
22462 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22463 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22464 if (!SWIG_IsOK(ecode2
)) {
22465 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
22467 arg2
= static_cast< int >(val2
);
22469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22470 (arg1
)->SetLogicalFunction(arg2
);
22471 wxPyEndAllowThreads(__tstate
);
22472 if (PyErr_Occurred()) SWIG_fail
;
22474 resultobj
= SWIG_Py_Void();
22481 SWIGINTERN PyObject
*_wrap_DC_ComputeScaleAndOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22482 PyObject
*resultobj
= 0;
22483 wxDC
*arg1
= (wxDC
*) 0 ;
22486 PyObject
*swig_obj
[1] ;
22488 if (!args
) SWIG_fail
;
22489 swig_obj
[0] = args
;
22490 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22491 if (!SWIG_IsOK(res1
)) {
22492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ComputeScaleAndOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22494 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22497 (arg1
)->ComputeScaleAndOrigin();
22498 wxPyEndAllowThreads(__tstate
);
22499 if (PyErr_Occurred()) SWIG_fail
;
22501 resultobj
= SWIG_Py_Void();
22508 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22509 PyObject
*resultobj
= 0;
22510 wxDC
*arg1
= (wxDC
*) 0 ;
22519 PyObject
* obj0
= 0 ;
22520 PyObject
* obj1
= 0 ;
22521 PyObject
* obj2
= 0 ;
22522 char * kwnames
[] = {
22523 (char *) "self",(char *) "x",(char *) "y", NULL
22526 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22527 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22528 if (!SWIG_IsOK(res1
)) {
22529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
22531 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22532 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22533 if (!SWIG_IsOK(ecode2
)) {
22534 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CalcBoundingBox" "', expected argument " "2"" of type '" "int""'");
22536 arg2
= static_cast< int >(val2
);
22537 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22538 if (!SWIG_IsOK(ecode3
)) {
22539 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CalcBoundingBox" "', expected argument " "3"" of type '" "int""'");
22541 arg3
= static_cast< int >(val3
);
22543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22544 (arg1
)->CalcBoundingBox(arg2
,arg3
);
22545 wxPyEndAllowThreads(__tstate
);
22546 if (PyErr_Occurred()) SWIG_fail
;
22548 resultobj
= SWIG_Py_Void();
22555 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBoxPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22556 PyObject
*resultobj
= 0;
22557 wxDC
*arg1
= (wxDC
*) 0 ;
22558 wxPoint
*arg2
= 0 ;
22562 PyObject
* obj0
= 0 ;
22563 PyObject
* obj1
= 0 ;
22564 char * kwnames
[] = {
22565 (char *) "self",(char *) "point", NULL
22568 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22569 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22570 if (!SWIG_IsOK(res1
)) {
22571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBoxPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22573 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22576 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22580 wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint
const &)*arg2
);
22581 wxPyEndAllowThreads(__tstate
);
22582 if (PyErr_Occurred()) SWIG_fail
;
22584 resultobj
= SWIG_Py_Void();
22591 SWIGINTERN PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22592 PyObject
*resultobj
= 0;
22593 wxDC
*arg1
= (wxDC
*) 0 ;
22596 PyObject
*swig_obj
[1] ;
22598 if (!args
) SWIG_fail
;
22599 swig_obj
[0] = args
;
22600 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22601 if (!SWIG_IsOK(res1
)) {
22602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ResetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
22604 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22607 (arg1
)->ResetBoundingBox();
22608 wxPyEndAllowThreads(__tstate
);
22609 if (PyErr_Occurred()) SWIG_fail
;
22611 resultobj
= SWIG_Py_Void();
22618 SWIGINTERN PyObject
*_wrap_DC_MinX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22619 PyObject
*resultobj
= 0;
22620 wxDC
*arg1
= (wxDC
*) 0 ;
22624 PyObject
*swig_obj
[1] ;
22626 if (!args
) SWIG_fail
;
22627 swig_obj
[0] = args
;
22628 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22629 if (!SWIG_IsOK(res1
)) {
22630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinX" "', expected argument " "1"" of type '" "wxDC const *""'");
22632 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22635 result
= (int)((wxDC
const *)arg1
)->MinX();
22636 wxPyEndAllowThreads(__tstate
);
22637 if (PyErr_Occurred()) SWIG_fail
;
22639 resultobj
= SWIG_From_int(static_cast< int >(result
));
22646 SWIGINTERN PyObject
*_wrap_DC_MaxX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22647 PyObject
*resultobj
= 0;
22648 wxDC
*arg1
= (wxDC
*) 0 ;
22652 PyObject
*swig_obj
[1] ;
22654 if (!args
) SWIG_fail
;
22655 swig_obj
[0] = args
;
22656 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22657 if (!SWIG_IsOK(res1
)) {
22658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxX" "', expected argument " "1"" of type '" "wxDC const *""'");
22660 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22663 result
= (int)((wxDC
const *)arg1
)->MaxX();
22664 wxPyEndAllowThreads(__tstate
);
22665 if (PyErr_Occurred()) SWIG_fail
;
22667 resultobj
= SWIG_From_int(static_cast< int >(result
));
22674 SWIGINTERN PyObject
*_wrap_DC_MinY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22675 PyObject
*resultobj
= 0;
22676 wxDC
*arg1
= (wxDC
*) 0 ;
22680 PyObject
*swig_obj
[1] ;
22682 if (!args
) SWIG_fail
;
22683 swig_obj
[0] = args
;
22684 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22685 if (!SWIG_IsOK(res1
)) {
22686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinY" "', expected argument " "1"" of type '" "wxDC const *""'");
22688 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22691 result
= (int)((wxDC
const *)arg1
)->MinY();
22692 wxPyEndAllowThreads(__tstate
);
22693 if (PyErr_Occurred()) SWIG_fail
;
22695 resultobj
= SWIG_From_int(static_cast< int >(result
));
22702 SWIGINTERN PyObject
*_wrap_DC_MaxY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22703 PyObject
*resultobj
= 0;
22704 wxDC
*arg1
= (wxDC
*) 0 ;
22708 PyObject
*swig_obj
[1] ;
22710 if (!args
) SWIG_fail
;
22711 swig_obj
[0] = args
;
22712 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22713 if (!SWIG_IsOK(res1
)) {
22714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxY" "', expected argument " "1"" of type '" "wxDC const *""'");
22716 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22719 result
= (int)((wxDC
const *)arg1
)->MaxY();
22720 wxPyEndAllowThreads(__tstate
);
22721 if (PyErr_Occurred()) SWIG_fail
;
22723 resultobj
= SWIG_From_int(static_cast< int >(result
));
22730 SWIGINTERN PyObject
*_wrap_DC_GetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22731 PyObject
*resultobj
= 0;
22732 wxDC
*arg1
= (wxDC
*) 0 ;
22733 int *arg2
= (int *) 0 ;
22734 int *arg3
= (int *) 0 ;
22735 int *arg4
= (int *) 0 ;
22736 int *arg5
= (int *) 0 ;
22740 int res2
= SWIG_TMPOBJ
;
22742 int res3
= SWIG_TMPOBJ
;
22744 int res4
= SWIG_TMPOBJ
;
22746 int res5
= SWIG_TMPOBJ
;
22747 PyObject
*swig_obj
[1] ;
22753 if (!args
) SWIG_fail
;
22754 swig_obj
[0] = args
;
22755 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22756 if (!SWIG_IsOK(res1
)) {
22757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
22759 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22762 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
22763 wxPyEndAllowThreads(__tstate
);
22764 if (PyErr_Occurred()) SWIG_fail
;
22766 resultobj
= SWIG_Py_Void();
22767 if (SWIG_IsTmpObj(res2
)) {
22768 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22770 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22771 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22773 if (SWIG_IsTmpObj(res3
)) {
22774 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22776 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22777 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22779 if (SWIG_IsTmpObj(res4
)) {
22780 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
22782 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22783 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
22785 if (SWIG_IsTmpObj(res5
)) {
22786 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
22788 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22789 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
22797 SWIGINTERN PyObject
*_wrap_DC_GetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22798 PyObject
*resultobj
= 0;
22799 wxDC
*arg1
= (wxDC
*) 0 ;
22800 wxLayoutDirection result
;
22803 PyObject
*swig_obj
[1] ;
22805 if (!args
) SWIG_fail
;
22806 swig_obj
[0] = args
;
22807 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22808 if (!SWIG_IsOK(res1
)) {
22809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLayoutDirection" "', expected argument " "1"" of type '" "wxDC const *""'");
22811 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22814 result
= (wxLayoutDirection
)((wxDC
const *)arg1
)->GetLayoutDirection();
22815 wxPyEndAllowThreads(__tstate
);
22816 if (PyErr_Occurred()) SWIG_fail
;
22818 resultobj
= SWIG_From_int(static_cast< int >(result
));
22825 SWIGINTERN PyObject
*_wrap_DC_SetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22826 PyObject
*resultobj
= 0;
22827 wxDC
*arg1
= (wxDC
*) 0 ;
22828 wxLayoutDirection arg2
;
22833 PyObject
* obj0
= 0 ;
22834 PyObject
* obj1
= 0 ;
22835 char * kwnames
[] = {
22836 (char *) "self",(char *) "dir", NULL
22839 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLayoutDirection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22840 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22841 if (!SWIG_IsOK(res1
)) {
22842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLayoutDirection" "', expected argument " "1"" of type '" "wxDC *""'");
22844 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22845 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22846 if (!SWIG_IsOK(ecode2
)) {
22847 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLayoutDirection" "', expected argument " "2"" of type '" "wxLayoutDirection""'");
22849 arg2
= static_cast< wxLayoutDirection
>(val2
);
22851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22852 (arg1
)->SetLayoutDirection(arg2
);
22853 wxPyEndAllowThreads(__tstate
);
22854 if (PyErr_Occurred()) SWIG_fail
;
22856 resultobj
= SWIG_Py_Void();
22863 SWIGINTERN PyObject
*_wrap_DC__DrawPointList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22864 PyObject
*resultobj
= 0;
22865 wxDC
*arg1
= (wxDC
*) 0 ;
22866 PyObject
*arg2
= (PyObject
*) 0 ;
22867 PyObject
*arg3
= (PyObject
*) 0 ;
22868 PyObject
*arg4
= (PyObject
*) 0 ;
22869 PyObject
*result
= 0 ;
22872 PyObject
* obj0
= 0 ;
22873 PyObject
* obj1
= 0 ;
22874 PyObject
* obj2
= 0 ;
22875 PyObject
* obj3
= 0 ;
22876 char * kwnames
[] = {
22877 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
22880 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22881 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22882 if (!SWIG_IsOK(res1
)) {
22883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPointList" "', expected argument " "1"" of type '" "wxDC *""'");
22885 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22891 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
22892 wxPyEndAllowThreads(__tstate
);
22893 if (PyErr_Occurred()) SWIG_fail
;
22895 resultobj
= result
;
22902 SWIGINTERN PyObject
*_wrap_DC__DrawLineList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22903 PyObject
*resultobj
= 0;
22904 wxDC
*arg1
= (wxDC
*) 0 ;
22905 PyObject
*arg2
= (PyObject
*) 0 ;
22906 PyObject
*arg3
= (PyObject
*) 0 ;
22907 PyObject
*arg4
= (PyObject
*) 0 ;
22908 PyObject
*result
= 0 ;
22911 PyObject
* obj0
= 0 ;
22912 PyObject
* obj1
= 0 ;
22913 PyObject
* obj2
= 0 ;
22914 PyObject
* obj3
= 0 ;
22915 char * kwnames
[] = {
22916 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
22919 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22920 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22921 if (!SWIG_IsOK(res1
)) {
22922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawLineList" "', expected argument " "1"" of type '" "wxDC *""'");
22924 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22930 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
22931 wxPyEndAllowThreads(__tstate
);
22932 if (PyErr_Occurred()) SWIG_fail
;
22934 resultobj
= result
;
22941 SWIGINTERN PyObject
*_wrap_DC__DrawRectangleList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22942 PyObject
*resultobj
= 0;
22943 wxDC
*arg1
= (wxDC
*) 0 ;
22944 PyObject
*arg2
= (PyObject
*) 0 ;
22945 PyObject
*arg3
= (PyObject
*) 0 ;
22946 PyObject
*arg4
= (PyObject
*) 0 ;
22947 PyObject
*result
= 0 ;
22950 PyObject
* obj0
= 0 ;
22951 PyObject
* obj1
= 0 ;
22952 PyObject
* obj2
= 0 ;
22953 PyObject
* obj3
= 0 ;
22954 char * kwnames
[] = {
22955 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
22958 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22959 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22960 if (!SWIG_IsOK(res1
)) {
22961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawRectangleList" "', expected argument " "1"" of type '" "wxDC *""'");
22963 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22969 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
22970 wxPyEndAllowThreads(__tstate
);
22971 if (PyErr_Occurred()) SWIG_fail
;
22973 resultobj
= result
;
22980 SWIGINTERN PyObject
*_wrap_DC__DrawEllipseList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22981 PyObject
*resultobj
= 0;
22982 wxDC
*arg1
= (wxDC
*) 0 ;
22983 PyObject
*arg2
= (PyObject
*) 0 ;
22984 PyObject
*arg3
= (PyObject
*) 0 ;
22985 PyObject
*arg4
= (PyObject
*) 0 ;
22986 PyObject
*result
= 0 ;
22989 PyObject
* obj0
= 0 ;
22990 PyObject
* obj1
= 0 ;
22991 PyObject
* obj2
= 0 ;
22992 PyObject
* obj3
= 0 ;
22993 char * kwnames
[] = {
22994 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
22997 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22998 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22999 if (!SWIG_IsOK(res1
)) {
23000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawEllipseList" "', expected argument " "1"" of type '" "wxDC *""'");
23002 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23008 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
23009 wxPyEndAllowThreads(__tstate
);
23010 if (PyErr_Occurred()) SWIG_fail
;
23012 resultobj
= result
;
23019 SWIGINTERN PyObject
*_wrap_DC__DrawPolygonList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23020 PyObject
*resultobj
= 0;
23021 wxDC
*arg1
= (wxDC
*) 0 ;
23022 PyObject
*arg2
= (PyObject
*) 0 ;
23023 PyObject
*arg3
= (PyObject
*) 0 ;
23024 PyObject
*arg4
= (PyObject
*) 0 ;
23025 PyObject
*result
= 0 ;
23028 PyObject
* obj0
= 0 ;
23029 PyObject
* obj1
= 0 ;
23030 PyObject
* obj2
= 0 ;
23031 PyObject
* obj3
= 0 ;
23032 char * kwnames
[] = {
23033 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23036 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23037 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23038 if (!SWIG_IsOK(res1
)) {
23039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPolygonList" "', expected argument " "1"" of type '" "wxDC *""'");
23041 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23047 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
23048 wxPyEndAllowThreads(__tstate
);
23049 if (PyErr_Occurred()) SWIG_fail
;
23051 resultobj
= result
;
23058 SWIGINTERN PyObject
*_wrap_DC__DrawTextList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23059 PyObject
*resultobj
= 0;
23060 wxDC
*arg1
= (wxDC
*) 0 ;
23061 PyObject
*arg2
= (PyObject
*) 0 ;
23062 PyObject
*arg3
= (PyObject
*) 0 ;
23063 PyObject
*arg4
= (PyObject
*) 0 ;
23064 PyObject
*arg5
= (PyObject
*) 0 ;
23065 PyObject
*result
= 0 ;
23068 PyObject
* obj0
= 0 ;
23069 PyObject
* obj1
= 0 ;
23070 PyObject
* obj2
= 0 ;
23071 PyObject
* obj3
= 0 ;
23072 PyObject
* obj4
= 0 ;
23073 char * kwnames
[] = {
23074 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
23077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
23078 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23079 if (!SWIG_IsOK(res1
)) {
23080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawTextList" "', expected argument " "1"" of type '" "wxDC *""'");
23082 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23089 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
23090 wxPyEndAllowThreads(__tstate
);
23091 if (PyErr_Occurred()) SWIG_fail
;
23093 resultobj
= result
;
23100 SWIGINTERN PyObject
*DC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23102 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23103 SWIG_TypeNewClientData(SWIGTYPE_p_wxDC
, SWIG_NewClientData(obj
));
23104 return SWIG_Py_Void();
23107 SWIGINTERN PyObject
*_wrap_new_MemoryDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23108 PyObject
*resultobj
= 0;
23109 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
23110 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
23111 wxMemoryDC
*result
= 0 ;
23114 PyObject
* obj0
= 0 ;
23115 char * kwnames
[] = {
23116 (char *) "bitmap", NULL
23119 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MemoryDC",kwnames
,&obj0
)) SWIG_fail
;
23121 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23122 if (!SWIG_IsOK(res1
)) {
23123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDC" "', expected argument " "1"" of type '" "wxBitmap const &""'");
23126 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MemoryDC" "', expected argument " "1"" of type '" "wxBitmap const &""'");
23128 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
23131 if (!wxPyCheckForApp()) SWIG_fail
;
23132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23133 result
= (wxMemoryDC
*)new wxMemoryDC((wxBitmap
const &)*arg1
);
23134 wxPyEndAllowThreads(__tstate
);
23135 if (PyErr_Occurred()) SWIG_fail
;
23137 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_NEW
| 0 );
23144 SWIGINTERN PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23145 PyObject
*resultobj
= 0;
23146 wxDC
*arg1
= (wxDC
*) 0 ;
23147 wxMemoryDC
*result
= 0 ;
23150 PyObject
* obj0
= 0 ;
23151 char * kwnames
[] = {
23152 (char *) "oldDC", NULL
23155 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) SWIG_fail
;
23156 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23157 if (!SWIG_IsOK(res1
)) {
23158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDCFromDC" "', expected argument " "1"" of type '" "wxDC *""'");
23160 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23162 if (!wxPyCheckForApp()) SWIG_fail
;
23163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23164 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
23165 wxPyEndAllowThreads(__tstate
);
23166 if (PyErr_Occurred()) SWIG_fail
;
23168 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_OWN
| 0 );
23175 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23176 PyObject
*resultobj
= 0;
23177 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
23178 wxBitmap
*arg2
= 0 ;
23183 PyObject
* obj0
= 0 ;
23184 PyObject
* obj1
= 0 ;
23185 char * kwnames
[] = {
23186 (char *) "self",(char *) "bitmap", NULL
23189 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23190 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
23191 if (!SWIG_IsOK(res1
)) {
23192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObject" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
23194 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
23195 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23196 if (!SWIG_IsOK(res2
)) {
23197 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23200 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23202 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23205 (arg1
)->SelectObject((wxBitmap
const &)*arg2
);
23206 wxPyEndAllowThreads(__tstate
);
23207 if (PyErr_Occurred()) SWIG_fail
;
23209 resultobj
= SWIG_Py_Void();
23216 SWIGINTERN PyObject
*MemoryDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23218 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23219 SWIG_TypeNewClientData(SWIGTYPE_p_wxMemoryDC
, SWIG_NewClientData(obj
));
23220 return SWIG_Py_Void();
23223 SWIGINTERN PyObject
*MemoryDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23224 return SWIG_Python_InitShadowInstance(args
);
23227 SWIGINTERN PyObject
*_wrap_new_ScreenDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23228 PyObject
*resultobj
= 0;
23229 wxScreenDC
*result
= 0 ;
23231 if (!SWIG_Python_UnpackTuple(args
,"new_ScreenDC",0,0,0)) SWIG_fail
;
23233 if (!wxPyCheckForApp()) SWIG_fail
;
23234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23235 result
= (wxScreenDC
*)new wxScreenDC();
23236 wxPyEndAllowThreads(__tstate
);
23237 if (PyErr_Occurred()) SWIG_fail
;
23239 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_NEW
| 0 );
23246 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23247 PyObject
*resultobj
= 0;
23248 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
23249 wxWindow
*arg2
= (wxWindow
*) 0 ;
23255 PyObject
* obj0
= 0 ;
23256 PyObject
* obj1
= 0 ;
23257 char * kwnames
[] = {
23258 (char *) "self",(char *) "window", NULL
23261 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23262 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
23263 if (!SWIG_IsOK(res1
)) {
23264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "1"" of type '" "wxScreenDC *""'");
23266 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
23267 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23268 if (!SWIG_IsOK(res2
)) {
23269 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "2"" of type '" "wxWindow *""'");
23271 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
23273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23274 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
23275 wxPyEndAllowThreads(__tstate
);
23276 if (PyErr_Occurred()) SWIG_fail
;
23279 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23287 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23288 PyObject
*resultobj
= 0;
23289 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
23290 wxRect
*arg2
= (wxRect
*) NULL
;
23296 PyObject
* obj0
= 0 ;
23297 PyObject
* obj1
= 0 ;
23298 char * kwnames
[] = {
23299 (char *) "self",(char *) "rect", NULL
23302 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23303 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
23304 if (!SWIG_IsOK(res1
)) {
23305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
23307 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
23309 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
23310 if (!SWIG_IsOK(res2
)) {
23311 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "2"" of type '" "wxRect *""'");
23313 arg2
= reinterpret_cast< wxRect
* >(argp2
);
23316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23317 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
23318 wxPyEndAllowThreads(__tstate
);
23319 if (PyErr_Occurred()) SWIG_fail
;
23322 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23330 SWIGINTERN PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23331 PyObject
*resultobj
= 0;
23332 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
23336 PyObject
*swig_obj
[1] ;
23338 if (!args
) SWIG_fail
;
23339 swig_obj
[0] = args
;
23340 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
23341 if (!SWIG_IsOK(res1
)) {
23342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_EndDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
23344 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
23346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23347 result
= (bool)(arg1
)->EndDrawingOnTop();
23348 wxPyEndAllowThreads(__tstate
);
23349 if (PyErr_Occurred()) SWIG_fail
;
23352 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23360 SWIGINTERN PyObject
*ScreenDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23362 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23363 SWIG_TypeNewClientData(SWIGTYPE_p_wxScreenDC
, SWIG_NewClientData(obj
));
23364 return SWIG_Py_Void();
23367 SWIGINTERN PyObject
*ScreenDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23368 return SWIG_Python_InitShadowInstance(args
);
23371 SWIGINTERN PyObject
*_wrap_new_WindowDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23372 PyObject
*resultobj
= 0;
23373 wxWindow
*arg1
= (wxWindow
*) 0 ;
23374 wxWindowDC
*result
= 0 ;
23377 PyObject
* obj0
= 0 ;
23378 char * kwnames
[] = {
23379 (char *) "win", NULL
23382 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) SWIG_fail
;
23383 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23384 if (!SWIG_IsOK(res1
)) {
23385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowDC" "', expected argument " "1"" of type '" "wxWindow *""'");
23387 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
23389 if (!wxPyCheckForApp()) SWIG_fail
;
23390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23391 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
23392 wxPyEndAllowThreads(__tstate
);
23393 if (PyErr_Occurred()) SWIG_fail
;
23395 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowDC
, SWIG_POINTER_NEW
| 0 );
23402 SWIGINTERN PyObject
*WindowDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23404 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23405 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowDC
, SWIG_NewClientData(obj
));
23406 return SWIG_Py_Void();
23409 SWIGINTERN PyObject
*WindowDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23410 return SWIG_Python_InitShadowInstance(args
);
23413 SWIGINTERN PyObject
*_wrap_new_ClientDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23414 PyObject
*resultobj
= 0;
23415 wxWindow
*arg1
= (wxWindow
*) 0 ;
23416 wxClientDC
*result
= 0 ;
23419 PyObject
* obj0
= 0 ;
23420 char * kwnames
[] = {
23421 (char *) "win", NULL
23424 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) SWIG_fail
;
23425 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23426 if (!SWIG_IsOK(res1
)) {
23427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ClientDC" "', expected argument " "1"" of type '" "wxWindow *""'");
23429 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
23431 if (!wxPyCheckForApp()) SWIG_fail
;
23432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23433 result
= (wxClientDC
*)new wxClientDC(arg1
);
23434 wxPyEndAllowThreads(__tstate
);
23435 if (PyErr_Occurred()) SWIG_fail
;
23437 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClientDC
, SWIG_POINTER_NEW
| 0 );
23444 SWIGINTERN PyObject
*ClientDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23446 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23447 SWIG_TypeNewClientData(SWIGTYPE_p_wxClientDC
, SWIG_NewClientData(obj
));
23448 return SWIG_Py_Void();
23451 SWIGINTERN PyObject
*ClientDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23452 return SWIG_Python_InitShadowInstance(args
);
23455 SWIGINTERN PyObject
*_wrap_new_PaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23456 PyObject
*resultobj
= 0;
23457 wxWindow
*arg1
= (wxWindow
*) 0 ;
23458 wxPaintDC
*result
= 0 ;
23461 PyObject
* obj0
= 0 ;
23462 char * kwnames
[] = {
23463 (char *) "win", NULL
23466 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) SWIG_fail
;
23467 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23468 if (!SWIG_IsOK(res1
)) {
23469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
23471 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
23473 if (!wxPyCheckForApp()) SWIG_fail
;
23474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23475 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
23476 wxPyEndAllowThreads(__tstate
);
23477 if (PyErr_Occurred()) SWIG_fail
;
23479 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPaintDC
, SWIG_POINTER_NEW
| 0 );
23486 SWIGINTERN PyObject
*PaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23488 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23489 SWIG_TypeNewClientData(SWIGTYPE_p_wxPaintDC
, SWIG_NewClientData(obj
));
23490 return SWIG_Py_Void();
23493 SWIGINTERN PyObject
*PaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23494 return SWIG_Python_InitShadowInstance(args
);
23497 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23498 PyObject
*resultobj
= 0;
23499 wxDC
*arg1
= (wxDC
*) 0 ;
23500 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
23501 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
23502 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
23503 wxBufferedDC
*result
= 0 ;
23511 if ((nobjs
< 1) || (nobjs
> 3)) SWIG_fail
;
23512 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23513 if (!SWIG_IsOK(res1
)) {
23514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
23516 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23518 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23519 if (!SWIG_IsOK(res2
)) {
23520 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23523 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23525 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23528 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
23529 if (!SWIG_IsOK(ecode3
)) {
23530 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
23532 arg3
= static_cast< int >(val3
);
23535 if (!wxPyCheckForApp()) SWIG_fail
;
23536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23537 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxBitmap
const &)*arg2
,arg3
);
23538 wxPyEndAllowThreads(__tstate
);
23539 if (PyErr_Occurred()) SWIG_fail
;
23541 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
23548 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23549 PyObject
*resultobj
= 0;
23550 wxDC
*arg1
= (wxDC
*) 0 ;
23552 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
23553 wxBufferedDC
*result
= 0 ;
23560 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
23561 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23562 if (!SWIG_IsOK(res1
)) {
23563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
23565 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23568 if ( ! wxSize_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
23571 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
23572 if (!SWIG_IsOK(ecode3
)) {
23573 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
23575 arg3
= static_cast< int >(val3
);
23578 if (!wxPyCheckForApp()) SWIG_fail
;
23579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23580 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
,arg3
);
23581 wxPyEndAllowThreads(__tstate
);
23582 if (PyErr_Occurred()) SWIG_fail
;
23584 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
23591 SWIGINTERN PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
23595 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_BufferedDC",0,3,argv
))) SWIG_fail
;
23597 if ((argc
>= 1) && (argc
<= 3)) {
23601 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxBitmap
, 0);
23602 _v
= SWIG_CheckState(res
);
23604 if (!_v
) goto check_1
;
23606 return _wrap_new_BufferedDC__SWIG_0(self
, argc
, argv
);
23610 if ((argc
>= 2) && (argc
<= 3)) {
23611 return _wrap_new_BufferedDC__SWIG_1(self
, argc
, argv
);
23615 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_BufferedDC'");
23620 SWIGINTERN PyObject
*_wrap_delete_BufferedDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23621 PyObject
*resultobj
= 0;
23622 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
23625 PyObject
*swig_obj
[1] ;
23627 if (!args
) SWIG_fail
;
23628 swig_obj
[0] = args
;
23629 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_DISOWN
| 0 );
23630 if (!SWIG_IsOK(res1
)) {
23631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BufferedDC" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
23633 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
23635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23638 wxPyEndAllowThreads(__tstate
);
23639 if (PyErr_Occurred()) SWIG_fail
;
23641 resultobj
= SWIG_Py_Void();
23648 SWIGINTERN PyObject
*_wrap_BufferedDC_UnMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23649 PyObject
*resultobj
= 0;
23650 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
23653 PyObject
*swig_obj
[1] ;
23655 if (!args
) SWIG_fail
;
23656 swig_obj
[0] = args
;
23657 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
23658 if (!SWIG_IsOK(res1
)) {
23659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_UnMask" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
23661 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
23663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23665 wxPyEndAllowThreads(__tstate
);
23666 if (PyErr_Occurred()) SWIG_fail
;
23668 resultobj
= SWIG_Py_Void();
23675 SWIGINTERN PyObject
*BufferedDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23677 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23678 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedDC
, SWIG_NewClientData(obj
));
23679 return SWIG_Py_Void();
23682 SWIGINTERN PyObject
*BufferedDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23683 return SWIG_Python_InitShadowInstance(args
);
23686 SWIGINTERN PyObject
*_wrap_new_BufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23687 PyObject
*resultobj
= 0;
23688 wxWindow
*arg1
= (wxWindow
*) 0 ;
23689 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
23690 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
23691 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
23692 wxBufferedPaintDC
*result
= 0 ;
23699 PyObject
* obj0
= 0 ;
23700 PyObject
* obj1
= 0 ;
23701 PyObject
* obj2
= 0 ;
23702 char * kwnames
[] = {
23703 (char *) "window",(char *) "buffer",(char *) "style", NULL
23706 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23707 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23708 if (!SWIG_IsOK(res1
)) {
23709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
23711 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
23713 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23714 if (!SWIG_IsOK(res2
)) {
23715 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23718 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23720 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23723 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23724 if (!SWIG_IsOK(ecode3
)) {
23725 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedPaintDC" "', expected argument " "3"" of type '" "int""'");
23727 arg3
= static_cast< int >(val3
);
23730 if (!wxPyCheckForApp()) SWIG_fail
;
23731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23732 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,(wxBitmap
const &)*arg2
,arg3
);
23733 wxPyEndAllowThreads(__tstate
);
23734 if (PyErr_Occurred()) SWIG_fail
;
23736 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
23743 SWIGINTERN PyObject
*BufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23745 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23746 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedPaintDC
, SWIG_NewClientData(obj
));
23747 return SWIG_Py_Void();
23750 SWIGINTERN PyObject
*BufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23751 return SWIG_Python_InitShadowInstance(args
);
23754 SWIGINTERN PyObject
*_wrap_new_AutoBufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23755 PyObject
*resultobj
= 0;
23756 wxWindow
*arg1
= (wxWindow
*) 0 ;
23757 wxAutoBufferedPaintDC
*result
= 0 ;
23760 PyObject
* obj0
= 0 ;
23761 char * kwnames
[] = {
23762 (char *) "win", NULL
23765 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AutoBufferedPaintDC",kwnames
,&obj0
)) SWIG_fail
;
23766 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23767 if (!SWIG_IsOK(res1
)) {
23768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AutoBufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
23770 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
23772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23773 result
= (wxAutoBufferedPaintDC
*)new wxAutoBufferedPaintDC(arg1
);
23774 wxPyEndAllowThreads(__tstate
);
23775 if (PyErr_Occurred()) SWIG_fail
;
23777 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAutoBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
23784 SWIGINTERN PyObject
*AutoBufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23786 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23787 SWIG_TypeNewClientData(SWIGTYPE_p_wxAutoBufferedPaintDC
, SWIG_NewClientData(obj
));
23788 return SWIG_Py_Void();
23791 SWIGINTERN PyObject
*AutoBufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23792 return SWIG_Python_InitShadowInstance(args
);
23795 SWIGINTERN PyObject
*_wrap_AutoBufferedPaintDCFactory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23796 PyObject
*resultobj
= 0;
23797 wxWindow
*arg1
= (wxWindow
*) 0 ;
23801 PyObject
* obj0
= 0 ;
23802 char * kwnames
[] = {
23803 (char *) "window", NULL
23806 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AutoBufferedPaintDCFactory",kwnames
,&obj0
)) SWIG_fail
;
23807 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23808 if (!SWIG_IsOK(res1
)) {
23809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AutoBufferedPaintDCFactory" "', expected argument " "1"" of type '" "wxWindow *""'");
23811 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
23813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23814 result
= (wxDC
*)wxAutoBufferedPaintDCFactory(arg1
);
23815 wxPyEndAllowThreads(__tstate
);
23816 if (PyErr_Occurred()) SWIG_fail
;
23819 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
23827 SWIGINTERN PyObject
*_wrap_new_MirrorDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23828 PyObject
*resultobj
= 0;
23831 wxMirrorDC
*result
= 0 ;
23836 PyObject
* obj0
= 0 ;
23837 PyObject
* obj1
= 0 ;
23838 char * kwnames
[] = {
23839 (char *) "dc",(char *) "mirror", NULL
23842 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23843 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
23844 if (!SWIG_IsOK(res1
)) {
23845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
23848 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
23850 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23851 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23852 if (!SWIG_IsOK(ecode2
)) {
23853 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MirrorDC" "', expected argument " "2"" of type '" "bool""'");
23855 arg2
= static_cast< bool >(val2
);
23857 if (!wxPyCheckForApp()) SWIG_fail
;
23858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23859 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
23860 wxPyEndAllowThreads(__tstate
);
23861 if (PyErr_Occurred()) SWIG_fail
;
23863 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMirrorDC
, SWIG_POINTER_NEW
| 0 );
23870 SWIGINTERN PyObject
*MirrorDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23872 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23873 SWIG_TypeNewClientData(SWIGTYPE_p_wxMirrorDC
, SWIG_NewClientData(obj
));
23874 return SWIG_Py_Void();
23877 SWIGINTERN PyObject
*MirrorDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23878 return SWIG_Python_InitShadowInstance(args
);
23881 SWIGINTERN PyObject
*_wrap_new_PostScriptDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23882 PyObject
*resultobj
= 0;
23883 wxPrintData
*arg1
= 0 ;
23884 wxPostScriptDC
*result
= 0 ;
23887 PyObject
* obj0
= 0 ;
23888 char * kwnames
[] = {
23889 (char *) "printData", NULL
23892 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) SWIG_fail
;
23893 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
23894 if (!SWIG_IsOK(res1
)) {
23895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23898 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23900 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23902 if (!wxPyCheckForApp()) SWIG_fail
;
23903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23904 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
23905 wxPyEndAllowThreads(__tstate
);
23906 if (PyErr_Occurred()) SWIG_fail
;
23908 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPostScriptDC
, SWIG_POINTER_NEW
| 0 );
23915 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23916 PyObject
*resultobj
= 0;
23917 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
23918 wxPrintData
*result
= 0 ;
23921 PyObject
*swig_obj
[1] ;
23923 if (!args
) SWIG_fail
;
23924 swig_obj
[0] = args
;
23925 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
23926 if (!SWIG_IsOK(res1
)) {
23927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_GetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
23929 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
23931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23933 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
23934 result
= (wxPrintData
*) &_result_ref
;
23936 wxPyEndAllowThreads(__tstate
);
23937 if (PyErr_Occurred()) SWIG_fail
;
23939 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
23946 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23947 PyObject
*resultobj
= 0;
23948 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
23949 wxPrintData
*arg2
= 0 ;
23954 PyObject
* obj0
= 0 ;
23955 PyObject
* obj1
= 0 ;
23956 char * kwnames
[] = {
23957 (char *) "self",(char *) "data", NULL
23960 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23961 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
23962 if (!SWIG_IsOK(res1
)) {
23963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
23965 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
23966 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
23967 if (!SWIG_IsOK(res2
)) {
23968 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
23971 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
23973 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
23975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23976 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
23977 wxPyEndAllowThreads(__tstate
);
23978 if (PyErr_Occurred()) SWIG_fail
;
23980 resultobj
= SWIG_Py_Void();
23987 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23988 PyObject
*resultobj
= 0;
23992 PyObject
* obj0
= 0 ;
23993 char * kwnames
[] = {
23994 (char *) "ppi", NULL
23997 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) SWIG_fail
;
23998 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23999 if (!SWIG_IsOK(ecode1
)) {
24000 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PostScriptDC_SetResolution" "', expected argument " "1"" of type '" "int""'");
24002 arg1
= static_cast< int >(val1
);
24004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24005 wxPostScriptDC::SetResolution(arg1
);
24006 wxPyEndAllowThreads(__tstate
);
24007 if (PyErr_Occurred()) SWIG_fail
;
24009 resultobj
= SWIG_Py_Void();
24016 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24017 PyObject
*resultobj
= 0;
24020 if (!SWIG_Python_UnpackTuple(args
,"PostScriptDC_GetResolution",0,0,0)) SWIG_fail
;
24022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24023 result
= (int)wxPostScriptDC::GetResolution();
24024 wxPyEndAllowThreads(__tstate
);
24025 if (PyErr_Occurred()) SWIG_fail
;
24027 resultobj
= SWIG_From_int(static_cast< int >(result
));
24034 SWIGINTERN PyObject
*PostScriptDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24036 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24037 SWIG_TypeNewClientData(SWIGTYPE_p_wxPostScriptDC
, SWIG_NewClientData(obj
));
24038 return SWIG_Py_Void();
24041 SWIGINTERN PyObject
*PostScriptDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24042 return SWIG_Python_InitShadowInstance(args
);
24045 SWIGINTERN PyObject
*_wrap_new_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24046 PyObject
*resultobj
= 0;
24047 wxString
const &arg1_defvalue
= wxPyEmptyString
;
24048 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24049 wxMetaFile
*result
= 0 ;
24050 bool temp1
= false ;
24051 PyObject
* obj0
= 0 ;
24052 char * kwnames
[] = {
24053 (char *) "filename", NULL
24056 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) SWIG_fail
;
24059 arg1
= wxString_in_helper(obj0
);
24060 if (arg1
== NULL
) SWIG_fail
;
24065 if (!wxPyCheckForApp()) SWIG_fail
;
24066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24067 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
24068 wxPyEndAllowThreads(__tstate
);
24069 if (PyErr_Occurred()) SWIG_fail
;
24071 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_NEW
| 0 );
24086 SWIGINTERN PyObject
*MetaFile_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24088 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24089 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFile
, SWIG_NewClientData(obj
));
24090 return SWIG_Py_Void();
24093 SWIGINTERN PyObject
*MetaFile_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24094 return SWIG_Python_InitShadowInstance(args
);
24097 SWIGINTERN PyObject
*_wrap_new_MetaFileDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24098 PyObject
*resultobj
= 0;
24099 wxString
const &arg1_defvalue
= wxPyEmptyString
;
24100 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24101 int arg2
= (int) 0 ;
24102 int arg3
= (int) 0 ;
24103 wxString
const &arg4_defvalue
= wxPyEmptyString
;
24104 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
24105 wxMetaFileDC
*result
= 0 ;
24106 bool temp1
= false ;
24111 bool temp4
= false ;
24112 PyObject
* obj0
= 0 ;
24113 PyObject
* obj1
= 0 ;
24114 PyObject
* obj2
= 0 ;
24115 PyObject
* obj3
= 0 ;
24116 char * kwnames
[] = {
24117 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
24120 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24123 arg1
= wxString_in_helper(obj0
);
24124 if (arg1
== NULL
) SWIG_fail
;
24129 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24130 if (!SWIG_IsOK(ecode2
)) {
24131 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MetaFileDC" "', expected argument " "2"" of type '" "int""'");
24133 arg2
= static_cast< int >(val2
);
24136 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24137 if (!SWIG_IsOK(ecode3
)) {
24138 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_MetaFileDC" "', expected argument " "3"" of type '" "int""'");
24140 arg3
= static_cast< int >(val3
);
24144 arg4
= wxString_in_helper(obj3
);
24145 if (arg4
== NULL
) SWIG_fail
;
24150 if (!wxPyCheckForApp()) SWIG_fail
;
24151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24152 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
24153 wxPyEndAllowThreads(__tstate
);
24154 if (PyErr_Occurred()) SWIG_fail
;
24156 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFileDC
, SWIG_POINTER_NEW
| 0 );
24179 SWIGINTERN PyObject
*MetaFileDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24181 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24182 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFileDC
, SWIG_NewClientData(obj
));
24183 return SWIG_Py_Void();
24186 SWIGINTERN PyObject
*MetaFileDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24187 return SWIG_Python_InitShadowInstance(args
);
24190 SWIGINTERN PyObject
*_wrap_new_PrinterDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24191 PyObject
*resultobj
= 0;
24192 wxPrintData
*arg1
= 0 ;
24193 wxPrinterDC
*result
= 0 ;
24196 PyObject
* obj0
= 0 ;
24197 char * kwnames
[] = {
24198 (char *) "printData", NULL
24201 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) SWIG_fail
;
24202 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24203 if (!SWIG_IsOK(res1
)) {
24204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24207 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24209 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24211 if (!wxPyCheckForApp()) SWIG_fail
;
24212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24213 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
24214 wxPyEndAllowThreads(__tstate
);
24215 if (PyErr_Occurred()) SWIG_fail
;
24217 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinterDC
, SWIG_POINTER_NEW
| 0 );
24224 SWIGINTERN PyObject
*PrinterDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24226 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24227 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinterDC
, SWIG_NewClientData(obj
));
24228 return SWIG_Py_Void();
24231 SWIGINTERN PyObject
*PrinterDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24232 return SWIG_Python_InitShadowInstance(args
);
24235 SWIGINTERN PyObject
*_wrap_delete_GraphicsPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24236 PyObject
*resultobj
= 0;
24237 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
24240 PyObject
*swig_obj
[1] ;
24242 if (!args
) SWIG_fail
;
24243 swig_obj
[0] = args
;
24244 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_DISOWN
| 0 );
24245 if (!SWIG_IsOK(res1
)) {
24246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsPath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
24248 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
24252 if (PyErr_Occurred()) SWIG_fail
;
24254 resultobj
= SWIG_Py_Void();
24261 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24262 PyObject
*resultobj
= 0;
24263 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
24272 PyObject
* obj0
= 0 ;
24273 PyObject
* obj1
= 0 ;
24274 PyObject
* obj2
= 0 ;
24275 char * kwnames
[] = {
24276 (char *) "self",(char *) "x",(char *) "y", NULL
24279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsPath_MoveToPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24280 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
24281 if (!SWIG_IsOK(res1
)) {
24282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
24284 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
24285 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
24286 if (!SWIG_IsOK(ecode2
)) {
24287 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
24289 arg2
= static_cast< wxDouble
>(val2
);
24290 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
24291 if (!SWIG_IsOK(ecode3
)) {
24292 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
24294 arg3
= static_cast< wxDouble
>(val3
);
24296 (arg1
)->MoveToPoint(arg2
,arg3
);
24297 if (PyErr_Occurred()) SWIG_fail
;
24299 resultobj
= SWIG_Py_Void();
24306 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24307 PyObject
*resultobj
= 0;
24308 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
24317 PyObject
* obj0
= 0 ;
24318 PyObject
* obj1
= 0 ;
24319 PyObject
* obj2
= 0 ;
24320 char * kwnames
[] = {
24321 (char *) "self",(char *) "x",(char *) "y", NULL
24324 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsPath_AddLineToPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24325 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
24326 if (!SWIG_IsOK(res1
)) {
24327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
24329 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
24330 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
24331 if (!SWIG_IsOK(ecode2
)) {
24332 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
24334 arg2
= static_cast< wxDouble
>(val2
);
24335 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
24336 if (!SWIG_IsOK(ecode3
)) {
24337 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
24339 arg3
= static_cast< wxDouble
>(val3
);
24341 (arg1
)->AddLineToPoint(arg2
,arg3
);
24342 if (PyErr_Occurred()) SWIG_fail
;
24344 resultobj
= SWIG_Py_Void();
24351 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24352 PyObject
*resultobj
= 0;
24353 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
24374 PyObject
* obj0
= 0 ;
24375 PyObject
* obj1
= 0 ;
24376 PyObject
* obj2
= 0 ;
24377 PyObject
* obj3
= 0 ;
24378 PyObject
* obj4
= 0 ;
24379 PyObject
* obj5
= 0 ;
24380 PyObject
* obj6
= 0 ;
24381 char * kwnames
[] = {
24382 (char *) "self",(char *) "cx1",(char *) "cy1",(char *) "cx2",(char *) "cy2",(char *) "x",(char *) "y", NULL
24385 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsPath_AddCurveToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
24386 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
24387 if (!SWIG_IsOK(res1
)) {
24388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
24390 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
24391 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
24392 if (!SWIG_IsOK(ecode2
)) {
24393 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
24395 arg2
= static_cast< wxDouble
>(val2
);
24396 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
24397 if (!SWIG_IsOK(ecode3
)) {
24398 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
24400 arg3
= static_cast< wxDouble
>(val3
);
24401 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
24402 if (!SWIG_IsOK(ecode4
)) {
24403 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
24405 arg4
= static_cast< wxDouble
>(val4
);
24406 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
24407 if (!SWIG_IsOK(ecode5
)) {
24408 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
24410 arg5
= static_cast< wxDouble
>(val5
);
24411 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
24412 if (!SWIG_IsOK(ecode6
)) {
24413 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "6"" of type '" "wxDouble""'");
24415 arg6
= static_cast< wxDouble
>(val6
);
24416 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
24417 if (!SWIG_IsOK(ecode7
)) {
24418 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "7"" of type '" "wxDouble""'");
24420 arg7
= static_cast< wxDouble
>(val7
);
24422 (arg1
)->AddCurveToPoint(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
24423 if (PyErr_Occurred()) SWIG_fail
;
24425 resultobj
= SWIG_Py_Void();
24432 SWIGINTERN PyObject
*_wrap_GraphicsPath_CloseSubpath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24433 PyObject
*resultobj
= 0;
24434 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
24437 PyObject
*swig_obj
[1] ;
24439 if (!args
) SWIG_fail
;
24440 swig_obj
[0] = args
;
24441 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
24442 if (!SWIG_IsOK(res1
)) {
24443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_CloseSubpath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
24445 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
24447 (arg1
)->CloseSubpath();
24448 if (PyErr_Occurred()) SWIG_fail
;
24450 resultobj
= SWIG_Py_Void();
24457 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetCurrentPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24458 PyObject
*resultobj
= 0;
24459 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
24463 PyObject
*swig_obj
[1] ;
24465 if (!args
) SWIG_fail
;
24466 swig_obj
[0] = args
;
24467 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
24468 if (!SWIG_IsOK(res1
)) {
24469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetCurrentPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
24471 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
24473 result
= (arg1
)->GetCurrentPoint();
24474 if (PyErr_Occurred()) SWIG_fail
;
24476 resultobj
= SWIG_NewPointerObj((new wxPoint2D(static_cast< const wxPoint2D
& >(result
))), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
24483 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24484 PyObject
*resultobj
= 0;
24485 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
24506 PyObject
* obj0
= 0 ;
24507 PyObject
* obj1
= 0 ;
24508 PyObject
* obj2
= 0 ;
24509 PyObject
* obj3
= 0 ;
24510 PyObject
* obj4
= 0 ;
24511 PyObject
* obj5
= 0 ;
24512 PyObject
* obj6
= 0 ;
24513 char * kwnames
[] = {
24514 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "startAngle",(char *) "endAngle",(char *) "clockwise", NULL
24517 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsPath_AddArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
24518 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
24519 if (!SWIG_IsOK(res1
)) {
24520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArc" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
24522 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
24523 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
24524 if (!SWIG_IsOK(ecode2
)) {
24525 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArc" "', expected argument " "2"" of type '" "wxDouble""'");
24527 arg2
= static_cast< wxDouble
>(val2
);
24528 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
24529 if (!SWIG_IsOK(ecode3
)) {
24530 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArc" "', expected argument " "3"" of type '" "wxDouble""'");
24532 arg3
= static_cast< wxDouble
>(val3
);
24533 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
24534 if (!SWIG_IsOK(ecode4
)) {
24535 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArc" "', expected argument " "4"" of type '" "wxDouble""'");
24537 arg4
= static_cast< wxDouble
>(val4
);
24538 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
24539 if (!SWIG_IsOK(ecode5
)) {
24540 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArc" "', expected argument " "5"" of type '" "wxDouble""'");
24542 arg5
= static_cast< wxDouble
>(val5
);
24543 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
24544 if (!SWIG_IsOK(ecode6
)) {
24545 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArc" "', expected argument " "6"" of type '" "wxDouble""'");
24547 arg6
= static_cast< wxDouble
>(val6
);
24548 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
24549 if (!SWIG_IsOK(ecode7
)) {
24550 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddArc" "', expected argument " "7"" of type '" "bool""'");
24552 arg7
= static_cast< bool >(val7
);
24554 (arg1
)->AddArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
24555 if (PyErr_Occurred()) SWIG_fail
;
24557 resultobj
= SWIG_Py_Void();
24564 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddQuadCurveToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24565 PyObject
*resultobj
= 0;
24566 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
24581 PyObject
* obj0
= 0 ;
24582 PyObject
* obj1
= 0 ;
24583 PyObject
* obj2
= 0 ;
24584 PyObject
* obj3
= 0 ;
24585 PyObject
* obj4
= 0 ;
24586 char * kwnames
[] = {
24587 (char *) "self",(char *) "cx",(char *) "cy",(char *) "x",(char *) "y", NULL
24590 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddQuadCurveToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
24591 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
24592 if (!SWIG_IsOK(res1
)) {
24593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
24595 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
24596 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
24597 if (!SWIG_IsOK(ecode2
)) {
24598 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
24600 arg2
= static_cast< wxDouble
>(val2
);
24601 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
24602 if (!SWIG_IsOK(ecode3
)) {
24603 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
24605 arg3
= static_cast< wxDouble
>(val3
);
24606 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
24607 if (!SWIG_IsOK(ecode4
)) {
24608 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
24610 arg4
= static_cast< wxDouble
>(val4
);
24611 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
24612 if (!SWIG_IsOK(ecode5
)) {
24613 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
24615 arg5
= static_cast< wxDouble
>(val5
);
24617 (arg1
)->AddQuadCurveToPoint(arg2
,arg3
,arg4
,arg5
);
24618 if (PyErr_Occurred()) SWIG_fail
;
24620 resultobj
= SWIG_Py_Void();
24627 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24628 PyObject
*resultobj
= 0;
24629 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
24644 PyObject
* obj0
= 0 ;
24645 PyObject
* obj1
= 0 ;
24646 PyObject
* obj2
= 0 ;
24647 PyObject
* obj3
= 0 ;
24648 PyObject
* obj4
= 0 ;
24649 char * kwnames
[] = {
24650 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
24653 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
24654 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
24655 if (!SWIG_IsOK(res1
)) {
24656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
24658 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
24659 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
24660 if (!SWIG_IsOK(ecode2
)) {
24661 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
24663 arg2
= static_cast< wxDouble
>(val2
);
24664 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
24665 if (!SWIG_IsOK(ecode3
)) {
24666 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
24668 arg3
= static_cast< wxDouble
>(val3
);
24669 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
24670 if (!SWIG_IsOK(ecode4
)) {
24671 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
24673 arg4
= static_cast< wxDouble
>(val4
);
24674 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
24675 if (!SWIG_IsOK(ecode5
)) {
24676 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
24678 arg5
= static_cast< wxDouble
>(val5
);
24680 (arg1
)->AddRectangle(arg2
,arg3
,arg4
,arg5
);
24681 if (PyErr_Occurred()) SWIG_fail
;
24683 resultobj
= SWIG_Py_Void();
24690 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24691 PyObject
*resultobj
= 0;
24692 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
24704 PyObject
* obj0
= 0 ;
24705 PyObject
* obj1
= 0 ;
24706 PyObject
* obj2
= 0 ;
24707 PyObject
* obj3
= 0 ;
24708 char * kwnames
[] = {
24709 (char *) "self",(char *) "x",(char *) "y",(char *) "r", NULL
24712 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GraphicsPath_AddCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24713 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
24714 if (!SWIG_IsOK(res1
)) {
24715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
24717 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
24718 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
24719 if (!SWIG_IsOK(ecode2
)) {
24720 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "2"" of type '" "wxDouble""'");
24722 arg2
= static_cast< wxDouble
>(val2
);
24723 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
24724 if (!SWIG_IsOK(ecode3
)) {
24725 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "3"" of type '" "wxDouble""'");
24727 arg3
= static_cast< wxDouble
>(val3
);
24728 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
24729 if (!SWIG_IsOK(ecode4
)) {
24730 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "4"" of type '" "wxDouble""'");
24732 arg4
= static_cast< wxDouble
>(val4
);
24734 (arg1
)->AddCircle(arg2
,arg3
,arg4
);
24735 if (PyErr_Occurred()) SWIG_fail
;
24737 resultobj
= SWIG_Py_Void();
24744 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArcToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24745 PyObject
*resultobj
= 0;
24746 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
24764 PyObject
* obj0
= 0 ;
24765 PyObject
* obj1
= 0 ;
24766 PyObject
* obj2
= 0 ;
24767 PyObject
* obj3
= 0 ;
24768 PyObject
* obj4
= 0 ;
24769 PyObject
* obj5
= 0 ;
24770 char * kwnames
[] = {
24771 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "r", NULL
24774 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsPath_AddArcToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
24775 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
24776 if (!SWIG_IsOK(res1
)) {
24777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
24779 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
24780 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
24781 if (!SWIG_IsOK(ecode2
)) {
24782 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
24784 arg2
= static_cast< wxDouble
>(val2
);
24785 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
24786 if (!SWIG_IsOK(ecode3
)) {
24787 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
24789 arg3
= static_cast< wxDouble
>(val3
);
24790 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
24791 if (!SWIG_IsOK(ecode4
)) {
24792 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
24794 arg4
= static_cast< wxDouble
>(val4
);
24795 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
24796 if (!SWIG_IsOK(ecode5
)) {
24797 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
24799 arg5
= static_cast< wxDouble
>(val5
);
24800 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
24801 if (!SWIG_IsOK(ecode6
)) {
24802 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "6"" of type '" "wxDouble""'");
24804 arg6
= static_cast< wxDouble
>(val6
);
24806 (arg1
)->AddArcToPoint(arg2
,arg3
,arg4
,arg5
,arg6
);
24807 if (PyErr_Occurred()) SWIG_fail
;
24809 resultobj
= SWIG_Py_Void();
24816 SWIGINTERN PyObject
*GraphicsPath_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24818 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24819 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsPath
, SWIG_NewClientData(obj
));
24820 return SWIG_Py_Void();
24823 SWIGINTERN PyObject
*_wrap_delete_GraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24824 PyObject
*resultobj
= 0;
24825 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
24828 PyObject
*swig_obj
[1] ;
24830 if (!args
) SWIG_fail
;
24831 swig_obj
[0] = args
;
24832 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_DISOWN
| 0 );
24833 if (!SWIG_IsOK(res1
)) {
24834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsContext" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
24836 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
24840 if (PyErr_Occurred()) SWIG_fail
;
24842 resultobj
= SWIG_Py_Void();
24849 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24850 PyObject
*resultobj
= 0;
24851 wxWindowDC
*arg1
= 0 ;
24852 wxGraphicsContext
*result
= 0 ;
24856 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
24857 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
24858 if (!SWIG_IsOK(res1
)) {
24859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
24862 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
24864 arg1
= reinterpret_cast< wxWindowDC
* >(argp1
);
24866 result
= (wxGraphicsContext
*)wxGraphicsContext::Create((wxWindowDC
const &)*arg1
);
24867 if (PyErr_Occurred()) SWIG_fail
;
24869 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
24876 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24877 PyObject
*resultobj
= 0;
24878 wxWindow
*arg1
= (wxWindow
*) 0 ;
24879 wxGraphicsContext
*result
= 0 ;
24883 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
24884 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
24885 if (!SWIG_IsOK(res1
)) {
24886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindow *""'");
24888 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
24890 result
= (wxGraphicsContext
*)wxGraphicsContext::Create(arg1
);
24891 if (PyErr_Occurred()) SWIG_fail
;
24893 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
24900 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create(PyObject
*self
, PyObject
*args
) {
24904 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_Create",0,1,argv
))) SWIG_fail
;
24909 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxWindowDC
, 0);
24910 _v
= SWIG_CheckState(res
);
24912 if (!_v
) goto check_1
;
24913 return _wrap_GraphicsContext_Create__SWIG_0(self
, argc
, argv
);
24918 return _wrap_GraphicsContext_Create__SWIG_1(self
, argc
, argv
);
24922 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_Create'");
24927 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreateFromNative(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24928 PyObject
*resultobj
= 0;
24929 void *arg1
= (void *) 0 ;
24930 wxGraphicsContext
*result
= 0 ;
24932 PyObject
* obj0
= 0 ;
24933 char * kwnames
[] = {
24934 (char *) "context", NULL
24937 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GraphicsContext_CreateFromNative",kwnames
,&obj0
)) SWIG_fail
;
24938 res1
= SWIG_ConvertPtr(obj0
,SWIG_as_voidptrptr(&arg1
), 0, 0);
24939 if (!SWIG_IsOK(res1
)) {
24940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreateFromNative" "', expected argument " "1"" of type '" "void *""'");
24943 result
= (wxGraphicsContext
*)wxGraphicsContext::CreateFromNative(arg1
);
24944 if (PyErr_Occurred()) SWIG_fail
;
24946 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
24953 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreatePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24954 PyObject
*resultobj
= 0;
24955 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
24956 wxGraphicsPath
*result
= 0 ;
24959 PyObject
*swig_obj
[1] ;
24961 if (!args
) SWIG_fail
;
24962 swig_obj
[0] = args
;
24963 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
24964 if (!SWIG_IsOK(res1
)) {
24965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreatePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
24967 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
24969 result
= (wxGraphicsPath
*)(arg1
)->CreatePath();
24970 if (PyErr_Occurred()) SWIG_fail
;
24972 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
24979 SWIGINTERN PyObject
*_wrap_GraphicsContext_PushState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24980 PyObject
*resultobj
= 0;
24981 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
24984 PyObject
*swig_obj
[1] ;
24986 if (!args
) SWIG_fail
;
24987 swig_obj
[0] = args
;
24988 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
24989 if (!SWIG_IsOK(res1
)) {
24990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_PushState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
24992 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
24994 (arg1
)->PushState();
24995 if (PyErr_Occurred()) SWIG_fail
;
24997 resultobj
= SWIG_Py_Void();
25004 SWIGINTERN PyObject
*_wrap_GraphicsContext_PopState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25005 PyObject
*resultobj
= 0;
25006 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25009 PyObject
*swig_obj
[1] ;
25011 if (!args
) SWIG_fail
;
25012 swig_obj
[0] = args
;
25013 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25014 if (!SWIG_IsOK(res1
)) {
25015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_PopState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25017 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25019 (arg1
)->PopState();
25020 if (PyErr_Occurred()) SWIG_fail
;
25022 resultobj
= SWIG_Py_Void();
25029 SWIGINTERN PyObject
*_wrap_GraphicsContext_ClipRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25030 PyObject
*resultobj
= 0;
25031 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25032 wxRegion
*arg2
= 0 ;
25037 PyObject
* obj0
= 0 ;
25038 PyObject
* obj1
= 0 ;
25039 char * kwnames
[] = {
25040 (char *) "self",(char *) "region", NULL
25043 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_ClipRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25044 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25045 if (!SWIG_IsOK(res1
)) {
25046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ClipRegion" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25048 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25049 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
25050 if (!SWIG_IsOK(res2
)) {
25051 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_ClipRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
25054 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_ClipRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
25056 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
25058 (arg1
)->Clip((wxRegion
const &)*arg2
);
25059 if (PyErr_Occurred()) SWIG_fail
;
25061 resultobj
= SWIG_Py_Void();
25068 SWIGINTERN PyObject
*_wrap_GraphicsContext_Clip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25069 PyObject
*resultobj
= 0;
25070 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25085 PyObject
* obj0
= 0 ;
25086 PyObject
* obj1
= 0 ;
25087 PyObject
* obj2
= 0 ;
25088 PyObject
* obj3
= 0 ;
25089 PyObject
* obj4
= 0 ;
25090 char * kwnames
[] = {
25091 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
25094 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_Clip",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
25095 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25096 if (!SWIG_IsOK(res1
)) {
25097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Clip" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25099 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25100 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25101 if (!SWIG_IsOK(ecode2
)) {
25102 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Clip" "', expected argument " "2"" of type '" "wxDouble""'");
25104 arg2
= static_cast< wxDouble
>(val2
);
25105 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25106 if (!SWIG_IsOK(ecode3
)) {
25107 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Clip" "', expected argument " "3"" of type '" "wxDouble""'");
25109 arg3
= static_cast< wxDouble
>(val3
);
25110 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
25111 if (!SWIG_IsOK(ecode4
)) {
25112 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_Clip" "', expected argument " "4"" of type '" "wxDouble""'");
25114 arg4
= static_cast< wxDouble
>(val4
);
25115 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
25116 if (!SWIG_IsOK(ecode5
)) {
25117 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_Clip" "', expected argument " "5"" of type '" "wxDouble""'");
25119 arg5
= static_cast< wxDouble
>(val5
);
25121 (arg1
)->Clip(arg2
,arg3
,arg4
,arg5
);
25122 if (PyErr_Occurred()) SWIG_fail
;
25124 resultobj
= SWIG_Py_Void();
25131 SWIGINTERN PyObject
*_wrap_GraphicsContext_ResetClip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25132 PyObject
*resultobj
= 0;
25133 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25136 PyObject
*swig_obj
[1] ;
25138 if (!args
) SWIG_fail
;
25139 swig_obj
[0] = args
;
25140 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25141 if (!SWIG_IsOK(res1
)) {
25142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_ResetClip" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25144 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25146 (arg1
)->ResetClip();
25147 if (PyErr_Occurred()) SWIG_fail
;
25149 resultobj
= SWIG_Py_Void();
25156 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetNativeContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25157 PyObject
*resultobj
= 0;
25158 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25162 PyObject
*swig_obj
[1] ;
25164 if (!args
) SWIG_fail
;
25165 swig_obj
[0] = args
;
25166 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25167 if (!SWIG_IsOK(res1
)) {
25168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetNativeContext" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25170 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25172 result
= (void *)(arg1
)->GetNativeContext();
25173 if (PyErr_Occurred()) SWIG_fail
;
25175 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
25182 SWIGINTERN PyObject
*_wrap_GraphicsContext_Translate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25183 PyObject
*resultobj
= 0;
25184 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25193 PyObject
* obj0
= 0 ;
25194 PyObject
* obj1
= 0 ;
25195 PyObject
* obj2
= 0 ;
25196 char * kwnames
[] = {
25197 (char *) "self",(char *) "dx",(char *) "dy", NULL
25200 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25201 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25202 if (!SWIG_IsOK(res1
)) {
25203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Translate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25205 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25206 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25207 if (!SWIG_IsOK(ecode2
)) {
25208 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Translate" "', expected argument " "2"" of type '" "wxDouble""'");
25210 arg2
= static_cast< wxDouble
>(val2
);
25211 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25212 if (!SWIG_IsOK(ecode3
)) {
25213 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Translate" "', expected argument " "3"" of type '" "wxDouble""'");
25215 arg3
= static_cast< wxDouble
>(val3
);
25217 (arg1
)->Translate(arg2
,arg3
);
25218 if (PyErr_Occurred()) SWIG_fail
;
25220 resultobj
= SWIG_Py_Void();
25227 SWIGINTERN PyObject
*_wrap_GraphicsContext_Scale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25228 PyObject
*resultobj
= 0;
25229 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25238 PyObject
* obj0
= 0 ;
25239 PyObject
* obj1
= 0 ;
25240 PyObject
* obj2
= 0 ;
25241 char * kwnames
[] = {
25242 (char *) "self",(char *) "xScale",(char *) "yScale", NULL
25245 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25246 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25247 if (!SWIG_IsOK(res1
)) {
25248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Scale" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25250 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25251 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25252 if (!SWIG_IsOK(ecode2
)) {
25253 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Scale" "', expected argument " "2"" of type '" "wxDouble""'");
25255 arg2
= static_cast< wxDouble
>(val2
);
25256 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25257 if (!SWIG_IsOK(ecode3
)) {
25258 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Scale" "', expected argument " "3"" of type '" "wxDouble""'");
25260 arg3
= static_cast< wxDouble
>(val3
);
25262 (arg1
)->Scale(arg2
,arg3
);
25263 if (PyErr_Occurred()) SWIG_fail
;
25265 resultobj
= SWIG_Py_Void();
25272 SWIGINTERN PyObject
*_wrap_GraphicsContext_Rotate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25273 PyObject
*resultobj
= 0;
25274 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25280 PyObject
* obj0
= 0 ;
25281 PyObject
* obj1
= 0 ;
25282 char * kwnames
[] = {
25283 (char *) "self",(char *) "angle", NULL
25286 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_Rotate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25287 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25288 if (!SWIG_IsOK(res1
)) {
25289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Rotate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25291 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25292 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25293 if (!SWIG_IsOK(ecode2
)) {
25294 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Rotate" "', expected argument " "2"" of type '" "wxDouble""'");
25296 arg2
= static_cast< wxDouble
>(val2
);
25298 (arg1
)->Rotate(arg2
);
25299 if (PyErr_Occurred()) SWIG_fail
;
25301 resultobj
= SWIG_Py_Void();
25308 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25309 PyObject
*resultobj
= 0;
25310 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25316 PyObject
* obj0
= 0 ;
25317 PyObject
* obj1
= 0 ;
25318 char * kwnames
[] = {
25319 (char *) "self",(char *) "pen", NULL
25322 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25323 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25324 if (!SWIG_IsOK(res1
)) {
25325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetPen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25327 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25328 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
25329 if (!SWIG_IsOK(res2
)) {
25330 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
25333 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
25335 arg2
= reinterpret_cast< wxPen
* >(argp2
);
25337 (arg1
)->SetPen((wxPen
const &)*arg2
);
25338 if (PyErr_Occurred()) SWIG_fail
;
25340 resultobj
= SWIG_Py_Void();
25347 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25348 PyObject
*resultobj
= 0;
25349 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25350 wxBrush
*arg2
= 0 ;
25355 PyObject
* obj0
= 0 ;
25356 PyObject
* obj1
= 0 ;
25357 char * kwnames
[] = {
25358 (char *) "self",(char *) "brush", NULL
25361 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25362 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25363 if (!SWIG_IsOK(res1
)) {
25364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25366 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25367 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
25368 if (!SWIG_IsOK(res2
)) {
25369 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
25372 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
25374 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
25376 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
25377 if (PyErr_Occurred()) SWIG_fail
;
25379 resultobj
= SWIG_Py_Void();
25386 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetLinearGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25387 PyObject
*resultobj
= 0;
25388 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25393 wxColour
*arg6
= 0 ;
25394 wxColour
*arg7
= 0 ;
25407 PyObject
* obj0
= 0 ;
25408 PyObject
* obj1
= 0 ;
25409 PyObject
* obj2
= 0 ;
25410 PyObject
* obj3
= 0 ;
25411 PyObject
* obj4
= 0 ;
25412 PyObject
* obj5
= 0 ;
25413 PyObject
* obj6
= 0 ;
25414 char * kwnames
[] = {
25415 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "c1",(char *) "c2", NULL
25418 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsContext_SetLinearGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
25419 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25420 if (!SWIG_IsOK(res1
)) {
25421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetLinearGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25423 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25424 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25425 if (!SWIG_IsOK(ecode2
)) {
25426 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_SetLinearGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
25428 arg2
= static_cast< wxDouble
>(val2
);
25429 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25430 if (!SWIG_IsOK(ecode3
)) {
25431 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_SetLinearGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
25433 arg3
= static_cast< wxDouble
>(val3
);
25434 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
25435 if (!SWIG_IsOK(ecode4
)) {
25436 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_SetLinearGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
25438 arg4
= static_cast< wxDouble
>(val4
);
25439 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
25440 if (!SWIG_IsOK(ecode5
)) {
25441 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_SetLinearGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
25443 arg5
= static_cast< wxDouble
>(val5
);
25446 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
25450 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
25453 (arg1
)->SetLinearGradientBrush(arg2
,arg3
,arg4
,arg5
,(wxColour
const &)*arg6
,(wxColour
const &)*arg7
);
25454 if (PyErr_Occurred()) SWIG_fail
;
25456 resultobj
= SWIG_Py_Void();
25463 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetRadialGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25464 PyObject
*resultobj
= 0;
25465 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25471 wxColour
*arg7
= 0 ;
25472 wxColour
*arg8
= 0 ;
25487 PyObject
* obj0
= 0 ;
25488 PyObject
* obj1
= 0 ;
25489 PyObject
* obj2
= 0 ;
25490 PyObject
* obj3
= 0 ;
25491 PyObject
* obj4
= 0 ;
25492 PyObject
* obj5
= 0 ;
25493 PyObject
* obj6
= 0 ;
25494 PyObject
* obj7
= 0 ;
25495 char * kwnames
[] = {
25496 (char *) "self",(char *) "xo",(char *) "yo",(char *) "xc",(char *) "yc",(char *) "radius",(char *) "oColor",(char *) "cColor", NULL
25499 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GraphicsContext_SetRadialGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
25500 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25501 if (!SWIG_IsOK(res1
)) {
25502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetRadialGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25504 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25505 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25506 if (!SWIG_IsOK(ecode2
)) {
25507 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_SetRadialGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
25509 arg2
= static_cast< wxDouble
>(val2
);
25510 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25511 if (!SWIG_IsOK(ecode3
)) {
25512 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_SetRadialGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
25514 arg3
= static_cast< wxDouble
>(val3
);
25515 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
25516 if (!SWIG_IsOK(ecode4
)) {
25517 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_SetRadialGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
25519 arg4
= static_cast< wxDouble
>(val4
);
25520 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
25521 if (!SWIG_IsOK(ecode5
)) {
25522 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_SetRadialGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
25524 arg5
= static_cast< wxDouble
>(val5
);
25525 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
25526 if (!SWIG_IsOK(ecode6
)) {
25527 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_SetRadialGradientBrush" "', expected argument " "6"" of type '" "wxDouble""'");
25529 arg6
= static_cast< wxDouble
>(val6
);
25532 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
25536 if ( ! wxColour_helper(obj7
, &arg8
)) SWIG_fail
;
25539 (arg1
)->SetRadialGradientBrush(arg2
,arg3
,arg4
,arg5
,arg6
,(wxColour
const &)*arg7
,(wxColour
const &)*arg8
);
25540 if (PyErr_Occurred()) SWIG_fail
;
25542 resultobj
= SWIG_Py_Void();
25549 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25550 PyObject
*resultobj
= 0;
25551 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25557 PyObject
* obj0
= 0 ;
25558 PyObject
* obj1
= 0 ;
25559 char * kwnames
[] = {
25560 (char *) "self",(char *) "font", NULL
25563 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25564 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25565 if (!SWIG_IsOK(res1
)) {
25566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25568 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25569 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
25570 if (!SWIG_IsOK(res2
)) {
25571 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
25574 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
25576 arg2
= reinterpret_cast< wxFont
* >(argp2
);
25578 (arg1
)->SetFont((wxFont
const &)*arg2
);
25579 if (PyErr_Occurred()) SWIG_fail
;
25581 resultobj
= SWIG_Py_Void();
25588 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetTextColor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25589 PyObject
*resultobj
= 0;
25590 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25591 wxColour
*arg2
= 0 ;
25595 PyObject
* obj0
= 0 ;
25596 PyObject
* obj1
= 0 ;
25597 char * kwnames
[] = {
25598 (char *) "self",(char *) "col", NULL
25601 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetTextColor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25602 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25603 if (!SWIG_IsOK(res1
)) {
25604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetTextColor" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25606 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25609 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25612 (arg1
)->SetTextColor((wxColour
const &)*arg2
);
25613 if (PyErr_Occurred()) SWIG_fail
;
25615 resultobj
= SWIG_Py_Void();
25622 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25623 PyObject
*resultobj
= 0;
25624 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25625 wxGraphicsPath
*arg2
= (wxGraphicsPath
*) 0 ;
25630 PyObject
* obj0
= 0 ;
25631 PyObject
* obj1
= 0 ;
25632 char * kwnames
[] = {
25633 (char *) "self",(char *) "path", NULL
25636 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_StrokePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25637 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25638 if (!SWIG_IsOK(res1
)) {
25639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25641 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25642 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25643 if (!SWIG_IsOK(res2
)) {
25644 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "2"" of type '" "wxGraphicsPath const *""'");
25646 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
25648 (arg1
)->StrokePath((wxGraphicsPath
const *)arg2
);
25649 if (PyErr_Occurred()) SWIG_fail
;
25651 resultobj
= SWIG_Py_Void();
25658 SWIGINTERN PyObject
*_wrap_GraphicsContext_FillPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25659 PyObject
*resultobj
= 0;
25660 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25661 wxGraphicsPath
*arg2
= (wxGraphicsPath
*) 0 ;
25662 int arg3
= (int) wxWINDING_RULE
;
25669 PyObject
* obj0
= 0 ;
25670 PyObject
* obj1
= 0 ;
25671 PyObject
* obj2
= 0 ;
25672 char * kwnames
[] = {
25673 (char *) "self",(char *) "path",(char *) "fillStyle", NULL
25676 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_FillPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25677 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25678 if (!SWIG_IsOK(res1
)) {
25679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_FillPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25681 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25682 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25683 if (!SWIG_IsOK(res2
)) {
25684 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_FillPath" "', expected argument " "2"" of type '" "wxGraphicsPath const *""'");
25686 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
25688 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25689 if (!SWIG_IsOK(ecode3
)) {
25690 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_FillPath" "', expected argument " "3"" of type '" "int""'");
25692 arg3
= static_cast< int >(val3
);
25695 (arg1
)->FillPath((wxGraphicsPath
const *)arg2
,arg3
);
25696 if (PyErr_Occurred()) SWIG_fail
;
25698 resultobj
= SWIG_Py_Void();
25705 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25706 PyObject
*resultobj
= 0;
25707 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25708 wxGraphicsPath
*arg2
= (wxGraphicsPath
*) 0 ;
25709 int arg3
= (int) wxWINDING_RULE
;
25716 PyObject
* obj0
= 0 ;
25717 PyObject
* obj1
= 0 ;
25718 PyObject
* obj2
= 0 ;
25719 char * kwnames
[] = {
25720 (char *) "self",(char *) "path",(char *) "fillStyle", NULL
25723 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_DrawPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25724 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25725 if (!SWIG_IsOK(res1
)) {
25726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25728 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25729 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25730 if (!SWIG_IsOK(res2
)) {
25731 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "2"" of type '" "wxGraphicsPath const *""'");
25733 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
25735 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25736 if (!SWIG_IsOK(ecode3
)) {
25737 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "3"" of type '" "int""'");
25739 arg3
= static_cast< int >(val3
);
25742 (arg1
)->DrawPath((wxGraphicsPath
const *)arg2
,arg3
);
25743 if (PyErr_Occurred()) SWIG_fail
;
25745 resultobj
= SWIG_Py_Void();
25752 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25753 PyObject
*resultobj
= 0;
25754 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25755 wxString
*arg2
= 0 ;
25760 bool temp2
= false ;
25765 PyObject
* obj0
= 0 ;
25766 PyObject
* obj1
= 0 ;
25767 PyObject
* obj2
= 0 ;
25768 PyObject
* obj3
= 0 ;
25769 char * kwnames
[] = {
25770 (char *) "self",(char *) "str",(char *) "x",(char *) "y", NULL
25773 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GraphicsContext_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
25774 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25775 if (!SWIG_IsOK(res1
)) {
25776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25778 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25780 arg2
= wxString_in_helper(obj1
);
25781 if (arg2
== NULL
) SWIG_fail
;
25784 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25785 if (!SWIG_IsOK(ecode3
)) {
25786 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawText" "', expected argument " "3"" of type '" "wxDouble""'");
25788 arg3
= static_cast< wxDouble
>(val3
);
25789 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
25790 if (!SWIG_IsOK(ecode4
)) {
25791 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawText" "', expected argument " "4"" of type '" "wxDouble""'");
25793 arg4
= static_cast< wxDouble
>(val4
);
25795 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
25796 if (PyErr_Occurred()) SWIG_fail
;
25798 resultobj
= SWIG_Py_Void();
25813 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25814 PyObject
*resultobj
= 0;
25815 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25816 wxString
*arg2
= 0 ;
25822 bool temp2
= false ;
25829 PyObject
* obj0
= 0 ;
25830 PyObject
* obj1
= 0 ;
25831 PyObject
* obj2
= 0 ;
25832 PyObject
* obj3
= 0 ;
25833 PyObject
* obj4
= 0 ;
25834 char * kwnames
[] = {
25835 (char *) "self",(char *) "str",(char *) "x",(char *) "y",(char *) "angle", NULL
25838 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
25839 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25840 if (!SWIG_IsOK(res1
)) {
25841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25843 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25845 arg2
= wxString_in_helper(obj1
);
25846 if (arg2
== NULL
) SWIG_fail
;
25849 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25850 if (!SWIG_IsOK(ecode3
)) {
25851 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "3"" of type '" "wxDouble""'");
25853 arg3
= static_cast< wxDouble
>(val3
);
25854 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
25855 if (!SWIG_IsOK(ecode4
)) {
25856 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "4"" of type '" "wxDouble""'");
25858 arg4
= static_cast< wxDouble
>(val4
);
25859 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
25860 if (!SWIG_IsOK(ecode5
)) {
25861 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "5"" of type '" "wxDouble""'");
25863 arg5
= static_cast< wxDouble
>(val5
);
25865 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
25866 if (PyErr_Occurred()) SWIG_fail
;
25868 resultobj
= SWIG_Py_Void();
25883 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25884 PyObject
*resultobj
= 0;
25885 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25886 wxString
*arg2
= 0 ;
25887 wxDouble
*arg3
= (wxDouble
*) 0 ;
25888 wxDouble
*arg4
= (wxDouble
*) 0 ;
25889 wxDouble
*arg5
= (wxDouble
*) 0 ;
25890 wxDouble
*arg6
= (wxDouble
*) 0 ;
25893 bool temp2
= false ;
25895 int res3
= SWIG_TMPOBJ
;
25897 int res4
= SWIG_TMPOBJ
;
25899 int res5
= SWIG_TMPOBJ
;
25901 int res6
= SWIG_TMPOBJ
;
25902 PyObject
* obj0
= 0 ;
25903 PyObject
* obj1
= 0 ;
25904 char * kwnames
[] = {
25905 (char *) "self",(char *) "text", NULL
25912 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25913 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25914 if (!SWIG_IsOK(res1
)) {
25915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetTextExtent" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
25917 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25919 arg2
= wxString_in_helper(obj1
);
25920 if (arg2
== NULL
) SWIG_fail
;
25924 ((wxGraphicsContext
const *)arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
25925 if (PyErr_Occurred()) SWIG_fail
;
25927 resultobj
= SWIG_Py_Void();
25928 if (SWIG_IsTmpObj(res3
)) {
25929 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
25931 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25932 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
25934 if (SWIG_IsTmpObj(res4
)) {
25935 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg4
)));
25937 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25938 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_double
, new_flags
));
25940 if (SWIG_IsTmpObj(res5
)) {
25941 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg5
)));
25943 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25944 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_double
, new_flags
));
25946 if (SWIG_IsTmpObj(res6
)) {
25947 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg6
)));
25949 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25950 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_double
, new_flags
));
25966 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25967 PyObject
*resultobj
= 0;
25968 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25969 wxString
*arg2
= 0 ;
25970 wxArrayDouble result
;
25973 bool temp2
= false ;
25974 PyObject
* obj0
= 0 ;
25975 PyObject
* obj1
= 0 ;
25976 char * kwnames
[] = {
25977 (char *) "self",(char *) "text", NULL
25980 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25981 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25982 if (!SWIG_IsOK(res1
)) {
25983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25985 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25987 arg2
= wxString_in_helper(obj1
);
25988 if (arg2
== NULL
) SWIG_fail
;
25992 result
= wxGraphicsContext_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
25993 if (PyErr_Occurred()) SWIG_fail
;
25996 resultobj
= wxArrayDouble2PyList_helper(result
);
26012 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26013 PyObject
*resultobj
= 0;
26014 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26015 wxBitmap
*arg2
= 0 ;
26032 PyObject
* obj0
= 0 ;
26033 PyObject
* obj1
= 0 ;
26034 PyObject
* obj2
= 0 ;
26035 PyObject
* obj3
= 0 ;
26036 PyObject
* obj4
= 0 ;
26037 PyObject
* obj5
= 0 ;
26038 char * kwnames
[] = {
26039 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
26042 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
26043 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26044 if (!SWIG_IsOK(res1
)) {
26045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26047 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26048 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
26049 if (!SWIG_IsOK(res2
)) {
26050 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
26053 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
26055 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
26056 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26057 if (!SWIG_IsOK(ecode3
)) {
26058 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "3"" of type '" "wxDouble""'");
26060 arg3
= static_cast< wxDouble
>(val3
);
26061 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26062 if (!SWIG_IsOK(ecode4
)) {
26063 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "4"" of type '" "wxDouble""'");
26065 arg4
= static_cast< wxDouble
>(val4
);
26066 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26067 if (!SWIG_IsOK(ecode5
)) {
26068 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "5"" of type '" "wxDouble""'");
26070 arg5
= static_cast< wxDouble
>(val5
);
26071 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
26072 if (!SWIG_IsOK(ecode6
)) {
26073 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "6"" of type '" "wxDouble""'");
26075 arg6
= static_cast< wxDouble
>(val6
);
26077 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
26078 if (PyErr_Occurred()) SWIG_fail
;
26080 resultobj
= SWIG_Py_Void();
26087 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26088 PyObject
*resultobj
= 0;
26089 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26107 PyObject
* obj0
= 0 ;
26108 PyObject
* obj1
= 0 ;
26109 PyObject
* obj2
= 0 ;
26110 PyObject
* obj3
= 0 ;
26111 PyObject
* obj4
= 0 ;
26112 PyObject
* obj5
= 0 ;
26113 char * kwnames
[] = {
26114 (char *) "self",(char *) "icon",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
26117 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
26118 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26119 if (!SWIG_IsOK(res1
)) {
26120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26122 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26123 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
26124 if (!SWIG_IsOK(res2
)) {
26125 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
26128 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
26130 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
26131 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26132 if (!SWIG_IsOK(ecode3
)) {
26133 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "3"" of type '" "wxDouble""'");
26135 arg3
= static_cast< wxDouble
>(val3
);
26136 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26137 if (!SWIG_IsOK(ecode4
)) {
26138 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "4"" of type '" "wxDouble""'");
26140 arg4
= static_cast< wxDouble
>(val4
);
26141 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26142 if (!SWIG_IsOK(ecode5
)) {
26143 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "5"" of type '" "wxDouble""'");
26145 arg5
= static_cast< wxDouble
>(val5
);
26146 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
26147 if (!SWIG_IsOK(ecode6
)) {
26148 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "6"" of type '" "wxDouble""'");
26150 arg6
= static_cast< wxDouble
>(val6
);
26152 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
26153 if (PyErr_Occurred()) SWIG_fail
;
26155 resultobj
= SWIG_Py_Void();
26162 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26163 PyObject
*resultobj
= 0;
26164 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26179 PyObject
* obj0
= 0 ;
26180 PyObject
* obj1
= 0 ;
26181 PyObject
* obj2
= 0 ;
26182 PyObject
* obj3
= 0 ;
26183 PyObject
* obj4
= 0 ;
26184 char * kwnames
[] = {
26185 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
26188 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_StrokeLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26189 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26190 if (!SWIG_IsOK(res1
)) {
26191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26193 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26194 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26195 if (!SWIG_IsOK(ecode2
)) {
26196 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "2"" of type '" "wxDouble""'");
26198 arg2
= static_cast< wxDouble
>(val2
);
26199 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26200 if (!SWIG_IsOK(ecode3
)) {
26201 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "3"" of type '" "wxDouble""'");
26203 arg3
= static_cast< wxDouble
>(val3
);
26204 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26205 if (!SWIG_IsOK(ecode4
)) {
26206 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "4"" of type '" "wxDouble""'");
26208 arg4
= static_cast< wxDouble
>(val4
);
26209 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26210 if (!SWIG_IsOK(ecode5
)) {
26211 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "5"" of type '" "wxDouble""'");
26213 arg5
= static_cast< wxDouble
>(val5
);
26215 (arg1
)->StrokeLine(arg2
,arg3
,arg4
,arg5
);
26216 if (PyErr_Occurred()) SWIG_fail
;
26218 resultobj
= SWIG_Py_Void();
26225 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26226 PyObject
*resultobj
= 0;
26227 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26229 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
26232 PyObject
* obj0
= 0 ;
26233 PyObject
* obj1
= 0 ;
26234 char * kwnames
[] = {
26235 (char *) "self",(char *) "points", NULL
26238 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_StrokeLines",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26239 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26240 if (!SWIG_IsOK(res1
)) {
26241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26243 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26245 arg3
= wxPoint2D_LIST_helper(obj1
, &arg2
);
26246 if (arg3
== NULL
) SWIG_fail
;
26249 (arg1
)->StrokeLines(arg2
,(wxPoint2D
const *)arg3
);
26250 if (PyErr_Occurred()) SWIG_fail
;
26252 resultobj
= SWIG_Py_Void();
26254 if (arg3
) delete [] arg3
;
26259 if (arg3
) delete [] arg3
;
26265 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLineSegements(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26266 PyObject
*resultobj
= 0;
26267 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26268 PyObject
*arg2
= (PyObject
*) 0 ;
26269 PyObject
*arg3
= (PyObject
*) 0 ;
26272 PyObject
* obj0
= 0 ;
26273 PyObject
* obj1
= 0 ;
26274 PyObject
* obj2
= 0 ;
26275 char * kwnames
[] = {
26276 (char *) "self",(char *) "beginPoints",(char *) "endPoints", NULL
26279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_StrokeLineSegements",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26280 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26281 if (!SWIG_IsOK(res1
)) {
26282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLineSegements" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26284 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26288 wxGraphicsContext_StrokeLineSegements(arg1
,arg2
,arg3
);
26289 if (PyErr_Occurred()) SWIG_fail
;
26291 resultobj
= SWIG_Py_Void();
26298 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26299 PyObject
*resultobj
= 0;
26300 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26302 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
26303 int arg4
= (int) wxWINDING_RULE
;
26308 PyObject
* obj0
= 0 ;
26309 PyObject
* obj1
= 0 ;
26310 PyObject
* obj2
= 0 ;
26311 char * kwnames
[] = {
26312 (char *) "self",(char *) "points",(char *) "fillStyle", NULL
26315 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26316 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26317 if (!SWIG_IsOK(res1
)) {
26318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26320 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26322 arg3
= wxPoint2D_LIST_helper(obj1
, &arg2
);
26323 if (arg3
== NULL
) SWIG_fail
;
26326 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
26327 if (!SWIG_IsOK(ecode4
)) {
26328 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "4"" of type '" "int""'");
26330 arg4
= static_cast< int >(val4
);
26333 (arg1
)->DrawLines(arg2
,(wxPoint2D
const *)arg3
,arg4
);
26334 if (PyErr_Occurred()) SWIG_fail
;
26336 resultobj
= SWIG_Py_Void();
26338 if (arg3
) delete [] arg3
;
26343 if (arg3
) delete [] arg3
;
26349 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26350 PyObject
*resultobj
= 0;
26351 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26366 PyObject
* obj0
= 0 ;
26367 PyObject
* obj1
= 0 ;
26368 PyObject
* obj2
= 0 ;
26369 PyObject
* obj3
= 0 ;
26370 PyObject
* obj4
= 0 ;
26371 char * kwnames
[] = {
26372 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
26375 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26376 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26377 if (!SWIG_IsOK(res1
)) {
26378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26380 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26381 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26382 if (!SWIG_IsOK(ecode2
)) {
26383 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
26385 arg2
= static_cast< wxDouble
>(val2
);
26386 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26387 if (!SWIG_IsOK(ecode3
)) {
26388 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
26390 arg3
= static_cast< wxDouble
>(val3
);
26391 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26392 if (!SWIG_IsOK(ecode4
)) {
26393 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
26395 arg4
= static_cast< wxDouble
>(val4
);
26396 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26397 if (!SWIG_IsOK(ecode5
)) {
26398 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
26400 arg5
= static_cast< wxDouble
>(val5
);
26402 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
26403 if (PyErr_Occurred()) SWIG_fail
;
26405 resultobj
= SWIG_Py_Void();
26412 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26413 PyObject
*resultobj
= 0;
26414 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26429 PyObject
* obj0
= 0 ;
26430 PyObject
* obj1
= 0 ;
26431 PyObject
* obj2
= 0 ;
26432 PyObject
* obj3
= 0 ;
26433 PyObject
* obj4
= 0 ;
26434 char * kwnames
[] = {
26435 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
26438 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26439 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26440 if (!SWIG_IsOK(res1
)) {
26441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26443 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26444 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26445 if (!SWIG_IsOK(ecode2
)) {
26446 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "2"" of type '" "wxDouble""'");
26448 arg2
= static_cast< wxDouble
>(val2
);
26449 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26450 if (!SWIG_IsOK(ecode3
)) {
26451 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "3"" of type '" "wxDouble""'");
26453 arg3
= static_cast< wxDouble
>(val3
);
26454 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26455 if (!SWIG_IsOK(ecode4
)) {
26456 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "4"" of type '" "wxDouble""'");
26458 arg4
= static_cast< wxDouble
>(val4
);
26459 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26460 if (!SWIG_IsOK(ecode5
)) {
26461 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "5"" of type '" "wxDouble""'");
26463 arg5
= static_cast< wxDouble
>(val5
);
26465 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
26466 if (PyErr_Occurred()) SWIG_fail
;
26468 resultobj
= SWIG_Py_Void();
26475 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26476 PyObject
*resultobj
= 0;
26477 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26495 PyObject
* obj0
= 0 ;
26496 PyObject
* obj1
= 0 ;
26497 PyObject
* obj2
= 0 ;
26498 PyObject
* obj3
= 0 ;
26499 PyObject
* obj4
= 0 ;
26500 PyObject
* obj5
= 0 ;
26501 char * kwnames
[] = {
26502 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "radius", NULL
26505 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
26506 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26507 if (!SWIG_IsOK(res1
)) {
26508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26510 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26511 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26512 if (!SWIG_IsOK(ecode2
)) {
26513 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
26515 arg2
= static_cast< wxDouble
>(val2
);
26516 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26517 if (!SWIG_IsOK(ecode3
)) {
26518 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
26520 arg3
= static_cast< wxDouble
>(val3
);
26521 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26522 if (!SWIG_IsOK(ecode4
)) {
26523 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
26525 arg4
= static_cast< wxDouble
>(val4
);
26526 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26527 if (!SWIG_IsOK(ecode5
)) {
26528 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
26530 arg5
= static_cast< wxDouble
>(val5
);
26531 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
26532 if (!SWIG_IsOK(ecode6
)) {
26533 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "6"" of type '" "wxDouble""'");
26535 arg6
= static_cast< wxDouble
>(val6
);
26537 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
26538 if (PyErr_Occurred()) SWIG_fail
;
26540 resultobj
= SWIG_Py_Void();
26547 SWIGINTERN PyObject
*GraphicsContext_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26549 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26550 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsContext
, SWIG_NewClientData(obj
));
26551 return SWIG_Py_Void();
26554 SWIGINTERN PyObject
*_wrap_new_GCDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26555 PyObject
*resultobj
= 0;
26556 wxWindowDC
*arg1
= 0 ;
26557 wxGCDC
*result
= 0 ;
26560 PyObject
* obj0
= 0 ;
26561 char * kwnames
[] = {
26562 (char *) "dc", NULL
26565 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_GCDC",kwnames
,&obj0
)) SWIG_fail
;
26566 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
26567 if (!SWIG_IsOK(res1
)) {
26568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
26571 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
26573 arg1
= reinterpret_cast< wxWindowDC
* >(argp1
);
26575 if (!wxPyCheckForApp()) SWIG_fail
;
26576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26577 result
= (wxGCDC
*)new wxGCDC((wxWindowDC
const &)*arg1
);
26578 wxPyEndAllowThreads(__tstate
);
26579 if (PyErr_Occurred()) SWIG_fail
;
26581 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGCDC
, SWIG_POINTER_NEW
| 0 );
26588 SWIGINTERN PyObject
*_wrap_delete_GCDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26589 PyObject
*resultobj
= 0;
26590 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
26593 PyObject
*swig_obj
[1] ;
26595 if (!args
) SWIG_fail
;
26596 swig_obj
[0] = args
;
26597 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, SWIG_POINTER_DISOWN
| 0 );
26598 if (!SWIG_IsOK(res1
)) {
26599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GCDC" "', expected argument " "1"" of type '" "wxGCDC *""'");
26601 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
26605 if (PyErr_Occurred()) SWIG_fail
;
26607 resultobj
= SWIG_Py_Void();
26614 SWIGINTERN PyObject
*_wrap_GCDC_GetGraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26615 PyObject
*resultobj
= 0;
26616 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
26617 wxGraphicsContext
*result
= 0 ;
26620 PyObject
*swig_obj
[1] ;
26622 if (!args
) SWIG_fail
;
26623 swig_obj
[0] = args
;
26624 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, 0 | 0 );
26625 if (!SWIG_IsOK(res1
)) {
26626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GCDC_GetGraphicsContext" "', expected argument " "1"" of type '" "wxGCDC *""'");
26628 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
26630 result
= (wxGraphicsContext
*)(arg1
)->GetGraphicsContext();
26631 if (PyErr_Occurred()) SWIG_fail
;
26633 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26640 SWIGINTERN PyObject
*_wrap_GCDC_SetGraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26641 PyObject
*resultobj
= 0;
26642 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
26643 wxGraphicsContext
*arg2
= (wxGraphicsContext
*) 0 ;
26648 PyObject
* obj0
= 0 ;
26649 PyObject
* obj1
= 0 ;
26650 char * kwnames
[] = {
26651 (char *) "self",(char *) "ctx", NULL
26654 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GCDC_SetGraphicsContext",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26655 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGCDC
, 0 | 0 );
26656 if (!SWIG_IsOK(res1
)) {
26657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GCDC_SetGraphicsContext" "', expected argument " "1"" of type '" "wxGCDC *""'");
26659 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
26660 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26661 if (!SWIG_IsOK(res2
)) {
26662 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GCDC_SetGraphicsContext" "', expected argument " "2"" of type '" "wxGraphicsContext *""'");
26664 arg2
= reinterpret_cast< wxGraphicsContext
* >(argp2
);
26666 (arg1
)->SetGraphicsContext(arg2
);
26667 if (PyErr_Occurred()) SWIG_fail
;
26669 resultobj
= SWIG_Py_Void();
26676 SWIGINTERN PyObject
*GCDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26678 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26679 SWIG_TypeNewClientData(SWIGTYPE_p_wxGCDC
, SWIG_NewClientData(obj
));
26680 return SWIG_Py_Void();
26683 SWIGINTERN PyObject
*GCDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26684 return SWIG_Python_InitShadowInstance(args
);
26687 SWIGINTERN PyObject
*_wrap_new_Overlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26688 PyObject
*resultobj
= 0;
26689 wxOverlay
*result
= 0 ;
26691 if (!SWIG_Python_UnpackTuple(args
,"new_Overlay",0,0,0)) SWIG_fail
;
26693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26694 result
= (wxOverlay
*)new wxOverlay();
26695 wxPyEndAllowThreads(__tstate
);
26696 if (PyErr_Occurred()) SWIG_fail
;
26698 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxOverlay
, SWIG_POINTER_NEW
| 0 );
26705 SWIGINTERN PyObject
*_wrap_delete_Overlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26706 PyObject
*resultobj
= 0;
26707 wxOverlay
*arg1
= (wxOverlay
*) 0 ;
26710 PyObject
*swig_obj
[1] ;
26712 if (!args
) SWIG_fail
;
26713 swig_obj
[0] = args
;
26714 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOverlay
, SWIG_POINTER_DISOWN
| 0 );
26715 if (!SWIG_IsOK(res1
)) {
26716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Overlay" "', expected argument " "1"" of type '" "wxOverlay *""'");
26718 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
26720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26723 wxPyEndAllowThreads(__tstate
);
26724 if (PyErr_Occurred()) SWIG_fail
;
26726 resultobj
= SWIG_Py_Void();
26733 SWIGINTERN PyObject
*_wrap_Overlay_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26734 PyObject
*resultobj
= 0;
26735 wxOverlay
*arg1
= (wxOverlay
*) 0 ;
26738 PyObject
*swig_obj
[1] ;
26740 if (!args
) SWIG_fail
;
26741 swig_obj
[0] = args
;
26742 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOverlay
, 0 | 0 );
26743 if (!SWIG_IsOK(res1
)) {
26744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Overlay_Reset" "', expected argument " "1"" of type '" "wxOverlay *""'");
26746 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
26748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26750 wxPyEndAllowThreads(__tstate
);
26751 if (PyErr_Occurred()) SWIG_fail
;
26753 resultobj
= SWIG_Py_Void();
26760 SWIGINTERN PyObject
*Overlay_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26762 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26763 SWIG_TypeNewClientData(SWIGTYPE_p_wxOverlay
, SWIG_NewClientData(obj
));
26764 return SWIG_Py_Void();
26767 SWIGINTERN PyObject
*Overlay_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26768 return SWIG_Python_InitShadowInstance(args
);
26771 SWIGINTERN PyObject
*_wrap_new_DCOverlay__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26772 PyObject
*resultobj
= 0;
26773 wxOverlay
*arg1
= 0 ;
26774 wxWindowDC
*arg2
= (wxWindowDC
*) 0 ;
26779 wxDCOverlay
*result
= 0 ;
26793 if ((nobjs
< 6) || (nobjs
> 6)) SWIG_fail
;
26794 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxOverlay
, 0 );
26795 if (!SWIG_IsOK(res1
)) {
26796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
26799 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
26801 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
26802 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindowDC
, 0 | 0 );
26803 if (!SWIG_IsOK(res2
)) {
26804 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCOverlay" "', expected argument " "2"" of type '" "wxWindowDC *""'");
26806 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
26807 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
26808 if (!SWIG_IsOK(ecode3
)) {
26809 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DCOverlay" "', expected argument " "3"" of type '" "int""'");
26811 arg3
= static_cast< int >(val3
);
26812 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
26813 if (!SWIG_IsOK(ecode4
)) {
26814 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DCOverlay" "', expected argument " "4"" of type '" "int""'");
26816 arg4
= static_cast< int >(val4
);
26817 ecode5
= SWIG_AsVal_int(swig_obj
[4], &val5
);
26818 if (!SWIG_IsOK(ecode5
)) {
26819 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DCOverlay" "', expected argument " "5"" of type '" "int""'");
26821 arg5
= static_cast< int >(val5
);
26822 ecode6
= SWIG_AsVal_int(swig_obj
[5], &val6
);
26823 if (!SWIG_IsOK(ecode6
)) {
26824 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DCOverlay" "', expected argument " "6"" of type '" "int""'");
26826 arg6
= static_cast< int >(val6
);
26828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26829 result
= (wxDCOverlay
*)new wxDCOverlay(*arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
26830 wxPyEndAllowThreads(__tstate
);
26831 if (PyErr_Occurred()) SWIG_fail
;
26833 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_NEW
| 0 );
26840 SWIGINTERN PyObject
*_wrap_new_DCOverlay__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26841 PyObject
*resultobj
= 0;
26842 wxOverlay
*arg1
= 0 ;
26843 wxWindowDC
*arg2
= (wxWindowDC
*) 0 ;
26844 wxDCOverlay
*result
= 0 ;
26850 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26851 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxOverlay
, 0 );
26852 if (!SWIG_IsOK(res1
)) {
26853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
26856 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
26858 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
26859 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindowDC
, 0 | 0 );
26860 if (!SWIG_IsOK(res2
)) {
26861 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCOverlay" "', expected argument " "2"" of type '" "wxWindowDC *""'");
26863 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
26865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26866 result
= (wxDCOverlay
*)new wxDCOverlay(*arg1
,arg2
);
26867 wxPyEndAllowThreads(__tstate
);
26868 if (PyErr_Occurred()) SWIG_fail
;
26870 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_NEW
| 0 );
26877 SWIGINTERN PyObject
*_wrap_new_DCOverlay(PyObject
*self
, PyObject
*args
) {
26881 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_DCOverlay",0,6,argv
))) SWIG_fail
;
26884 return _wrap_new_DCOverlay__SWIG_1(self
, argc
, argv
);
26887 return _wrap_new_DCOverlay__SWIG_0(self
, argc
, argv
);
26891 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_DCOverlay'");
26896 SWIGINTERN PyObject
*_wrap_delete_DCOverlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26897 PyObject
*resultobj
= 0;
26898 wxDCOverlay
*arg1
= (wxDCOverlay
*) 0 ;
26901 PyObject
*swig_obj
[1] ;
26903 if (!args
) SWIG_fail
;
26904 swig_obj
[0] = args
;
26905 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_DISOWN
| 0 );
26906 if (!SWIG_IsOK(res1
)) {
26907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCOverlay" "', expected argument " "1"" of type '" "wxDCOverlay *""'");
26909 arg1
= reinterpret_cast< wxDCOverlay
* >(argp1
);
26911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26914 wxPyEndAllowThreads(__tstate
);
26915 if (PyErr_Occurred()) SWIG_fail
;
26917 resultobj
= SWIG_Py_Void();
26924 SWIGINTERN PyObject
*_wrap_DCOverlay_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26925 PyObject
*resultobj
= 0;
26926 wxDCOverlay
*arg1
= (wxDCOverlay
*) 0 ;
26929 PyObject
*swig_obj
[1] ;
26931 if (!args
) SWIG_fail
;
26932 swig_obj
[0] = args
;
26933 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCOverlay
, 0 | 0 );
26934 if (!SWIG_IsOK(res1
)) {
26935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DCOverlay_Clear" "', expected argument " "1"" of type '" "wxDCOverlay *""'");
26937 arg1
= reinterpret_cast< wxDCOverlay
* >(argp1
);
26939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26941 wxPyEndAllowThreads(__tstate
);
26942 if (PyErr_Occurred()) SWIG_fail
;
26944 resultobj
= SWIG_Py_Void();
26951 SWIGINTERN PyObject
*DCOverlay_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26953 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26954 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCOverlay
, SWIG_NewClientData(obj
));
26955 return SWIG_Py_Void();
26958 SWIGINTERN PyObject
*DCOverlay_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26959 return SWIG_Python_InitShadowInstance(args
);
26962 SWIGINTERN PyObject
*_wrap_new_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26963 PyObject
*resultobj
= 0;
26966 int arg3
= (int) true ;
26967 int arg4
= (int) 1 ;
26968 wxImageList
*result
= 0 ;
26977 PyObject
* obj0
= 0 ;
26978 PyObject
* obj1
= 0 ;
26979 PyObject
* obj2
= 0 ;
26980 PyObject
* obj3
= 0 ;
26981 char * kwnames
[] = {
26982 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
26985 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
26986 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
26987 if (!SWIG_IsOK(ecode1
)) {
26988 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ImageList" "', expected argument " "1"" of type '" "int""'");
26990 arg1
= static_cast< int >(val1
);
26991 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26992 if (!SWIG_IsOK(ecode2
)) {
26993 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ImageList" "', expected argument " "2"" of type '" "int""'");
26995 arg2
= static_cast< int >(val2
);
26997 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
26998 if (!SWIG_IsOK(ecode3
)) {
26999 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ImageList" "', expected argument " "3"" of type '" "int""'");
27001 arg3
= static_cast< int >(val3
);
27004 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
27005 if (!SWIG_IsOK(ecode4
)) {
27006 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ImageList" "', expected argument " "4"" of type '" "int""'");
27008 arg4
= static_cast< int >(val4
);
27011 if (!wxPyCheckForApp()) SWIG_fail
;
27012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27013 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
27014 wxPyEndAllowThreads(__tstate
);
27015 if (PyErr_Occurred()) SWIG_fail
;
27018 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_NEW
);
27026 SWIGINTERN PyObject
*_wrap_delete_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27027 PyObject
*resultobj
= 0;
27028 wxImageList
*arg1
= (wxImageList
*) 0 ;
27031 PyObject
*swig_obj
[1] ;
27033 if (!args
) SWIG_fail
;
27034 swig_obj
[0] = args
;
27035 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
27036 if (!SWIG_IsOK(res1
)) {
27037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ImageList" "', expected argument " "1"" of type '" "wxImageList *""'");
27039 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27044 wxPyEndAllowThreads(__tstate
);
27045 if (PyErr_Occurred()) SWIG_fail
;
27047 resultobj
= SWIG_Py_Void();
27054 SWIGINTERN PyObject
*_wrap_ImageList_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27055 PyObject
*resultobj
= 0;
27056 wxImageList
*arg1
= (wxImageList
*) 0 ;
27057 wxBitmap
*arg2
= 0 ;
27058 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
27059 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
27067 PyObject
* obj0
= 0 ;
27068 PyObject
* obj1
= 0 ;
27069 PyObject
* obj2
= 0 ;
27070 char * kwnames
[] = {
27071 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
27074 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27075 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
27076 if (!SWIG_IsOK(res1
)) {
27077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Add" "', expected argument " "1"" of type '" "wxImageList *""'");
27079 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27080 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
27081 if (!SWIG_IsOK(res2
)) {
27082 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
27085 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
27087 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
27089 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
27090 if (!SWIG_IsOK(res3
)) {
27091 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
27094 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
27096 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
27099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27100 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
27101 wxPyEndAllowThreads(__tstate
);
27102 if (PyErr_Occurred()) SWIG_fail
;
27104 resultobj
= SWIG_From_int(static_cast< int >(result
));
27111 SWIGINTERN PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27112 PyObject
*resultobj
= 0;
27113 wxImageList
*arg1
= (wxImageList
*) 0 ;
27114 wxBitmap
*arg2
= 0 ;
27115 wxColour
*arg3
= 0 ;
27122 PyObject
* obj0
= 0 ;
27123 PyObject
* obj1
= 0 ;
27124 PyObject
* obj2
= 0 ;
27125 char * kwnames
[] = {
27126 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
27129 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27130 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
27131 if (!SWIG_IsOK(res1
)) {
27132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "1"" of type '" "wxImageList *""'");
27134 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27135 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
27136 if (!SWIG_IsOK(res2
)) {
27137 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
27140 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
27142 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
27145 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
27148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27149 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
27150 wxPyEndAllowThreads(__tstate
);
27151 if (PyErr_Occurred()) SWIG_fail
;
27153 resultobj
= SWIG_From_int(static_cast< int >(result
));
27160 SWIGINTERN PyObject
*_wrap_ImageList_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27161 PyObject
*resultobj
= 0;
27162 wxImageList
*arg1
= (wxImageList
*) 0 ;
27169 PyObject
* obj0
= 0 ;
27170 PyObject
* obj1
= 0 ;
27171 char * kwnames
[] = {
27172 (char *) "self",(char *) "icon", NULL
27175 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27176 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
27177 if (!SWIG_IsOK(res1
)) {
27178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddIcon" "', expected argument " "1"" of type '" "wxImageList *""'");
27180 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27181 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
27182 if (!SWIG_IsOK(res2
)) {
27183 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
27186 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
27188 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
27190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27191 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
27192 wxPyEndAllowThreads(__tstate
);
27193 if (PyErr_Occurred()) SWIG_fail
;
27195 resultobj
= SWIG_From_int(static_cast< int >(result
));
27202 SWIGINTERN PyObject
*_wrap_ImageList_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27203 PyObject
*resultobj
= 0;
27204 wxImageList
*arg1
= (wxImageList
*) 0 ;
27206 SwigValueWrapper
<wxBitmap
> result
;
27211 PyObject
* obj0
= 0 ;
27212 PyObject
* obj1
= 0 ;
27213 char * kwnames
[] = {
27214 (char *) "self",(char *) "index", NULL
27217 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27218 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
27219 if (!SWIG_IsOK(res1
)) {
27220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetBitmap" "', expected argument " "1"" of type '" "wxImageList const *""'");
27222 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27223 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27224 if (!SWIG_IsOK(ecode2
)) {
27225 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetBitmap" "', expected argument " "2"" of type '" "int""'");
27227 arg2
= static_cast< int >(val2
);
27229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27230 result
= ((wxImageList
const *)arg1
)->GetBitmap(arg2
);
27231 wxPyEndAllowThreads(__tstate
);
27232 if (PyErr_Occurred()) SWIG_fail
;
27234 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
27241 SWIGINTERN PyObject
*_wrap_ImageList_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27242 PyObject
*resultobj
= 0;
27243 wxImageList
*arg1
= (wxImageList
*) 0 ;
27250 PyObject
* obj0
= 0 ;
27251 PyObject
* obj1
= 0 ;
27252 char * kwnames
[] = {
27253 (char *) "self",(char *) "index", NULL
27256 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27257 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
27258 if (!SWIG_IsOK(res1
)) {
27259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetIcon" "', expected argument " "1"" of type '" "wxImageList const *""'");
27261 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27262 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27263 if (!SWIG_IsOK(ecode2
)) {
27264 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetIcon" "', expected argument " "2"" of type '" "int""'");
27266 arg2
= static_cast< int >(val2
);
27268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27269 result
= ((wxImageList
const *)arg1
)->GetIcon(arg2
);
27270 wxPyEndAllowThreads(__tstate
);
27271 if (PyErr_Occurred()) SWIG_fail
;
27273 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
27280 SWIGINTERN PyObject
*_wrap_ImageList_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27281 PyObject
*resultobj
= 0;
27282 wxImageList
*arg1
= (wxImageList
*) 0 ;
27284 wxBitmap
*arg3
= 0 ;
27285 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
27286 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
27296 PyObject
* obj0
= 0 ;
27297 PyObject
* obj1
= 0 ;
27298 PyObject
* obj2
= 0 ;
27299 PyObject
* obj3
= 0 ;
27300 char * kwnames
[] = {
27301 (char *) "self",(char *) "index",(char *) "bitmap",(char *) "mask", NULL
27304 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27305 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
27306 if (!SWIG_IsOK(res1
)) {
27307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Replace" "', expected argument " "1"" of type '" "wxImageList *""'");
27309 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27310 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27311 if (!SWIG_IsOK(ecode2
)) {
27312 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Replace" "', expected argument " "2"" of type '" "int""'");
27314 arg2
= static_cast< int >(val2
);
27315 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
27316 if (!SWIG_IsOK(res3
)) {
27317 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
27320 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
27322 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
27324 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
27325 if (!SWIG_IsOK(res4
)) {
27326 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
27329 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
27331 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
27334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27335 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
,(wxBitmap
const &)*arg4
);
27336 wxPyEndAllowThreads(__tstate
);
27337 if (PyErr_Occurred()) SWIG_fail
;
27340 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27348 SWIGINTERN PyObject
*_wrap_ImageList_Draw(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27349 PyObject
*resultobj
= 0;
27350 wxImageList
*arg1
= (wxImageList
*) 0 ;
27355 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
27356 bool arg7
= (bool) (bool)false ;
27372 PyObject
* obj0
= 0 ;
27373 PyObject
* obj1
= 0 ;
27374 PyObject
* obj2
= 0 ;
27375 PyObject
* obj3
= 0 ;
27376 PyObject
* obj4
= 0 ;
27377 PyObject
* obj5
= 0 ;
27378 PyObject
* obj6
= 0 ;
27379 char * kwnames
[] = {
27380 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
27383 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
27384 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
27385 if (!SWIG_IsOK(res1
)) {
27386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Draw" "', expected argument " "1"" of type '" "wxImageList *""'");
27388 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27389 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27390 if (!SWIG_IsOK(ecode2
)) {
27391 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Draw" "', expected argument " "2"" of type '" "int""'");
27393 arg2
= static_cast< int >(val2
);
27394 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
27395 if (!SWIG_IsOK(res3
)) {
27396 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
27399 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
27401 arg3
= reinterpret_cast< wxDC
* >(argp3
);
27402 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
27403 if (!SWIG_IsOK(ecode4
)) {
27404 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ImageList_Draw" "', expected argument " "4"" of type '" "int""'");
27406 arg4
= static_cast< int >(val4
);
27407 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
27408 if (!SWIG_IsOK(ecode5
)) {
27409 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ImageList_Draw" "', expected argument " "5"" of type '" "int""'");
27411 arg5
= static_cast< int >(val5
);
27413 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
27414 if (!SWIG_IsOK(ecode6
)) {
27415 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ImageList_Draw" "', expected argument " "6"" of type '" "int""'");
27417 arg6
= static_cast< int >(val6
);
27420 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
27421 if (!SWIG_IsOK(ecode7
)) {
27422 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ImageList_Draw" "', expected argument " "7"" of type '" "bool""'");
27424 arg7
= static_cast< bool >(val7
);
27427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27428 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
27429 wxPyEndAllowThreads(__tstate
);
27430 if (PyErr_Occurred()) SWIG_fail
;
27433 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27441 SWIGINTERN PyObject
*_wrap_ImageList_GetImageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27442 PyObject
*resultobj
= 0;
27443 wxImageList
*arg1
= (wxImageList
*) 0 ;
27447 PyObject
*swig_obj
[1] ;
27449 if (!args
) SWIG_fail
;
27450 swig_obj
[0] = args
;
27451 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
27452 if (!SWIG_IsOK(res1
)) {
27453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetImageCount" "', expected argument " "1"" of type '" "wxImageList *""'");
27455 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27458 result
= (int)(arg1
)->GetImageCount();
27459 wxPyEndAllowThreads(__tstate
);
27460 if (PyErr_Occurred()) SWIG_fail
;
27462 resultobj
= SWIG_From_int(static_cast< int >(result
));
27469 SWIGINTERN PyObject
*_wrap_ImageList_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27470 PyObject
*resultobj
= 0;
27471 wxImageList
*arg1
= (wxImageList
*) 0 ;
27478 PyObject
* obj0
= 0 ;
27479 PyObject
* obj1
= 0 ;
27480 char * kwnames
[] = {
27481 (char *) "self",(char *) "index", NULL
27484 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27485 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
27486 if (!SWIG_IsOK(res1
)) {
27487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Remove" "', expected argument " "1"" of type '" "wxImageList *""'");
27489 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27490 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27491 if (!SWIG_IsOK(ecode2
)) {
27492 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Remove" "', expected argument " "2"" of type '" "int""'");
27494 arg2
= static_cast< int >(val2
);
27496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27497 result
= (bool)(arg1
)->Remove(arg2
);
27498 wxPyEndAllowThreads(__tstate
);
27499 if (PyErr_Occurred()) SWIG_fail
;
27502 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27510 SWIGINTERN PyObject
*_wrap_ImageList_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27511 PyObject
*resultobj
= 0;
27512 wxImageList
*arg1
= (wxImageList
*) 0 ;
27516 PyObject
*swig_obj
[1] ;
27518 if (!args
) SWIG_fail
;
27519 swig_obj
[0] = args
;
27520 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
27521 if (!SWIG_IsOK(res1
)) {
27522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_RemoveAll" "', expected argument " "1"" of type '" "wxImageList *""'");
27524 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27527 result
= (bool)(arg1
)->RemoveAll();
27528 wxPyEndAllowThreads(__tstate
);
27529 if (PyErr_Occurred()) SWIG_fail
;
27532 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27540 SWIGINTERN PyObject
*_wrap_ImageList_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27541 PyObject
*resultobj
= 0;
27542 wxImageList
*arg1
= (wxImageList
*) 0 ;
27551 int res3
= SWIG_TMPOBJ
;
27553 int res4
= SWIG_TMPOBJ
;
27554 PyObject
* obj0
= 0 ;
27555 PyObject
* obj1
= 0 ;
27556 char * kwnames
[] = {
27557 (char *) "self",(char *) "index", NULL
27562 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27563 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
27564 if (!SWIG_IsOK(res1
)) {
27565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetSize" "', expected argument " "1"" of type '" "wxImageList *""'");
27567 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27568 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27569 if (!SWIG_IsOK(ecode2
)) {
27570 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetSize" "', expected argument " "2"" of type '" "int""'");
27572 arg2
= static_cast< int >(val2
);
27574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27575 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
27576 wxPyEndAllowThreads(__tstate
);
27577 if (PyErr_Occurred()) SWIG_fail
;
27579 resultobj
= SWIG_Py_Void();
27580 if (SWIG_IsTmpObj(res3
)) {
27581 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
27583 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27584 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
27586 if (SWIG_IsTmpObj(res4
)) {
27587 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
27589 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27590 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
27598 SWIGINTERN PyObject
*ImageList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27600 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27601 SWIG_TypeNewClientData(SWIGTYPE_p_wxImageList
, SWIG_NewClientData(obj
));
27602 return SWIG_Py_Void();
27605 SWIGINTERN PyObject
*ImageList_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27606 return SWIG_Python_InitShadowInstance(args
);
27609 SWIGINTERN PyObject
*_wrap_new_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27610 PyObject
*resultobj
= 0;
27611 wxStockGDI
*result
= 0 ;
27613 if (!SWIG_Python_UnpackTuple(args
,"new_StockGDI",0,0,0)) SWIG_fail
;
27615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27616 result
= (wxStockGDI
*)new wxStockGDI();
27617 wxPyEndAllowThreads(__tstate
);
27618 if (PyErr_Occurred()) SWIG_fail
;
27620 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_NEW
| 0 );
27627 SWIGINTERN PyObject
*_wrap_delete_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27628 PyObject
*resultobj
= 0;
27629 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
27632 PyObject
*swig_obj
[1] ;
27634 if (!args
) SWIG_fail
;
27635 swig_obj
[0] = args
;
27636 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_DISOWN
| 0 );
27637 if (!SWIG_IsOK(res1
)) {
27638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_StockGDI" "', expected argument " "1"" of type '" "wxStockGDI *""'");
27640 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
27642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27645 wxPyEndAllowThreads(__tstate
);
27646 if (PyErr_Occurred()) SWIG_fail
;
27648 resultobj
= SWIG_Py_Void();
27655 SWIGINTERN PyObject
*_wrap_StockGDI_DeleteAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27656 PyObject
*resultobj
= 0;
27658 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_DeleteAll",0,0,0)) SWIG_fail
;
27660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27661 wxStockGDI::DeleteAll();
27662 wxPyEndAllowThreads(__tstate
);
27663 if (PyErr_Occurred()) SWIG_fail
;
27665 resultobj
= SWIG_Py_Void();
27672 SWIGINTERN PyObject
*_wrap_StockGDI_instance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27673 PyObject
*resultobj
= 0;
27674 wxStockGDI
*result
= 0 ;
27676 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_instance",0,0,0)) SWIG_fail
;
27678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27680 wxStockGDI
&_result_ref
= wxStockGDI::instance();
27681 result
= (wxStockGDI
*) &_result_ref
;
27683 wxPyEndAllowThreads(__tstate
);
27684 if (PyErr_Occurred()) SWIG_fail
;
27686 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, 0 | 0 );
27693 SWIGINTERN PyObject
*_wrap_StockGDI_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27694 PyObject
*resultobj
= 0;
27695 wxStockGDI::Item arg1
;
27696 wxBrush
*result
= 0 ;
27699 PyObject
* obj0
= 0 ;
27700 char * kwnames
[] = {
27701 (char *) "item", NULL
27704 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetBrush",kwnames
,&obj0
)) SWIG_fail
;
27705 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
27706 if (!SWIG_IsOK(ecode1
)) {
27707 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetBrush" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
27709 arg1
= static_cast< wxStockGDI::Item
>(val1
);
27711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27712 result
= (wxBrush
*)wxStockGDI::GetBrush(arg1
);
27713 wxPyEndAllowThreads(__tstate
);
27714 if (PyErr_Occurred()) SWIG_fail
;
27716 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
27723 SWIGINTERN PyObject
*_wrap_StockGDI_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27724 PyObject
*resultobj
= 0;
27725 wxStockGDI::Item arg1
;
27726 wxColour
*result
= 0 ;
27729 PyObject
* obj0
= 0 ;
27730 char * kwnames
[] = {
27731 (char *) "item", NULL
27734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetColour",kwnames
,&obj0
)) SWIG_fail
;
27735 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
27736 if (!SWIG_IsOK(ecode1
)) {
27737 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetColour" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
27739 arg1
= static_cast< wxStockGDI::Item
>(val1
);
27741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27742 result
= (wxColour
*)wxStockGDI::GetColour(arg1
);
27743 wxPyEndAllowThreads(__tstate
);
27744 if (PyErr_Occurred()) SWIG_fail
;
27746 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
27753 SWIGINTERN PyObject
*_wrap_StockGDI_GetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27754 PyObject
*resultobj
= 0;
27755 wxStockGDI::Item arg1
;
27756 wxCursor
*result
= 0 ;
27759 PyObject
* obj0
= 0 ;
27760 char * kwnames
[] = {
27761 (char *) "item", NULL
27764 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetCursor",kwnames
,&obj0
)) SWIG_fail
;
27765 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
27766 if (!SWIG_IsOK(ecode1
)) {
27767 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetCursor" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
27769 arg1
= static_cast< wxStockGDI::Item
>(val1
);
27771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27772 result
= (wxCursor
*)wxStockGDI::GetCursor(arg1
);
27773 wxPyEndAllowThreads(__tstate
);
27774 if (PyErr_Occurred()) SWIG_fail
;
27776 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, 0 | 0 );
27783 SWIGINTERN PyObject
*_wrap_StockGDI_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27784 PyObject
*resultobj
= 0;
27785 wxStockGDI::Item arg1
;
27786 wxPen
*result
= 0 ;
27789 PyObject
* obj0
= 0 ;
27790 char * kwnames
[] = {
27791 (char *) "item", NULL
27794 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetPen",kwnames
,&obj0
)) SWIG_fail
;
27795 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
27796 if (!SWIG_IsOK(ecode1
)) {
27797 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetPen" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
27799 arg1
= static_cast< wxStockGDI::Item
>(val1
);
27801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27802 result
= (wxPen
*)wxStockGDI::GetPen(arg1
);
27803 wxPyEndAllowThreads(__tstate
);
27804 if (PyErr_Occurred()) SWIG_fail
;
27806 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
27813 SWIGINTERN PyObject
*_wrap_StockGDI_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27814 PyObject
*resultobj
= 0;
27815 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
27816 wxStockGDI::Item arg2
;
27817 wxFont
*result
= 0 ;
27822 PyObject
* obj0
= 0 ;
27823 PyObject
* obj1
= 0 ;
27824 char * kwnames
[] = {
27825 (char *) "self",(char *) "item", NULL
27828 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StockGDI_GetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27829 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStockGDI
, 0 | 0 );
27830 if (!SWIG_IsOK(res1
)) {
27831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StockGDI_GetFont" "', expected argument " "1"" of type '" "wxStockGDI *""'");
27833 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
27834 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27835 if (!SWIG_IsOK(ecode2
)) {
27836 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StockGDI_GetFont" "', expected argument " "2"" of type '" "wxStockGDI::Item""'");
27838 arg2
= static_cast< wxStockGDI::Item
>(val2
);
27840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27841 result
= (wxFont
*)(arg1
)->GetFont(arg2
);
27842 wxPyEndAllowThreads(__tstate
);
27843 if (PyErr_Occurred()) SWIG_fail
;
27845 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
27852 SWIGINTERN PyObject
*StockGDI_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27854 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27855 SWIG_TypeNewClientData(SWIGTYPE_p_wxStockGDI
, SWIG_NewClientData(obj
));
27856 return SWIG_Py_Void();
27859 SWIGINTERN PyObject
*StockGDI_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27860 return SWIG_Python_InitShadowInstance(args
);
27863 SWIGINTERN
int NullBitmap_set(PyObject
*) {
27864 SWIG_Error(SWIG_AttributeError
,"Variable NullBitmap is read-only.");
27869 SWIGINTERN PyObject
*NullBitmap_get(void) {
27870 PyObject
*pyobj
= 0;
27872 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0 );
27877 SWIGINTERN
int NullIcon_set(PyObject
*) {
27878 SWIG_Error(SWIG_AttributeError
,"Variable NullIcon is read-only.");
27883 SWIGINTERN PyObject
*NullIcon_get(void) {
27884 PyObject
*pyobj
= 0;
27886 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0 );
27891 SWIGINTERN
int NullCursor_set(PyObject
*) {
27892 SWIG_Error(SWIG_AttributeError
,"Variable NullCursor is read-only.");
27897 SWIGINTERN PyObject
*NullCursor_get(void) {
27898 PyObject
*pyobj
= 0;
27900 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0 );
27905 SWIGINTERN
int NullPen_set(PyObject
*) {
27906 SWIG_Error(SWIG_AttributeError
,"Variable NullPen is read-only.");
27911 SWIGINTERN PyObject
*NullPen_get(void) {
27912 PyObject
*pyobj
= 0;
27914 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPen
), SWIGTYPE_p_wxPen
, 0 );
27919 SWIGINTERN
int NullBrush_set(PyObject
*) {
27920 SWIG_Error(SWIG_AttributeError
,"Variable NullBrush is read-only.");
27925 SWIGINTERN PyObject
*NullBrush_get(void) {
27926 PyObject
*pyobj
= 0;
27928 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0 );
27933 SWIGINTERN
int NullPalette_set(PyObject
*) {
27934 SWIG_Error(SWIG_AttributeError
,"Variable NullPalette is read-only.");
27939 SWIGINTERN PyObject
*NullPalette_get(void) {
27940 PyObject
*pyobj
= 0;
27942 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0 );
27947 SWIGINTERN
int NullFont_set(PyObject
*) {
27948 SWIG_Error(SWIG_AttributeError
,"Variable NullFont is read-only.");
27953 SWIGINTERN PyObject
*NullFont_get(void) {
27954 PyObject
*pyobj
= 0;
27956 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullFont
), SWIGTYPE_p_wxFont
, 0 );
27961 SWIGINTERN
int NullColour_set(PyObject
*) {
27962 SWIG_Error(SWIG_AttributeError
,"Variable NullColour is read-only.");
27967 SWIGINTERN PyObject
*NullColour_get(void) {
27968 PyObject
*pyobj
= 0;
27970 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullColour
), SWIGTYPE_p_wxColour
, 0 );
27975 SWIGINTERN PyObject
*_wrap_new_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27976 PyObject
*resultobj
= 0;
27977 wxGDIObjListBase
*result
= 0 ;
27979 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObjListBase",0,0,0)) SWIG_fail
;
27981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27982 result
= (wxGDIObjListBase
*)new wxGDIObjListBase();
27983 wxPyEndAllowThreads(__tstate
);
27984 if (PyErr_Occurred()) SWIG_fail
;
27986 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_NEW
| 0 );
27993 SWIGINTERN PyObject
*_wrap_delete_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27994 PyObject
*resultobj
= 0;
27995 wxGDIObjListBase
*arg1
= (wxGDIObjListBase
*) 0 ;
27998 PyObject
*swig_obj
[1] ;
28000 if (!args
) SWIG_fail
;
28001 swig_obj
[0] = args
;
28002 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_DISOWN
| 0 );
28003 if (!SWIG_IsOK(res1
)) {
28004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObjListBase" "', expected argument " "1"" of type '" "wxGDIObjListBase *""'");
28006 arg1
= reinterpret_cast< wxGDIObjListBase
* >(argp1
);
28008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28011 wxPyEndAllowThreads(__tstate
);
28012 if (PyErr_Occurred()) SWIG_fail
;
28014 resultobj
= SWIG_Py_Void();
28021 SWIGINTERN PyObject
*GDIObjListBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28023 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28024 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObjListBase
, SWIG_NewClientData(obj
));
28025 return SWIG_Py_Void();
28028 SWIGINTERN PyObject
*GDIObjListBase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28029 return SWIG_Python_InitShadowInstance(args
);
28032 SWIGINTERN PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28033 PyObject
*resultobj
= 0;
28034 wxPenList
*arg1
= (wxPenList
*) 0 ;
28035 wxColour
*arg2
= 0 ;
28038 wxPen
*result
= 0 ;
28046 PyObject
* obj0
= 0 ;
28047 PyObject
* obj1
= 0 ;
28048 PyObject
* obj2
= 0 ;
28049 PyObject
* obj3
= 0 ;
28050 char * kwnames
[] = {
28051 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
28054 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
28055 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
28056 if (!SWIG_IsOK(res1
)) {
28057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "1"" of type '" "wxPenList *""'");
28059 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
28062 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
28064 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28065 if (!SWIG_IsOK(ecode3
)) {
28066 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "3"" of type '" "int""'");
28068 arg3
= static_cast< int >(val3
);
28069 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
28070 if (!SWIG_IsOK(ecode4
)) {
28071 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "4"" of type '" "int""'");
28073 arg4
= static_cast< int >(val4
);
28075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28076 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
28077 wxPyEndAllowThreads(__tstate
);
28078 if (PyErr_Occurred()) SWIG_fail
;
28080 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
28087 SWIGINTERN PyObject
*_wrap_PenList_AddPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28088 PyObject
*resultobj
= 0;
28089 wxPenList
*arg1
= (wxPenList
*) 0 ;
28090 wxPen
*arg2
= (wxPen
*) 0 ;
28095 PyObject
* obj0
= 0 ;
28096 PyObject
* obj1
= 0 ;
28097 char * kwnames
[] = {
28098 (char *) "self",(char *) "pen", NULL
28101 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28102 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
28103 if (!SWIG_IsOK(res1
)) {
28104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_AddPen" "', expected argument " "1"" of type '" "wxPenList *""'");
28106 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
28107 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
28108 if (!SWIG_IsOK(res2
)) {
28109 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_AddPen" "', expected argument " "2"" of type '" "wxPen *""'");
28111 arg2
= reinterpret_cast< wxPen
* >(argp2
);
28113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28114 (arg1
)->AddPen(arg2
);
28115 wxPyEndAllowThreads(__tstate
);
28116 if (PyErr_Occurred()) SWIG_fail
;
28118 resultobj
= SWIG_Py_Void();
28125 SWIGINTERN PyObject
*_wrap_PenList_RemovePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28126 PyObject
*resultobj
= 0;
28127 wxPenList
*arg1
= (wxPenList
*) 0 ;
28128 wxPen
*arg2
= (wxPen
*) 0 ;
28133 PyObject
* obj0
= 0 ;
28134 PyObject
* obj1
= 0 ;
28135 char * kwnames
[] = {
28136 (char *) "self",(char *) "pen", NULL
28139 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28140 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
28141 if (!SWIG_IsOK(res1
)) {
28142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_RemovePen" "', expected argument " "1"" of type '" "wxPenList *""'");
28144 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
28145 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
28146 if (!SWIG_IsOK(res2
)) {
28147 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_RemovePen" "', expected argument " "2"" of type '" "wxPen *""'");
28149 arg2
= reinterpret_cast< wxPen
* >(argp2
);
28151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28152 (arg1
)->RemovePen(arg2
);
28153 wxPyEndAllowThreads(__tstate
);
28154 if (PyErr_Occurred()) SWIG_fail
;
28156 resultobj
= SWIG_Py_Void();
28163 SWIGINTERN PyObject
*PenList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28165 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28166 SWIG_TypeNewClientData(SWIGTYPE_p_wxPenList
, SWIG_NewClientData(obj
));
28167 return SWIG_Py_Void();
28170 SWIGINTERN PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28171 PyObject
*resultobj
= 0;
28172 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
28173 wxColour
*arg2
= 0 ;
28174 int arg3
= (int) wxSOLID
;
28175 wxBrush
*result
= 0 ;
28181 PyObject
* obj0
= 0 ;
28182 PyObject
* obj1
= 0 ;
28183 PyObject
* obj2
= 0 ;
28184 char * kwnames
[] = {
28185 (char *) "self",(char *) "colour",(char *) "style", NULL
28188 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28189 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
28190 if (!SWIG_IsOK(res1
)) {
28191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
28193 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
28196 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
28199 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28200 if (!SWIG_IsOK(ecode3
)) {
28201 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "3"" of type '" "int""'");
28203 arg3
= static_cast< int >(val3
);
28206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28207 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
28208 wxPyEndAllowThreads(__tstate
);
28209 if (PyErr_Occurred()) SWIG_fail
;
28211 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
28218 SWIGINTERN PyObject
*_wrap_BrushList_AddBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28219 PyObject
*resultobj
= 0;
28220 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
28221 wxBrush
*arg2
= (wxBrush
*) 0 ;
28226 PyObject
* obj0
= 0 ;
28227 PyObject
* obj1
= 0 ;
28228 char * kwnames
[] = {
28229 (char *) "self",(char *) "brush", NULL
28232 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28233 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
28234 if (!SWIG_IsOK(res1
)) {
28235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_AddBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
28237 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
28238 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
28239 if (!SWIG_IsOK(res2
)) {
28240 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_AddBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
28242 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
28244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28245 (arg1
)->AddBrush(arg2
);
28246 wxPyEndAllowThreads(__tstate
);
28247 if (PyErr_Occurred()) SWIG_fail
;
28249 resultobj
= SWIG_Py_Void();
28256 SWIGINTERN PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28257 PyObject
*resultobj
= 0;
28258 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
28259 wxBrush
*arg2
= (wxBrush
*) 0 ;
28264 PyObject
* obj0
= 0 ;
28265 PyObject
* obj1
= 0 ;
28266 char * kwnames
[] = {
28267 (char *) "self",(char *) "brush", NULL
28270 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28271 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
28272 if (!SWIG_IsOK(res1
)) {
28273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_RemoveBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
28275 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
28276 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
28277 if (!SWIG_IsOK(res2
)) {
28278 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_RemoveBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
28280 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
28282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28283 (arg1
)->RemoveBrush(arg2
);
28284 wxPyEndAllowThreads(__tstate
);
28285 if (PyErr_Occurred()) SWIG_fail
;
28287 resultobj
= SWIG_Py_Void();
28294 SWIGINTERN PyObject
*BrushList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28296 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28297 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrushList
, SWIG_NewClientData(obj
));
28298 return SWIG_Py_Void();
28301 SWIGINTERN PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28302 PyObject
*resultobj
= 0;
28303 wxFontList
*arg1
= (wxFontList
*) 0 ;
28308 bool arg6
= (bool) false ;
28309 wxString
const &arg7_defvalue
= wxPyEmptyString
;
28310 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28311 wxFontEncoding arg8
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
28312 wxFont
*result
= 0 ;
28325 bool temp7
= false ;
28328 PyObject
* obj0
= 0 ;
28329 PyObject
* obj1
= 0 ;
28330 PyObject
* obj2
= 0 ;
28331 PyObject
* obj3
= 0 ;
28332 PyObject
* obj4
= 0 ;
28333 PyObject
* obj5
= 0 ;
28334 PyObject
* obj6
= 0 ;
28335 PyObject
* obj7
= 0 ;
28336 char * kwnames
[] = {
28337 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
28340 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
28341 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
28342 if (!SWIG_IsOK(res1
)) {
28343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "1"" of type '" "wxFontList *""'");
28345 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
28346 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28347 if (!SWIG_IsOK(ecode2
)) {
28348 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "2"" of type '" "int""'");
28350 arg2
= static_cast< int >(val2
);
28351 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28352 if (!SWIG_IsOK(ecode3
)) {
28353 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "3"" of type '" "int""'");
28355 arg3
= static_cast< int >(val3
);
28356 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
28357 if (!SWIG_IsOK(ecode4
)) {
28358 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "4"" of type '" "int""'");
28360 arg4
= static_cast< int >(val4
);
28361 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
28362 if (!SWIG_IsOK(ecode5
)) {
28363 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "5"" of type '" "int""'");
28365 arg5
= static_cast< int >(val5
);
28367 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
28368 if (!SWIG_IsOK(ecode6
)) {
28369 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "6"" of type '" "bool""'");
28371 arg6
= static_cast< bool >(val6
);
28375 arg7
= wxString_in_helper(obj6
);
28376 if (arg7
== NULL
) SWIG_fail
;
28381 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
28382 if (!SWIG_IsOK(ecode8
)) {
28383 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "8"" of type '" "wxFontEncoding""'");
28385 arg8
= static_cast< wxFontEncoding
>(val8
);
28388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28389 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,arg8
);
28390 wxPyEndAllowThreads(__tstate
);
28391 if (PyErr_Occurred()) SWIG_fail
;
28393 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
28408 SWIGINTERN PyObject
*_wrap_FontList_AddFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28409 PyObject
*resultobj
= 0;
28410 wxFontList
*arg1
= (wxFontList
*) 0 ;
28411 wxFont
*arg2
= (wxFont
*) 0 ;
28416 PyObject
* obj0
= 0 ;
28417 PyObject
* obj1
= 0 ;
28418 char * kwnames
[] = {
28419 (char *) "self",(char *) "font", NULL
28422 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28423 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
28424 if (!SWIG_IsOK(res1
)) {
28425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_AddFont" "', expected argument " "1"" of type '" "wxFontList *""'");
28427 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
28428 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
28429 if (!SWIG_IsOK(res2
)) {
28430 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_AddFont" "', expected argument " "2"" of type '" "wxFont *""'");
28432 arg2
= reinterpret_cast< wxFont
* >(argp2
);
28434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28435 (arg1
)->AddFont(arg2
);
28436 wxPyEndAllowThreads(__tstate
);
28437 if (PyErr_Occurred()) SWIG_fail
;
28439 resultobj
= SWIG_Py_Void();
28446 SWIGINTERN PyObject
*_wrap_FontList_RemoveFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28447 PyObject
*resultobj
= 0;
28448 wxFontList
*arg1
= (wxFontList
*) 0 ;
28449 wxFont
*arg2
= (wxFont
*) 0 ;
28454 PyObject
* obj0
= 0 ;
28455 PyObject
* obj1
= 0 ;
28456 char * kwnames
[] = {
28457 (char *) "self",(char *) "font", NULL
28460 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28461 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
28462 if (!SWIG_IsOK(res1
)) {
28463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_RemoveFont" "', expected argument " "1"" of type '" "wxFontList *""'");
28465 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
28466 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
28467 if (!SWIG_IsOK(res2
)) {
28468 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_RemoveFont" "', expected argument " "2"" of type '" "wxFont *""'");
28470 arg2
= reinterpret_cast< wxFont
* >(argp2
);
28472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28473 (arg1
)->RemoveFont(arg2
);
28474 wxPyEndAllowThreads(__tstate
);
28475 if (PyErr_Occurred()) SWIG_fail
;
28477 resultobj
= SWIG_Py_Void();
28484 SWIGINTERN PyObject
*FontList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28486 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28487 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontList
, SWIG_NewClientData(obj
));
28488 return SWIG_Py_Void();
28491 SWIGINTERN PyObject
*_wrap_new_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28492 PyObject
*resultobj
= 0;
28493 wxColourDatabase
*result
= 0 ;
28495 if (!SWIG_Python_UnpackTuple(args
,"new_ColourDatabase",0,0,0)) SWIG_fail
;
28497 if (!wxPyCheckForApp()) SWIG_fail
;
28498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28499 result
= (wxColourDatabase
*)new wxColourDatabase();
28500 wxPyEndAllowThreads(__tstate
);
28501 if (PyErr_Occurred()) SWIG_fail
;
28503 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_NEW
| 0 );
28510 SWIGINTERN PyObject
*_wrap_delete_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28511 PyObject
*resultobj
= 0;
28512 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
28515 PyObject
*swig_obj
[1] ;
28517 if (!args
) SWIG_fail
;
28518 swig_obj
[0] = args
;
28519 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_DISOWN
| 0 );
28520 if (!SWIG_IsOK(res1
)) {
28521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourDatabase" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
28523 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
28525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28528 wxPyEndAllowThreads(__tstate
);
28529 if (PyErr_Occurred()) SWIG_fail
;
28531 resultobj
= SWIG_Py_Void();
28538 SWIGINTERN PyObject
*_wrap_ColourDatabase_Find(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28539 PyObject
*resultobj
= 0;
28540 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
28541 wxString
*arg2
= 0 ;
28545 bool temp2
= false ;
28546 PyObject
* obj0
= 0 ;
28547 PyObject
* obj1
= 0 ;
28548 char * kwnames
[] = {
28549 (char *) "self",(char *) "name", NULL
28552 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28553 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
28554 if (!SWIG_IsOK(res1
)) {
28555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Find" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
28557 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
28559 arg2
= wxString_in_helper(obj1
);
28560 if (arg2
== NULL
) SWIG_fail
;
28564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28565 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
28566 wxPyEndAllowThreads(__tstate
);
28567 if (PyErr_Occurred()) SWIG_fail
;
28569 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
28584 SWIGINTERN PyObject
*_wrap_ColourDatabase_FindName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28585 PyObject
*resultobj
= 0;
28586 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
28587 wxColour
*arg2
= 0 ;
28592 PyObject
* obj0
= 0 ;
28593 PyObject
* obj1
= 0 ;
28594 char * kwnames
[] = {
28595 (char *) "self",(char *) "colour", NULL
28598 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28599 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
28600 if (!SWIG_IsOK(res1
)) {
28601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_FindName" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
28603 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
28606 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
28609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28610 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
28611 wxPyEndAllowThreads(__tstate
);
28612 if (PyErr_Occurred()) SWIG_fail
;
28616 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28618 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28627 SWIGINTERN PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28628 PyObject
*resultobj
= 0;
28629 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
28630 wxString
*arg2
= 0 ;
28631 wxColour
*arg3
= 0 ;
28634 bool temp2
= false ;
28636 PyObject
* obj0
= 0 ;
28637 PyObject
* obj1
= 0 ;
28638 PyObject
* obj2
= 0 ;
28639 char * kwnames
[] = {
28640 (char *) "self",(char *) "name",(char *) "colour", NULL
28643 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28644 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
28645 if (!SWIG_IsOK(res1
)) {
28646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_AddColour" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
28648 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
28650 arg2
= wxString_in_helper(obj1
);
28651 if (arg2
== NULL
) SWIG_fail
;
28656 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
28659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28660 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
28661 wxPyEndAllowThreads(__tstate
);
28662 if (PyErr_Occurred()) SWIG_fail
;
28664 resultobj
= SWIG_Py_Void();
28679 SWIGINTERN PyObject
*_wrap_ColourDatabase_Append(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28680 PyObject
*resultobj
= 0;
28681 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
28682 wxString
*arg2
= 0 ;
28688 bool temp2
= false ;
28695 PyObject
* obj0
= 0 ;
28696 PyObject
* obj1
= 0 ;
28697 PyObject
* obj2
= 0 ;
28698 PyObject
* obj3
= 0 ;
28699 PyObject
* obj4
= 0 ;
28700 char * kwnames
[] = {
28701 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
28704 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
28705 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
28706 if (!SWIG_IsOK(res1
)) {
28707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Append" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
28709 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
28711 arg2
= wxString_in_helper(obj1
);
28712 if (arg2
== NULL
) SWIG_fail
;
28715 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28716 if (!SWIG_IsOK(ecode3
)) {
28717 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourDatabase_Append" "', expected argument " "3"" of type '" "int""'");
28719 arg3
= static_cast< int >(val3
);
28720 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
28721 if (!SWIG_IsOK(ecode4
)) {
28722 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ColourDatabase_Append" "', expected argument " "4"" of type '" "int""'");
28724 arg4
= static_cast< int >(val4
);
28725 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
28726 if (!SWIG_IsOK(ecode5
)) {
28727 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ColourDatabase_Append" "', expected argument " "5"" of type '" "int""'");
28729 arg5
= static_cast< int >(val5
);
28731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28732 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
28733 wxPyEndAllowThreads(__tstate
);
28734 if (PyErr_Occurred()) SWIG_fail
;
28736 resultobj
= SWIG_Py_Void();
28751 SWIGINTERN PyObject
*ColourDatabase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28753 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28754 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDatabase
, SWIG_NewClientData(obj
));
28755 return SWIG_Py_Void();
28758 SWIGINTERN PyObject
*ColourDatabase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28759 return SWIG_Python_InitShadowInstance(args
);
28762 SWIGINTERN PyObject
*_wrap__wxPyInitTheFontList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28763 PyObject
*resultobj
= 0;
28764 wxFontList
*result
= 0 ;
28766 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheFontList",0,0,0)) SWIG_fail
;
28768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28769 result
= (wxFontList
*)_wxPyInitTheFontList();
28770 wxPyEndAllowThreads(__tstate
);
28771 if (PyErr_Occurred()) SWIG_fail
;
28773 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontList
, 0 | 0 );
28780 SWIGINTERN PyObject
*_wrap__wxPyInitThePenList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28781 PyObject
*resultobj
= 0;
28782 wxPenList
*result
= 0 ;
28784 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitThePenList",0,0,0)) SWIG_fail
;
28786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28787 result
= (wxPenList
*)_wxPyInitThePenList();
28788 wxPyEndAllowThreads(__tstate
);
28789 if (PyErr_Occurred()) SWIG_fail
;
28791 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPenList
, 0 | 0 );
28798 SWIGINTERN PyObject
*_wrap__wxPyInitTheBrushList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28799 PyObject
*resultobj
= 0;
28800 wxBrushList
*result
= 0 ;
28802 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheBrushList",0,0,0)) SWIG_fail
;
28804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28805 result
= (wxBrushList
*)_wxPyInitTheBrushList();
28806 wxPyEndAllowThreads(__tstate
);
28807 if (PyErr_Occurred()) SWIG_fail
;
28809 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrushList
, 0 | 0 );
28816 SWIGINTERN PyObject
*_wrap__wxPyInitTheColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28817 PyObject
*resultobj
= 0;
28818 wxColourDatabase
*result
= 0 ;
28820 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheColourDatabase",0,0,0)) SWIG_fail
;
28822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28823 result
= (wxColourDatabase
*)_wxPyInitTheColourDatabase();
28824 wxPyEndAllowThreads(__tstate
);
28825 if (PyErr_Occurred()) SWIG_fail
;
28827 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
28834 SWIGINTERN PyObject
*_wrap_new_Effects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28835 PyObject
*resultobj
= 0;
28836 wxEffects
*result
= 0 ;
28838 if (!SWIG_Python_UnpackTuple(args
,"new_Effects",0,0,0)) SWIG_fail
;
28840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28841 result
= (wxEffects
*)new wxEffects();
28842 wxPyEndAllowThreads(__tstate
);
28843 if (PyErr_Occurred()) SWIG_fail
;
28845 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEffects
, SWIG_POINTER_NEW
| 0 );
28852 SWIGINTERN PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28853 PyObject
*resultobj
= 0;
28854 wxEffects
*arg1
= (wxEffects
*) 0 ;
28858 PyObject
*swig_obj
[1] ;
28860 if (!args
) SWIG_fail
;
28861 swig_obj
[0] = args
;
28862 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
28863 if (!SWIG_IsOK(res1
)) {
28864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetHighlightColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
28866 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
28868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28869 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
28870 wxPyEndAllowThreads(__tstate
);
28871 if (PyErr_Occurred()) SWIG_fail
;
28873 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
28880 SWIGINTERN PyObject
*_wrap_Effects_GetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28881 PyObject
*resultobj
= 0;
28882 wxEffects
*arg1
= (wxEffects
*) 0 ;
28886 PyObject
*swig_obj
[1] ;
28888 if (!args
) SWIG_fail
;
28889 swig_obj
[0] = args
;
28890 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
28891 if (!SWIG_IsOK(res1
)) {
28892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetLightShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
28894 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
28896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28897 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
28898 wxPyEndAllowThreads(__tstate
);
28899 if (PyErr_Occurred()) SWIG_fail
;
28901 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
28908 SWIGINTERN PyObject
*_wrap_Effects_GetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28909 PyObject
*resultobj
= 0;
28910 wxEffects
*arg1
= (wxEffects
*) 0 ;
28914 PyObject
*swig_obj
[1] ;
28916 if (!args
) SWIG_fail
;
28917 swig_obj
[0] = args
;
28918 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
28919 if (!SWIG_IsOK(res1
)) {
28920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetFaceColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
28922 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
28924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28925 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
28926 wxPyEndAllowThreads(__tstate
);
28927 if (PyErr_Occurred()) SWIG_fail
;
28929 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
28936 SWIGINTERN PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28937 PyObject
*resultobj
= 0;
28938 wxEffects
*arg1
= (wxEffects
*) 0 ;
28942 PyObject
*swig_obj
[1] ;
28944 if (!args
) SWIG_fail
;
28945 swig_obj
[0] = args
;
28946 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
28947 if (!SWIG_IsOK(res1
)) {
28948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetMediumShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
28950 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
28952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28953 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
28954 wxPyEndAllowThreads(__tstate
);
28955 if (PyErr_Occurred()) SWIG_fail
;
28957 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
28964 SWIGINTERN PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28965 PyObject
*resultobj
= 0;
28966 wxEffects
*arg1
= (wxEffects
*) 0 ;
28970 PyObject
*swig_obj
[1] ;
28972 if (!args
) SWIG_fail
;
28973 swig_obj
[0] = args
;
28974 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
28975 if (!SWIG_IsOK(res1
)) {
28976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetDarkShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
28978 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
28980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28981 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
28982 wxPyEndAllowThreads(__tstate
);
28983 if (PyErr_Occurred()) SWIG_fail
;
28985 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
28992 SWIGINTERN PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28993 PyObject
*resultobj
= 0;
28994 wxEffects
*arg1
= (wxEffects
*) 0 ;
28995 wxColour
*arg2
= 0 ;
28999 PyObject
* obj0
= 0 ;
29000 PyObject
* obj1
= 0 ;
29001 char * kwnames
[] = {
29002 (char *) "self",(char *) "c", NULL
29005 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29006 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29007 if (!SWIG_IsOK(res1
)) {
29008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetHighlightColour" "', expected argument " "1"" of type '" "wxEffects *""'");
29010 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
29013 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29017 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
29018 wxPyEndAllowThreads(__tstate
);
29019 if (PyErr_Occurred()) SWIG_fail
;
29021 resultobj
= SWIG_Py_Void();
29028 SWIGINTERN PyObject
*_wrap_Effects_SetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29029 PyObject
*resultobj
= 0;
29030 wxEffects
*arg1
= (wxEffects
*) 0 ;
29031 wxColour
*arg2
= 0 ;
29035 PyObject
* obj0
= 0 ;
29036 PyObject
* obj1
= 0 ;
29037 char * kwnames
[] = {
29038 (char *) "self",(char *) "c", NULL
29041 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29042 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29043 if (!SWIG_IsOK(res1
)) {
29044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetLightShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
29046 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
29049 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29053 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
29054 wxPyEndAllowThreads(__tstate
);
29055 if (PyErr_Occurred()) SWIG_fail
;
29057 resultobj
= SWIG_Py_Void();
29064 SWIGINTERN PyObject
*_wrap_Effects_SetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29065 PyObject
*resultobj
= 0;
29066 wxEffects
*arg1
= (wxEffects
*) 0 ;
29067 wxColour
*arg2
= 0 ;
29071 PyObject
* obj0
= 0 ;
29072 PyObject
* obj1
= 0 ;
29073 char * kwnames
[] = {
29074 (char *) "self",(char *) "c", NULL
29077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29078 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29079 if (!SWIG_IsOK(res1
)) {
29080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetFaceColour" "', expected argument " "1"" of type '" "wxEffects *""'");
29082 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
29085 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29089 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
29090 wxPyEndAllowThreads(__tstate
);
29091 if (PyErr_Occurred()) SWIG_fail
;
29093 resultobj
= SWIG_Py_Void();
29100 SWIGINTERN PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29101 PyObject
*resultobj
= 0;
29102 wxEffects
*arg1
= (wxEffects
*) 0 ;
29103 wxColour
*arg2
= 0 ;
29107 PyObject
* obj0
= 0 ;
29108 PyObject
* obj1
= 0 ;
29109 char * kwnames
[] = {
29110 (char *) "self",(char *) "c", NULL
29113 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29114 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29115 if (!SWIG_IsOK(res1
)) {
29116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetMediumShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
29118 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
29121 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29125 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
29126 wxPyEndAllowThreads(__tstate
);
29127 if (PyErr_Occurred()) SWIG_fail
;
29129 resultobj
= SWIG_Py_Void();
29136 SWIGINTERN PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29137 PyObject
*resultobj
= 0;
29138 wxEffects
*arg1
= (wxEffects
*) 0 ;
29139 wxColour
*arg2
= 0 ;
29143 PyObject
* obj0
= 0 ;
29144 PyObject
* obj1
= 0 ;
29145 char * kwnames
[] = {
29146 (char *) "self",(char *) "c", NULL
29149 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29150 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29151 if (!SWIG_IsOK(res1
)) {
29152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetDarkShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
29154 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
29157 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29161 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
29162 wxPyEndAllowThreads(__tstate
);
29163 if (PyErr_Occurred()) SWIG_fail
;
29165 resultobj
= SWIG_Py_Void();
29172 SWIGINTERN PyObject
*_wrap_Effects_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29173 PyObject
*resultobj
= 0;
29174 wxEffects
*arg1
= (wxEffects
*) 0 ;
29175 wxColour
*arg2
= 0 ;
29176 wxColour
*arg3
= 0 ;
29177 wxColour
*arg4
= 0 ;
29178 wxColour
*arg5
= 0 ;
29179 wxColour
*arg6
= 0 ;
29187 PyObject
* obj0
= 0 ;
29188 PyObject
* obj1
= 0 ;
29189 PyObject
* obj2
= 0 ;
29190 PyObject
* obj3
= 0 ;
29191 PyObject
* obj4
= 0 ;
29192 PyObject
* obj5
= 0 ;
29193 char * kwnames
[] = {
29194 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
29197 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29198 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29199 if (!SWIG_IsOK(res1
)) {
29200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_Set" "', expected argument " "1"" of type '" "wxEffects *""'");
29202 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
29205 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29209 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
29213 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
29217 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
29221 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
29224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29225 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
29226 wxPyEndAllowThreads(__tstate
);
29227 if (PyErr_Occurred()) SWIG_fail
;
29229 resultobj
= SWIG_Py_Void();
29236 SWIGINTERN PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29237 PyObject
*resultobj
= 0;
29238 wxEffects
*arg1
= (wxEffects
*) 0 ;
29241 int arg4
= (int) 1 ;
29249 PyObject
* obj0
= 0 ;
29250 PyObject
* obj1
= 0 ;
29251 PyObject
* obj2
= 0 ;
29252 PyObject
* obj3
= 0 ;
29253 char * kwnames
[] = {
29254 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
29257 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29258 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29259 if (!SWIG_IsOK(res1
)) {
29260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "1"" of type '" "wxEffects *""'");
29262 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
29263 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
29264 if (!SWIG_IsOK(res2
)) {
29265 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
29268 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
29270 arg2
= reinterpret_cast< wxDC
* >(argp2
);
29273 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
29276 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29277 if (!SWIG_IsOK(ecode4
)) {
29278 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "4"" of type '" "int""'");
29280 arg4
= static_cast< int >(val4
);
29283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29284 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
29285 wxPyEndAllowThreads(__tstate
);
29286 if (PyErr_Occurred()) SWIG_fail
;
29288 resultobj
= SWIG_Py_Void();
29295 SWIGINTERN PyObject
*_wrap_Effects_TileBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29296 PyObject
*resultobj
= 0;
29297 wxEffects
*arg1
= (wxEffects
*) 0 ;
29300 wxBitmap
*arg4
= 0 ;
29309 PyObject
* obj0
= 0 ;
29310 PyObject
* obj1
= 0 ;
29311 PyObject
* obj2
= 0 ;
29312 PyObject
* obj3
= 0 ;
29313 char * kwnames
[] = {
29314 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
29317 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29318 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29319 if (!SWIG_IsOK(res1
)) {
29320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_TileBitmap" "', expected argument " "1"" of type '" "wxEffects *""'");
29322 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
29325 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
29327 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
29328 if (!SWIG_IsOK(res3
)) {
29329 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
29332 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
29334 arg3
= reinterpret_cast< wxDC
* >(argp3
);
29335 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 );
29336 if (!SWIG_IsOK(res4
)) {
29337 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
29340 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
29342 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
29344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29345 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
29346 wxPyEndAllowThreads(__tstate
);
29347 if (PyErr_Occurred()) SWIG_fail
;
29350 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29358 SWIGINTERN PyObject
*Effects_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29360 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29361 SWIG_TypeNewClientData(SWIGTYPE_p_wxEffects
, SWIG_NewClientData(obj
));
29362 return SWIG_Py_Void();
29365 SWIGINTERN PyObject
*Effects_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29366 return SWIG_Python_InitShadowInstance(args
);
29369 SWIGINTERN PyObject
*_wrap_new_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29370 PyObject
*resultobj
= 0;
29374 wxSplitterRenderParams
*result
= 0 ;
29381 PyObject
* obj0
= 0 ;
29382 PyObject
* obj1
= 0 ;
29383 PyObject
* obj2
= 0 ;
29384 char * kwnames
[] = {
29385 (char *) "widthSash_",(char *) "border_",(char *) "isSens_", NULL
29388 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_SplitterRenderParams",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29389 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
29390 if (!SWIG_IsOK(ecode1
)) {
29391 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterRenderParams" "', expected argument " "1"" of type '" "int""'");
29393 arg1
= static_cast< int >(val1
);
29394 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29395 if (!SWIG_IsOK(ecode2
)) {
29396 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterRenderParams" "', expected argument " "2"" of type '" "int""'");
29398 arg2
= static_cast< int >(val2
);
29399 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
29400 if (!SWIG_IsOK(ecode3
)) {
29401 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplitterRenderParams" "', expected argument " "3"" of type '" "bool""'");
29403 arg3
= static_cast< bool >(val3
);
29405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29406 result
= (wxSplitterRenderParams
*)new wxSplitterRenderParams(arg1
,arg2
,arg3
);
29407 wxPyEndAllowThreads(__tstate
);
29408 if (PyErr_Occurred()) SWIG_fail
;
29410 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_NEW
| 0 );
29417 SWIGINTERN PyObject
*_wrap_delete_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29418 PyObject
*resultobj
= 0;
29419 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
29422 PyObject
*swig_obj
[1] ;
29424 if (!args
) SWIG_fail
;
29425 swig_obj
[0] = args
;
29426 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_DISOWN
| 0 );
29427 if (!SWIG_IsOK(res1
)) {
29428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_SplitterRenderParams" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
29430 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
29432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29435 wxPyEndAllowThreads(__tstate
);
29436 if (PyErr_Occurred()) SWIG_fail
;
29438 resultobj
= SWIG_Py_Void();
29445 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_widthSash_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29446 PyObject
*resultobj
= 0;
29447 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
29451 PyObject
*swig_obj
[1] ;
29453 if (!args
) SWIG_fail
;
29454 swig_obj
[0] = args
;
29455 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
29456 if (!SWIG_IsOK(res1
)) {
29457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_widthSash_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
29459 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
29460 result
= (int)(int) ((arg1
)->widthSash
);
29461 resultobj
= SWIG_From_int(static_cast< int >(result
));
29468 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_border_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29469 PyObject
*resultobj
= 0;
29470 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
29474 PyObject
*swig_obj
[1] ;
29476 if (!args
) SWIG_fail
;
29477 swig_obj
[0] = args
;
29478 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
29479 if (!SWIG_IsOK(res1
)) {
29480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_border_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
29482 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
29483 result
= (int)(int) ((arg1
)->border
);
29484 resultobj
= SWIG_From_int(static_cast< int >(result
));
29491 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_isHotSensitive_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29492 PyObject
*resultobj
= 0;
29493 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
29497 PyObject
*swig_obj
[1] ;
29499 if (!args
) SWIG_fail
;
29500 swig_obj
[0] = args
;
29501 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
29502 if (!SWIG_IsOK(res1
)) {
29503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_isHotSensitive_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
29505 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
29506 result
= (bool)(bool) ((arg1
)->isHotSensitive
);
29507 resultobj
= SWIG_From_bool(static_cast< bool >(result
));
29514 SWIGINTERN PyObject
*SplitterRenderParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29516 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29517 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterRenderParams
, SWIG_NewClientData(obj
));
29518 return SWIG_Py_Void();
29521 SWIGINTERN PyObject
*SplitterRenderParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29522 return SWIG_Python_InitShadowInstance(args
);
29525 SWIGINTERN PyObject
*_wrap_new_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29526 PyObject
*resultobj
= 0;
29527 wxHeaderButtonParams
*result
= 0 ;
29529 if (!SWIG_Python_UnpackTuple(args
,"new_HeaderButtonParams",0,0,0)) SWIG_fail
;
29531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29532 result
= (wxHeaderButtonParams
*)new wxHeaderButtonParams();
29533 wxPyEndAllowThreads(__tstate
);
29534 if (PyErr_Occurred()) SWIG_fail
;
29536 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_NEW
| 0 );
29543 SWIGINTERN PyObject
*_wrap_delete_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29544 PyObject
*resultobj
= 0;
29545 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29548 PyObject
*swig_obj
[1] ;
29550 if (!args
) SWIG_fail
;
29551 swig_obj
[0] = args
;
29552 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_DISOWN
| 0 );
29553 if (!SWIG_IsOK(res1
)) {
29554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HeaderButtonParams" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29556 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29561 wxPyEndAllowThreads(__tstate
);
29562 if (PyErr_Occurred()) SWIG_fail
;
29564 resultobj
= SWIG_Py_Void();
29571 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29572 PyObject
*resultobj
= 0;
29573 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29574 wxColour
*arg2
= (wxColour
*) 0 ;
29578 PyObject
*swig_obj
[2] ;
29580 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_arrowColour_set",2,2,swig_obj
)) SWIG_fail
;
29581 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29582 if (!SWIG_IsOK(res1
)) {
29583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29585 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29588 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
29590 if (arg1
) (arg1
)->m_arrowColour
= *arg2
;
29592 resultobj
= SWIG_Py_Void();
29599 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29600 PyObject
*resultobj
= 0;
29601 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29602 wxColour
*result
= 0 ;
29605 PyObject
*swig_obj
[1] ;
29607 if (!args
) SWIG_fail
;
29608 swig_obj
[0] = args
;
29609 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29610 if (!SWIG_IsOK(res1
)) {
29611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29613 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29614 result
= (wxColour
*)& ((arg1
)->m_arrowColour
);
29615 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
29622 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29623 PyObject
*resultobj
= 0;
29624 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29625 wxColour
*arg2
= (wxColour
*) 0 ;
29629 PyObject
*swig_obj
[2] ;
29631 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_selectionColour_set",2,2,swig_obj
)) SWIG_fail
;
29632 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29633 if (!SWIG_IsOK(res1
)) {
29634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29636 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29639 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
29641 if (arg1
) (arg1
)->m_selectionColour
= *arg2
;
29643 resultobj
= SWIG_Py_Void();
29650 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29651 PyObject
*resultobj
= 0;
29652 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29653 wxColour
*result
= 0 ;
29656 PyObject
*swig_obj
[1] ;
29658 if (!args
) SWIG_fail
;
29659 swig_obj
[0] = args
;
29660 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29661 if (!SWIG_IsOK(res1
)) {
29662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29664 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29665 result
= (wxColour
*)& ((arg1
)->m_selectionColour
);
29666 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
29673 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29674 PyObject
*resultobj
= 0;
29675 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29676 wxString
*arg2
= (wxString
*) 0 ;
29679 bool temp2
= false ;
29680 PyObject
*swig_obj
[2] ;
29682 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelText_set",2,2,swig_obj
)) SWIG_fail
;
29683 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29684 if (!SWIG_IsOK(res1
)) {
29685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29687 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29689 arg2
= wxString_in_helper(swig_obj
[1]);
29690 if (arg2
== NULL
) SWIG_fail
;
29693 if (arg1
) (arg1
)->m_labelText
= *arg2
;
29695 resultobj
= SWIG_Py_Void();
29710 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29711 PyObject
*resultobj
= 0;
29712 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29713 wxString
*result
= 0 ;
29716 PyObject
*swig_obj
[1] ;
29718 if (!args
) SWIG_fail
;
29719 swig_obj
[0] = args
;
29720 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29721 if (!SWIG_IsOK(res1
)) {
29722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29724 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29725 result
= (wxString
*)& ((arg1
)->m_labelText
);
29728 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
29730 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
29739 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29740 PyObject
*resultobj
= 0;
29741 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29742 wxFont
*arg2
= (wxFont
*) 0 ;
29747 PyObject
*swig_obj
[2] ;
29749 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelFont_set",2,2,swig_obj
)) SWIG_fail
;
29750 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29751 if (!SWIG_IsOK(res1
)) {
29752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29754 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29755 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
29756 if (!SWIG_IsOK(res2
)) {
29757 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "2"" of type '" "wxFont *""'");
29759 arg2
= reinterpret_cast< wxFont
* >(argp2
);
29760 if (arg1
) (arg1
)->m_labelFont
= *arg2
;
29762 resultobj
= SWIG_Py_Void();
29769 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29770 PyObject
*resultobj
= 0;
29771 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29772 wxFont
*result
= 0 ;
29775 PyObject
*swig_obj
[1] ;
29777 if (!args
) SWIG_fail
;
29778 swig_obj
[0] = args
;
29779 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29780 if (!SWIG_IsOK(res1
)) {
29781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29783 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29784 result
= (wxFont
*)& ((arg1
)->m_labelFont
);
29785 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
29792 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29793 PyObject
*resultobj
= 0;
29794 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29795 wxColour
*arg2
= (wxColour
*) 0 ;
29799 PyObject
*swig_obj
[2] ;
29801 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelColour_set",2,2,swig_obj
)) SWIG_fail
;
29802 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29803 if (!SWIG_IsOK(res1
)) {
29804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29806 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29809 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
29811 if (arg1
) (arg1
)->m_labelColour
= *arg2
;
29813 resultobj
= SWIG_Py_Void();
29820 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29821 PyObject
*resultobj
= 0;
29822 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29823 wxColour
*result
= 0 ;
29826 PyObject
*swig_obj
[1] ;
29828 if (!args
) SWIG_fail
;
29829 swig_obj
[0] = args
;
29830 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29831 if (!SWIG_IsOK(res1
)) {
29832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29834 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29835 result
= (wxColour
*)& ((arg1
)->m_labelColour
);
29836 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
29843 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29844 PyObject
*resultobj
= 0;
29845 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29846 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
29851 PyObject
*swig_obj
[2] ;
29853 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelBitmap_set",2,2,swig_obj
)) SWIG_fail
;
29854 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29855 if (!SWIG_IsOK(res1
)) {
29856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29858 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29859 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
29860 if (!SWIG_IsOK(res2
)) {
29861 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "2"" of type '" "wxBitmap *""'");
29863 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
29864 if (arg1
) (arg1
)->m_labelBitmap
= *arg2
;
29866 resultobj
= SWIG_Py_Void();
29873 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29874 PyObject
*resultobj
= 0;
29875 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29876 wxBitmap
*result
= 0 ;
29879 PyObject
*swig_obj
[1] ;
29881 if (!args
) SWIG_fail
;
29882 swig_obj
[0] = args
;
29883 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29884 if (!SWIG_IsOK(res1
)) {
29885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29887 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29888 result
= (wxBitmap
*)& ((arg1
)->m_labelBitmap
);
29889 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
29896 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29897 PyObject
*resultobj
= 0;
29898 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29904 PyObject
*swig_obj
[2] ;
29906 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelAlignment_set",2,2,swig_obj
)) SWIG_fail
;
29907 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29908 if (!SWIG_IsOK(res1
)) {
29909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29911 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29912 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
29913 if (!SWIG_IsOK(ecode2
)) {
29914 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "2"" of type '" "int""'");
29916 arg2
= static_cast< int >(val2
);
29917 if (arg1
) (arg1
)->m_labelAlignment
= arg2
;
29919 resultobj
= SWIG_Py_Void();
29926 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29927 PyObject
*resultobj
= 0;
29928 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29932 PyObject
*swig_obj
[1] ;
29934 if (!args
) SWIG_fail
;
29935 swig_obj
[0] = args
;
29936 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29937 if (!SWIG_IsOK(res1
)) {
29938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29940 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29941 result
= (int) ((arg1
)->m_labelAlignment
);
29942 resultobj
= SWIG_From_int(static_cast< int >(result
));
29949 SWIGINTERN PyObject
*HeaderButtonParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29951 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29952 SWIG_TypeNewClientData(SWIGTYPE_p_wxHeaderButtonParams
, SWIG_NewClientData(obj
));
29953 return SWIG_Py_Void();
29956 SWIGINTERN PyObject
*HeaderButtonParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29957 return SWIG_Python_InitShadowInstance(args
);
29960 SWIGINTERN PyObject
*_wrap_new_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29961 PyObject
*resultobj
= 0;
29964 wxRendererVersion
*result
= 0 ;
29969 PyObject
* obj0
= 0 ;
29970 PyObject
* obj1
= 0 ;
29971 char * kwnames
[] = {
29972 (char *) "version_",(char *) "age_", NULL
29975 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RendererVersion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29976 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
29977 if (!SWIG_IsOK(ecode1
)) {
29978 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_RendererVersion" "', expected argument " "1"" of type '" "int""'");
29980 arg1
= static_cast< int >(val1
);
29981 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29982 if (!SWIG_IsOK(ecode2
)) {
29983 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RendererVersion" "', expected argument " "2"" of type '" "int""'");
29985 arg2
= static_cast< int >(val2
);
29987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29988 result
= (wxRendererVersion
*)new wxRendererVersion(arg1
,arg2
);
29989 wxPyEndAllowThreads(__tstate
);
29990 if (PyErr_Occurred()) SWIG_fail
;
29992 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_NEW
| 0 );
29999 SWIGINTERN PyObject
*_wrap_delete_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30000 PyObject
*resultobj
= 0;
30001 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
30004 PyObject
*swig_obj
[1] ;
30006 if (!args
) SWIG_fail
;
30007 swig_obj
[0] = args
;
30008 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_DISOWN
| 0 );
30009 if (!SWIG_IsOK(res1
)) {
30010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RendererVersion" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
30012 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
30014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30017 wxPyEndAllowThreads(__tstate
);
30018 if (PyErr_Occurred()) SWIG_fail
;
30020 resultobj
= SWIG_Py_Void();
30027 SWIGINTERN PyObject
*_wrap_RendererVersion_IsCompatible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30028 PyObject
*resultobj
= 0;
30029 wxRendererVersion
*arg1
= 0 ;
30033 PyObject
* obj0
= 0 ;
30034 char * kwnames
[] = {
30035 (char *) "ver", NULL
30038 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererVersion_IsCompatible",kwnames
,&obj0
)) SWIG_fail
;
30039 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRendererVersion
, 0 | 0);
30040 if (!SWIG_IsOK(res1
)) {
30041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
30044 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
30046 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
30048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30049 result
= (bool)wxRendererVersion::IsCompatible((wxRendererVersion
const &)*arg1
);
30050 wxPyEndAllowThreads(__tstate
);
30051 if (PyErr_Occurred()) SWIG_fail
;
30054 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30062 SWIGINTERN PyObject
*_wrap_RendererVersion_version_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30063 PyObject
*resultobj
= 0;
30064 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
30068 PyObject
*swig_obj
[1] ;
30070 if (!args
) SWIG_fail
;
30071 swig_obj
[0] = args
;
30072 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
30073 if (!SWIG_IsOK(res1
)) {
30074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_version_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
30076 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
30077 result
= (int)(int) ((arg1
)->version
);
30078 resultobj
= SWIG_From_int(static_cast< int >(result
));
30085 SWIGINTERN PyObject
*_wrap_RendererVersion_age_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30086 PyObject
*resultobj
= 0;
30087 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
30091 PyObject
*swig_obj
[1] ;
30093 if (!args
) SWIG_fail
;
30094 swig_obj
[0] = args
;
30095 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
30096 if (!SWIG_IsOK(res1
)) {
30097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_age_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
30099 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
30100 result
= (int)(int) ((arg1
)->age
);
30101 resultobj
= SWIG_From_int(static_cast< int >(result
));
30108 SWIGINTERN PyObject
*RendererVersion_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30110 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30111 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererVersion
, SWIG_NewClientData(obj
));
30112 return SWIG_Py_Void();
30115 SWIGINTERN PyObject
*RendererVersion_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30116 return SWIG_Python_InitShadowInstance(args
);
30119 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30120 PyObject
*resultobj
= 0;
30121 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30122 wxWindow
*arg2
= (wxWindow
*) 0 ;
30125 int arg5
= (int) 0 ;
30126 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
30127 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
30141 PyObject
* obj0
= 0 ;
30142 PyObject
* obj1
= 0 ;
30143 PyObject
* obj2
= 0 ;
30144 PyObject
* obj3
= 0 ;
30145 PyObject
* obj4
= 0 ;
30146 PyObject
* obj5
= 0 ;
30147 PyObject
* obj6
= 0 ;
30148 char * kwnames
[] = {
30149 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
30152 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30153 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30154 if (!SWIG_IsOK(res1
)) {
30155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30157 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30158 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30159 if (!SWIG_IsOK(res2
)) {
30160 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "2"" of type '" "wxWindow *""'");
30162 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30163 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30164 if (!SWIG_IsOK(res3
)) {
30165 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
30168 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
30170 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30173 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
30176 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30177 if (!SWIG_IsOK(ecode5
)) {
30178 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "5"" of type '" "int""'");
30180 arg5
= static_cast< int >(val5
);
30183 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
30184 if (!SWIG_IsOK(ecode6
)) {
30185 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
30187 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
30190 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
30191 if (!SWIG_IsOK(res7
)) {
30192 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
30194 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
30197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30198 (arg1
)->DrawHeaderButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
30199 wxPyEndAllowThreads(__tstate
);
30200 if (PyErr_Occurred()) SWIG_fail
;
30202 resultobj
= SWIG_Py_Void();
30209 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButtonContents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30210 PyObject
*resultobj
= 0;
30211 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30212 wxWindow
*arg2
= (wxWindow
*) 0 ;
30215 int arg5
= (int) 0 ;
30216 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
30217 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
30231 PyObject
* obj0
= 0 ;
30232 PyObject
* obj1
= 0 ;
30233 PyObject
* obj2
= 0 ;
30234 PyObject
* obj3
= 0 ;
30235 PyObject
* obj4
= 0 ;
30236 PyObject
* obj5
= 0 ;
30237 PyObject
* obj6
= 0 ;
30238 char * kwnames
[] = {
30239 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
30242 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButtonContents",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30243 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30244 if (!SWIG_IsOK(res1
)) {
30245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30247 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30248 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30249 if (!SWIG_IsOK(res2
)) {
30250 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "2"" of type '" "wxWindow *""'");
30252 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30253 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30254 if (!SWIG_IsOK(res3
)) {
30255 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
30258 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
30260 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30263 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
30266 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30267 if (!SWIG_IsOK(ecode5
)) {
30268 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "5"" of type '" "int""'");
30270 arg5
= static_cast< int >(val5
);
30273 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
30274 if (!SWIG_IsOK(ecode6
)) {
30275 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
30277 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
30280 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
30281 if (!SWIG_IsOK(res7
)) {
30282 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
30284 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
30287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30288 (arg1
)->DrawHeaderButtonContents(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
30289 wxPyEndAllowThreads(__tstate
);
30290 if (PyErr_Occurred()) SWIG_fail
;
30292 resultobj
= SWIG_Py_Void();
30299 SWIGINTERN PyObject
*_wrap_RendererNative_GetHeaderButtonHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30300 PyObject
*resultobj
= 0;
30301 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30302 wxWindow
*arg2
= (wxWindow
*) 0 ;
30308 PyObject
* obj0
= 0 ;
30309 PyObject
* obj1
= 0 ;
30310 char * kwnames
[] = {
30311 (char *) "self",(char *) "win", NULL
30314 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetHeaderButtonHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30315 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30316 if (!SWIG_IsOK(res1
)) {
30317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30319 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30320 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30321 if (!SWIG_IsOK(res2
)) {
30322 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "2"" of type '" "wxWindow *""'");
30324 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30327 result
= (int)(arg1
)->GetHeaderButtonHeight(arg2
);
30328 wxPyEndAllowThreads(__tstate
);
30329 if (PyErr_Occurred()) SWIG_fail
;
30331 resultobj
= SWIG_From_int(static_cast< int >(result
));
30338 SWIGINTERN PyObject
*_wrap_RendererNative_DrawTreeItemButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30339 PyObject
*resultobj
= 0;
30340 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30341 wxWindow
*arg2
= (wxWindow
*) 0 ;
30344 int arg5
= (int) 0 ;
30354 PyObject
* obj0
= 0 ;
30355 PyObject
* obj1
= 0 ;
30356 PyObject
* obj2
= 0 ;
30357 PyObject
* obj3
= 0 ;
30358 PyObject
* obj4
= 0 ;
30359 char * kwnames
[] = {
30360 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
30363 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawTreeItemButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30364 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30365 if (!SWIG_IsOK(res1
)) {
30366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30368 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30369 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30370 if (!SWIG_IsOK(res2
)) {
30371 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "2"" of type '" "wxWindow *""'");
30373 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30374 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30375 if (!SWIG_IsOK(res3
)) {
30376 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
30379 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
30381 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30384 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
30387 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30388 if (!SWIG_IsOK(ecode5
)) {
30389 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "5"" of type '" "int""'");
30391 arg5
= static_cast< int >(val5
);
30394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30395 (arg1
)->DrawTreeItemButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
30396 wxPyEndAllowThreads(__tstate
);
30397 if (PyErr_Occurred()) SWIG_fail
;
30399 resultobj
= SWIG_Py_Void();
30406 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30407 PyObject
*resultobj
= 0;
30408 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30409 wxWindow
*arg2
= (wxWindow
*) 0 ;
30412 int arg5
= (int) 0 ;
30422 PyObject
* obj0
= 0 ;
30423 PyObject
* obj1
= 0 ;
30424 PyObject
* obj2
= 0 ;
30425 PyObject
* obj3
= 0 ;
30426 PyObject
* obj4
= 0 ;
30427 char * kwnames
[] = {
30428 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
30431 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawSplitterBorder",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30432 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30433 if (!SWIG_IsOK(res1
)) {
30434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30436 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30437 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30438 if (!SWIG_IsOK(res2
)) {
30439 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "2"" of type '" "wxWindow *""'");
30441 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30442 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30443 if (!SWIG_IsOK(res3
)) {
30444 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
30447 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
30449 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30452 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
30455 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30456 if (!SWIG_IsOK(ecode5
)) {
30457 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "5"" of type '" "int""'");
30459 arg5
= static_cast< int >(val5
);
30462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30463 (arg1
)->DrawSplitterBorder(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
30464 wxPyEndAllowThreads(__tstate
);
30465 if (PyErr_Occurred()) SWIG_fail
;
30467 resultobj
= SWIG_Py_Void();
30474 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterSash(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30475 PyObject
*resultobj
= 0;
30476 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30477 wxWindow
*arg2
= (wxWindow
*) 0 ;
30481 wxOrientation arg6
;
30482 int arg7
= (int) 0 ;
30496 PyObject
* obj0
= 0 ;
30497 PyObject
* obj1
= 0 ;
30498 PyObject
* obj2
= 0 ;
30499 PyObject
* obj3
= 0 ;
30500 PyObject
* obj4
= 0 ;
30501 PyObject
* obj5
= 0 ;
30502 PyObject
* obj6
= 0 ;
30503 char * kwnames
[] = {
30504 (char *) "self",(char *) "win",(char *) "dc",(char *) "size",(char *) "position",(char *) "orient",(char *) "flags", NULL
30507 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:RendererNative_DrawSplitterSash",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30508 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30509 if (!SWIG_IsOK(res1
)) {
30510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30512 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30513 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30514 if (!SWIG_IsOK(res2
)) {
30515 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "2"" of type '" "wxWindow *""'");
30517 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30518 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30519 if (!SWIG_IsOK(res3
)) {
30520 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
30523 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
30525 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30528 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
30530 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30531 if (!SWIG_IsOK(ecode5
)) {
30532 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "5"" of type '" "int""'");
30534 arg5
= static_cast< int >(val5
);
30535 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
30536 if (!SWIG_IsOK(ecode6
)) {
30537 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "6"" of type '" "wxOrientation""'");
30539 arg6
= static_cast< wxOrientation
>(val6
);
30541 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
30542 if (!SWIG_IsOK(ecode7
)) {
30543 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "7"" of type '" "int""'");
30545 arg7
= static_cast< int >(val7
);
30548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30549 (arg1
)->DrawSplitterSash(arg2
,*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
);
30550 wxPyEndAllowThreads(__tstate
);
30551 if (PyErr_Occurred()) SWIG_fail
;
30553 resultobj
= SWIG_Py_Void();
30560 SWIGINTERN PyObject
*_wrap_RendererNative_DrawComboBoxDropButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30561 PyObject
*resultobj
= 0;
30562 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30563 wxWindow
*arg2
= (wxWindow
*) 0 ;
30566 int arg5
= (int) 0 ;
30576 PyObject
* obj0
= 0 ;
30577 PyObject
* obj1
= 0 ;
30578 PyObject
* obj2
= 0 ;
30579 PyObject
* obj3
= 0 ;
30580 PyObject
* obj4
= 0 ;
30581 char * kwnames
[] = {
30582 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
30585 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawComboBoxDropButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30586 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30587 if (!SWIG_IsOK(res1
)) {
30588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30590 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30591 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30592 if (!SWIG_IsOK(res2
)) {
30593 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "2"" of type '" "wxWindow *""'");
30595 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30596 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30597 if (!SWIG_IsOK(res3
)) {
30598 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
30601 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
30603 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30606 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
30609 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30610 if (!SWIG_IsOK(ecode5
)) {
30611 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "5"" of type '" "int""'");
30613 arg5
= static_cast< int >(val5
);
30616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30617 (arg1
)->DrawComboBoxDropButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
30618 wxPyEndAllowThreads(__tstate
);
30619 if (PyErr_Occurred()) SWIG_fail
;
30621 resultobj
= SWIG_Py_Void();
30628 SWIGINTERN PyObject
*_wrap_RendererNative_DrawDropArrow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30629 PyObject
*resultobj
= 0;
30630 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30631 wxWindow
*arg2
= (wxWindow
*) 0 ;
30634 int arg5
= (int) 0 ;
30644 PyObject
* obj0
= 0 ;
30645 PyObject
* obj1
= 0 ;
30646 PyObject
* obj2
= 0 ;
30647 PyObject
* obj3
= 0 ;
30648 PyObject
* obj4
= 0 ;
30649 char * kwnames
[] = {
30650 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
30653 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawDropArrow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30654 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30655 if (!SWIG_IsOK(res1
)) {
30656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30658 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30659 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30660 if (!SWIG_IsOK(res2
)) {
30661 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "2"" of type '" "wxWindow *""'");
30663 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30664 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30665 if (!SWIG_IsOK(res3
)) {
30666 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
30669 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
30671 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30674 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
30677 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30678 if (!SWIG_IsOK(ecode5
)) {
30679 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "5"" of type '" "int""'");
30681 arg5
= static_cast< int >(val5
);
30684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30685 (arg1
)->DrawDropArrow(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
30686 wxPyEndAllowThreads(__tstate
);
30687 if (PyErr_Occurred()) SWIG_fail
;
30689 resultobj
= SWIG_Py_Void();
30696 SWIGINTERN PyObject
*_wrap_RendererNative_DrawCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30697 PyObject
*resultobj
= 0;
30698 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30699 wxWindow
*arg2
= (wxWindow
*) 0 ;
30702 int arg5
= (int) 0 ;
30712 PyObject
* obj0
= 0 ;
30713 PyObject
* obj1
= 0 ;
30714 PyObject
* obj2
= 0 ;
30715 PyObject
* obj3
= 0 ;
30716 PyObject
* obj4
= 0 ;
30717 char * kwnames
[] = {
30718 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
30721 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawCheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30722 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30723 if (!SWIG_IsOK(res1
)) {
30724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30726 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30727 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30728 if (!SWIG_IsOK(res2
)) {
30729 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "2"" of type '" "wxWindow *""'");
30731 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30732 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30733 if (!SWIG_IsOK(res3
)) {
30734 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
30737 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
30739 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30742 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
30745 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30746 if (!SWIG_IsOK(ecode5
)) {
30747 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "5"" of type '" "int""'");
30749 arg5
= static_cast< int >(val5
);
30752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30753 (arg1
)->DrawCheckBox(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
30754 wxPyEndAllowThreads(__tstate
);
30755 if (PyErr_Occurred()) SWIG_fail
;
30757 resultobj
= SWIG_Py_Void();
30764 SWIGINTERN PyObject
*_wrap_RendererNative_DrawPushButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30765 PyObject
*resultobj
= 0;
30766 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30767 wxWindow
*arg2
= (wxWindow
*) 0 ;
30770 int arg5
= (int) 0 ;
30780 PyObject
* obj0
= 0 ;
30781 PyObject
* obj1
= 0 ;
30782 PyObject
* obj2
= 0 ;
30783 PyObject
* obj3
= 0 ;
30784 PyObject
* obj4
= 0 ;
30785 char * kwnames
[] = {
30786 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
30789 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawPushButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30790 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30791 if (!SWIG_IsOK(res1
)) {
30792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30794 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30795 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30796 if (!SWIG_IsOK(res2
)) {
30797 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "2"" of type '" "wxWindow *""'");
30799 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30800 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30801 if (!SWIG_IsOK(res3
)) {
30802 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
30805 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
30807 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30810 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
30813 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30814 if (!SWIG_IsOK(ecode5
)) {
30815 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "5"" of type '" "int""'");
30817 arg5
= static_cast< int >(val5
);
30820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30821 (arg1
)->DrawPushButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
30822 wxPyEndAllowThreads(__tstate
);
30823 if (PyErr_Occurred()) SWIG_fail
;
30825 resultobj
= SWIG_Py_Void();
30832 SWIGINTERN PyObject
*_wrap_RendererNative_DrawItemSelectionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30833 PyObject
*resultobj
= 0;
30834 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30835 wxWindow
*arg2
= (wxWindow
*) 0 ;
30838 int arg5
= (int) 0 ;
30848 PyObject
* obj0
= 0 ;
30849 PyObject
* obj1
= 0 ;
30850 PyObject
* obj2
= 0 ;
30851 PyObject
* obj3
= 0 ;
30852 PyObject
* obj4
= 0 ;
30853 char * kwnames
[] = {
30854 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
30857 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawItemSelectionRect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30858 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30859 if (!SWIG_IsOK(res1
)) {
30860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30862 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30863 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30864 if (!SWIG_IsOK(res2
)) {
30865 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "2"" of type '" "wxWindow *""'");
30867 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30868 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30869 if (!SWIG_IsOK(res3
)) {
30870 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
30873 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
30875 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30878 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
30881 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30882 if (!SWIG_IsOK(ecode5
)) {
30883 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "5"" of type '" "int""'");
30885 arg5
= static_cast< int >(val5
);
30888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30889 (arg1
)->DrawItemSelectionRect(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
30890 wxPyEndAllowThreads(__tstate
);
30891 if (PyErr_Occurred()) SWIG_fail
;
30893 resultobj
= SWIG_Py_Void();
30900 SWIGINTERN PyObject
*_wrap_RendererNative_GetSplitterParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30901 PyObject
*resultobj
= 0;
30902 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30903 wxWindow
*arg2
= (wxWindow
*) 0 ;
30904 SwigValueWrapper
<wxSplitterRenderParams
> result
;
30909 PyObject
* obj0
= 0 ;
30910 PyObject
* obj1
= 0 ;
30911 char * kwnames
[] = {
30912 (char *) "self",(char *) "win", NULL
30915 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetSplitterParams",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30916 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30917 if (!SWIG_IsOK(res1
)) {
30918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30920 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30921 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30922 if (!SWIG_IsOK(res2
)) {
30923 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "2"" of type '" "wxWindow const *""'");
30925 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30928 result
= (arg1
)->GetSplitterParams((wxWindow
const *)arg2
);
30929 wxPyEndAllowThreads(__tstate
);
30930 if (PyErr_Occurred()) SWIG_fail
;
30932 resultobj
= SWIG_NewPointerObj((new wxSplitterRenderParams(static_cast< const wxSplitterRenderParams
& >(result
))), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_OWN
| 0 );
30939 SWIGINTERN PyObject
*_wrap_RendererNative_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30940 PyObject
*resultobj
= 0;
30941 wxRendererNative
*result
= 0 ;
30943 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_Get",0,0,0)) SWIG_fail
;
30945 if (!wxPyCheckForApp()) SWIG_fail
;
30946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30948 wxRendererNative
&_result_ref
= wxRendererNative::Get();
30949 result
= (wxRendererNative
*) &_result_ref
;
30951 wxPyEndAllowThreads(__tstate
);
30952 if (PyErr_Occurred()) SWIG_fail
;
30954 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30961 SWIGINTERN PyObject
*_wrap_RendererNative_GetGeneric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30962 PyObject
*resultobj
= 0;
30963 wxRendererNative
*result
= 0 ;
30965 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetGeneric",0,0,0)) SWIG_fail
;
30967 if (!wxPyCheckForApp()) SWIG_fail
;
30968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30970 wxRendererNative
&_result_ref
= wxRendererNative::GetGeneric();
30971 result
= (wxRendererNative
*) &_result_ref
;
30973 wxPyEndAllowThreads(__tstate
);
30974 if (PyErr_Occurred()) SWIG_fail
;
30976 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30983 SWIGINTERN PyObject
*_wrap_RendererNative_GetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30984 PyObject
*resultobj
= 0;
30985 wxRendererNative
*result
= 0 ;
30987 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetDefault",0,0,0)) SWIG_fail
;
30989 if (!wxPyCheckForApp()) SWIG_fail
;
30990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30992 wxRendererNative
&_result_ref
= wxRendererNative::GetDefault();
30993 result
= (wxRendererNative
*) &_result_ref
;
30995 wxPyEndAllowThreads(__tstate
);
30996 if (PyErr_Occurred()) SWIG_fail
;
30998 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31005 SWIGINTERN PyObject
*_wrap_RendererNative_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31006 PyObject
*resultobj
= 0;
31007 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
31008 wxRendererNative
*result
= 0 ;
31011 PyObject
* obj0
= 0 ;
31012 char * kwnames
[] = {
31013 (char *) "renderer", NULL
31016 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererNative_Set",kwnames
,&obj0
)) SWIG_fail
;
31017 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31018 if (!SWIG_IsOK(res1
)) {
31019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_Set" "', expected argument " "1"" of type '" "wxRendererNative *""'");
31021 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
31023 if (!wxPyCheckForApp()) SWIG_fail
;
31024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31025 result
= (wxRendererNative
*)wxRendererNative::Set(arg1
);
31026 wxPyEndAllowThreads(__tstate
);
31027 if (PyErr_Occurred()) SWIG_fail
;
31029 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31036 SWIGINTERN PyObject
*_wrap_RendererNative_GetVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31037 PyObject
*resultobj
= 0;
31038 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
31039 SwigValueWrapper
<wxRendererVersion
> result
;
31042 PyObject
*swig_obj
[1] ;
31044 if (!args
) SWIG_fail
;
31045 swig_obj
[0] = args
;
31046 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31047 if (!SWIG_IsOK(res1
)) {
31048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetVersion" "', expected argument " "1"" of type '" "wxRendererNative const *""'");
31050 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
31052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31053 result
= ((wxRendererNative
const *)arg1
)->GetVersion();
31054 wxPyEndAllowThreads(__tstate
);
31055 if (PyErr_Occurred()) SWIG_fail
;
31057 resultobj
= SWIG_NewPointerObj((new wxRendererVersion(static_cast< const wxRendererVersion
& >(result
))), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_OWN
| 0 );
31064 SWIGINTERN PyObject
*RendererNative_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31066 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31067 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererNative
, SWIG_NewClientData(obj
));
31068 return SWIG_Py_Void();
31071 SWIGINTERN PyObject
*_wrap_new_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31072 PyObject
*resultobj
= 0;
31073 wxPseudoDC
*result
= 0 ;
31075 if (!SWIG_Python_UnpackTuple(args
,"new_PseudoDC",0,0,0)) SWIG_fail
;
31077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31078 result
= (wxPseudoDC
*)new wxPseudoDC();
31079 wxPyEndAllowThreads(__tstate
);
31080 if (PyErr_Occurred()) SWIG_fail
;
31082 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_NEW
| 0 );
31089 SWIGINTERN PyObject
*_wrap_PseudoDC_BeginDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31090 PyObject
*resultobj
= 0;
31091 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31094 PyObject
*swig_obj
[1] ;
31096 if (!args
) SWIG_fail
;
31097 swig_obj
[0] = args
;
31098 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31099 if (!SWIG_IsOK(res1
)) {
31100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_BeginDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31102 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31105 (arg1
)->BeginDrawing();
31106 wxPyEndAllowThreads(__tstate
);
31107 if (PyErr_Occurred()) SWIG_fail
;
31109 resultobj
= SWIG_Py_Void();
31116 SWIGINTERN PyObject
*_wrap_PseudoDC_EndDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31117 PyObject
*resultobj
= 0;
31118 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31121 PyObject
*swig_obj
[1] ;
31123 if (!args
) SWIG_fail
;
31124 swig_obj
[0] = args
;
31125 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31126 if (!SWIG_IsOK(res1
)) {
31127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_EndDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31129 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31132 (arg1
)->EndDrawing();
31133 wxPyEndAllowThreads(__tstate
);
31134 if (PyErr_Occurred()) SWIG_fail
;
31136 resultobj
= SWIG_Py_Void();
31143 SWIGINTERN PyObject
*_wrap_delete_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31144 PyObject
*resultobj
= 0;
31145 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31148 PyObject
*swig_obj
[1] ;
31150 if (!args
) SWIG_fail
;
31151 swig_obj
[0] = args
;
31152 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_DISOWN
| 0 );
31153 if (!SWIG_IsOK(res1
)) {
31154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PseudoDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31156 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31161 wxPyEndAllowThreads(__tstate
);
31162 if (PyErr_Occurred()) SWIG_fail
;
31164 resultobj
= SWIG_Py_Void();
31171 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31172 PyObject
*resultobj
= 0;
31173 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31176 PyObject
*swig_obj
[1] ;
31178 if (!args
) SWIG_fail
;
31179 swig_obj
[0] = args
;
31180 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31181 if (!SWIG_IsOK(res1
)) {
31182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveAll" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31184 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31187 (arg1
)->RemoveAll();
31188 wxPyEndAllowThreads(__tstate
);
31189 if (PyErr_Occurred()) SWIG_fail
;
31191 resultobj
= SWIG_Py_Void();
31198 SWIGINTERN PyObject
*_wrap_PseudoDC_GetLen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31199 PyObject
*resultobj
= 0;
31200 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31204 PyObject
*swig_obj
[1] ;
31206 if (!args
) SWIG_fail
;
31207 swig_obj
[0] = args
;
31208 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31209 if (!SWIG_IsOK(res1
)) {
31210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetLen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31212 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31215 result
= (int)(arg1
)->GetLen();
31216 wxPyEndAllowThreads(__tstate
);
31217 if (PyErr_Occurred()) SWIG_fail
;
31219 resultobj
= SWIG_From_int(static_cast< int >(result
));
31226 SWIGINTERN PyObject
*_wrap_PseudoDC_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31227 PyObject
*resultobj
= 0;
31228 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31234 PyObject
* obj0
= 0 ;
31235 PyObject
* obj1
= 0 ;
31236 char * kwnames
[] = {
31237 (char *) "self",(char *) "id", NULL
31240 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31241 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31242 if (!SWIG_IsOK(res1
)) {
31243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31245 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31246 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31247 if (!SWIG_IsOK(ecode2
)) {
31248 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetId" "', expected argument " "2"" of type '" "int""'");
31250 arg2
= static_cast< int >(val2
);
31252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31253 (arg1
)->SetId(arg2
);
31254 wxPyEndAllowThreads(__tstate
);
31255 if (PyErr_Occurred()) SWIG_fail
;
31257 resultobj
= SWIG_Py_Void();
31264 SWIGINTERN PyObject
*_wrap_PseudoDC_ClearId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31265 PyObject
*resultobj
= 0;
31266 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31272 PyObject
* obj0
= 0 ;
31273 PyObject
* obj1
= 0 ;
31274 char * kwnames
[] = {
31275 (char *) "self",(char *) "id", NULL
31278 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_ClearId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31279 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31280 if (!SWIG_IsOK(res1
)) {
31281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_ClearId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31283 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31284 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31285 if (!SWIG_IsOK(ecode2
)) {
31286 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_ClearId" "', expected argument " "2"" of type '" "int""'");
31288 arg2
= static_cast< int >(val2
);
31290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31291 (arg1
)->ClearId(arg2
);
31292 wxPyEndAllowThreads(__tstate
);
31293 if (PyErr_Occurred()) SWIG_fail
;
31295 resultobj
= SWIG_Py_Void();
31302 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31303 PyObject
*resultobj
= 0;
31304 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31310 PyObject
* obj0
= 0 ;
31311 PyObject
* obj1
= 0 ;
31312 char * kwnames
[] = {
31313 (char *) "self",(char *) "id", NULL
31316 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_RemoveId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31317 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31318 if (!SWIG_IsOK(res1
)) {
31319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31321 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31322 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31323 if (!SWIG_IsOK(ecode2
)) {
31324 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_RemoveId" "', expected argument " "2"" of type '" "int""'");
31326 arg2
= static_cast< int >(val2
);
31328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31329 (arg1
)->RemoveId(arg2
);
31330 wxPyEndAllowThreads(__tstate
);
31331 if (PyErr_Occurred()) SWIG_fail
;
31333 resultobj
= SWIG_Py_Void();
31340 SWIGINTERN PyObject
*_wrap_PseudoDC_TranslateId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31341 PyObject
*resultobj
= 0;
31342 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31354 PyObject
* obj0
= 0 ;
31355 PyObject
* obj1
= 0 ;
31356 PyObject
* obj2
= 0 ;
31357 PyObject
* obj3
= 0 ;
31358 char * kwnames
[] = {
31359 (char *) "self",(char *) "id",(char *) "dx",(char *) "dy", NULL
31362 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_TranslateId",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31363 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31364 if (!SWIG_IsOK(res1
)) {
31365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_TranslateId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31367 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31368 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31369 if (!SWIG_IsOK(ecode2
)) {
31370 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_TranslateId" "', expected argument " "2"" of type '" "int""'");
31372 arg2
= static_cast< int >(val2
);
31373 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31374 if (!SWIG_IsOK(ecode3
)) {
31375 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_TranslateId" "', expected argument " "3"" of type '" "int""'");
31377 arg3
= static_cast< int >(val3
);
31378 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31379 if (!SWIG_IsOK(ecode4
)) {
31380 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_TranslateId" "', expected argument " "4"" of type '" "int""'");
31382 arg4
= static_cast< int >(val4
);
31384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31385 (arg1
)->TranslateId(arg2
,arg3
,arg4
);
31386 wxPyEndAllowThreads(__tstate
);
31387 if (PyErr_Occurred()) SWIG_fail
;
31389 resultobj
= SWIG_Py_Void();
31396 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdGreyedOut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31397 PyObject
*resultobj
= 0;
31398 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31400 bool arg3
= (bool) true ;
31407 PyObject
* obj0
= 0 ;
31408 PyObject
* obj1
= 0 ;
31409 PyObject
* obj2
= 0 ;
31410 char * kwnames
[] = {
31411 (char *) "self",(char *) "id",(char *) "greyout", NULL
31414 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PseudoDC_SetIdGreyedOut",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31415 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31416 if (!SWIG_IsOK(res1
)) {
31417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31419 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31420 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31421 if (!SWIG_IsOK(ecode2
)) {
31422 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "2"" of type '" "int""'");
31424 arg2
= static_cast< int >(val2
);
31426 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
31427 if (!SWIG_IsOK(ecode3
)) {
31428 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "3"" of type '" "bool""'");
31430 arg3
= static_cast< bool >(val3
);
31433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31434 (arg1
)->SetIdGreyedOut(arg2
,arg3
);
31435 wxPyEndAllowThreads(__tstate
);
31436 if (PyErr_Occurred()) SWIG_fail
;
31438 resultobj
= SWIG_Py_Void();
31445 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdGreyedOut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31446 PyObject
*resultobj
= 0;
31447 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31454 PyObject
* obj0
= 0 ;
31455 PyObject
* obj1
= 0 ;
31456 char * kwnames
[] = {
31457 (char *) "self",(char *) "id", NULL
31460 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdGreyedOut",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31461 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31462 if (!SWIG_IsOK(res1
)) {
31463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdGreyedOut" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31465 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31466 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31467 if (!SWIG_IsOK(ecode2
)) {
31468 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdGreyedOut" "', expected argument " "2"" of type '" "int""'");
31470 arg2
= static_cast< int >(val2
);
31472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31473 result
= (bool)(arg1
)->GetIdGreyedOut(arg2
);
31474 wxPyEndAllowThreads(__tstate
);
31475 if (PyErr_Occurred()) SWIG_fail
;
31478 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31486 SWIGINTERN PyObject
*_wrap_PseudoDC_FindObjects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31487 PyObject
*resultobj
= 0;
31488 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31491 int arg4
= (int) 1 ;
31492 wxColor
const &arg5_defvalue
= *wxWHITE
;
31493 wxColor
*arg5
= (wxColor
*) &arg5_defvalue
;
31494 PyObject
*result
= 0 ;
31505 PyObject
* obj0
= 0 ;
31506 PyObject
* obj1
= 0 ;
31507 PyObject
* obj2
= 0 ;
31508 PyObject
* obj3
= 0 ;
31509 PyObject
* obj4
= 0 ;
31510 char * kwnames
[] = {
31511 (char *) "self",(char *) "x",(char *) "y",(char *) "radius",(char *) "bg", NULL
31514 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_FindObjects",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31515 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31516 if (!SWIG_IsOK(res1
)) {
31517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FindObjects" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31519 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31520 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31521 if (!SWIG_IsOK(ecode2
)) {
31522 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FindObjects" "', expected argument " "2"" of type '" "int""'");
31524 arg2
= static_cast< int >(val2
);
31525 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31526 if (!SWIG_IsOK(ecode3
)) {
31527 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjects" "', expected argument " "3"" of type '" "int""'");
31529 arg3
= static_cast< int >(val3
);
31531 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31532 if (!SWIG_IsOK(ecode4
)) {
31533 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FindObjects" "', expected argument " "4"" of type '" "int""'");
31535 arg4
= static_cast< int >(val4
);
31538 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxColor
, 0 | 0);
31539 if (!SWIG_IsOK(res5
)) {
31540 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "PseudoDC_FindObjects" "', expected argument " "5"" of type '" "wxColor const &""'");
31543 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_FindObjects" "', expected argument " "5"" of type '" "wxColor const &""'");
31545 arg5
= reinterpret_cast< wxColor
* >(argp5
);
31548 result
= (PyObject
*)(arg1
)->FindObjects(arg2
,arg3
,arg4
,(wxColor
const &)*arg5
);
31549 if (PyErr_Occurred()) SWIG_fail
;
31551 resultobj
= result
;
31558 SWIGINTERN PyObject
*_wrap_PseudoDC_FindObjectsByBBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31559 PyObject
*resultobj
= 0;
31560 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31563 PyObject
*result
= 0 ;
31570 PyObject
* obj0
= 0 ;
31571 PyObject
* obj1
= 0 ;
31572 PyObject
* obj2
= 0 ;
31573 char * kwnames
[] = {
31574 (char *) "self",(char *) "x",(char *) "y", NULL
31577 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_FindObjectsByBBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31578 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31579 if (!SWIG_IsOK(res1
)) {
31580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31582 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31583 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31584 if (!SWIG_IsOK(ecode2
)) {
31585 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "2"" of type '" "int""'");
31587 arg2
= static_cast< int >(val2
);
31588 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31589 if (!SWIG_IsOK(ecode3
)) {
31590 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "3"" of type '" "int""'");
31592 arg3
= static_cast< int >(val3
);
31594 result
= (PyObject
*)(arg1
)->FindObjectsByBBox(arg2
,arg3
);
31595 if (PyErr_Occurred()) SWIG_fail
;
31597 resultobj
= result
;
31604 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIdToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31605 PyObject
*resultobj
= 0;
31606 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31608 wxDC
*arg3
= (wxDC
*) 0 ;
31615 PyObject
* obj0
= 0 ;
31616 PyObject
* obj1
= 0 ;
31617 PyObject
* obj2
= 0 ;
31618 char * kwnames
[] = {
31619 (char *) "self",(char *) "id",(char *) "dc", NULL
31622 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIdToDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31623 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31624 if (!SWIG_IsOK(res1
)) {
31625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31627 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31628 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31629 if (!SWIG_IsOK(ecode2
)) {
31630 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "2"" of type '" "int""'");
31632 arg2
= static_cast< int >(val2
);
31633 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxDC
, 0 | 0 );
31634 if (!SWIG_IsOK(res3
)) {
31635 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "3"" of type '" "wxDC *""'");
31637 arg3
= reinterpret_cast< wxDC
* >(argp3
);
31639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31640 (arg1
)->DrawIdToDC(arg2
,arg3
);
31641 wxPyEndAllowThreads(__tstate
);
31642 if (PyErr_Occurred()) SWIG_fail
;
31644 resultobj
= SWIG_Py_Void();
31651 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31652 PyObject
*resultobj
= 0;
31653 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31661 PyObject
* obj0
= 0 ;
31662 PyObject
* obj1
= 0 ;
31663 PyObject
* obj2
= 0 ;
31664 char * kwnames
[] = {
31665 (char *) "self",(char *) "id",(char *) "rect", NULL
31668 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_SetIdBounds",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31669 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31670 if (!SWIG_IsOK(res1
)) {
31671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31673 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31674 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31675 if (!SWIG_IsOK(ecode2
)) {
31676 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "2"" of type '" "int""'");
31678 arg2
= static_cast< int >(val2
);
31681 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
31684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31685 (arg1
)->SetIdBounds(arg2
,*arg3
);
31686 wxPyEndAllowThreads(__tstate
);
31687 if (PyErr_Occurred()) SWIG_fail
;
31689 resultobj
= SWIG_Py_Void();
31696 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31697 PyObject
*resultobj
= 0;
31698 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31705 PyObject
* obj0
= 0 ;
31706 PyObject
* obj1
= 0 ;
31707 char * kwnames
[] = {
31708 (char *) "self",(char *) "id", NULL
31711 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdBounds",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31712 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31713 if (!SWIG_IsOK(res1
)) {
31714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31716 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31717 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31718 if (!SWIG_IsOK(ecode2
)) {
31719 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "2"" of type '" "int""'");
31721 arg2
= static_cast< int >(val2
);
31723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31724 result
= wxPseudoDC_GetIdBounds(arg1
,arg2
);
31725 wxPyEndAllowThreads(__tstate
);
31726 if (PyErr_Occurred()) SWIG_fail
;
31728 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
31735 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClipped(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31736 PyObject
*resultobj
= 0;
31737 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31738 wxDC
*arg2
= (wxDC
*) 0 ;
31745 PyObject
* obj0
= 0 ;
31746 PyObject
* obj1
= 0 ;
31747 PyObject
* obj2
= 0 ;
31748 char * kwnames
[] = {
31749 (char *) "self",(char *) "dc",(char *) "rect", NULL
31752 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClipped",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31753 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31754 if (!SWIG_IsOK(res1
)) {
31755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31757 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31758 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
31759 if (!SWIG_IsOK(res2
)) {
31760 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "2"" of type '" "wxDC *""'");
31762 arg2
= reinterpret_cast< wxDC
* >(argp2
);
31765 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
31768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31769 (arg1
)->DrawToDCClipped(arg2
,(wxRect
const &)*arg3
);
31770 wxPyEndAllowThreads(__tstate
);
31771 if (PyErr_Occurred()) SWIG_fail
;
31773 resultobj
= SWIG_Py_Void();
31780 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClippedRgn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31781 PyObject
*resultobj
= 0;
31782 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31783 wxDC
*arg2
= (wxDC
*) 0 ;
31784 wxRegion
*arg3
= 0 ;
31791 PyObject
* obj0
= 0 ;
31792 PyObject
* obj1
= 0 ;
31793 PyObject
* obj2
= 0 ;
31794 char * kwnames
[] = {
31795 (char *) "self",(char *) "dc",(char *) "region", NULL
31798 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClippedRgn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31799 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31800 if (!SWIG_IsOK(res1
)) {
31801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31803 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31804 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
31805 if (!SWIG_IsOK(res2
)) {
31806 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "2"" of type '" "wxDC *""'");
31808 arg2
= reinterpret_cast< wxDC
* >(argp2
);
31809 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxRegion
, 0 | 0);
31810 if (!SWIG_IsOK(res3
)) {
31811 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
31814 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
31816 arg3
= reinterpret_cast< wxRegion
* >(argp3
);
31818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31819 (arg1
)->DrawToDCClippedRgn(arg2
,(wxRegion
const &)*arg3
);
31820 wxPyEndAllowThreads(__tstate
);
31821 if (PyErr_Occurred()) SWIG_fail
;
31823 resultobj
= SWIG_Py_Void();
31830 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31831 PyObject
*resultobj
= 0;
31832 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31833 wxDC
*arg2
= (wxDC
*) 0 ;
31838 PyObject
* obj0
= 0 ;
31839 PyObject
* obj1
= 0 ;
31840 char * kwnames
[] = {
31841 (char *) "self",(char *) "dc", NULL
31844 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawToDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31845 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31846 if (!SWIG_IsOK(res1
)) {
31847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31849 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31850 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
31851 if (!SWIG_IsOK(res2
)) {
31852 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "2"" of type '" "wxDC *""'");
31854 arg2
= reinterpret_cast< wxDC
* >(argp2
);
31856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31857 (arg1
)->DrawToDC(arg2
);
31858 wxPyEndAllowThreads(__tstate
);
31859 if (PyErr_Occurred()) SWIG_fail
;
31861 resultobj
= SWIG_Py_Void();
31868 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31869 PyObject
*resultobj
= 0;
31870 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31873 wxColour
*arg4
= 0 ;
31874 int arg5
= (int) wxFLOOD_SURFACE
;
31884 PyObject
* obj0
= 0 ;
31885 PyObject
* obj1
= 0 ;
31886 PyObject
* obj2
= 0 ;
31887 PyObject
* obj3
= 0 ;
31888 PyObject
* obj4
= 0 ;
31889 char * kwnames
[] = {
31890 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
31893 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31894 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31895 if (!SWIG_IsOK(res1
)) {
31896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFill" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31898 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31899 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31900 if (!SWIG_IsOK(ecode2
)) {
31901 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FloodFill" "', expected argument " "2"" of type '" "int""'");
31903 arg2
= static_cast< int >(val2
);
31904 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31905 if (!SWIG_IsOK(ecode3
)) {
31906 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FloodFill" "', expected argument " "3"" of type '" "int""'");
31908 arg3
= static_cast< int >(val3
);
31911 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
31914 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31915 if (!SWIG_IsOK(ecode5
)) {
31916 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_FloodFill" "', expected argument " "5"" of type '" "int""'");
31918 arg5
= static_cast< int >(val5
);
31921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31922 (arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
31923 wxPyEndAllowThreads(__tstate
);
31924 if (PyErr_Occurred()) SWIG_fail
;
31926 resultobj
= SWIG_Py_Void();
31933 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31934 PyObject
*resultobj
= 0;
31935 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31936 wxPoint
*arg2
= 0 ;
31937 wxColour
*arg3
= 0 ;
31938 int arg4
= (int) wxFLOOD_SURFACE
;
31945 PyObject
* obj0
= 0 ;
31946 PyObject
* obj1
= 0 ;
31947 PyObject
* obj2
= 0 ;
31948 PyObject
* obj3
= 0 ;
31949 char * kwnames
[] = {
31950 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
31953 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31954 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31955 if (!SWIG_IsOK(res1
)) {
31956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31958 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31961 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31965 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31968 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31969 if (!SWIG_IsOK(ecode4
)) {
31970 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
31972 arg4
= static_cast< int >(val4
);
31975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31976 (arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
31977 wxPyEndAllowThreads(__tstate
);
31978 if (PyErr_Occurred()) SWIG_fail
;
31980 resultobj
= SWIG_Py_Void();
31987 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31988 PyObject
*resultobj
= 0;
31989 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32004 PyObject
* obj0
= 0 ;
32005 PyObject
* obj1
= 0 ;
32006 PyObject
* obj2
= 0 ;
32007 PyObject
* obj3
= 0 ;
32008 PyObject
* obj4
= 0 ;
32009 char * kwnames
[] = {
32010 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
32013 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
32014 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32015 if (!SWIG_IsOK(res1
)) {
32016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLine" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32018 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32019 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32020 if (!SWIG_IsOK(ecode2
)) {
32021 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawLine" "', expected argument " "2"" of type '" "int""'");
32023 arg2
= static_cast< int >(val2
);
32024 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32025 if (!SWIG_IsOK(ecode3
)) {
32026 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawLine" "', expected argument " "3"" of type '" "int""'");
32028 arg3
= static_cast< int >(val3
);
32029 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32030 if (!SWIG_IsOK(ecode4
)) {
32031 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLine" "', expected argument " "4"" of type '" "int""'");
32033 arg4
= static_cast< int >(val4
);
32034 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32035 if (!SWIG_IsOK(ecode5
)) {
32036 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLine" "', expected argument " "5"" of type '" "int""'");
32038 arg5
= static_cast< int >(val5
);
32040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32041 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
32042 wxPyEndAllowThreads(__tstate
);
32043 if (PyErr_Occurred()) SWIG_fail
;
32045 resultobj
= SWIG_Py_Void();
32052 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32053 PyObject
*resultobj
= 0;
32054 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32055 wxPoint
*arg2
= 0 ;
32056 wxPoint
*arg3
= 0 ;
32061 PyObject
* obj0
= 0 ;
32062 PyObject
* obj1
= 0 ;
32063 PyObject
* obj2
= 0 ;
32064 char * kwnames
[] = {
32065 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
32068 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32069 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32070 if (!SWIG_IsOK(res1
)) {
32071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLinePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32073 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32076 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
32080 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
32083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32084 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
32085 wxPyEndAllowThreads(__tstate
);
32086 if (PyErr_Occurred()) SWIG_fail
;
32088 resultobj
= SWIG_Py_Void();
32095 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32096 PyObject
*resultobj
= 0;
32097 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32106 PyObject
* obj0
= 0 ;
32107 PyObject
* obj1
= 0 ;
32108 PyObject
* obj2
= 0 ;
32109 char * kwnames
[] = {
32110 (char *) "self",(char *) "x",(char *) "y", NULL
32113 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32114 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32115 if (!SWIG_IsOK(res1
)) {
32116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHair" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32118 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32119 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32120 if (!SWIG_IsOK(ecode2
)) {
32121 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_CrossHair" "', expected argument " "2"" of type '" "int""'");
32123 arg2
= static_cast< int >(val2
);
32124 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32125 if (!SWIG_IsOK(ecode3
)) {
32126 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_CrossHair" "', expected argument " "3"" of type '" "int""'");
32128 arg3
= static_cast< int >(val3
);
32130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32131 (arg1
)->CrossHair(arg2
,arg3
);
32132 wxPyEndAllowThreads(__tstate
);
32133 if (PyErr_Occurred()) SWIG_fail
;
32135 resultobj
= SWIG_Py_Void();
32142 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32143 PyObject
*resultobj
= 0;
32144 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32145 wxPoint
*arg2
= 0 ;
32149 PyObject
* obj0
= 0 ;
32150 PyObject
* obj1
= 0 ;
32151 char * kwnames
[] = {
32152 (char *) "self",(char *) "pt", NULL
32155 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32156 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32157 if (!SWIG_IsOK(res1
)) {
32158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHairPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32160 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32163 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
32166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32167 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
32168 wxPyEndAllowThreads(__tstate
);
32169 if (PyErr_Occurred()) SWIG_fail
;
32171 resultobj
= SWIG_Py_Void();
32178 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32179 PyObject
*resultobj
= 0;
32180 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32201 PyObject
* obj0
= 0 ;
32202 PyObject
* obj1
= 0 ;
32203 PyObject
* obj2
= 0 ;
32204 PyObject
* obj3
= 0 ;
32205 PyObject
* obj4
= 0 ;
32206 PyObject
* obj5
= 0 ;
32207 PyObject
* obj6
= 0 ;
32208 char * kwnames
[] = {
32209 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
32212 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
32213 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32214 if (!SWIG_IsOK(res1
)) {
32215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32217 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32218 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32219 if (!SWIG_IsOK(ecode2
)) {
32220 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawArc" "', expected argument " "2"" of type '" "int""'");
32222 arg2
= static_cast< int >(val2
);
32223 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32224 if (!SWIG_IsOK(ecode3
)) {
32225 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawArc" "', expected argument " "3"" of type '" "int""'");
32227 arg3
= static_cast< int >(val3
);
32228 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32229 if (!SWIG_IsOK(ecode4
)) {
32230 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawArc" "', expected argument " "4"" of type '" "int""'");
32232 arg4
= static_cast< int >(val4
);
32233 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32234 if (!SWIG_IsOK(ecode5
)) {
32235 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawArc" "', expected argument " "5"" of type '" "int""'");
32237 arg5
= static_cast< int >(val5
);
32238 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
32239 if (!SWIG_IsOK(ecode6
)) {
32240 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawArc" "', expected argument " "6"" of type '" "int""'");
32242 arg6
= static_cast< int >(val6
);
32243 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
32244 if (!SWIG_IsOK(ecode7
)) {
32245 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawArc" "', expected argument " "7"" of type '" "int""'");
32247 arg7
= static_cast< int >(val7
);
32249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32250 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
32251 wxPyEndAllowThreads(__tstate
);
32252 if (PyErr_Occurred()) SWIG_fail
;
32254 resultobj
= SWIG_Py_Void();
32261 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32262 PyObject
*resultobj
= 0;
32263 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32264 wxPoint
*arg2
= 0 ;
32265 wxPoint
*arg3
= 0 ;
32266 wxPoint
*arg4
= 0 ;
32272 PyObject
* obj0
= 0 ;
32273 PyObject
* obj1
= 0 ;
32274 PyObject
* obj2
= 0 ;
32275 PyObject
* obj3
= 0 ;
32276 char * kwnames
[] = {
32277 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
32280 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32281 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32282 if (!SWIG_IsOK(res1
)) {
32283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArcPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32285 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32288 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
32292 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
32296 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
32299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32300 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
32301 wxPyEndAllowThreads(__tstate
);
32302 if (PyErr_Occurred()) SWIG_fail
;
32304 resultobj
= SWIG_Py_Void();
32311 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32312 PyObject
*resultobj
= 0;
32313 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32328 PyObject
* obj0
= 0 ;
32329 PyObject
* obj1
= 0 ;
32330 PyObject
* obj2
= 0 ;
32331 PyObject
* obj3
= 0 ;
32332 PyObject
* obj4
= 0 ;
32333 char * kwnames
[] = {
32334 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
32337 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
32338 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32339 if (!SWIG_IsOK(res1
)) {
32340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32342 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32343 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32344 if (!SWIG_IsOK(ecode2
)) {
32345 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
32347 arg2
= static_cast< int >(val2
);
32348 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32349 if (!SWIG_IsOK(ecode3
)) {
32350 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
32352 arg3
= static_cast< int >(val3
);
32353 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32354 if (!SWIG_IsOK(ecode4
)) {
32355 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
32357 arg4
= static_cast< int >(val4
);
32358 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32359 if (!SWIG_IsOK(ecode5
)) {
32360 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
32362 arg5
= static_cast< int >(val5
);
32364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32365 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
32366 wxPyEndAllowThreads(__tstate
);
32367 if (PyErr_Occurred()) SWIG_fail
;
32369 resultobj
= SWIG_Py_Void();
32376 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32377 PyObject
*resultobj
= 0;
32378 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32383 PyObject
* obj0
= 0 ;
32384 PyObject
* obj1
= 0 ;
32385 char * kwnames
[] = {
32386 (char *) "self",(char *) "rect", NULL
32389 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32390 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32391 if (!SWIG_IsOK(res1
)) {
32392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32394 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32397 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
32400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32401 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
32402 wxPyEndAllowThreads(__tstate
);
32403 if (PyErr_Occurred()) SWIG_fail
;
32405 resultobj
= SWIG_Py_Void();
32412 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32413 PyObject
*resultobj
= 0;
32414 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32435 PyObject
* obj0
= 0 ;
32436 PyObject
* obj1
= 0 ;
32437 PyObject
* obj2
= 0 ;
32438 PyObject
* obj3
= 0 ;
32439 PyObject
* obj4
= 0 ;
32440 PyObject
* obj5
= 0 ;
32441 PyObject
* obj6
= 0 ;
32442 char * kwnames
[] = {
32443 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
32446 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
32447 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32448 if (!SWIG_IsOK(res1
)) {
32449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32451 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32452 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32453 if (!SWIG_IsOK(ecode2
)) {
32454 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
32456 arg2
= static_cast< int >(val2
);
32457 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32458 if (!SWIG_IsOK(ecode3
)) {
32459 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
32461 arg3
= static_cast< int >(val3
);
32462 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32463 if (!SWIG_IsOK(ecode4
)) {
32464 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
32466 arg4
= static_cast< int >(val4
);
32467 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32468 if (!SWIG_IsOK(ecode5
)) {
32469 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
32471 arg5
= static_cast< int >(val5
);
32472 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
32473 if (!SWIG_IsOK(ecode6
)) {
32474 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
32476 arg6
= static_cast< double >(val6
);
32477 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
32478 if (!SWIG_IsOK(ecode7
)) {
32479 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
32481 arg7
= static_cast< double >(val7
);
32483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32484 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
32485 wxPyEndAllowThreads(__tstate
);
32486 if (PyErr_Occurred()) SWIG_fail
;
32488 resultobj
= SWIG_Py_Void();
32495 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32496 PyObject
*resultobj
= 0;
32497 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32498 wxPoint
*arg2
= 0 ;
32510 PyObject
* obj0
= 0 ;
32511 PyObject
* obj1
= 0 ;
32512 PyObject
* obj2
= 0 ;
32513 PyObject
* obj3
= 0 ;
32514 PyObject
* obj4
= 0 ;
32515 char * kwnames
[] = {
32516 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
32519 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
32520 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32521 if (!SWIG_IsOK(res1
)) {
32522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32524 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32527 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
32531 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
32533 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
32534 if (!SWIG_IsOK(ecode4
)) {
32535 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
32537 arg4
= static_cast< double >(val4
);
32538 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
32539 if (!SWIG_IsOK(ecode5
)) {
32540 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
32542 arg5
= static_cast< double >(val5
);
32544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32545 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
32546 wxPyEndAllowThreads(__tstate
);
32547 if (PyErr_Occurred()) SWIG_fail
;
32549 resultobj
= SWIG_Py_Void();
32556 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32557 PyObject
*resultobj
= 0;
32558 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32567 PyObject
* obj0
= 0 ;
32568 PyObject
* obj1
= 0 ;
32569 PyObject
* obj2
= 0 ;
32570 char * kwnames
[] = {
32571 (char *) "self",(char *) "x",(char *) "y", NULL
32574 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32575 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32576 if (!SWIG_IsOK(res1
)) {
32577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32579 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32580 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32581 if (!SWIG_IsOK(ecode2
)) {
32582 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
32584 arg2
= static_cast< int >(val2
);
32585 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32586 if (!SWIG_IsOK(ecode3
)) {
32587 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
32589 arg3
= static_cast< int >(val3
);
32591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32592 (arg1
)->DrawPoint(arg2
,arg3
);
32593 wxPyEndAllowThreads(__tstate
);
32594 if (PyErr_Occurred()) SWIG_fail
;
32596 resultobj
= SWIG_Py_Void();
32603 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32604 PyObject
*resultobj
= 0;
32605 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32606 wxPoint
*arg2
= 0 ;
32610 PyObject
* obj0
= 0 ;
32611 PyObject
* obj1
= 0 ;
32612 char * kwnames
[] = {
32613 (char *) "self",(char *) "pt", NULL
32616 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32617 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32618 if (!SWIG_IsOK(res1
)) {
32619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPointPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32621 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32624 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
32627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32628 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
32629 wxPyEndAllowThreads(__tstate
);
32630 if (PyErr_Occurred()) SWIG_fail
;
32632 resultobj
= SWIG_Py_Void();
32639 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32640 PyObject
*resultobj
= 0;
32641 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32656 PyObject
* obj0
= 0 ;
32657 PyObject
* obj1
= 0 ;
32658 PyObject
* obj2
= 0 ;
32659 PyObject
* obj3
= 0 ;
32660 PyObject
* obj4
= 0 ;
32661 char * kwnames
[] = {
32662 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
32665 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
32666 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32667 if (!SWIG_IsOK(res1
)) {
32668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32670 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32671 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32672 if (!SWIG_IsOK(ecode2
)) {
32673 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
32675 arg2
= static_cast< int >(val2
);
32676 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32677 if (!SWIG_IsOK(ecode3
)) {
32678 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
32680 arg3
= static_cast< int >(val3
);
32681 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32682 if (!SWIG_IsOK(ecode4
)) {
32683 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
32685 arg4
= static_cast< int >(val4
);
32686 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32687 if (!SWIG_IsOK(ecode5
)) {
32688 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
32690 arg5
= static_cast< int >(val5
);
32692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32693 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
32694 wxPyEndAllowThreads(__tstate
);
32695 if (PyErr_Occurred()) SWIG_fail
;
32697 resultobj
= SWIG_Py_Void();
32704 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32705 PyObject
*resultobj
= 0;
32706 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32711 PyObject
* obj0
= 0 ;
32712 PyObject
* obj1
= 0 ;
32713 char * kwnames
[] = {
32714 (char *) "self",(char *) "rect", NULL
32717 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32718 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32719 if (!SWIG_IsOK(res1
)) {
32720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32722 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32725 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
32728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32729 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
32730 wxPyEndAllowThreads(__tstate
);
32731 if (PyErr_Occurred()) SWIG_fail
;
32733 resultobj
= SWIG_Py_Void();
32740 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32741 PyObject
*resultobj
= 0;
32742 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32743 wxPoint
*arg2
= 0 ;
32749 PyObject
* obj0
= 0 ;
32750 PyObject
* obj1
= 0 ;
32751 PyObject
* obj2
= 0 ;
32752 char * kwnames
[] = {
32753 (char *) "self",(char *) "pt",(char *) "sz", NULL
32756 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32757 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32758 if (!SWIG_IsOK(res1
)) {
32759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32761 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32764 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
32768 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
32771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32772 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
32773 wxPyEndAllowThreads(__tstate
);
32774 if (PyErr_Occurred()) SWIG_fail
;
32776 resultobj
= SWIG_Py_Void();
32783 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32784 PyObject
*resultobj
= 0;
32785 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32803 PyObject
* obj0
= 0 ;
32804 PyObject
* obj1
= 0 ;
32805 PyObject
* obj2
= 0 ;
32806 PyObject
* obj3
= 0 ;
32807 PyObject
* obj4
= 0 ;
32808 PyObject
* obj5
= 0 ;
32809 char * kwnames
[] = {
32810 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
32813 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PseudoDC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
32814 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32815 if (!SWIG_IsOK(res1
)) {
32816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32818 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32819 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32820 if (!SWIG_IsOK(ecode2
)) {
32821 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
32823 arg2
= static_cast< int >(val2
);
32824 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32825 if (!SWIG_IsOK(ecode3
)) {
32826 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
32828 arg3
= static_cast< int >(val3
);
32829 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32830 if (!SWIG_IsOK(ecode4
)) {
32831 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
32833 arg4
= static_cast< int >(val4
);
32834 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32835 if (!SWIG_IsOK(ecode5
)) {
32836 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
32838 arg5
= static_cast< int >(val5
);
32839 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
32840 if (!SWIG_IsOK(ecode6
)) {
32841 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
32843 arg6
= static_cast< double >(val6
);
32845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32846 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
32847 wxPyEndAllowThreads(__tstate
);
32848 if (PyErr_Occurred()) SWIG_fail
;
32850 resultobj
= SWIG_Py_Void();
32857 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32858 PyObject
*resultobj
= 0;
32859 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32867 PyObject
* obj0
= 0 ;
32868 PyObject
* obj1
= 0 ;
32869 PyObject
* obj2
= 0 ;
32870 char * kwnames
[] = {
32871 (char *) "self",(char *) "r",(char *) "radius", NULL
32874 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32875 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32876 if (!SWIG_IsOK(res1
)) {
32877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32879 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32882 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
32884 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
32885 if (!SWIG_IsOK(ecode3
)) {
32886 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
32888 arg3
= static_cast< double >(val3
);
32890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32891 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
32892 wxPyEndAllowThreads(__tstate
);
32893 if (PyErr_Occurred()) SWIG_fail
;
32895 resultobj
= SWIG_Py_Void();
32902 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32903 PyObject
*resultobj
= 0;
32904 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32905 wxPoint
*arg2
= 0 ;
32914 PyObject
* obj0
= 0 ;
32915 PyObject
* obj1
= 0 ;
32916 PyObject
* obj2
= 0 ;
32917 PyObject
* obj3
= 0 ;
32918 char * kwnames
[] = {
32919 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
32922 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32923 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32924 if (!SWIG_IsOK(res1
)) {
32925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32927 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32930 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
32934 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
32936 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
32937 if (!SWIG_IsOK(ecode4
)) {
32938 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
32940 arg4
= static_cast< double >(val4
);
32942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32943 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
32944 wxPyEndAllowThreads(__tstate
);
32945 if (PyErr_Occurred()) SWIG_fail
;
32947 resultobj
= SWIG_Py_Void();
32954 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32955 PyObject
*resultobj
= 0;
32956 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32968 PyObject
* obj0
= 0 ;
32969 PyObject
* obj1
= 0 ;
32970 PyObject
* obj2
= 0 ;
32971 PyObject
* obj3
= 0 ;
32972 char * kwnames
[] = {
32973 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
32976 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32977 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32978 if (!SWIG_IsOK(res1
)) {
32979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32981 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32982 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32983 if (!SWIG_IsOK(ecode2
)) {
32984 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
32986 arg2
= static_cast< int >(val2
);
32987 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32988 if (!SWIG_IsOK(ecode3
)) {
32989 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
32991 arg3
= static_cast< int >(val3
);
32992 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32993 if (!SWIG_IsOK(ecode4
)) {
32994 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
32996 arg4
= static_cast< int >(val4
);
32998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32999 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
33000 wxPyEndAllowThreads(__tstate
);
33001 if (PyErr_Occurred()) SWIG_fail
;
33003 resultobj
= SWIG_Py_Void();
33010 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33011 PyObject
*resultobj
= 0;
33012 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33013 wxPoint
*arg2
= 0 ;
33020 PyObject
* obj0
= 0 ;
33021 PyObject
* obj1
= 0 ;
33022 PyObject
* obj2
= 0 ;
33023 char * kwnames
[] = {
33024 (char *) "self",(char *) "pt",(char *) "radius", NULL
33027 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33028 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33029 if (!SWIG_IsOK(res1
)) {
33030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33032 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33035 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33037 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33038 if (!SWIG_IsOK(ecode3
)) {
33039 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
33041 arg3
= static_cast< int >(val3
);
33043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33044 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
33045 wxPyEndAllowThreads(__tstate
);
33046 if (PyErr_Occurred()) SWIG_fail
;
33048 resultobj
= SWIG_Py_Void();
33055 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33056 PyObject
*resultobj
= 0;
33057 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33072 PyObject
* obj0
= 0 ;
33073 PyObject
* obj1
= 0 ;
33074 PyObject
* obj2
= 0 ;
33075 PyObject
* obj3
= 0 ;
33076 PyObject
* obj4
= 0 ;
33077 char * kwnames
[] = {
33078 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
33081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
33082 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33083 if (!SWIG_IsOK(res1
)) {
33084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33086 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33087 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33088 if (!SWIG_IsOK(ecode2
)) {
33089 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
33091 arg2
= static_cast< int >(val2
);
33092 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33093 if (!SWIG_IsOK(ecode3
)) {
33094 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
33096 arg3
= static_cast< int >(val3
);
33097 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33098 if (!SWIG_IsOK(ecode4
)) {
33099 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
33101 arg4
= static_cast< int >(val4
);
33102 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
33103 if (!SWIG_IsOK(ecode5
)) {
33104 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
33106 arg5
= static_cast< int >(val5
);
33108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33109 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
33110 wxPyEndAllowThreads(__tstate
);
33111 if (PyErr_Occurred()) SWIG_fail
;
33113 resultobj
= SWIG_Py_Void();
33120 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33121 PyObject
*resultobj
= 0;
33122 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33127 PyObject
* obj0
= 0 ;
33128 PyObject
* obj1
= 0 ;
33129 char * kwnames
[] = {
33130 (char *) "self",(char *) "rect", NULL
33133 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33134 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33135 if (!SWIG_IsOK(res1
)) {
33136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33138 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33141 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
33144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33145 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
33146 wxPyEndAllowThreads(__tstate
);
33147 if (PyErr_Occurred()) SWIG_fail
;
33149 resultobj
= SWIG_Py_Void();
33156 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33157 PyObject
*resultobj
= 0;
33158 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33159 wxPoint
*arg2
= 0 ;
33165 PyObject
* obj0
= 0 ;
33166 PyObject
* obj1
= 0 ;
33167 PyObject
* obj2
= 0 ;
33168 char * kwnames
[] = {
33169 (char *) "self",(char *) "pt",(char *) "sz", NULL
33172 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33173 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33174 if (!SWIG_IsOK(res1
)) {
33175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33177 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33180 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33184 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
33187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33188 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
33189 wxPyEndAllowThreads(__tstate
);
33190 if (PyErr_Occurred()) SWIG_fail
;
33192 resultobj
= SWIG_Py_Void();
33199 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33200 PyObject
*resultobj
= 0;
33201 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33213 PyObject
* obj0
= 0 ;
33214 PyObject
* obj1
= 0 ;
33215 PyObject
* obj2
= 0 ;
33216 PyObject
* obj3
= 0 ;
33217 char * kwnames
[] = {
33218 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
33221 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33222 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33223 if (!SWIG_IsOK(res1
)) {
33224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33226 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33227 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
33228 if (!SWIG_IsOK(res2
)) {
33229 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
33232 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
33234 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
33235 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33236 if (!SWIG_IsOK(ecode3
)) {
33237 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
33239 arg3
= static_cast< int >(val3
);
33240 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33241 if (!SWIG_IsOK(ecode4
)) {
33242 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
33244 arg4
= static_cast< int >(val4
);
33246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33247 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
33248 wxPyEndAllowThreads(__tstate
);
33249 if (PyErr_Occurred()) SWIG_fail
;
33251 resultobj
= SWIG_Py_Void();
33258 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33259 PyObject
*resultobj
= 0;
33260 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33262 wxPoint
*arg3
= 0 ;
33268 PyObject
* obj0
= 0 ;
33269 PyObject
* obj1
= 0 ;
33270 PyObject
* obj2
= 0 ;
33271 char * kwnames
[] = {
33272 (char *) "self",(char *) "icon",(char *) "pt", NULL
33275 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33276 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33277 if (!SWIG_IsOK(res1
)) {
33278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33280 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33281 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
33282 if (!SWIG_IsOK(res2
)) {
33283 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
33286 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
33288 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
33291 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33295 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
33296 wxPyEndAllowThreads(__tstate
);
33297 if (PyErr_Occurred()) SWIG_fail
;
33299 resultobj
= SWIG_Py_Void();
33306 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33307 PyObject
*resultobj
= 0;
33308 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33309 wxBitmap
*arg2
= 0 ;
33312 bool arg5
= (bool) false ;
33323 PyObject
* obj0
= 0 ;
33324 PyObject
* obj1
= 0 ;
33325 PyObject
* obj2
= 0 ;
33326 PyObject
* obj3
= 0 ;
33327 PyObject
* obj4
= 0 ;
33328 char * kwnames
[] = {
33329 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
33332 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
33333 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33334 if (!SWIG_IsOK(res1
)) {
33335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33337 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33338 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
33339 if (!SWIG_IsOK(res2
)) {
33340 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
33343 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
33345 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
33346 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33347 if (!SWIG_IsOK(ecode3
)) {
33348 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
33350 arg3
= static_cast< int >(val3
);
33351 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33352 if (!SWIG_IsOK(ecode4
)) {
33353 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
33355 arg4
= static_cast< int >(val4
);
33357 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
33358 if (!SWIG_IsOK(ecode5
)) {
33359 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
33361 arg5
= static_cast< bool >(val5
);
33364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33365 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
33366 wxPyEndAllowThreads(__tstate
);
33367 if (PyErr_Occurred()) SWIG_fail
;
33369 resultobj
= SWIG_Py_Void();
33376 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33377 PyObject
*resultobj
= 0;
33378 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33379 wxBitmap
*arg2
= 0 ;
33380 wxPoint
*arg3
= 0 ;
33381 bool arg4
= (bool) false ;
33389 PyObject
* obj0
= 0 ;
33390 PyObject
* obj1
= 0 ;
33391 PyObject
* obj2
= 0 ;
33392 PyObject
* obj3
= 0 ;
33393 char * kwnames
[] = {
33394 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
33397 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33398 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33399 if (!SWIG_IsOK(res1
)) {
33400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33402 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33403 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
33404 if (!SWIG_IsOK(res2
)) {
33405 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
33408 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
33410 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
33413 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33416 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
33417 if (!SWIG_IsOK(ecode4
)) {
33418 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
33420 arg4
= static_cast< bool >(val4
);
33423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33424 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
33425 wxPyEndAllowThreads(__tstate
);
33426 if (PyErr_Occurred()) SWIG_fail
;
33428 resultobj
= SWIG_Py_Void();
33435 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33436 PyObject
*resultobj
= 0;
33437 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33438 wxString
*arg2
= 0 ;
33443 bool temp2
= false ;
33448 PyObject
* obj0
= 0 ;
33449 PyObject
* obj1
= 0 ;
33450 PyObject
* obj2
= 0 ;
33451 PyObject
* obj3
= 0 ;
33452 char * kwnames
[] = {
33453 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
33456 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33457 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33458 if (!SWIG_IsOK(res1
)) {
33459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33461 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33463 arg2
= wxString_in_helper(obj1
);
33464 if (arg2
== NULL
) SWIG_fail
;
33467 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33468 if (!SWIG_IsOK(ecode3
)) {
33469 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawText" "', expected argument " "3"" of type '" "int""'");
33471 arg3
= static_cast< int >(val3
);
33472 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33473 if (!SWIG_IsOK(ecode4
)) {
33474 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawText" "', expected argument " "4"" of type '" "int""'");
33476 arg4
= static_cast< int >(val4
);
33478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33479 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
33480 wxPyEndAllowThreads(__tstate
);
33481 if (PyErr_Occurred()) SWIG_fail
;
33483 resultobj
= SWIG_Py_Void();
33498 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33499 PyObject
*resultobj
= 0;
33500 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33501 wxString
*arg2
= 0 ;
33502 wxPoint
*arg3
= 0 ;
33505 bool temp2
= false ;
33507 PyObject
* obj0
= 0 ;
33508 PyObject
* obj1
= 0 ;
33509 PyObject
* obj2
= 0 ;
33510 char * kwnames
[] = {
33511 (char *) "self",(char *) "text",(char *) "pt", NULL
33514 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33515 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33516 if (!SWIG_IsOK(res1
)) {
33517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33519 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33521 arg2
= wxString_in_helper(obj1
);
33522 if (arg2
== NULL
) SWIG_fail
;
33527 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33531 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
33532 wxPyEndAllowThreads(__tstate
);
33533 if (PyErr_Occurred()) SWIG_fail
;
33535 resultobj
= SWIG_Py_Void();
33550 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33551 PyObject
*resultobj
= 0;
33552 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33553 wxString
*arg2
= 0 ;
33559 bool temp2
= false ;
33566 PyObject
* obj0
= 0 ;
33567 PyObject
* obj1
= 0 ;
33568 PyObject
* obj2
= 0 ;
33569 PyObject
* obj3
= 0 ;
33570 PyObject
* obj4
= 0 ;
33571 char * kwnames
[] = {
33572 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
33575 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
33576 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33577 if (!SWIG_IsOK(res1
)) {
33578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33580 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33582 arg2
= wxString_in_helper(obj1
);
33583 if (arg2
== NULL
) SWIG_fail
;
33586 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33587 if (!SWIG_IsOK(ecode3
)) {
33588 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
33590 arg3
= static_cast< int >(val3
);
33591 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33592 if (!SWIG_IsOK(ecode4
)) {
33593 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
33595 arg4
= static_cast< int >(val4
);
33596 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
33597 if (!SWIG_IsOK(ecode5
)) {
33598 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
33600 arg5
= static_cast< double >(val5
);
33602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33603 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
33604 wxPyEndAllowThreads(__tstate
);
33605 if (PyErr_Occurred()) SWIG_fail
;
33607 resultobj
= SWIG_Py_Void();
33622 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33623 PyObject
*resultobj
= 0;
33624 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33625 wxString
*arg2
= 0 ;
33626 wxPoint
*arg3
= 0 ;
33630 bool temp2
= false ;
33634 PyObject
* obj0
= 0 ;
33635 PyObject
* obj1
= 0 ;
33636 PyObject
* obj2
= 0 ;
33637 PyObject
* obj3
= 0 ;
33638 char * kwnames
[] = {
33639 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
33642 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33643 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33644 if (!SWIG_IsOK(res1
)) {
33645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33647 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33649 arg2
= wxString_in_helper(obj1
);
33650 if (arg2
== NULL
) SWIG_fail
;
33655 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33657 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
33658 if (!SWIG_IsOK(ecode4
)) {
33659 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
33661 arg4
= static_cast< double >(val4
);
33663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33664 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
33665 wxPyEndAllowThreads(__tstate
);
33666 if (PyErr_Occurred()) SWIG_fail
;
33668 resultobj
= SWIG_Py_Void();
33683 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33684 PyObject
*resultobj
= 0;
33685 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33687 wxPoint
*arg3
= (wxPoint
*) 0 ;
33688 int arg4
= (int) 0 ;
33689 int arg5
= (int) 0 ;
33696 PyObject
* obj0
= 0 ;
33697 PyObject
* obj1
= 0 ;
33698 PyObject
* obj2
= 0 ;
33699 PyObject
* obj3
= 0 ;
33700 char * kwnames
[] = {
33701 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
33704 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:PseudoDC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33705 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33706 if (!SWIG_IsOK(res1
)) {
33707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLines" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33709 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33711 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
33712 if (arg3
== NULL
) SWIG_fail
;
33715 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
33716 if (!SWIG_IsOK(ecode4
)) {
33717 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLines" "', expected argument " "4"" of type '" "int""'");
33719 arg4
= static_cast< int >(val4
);
33722 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
33723 if (!SWIG_IsOK(ecode5
)) {
33724 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLines" "', expected argument " "5"" of type '" "int""'");
33726 arg5
= static_cast< int >(val5
);
33729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33730 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
33731 wxPyEndAllowThreads(__tstate
);
33732 if (PyErr_Occurred()) SWIG_fail
;
33734 resultobj
= SWIG_Py_Void();
33736 if (arg3
) delete [] arg3
;
33741 if (arg3
) delete [] arg3
;
33747 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33748 PyObject
*resultobj
= 0;
33749 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33751 wxPoint
*arg3
= (wxPoint
*) 0 ;
33752 int arg4
= (int) 0 ;
33753 int arg5
= (int) 0 ;
33754 int arg6
= (int) wxODDEVEN_RULE
;
33763 PyObject
* obj0
= 0 ;
33764 PyObject
* obj1
= 0 ;
33765 PyObject
* obj2
= 0 ;
33766 PyObject
* obj3
= 0 ;
33767 PyObject
* obj4
= 0 ;
33768 char * kwnames
[] = {
33769 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
33772 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:PseudoDC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
33773 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33774 if (!SWIG_IsOK(res1
)) {
33775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33777 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33779 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
33780 if (arg3
== NULL
) SWIG_fail
;
33783 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
33784 if (!SWIG_IsOK(ecode4
)) {
33785 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
33787 arg4
= static_cast< int >(val4
);
33790 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
33791 if (!SWIG_IsOK(ecode5
)) {
33792 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
33794 arg5
= static_cast< int >(val5
);
33797 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
33798 if (!SWIG_IsOK(ecode6
)) {
33799 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
33801 arg6
= static_cast< int >(val6
);
33804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33805 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
33806 wxPyEndAllowThreads(__tstate
);
33807 if (PyErr_Occurred()) SWIG_fail
;
33809 resultobj
= SWIG_Py_Void();
33811 if (arg3
) delete [] arg3
;
33816 if (arg3
) delete [] arg3
;
33822 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33823 PyObject
*resultobj
= 0;
33824 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33825 wxString
*arg2
= 0 ;
33827 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
33828 int arg5
= (int) -1 ;
33831 bool temp2
= false ;
33837 PyObject
* obj0
= 0 ;
33838 PyObject
* obj1
= 0 ;
33839 PyObject
* obj2
= 0 ;
33840 PyObject
* obj3
= 0 ;
33841 PyObject
* obj4
= 0 ;
33842 char * kwnames
[] = {
33843 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
33846 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
33847 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33848 if (!SWIG_IsOK(res1
)) {
33849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33851 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33853 arg2
= wxString_in_helper(obj1
);
33854 if (arg2
== NULL
) SWIG_fail
;
33859 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
33862 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33863 if (!SWIG_IsOK(ecode4
)) {
33864 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
33866 arg4
= static_cast< int >(val4
);
33869 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
33870 if (!SWIG_IsOK(ecode5
)) {
33871 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
33873 arg5
= static_cast< int >(val5
);
33876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33877 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
33878 wxPyEndAllowThreads(__tstate
);
33879 if (PyErr_Occurred()) SWIG_fail
;
33881 resultobj
= SWIG_Py_Void();
33896 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33897 PyObject
*resultobj
= 0;
33898 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33899 wxString
*arg2
= 0 ;
33900 wxBitmap
*arg3
= 0 ;
33902 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
33903 int arg6
= (int) -1 ;
33906 bool temp2
= false ;
33914 PyObject
* obj0
= 0 ;
33915 PyObject
* obj1
= 0 ;
33916 PyObject
* obj2
= 0 ;
33917 PyObject
* obj3
= 0 ;
33918 PyObject
* obj4
= 0 ;
33919 PyObject
* obj5
= 0 ;
33920 char * kwnames
[] = {
33921 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
33924 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PseudoDC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
33925 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33926 if (!SWIG_IsOK(res1
)) {
33927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33929 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33931 arg2
= wxString_in_helper(obj1
);
33932 if (arg2
== NULL
) SWIG_fail
;
33935 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
33936 if (!SWIG_IsOK(res3
)) {
33937 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
33940 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
33942 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
33945 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
33948 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
33949 if (!SWIG_IsOK(ecode5
)) {
33950 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
33952 arg5
= static_cast< int >(val5
);
33955 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
33956 if (!SWIG_IsOK(ecode6
)) {
33957 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
33959 arg6
= static_cast< int >(val6
);
33962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33963 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
33964 wxPyEndAllowThreads(__tstate
);
33965 if (PyErr_Occurred()) SWIG_fail
;
33967 resultobj
= SWIG_Py_Void();
33982 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33983 PyObject
*resultobj
= 0;
33984 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33986 wxPoint
*arg3
= (wxPoint
*) 0 ;
33989 PyObject
* obj0
= 0 ;
33990 PyObject
* obj1
= 0 ;
33991 char * kwnames
[] = {
33992 (char *) "self",(char *) "points", NULL
33995 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33996 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33997 if (!SWIG_IsOK(res1
)) {
33998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawSpline" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34000 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34002 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
34003 if (arg3
== NULL
) SWIG_fail
;
34006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34007 (arg1
)->DrawSpline(arg2
,arg3
);
34008 wxPyEndAllowThreads(__tstate
);
34009 if (PyErr_Occurred()) SWIG_fail
;
34011 resultobj
= SWIG_Py_Void();
34013 if (arg3
) delete [] arg3
;
34018 if (arg3
) delete [] arg3
;
34024 SWIGINTERN PyObject
*_wrap_PseudoDC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34025 PyObject
*resultobj
= 0;
34026 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34029 PyObject
*swig_obj
[1] ;
34031 if (!args
) SWIG_fail
;
34032 swig_obj
[0] = args
;
34033 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34034 if (!SWIG_IsOK(res1
)) {
34035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_Clear" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34037 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34041 wxPyEndAllowThreads(__tstate
);
34042 if (PyErr_Occurred()) SWIG_fail
;
34044 resultobj
= SWIG_Py_Void();
34051 SWIGINTERN PyObject
*_wrap_PseudoDC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34052 PyObject
*resultobj
= 0;
34053 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34059 PyObject
* obj0
= 0 ;
34060 PyObject
* obj1
= 0 ;
34061 char * kwnames
[] = {
34062 (char *) "self",(char *) "font", NULL
34065 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34066 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34067 if (!SWIG_IsOK(res1
)) {
34068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetFont" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34070 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34071 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
34072 if (!SWIG_IsOK(res2
)) {
34073 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
34076 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
34078 arg2
= reinterpret_cast< wxFont
* >(argp2
);
34080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34081 (arg1
)->SetFont((wxFont
const &)*arg2
);
34082 wxPyEndAllowThreads(__tstate
);
34083 if (PyErr_Occurred()) SWIG_fail
;
34085 resultobj
= SWIG_Py_Void();
34092 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34093 PyObject
*resultobj
= 0;
34094 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34100 PyObject
* obj0
= 0 ;
34101 PyObject
* obj1
= 0 ;
34102 char * kwnames
[] = {
34103 (char *) "self",(char *) "pen", NULL
34106 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34107 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34108 if (!SWIG_IsOK(res1
)) {
34109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34111 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34112 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
34113 if (!SWIG_IsOK(res2
)) {
34114 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
34117 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
34119 arg2
= reinterpret_cast< wxPen
* >(argp2
);
34121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34122 (arg1
)->SetPen((wxPen
const &)*arg2
);
34123 wxPyEndAllowThreads(__tstate
);
34124 if (PyErr_Occurred()) SWIG_fail
;
34126 resultobj
= SWIG_Py_Void();
34133 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34134 PyObject
*resultobj
= 0;
34135 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34136 wxBrush
*arg2
= 0 ;
34141 PyObject
* obj0
= 0 ;
34142 PyObject
* obj1
= 0 ;
34143 char * kwnames
[] = {
34144 (char *) "self",(char *) "brush", NULL
34147 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34148 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34149 if (!SWIG_IsOK(res1
)) {
34150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBrush" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34152 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34153 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
34154 if (!SWIG_IsOK(res2
)) {
34155 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
34158 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
34160 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
34162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34163 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
34164 wxPyEndAllowThreads(__tstate
);
34165 if (PyErr_Occurred()) SWIG_fail
;
34167 resultobj
= SWIG_Py_Void();
34174 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34175 PyObject
*resultobj
= 0;
34176 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34177 wxBrush
*arg2
= 0 ;
34182 PyObject
* obj0
= 0 ;
34183 PyObject
* obj1
= 0 ;
34184 char * kwnames
[] = {
34185 (char *) "self",(char *) "brush", NULL
34188 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34189 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34190 if (!SWIG_IsOK(res1
)) {
34191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34193 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34194 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
34195 if (!SWIG_IsOK(res2
)) {
34196 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
34199 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
34201 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
34203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34204 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
34205 wxPyEndAllowThreads(__tstate
);
34206 if (PyErr_Occurred()) SWIG_fail
;
34208 resultobj
= SWIG_Py_Void();
34215 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34216 PyObject
*resultobj
= 0;
34217 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34223 PyObject
* obj0
= 0 ;
34224 PyObject
* obj1
= 0 ;
34225 char * kwnames
[] = {
34226 (char *) "self",(char *) "mode", NULL
34229 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34230 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34231 if (!SWIG_IsOK(res1
)) {
34232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34234 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34235 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34236 if (!SWIG_IsOK(ecode2
)) {
34237 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
34239 arg2
= static_cast< int >(val2
);
34241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34242 (arg1
)->SetBackgroundMode(arg2
);
34243 wxPyEndAllowThreads(__tstate
);
34244 if (PyErr_Occurred()) SWIG_fail
;
34246 resultobj
= SWIG_Py_Void();
34253 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34254 PyObject
*resultobj
= 0;
34255 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34256 wxPalette
*arg2
= 0 ;
34261 PyObject
* obj0
= 0 ;
34262 PyObject
* obj1
= 0 ;
34263 char * kwnames
[] = {
34264 (char *) "self",(char *) "palette", NULL
34267 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34268 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34269 if (!SWIG_IsOK(res1
)) {
34270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPalette" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34272 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34273 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
34274 if (!SWIG_IsOK(res2
)) {
34275 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
34278 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
34280 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
34282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34283 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
34284 wxPyEndAllowThreads(__tstate
);
34285 if (PyErr_Occurred()) SWIG_fail
;
34287 resultobj
= SWIG_Py_Void();
34294 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34295 PyObject
*resultobj
= 0;
34296 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34297 wxColour
*arg2
= 0 ;
34301 PyObject
* obj0
= 0 ;
34302 PyObject
* obj1
= 0 ;
34303 char * kwnames
[] = {
34304 (char *) "self",(char *) "colour", NULL
34307 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34308 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34309 if (!SWIG_IsOK(res1
)) {
34310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextForeground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34312 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34315 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
34318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34319 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
34320 wxPyEndAllowThreads(__tstate
);
34321 if (PyErr_Occurred()) SWIG_fail
;
34323 resultobj
= SWIG_Py_Void();
34330 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34331 PyObject
*resultobj
= 0;
34332 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34333 wxColour
*arg2
= 0 ;
34337 PyObject
* obj0
= 0 ;
34338 PyObject
* obj1
= 0 ;
34339 char * kwnames
[] = {
34340 (char *) "self",(char *) "colour", NULL
34343 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34344 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34345 if (!SWIG_IsOK(res1
)) {
34346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34348 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34351 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
34354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34355 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
34356 wxPyEndAllowThreads(__tstate
);
34357 if (PyErr_Occurred()) SWIG_fail
;
34359 resultobj
= SWIG_Py_Void();
34366 SWIGINTERN PyObject
*_wrap_PseudoDC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34367 PyObject
*resultobj
= 0;
34368 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34374 PyObject
* obj0
= 0 ;
34375 PyObject
* obj1
= 0 ;
34376 char * kwnames
[] = {
34377 (char *) "self",(char *) "function", NULL
34380 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34381 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34382 if (!SWIG_IsOK(res1
)) {
34383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34385 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34386 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34387 if (!SWIG_IsOK(ecode2
)) {
34388 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
34390 arg2
= static_cast< int >(val2
);
34392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34393 (arg1
)->SetLogicalFunction(arg2
);
34394 wxPyEndAllowThreads(__tstate
);
34395 if (PyErr_Occurred()) SWIG_fail
;
34397 resultobj
= SWIG_Py_Void();
34404 SWIGINTERN PyObject
*PseudoDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34406 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34407 SWIG_TypeNewClientData(SWIGTYPE_p_wxPseudoDC
, SWIG_NewClientData(obj
));
34408 return SWIG_Py_Void();
34411 SWIGINTERN PyObject
*PseudoDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34412 return SWIG_Python_InitShadowInstance(args
);
34415 static PyMethodDef SwigMethods
[] = {
34416 { (char *)"new_GDIObject", (PyCFunction
)_wrap_new_GDIObject
, METH_NOARGS
, NULL
},
34417 { (char *)"delete_GDIObject", (PyCFunction
)_wrap_delete_GDIObject
, METH_O
, NULL
},
34418 { (char *)"GDIObject_IsNull", (PyCFunction
)_wrap_GDIObject_IsNull
, METH_O
, NULL
},
34419 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
, NULL
},
34420 { (char *)"GDIObject_swiginit", GDIObject_swiginit
, METH_VARARGS
, NULL
},
34421 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34422 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34423 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34424 { (char *)"delete_Colour", (PyCFunction
)_wrap_delete_Colour
, METH_O
, NULL
},
34425 { (char *)"Colour_Red", (PyCFunction
)_wrap_Colour_Red
, METH_O
, NULL
},
34426 { (char *)"Colour_Green", (PyCFunction
)_wrap_Colour_Green
, METH_O
, NULL
},
34427 { (char *)"Colour_Blue", (PyCFunction
)_wrap_Colour_Blue
, METH_O
, NULL
},
34428 { (char *)"Colour_Alpha", (PyCFunction
)_wrap_Colour_Alpha
, METH_O
, NULL
},
34429 { (char *)"Colour_IsOk", (PyCFunction
)_wrap_Colour_IsOk
, METH_O
, NULL
},
34430 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34431 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34432 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34433 { (char *)"Colour_GetAsString", (PyCFunction
) _wrap_Colour_GetAsString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34434 { (char *)"Colour_GetPixel", (PyCFunction
)_wrap_Colour_GetPixel
, METH_O
, NULL
},
34435 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34436 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34437 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34438 { (char *)"Colour_GetRGB", (PyCFunction
)_wrap_Colour_GetRGB
, METH_O
, NULL
},
34439 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
, NULL
},
34440 { (char *)"Colour_swiginit", Colour_swiginit
, METH_VARARGS
, NULL
},
34441 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34442 { (char *)"delete_Palette", (PyCFunction
)_wrap_delete_Palette
, METH_O
, NULL
},
34443 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34444 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34445 { (char *)"Palette_GetColoursCount", (PyCFunction
)_wrap_Palette_GetColoursCount
, METH_O
, NULL
},
34446 { (char *)"Palette_IsOk", (PyCFunction
)_wrap_Palette_IsOk
, METH_O
, NULL
},
34447 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
, NULL
},
34448 { (char *)"Palette_swiginit", Palette_swiginit
, METH_VARARGS
, NULL
},
34449 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34450 { (char *)"delete_Pen", (PyCFunction
)_wrap_delete_Pen
, METH_O
, NULL
},
34451 { (char *)"Pen_GetCap", (PyCFunction
)_wrap_Pen_GetCap
, METH_O
, NULL
},
34452 { (char *)"Pen_GetColour", (PyCFunction
)_wrap_Pen_GetColour
, METH_O
, NULL
},
34453 { (char *)"Pen_GetJoin", (PyCFunction
)_wrap_Pen_GetJoin
, METH_O
, NULL
},
34454 { (char *)"Pen_GetStyle", (PyCFunction
)_wrap_Pen_GetStyle
, METH_O
, NULL
},
34455 { (char *)"Pen_GetWidth", (PyCFunction
)_wrap_Pen_GetWidth
, METH_O
, NULL
},
34456 { (char *)"Pen_IsOk", (PyCFunction
)_wrap_Pen_IsOk
, METH_O
, NULL
},
34457 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34458 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34459 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34460 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34461 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34462 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34463 { (char *)"Pen_GetDashes", (PyCFunction
)_wrap_Pen_GetDashes
, METH_O
, NULL
},
34464 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34465 { (char *)"Pen_GetDashCount", (PyCFunction
)_wrap_Pen_GetDashCount
, METH_O
, NULL
},
34466 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34467 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34468 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
, NULL
},
34469 { (char *)"Pen_swiginit", Pen_swiginit
, METH_VARARGS
, NULL
},
34470 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34471 { (char *)"new_BrushFromBitmap", (PyCFunction
) _wrap_new_BrushFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34472 { (char *)"delete_Brush", (PyCFunction
)_wrap_delete_Brush
, METH_O
, NULL
},
34473 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34474 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34475 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34476 { (char *)"Brush_GetColour", (PyCFunction
)_wrap_Brush_GetColour
, METH_O
, NULL
},
34477 { (char *)"Brush_GetStyle", (PyCFunction
)_wrap_Brush_GetStyle
, METH_O
, NULL
},
34478 { (char *)"Brush_GetStipple", (PyCFunction
)_wrap_Brush_GetStipple
, METH_O
, NULL
},
34479 { (char *)"Brush_IsHatch", (PyCFunction
)_wrap_Brush_IsHatch
, METH_O
, NULL
},
34480 { (char *)"Brush_IsOk", (PyCFunction
)_wrap_Brush_IsOk
, METH_O
, NULL
},
34481 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
, NULL
},
34482 { (char *)"Brush_swiginit", Brush_swiginit
, METH_VARARGS
, NULL
},
34483 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34484 { (char *)"delete_Bitmap", (PyCFunction
)_wrap_delete_Bitmap
, METH_O
, NULL
},
34485 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34486 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34487 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34488 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34489 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34490 { (char *)"Bitmap_IsOk", (PyCFunction
)_wrap_Bitmap_IsOk
, METH_O
, NULL
},
34491 { (char *)"Bitmap_GetWidth", (PyCFunction
)_wrap_Bitmap_GetWidth
, METH_O
, NULL
},
34492 { (char *)"Bitmap_GetHeight", (PyCFunction
)_wrap_Bitmap_GetHeight
, METH_O
, NULL
},
34493 { (char *)"Bitmap_GetDepth", (PyCFunction
)_wrap_Bitmap_GetDepth
, METH_O
, NULL
},
34494 { (char *)"Bitmap_GetSize", (PyCFunction
)_wrap_Bitmap_GetSize
, METH_O
, NULL
},
34495 { (char *)"Bitmap_ConvertToImage", (PyCFunction
)_wrap_Bitmap_ConvertToImage
, METH_O
, NULL
},
34496 { (char *)"Bitmap_GetMask", (PyCFunction
)_wrap_Bitmap_GetMask
, METH_O
, NULL
},
34497 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34498 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34499 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34500 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34501 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34502 { (char *)"Bitmap_GetPalette", (PyCFunction
)_wrap_Bitmap_GetPalette
, METH_O
, NULL
},
34503 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34504 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34505 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34506 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34507 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34508 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34509 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34510 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
, NULL
},
34511 { (char *)"Bitmap_swiginit", Bitmap_swiginit
, METH_VARARGS
, NULL
},
34512 { (char *)"_BitmapFromBufferAlpha", (PyCFunction
) _wrap__BitmapFromBufferAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34513 { (char *)"_BitmapFromBuffer", (PyCFunction
) _wrap__BitmapFromBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34514 { (char *)"_BitmapFromBufferRGBA", (PyCFunction
) _wrap__BitmapFromBufferRGBA
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34515 { (char *)"PixelDataBase_GetOrigin", (PyCFunction
)_wrap_PixelDataBase_GetOrigin
, METH_O
, NULL
},
34516 { (char *)"PixelDataBase_GetWidth", (PyCFunction
)_wrap_PixelDataBase_GetWidth
, METH_O
, NULL
},
34517 { (char *)"PixelDataBase_GetHeight", (PyCFunction
)_wrap_PixelDataBase_GetHeight
, METH_O
, NULL
},
34518 { (char *)"PixelDataBase_GetSize", (PyCFunction
)_wrap_PixelDataBase_GetSize
, METH_O
, NULL
},
34519 { (char *)"PixelDataBase_GetRowStride", (PyCFunction
)_wrap_PixelDataBase_GetRowStride
, METH_O
, NULL
},
34520 { (char *)"PixelDataBase_swigregister", PixelDataBase_swigregister
, METH_VARARGS
, NULL
},
34521 { (char *)"new_NativePixelData", _wrap_new_NativePixelData
, METH_VARARGS
, NULL
},
34522 { (char *)"delete_NativePixelData", (PyCFunction
)_wrap_delete_NativePixelData
, METH_O
, NULL
},
34523 { (char *)"NativePixelData_GetPixels", (PyCFunction
)_wrap_NativePixelData_GetPixels
, METH_O
, NULL
},
34524 { (char *)"NativePixelData_UseAlpha", (PyCFunction
)_wrap_NativePixelData_UseAlpha
, METH_O
, NULL
},
34525 { (char *)"NativePixelData___nonzero__", (PyCFunction
)_wrap_NativePixelData___nonzero__
, METH_O
, NULL
},
34526 { (char *)"NativePixelData_swigregister", NativePixelData_swigregister
, METH_VARARGS
, NULL
},
34527 { (char *)"NativePixelData_swiginit", NativePixelData_swiginit
, METH_VARARGS
, NULL
},
34528 { (char *)"new_NativePixelData_Accessor", _wrap_new_NativePixelData_Accessor
, METH_VARARGS
, NULL
},
34529 { (char *)"delete_NativePixelData_Accessor", (PyCFunction
)_wrap_delete_NativePixelData_Accessor
, METH_O
, NULL
},
34530 { (char *)"NativePixelData_Accessor_Reset", (PyCFunction
) _wrap_NativePixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34531 { (char *)"NativePixelData_Accessor_IsOk", (PyCFunction
)_wrap_NativePixelData_Accessor_IsOk
, METH_O
, NULL
},
34532 { (char *)"NativePixelData_Accessor_nextPixel", (PyCFunction
)_wrap_NativePixelData_Accessor_nextPixel
, METH_O
, NULL
},
34533 { (char *)"NativePixelData_Accessor_Offset", (PyCFunction
) _wrap_NativePixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34534 { (char *)"NativePixelData_Accessor_OffsetX", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34535 { (char *)"NativePixelData_Accessor_OffsetY", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34536 { (char *)"NativePixelData_Accessor_MoveTo", (PyCFunction
) _wrap_NativePixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34537 { (char *)"NativePixelData_Accessor_Set", (PyCFunction
) _wrap_NativePixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34538 { (char *)"NativePixelData_Accessor_Get", (PyCFunction
)_wrap_NativePixelData_Accessor_Get
, METH_O
, NULL
},
34539 { (char *)"NativePixelData_Accessor_swigregister", NativePixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
34540 { (char *)"NativePixelData_Accessor_swiginit", NativePixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
34541 { (char *)"new_AlphaPixelData", _wrap_new_AlphaPixelData
, METH_VARARGS
, NULL
},
34542 { (char *)"delete_AlphaPixelData", (PyCFunction
)_wrap_delete_AlphaPixelData
, METH_O
, NULL
},
34543 { (char *)"AlphaPixelData_GetPixels", (PyCFunction
)_wrap_AlphaPixelData_GetPixels
, METH_O
, NULL
},
34544 { (char *)"AlphaPixelData_UseAlpha", (PyCFunction
)_wrap_AlphaPixelData_UseAlpha
, METH_O
, NULL
},
34545 { (char *)"AlphaPixelData___nonzero__", (PyCFunction
)_wrap_AlphaPixelData___nonzero__
, METH_O
, NULL
},
34546 { (char *)"AlphaPixelData_swigregister", AlphaPixelData_swigregister
, METH_VARARGS
, NULL
},
34547 { (char *)"AlphaPixelData_swiginit", AlphaPixelData_swiginit
, METH_VARARGS
, NULL
},
34548 { (char *)"new_AlphaPixelData_Accessor", _wrap_new_AlphaPixelData_Accessor
, METH_VARARGS
, NULL
},
34549 { (char *)"delete_AlphaPixelData_Accessor", (PyCFunction
)_wrap_delete_AlphaPixelData_Accessor
, METH_O
, NULL
},
34550 { (char *)"AlphaPixelData_Accessor_Reset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34551 { (char *)"AlphaPixelData_Accessor_IsOk", (PyCFunction
)_wrap_AlphaPixelData_Accessor_IsOk
, METH_O
, NULL
},
34552 { (char *)"AlphaPixelData_Accessor_nextPixel", (PyCFunction
)_wrap_AlphaPixelData_Accessor_nextPixel
, METH_O
, NULL
},
34553 { (char *)"AlphaPixelData_Accessor_Offset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34554 { (char *)"AlphaPixelData_Accessor_OffsetX", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34555 { (char *)"AlphaPixelData_Accessor_OffsetY", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34556 { (char *)"AlphaPixelData_Accessor_MoveTo", (PyCFunction
) _wrap_AlphaPixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34557 { (char *)"AlphaPixelData_Accessor_Set", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34558 { (char *)"AlphaPixelData_Accessor_Get", (PyCFunction
)_wrap_AlphaPixelData_Accessor_Get
, METH_O
, NULL
},
34559 { (char *)"AlphaPixelData_Accessor_swigregister", AlphaPixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
34560 { (char *)"AlphaPixelData_Accessor_swiginit", AlphaPixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
34561 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34562 { (char *)"delete_Mask", (PyCFunction
)_wrap_delete_Mask
, METH_O
, NULL
},
34563 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
, NULL
},
34564 { (char *)"Mask_swiginit", Mask_swiginit
, METH_VARARGS
, NULL
},
34565 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34566 { (char *)"delete_Icon", (PyCFunction
)_wrap_delete_Icon
, METH_O
, NULL
},
34567 { (char *)"new_EmptyIcon", (PyCFunction
)_wrap_new_EmptyIcon
, METH_NOARGS
, NULL
},
34568 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34569 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34570 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34571 { (char *)"Icon_LoadFile", (PyCFunction
) _wrap_Icon_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34572 { (char *)"Icon_IsOk", (PyCFunction
)_wrap_Icon_IsOk
, METH_O
, NULL
},
34573 { (char *)"Icon_GetWidth", (PyCFunction
)_wrap_Icon_GetWidth
, METH_O
, NULL
},
34574 { (char *)"Icon_GetHeight", (PyCFunction
)_wrap_Icon_GetHeight
, METH_O
, NULL
},
34575 { (char *)"Icon_GetDepth", (PyCFunction
)_wrap_Icon_GetDepth
, METH_O
, NULL
},
34576 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34577 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34578 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34579 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34580 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
, NULL
},
34581 { (char *)"Icon_swiginit", Icon_swiginit
, METH_VARARGS
, NULL
},
34582 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34583 { (char *)"delete_IconLocation", (PyCFunction
)_wrap_delete_IconLocation
, METH_O
, NULL
},
34584 { (char *)"IconLocation_IsOk", (PyCFunction
)_wrap_IconLocation_IsOk
, METH_O
, NULL
},
34585 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34586 { (char *)"IconLocation_GetFileName", (PyCFunction
)_wrap_IconLocation_GetFileName
, METH_O
, NULL
},
34587 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34588 { (char *)"IconLocation_GetIndex", (PyCFunction
)_wrap_IconLocation_GetIndex
, METH_O
, NULL
},
34589 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
, NULL
},
34590 { (char *)"IconLocation_swiginit", IconLocation_swiginit
, METH_VARARGS
, NULL
},
34591 { (char *)"new_IconBundle", (PyCFunction
)_wrap_new_IconBundle
, METH_NOARGS
, NULL
},
34592 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34593 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34594 { (char *)"delete_IconBundle", (PyCFunction
)_wrap_delete_IconBundle
, METH_O
, NULL
},
34595 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34596 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34597 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34598 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
, NULL
},
34599 { (char *)"IconBundle_swiginit", IconBundle_swiginit
, METH_VARARGS
, NULL
},
34600 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34601 { (char *)"delete_Cursor", (PyCFunction
)_wrap_delete_Cursor
, METH_O
, NULL
},
34602 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34603 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34604 { (char *)"Cursor_IsOk", (PyCFunction
)_wrap_Cursor_IsOk
, METH_O
, NULL
},
34605 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
, NULL
},
34606 { (char *)"Cursor_swiginit", Cursor_swiginit
, METH_VARARGS
, NULL
},
34607 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34608 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34609 { (char *)"new_RegionFromBitmapColour", (PyCFunction
) _wrap_new_RegionFromBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34610 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34611 { (char *)"delete_Region", (PyCFunction
)_wrap_delete_Region
, METH_O
, NULL
},
34612 { (char *)"Region_Clear", (PyCFunction
)_wrap_Region_Clear
, METH_O
, NULL
},
34613 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34614 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34615 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34616 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34617 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34618 { (char *)"Region_GetBox", (PyCFunction
)_wrap_Region_GetBox
, METH_O
, NULL
},
34619 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34620 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34621 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34622 { (char *)"Region_IsEmpty", (PyCFunction
)_wrap_Region_IsEmpty
, METH_O
, NULL
},
34623 { (char *)"Region_IsEqual", (PyCFunction
) _wrap_Region_IsEqual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34624 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34625 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34626 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34627 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34628 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34629 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34630 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34631 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34632 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34633 { (char *)"Region_ConvertToBitmap", (PyCFunction
)_wrap_Region_ConvertToBitmap
, METH_O
, NULL
},
34634 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34635 { (char *)"Region_UnionBitmapColour", (PyCFunction
) _wrap_Region_UnionBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34636 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
, NULL
},
34637 { (char *)"Region_swiginit", Region_swiginit
, METH_VARARGS
, NULL
},
34638 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34639 { (char *)"delete_RegionIterator", (PyCFunction
)_wrap_delete_RegionIterator
, METH_O
, NULL
},
34640 { (char *)"RegionIterator_GetX", (PyCFunction
)_wrap_RegionIterator_GetX
, METH_O
, NULL
},
34641 { (char *)"RegionIterator_GetY", (PyCFunction
)_wrap_RegionIterator_GetY
, METH_O
, NULL
},
34642 { (char *)"RegionIterator_GetW", (PyCFunction
)_wrap_RegionIterator_GetW
, METH_O
, NULL
},
34643 { (char *)"RegionIterator_GetWidth", (PyCFunction
)_wrap_RegionIterator_GetWidth
, METH_O
, NULL
},
34644 { (char *)"RegionIterator_GetH", (PyCFunction
)_wrap_RegionIterator_GetH
, METH_O
, NULL
},
34645 { (char *)"RegionIterator_GetHeight", (PyCFunction
)_wrap_RegionIterator_GetHeight
, METH_O
, NULL
},
34646 { (char *)"RegionIterator_GetRect", (PyCFunction
)_wrap_RegionIterator_GetRect
, METH_O
, NULL
},
34647 { (char *)"RegionIterator_HaveRects", (PyCFunction
)_wrap_RegionIterator_HaveRects
, METH_O
, NULL
},
34648 { (char *)"RegionIterator_Reset", (PyCFunction
)_wrap_RegionIterator_Reset
, METH_O
, NULL
},
34649 { (char *)"RegionIterator_Next", (PyCFunction
)_wrap_RegionIterator_Next
, METH_O
, NULL
},
34650 { (char *)"RegionIterator___nonzero__", (PyCFunction
)_wrap_RegionIterator___nonzero__
, METH_O
, NULL
},
34651 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
, NULL
},
34652 { (char *)"RegionIterator_swiginit", RegionIterator_swiginit
, METH_VARARGS
, NULL
},
34653 { (char *)"new_NativeFontInfo", (PyCFunction
)_wrap_new_NativeFontInfo
, METH_NOARGS
, NULL
},
34654 { (char *)"delete_NativeFontInfo", (PyCFunction
)_wrap_delete_NativeFontInfo
, METH_O
, NULL
},
34655 { (char *)"NativeFontInfo_Init", (PyCFunction
)_wrap_NativeFontInfo_Init
, METH_O
, NULL
},
34656 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34657 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
)_wrap_NativeFontInfo_GetPointSize
, METH_O
, NULL
},
34658 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
)_wrap_NativeFontInfo_GetStyle
, METH_O
, NULL
},
34659 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
)_wrap_NativeFontInfo_GetWeight
, METH_O
, NULL
},
34660 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
)_wrap_NativeFontInfo_GetUnderlined
, METH_O
, NULL
},
34661 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
)_wrap_NativeFontInfo_GetFaceName
, METH_O
, NULL
},
34662 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
)_wrap_NativeFontInfo_GetFamily
, METH_O
, NULL
},
34663 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
)_wrap_NativeFontInfo_GetEncoding
, METH_O
, NULL
},
34664 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34665 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34666 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34667 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34668 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34669 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34670 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34671 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34672 { (char *)"NativeFontInfo_ToString", (PyCFunction
)_wrap_NativeFontInfo_ToString
, METH_O
, NULL
},
34673 { (char *)"NativeFontInfo___str__", (PyCFunction
)_wrap_NativeFontInfo___str__
, METH_O
, NULL
},
34674 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34675 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
)_wrap_NativeFontInfo_ToUserString
, METH_O
, NULL
},
34676 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
, NULL
},
34677 { (char *)"NativeFontInfo_swiginit", NativeFontInfo_swiginit
, METH_VARARGS
, NULL
},
34678 { (char *)"NativeEncodingInfo_facename_set", _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
, NULL
},
34679 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
)_wrap_NativeEncodingInfo_facename_get
, METH_O
, NULL
},
34680 { (char *)"NativeEncodingInfo_encoding_set", _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
, NULL
},
34681 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
)_wrap_NativeEncodingInfo_encoding_get
, METH_O
, NULL
},
34682 { (char *)"new_NativeEncodingInfo", (PyCFunction
)_wrap_new_NativeEncodingInfo
, METH_NOARGS
, NULL
},
34683 { (char *)"delete_NativeEncodingInfo", (PyCFunction
)_wrap_delete_NativeEncodingInfo
, METH_O
, NULL
},
34684 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34685 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
)_wrap_NativeEncodingInfo_ToString
, METH_O
, NULL
},
34686 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
, NULL
},
34687 { (char *)"NativeEncodingInfo_swiginit", NativeEncodingInfo_swiginit
, METH_VARARGS
, NULL
},
34688 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34689 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34690 { (char *)"new_FontMapper", (PyCFunction
)_wrap_new_FontMapper
, METH_NOARGS
, NULL
},
34691 { (char *)"delete_FontMapper", (PyCFunction
)_wrap_delete_FontMapper
, METH_O
, NULL
},
34692 { (char *)"FontMapper_Get", (PyCFunction
)_wrap_FontMapper_Get
, METH_NOARGS
, NULL
},
34693 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34694 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34695 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
)_wrap_FontMapper_GetSupportedEncodingsCount
, METH_NOARGS
, NULL
},
34696 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34697 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34698 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34699 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34700 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34701 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
)_wrap_FontMapper_GetDefaultConfigPath
, METH_NOARGS
, NULL
},
34702 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34703 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34704 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34705 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34706 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
, NULL
},
34707 { (char *)"FontMapper_swiginit", FontMapper_swiginit
, METH_VARARGS
, NULL
},
34708 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34709 { (char *)"delete_Font", (PyCFunction
)_wrap_delete_Font
, METH_O
, NULL
},
34710 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34711 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34712 { (char *)"new_FFont", (PyCFunction
) _wrap_new_FFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34713 { (char *)"new_FontFromPixelSize", (PyCFunction
) _wrap_new_FontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34714 { (char *)"new_FFontFromPixelSize", (PyCFunction
) _wrap_new_FFontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34715 { (char *)"Font_IsOk", (PyCFunction
)_wrap_Font_IsOk
, METH_O
, NULL
},
34716 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34717 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34718 { (char *)"Font_GetPointSize", (PyCFunction
)_wrap_Font_GetPointSize
, METH_O
, NULL
},
34719 { (char *)"Font_GetPixelSize", (PyCFunction
)_wrap_Font_GetPixelSize
, METH_O
, NULL
},
34720 { (char *)"Font_IsUsingSizeInPixels", (PyCFunction
)_wrap_Font_IsUsingSizeInPixels
, METH_O
, NULL
},
34721 { (char *)"Font_GetFamily", (PyCFunction
)_wrap_Font_GetFamily
, METH_O
, NULL
},
34722 { (char *)"Font_GetStyle", (PyCFunction
)_wrap_Font_GetStyle
, METH_O
, NULL
},
34723 { (char *)"Font_GetWeight", (PyCFunction
)_wrap_Font_GetWeight
, METH_O
, NULL
},
34724 { (char *)"Font_GetUnderlined", (PyCFunction
)_wrap_Font_GetUnderlined
, METH_O
, NULL
},
34725 { (char *)"Font_GetFaceName", (PyCFunction
)_wrap_Font_GetFaceName
, METH_O
, NULL
},
34726 { (char *)"Font_GetEncoding", (PyCFunction
)_wrap_Font_GetEncoding
, METH_O
, NULL
},
34727 { (char *)"Font_GetNativeFontInfo", (PyCFunction
)_wrap_Font_GetNativeFontInfo
, METH_O
, NULL
},
34728 { (char *)"Font_IsFixedWidth", (PyCFunction
)_wrap_Font_IsFixedWidth
, METH_O
, NULL
},
34729 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoDesc
, METH_O
, NULL
},
34730 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoUserDesc
, METH_O
, NULL
},
34731 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34732 { (char *)"Font_SetPixelSize", (PyCFunction
) _wrap_Font_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34733 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34734 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34735 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34736 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34737 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34738 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34739 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34740 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34741 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34742 { (char *)"Font_GetFamilyString", (PyCFunction
)_wrap_Font_GetFamilyString
, METH_O
, NULL
},
34743 { (char *)"Font_GetStyleString", (PyCFunction
)_wrap_Font_GetStyleString
, METH_O
, NULL
},
34744 { (char *)"Font_GetWeightString", (PyCFunction
)_wrap_Font_GetWeightString
, METH_O
, NULL
},
34745 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34746 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
)_wrap_Font_GetNoAntiAliasing
, METH_O
, NULL
},
34747 { (char *)"Font_GetDefaultEncoding", (PyCFunction
)_wrap_Font_GetDefaultEncoding
, METH_NOARGS
, NULL
},
34748 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34749 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
, NULL
},
34750 { (char *)"Font_swiginit", Font_swiginit
, METH_VARARGS
, NULL
},
34751 { (char *)"new_FontEnumerator", (PyCFunction
)_wrap_new_FontEnumerator
, METH_NOARGS
, NULL
},
34752 { (char *)"delete_FontEnumerator", (PyCFunction
)_wrap_delete_FontEnumerator
, METH_O
, NULL
},
34753 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34754 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34755 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34756 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
)_wrap_FontEnumerator_GetEncodings
, METH_NOARGS
, NULL
},
34757 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
)_wrap_FontEnumerator_GetFacenames
, METH_NOARGS
, NULL
},
34758 { (char *)"FontEnumerator_IsValidFacename", (PyCFunction
) _wrap_FontEnumerator_IsValidFacename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34759 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
, NULL
},
34760 { (char *)"FontEnumerator_swiginit", FontEnumerator_swiginit
, METH_VARARGS
, NULL
},
34761 { (char *)"LanguageInfo_Language_set", _wrap_LanguageInfo_Language_set
, METH_VARARGS
, NULL
},
34762 { (char *)"LanguageInfo_Language_get", (PyCFunction
)_wrap_LanguageInfo_Language_get
, METH_O
, NULL
},
34763 { (char *)"LanguageInfo_CanonicalName_set", _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
, NULL
},
34764 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
)_wrap_LanguageInfo_CanonicalName_get
, METH_O
, NULL
},
34765 { (char *)"LanguageInfo_Description_set", _wrap_LanguageInfo_Description_set
, METH_VARARGS
, NULL
},
34766 { (char *)"LanguageInfo_Description_get", (PyCFunction
)_wrap_LanguageInfo_Description_get
, METH_O
, NULL
},
34767 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
, NULL
},
34768 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34769 { (char *)"delete_Locale", (PyCFunction
)_wrap_delete_Locale
, METH_O
, NULL
},
34770 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34771 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34772 { (char *)"Locale_GetSystemLanguage", (PyCFunction
)_wrap_Locale_GetSystemLanguage
, METH_NOARGS
, NULL
},
34773 { (char *)"Locale_GetSystemEncoding", (PyCFunction
)_wrap_Locale_GetSystemEncoding
, METH_NOARGS
, NULL
},
34774 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
)_wrap_Locale_GetSystemEncodingName
, METH_NOARGS
, NULL
},
34775 { (char *)"Locale_IsOk", (PyCFunction
)_wrap_Locale_IsOk
, METH_O
, NULL
},
34776 { (char *)"Locale_GetLocale", (PyCFunction
)_wrap_Locale_GetLocale
, METH_O
, NULL
},
34777 { (char *)"Locale_GetLanguage", (PyCFunction
)_wrap_Locale_GetLanguage
, METH_O
, NULL
},
34778 { (char *)"Locale_GetSysName", (PyCFunction
)_wrap_Locale_GetSysName
, METH_O
, NULL
},
34779 { (char *)"Locale_GetCanonicalName", (PyCFunction
)_wrap_Locale_GetCanonicalName
, METH_O
, NULL
},
34780 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34781 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34782 { (char *)"Locale_IsAvailable", (PyCFunction
) _wrap_Locale_IsAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34783 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34784 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34785 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34786 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34787 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34788 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34789 { (char *)"Locale_GetName", (PyCFunction
)_wrap_Locale_GetName
, METH_O
, NULL
},
34790 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
, NULL
},
34791 { (char *)"Locale_swiginit", Locale_swiginit
, METH_VARARGS
, NULL
},
34792 { (char *)"new_PyLocale", (PyCFunction
) _wrap_new_PyLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34793 { (char *)"delete_PyLocale", (PyCFunction
)_wrap_delete_PyLocale
, METH_O
, NULL
},
34794 { (char *)"PyLocale__setCallbackInfo", (PyCFunction
) _wrap_PyLocale__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34795 { (char *)"PyLocale_GetSingularString", (PyCFunction
) _wrap_PyLocale_GetSingularString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34796 { (char *)"PyLocale_GetPluralString", (PyCFunction
) _wrap_PyLocale_GetPluralString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34797 { (char *)"PyLocale_swigregister", PyLocale_swigregister
, METH_VARARGS
, NULL
},
34798 { (char *)"PyLocale_swiginit", PyLocale_swiginit
, METH_VARARGS
, NULL
},
34799 { (char *)"GetLocale", (PyCFunction
)_wrap_GetLocale
, METH_NOARGS
, NULL
},
34800 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
, NULL
},
34801 { (char *)"new_EncodingConverter", (PyCFunction
)_wrap_new_EncodingConverter
, METH_NOARGS
, NULL
},
34802 { (char *)"delete_EncodingConverter", (PyCFunction
)_wrap_delete_EncodingConverter
, METH_O
, NULL
},
34803 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34804 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34805 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34806 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34807 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34808 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
, NULL
},
34809 { (char *)"EncodingConverter_swiginit", EncodingConverter_swiginit
, METH_VARARGS
, NULL
},
34810 { (char *)"delete_DC", (PyCFunction
)_wrap_delete_DC
, METH_O
, NULL
},
34811 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34812 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34813 { (char *)"DC_GradientFillConcentric", (PyCFunction
) _wrap_DC_GradientFillConcentric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34814 { (char *)"DC_GradientFillLinear", (PyCFunction
) _wrap_DC_GradientFillLinear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34815 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34816 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34817 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34818 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34819 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34820 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34821 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34822 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34823 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34824 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34825 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34826 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34827 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34828 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34829 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34830 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34831 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34832 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34833 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34834 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34835 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34836 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34837 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34838 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34839 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34840 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34841 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34842 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34843 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34844 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34845 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34846 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34847 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34848 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34849 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34850 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34851 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34852 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34853 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34854 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34855 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34856 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34857 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34858 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34859 { (char *)"DC_Clear", (PyCFunction
)_wrap_DC_Clear
, METH_O
, NULL
},
34860 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34861 { (char *)"DC_EndDoc", (PyCFunction
)_wrap_DC_EndDoc
, METH_O
, NULL
},
34862 { (char *)"DC_StartPage", (PyCFunction
)_wrap_DC_StartPage
, METH_O
, NULL
},
34863 { (char *)"DC_EndPage", (PyCFunction
)_wrap_DC_EndPage
, METH_O
, NULL
},
34864 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34865 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34866 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34867 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34868 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34869 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34870 { (char *)"DC_DestroyClippingRegion", (PyCFunction
)_wrap_DC_DestroyClippingRegion
, METH_O
, NULL
},
34871 { (char *)"DC_GetClippingBox", (PyCFunction
)_wrap_DC_GetClippingBox
, METH_O
, NULL
},
34872 { (char *)"DC_GetClippingRect", (PyCFunction
)_wrap_DC_GetClippingRect
, METH_O
, NULL
},
34873 { (char *)"DC_GetCharHeight", (PyCFunction
)_wrap_DC_GetCharHeight
, METH_O
, NULL
},
34874 { (char *)"DC_GetCharWidth", (PyCFunction
)_wrap_DC_GetCharWidth
, METH_O
, NULL
},
34875 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34876 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34877 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34878 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34879 { (char *)"DC_GetSize", (PyCFunction
)_wrap_DC_GetSize
, METH_O
, NULL
},
34880 { (char *)"DC_GetSizeTuple", (PyCFunction
)_wrap_DC_GetSizeTuple
, METH_O
, NULL
},
34881 { (char *)"DC_GetSizeMM", (PyCFunction
)_wrap_DC_GetSizeMM
, METH_O
, NULL
},
34882 { (char *)"DC_GetSizeMMTuple", (PyCFunction
)_wrap_DC_GetSizeMMTuple
, METH_O
, NULL
},
34883 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34884 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34885 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34886 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34887 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34888 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34889 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34890 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34891 { (char *)"DC_CanDrawBitmap", (PyCFunction
)_wrap_DC_CanDrawBitmap
, METH_O
, NULL
},
34892 { (char *)"DC_CanGetTextExtent", (PyCFunction
)_wrap_DC_CanGetTextExtent
, METH_O
, NULL
},
34893 { (char *)"DC_GetDepth", (PyCFunction
)_wrap_DC_GetDepth
, METH_O
, NULL
},
34894 { (char *)"DC_GetPPI", (PyCFunction
)_wrap_DC_GetPPI
, METH_O
, NULL
},
34895 { (char *)"DC_IsOk", (PyCFunction
)_wrap_DC_IsOk
, METH_O
, NULL
},
34896 { (char *)"DC_GetBackgroundMode", (PyCFunction
)_wrap_DC_GetBackgroundMode
, METH_O
, NULL
},
34897 { (char *)"DC_GetBackground", (PyCFunction
)_wrap_DC_GetBackground
, METH_O
, NULL
},
34898 { (char *)"DC_GetBrush", (PyCFunction
)_wrap_DC_GetBrush
, METH_O
, NULL
},
34899 { (char *)"DC_GetFont", (PyCFunction
)_wrap_DC_GetFont
, METH_O
, NULL
},
34900 { (char *)"DC_GetPen", (PyCFunction
)_wrap_DC_GetPen
, METH_O
, NULL
},
34901 { (char *)"DC_GetTextBackground", (PyCFunction
)_wrap_DC_GetTextBackground
, METH_O
, NULL
},
34902 { (char *)"DC_GetTextForeground", (PyCFunction
)_wrap_DC_GetTextForeground
, METH_O
, NULL
},
34903 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34904 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34905 { (char *)"DC_GetMapMode", (PyCFunction
)_wrap_DC_GetMapMode
, METH_O
, NULL
},
34906 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34907 { (char *)"DC_GetUserScale", (PyCFunction
)_wrap_DC_GetUserScale
, METH_O
, NULL
},
34908 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34909 { (char *)"DC_GetLogicalScale", (PyCFunction
)_wrap_DC_GetLogicalScale
, METH_O
, NULL
},
34910 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34911 { (char *)"DC_GetLogicalOrigin", (PyCFunction
)_wrap_DC_GetLogicalOrigin
, METH_O
, NULL
},
34912 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
)_wrap_DC_GetLogicalOriginTuple
, METH_O
, NULL
},
34913 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34914 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34915 { (char *)"DC_GetDeviceOrigin", (PyCFunction
)_wrap_DC_GetDeviceOrigin
, METH_O
, NULL
},
34916 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
)_wrap_DC_GetDeviceOriginTuple
, METH_O
, NULL
},
34917 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34918 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34919 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34920 { (char *)"DC_GetLogicalFunction", (PyCFunction
)_wrap_DC_GetLogicalFunction
, METH_O
, NULL
},
34921 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34922 { (char *)"DC_ComputeScaleAndOrigin", (PyCFunction
)_wrap_DC_ComputeScaleAndOrigin
, METH_O
, NULL
},
34923 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34924 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34925 { (char *)"DC_ResetBoundingBox", (PyCFunction
)_wrap_DC_ResetBoundingBox
, METH_O
, NULL
},
34926 { (char *)"DC_MinX", (PyCFunction
)_wrap_DC_MinX
, METH_O
, NULL
},
34927 { (char *)"DC_MaxX", (PyCFunction
)_wrap_DC_MaxX
, METH_O
, NULL
},
34928 { (char *)"DC_MinY", (PyCFunction
)_wrap_DC_MinY
, METH_O
, NULL
},
34929 { (char *)"DC_MaxY", (PyCFunction
)_wrap_DC_MaxY
, METH_O
, NULL
},
34930 { (char *)"DC_GetBoundingBox", (PyCFunction
)_wrap_DC_GetBoundingBox
, METH_O
, NULL
},
34931 { (char *)"DC_GetLayoutDirection", (PyCFunction
)_wrap_DC_GetLayoutDirection
, METH_O
, NULL
},
34932 { (char *)"DC_SetLayoutDirection", (PyCFunction
) _wrap_DC_SetLayoutDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34933 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34934 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34935 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34936 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34937 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34938 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34939 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
, NULL
},
34940 { (char *)"new_MemoryDC", (PyCFunction
) _wrap_new_MemoryDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34941 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34942 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34943 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
, NULL
},
34944 { (char *)"MemoryDC_swiginit", MemoryDC_swiginit
, METH_VARARGS
, NULL
},
34945 { (char *)"new_ScreenDC", (PyCFunction
)_wrap_new_ScreenDC
, METH_NOARGS
, NULL
},
34946 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34947 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34948 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
)_wrap_ScreenDC_EndDrawingOnTop
, METH_O
, NULL
},
34949 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
, NULL
},
34950 { (char *)"ScreenDC_swiginit", ScreenDC_swiginit
, METH_VARARGS
, NULL
},
34951 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34952 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
, NULL
},
34953 { (char *)"WindowDC_swiginit", WindowDC_swiginit
, METH_VARARGS
, NULL
},
34954 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34955 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
, NULL
},
34956 { (char *)"ClientDC_swiginit", ClientDC_swiginit
, METH_VARARGS
, NULL
},
34957 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34958 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
, NULL
},
34959 { (char *)"PaintDC_swiginit", PaintDC_swiginit
, METH_VARARGS
, NULL
},
34960 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
, NULL
},
34961 { (char *)"delete_BufferedDC", (PyCFunction
)_wrap_delete_BufferedDC
, METH_O
, NULL
},
34962 { (char *)"BufferedDC_UnMask", (PyCFunction
)_wrap_BufferedDC_UnMask
, METH_O
, NULL
},
34963 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
, NULL
},
34964 { (char *)"BufferedDC_swiginit", BufferedDC_swiginit
, METH_VARARGS
, NULL
},
34965 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34966 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
34967 { (char *)"BufferedPaintDC_swiginit", BufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
34968 { (char *)"new_AutoBufferedPaintDC", (PyCFunction
) _wrap_new_AutoBufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34969 { (char *)"AutoBufferedPaintDC_swigregister", AutoBufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
34970 { (char *)"AutoBufferedPaintDC_swiginit", AutoBufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
34971 { (char *)"AutoBufferedPaintDCFactory", (PyCFunction
) _wrap_AutoBufferedPaintDCFactory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34972 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34973 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
, NULL
},
34974 { (char *)"MirrorDC_swiginit", MirrorDC_swiginit
, METH_VARARGS
, NULL
},
34975 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34976 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
)_wrap_PostScriptDC_GetPrintData
, METH_O
, NULL
},
34977 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34978 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34979 { (char *)"PostScriptDC_GetResolution", (PyCFunction
)_wrap_PostScriptDC_GetResolution
, METH_NOARGS
, NULL
},
34980 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
, NULL
},
34981 { (char *)"PostScriptDC_swiginit", PostScriptDC_swiginit
, METH_VARARGS
, NULL
},
34982 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34983 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
, NULL
},
34984 { (char *)"MetaFile_swiginit", MetaFile_swiginit
, METH_VARARGS
, NULL
},
34985 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34986 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
, NULL
},
34987 { (char *)"MetaFileDC_swiginit", MetaFileDC_swiginit
, METH_VARARGS
, NULL
},
34988 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34989 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
, NULL
},
34990 { (char *)"PrinterDC_swiginit", PrinterDC_swiginit
, METH_VARARGS
, NULL
},
34991 { (char *)"delete_GraphicsPath", (PyCFunction
)_wrap_delete_GraphicsPath
, METH_O
, NULL
},
34992 { (char *)"GraphicsPath_MoveToPoint", (PyCFunction
) _wrap_GraphicsPath_MoveToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34993 { (char *)"GraphicsPath_AddLineToPoint", (PyCFunction
) _wrap_GraphicsPath_AddLineToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34994 { (char *)"GraphicsPath_AddCurveToPoint", (PyCFunction
) _wrap_GraphicsPath_AddCurveToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34995 { (char *)"GraphicsPath_CloseSubpath", (PyCFunction
)_wrap_GraphicsPath_CloseSubpath
, METH_O
, NULL
},
34996 { (char *)"GraphicsPath_GetCurrentPoint", (PyCFunction
)_wrap_GraphicsPath_GetCurrentPoint
, METH_O
, NULL
},
34997 { (char *)"GraphicsPath_AddArc", (PyCFunction
) _wrap_GraphicsPath_AddArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34998 { (char *)"GraphicsPath_AddQuadCurveToPoint", (PyCFunction
) _wrap_GraphicsPath_AddQuadCurveToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34999 { (char *)"GraphicsPath_AddRectangle", (PyCFunction
) _wrap_GraphicsPath_AddRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35000 { (char *)"GraphicsPath_AddCircle", (PyCFunction
) _wrap_GraphicsPath_AddCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35001 { (char *)"GraphicsPath_AddArcToPoint", (PyCFunction
) _wrap_GraphicsPath_AddArcToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35002 { (char *)"GraphicsPath_swigregister", GraphicsPath_swigregister
, METH_VARARGS
, NULL
},
35003 { (char *)"delete_GraphicsContext", (PyCFunction
)_wrap_delete_GraphicsContext
, METH_O
, NULL
},
35004 { (char *)"GraphicsContext_Create", _wrap_GraphicsContext_Create
, METH_VARARGS
, NULL
},
35005 { (char *)"GraphicsContext_CreateFromNative", (PyCFunction
) _wrap_GraphicsContext_CreateFromNative
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35006 { (char *)"GraphicsContext_CreatePath", (PyCFunction
)_wrap_GraphicsContext_CreatePath
, METH_O
, NULL
},
35007 { (char *)"GraphicsContext_PushState", (PyCFunction
)_wrap_GraphicsContext_PushState
, METH_O
, NULL
},
35008 { (char *)"GraphicsContext_PopState", (PyCFunction
)_wrap_GraphicsContext_PopState
, METH_O
, NULL
},
35009 { (char *)"GraphicsContext_ClipRegion", (PyCFunction
) _wrap_GraphicsContext_ClipRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35010 { (char *)"GraphicsContext_Clip", (PyCFunction
) _wrap_GraphicsContext_Clip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35011 { (char *)"GraphicsContext_ResetClip", (PyCFunction
)_wrap_GraphicsContext_ResetClip
, METH_O
, NULL
},
35012 { (char *)"GraphicsContext_GetNativeContext", (PyCFunction
)_wrap_GraphicsContext_GetNativeContext
, METH_O
, NULL
},
35013 { (char *)"GraphicsContext_Translate", (PyCFunction
) _wrap_GraphicsContext_Translate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35014 { (char *)"GraphicsContext_Scale", (PyCFunction
) _wrap_GraphicsContext_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35015 { (char *)"GraphicsContext_Rotate", (PyCFunction
) _wrap_GraphicsContext_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35016 { (char *)"GraphicsContext_SetPen", (PyCFunction
) _wrap_GraphicsContext_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35017 { (char *)"GraphicsContext_SetBrush", (PyCFunction
) _wrap_GraphicsContext_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35018 { (char *)"GraphicsContext_SetLinearGradientBrush", (PyCFunction
) _wrap_GraphicsContext_SetLinearGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35019 { (char *)"GraphicsContext_SetRadialGradientBrush", (PyCFunction
) _wrap_GraphicsContext_SetRadialGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35020 { (char *)"GraphicsContext_SetFont", (PyCFunction
) _wrap_GraphicsContext_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35021 { (char *)"GraphicsContext_SetTextColor", (PyCFunction
) _wrap_GraphicsContext_SetTextColor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35022 { (char *)"GraphicsContext_StrokePath", (PyCFunction
) _wrap_GraphicsContext_StrokePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35023 { (char *)"GraphicsContext_FillPath", (PyCFunction
) _wrap_GraphicsContext_FillPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35024 { (char *)"GraphicsContext_DrawPath", (PyCFunction
) _wrap_GraphicsContext_DrawPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35025 { (char *)"GraphicsContext_DrawText", (PyCFunction
) _wrap_GraphicsContext_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35026 { (char *)"GraphicsContext_DrawRotatedText", (PyCFunction
) _wrap_GraphicsContext_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35027 { (char *)"GraphicsContext_GetTextExtent", (PyCFunction
) _wrap_GraphicsContext_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35028 { (char *)"GraphicsContext_GetPartialTextExtents", (PyCFunction
) _wrap_GraphicsContext_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35029 { (char *)"GraphicsContext_DrawBitmap", (PyCFunction
) _wrap_GraphicsContext_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35030 { (char *)"GraphicsContext_DrawIcon", (PyCFunction
) _wrap_GraphicsContext_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35031 { (char *)"GraphicsContext_StrokeLine", (PyCFunction
) _wrap_GraphicsContext_StrokeLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35032 { (char *)"GraphicsContext_StrokeLines", (PyCFunction
) _wrap_GraphicsContext_StrokeLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35033 { (char *)"GraphicsContext_StrokeLineSegements", (PyCFunction
) _wrap_GraphicsContext_StrokeLineSegements
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35034 { (char *)"GraphicsContext_DrawLines", (PyCFunction
) _wrap_GraphicsContext_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35035 { (char *)"GraphicsContext_DrawRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35036 { (char *)"GraphicsContext_DrawEllipse", (PyCFunction
) _wrap_GraphicsContext_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35037 { (char *)"GraphicsContext_DrawRoundedRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35038 { (char *)"GraphicsContext_swigregister", GraphicsContext_swigregister
, METH_VARARGS
, NULL
},
35039 { (char *)"new_GCDC", (PyCFunction
) _wrap_new_GCDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35040 { (char *)"delete_GCDC", (PyCFunction
)_wrap_delete_GCDC
, METH_O
, NULL
},
35041 { (char *)"GCDC_GetGraphicsContext", (PyCFunction
)_wrap_GCDC_GetGraphicsContext
, METH_O
, NULL
},
35042 { (char *)"GCDC_SetGraphicsContext", (PyCFunction
) _wrap_GCDC_SetGraphicsContext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35043 { (char *)"GCDC_swigregister", GCDC_swigregister
, METH_VARARGS
, NULL
},
35044 { (char *)"GCDC_swiginit", GCDC_swiginit
, METH_VARARGS
, NULL
},
35045 { (char *)"new_Overlay", (PyCFunction
)_wrap_new_Overlay
, METH_NOARGS
, NULL
},
35046 { (char *)"delete_Overlay", (PyCFunction
)_wrap_delete_Overlay
, METH_O
, NULL
},
35047 { (char *)"Overlay_Reset", (PyCFunction
)_wrap_Overlay_Reset
, METH_O
, NULL
},
35048 { (char *)"Overlay_swigregister", Overlay_swigregister
, METH_VARARGS
, NULL
},
35049 { (char *)"Overlay_swiginit", Overlay_swiginit
, METH_VARARGS
, NULL
},
35050 { (char *)"new_DCOverlay", _wrap_new_DCOverlay
, METH_VARARGS
, NULL
},
35051 { (char *)"delete_DCOverlay", (PyCFunction
)_wrap_delete_DCOverlay
, METH_O
, NULL
},
35052 { (char *)"DCOverlay_Clear", (PyCFunction
)_wrap_DCOverlay_Clear
, METH_O
, NULL
},
35053 { (char *)"DCOverlay_swigregister", DCOverlay_swigregister
, METH_VARARGS
, NULL
},
35054 { (char *)"DCOverlay_swiginit", DCOverlay_swiginit
, METH_VARARGS
, NULL
},
35055 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35056 { (char *)"delete_ImageList", (PyCFunction
)_wrap_delete_ImageList
, METH_O
, NULL
},
35057 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35058 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35059 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35060 { (char *)"ImageList_GetBitmap", (PyCFunction
) _wrap_ImageList_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35061 { (char *)"ImageList_GetIcon", (PyCFunction
) _wrap_ImageList_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35062 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35063 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35064 { (char *)"ImageList_GetImageCount", (PyCFunction
)_wrap_ImageList_GetImageCount
, METH_O
, NULL
},
35065 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35066 { (char *)"ImageList_RemoveAll", (PyCFunction
)_wrap_ImageList_RemoveAll
, METH_O
, NULL
},
35067 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35068 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
, NULL
},
35069 { (char *)"ImageList_swiginit", ImageList_swiginit
, METH_VARARGS
, NULL
},
35070 { (char *)"new_StockGDI", (PyCFunction
)_wrap_new_StockGDI
, METH_NOARGS
, NULL
},
35071 { (char *)"delete_StockGDI", (PyCFunction
)_wrap_delete_StockGDI
, METH_O
, NULL
},
35072 { (char *)"StockGDI_DeleteAll", (PyCFunction
)_wrap_StockGDI_DeleteAll
, METH_NOARGS
, NULL
},
35073 { (char *)"StockGDI_instance", (PyCFunction
)_wrap_StockGDI_instance
, METH_NOARGS
, NULL
},
35074 { (char *)"StockGDI_GetBrush", (PyCFunction
) _wrap_StockGDI_GetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35075 { (char *)"StockGDI_GetColour", (PyCFunction
) _wrap_StockGDI_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35076 { (char *)"StockGDI_GetCursor", (PyCFunction
) _wrap_StockGDI_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35077 { (char *)"StockGDI_GetPen", (PyCFunction
) _wrap_StockGDI_GetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35078 { (char *)"StockGDI_GetFont", (PyCFunction
) _wrap_StockGDI_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35079 { (char *)"StockGDI_swigregister", StockGDI_swigregister
, METH_VARARGS
, NULL
},
35080 { (char *)"StockGDI_swiginit", StockGDI_swiginit
, METH_VARARGS
, NULL
},
35081 { (char *)"new_GDIObjListBase", (PyCFunction
)_wrap_new_GDIObjListBase
, METH_NOARGS
, NULL
},
35082 { (char *)"delete_GDIObjListBase", (PyCFunction
)_wrap_delete_GDIObjListBase
, METH_O
, NULL
},
35083 { (char *)"GDIObjListBase_swigregister", GDIObjListBase_swigregister
, METH_VARARGS
, NULL
},
35084 { (char *)"GDIObjListBase_swiginit", GDIObjListBase_swiginit
, METH_VARARGS
, NULL
},
35085 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35086 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35087 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35088 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
, NULL
},
35089 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35090 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35091 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35092 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
, NULL
},
35093 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35094 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35095 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35096 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
, NULL
},
35097 { (char *)"new_ColourDatabase", (PyCFunction
)_wrap_new_ColourDatabase
, METH_NOARGS
, NULL
},
35098 { (char *)"delete_ColourDatabase", (PyCFunction
)_wrap_delete_ColourDatabase
, METH_O
, NULL
},
35099 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35100 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35101 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35102 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35103 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
, NULL
},
35104 { (char *)"ColourDatabase_swiginit", ColourDatabase_swiginit
, METH_VARARGS
, NULL
},
35105 { (char *)"_wxPyInitTheFontList", (PyCFunction
)_wrap__wxPyInitTheFontList
, METH_NOARGS
, NULL
},
35106 { (char *)"_wxPyInitThePenList", (PyCFunction
)_wrap__wxPyInitThePenList
, METH_NOARGS
, NULL
},
35107 { (char *)"_wxPyInitTheBrushList", (PyCFunction
)_wrap__wxPyInitTheBrushList
, METH_NOARGS
, NULL
},
35108 { (char *)"_wxPyInitTheColourDatabase", (PyCFunction
)_wrap__wxPyInitTheColourDatabase
, METH_NOARGS
, NULL
},
35109 { (char *)"new_Effects", (PyCFunction
)_wrap_new_Effects
, METH_NOARGS
, NULL
},
35110 { (char *)"Effects_GetHighlightColour", (PyCFunction
)_wrap_Effects_GetHighlightColour
, METH_O
, NULL
},
35111 { (char *)"Effects_GetLightShadow", (PyCFunction
)_wrap_Effects_GetLightShadow
, METH_O
, NULL
},
35112 { (char *)"Effects_GetFaceColour", (PyCFunction
)_wrap_Effects_GetFaceColour
, METH_O
, NULL
},
35113 { (char *)"Effects_GetMediumShadow", (PyCFunction
)_wrap_Effects_GetMediumShadow
, METH_O
, NULL
},
35114 { (char *)"Effects_GetDarkShadow", (PyCFunction
)_wrap_Effects_GetDarkShadow
, METH_O
, NULL
},
35115 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35116 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35117 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35118 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35119 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35120 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35121 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35122 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35123 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
, NULL
},
35124 { (char *)"Effects_swiginit", Effects_swiginit
, METH_VARARGS
, NULL
},
35125 { (char *)"new_SplitterRenderParams", (PyCFunction
) _wrap_new_SplitterRenderParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35126 { (char *)"delete_SplitterRenderParams", (PyCFunction
)_wrap_delete_SplitterRenderParams
, METH_O
, NULL
},
35127 { (char *)"SplitterRenderParams_widthSash_get", (PyCFunction
)_wrap_SplitterRenderParams_widthSash_get
, METH_O
, NULL
},
35128 { (char *)"SplitterRenderParams_border_get", (PyCFunction
)_wrap_SplitterRenderParams_border_get
, METH_O
, NULL
},
35129 { (char *)"SplitterRenderParams_isHotSensitive_get", (PyCFunction
)_wrap_SplitterRenderParams_isHotSensitive_get
, METH_O
, NULL
},
35130 { (char *)"SplitterRenderParams_swigregister", SplitterRenderParams_swigregister
, METH_VARARGS
, NULL
},
35131 { (char *)"SplitterRenderParams_swiginit", SplitterRenderParams_swiginit
, METH_VARARGS
, NULL
},
35132 { (char *)"new_HeaderButtonParams", (PyCFunction
)_wrap_new_HeaderButtonParams
, METH_NOARGS
, NULL
},
35133 { (char *)"delete_HeaderButtonParams", (PyCFunction
)_wrap_delete_HeaderButtonParams
, METH_O
, NULL
},
35134 { (char *)"HeaderButtonParams_m_arrowColour_set", _wrap_HeaderButtonParams_m_arrowColour_set
, METH_VARARGS
, NULL
},
35135 { (char *)"HeaderButtonParams_m_arrowColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_arrowColour_get
, METH_O
, NULL
},
35136 { (char *)"HeaderButtonParams_m_selectionColour_set", _wrap_HeaderButtonParams_m_selectionColour_set
, METH_VARARGS
, NULL
},
35137 { (char *)"HeaderButtonParams_m_selectionColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_selectionColour_get
, METH_O
, NULL
},
35138 { (char *)"HeaderButtonParams_m_labelText_set", _wrap_HeaderButtonParams_m_labelText_set
, METH_VARARGS
, NULL
},
35139 { (char *)"HeaderButtonParams_m_labelText_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelText_get
, METH_O
, NULL
},
35140 { (char *)"HeaderButtonParams_m_labelFont_set", _wrap_HeaderButtonParams_m_labelFont_set
, METH_VARARGS
, NULL
},
35141 { (char *)"HeaderButtonParams_m_labelFont_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelFont_get
, METH_O
, NULL
},
35142 { (char *)"HeaderButtonParams_m_labelColour_set", _wrap_HeaderButtonParams_m_labelColour_set
, METH_VARARGS
, NULL
},
35143 { (char *)"HeaderButtonParams_m_labelColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelColour_get
, METH_O
, NULL
},
35144 { (char *)"HeaderButtonParams_m_labelBitmap_set", _wrap_HeaderButtonParams_m_labelBitmap_set
, METH_VARARGS
, NULL
},
35145 { (char *)"HeaderButtonParams_m_labelBitmap_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelBitmap_get
, METH_O
, NULL
},
35146 { (char *)"HeaderButtonParams_m_labelAlignment_set", _wrap_HeaderButtonParams_m_labelAlignment_set
, METH_VARARGS
, NULL
},
35147 { (char *)"HeaderButtonParams_m_labelAlignment_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelAlignment_get
, METH_O
, NULL
},
35148 { (char *)"HeaderButtonParams_swigregister", HeaderButtonParams_swigregister
, METH_VARARGS
, NULL
},
35149 { (char *)"HeaderButtonParams_swiginit", HeaderButtonParams_swiginit
, METH_VARARGS
, NULL
},
35150 { (char *)"new_RendererVersion", (PyCFunction
) _wrap_new_RendererVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35151 { (char *)"delete_RendererVersion", (PyCFunction
)_wrap_delete_RendererVersion
, METH_O
, NULL
},
35152 { (char *)"RendererVersion_IsCompatible", (PyCFunction
) _wrap_RendererVersion_IsCompatible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35153 { (char *)"RendererVersion_version_get", (PyCFunction
)_wrap_RendererVersion_version_get
, METH_O
, NULL
},
35154 { (char *)"RendererVersion_age_get", (PyCFunction
)_wrap_RendererVersion_age_get
, METH_O
, NULL
},
35155 { (char *)"RendererVersion_swigregister", RendererVersion_swigregister
, METH_VARARGS
, NULL
},
35156 { (char *)"RendererVersion_swiginit", RendererVersion_swiginit
, METH_VARARGS
, NULL
},
35157 { (char *)"RendererNative_DrawHeaderButton", (PyCFunction
) _wrap_RendererNative_DrawHeaderButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35158 { (char *)"RendererNative_DrawHeaderButtonContents", (PyCFunction
) _wrap_RendererNative_DrawHeaderButtonContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35159 { (char *)"RendererNative_GetHeaderButtonHeight", (PyCFunction
) _wrap_RendererNative_GetHeaderButtonHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35160 { (char *)"RendererNative_DrawTreeItemButton", (PyCFunction
) _wrap_RendererNative_DrawTreeItemButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35161 { (char *)"RendererNative_DrawSplitterBorder", (PyCFunction
) _wrap_RendererNative_DrawSplitterBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35162 { (char *)"RendererNative_DrawSplitterSash", (PyCFunction
) _wrap_RendererNative_DrawSplitterSash
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35163 { (char *)"RendererNative_DrawComboBoxDropButton", (PyCFunction
) _wrap_RendererNative_DrawComboBoxDropButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35164 { (char *)"RendererNative_DrawDropArrow", (PyCFunction
) _wrap_RendererNative_DrawDropArrow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35165 { (char *)"RendererNative_DrawCheckBox", (PyCFunction
) _wrap_RendererNative_DrawCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35166 { (char *)"RendererNative_DrawPushButton", (PyCFunction
) _wrap_RendererNative_DrawPushButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35167 { (char *)"RendererNative_DrawItemSelectionRect", (PyCFunction
) _wrap_RendererNative_DrawItemSelectionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35168 { (char *)"RendererNative_GetSplitterParams", (PyCFunction
) _wrap_RendererNative_GetSplitterParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35169 { (char *)"RendererNative_Get", (PyCFunction
)_wrap_RendererNative_Get
, METH_NOARGS
, NULL
},
35170 { (char *)"RendererNative_GetGeneric", (PyCFunction
)_wrap_RendererNative_GetGeneric
, METH_NOARGS
, NULL
},
35171 { (char *)"RendererNative_GetDefault", (PyCFunction
)_wrap_RendererNative_GetDefault
, METH_NOARGS
, NULL
},
35172 { (char *)"RendererNative_Set", (PyCFunction
) _wrap_RendererNative_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35173 { (char *)"RendererNative_GetVersion", (PyCFunction
)_wrap_RendererNative_GetVersion
, METH_O
, NULL
},
35174 { (char *)"RendererNative_swigregister", RendererNative_swigregister
, METH_VARARGS
, NULL
},
35175 { (char *)"new_PseudoDC", (PyCFunction
)_wrap_new_PseudoDC
, METH_NOARGS
, NULL
},
35176 { (char *)"PseudoDC_BeginDrawing", (PyCFunction
)_wrap_PseudoDC_BeginDrawing
, METH_O
, NULL
},
35177 { (char *)"PseudoDC_EndDrawing", (PyCFunction
)_wrap_PseudoDC_EndDrawing
, METH_O
, NULL
},
35178 { (char *)"delete_PseudoDC", (PyCFunction
)_wrap_delete_PseudoDC
, METH_O
, NULL
},
35179 { (char *)"PseudoDC_RemoveAll", (PyCFunction
)_wrap_PseudoDC_RemoveAll
, METH_O
, NULL
},
35180 { (char *)"PseudoDC_GetLen", (PyCFunction
)_wrap_PseudoDC_GetLen
, METH_O
, NULL
},
35181 { (char *)"PseudoDC_SetId", (PyCFunction
) _wrap_PseudoDC_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35182 { (char *)"PseudoDC_ClearId", (PyCFunction
) _wrap_PseudoDC_ClearId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35183 { (char *)"PseudoDC_RemoveId", (PyCFunction
) _wrap_PseudoDC_RemoveId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35184 { (char *)"PseudoDC_TranslateId", (PyCFunction
) _wrap_PseudoDC_TranslateId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35185 { (char *)"PseudoDC_SetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_SetIdGreyedOut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35186 { (char *)"PseudoDC_GetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_GetIdGreyedOut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35187 { (char *)"PseudoDC_FindObjects", (PyCFunction
) _wrap_PseudoDC_FindObjects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35188 { (char *)"PseudoDC_FindObjectsByBBox", (PyCFunction
) _wrap_PseudoDC_FindObjectsByBBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35189 { (char *)"PseudoDC_DrawIdToDC", (PyCFunction
) _wrap_PseudoDC_DrawIdToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35190 { (char *)"PseudoDC_SetIdBounds", (PyCFunction
) _wrap_PseudoDC_SetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35191 { (char *)"PseudoDC_GetIdBounds", (PyCFunction
) _wrap_PseudoDC_GetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35192 { (char *)"PseudoDC_DrawToDCClipped", (PyCFunction
) _wrap_PseudoDC_DrawToDCClipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35193 { (char *)"PseudoDC_DrawToDCClippedRgn", (PyCFunction
) _wrap_PseudoDC_DrawToDCClippedRgn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35194 { (char *)"PseudoDC_DrawToDC", (PyCFunction
) _wrap_PseudoDC_DrawToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35195 { (char *)"PseudoDC_FloodFill", (PyCFunction
) _wrap_PseudoDC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35196 { (char *)"PseudoDC_FloodFillPoint", (PyCFunction
) _wrap_PseudoDC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35197 { (char *)"PseudoDC_DrawLine", (PyCFunction
) _wrap_PseudoDC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35198 { (char *)"PseudoDC_DrawLinePoint", (PyCFunction
) _wrap_PseudoDC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35199 { (char *)"PseudoDC_CrossHair", (PyCFunction
) _wrap_PseudoDC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35200 { (char *)"PseudoDC_CrossHairPoint", (PyCFunction
) _wrap_PseudoDC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35201 { (char *)"PseudoDC_DrawArc", (PyCFunction
) _wrap_PseudoDC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35202 { (char *)"PseudoDC_DrawArcPoint", (PyCFunction
) _wrap_PseudoDC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35203 { (char *)"PseudoDC_DrawCheckMark", (PyCFunction
) _wrap_PseudoDC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35204 { (char *)"PseudoDC_DrawCheckMarkRect", (PyCFunction
) _wrap_PseudoDC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35205 { (char *)"PseudoDC_DrawEllipticArc", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35206 { (char *)"PseudoDC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35207 { (char *)"PseudoDC_DrawPoint", (PyCFunction
) _wrap_PseudoDC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35208 { (char *)"PseudoDC_DrawPointPoint", (PyCFunction
) _wrap_PseudoDC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35209 { (char *)"PseudoDC_DrawRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35210 { (char *)"PseudoDC_DrawRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35211 { (char *)"PseudoDC_DrawRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35212 { (char *)"PseudoDC_DrawRoundedRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35213 { (char *)"PseudoDC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35214 { (char *)"PseudoDC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35215 { (char *)"PseudoDC_DrawCircle", (PyCFunction
) _wrap_PseudoDC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35216 { (char *)"PseudoDC_DrawCirclePoint", (PyCFunction
) _wrap_PseudoDC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35217 { (char *)"PseudoDC_DrawEllipse", (PyCFunction
) _wrap_PseudoDC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35218 { (char *)"PseudoDC_DrawEllipseRect", (PyCFunction
) _wrap_PseudoDC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35219 { (char *)"PseudoDC_DrawEllipsePointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35220 { (char *)"PseudoDC_DrawIcon", (PyCFunction
) _wrap_PseudoDC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35221 { (char *)"PseudoDC_DrawIconPoint", (PyCFunction
) _wrap_PseudoDC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35222 { (char *)"PseudoDC_DrawBitmap", (PyCFunction
) _wrap_PseudoDC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35223 { (char *)"PseudoDC_DrawBitmapPoint", (PyCFunction
) _wrap_PseudoDC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35224 { (char *)"PseudoDC_DrawText", (PyCFunction
) _wrap_PseudoDC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35225 { (char *)"PseudoDC_DrawTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35226 { (char *)"PseudoDC_DrawRotatedText", (PyCFunction
) _wrap_PseudoDC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35227 { (char *)"PseudoDC_DrawRotatedTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35228 { (char *)"PseudoDC_DrawLines", (PyCFunction
) _wrap_PseudoDC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35229 { (char *)"PseudoDC_DrawPolygon", (PyCFunction
) _wrap_PseudoDC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35230 { (char *)"PseudoDC_DrawLabel", (PyCFunction
) _wrap_PseudoDC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35231 { (char *)"PseudoDC_DrawImageLabel", (PyCFunction
) _wrap_PseudoDC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35232 { (char *)"PseudoDC_DrawSpline", (PyCFunction
) _wrap_PseudoDC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35233 { (char *)"PseudoDC_Clear", (PyCFunction
)_wrap_PseudoDC_Clear
, METH_O
, NULL
},
35234 { (char *)"PseudoDC_SetFont", (PyCFunction
) _wrap_PseudoDC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35235 { (char *)"PseudoDC_SetPen", (PyCFunction
) _wrap_PseudoDC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35236 { (char *)"PseudoDC_SetBrush", (PyCFunction
) _wrap_PseudoDC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35237 { (char *)"PseudoDC_SetBackground", (PyCFunction
) _wrap_PseudoDC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35238 { (char *)"PseudoDC_SetBackgroundMode", (PyCFunction
) _wrap_PseudoDC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35239 { (char *)"PseudoDC_SetPalette", (PyCFunction
) _wrap_PseudoDC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35240 { (char *)"PseudoDC_SetTextForeground", (PyCFunction
) _wrap_PseudoDC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35241 { (char *)"PseudoDC_SetTextBackground", (PyCFunction
) _wrap_PseudoDC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35242 { (char *)"PseudoDC_SetLogicalFunction", (PyCFunction
) _wrap_PseudoDC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35243 { (char *)"PseudoDC_swigregister", PseudoDC_swigregister
, METH_VARARGS
, NULL
},
35244 { (char *)"PseudoDC_swiginit", PseudoDC_swiginit
, METH_VARARGS
, NULL
},
35245 { NULL
, NULL
, 0, NULL
}
35249 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
35251 static void *_p_wxPaintDCTo_p_wxClientDC(void *x
) {
35252 return (void *)((wxClientDC
*) ((wxPaintDC
*) x
));
35254 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
35255 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
35257 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
35258 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
35260 static void *_p_wxClientDCTo_p_wxWindowDC(void *x
) {
35261 return (void *)((wxWindowDC
*) ((wxClientDC
*) x
));
35263 static void *_p_wxPaintDCTo_p_wxWindowDC(void *x
) {
35264 return (void *)((wxWindowDC
*) (wxClientDC
*) ((wxPaintDC
*) x
));
35266 static void *_p_wxPyLocaleTo_p_wxLocale(void *x
) {
35267 return (void *)((wxLocale
*) ((wxPyLocale
*) x
));
35269 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
35270 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
35272 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
35273 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
35275 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
35276 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
35278 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
35279 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
35281 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
35282 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
35284 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
35285 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
35287 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
35288 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
35290 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
35291 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
35293 static void *_p_wxGCDCTo_p_wxDC(void *x
) {
35294 return (void *)((wxDC
*) ((wxGCDC
*) x
));
35296 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
35297 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
35299 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
35300 return (void *)((wxDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
35302 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
35303 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
35305 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
35306 return (void *)((wxDC
*) ((wxMemoryDC
*) x
));
35308 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
35309 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
35311 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
35312 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
35314 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
35315 return (void *)((wxDC
*) (wxWindowDC
*) ((wxClientDC
*) x
));
35317 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
35318 return (void *)((wxDC
*) (wxWindowDC
*)(wxClientDC
*) ((wxPaintDC
*) x
));
35320 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
35321 return (void *)((wxDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
35323 static void *_p_wxAutoBufferedPaintDCTo_p_wxDC(void *x
) {
35324 return (void *)((wxDC
*) ((wxAutoBufferedPaintDC
*) x
));
35326 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
35327 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
35329 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
35330 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
35332 static void *_p_wxBrushListTo_p_wxGDIObjListBase(void *x
) {
35333 return (void *)((wxGDIObjListBase
*) ((wxBrushList
*) x
));
35335 static void *_p_wxFontListTo_p_wxGDIObjListBase(void *x
) {
35336 return (void *)((wxGDIObjListBase
*) ((wxFontList
*) x
));
35338 static void *_p_wxPenListTo_p_wxGDIObjListBase(void *x
) {
35339 return (void *)((wxGDIObjListBase
*) ((wxPenList
*) x
));
35341 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
35342 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
35344 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
35345 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
35347 static void *_p_wxPenTo_p_wxObject(void *x
) {
35348 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
35350 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
35351 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
35353 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
35354 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
35356 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
35357 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
35359 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
35360 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
35362 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
35363 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
35365 static void *_p_wxIconTo_p_wxObject(void *x
) {
35366 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
35368 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
35369 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
35371 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
35372 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
35374 static void *_p_wxSizerTo_p_wxObject(void *x
) {
35375 return (void *)((wxObject
*) ((wxSizer
*) x
));
35377 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
35378 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
35380 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
35381 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
35383 static void *_p_wxEventTo_p_wxObject(void *x
) {
35384 return (void *)((wxObject
*) ((wxEvent
*) x
));
35386 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
35387 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
35389 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
35390 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
35392 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
35393 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
35395 static void *_p_wxPseudoDCTo_p_wxObject(void *x
) {
35396 return (void *)((wxObject
*) ((wxPseudoDC
*) x
));
35398 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
35399 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
35401 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
35402 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
35404 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
35405 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
35407 static void *_p_wxDCTo_p_wxObject(void *x
) {
35408 return (void *)((wxObject
*) ((wxDC
*) x
));
35410 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
35411 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
35413 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
35414 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
35416 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
35417 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
35419 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
35420 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
35422 static void *_p_wxControlTo_p_wxObject(void *x
) {
35423 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
35425 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
35426 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
35428 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
35429 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*) ((wxClientDC
*) x
));
35431 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
35432 return (void *)((wxObject
*) ((wxFSFile
*) x
));
35434 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
35435 return (void *)((wxObject
*) (wxDC
*) ((wxMemoryDC
*) x
));
35437 static void *_p_wxRegionTo_p_wxObject(void *x
) {
35438 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
35440 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
35441 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
35443 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
35444 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
35446 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
35447 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
35449 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
35450 return (void *)((wxObject
*) ((wxEffects
*) x
));
35452 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
35453 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
35455 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
35456 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
35458 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
35459 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
35461 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
35462 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
35464 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
35465 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
35467 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
35468 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
35470 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
35471 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
35473 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
35474 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
35476 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
35477 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
35479 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
35480 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
35482 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
35483 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
35485 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
35486 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
35488 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
35489 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
35491 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
35492 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
35494 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
35495 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
35497 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
35498 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
35500 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
35501 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
35503 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
35504 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
35506 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
35507 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
35509 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
35510 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
35512 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
35513 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
35515 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
35516 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
35518 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
35519 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
35521 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
35522 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
35524 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
35525 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
35527 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
35528 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
35530 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
35531 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
35533 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
35534 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
35536 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
35537 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
35539 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
35540 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxClientDC
*) ((wxPaintDC
*) x
));
35542 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
35543 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
35545 static void *_p_wxAutoBufferedPaintDCTo_p_wxObject(void *x
) {
35546 return (void *)((wxObject
*) (wxDC
*) ((wxAutoBufferedPaintDC
*) x
));
35548 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
35549 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
35551 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
35552 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
35554 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
35555 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
35557 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
35558 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
35560 static void *_p_wxImageTo_p_wxObject(void *x
) {
35561 return (void *)((wxObject
*) ((wxImage
*) x
));
35563 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
35564 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
35566 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
35567 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
35569 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
35570 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
35572 static void *_p_wxImageListTo_p_wxObject(void *x
) {
35573 return (void *)((wxObject
*) ((wxImageList
*) x
));
35575 static void *_p_wxGCDCTo_p_wxObject(void *x
) {
35576 return (void *)((wxObject
*) (wxDC
*) ((wxGCDC
*) x
));
35578 static void *_p_wxCursorTo_p_wxObject(void *x
) {
35579 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
35581 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
35582 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
35584 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
35585 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
35587 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
35588 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
35590 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
35591 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
35593 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
35594 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
35596 static void *_p_wxWindowTo_p_wxObject(void *x
) {
35597 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
35599 static void *_p_wxMenuTo_p_wxObject(void *x
) {
35600 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
35602 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
35603 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
35605 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
35606 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
35608 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
35609 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
35611 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
35612 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
35614 static void *_p_wxMaskTo_p_wxObject(void *x
) {
35615 return (void *)((wxObject
*) ((wxMask
*) x
));
35617 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
35618 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
35620 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
35621 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
35623 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
35624 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
35626 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
35627 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
35629 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
35630 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
35632 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
35633 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
35635 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
35636 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
35638 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
35639 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
35641 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
35642 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
35644 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
35645 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
35647 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
35648 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
35650 static void *_p_wxFontTo_p_wxObject(void *x
) {
35651 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
35653 static void *_p_wxBrushTo_p_wxObject(void *x
) {
35654 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
35656 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
35657 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
35659 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
35660 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
35662 static void *_p_wxColourTo_p_wxObject(void *x
) {
35663 return (void *)((wxObject
*) ((wxColour
*) x
));
35665 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
35666 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
35668 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
35669 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
35671 static void *_p_wxControlTo_p_wxWindow(void *x
) {
35672 return (void *)((wxWindow
*) ((wxControl
*) x
));
35674 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
35675 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
35677 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
35678 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
35680 static void *_p_wxNativePixelDataTo_p_wxPixelDataBase(void *x
) {
35681 return (void *)((wxPixelDataBase
*) ((wxNativePixelData
*) x
));
35683 static void *_p_wxAlphaPixelDataTo_p_wxPixelDataBase(void *x
) {
35684 return (void *)((wxPixelDataBase
*) ((wxAlphaPixelData
*) x
));
35686 static swig_type_info _swigt__p_buffer
= {"_p_buffer", "buffer *", 0, 0, (void*)0, 0};
35687 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
35688 static swig_type_info _swigt__p_double
= {"_p_double", "double *|wxDouble *", 0, 0, (void*)0, 0};
35689 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};
35690 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
35691 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
35692 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
35693 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
35694 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
35695 static swig_type_info _swigt__p_wxAlphaPixelData
= {"_p_wxAlphaPixelData", "wxAlphaPixelData *", 0, 0, (void*)0, 0};
35696 static swig_type_info _swigt__p_wxAlphaPixelData_Accessor
= {"_p_wxAlphaPixelData_Accessor", "wxAlphaPixelData_Accessor *", 0, 0, (void*)0, 0};
35697 static swig_type_info _swigt__p_wxAutoBufferedPaintDC
= {"_p_wxAutoBufferedPaintDC", "wxAutoBufferedPaintDC *", 0, 0, (void*)0, 0};
35698 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
35699 static swig_type_info _swigt__p_wxBrush
= {"_p_wxBrush", "wxBrush *", 0, 0, (void*)0, 0};
35700 static swig_type_info _swigt__p_wxBrushList
= {"_p_wxBrushList", "wxBrushList *", 0, 0, (void*)0, 0};
35701 static swig_type_info _swigt__p_wxBufferedDC
= {"_p_wxBufferedDC", "wxBufferedDC *", 0, 0, (void*)0, 0};
35702 static swig_type_info _swigt__p_wxBufferedPaintDC
= {"_p_wxBufferedPaintDC", "wxBufferedPaintDC *", 0, 0, (void*)0, 0};
35703 static swig_type_info _swigt__p_wxChar
= {"_p_wxChar", "wxChar *", 0, 0, (void*)0, 0};
35704 static swig_type_info _swigt__p_wxClientDC
= {"_p_wxClientDC", "wxClientDC *", 0, 0, (void*)0, 0};
35705 static swig_type_info _swigt__p_wxColor
= {"_p_wxColor", "wxColor *", 0, 0, (void*)0, 0};
35706 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
35707 static swig_type_info _swigt__p_wxColourDatabase
= {"_p_wxColourDatabase", "wxColourDatabase *", 0, 0, (void*)0, 0};
35708 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
35709 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
35710 static swig_type_info _swigt__p_wxDCOverlay
= {"_p_wxDCOverlay", "wxDCOverlay *", 0, 0, (void*)0, 0};
35711 static swig_type_info _swigt__p_wxDash
= {"_p_wxDash", "wxDash *", 0, 0, (void*)0, 0};
35712 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
35713 static swig_type_info _swigt__p_wxEffects
= {"_p_wxEffects", "wxEffects *", 0, 0, (void*)0, 0};
35714 static swig_type_info _swigt__p_wxEncodingConverter
= {"_p_wxEncodingConverter", "wxEncodingConverter *", 0, 0, (void*)0, 0};
35715 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
35716 static swig_type_info _swigt__p_wxFontList
= {"_p_wxFontList", "wxFontList *", 0, 0, (void*)0, 0};
35717 static swig_type_info _swigt__p_wxFontMapper
= {"_p_wxFontMapper", "wxFontMapper *", 0, 0, (void*)0, 0};
35718 static swig_type_info _swigt__p_wxGCDC
= {"_p_wxGCDC", "wxGCDC *", 0, 0, (void*)0, 0};
35719 static swig_type_info _swigt__p_wxGDIObjListBase
= {"_p_wxGDIObjListBase", "wxGDIObjListBase *", 0, 0, (void*)0, 0};
35720 static swig_type_info _swigt__p_wxGDIObject
= {"_p_wxGDIObject", "wxGDIObject *", 0, 0, (void*)0, 0};
35721 static swig_type_info _swigt__p_wxGraphicsContext
= {"_p_wxGraphicsContext", "wxGraphicsContext *", 0, 0, (void*)0, 0};
35722 static swig_type_info _swigt__p_wxGraphicsPath
= {"_p_wxGraphicsPath", "wxGraphicsPath *", 0, 0, (void*)0, 0};
35723 static swig_type_info _swigt__p_wxHeaderButtonParams
= {"_p_wxHeaderButtonParams", "wxHeaderButtonParams *", 0, 0, (void*)0, 0};
35724 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
35725 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
35726 static swig_type_info _swigt__p_wxIconLocation
= {"_p_wxIconLocation", "wxIconLocation *", 0, 0, (void*)0, 0};
35727 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", "wxImage *", 0, 0, (void*)0, 0};
35728 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
35729 static swig_type_info _swigt__p_wxLanguageInfo
= {"_p_wxLanguageInfo", "wxLanguageInfo *", 0, 0, (void*)0, 0};
35730 static swig_type_info _swigt__p_wxLocale
= {"_p_wxLocale", "wxLocale *", 0, 0, (void*)0, 0};
35731 static swig_type_info _swigt__p_wxMask
= {"_p_wxMask", "wxMask *", 0, 0, (void*)0, 0};
35732 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
35733 static swig_type_info _swigt__p_wxMetaFile
= {"_p_wxMetaFile", "wxMetaFile *", 0, 0, (void*)0, 0};
35734 static swig_type_info _swigt__p_wxMetaFileDC
= {"_p_wxMetaFileDC", "wxMetaFileDC *", 0, 0, (void*)0, 0};
35735 static swig_type_info _swigt__p_wxMirrorDC
= {"_p_wxMirrorDC", "wxMirrorDC *", 0, 0, (void*)0, 0};
35736 static swig_type_info _swigt__p_wxNativeEncodingInfo
= {"_p_wxNativeEncodingInfo", "wxNativeEncodingInfo *", 0, 0, (void*)0, 0};
35737 static swig_type_info _swigt__p_wxNativeFontInfo
= {"_p_wxNativeFontInfo", "wxNativeFontInfo *", 0, 0, (void*)0, 0};
35738 static swig_type_info _swigt__p_wxNativePixelData
= {"_p_wxNativePixelData", "wxNativePixelData *", 0, 0, (void*)0, 0};
35739 static swig_type_info _swigt__p_wxNativePixelData_Accessor
= {"_p_wxNativePixelData_Accessor", "wxNativePixelData_Accessor *", 0, 0, (void*)0, 0};
35740 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
35741 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
35742 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
35743 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
35744 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
35745 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
35746 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
35747 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
35748 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
35749 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
35750 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
35751 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
35752 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", 0, 0, 0, 0, 0};
35753 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
35754 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
35755 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
35756 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
35757 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
35758 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
35759 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
35760 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
35761 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
35762 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
35763 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
35764 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
35765 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
35766 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
35767 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
35768 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
35769 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
35770 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
35771 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
35772 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
35773 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
35774 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
35775 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
35776 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
35777 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
35778 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
35779 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
35780 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
35781 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
35782 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
35783 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
35784 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
35785 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
35786 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", 0, 0, 0, 0, 0};
35787 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
35788 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
35789 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
35790 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
35791 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
35792 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
35793 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
35794 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
35795 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
35796 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
35797 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
35798 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
35799 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
35800 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
35801 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
35802 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
35803 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
35804 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
35805 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
35806 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
35807 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
35808 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
35809 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
35810 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0, 0};
35811 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
35812 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
35813 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
35814 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
35815 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
35816 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
35817 static swig_type_info _swigt__p_wxOverlay
= {"_p_wxOverlay", "wxOverlay *", 0, 0, (void*)0, 0};
35818 static swig_type_info _swigt__p_wxPaintDC
= {"_p_wxPaintDC", "wxPaintDC *", 0, 0, (void*)0, 0};
35819 static swig_type_info _swigt__p_wxPalette
= {"_p_wxPalette", "wxPalette *", 0, 0, (void*)0, 0};
35820 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
35821 static swig_type_info _swigt__p_wxPen
= {"_p_wxPen", "wxPen *", 0, 0, (void*)0, 0};
35822 static swig_type_info _swigt__p_wxPenList
= {"_p_wxPenList", "wxPenList *", 0, 0, (void*)0, 0};
35823 static swig_type_info _swigt__p_wxPixelDataBase
= {"_p_wxPixelDataBase", "wxPixelDataBase *", 0, 0, (void*)0, 0};
35824 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
35825 static swig_type_info _swigt__p_wxPoint2D
= {"_p_wxPoint2D", "wxPoint2D *", 0, 0, (void*)0, 0};
35826 static swig_type_info _swigt__p_wxPostScriptDC
= {"_p_wxPostScriptDC", "wxPostScriptDC *", 0, 0, (void*)0, 0};
35827 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
35828 static swig_type_info _swigt__p_wxPrinterDC
= {"_p_wxPrinterDC", "wxPrinterDC *", 0, 0, (void*)0, 0};
35829 static swig_type_info _swigt__p_wxPseudoDC
= {"_p_wxPseudoDC", "wxPseudoDC *", 0, 0, (void*)0, 0};
35830 static swig_type_info _swigt__p_wxPyFontEnumerator
= {"_p_wxPyFontEnumerator", "wxPyFontEnumerator *", 0, 0, (void*)0, 0};
35831 static swig_type_info _swigt__p_wxPyLocale
= {"_p_wxPyLocale", "wxPyLocale *", 0, 0, (void*)0, 0};
35832 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
35833 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
35834 static swig_type_info _swigt__p_wxRegionIterator
= {"_p_wxRegionIterator", "wxRegionIterator *", 0, 0, (void*)0, 0};
35835 static swig_type_info _swigt__p_wxRendererNative
= {"_p_wxRendererNative", "wxRendererNative *", 0, 0, (void*)0, 0};
35836 static swig_type_info _swigt__p_wxRendererVersion
= {"_p_wxRendererVersion", "wxRendererVersion *", 0, 0, (void*)0, 0};
35837 static swig_type_info _swigt__p_wxScreenDC
= {"_p_wxScreenDC", "wxScreenDC *", 0, 0, (void*)0, 0};
35838 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
35839 static swig_type_info _swigt__p_wxSplitterRenderParams
= {"_p_wxSplitterRenderParams", "wxSplitterRenderParams *", 0, 0, (void*)0, 0};
35840 static swig_type_info _swigt__p_wxStockGDI
= {"_p_wxStockGDI", "wxStockGDI *", 0, 0, (void*)0, 0};
35841 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
35842 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
35843 static swig_type_info _swigt__p_wxWindowDC
= {"_p_wxWindowDC", "wxWindowDC *", 0, 0, (void*)0, 0};
35845 static swig_type_info
*swig_type_initial
[] = {
35849 &_swigt__p_form_ops_t
,
35851 &_swigt__p_unsigned_char
,
35852 &_swigt__p_unsigned_int
,
35853 &_swigt__p_unsigned_long
,
35855 &_swigt__p_wxANIHandler
,
35856 &_swigt__p_wxAcceleratorTable
,
35857 &_swigt__p_wxActivateEvent
,
35858 &_swigt__p_wxAlphaPixelData
,
35859 &_swigt__p_wxAlphaPixelData_Accessor
,
35860 &_swigt__p_wxAutoBufferedPaintDC
,
35861 &_swigt__p_wxBMPHandler
,
35862 &_swigt__p_wxBitmap
,
35863 &_swigt__p_wxBoxSizer
,
35864 &_swigt__p_wxBrush
,
35865 &_swigt__p_wxBrushList
,
35866 &_swigt__p_wxBufferedDC
,
35867 &_swigt__p_wxBufferedPaintDC
,
35868 &_swigt__p_wxCURHandler
,
35870 &_swigt__p_wxChildFocusEvent
,
35871 &_swigt__p_wxClientDC
,
35872 &_swigt__p_wxClipboardTextEvent
,
35873 &_swigt__p_wxCloseEvent
,
35874 &_swigt__p_wxColor
,
35875 &_swigt__p_wxColour
,
35876 &_swigt__p_wxColourDatabase
,
35877 &_swigt__p_wxCommandEvent
,
35878 &_swigt__p_wxContextMenuEvent
,
35879 &_swigt__p_wxControl
,
35880 &_swigt__p_wxControlWithItems
,
35881 &_swigt__p_wxCursor
,
35883 &_swigt__p_wxDCOverlay
,
35885 &_swigt__p_wxDateEvent
,
35886 &_swigt__p_wxDisplayChangedEvent
,
35887 &_swigt__p_wxDropFilesEvent
,
35888 &_swigt__p_wxDuplexMode
,
35889 &_swigt__p_wxEffects
,
35890 &_swigt__p_wxEncodingConverter
,
35891 &_swigt__p_wxEraseEvent
,
35892 &_swigt__p_wxEvent
,
35893 &_swigt__p_wxEvtHandler
,
35894 &_swigt__p_wxFSFile
,
35895 &_swigt__p_wxFileSystem
,
35896 &_swigt__p_wxFlexGridSizer
,
35897 &_swigt__p_wxFocusEvent
,
35899 &_swigt__p_wxFontList
,
35900 &_swigt__p_wxFontMapper
,
35901 &_swigt__p_wxGBSizerItem
,
35903 &_swigt__p_wxGDIObjListBase
,
35904 &_swigt__p_wxGDIObject
,
35905 &_swigt__p_wxGIFHandler
,
35906 &_swigt__p_wxGraphicsContext
,
35907 &_swigt__p_wxGraphicsPath
,
35908 &_swigt__p_wxGridBagSizer
,
35909 &_swigt__p_wxGridSizer
,
35910 &_swigt__p_wxHeaderButtonParams
,
35911 &_swigt__p_wxICOHandler
,
35913 &_swigt__p_wxIconBundle
,
35914 &_swigt__p_wxIconLocation
,
35915 &_swigt__p_wxIconizeEvent
,
35916 &_swigt__p_wxIdleEvent
,
35917 &_swigt__p_wxImage
,
35918 &_swigt__p_wxImageHandler
,
35919 &_swigt__p_wxImageList
,
35920 &_swigt__p_wxIndividualLayoutConstraint
,
35921 &_swigt__p_wxInitDialogEvent
,
35922 &_swigt__p_wxJPEGHandler
,
35923 &_swigt__p_wxKeyEvent
,
35924 &_swigt__p_wxLanguageInfo
,
35925 &_swigt__p_wxLayoutConstraints
,
35926 &_swigt__p_wxLocale
,
35928 &_swigt__p_wxMaximizeEvent
,
35929 &_swigt__p_wxMemoryDC
,
35931 &_swigt__p_wxMenuBar
,
35932 &_swigt__p_wxMenuEvent
,
35933 &_swigt__p_wxMenuItem
,
35934 &_swigt__p_wxMetaFile
,
35935 &_swigt__p_wxMetaFileDC
,
35936 &_swigt__p_wxMirrorDC
,
35937 &_swigt__p_wxMouseCaptureChangedEvent
,
35938 &_swigt__p_wxMouseCaptureLostEvent
,
35939 &_swigt__p_wxMouseEvent
,
35940 &_swigt__p_wxMoveEvent
,
35941 &_swigt__p_wxNativeEncodingInfo
,
35942 &_swigt__p_wxNativeFontInfo
,
35943 &_swigt__p_wxNativePixelData
,
35944 &_swigt__p_wxNativePixelData_Accessor
,
35945 &_swigt__p_wxNavigationKeyEvent
,
35946 &_swigt__p_wxNcPaintEvent
,
35947 &_swigt__p_wxNotifyEvent
,
35948 &_swigt__p_wxObject
,
35949 &_swigt__p_wxOverlay
,
35950 &_swigt__p_wxPCXHandler
,
35951 &_swigt__p_wxPNGHandler
,
35952 &_swigt__p_wxPNMHandler
,
35953 &_swigt__p_wxPaintDC
,
35954 &_swigt__p_wxPaintEvent
,
35955 &_swigt__p_wxPalette
,
35956 &_swigt__p_wxPaletteChangedEvent
,
35957 &_swigt__p_wxPaperSize
,
35959 &_swigt__p_wxPenList
,
35960 &_swigt__p_wxPixelDataBase
,
35961 &_swigt__p_wxPoint
,
35962 &_swigt__p_wxPoint2D
,
35963 &_swigt__p_wxPostScriptDC
,
35964 &_swigt__p_wxPrintData
,
35965 &_swigt__p_wxPrinterDC
,
35966 &_swigt__p_wxPseudoDC
,
35967 &_swigt__p_wxPyApp
,
35968 &_swigt__p_wxPyCommandEvent
,
35969 &_swigt__p_wxPyEvent
,
35970 &_swigt__p_wxPyFontEnumerator
,
35971 &_swigt__p_wxPyImageHandler
,
35972 &_swigt__p_wxPyLocale
,
35973 &_swigt__p_wxPySizer
,
35974 &_swigt__p_wxPyValidator
,
35975 &_swigt__p_wxQueryNewPaletteEvent
,
35977 &_swigt__p_wxRegion
,
35978 &_swigt__p_wxRegionIterator
,
35979 &_swigt__p_wxRendererNative
,
35980 &_swigt__p_wxRendererVersion
,
35981 &_swigt__p_wxScreenDC
,
35982 &_swigt__p_wxScrollEvent
,
35983 &_swigt__p_wxScrollWinEvent
,
35984 &_swigt__p_wxSetCursorEvent
,
35985 &_swigt__p_wxShowEvent
,
35987 &_swigt__p_wxSizeEvent
,
35988 &_swigt__p_wxSizer
,
35989 &_swigt__p_wxSizerItem
,
35990 &_swigt__p_wxSplitterRenderParams
,
35991 &_swigt__p_wxStaticBoxSizer
,
35992 &_swigt__p_wxStdDialogButtonSizer
,
35993 &_swigt__p_wxStockGDI
,
35994 &_swigt__p_wxString
,
35995 &_swigt__p_wxSysColourChangedEvent
,
35996 &_swigt__p_wxTIFFHandler
,
35997 &_swigt__p_wxUpdateUIEvent
,
35998 &_swigt__p_wxValidator
,
35999 &_swigt__p_wxWindow
,
36000 &_swigt__p_wxWindowCreateEvent
,
36001 &_swigt__p_wxWindowDC
,
36002 &_swigt__p_wxWindowDestroyEvent
,
36003 &_swigt__p_wxXPMHandler
,
36006 static swig_cast_info _swigc__p_buffer
[] = { {&_swigt__p_buffer
, 0, 0, 0},{0, 0, 0, 0}};
36007 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
36008 static swig_cast_info _swigc__p_double
[] = { {&_swigt__p_double
, 0, 0, 0},{0, 0, 0, 0}};
36009 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
36010 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
36011 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
36012 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
36013 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
36014 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
36015 static swig_cast_info _swigc__p_wxAlphaPixelData
[] = { {&_swigt__p_wxAlphaPixelData
, 0, 0, 0},{0, 0, 0, 0}};
36016 static swig_cast_info _swigc__p_wxAlphaPixelData_Accessor
[] = { {&_swigt__p_wxAlphaPixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
36017 static swig_cast_info _swigc__p_wxAutoBufferedPaintDC
[] = { {&_swigt__p_wxAutoBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
36018 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
36019 static swig_cast_info _swigc__p_wxBrush
[] = { {&_swigt__p_wxBrush
, 0, 0, 0},{0, 0, 0, 0}};
36020 static swig_cast_info _swigc__p_wxBrushList
[] = { {&_swigt__p_wxBrushList
, 0, 0, 0},{0, 0, 0, 0}};
36021 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}};
36022 static swig_cast_info _swigc__p_wxBufferedPaintDC
[] = { {&_swigt__p_wxBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
36023 static swig_cast_info _swigc__p_wxChar
[] = { {&_swigt__p_wxChar
, 0, 0, 0},{0, 0, 0, 0}};
36024 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}};
36025 static swig_cast_info _swigc__p_wxColor
[] = { {&_swigt__p_wxColor
, 0, 0, 0},{0, 0, 0, 0}};
36026 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
36027 static swig_cast_info _swigc__p_wxColourDatabase
[] = { {&_swigt__p_wxColourDatabase
, 0, 0, 0},{0, 0, 0, 0}};
36028 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
36029 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}};
36030 static swig_cast_info _swigc__p_wxDCOverlay
[] = { {&_swigt__p_wxDCOverlay
, 0, 0, 0},{0, 0, 0, 0}};
36031 static swig_cast_info _swigc__p_wxDash
[] = { {&_swigt__p_wxDash
, 0, 0, 0},{0, 0, 0, 0}};
36032 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
36033 static swig_cast_info _swigc__p_wxEffects
[] = { {&_swigt__p_wxEffects
, 0, 0, 0},{0, 0, 0, 0}};
36034 static swig_cast_info _swigc__p_wxEncodingConverter
[] = { {&_swigt__p_wxEncodingConverter
, 0, 0, 0},{0, 0, 0, 0}};
36035 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
36036 static swig_cast_info _swigc__p_wxFontList
[] = { {&_swigt__p_wxFontList
, 0, 0, 0},{0, 0, 0, 0}};
36037 static swig_cast_info _swigc__p_wxFontMapper
[] = { {&_swigt__p_wxFontMapper
, 0, 0, 0},{0, 0, 0, 0}};
36038 static swig_cast_info _swigc__p_wxGCDC
[] = { {&_swigt__p_wxGCDC
, 0, 0, 0},{0, 0, 0, 0}};
36039 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}};
36040 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}};
36041 static swig_cast_info _swigc__p_wxGraphicsContext
[] = { {&_swigt__p_wxGraphicsContext
, 0, 0, 0},{0, 0, 0, 0}};
36042 static swig_cast_info _swigc__p_wxGraphicsPath
[] = { {&_swigt__p_wxGraphicsPath
, 0, 0, 0},{0, 0, 0, 0}};
36043 static swig_cast_info _swigc__p_wxHeaderButtonParams
[] = { {&_swigt__p_wxHeaderButtonParams
, 0, 0, 0},{0, 0, 0, 0}};
36044 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
36045 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
36046 static swig_cast_info _swigc__p_wxIconLocation
[] = { {&_swigt__p_wxIconLocation
, 0, 0, 0},{0, 0, 0, 0}};
36047 static swig_cast_info _swigc__p_wxImage
[] = { {&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
36048 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
36049 static swig_cast_info _swigc__p_wxLanguageInfo
[] = { {&_swigt__p_wxLanguageInfo
, 0, 0, 0},{0, 0, 0, 0}};
36050 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}};
36051 static swig_cast_info _swigc__p_wxMask
[] = { {&_swigt__p_wxMask
, 0, 0, 0},{0, 0, 0, 0}};
36052 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}};
36053 static swig_cast_info _swigc__p_wxMetaFile
[] = { {&_swigt__p_wxMetaFile
, 0, 0, 0},{0, 0, 0, 0}};
36054 static swig_cast_info _swigc__p_wxMetaFileDC
[] = { {&_swigt__p_wxMetaFileDC
, 0, 0, 0},{0, 0, 0, 0}};
36055 static swig_cast_info _swigc__p_wxMirrorDC
[] = { {&_swigt__p_wxMirrorDC
, 0, 0, 0},{0, 0, 0, 0}};
36056 static swig_cast_info _swigc__p_wxNativeEncodingInfo
[] = { {&_swigt__p_wxNativeEncodingInfo
, 0, 0, 0},{0, 0, 0, 0}};
36057 static swig_cast_info _swigc__p_wxNativeFontInfo
[] = { {&_swigt__p_wxNativeFontInfo
, 0, 0, 0},{0, 0, 0, 0}};
36058 static swig_cast_info _swigc__p_wxNativePixelData
[] = { {&_swigt__p_wxNativePixelData
, 0, 0, 0},{0, 0, 0, 0}};
36059 static swig_cast_info _swigc__p_wxNativePixelData_Accessor
[] = { {&_swigt__p_wxNativePixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
36060 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
36061 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
36062 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
36063 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
36064 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
36065 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
36066 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
36067 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
36068 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
36069 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
36070 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
36071 static swig_cast_info _swigc__p_wxEvent
[] = {{&_swigt__p_wxEvent
, 0, 0, 0},{0, 0, 0, 0}};
36072 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
36073 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
36074 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
36075 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
36076 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
36077 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
36078 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
36079 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
36080 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
36081 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
36082 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
36083 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
36084 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
36085 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
36086 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
36087 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
36088 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
36089 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
36090 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
36091 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
36092 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
36093 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
36094 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
36095 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
36096 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
36097 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
36098 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
36099 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
36100 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
36101 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
36102 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
36103 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
36104 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
36105 static swig_cast_info _swigc__p_wxEvtHandler
[] = {{&_swigt__p_wxEvtHandler
, 0, 0, 0},{0, 0, 0, 0}};
36106 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
36107 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
36108 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
36109 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
36110 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
36111 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
36112 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
36113 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
36114 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
36115 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
36116 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
36117 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
36118 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
36119 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
36120 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
36121 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
36122 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
36123 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
36124 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
36125 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
36126 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
36127 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
36128 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
36129 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
36130 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
36131 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
36132 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
36133 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
36134 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
36135 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
36136 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}};
36137 static swig_cast_info _swigc__p_wxOverlay
[] = { {&_swigt__p_wxOverlay
, 0, 0, 0},{0, 0, 0, 0}};
36138 static swig_cast_info _swigc__p_wxPaintDC
[] = { {&_swigt__p_wxPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
36139 static swig_cast_info _swigc__p_wxPalette
[] = { {&_swigt__p_wxPalette
, 0, 0, 0},{0, 0, 0, 0}};
36140 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
36141 static swig_cast_info _swigc__p_wxPen
[] = { {&_swigt__p_wxPen
, 0, 0, 0},{0, 0, 0, 0}};
36142 static swig_cast_info _swigc__p_wxPenList
[] = { {&_swigt__p_wxPenList
, 0, 0, 0},{0, 0, 0, 0}};
36143 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}};
36144 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
36145 static swig_cast_info _swigc__p_wxPoint2D
[] = { {&_swigt__p_wxPoint2D
, 0, 0, 0},{0, 0, 0, 0}};
36146 static swig_cast_info _swigc__p_wxPostScriptDC
[] = { {&_swigt__p_wxPostScriptDC
, 0, 0, 0},{0, 0, 0, 0}};
36147 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
36148 static swig_cast_info _swigc__p_wxPrinterDC
[] = { {&_swigt__p_wxPrinterDC
, 0, 0, 0},{0, 0, 0, 0}};
36149 static swig_cast_info _swigc__p_wxPseudoDC
[] = { {&_swigt__p_wxPseudoDC
, 0, 0, 0},{0, 0, 0, 0}};
36150 static swig_cast_info _swigc__p_wxPyFontEnumerator
[] = { {&_swigt__p_wxPyFontEnumerator
, 0, 0, 0},{0, 0, 0, 0}};
36151 static swig_cast_info _swigc__p_wxPyLocale
[] = { {&_swigt__p_wxPyLocale
, 0, 0, 0},{0, 0, 0, 0}};
36152 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
36153 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
36154 static swig_cast_info _swigc__p_wxRegionIterator
[] = { {&_swigt__p_wxRegionIterator
, 0, 0, 0},{0, 0, 0, 0}};
36155 static swig_cast_info _swigc__p_wxRendererNative
[] = { {&_swigt__p_wxRendererNative
, 0, 0, 0},{0, 0, 0, 0}};
36156 static swig_cast_info _swigc__p_wxRendererVersion
[] = { {&_swigt__p_wxRendererVersion
, 0, 0, 0},{0, 0, 0, 0}};
36157 static swig_cast_info _swigc__p_wxScreenDC
[] = { {&_swigt__p_wxScreenDC
, 0, 0, 0},{0, 0, 0, 0}};
36158 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
36159 static swig_cast_info _swigc__p_wxSplitterRenderParams
[] = { {&_swigt__p_wxSplitterRenderParams
, 0, 0, 0},{0, 0, 0, 0}};
36160 static swig_cast_info _swigc__p_wxStockGDI
[] = { {&_swigt__p_wxStockGDI
, 0, 0, 0},{0, 0, 0, 0}};
36161 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
36162 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}};
36163 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}};
36165 static swig_cast_info
*swig_cast_initial
[] = {
36169 _swigc__p_form_ops_t
,
36171 _swigc__p_unsigned_char
,
36172 _swigc__p_unsigned_int
,
36173 _swigc__p_unsigned_long
,
36175 _swigc__p_wxANIHandler
,
36176 _swigc__p_wxAcceleratorTable
,
36177 _swigc__p_wxActivateEvent
,
36178 _swigc__p_wxAlphaPixelData
,
36179 _swigc__p_wxAlphaPixelData_Accessor
,
36180 _swigc__p_wxAutoBufferedPaintDC
,
36181 _swigc__p_wxBMPHandler
,
36182 _swigc__p_wxBitmap
,
36183 _swigc__p_wxBoxSizer
,
36185 _swigc__p_wxBrushList
,
36186 _swigc__p_wxBufferedDC
,
36187 _swigc__p_wxBufferedPaintDC
,
36188 _swigc__p_wxCURHandler
,
36190 _swigc__p_wxChildFocusEvent
,
36191 _swigc__p_wxClientDC
,
36192 _swigc__p_wxClipboardTextEvent
,
36193 _swigc__p_wxCloseEvent
,
36195 _swigc__p_wxColour
,
36196 _swigc__p_wxColourDatabase
,
36197 _swigc__p_wxCommandEvent
,
36198 _swigc__p_wxContextMenuEvent
,
36199 _swigc__p_wxControl
,
36200 _swigc__p_wxControlWithItems
,
36201 _swigc__p_wxCursor
,
36203 _swigc__p_wxDCOverlay
,
36205 _swigc__p_wxDateEvent
,
36206 _swigc__p_wxDisplayChangedEvent
,
36207 _swigc__p_wxDropFilesEvent
,
36208 _swigc__p_wxDuplexMode
,
36209 _swigc__p_wxEffects
,
36210 _swigc__p_wxEncodingConverter
,
36211 _swigc__p_wxEraseEvent
,
36213 _swigc__p_wxEvtHandler
,
36214 _swigc__p_wxFSFile
,
36215 _swigc__p_wxFileSystem
,
36216 _swigc__p_wxFlexGridSizer
,
36217 _swigc__p_wxFocusEvent
,
36219 _swigc__p_wxFontList
,
36220 _swigc__p_wxFontMapper
,
36221 _swigc__p_wxGBSizerItem
,
36223 _swigc__p_wxGDIObjListBase
,
36224 _swigc__p_wxGDIObject
,
36225 _swigc__p_wxGIFHandler
,
36226 _swigc__p_wxGraphicsContext
,
36227 _swigc__p_wxGraphicsPath
,
36228 _swigc__p_wxGridBagSizer
,
36229 _swigc__p_wxGridSizer
,
36230 _swigc__p_wxHeaderButtonParams
,
36231 _swigc__p_wxICOHandler
,
36233 _swigc__p_wxIconBundle
,
36234 _swigc__p_wxIconLocation
,
36235 _swigc__p_wxIconizeEvent
,
36236 _swigc__p_wxIdleEvent
,
36238 _swigc__p_wxImageHandler
,
36239 _swigc__p_wxImageList
,
36240 _swigc__p_wxIndividualLayoutConstraint
,
36241 _swigc__p_wxInitDialogEvent
,
36242 _swigc__p_wxJPEGHandler
,
36243 _swigc__p_wxKeyEvent
,
36244 _swigc__p_wxLanguageInfo
,
36245 _swigc__p_wxLayoutConstraints
,
36246 _swigc__p_wxLocale
,
36248 _swigc__p_wxMaximizeEvent
,
36249 _swigc__p_wxMemoryDC
,
36251 _swigc__p_wxMenuBar
,
36252 _swigc__p_wxMenuEvent
,
36253 _swigc__p_wxMenuItem
,
36254 _swigc__p_wxMetaFile
,
36255 _swigc__p_wxMetaFileDC
,
36256 _swigc__p_wxMirrorDC
,
36257 _swigc__p_wxMouseCaptureChangedEvent
,
36258 _swigc__p_wxMouseCaptureLostEvent
,
36259 _swigc__p_wxMouseEvent
,
36260 _swigc__p_wxMoveEvent
,
36261 _swigc__p_wxNativeEncodingInfo
,
36262 _swigc__p_wxNativeFontInfo
,
36263 _swigc__p_wxNativePixelData
,
36264 _swigc__p_wxNativePixelData_Accessor
,
36265 _swigc__p_wxNavigationKeyEvent
,
36266 _swigc__p_wxNcPaintEvent
,
36267 _swigc__p_wxNotifyEvent
,
36268 _swigc__p_wxObject
,
36269 _swigc__p_wxOverlay
,
36270 _swigc__p_wxPCXHandler
,
36271 _swigc__p_wxPNGHandler
,
36272 _swigc__p_wxPNMHandler
,
36273 _swigc__p_wxPaintDC
,
36274 _swigc__p_wxPaintEvent
,
36275 _swigc__p_wxPalette
,
36276 _swigc__p_wxPaletteChangedEvent
,
36277 _swigc__p_wxPaperSize
,
36279 _swigc__p_wxPenList
,
36280 _swigc__p_wxPixelDataBase
,
36282 _swigc__p_wxPoint2D
,
36283 _swigc__p_wxPostScriptDC
,
36284 _swigc__p_wxPrintData
,
36285 _swigc__p_wxPrinterDC
,
36286 _swigc__p_wxPseudoDC
,
36288 _swigc__p_wxPyCommandEvent
,
36289 _swigc__p_wxPyEvent
,
36290 _swigc__p_wxPyFontEnumerator
,
36291 _swigc__p_wxPyImageHandler
,
36292 _swigc__p_wxPyLocale
,
36293 _swigc__p_wxPySizer
,
36294 _swigc__p_wxPyValidator
,
36295 _swigc__p_wxQueryNewPaletteEvent
,
36297 _swigc__p_wxRegion
,
36298 _swigc__p_wxRegionIterator
,
36299 _swigc__p_wxRendererNative
,
36300 _swigc__p_wxRendererVersion
,
36301 _swigc__p_wxScreenDC
,
36302 _swigc__p_wxScrollEvent
,
36303 _swigc__p_wxScrollWinEvent
,
36304 _swigc__p_wxSetCursorEvent
,
36305 _swigc__p_wxShowEvent
,
36307 _swigc__p_wxSizeEvent
,
36309 _swigc__p_wxSizerItem
,
36310 _swigc__p_wxSplitterRenderParams
,
36311 _swigc__p_wxStaticBoxSizer
,
36312 _swigc__p_wxStdDialogButtonSizer
,
36313 _swigc__p_wxStockGDI
,
36314 _swigc__p_wxString
,
36315 _swigc__p_wxSysColourChangedEvent
,
36316 _swigc__p_wxTIFFHandler
,
36317 _swigc__p_wxUpdateUIEvent
,
36318 _swigc__p_wxValidator
,
36319 _swigc__p_wxWindow
,
36320 _swigc__p_wxWindowCreateEvent
,
36321 _swigc__p_wxWindowDC
,
36322 _swigc__p_wxWindowDestroyEvent
,
36323 _swigc__p_wxXPMHandler
,
36327 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
36329 static swig_const_info swig_const_table
[] = {
36330 {0, 0, 0, 0.0, 0, 0}};
36335 /* -----------------------------------------------------------------------------
36336 * Type initialization:
36337 * This problem is tough by the requirement that no dynamic
36338 * memory is used. Also, since swig_type_info structures store pointers to
36339 * swig_cast_info structures and swig_cast_info structures store pointers back
36340 * to swig_type_info structures, we need some lookup code at initialization.
36341 * The idea is that swig generates all the structures that are needed.
36342 * The runtime then collects these partially filled structures.
36343 * The SWIG_InitializeModule function takes these initial arrays out of
36344 * swig_module, and does all the lookup, filling in the swig_module.types
36345 * array with the correct data and linking the correct swig_cast_info
36346 * structures together.
36348 * The generated swig_type_info structures are assigned staticly to an initial
36349 * array. We just loop though that array, and handle each type individually.
36350 * First we lookup if this type has been already loaded, and if so, use the
36351 * loaded structure instead of the generated one. Then we have to fill in the
36352 * cast linked list. The cast data is initially stored in something like a
36353 * two-dimensional array. Each row corresponds to a type (there are the same
36354 * number of rows as there are in the swig_type_initial array). Each entry in
36355 * a column is one of the swig_cast_info structures for that type.
36356 * The cast_initial array is actually an array of arrays, because each row has
36357 * a variable number of columns. So to actually build the cast linked list,
36358 * we find the array of casts associated with the type, and loop through it
36359 * adding the casts to the list. The one last trick we need to do is making
36360 * sure the type pointer in the swig_cast_info struct is correct.
36362 * First off, we lookup the cast->type name to see if it is already loaded.
36363 * There are three cases to handle:
36364 * 1) If the cast->type has already been loaded AND the type we are adding
36365 * casting info to has not been loaded (it is in this module), THEN we
36366 * replace the cast->type pointer with the type pointer that has already
36368 * 2) If BOTH types (the one we are adding casting info to, and the
36369 * cast->type) are loaded, THEN the cast info has already been loaded by
36370 * the previous module so we just ignore it.
36371 * 3) Finally, if cast->type has not already been loaded, then we add that
36372 * swig_cast_info to the linked list (because the cast->type) pointer will
36374 * ----------------------------------------------------------------------------- */
36384 #define SWIGRUNTIME_DEBUG
36388 SWIG_InitializeModule(void *clientdata
) {
36390 swig_module_info
*module_head
;
36391 static int init_run
= 0;
36393 clientdata
= clientdata
;
36395 if (init_run
) return;
36398 /* Initialize the swig_module */
36399 swig_module
.type_initial
= swig_type_initial
;
36400 swig_module
.cast_initial
= swig_cast_initial
;
36402 /* Try and load any already created modules */
36403 module_head
= SWIG_GetModule(clientdata
);
36405 swig_module
.next
= module_head
->next
;
36406 module_head
->next
= &swig_module
;
36408 /* This is the first module loaded */
36409 swig_module
.next
= &swig_module
;
36410 SWIG_SetModule(clientdata
, &swig_module
);
36413 /* Now work on filling in swig_module.types */
36414 #ifdef SWIGRUNTIME_DEBUG
36415 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
36417 for (i
= 0; i
< swig_module
.size
; ++i
) {
36418 swig_type_info
*type
= 0;
36419 swig_type_info
*ret
;
36420 swig_cast_info
*cast
;
36422 #ifdef SWIGRUNTIME_DEBUG
36423 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
36426 /* if there is another module already loaded */
36427 if (swig_module
.next
!= &swig_module
) {
36428 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
36431 /* Overwrite clientdata field */
36432 #ifdef SWIGRUNTIME_DEBUG
36433 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
36435 if (swig_module
.type_initial
[i
]->clientdata
) {
36436 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
36437 #ifdef SWIGRUNTIME_DEBUG
36438 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
36442 type
= swig_module
.type_initial
[i
];
36445 /* Insert casting types */
36446 cast
= swig_module
.cast_initial
[i
];
36447 while (cast
->type
) {
36448 /* Don't need to add information already in the list */
36450 #ifdef SWIGRUNTIME_DEBUG
36451 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
36453 if (swig_module
.next
!= &swig_module
) {
36454 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
36455 #ifdef SWIGRUNTIME_DEBUG
36456 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
36460 if (type
== swig_module
.type_initial
[i
]) {
36461 #ifdef SWIGRUNTIME_DEBUG
36462 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
36467 /* Check for casting already in the list */
36468 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
36469 #ifdef SWIGRUNTIME_DEBUG
36470 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
36472 if (!ocast
) ret
= 0;
36477 #ifdef SWIGRUNTIME_DEBUG
36478 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
36481 type
->cast
->prev
= cast
;
36482 cast
->next
= type
->cast
;
36488 /* Set entry in modules->types array equal to the type */
36489 swig_module
.types
[i
] = type
;
36491 swig_module
.types
[i
] = 0;
36493 #ifdef SWIGRUNTIME_DEBUG
36494 printf("**** SWIG_InitializeModule: Cast List ******\n");
36495 for (i
= 0; i
< swig_module
.size
; ++i
) {
36497 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
36498 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
36499 while (cast
->type
) {
36500 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
36504 printf("---- Total casts: %d\n",j
);
36506 printf("**** SWIG_InitializeModule: Cast List ******\n");
36510 /* This function will propagate the clientdata field of type to
36511 * any new swig_type_info structures that have been added into the list
36512 * of equivalent types. It is like calling
36513 * SWIG_TypeClientData(type, clientdata) a second time.
36516 SWIG_PropagateClientData(void) {
36518 swig_cast_info
*equiv
;
36519 static int init_run
= 0;
36521 if (init_run
) return;
36524 for (i
= 0; i
< swig_module
.size
; i
++) {
36525 if (swig_module
.types
[i
]->clientdata
) {
36526 equiv
= swig_module
.types
[i
]->cast
;
36528 if (!equiv
->converter
) {
36529 if (equiv
->type
&& !equiv
->type
->clientdata
)
36530 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
36532 equiv
= equiv
->next
;
36552 /* Python-specific SWIG API */
36553 #define SWIG_newvarlink() SWIG_Python_newvarlink()
36554 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
36555 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
36557 /* -----------------------------------------------------------------------------
36558 * global variable support code.
36559 * ----------------------------------------------------------------------------- */
36561 typedef struct swig_globalvar
{
36562 char *name
; /* Name of global variable */
36563 PyObject
*(*get_attr
)(void); /* Return the current value */
36564 int (*set_attr
)(PyObject
*); /* Set the value */
36565 struct swig_globalvar
*next
;
36568 typedef struct swig_varlinkobject
{
36570 swig_globalvar
*vars
;
36571 } swig_varlinkobject
;
36573 SWIGINTERN PyObject
*
36574 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
36575 return PyString_FromString("<Swig global variables>");
36578 SWIGINTERN PyObject
*
36579 swig_varlink_str(swig_varlinkobject
*v
) {
36580 PyObject
*str
= PyString_FromString("(");
36581 swig_globalvar
*var
;
36582 for (var
= v
->vars
; var
; var
=var
->next
) {
36583 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
36584 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
36586 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
36591 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
36592 PyObject
*str
= swig_varlink_str(v
);
36593 fprintf(fp
,"Swig global variables ");
36594 fprintf(fp
,"%s\n", PyString_AsString(str
));
36600 swig_varlink_dealloc(swig_varlinkobject
*v
) {
36601 swig_globalvar
*var
= v
->vars
;
36603 swig_globalvar
*n
= var
->next
;
36610 SWIGINTERN PyObject
*
36611 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
36612 PyObject
*res
= NULL
;
36613 swig_globalvar
*var
= v
->vars
;
36615 if (strcmp(var
->name
,n
) == 0) {
36616 res
= (*var
->get_attr
)();
36621 if (res
== NULL
&& !PyErr_Occurred()) {
36622 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
36628 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
36630 swig_globalvar
*var
= v
->vars
;
36632 if (strcmp(var
->name
,n
) == 0) {
36633 res
= (*var
->set_attr
)(p
);
36638 if (res
== 1 && !PyErr_Occurred()) {
36639 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
36644 SWIGINTERN PyTypeObject
*
36645 swig_varlink_type(void) {
36646 static char varlink__doc__
[] = "Swig var link object";
36647 static PyTypeObject varlink_type
;
36648 static int type_init
= 0;
36650 const PyTypeObject tmp
36652 PyObject_HEAD_INIT(NULL
)
36653 0, /* Number of items in variable part (ob_size) */
36654 (char *)"swigvarlink", /* Type name (tp_name) */
36655 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
36656 0, /* Itemsize (tp_itemsize) */
36657 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
36658 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
36659 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
36660 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
36661 0, /* tp_compare */
36662 (reprfunc
) swig_varlink_repr
, /* tp_repr */
36663 0, /* tp_as_number */
36664 0, /* tp_as_sequence */
36665 0, /* tp_as_mapping */
36668 (reprfunc
)swig_varlink_str
, /* tp_str */
36669 0, /* tp_getattro */
36670 0, /* tp_setattro */
36671 0, /* tp_as_buffer */
36673 varlink__doc__
, /* tp_doc */
36674 0, /* tp_traverse */
36676 0, /* tp_richcompare */
36677 0, /* tp_weaklistoffset */
36678 #if PY_VERSION_HEX >= 0x02020000
36679 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
36681 #if PY_VERSION_HEX >= 0x02030000
36684 #ifdef COUNT_ALLOCS
36685 0,0,0,0 /* tp_alloc -> tp_next */
36688 varlink_type
= tmp
;
36689 varlink_type
.ob_type
= &PyType_Type
;
36692 return &varlink_type
;
36695 /* Create a variable linking object for use later */
36696 SWIGINTERN PyObject
*
36697 SWIG_Python_newvarlink(void) {
36698 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
36702 return ((PyObject
*) result
);
36706 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
36707 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
36708 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
36710 size_t size
= strlen(name
)+1;
36711 gv
->name
= (char *)malloc(size
);
36713 strncpy(gv
->name
,name
,size
);
36714 gv
->get_attr
= get_attr
;
36715 gv
->set_attr
= set_attr
;
36716 gv
->next
= v
->vars
;
36722 SWIGINTERN PyObject
*
36724 static PyObject
*_SWIG_globals
= 0;
36725 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
36726 return _SWIG_globals
;
36729 /* -----------------------------------------------------------------------------
36730 * constants/methods manipulation
36731 * ----------------------------------------------------------------------------- */
36733 /* Install Constants */
36735 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
36738 for (i
= 0; constants
[i
].type
; ++i
) {
36739 switch(constants
[i
].type
) {
36740 case SWIG_PY_POINTER
:
36741 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
36743 case SWIG_PY_BINARY
:
36744 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
36751 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
36757 /* -----------------------------------------------------------------------------*/
36758 /* Fix SwigMethods to carry the callback ptrs when needed */
36759 /* -----------------------------------------------------------------------------*/
36762 SWIG_Python_FixMethods(PyMethodDef
*methods
,
36763 swig_const_info
*const_table
,
36764 swig_type_info
**types
,
36765 swig_type_info
**types_initial
) {
36767 for (i
= 0; methods
[i
].ml_name
; ++i
) {
36768 const char *c
= methods
[i
].ml_doc
;
36769 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
36771 swig_const_info
*ci
= 0;
36772 const char *name
= c
+ 10;
36773 for (j
= 0; const_table
[j
].type
; ++j
) {
36774 if (strncmp(const_table
[j
].name
, name
,
36775 strlen(const_table
[j
].name
)) == 0) {
36776 ci
= &(const_table
[j
]);
36781 size_t shift
= (ci
->ptype
) - types
;
36782 swig_type_info
*ty
= types_initial
[shift
];
36783 size_t ldoc
= (c
- methods
[i
].ml_doc
);
36784 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
36785 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
36788 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
36790 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
36792 strncpy(buff
, "swig_ptr: ", 10);
36794 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
36795 methods
[i
].ml_doc
= ndoc
;
36807 /* -----------------------------------------------------------------------------*
36808 * Partial Init method
36809 * -----------------------------------------------------------------------------*/
36814 SWIGEXPORT
void SWIG_init(void) {
36817 /* Fix SwigMethods to carry the callback ptrs when needed */
36818 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
36820 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
36821 d
= PyModule_GetDict(m
);
36823 SWIG_InitializeModule(0);
36824 SWIG_InstallConstants(d
,swig_const_table
);
36827 SWIG_Python_SetConstant(d
, "C2S_NAME",SWIG_From_int(static_cast< int >(wxC2S_NAME
)));
36828 SWIG_Python_SetConstant(d
, "C2S_CSS_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_CSS_SYNTAX
)));
36829 SWIG_Python_SetConstant(d
, "C2S_HTML_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_HTML_SYNTAX
)));
36830 SWIG_Python_SetConstant(d
, "ALPHA_TRANSPARENT",SWIG_From_int(static_cast< int >(wxALPHA_TRANSPARENT
)));
36831 SWIG_Python_SetConstant(d
, "ALPHA_OPAQUE",SWIG_From_int(static_cast< int >(wxALPHA_OPAQUE
)));
36832 SWIG_Python_SetConstant(d
, "OutRegion",SWIG_From_int(static_cast< int >(wxOutRegion
)));
36833 SWIG_Python_SetConstant(d
, "PartRegion",SWIG_From_int(static_cast< int >(wxPartRegion
)));
36834 SWIG_Python_SetConstant(d
, "InRegion",SWIG_From_int(static_cast< int >(wxInRegion
)));
36835 SWIG_Python_SetConstant(d
, "FONTFAMILY_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DEFAULT
)));
36836 SWIG_Python_SetConstant(d
, "FONTFAMILY_DECORATIVE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DECORATIVE
)));
36837 SWIG_Python_SetConstant(d
, "FONTFAMILY_ROMAN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_ROMAN
)));
36838 SWIG_Python_SetConstant(d
, "FONTFAMILY_SCRIPT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SCRIPT
)));
36839 SWIG_Python_SetConstant(d
, "FONTFAMILY_SWISS",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SWISS
)));
36840 SWIG_Python_SetConstant(d
, "FONTFAMILY_MODERN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MODERN
)));
36841 SWIG_Python_SetConstant(d
, "FONTFAMILY_TELETYPE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_TELETYPE
)));
36842 SWIG_Python_SetConstant(d
, "FONTFAMILY_MAX",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MAX
)));
36843 SWIG_Python_SetConstant(d
, "FONTFAMILY_UNKNOWN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_UNKNOWN
)));
36844 SWIG_Python_SetConstant(d
, "FONTSTYLE_NORMAL",SWIG_From_int(static_cast< int >(wxFONTSTYLE_NORMAL
)));
36845 SWIG_Python_SetConstant(d
, "FONTSTYLE_ITALIC",SWIG_From_int(static_cast< int >(wxFONTSTYLE_ITALIC
)));
36846 SWIG_Python_SetConstant(d
, "FONTSTYLE_SLANT",SWIG_From_int(static_cast< int >(wxFONTSTYLE_SLANT
)));
36847 SWIG_Python_SetConstant(d
, "FONTSTYLE_MAX",SWIG_From_int(static_cast< int >(wxFONTSTYLE_MAX
)));
36848 SWIG_Python_SetConstant(d
, "FONTWEIGHT_NORMAL",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_NORMAL
)));
36849 SWIG_Python_SetConstant(d
, "FONTWEIGHT_LIGHT",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_LIGHT
)));
36850 SWIG_Python_SetConstant(d
, "FONTWEIGHT_BOLD",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_BOLD
)));
36851 SWIG_Python_SetConstant(d
, "FONTWEIGHT_MAX",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_MAX
)));
36852 SWIG_Python_SetConstant(d
, "FONTFLAG_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFLAG_DEFAULT
)));
36853 SWIG_Python_SetConstant(d
, "FONTFLAG_ITALIC",SWIG_From_int(static_cast< int >(wxFONTFLAG_ITALIC
)));
36854 SWIG_Python_SetConstant(d
, "FONTFLAG_SLANT",SWIG_From_int(static_cast< int >(wxFONTFLAG_SLANT
)));
36855 SWIG_Python_SetConstant(d
, "FONTFLAG_LIGHT",SWIG_From_int(static_cast< int >(wxFONTFLAG_LIGHT
)));
36856 SWIG_Python_SetConstant(d
, "FONTFLAG_BOLD",SWIG_From_int(static_cast< int >(wxFONTFLAG_BOLD
)));
36857 SWIG_Python_SetConstant(d
, "FONTFLAG_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_ANTIALIASED
)));
36858 SWIG_Python_SetConstant(d
, "FONTFLAG_NOT_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_NOT_ANTIALIASED
)));
36859 SWIG_Python_SetConstant(d
, "FONTFLAG_UNDERLINED",SWIG_From_int(static_cast< int >(wxFONTFLAG_UNDERLINED
)));
36860 SWIG_Python_SetConstant(d
, "FONTFLAG_STRIKETHROUGH",SWIG_From_int(static_cast< int >(wxFONTFLAG_STRIKETHROUGH
)));
36861 SWIG_Python_SetConstant(d
, "FONTFLAG_MASK",SWIG_From_int(static_cast< int >(wxFONTFLAG_MASK
)));
36862 SWIG_Python_SetConstant(d
, "FONTENCODING_SYSTEM",SWIG_From_int(static_cast< int >(wxFONTENCODING_SYSTEM
)));
36863 SWIG_Python_SetConstant(d
, "FONTENCODING_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTENCODING_DEFAULT
)));
36864 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_1",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_1
)));
36865 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_2",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_2
)));
36866 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_3",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_3
)));
36867 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_4",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_4
)));
36868 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_5",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_5
)));
36869 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_6",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_6
)));
36870 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_7",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_7
)));
36871 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_8",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_8
)));
36872 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_9",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_9
)));
36873 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_10",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_10
)));
36874 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_11",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_11
)));
36875 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_12",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_12
)));
36876 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_13",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_13
)));
36877 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_14",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_14
)));
36878 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_15",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_15
)));
36879 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_MAX
)));
36880 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8
)));
36881 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8_U",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8_U
)));
36882 SWIG_Python_SetConstant(d
, "FONTENCODING_ALTERNATIVE",SWIG_From_int(static_cast< int >(wxFONTENCODING_ALTERNATIVE
)));
36883 SWIG_Python_SetConstant(d
, "FONTENCODING_BULGARIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_BULGARIAN
)));
36884 SWIG_Python_SetConstant(d
, "FONTENCODING_CP437",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP437
)));
36885 SWIG_Python_SetConstant(d
, "FONTENCODING_CP850",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP850
)));
36886 SWIG_Python_SetConstant(d
, "FONTENCODING_CP852",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP852
)));
36887 SWIG_Python_SetConstant(d
, "FONTENCODING_CP855",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP855
)));
36888 SWIG_Python_SetConstant(d
, "FONTENCODING_CP866",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP866
)));
36889 SWIG_Python_SetConstant(d
, "FONTENCODING_CP874",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP874
)));
36890 SWIG_Python_SetConstant(d
, "FONTENCODING_CP932",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP932
)));
36891 SWIG_Python_SetConstant(d
, "FONTENCODING_CP936",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP936
)));
36892 SWIG_Python_SetConstant(d
, "FONTENCODING_CP949",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP949
)));
36893 SWIG_Python_SetConstant(d
, "FONTENCODING_CP950",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP950
)));
36894 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1250",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1250
)));
36895 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1251",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1251
)));
36896 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1252",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1252
)));
36897 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1253",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1253
)));
36898 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1254",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1254
)));
36899 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1255",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1255
)));
36900 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1256",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1256
)));
36901 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1257",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1257
)));
36902 SWIG_Python_SetConstant(d
, "FONTENCODING_CP12_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP12_MAX
)));
36903 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF7",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF7
)));
36904 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF8",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF8
)));
36905 SWIG_Python_SetConstant(d
, "FONTENCODING_EUC_JP",SWIG_From_int(static_cast< int >(wxFONTENCODING_EUC_JP
)));
36906 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16BE
)));
36907 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16LE
)));
36908 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32BE
)));
36909 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32LE
)));
36910 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMAN
)));
36911 SWIG_Python_SetConstant(d
, "FONTENCODING_MACJAPANESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACJAPANESE
)));
36912 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESETRAD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESETRAD
)));
36913 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKOREAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKOREAN
)));
36914 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABIC
)));
36915 SWIG_Python_SetConstant(d
, "FONTENCODING_MACHEBREW",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACHEBREW
)));
36916 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGREEK",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGREEK
)));
36917 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCYRILLIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCYRILLIC
)));
36918 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDEVANAGARI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDEVANAGARI
)));
36919 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGURMUKHI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGURMUKHI
)));
36920 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGUJARATI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGUJARATI
)));
36921 SWIG_Python_SetConstant(d
, "FONTENCODING_MACORIYA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACORIYA
)));
36922 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBENGALI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBENGALI
)));
36923 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTAMIL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTAMIL
)));
36924 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTELUGU",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTELUGU
)));
36925 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKANNADA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKANNADA
)));
36926 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMALAJALAM",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMALAJALAM
)));
36927 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSINHALESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSINHALESE
)));
36928 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBURMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBURMESE
)));
36929 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKHMER",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKHMER
)));
36930 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTHAI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTHAI
)));
36931 SWIG_Python_SetConstant(d
, "FONTENCODING_MACLAOTIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACLAOTIAN
)));
36932 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGEORGIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGEORGIAN
)));
36933 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARMENIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARMENIAN
)));
36934 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESESIMP",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESESIMP
)));
36935 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTIBETAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTIBETAN
)));
36936 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMONGOLIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMONGOLIAN
)));
36937 SWIG_Python_SetConstant(d
, "FONTENCODING_MACETHIOPIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACETHIOPIC
)));
36938 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCENTRALEUR",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCENTRALEUR
)));
36939 SWIG_Python_SetConstant(d
, "FONTENCODING_MACVIATNAMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACVIATNAMESE
)));
36940 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABICEXT",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABICEXT
)));
36941 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSYMBOL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSYMBOL
)));
36942 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDINGBATS",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDINGBATS
)));
36943 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTURKISH",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTURKISH
)));
36944 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCROATIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCROATIAN
)));
36945 SWIG_Python_SetConstant(d
, "FONTENCODING_MACICELANDIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACICELANDIC
)));
36946 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMANIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMANIAN
)));
36947 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCELTIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCELTIC
)));
36948 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGAELIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGAELIC
)));
36949 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKEYBOARD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKEYBOARD
)));
36950 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMIN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMIN
)));
36951 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMAX
)));
36952 SWIG_Python_SetConstant(d
, "FONTENCODING_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MAX
)));
36953 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16
)));
36954 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32
)));
36955 SWIG_Python_SetConstant(d
, "FONTENCODING_UNICODE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UNICODE
)));
36956 SWIG_Python_SetConstant(d
, "FONTENCODING_GB2312",SWIG_From_int(static_cast< int >(wxFONTENCODING_GB2312
)));
36957 SWIG_Python_SetConstant(d
, "FONTENCODING_BIG5",SWIG_From_int(static_cast< int >(wxFONTENCODING_BIG5
)));
36958 SWIG_Python_SetConstant(d
, "FONTENCODING_SHIFT_JIS",SWIG_From_int(static_cast< int >(wxFONTENCODING_SHIFT_JIS
)));
36960 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
36962 SWIG_Python_SetConstant(d
, "LANGUAGE_DEFAULT",SWIG_From_int(static_cast< int >(wxLANGUAGE_DEFAULT
)));
36963 SWIG_Python_SetConstant(d
, "LANGUAGE_UNKNOWN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UNKNOWN
)));
36964 SWIG_Python_SetConstant(d
, "LANGUAGE_ABKHAZIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ABKHAZIAN
)));
36965 SWIG_Python_SetConstant(d
, "LANGUAGE_AFAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFAR
)));
36966 SWIG_Python_SetConstant(d
, "LANGUAGE_AFRIKAANS",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFRIKAANS
)));
36967 SWIG_Python_SetConstant(d
, "LANGUAGE_ALBANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ALBANIAN
)));
36968 SWIG_Python_SetConstant(d
, "LANGUAGE_AMHARIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AMHARIC
)));
36969 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC
)));
36970 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_ALGERIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_ALGERIA
)));
36971 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_BAHRAIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_BAHRAIN
)));
36972 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_EGYPT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_EGYPT
)));
36973 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_IRAQ",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_IRAQ
)));
36974 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_JORDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_JORDAN
)));
36975 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_KUWAIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_KUWAIT
)));
36976 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LEBANON",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LEBANON
)));
36977 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LIBYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LIBYA
)));
36978 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_MOROCCO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_MOROCCO
)));
36979 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_OMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_OMAN
)));
36980 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_QATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_QATAR
)));
36981 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SAUDI_ARABIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SAUDI_ARABIA
)));
36982 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SUDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SUDAN
)));
36983 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SYRIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SYRIA
)));
36984 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_TUNISIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_TUNISIA
)));
36985 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_UAE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_UAE
)));
36986 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_YEMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_YEMEN
)));
36987 SWIG_Python_SetConstant(d
, "LANGUAGE_ARMENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARMENIAN
)));
36988 SWIG_Python_SetConstant(d
, "LANGUAGE_ASSAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ASSAMESE
)));
36989 SWIG_Python_SetConstant(d
, "LANGUAGE_AYMARA",SWIG_From_int(static_cast< int >(wxLANGUAGE_AYMARA
)));
36990 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI
)));
36991 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_CYRILLIC
)));
36992 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_LATIN
)));
36993 SWIG_Python_SetConstant(d
, "LANGUAGE_BASHKIR",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASHKIR
)));
36994 SWIG_Python_SetConstant(d
, "LANGUAGE_BASQUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASQUE
)));
36995 SWIG_Python_SetConstant(d
, "LANGUAGE_BELARUSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BELARUSIAN
)));
36996 SWIG_Python_SetConstant(d
, "LANGUAGE_BENGALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BENGALI
)));
36997 SWIG_Python_SetConstant(d
, "LANGUAGE_BHUTANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BHUTANI
)));
36998 SWIG_Python_SetConstant(d
, "LANGUAGE_BIHARI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BIHARI
)));
36999 SWIG_Python_SetConstant(d
, "LANGUAGE_BISLAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_BISLAMA
)));
37000 SWIG_Python_SetConstant(d
, "LANGUAGE_BRETON",SWIG_From_int(static_cast< int >(wxLANGUAGE_BRETON
)));
37001 SWIG_Python_SetConstant(d
, "LANGUAGE_BULGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BULGARIAN
)));
37002 SWIG_Python_SetConstant(d
, "LANGUAGE_BURMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BURMESE
)));
37003 SWIG_Python_SetConstant(d
, "LANGUAGE_CAMBODIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CAMBODIAN
)));
37004 SWIG_Python_SetConstant(d
, "LANGUAGE_CATALAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CATALAN
)));
37005 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE
)));
37006 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SIMPLIFIED",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SIMPLIFIED
)));
37007 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TRADITIONAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TRADITIONAL
)));
37008 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_HONGKONG",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_HONGKONG
)));
37009 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_MACAU",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_MACAU
)));
37010 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SINGAPORE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SINGAPORE
)));
37011 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TAIWAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TAIWAN
)));
37012 SWIG_Python_SetConstant(d
, "LANGUAGE_CORSICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CORSICAN
)));
37013 SWIG_Python_SetConstant(d
, "LANGUAGE_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CROATIAN
)));
37014 SWIG_Python_SetConstant(d
, "LANGUAGE_CZECH",SWIG_From_int(static_cast< int >(wxLANGUAGE_CZECH
)));
37015 SWIG_Python_SetConstant(d
, "LANGUAGE_DANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DANISH
)));
37016 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH
)));
37017 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH_BELGIAN
)));
37018 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH
)));
37019 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_UK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_UK
)));
37020 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_US
)));
37021 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_AUSTRALIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_AUSTRALIA
)));
37022 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BELIZE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BELIZE
)));
37023 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BOTSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BOTSWANA
)));
37024 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CANADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CANADA
)));
37025 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CARIBBEAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CARIBBEAN
)));
37026 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_DENMARK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_DENMARK
)));
37027 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_EIRE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_EIRE
)));
37028 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_JAMAICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_JAMAICA
)));
37029 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_NEW_ZEALAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_NEW_ZEALAND
)));
37030 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_PHILIPPINES",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_PHILIPPINES
)));
37031 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_SOUTH_AFRICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_SOUTH_AFRICA
)));
37032 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_TRINIDAD",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_TRINIDAD
)));
37033 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_ZIMBABWE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_ZIMBABWE
)));
37034 SWIG_Python_SetConstant(d
, "LANGUAGE_ESPERANTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESPERANTO
)));
37035 SWIG_Python_SetConstant(d
, "LANGUAGE_ESTONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESTONIAN
)));
37036 SWIG_Python_SetConstant(d
, "LANGUAGE_FAEROESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_FAEROESE
)));
37037 SWIG_Python_SetConstant(d
, "LANGUAGE_FARSI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FARSI
)));
37038 SWIG_Python_SetConstant(d
, "LANGUAGE_FIJI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FIJI
)));
37039 SWIG_Python_SetConstant(d
, "LANGUAGE_FINNISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FINNISH
)));
37040 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH
)));
37041 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_BELGIAN
)));
37042 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_CANADIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_CANADIAN
)));
37043 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_LUXEMBOURG
)));
37044 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_MONACO",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_MONACO
)));
37045 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_SWISS
)));
37046 SWIG_Python_SetConstant(d
, "LANGUAGE_FRISIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRISIAN
)));
37047 SWIG_Python_SetConstant(d
, "LANGUAGE_GALICIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GALICIAN
)));
37048 SWIG_Python_SetConstant(d
, "LANGUAGE_GEORGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GEORGIAN
)));
37049 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN
)));
37050 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_AUSTRIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_AUSTRIAN
)));
37051 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_BELGIUM",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_BELGIUM
)));
37052 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LIECHTENSTEIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LIECHTENSTEIN
)));
37053 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LUXEMBOURG
)));
37054 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_SWISS
)));
37055 SWIG_Python_SetConstant(d
, "LANGUAGE_GREEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREEK
)));
37056 SWIG_Python_SetConstant(d
, "LANGUAGE_GREENLANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREENLANDIC
)));
37057 SWIG_Python_SetConstant(d
, "LANGUAGE_GUARANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUARANI
)));
37058 SWIG_Python_SetConstant(d
, "LANGUAGE_GUJARATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUJARATI
)));
37059 SWIG_Python_SetConstant(d
, "LANGUAGE_HAUSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_HAUSA
)));
37060 SWIG_Python_SetConstant(d
, "LANGUAGE_HEBREW",SWIG_From_int(static_cast< int >(wxLANGUAGE_HEBREW
)));
37061 SWIG_Python_SetConstant(d
, "LANGUAGE_HINDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_HINDI
)));
37062 SWIG_Python_SetConstant(d
, "LANGUAGE_HUNGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_HUNGARIAN
)));
37063 SWIG_Python_SetConstant(d
, "LANGUAGE_ICELANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ICELANDIC
)));
37064 SWIG_Python_SetConstant(d
, "LANGUAGE_INDONESIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_INDONESIAN
)));
37065 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUA
)));
37066 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUE
)));
37067 SWIG_Python_SetConstant(d
, "LANGUAGE_INUKTITUT",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUKTITUT
)));
37068 SWIG_Python_SetConstant(d
, "LANGUAGE_INUPIAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUPIAK
)));
37069 SWIG_Python_SetConstant(d
, "LANGUAGE_IRISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_IRISH
)));
37070 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN
)));
37071 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN_SWISS
)));
37072 SWIG_Python_SetConstant(d
, "LANGUAGE_JAPANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAPANESE
)));
37073 SWIG_Python_SetConstant(d
, "LANGUAGE_JAVANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAVANESE
)));
37074 SWIG_Python_SetConstant(d
, "LANGUAGE_KANNADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KANNADA
)));
37075 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI
)));
37076 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI_INDIA
)));
37077 SWIG_Python_SetConstant(d
, "LANGUAGE_KAZAKH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KAZAKH
)));
37078 SWIG_Python_SetConstant(d
, "LANGUAGE_KERNEWEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_KERNEWEK
)));
37079 SWIG_Python_SetConstant(d
, "LANGUAGE_KINYARWANDA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KINYARWANDA
)));
37080 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRGHIZ",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRGHIZ
)));
37081 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRUNDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRUNDI
)));
37082 SWIG_Python_SetConstant(d
, "LANGUAGE_KONKANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KONKANI
)));
37083 SWIG_Python_SetConstant(d
, "LANGUAGE_KOREAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_KOREAN
)));
37084 SWIG_Python_SetConstant(d
, "LANGUAGE_KURDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KURDISH
)));
37085 SWIG_Python_SetConstant(d
, "LANGUAGE_LAOTHIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LAOTHIAN
)));
37086 SWIG_Python_SetConstant(d
, "LANGUAGE_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATIN
)));
37087 SWIG_Python_SetConstant(d
, "LANGUAGE_LATVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATVIAN
)));
37088 SWIG_Python_SetConstant(d
, "LANGUAGE_LINGALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_LINGALA
)));
37089 SWIG_Python_SetConstant(d
, "LANGUAGE_LITHUANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LITHUANIAN
)));
37090 SWIG_Python_SetConstant(d
, "LANGUAGE_MACEDONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MACEDONIAN
)));
37091 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAGASY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAGASY
)));
37092 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY
)));
37093 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAYALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAYALAM
)));
37094 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_BRUNEI_DARUSSALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
)));
37095 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_MALAYSIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_MALAYSIA
)));
37096 SWIG_Python_SetConstant(d
, "LANGUAGE_MALTESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALTESE
)));
37097 SWIG_Python_SetConstant(d
, "LANGUAGE_MANIPURI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MANIPURI
)));
37098 SWIG_Python_SetConstant(d
, "LANGUAGE_MAORI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MAORI
)));
37099 SWIG_Python_SetConstant(d
, "LANGUAGE_MARATHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MARATHI
)));
37100 SWIG_Python_SetConstant(d
, "LANGUAGE_MOLDAVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MOLDAVIAN
)));
37101 SWIG_Python_SetConstant(d
, "LANGUAGE_MONGOLIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MONGOLIAN
)));
37102 SWIG_Python_SetConstant(d
, "LANGUAGE_NAURU",SWIG_From_int(static_cast< int >(wxLANGUAGE_NAURU
)));
37103 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI
)));
37104 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI_INDIA
)));
37105 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_BOKMAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_BOKMAL
)));
37106 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_NYNORSK",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_NYNORSK
)));
37107 SWIG_Python_SetConstant(d
, "LANGUAGE_OCCITAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_OCCITAN
)));
37108 SWIG_Python_SetConstant(d
, "LANGUAGE_ORIYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ORIYA
)));
37109 SWIG_Python_SetConstant(d
, "LANGUAGE_OROMO",SWIG_From_int(static_cast< int >(wxLANGUAGE_OROMO
)));
37110 SWIG_Python_SetConstant(d
, "LANGUAGE_PASHTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_PASHTO
)));
37111 SWIG_Python_SetConstant(d
, "LANGUAGE_POLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_POLISH
)));
37112 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE
)));
37113 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE_BRAZILIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE_BRAZILIAN
)));
37114 SWIG_Python_SetConstant(d
, "LANGUAGE_PUNJABI",SWIG_From_int(static_cast< int >(wxLANGUAGE_PUNJABI
)));
37115 SWIG_Python_SetConstant(d
, "LANGUAGE_QUECHUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_QUECHUA
)));
37116 SWIG_Python_SetConstant(d
, "LANGUAGE_RHAETO_ROMANCE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RHAETO_ROMANCE
)));
37117 SWIG_Python_SetConstant(d
, "LANGUAGE_ROMANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ROMANIAN
)));
37118 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN
)));
37119 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN_UKRAINE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN_UKRAINE
)));
37120 SWIG_Python_SetConstant(d
, "LANGUAGE_SAMOAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SAMOAN
)));
37121 SWIG_Python_SetConstant(d
, "LANGUAGE_SANGHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANGHO
)));
37122 SWIG_Python_SetConstant(d
, "LANGUAGE_SANSKRIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANSKRIT
)));
37123 SWIG_Python_SetConstant(d
, "LANGUAGE_SCOTS_GAELIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SCOTS_GAELIC
)));
37124 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN
)));
37125 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_CYRILLIC
)));
37126 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_LATIN
)));
37127 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBO_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBO_CROATIAN
)));
37128 SWIG_Python_SetConstant(d
, "LANGUAGE_SESOTHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SESOTHO
)));
37129 SWIG_Python_SetConstant(d
, "LANGUAGE_SETSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SETSWANA
)));
37130 SWIG_Python_SetConstant(d
, "LANGUAGE_SHONA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SHONA
)));
37131 SWIG_Python_SetConstant(d
, "LANGUAGE_SINDHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINDHI
)));
37132 SWIG_Python_SetConstant(d
, "LANGUAGE_SINHALESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINHALESE
)));
37133 SWIG_Python_SetConstant(d
, "LANGUAGE_SISWATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SISWATI
)));
37134 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVAK
)));
37135 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVENIAN
)));
37136 SWIG_Python_SetConstant(d
, "LANGUAGE_SOMALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SOMALI
)));
37137 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH
)));
37138 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ARGENTINA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ARGENTINA
)));
37139 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_BOLIVIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_BOLIVIA
)));
37140 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_CHILE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_CHILE
)));
37141 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COLOMBIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COLOMBIA
)));
37142 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COSTA_RICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COSTA_RICA
)));
37143 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_DOMINICAN_REPUBLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
)));
37144 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ECUADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ECUADOR
)));
37145 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_EL_SALVADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_EL_SALVADOR
)));
37146 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_GUATEMALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_GUATEMALA
)));
37147 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_HONDURAS",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_HONDURAS
)));
37148 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MEXICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MEXICAN
)));
37149 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MODERN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MODERN
)));
37150 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_NICARAGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_NICARAGUA
)));
37151 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PANAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PANAMA
)));
37152 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PARAGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PARAGUAY
)));
37153 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PERU",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PERU
)));
37154 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PUERTO_RICO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PUERTO_RICO
)));
37155 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_URUGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_URUGUAY
)));
37156 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_US
)));
37157 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_VENEZUELA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_VENEZUELA
)));
37158 SWIG_Python_SetConstant(d
, "LANGUAGE_SUNDANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SUNDANESE
)));
37159 SWIG_Python_SetConstant(d
, "LANGUAGE_SWAHILI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWAHILI
)));
37160 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH
)));
37161 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH_FINLAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH_FINLAND
)));
37162 SWIG_Python_SetConstant(d
, "LANGUAGE_TAGALOG",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAGALOG
)));
37163 SWIG_Python_SetConstant(d
, "LANGUAGE_TAJIK",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAJIK
)));
37164 SWIG_Python_SetConstant(d
, "LANGUAGE_TAMIL",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAMIL
)));
37165 SWIG_Python_SetConstant(d
, "LANGUAGE_TATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_TATAR
)));
37166 SWIG_Python_SetConstant(d
, "LANGUAGE_TELUGU",SWIG_From_int(static_cast< int >(wxLANGUAGE_TELUGU
)));
37167 SWIG_Python_SetConstant(d
, "LANGUAGE_THAI",SWIG_From_int(static_cast< int >(wxLANGUAGE_THAI
)));
37168 SWIG_Python_SetConstant(d
, "LANGUAGE_TIBETAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIBETAN
)));
37169 SWIG_Python_SetConstant(d
, "LANGUAGE_TIGRINYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIGRINYA
)));
37170 SWIG_Python_SetConstant(d
, "LANGUAGE_TONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TONGA
)));
37171 SWIG_Python_SetConstant(d
, "LANGUAGE_TSONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TSONGA
)));
37172 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKISH
)));
37173 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKMEN
)));
37174 SWIG_Python_SetConstant(d
, "LANGUAGE_TWI",SWIG_From_int(static_cast< int >(wxLANGUAGE_TWI
)));
37175 SWIG_Python_SetConstant(d
, "LANGUAGE_UIGHUR",SWIG_From_int(static_cast< int >(wxLANGUAGE_UIGHUR
)));
37176 SWIG_Python_SetConstant(d
, "LANGUAGE_UKRAINIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UKRAINIAN
)));
37177 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU
)));
37178 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_INDIA
)));
37179 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_PAKISTAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_PAKISTAN
)));
37180 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK
)));
37181 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_CYRILLIC
)));
37182 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_LATIN
)));
37183 SWIG_Python_SetConstant(d
, "LANGUAGE_VIETNAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_VIETNAMESE
)));
37184 SWIG_Python_SetConstant(d
, "LANGUAGE_VOLAPUK",SWIG_From_int(static_cast< int >(wxLANGUAGE_VOLAPUK
)));
37185 SWIG_Python_SetConstant(d
, "LANGUAGE_WELSH",SWIG_From_int(static_cast< int >(wxLANGUAGE_WELSH
)));
37186 SWIG_Python_SetConstant(d
, "LANGUAGE_WOLOF",SWIG_From_int(static_cast< int >(wxLANGUAGE_WOLOF
)));
37187 SWIG_Python_SetConstant(d
, "LANGUAGE_XHOSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_XHOSA
)));
37188 SWIG_Python_SetConstant(d
, "LANGUAGE_YIDDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_YIDDISH
)));
37189 SWIG_Python_SetConstant(d
, "LANGUAGE_YORUBA",SWIG_From_int(static_cast< int >(wxLANGUAGE_YORUBA
)));
37190 SWIG_Python_SetConstant(d
, "LANGUAGE_ZHUANG",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZHUANG
)));
37191 SWIG_Python_SetConstant(d
, "LANGUAGE_ZULU",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZULU
)));
37192 SWIG_Python_SetConstant(d
, "LANGUAGE_USER_DEFINED",SWIG_From_int(static_cast< int >(wxLANGUAGE_USER_DEFINED
)));
37193 SWIG_Python_SetConstant(d
, "LOCALE_CAT_NUMBER",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_NUMBER
)));
37194 SWIG_Python_SetConstant(d
, "LOCALE_CAT_DATE",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_DATE
)));
37195 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MONEY",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MONEY
)));
37196 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MAX",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MAX
)));
37197 SWIG_Python_SetConstant(d
, "LOCALE_THOUSANDS_SEP",SWIG_From_int(static_cast< int >(wxLOCALE_THOUSANDS_SEP
)));
37198 SWIG_Python_SetConstant(d
, "LOCALE_DECIMAL_POINT",SWIG_From_int(static_cast< int >(wxLOCALE_DECIMAL_POINT
)));
37199 SWIG_Python_SetConstant(d
, "LOCALE_LOAD_DEFAULT",SWIG_From_int(static_cast< int >(wxLOCALE_LOAD_DEFAULT
)));
37200 SWIG_Python_SetConstant(d
, "LOCALE_CONV_ENCODING",SWIG_From_int(static_cast< int >(wxLOCALE_CONV_ENCODING
)));
37201 SWIG_Python_SetConstant(d
, "CONVERT_STRICT",SWIG_From_int(static_cast< int >(wxCONVERT_STRICT
)));
37202 SWIG_Python_SetConstant(d
, "CONVERT_SUBSTITUTE",SWIG_From_int(static_cast< int >(wxCONVERT_SUBSTITUTE
)));
37203 SWIG_Python_SetConstant(d
, "PLATFORM_CURRENT",SWIG_From_int(static_cast< int >(wxPLATFORM_CURRENT
)));
37204 SWIG_Python_SetConstant(d
, "PLATFORM_UNIX",SWIG_From_int(static_cast< int >(wxPLATFORM_UNIX
)));
37205 SWIG_Python_SetConstant(d
, "PLATFORM_WINDOWS",SWIG_From_int(static_cast< int >(wxPLATFORM_WINDOWS
)));
37206 SWIG_Python_SetConstant(d
, "PLATFORM_OS2",SWIG_From_int(static_cast< int >(wxPLATFORM_OS2
)));
37207 SWIG_Python_SetConstant(d
, "PLATFORM_MAC",SWIG_From_int(static_cast< int >(wxPLATFORM_MAC
)));
37208 SWIG_Python_SetConstant(d
, "BUFFER_VIRTUAL_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_VIRTUAL_AREA
)));
37209 SWIG_Python_SetConstant(d
, "BUFFER_CLIENT_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_CLIENT_AREA
)));
37210 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_NORMAL
)));
37211 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_TRANSPARENT",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_TRANSPARENT
)));
37212 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_SELECTED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_SELECTED
)));
37213 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_FOCUSED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_FOCUSED
)));
37214 SWIG_Python_SetConstant(d
, "IMAGE_LIST_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_NORMAL
)));
37215 SWIG_Python_SetConstant(d
, "IMAGE_LIST_SMALL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_SMALL
)));
37216 SWIG_Python_SetConstant(d
, "IMAGE_LIST_STATE",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_STATE
)));
37217 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLACK
)));
37218 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLUE
)));
37219 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_CYAN
)));
37220 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREEN
)));
37221 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREY
)));
37222 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_LIGHTGREY
)));
37223 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_MEDIUMGREY
)));
37224 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_RED",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_RED
)));
37225 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_TRANSPARENT
)));
37226 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_WHITE
)));
37227 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLACK
)));
37228 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLUE
)));
37229 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_CYAN
)));
37230 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_GREEN
)));
37231 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_LIGHTGREY
)));
37232 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_RED",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_RED
)));
37233 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_WHITE
)));
37234 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_CROSS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_CROSS
)));
37235 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_HOURGLASS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_HOURGLASS
)));
37236 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_STANDARD",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_STANDARD
)));
37237 SWIG_Python_SetConstant(d
, "StockGDI_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_ITALIC
)));
37238 SWIG_Python_SetConstant(d
, "StockGDI_FONT_NORMAL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_NORMAL
)));
37239 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SMALL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SMALL
)));
37240 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SWISS",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SWISS
)));
37241 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACK
)));
37242 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACKDASHED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACKDASHED
)));
37243 SWIG_Python_SetConstant(d
, "StockGDI_PEN_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_CYAN
)));
37244 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREEN
)));
37245 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREY
)));
37246 SWIG_Python_SetConstant(d
, "StockGDI_PEN_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_LIGHTGREY
)));
37247 SWIG_Python_SetConstant(d
, "StockGDI_PEN_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_MEDIUMGREY
)));
37248 SWIG_Python_SetConstant(d
, "StockGDI_PEN_RED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_RED
)));
37249 SWIG_Python_SetConstant(d
, "StockGDI_PEN_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_TRANSPARENT
)));
37250 SWIG_Python_SetConstant(d
, "StockGDI_PEN_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_WHITE
)));
37251 SWIG_Python_SetConstant(d
, "StockGDI_ITEMCOUNT",SWIG_From_int(static_cast< int >(wxStockGDI::ITEMCOUNT
)));
37252 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
37253 SWIG_addvarlink(SWIG_globals(),(char*)"NullBitmap",NullBitmap_get
, NullBitmap_set
);
37254 SWIG_addvarlink(SWIG_globals(),(char*)"NullIcon",NullIcon_get
, NullIcon_set
);
37255 SWIG_addvarlink(SWIG_globals(),(char*)"NullCursor",NullCursor_get
, NullCursor_set
);
37256 SWIG_addvarlink(SWIG_globals(),(char*)"NullPen",NullPen_get
, NullPen_set
);
37257 SWIG_addvarlink(SWIG_globals(),(char*)"NullBrush",NullBrush_get
, NullBrush_set
);
37258 SWIG_addvarlink(SWIG_globals(),(char*)"NullPalette",NullPalette_get
, NullPalette_set
);
37259 SWIG_addvarlink(SWIG_globals(),(char*)"NullFont",NullFont_get
, NullFont_set
);
37260 SWIG_addvarlink(SWIG_globals(),(char*)"NullColour",NullColour_get
, NullColour_set
);
37261 SWIG_Python_SetConstant(d
, "CONTROL_DISABLED",SWIG_From_int(static_cast< int >(wxCONTROL_DISABLED
)));
37262 SWIG_Python_SetConstant(d
, "CONTROL_FOCUSED",SWIG_From_int(static_cast< int >(wxCONTROL_FOCUSED
)));
37263 SWIG_Python_SetConstant(d
, "CONTROL_PRESSED",SWIG_From_int(static_cast< int >(wxCONTROL_PRESSED
)));
37264 SWIG_Python_SetConstant(d
, "CONTROL_SPECIAL",SWIG_From_int(static_cast< int >(wxCONTROL_SPECIAL
)));
37265 SWIG_Python_SetConstant(d
, "CONTROL_ISDEFAULT",SWIG_From_int(static_cast< int >(wxCONTROL_ISDEFAULT
)));
37266 SWIG_Python_SetConstant(d
, "CONTROL_ISSUBMENU",SWIG_From_int(static_cast< int >(wxCONTROL_ISSUBMENU
)));
37267 SWIG_Python_SetConstant(d
, "CONTROL_EXPANDED",SWIG_From_int(static_cast< int >(wxCONTROL_EXPANDED
)));
37268 SWIG_Python_SetConstant(d
, "CONTROL_SIZEGRIP",SWIG_From_int(static_cast< int >(wxCONTROL_SIZEGRIP
)));
37269 SWIG_Python_SetConstant(d
, "CONTROL_CURRENT",SWIG_From_int(static_cast< int >(wxCONTROL_CURRENT
)));
37270 SWIG_Python_SetConstant(d
, "CONTROL_SELECTED",SWIG_From_int(static_cast< int >(wxCONTROL_SELECTED
)));
37271 SWIG_Python_SetConstant(d
, "CONTROL_CHECKED",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKED
)));
37272 SWIG_Python_SetConstant(d
, "CONTROL_CHECKABLE",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKABLE
)));
37273 SWIG_Python_SetConstant(d
, "CONTROL_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCONTROL_UNDETERMINED
)));
37274 SWIG_Python_SetConstant(d
, "CONTROL_FLAGS_MASK",SWIG_From_int(static_cast< int >(wxCONTROL_FLAGS_MASK
)));
37275 SWIG_Python_SetConstant(d
, "CONTROL_DIRTY",SWIG_From_int(static_cast< int >(wxCONTROL_DIRTY
)));
37276 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_NONE",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_NONE
)));
37277 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_UP",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_UP
)));
37278 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_DOWN",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_DOWN
)));
37279 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Version",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Version
)));
37280 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Age",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Age
)));
37282 // Work around a chicken/egg problem in drawlist.cpp
37283 wxPyDrawList_SetAPIPtr();