1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # define SWIGTEMPLATEDISAMBIGUATOR
44 # define SWIGTEMPLATEDISAMBIGUATOR
48 /* inline attribute */
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
66 # define SWIGUNUSED __attribute__ ((__unused__))
72 #ifndef SWIGUNUSEDPARM
74 # define SWIGUNUSEDPARM(p)
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
80 /* internal SWIG method */
82 # define SWIGINTERN static SWIGUNUSED
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
102 # define SWIGEXPORT __declspec(dllexport)
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
113 /* calling conventions for Windows */
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
128 /* Python.h has to appear first */
131 /* -----------------------------------------------------------------------------
134 * This file contains generic CAPI SWIG runtime support for pointer
136 * ----------------------------------------------------------------------------- */
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
148 # define SWIG_TYPE_TABLE_NAME
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
161 # define SWIGRUNTIME SWIGINTERN
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
181 Flags/methods for returning states.
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
187 Use the following macros/flags to set or process the returning
190 In old swig versions, you usually write code as:
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
198 Now you can be more explicit as:
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
207 that seems to be the same, but now you can also do
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
213 if (SWIG_IsNewObj(res) {
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
227 int SWIG_ConvertPtr(obj, ptr,...) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
233 *ptr = <ptr to old object>;
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
256 just use the SWIG_AddCast()/SWIG_CheckState()
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE
int SWIG_AddCast(int r
) {
296 return SWIG_IsOK(r
) ? ((SWIG_CastRank(r
) < SWIG_MAXCASTRANK
) ? (r
+ 1) : SWIG_ERROR
) : r
;
298 SWIGINTERNINLINE
int SWIG_CheckState(int r
) {
299 return SWIG_IsOK(r
) ? SWIG_CastRank(r
) + 1 : 0;
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
315 typedef void *(*swig_converter_func
)(void *);
316 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info
{
320 const char *name
; /* mangled name of this type */
321 const char *str
; /* human readable name of this type */
322 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
324 void *clientdata
; /* language specific type data */
325 int owndata
; /* flag if the structure owns the clientdata */
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info
{
330 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter
; /* function to cast the void pointers */
332 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
333 struct swig_cast_info
*prev
; /* pointer to the previous cast */
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info
{
340 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size
; /* Number of types in this module */
342 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
343 swig_type_info
**type_initial
; /* Array of initially generated type structures */
344 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
345 void *clientdata
; /* Language specific module data */
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
356 SWIG_TypeNameComp(const char *f1
, const char *l1
,
357 const char *f2
, const char *l2
) {
358 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
359 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
360 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
361 if (*f1
!= *f2
) return (*f1
> *f2
) ? 1 : -1;
363 return (l1
- f1
) - (l2
- f2
);
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
371 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
373 const char* te
= tb
+ strlen(tb
);
375 while (!equiv
&& *ne
) {
376 for (nb
= ne
; *ne
; ++ne
) {
377 if (*ne
== '|') break;
379 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
390 SWIG_TypeCompare(const char *nb
, const char *tb
) {
392 const char* te
= tb
+ strlen(tb
);
394 while (!equiv
&& *ne
) {
395 for (nb
= ne
; *ne
; ++ne
) {
396 if (*ne
== '|') break;
398 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
408 swig_cast_info *iter = ty->cast; \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
418 if (ty->cast) ty->cast->prev = iter; \
430 SWIGRUNTIME swig_cast_info
*
431 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
432 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info
*
437 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
438 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
442 Cast a pointer up an inheritance hierarchy
444 SWIGRUNTIMEINLINE
void *
445 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
446 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
450 Dynamic pointer casting. Down an inheritance hierarchy
452 SWIGRUNTIME swig_type_info
*
453 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
454 swig_type_info
*lastty
= ty
;
455 if (!ty
|| !ty
->dcast
) return ty
;
456 while (ty
&& (ty
->dcast
)) {
457 ty
= (*ty
->dcast
)(ptr
);
464 Return the name associated with this type
466 SWIGRUNTIMEINLINE
const char *
467 SWIG_TypeName(const swig_type_info
*ty
) {
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
475 SWIGRUNTIME
const char *
476 SWIG_TypePrettyName(const swig_type_info
*type
) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
481 if (!type
) return NULL
;
482 if (type
->str
!= NULL
) {
483 const char *last_name
= type
->str
;
485 for (s
= type
->str
; *s
; s
++)
486 if (*s
== '|') last_name
= s
+1;
494 Set the clientdata field for a type
497 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
498 swig_cast_info
*cast
= ti
->cast
;
499 /* if (ti->clientdata == clientdata) return; */
500 ti
->clientdata
= clientdata
;
503 if (!cast
->converter
) {
504 swig_type_info
*tc
= cast
->type
;
505 if (!tc
->clientdata
) {
506 SWIG_TypeClientData(tc
, clientdata
);
513 SWIG_TypeNewClientData(swig_type_info
*ti
, void *clientdata
) {
514 SWIG_TypeClientData(ti
, clientdata
);
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
526 SWIGRUNTIME swig_type_info
*
527 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
528 swig_module_info
*end
,
530 swig_module_info
*iter
= start
;
533 register size_t l
= 0;
534 register size_t r
= iter
->size
- 1;
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i
= (l
+ r
) >> 1;
538 const char *iname
= iter
->types
[i
]->name
;
540 register int compare
= strcmp(name
, iname
);
542 return iter
->types
[i
];
543 } else if (compare
< 0) {
549 } else if (compare
> 0) {
553 break; /* should never happen */
558 } while (iter
!= end
);
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
571 SWIGRUNTIME swig_type_info
*
572 SWIG_TypeQueryModule(swig_module_info
*start
,
573 swig_module_info
*end
,
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info
*iter
= start
;
584 register size_t i
= 0;
585 for (; i
< iter
->size
; ++i
) {
586 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
587 return iter
->types
[i
];
590 } while (iter
!= end
);
593 /* neither found a match */
598 Pack binary data into a string
601 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
602 static const char hex
[17] = "0123456789abcdef";
603 register const unsigned char *u
= (unsigned char *) ptr
;
604 register const unsigned char *eu
= u
+ sz
;
605 for (; u
!= eu
; ++u
) {
606 register unsigned char uu
= *u
;
607 *(c
++) = hex
[(uu
& 0xf0) >> 4];
608 *(c
++) = hex
[uu
& 0xf];
614 Unpack binary data from a string
616 SWIGRUNTIME
const char *
617 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
618 register unsigned char *u
= (unsigned char *) ptr
;
619 register const unsigned char *eu
= u
+ sz
;
620 for (; u
!= eu
; ++u
) {
621 register char d
= *(c
++);
622 register unsigned char uu
;
623 if ((d
>= '0') && (d
<= '9'))
624 uu
= ((d
- '0') << 4);
625 else if ((d
>= 'a') && (d
<= 'f'))
626 uu
= ((d
- ('a'-10)) << 4);
630 if ((d
>= '0') && (d
<= '9'))
632 else if ((d
>= 'a') && (d
<= 'f'))
633 uu
|= (d
- ('a'-10));
642 Pack 'void *' into a string buffer.
645 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
647 if ((2*sizeof(void *) + 2) > bsz
) return 0;
649 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
650 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
655 SWIGRUNTIME
const char *
656 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
658 if (strcmp(c
,"NULL") == 0) {
665 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
669 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
671 size_t lname
= (name
? strlen(name
) : 0);
672 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
674 r
= SWIG_PackData(r
,ptr
,sz
);
676 strncpy(r
,name
,lname
+1);
683 SWIGRUNTIME
const char *
684 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
686 if (strcmp(c
,"NULL") == 0) {
693 return SWIG_UnpackData(++c
,ptr
,sz
);
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
717 /* Python.h has to appear first */
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
725 # define PyOS_snprintf snprintf
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
737 PyString_FromFormat(const char *fmt
, ...) {
739 char buf
[SWIG_PYBUFFER_SIZE
* 2];
742 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
744 return (res
< 0 || res
>= (int)sizeof(buf
)) ? 0 : PyString_FromString(buf
);
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
753 # define PyObject_DEL PyObject_Del
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
791 PyObject
*PyBool_FromLong(long ok
)
793 PyObject
*result
= ok
? Py_True
: Py_False
;
800 /* -----------------------------------------------------------------------------
802 * ----------------------------------------------------------------------------- */
804 SWIGRUNTIME PyObject
*
805 SWIG_Python_ErrorType(int code
) {
808 case SWIG_MemoryError
:
809 type
= PyExc_MemoryError
;
812 type
= PyExc_IOError
;
814 case SWIG_RuntimeError
:
815 type
= PyExc_RuntimeError
;
817 case SWIG_IndexError
:
818 type
= PyExc_IndexError
;
821 type
= PyExc_TypeError
;
823 case SWIG_DivisionByZero
:
824 type
= PyExc_ZeroDivisionError
;
826 case SWIG_OverflowError
:
827 type
= PyExc_OverflowError
;
829 case SWIG_SyntaxError
:
830 type
= PyExc_SyntaxError
;
832 case SWIG_ValueError
:
833 type
= PyExc_ValueError
;
835 case SWIG_SystemError
:
836 type
= PyExc_SystemError
;
838 case SWIG_AttributeError
:
839 type
= PyExc_AttributeError
;
842 type
= PyExc_RuntimeError
;
849 SWIG_Python_AddErrorMsg(const char* mesg
)
853 PyObject
*traceback
= 0;
855 if (PyErr_Occurred()) PyErr_Fetch(&type
, &value
, &traceback
);
857 PyObject
*old_str
= PyObject_Str(value
);
860 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
864 PyErr_Format(PyExc_RuntimeError
, mesg
);
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block
{
888 PyGILState_STATE state
;
890 void end() { if (status
) { PyGILState_Release(state
); status
= false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
894 class SWIG_Python_Thread_Allow
{
898 void end() { if (status
) { PyEval_RestoreThread(save
); status
= false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
956 /* Constant information structure */
957 typedef struct swig_const_info
{
963 swig_type_info
**ptype
;
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
984 * ----------------------------------------------------------------------------- */
986 /* Common SWIG API */
988 #if PY_VERSION_HEX < 0x02050000
989 typedef int Py_ssize_t
;
992 /* for raw pointers */
993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999 #define swig_owntype int
1001 /* for raw packed data */
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1005 /* for class or struct pointers */
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1009 /* for C or C++ function pointers */
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1013 /* for C++ member pointers, ie, member methods */
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1020 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1024 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028 #define SWIG_fail goto fail
1031 /* Runtime API implementation */
1033 /* Error manipulation */
1036 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1038 PyErr_SetObject(errtype
, obj
);
1040 SWIG_PYTHON_THREAD_END_BLOCK
;
1044 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1046 PyErr_SetString(errtype
, (char *) msg
);
1047 SWIG_PYTHON_THREAD_END_BLOCK
;
1050 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1052 /* Set a constant value */
1055 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1056 PyDict_SetItemString(d
, (char*) name
, obj
);
1060 /* Append a value to the result obj */
1062 SWIGINTERN PyObject
*
1063 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1067 } else if (result
== Py_None
) {
1071 if (!PyList_Check(result
)) {
1072 PyObject
*o2
= result
;
1073 result
= PyList_New(1);
1074 PyList_SetItem(result
, 0, o2
);
1076 PyList_Append(result
,obj
);
1085 } else if (result
== Py_None
) {
1089 if (!PyTuple_Check(result
)) {
1091 result
= PyTuple_New(1);
1092 PyTuple_SET_ITEM(result
, 0, o2
);
1094 o3
= PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3
, 0, obj
);
1097 result
= PySequence_Concat(o2
, o3
);
1105 /* Unpack the argument tuple */
1108 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1114 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1115 name
, (min
== max
? "" : "at least "), min
);
1119 if (!PyTuple_Check(args
)) {
1120 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1123 register int l
= PyTuple_GET_SIZE(args
);
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at least "), min
, l
);
1128 } else if (l
> max
) {
1129 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1130 name
, (min
== max
? "" : "at most "), max
, l
);
1134 for (i
= 0; i
< l
; ++i
) {
1135 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1137 for (; l
< max
; ++l
) {
1145 /* A functor is a function object with one single object argument */
1146 #if PY_VERSION_HEX >= 0x02020000
1147 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1149 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1157 #define SWIG_STATIC_POINTER(var) var
1159 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1162 /* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1166 /* Flags for new pointer objects */
1167 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1170 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1179 /* How to access Py_None */
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1182 # ifndef SWIG_PYTHON_BUILD_NONE
1183 # define SWIG_PYTHON_BUILD_NONE
1188 #ifdef SWIG_PYTHON_BUILD_NONE
1191 # define Py_None SWIG_Py_None()
1193 SWIGRUNTIMEINLINE PyObject
*
1196 PyObject
*none
= Py_BuildValue("");
1200 SWIGRUNTIME PyObject
*
1203 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1208 /* The python void return value */
1210 SWIGRUNTIMEINLINE PyObject
*
1213 PyObject
*none
= Py_None
;
1218 /* PySwigClientData */
1229 SWIGRUNTIMEINLINE
int
1230 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1232 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1233 return data
? data
->implicitconv
: 0;
1236 SWIGRUNTIMEINLINE PyObject
*
1237 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1238 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1239 PyObject
*klass
= data
? data
->klass
: 0;
1240 return (klass
? klass
: PyExc_RuntimeError
);
1244 SWIGRUNTIME PySwigClientData
*
1245 PySwigClientData_New(PyObject
* obj
)
1250 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1251 /* the klass element */
1253 Py_INCREF(data
->klass
);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj
)) {
1257 data
->newargs
= obj
;
1260 #if (PY_VERSION_HEX < 0x02020000)
1263 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1266 Py_INCREF(data
->newraw
);
1267 data
->newargs
= PyTuple_New(1);
1268 PyTuple_SetItem(data
->newargs
, 0, obj
);
1270 data
->newargs
= obj
;
1272 Py_INCREF(data
->newargs
);
1274 /* the destroy method, aka as the C++ delete method */
1275 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1280 if (data
->destroy
) {
1282 Py_INCREF(data
->destroy
);
1283 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1285 data
->delargs
= !(flags
& (METH_O
));
1292 data
->implicitconv
= 0;
1298 PySwigClientData_Del(PySwigClientData
* data
)
1300 Py_XDECREF(data
->newraw
);
1301 Py_XDECREF(data
->newargs
);
1302 Py_XDECREF(data
->destroy
);
1305 /* =============== PySwigObject =====================*/
1315 SWIGRUNTIME PyObject
*
1316 PySwigObject_long(PySwigObject
*v
)
1318 return PyLong_FromVoidPtr(v
->ptr
);
1321 SWIGRUNTIME PyObject
*
1322 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1324 PyObject
*res
= NULL
;
1325 PyObject
*args
= PyTuple_New(1);
1327 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1328 PyObject
*ofmt
= PyString_FromString(fmt
);
1330 res
= PyString_Format(ofmt
,args
);
1339 SWIGRUNTIME PyObject
*
1340 PySwigObject_oct(PySwigObject
*v
)
1342 return PySwigObject_format("%o",v
);
1345 SWIGRUNTIME PyObject
*
1346 PySwigObject_hex(PySwigObject
*v
)
1348 return PySwigObject_format("%x",v
);
1351 SWIGRUNTIME PyObject
*
1353 PySwigObject_repr(PySwigObject
*v
)
1355 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1358 const char *name
= SWIG_TypePrettyName(v
->ty
);
1359 PyObject
*hex
= PySwigObject_hex(v
);
1360 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1364 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1366 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1368 PyString_ConcatAndDel(&repr
,nrep
);
1374 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1377 PyObject
*repr
= PySwigObject_repr(v
);
1379 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1382 fputs(PyString_AsString(repr
), fp
);
1390 SWIGRUNTIME PyObject
*
1391 PySwigObject_str(PySwigObject
*v
)
1393 char result
[SWIG_BUFFER_SIZE
];
1394 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1395 PyString_FromString(result
) : 0;
1399 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1403 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1406 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1408 SWIGRUNTIME PyTypeObject
*
1409 PySwigObject_type(void) {
1410 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1414 SWIGRUNTIMEINLINE
int
1415 PySwigObject_Check(PyObject
*op
) {
1416 return ((op
)->ob_type
== PySwigObject_type())
1417 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1420 SWIGRUNTIME PyObject
*
1421 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1424 PySwigObject_dealloc(PyObject
*v
)
1426 PySwigObject
*sobj
= (PySwigObject
*) v
;
1427 PyObject
*next
= sobj
->next
;
1429 swig_type_info
*ty
= sobj
->ty
;
1430 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1431 PyObject
*destroy
= data
? data
->destroy
: 0;
1433 /* destroy is always a VARARGS method */
1435 if (data
->delargs
) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1438 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1441 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1442 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1443 res
= ((*meth
)(mself
, v
));
1447 const char *name
= SWIG_TypePrettyName(ty
);
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1457 SWIGRUNTIME PyObject
*
1458 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1460 PySwigObject
*sobj
= (PySwigObject
*) v
;
1463 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1466 if (!PySwigObject_Check(next
)) {
1471 return SWIG_Py_Void();
1474 SWIGRUNTIME PyObject
*
1476 PySwigObject_next(PyObject
* v
)
1478 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1481 PySwigObject
*sobj
= (PySwigObject
*) v
;
1483 Py_INCREF(sobj
->next
);
1486 return SWIG_Py_Void();
1490 SWIGINTERN PyObject
*
1492 PySwigObject_disown(PyObject
*v
)
1494 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1497 PySwigObject
*sobj
= (PySwigObject
*)v
;
1499 return SWIG_Py_Void();
1502 SWIGINTERN PyObject
*
1504 PySwigObject_acquire(PyObject
*v
)
1506 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1509 PySwigObject
*sobj
= (PySwigObject
*)v
;
1510 sobj
->own
= SWIG_POINTER_OWN
;
1511 return SWIG_Py_Void();
1514 SWIGINTERN PyObject
*
1515 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1518 #if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1521 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1528 PySwigObject
*sobj
= (PySwigObject
*)v
;
1529 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1532 if (PyObject_IsTrue(val
)) {
1533 PySwigObject_acquire(v
);
1535 PySwigObject_disown(v
);
1538 if (PyObject_IsTrue(val
)) {
1539 PySwigObject_acquire(v
,args
);
1541 PySwigObject_disown(v
,args
);
1551 swigobject_methods
[] = {
1552 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1562 swigobject_methods
[] = {
1563 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1573 #if PY_VERSION_HEX < 0x02020000
1574 SWIGINTERN PyObject
*
1575 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1577 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1581 SWIGRUNTIME PyTypeObject
*
1582 _PySwigObject_type(void) {
1583 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1585 static PyNumberMethods PySwigObject_as_number
= {
1586 (binaryfunc
)0, /*nb_add*/
1587 (binaryfunc
)0, /*nb_subtract*/
1588 (binaryfunc
)0, /*nb_multiply*/
1589 (binaryfunc
)0, /*nb_divide*/
1590 (binaryfunc
)0, /*nb_remainder*/
1591 (binaryfunc
)0, /*nb_divmod*/
1592 (ternaryfunc
)0,/*nb_power*/
1593 (unaryfunc
)0, /*nb_negative*/
1594 (unaryfunc
)0, /*nb_positive*/
1595 (unaryfunc
)0, /*nb_absolute*/
1596 (inquiry
)0, /*nb_nonzero*/
1603 (coercion
)0, /*nb_coerce*/
1604 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1605 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1606 (unaryfunc
)0, /*nb_float*/
1607 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1608 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1609 #if PY_VERSION_HEX >= 0x02020000
1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1611 #elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1616 static PyTypeObject pyswigobject_type
;
1617 static int type_init
= 0;
1619 const PyTypeObject tmp
1621 PyObject_HEAD_INIT(NULL
)
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject
), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1627 (printfunc
)PySwigObject_print
, /* tp_print */
1628 #if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1631 (getattrfunc
)0, /* tp_getattr */
1633 (setattrfunc
)0, /* tp_setattr */
1634 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1635 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1636 &PySwigObject_as_number
, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc
)0, /* tp_hash */
1640 (ternaryfunc
)0, /* tp_call */
1641 (reprfunc
)PySwigObject_str
, /* tp_str */
1642 PyObject_GenericGetAttr
, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1646 swigobject_doc
, /* tp_doc */
1647 0, /* tp_traverse */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
1651 #if PY_VERSION_HEX >= 0x02020000
1653 0, /* tp_iternext */
1654 swigobject_methods
, /* tp_methods */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
1673 #if PY_VERSION_HEX >= 0x02030000
1677 0,0,0,0 /* tp_alloc -> tp_next */
1680 pyswigobject_type
= tmp
;
1681 pyswigobject_type
.ob_type
= &PyType_Type
;
1684 return &pyswigobject_type
;
1687 SWIGRUNTIME PyObject
*
1688 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1690 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1697 return (PyObject
*)sobj
;
1700 /* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1712 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1714 char result
[SWIG_BUFFER_SIZE
];
1715 fputs("<Swig Packed ", fp
);
1716 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1720 fputs(v
->ty
->name
,fp
);
1725 SWIGRUNTIME PyObject
*
1726 PySwigPacked_repr(PySwigPacked
*v
)
1728 char result
[SWIG_BUFFER_SIZE
];
1729 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1730 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1732 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1736 SWIGRUNTIME PyObject
*
1737 PySwigPacked_str(PySwigPacked
*v
)
1739 char result
[SWIG_BUFFER_SIZE
];
1740 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1741 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1743 return PyString_FromString(v
->ty
->name
);
1748 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1752 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1753 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1756 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1758 SWIGRUNTIME PyTypeObject
*
1759 PySwigPacked_type(void) {
1760 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1764 SWIGRUNTIMEINLINE
int
1765 PySwigPacked_Check(PyObject
*op
) {
1766 return ((op
)->ob_type
== _PySwigPacked_type())
1767 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1771 PySwigPacked_dealloc(PyObject
*v
)
1773 if (PySwigPacked_Check(v
)) {
1774 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1780 SWIGRUNTIME PyTypeObject
*
1781 _PySwigPacked_type(void) {
1782 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type
;
1784 static int type_init
= 0;
1786 const PyTypeObject tmp
1788 PyObject_HEAD_INIT(NULL
)
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked
), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1794 (printfunc
)PySwigPacked_print
, /* tp_print */
1795 (getattrfunc
)0, /* tp_getattr */
1796 (setattrfunc
)0, /* tp_setattr */
1797 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1798 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc
)0, /* tp_hash */
1803 (ternaryfunc
)0, /* tp_call */
1804 (reprfunc
)PySwigPacked_str
, /* tp_str */
1805 PyObject_GenericGetAttr
, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1809 swigpacked_doc
, /* tp_doc */
1810 0, /* tp_traverse */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814 #if PY_VERSION_HEX >= 0x02020000
1816 0, /* tp_iternext */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
1836 #if PY_VERSION_HEX >= 0x02030000
1840 0,0,0,0 /* tp_alloc -> tp_next */
1843 pyswigpacked_type
= tmp
;
1844 pyswigpacked_type
.ob_type
= &PyType_Type
;
1847 return &pyswigpacked_type
;
1850 SWIGRUNTIME PyObject
*
1851 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1853 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1855 void *pack
= malloc(size
);
1857 memcpy(pack
, ptr
, size
);
1862 PyObject_DEL((PyObject
*) sobj
);
1866 return (PyObject
*) sobj
;
1869 SWIGRUNTIME swig_type_info
*
1870 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1872 if (PySwigPacked_Check(obj
)) {
1873 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1874 if (sobj
->size
!= size
) return 0;
1875 memcpy(ptr
, sobj
->pack
, size
);
1882 /* -----------------------------------------------------------------------------
1883 * pointers/data manipulation
1884 * ----------------------------------------------------------------------------- */
1886 SWIGRUNTIMEINLINE PyObject
*
1889 return PyString_FromString("this");
1892 SWIGRUNTIME PyObject
*
1895 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1901 SWIGRUNTIME PySwigObject
*
1902 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1904 if (PySwigObject_Check(pyobj
)) {
1905 return (PySwigObject
*) pyobj
;
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj
)) {
1910 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1912 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1913 if (dictptr
!= NULL
) {
1914 PyObject
*dict
= *dictptr
;
1915 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1917 #ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj
)) {
1919 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1920 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1923 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1927 if (PyErr_Occurred()) PyErr_Clear();
1933 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1937 if (PyErr_Occurred()) PyErr_Clear();
1941 if (obj
&& !PySwigObject_Check(obj
)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj
);
1946 return (PySwigObject
*)obj
;
1950 /* Acquire a pointer value */
1953 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1955 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1957 int oldown
= sobj
->own
;
1965 /* Convert a pointer value */
1968 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1969 if (!obj
) return SWIG_ERROR
;
1970 if (obj
== Py_None
) {
1974 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1976 void *vptr
= sobj
->ptr
;
1978 swig_type_info
*to
= sobj
->ty
;
1980 /* no type cast needed */
1981 if (ptr
) *ptr
= vptr
;
1984 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1986 sobj
= (PySwigObject
*)sobj
->next
;
1988 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1993 if (ptr
) *ptr
= vptr
;
1998 if (own
) *own
= sobj
->own
;
1999 if (flags
& SWIG_POINTER_DISOWN
) {
2004 int res
= SWIG_ERROR
;
2005 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2006 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2007 if (data
&& !data
->implicitconv
) {
2008 PyObject
*klass
= data
->klass
;
2011 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2013 data
->implicitconv
= 0;
2014 if (PyErr_Occurred()) {
2019 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2022 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2023 if (SWIG_IsOK(res
)) {
2026 /* transfer the ownership to 'ptr' */
2028 res
= SWIG_AddCast(res
);
2029 res
= SWIG_AddNewMask(res
);
2031 res
= SWIG_AddCast(res
);
2045 /* Convert a function ptr value */
2048 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2049 if (!PyCFunction_Check(obj
)) {
2050 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2054 /* here we get the method pointer for callbacks */
2055 const char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2056 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2058 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2059 if (!desc
) return SWIG_ERROR
;
2062 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2063 if (!tc
) return SWIG_ERROR
;
2064 *ptr
= SWIG_TypeCast(tc
,vptr
);
2072 /* Convert a packed value value */
2075 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2076 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2077 if (!to
) return SWIG_ERROR
;
2080 /* check type cast? */
2081 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2082 if (!tc
) return SWIG_ERROR
;
2088 /* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
2093 Create a new instance object, whitout calling __init__, and set the
2097 SWIGRUNTIME PyObject
*
2098 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2100 #if (PY_VERSION_HEX >= 0x02020000)
2102 PyObject
*newraw
= data
->newraw
;
2104 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2108 if (dictptr
!= NULL
) {
2109 PyObject
*dict
= *dictptr
;
2111 dict
= PyDict_New();
2113 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2117 PyObject
*key
= SWIG_This();
2118 PyObject_SetAttr(inst
, key
, swig_this
);
2122 PyObject
*dict
= PyDict_New();
2123 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2124 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2129 #if (PY_VERSION_HEX >= 0x02010000)
2131 PyObject
*dict
= PyDict_New();
2132 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2133 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2135 return (PyObject
*) inst
;
2137 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2141 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2142 Py_INCREF(inst
->in_class
);
2143 inst
->in_dict
= PyDict_New();
2144 if (inst
->in_dict
== NULL
) {
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst
->in_weakreflist
= NULL
;
2151 #ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst
);
2154 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2155 return (PyObject
*) inst
;
2161 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2166 if (dictptr
!= NULL
) {
2169 dict
= PyDict_New();
2172 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2176 dict
= PyObject_GetAttrString(inst
, "__dict__");
2177 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2182 SWIGINTERN PyObject
*
2183 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2185 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2188 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2190 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2192 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2194 return SWIG_Py_Void();
2198 /* Create a new pointer object */
2200 SWIGRUNTIME PyObject
*
2201 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2203 return SWIG_Py_Void();
2205 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2206 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2207 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2208 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2209 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2219 /* Create a new packed object */
2221 SWIGRUNTIMEINLINE PyObject
*
2222 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2223 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2226 /* -----------------------------------------------------------------------------*
2228 * -----------------------------------------------------------------------------*/
2230 #ifdef SWIG_LINK_RUNTIME
2231 void *SWIG_ReturnGlobalTypeList(void *);
2234 SWIGRUNTIME swig_module_info
*
2235 SWIG_Python_GetModule(void) {
2236 static void *type_pointer
= (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer
) {
2239 #ifdef SWIG_LINK_RUNTIME
2240 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2242 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2244 if (PyErr_Occurred()) {
2246 type_pointer
= (void *)0;
2250 return (swig_module_info
*) type_pointer
;
2253 #if PY_MAJOR_VERSION < 2
2254 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2255 is copied out of Python/modsupport.c in python version 2.3.4 */
2257 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2260 if (!PyModule_Check(m
)) {
2261 PyErr_SetString(PyExc_TypeError
,
2262 "PyModule_AddObject() needs module as first arg");
2266 PyErr_SetString(PyExc_TypeError
,
2267 "PyModule_AddObject() needs non-NULL value");
2271 dict
= PyModule_GetDict(m
);
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2275 PyModule_GetName(m
));
2278 if (PyDict_SetItemString(dict
, name
, o
))
2286 SWIG_Python_DestroyModule(void *vptr
)
2288 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2289 swig_type_info
**types
= swig_module
->types
;
2291 for (i
=0; i
< swig_module
->size
; ++i
) {
2292 swig_type_info
*ty
= types
[i
];
2294 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2295 if (data
) PySwigClientData_Del(data
);
2298 Py_DECREF(SWIG_This());
2302 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2303 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2305 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2306 swig_empty_runtime_method_table
);
2307 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2308 if (pointer
&& module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2311 Py_XDECREF(pointer
);
2315 /* The python cached type query */
2316 SWIGRUNTIME PyObject
*
2317 SWIG_Python_TypeCache() {
2318 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2322 SWIGRUNTIME swig_type_info
*
2323 SWIG_Python_TypeQuery(const char *type
)
2325 PyObject
*cache
= SWIG_Python_TypeCache();
2326 PyObject
*key
= PyString_FromString(type
);
2327 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2328 swig_type_info
*descriptor
;
2330 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2332 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2333 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2335 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2336 PyDict_SetItem(cache
, key
, obj
);
2345 For backward compatibility only
2347 #define SWIG_POINTER_EXCEPTION 0
2348 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2352 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2354 if (PyErr_Occurred()) {
2356 PyObject
*value
= 0;
2357 PyObject
*traceback
= 0;
2358 PyErr_Fetch(&type
, &value
, &traceback
);
2360 PyObject
*old_str
= PyObject_Str(value
);
2364 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2366 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2377 SWIG_Python_ArgFail(int argnum
)
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2382 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2383 return SWIG_Python_AddErrMesg(mesg
, 1);
2389 SWIGRUNTIMEINLINE
const char *
2390 PySwigObject_GetDesc(PyObject
*self
)
2392 PySwigObject
*v
= (PySwigObject
*)self
;
2393 swig_type_info
*ty
= v
? v
->ty
: 0;
2394 return ty
? ty
->str
: (char*)"";
2398 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2401 #if defined(SWIG_COBJECT_TYPES)
2402 if (obj
&& PySwigObject_Check(obj
)) {
2403 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2405 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2412 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2414 PyObject
*str
= PyObject_Str(obj
);
2415 const char *cstr
= str
? PyString_AsString(str
) : 0;
2417 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2420 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2427 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2429 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2434 /* Convert a pointer value, signal an exception on a type mismatch */
2436 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2438 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2440 if (flags
& SWIG_POINTER_EXCEPTION
) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2442 SWIG_Python_ArgFail(argnum
);
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2464 /* -------- TYPES TABLE (BEGIN) -------- */
2466 #define SWIGTYPE_p_buffer swig_types[0]
2467 #define SWIGTYPE_p_char swig_types[1]
2468 #define SWIGTYPE_p_double swig_types[2]
2469 #define SWIGTYPE_p_form_ops_t swig_types[3]
2470 #define SWIGTYPE_p_int swig_types[4]
2471 #define SWIGTYPE_p_unsigned_char swig_types[5]
2472 #define SWIGTYPE_p_unsigned_int swig_types[6]
2473 #define SWIGTYPE_p_unsigned_long swig_types[7]
2474 #define SWIGTYPE_p_wxANIHandler swig_types[8]
2475 #define SWIGTYPE_p_wxAcceleratorTable swig_types[9]
2476 #define SWIGTYPE_p_wxActivateEvent swig_types[10]
2477 #define SWIGTYPE_p_wxAlphaPixelData swig_types[11]
2478 #define SWIGTYPE_p_wxAlphaPixelData_Accessor swig_types[12]
2479 #define SWIGTYPE_p_wxArrayDouble swig_types[13]
2480 #define SWIGTYPE_p_wxBMPHandler swig_types[14]
2481 #define SWIGTYPE_p_wxBitmap swig_types[15]
2482 #define SWIGTYPE_p_wxBoxSizer swig_types[16]
2483 #define SWIGTYPE_p_wxBrush swig_types[17]
2484 #define SWIGTYPE_p_wxBrushList swig_types[18]
2485 #define SWIGTYPE_p_wxBufferedDC swig_types[19]
2486 #define SWIGTYPE_p_wxBufferedPaintDC swig_types[20]
2487 #define SWIGTYPE_p_wxCURHandler swig_types[21]
2488 #define SWIGTYPE_p_wxChar swig_types[22]
2489 #define SWIGTYPE_p_wxChildFocusEvent swig_types[23]
2490 #define SWIGTYPE_p_wxClientDC swig_types[24]
2491 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[25]
2492 #define SWIGTYPE_p_wxCloseEvent swig_types[26]
2493 #define SWIGTYPE_p_wxColor swig_types[27]
2494 #define SWIGTYPE_p_wxColour swig_types[28]
2495 #define SWIGTYPE_p_wxColourDatabase swig_types[29]
2496 #define SWIGTYPE_p_wxCommandEvent swig_types[30]
2497 #define SWIGTYPE_p_wxContextMenuEvent swig_types[31]
2498 #define SWIGTYPE_p_wxControl swig_types[32]
2499 #define SWIGTYPE_p_wxControlWithItems swig_types[33]
2500 #define SWIGTYPE_p_wxCursor swig_types[34]
2501 #define SWIGTYPE_p_wxDC swig_types[35]
2502 #define SWIGTYPE_p_wxDash swig_types[36]
2503 #define SWIGTYPE_p_wxDateEvent swig_types[37]
2504 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[38]
2505 #define SWIGTYPE_p_wxDropFilesEvent swig_types[39]
2506 #define SWIGTYPE_p_wxDuplexMode swig_types[40]
2507 #define SWIGTYPE_p_wxEffects swig_types[41]
2508 #define SWIGTYPE_p_wxEncodingConverter swig_types[42]
2509 #define SWIGTYPE_p_wxEraseEvent swig_types[43]
2510 #define SWIGTYPE_p_wxEvent swig_types[44]
2511 #define SWIGTYPE_p_wxEvtHandler swig_types[45]
2512 #define SWIGTYPE_p_wxFSFile swig_types[46]
2513 #define SWIGTYPE_p_wxFileSystem swig_types[47]
2514 #define SWIGTYPE_p_wxFlexGridSizer swig_types[48]
2515 #define SWIGTYPE_p_wxFocusEvent swig_types[49]
2516 #define SWIGTYPE_p_wxFont swig_types[50]
2517 #define SWIGTYPE_p_wxFontList swig_types[51]
2518 #define SWIGTYPE_p_wxFontMapper swig_types[52]
2519 #define SWIGTYPE_p_wxGBSizerItem swig_types[53]
2520 #define SWIGTYPE_p_wxGCDC swig_types[54]
2521 #define SWIGTYPE_p_wxGDIObjListBase swig_types[55]
2522 #define SWIGTYPE_p_wxGDIObject swig_types[56]
2523 #define SWIGTYPE_p_wxGIFHandler swig_types[57]
2524 #define SWIGTYPE_p_wxGraphicsContext swig_types[58]
2525 #define SWIGTYPE_p_wxGraphicsPath swig_types[59]
2526 #define SWIGTYPE_p_wxGridBagSizer swig_types[60]
2527 #define SWIGTYPE_p_wxGridSizer swig_types[61]
2528 #define SWIGTYPE_p_wxHeaderButtonParams swig_types[62]
2529 #define SWIGTYPE_p_wxICOHandler swig_types[63]
2530 #define SWIGTYPE_p_wxIcon swig_types[64]
2531 #define SWIGTYPE_p_wxIconBundle swig_types[65]
2532 #define SWIGTYPE_p_wxIconLocation swig_types[66]
2533 #define SWIGTYPE_p_wxIconizeEvent swig_types[67]
2534 #define SWIGTYPE_p_wxIdleEvent swig_types[68]
2535 #define SWIGTYPE_p_wxImage swig_types[69]
2536 #define SWIGTYPE_p_wxImageHandler swig_types[70]
2537 #define SWIGTYPE_p_wxImageList swig_types[71]
2538 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[72]
2539 #define SWIGTYPE_p_wxInitDialogEvent swig_types[73]
2540 #define SWIGTYPE_p_wxJPEGHandler swig_types[74]
2541 #define SWIGTYPE_p_wxKeyEvent swig_types[75]
2542 #define SWIGTYPE_p_wxLanguageInfo swig_types[76]
2543 #define SWIGTYPE_p_wxLayoutConstraints swig_types[77]
2544 #define SWIGTYPE_p_wxLocale swig_types[78]
2545 #define SWIGTYPE_p_wxMask swig_types[79]
2546 #define SWIGTYPE_p_wxMaximizeEvent swig_types[80]
2547 #define SWIGTYPE_p_wxMemoryDC swig_types[81]
2548 #define SWIGTYPE_p_wxMenu swig_types[82]
2549 #define SWIGTYPE_p_wxMenuBar swig_types[83]
2550 #define SWIGTYPE_p_wxMenuEvent swig_types[84]
2551 #define SWIGTYPE_p_wxMenuItem swig_types[85]
2552 #define SWIGTYPE_p_wxMetaFile swig_types[86]
2553 #define SWIGTYPE_p_wxMetaFileDC swig_types[87]
2554 #define SWIGTYPE_p_wxMirrorDC swig_types[88]
2555 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[89]
2556 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[90]
2557 #define SWIGTYPE_p_wxMouseEvent swig_types[91]
2558 #define SWIGTYPE_p_wxMoveEvent swig_types[92]
2559 #define SWIGTYPE_p_wxNativeEncodingInfo swig_types[93]
2560 #define SWIGTYPE_p_wxNativeFontInfo swig_types[94]
2561 #define SWIGTYPE_p_wxNativePixelData swig_types[95]
2562 #define SWIGTYPE_p_wxNativePixelData_Accessor swig_types[96]
2563 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[97]
2564 #define SWIGTYPE_p_wxNcPaintEvent swig_types[98]
2565 #define SWIGTYPE_p_wxNotifyEvent swig_types[99]
2566 #define SWIGTYPE_p_wxObject swig_types[100]
2567 #define SWIGTYPE_p_wxPCXHandler swig_types[101]
2568 #define SWIGTYPE_p_wxPNGHandler swig_types[102]
2569 #define SWIGTYPE_p_wxPNMHandler swig_types[103]
2570 #define SWIGTYPE_p_wxPaintDC swig_types[104]
2571 #define SWIGTYPE_p_wxPaintEvent swig_types[105]
2572 #define SWIGTYPE_p_wxPalette swig_types[106]
2573 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[107]
2574 #define SWIGTYPE_p_wxPaperSize swig_types[108]
2575 #define SWIGTYPE_p_wxPen swig_types[109]
2576 #define SWIGTYPE_p_wxPenList swig_types[110]
2577 #define SWIGTYPE_p_wxPixelDataBase swig_types[111]
2578 #define SWIGTYPE_p_wxPoint swig_types[112]
2579 #define SWIGTYPE_p_wxPoint2D swig_types[113]
2580 #define SWIGTYPE_p_wxPostScriptDC swig_types[114]
2581 #define SWIGTYPE_p_wxPrintData swig_types[115]
2582 #define SWIGTYPE_p_wxPrinterDC swig_types[116]
2583 #define SWIGTYPE_p_wxPseudoDC swig_types[117]
2584 #define SWIGTYPE_p_wxPyApp swig_types[118]
2585 #define SWIGTYPE_p_wxPyCommandEvent swig_types[119]
2586 #define SWIGTYPE_p_wxPyEvent swig_types[120]
2587 #define SWIGTYPE_p_wxPyFontEnumerator swig_types[121]
2588 #define SWIGTYPE_p_wxPyImageHandler swig_types[122]
2589 #define SWIGTYPE_p_wxPyLocale swig_types[123]
2590 #define SWIGTYPE_p_wxPySizer swig_types[124]
2591 #define SWIGTYPE_p_wxPyValidator swig_types[125]
2592 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[126]
2593 #define SWIGTYPE_p_wxRect swig_types[127]
2594 #define SWIGTYPE_p_wxRegion swig_types[128]
2595 #define SWIGTYPE_p_wxRegionIterator swig_types[129]
2596 #define SWIGTYPE_p_wxRendererNative swig_types[130]
2597 #define SWIGTYPE_p_wxRendererVersion swig_types[131]
2598 #define SWIGTYPE_p_wxScreenDC swig_types[132]
2599 #define SWIGTYPE_p_wxScrollEvent swig_types[133]
2600 #define SWIGTYPE_p_wxScrollWinEvent swig_types[134]
2601 #define SWIGTYPE_p_wxSetCursorEvent swig_types[135]
2602 #define SWIGTYPE_p_wxShowEvent swig_types[136]
2603 #define SWIGTYPE_p_wxSize swig_types[137]
2604 #define SWIGTYPE_p_wxSizeEvent swig_types[138]
2605 #define SWIGTYPE_p_wxSizer swig_types[139]
2606 #define SWIGTYPE_p_wxSizerItem swig_types[140]
2607 #define SWIGTYPE_p_wxSplitterRenderParams swig_types[141]
2608 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[142]
2609 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[143]
2610 #define SWIGTYPE_p_wxStockGDI swig_types[144]
2611 #define SWIGTYPE_p_wxString swig_types[145]
2612 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[146]
2613 #define SWIGTYPE_p_wxTIFFHandler swig_types[147]
2614 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[148]
2615 #define SWIGTYPE_p_wxValidator swig_types[149]
2616 #define SWIGTYPE_p_wxWindow swig_types[150]
2617 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[151]
2618 #define SWIGTYPE_p_wxWindowDC swig_types[152]
2619 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[153]
2620 #define SWIGTYPE_p_wxXPMHandler swig_types[154]
2621 static swig_type_info
*swig_types
[156];
2622 static swig_module_info swig_module
= {swig_types
, 155, 0, 0, 0, 0};
2623 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2624 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2626 /* -------- TYPES TABLE (END) -------- */
2628 #if (PY_VERSION_HEX <= 0x02000000)
2629 # if !defined(SWIG_PYTHON_CLASSIC)
2630 # error "This python version requires to use swig with the '-classic' option"
2633 #if (PY_VERSION_HEX <= 0x02020000)
2634 # error "This python version requires to use swig with the '-nomodern' option"
2636 #if (PY_VERSION_HEX <= 0x02020000)
2637 # error "This python version requires to use swig with the '-nomodernargs' option"
2640 # error "This python version requires to use swig with the '-nofastunpack' option"
2643 /*-----------------------------------------------
2644 @(target):= _gdi_.so
2645 ------------------------------------------------*/
2646 #define SWIG_init init_gdi_
2648 #define SWIG_name "_gdi_"
2650 #define SWIGVERSION 0x010329
2653 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2654 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2657 #include <stdexcept>
2661 class PyObject_ptr
{
2666 PyObject_ptr() :_obj(0)
2670 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2675 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2677 if (initial_ref
) Py_XINCREF(_obj
);
2680 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2682 Py_XINCREF(item
._obj
);
2693 operator PyObject
*() const
2698 PyObject
*operator->() const
2707 struct PyObject_var
: PyObject_ptr
{
2708 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2710 PyObject_var
& operator = (PyObject
* obj
)
2720 #include "wx/wxPython/wxPython.h"
2721 #include "wx/wxPython/pyclasses.h"
2724 static const wxString
wxPyEmptyString(wxEmptyString
);
2726 #define SWIG_From_long PyInt_FromLong
2729 SWIGINTERNINLINE PyObject
*
2730 SWIG_From_int (int value
)
2732 return SWIG_From_long (value
);
2738 # define LLONG_MIN LONG_LONG_MIN
2741 # define LLONG_MAX LONG_LONG_MAX
2744 # define ULLONG_MAX ULONG_LONG_MAX
2749 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2751 if (PyNumber_Check(obj
)) {
2752 if (val
) *val
= PyInt_AsLong(obj
);
2755 return SWIG_TypeError
;
2760 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2763 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2764 return SWIG_TypeError
;
2767 *val
= (unsigned long)v
;
2773 SWIG_AsVal_unsigned_SS_char (PyObject
* obj
, unsigned char *val
)
2776 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2777 if (SWIG_IsOK(res
)) {
2778 if ((v
> UCHAR_MAX
)) {
2779 return SWIG_OverflowError
;
2781 if (val
) *val
= static_cast< unsigned char >(v
);
2788 SWIGINTERNINLINE PyObject
*
2789 SWIG_From_unsigned_SS_long (unsigned long value
)
2791 return (value
> LONG_MAX
) ?
2792 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2796 SWIGINTERNINLINE PyObject
*
2797 SWIG_From_unsigned_SS_char (unsigned char value
)
2799 return SWIG_From_unsigned_SS_long (value
);
2802 SWIGINTERN
bool wxColour___eq__(wxColour
*self
,PyObject
*other
){
2803 wxColour temp
, *obj
= &temp
;
2804 if ( other
== Py_None
) return false;
2805 if ( ! wxColour_helper(other
, &obj
) ) {
2809 return self
->operator==(*obj
);
2811 SWIGINTERN
bool wxColour___ne__(wxColour
*self
,PyObject
*other
){
2812 wxColour temp
, *obj
= &temp
;
2813 if ( other
== Py_None
) return true;
2814 if ( ! wxColour_helper(other
, &obj
)) {
2818 return self
->operator!=(*obj
);
2822 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2824 if (obj
== Py_True
) {
2825 if (val
) *val
= true;
2827 } else if (obj
== Py_False
) {
2828 if (val
) *val
= false;
2832 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2833 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2838 SWIGINTERN PyObject
*wxColour_Get(wxColour
*self
,bool includeAlpha
=false){
2839 PyObject
* rv
= PyTuple_New(includeAlpha
? 4 : 3);
2843 int alpha
= wxALPHA_OPAQUE
;
2846 green
= self
->Green();
2847 blue
= self
->Blue();
2848 alpha
= self
->Alpha();
2850 PyTuple_SetItem(rv
, 0, PyInt_FromLong(red
));
2851 PyTuple_SetItem(rv
, 1, PyInt_FromLong(green
));
2852 PyTuple_SetItem(rv
, 2, PyInt_FromLong(blue
));
2854 PyTuple_SetItem(rv
, 3, PyInt_FromLong(alpha
));
2857 SWIGINTERN
unsigned long wxColour_GetRGB(wxColour
*self
){
2858 return self
->Red() | (self
->Green() << 8) | (self
->Blue() << 16);
2862 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2865 int res
= SWIG_AsVal_long (obj
, &v
);
2866 if (SWIG_IsOK(res
)) {
2867 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2868 return SWIG_OverflowError
;
2870 if (val
) *val
= static_cast< int >(v
);
2876 SWIGINTERN PyObject
*wxPen_GetDashes(wxPen
*self
){
2878 int count
= self
->GetDashes(&dashes
);
2879 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2880 PyObject
* retval
= PyList_New(0);
2881 for (int x
=0; x
<count
; x
++) {
2882 PyObject
* pyint
= PyInt_FromLong(dashes
[x
]);
2883 PyList_Append(retval
, pyint
);
2886 wxPyEndBlockThreads(blocked
);
2889 SWIGINTERN
void wxPen__SetDashes(wxPen
*self
,PyObject
*_self
,PyObject
*pyDashes
){
2890 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2891 int size
= PyList_Size(pyDashes
);
2892 wxDash
* dashes
= (wxDash
*)byte_LIST_helper(pyDashes
);
2894 // black magic warning! The array of wxDashes needs to exist as
2895 // long as the pen does because wxPen does not copy the array. So
2896 // stick a copy in a Python string object and attach it to _self,
2897 // and then call SetDashes with a pointer to that array. Then
2898 // when the Python pen object is destroyed the array will be
2900 PyObject
* strDashes
= PyString_FromStringAndSize((char*)dashes
, size
*sizeof(wxDash
));
2901 PyObject_SetAttrString(_self
, "_dashes", strDashes
);
2903 self
->SetDashes(size
, (wxDash
*)PyString_AS_STRING(strDashes
));
2905 Py_DECREF(strDashes
);
2906 wxPyEndBlockThreads(blocked
);
2908 SWIGINTERN
bool wxPen___eq__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
== *other
) : false; }
2909 SWIGINTERN
bool wxPen___ne__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
!= *other
) : true; }
2911 SWIGINTERNINLINE PyObject
*
2912 SWIG_From_short (short value
)
2914 return SWIG_From_long (value
);
2919 SWIG_AsVal_short (PyObject
* obj
, short *val
)
2922 int res
= SWIG_AsVal_long (obj
, &v
);
2923 if (SWIG_IsOK(res
)) {
2924 if ((v
< SHRT_MIN
|| v
> SHRT_MAX
)) {
2925 return SWIG_OverflowError
;
2927 if (val
) *val
= static_cast< short >(v
);
2934 #include <wx/rawbmp.h>
2937 #include <wx/image.h>
2939 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
2940 char** cArray
= NULL
;
2943 if (!PyList_Check(listOfStrings
)) {
2944 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
2947 count
= PyList_Size(listOfStrings
);
2948 cArray
= new char*[count
];
2950 for(int x
=0; x
<count
; x
++) {
2951 // TODO: Need some validation and error checking here
2952 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
2958 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*listOfStrings
){
2959 char** cArray
= NULL
;
2962 cArray
= ConvertListOfStrings(listOfStrings
);
2965 bmp
= new wxBitmap(cArray
);
2969 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*bits
,int width
,int height
,int depth
=1){
2972 PyString_AsStringAndSize(bits
, &buf
, &length
);
2973 return new wxBitmap(buf
, width
, height
, depth
);
2975 SWIGINTERN wxSize
wxBitmap_GetSize(wxBitmap
*self
){
2976 wxSize
size(self
->GetWidth(), self
->GetHeight());
2979 SWIGINTERN
void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
2980 wxMask
*mask
= new wxMask(*self
, colour
);
2981 self
->SetMask(mask
);
2983 SWIGINTERN
void wxBitmap_SetSize(wxBitmap
*self
,wxSize
const &size
){
2984 self
->SetWidth(size
.x
);
2985 self
->SetHeight(size
.y
);
2987 SWIGINTERN
bool wxBitmap___eq__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
== *other
) : false; }
2988 SWIGINTERN
bool wxBitmap___ne__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
!= *other
) : true; }
2990 // See http://tinyurl.com/e5adr for what premultiplying alpha means. It
2991 // appears to me that the other platforms are already doing it, so I'll just
2992 // automatically do it for wxMSW here.
2994 #define wxPy_premultiply(p, a) ((p) * (a) / 0xff)
2995 #define wxPy_unpremultiply(p, a) ((a) ? ((p) * 0xff / (a)) : (p))
2997 #define wxPy_premultiply(p, a) (p)
2998 #define wxPy_unpremultiply(p, a) (p)
3002 wxBitmap
* _BitmapFromBufferAlpha(int width
, int height
,
3003 buffer data
, int DATASIZE
,
3004 buffer alpha
, int ALPHASIZE
)
3006 if (DATASIZE
!= width
*height
*3) {
3007 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3011 if (ALPHASIZE
!= width
*height
) {
3012 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
3016 wxBitmap
* bmp
= new wxBitmap(width
, height
, 32);
3017 wxAlphaPixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3019 // raise an exception...
3020 wxPyErr_SetString(PyExc_RuntimeError
,
3021 "Failed to gain raw access to bitmap data.");
3026 wxAlphaPixelData::Iterator
p(pixData
);
3027 for (int y
=0; y
<height
; y
++) {
3028 wxAlphaPixelData::Iterator rowStart
= p
;
3029 for (int x
=0; x
<width
; x
++) {
3030 byte a
= *(alpha
++);
3031 p
.Red() = wxPy_premultiply(*(data
++), a
);
3032 p
.Green() = wxPy_premultiply(*(data
++), a
);
3033 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3038 p
.OffsetY(pixData
, 1);
3043 wxBitmap
* _BitmapFromBuffer(int width
, int height
, buffer data
, int DATASIZE
)
3045 if (DATASIZE
!= width
*height
*3) {
3046 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3050 wxBitmap
* bmp
= new wxBitmap(width
, height
, 24);
3051 wxNativePixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3053 // raise an exception...
3054 wxPyErr_SetString(PyExc_RuntimeError
,
3055 "Failed to gain raw access to bitmap data.");
3059 wxNativePixelData::Iterator
p(pixData
);
3060 for (int y
=0; y
<height
; y
++) {
3061 wxNativePixelData::Iterator rowStart
= p
;
3062 for (int x
=0; x
<width
; x
++) {
3063 p
.Red() = *(data
++);
3064 p
.Green() = *(data
++);
3065 p
.Blue() = *(data
++);
3069 p
.OffsetY(pixData
, 1);
3075 wxBitmap
* _BitmapFromBufferRGBA(int width
, int height
, buffer data
, int DATASIZE
)
3077 if (DATASIZE
!= width
*height
*4) {
3078 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3082 wxBitmap
* bmp
= new wxBitmap(width
, height
, 32);
3083 wxAlphaPixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3085 // raise an exception...
3086 wxPyErr_SetString(PyExc_RuntimeError
,
3087 "Failed to gain raw access to bitmap data.");
3092 wxAlphaPixelData::Iterator
p(pixData
);
3093 for (int y
=0; y
<height
; y
++) {
3094 wxAlphaPixelData::Iterator rowStart
= p
;
3095 for (int x
=0; x
<width
; x
++) {
3097 p
.Red() = wxPy_premultiply(*(data
++), a
);
3098 p
.Green() = wxPy_premultiply(*(data
++), a
);
3099 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3100 p
.Alpha() = a
; data
++;
3104 p
.OffsetY(pixData
, 1);
3110 typedef wxNativePixelData::Iterator wxNativePixelData_Accessor
;
3112 SWIGINTERN
bool wxNativePixelData___nonzero__(wxNativePixelData
*self
){ return self
->operator bool(); }
3113 SWIGINTERN
void wxNativePixelData_Accessor_nextPixel(wxNativePixelData_Accessor
*self
){ ++(*self
); }
3114 SWIGINTERN
void wxNativePixelData_Accessor_Set(wxNativePixelData_Accessor
*self
,byte red
,byte green
,byte blue
){
3116 self
->Green() = green
;
3117 self
->Blue() = blue
;
3119 SWIGINTERN PyObject
*wxNativePixelData_Accessor_Get(wxNativePixelData_Accessor
*self
){
3120 PyObject
* rv
= PyTuple_New(3);
3121 PyTuple_SetItem(rv
, 0, PyInt_FromLong(self
->Red()));
3122 PyTuple_SetItem(rv
, 1, PyInt_FromLong(self
->Green()));
3123 PyTuple_SetItem(rv
, 2, PyInt_FromLong(self
->Blue()));
3127 typedef wxAlphaPixelData::Iterator wxAlphaPixelData_Accessor
;
3129 SWIGINTERN
bool wxAlphaPixelData___nonzero__(wxAlphaPixelData
*self
){ return self
->operator bool(); }
3130 SWIGINTERN
void wxAlphaPixelData_Accessor_nextPixel(wxAlphaPixelData_Accessor
*self
){ ++(*self
); }
3131 SWIGINTERN
void wxAlphaPixelData_Accessor_Set(wxAlphaPixelData_Accessor
*self
,byte red
,byte green
,byte blue
,byte alpha
){
3132 self
->Red() = wxPy_premultiply(red
, alpha
);
3133 self
->Green() = wxPy_premultiply(green
, alpha
);
3134 self
->Blue() = wxPy_premultiply(blue
, alpha
);
3135 self
->Alpha() = alpha
;
3137 SWIGINTERN PyObject
*wxAlphaPixelData_Accessor_Get(wxAlphaPixelData_Accessor
*self
){
3138 PyObject
* rv
= PyTuple_New(4);
3139 int red
= self
->Red();
3140 int green
= self
->Green();
3141 int blue
= self
->Blue();
3142 int alpha
= self
->Alpha();
3144 PyTuple_SetItem(rv
, 0, PyInt_FromLong( wxPy_unpremultiply(red
, alpha
) ));
3145 PyTuple_SetItem(rv
, 1, PyInt_FromLong( wxPy_unpremultiply(green
, alpha
) ));
3146 PyTuple_SetItem(rv
, 2, PyInt_FromLong( wxPy_unpremultiply(blue
, alpha
) ));
3147 PyTuple_SetItem(rv
, 3, PyInt_FromLong( alpha
));
3150 SWIGINTERN wxMask
*new_wxMask(wxBitmap
const &bitmap
,wxColour
const &colour
=wxNullColour
){
3152 return new wxMask(bitmap
, *wxBLACK
);
3154 return new wxMask(bitmap
, colour
);
3157 #include <wx/iconbndl.h>
3159 SWIGINTERN wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
3160 wxIcon
* icon
= new wxIcon();
3161 icon
->CopyFromBitmap(bmp
);
3164 SWIGINTERN wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
3165 char** cArray
= NULL
;
3168 cArray
= ConvertListOfStrings(listOfStrings
);
3171 icon
= new wxIcon(cArray
);
3175 SWIGINTERN wxIconLocation
*new_wxIconLocation(wxString
const *filename
=&wxPyEmptyString
,int num
=0){
3179 return new wxIconLocation(*filename
);
3182 SWIGINTERN
void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
3189 SWIGINTERN
int wxIconLocation_GetIndex(wxIconLocation
*self
){
3196 SWIGINTERN wxCursor
*new_wxCursor(wxString
const &cursorName
,long type
,int hotSpotX
=0,int hotSpotY
=0){
3198 wxImage
img(cursorName
, type
);
3199 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_X
, hotSpotX
);
3200 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_Y
, hotSpotY
);
3201 return new wxCursor(img
);
3203 return new wxCursor(cursorName
, type
, hotSpotX
, hotSpotY
);
3208 SWIGINTERN
void wxRegionIterator_Next(wxRegionIterator
*self
){
3211 SWIGINTERN
bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
3212 return self
->operator bool();
3215 #include <wx/fontutil.h>
3216 #include <wx/fontmap.h>
3217 #include <wx/fontenum.h>
3219 SWIGINTERN wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
3220 return self
->ToString();
3223 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
) {
3224 static wxNativeEncodingInfo info
;
3225 if ( wxGetNativeFontEncoding(encoding
, &info
) )
3232 SWIGINTERNINLINE PyObject
*
3233 SWIG_From_size_t (size_t value
)
3235 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
3239 SWIGINTERNINLINE
int
3240 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
3243 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
3244 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
3248 SWIGINTERN PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
=wxPyEmptyString
,bool interactive
=true){
3249 wxFontEncoding alt_enc
;
3250 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
3251 return PyInt_FromLong(alt_enc
);
3257 SWIGINTERN wxFont
*new_wxFont(wxString
const &info
){
3258 wxNativeFontInfo nfi
;
3259 nfi
.FromString(info
);
3260 return new wxFont(nfi
);
3262 SWIGINTERN wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxPyEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3263 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
3265 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,int family
,int style
,int weight
,bool underlined
=false,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3266 return wxFontBase::New(pixelSize
, family
,
3267 style
, weight
, underlined
,
3270 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3271 return wxFontBase::New(pixelSize
, family
, flags
, face
, encoding
);
3273 SWIGINTERN
bool wxFont___eq__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
== *other
) : false; }
3274 SWIGINTERN
bool wxFont___ne__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
!= *other
) : true; }
3276 class wxPyFontEnumerator
: public wxFontEnumerator
{
3278 wxPyFontEnumerator() {}
3279 ~wxPyFontEnumerator() {}
3281 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
3282 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
3287 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
3288 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
3291 SWIGINTERN PyObject
*wxPyFontEnumerator_GetEncodings(){
3293 wxArrayString arr
= wxFontEnumerator::GetEncodings();
3294 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3295 ret
= wxArrayString2PyList_helper(arr
);
3296 wxPyEndBlockThreads(blocked
);
3299 SWIGINTERN PyObject
*wxPyFontEnumerator_GetFacenames(){
3301 wxArrayString arr
= wxFontEnumerator::GetFacenames();
3302 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3303 ret
= wxArrayString2PyList_helper(arr
);
3304 wxPyEndBlockThreads(blocked
);
3310 SWIGINTERN wxLocale
*new_wxLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3313 loc
= new wxLocale();
3315 loc
= new wxLocale(language
, flags
);
3316 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3317 // for the floating point conversions and such to work right.
3318 #if PY_VERSION_HEX < 0x02040000
3319 setlocale(LC_NUMERIC
, "C");
3323 SWIGINTERN
bool wxLocale_Init1(wxLocale
*self
,wxString
const &szName
,wxString
const &szShort
=wxPyEmptyString
,wxString
const &szLocale
=wxPyEmptyString
,bool bLoadDefault
=true,bool bConvertEncoding
=false){
3324 bool rc
= self
->Init(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
);
3325 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3326 // for the floating point conversions and such to work right.
3327 #if PY_VERSION_HEX < 0x02040000
3328 setlocale(LC_NUMERIC
, "C");
3332 SWIGINTERN
bool wxLocale_Init2(wxLocale
*self
,int language
=wxLANGUAGE_DEFAULT
,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3333 bool rc
= self
->Init(language
, flags
);
3334 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3335 // for the floating point conversions and such to work right.
3336 #if PY_VERSION_HEX < 0x02040000
3337 setlocale(LC_NUMERIC
, "C");
3342 class wxPyLocale
: public wxLocale
3347 wxPyLocale(const wxChar
*szName
, // name (for messages)
3348 const wxChar
*szShort
= (const wxChar
*) NULL
, // dir prefix (for msg files)
3349 const wxChar
*szLocale
= (const wxChar
*) NULL
, // locale (for setlocale)
3350 bool bLoadDefault
= true, // preload wxstd.mo?
3351 bool bConvertEncoding
= false); // convert Win<->Unix if necessary?
3353 wxPyLocale(int language
, // wxLanguage id or custom language
3354 int flags
= wxLOCALE_LOAD_DEFAULT
| wxLOCALE_CONV_ENCODING
);
3358 virtual const wxChar
*GetString(const wxChar
*szOrigString
,
3359 const wxChar
*szDomain
= NULL
) const;
3360 virtual const wxChar
*GetString(const wxChar
*szOrigString
,
3361 const wxChar
*szOrigString2
, size_t n
,
3362 const wxChar
*szDomain
= NULL
) const;
3364 virtual wxChar
*GetSingularString(const wxChar
*szOrigString
,
3365 const wxChar
*szDomain
= NULL
) const;
3366 virtual wxChar
*GetPluralString(const wxChar
*szOrigString
,
3367 const wxChar
*szOrigString2
, size_t n
,
3368 const wxChar
*szDomain
= NULL
) const;
3372 DECLARE_NO_COPY_CLASS(wxPyLocale
)
3375 wxPyLocale::wxPyLocale() : wxLocale()
3379 wxPyLocale::wxPyLocale(const wxChar
*szName
, // name (for messages)
3380 const wxChar
*szShort
, // dir prefix (for msg files)
3381 const wxChar
*szLocale
, // locale (for setlocale)
3382 bool bLoadDefault
, // preload wxstd.mo?
3383 bool bConvertEncoding
) // convert Win<->Unix if necessary?
3384 : wxLocale(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
)
3388 wxPyLocale::wxPyLocale(int language
, // wxLanguage id or custom language
3389 int flags
) : wxLocale(language
, flags
)
3393 wxPyLocale::~wxPyLocale()
3397 const wxChar
*wxPyLocale::GetString(const wxChar
*szOrigString
,
3398 const wxChar
*szDomain
) const
3400 wxChar
*str
= GetSingularString(szOrigString
, szDomain
);
3401 return (str
!= NULL
) ? str
: wxLocale::GetString(szOrigString
, szDomain
);
3404 const wxChar
*wxPyLocale::GetString(const wxChar
*szOrigString
,
3405 const wxChar
*szOrigString2
, size_t n
,
3406 const wxChar
*szDomain
) const
3408 wxChar
*str
= GetPluralString(szOrigString
, szOrigString2
, n
, szDomain
);
3409 return (str
!= NULL
) ? str
: wxLocale::GetString(szOrigString
, szOrigString2
, n
, szDomain
);
3412 wxChar
*wxPyLocale::GetSingularString(const wxChar
*szOrigString
,
3413 const wxChar
*szDomain
) const
3416 static wxString str
;
3417 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.
3418 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3419 if((found
=wxPyCBH_findCallback(m_myInst
, "GetSingularString"))) {
3420 PyObject
* param1
= wx2PyString(szOrigString
);
3421 PyObject
* param2
= wx2PyString(szDomain
);
3422 PyObject
* ret
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OO)", param1
, param2
));
3426 str
= Py2wxString(ret
);
3430 wxPyEndBlockThreads(blocked
);
3431 return (found
? (wxChar
*)str
.c_str() : NULL
);
3434 wxChar
*wxPyLocale::GetPluralString(const wxChar
*szOrigString
,
3435 const wxChar
*szOrigString2
, size_t n
,
3436 const wxChar
*szDomain
) const
3439 static wxString str
;
3440 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.
3441 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3442 if((found
=wxPyCBH_findCallback(m_myInst
, "GetPluralString"))) {
3443 PyObject
* param1
= wx2PyString(szOrigString
);
3444 PyObject
* param2
= wx2PyString(szOrigString2
);
3445 PyObject
* param4
= wx2PyString(szDomain
);
3446 PyObject
* ret
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOiO)", param1
, param2
, (int)n
, param4
));
3451 str
= Py2wxString(ret
);
3455 wxPyEndBlockThreads(blocked
);
3456 return (found
? (wxChar
*)str
.c_str() : NULL
);
3459 SWIGINTERN wxPyLocale
*new_wxPyLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3462 loc
= new wxPyLocale();
3464 loc
= new wxPyLocale(language
, flags
);
3465 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3466 // for the floating point conversions and such to work right.
3467 #if PY_VERSION_HEX < 0x02040000
3468 setlocale(LC_NUMERIC
, "C");
3473 #include "wx/wxPython/pydrawxxx.h"
3475 SWIGINTERN wxColour
wxDC_GetPixel(wxDC
*self
,int x
,int y
){
3477 self
->GetPixel(x
, y
, &col
);
3480 SWIGINTERN wxColour
wxDC_GetPixelPoint(wxDC
*self
,wxPoint
const &pt
){
3482 self
->GetPixel(pt
, &col
);
3487 SWIG_AsVal_double (PyObject
*obj
, double* val
)
3489 if (PyNumber_Check(obj
)) {
3490 if (val
) *val
= PyFloat_AsDouble(obj
);
3493 return SWIG_TypeError
;
3496 SWIGINTERN wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
=wxALIGN_LEFT
|wxALIGN_TOP
,int indexAccel
=-1){
3498 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
3501 SWIGINTERN wxRect
wxDC_GetClippingRect(wxDC
*self
){
3503 self
->GetClippingBox(rect
);
3506 SWIGINTERN wxArrayInt
wxDC_GetPartialTextExtents(wxDC
*self
,wxString
const &text
){
3508 self
->GetPartialTextExtents(text
, widths
);
3512 #define SWIG_From_double PyFloat_FromDouble
3514 SWIGINTERN
void wxDC_SetLogicalOriginPoint(wxDC
*self
,wxPoint
const &point
){
3515 self
->SetLogicalOrigin(point
.x
, point
.y
);
3517 SWIGINTERN
void wxDC_SetDeviceOriginPoint(wxDC
*self
,wxPoint
const &point
){
3518 self
->SetDeviceOrigin(point
.x
, point
.y
);
3520 SWIGINTERN
void wxDC_CalcBoundingBoxPoint(wxDC
*self
,wxPoint
const &point
){
3521 self
->CalcBoundingBox(point
.x
, point
.y
);
3523 SWIGINTERN PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3524 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
3526 SWIGINTERN PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3527 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
3529 SWIGINTERN PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3530 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
3532 SWIGINTERN PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3533 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
3535 SWIGINTERN PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3536 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
3538 SWIGINTERN PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
3539 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
3542 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
3550 #include <wx/dcbuffer.h>
3553 #include <wx/dcps.h>
3556 #include <wx/metafile.h>
3559 #include <wx/graphics.h>
3562 #if !wxUSE_GRAPHICS_CONTEXT
3563 // C++ stub classes for platforms that don't have wxGraphicsContext yet.
3565 class wxGraphicsPath
3569 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3570 PyErr_SetString(PyExc_NotImplementedError
,
3571 "wxGraphicsPath is not available on this platform.");
3572 wxPyEndBlockThreads(blocked
);
3574 virtual ~wxGraphicsPath() {}
3576 void MoveToPoint( wxDouble
, wxDouble
) {}
3577 void AddLineToPoint( wxDouble
, wxDouble
) {}
3578 void AddCurveToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3579 void CloseSubpath() {}
3580 void GetCurrentPoint( wxDouble
&, wxDouble
&) {}
3581 void AddArc( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
, bool ) {}
3583 void AddQuadCurveToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3584 void AddRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3585 void AddCircle( wxDouble
, wxDouble
, wxDouble
) {}
3586 void AddArcToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3588 wxPoint2DDouble
GetCurrentPoint() { return wxPoint2DDouble(0,0); }
3589 void MoveToPoint( const wxPoint2DDouble
& ) {}
3590 void AddLineToPoint( const wxPoint2DDouble
&) {}
3591 void AddCurveToPoint( const wxPoint2DDouble
&, const wxPoint2DDouble
&, const wxPoint2DDouble
&) {}
3592 void AddArc( const wxPoint2DDouble
&, wxDouble
, wxDouble
, wxDouble
, bool) {}
3596 class wxGraphicsContext
3599 wxGraphicsContext() {
3600 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3601 PyErr_SetString(PyExc_NotImplementedError
,
3602 "wxGraphicsContext is not available on this platform.");
3603 wxPyEndBlockThreads(blocked
);
3605 virtual ~wxGraphicsContext() {}
3607 static wxGraphicsContext
* Create( const wxWindowDC
&) {
3608 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3609 PyErr_SetString(PyExc_NotImplementedError
,
3610 "wxGraphicsPath is not available on this platform.");
3611 wxPyEndBlockThreads(blocked
);
3615 wxGraphicsPath
* CreatePath() { return NULL
; }
3618 void Clip( const wxRegion
& ) {}
3619 void Translate( wxDouble
, wxDouble
) {}
3620 void Scale( wxDouble
, wxDouble
) {}
3621 void Rotate( wxDouble
) {}
3622 void SetPen( const wxPen
& ) {}
3623 void SetBrush( const wxBrush
& ) {}
3624 void SetLinearGradientBrush( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3625 const wxColour
&, const wxColour
&) {}
3626 void SetRadialGradientBrush( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3627 const wxColour
&, const wxColour
&) {}
3628 void SetFont( const wxFont
& ) {}
3629 void SetTextColor( const wxColour
& ) {}
3630 void StrokePath( const wxGraphicsPath
* ) {}
3631 void FillPath( const wxGraphicsPath
*, int ) {}
3632 void DrawPath( const wxGraphicsPath
*, int ) {}
3633 void DrawText( const wxString
&, wxDouble
, wxDouble
) {}
3634 void DrawText( const wxString
&, wxDouble
, wxDouble
, wxDouble
) {}
3635 void GetTextExtent( const wxString
&, wxDouble
*, wxDouble
*,
3636 wxDouble
*, wxDouble
* ) const {}
3637 void GetPartialTextExtents(const wxString
& , wxArrayDouble
& ) const {}
3638 void DrawBitmap( const wxBitmap
&, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3639 void DrawIcon( const wxIcon
&, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3640 void StrokeLine( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3641 void StrokeLines( size_t , const wxPoint2DDouble
*) {}
3642 void StrokeLines( size_t , const wxPoint2DDouble
*, const wxPoint2DDouble
*) {}
3643 void DrawLines( size_t , const wxPoint2DDouble
*, int ) {}
3644 void DrawRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3645 void DrawEllipse( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3646 void DrawRoundedRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3650 class wxGCDC
: public wxWindowDC
3653 wxGCDC(const wxWindowDC
&) {
3654 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3655 PyErr_SetString(PyExc_NotImplementedError
,
3656 "wxGCDC is not available on this platform.");
3657 wxPyEndBlockThreads(blocked
);
3661 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3662 PyErr_SetString(PyExc_NotImplementedError
,
3663 "wxGCDC is not available on this platform.");
3664 wxPyEndBlockThreads(blocked
);
3667 virtual ~wxGCDC() {}
3669 wxGraphicsContext
* GetGraphicContext() { return NULL
; }
3676 SWIGINTERN
void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
3677 self
->AddColour(name
, wxColour(red
, green
, blue
));
3680 wxFontList
* _wxPyInitTheFontList() { return wxTheFontList
; }
3681 wxPenList
* _wxPyInitThePenList() { return wxThePenList
; }
3682 wxBrushList
* _wxPyInitTheBrushList() { return wxTheBrushList
; }
3683 wxColourDatabase
* _wxPyInitTheColourDatabase() { return wxTheColourDatabase
; }
3686 #include <wx/effects.h>
3689 #include "wx/renderer.h"
3692 SWIGINTERNINLINE PyObject
*
3693 SWIG_From_bool (bool value
)
3695 return PyBool_FromLong(value
? 1 : 0);
3699 #include "wx/wxPython/pseudodc.h"
3701 SWIGINTERN wxRect
wxPseudoDC_GetIdBounds(wxPseudoDC
*self
,int id
){
3703 self
->GetIdBounds(id
, rect
);
3709 SWIGINTERN PyObject
*_wrap_new_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3710 PyObject
*resultobj
= 0;
3711 wxGDIObject
*result
= 0 ;
3713 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObject",0,0,0)) SWIG_fail
;
3715 if (!wxPyCheckForApp()) SWIG_fail
;
3716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3717 result
= (wxGDIObject
*)new wxGDIObject();
3718 wxPyEndAllowThreads(__tstate
);
3719 if (PyErr_Occurred()) SWIG_fail
;
3721 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_NEW
| 0 );
3728 SWIGINTERN PyObject
*_wrap_delete_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3729 PyObject
*resultobj
= 0;
3730 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
3733 PyObject
*swig_obj
[1] ;
3735 if (!args
) SWIG_fail
;
3737 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_DISOWN
| 0 );
3738 if (!SWIG_IsOK(res1
)) {
3739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObject" "', expected argument " "1"" of type '" "wxGDIObject *""'");
3741 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
3743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3746 wxPyEndAllowThreads(__tstate
);
3747 if (PyErr_Occurred()) SWIG_fail
;
3749 resultobj
= SWIG_Py_Void();
3756 SWIGINTERN PyObject
*_wrap_GDIObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3757 PyObject
*resultobj
= 0;
3758 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
3762 PyObject
*swig_obj
[1] ;
3764 if (!args
) SWIG_fail
;
3766 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, 0 | 0 );
3767 if (!SWIG_IsOK(res1
)) {
3768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GDIObject_IsNull" "', expected argument " "1"" of type '" "wxGDIObject *""'");
3770 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
3772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3773 result
= (bool)(arg1
)->IsNull();
3774 wxPyEndAllowThreads(__tstate
);
3775 if (PyErr_Occurred()) SWIG_fail
;
3778 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3786 SWIGINTERN PyObject
*GDIObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3788 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3789 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObject
, SWIG_NewClientData(obj
));
3790 return SWIG_Py_Void();
3793 SWIGINTERN PyObject
*GDIObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3794 return SWIG_Python_InitShadowInstance(args
);
3797 SWIGINTERN PyObject
*_wrap_new_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3798 PyObject
*resultobj
= 0;
3799 byte arg1
= (byte
) 0 ;
3800 byte arg2
= (byte
) 0 ;
3801 byte arg3
= (byte
) 0 ;
3802 byte arg4
= (byte
) wxALPHA_OPAQUE
;
3803 wxColour
*result
= 0 ;
3804 unsigned char val1
;
3806 unsigned char val2
;
3808 unsigned char val3
;
3810 unsigned char val4
;
3812 PyObject
* obj0
= 0 ;
3813 PyObject
* obj1
= 0 ;
3814 PyObject
* obj2
= 0 ;
3815 PyObject
* obj3
= 0 ;
3816 char * kwnames
[] = {
3817 (char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
3820 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
3822 ecode1
= SWIG_AsVal_unsigned_SS_char(obj0
, &val1
);
3823 if (!SWIG_IsOK(ecode1
)) {
3824 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Colour" "', expected argument " "1"" of type '" "byte""'");
3826 arg1
= static_cast< byte
>(val1
);
3829 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
3830 if (!SWIG_IsOK(ecode2
)) {
3831 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Colour" "', expected argument " "2"" of type '" "byte""'");
3833 arg2
= static_cast< byte
>(val2
);
3836 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
3837 if (!SWIG_IsOK(ecode3
)) {
3838 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Colour" "', expected argument " "3"" of type '" "byte""'");
3840 arg3
= static_cast< byte
>(val3
);
3843 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
3844 if (!SWIG_IsOK(ecode4
)) {
3845 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Colour" "', expected argument " "4"" of type '" "byte""'");
3847 arg4
= static_cast< byte
>(val4
);
3850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3851 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
,arg4
);
3852 wxPyEndAllowThreads(__tstate
);
3853 if (PyErr_Occurred()) SWIG_fail
;
3855 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_NEW
| 0 );
3862 SWIGINTERN PyObject
*_wrap_new_NamedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3863 PyObject
*resultobj
= 0;
3864 wxString
*arg1
= 0 ;
3865 wxColour
*result
= 0 ;
3866 bool temp1
= false ;
3867 PyObject
* obj0
= 0 ;
3868 char * kwnames
[] = {
3869 (char *) "colorName", NULL
3872 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) SWIG_fail
;
3874 arg1
= wxString_in_helper(obj0
);
3875 if (arg1
== NULL
) SWIG_fail
;
3879 if (!wxPyCheckForApp()) SWIG_fail
;
3880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3881 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
3882 wxPyEndAllowThreads(__tstate
);
3883 if (PyErr_Occurred()) SWIG_fail
;
3885 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
3900 SWIGINTERN PyObject
*_wrap_new_ColourRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3901 PyObject
*resultobj
= 0;
3902 unsigned long arg1
;
3903 wxColour
*result
= 0 ;
3904 unsigned long val1
;
3906 PyObject
* obj0
= 0 ;
3907 char * kwnames
[] = {
3908 (char *) "colRGB", NULL
3911 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) SWIG_fail
;
3912 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
3913 if (!SWIG_IsOK(ecode1
)) {
3914 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ColourRGB" "', expected argument " "1"" of type '" "unsigned long""'");
3916 arg1
= static_cast< unsigned long >(val1
);
3918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3919 result
= (wxColour
*)new wxColour(arg1
);
3920 wxPyEndAllowThreads(__tstate
);
3921 if (PyErr_Occurred()) SWIG_fail
;
3923 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
3930 SWIGINTERN PyObject
*_wrap_delete_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3931 PyObject
*resultobj
= 0;
3932 wxColour
*arg1
= (wxColour
*) 0 ;
3935 PyObject
*swig_obj
[1] ;
3937 if (!args
) SWIG_fail
;
3939 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, SWIG_POINTER_DISOWN
| 0 );
3940 if (!SWIG_IsOK(res1
)) {
3941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Colour" "', expected argument " "1"" of type '" "wxColour *""'");
3943 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3948 wxPyEndAllowThreads(__tstate
);
3949 if (PyErr_Occurred()) SWIG_fail
;
3951 resultobj
= SWIG_Py_Void();
3958 SWIGINTERN PyObject
*_wrap_Colour_Red(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3959 PyObject
*resultobj
= 0;
3960 wxColour
*arg1
= (wxColour
*) 0 ;
3964 PyObject
*swig_obj
[1] ;
3966 if (!args
) SWIG_fail
;
3968 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3969 if (!SWIG_IsOK(res1
)) {
3970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Red" "', expected argument " "1"" of type '" "wxColour *""'");
3972 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3975 result
= (byte
)(arg1
)->Red();
3976 wxPyEndAllowThreads(__tstate
);
3977 if (PyErr_Occurred()) SWIG_fail
;
3979 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
3986 SWIGINTERN PyObject
*_wrap_Colour_Green(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3987 PyObject
*resultobj
= 0;
3988 wxColour
*arg1
= (wxColour
*) 0 ;
3992 PyObject
*swig_obj
[1] ;
3994 if (!args
) SWIG_fail
;
3996 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3997 if (!SWIG_IsOK(res1
)) {
3998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Green" "', expected argument " "1"" of type '" "wxColour *""'");
4000 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4003 result
= (byte
)(arg1
)->Green();
4004 wxPyEndAllowThreads(__tstate
);
4005 if (PyErr_Occurred()) SWIG_fail
;
4007 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4014 SWIGINTERN PyObject
*_wrap_Colour_Blue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4015 PyObject
*resultobj
= 0;
4016 wxColour
*arg1
= (wxColour
*) 0 ;
4020 PyObject
*swig_obj
[1] ;
4022 if (!args
) SWIG_fail
;
4024 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4025 if (!SWIG_IsOK(res1
)) {
4026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Blue" "', expected argument " "1"" of type '" "wxColour *""'");
4028 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4031 result
= (byte
)(arg1
)->Blue();
4032 wxPyEndAllowThreads(__tstate
);
4033 if (PyErr_Occurred()) SWIG_fail
;
4035 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4042 SWIGINTERN PyObject
*_wrap_Colour_Alpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4043 PyObject
*resultobj
= 0;
4044 wxColour
*arg1
= (wxColour
*) 0 ;
4048 PyObject
*swig_obj
[1] ;
4050 if (!args
) SWIG_fail
;
4052 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4053 if (!SWIG_IsOK(res1
)) {
4054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Alpha" "', expected argument " "1"" of type '" "wxColour *""'");
4056 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4059 result
= (byte
)(arg1
)->Alpha();
4060 wxPyEndAllowThreads(__tstate
);
4061 if (PyErr_Occurred()) SWIG_fail
;
4063 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4070 SWIGINTERN PyObject
*_wrap_Colour_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4071 PyObject
*resultobj
= 0;
4072 wxColour
*arg1
= (wxColour
*) 0 ;
4076 PyObject
*swig_obj
[1] ;
4078 if (!args
) SWIG_fail
;
4080 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4081 if (!SWIG_IsOK(res1
)) {
4082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Ok" "', expected argument " "1"" of type '" "wxColour *""'");
4084 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4087 result
= (bool)(arg1
)->Ok();
4088 wxPyEndAllowThreads(__tstate
);
4089 if (PyErr_Occurred()) SWIG_fail
;
4092 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4100 SWIGINTERN PyObject
*_wrap_Colour_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4101 PyObject
*resultobj
= 0;
4102 wxColour
*arg1
= (wxColour
*) 0 ;
4106 byte arg5
= (byte
) wxALPHA_OPAQUE
;
4109 unsigned char val2
;
4111 unsigned char val3
;
4113 unsigned char val4
;
4115 unsigned char val5
;
4117 PyObject
* obj0
= 0 ;
4118 PyObject
* obj1
= 0 ;
4119 PyObject
* obj2
= 0 ;
4120 PyObject
* obj3
= 0 ;
4121 PyObject
* obj4
= 0 ;
4122 char * kwnames
[] = {
4123 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
4126 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
4127 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4128 if (!SWIG_IsOK(res1
)) {
4129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Set" "', expected argument " "1"" of type '" "wxColour *""'");
4131 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4132 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4133 if (!SWIG_IsOK(ecode2
)) {
4134 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Set" "', expected argument " "2"" of type '" "byte""'");
4136 arg2
= static_cast< byte
>(val2
);
4137 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4138 if (!SWIG_IsOK(ecode3
)) {
4139 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Colour_Set" "', expected argument " "3"" of type '" "byte""'");
4141 arg3
= static_cast< byte
>(val3
);
4142 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4143 if (!SWIG_IsOK(ecode4
)) {
4144 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Colour_Set" "', expected argument " "4"" of type '" "byte""'");
4146 arg4
= static_cast< byte
>(val4
);
4148 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
4149 if (!SWIG_IsOK(ecode5
)) {
4150 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Colour_Set" "', expected argument " "5"" of type '" "byte""'");
4152 arg5
= static_cast< byte
>(val5
);
4155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4156 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
4157 wxPyEndAllowThreads(__tstate
);
4158 if (PyErr_Occurred()) SWIG_fail
;
4160 resultobj
= SWIG_Py_Void();
4167 SWIGINTERN PyObject
*_wrap_Colour_SetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4168 PyObject
*resultobj
= 0;
4169 wxColour
*arg1
= (wxColour
*) 0 ;
4170 unsigned long arg2
;
4173 unsigned long val2
;
4175 PyObject
* obj0
= 0 ;
4176 PyObject
* obj1
= 0 ;
4177 char * kwnames
[] = {
4178 (char *) "self",(char *) "colRGB", NULL
4181 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4182 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4183 if (!SWIG_IsOK(res1
)) {
4184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4186 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4187 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
4188 if (!SWIG_IsOK(ecode2
)) {
4189 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_SetRGB" "', expected argument " "2"" of type '" "unsigned long""'");
4191 arg2
= static_cast< unsigned long >(val2
);
4193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4195 wxPyEndAllowThreads(__tstate
);
4196 if (PyErr_Occurred()) SWIG_fail
;
4198 resultobj
= SWIG_Py_Void();
4205 SWIGINTERN PyObject
*_wrap_Colour_SetFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4206 PyObject
*resultobj
= 0;
4207 wxColour
*arg1
= (wxColour
*) 0 ;
4208 wxString
*arg2
= 0 ;
4211 bool temp2
= false ;
4212 PyObject
* obj0
= 0 ;
4213 PyObject
* obj1
= 0 ;
4214 char * kwnames
[] = {
4215 (char *) "self",(char *) "colourName", NULL
4218 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4219 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4220 if (!SWIG_IsOK(res1
)) {
4221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetFromName" "', expected argument " "1"" of type '" "wxColour *""'");
4223 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4225 arg2
= wxString_in_helper(obj1
);
4226 if (arg2
== NULL
) SWIG_fail
;
4230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4231 (arg1
)->Set((wxString
const &)*arg2
);
4232 wxPyEndAllowThreads(__tstate
);
4233 if (PyErr_Occurred()) SWIG_fail
;
4235 resultobj
= SWIG_Py_Void();
4250 SWIGINTERN PyObject
*_wrap_Colour_GetAsString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4251 PyObject
*resultobj
= 0;
4252 wxColour
*arg1
= (wxColour
*) 0 ;
4253 long arg2
= (long) wxC2S_NAME
|wxC2S_CSS_SYNTAX
;
4259 PyObject
* obj0
= 0 ;
4260 PyObject
* obj1
= 0 ;
4261 char * kwnames
[] = {
4262 (char *) "self",(char *) "flags", NULL
4265 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_GetAsString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4266 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4267 if (!SWIG_IsOK(res1
)) {
4268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetAsString" "', expected argument " "1"" of type '" "wxColour const *""'");
4270 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4272 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
4273 if (!SWIG_IsOK(ecode2
)) {
4274 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_GetAsString" "', expected argument " "2"" of type '" "long""'");
4276 arg2
= static_cast< long >(val2
);
4279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4280 result
= ((wxColour
const *)arg1
)->GetAsString(arg2
);
4281 wxPyEndAllowThreads(__tstate
);
4282 if (PyErr_Occurred()) SWIG_fail
;
4286 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4288 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4297 SWIGINTERN PyObject
*_wrap_Colour_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4298 PyObject
*resultobj
= 0;
4299 wxColour
*arg1
= (wxColour
*) 0 ;
4303 PyObject
*swig_obj
[1] ;
4305 if (!args
) SWIG_fail
;
4307 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4308 if (!SWIG_IsOK(res1
)) {
4309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetPixel" "', expected argument " "1"" of type '" "wxColour const *""'");
4311 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4314 result
= (long)((wxColour
const *)arg1
)->GetPixel();
4315 wxPyEndAllowThreads(__tstate
);
4316 if (PyErr_Occurred()) SWIG_fail
;
4318 resultobj
= SWIG_From_long(static_cast< long >(result
));
4325 SWIGINTERN PyObject
*_wrap_Colour___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4326 PyObject
*resultobj
= 0;
4327 wxColour
*arg1
= (wxColour
*) 0 ;
4328 PyObject
*arg2
= (PyObject
*) 0 ;
4332 PyObject
* obj0
= 0 ;
4333 PyObject
* obj1
= 0 ;
4334 char * kwnames
[] = {
4335 (char *) "self",(char *) "other", NULL
4338 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4339 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4340 if (!SWIG_IsOK(res1
)) {
4341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___eq__" "', expected argument " "1"" of type '" "wxColour *""'");
4343 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4346 result
= (bool)wxColour___eq__(arg1
,arg2
);
4347 if (PyErr_Occurred()) SWIG_fail
;
4350 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4358 SWIGINTERN PyObject
*_wrap_Colour___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4359 PyObject
*resultobj
= 0;
4360 wxColour
*arg1
= (wxColour
*) 0 ;
4361 PyObject
*arg2
= (PyObject
*) 0 ;
4365 PyObject
* obj0
= 0 ;
4366 PyObject
* obj1
= 0 ;
4367 char * kwnames
[] = {
4368 (char *) "self",(char *) "other", NULL
4371 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4372 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4373 if (!SWIG_IsOK(res1
)) {
4374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___ne__" "', expected argument " "1"" of type '" "wxColour *""'");
4376 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4379 result
= (bool)wxColour___ne__(arg1
,arg2
);
4380 if (PyErr_Occurred()) SWIG_fail
;
4383 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4391 SWIGINTERN PyObject
*_wrap_Colour_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4392 PyObject
*resultobj
= 0;
4393 wxColour
*arg1
= (wxColour
*) 0 ;
4394 bool arg2
= (bool) false ;
4395 PyObject
*result
= 0 ;
4400 PyObject
* obj0
= 0 ;
4401 PyObject
* obj1
= 0 ;
4402 char * kwnames
[] = {
4403 (char *) "self",(char *) "includeAlpha", NULL
4406 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_Get",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4407 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4408 if (!SWIG_IsOK(res1
)) {
4409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Get" "', expected argument " "1"" of type '" "wxColour *""'");
4411 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4413 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4414 if (!SWIG_IsOK(ecode2
)) {
4415 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Get" "', expected argument " "2"" of type '" "bool""'");
4417 arg2
= static_cast< bool >(val2
);
4420 result
= (PyObject
*)wxColour_Get(arg1
,arg2
);
4421 if (PyErr_Occurred()) SWIG_fail
;
4430 SWIGINTERN PyObject
*_wrap_Colour_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4431 PyObject
*resultobj
= 0;
4432 wxColour
*arg1
= (wxColour
*) 0 ;
4433 unsigned long result
;
4436 PyObject
*swig_obj
[1] ;
4438 if (!args
) SWIG_fail
;
4440 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4441 if (!SWIG_IsOK(res1
)) {
4442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4444 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4446 result
= (unsigned long)wxColour_GetRGB(arg1
);
4447 if (PyErr_Occurred()) SWIG_fail
;
4449 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
4456 SWIGINTERN PyObject
*Colour_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4458 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4459 SWIG_TypeNewClientData(SWIGTYPE_p_wxColour
, SWIG_NewClientData(obj
));
4460 return SWIG_Py_Void();
4463 SWIGINTERN PyObject
*Colour_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4464 return SWIG_Python_InitShadowInstance(args
);
4467 SWIGINTERN PyObject
*_wrap_new_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4468 PyObject
*resultobj
= 0;
4470 unsigned char *arg2
= (unsigned char *) 0 ;
4471 unsigned char *arg3
= (unsigned char *) 0 ;
4472 unsigned char *arg4
= (unsigned char *) 0 ;
4473 wxPalette
*result
= 0 ;
4482 PyObject
* obj0
= 0 ;
4483 PyObject
* obj1
= 0 ;
4484 PyObject
* obj2
= 0 ;
4485 PyObject
* obj3
= 0 ;
4486 char * kwnames
[] = {
4487 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
4490 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4491 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4492 if (!SWIG_IsOK(ecode1
)) {
4493 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Palette" "', expected argument " "1"" of type '" "int""'");
4495 arg1
= static_cast< int >(val1
);
4496 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4497 if (!SWIG_IsOK(res2
)) {
4498 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_Palette" "', expected argument " "2"" of type '" "unsigned char const *""'");
4500 arg2
= reinterpret_cast< unsigned char * >(argp2
);
4501 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4502 if (!SWIG_IsOK(res3
)) {
4503 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_Palette" "', expected argument " "3"" of type '" "unsigned char const *""'");
4505 arg3
= reinterpret_cast< unsigned char * >(argp3
);
4506 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4507 if (!SWIG_IsOK(res4
)) {
4508 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_Palette" "', expected argument " "4"" of type '" "unsigned char const *""'");
4510 arg4
= reinterpret_cast< unsigned char * >(argp4
);
4512 if (!wxPyCheckForApp()) SWIG_fail
;
4513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4514 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
4515 wxPyEndAllowThreads(__tstate
);
4516 if (PyErr_Occurred()) SWIG_fail
;
4518 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, SWIG_POINTER_NEW
| 0 );
4525 SWIGINTERN PyObject
*_wrap_delete_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4526 PyObject
*resultobj
= 0;
4527 wxPalette
*arg1
= (wxPalette
*) 0 ;
4530 PyObject
*swig_obj
[1] ;
4532 if (!args
) SWIG_fail
;
4534 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, SWIG_POINTER_DISOWN
| 0 );
4535 if (!SWIG_IsOK(res1
)) {
4536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Palette" "', expected argument " "1"" of type '" "wxPalette *""'");
4538 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4543 wxPyEndAllowThreads(__tstate
);
4544 if (PyErr_Occurred()) SWIG_fail
;
4546 resultobj
= SWIG_Py_Void();
4553 SWIGINTERN PyObject
*_wrap_Palette_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4554 PyObject
*resultobj
= 0;
4555 wxPalette
*arg1
= (wxPalette
*) 0 ;
4562 unsigned char val2
;
4564 unsigned char val3
;
4566 unsigned char val4
;
4568 PyObject
* obj0
= 0 ;
4569 PyObject
* obj1
= 0 ;
4570 PyObject
* obj2
= 0 ;
4571 PyObject
* obj3
= 0 ;
4572 char * kwnames
[] = {
4573 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
4576 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4577 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4578 if (!SWIG_IsOK(res1
)) {
4579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetPixel" "', expected argument " "1"" of type '" "wxPalette *""'");
4581 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4582 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4583 if (!SWIG_IsOK(ecode2
)) {
4584 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetPixel" "', expected argument " "2"" of type '" "byte""'");
4586 arg2
= static_cast< byte
>(val2
);
4587 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4588 if (!SWIG_IsOK(ecode3
)) {
4589 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Palette_GetPixel" "', expected argument " "3"" of type '" "byte""'");
4591 arg3
= static_cast< byte
>(val3
);
4592 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4593 if (!SWIG_IsOK(ecode4
)) {
4594 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Palette_GetPixel" "', expected argument " "4"" of type '" "byte""'");
4596 arg4
= static_cast< byte
>(val4
);
4598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4599 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
4600 wxPyEndAllowThreads(__tstate
);
4601 if (PyErr_Occurred()) SWIG_fail
;
4603 resultobj
= SWIG_From_int(static_cast< int >(result
));
4610 SWIGINTERN PyObject
*_wrap_Palette_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4611 PyObject
*resultobj
= 0;
4612 wxPalette
*arg1
= (wxPalette
*) 0 ;
4614 byte
*arg3
= (byte
*) 0 ;
4615 byte
*arg4
= (byte
*) 0 ;
4616 byte
*arg5
= (byte
*) 0 ;
4623 int res3
= SWIG_TMPOBJ
;
4625 int res4
= SWIG_TMPOBJ
;
4627 int res5
= SWIG_TMPOBJ
;
4628 PyObject
* obj0
= 0 ;
4629 PyObject
* obj1
= 0 ;
4630 char * kwnames
[] = {
4631 (char *) "self",(char *) "pixel", NULL
4637 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4638 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4639 if (!SWIG_IsOK(res1
)) {
4640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetRGB" "', expected argument " "1"" of type '" "wxPalette *""'");
4642 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4643 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4644 if (!SWIG_IsOK(ecode2
)) {
4645 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetRGB" "', expected argument " "2"" of type '" "int""'");
4647 arg2
= static_cast< int >(val2
);
4649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4650 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
4651 wxPyEndAllowThreads(__tstate
);
4652 if (PyErr_Occurred()) SWIG_fail
;
4655 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4657 if (SWIG_IsTmpObj(res3
)) {
4658 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg3
)));
4660 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4661 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, new_flags
));
4663 if (SWIG_IsTmpObj(res4
)) {
4664 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg4
)));
4666 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4667 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, new_flags
));
4669 if (SWIG_IsTmpObj(res5
)) {
4670 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg5
)));
4672 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4673 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_unsigned_char
, new_flags
));
4681 SWIGINTERN PyObject
*_wrap_Palette_GetColoursCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4682 PyObject
*resultobj
= 0;
4683 wxPalette
*arg1
= (wxPalette
*) 0 ;
4687 PyObject
*swig_obj
[1] ;
4689 if (!args
) SWIG_fail
;
4691 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4692 if (!SWIG_IsOK(res1
)) {
4693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetColoursCount" "', expected argument " "1"" of type '" "wxPalette const *""'");
4695 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4698 result
= (int)((wxPalette
const *)arg1
)->GetColoursCount();
4699 wxPyEndAllowThreads(__tstate
);
4700 if (PyErr_Occurred()) SWIG_fail
;
4702 resultobj
= SWIG_From_int(static_cast< int >(result
));
4709 SWIGINTERN PyObject
*_wrap_Palette_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4710 PyObject
*resultobj
= 0;
4711 wxPalette
*arg1
= (wxPalette
*) 0 ;
4715 PyObject
*swig_obj
[1] ;
4717 if (!args
) SWIG_fail
;
4719 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4720 if (!SWIG_IsOK(res1
)) {
4721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_Ok" "', expected argument " "1"" of type '" "wxPalette *""'");
4723 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4726 result
= (bool)(arg1
)->Ok();
4727 wxPyEndAllowThreads(__tstate
);
4728 if (PyErr_Occurred()) SWIG_fail
;
4731 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4739 SWIGINTERN PyObject
*Palette_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4741 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4742 SWIG_TypeNewClientData(SWIGTYPE_p_wxPalette
, SWIG_NewClientData(obj
));
4743 return SWIG_Py_Void();
4746 SWIGINTERN PyObject
*Palette_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4747 return SWIG_Python_InitShadowInstance(args
);
4750 SWIGINTERN PyObject
*_wrap_new_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4751 PyObject
*resultobj
= 0;
4752 wxColour
*arg1
= 0 ;
4753 int arg2
= (int) 1 ;
4754 int arg3
= (int) wxSOLID
;
4761 PyObject
* obj0
= 0 ;
4762 PyObject
* obj1
= 0 ;
4763 PyObject
* obj2
= 0 ;
4764 char * kwnames
[] = {
4765 (char *) "colour",(char *) "width",(char *) "style", NULL
4768 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4771 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
4774 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4775 if (!SWIG_IsOK(ecode2
)) {
4776 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Pen" "', expected argument " "2"" of type '" "int""'");
4778 arg2
= static_cast< int >(val2
);
4781 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4782 if (!SWIG_IsOK(ecode3
)) {
4783 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Pen" "', expected argument " "3"" of type '" "int""'");
4785 arg3
= static_cast< int >(val3
);
4788 if (!wxPyCheckForApp()) SWIG_fail
;
4789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4790 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
4791 wxPyEndAllowThreads(__tstate
);
4792 if (PyErr_Occurred()) SWIG_fail
;
4794 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, SWIG_POINTER_NEW
| 0 );
4801 SWIGINTERN PyObject
*_wrap_delete_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4802 PyObject
*resultobj
= 0;
4803 wxPen
*arg1
= (wxPen
*) 0 ;
4806 PyObject
*swig_obj
[1] ;
4808 if (!args
) SWIG_fail
;
4810 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, SWIG_POINTER_DISOWN
| 0 );
4811 if (!SWIG_IsOK(res1
)) {
4812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Pen" "', expected argument " "1"" of type '" "wxPen *""'");
4814 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4819 wxPyEndAllowThreads(__tstate
);
4820 if (PyErr_Occurred()) SWIG_fail
;
4822 resultobj
= SWIG_Py_Void();
4829 SWIGINTERN PyObject
*_wrap_Pen_GetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4830 PyObject
*resultobj
= 0;
4831 wxPen
*arg1
= (wxPen
*) 0 ;
4835 PyObject
*swig_obj
[1] ;
4837 if (!args
) SWIG_fail
;
4839 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4840 if (!SWIG_IsOK(res1
)) {
4841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetCap" "', expected argument " "1"" of type '" "wxPen *""'");
4843 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4846 result
= (int)(arg1
)->GetCap();
4847 wxPyEndAllowThreads(__tstate
);
4848 if (PyErr_Occurred()) SWIG_fail
;
4850 resultobj
= SWIG_From_int(static_cast< int >(result
));
4857 SWIGINTERN PyObject
*_wrap_Pen_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4858 PyObject
*resultobj
= 0;
4859 wxPen
*arg1
= (wxPen
*) 0 ;
4863 PyObject
*swig_obj
[1] ;
4865 if (!args
) SWIG_fail
;
4867 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4868 if (!SWIG_IsOK(res1
)) {
4869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetColour" "', expected argument " "1"" of type '" "wxPen *""'");
4871 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4874 result
= (arg1
)->GetColour();
4875 wxPyEndAllowThreads(__tstate
);
4876 if (PyErr_Occurred()) SWIG_fail
;
4878 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4885 SWIGINTERN PyObject
*_wrap_Pen_GetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4886 PyObject
*resultobj
= 0;
4887 wxPen
*arg1
= (wxPen
*) 0 ;
4891 PyObject
*swig_obj
[1] ;
4893 if (!args
) SWIG_fail
;
4895 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4896 if (!SWIG_IsOK(res1
)) {
4897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
4899 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4902 result
= (int)(arg1
)->GetJoin();
4903 wxPyEndAllowThreads(__tstate
);
4904 if (PyErr_Occurred()) SWIG_fail
;
4906 resultobj
= SWIG_From_int(static_cast< int >(result
));
4913 SWIGINTERN PyObject
*_wrap_Pen_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4914 PyObject
*resultobj
= 0;
4915 wxPen
*arg1
= (wxPen
*) 0 ;
4919 PyObject
*swig_obj
[1] ;
4921 if (!args
) SWIG_fail
;
4923 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4924 if (!SWIG_IsOK(res1
)) {
4925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
4927 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4930 result
= (int)(arg1
)->GetStyle();
4931 wxPyEndAllowThreads(__tstate
);
4932 if (PyErr_Occurred()) SWIG_fail
;
4934 resultobj
= SWIG_From_int(static_cast< int >(result
));
4941 SWIGINTERN PyObject
*_wrap_Pen_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4942 PyObject
*resultobj
= 0;
4943 wxPen
*arg1
= (wxPen
*) 0 ;
4947 PyObject
*swig_obj
[1] ;
4949 if (!args
) SWIG_fail
;
4951 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4952 if (!SWIG_IsOK(res1
)) {
4953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
4955 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4958 result
= (int)(arg1
)->GetWidth();
4959 wxPyEndAllowThreads(__tstate
);
4960 if (PyErr_Occurred()) SWIG_fail
;
4962 resultobj
= SWIG_From_int(static_cast< int >(result
));
4969 SWIGINTERN PyObject
*_wrap_Pen_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4970 PyObject
*resultobj
= 0;
4971 wxPen
*arg1
= (wxPen
*) 0 ;
4975 PyObject
*swig_obj
[1] ;
4977 if (!args
) SWIG_fail
;
4979 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4980 if (!SWIG_IsOK(res1
)) {
4981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_Ok" "', expected argument " "1"" of type '" "wxPen *""'");
4983 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4986 result
= (bool)(arg1
)->Ok();
4987 wxPyEndAllowThreads(__tstate
);
4988 if (PyErr_Occurred()) SWIG_fail
;
4991 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4999 SWIGINTERN PyObject
*_wrap_Pen_SetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5000 PyObject
*resultobj
= 0;
5001 wxPen
*arg1
= (wxPen
*) 0 ;
5007 PyObject
* obj0
= 0 ;
5008 PyObject
* obj1
= 0 ;
5009 char * kwnames
[] = {
5010 (char *) "self",(char *) "cap_style", NULL
5013 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5014 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5015 if (!SWIG_IsOK(res1
)) {
5016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetCap" "', expected argument " "1"" of type '" "wxPen *""'");
5018 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5019 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5020 if (!SWIG_IsOK(ecode2
)) {
5021 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetCap" "', expected argument " "2"" of type '" "int""'");
5023 arg2
= static_cast< int >(val2
);
5025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5026 (arg1
)->SetCap(arg2
);
5027 wxPyEndAllowThreads(__tstate
);
5028 if (PyErr_Occurred()) SWIG_fail
;
5030 resultobj
= SWIG_Py_Void();
5037 SWIGINTERN PyObject
*_wrap_Pen_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5038 PyObject
*resultobj
= 0;
5039 wxPen
*arg1
= (wxPen
*) 0 ;
5040 wxColour
*arg2
= 0 ;
5044 PyObject
* obj0
= 0 ;
5045 PyObject
* obj1
= 0 ;
5046 char * kwnames
[] = {
5047 (char *) "self",(char *) "colour", NULL
5050 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5051 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5052 if (!SWIG_IsOK(res1
)) {
5053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetColour" "', expected argument " "1"" of type '" "wxPen *""'");
5055 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5058 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5062 (arg1
)->SetColour(*arg2
);
5063 wxPyEndAllowThreads(__tstate
);
5064 if (PyErr_Occurred()) SWIG_fail
;
5066 resultobj
= SWIG_Py_Void();
5073 SWIGINTERN PyObject
*_wrap_Pen_SetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5074 PyObject
*resultobj
= 0;
5075 wxPen
*arg1
= (wxPen
*) 0 ;
5081 PyObject
* obj0
= 0 ;
5082 PyObject
* obj1
= 0 ;
5083 char * kwnames
[] = {
5084 (char *) "self",(char *) "join_style", NULL
5087 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5088 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5089 if (!SWIG_IsOK(res1
)) {
5090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
5092 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5093 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5094 if (!SWIG_IsOK(ecode2
)) {
5095 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetJoin" "', expected argument " "2"" of type '" "int""'");
5097 arg2
= static_cast< int >(val2
);
5099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5100 (arg1
)->SetJoin(arg2
);
5101 wxPyEndAllowThreads(__tstate
);
5102 if (PyErr_Occurred()) SWIG_fail
;
5104 resultobj
= SWIG_Py_Void();
5111 SWIGINTERN PyObject
*_wrap_Pen_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5112 PyObject
*resultobj
= 0;
5113 wxPen
*arg1
= (wxPen
*) 0 ;
5119 PyObject
* obj0
= 0 ;
5120 PyObject
* obj1
= 0 ;
5121 char * kwnames
[] = {
5122 (char *) "self",(char *) "style", NULL
5125 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5126 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5127 if (!SWIG_IsOK(res1
)) {
5128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
5130 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5131 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5132 if (!SWIG_IsOK(ecode2
)) {
5133 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetStyle" "', expected argument " "2"" of type '" "int""'");
5135 arg2
= static_cast< int >(val2
);
5137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5138 (arg1
)->SetStyle(arg2
);
5139 wxPyEndAllowThreads(__tstate
);
5140 if (PyErr_Occurred()) SWIG_fail
;
5142 resultobj
= SWIG_Py_Void();
5149 SWIGINTERN PyObject
*_wrap_Pen_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5150 PyObject
*resultobj
= 0;
5151 wxPen
*arg1
= (wxPen
*) 0 ;
5157 PyObject
* obj0
= 0 ;
5158 PyObject
* obj1
= 0 ;
5159 char * kwnames
[] = {
5160 (char *) "self",(char *) "width", NULL
5163 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5164 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5165 if (!SWIG_IsOK(res1
)) {
5166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
5168 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5169 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5170 if (!SWIG_IsOK(ecode2
)) {
5171 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetWidth" "', expected argument " "2"" of type '" "int""'");
5173 arg2
= static_cast< int >(val2
);
5175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5176 (arg1
)->SetWidth(arg2
);
5177 wxPyEndAllowThreads(__tstate
);
5178 if (PyErr_Occurred()) SWIG_fail
;
5180 resultobj
= SWIG_Py_Void();
5187 SWIGINTERN PyObject
*_wrap_Pen_SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5188 PyObject
*resultobj
= 0;
5189 wxPen
*arg1
= (wxPen
*) 0 ;
5191 wxDash
*arg3
= (wxDash
*) 0 ;
5194 PyObject
* obj0
= 0 ;
5195 PyObject
* obj1
= 0 ;
5196 char * kwnames
[] = {
5197 (char *) "self",(char *) "dashes", NULL
5200 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5201 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5202 if (!SWIG_IsOK(res1
)) {
5203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5205 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5207 arg2
= PyList_Size(obj1
);
5208 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
5209 if (arg3
== NULL
) SWIG_fail
;
5212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5213 (arg1
)->SetDashes(arg2
,arg3
);
5214 wxPyEndAllowThreads(__tstate
);
5215 if (PyErr_Occurred()) SWIG_fail
;
5217 resultobj
= SWIG_Py_Void();
5219 if (arg3
) delete [] arg3
;
5224 if (arg3
) delete [] arg3
;
5230 SWIGINTERN PyObject
*_wrap_Pen_GetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5231 PyObject
*resultobj
= 0;
5232 wxPen
*arg1
= (wxPen
*) 0 ;
5233 PyObject
*result
= 0 ;
5236 PyObject
*swig_obj
[1] ;
5238 if (!args
) SWIG_fail
;
5240 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5241 if (!SWIG_IsOK(res1
)) {
5242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5244 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5247 result
= (PyObject
*)wxPen_GetDashes(arg1
);
5248 wxPyEndAllowThreads(__tstate
);
5249 if (PyErr_Occurred()) SWIG_fail
;
5258 SWIGINTERN PyObject
*_wrap_Pen__SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5259 PyObject
*resultobj
= 0;
5260 wxPen
*arg1
= (wxPen
*) 0 ;
5261 PyObject
*arg2
= (PyObject
*) 0 ;
5262 PyObject
*arg3
= (PyObject
*) 0 ;
5265 PyObject
* obj0
= 0 ;
5266 PyObject
* obj1
= 0 ;
5267 PyObject
* obj2
= 0 ;
5268 char * kwnames
[] = {
5269 (char *) "self",(char *) "_self",(char *) "pyDashes", NULL
5272 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Pen__SetDashes",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5273 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5274 if (!SWIG_IsOK(res1
)) {
5275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen__SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5277 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5282 wxPen__SetDashes(arg1
,arg2
,arg3
);
5283 wxPyEndAllowThreads(__tstate
);
5284 if (PyErr_Occurred()) SWIG_fail
;
5286 resultobj
= SWIG_Py_Void();
5293 SWIGINTERN PyObject
*_wrap_Pen___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5294 PyObject
*resultobj
= 0;
5295 wxPen
*arg1
= (wxPen
*) 0 ;
5296 wxPen
*arg2
= (wxPen
*) 0 ;
5302 PyObject
* obj0
= 0 ;
5303 PyObject
* obj1
= 0 ;
5304 char * kwnames
[] = {
5305 (char *) "self",(char *) "other", NULL
5308 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5309 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5310 if (!SWIG_IsOK(res1
)) {
5311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___eq__" "', expected argument " "1"" of type '" "wxPen *""'");
5313 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5314 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5315 if (!SWIG_IsOK(res2
)) {
5316 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___eq__" "', expected argument " "2"" of type '" "wxPen const *""'");
5318 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5321 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
5322 wxPyEndAllowThreads(__tstate
);
5323 if (PyErr_Occurred()) SWIG_fail
;
5326 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5334 SWIGINTERN PyObject
*_wrap_Pen___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5335 PyObject
*resultobj
= 0;
5336 wxPen
*arg1
= (wxPen
*) 0 ;
5337 wxPen
*arg2
= (wxPen
*) 0 ;
5343 PyObject
* obj0
= 0 ;
5344 PyObject
* obj1
= 0 ;
5345 char * kwnames
[] = {
5346 (char *) "self",(char *) "other", NULL
5349 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5350 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5351 if (!SWIG_IsOK(res1
)) {
5352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___ne__" "', expected argument " "1"" of type '" "wxPen *""'");
5354 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5355 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5356 if (!SWIG_IsOK(res2
)) {
5357 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___ne__" "', expected argument " "2"" of type '" "wxPen const *""'");
5359 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5362 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
5363 wxPyEndAllowThreads(__tstate
);
5364 if (PyErr_Occurred()) SWIG_fail
;
5367 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5375 SWIGINTERN PyObject
*Pen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5377 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5378 SWIG_TypeNewClientData(SWIGTYPE_p_wxPen
, SWIG_NewClientData(obj
));
5379 return SWIG_Py_Void();
5382 SWIGINTERN PyObject
*Pen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5383 return SWIG_Python_InitShadowInstance(args
);
5386 SWIGINTERN PyObject
*_wrap_new_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5387 PyObject
*resultobj
= 0;
5388 wxColour
*arg1
= 0 ;
5389 int arg2
= (int) wxSOLID
;
5390 wxBrush
*result
= 0 ;
5394 PyObject
* obj0
= 0 ;
5395 PyObject
* obj1
= 0 ;
5396 char * kwnames
[] = {
5397 (char *) "colour",(char *) "style", NULL
5400 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5403 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
5406 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5407 if (!SWIG_IsOK(ecode2
)) {
5408 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Brush" "', expected argument " "2"" of type '" "int""'");
5410 arg2
= static_cast< int >(val2
);
5413 if (!wxPyCheckForApp()) SWIG_fail
;
5414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5415 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
5416 wxPyEndAllowThreads(__tstate
);
5417 if (PyErr_Occurred()) SWIG_fail
;
5419 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_NEW
| 0 );
5426 SWIGINTERN PyObject
*_wrap_new_BrushFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5427 PyObject
*resultobj
= 0;
5428 wxBitmap
*arg1
= 0 ;
5429 wxBrush
*result
= 0 ;
5432 PyObject
* obj0
= 0 ;
5433 char * kwnames
[] = {
5434 (char *) "stippleBitmap", NULL
5437 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BrushFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
5438 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5439 if (!SWIG_IsOK(res1
)) {
5440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5443 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5445 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5447 if (!wxPyCheckForApp()) SWIG_fail
;
5448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5449 result
= (wxBrush
*)new wxBrush((wxBitmap
const &)*arg1
);
5450 wxPyEndAllowThreads(__tstate
);
5451 if (PyErr_Occurred()) SWIG_fail
;
5453 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_OWN
| 0 );
5460 SWIGINTERN PyObject
*_wrap_delete_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5461 PyObject
*resultobj
= 0;
5462 wxBrush
*arg1
= (wxBrush
*) 0 ;
5465 PyObject
*swig_obj
[1] ;
5467 if (!args
) SWIG_fail
;
5469 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, SWIG_POINTER_DISOWN
| 0 );
5470 if (!SWIG_IsOK(res1
)) {
5471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Brush" "', expected argument " "1"" of type '" "wxBrush *""'");
5473 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5478 wxPyEndAllowThreads(__tstate
);
5479 if (PyErr_Occurred()) SWIG_fail
;
5481 resultobj
= SWIG_Py_Void();
5488 SWIGINTERN PyObject
*_wrap_Brush_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5489 PyObject
*resultobj
= 0;
5490 wxBrush
*arg1
= (wxBrush
*) 0 ;
5491 wxColour
*arg2
= 0 ;
5495 PyObject
* obj0
= 0 ;
5496 PyObject
* obj1
= 0 ;
5497 char * kwnames
[] = {
5498 (char *) "self",(char *) "col", NULL
5501 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5502 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5503 if (!SWIG_IsOK(res1
)) {
5504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetColour" "', expected argument " "1"" of type '" "wxBrush *""'");
5506 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5509 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5513 (arg1
)->SetColour((wxColour
const &)*arg2
);
5514 wxPyEndAllowThreads(__tstate
);
5515 if (PyErr_Occurred()) SWIG_fail
;
5517 resultobj
= SWIG_Py_Void();
5524 SWIGINTERN PyObject
*_wrap_Brush_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5525 PyObject
*resultobj
= 0;
5526 wxBrush
*arg1
= (wxBrush
*) 0 ;
5532 PyObject
* obj0
= 0 ;
5533 PyObject
* obj1
= 0 ;
5534 char * kwnames
[] = {
5535 (char *) "self",(char *) "style", NULL
5538 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5539 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5540 if (!SWIG_IsOK(res1
)) {
5541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStyle" "', expected argument " "1"" of type '" "wxBrush *""'");
5543 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5544 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5545 if (!SWIG_IsOK(ecode2
)) {
5546 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Brush_SetStyle" "', expected argument " "2"" of type '" "int""'");
5548 arg2
= static_cast< int >(val2
);
5550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5551 (arg1
)->SetStyle(arg2
);
5552 wxPyEndAllowThreads(__tstate
);
5553 if (PyErr_Occurred()) SWIG_fail
;
5555 resultobj
= SWIG_Py_Void();
5562 SWIGINTERN PyObject
*_wrap_Brush_SetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5563 PyObject
*resultobj
= 0;
5564 wxBrush
*arg1
= (wxBrush
*) 0 ;
5565 wxBitmap
*arg2
= 0 ;
5570 PyObject
* obj0
= 0 ;
5571 PyObject
* obj1
= 0 ;
5572 char * kwnames
[] = {
5573 (char *) "self",(char *) "stipple", NULL
5576 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5577 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5578 if (!SWIG_IsOK(res1
)) {
5579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStipple" "', expected argument " "1"" of type '" "wxBrush *""'");
5581 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5582 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5583 if (!SWIG_IsOK(res2
)) {
5584 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5587 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5589 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
5591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5592 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
5593 wxPyEndAllowThreads(__tstate
);
5594 if (PyErr_Occurred()) SWIG_fail
;
5596 resultobj
= SWIG_Py_Void();
5603 SWIGINTERN PyObject
*_wrap_Brush_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5604 PyObject
*resultobj
= 0;
5605 wxBrush
*arg1
= (wxBrush
*) 0 ;
5609 PyObject
*swig_obj
[1] ;
5611 if (!args
) SWIG_fail
;
5613 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5614 if (!SWIG_IsOK(res1
)) {
5615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetColour" "', expected argument " "1"" of type '" "wxBrush const *""'");
5617 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5620 result
= ((wxBrush
const *)arg1
)->GetColour();
5621 wxPyEndAllowThreads(__tstate
);
5622 if (PyErr_Occurred()) SWIG_fail
;
5624 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5631 SWIGINTERN PyObject
*_wrap_Brush_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5632 PyObject
*resultobj
= 0;
5633 wxBrush
*arg1
= (wxBrush
*) 0 ;
5637 PyObject
*swig_obj
[1] ;
5639 if (!args
) SWIG_fail
;
5641 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5642 if (!SWIG_IsOK(res1
)) {
5643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStyle" "', expected argument " "1"" of type '" "wxBrush const *""'");
5645 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5648 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
5649 wxPyEndAllowThreads(__tstate
);
5650 if (PyErr_Occurred()) SWIG_fail
;
5652 resultobj
= SWIG_From_int(static_cast< int >(result
));
5659 SWIGINTERN PyObject
*_wrap_Brush_GetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5660 PyObject
*resultobj
= 0;
5661 wxBrush
*arg1
= (wxBrush
*) 0 ;
5662 wxBitmap
*result
= 0 ;
5665 PyObject
*swig_obj
[1] ;
5667 if (!args
) SWIG_fail
;
5669 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5670 if (!SWIG_IsOK(res1
)) {
5671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStipple" "', expected argument " "1"" of type '" "wxBrush const *""'");
5673 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5676 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
5677 wxPyEndAllowThreads(__tstate
);
5678 if (PyErr_Occurred()) SWIG_fail
;
5680 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
5687 SWIGINTERN PyObject
*_wrap_Brush_IsHatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5688 PyObject
*resultobj
= 0;
5689 wxBrush
*arg1
= (wxBrush
*) 0 ;
5693 PyObject
*swig_obj
[1] ;
5695 if (!args
) SWIG_fail
;
5697 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5698 if (!SWIG_IsOK(res1
)) {
5699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsHatch" "', expected argument " "1"" of type '" "wxBrush const *""'");
5701 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5704 result
= (bool)((wxBrush
const *)arg1
)->IsHatch();
5705 wxPyEndAllowThreads(__tstate
);
5706 if (PyErr_Occurred()) SWIG_fail
;
5709 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5717 SWIGINTERN PyObject
*_wrap_Brush_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5718 PyObject
*resultobj
= 0;
5719 wxBrush
*arg1
= (wxBrush
*) 0 ;
5723 PyObject
*swig_obj
[1] ;
5725 if (!args
) SWIG_fail
;
5727 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5728 if (!SWIG_IsOK(res1
)) {
5729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_Ok" "', expected argument " "1"" of type '" "wxBrush *""'");
5731 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5734 result
= (bool)(arg1
)->Ok();
5735 wxPyEndAllowThreads(__tstate
);
5736 if (PyErr_Occurred()) SWIG_fail
;
5739 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5747 SWIGINTERN PyObject
*_wrap_Brush_MacGetTheme(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5748 PyObject
*resultobj
= 0;
5749 wxBrush
*arg1
= (wxBrush
*) 0 ;
5753 PyObject
*swig_obj
[1] ;
5755 if (!args
) SWIG_fail
;
5757 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5758 if (!SWIG_IsOK(res1
)) {
5759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_MacGetTheme" "', expected argument " "1"" of type '" "wxBrush *""'");
5761 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5764 result
= (short)(arg1
)->MacGetTheme();
5765 wxPyEndAllowThreads(__tstate
);
5766 if (PyErr_Occurred()) SWIG_fail
;
5768 resultobj
= SWIG_From_short(static_cast< short >(result
));
5775 SWIGINTERN PyObject
*_wrap_Brush_MacSetTheme(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5776 PyObject
*resultobj
= 0;
5777 wxBrush
*arg1
= (wxBrush
*) 0 ;
5783 PyObject
* obj0
= 0 ;
5784 PyObject
* obj1
= 0 ;
5785 char * kwnames
[] = {
5786 (char *) "self",(char *) "macThemeBrush", NULL
5789 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_MacSetTheme",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5790 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5791 if (!SWIG_IsOK(res1
)) {
5792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_MacSetTheme" "', expected argument " "1"" of type '" "wxBrush *""'");
5794 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5795 ecode2
= SWIG_AsVal_short(obj1
, &val2
);
5796 if (!SWIG_IsOK(ecode2
)) {
5797 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Brush_MacSetTheme" "', expected argument " "2"" of type '" "short""'");
5799 arg2
= static_cast< short >(val2
);
5801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5802 (arg1
)->MacSetTheme(arg2
);
5803 wxPyEndAllowThreads(__tstate
);
5804 if (PyErr_Occurred()) SWIG_fail
;
5806 resultobj
= SWIG_Py_Void();
5813 SWIGINTERN PyObject
*Brush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5815 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5816 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrush
, SWIG_NewClientData(obj
));
5817 return SWIG_Py_Void();
5820 SWIGINTERN PyObject
*Brush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5821 return SWIG_Python_InitShadowInstance(args
);
5824 SWIGINTERN PyObject
*_wrap_new_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5825 PyObject
*resultobj
= 0;
5826 wxString
*arg1
= 0 ;
5827 wxBitmapType arg2
= (wxBitmapType
) wxBITMAP_TYPE_ANY
;
5828 wxBitmap
*result
= 0 ;
5829 bool temp1
= false ;
5832 PyObject
* obj0
= 0 ;
5833 PyObject
* obj1
= 0 ;
5834 char * kwnames
[] = {
5835 (char *) "name",(char *) "type", NULL
5838 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5840 arg1
= wxString_in_helper(obj0
);
5841 if (arg1
== NULL
) SWIG_fail
;
5845 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5846 if (!SWIG_IsOK(ecode2
)) {
5847 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Bitmap" "', expected argument " "2"" of type '" "wxBitmapType""'");
5849 arg2
= static_cast< wxBitmapType
>(val2
);
5852 if (!wxPyCheckForApp()) SWIG_fail
;
5853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5854 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,arg2
);
5855 wxPyEndAllowThreads(__tstate
);
5856 if (PyErr_Occurred()) SWIG_fail
;
5858 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_NEW
| 0 );
5873 SWIGINTERN PyObject
*_wrap_delete_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5874 PyObject
*resultobj
= 0;
5875 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5878 PyObject
*swig_obj
[1] ;
5880 if (!args
) SWIG_fail
;
5882 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, SWIG_POINTER_DISOWN
| 0 );
5883 if (!SWIG_IsOK(res1
)) {
5884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Bitmap" "', expected argument " "1"" of type '" "wxBitmap *""'");
5886 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5890 if (PyErr_Occurred()) SWIG_fail
;
5892 resultobj
= SWIG_Py_Void();
5899 SWIGINTERN PyObject
*_wrap_new_EmptyBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5900 PyObject
*resultobj
= 0;
5903 int arg3
= (int) -1 ;
5904 wxBitmap
*result
= 0 ;
5911 PyObject
* obj0
= 0 ;
5912 PyObject
* obj1
= 0 ;
5913 PyObject
* obj2
= 0 ;
5914 char * kwnames
[] = {
5915 (char *) "width",(char *) "height",(char *) "depth", NULL
5918 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5919 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5920 if (!SWIG_IsOK(ecode1
)) {
5921 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_EmptyBitmap" "', expected argument " "1"" of type '" "int""'");
5923 arg1
= static_cast< int >(val1
);
5924 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5925 if (!SWIG_IsOK(ecode2
)) {
5926 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_EmptyBitmap" "', expected argument " "2"" of type '" "int""'");
5928 arg2
= static_cast< int >(val2
);
5930 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5931 if (!SWIG_IsOK(ecode3
)) {
5932 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_EmptyBitmap" "', expected argument " "3"" of type '" "int""'");
5934 arg3
= static_cast< int >(val3
);
5937 if (!wxPyCheckForApp()) SWIG_fail
;
5938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5939 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
5940 wxPyEndAllowThreads(__tstate
);
5941 if (PyErr_Occurred()) SWIG_fail
;
5943 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5950 SWIGINTERN PyObject
*_wrap_new_BitmapFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5951 PyObject
*resultobj
= 0;
5953 wxBitmap
*result
= 0 ;
5956 PyObject
* obj0
= 0 ;
5957 char * kwnames
[] = {
5958 (char *) "icon", NULL
5961 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) SWIG_fail
;
5962 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
5963 if (!SWIG_IsOK(res1
)) {
5964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
5967 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
5969 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
5971 if (!wxPyCheckForApp()) SWIG_fail
;
5972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5973 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
5974 wxPyEndAllowThreads(__tstate
);
5975 if (PyErr_Occurred()) SWIG_fail
;
5977 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5984 SWIGINTERN PyObject
*_wrap_new_BitmapFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5985 PyObject
*resultobj
= 0;
5987 int arg2
= (int) -1 ;
5988 wxBitmap
*result
= 0 ;
5993 PyObject
* obj0
= 0 ;
5994 PyObject
* obj1
= 0 ;
5995 char * kwnames
[] = {
5996 (char *) "image",(char *) "depth", NULL
5999 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6000 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
6001 if (!SWIG_IsOK(res1
)) {
6002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
6005 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
6007 arg1
= reinterpret_cast< wxImage
* >(argp1
);
6009 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6010 if (!SWIG_IsOK(ecode2
)) {
6011 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromImage" "', expected argument " "2"" of type '" "int""'");
6013 arg2
= static_cast< int >(val2
);
6016 if (!wxPyCheckForApp()) SWIG_fail
;
6017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6018 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
6019 wxPyEndAllowThreads(__tstate
);
6020 if (PyErr_Occurred()) SWIG_fail
;
6022 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6029 SWIGINTERN PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6030 PyObject
*resultobj
= 0;
6031 PyObject
*arg1
= (PyObject
*) 0 ;
6032 wxBitmap
*result
= 0 ;
6033 PyObject
* obj0
= 0 ;
6034 char * kwnames
[] = {
6035 (char *) "listOfStrings", NULL
6038 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
6041 if (!wxPyCheckForApp()) SWIG_fail
;
6042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6043 result
= (wxBitmap
*)new_wxBitmap(arg1
);
6044 wxPyEndAllowThreads(__tstate
);
6045 if (PyErr_Occurred()) SWIG_fail
;
6047 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6054 SWIGINTERN PyObject
*_wrap_new_BitmapFromBits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6055 PyObject
*resultobj
= 0;
6056 PyObject
*arg1
= (PyObject
*) 0 ;
6059 int arg4
= (int) 1 ;
6060 wxBitmap
*result
= 0 ;
6067 PyObject
* obj0
= 0 ;
6068 PyObject
* obj1
= 0 ;
6069 PyObject
* obj2
= 0 ;
6070 PyObject
* obj3
= 0 ;
6071 char * kwnames
[] = {
6072 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
6075 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6077 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6078 if (!SWIG_IsOK(ecode2
)) {
6079 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromBits" "', expected argument " "2"" of type '" "int""'");
6081 arg2
= static_cast< int >(val2
);
6082 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6083 if (!SWIG_IsOK(ecode3
)) {
6084 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BitmapFromBits" "', expected argument " "3"" of type '" "int""'");
6086 arg3
= static_cast< int >(val3
);
6088 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6089 if (!SWIG_IsOK(ecode4
)) {
6090 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BitmapFromBits" "', expected argument " "4"" of type '" "int""'");
6092 arg4
= static_cast< int >(val4
);
6095 if (!wxPyCheckForApp()) SWIG_fail
;
6096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6097 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
6098 wxPyEndAllowThreads(__tstate
);
6099 if (PyErr_Occurred()) SWIG_fail
;
6101 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6108 SWIGINTERN PyObject
*_wrap_Bitmap_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6109 PyObject
*resultobj
= 0;
6110 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6114 PyObject
*swig_obj
[1] ;
6116 if (!args
) SWIG_fail
;
6118 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6119 if (!SWIG_IsOK(res1
)) {
6120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_Ok" "', expected argument " "1"" of type '" "wxBitmap *""'");
6122 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6124 result
= (bool)(arg1
)->Ok();
6125 if (PyErr_Occurred()) SWIG_fail
;
6128 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6136 SWIGINTERN PyObject
*_wrap_Bitmap_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6137 PyObject
*resultobj
= 0;
6138 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6142 PyObject
*swig_obj
[1] ;
6144 if (!args
) SWIG_fail
;
6146 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6147 if (!SWIG_IsOK(res1
)) {
6148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6150 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6152 result
= (int)(arg1
)->GetWidth();
6153 if (PyErr_Occurred()) SWIG_fail
;
6155 resultobj
= SWIG_From_int(static_cast< int >(result
));
6162 SWIGINTERN PyObject
*_wrap_Bitmap_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6163 PyObject
*resultobj
= 0;
6164 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6168 PyObject
*swig_obj
[1] ;
6170 if (!args
) SWIG_fail
;
6172 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6173 if (!SWIG_IsOK(res1
)) {
6174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6176 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6178 result
= (int)(arg1
)->GetHeight();
6179 if (PyErr_Occurred()) SWIG_fail
;
6181 resultobj
= SWIG_From_int(static_cast< int >(result
));
6188 SWIGINTERN PyObject
*_wrap_Bitmap_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6189 PyObject
*resultobj
= 0;
6190 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6194 PyObject
*swig_obj
[1] ;
6196 if (!args
) SWIG_fail
;
6198 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6199 if (!SWIG_IsOK(res1
)) {
6200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6202 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6204 result
= (int)(arg1
)->GetDepth();
6205 if (PyErr_Occurred()) SWIG_fail
;
6207 resultobj
= SWIG_From_int(static_cast< int >(result
));
6214 SWIGINTERN PyObject
*_wrap_Bitmap_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6215 PyObject
*resultobj
= 0;
6216 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6220 PyObject
*swig_obj
[1] ;
6222 if (!args
) SWIG_fail
;
6224 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6225 if (!SWIG_IsOK(res1
)) {
6226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6228 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6230 result
= wxBitmap_GetSize(arg1
);
6231 if (PyErr_Occurred()) SWIG_fail
;
6233 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6240 SWIGINTERN PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6241 PyObject
*resultobj
= 0;
6242 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6243 SwigValueWrapper
<wxImage
> result
;
6246 PyObject
*swig_obj
[1] ;
6248 if (!args
) SWIG_fail
;
6250 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6251 if (!SWIG_IsOK(res1
)) {
6252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_ConvertToImage" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6254 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6256 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
6257 if (PyErr_Occurred()) SWIG_fail
;
6259 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
6266 SWIGINTERN PyObject
*_wrap_Bitmap_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6267 PyObject
*resultobj
= 0;
6268 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6269 wxMask
*result
= 0 ;
6272 PyObject
*swig_obj
[1] ;
6274 if (!args
) SWIG_fail
;
6276 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6277 if (!SWIG_IsOK(res1
)) {
6278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetMask" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6280 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6282 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
6283 if (PyErr_Occurred()) SWIG_fail
;
6285 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, 0 | 0 );
6292 SWIGINTERN PyObject
*_wrap_Bitmap_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6293 PyObject
*resultobj
= 0;
6294 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6295 wxMask
*arg2
= (wxMask
*) 0 ;
6299 PyObject
* obj0
= 0 ;
6300 PyObject
* obj1
= 0 ;
6301 char * kwnames
[] = {
6302 (char *) "self",(char *) "mask", NULL
6305 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6306 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6307 if (!SWIG_IsOK(res1
)) {
6308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMask" "', expected argument " "1"" of type '" "wxBitmap *""'");
6310 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6311 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
6312 if (!SWIG_IsOK(res2
)) {
6313 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_SetMask" "', expected argument " "2"" of type '" "wxMask *""'");
6316 (arg1
)->SetMask(arg2
);
6317 if (PyErr_Occurred()) SWIG_fail
;
6319 resultobj
= SWIG_Py_Void();
6326 SWIGINTERN PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6327 PyObject
*resultobj
= 0;
6328 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6329 wxColour
*arg2
= 0 ;
6333 PyObject
* obj0
= 0 ;
6334 PyObject
* obj1
= 0 ;
6335 char * kwnames
[] = {
6336 (char *) "self",(char *) "colour", NULL
6339 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6340 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6341 if (!SWIG_IsOK(res1
)) {
6342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMaskColour" "', expected argument " "1"" of type '" "wxBitmap *""'");
6344 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6347 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6350 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
6351 if (PyErr_Occurred()) SWIG_fail
;
6353 resultobj
= SWIG_Py_Void();
6360 SWIGINTERN PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6361 PyObject
*resultobj
= 0;
6362 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6364 SwigValueWrapper
<wxBitmap
> result
;
6368 PyObject
* obj0
= 0 ;
6369 PyObject
* obj1
= 0 ;
6370 char * kwnames
[] = {
6371 (char *) "self",(char *) "rect", NULL
6374 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6375 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6376 if (!SWIG_IsOK(res1
)) {
6377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSubBitmap" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6379 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6382 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6385 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
6386 if (PyErr_Occurred()) SWIG_fail
;
6388 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6395 SWIGINTERN PyObject
*_wrap_Bitmap_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6396 PyObject
*resultobj
= 0;
6397 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6398 wxString
*arg2
= 0 ;
6400 wxPalette
*arg4
= (wxPalette
*) NULL
;
6404 bool temp2
= false ;
6409 PyObject
* obj0
= 0 ;
6410 PyObject
* obj1
= 0 ;
6411 PyObject
* obj2
= 0 ;
6412 PyObject
* obj3
= 0 ;
6413 char * kwnames
[] = {
6414 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
6417 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6418 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6419 if (!SWIG_IsOK(res1
)) {
6420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SaveFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6422 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6424 arg2
= wxString_in_helper(obj1
);
6425 if (arg2
== NULL
) SWIG_fail
;
6428 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6429 if (!SWIG_IsOK(ecode3
)) {
6430 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_SaveFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6432 arg3
= static_cast< wxBitmapType
>(val3
);
6434 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxPalette
, 0 | 0 );
6435 if (!SWIG_IsOK(res4
)) {
6436 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Bitmap_SaveFile" "', expected argument " "4"" of type '" "wxPalette *""'");
6438 arg4
= reinterpret_cast< wxPalette
* >(argp4
);
6441 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
,arg4
);
6442 if (PyErr_Occurred()) SWIG_fail
;
6445 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6461 SWIGINTERN PyObject
*_wrap_Bitmap_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6462 PyObject
*resultobj
= 0;
6463 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6464 wxString
*arg2
= 0 ;
6469 bool temp2
= false ;
6472 PyObject
* obj0
= 0 ;
6473 PyObject
* obj1
= 0 ;
6474 PyObject
* obj2
= 0 ;
6475 char * kwnames
[] = {
6476 (char *) "self",(char *) "name",(char *) "type", NULL
6479 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6480 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6481 if (!SWIG_IsOK(res1
)) {
6482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_LoadFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6484 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6486 arg2
= wxString_in_helper(obj1
);
6487 if (arg2
== NULL
) SWIG_fail
;
6490 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6491 if (!SWIG_IsOK(ecode3
)) {
6492 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6494 arg3
= static_cast< wxBitmapType
>(val3
);
6496 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
6497 if (PyErr_Occurred()) SWIG_fail
;
6500 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6516 SWIGINTERN PyObject
*_wrap_Bitmap_GetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6517 PyObject
*resultobj
= 0;
6518 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6519 wxPalette
*result
= 0 ;
6522 PyObject
*swig_obj
[1] ;
6524 if (!args
) SWIG_fail
;
6526 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6527 if (!SWIG_IsOK(res1
)) {
6528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetPalette" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6530 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6532 result
= (wxPalette
*)((wxBitmap
const *)arg1
)->GetPalette();
6533 if (PyErr_Occurred()) SWIG_fail
;
6535 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, 0 | 0 );
6542 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6543 PyObject
*resultobj
= 0;
6544 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6551 PyObject
* obj0
= 0 ;
6552 PyObject
* obj1
= 0 ;
6553 char * kwnames
[] = {
6554 (char *) "self",(char *) "icon", NULL
6557 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6558 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6559 if (!SWIG_IsOK(res1
)) {
6560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "1"" of type '" "wxBitmap *""'");
6562 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6563 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
6564 if (!SWIG_IsOK(res2
)) {
6565 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6568 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6570 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
6572 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
6573 if (PyErr_Occurred()) SWIG_fail
;
6576 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6584 SWIGINTERN PyObject
*_wrap_Bitmap_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6585 PyObject
*resultobj
= 0;
6586 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6592 PyObject
* obj0
= 0 ;
6593 PyObject
* obj1
= 0 ;
6594 char * kwnames
[] = {
6595 (char *) "self",(char *) "height", NULL
6598 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6599 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6600 if (!SWIG_IsOK(res1
)) {
6601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6603 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6604 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6605 if (!SWIG_IsOK(ecode2
)) {
6606 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetHeight" "', expected argument " "2"" of type '" "int""'");
6608 arg2
= static_cast< int >(val2
);
6610 (arg1
)->SetHeight(arg2
);
6611 if (PyErr_Occurred()) SWIG_fail
;
6613 resultobj
= SWIG_Py_Void();
6620 SWIGINTERN PyObject
*_wrap_Bitmap_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6621 PyObject
*resultobj
= 0;
6622 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6628 PyObject
* obj0
= 0 ;
6629 PyObject
* obj1
= 0 ;
6630 char * kwnames
[] = {
6631 (char *) "self",(char *) "width", NULL
6634 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6635 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6636 if (!SWIG_IsOK(res1
)) {
6637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6639 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6640 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6641 if (!SWIG_IsOK(ecode2
)) {
6642 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetWidth" "', expected argument " "2"" of type '" "int""'");
6644 arg2
= static_cast< int >(val2
);
6646 (arg1
)->SetWidth(arg2
);
6647 if (PyErr_Occurred()) SWIG_fail
;
6649 resultobj
= SWIG_Py_Void();
6656 SWIGINTERN PyObject
*_wrap_Bitmap_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6657 PyObject
*resultobj
= 0;
6658 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6664 PyObject
* obj0
= 0 ;
6665 PyObject
* obj1
= 0 ;
6666 char * kwnames
[] = {
6667 (char *) "self",(char *) "depth", NULL
6670 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6671 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6672 if (!SWIG_IsOK(res1
)) {
6673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6675 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6676 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6677 if (!SWIG_IsOK(ecode2
)) {
6678 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetDepth" "', expected argument " "2"" of type '" "int""'");
6680 arg2
= static_cast< int >(val2
);
6682 (arg1
)->SetDepth(arg2
);
6683 if (PyErr_Occurred()) SWIG_fail
;
6685 resultobj
= SWIG_Py_Void();
6692 SWIGINTERN PyObject
*_wrap_Bitmap_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6693 PyObject
*resultobj
= 0;
6694 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6699 PyObject
* obj0
= 0 ;
6700 PyObject
* obj1
= 0 ;
6701 char * kwnames
[] = {
6702 (char *) "self",(char *) "size", NULL
6705 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6706 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6707 if (!SWIG_IsOK(res1
)) {
6708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6710 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6713 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6716 wxBitmap_SetSize(arg1
,(wxSize
const &)*arg2
);
6717 if (PyErr_Occurred()) SWIG_fail
;
6719 resultobj
= SWIG_Py_Void();
6726 SWIGINTERN PyObject
*_wrap_Bitmap___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6727 PyObject
*resultobj
= 0;
6728 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6729 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
6735 PyObject
* obj0
= 0 ;
6736 PyObject
* obj1
= 0 ;
6737 char * kwnames
[] = {
6738 (char *) "self",(char *) "other", NULL
6741 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6742 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6743 if (!SWIG_IsOK(res1
)) {
6744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___eq__" "', expected argument " "1"" of type '" "wxBitmap *""'");
6746 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6747 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6748 if (!SWIG_IsOK(res2
)) {
6749 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___eq__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
6751 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
6753 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
6754 if (PyErr_Occurred()) SWIG_fail
;
6757 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6765 SWIGINTERN PyObject
*_wrap_Bitmap___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6766 PyObject
*resultobj
= 0;
6767 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6768 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
6774 PyObject
* obj0
= 0 ;
6775 PyObject
* obj1
= 0 ;
6776 char * kwnames
[] = {
6777 (char *) "self",(char *) "other", NULL
6780 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6781 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6782 if (!SWIG_IsOK(res1
)) {
6783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___ne__" "', expected argument " "1"" of type '" "wxBitmap *""'");
6785 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6786 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6787 if (!SWIG_IsOK(res2
)) {
6788 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___ne__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
6790 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
6792 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
6793 if (PyErr_Occurred()) SWIG_fail
;
6796 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6804 SWIGINTERN PyObject
*Bitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6806 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6807 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmap
, SWIG_NewClientData(obj
));
6808 return SWIG_Py_Void();
6811 SWIGINTERN PyObject
*Bitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6812 return SWIG_Python_InitShadowInstance(args
);
6815 SWIGINTERN PyObject
*_wrap__BitmapFromBufferAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6816 PyObject
*resultobj
= 0;
6823 wxBitmap
*result
= 0 ;
6830 PyObject
* obj0
= 0 ;
6831 PyObject
* obj1
= 0 ;
6832 PyObject
* obj2
= 0 ;
6833 PyObject
* obj3
= 0 ;
6834 char * kwnames
[] = {
6835 (char *) "width",(char *) "height",(char *) "data",(char *) "alpha", NULL
6838 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:_BitmapFromBufferAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6839 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6840 if (!SWIG_IsOK(ecode1
)) {
6841 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "1"" of type '" "int""'");
6843 arg1
= static_cast< int >(val1
);
6844 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6845 if (!SWIG_IsOK(ecode2
)) {
6846 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "2"" of type '" "int""'");
6848 arg2
= static_cast< int >(val2
);
6850 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
6854 if (obj3
!= Py_None
) {
6855 if (PyObject_AsReadBuffer(obj3
, (const void**)(&arg5
), &temp5
) == -1) SWIG_fail
;
6860 result
= (wxBitmap
*)_BitmapFromBufferAlpha(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
6861 if (PyErr_Occurred()) SWIG_fail
;
6863 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6870 SWIGINTERN PyObject
*_wrap__BitmapFromBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6871 PyObject
*resultobj
= 0;
6876 wxBitmap
*result
= 0 ;
6882 PyObject
* obj0
= 0 ;
6883 PyObject
* obj1
= 0 ;
6884 PyObject
* obj2
= 0 ;
6885 char * kwnames
[] = {
6886 (char *) "width",(char *) "height",(char *) "data", NULL
6889 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBuffer",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6890 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6891 if (!SWIG_IsOK(ecode1
)) {
6892 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBuffer" "', expected argument " "1"" of type '" "int""'");
6894 arg1
= static_cast< int >(val1
);
6895 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6896 if (!SWIG_IsOK(ecode2
)) {
6897 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBuffer" "', expected argument " "2"" of type '" "int""'");
6899 arg2
= static_cast< int >(val2
);
6901 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
6905 result
= (wxBitmap
*)_BitmapFromBuffer(arg1
,arg2
,arg3
,arg4
);
6906 if (PyErr_Occurred()) SWIG_fail
;
6908 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6915 SWIGINTERN PyObject
*_wrap__BitmapFromBufferRGBA(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6916 PyObject
*resultobj
= 0;
6921 wxBitmap
*result
= 0 ;
6927 PyObject
* obj0
= 0 ;
6928 PyObject
* obj1
= 0 ;
6929 PyObject
* obj2
= 0 ;
6930 char * kwnames
[] = {
6931 (char *) "width",(char *) "height",(char *) "data", NULL
6934 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBufferRGBA",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6935 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6936 if (!SWIG_IsOK(ecode1
)) {
6937 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "1"" of type '" "int""'");
6939 arg1
= static_cast< int >(val1
);
6940 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6941 if (!SWIG_IsOK(ecode2
)) {
6942 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "2"" of type '" "int""'");
6944 arg2
= static_cast< int >(val2
);
6946 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
6950 result
= (wxBitmap
*)_BitmapFromBufferRGBA(arg1
,arg2
,arg3
,arg4
);
6951 if (PyErr_Occurred()) SWIG_fail
;
6953 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6960 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6961 PyObject
*resultobj
= 0;
6962 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
6966 PyObject
*swig_obj
[1] ;
6968 if (!args
) SWIG_fail
;
6970 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
6971 if (!SWIG_IsOK(res1
)) {
6972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetOrigin" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
6974 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
6976 result
= ((wxPixelDataBase
const *)arg1
)->GetOrigin();
6977 if (PyErr_Occurred()) SWIG_fail
;
6979 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
6986 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6987 PyObject
*resultobj
= 0;
6988 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
6992 PyObject
*swig_obj
[1] ;
6994 if (!args
) SWIG_fail
;
6996 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
6997 if (!SWIG_IsOK(res1
)) {
6998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetWidth" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7000 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7002 result
= (int)((wxPixelDataBase
const *)arg1
)->GetWidth();
7003 if (PyErr_Occurred()) SWIG_fail
;
7005 resultobj
= SWIG_From_int(static_cast< int >(result
));
7012 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7013 PyObject
*resultobj
= 0;
7014 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7018 PyObject
*swig_obj
[1] ;
7020 if (!args
) SWIG_fail
;
7022 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7023 if (!SWIG_IsOK(res1
)) {
7024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetHeight" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7026 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7028 result
= (int)((wxPixelDataBase
const *)arg1
)->GetHeight();
7029 if (PyErr_Occurred()) SWIG_fail
;
7031 resultobj
= SWIG_From_int(static_cast< int >(result
));
7038 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7039 PyObject
*resultobj
= 0;
7040 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7044 PyObject
*swig_obj
[1] ;
7046 if (!args
) SWIG_fail
;
7048 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7049 if (!SWIG_IsOK(res1
)) {
7050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetSize" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7052 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7054 result
= ((wxPixelDataBase
const *)arg1
)->GetSize();
7055 if (PyErr_Occurred()) SWIG_fail
;
7057 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
7064 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetRowStride(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7065 PyObject
*resultobj
= 0;
7066 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7070 PyObject
*swig_obj
[1] ;
7072 if (!args
) SWIG_fail
;
7074 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7075 if (!SWIG_IsOK(res1
)) {
7076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetRowStride" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7078 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7080 result
= (int)((wxPixelDataBase
const *)arg1
)->GetRowStride();
7081 if (PyErr_Occurred()) SWIG_fail
;
7083 resultobj
= SWIG_From_int(static_cast< int >(result
));
7090 SWIGINTERN PyObject
*PixelDataBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7092 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7093 SWIG_TypeNewClientData(SWIGTYPE_p_wxPixelDataBase
, SWIG_NewClientData(obj
));
7094 return SWIG_Py_Void();
7097 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7098 PyObject
*resultobj
= 0;
7099 wxBitmap
*arg1
= 0 ;
7100 wxNativePixelData
*result
= 0 ;
7104 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7105 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7106 if (!SWIG_IsOK(res1
)) {
7107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7110 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7112 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7114 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
);
7115 if (PyErr_Occurred()) SWIG_fail
;
7117 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7124 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7125 PyObject
*resultobj
= 0;
7126 wxBitmap
*arg1
= 0 ;
7128 wxNativePixelData
*result
= 0 ;
7133 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7134 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7135 if (!SWIG_IsOK(res1
)) {
7136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7139 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7141 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7144 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7147 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxRect
const &)*arg2
);
7148 if (PyErr_Occurred()) SWIG_fail
;
7150 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7157 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7158 PyObject
*resultobj
= 0;
7159 wxBitmap
*arg1
= 0 ;
7162 wxNativePixelData
*result
= 0 ;
7168 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
7169 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7170 if (!SWIG_IsOK(res1
)) {
7171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7174 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7176 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7179 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7183 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
7186 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
7187 if (PyErr_Occurred()) SWIG_fail
;
7189 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7196 SWIGINTERN PyObject
*_wrap_new_NativePixelData(PyObject
*self
, PyObject
*args
) {
7200 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData",0,3,argv
))) SWIG_fail
;
7203 return _wrap_new_NativePixelData__SWIG_0(self
, argc
, argv
);
7206 return _wrap_new_NativePixelData__SWIG_1(self
, argc
, argv
);
7209 return _wrap_new_NativePixelData__SWIG_2(self
, argc
, argv
);
7213 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData'");
7218 SWIGINTERN PyObject
*_wrap_delete_NativePixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7219 PyObject
*resultobj
= 0;
7220 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7223 PyObject
*swig_obj
[1] ;
7225 if (!args
) SWIG_fail
;
7227 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_DISOWN
| 0 );
7228 if (!SWIG_IsOK(res1
)) {
7229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7231 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7235 if (PyErr_Occurred()) SWIG_fail
;
7237 resultobj
= SWIG_Py_Void();
7244 SWIGINTERN PyObject
*_wrap_NativePixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7245 PyObject
*resultobj
= 0;
7246 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7247 wxNativePixelData_Accessor result
;
7250 PyObject
*swig_obj
[1] ;
7252 if (!args
) SWIG_fail
;
7254 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7255 if (!SWIG_IsOK(res1
)) {
7256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_GetPixels" "', expected argument " "1"" of type '" "wxNativePixelData const *""'");
7258 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7260 result
= ((wxNativePixelData
const *)arg1
)->GetPixels();
7261 if (PyErr_Occurred()) SWIG_fail
;
7263 resultobj
= SWIG_NewPointerObj((new wxNativePixelData_Accessor(static_cast< const wxNativePixelData_Accessor
& >(result
))), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
7270 SWIGINTERN PyObject
*_wrap_NativePixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7271 PyObject
*resultobj
= 0;
7272 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7275 PyObject
*swig_obj
[1] ;
7277 if (!args
) SWIG_fail
;
7279 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7280 if (!SWIG_IsOK(res1
)) {
7281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_UseAlpha" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7283 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7286 if (PyErr_Occurred()) SWIG_fail
;
7288 resultobj
= SWIG_Py_Void();
7295 SWIGINTERN PyObject
*_wrap_NativePixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7296 PyObject
*resultobj
= 0;
7297 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7301 PyObject
*swig_obj
[1] ;
7303 if (!args
) SWIG_fail
;
7305 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7306 if (!SWIG_IsOK(res1
)) {
7307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData___nonzero__" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7309 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7311 result
= (bool)wxNativePixelData___nonzero__(arg1
);
7312 if (PyErr_Occurred()) SWIG_fail
;
7315 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7323 SWIGINTERN PyObject
*NativePixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7325 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7326 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData
, SWIG_NewClientData(obj
));
7327 return SWIG_Py_Void();
7330 SWIGINTERN PyObject
*NativePixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7331 return SWIG_Python_InitShadowInstance(args
);
7334 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7335 PyObject
*resultobj
= 0;
7336 wxNativePixelData
*arg1
= 0 ;
7337 wxNativePixelData_Accessor
*result
= 0 ;
7341 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7342 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxNativePixelData
, 0 );
7343 if (!SWIG_IsOK(res1
)) {
7344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7347 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7349 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7351 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
);
7352 if (PyErr_Occurred()) SWIG_fail
;
7354 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7361 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7362 PyObject
*resultobj
= 0;
7363 wxBitmap
*arg1
= 0 ;
7364 wxNativePixelData
*arg2
= 0 ;
7365 wxNativePixelData_Accessor
*result
= 0 ;
7371 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7372 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7373 if (!SWIG_IsOK(res1
)) {
7374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7377 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7379 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7380 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 );
7381 if (!SWIG_IsOK(res2
)) {
7382 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7385 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7387 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7389 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
,*arg2
);
7390 if (PyErr_Occurred()) SWIG_fail
;
7392 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7399 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
7400 PyObject
*resultobj
= 0;
7401 wxNativePixelData_Accessor
*result
= 0 ;
7403 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
7405 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor();
7406 if (PyErr_Occurred()) SWIG_fail
;
7408 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7415 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor(PyObject
*self
, PyObject
*args
) {
7419 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData_Accessor",0,2,argv
))) SWIG_fail
;
7422 return _wrap_new_NativePixelData_Accessor__SWIG_2(self
, argc
, argv
);
7425 return _wrap_new_NativePixelData_Accessor__SWIG_0(self
, argc
, argv
);
7428 return _wrap_new_NativePixelData_Accessor__SWIG_1(self
, argc
, argv
);
7432 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData_Accessor'");
7437 SWIGINTERN PyObject
*_wrap_delete_NativePixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7438 PyObject
*resultobj
= 0;
7439 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7442 PyObject
*swig_obj
[1] ;
7444 if (!args
) SWIG_fail
;
7446 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
7447 if (!SWIG_IsOK(res1
)) {
7448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7450 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7454 if (PyErr_Occurred()) SWIG_fail
;
7456 resultobj
= SWIG_Py_Void();
7463 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7464 PyObject
*resultobj
= 0;
7465 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7466 wxNativePixelData
*arg2
= 0 ;
7471 PyObject
* obj0
= 0 ;
7472 PyObject
* obj1
= 0 ;
7473 char * kwnames
[] = {
7474 (char *) "self",(char *) "data", NULL
7477 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativePixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7478 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7479 if (!SWIG_IsOK(res1
)) {
7480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7482 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7483 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7484 if (!SWIG_IsOK(res2
)) {
7485 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7488 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7490 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7492 (arg1
)->Reset((wxNativePixelData
const &)*arg2
);
7493 if (PyErr_Occurred()) SWIG_fail
;
7495 resultobj
= SWIG_Py_Void();
7502 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7503 PyObject
*resultobj
= 0;
7504 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7508 PyObject
*swig_obj
[1] ;
7510 if (!args
) SWIG_fail
;
7512 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7513 if (!SWIG_IsOK(res1
)) {
7514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor const *""'");
7516 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7518 result
= (bool)((wxNativePixelData_Accessor
const *)arg1
)->IsOk();
7519 if (PyErr_Occurred()) SWIG_fail
;
7522 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7530 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7531 PyObject
*resultobj
= 0;
7532 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7535 PyObject
*swig_obj
[1] ;
7537 if (!args
) SWIG_fail
;
7539 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7540 if (!SWIG_IsOK(res1
)) {
7541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7543 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7545 wxNativePixelData_Accessor_nextPixel(arg1
);
7546 if (PyErr_Occurred()) SWIG_fail
;
7548 resultobj
= SWIG_Py_Void();
7555 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7556 PyObject
*resultobj
= 0;
7557 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7558 wxNativePixelData
*arg2
= 0 ;
7569 PyObject
* obj0
= 0 ;
7570 PyObject
* obj1
= 0 ;
7571 PyObject
* obj2
= 0 ;
7572 PyObject
* obj3
= 0 ;
7573 char * kwnames
[] = {
7574 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
7577 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7578 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7579 if (!SWIG_IsOK(res1
)) {
7580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7582 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7583 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7584 if (!SWIG_IsOK(res2
)) {
7585 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7588 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7590 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7591 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7592 if (!SWIG_IsOK(ecode3
)) {
7593 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
7595 arg3
= static_cast< int >(val3
);
7596 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7597 if (!SWIG_IsOK(ecode4
)) {
7598 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
7600 arg4
= static_cast< int >(val4
);
7602 (arg1
)->Offset((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
7603 if (PyErr_Occurred()) SWIG_fail
;
7605 resultobj
= SWIG_Py_Void();
7612 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7613 PyObject
*resultobj
= 0;
7614 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7615 wxNativePixelData
*arg2
= 0 ;
7623 PyObject
* obj0
= 0 ;
7624 PyObject
* obj1
= 0 ;
7625 PyObject
* obj2
= 0 ;
7626 char * kwnames
[] = {
7627 (char *) "self",(char *) "data",(char *) "x", NULL
7630 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7631 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7632 if (!SWIG_IsOK(res1
)) {
7633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7635 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7636 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7637 if (!SWIG_IsOK(res2
)) {
7638 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7641 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7643 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7644 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7645 if (!SWIG_IsOK(ecode3
)) {
7646 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
7648 arg3
= static_cast< int >(val3
);
7650 (arg1
)->OffsetX((wxNativePixelData
const &)*arg2
,arg3
);
7651 if (PyErr_Occurred()) SWIG_fail
;
7653 resultobj
= SWIG_Py_Void();
7660 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7661 PyObject
*resultobj
= 0;
7662 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7663 wxNativePixelData
*arg2
= 0 ;
7671 PyObject
* obj0
= 0 ;
7672 PyObject
* obj1
= 0 ;
7673 PyObject
* obj2
= 0 ;
7674 char * kwnames
[] = {
7675 (char *) "self",(char *) "data",(char *) "y", NULL
7678 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7679 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7680 if (!SWIG_IsOK(res1
)) {
7681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7683 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7684 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7685 if (!SWIG_IsOK(res2
)) {
7686 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7689 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7691 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7692 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7693 if (!SWIG_IsOK(ecode3
)) {
7694 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
7696 arg3
= static_cast< int >(val3
);
7698 (arg1
)->OffsetY((wxNativePixelData
const &)*arg2
,arg3
);
7699 if (PyErr_Occurred()) SWIG_fail
;
7701 resultobj
= SWIG_Py_Void();
7708 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7709 PyObject
*resultobj
= 0;
7710 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7711 wxNativePixelData
*arg2
= 0 ;
7722 PyObject
* obj0
= 0 ;
7723 PyObject
* obj1
= 0 ;
7724 PyObject
* obj2
= 0 ;
7725 PyObject
* obj3
= 0 ;
7726 char * kwnames
[] = {
7727 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
7730 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7731 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7732 if (!SWIG_IsOK(res1
)) {
7733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7735 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7736 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7737 if (!SWIG_IsOK(res2
)) {
7738 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7741 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7743 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7744 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7745 if (!SWIG_IsOK(ecode3
)) {
7746 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
7748 arg3
= static_cast< int >(val3
);
7749 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7750 if (!SWIG_IsOK(ecode4
)) {
7751 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
7753 arg4
= static_cast< int >(val4
);
7755 (arg1
)->MoveTo((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
7756 if (PyErr_Occurred()) SWIG_fail
;
7758 resultobj
= SWIG_Py_Void();
7765 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7766 PyObject
*resultobj
= 0;
7767 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7773 unsigned char val2
;
7775 unsigned char val3
;
7777 unsigned char val4
;
7779 PyObject
* obj0
= 0 ;
7780 PyObject
* obj1
= 0 ;
7781 PyObject
* obj2
= 0 ;
7782 PyObject
* obj3
= 0 ;
7783 char * kwnames
[] = {
7784 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
7787 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7788 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7789 if (!SWIG_IsOK(res1
)) {
7790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7792 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7793 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
7794 if (!SWIG_IsOK(ecode2
)) {
7795 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
7797 arg2
= static_cast< byte
>(val2
);
7798 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
7799 if (!SWIG_IsOK(ecode3
)) {
7800 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
7802 arg3
= static_cast< byte
>(val3
);
7803 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
7804 if (!SWIG_IsOK(ecode4
)) {
7805 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
7807 arg4
= static_cast< byte
>(val4
);
7809 wxNativePixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
);
7810 if (PyErr_Occurred()) SWIG_fail
;
7812 resultobj
= SWIG_Py_Void();
7819 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7820 PyObject
*resultobj
= 0;
7821 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7822 PyObject
*result
= 0 ;
7825 PyObject
*swig_obj
[1] ;
7827 if (!args
) SWIG_fail
;
7829 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7830 if (!SWIG_IsOK(res1
)) {
7831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7833 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7835 result
= (PyObject
*)wxNativePixelData_Accessor_Get(arg1
);
7836 if (PyErr_Occurred()) SWIG_fail
;
7845 SWIGINTERN PyObject
*NativePixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7847 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7848 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_NewClientData(obj
));
7849 return SWIG_Py_Void();
7852 SWIGINTERN PyObject
*NativePixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7853 return SWIG_Python_InitShadowInstance(args
);
7856 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7857 PyObject
*resultobj
= 0;
7858 wxBitmap
*arg1
= 0 ;
7859 wxAlphaPixelData
*result
= 0 ;
7863 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7864 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7865 if (!SWIG_IsOK(res1
)) {
7866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7869 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7871 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7873 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
);
7874 if (PyErr_Occurred()) SWIG_fail
;
7876 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
7883 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7884 PyObject
*resultobj
= 0;
7885 wxBitmap
*arg1
= 0 ;
7887 wxAlphaPixelData
*result
= 0 ;
7892 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7893 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7894 if (!SWIG_IsOK(res1
)) {
7895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7898 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7900 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7903 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7906 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxRect
const &)*arg2
);
7907 if (PyErr_Occurred()) SWIG_fail
;
7909 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
7916 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7917 PyObject
*resultobj
= 0;
7918 wxBitmap
*arg1
= 0 ;
7921 wxAlphaPixelData
*result
= 0 ;
7927 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
7928 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7929 if (!SWIG_IsOK(res1
)) {
7930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7933 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7935 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7938 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7942 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
7945 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
7946 if (PyErr_Occurred()) SWIG_fail
;
7948 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
7955 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData(PyObject
*self
, PyObject
*args
) {
7959 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData",0,3,argv
))) SWIG_fail
;
7962 return _wrap_new_AlphaPixelData__SWIG_0(self
, argc
, argv
);
7965 return _wrap_new_AlphaPixelData__SWIG_1(self
, argc
, argv
);
7968 return _wrap_new_AlphaPixelData__SWIG_2(self
, argc
, argv
);
7972 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData'");
7977 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7978 PyObject
*resultobj
= 0;
7979 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
7982 PyObject
*swig_obj
[1] ;
7984 if (!args
) SWIG_fail
;
7986 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_DISOWN
| 0 );
7987 if (!SWIG_IsOK(res1
)) {
7988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
7990 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
7994 if (PyErr_Occurred()) SWIG_fail
;
7996 resultobj
= SWIG_Py_Void();
8003 SWIGINTERN PyObject
*_wrap_AlphaPixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8004 PyObject
*resultobj
= 0;
8005 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8006 wxAlphaPixelData_Accessor result
;
8009 PyObject
*swig_obj
[1] ;
8011 if (!args
) SWIG_fail
;
8013 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8014 if (!SWIG_IsOK(res1
)) {
8015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_GetPixels" "', expected argument " "1"" of type '" "wxAlphaPixelData const *""'");
8017 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8019 result
= ((wxAlphaPixelData
const *)arg1
)->GetPixels();
8020 if (PyErr_Occurred()) SWIG_fail
;
8022 resultobj
= SWIG_NewPointerObj((new wxAlphaPixelData_Accessor(static_cast< const wxAlphaPixelData_Accessor
& >(result
))), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
8029 SWIGINTERN PyObject
*_wrap_AlphaPixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8030 PyObject
*resultobj
= 0;
8031 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8034 PyObject
*swig_obj
[1] ;
8036 if (!args
) SWIG_fail
;
8038 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8039 if (!SWIG_IsOK(res1
)) {
8040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_UseAlpha" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8042 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8045 if (PyErr_Occurred()) SWIG_fail
;
8047 resultobj
= SWIG_Py_Void();
8054 SWIGINTERN PyObject
*_wrap_AlphaPixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8055 PyObject
*resultobj
= 0;
8056 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8060 PyObject
*swig_obj
[1] ;
8062 if (!args
) SWIG_fail
;
8064 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8065 if (!SWIG_IsOK(res1
)) {
8066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData___nonzero__" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8068 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8070 result
= (bool)wxAlphaPixelData___nonzero__(arg1
);
8071 if (PyErr_Occurred()) SWIG_fail
;
8074 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8082 SWIGINTERN PyObject
*AlphaPixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8084 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8085 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData
, SWIG_NewClientData(obj
));
8086 return SWIG_Py_Void();
8089 SWIGINTERN PyObject
*AlphaPixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8090 return SWIG_Python_InitShadowInstance(args
);
8093 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8094 PyObject
*resultobj
= 0;
8095 wxAlphaPixelData
*arg1
= 0 ;
8096 wxAlphaPixelData_Accessor
*result
= 0 ;
8100 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
8101 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8102 if (!SWIG_IsOK(res1
)) {
8103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
8106 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
8108 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8110 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
);
8111 if (PyErr_Occurred()) SWIG_fail
;
8113 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8120 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8121 PyObject
*resultobj
= 0;
8122 wxBitmap
*arg1
= 0 ;
8123 wxAlphaPixelData
*arg2
= 0 ;
8124 wxAlphaPixelData_Accessor
*result
= 0 ;
8130 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
8131 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8132 if (!SWIG_IsOK(res1
)) {
8133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8136 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8138 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8139 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8140 if (!SWIG_IsOK(res2
)) {
8141 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8144 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8146 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8148 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
,*arg2
);
8149 if (PyErr_Occurred()) SWIG_fail
;
8151 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8158 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
8159 PyObject
*resultobj
= 0;
8160 wxAlphaPixelData_Accessor
*result
= 0 ;
8162 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
8164 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor();
8165 if (PyErr_Occurred()) SWIG_fail
;
8167 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8174 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor(PyObject
*self
, PyObject
*args
) {
8178 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData_Accessor",0,2,argv
))) SWIG_fail
;
8181 return _wrap_new_AlphaPixelData_Accessor__SWIG_2(self
, argc
, argv
);
8184 return _wrap_new_AlphaPixelData_Accessor__SWIG_0(self
, argc
, argv
);
8187 return _wrap_new_AlphaPixelData_Accessor__SWIG_1(self
, argc
, argv
);
8191 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData_Accessor'");
8196 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8197 PyObject
*resultobj
= 0;
8198 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8201 PyObject
*swig_obj
[1] ;
8203 if (!args
) SWIG_fail
;
8205 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
8206 if (!SWIG_IsOK(res1
)) {
8207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8209 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8213 if (PyErr_Occurred()) SWIG_fail
;
8215 resultobj
= SWIG_Py_Void();
8222 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8223 PyObject
*resultobj
= 0;
8224 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8225 wxAlphaPixelData
*arg2
= 0 ;
8230 PyObject
* obj0
= 0 ;
8231 PyObject
* obj1
= 0 ;
8232 char * kwnames
[] = {
8233 (char *) "self",(char *) "data", NULL
8236 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AlphaPixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8237 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8238 if (!SWIG_IsOK(res1
)) {
8239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8241 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8242 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8243 if (!SWIG_IsOK(res2
)) {
8244 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8247 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8249 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8251 (arg1
)->Reset((wxAlphaPixelData
const &)*arg2
);
8252 if (PyErr_Occurred()) SWIG_fail
;
8254 resultobj
= SWIG_Py_Void();
8261 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8262 PyObject
*resultobj
= 0;
8263 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8267 PyObject
*swig_obj
[1] ;
8269 if (!args
) SWIG_fail
;
8271 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8272 if (!SWIG_IsOK(res1
)) {
8273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor const *""'");
8275 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8277 result
= (bool)((wxAlphaPixelData_Accessor
const *)arg1
)->IsOk();
8278 if (PyErr_Occurred()) SWIG_fail
;
8281 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8289 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8290 PyObject
*resultobj
= 0;
8291 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8294 PyObject
*swig_obj
[1] ;
8296 if (!args
) SWIG_fail
;
8298 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8299 if (!SWIG_IsOK(res1
)) {
8300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8302 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8304 wxAlphaPixelData_Accessor_nextPixel(arg1
);
8305 if (PyErr_Occurred()) SWIG_fail
;
8307 resultobj
= SWIG_Py_Void();
8314 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8315 PyObject
*resultobj
= 0;
8316 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8317 wxAlphaPixelData
*arg2
= 0 ;
8328 PyObject
* obj0
= 0 ;
8329 PyObject
* obj1
= 0 ;
8330 PyObject
* obj2
= 0 ;
8331 PyObject
* obj3
= 0 ;
8332 char * kwnames
[] = {
8333 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8336 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8337 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8338 if (!SWIG_IsOK(res1
)) {
8339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8341 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8342 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8343 if (!SWIG_IsOK(res2
)) {
8344 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8347 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8349 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8350 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8351 if (!SWIG_IsOK(ecode3
)) {
8352 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
8354 arg3
= static_cast< int >(val3
);
8355 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8356 if (!SWIG_IsOK(ecode4
)) {
8357 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
8359 arg4
= static_cast< int >(val4
);
8361 (arg1
)->Offset((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8362 if (PyErr_Occurred()) SWIG_fail
;
8364 resultobj
= SWIG_Py_Void();
8371 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8372 PyObject
*resultobj
= 0;
8373 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8374 wxAlphaPixelData
*arg2
= 0 ;
8382 PyObject
* obj0
= 0 ;
8383 PyObject
* obj1
= 0 ;
8384 PyObject
* obj2
= 0 ;
8385 char * kwnames
[] = {
8386 (char *) "self",(char *) "data",(char *) "x", NULL
8389 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8390 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8391 if (!SWIG_IsOK(res1
)) {
8392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8394 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8395 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8396 if (!SWIG_IsOK(res2
)) {
8397 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8400 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8402 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8403 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8404 if (!SWIG_IsOK(ecode3
)) {
8405 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
8407 arg3
= static_cast< int >(val3
);
8409 (arg1
)->OffsetX((wxAlphaPixelData
const &)*arg2
,arg3
);
8410 if (PyErr_Occurred()) SWIG_fail
;
8412 resultobj
= SWIG_Py_Void();
8419 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8420 PyObject
*resultobj
= 0;
8421 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8422 wxAlphaPixelData
*arg2
= 0 ;
8430 PyObject
* obj0
= 0 ;
8431 PyObject
* obj1
= 0 ;
8432 PyObject
* obj2
= 0 ;
8433 char * kwnames
[] = {
8434 (char *) "self",(char *) "data",(char *) "y", NULL
8437 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8438 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8439 if (!SWIG_IsOK(res1
)) {
8440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8442 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8443 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8444 if (!SWIG_IsOK(res2
)) {
8445 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8448 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8450 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8451 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8452 if (!SWIG_IsOK(ecode3
)) {
8453 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
8455 arg3
= static_cast< int >(val3
);
8457 (arg1
)->OffsetY((wxAlphaPixelData
const &)*arg2
,arg3
);
8458 if (PyErr_Occurred()) SWIG_fail
;
8460 resultobj
= SWIG_Py_Void();
8467 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8468 PyObject
*resultobj
= 0;
8469 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8470 wxAlphaPixelData
*arg2
= 0 ;
8481 PyObject
* obj0
= 0 ;
8482 PyObject
* obj1
= 0 ;
8483 PyObject
* obj2
= 0 ;
8484 PyObject
* obj3
= 0 ;
8485 char * kwnames
[] = {
8486 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8489 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8490 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8491 if (!SWIG_IsOK(res1
)) {
8492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8494 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8495 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8496 if (!SWIG_IsOK(res2
)) {
8497 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8500 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8502 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8503 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8504 if (!SWIG_IsOK(ecode3
)) {
8505 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
8507 arg3
= static_cast< int >(val3
);
8508 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8509 if (!SWIG_IsOK(ecode4
)) {
8510 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
8512 arg4
= static_cast< int >(val4
);
8514 (arg1
)->MoveTo((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8515 if (PyErr_Occurred()) SWIG_fail
;
8517 resultobj
= SWIG_Py_Void();
8524 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8525 PyObject
*resultobj
= 0;
8526 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8533 unsigned char val2
;
8535 unsigned char val3
;
8537 unsigned char val4
;
8539 unsigned char val5
;
8541 PyObject
* obj0
= 0 ;
8542 PyObject
* obj1
= 0 ;
8543 PyObject
* obj2
= 0 ;
8544 PyObject
* obj3
= 0 ;
8545 PyObject
* obj4
= 0 ;
8546 char * kwnames
[] = {
8547 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
8550 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:AlphaPixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8551 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8552 if (!SWIG_IsOK(res1
)) {
8553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8555 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8556 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
8557 if (!SWIG_IsOK(ecode2
)) {
8558 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
8560 arg2
= static_cast< byte
>(val2
);
8561 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
8562 if (!SWIG_IsOK(ecode3
)) {
8563 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
8565 arg3
= static_cast< byte
>(val3
);
8566 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
8567 if (!SWIG_IsOK(ecode4
)) {
8568 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
8570 arg4
= static_cast< byte
>(val4
);
8571 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
8572 if (!SWIG_IsOK(ecode5
)) {
8573 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "5"" of type '" "byte""'");
8575 arg5
= static_cast< byte
>(val5
);
8577 wxAlphaPixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
8578 if (PyErr_Occurred()) SWIG_fail
;
8580 resultobj
= SWIG_Py_Void();
8587 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8588 PyObject
*resultobj
= 0;
8589 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8590 PyObject
*result
= 0 ;
8593 PyObject
*swig_obj
[1] ;
8595 if (!args
) SWIG_fail
;
8597 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8598 if (!SWIG_IsOK(res1
)) {
8599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8601 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8603 result
= (PyObject
*)wxAlphaPixelData_Accessor_Get(arg1
);
8604 if (PyErr_Occurred()) SWIG_fail
;
8613 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8615 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8616 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_NewClientData(obj
));
8617 return SWIG_Py_Void();
8620 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8621 return SWIG_Python_InitShadowInstance(args
);
8624 SWIGINTERN PyObject
*_wrap_new_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8625 PyObject
*resultobj
= 0;
8626 wxBitmap
*arg1
= 0 ;
8627 wxColour
const &arg2_defvalue
= wxNullColour
;
8628 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
8629 wxMask
*result
= 0 ;
8633 PyObject
* obj0
= 0 ;
8634 PyObject
* obj1
= 0 ;
8635 char * kwnames
[] = {
8636 (char *) "bitmap",(char *) "colour", NULL
8639 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8640 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8641 if (!SWIG_IsOK(res1
)) {
8642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8645 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8647 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8651 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8655 if (!wxPyCheckForApp()) SWIG_fail
;
8656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8657 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
8658 wxPyEndAllowThreads(__tstate
);
8659 if (PyErr_Occurred()) SWIG_fail
;
8661 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, SWIG_POINTER_NEW
| 0 );
8668 SWIGINTERN PyObject
*_wrap_delete_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8669 PyObject
*resultobj
= 0;
8670 wxMask
*arg1
= (wxMask
*) 0 ;
8673 PyObject
*swig_obj
[1] ;
8675 if (!args
) SWIG_fail
;
8677 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
8678 if (!SWIG_IsOK(res1
)) {
8679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Mask" "', expected argument " "1"" of type '" "wxMask *""'");
8681 arg1
= reinterpret_cast< wxMask
* >(argp1
);
8685 if (PyErr_Occurred()) SWIG_fail
;
8687 resultobj
= SWIG_Py_Void();
8694 SWIGINTERN PyObject
*Mask_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8696 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8697 SWIG_TypeNewClientData(SWIGTYPE_p_wxMask
, SWIG_NewClientData(obj
));
8698 return SWIG_Py_Void();
8701 SWIGINTERN PyObject
*Mask_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8702 return SWIG_Python_InitShadowInstance(args
);
8705 SWIGINTERN PyObject
*_wrap_new_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8706 PyObject
*resultobj
= 0;
8707 wxString
*arg1
= 0 ;
8709 int arg3
= (int) -1 ;
8710 int arg4
= (int) -1 ;
8711 wxIcon
*result
= 0 ;
8712 bool temp1
= false ;
8719 PyObject
* obj0
= 0 ;
8720 PyObject
* obj1
= 0 ;
8721 PyObject
* obj2
= 0 ;
8722 PyObject
* obj3
= 0 ;
8723 char * kwnames
[] = {
8724 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
8727 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8729 arg1
= wxString_in_helper(obj0
);
8730 if (arg1
== NULL
) SWIG_fail
;
8733 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8734 if (!SWIG_IsOK(ecode2
)) {
8735 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Icon" "', expected argument " "2"" of type '" "wxBitmapType""'");
8737 arg2
= static_cast< wxBitmapType
>(val2
);
8739 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8740 if (!SWIG_IsOK(ecode3
)) {
8741 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Icon" "', expected argument " "3"" of type '" "int""'");
8743 arg3
= static_cast< int >(val3
);
8746 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8747 if (!SWIG_IsOK(ecode4
)) {
8748 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Icon" "', expected argument " "4"" of type '" "int""'");
8750 arg4
= static_cast< int >(val4
);
8753 if (!wxPyCheckForApp()) SWIG_fail
;
8754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8755 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
8756 wxPyEndAllowThreads(__tstate
);
8757 if (PyErr_Occurred()) SWIG_fail
;
8759 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_NEW
| 0 );
8774 SWIGINTERN PyObject
*_wrap_delete_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8775 PyObject
*resultobj
= 0;
8776 wxIcon
*arg1
= (wxIcon
*) 0 ;
8779 PyObject
*swig_obj
[1] ;
8781 if (!args
) SWIG_fail
;
8783 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, SWIG_POINTER_DISOWN
| 0 );
8784 if (!SWIG_IsOK(res1
)) {
8785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Icon" "', expected argument " "1"" of type '" "wxIcon *""'");
8787 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
8789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8792 wxPyEndAllowThreads(__tstate
);
8793 if (PyErr_Occurred()) SWIG_fail
;
8795 resultobj
= SWIG_Py_Void();
8802 SWIGINTERN PyObject
*_wrap_new_EmptyIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8803 PyObject
*resultobj
= 0;
8804 wxIcon
*result
= 0 ;
8806 if (!SWIG_Python_UnpackTuple(args
,"new_EmptyIcon",0,0,0)) SWIG_fail
;
8808 if (!wxPyCheckForApp()) SWIG_fail
;
8809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8810 result
= (wxIcon
*)new wxIcon();
8811 wxPyEndAllowThreads(__tstate
);
8812 if (PyErr_Occurred()) SWIG_fail
;
8814 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
8821 SWIGINTERN PyObject
*_wrap_new_IconFromLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8822 PyObject
*resultobj
= 0;
8823 wxIconLocation
*arg1
= 0 ;
8824 wxIcon
*result
= 0 ;
8827 PyObject
* obj0
= 0 ;
8828 char * kwnames
[] = {
8829 (char *) "loc", NULL
8832 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) SWIG_fail
;
8833 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIconLocation
, 0 | 0);
8834 if (!SWIG_IsOK(res1
)) {
8835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
8838 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
8840 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
8842 if (!wxPyCheckForApp()) SWIG_fail
;
8843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8844 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
8845 wxPyEndAllowThreads(__tstate
);
8846 if (PyErr_Occurred()) SWIG_fail
;
8848 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
8855 SWIGINTERN PyObject
*_wrap_new_IconFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8856 PyObject
*resultobj
= 0;
8857 wxBitmap
*arg1
= 0 ;
8858 wxIcon
*result
= 0 ;
8861 PyObject
* obj0
= 0 ;
8862 char * kwnames
[] = {
8863 (char *) "bmp", NULL
8866 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
8867 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8868 if (!SWIG_IsOK(res1
)) {
8869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8872 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8874 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8876 if (!wxPyCheckForApp()) SWIG_fail
;
8877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8878 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
8879 wxPyEndAllowThreads(__tstate
);
8880 if (PyErr_Occurred()) SWIG_fail
;
8882 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
8889 SWIGINTERN PyObject
*_wrap_new_IconFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8890 PyObject
*resultobj
= 0;
8891 PyObject
*arg1
= (PyObject
*) 0 ;
8892 wxIcon
*result
= 0 ;
8893 PyObject
* obj0
= 0 ;
8894 char * kwnames
[] = {
8895 (char *) "listOfStrings", NULL
8898 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
8901 if (!wxPyCheckForApp()) SWIG_fail
;
8902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8903 result
= (wxIcon
*)new_wxIcon(arg1
);
8904 wxPyEndAllowThreads(__tstate
);
8905 if (PyErr_Occurred()) SWIG_fail
;
8907 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
8914 SWIGINTERN PyObject
*_wrap_Icon_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8915 PyObject
*resultobj
= 0;
8916 wxIcon
*arg1
= (wxIcon
*) 0 ;
8920 PyObject
*swig_obj
[1] ;
8922 if (!args
) SWIG_fail
;
8924 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
8925 if (!SWIG_IsOK(res1
)) {
8926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_Ok" "', expected argument " "1"" of type '" "wxIcon *""'");
8928 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
8930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8931 result
= (bool)(arg1
)->Ok();
8932 wxPyEndAllowThreads(__tstate
);
8933 if (PyErr_Occurred()) SWIG_fail
;
8936 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8944 SWIGINTERN PyObject
*_wrap_Icon_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8945 PyObject
*resultobj
= 0;
8946 wxIcon
*arg1
= (wxIcon
*) 0 ;
8950 PyObject
*swig_obj
[1] ;
8952 if (!args
) SWIG_fail
;
8954 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
8955 if (!SWIG_IsOK(res1
)) {
8956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
8958 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
8960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8961 result
= (int)(arg1
)->GetWidth();
8962 wxPyEndAllowThreads(__tstate
);
8963 if (PyErr_Occurred()) SWIG_fail
;
8965 resultobj
= SWIG_From_int(static_cast< int >(result
));
8972 SWIGINTERN PyObject
*_wrap_Icon_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8973 PyObject
*resultobj
= 0;
8974 wxIcon
*arg1
= (wxIcon
*) 0 ;
8978 PyObject
*swig_obj
[1] ;
8980 if (!args
) SWIG_fail
;
8982 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
8983 if (!SWIG_IsOK(res1
)) {
8984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
8986 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
8988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8989 result
= (int)(arg1
)->GetHeight();
8990 wxPyEndAllowThreads(__tstate
);
8991 if (PyErr_Occurred()) SWIG_fail
;
8993 resultobj
= SWIG_From_int(static_cast< int >(result
));
9000 SWIGINTERN PyObject
*_wrap_Icon_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9001 PyObject
*resultobj
= 0;
9002 wxIcon
*arg1
= (wxIcon
*) 0 ;
9006 PyObject
*swig_obj
[1] ;
9008 if (!args
) SWIG_fail
;
9010 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9011 if (!SWIG_IsOK(res1
)) {
9012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9014 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9017 result
= (int)(arg1
)->GetDepth();
9018 wxPyEndAllowThreads(__tstate
);
9019 if (PyErr_Occurred()) SWIG_fail
;
9021 resultobj
= SWIG_From_int(static_cast< int >(result
));
9028 SWIGINTERN PyObject
*_wrap_Icon_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9029 PyObject
*resultobj
= 0;
9030 wxIcon
*arg1
= (wxIcon
*) 0 ;
9036 PyObject
* obj0
= 0 ;
9037 PyObject
* obj1
= 0 ;
9038 char * kwnames
[] = {
9039 (char *) "self",(char *) "w", NULL
9042 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9043 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9044 if (!SWIG_IsOK(res1
)) {
9045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
9047 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9048 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9049 if (!SWIG_IsOK(ecode2
)) {
9050 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetWidth" "', expected argument " "2"" of type '" "int""'");
9052 arg2
= static_cast< int >(val2
);
9054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9055 (arg1
)->SetWidth(arg2
);
9056 wxPyEndAllowThreads(__tstate
);
9057 if (PyErr_Occurred()) SWIG_fail
;
9059 resultobj
= SWIG_Py_Void();
9066 SWIGINTERN PyObject
*_wrap_Icon_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9067 PyObject
*resultobj
= 0;
9068 wxIcon
*arg1
= (wxIcon
*) 0 ;
9074 PyObject
* obj0
= 0 ;
9075 PyObject
* obj1
= 0 ;
9076 char * kwnames
[] = {
9077 (char *) "self",(char *) "h", NULL
9080 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9081 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9082 if (!SWIG_IsOK(res1
)) {
9083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
9085 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9086 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9087 if (!SWIG_IsOK(ecode2
)) {
9088 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetHeight" "', expected argument " "2"" of type '" "int""'");
9090 arg2
= static_cast< int >(val2
);
9092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9093 (arg1
)->SetHeight(arg2
);
9094 wxPyEndAllowThreads(__tstate
);
9095 if (PyErr_Occurred()) SWIG_fail
;
9097 resultobj
= SWIG_Py_Void();
9104 SWIGINTERN PyObject
*_wrap_Icon_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9105 PyObject
*resultobj
= 0;
9106 wxIcon
*arg1
= (wxIcon
*) 0 ;
9112 PyObject
* obj0
= 0 ;
9113 PyObject
* obj1
= 0 ;
9114 char * kwnames
[] = {
9115 (char *) "self",(char *) "d", NULL
9118 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9119 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9120 if (!SWIG_IsOK(res1
)) {
9121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9123 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9124 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9125 if (!SWIG_IsOK(ecode2
)) {
9126 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetDepth" "', expected argument " "2"" of type '" "int""'");
9128 arg2
= static_cast< int >(val2
);
9130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9131 (arg1
)->SetDepth(arg2
);
9132 wxPyEndAllowThreads(__tstate
);
9133 if (PyErr_Occurred()) SWIG_fail
;
9135 resultobj
= SWIG_Py_Void();
9142 SWIGINTERN PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9143 PyObject
*resultobj
= 0;
9144 wxIcon
*arg1
= (wxIcon
*) 0 ;
9145 wxBitmap
*arg2
= 0 ;
9150 PyObject
* obj0
= 0 ;
9151 PyObject
* obj1
= 0 ;
9152 char * kwnames
[] = {
9153 (char *) "self",(char *) "bmp", NULL
9156 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9157 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9158 if (!SWIG_IsOK(res1
)) {
9159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "1"" of type '" "wxIcon *""'");
9161 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9162 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9163 if (!SWIG_IsOK(res2
)) {
9164 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9167 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9169 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
9171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9172 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
9173 wxPyEndAllowThreads(__tstate
);
9174 if (PyErr_Occurred()) SWIG_fail
;
9176 resultobj
= SWIG_Py_Void();
9183 SWIGINTERN PyObject
*Icon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9185 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9186 SWIG_TypeNewClientData(SWIGTYPE_p_wxIcon
, SWIG_NewClientData(obj
));
9187 return SWIG_Py_Void();
9190 SWIGINTERN PyObject
*Icon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9191 return SWIG_Python_InitShadowInstance(args
);
9194 SWIGINTERN PyObject
*_wrap_new_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9195 PyObject
*resultobj
= 0;
9196 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
9197 int arg2
= (int) 0 ;
9198 wxIconLocation
*result
= 0 ;
9199 bool temp1
= false ;
9202 PyObject
* obj0
= 0 ;
9203 PyObject
* obj1
= 0 ;
9204 char * kwnames
[] = {
9205 (char *) "filename",(char *) "num", NULL
9208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9211 arg1
= wxString_in_helper(obj0
);
9212 if (arg1
== NULL
) SWIG_fail
;
9217 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9218 if (!SWIG_IsOK(ecode2
)) {
9219 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconLocation" "', expected argument " "2"" of type '" "int""'");
9221 arg2
= static_cast< int >(val2
);
9224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9225 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
9226 wxPyEndAllowThreads(__tstate
);
9227 if (PyErr_Occurred()) SWIG_fail
;
9229 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_NEW
| 0 );
9244 SWIGINTERN PyObject
*_wrap_delete_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9245 PyObject
*resultobj
= 0;
9246 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9249 PyObject
*swig_obj
[1] ;
9251 if (!args
) SWIG_fail
;
9253 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_DISOWN
| 0 );
9254 if (!SWIG_IsOK(res1
)) {
9255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconLocation" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9257 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9262 wxPyEndAllowThreads(__tstate
);
9263 if (PyErr_Occurred()) SWIG_fail
;
9265 resultobj
= SWIG_Py_Void();
9272 SWIGINTERN PyObject
*_wrap_IconLocation_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9273 PyObject
*resultobj
= 0;
9274 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9278 PyObject
*swig_obj
[1] ;
9280 if (!args
) SWIG_fail
;
9282 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9283 if (!SWIG_IsOK(res1
)) {
9284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_IsOk" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9286 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9289 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
9290 wxPyEndAllowThreads(__tstate
);
9291 if (PyErr_Occurred()) SWIG_fail
;
9294 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9302 SWIGINTERN PyObject
*_wrap_IconLocation_SetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9303 PyObject
*resultobj
= 0;
9304 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9305 wxString
*arg2
= 0 ;
9308 bool temp2
= false ;
9309 PyObject
* obj0
= 0 ;
9310 PyObject
* obj1
= 0 ;
9311 char * kwnames
[] = {
9312 (char *) "self",(char *) "filename", NULL
9315 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9316 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9317 if (!SWIG_IsOK(res1
)) {
9318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetFileName" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9320 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9322 arg2
= wxString_in_helper(obj1
);
9323 if (arg2
== NULL
) SWIG_fail
;
9327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9328 (arg1
)->SetFileName((wxString
const &)*arg2
);
9329 wxPyEndAllowThreads(__tstate
);
9330 if (PyErr_Occurred()) SWIG_fail
;
9332 resultobj
= SWIG_Py_Void();
9347 SWIGINTERN PyObject
*_wrap_IconLocation_GetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9348 PyObject
*resultobj
= 0;
9349 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9350 wxString
*result
= 0 ;
9353 PyObject
*swig_obj
[1] ;
9355 if (!args
) SWIG_fail
;
9357 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9358 if (!SWIG_IsOK(res1
)) {
9359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetFileName" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9361 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9365 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
9366 result
= (wxString
*) &_result_ref
;
9368 wxPyEndAllowThreads(__tstate
);
9369 if (PyErr_Occurred()) SWIG_fail
;
9373 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9375 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9384 SWIGINTERN PyObject
*_wrap_IconLocation_SetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9385 PyObject
*resultobj
= 0;
9386 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9392 PyObject
* obj0
= 0 ;
9393 PyObject
* obj1
= 0 ;
9394 char * kwnames
[] = {
9395 (char *) "self",(char *) "num", NULL
9398 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9399 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9400 if (!SWIG_IsOK(res1
)) {
9401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9403 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9404 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9405 if (!SWIG_IsOK(ecode2
)) {
9406 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IconLocation_SetIndex" "', expected argument " "2"" of type '" "int""'");
9408 arg2
= static_cast< int >(val2
);
9410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9411 wxIconLocation_SetIndex(arg1
,arg2
);
9412 wxPyEndAllowThreads(__tstate
);
9413 if (PyErr_Occurred()) SWIG_fail
;
9415 resultobj
= SWIG_Py_Void();
9422 SWIGINTERN PyObject
*_wrap_IconLocation_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9423 PyObject
*resultobj
= 0;
9424 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9428 PyObject
*swig_obj
[1] ;
9430 if (!args
) SWIG_fail
;
9432 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9433 if (!SWIG_IsOK(res1
)) {
9434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9436 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9439 result
= (int)wxIconLocation_GetIndex(arg1
);
9440 wxPyEndAllowThreads(__tstate
);
9441 if (PyErr_Occurred()) SWIG_fail
;
9443 resultobj
= SWIG_From_int(static_cast< int >(result
));
9450 SWIGINTERN PyObject
*IconLocation_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9452 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9453 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconLocation
, SWIG_NewClientData(obj
));
9454 return SWIG_Py_Void();
9457 SWIGINTERN PyObject
*IconLocation_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9458 return SWIG_Python_InitShadowInstance(args
);
9461 SWIGINTERN PyObject
*_wrap_new_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9462 PyObject
*resultobj
= 0;
9463 wxIconBundle
*result
= 0 ;
9465 if (!SWIG_Python_UnpackTuple(args
,"new_IconBundle",0,0,0)) SWIG_fail
;
9467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9468 result
= (wxIconBundle
*)new wxIconBundle();
9469 wxPyEndAllowThreads(__tstate
);
9470 if (PyErr_Occurred()) SWIG_fail
;
9472 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_NEW
| 0 );
9479 SWIGINTERN PyObject
*_wrap_new_IconBundleFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9480 PyObject
*resultobj
= 0;
9481 wxString
*arg1
= 0 ;
9483 wxIconBundle
*result
= 0 ;
9484 bool temp1
= false ;
9487 PyObject
* obj0
= 0 ;
9488 PyObject
* obj1
= 0 ;
9489 char * kwnames
[] = {
9490 (char *) "file",(char *) "type", NULL
9493 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9495 arg1
= wxString_in_helper(obj0
);
9496 if (arg1
== NULL
) SWIG_fail
;
9499 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9500 if (!SWIG_IsOK(ecode2
)) {
9501 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconBundleFromFile" "', expected argument " "2"" of type '" "long""'");
9503 arg2
= static_cast< long >(val2
);
9505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9506 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
9507 wxPyEndAllowThreads(__tstate
);
9508 if (PyErr_Occurred()) SWIG_fail
;
9510 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
9525 SWIGINTERN PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9526 PyObject
*resultobj
= 0;
9528 wxIconBundle
*result
= 0 ;
9531 PyObject
* obj0
= 0 ;
9532 char * kwnames
[] = {
9533 (char *) "icon", NULL
9536 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) SWIG_fail
;
9537 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
9538 if (!SWIG_IsOK(res1
)) {
9539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
9542 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
9544 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9547 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
9548 wxPyEndAllowThreads(__tstate
);
9549 if (PyErr_Occurred()) SWIG_fail
;
9551 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
9558 SWIGINTERN PyObject
*_wrap_delete_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9559 PyObject
*resultobj
= 0;
9560 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9563 PyObject
*swig_obj
[1] ;
9565 if (!args
) SWIG_fail
;
9567 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_DISOWN
| 0 );
9568 if (!SWIG_IsOK(res1
)) {
9569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconBundle" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9571 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9576 wxPyEndAllowThreads(__tstate
);
9577 if (PyErr_Occurred()) SWIG_fail
;
9579 resultobj
= SWIG_Py_Void();
9586 SWIGINTERN PyObject
*_wrap_IconBundle_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9587 PyObject
*resultobj
= 0;
9588 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9594 PyObject
* obj0
= 0 ;
9595 PyObject
* obj1
= 0 ;
9596 char * kwnames
[] = {
9597 (char *) "self",(char *) "icon", NULL
9600 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9601 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
9602 if (!SWIG_IsOK(res1
)) {
9603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIcon" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9605 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9606 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
9607 if (!SWIG_IsOK(res2
)) {
9608 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
9611 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
9613 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
9615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9616 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
9617 wxPyEndAllowThreads(__tstate
);
9618 if (PyErr_Occurred()) SWIG_fail
;
9620 resultobj
= SWIG_Py_Void();
9627 SWIGINTERN PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9628 PyObject
*resultobj
= 0;
9629 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9630 wxString
*arg2
= 0 ;
9634 bool temp2
= false ;
9637 PyObject
* obj0
= 0 ;
9638 PyObject
* obj1
= 0 ;
9639 PyObject
* obj2
= 0 ;
9640 char * kwnames
[] = {
9641 (char *) "self",(char *) "file",(char *) "type", NULL
9644 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9645 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
9646 if (!SWIG_IsOK(res1
)) {
9647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9649 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9651 arg2
= wxString_in_helper(obj1
);
9652 if (arg2
== NULL
) SWIG_fail
;
9655 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
9656 if (!SWIG_IsOK(ecode3
)) {
9657 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "3"" of type '" "long""'");
9659 arg3
= static_cast< long >(val3
);
9661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9662 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
9663 wxPyEndAllowThreads(__tstate
);
9664 if (PyErr_Occurred()) SWIG_fail
;
9666 resultobj
= SWIG_Py_Void();
9681 SWIGINTERN PyObject
*_wrap_IconBundle_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9682 PyObject
*resultobj
= 0;
9683 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9685 wxIcon
*result
= 0 ;
9689 PyObject
* obj0
= 0 ;
9690 PyObject
* obj1
= 0 ;
9691 char * kwnames
[] = {
9692 (char *) "self",(char *) "size", NULL
9695 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9696 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
9697 if (!SWIG_IsOK(res1
)) {
9698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_GetIcon" "', expected argument " "1"" of type '" "wxIconBundle const *""'");
9700 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9703 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
9706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9708 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
9709 result
= (wxIcon
*) &_result_ref
;
9711 wxPyEndAllowThreads(__tstate
);
9712 if (PyErr_Occurred()) SWIG_fail
;
9715 wxIcon
* resultptr
= new wxIcon(*result
);
9716 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
9724 SWIGINTERN PyObject
*IconBundle_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9726 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9727 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconBundle
, SWIG_NewClientData(obj
));
9728 return SWIG_Py_Void();
9731 SWIGINTERN PyObject
*IconBundle_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9732 return SWIG_Python_InitShadowInstance(args
);
9735 SWIGINTERN PyObject
*_wrap_new_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9736 PyObject
*resultobj
= 0;
9737 wxString
*arg1
= 0 ;
9739 int arg3
= (int) 0 ;
9740 int arg4
= (int) 0 ;
9741 wxCursor
*result
= 0 ;
9742 bool temp1
= false ;
9749 PyObject
* obj0
= 0 ;
9750 PyObject
* obj1
= 0 ;
9751 PyObject
* obj2
= 0 ;
9752 PyObject
* obj3
= 0 ;
9753 char * kwnames
[] = {
9754 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
9757 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9759 arg1
= wxString_in_helper(obj0
);
9760 if (arg1
== NULL
) SWIG_fail
;
9763 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9764 if (!SWIG_IsOK(ecode2
)) {
9765 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Cursor" "', expected argument " "2"" of type '" "long""'");
9767 arg2
= static_cast< long >(val2
);
9769 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9770 if (!SWIG_IsOK(ecode3
)) {
9771 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Cursor" "', expected argument " "3"" of type '" "int""'");
9773 arg3
= static_cast< int >(val3
);
9776 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9777 if (!SWIG_IsOK(ecode4
)) {
9778 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Cursor" "', expected argument " "4"" of type '" "int""'");
9780 arg4
= static_cast< int >(val4
);
9783 if (!wxPyCheckForApp()) SWIG_fail
;
9784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9785 result
= (wxCursor
*)new_wxCursor((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
9786 wxPyEndAllowThreads(__tstate
);
9787 if (PyErr_Occurred()) SWIG_fail
;
9789 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_NEW
| 0 );
9804 SWIGINTERN PyObject
*_wrap_delete_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9805 PyObject
*resultobj
= 0;
9806 wxCursor
*arg1
= (wxCursor
*) 0 ;
9809 PyObject
*swig_obj
[1] ;
9811 if (!args
) SWIG_fail
;
9813 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, SWIG_POINTER_DISOWN
| 0 );
9814 if (!SWIG_IsOK(res1
)) {
9815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Cursor" "', expected argument " "1"" of type '" "wxCursor *""'");
9817 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
9819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9822 wxPyEndAllowThreads(__tstate
);
9823 if (PyErr_Occurred()) SWIG_fail
;
9825 resultobj
= SWIG_Py_Void();
9832 SWIGINTERN PyObject
*_wrap_new_StockCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9833 PyObject
*resultobj
= 0;
9835 wxCursor
*result
= 0 ;
9838 PyObject
* obj0
= 0 ;
9839 char * kwnames
[] = {
9843 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) SWIG_fail
;
9844 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9845 if (!SWIG_IsOK(ecode1
)) {
9846 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_StockCursor" "', expected argument " "1"" of type '" "int""'");
9848 arg1
= static_cast< int >(val1
);
9850 if (!wxPyCheckForApp()) SWIG_fail
;
9851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9852 result
= (wxCursor
*)new wxCursor(arg1
);
9853 wxPyEndAllowThreads(__tstate
);
9854 if (PyErr_Occurred()) SWIG_fail
;
9856 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
9863 SWIGINTERN PyObject
*_wrap_new_CursorFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9864 PyObject
*resultobj
= 0;
9866 wxCursor
*result
= 0 ;
9869 PyObject
* obj0
= 0 ;
9870 char * kwnames
[] = {
9871 (char *) "image", NULL
9874 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) SWIG_fail
;
9875 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
9876 if (!SWIG_IsOK(res1
)) {
9877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
9880 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
9882 arg1
= reinterpret_cast< wxImage
* >(argp1
);
9884 if (!wxPyCheckForApp()) SWIG_fail
;
9885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9886 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
9887 wxPyEndAllowThreads(__tstate
);
9888 if (PyErr_Occurred()) SWIG_fail
;
9890 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
9897 SWIGINTERN PyObject
*_wrap_Cursor_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9898 PyObject
*resultobj
= 0;
9899 wxCursor
*arg1
= (wxCursor
*) 0 ;
9903 PyObject
*swig_obj
[1] ;
9905 if (!args
) SWIG_fail
;
9907 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
9908 if (!SWIG_IsOK(res1
)) {
9909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_Ok" "', expected argument " "1"" of type '" "wxCursor *""'");
9911 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
9913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9914 result
= (bool)(arg1
)->Ok();
9915 wxPyEndAllowThreads(__tstate
);
9916 if (PyErr_Occurred()) SWIG_fail
;
9919 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9927 SWIGINTERN PyObject
*Cursor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9929 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9930 SWIG_TypeNewClientData(SWIGTYPE_p_wxCursor
, SWIG_NewClientData(obj
));
9931 return SWIG_Py_Void();
9934 SWIGINTERN PyObject
*Cursor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9935 return SWIG_Python_InitShadowInstance(args
);
9938 SWIGINTERN PyObject
*_wrap_new_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9939 PyObject
*resultobj
= 0;
9940 int arg1
= (int) 0 ;
9941 int arg2
= (int) 0 ;
9942 int arg3
= (int) 0 ;
9943 int arg4
= (int) 0 ;
9944 wxRegion
*result
= 0 ;
9953 PyObject
* obj0
= 0 ;
9954 PyObject
* obj1
= 0 ;
9955 PyObject
* obj2
= 0 ;
9956 PyObject
* obj3
= 0 ;
9957 char * kwnames
[] = {
9958 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
9961 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9963 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9964 if (!SWIG_IsOK(ecode1
)) {
9965 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Region" "', expected argument " "1"" of type '" "int""'");
9967 arg1
= static_cast< int >(val1
);
9970 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9971 if (!SWIG_IsOK(ecode2
)) {
9972 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Region" "', expected argument " "2"" of type '" "int""'");
9974 arg2
= static_cast< int >(val2
);
9977 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9978 if (!SWIG_IsOK(ecode3
)) {
9979 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Region" "', expected argument " "3"" of type '" "int""'");
9981 arg3
= static_cast< int >(val3
);
9984 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9985 if (!SWIG_IsOK(ecode4
)) {
9986 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Region" "', expected argument " "4"" of type '" "int""'");
9988 arg4
= static_cast< int >(val4
);
9991 if (!wxPyCheckForApp()) SWIG_fail
;
9992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9993 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
9994 wxPyEndAllowThreads(__tstate
);
9995 if (PyErr_Occurred()) SWIG_fail
;
9997 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_NEW
| 0 );
10004 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10005 PyObject
*resultobj
= 0;
10006 wxBitmap
*arg1
= 0 ;
10007 wxRegion
*result
= 0 ;
10010 PyObject
* obj0
= 0 ;
10011 char * kwnames
[] = {
10012 (char *) "bmp", NULL
10015 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
10016 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
10017 if (!SWIG_IsOK(res1
)) {
10018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10021 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10023 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
10025 if (!wxPyCheckForApp()) SWIG_fail
;
10026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10027 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
);
10028 wxPyEndAllowThreads(__tstate
);
10029 if (PyErr_Occurred()) SWIG_fail
;
10031 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10038 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10039 PyObject
*resultobj
= 0;
10040 wxBitmap
*arg1
= 0 ;
10041 wxColour
*arg2
= 0 ;
10042 int arg3
= (int) 0 ;
10043 wxRegion
*result
= 0 ;
10049 PyObject
* obj0
= 0 ;
10050 PyObject
* obj1
= 0 ;
10051 PyObject
* obj2
= 0 ;
10052 char * kwnames
[] = {
10053 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
10056 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_RegionFromBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10057 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
10058 if (!SWIG_IsOK(res1
)) {
10059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10062 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10064 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
10067 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10070 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10071 if (!SWIG_IsOK(ecode3
)) {
10072 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "3"" of type '" "int""'");
10074 arg3
= static_cast< int >(val3
);
10077 if (!wxPyCheckForApp()) SWIG_fail
;
10078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10079 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
10080 wxPyEndAllowThreads(__tstate
);
10081 if (PyErr_Occurred()) SWIG_fail
;
10083 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10090 SWIGINTERN PyObject
*_wrap_new_RegionFromPoints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10091 PyObject
*resultobj
= 0;
10093 wxPoint
*arg2
= (wxPoint
*) 0 ;
10094 int arg3
= (int) wxWINDING_RULE
;
10095 wxRegion
*result
= 0 ;
10098 PyObject
* obj0
= 0 ;
10099 PyObject
* obj1
= 0 ;
10100 char * kwnames
[] = {
10101 (char *) "points",(char *) "fillStyle", NULL
10104 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10106 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
10107 if (arg2
== NULL
) SWIG_fail
;
10110 ecode3
= SWIG_AsVal_int(obj1
, &val3
);
10111 if (!SWIG_IsOK(ecode3
)) {
10112 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromPoints" "', expected argument " "3"" of type '" "int""'");
10114 arg3
= static_cast< int >(val3
);
10117 if (!wxPyCheckForApp()) SWIG_fail
;
10118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10119 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
10120 wxPyEndAllowThreads(__tstate
);
10121 if (PyErr_Occurred()) SWIG_fail
;
10123 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10125 if (arg2
) delete [] arg2
;
10130 if (arg2
) delete [] arg2
;
10136 SWIGINTERN PyObject
*_wrap_delete_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10137 PyObject
*resultobj
= 0;
10138 wxRegion
*arg1
= (wxRegion
*) 0 ;
10141 PyObject
*swig_obj
[1] ;
10143 if (!args
) SWIG_fail
;
10144 swig_obj
[0] = args
;
10145 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, SWIG_POINTER_DISOWN
| 0 );
10146 if (!SWIG_IsOK(res1
)) {
10147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Region" "', expected argument " "1"" of type '" "wxRegion *""'");
10149 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10154 wxPyEndAllowThreads(__tstate
);
10155 if (PyErr_Occurred()) SWIG_fail
;
10157 resultobj
= SWIG_Py_Void();
10164 SWIGINTERN PyObject
*_wrap_Region_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10165 PyObject
*resultobj
= 0;
10166 wxRegion
*arg1
= (wxRegion
*) 0 ;
10169 PyObject
*swig_obj
[1] ;
10171 if (!args
) SWIG_fail
;
10172 swig_obj
[0] = args
;
10173 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10174 if (!SWIG_IsOK(res1
)) {
10175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Clear" "', expected argument " "1"" of type '" "wxRegion *""'");
10177 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10181 wxPyEndAllowThreads(__tstate
);
10182 if (PyErr_Occurred()) SWIG_fail
;
10184 resultobj
= SWIG_Py_Void();
10191 SWIGINTERN PyObject
*_wrap_Region_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10192 PyObject
*resultobj
= 0;
10193 wxRegion
*arg1
= (wxRegion
*) 0 ;
10203 PyObject
* obj0
= 0 ;
10204 PyObject
* obj1
= 0 ;
10205 PyObject
* obj2
= 0 ;
10206 char * kwnames
[] = {
10207 (char *) "self",(char *) "x",(char *) "y", NULL
10210 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10211 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10212 if (!SWIG_IsOK(res1
)) {
10213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Offset" "', expected argument " "1"" of type '" "wxRegion *""'");
10215 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10216 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10217 if (!SWIG_IsOK(ecode2
)) {
10218 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Offset" "', expected argument " "2"" of type '" "int""'");
10220 arg2
= static_cast< int >(val2
);
10221 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10222 if (!SWIG_IsOK(ecode3
)) {
10223 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Offset" "', expected argument " "3"" of type '" "int""'");
10225 arg3
= static_cast< int >(val3
);
10227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10228 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
10229 wxPyEndAllowThreads(__tstate
);
10230 if (PyErr_Occurred()) SWIG_fail
;
10233 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10241 SWIGINTERN PyObject
*_wrap_Region_Contains(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10242 PyObject
*resultobj
= 0;
10243 wxRegion
*arg1
= (wxRegion
*) 0 ;
10246 wxRegionContain result
;
10253 PyObject
* obj0
= 0 ;
10254 PyObject
* obj1
= 0 ;
10255 PyObject
* obj2
= 0 ;
10256 char * kwnames
[] = {
10257 (char *) "self",(char *) "x",(char *) "y", NULL
10260 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10261 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10262 if (!SWIG_IsOK(res1
)) {
10263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Contains" "', expected argument " "1"" of type '" "wxRegion *""'");
10265 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10266 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10267 if (!SWIG_IsOK(ecode2
)) {
10268 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Contains" "', expected argument " "2"" of type '" "int""'");
10270 arg2
= static_cast< int >(val2
);
10271 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10272 if (!SWIG_IsOK(ecode3
)) {
10273 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Contains" "', expected argument " "3"" of type '" "int""'");
10275 arg3
= static_cast< int >(val3
);
10277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10278 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
);
10279 wxPyEndAllowThreads(__tstate
);
10280 if (PyErr_Occurred()) SWIG_fail
;
10282 resultobj
= SWIG_From_int(static_cast< int >(result
));
10289 SWIGINTERN PyObject
*_wrap_Region_ContainsPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10290 PyObject
*resultobj
= 0;
10291 wxRegion
*arg1
= (wxRegion
*) 0 ;
10292 wxPoint
*arg2
= 0 ;
10293 wxRegionContain result
;
10297 PyObject
* obj0
= 0 ;
10298 PyObject
* obj1
= 0 ;
10299 char * kwnames
[] = {
10300 (char *) "self",(char *) "pt", NULL
10303 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10304 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10305 if (!SWIG_IsOK(res1
)) {
10306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsPoint" "', expected argument " "1"" of type '" "wxRegion *""'");
10308 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10311 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10315 result
= (wxRegionContain
)(arg1
)->Contains((wxPoint
const &)*arg2
);
10316 wxPyEndAllowThreads(__tstate
);
10317 if (PyErr_Occurred()) SWIG_fail
;
10319 resultobj
= SWIG_From_int(static_cast< int >(result
));
10326 SWIGINTERN PyObject
*_wrap_Region_ContainsRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10327 PyObject
*resultobj
= 0;
10328 wxRegion
*arg1
= (wxRegion
*) 0 ;
10330 wxRegionContain result
;
10334 PyObject
* obj0
= 0 ;
10335 PyObject
* obj1
= 0 ;
10336 char * kwnames
[] = {
10337 (char *) "self",(char *) "rect", NULL
10340 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10341 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10342 if (!SWIG_IsOK(res1
)) {
10343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10345 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10348 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10352 result
= (wxRegionContain
)(arg1
)->Contains((wxRect
const &)*arg2
);
10353 wxPyEndAllowThreads(__tstate
);
10354 if (PyErr_Occurred()) SWIG_fail
;
10356 resultobj
= SWIG_From_int(static_cast< int >(result
));
10363 SWIGINTERN PyObject
*_wrap_Region_ContainsRectDim(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10364 PyObject
*resultobj
= 0;
10365 wxRegion
*arg1
= (wxRegion
*) 0 ;
10370 wxRegionContain result
;
10381 PyObject
* obj0
= 0 ;
10382 PyObject
* obj1
= 0 ;
10383 PyObject
* obj2
= 0 ;
10384 PyObject
* obj3
= 0 ;
10385 PyObject
* obj4
= 0 ;
10386 char * kwnames
[] = {
10387 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
10390 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10391 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10392 if (!SWIG_IsOK(res1
)) {
10393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRectDim" "', expected argument " "1"" of type '" "wxRegion *""'");
10395 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10396 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10397 if (!SWIG_IsOK(ecode2
)) {
10398 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_ContainsRectDim" "', expected argument " "2"" of type '" "int""'");
10400 arg2
= static_cast< int >(val2
);
10401 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10402 if (!SWIG_IsOK(ecode3
)) {
10403 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_ContainsRectDim" "', expected argument " "3"" of type '" "int""'");
10405 arg3
= static_cast< int >(val3
);
10406 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10407 if (!SWIG_IsOK(ecode4
)) {
10408 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_ContainsRectDim" "', expected argument " "4"" of type '" "int""'");
10410 arg4
= static_cast< int >(val4
);
10411 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10412 if (!SWIG_IsOK(ecode5
)) {
10413 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_ContainsRectDim" "', expected argument " "5"" of type '" "int""'");
10415 arg5
= static_cast< int >(val5
);
10417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10418 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
10419 wxPyEndAllowThreads(__tstate
);
10420 if (PyErr_Occurred()) SWIG_fail
;
10422 resultobj
= SWIG_From_int(static_cast< int >(result
));
10429 SWIGINTERN PyObject
*_wrap_Region_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10430 PyObject
*resultobj
= 0;
10431 wxRegion
*arg1
= (wxRegion
*) 0 ;
10435 PyObject
*swig_obj
[1] ;
10437 if (!args
) SWIG_fail
;
10438 swig_obj
[0] = args
;
10439 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10440 if (!SWIG_IsOK(res1
)) {
10441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_GetBox" "', expected argument " "1"" of type '" "wxRegion *""'");
10443 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10446 result
= (arg1
)->GetBox();
10447 wxPyEndAllowThreads(__tstate
);
10448 if (PyErr_Occurred()) SWIG_fail
;
10450 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
10457 SWIGINTERN PyObject
*_wrap_Region_Intersect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10458 PyObject
*resultobj
= 0;
10459 wxRegion
*arg1
= (wxRegion
*) 0 ;
10475 PyObject
* obj0
= 0 ;
10476 PyObject
* obj1
= 0 ;
10477 PyObject
* obj2
= 0 ;
10478 PyObject
* obj3
= 0 ;
10479 PyObject
* obj4
= 0 ;
10480 char * kwnames
[] = {
10481 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10484 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10485 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10486 if (!SWIG_IsOK(res1
)) {
10487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Intersect" "', expected argument " "1"" of type '" "wxRegion *""'");
10489 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10490 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10491 if (!SWIG_IsOK(ecode2
)) {
10492 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Intersect" "', expected argument " "2"" of type '" "int""'");
10494 arg2
= static_cast< int >(val2
);
10495 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10496 if (!SWIG_IsOK(ecode3
)) {
10497 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Intersect" "', expected argument " "3"" of type '" "int""'");
10499 arg3
= static_cast< int >(val3
);
10500 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10501 if (!SWIG_IsOK(ecode4
)) {
10502 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Intersect" "', expected argument " "4"" of type '" "int""'");
10504 arg4
= static_cast< int >(val4
);
10505 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10506 if (!SWIG_IsOK(ecode5
)) {
10507 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Intersect" "', expected argument " "5"" of type '" "int""'");
10509 arg5
= static_cast< int >(val5
);
10511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10512 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
10513 wxPyEndAllowThreads(__tstate
);
10514 if (PyErr_Occurred()) SWIG_fail
;
10517 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10525 SWIGINTERN PyObject
*_wrap_Region_IntersectRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10526 PyObject
*resultobj
= 0;
10527 wxRegion
*arg1
= (wxRegion
*) 0 ;
10533 PyObject
* obj0
= 0 ;
10534 PyObject
* obj1
= 0 ;
10535 char * kwnames
[] = {
10536 (char *) "self",(char *) "rect", NULL
10539 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10540 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10541 if (!SWIG_IsOK(res1
)) {
10542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10544 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10547 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10551 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
10552 wxPyEndAllowThreads(__tstate
);
10553 if (PyErr_Occurred()) SWIG_fail
;
10556 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10564 SWIGINTERN PyObject
*_wrap_Region_IntersectRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10565 PyObject
*resultobj
= 0;
10566 wxRegion
*arg1
= (wxRegion
*) 0 ;
10567 wxRegion
*arg2
= 0 ;
10573 PyObject
* obj0
= 0 ;
10574 PyObject
* obj1
= 0 ;
10575 char * kwnames
[] = {
10576 (char *) "self",(char *) "region", NULL
10579 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10580 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10581 if (!SWIG_IsOK(res1
)) {
10582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
10584 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10585 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
10586 if (!SWIG_IsOK(res2
)) {
10587 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10590 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10592 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
10594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10595 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
10596 wxPyEndAllowThreads(__tstate
);
10597 if (PyErr_Occurred()) SWIG_fail
;
10600 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10608 SWIGINTERN PyObject
*_wrap_Region_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10609 PyObject
*resultobj
= 0;
10610 wxRegion
*arg1
= (wxRegion
*) 0 ;
10614 PyObject
*swig_obj
[1] ;
10616 if (!args
) SWIG_fail
;
10617 swig_obj
[0] = args
;
10618 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10619 if (!SWIG_IsOK(res1
)) {
10620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEmpty" "', expected argument " "1"" of type '" "wxRegion *""'");
10622 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10625 result
= (bool)(arg1
)->IsEmpty();
10626 wxPyEndAllowThreads(__tstate
);
10627 if (PyErr_Occurred()) SWIG_fail
;
10630 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10638 SWIGINTERN PyObject
*_wrap_Region_IsEqual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10639 PyObject
*resultobj
= 0;
10640 wxRegion
*arg1
= (wxRegion
*) 0 ;
10641 wxRegion
*arg2
= 0 ;
10647 PyObject
* obj0
= 0 ;
10648 PyObject
* obj1
= 0 ;
10649 char * kwnames
[] = {
10650 (char *) "self",(char *) "region", NULL
10653 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IsEqual",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10654 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10655 if (!SWIG_IsOK(res1
)) {
10656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEqual" "', expected argument " "1"" of type '" "wxRegion const *""'");
10658 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10659 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
10660 if (!SWIG_IsOK(res2
)) {
10661 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IsEqual" "', expected argument " "2"" of type '" "wxRegion const &""'");
10664 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IsEqual" "', expected argument " "2"" of type '" "wxRegion const &""'");
10666 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
10668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10669 result
= (bool)((wxRegion
const *)arg1
)->IsEqual((wxRegion
const &)*arg2
);
10670 wxPyEndAllowThreads(__tstate
);
10671 if (PyErr_Occurred()) SWIG_fail
;
10674 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10682 SWIGINTERN PyObject
*_wrap_Region_Union(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10683 PyObject
*resultobj
= 0;
10684 wxRegion
*arg1
= (wxRegion
*) 0 ;
10700 PyObject
* obj0
= 0 ;
10701 PyObject
* obj1
= 0 ;
10702 PyObject
* obj2
= 0 ;
10703 PyObject
* obj3
= 0 ;
10704 PyObject
* obj4
= 0 ;
10705 char * kwnames
[] = {
10706 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10709 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10710 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10711 if (!SWIG_IsOK(res1
)) {
10712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Union" "', expected argument " "1"" of type '" "wxRegion *""'");
10714 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10715 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10716 if (!SWIG_IsOK(ecode2
)) {
10717 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Union" "', expected argument " "2"" of type '" "int""'");
10719 arg2
= static_cast< int >(val2
);
10720 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10721 if (!SWIG_IsOK(ecode3
)) {
10722 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Union" "', expected argument " "3"" of type '" "int""'");
10724 arg3
= static_cast< int >(val3
);
10725 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10726 if (!SWIG_IsOK(ecode4
)) {
10727 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Union" "', expected argument " "4"" of type '" "int""'");
10729 arg4
= static_cast< int >(val4
);
10730 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10731 if (!SWIG_IsOK(ecode5
)) {
10732 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Union" "', expected argument " "5"" of type '" "int""'");
10734 arg5
= static_cast< int >(val5
);
10736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10737 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
10738 wxPyEndAllowThreads(__tstate
);
10739 if (PyErr_Occurred()) SWIG_fail
;
10742 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10750 SWIGINTERN PyObject
*_wrap_Region_UnionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10751 PyObject
*resultobj
= 0;
10752 wxRegion
*arg1
= (wxRegion
*) 0 ;
10758 PyObject
* obj0
= 0 ;
10759 PyObject
* obj1
= 0 ;
10760 char * kwnames
[] = {
10761 (char *) "self",(char *) "rect", NULL
10764 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10765 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10766 if (!SWIG_IsOK(res1
)) {
10767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10769 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10772 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10776 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
10777 wxPyEndAllowThreads(__tstate
);
10778 if (PyErr_Occurred()) SWIG_fail
;
10781 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10789 SWIGINTERN PyObject
*_wrap_Region_UnionRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10790 PyObject
*resultobj
= 0;
10791 wxRegion
*arg1
= (wxRegion
*) 0 ;
10792 wxRegion
*arg2
= 0 ;
10798 PyObject
* obj0
= 0 ;
10799 PyObject
* obj1
= 0 ;
10800 char * kwnames
[] = {
10801 (char *) "self",(char *) "region", NULL
10804 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10805 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10806 if (!SWIG_IsOK(res1
)) {
10807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
10809 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10810 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
10811 if (!SWIG_IsOK(res2
)) {
10812 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10815 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10817 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
10819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10820 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
10821 wxPyEndAllowThreads(__tstate
);
10822 if (PyErr_Occurred()) SWIG_fail
;
10825 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10833 SWIGINTERN PyObject
*_wrap_Region_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10834 PyObject
*resultobj
= 0;
10835 wxRegion
*arg1
= (wxRegion
*) 0 ;
10851 PyObject
* obj0
= 0 ;
10852 PyObject
* obj1
= 0 ;
10853 PyObject
* obj2
= 0 ;
10854 PyObject
* obj3
= 0 ;
10855 PyObject
* obj4
= 0 ;
10856 char * kwnames
[] = {
10857 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10860 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10861 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10862 if (!SWIG_IsOK(res1
)) {
10863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Subtract" "', expected argument " "1"" of type '" "wxRegion *""'");
10865 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10866 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10867 if (!SWIG_IsOK(ecode2
)) {
10868 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Subtract" "', expected argument " "2"" of type '" "int""'");
10870 arg2
= static_cast< int >(val2
);
10871 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10872 if (!SWIG_IsOK(ecode3
)) {
10873 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Subtract" "', expected argument " "3"" of type '" "int""'");
10875 arg3
= static_cast< int >(val3
);
10876 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10877 if (!SWIG_IsOK(ecode4
)) {
10878 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Subtract" "', expected argument " "4"" of type '" "int""'");
10880 arg4
= static_cast< int >(val4
);
10881 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10882 if (!SWIG_IsOK(ecode5
)) {
10883 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Subtract" "', expected argument " "5"" of type '" "int""'");
10885 arg5
= static_cast< int >(val5
);
10887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10888 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
10889 wxPyEndAllowThreads(__tstate
);
10890 if (PyErr_Occurred()) SWIG_fail
;
10893 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10901 SWIGINTERN PyObject
*_wrap_Region_SubtractRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10902 PyObject
*resultobj
= 0;
10903 wxRegion
*arg1
= (wxRegion
*) 0 ;
10909 PyObject
* obj0
= 0 ;
10910 PyObject
* obj1
= 0 ;
10911 char * kwnames
[] = {
10912 (char *) "self",(char *) "rect", NULL
10915 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10916 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10917 if (!SWIG_IsOK(res1
)) {
10918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10920 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10923 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10927 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
10928 wxPyEndAllowThreads(__tstate
);
10929 if (PyErr_Occurred()) SWIG_fail
;
10932 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10940 SWIGINTERN PyObject
*_wrap_Region_SubtractRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10941 PyObject
*resultobj
= 0;
10942 wxRegion
*arg1
= (wxRegion
*) 0 ;
10943 wxRegion
*arg2
= 0 ;
10949 PyObject
* obj0
= 0 ;
10950 PyObject
* obj1
= 0 ;
10951 char * kwnames
[] = {
10952 (char *) "self",(char *) "region", NULL
10955 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10956 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10957 if (!SWIG_IsOK(res1
)) {
10958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
10960 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10961 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
10962 if (!SWIG_IsOK(res2
)) {
10963 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10966 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10968 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
10970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10971 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
10972 wxPyEndAllowThreads(__tstate
);
10973 if (PyErr_Occurred()) SWIG_fail
;
10976 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10984 SWIGINTERN PyObject
*_wrap_Region_Xor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10985 PyObject
*resultobj
= 0;
10986 wxRegion
*arg1
= (wxRegion
*) 0 ;
11002 PyObject
* obj0
= 0 ;
11003 PyObject
* obj1
= 0 ;
11004 PyObject
* obj2
= 0 ;
11005 PyObject
* obj3
= 0 ;
11006 PyObject
* obj4
= 0 ;
11007 char * kwnames
[] = {
11008 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11011 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11012 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11013 if (!SWIG_IsOK(res1
)) {
11014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Xor" "', expected argument " "1"" of type '" "wxRegion *""'");
11016 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11017 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11018 if (!SWIG_IsOK(ecode2
)) {
11019 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Xor" "', expected argument " "2"" of type '" "int""'");
11021 arg2
= static_cast< int >(val2
);
11022 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11023 if (!SWIG_IsOK(ecode3
)) {
11024 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Xor" "', expected argument " "3"" of type '" "int""'");
11026 arg3
= static_cast< int >(val3
);
11027 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11028 if (!SWIG_IsOK(ecode4
)) {
11029 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Xor" "', expected argument " "4"" of type '" "int""'");
11031 arg4
= static_cast< int >(val4
);
11032 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11033 if (!SWIG_IsOK(ecode5
)) {
11034 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Xor" "', expected argument " "5"" of type '" "int""'");
11036 arg5
= static_cast< int >(val5
);
11038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11039 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
11040 wxPyEndAllowThreads(__tstate
);
11041 if (PyErr_Occurred()) SWIG_fail
;
11044 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11052 SWIGINTERN PyObject
*_wrap_Region_XorRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11053 PyObject
*resultobj
= 0;
11054 wxRegion
*arg1
= (wxRegion
*) 0 ;
11060 PyObject
* obj0
= 0 ;
11061 PyObject
* obj1
= 0 ;
11062 char * kwnames
[] = {
11063 (char *) "self",(char *) "rect", NULL
11066 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11067 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11068 if (!SWIG_IsOK(res1
)) {
11069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11071 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11074 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11078 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
11079 wxPyEndAllowThreads(__tstate
);
11080 if (PyErr_Occurred()) SWIG_fail
;
11083 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11091 SWIGINTERN PyObject
*_wrap_Region_XorRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11092 PyObject
*resultobj
= 0;
11093 wxRegion
*arg1
= (wxRegion
*) 0 ;
11094 wxRegion
*arg2
= 0 ;
11100 PyObject
* obj0
= 0 ;
11101 PyObject
* obj1
= 0 ;
11102 char * kwnames
[] = {
11103 (char *) "self",(char *) "region", NULL
11106 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11107 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11108 if (!SWIG_IsOK(res1
)) {
11109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11111 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11112 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11113 if (!SWIG_IsOK(res2
)) {
11114 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11117 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11119 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11122 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
11123 wxPyEndAllowThreads(__tstate
);
11124 if (PyErr_Occurred()) SWIG_fail
;
11127 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11135 SWIGINTERN PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11136 PyObject
*resultobj
= 0;
11137 wxRegion
*arg1
= (wxRegion
*) 0 ;
11138 SwigValueWrapper
<wxBitmap
> result
;
11141 PyObject
*swig_obj
[1] ;
11143 if (!args
) SWIG_fail
;
11144 swig_obj
[0] = args
;
11145 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11146 if (!SWIG_IsOK(res1
)) {
11147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ConvertToBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
11149 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11152 result
= (arg1
)->ConvertToBitmap();
11153 wxPyEndAllowThreads(__tstate
);
11154 if (PyErr_Occurred()) SWIG_fail
;
11156 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
11163 SWIGINTERN PyObject
*_wrap_Region_UnionBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11164 PyObject
*resultobj
= 0;
11165 wxRegion
*arg1
= (wxRegion
*) 0 ;
11166 wxBitmap
*arg2
= 0 ;
11172 PyObject
* obj0
= 0 ;
11173 PyObject
* obj1
= 0 ;
11174 char * kwnames
[] = {
11175 (char *) "self",(char *) "bmp", NULL
11178 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11179 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11180 if (!SWIG_IsOK(res1
)) {
11181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
11183 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11184 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11185 if (!SWIG_IsOK(res2
)) {
11186 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11189 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11191 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
11193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11194 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
);
11195 wxPyEndAllowThreads(__tstate
);
11196 if (PyErr_Occurred()) SWIG_fail
;
11199 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11207 SWIGINTERN PyObject
*_wrap_Region_UnionBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11208 PyObject
*resultobj
= 0;
11209 wxRegion
*arg1
= (wxRegion
*) 0 ;
11210 wxBitmap
*arg2
= 0 ;
11211 wxColour
*arg3
= 0 ;
11212 int arg4
= (int) 0 ;
11221 PyObject
* obj0
= 0 ;
11222 PyObject
* obj1
= 0 ;
11223 PyObject
* obj2
= 0 ;
11224 PyObject
* obj3
= 0 ;
11225 char * kwnames
[] = {
11226 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
11229 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Region_UnionBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11230 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11231 if (!SWIG_IsOK(res1
)) {
11232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmapColour" "', expected argument " "1"" of type '" "wxRegion *""'");
11234 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11235 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11236 if (!SWIG_IsOK(res2
)) {
11237 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11240 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11242 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
11245 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
11248 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11249 if (!SWIG_IsOK(ecode4
)) {
11250 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_UnionBitmapColour" "', expected argument " "4"" of type '" "int""'");
11252 arg4
= static_cast< int >(val4
);
11255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11256 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
11257 wxPyEndAllowThreads(__tstate
);
11258 if (PyErr_Occurred()) SWIG_fail
;
11261 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11269 SWIGINTERN PyObject
*Region_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11271 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11272 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegion
, SWIG_NewClientData(obj
));
11273 return SWIG_Py_Void();
11276 SWIGINTERN PyObject
*Region_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11277 return SWIG_Python_InitShadowInstance(args
);
11280 SWIGINTERN PyObject
*_wrap_new_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11281 PyObject
*resultobj
= 0;
11282 wxRegion
*arg1
= 0 ;
11283 wxRegionIterator
*result
= 0 ;
11286 PyObject
* obj0
= 0 ;
11287 char * kwnames
[] = {
11288 (char *) "region", NULL
11291 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) SWIG_fail
;
11292 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRegion
, 0 | 0);
11293 if (!SWIG_IsOK(res1
)) {
11294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
11297 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
11299 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11301 if (!wxPyCheckForApp()) SWIG_fail
;
11302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11303 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
11304 wxPyEndAllowThreads(__tstate
);
11305 if (PyErr_Occurred()) SWIG_fail
;
11307 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_NEW
| 0 );
11314 SWIGINTERN PyObject
*_wrap_delete_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11315 PyObject
*resultobj
= 0;
11316 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11319 PyObject
*swig_obj
[1] ;
11321 if (!args
) SWIG_fail
;
11322 swig_obj
[0] = args
;
11323 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_DISOWN
| 0 );
11324 if (!SWIG_IsOK(res1
)) {
11325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RegionIterator" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11327 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11332 wxPyEndAllowThreads(__tstate
);
11333 if (PyErr_Occurred()) SWIG_fail
;
11335 resultobj
= SWIG_Py_Void();
11342 SWIGINTERN PyObject
*_wrap_RegionIterator_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11343 PyObject
*resultobj
= 0;
11344 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11348 PyObject
*swig_obj
[1] ;
11350 if (!args
) SWIG_fail
;
11351 swig_obj
[0] = args
;
11352 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11353 if (!SWIG_IsOK(res1
)) {
11354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetX" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11356 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11359 result
= (int)(arg1
)->GetX();
11360 wxPyEndAllowThreads(__tstate
);
11361 if (PyErr_Occurred()) SWIG_fail
;
11363 resultobj
= SWIG_From_int(static_cast< int >(result
));
11370 SWIGINTERN PyObject
*_wrap_RegionIterator_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11371 PyObject
*resultobj
= 0;
11372 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11376 PyObject
*swig_obj
[1] ;
11378 if (!args
) SWIG_fail
;
11379 swig_obj
[0] = args
;
11380 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11381 if (!SWIG_IsOK(res1
)) {
11382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetY" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11384 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11387 result
= (int)(arg1
)->GetY();
11388 wxPyEndAllowThreads(__tstate
);
11389 if (PyErr_Occurred()) SWIG_fail
;
11391 resultobj
= SWIG_From_int(static_cast< int >(result
));
11398 SWIGINTERN PyObject
*_wrap_RegionIterator_GetW(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11399 PyObject
*resultobj
= 0;
11400 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11404 PyObject
*swig_obj
[1] ;
11406 if (!args
) SWIG_fail
;
11407 swig_obj
[0] = args
;
11408 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11409 if (!SWIG_IsOK(res1
)) {
11410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetW" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11412 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11415 result
= (int)(arg1
)->GetW();
11416 wxPyEndAllowThreads(__tstate
);
11417 if (PyErr_Occurred()) SWIG_fail
;
11419 resultobj
= SWIG_From_int(static_cast< int >(result
));
11426 SWIGINTERN PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11427 PyObject
*resultobj
= 0;
11428 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11432 PyObject
*swig_obj
[1] ;
11434 if (!args
) SWIG_fail
;
11435 swig_obj
[0] = args
;
11436 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11437 if (!SWIG_IsOK(res1
)) {
11438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetWidth" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11440 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11443 result
= (int)(arg1
)->GetWidth();
11444 wxPyEndAllowThreads(__tstate
);
11445 if (PyErr_Occurred()) SWIG_fail
;
11447 resultobj
= SWIG_From_int(static_cast< int >(result
));
11454 SWIGINTERN PyObject
*_wrap_RegionIterator_GetH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11455 PyObject
*resultobj
= 0;
11456 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11460 PyObject
*swig_obj
[1] ;
11462 if (!args
) SWIG_fail
;
11463 swig_obj
[0] = args
;
11464 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11465 if (!SWIG_IsOK(res1
)) {
11466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetH" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11468 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11471 result
= (int)(arg1
)->GetH();
11472 wxPyEndAllowThreads(__tstate
);
11473 if (PyErr_Occurred()) SWIG_fail
;
11475 resultobj
= SWIG_From_int(static_cast< int >(result
));
11482 SWIGINTERN PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11483 PyObject
*resultobj
= 0;
11484 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11488 PyObject
*swig_obj
[1] ;
11490 if (!args
) SWIG_fail
;
11491 swig_obj
[0] = args
;
11492 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11493 if (!SWIG_IsOK(res1
)) {
11494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetHeight" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11496 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11499 result
= (int)(arg1
)->GetHeight();
11500 wxPyEndAllowThreads(__tstate
);
11501 if (PyErr_Occurred()) SWIG_fail
;
11503 resultobj
= SWIG_From_int(static_cast< int >(result
));
11510 SWIGINTERN PyObject
*_wrap_RegionIterator_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11511 PyObject
*resultobj
= 0;
11512 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11516 PyObject
*swig_obj
[1] ;
11518 if (!args
) SWIG_fail
;
11519 swig_obj
[0] = args
;
11520 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11521 if (!SWIG_IsOK(res1
)) {
11522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetRect" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11524 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11527 result
= (arg1
)->GetRect();
11528 wxPyEndAllowThreads(__tstate
);
11529 if (PyErr_Occurred()) SWIG_fail
;
11531 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
11538 SWIGINTERN PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11539 PyObject
*resultobj
= 0;
11540 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11544 PyObject
*swig_obj
[1] ;
11546 if (!args
) SWIG_fail
;
11547 swig_obj
[0] = args
;
11548 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11549 if (!SWIG_IsOK(res1
)) {
11550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_HaveRects" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11552 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11555 result
= (bool)(arg1
)->HaveRects();
11556 wxPyEndAllowThreads(__tstate
);
11557 if (PyErr_Occurred()) SWIG_fail
;
11560 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11568 SWIGINTERN PyObject
*_wrap_RegionIterator_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11569 PyObject
*resultobj
= 0;
11570 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11573 PyObject
*swig_obj
[1] ;
11575 if (!args
) SWIG_fail
;
11576 swig_obj
[0] = args
;
11577 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11578 if (!SWIG_IsOK(res1
)) {
11579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Reset" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11581 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11585 wxPyEndAllowThreads(__tstate
);
11586 if (PyErr_Occurred()) SWIG_fail
;
11588 resultobj
= SWIG_Py_Void();
11595 SWIGINTERN PyObject
*_wrap_RegionIterator_Next(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11596 PyObject
*resultobj
= 0;
11597 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11600 PyObject
*swig_obj
[1] ;
11602 if (!args
) SWIG_fail
;
11603 swig_obj
[0] = args
;
11604 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11605 if (!SWIG_IsOK(res1
)) {
11606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Next" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11608 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11611 wxRegionIterator_Next(arg1
);
11612 wxPyEndAllowThreads(__tstate
);
11613 if (PyErr_Occurred()) SWIG_fail
;
11615 resultobj
= SWIG_Py_Void();
11622 SWIGINTERN PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11623 PyObject
*resultobj
= 0;
11624 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11628 PyObject
*swig_obj
[1] ;
11630 if (!args
) SWIG_fail
;
11631 swig_obj
[0] = args
;
11632 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11633 if (!SWIG_IsOK(res1
)) {
11634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator___nonzero__" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11636 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11639 result
= (bool)wxRegionIterator___nonzero__(arg1
);
11640 wxPyEndAllowThreads(__tstate
);
11641 if (PyErr_Occurred()) SWIG_fail
;
11644 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11652 SWIGINTERN PyObject
*RegionIterator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11654 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11655 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegionIterator
, SWIG_NewClientData(obj
));
11656 return SWIG_Py_Void();
11659 SWIGINTERN PyObject
*RegionIterator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11660 return SWIG_Python_InitShadowInstance(args
);
11663 SWIGINTERN PyObject
*_wrap_new_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11664 PyObject
*resultobj
= 0;
11665 wxNativeFontInfo
*result
= 0 ;
11667 if (!SWIG_Python_UnpackTuple(args
,"new_NativeFontInfo",0,0,0)) SWIG_fail
;
11669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11670 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
11671 wxPyEndAllowThreads(__tstate
);
11672 if (PyErr_Occurred()) SWIG_fail
;
11674 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_NEW
| 0 );
11681 SWIGINTERN PyObject
*_wrap_delete_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11682 PyObject
*resultobj
= 0;
11683 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11686 PyObject
*swig_obj
[1] ;
11688 if (!args
) SWIG_fail
;
11689 swig_obj
[0] = args
;
11690 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_DISOWN
| 0 );
11691 if (!SWIG_IsOK(res1
)) {
11692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeFontInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
11694 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11699 wxPyEndAllowThreads(__tstate
);
11700 if (PyErr_Occurred()) SWIG_fail
;
11702 resultobj
= SWIG_Py_Void();
11709 SWIGINTERN PyObject
*_wrap_NativeFontInfo_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11710 PyObject
*resultobj
= 0;
11711 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11714 PyObject
*swig_obj
[1] ;
11716 if (!args
) SWIG_fail
;
11717 swig_obj
[0] = args
;
11718 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11719 if (!SWIG_IsOK(res1
)) {
11720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_Init" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
11722 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11726 wxPyEndAllowThreads(__tstate
);
11727 if (PyErr_Occurred()) SWIG_fail
;
11729 resultobj
= SWIG_Py_Void();
11736 SWIGINTERN PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11737 PyObject
*resultobj
= 0;
11738 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11744 PyObject
* obj0
= 0 ;
11745 PyObject
* obj1
= 0 ;
11746 char * kwnames
[] = {
11747 (char *) "self",(char *) "font", NULL
11750 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11751 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11752 if (!SWIG_IsOK(res1
)) {
11753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
11755 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11756 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
11757 if (!SWIG_IsOK(res2
)) {
11758 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
11761 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
11763 arg2
= reinterpret_cast< wxFont
* >(argp2
);
11765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11766 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
11767 wxPyEndAllowThreads(__tstate
);
11768 if (PyErr_Occurred()) SWIG_fail
;
11770 resultobj
= SWIG_Py_Void();
11777 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11778 PyObject
*resultobj
= 0;
11779 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11783 PyObject
*swig_obj
[1] ;
11785 if (!args
) SWIG_fail
;
11786 swig_obj
[0] = args
;
11787 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11788 if (!SWIG_IsOK(res1
)) {
11789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
11791 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11794 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
11795 wxPyEndAllowThreads(__tstate
);
11796 if (PyErr_Occurred()) SWIG_fail
;
11798 resultobj
= SWIG_From_int(static_cast< int >(result
));
11805 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11806 PyObject
*resultobj
= 0;
11807 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11808 wxFontStyle result
;
11811 PyObject
*swig_obj
[1] ;
11813 if (!args
) SWIG_fail
;
11814 swig_obj
[0] = args
;
11815 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11816 if (!SWIG_IsOK(res1
)) {
11817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
11819 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11822 result
= (wxFontStyle
)((wxNativeFontInfo
const *)arg1
)->GetStyle();
11823 wxPyEndAllowThreads(__tstate
);
11824 if (PyErr_Occurred()) SWIG_fail
;
11826 resultobj
= SWIG_From_int(static_cast< int >(result
));
11833 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11834 PyObject
*resultobj
= 0;
11835 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11836 wxFontWeight result
;
11839 PyObject
*swig_obj
[1] ;
11841 if (!args
) SWIG_fail
;
11842 swig_obj
[0] = args
;
11843 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11844 if (!SWIG_IsOK(res1
)) {
11845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
11847 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11850 result
= (wxFontWeight
)((wxNativeFontInfo
const *)arg1
)->GetWeight();
11851 wxPyEndAllowThreads(__tstate
);
11852 if (PyErr_Occurred()) SWIG_fail
;
11854 resultobj
= SWIG_From_int(static_cast< int >(result
));
11861 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11862 PyObject
*resultobj
= 0;
11863 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11867 PyObject
*swig_obj
[1] ;
11869 if (!args
) SWIG_fail
;
11870 swig_obj
[0] = args
;
11871 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11872 if (!SWIG_IsOK(res1
)) {
11873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
11875 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11878 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
11879 wxPyEndAllowThreads(__tstate
);
11880 if (PyErr_Occurred()) SWIG_fail
;
11883 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11891 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11892 PyObject
*resultobj
= 0;
11893 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11897 PyObject
*swig_obj
[1] ;
11899 if (!args
) SWIG_fail
;
11900 swig_obj
[0] = args
;
11901 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11902 if (!SWIG_IsOK(res1
)) {
11903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
11905 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11908 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
11909 wxPyEndAllowThreads(__tstate
);
11910 if (PyErr_Occurred()) SWIG_fail
;
11914 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11916 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11925 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11926 PyObject
*resultobj
= 0;
11927 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11928 wxFontFamily result
;
11931 PyObject
*swig_obj
[1] ;
11933 if (!args
) SWIG_fail
;
11934 swig_obj
[0] = args
;
11935 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11936 if (!SWIG_IsOK(res1
)) {
11937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
11939 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11942 result
= (wxFontFamily
)((wxNativeFontInfo
const *)arg1
)->GetFamily();
11943 wxPyEndAllowThreads(__tstate
);
11944 if (PyErr_Occurred()) SWIG_fail
;
11946 resultobj
= SWIG_From_int(static_cast< int >(result
));
11953 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11954 PyObject
*resultobj
= 0;
11955 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11956 wxFontEncoding result
;
11959 PyObject
*swig_obj
[1] ;
11961 if (!args
) SWIG_fail
;
11962 swig_obj
[0] = args
;
11963 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11964 if (!SWIG_IsOK(res1
)) {
11965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
11967 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11970 result
= (wxFontEncoding
)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
11971 wxPyEndAllowThreads(__tstate
);
11972 if (PyErr_Occurred()) SWIG_fail
;
11974 resultobj
= SWIG_From_int(static_cast< int >(result
));
11981 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11982 PyObject
*resultobj
= 0;
11983 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11989 PyObject
* obj0
= 0 ;
11990 PyObject
* obj1
= 0 ;
11991 char * kwnames
[] = {
11992 (char *) "self",(char *) "pointsize", NULL
11995 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11996 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11997 if (!SWIG_IsOK(res1
)) {
11998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12000 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12001 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12002 if (!SWIG_IsOK(ecode2
)) {
12003 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "2"" of type '" "int""'");
12005 arg2
= static_cast< int >(val2
);
12007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12008 (arg1
)->SetPointSize(arg2
);
12009 wxPyEndAllowThreads(__tstate
);
12010 if (PyErr_Occurred()) SWIG_fail
;
12012 resultobj
= SWIG_Py_Void();
12019 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12020 PyObject
*resultobj
= 0;
12021 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12027 PyObject
* obj0
= 0 ;
12028 PyObject
* obj1
= 0 ;
12029 char * kwnames
[] = {
12030 (char *) "self",(char *) "style", NULL
12033 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12034 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12035 if (!SWIG_IsOK(res1
)) {
12036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12038 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12039 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12040 if (!SWIG_IsOK(ecode2
)) {
12041 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "2"" of type '" "wxFontStyle""'");
12043 arg2
= static_cast< wxFontStyle
>(val2
);
12045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12046 (arg1
)->SetStyle(arg2
);
12047 wxPyEndAllowThreads(__tstate
);
12048 if (PyErr_Occurred()) SWIG_fail
;
12050 resultobj
= SWIG_Py_Void();
12057 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12058 PyObject
*resultobj
= 0;
12059 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12060 wxFontWeight arg2
;
12065 PyObject
* obj0
= 0 ;
12066 PyObject
* obj1
= 0 ;
12067 char * kwnames
[] = {
12068 (char *) "self",(char *) "weight", NULL
12071 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12072 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12073 if (!SWIG_IsOK(res1
)) {
12074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12076 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12077 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12078 if (!SWIG_IsOK(ecode2
)) {
12079 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "2"" of type '" "wxFontWeight""'");
12081 arg2
= static_cast< wxFontWeight
>(val2
);
12083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12084 (arg1
)->SetWeight(arg2
);
12085 wxPyEndAllowThreads(__tstate
);
12086 if (PyErr_Occurred()) SWIG_fail
;
12088 resultobj
= SWIG_Py_Void();
12095 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12096 PyObject
*resultobj
= 0;
12097 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12103 PyObject
* obj0
= 0 ;
12104 PyObject
* obj1
= 0 ;
12105 char * kwnames
[] = {
12106 (char *) "self",(char *) "underlined", NULL
12109 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12110 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12111 if (!SWIG_IsOK(res1
)) {
12112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12114 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12115 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12116 if (!SWIG_IsOK(ecode2
)) {
12117 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
12119 arg2
= static_cast< bool >(val2
);
12121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12122 (arg1
)->SetUnderlined(arg2
);
12123 wxPyEndAllowThreads(__tstate
);
12124 if (PyErr_Occurred()) SWIG_fail
;
12126 resultobj
= SWIG_Py_Void();
12133 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12134 PyObject
*resultobj
= 0;
12135 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12140 PyObject
* obj0
= 0 ;
12141 PyObject
* obj1
= 0 ;
12142 char * kwnames
[] = {
12143 (char *) "self",(char *) "facename", NULL
12146 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12147 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12148 if (!SWIG_IsOK(res1
)) {
12149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12151 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12153 wxString
* sptr
= wxString_in_helper(obj1
);
12154 if (sptr
== NULL
) SWIG_fail
;
12159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12160 result
= (bool)(arg1
)->SetFaceName(arg2
);
12161 wxPyEndAllowThreads(__tstate
);
12162 if (PyErr_Occurred()) SWIG_fail
;
12165 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12173 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12174 PyObject
*resultobj
= 0;
12175 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12176 wxFontFamily arg2
;
12181 PyObject
* obj0
= 0 ;
12182 PyObject
* obj1
= 0 ;
12183 char * kwnames
[] = {
12184 (char *) "self",(char *) "family", NULL
12187 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12188 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12189 if (!SWIG_IsOK(res1
)) {
12190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12192 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12193 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12194 if (!SWIG_IsOK(ecode2
)) {
12195 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "2"" of type '" "wxFontFamily""'");
12197 arg2
= static_cast< wxFontFamily
>(val2
);
12199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12200 (arg1
)->SetFamily(arg2
);
12201 wxPyEndAllowThreads(__tstate
);
12202 if (PyErr_Occurred()) SWIG_fail
;
12204 resultobj
= SWIG_Py_Void();
12211 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12212 PyObject
*resultobj
= 0;
12213 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12214 wxFontEncoding arg2
;
12219 PyObject
* obj0
= 0 ;
12220 PyObject
* obj1
= 0 ;
12221 char * kwnames
[] = {
12222 (char *) "self",(char *) "encoding", NULL
12225 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12226 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12227 if (!SWIG_IsOK(res1
)) {
12228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12230 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12231 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12232 if (!SWIG_IsOK(ecode2
)) {
12233 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
12235 arg2
= static_cast< wxFontEncoding
>(val2
);
12237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12238 (arg1
)->SetEncoding(arg2
);
12239 wxPyEndAllowThreads(__tstate
);
12240 if (PyErr_Occurred()) SWIG_fail
;
12242 resultobj
= SWIG_Py_Void();
12249 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12250 PyObject
*resultobj
= 0;
12251 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12252 wxString
*arg2
= 0 ;
12256 bool temp2
= false ;
12257 PyObject
* obj0
= 0 ;
12258 PyObject
* obj1
= 0 ;
12259 char * kwnames
[] = {
12260 (char *) "self",(char *) "s", NULL
12263 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12264 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12265 if (!SWIG_IsOK(res1
)) {
12266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12268 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12270 arg2
= wxString_in_helper(obj1
);
12271 if (arg2
== NULL
) SWIG_fail
;
12275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12276 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
12277 wxPyEndAllowThreads(__tstate
);
12278 if (PyErr_Occurred()) SWIG_fail
;
12281 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12297 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12298 PyObject
*resultobj
= 0;
12299 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12303 PyObject
*swig_obj
[1] ;
12305 if (!args
) SWIG_fail
;
12306 swig_obj
[0] = args
;
12307 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12308 if (!SWIG_IsOK(res1
)) {
12309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12311 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12314 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
12315 wxPyEndAllowThreads(__tstate
);
12316 if (PyErr_Occurred()) SWIG_fail
;
12320 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12322 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12331 SWIGINTERN PyObject
*_wrap_NativeFontInfo___str__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12332 PyObject
*resultobj
= 0;
12333 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12337 PyObject
*swig_obj
[1] ;
12339 if (!args
) SWIG_fail
;
12340 swig_obj
[0] = args
;
12341 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12342 if (!SWIG_IsOK(res1
)) {
12343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo___str__" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12345 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12348 result
= wxNativeFontInfo___str__(arg1
);
12349 wxPyEndAllowThreads(__tstate
);
12350 if (PyErr_Occurred()) SWIG_fail
;
12354 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12356 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12365 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12366 PyObject
*resultobj
= 0;
12367 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12368 wxString
*arg2
= 0 ;
12372 bool temp2
= false ;
12373 PyObject
* obj0
= 0 ;
12374 PyObject
* obj1
= 0 ;
12375 char * kwnames
[] = {
12376 (char *) "self",(char *) "s", NULL
12379 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12380 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12381 if (!SWIG_IsOK(res1
)) {
12382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12384 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12386 arg2
= wxString_in_helper(obj1
);
12387 if (arg2
== NULL
) SWIG_fail
;
12391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12392 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
12393 wxPyEndAllowThreads(__tstate
);
12394 if (PyErr_Occurred()) SWIG_fail
;
12397 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12413 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12414 PyObject
*resultobj
= 0;
12415 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12419 PyObject
*swig_obj
[1] ;
12421 if (!args
) SWIG_fail
;
12422 swig_obj
[0] = args
;
12423 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12424 if (!SWIG_IsOK(res1
)) {
12425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12427 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12430 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
12431 wxPyEndAllowThreads(__tstate
);
12432 if (PyErr_Occurred()) SWIG_fail
;
12436 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12438 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12447 SWIGINTERN PyObject
*NativeFontInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12449 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12450 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeFontInfo
, SWIG_NewClientData(obj
));
12451 return SWIG_Py_Void();
12454 SWIGINTERN PyObject
*NativeFontInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12455 return SWIG_Python_InitShadowInstance(args
);
12458 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12459 PyObject
*resultobj
= 0;
12460 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12461 wxString
*arg2
= (wxString
*) 0 ;
12464 bool temp2
= false ;
12465 PyObject
*swig_obj
[2] ;
12467 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_facename_set",2,2,swig_obj
)) SWIG_fail
;
12468 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12469 if (!SWIG_IsOK(res1
)) {
12470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12472 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12474 arg2
= wxString_in_helper(swig_obj
[1]);
12475 if (arg2
== NULL
) SWIG_fail
;
12478 if (arg1
) (arg1
)->facename
= *arg2
;
12480 resultobj
= SWIG_Py_Void();
12495 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12496 PyObject
*resultobj
= 0;
12497 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12498 wxString
*result
= 0 ;
12501 PyObject
*swig_obj
[1] ;
12503 if (!args
) SWIG_fail
;
12504 swig_obj
[0] = args
;
12505 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12506 if (!SWIG_IsOK(res1
)) {
12507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12509 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12510 result
= (wxString
*)& ((arg1
)->facename
);
12513 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12515 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12524 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12525 PyObject
*resultobj
= 0;
12526 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12527 wxFontEncoding arg2
;
12532 PyObject
*swig_obj
[2] ;
12534 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_encoding_set",2,2,swig_obj
)) SWIG_fail
;
12535 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12536 if (!SWIG_IsOK(res1
)) {
12537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12539 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12540 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
12541 if (!SWIG_IsOK(ecode2
)) {
12542 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "2"" of type '" "wxFontEncoding""'");
12544 arg2
= static_cast< wxFontEncoding
>(val2
);
12545 if (arg1
) (arg1
)->encoding
= arg2
;
12547 resultobj
= SWIG_Py_Void();
12554 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12555 PyObject
*resultobj
= 0;
12556 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12557 wxFontEncoding result
;
12560 PyObject
*swig_obj
[1] ;
12562 if (!args
) SWIG_fail
;
12563 swig_obj
[0] = args
;
12564 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12565 if (!SWIG_IsOK(res1
)) {
12566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12568 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12569 result
= (wxFontEncoding
) ((arg1
)->encoding
);
12570 resultobj
= SWIG_From_int(static_cast< int >(result
));
12577 SWIGINTERN PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12578 PyObject
*resultobj
= 0;
12579 wxNativeEncodingInfo
*result
= 0 ;
12581 if (!SWIG_Python_UnpackTuple(args
,"new_NativeEncodingInfo",0,0,0)) SWIG_fail
;
12583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12584 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
12585 wxPyEndAllowThreads(__tstate
);
12586 if (PyErr_Occurred()) SWIG_fail
;
12588 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_NEW
| 0 );
12595 SWIGINTERN PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12596 PyObject
*resultobj
= 0;
12597 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12600 PyObject
*swig_obj
[1] ;
12602 if (!args
) SWIG_fail
;
12603 swig_obj
[0] = args
;
12604 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_DISOWN
| 0 );
12605 if (!SWIG_IsOK(res1
)) {
12606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeEncodingInfo" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12608 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12613 wxPyEndAllowThreads(__tstate
);
12614 if (PyErr_Occurred()) SWIG_fail
;
12616 resultobj
= SWIG_Py_Void();
12623 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12624 PyObject
*resultobj
= 0;
12625 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12626 wxString
*arg2
= 0 ;
12630 bool temp2
= false ;
12631 PyObject
* obj0
= 0 ;
12632 PyObject
* obj1
= 0 ;
12633 char * kwnames
[] = {
12634 (char *) "self",(char *) "s", NULL
12637 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12638 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12639 if (!SWIG_IsOK(res1
)) {
12640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_FromString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12642 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12644 arg2
= wxString_in_helper(obj1
);
12645 if (arg2
== NULL
) SWIG_fail
;
12649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12650 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
12651 wxPyEndAllowThreads(__tstate
);
12652 if (PyErr_Occurred()) SWIG_fail
;
12655 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12671 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12672 PyObject
*resultobj
= 0;
12673 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12677 PyObject
*swig_obj
[1] ;
12679 if (!args
) SWIG_fail
;
12680 swig_obj
[0] = args
;
12681 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12682 if (!SWIG_IsOK(res1
)) {
12683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_ToString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const *""'");
12685 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12688 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
12689 wxPyEndAllowThreads(__tstate
);
12690 if (PyErr_Occurred()) SWIG_fail
;
12694 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12696 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12705 SWIGINTERN PyObject
*NativeEncodingInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12707 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12708 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_NewClientData(obj
));
12709 return SWIG_Py_Void();
12712 SWIGINTERN PyObject
*NativeEncodingInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12713 return SWIG_Python_InitShadowInstance(args
);
12716 SWIGINTERN PyObject
*_wrap_GetNativeFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12717 PyObject
*resultobj
= 0;
12718 wxFontEncoding arg1
;
12719 wxNativeEncodingInfo
*result
= 0 ;
12722 PyObject
* obj0
= 0 ;
12723 char * kwnames
[] = {
12724 (char *) "encoding", NULL
12727 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
12728 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
12729 if (!SWIG_IsOK(ecode1
)) {
12730 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetNativeFontEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
12732 arg1
= static_cast< wxFontEncoding
>(val1
);
12734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12735 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding(arg1
);
12736 wxPyEndAllowThreads(__tstate
);
12737 if (PyErr_Occurred()) SWIG_fail
;
12739 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12746 SWIGINTERN PyObject
*_wrap_TestFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12747 PyObject
*resultobj
= 0;
12748 wxNativeEncodingInfo
*arg1
= 0 ;
12752 PyObject
* obj0
= 0 ;
12753 char * kwnames
[] = {
12754 (char *) "info", NULL
12757 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
12758 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0);
12759 if (!SWIG_IsOK(res1
)) {
12760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
12763 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
12765 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12768 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
12769 wxPyEndAllowThreads(__tstate
);
12770 if (PyErr_Occurred()) SWIG_fail
;
12773 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12781 SWIGINTERN PyObject
*_wrap_new_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12782 PyObject
*resultobj
= 0;
12783 wxFontMapper
*result
= 0 ;
12785 if (!SWIG_Python_UnpackTuple(args
,"new_FontMapper",0,0,0)) SWIG_fail
;
12787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12788 result
= (wxFontMapper
*)new wxFontMapper();
12789 wxPyEndAllowThreads(__tstate
);
12790 if (PyErr_Occurred()) SWIG_fail
;
12792 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_NEW
| 0 );
12799 SWIGINTERN PyObject
*_wrap_delete_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12800 PyObject
*resultobj
= 0;
12801 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
12804 PyObject
*swig_obj
[1] ;
12806 if (!args
) SWIG_fail
;
12807 swig_obj
[0] = args
;
12808 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_DISOWN
| 0 );
12809 if (!SWIG_IsOK(res1
)) {
12810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontMapper" "', expected argument " "1"" of type '" "wxFontMapper *""'");
12812 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
12814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12817 wxPyEndAllowThreads(__tstate
);
12818 if (PyErr_Occurred()) SWIG_fail
;
12820 resultobj
= SWIG_Py_Void();
12827 SWIGINTERN PyObject
*_wrap_FontMapper_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12828 PyObject
*resultobj
= 0;
12829 wxFontMapper
*result
= 0 ;
12831 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_Get",0,0,0)) SWIG_fail
;
12833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12834 result
= (wxFontMapper
*)wxFontMapper::Get();
12835 wxPyEndAllowThreads(__tstate
);
12836 if (PyErr_Occurred()) SWIG_fail
;
12838 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
12845 SWIGINTERN PyObject
*_wrap_FontMapper_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12846 PyObject
*resultobj
= 0;
12847 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
12848 wxFontMapper
*result
= 0 ;
12851 PyObject
* obj0
= 0 ;
12852 char * kwnames
[] = {
12853 (char *) "mapper", NULL
12856 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) SWIG_fail
;
12857 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
12858 if (!SWIG_IsOK(res1
)) {
12859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_Set" "', expected argument " "1"" of type '" "wxFontMapper *""'");
12861 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
12863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12864 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
12865 wxPyEndAllowThreads(__tstate
);
12866 if (PyErr_Occurred()) SWIG_fail
;
12868 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
12875 SWIGINTERN PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12876 PyObject
*resultobj
= 0;
12877 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
12878 wxString
*arg2
= 0 ;
12879 bool arg3
= (bool) true ;
12880 wxFontEncoding result
;
12883 bool temp2
= false ;
12886 PyObject
* obj0
= 0 ;
12887 PyObject
* obj1
= 0 ;
12888 PyObject
* obj2
= 0 ;
12889 char * kwnames
[] = {
12890 (char *) "self",(char *) "charset",(char *) "interactive", NULL
12893 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12894 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
12895 if (!SWIG_IsOK(res1
)) {
12896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
12898 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
12900 arg2
= wxString_in_helper(obj1
);
12901 if (arg2
== NULL
) SWIG_fail
;
12905 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
12906 if (!SWIG_IsOK(ecode3
)) {
12907 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "3"" of type '" "bool""'");
12909 arg3
= static_cast< bool >(val3
);
12912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12913 result
= (wxFontEncoding
)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
12914 wxPyEndAllowThreads(__tstate
);
12915 if (PyErr_Occurred()) SWIG_fail
;
12917 resultobj
= SWIG_From_int(static_cast< int >(result
));
12932 SWIGINTERN PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12933 PyObject
*resultobj
= 0;
12936 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetSupportedEncodingsCount",0,0,0)) SWIG_fail
;
12938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12939 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
12940 wxPyEndAllowThreads(__tstate
);
12941 if (PyErr_Occurred()) SWIG_fail
;
12943 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
12950 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12951 PyObject
*resultobj
= 0;
12953 wxFontEncoding result
;
12956 PyObject
* obj0
= 0 ;
12957 char * kwnames
[] = {
12961 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) SWIG_fail
;
12962 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
12963 if (!SWIG_IsOK(ecode1
)) {
12964 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncoding" "', expected argument " "1"" of type '" "size_t""'");
12966 arg1
= static_cast< size_t >(val1
);
12968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12969 result
= (wxFontEncoding
)wxFontMapper::GetEncoding(arg1
);
12970 wxPyEndAllowThreads(__tstate
);
12971 if (PyErr_Occurred()) SWIG_fail
;
12973 resultobj
= SWIG_From_int(static_cast< int >(result
));
12980 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12981 PyObject
*resultobj
= 0;
12982 wxFontEncoding arg1
;
12986 PyObject
* obj0
= 0 ;
12987 char * kwnames
[] = {
12988 (char *) "encoding", NULL
12991 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) SWIG_fail
;
12992 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
12993 if (!SWIG_IsOK(ecode1
)) {
12994 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingName" "', expected argument " "1"" of type '" "wxFontEncoding""'");
12996 arg1
= static_cast< wxFontEncoding
>(val1
);
12998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12999 result
= wxFontMapper::GetEncodingName(arg1
);
13000 wxPyEndAllowThreads(__tstate
);
13001 if (PyErr_Occurred()) SWIG_fail
;
13005 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13007 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13016 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13017 PyObject
*resultobj
= 0;
13018 wxFontEncoding arg1
;
13022 PyObject
* obj0
= 0 ;
13023 char * kwnames
[] = {
13024 (char *) "encoding", NULL
13027 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) SWIG_fail
;
13028 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13029 if (!SWIG_IsOK(ecode1
)) {
13030 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingDescription" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13032 arg1
= static_cast< wxFontEncoding
>(val1
);
13034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13035 result
= wxFontMapper::GetEncodingDescription(arg1
);
13036 wxPyEndAllowThreads(__tstate
);
13037 if (PyErr_Occurred()) SWIG_fail
;
13041 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13043 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13052 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13053 PyObject
*resultobj
= 0;
13054 wxString
*arg1
= 0 ;
13055 wxFontEncoding result
;
13056 bool temp1
= false ;
13057 PyObject
* obj0
= 0 ;
13058 char * kwnames
[] = {
13059 (char *) "name", NULL
13062 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) SWIG_fail
;
13064 arg1
= wxString_in_helper(obj0
);
13065 if (arg1
== NULL
) SWIG_fail
;
13069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13070 result
= (wxFontEncoding
)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
13071 wxPyEndAllowThreads(__tstate
);
13072 if (PyErr_Occurred()) SWIG_fail
;
13074 resultobj
= SWIG_From_int(static_cast< int >(result
));
13089 SWIGINTERN PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13090 PyObject
*resultobj
= 0;
13091 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13092 wxString
*arg2
= 0 ;
13095 bool temp2
= false ;
13096 PyObject
* obj0
= 0 ;
13097 PyObject
* obj1
= 0 ;
13098 char * kwnames
[] = {
13099 (char *) "self",(char *) "prefix", NULL
13102 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13103 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13104 if (!SWIG_IsOK(res1
)) {
13105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetConfigPath" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13107 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13109 arg2
= wxString_in_helper(obj1
);
13110 if (arg2
== NULL
) SWIG_fail
;
13114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13115 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
13116 wxPyEndAllowThreads(__tstate
);
13117 if (PyErr_Occurred()) SWIG_fail
;
13119 resultobj
= SWIG_Py_Void();
13134 SWIGINTERN PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13135 PyObject
*resultobj
= 0;
13138 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetDefaultConfigPath",0,0,0)) SWIG_fail
;
13140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13141 result
= wxFontMapper::GetDefaultConfigPath();
13142 wxPyEndAllowThreads(__tstate
);
13143 if (PyErr_Occurred()) SWIG_fail
;
13147 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13149 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13158 SWIGINTERN PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13159 PyObject
*resultobj
= 0;
13160 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13161 wxFontEncoding arg2
;
13162 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13163 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13164 bool arg4
= (bool) true ;
13165 PyObject
*result
= 0 ;
13170 bool temp3
= false ;
13173 PyObject
* obj0
= 0 ;
13174 PyObject
* obj1
= 0 ;
13175 PyObject
* obj2
= 0 ;
13176 PyObject
* obj3
= 0 ;
13177 char * kwnames
[] = {
13178 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
13181 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13182 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13183 if (!SWIG_IsOK(res1
)) {
13184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13186 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13187 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13188 if (!SWIG_IsOK(ecode2
)) {
13189 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13191 arg2
= static_cast< wxFontEncoding
>(val2
);
13194 arg3
= wxString_in_helper(obj2
);
13195 if (arg3
== NULL
) SWIG_fail
;
13200 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
13201 if (!SWIG_IsOK(ecode4
)) {
13202 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "4"" of type '" "bool""'");
13204 arg4
= static_cast< bool >(val4
);
13207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13208 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
13209 wxPyEndAllowThreads(__tstate
);
13210 if (PyErr_Occurred()) SWIG_fail
;
13212 resultobj
= result
;
13227 SWIGINTERN PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13228 PyObject
*resultobj
= 0;
13229 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13230 wxFontEncoding arg2
;
13231 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13232 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13238 bool temp3
= false ;
13239 PyObject
* obj0
= 0 ;
13240 PyObject
* obj1
= 0 ;
13241 PyObject
* obj2
= 0 ;
13242 char * kwnames
[] = {
13243 (char *) "self",(char *) "encoding",(char *) "facename", NULL
13246 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13247 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13248 if (!SWIG_IsOK(res1
)) {
13249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13251 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13252 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13253 if (!SWIG_IsOK(ecode2
)) {
13254 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13256 arg2
= static_cast< wxFontEncoding
>(val2
);
13259 arg3
= wxString_in_helper(obj2
);
13260 if (arg3
== NULL
) SWIG_fail
;
13265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13266 result
= (bool)(arg1
)->IsEncodingAvailable(arg2
,(wxString
const &)*arg3
);
13267 wxPyEndAllowThreads(__tstate
);
13268 if (PyErr_Occurred()) SWIG_fail
;
13271 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13287 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13288 PyObject
*resultobj
= 0;
13289 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13290 wxWindow
*arg2
= (wxWindow
*) 0 ;
13295 PyObject
* obj0
= 0 ;
13296 PyObject
* obj1
= 0 ;
13297 char * kwnames
[] = {
13298 (char *) "self",(char *) "parent", NULL
13301 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13302 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13303 if (!SWIG_IsOK(res1
)) {
13304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13306 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13307 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13308 if (!SWIG_IsOK(res2
)) {
13309 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "2"" of type '" "wxWindow *""'");
13311 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13314 (arg1
)->SetDialogParent(arg2
);
13315 wxPyEndAllowThreads(__tstate
);
13316 if (PyErr_Occurred()) SWIG_fail
;
13318 resultobj
= SWIG_Py_Void();
13325 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13326 PyObject
*resultobj
= 0;
13327 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13328 wxString
*arg2
= 0 ;
13331 bool temp2
= false ;
13332 PyObject
* obj0
= 0 ;
13333 PyObject
* obj1
= 0 ;
13334 char * kwnames
[] = {
13335 (char *) "self",(char *) "title", NULL
13338 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13339 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13340 if (!SWIG_IsOK(res1
)) {
13341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogTitle" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13343 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13345 arg2
= wxString_in_helper(obj1
);
13346 if (arg2
== NULL
) SWIG_fail
;
13350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13351 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
13352 wxPyEndAllowThreads(__tstate
);
13353 if (PyErr_Occurred()) SWIG_fail
;
13355 resultobj
= SWIG_Py_Void();
13370 SWIGINTERN PyObject
*FontMapper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13372 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13373 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontMapper
, SWIG_NewClientData(obj
));
13374 return SWIG_Py_Void();
13377 SWIGINTERN PyObject
*FontMapper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13378 return SWIG_Python_InitShadowInstance(args
);
13381 SWIGINTERN PyObject
*_wrap_new_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13382 PyObject
*resultobj
= 0;
13387 bool arg5
= (bool) false ;
13388 wxString
const &arg6_defvalue
= wxPyEmptyString
;
13389 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13390 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13391 wxFont
*result
= 0 ;
13402 bool temp6
= false ;
13405 PyObject
* obj0
= 0 ;
13406 PyObject
* obj1
= 0 ;
13407 PyObject
* obj2
= 0 ;
13408 PyObject
* obj3
= 0 ;
13409 PyObject
* obj4
= 0 ;
13410 PyObject
* obj5
= 0 ;
13411 PyObject
* obj6
= 0 ;
13412 char * kwnames
[] = {
13413 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
13416 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
13417 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13418 if (!SWIG_IsOK(ecode1
)) {
13419 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Font" "', expected argument " "1"" of type '" "int""'");
13421 arg1
= static_cast< int >(val1
);
13422 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13423 if (!SWIG_IsOK(ecode2
)) {
13424 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Font" "', expected argument " "2"" of type '" "int""'");
13426 arg2
= static_cast< int >(val2
);
13427 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13428 if (!SWIG_IsOK(ecode3
)) {
13429 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Font" "', expected argument " "3"" of type '" "int""'");
13431 arg3
= static_cast< int >(val3
);
13432 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
13433 if (!SWIG_IsOK(ecode4
)) {
13434 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Font" "', expected argument " "4"" of type '" "int""'");
13436 arg4
= static_cast< int >(val4
);
13438 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
13439 if (!SWIG_IsOK(ecode5
)) {
13440 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Font" "', expected argument " "5"" of type '" "bool""'");
13442 arg5
= static_cast< bool >(val5
);
13446 arg6
= wxString_in_helper(obj5
);
13447 if (arg6
== NULL
) SWIG_fail
;
13452 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
13453 if (!SWIG_IsOK(ecode7
)) {
13454 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_Font" "', expected argument " "7"" of type '" "wxFontEncoding""'");
13456 arg7
= static_cast< wxFontEncoding
>(val7
);
13459 if (!wxPyCheckForApp()) SWIG_fail
;
13460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13461 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
13462 wxPyEndAllowThreads(__tstate
);
13463 if (PyErr_Occurred()) SWIG_fail
;
13465 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_NEW
| 0 );
13480 SWIGINTERN PyObject
*_wrap_delete_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13481 PyObject
*resultobj
= 0;
13482 wxFont
*arg1
= (wxFont
*) 0 ;
13485 PyObject
*swig_obj
[1] ;
13487 if (!args
) SWIG_fail
;
13488 swig_obj
[0] = args
;
13489 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, SWIG_POINTER_DISOWN
| 0 );
13490 if (!SWIG_IsOK(res1
)) {
13491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Font" "', expected argument " "1"" of type '" "wxFont *""'");
13493 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13498 wxPyEndAllowThreads(__tstate
);
13499 if (PyErr_Occurred()) SWIG_fail
;
13501 resultobj
= SWIG_Py_Void();
13508 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13509 PyObject
*resultobj
= 0;
13510 wxNativeFontInfo
*arg1
= 0 ;
13511 wxFont
*result
= 0 ;
13514 PyObject
* obj0
= 0 ;
13515 char * kwnames
[] = {
13516 (char *) "info", NULL
13519 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) SWIG_fail
;
13520 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
13521 if (!SWIG_IsOK(res1
)) {
13522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
13525 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
13527 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13529 if (!wxPyCheckForApp()) SWIG_fail
;
13530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13531 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
13532 wxPyEndAllowThreads(__tstate
);
13533 if (PyErr_Occurred()) SWIG_fail
;
13535 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13542 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13543 PyObject
*resultobj
= 0;
13544 wxString
*arg1
= 0 ;
13545 wxFont
*result
= 0 ;
13546 bool temp1
= false ;
13547 PyObject
* obj0
= 0 ;
13548 char * kwnames
[] = {
13549 (char *) "info", NULL
13552 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) SWIG_fail
;
13554 arg1
= wxString_in_helper(obj0
);
13555 if (arg1
== NULL
) SWIG_fail
;
13559 if (!wxPyCheckForApp()) SWIG_fail
;
13560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13561 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
13562 wxPyEndAllowThreads(__tstate
);
13563 if (PyErr_Occurred()) SWIG_fail
;
13565 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13580 SWIGINTERN PyObject
*_wrap_new_FFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13581 PyObject
*resultobj
= 0;
13583 wxFontFamily arg2
;
13584 int arg3
= (int) wxFONTFLAG_DEFAULT
;
13585 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13586 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13587 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13588 wxFont
*result
= 0 ;
13595 bool temp4
= false ;
13598 PyObject
* obj0
= 0 ;
13599 PyObject
* obj1
= 0 ;
13600 PyObject
* obj2
= 0 ;
13601 PyObject
* obj3
= 0 ;
13602 PyObject
* obj4
= 0 ;
13603 char * kwnames
[] = {
13604 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
13607 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
13608 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13609 if (!SWIG_IsOK(ecode1
)) {
13610 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FFont" "', expected argument " "1"" of type '" "int""'");
13612 arg1
= static_cast< int >(val1
);
13613 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13614 if (!SWIG_IsOK(ecode2
)) {
13615 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFont" "', expected argument " "2"" of type '" "wxFontFamily""'");
13617 arg2
= static_cast< wxFontFamily
>(val2
);
13619 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13620 if (!SWIG_IsOK(ecode3
)) {
13621 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFont" "', expected argument " "3"" of type '" "int""'");
13623 arg3
= static_cast< int >(val3
);
13627 arg4
= wxString_in_helper(obj3
);
13628 if (arg4
== NULL
) SWIG_fail
;
13633 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
13634 if (!SWIG_IsOK(ecode5
)) {
13635 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFont" "', expected argument " "5"" of type '" "wxFontEncoding""'");
13637 arg5
= static_cast< wxFontEncoding
>(val5
);
13640 if (!wxPyCheckForApp()) SWIG_fail
;
13641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13642 result
= (wxFont
*)new_wxFont(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
13643 wxPyEndAllowThreads(__tstate
);
13644 if (PyErr_Occurred()) SWIG_fail
;
13646 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13661 SWIGINTERN PyObject
*_wrap_new_FontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13662 PyObject
*resultobj
= 0;
13667 bool arg5
= (bool) false ;
13668 wxString
const &arg6_defvalue
= wxEmptyString
;
13669 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13670 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13671 wxFont
*result
= 0 ;
13681 bool temp6
= false ;
13684 PyObject
* obj0
= 0 ;
13685 PyObject
* obj1
= 0 ;
13686 PyObject
* obj2
= 0 ;
13687 PyObject
* obj3
= 0 ;
13688 PyObject
* obj4
= 0 ;
13689 PyObject
* obj5
= 0 ;
13690 PyObject
* obj6
= 0 ;
13691 char * kwnames
[] = {
13692 (char *) "pixelSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underlined",(char *) "face",(char *) "encoding", NULL
13695 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_FontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
13698 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
13700 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13701 if (!SWIG_IsOK(ecode2
)) {
13702 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontFromPixelSize" "', expected argument " "2"" of type '" "int""'");
13704 arg2
= static_cast< int >(val2
);
13705 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13706 if (!SWIG_IsOK(ecode3
)) {
13707 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
13709 arg3
= static_cast< int >(val3
);
13710 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
13711 if (!SWIG_IsOK(ecode4
)) {
13712 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FontFromPixelSize" "', expected argument " "4"" of type '" "int""'");
13714 arg4
= static_cast< int >(val4
);
13716 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
13717 if (!SWIG_IsOK(ecode5
)) {
13718 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FontFromPixelSize" "', expected argument " "5"" of type '" "bool""'");
13720 arg5
= static_cast< bool >(val5
);
13724 arg6
= wxString_in_helper(obj5
);
13725 if (arg6
== NULL
) SWIG_fail
;
13730 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
13731 if (!SWIG_IsOK(ecode7
)) {
13732 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_FontFromPixelSize" "', expected argument " "7"" of type '" "wxFontEncoding""'");
13734 arg7
= static_cast< wxFontEncoding
>(val7
);
13737 if (!wxPyCheckForApp()) SWIG_fail
;
13738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13739 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
13740 wxPyEndAllowThreads(__tstate
);
13741 if (PyErr_Occurred()) SWIG_fail
;
13743 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13758 SWIGINTERN PyObject
*_wrap_new_FFontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13759 PyObject
*resultobj
= 0;
13761 wxFontFamily arg2
;
13762 int arg3
= (int) wxFONTFLAG_DEFAULT
;
13763 wxString
const &arg4_defvalue
= wxEmptyString
;
13764 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13765 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13766 wxFont
*result
= 0 ;
13772 bool temp4
= false ;
13775 PyObject
* obj0
= 0 ;
13776 PyObject
* obj1
= 0 ;
13777 PyObject
* obj2
= 0 ;
13778 PyObject
* obj3
= 0 ;
13779 PyObject
* obj4
= 0 ;
13780 char * kwnames
[] = {
13781 (char *) "pixelSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
13784 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
13787 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
13789 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13790 if (!SWIG_IsOK(ecode2
)) {
13791 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFontFromPixelSize" "', expected argument " "2"" of type '" "wxFontFamily""'");
13793 arg2
= static_cast< wxFontFamily
>(val2
);
13795 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13796 if (!SWIG_IsOK(ecode3
)) {
13797 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
13799 arg3
= static_cast< int >(val3
);
13803 arg4
= wxString_in_helper(obj3
);
13804 if (arg4
== NULL
) SWIG_fail
;
13809 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
13810 if (!SWIG_IsOK(ecode5
)) {
13811 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFontFromPixelSize" "', expected argument " "5"" of type '" "wxFontEncoding""'");
13813 arg5
= static_cast< wxFontEncoding
>(val5
);
13816 if (!wxPyCheckForApp()) SWIG_fail
;
13817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13818 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
13819 wxPyEndAllowThreads(__tstate
);
13820 if (PyErr_Occurred()) SWIG_fail
;
13822 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13837 SWIGINTERN PyObject
*_wrap_Font_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13838 PyObject
*resultobj
= 0;
13839 wxFont
*arg1
= (wxFont
*) 0 ;
13843 PyObject
*swig_obj
[1] ;
13845 if (!args
) SWIG_fail
;
13846 swig_obj
[0] = args
;
13847 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13848 if (!SWIG_IsOK(res1
)) {
13849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_Ok" "', expected argument " "1"" of type '" "wxFont const *""'");
13851 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13854 result
= (bool)((wxFont
const *)arg1
)->Ok();
13855 wxPyEndAllowThreads(__tstate
);
13856 if (PyErr_Occurred()) SWIG_fail
;
13859 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13867 SWIGINTERN PyObject
*_wrap_Font___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13868 PyObject
*resultobj
= 0;
13869 wxFont
*arg1
= (wxFont
*) 0 ;
13870 wxFont
*arg2
= (wxFont
*) 0 ;
13876 PyObject
* obj0
= 0 ;
13877 PyObject
* obj1
= 0 ;
13878 char * kwnames
[] = {
13879 (char *) "self",(char *) "other", NULL
13882 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13883 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13884 if (!SWIG_IsOK(res1
)) {
13885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___eq__" "', expected argument " "1"" of type '" "wxFont *""'");
13887 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13888 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
13889 if (!SWIG_IsOK(res2
)) {
13890 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___eq__" "', expected argument " "2"" of type '" "wxFont const *""'");
13892 arg2
= reinterpret_cast< wxFont
* >(argp2
);
13894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13895 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
13896 wxPyEndAllowThreads(__tstate
);
13897 if (PyErr_Occurred()) SWIG_fail
;
13900 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13908 SWIGINTERN PyObject
*_wrap_Font___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13909 PyObject
*resultobj
= 0;
13910 wxFont
*arg1
= (wxFont
*) 0 ;
13911 wxFont
*arg2
= (wxFont
*) 0 ;
13917 PyObject
* obj0
= 0 ;
13918 PyObject
* obj1
= 0 ;
13919 char * kwnames
[] = {
13920 (char *) "self",(char *) "other", NULL
13923 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13924 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13925 if (!SWIG_IsOK(res1
)) {
13926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___ne__" "', expected argument " "1"" of type '" "wxFont *""'");
13928 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13929 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
13930 if (!SWIG_IsOK(res2
)) {
13931 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___ne__" "', expected argument " "2"" of type '" "wxFont const *""'");
13933 arg2
= reinterpret_cast< wxFont
* >(argp2
);
13935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13936 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
13937 wxPyEndAllowThreads(__tstate
);
13938 if (PyErr_Occurred()) SWIG_fail
;
13941 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13949 SWIGINTERN PyObject
*_wrap_Font_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13950 PyObject
*resultobj
= 0;
13951 wxFont
*arg1
= (wxFont
*) 0 ;
13955 PyObject
*swig_obj
[1] ;
13957 if (!args
) SWIG_fail
;
13958 swig_obj
[0] = args
;
13959 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13960 if (!SWIG_IsOK(res1
)) {
13961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPointSize" "', expected argument " "1"" of type '" "wxFont const *""'");
13963 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13966 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
13967 wxPyEndAllowThreads(__tstate
);
13968 if (PyErr_Occurred()) SWIG_fail
;
13970 resultobj
= SWIG_From_int(static_cast< int >(result
));
13977 SWIGINTERN PyObject
*_wrap_Font_GetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13978 PyObject
*resultobj
= 0;
13979 wxFont
*arg1
= (wxFont
*) 0 ;
13983 PyObject
*swig_obj
[1] ;
13985 if (!args
) SWIG_fail
;
13986 swig_obj
[0] = args
;
13987 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13988 if (!SWIG_IsOK(res1
)) {
13989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPixelSize" "', expected argument " "1"" of type '" "wxFont const *""'");
13991 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13994 result
= ((wxFont
const *)arg1
)->GetPixelSize();
13995 wxPyEndAllowThreads(__tstate
);
13996 if (PyErr_Occurred()) SWIG_fail
;
13998 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
14005 SWIGINTERN PyObject
*_wrap_Font_IsUsingSizeInPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14006 PyObject
*resultobj
= 0;
14007 wxFont
*arg1
= (wxFont
*) 0 ;
14011 PyObject
*swig_obj
[1] ;
14013 if (!args
) SWIG_fail
;
14014 swig_obj
[0] = args
;
14015 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14016 if (!SWIG_IsOK(res1
)) {
14017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsUsingSizeInPixels" "', expected argument " "1"" of type '" "wxFont const *""'");
14019 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14022 result
= (bool)((wxFont
const *)arg1
)->IsUsingSizeInPixels();
14023 wxPyEndAllowThreads(__tstate
);
14024 if (PyErr_Occurred()) SWIG_fail
;
14027 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14035 SWIGINTERN PyObject
*_wrap_Font_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14036 PyObject
*resultobj
= 0;
14037 wxFont
*arg1
= (wxFont
*) 0 ;
14041 PyObject
*swig_obj
[1] ;
14043 if (!args
) SWIG_fail
;
14044 swig_obj
[0] = args
;
14045 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14046 if (!SWIG_IsOK(res1
)) {
14047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamily" "', expected argument " "1"" of type '" "wxFont const *""'");
14049 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14052 result
= (int)((wxFont
const *)arg1
)->GetFamily();
14053 wxPyEndAllowThreads(__tstate
);
14054 if (PyErr_Occurred()) SWIG_fail
;
14056 resultobj
= SWIG_From_int(static_cast< int >(result
));
14063 SWIGINTERN PyObject
*_wrap_Font_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14064 PyObject
*resultobj
= 0;
14065 wxFont
*arg1
= (wxFont
*) 0 ;
14069 PyObject
*swig_obj
[1] ;
14071 if (!args
) SWIG_fail
;
14072 swig_obj
[0] = args
;
14073 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14074 if (!SWIG_IsOK(res1
)) {
14075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyle" "', expected argument " "1"" of type '" "wxFont const *""'");
14077 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14080 result
= (int)((wxFont
const *)arg1
)->GetStyle();
14081 wxPyEndAllowThreads(__tstate
);
14082 if (PyErr_Occurred()) SWIG_fail
;
14084 resultobj
= SWIG_From_int(static_cast< int >(result
));
14091 SWIGINTERN PyObject
*_wrap_Font_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14092 PyObject
*resultobj
= 0;
14093 wxFont
*arg1
= (wxFont
*) 0 ;
14097 PyObject
*swig_obj
[1] ;
14099 if (!args
) SWIG_fail
;
14100 swig_obj
[0] = args
;
14101 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14102 if (!SWIG_IsOK(res1
)) {
14103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeight" "', expected argument " "1"" of type '" "wxFont const *""'");
14105 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14108 result
= (int)((wxFont
const *)arg1
)->GetWeight();
14109 wxPyEndAllowThreads(__tstate
);
14110 if (PyErr_Occurred()) SWIG_fail
;
14112 resultobj
= SWIG_From_int(static_cast< int >(result
));
14119 SWIGINTERN PyObject
*_wrap_Font_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14120 PyObject
*resultobj
= 0;
14121 wxFont
*arg1
= (wxFont
*) 0 ;
14125 PyObject
*swig_obj
[1] ;
14127 if (!args
) SWIG_fail
;
14128 swig_obj
[0] = args
;
14129 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14130 if (!SWIG_IsOK(res1
)) {
14131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetUnderlined" "', expected argument " "1"" of type '" "wxFont const *""'");
14133 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14136 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
14137 wxPyEndAllowThreads(__tstate
);
14138 if (PyErr_Occurred()) SWIG_fail
;
14141 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14149 SWIGINTERN PyObject
*_wrap_Font_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14150 PyObject
*resultobj
= 0;
14151 wxFont
*arg1
= (wxFont
*) 0 ;
14155 PyObject
*swig_obj
[1] ;
14157 if (!args
) SWIG_fail
;
14158 swig_obj
[0] = args
;
14159 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14160 if (!SWIG_IsOK(res1
)) {
14161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFaceName" "', expected argument " "1"" of type '" "wxFont const *""'");
14163 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14166 result
= ((wxFont
const *)arg1
)->GetFaceName();
14167 wxPyEndAllowThreads(__tstate
);
14168 if (PyErr_Occurred()) SWIG_fail
;
14172 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14174 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14183 SWIGINTERN PyObject
*_wrap_Font_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14184 PyObject
*resultobj
= 0;
14185 wxFont
*arg1
= (wxFont
*) 0 ;
14186 wxFontEncoding result
;
14189 PyObject
*swig_obj
[1] ;
14191 if (!args
) SWIG_fail
;
14192 swig_obj
[0] = args
;
14193 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14194 if (!SWIG_IsOK(res1
)) {
14195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetEncoding" "', expected argument " "1"" of type '" "wxFont const *""'");
14197 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14200 result
= (wxFontEncoding
)((wxFont
const *)arg1
)->GetEncoding();
14201 wxPyEndAllowThreads(__tstate
);
14202 if (PyErr_Occurred()) SWIG_fail
;
14204 resultobj
= SWIG_From_int(static_cast< int >(result
));
14211 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14212 PyObject
*resultobj
= 0;
14213 wxFont
*arg1
= (wxFont
*) 0 ;
14214 wxNativeFontInfo
*result
= 0 ;
14217 PyObject
*swig_obj
[1] ;
14219 if (!args
) SWIG_fail
;
14220 swig_obj
[0] = args
;
14221 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14222 if (!SWIG_IsOK(res1
)) {
14223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont const *""'");
14225 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14228 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
14229 wxPyEndAllowThreads(__tstate
);
14230 if (PyErr_Occurred()) SWIG_fail
;
14232 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
14239 SWIGINTERN PyObject
*_wrap_Font_IsFixedWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14240 PyObject
*resultobj
= 0;
14241 wxFont
*arg1
= (wxFont
*) 0 ;
14245 PyObject
*swig_obj
[1] ;
14247 if (!args
) SWIG_fail
;
14248 swig_obj
[0] = args
;
14249 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14250 if (!SWIG_IsOK(res1
)) {
14251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsFixedWidth" "', expected argument " "1"" of type '" "wxFont const *""'");
14253 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14256 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
14257 wxPyEndAllowThreads(__tstate
);
14258 if (PyErr_Occurred()) SWIG_fail
;
14261 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14269 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14270 PyObject
*resultobj
= 0;
14271 wxFont
*arg1
= (wxFont
*) 0 ;
14275 PyObject
*swig_obj
[1] ;
14277 if (!args
) SWIG_fail
;
14278 swig_obj
[0] = args
;
14279 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14280 if (!SWIG_IsOK(res1
)) {
14281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
14283 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14286 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
14287 wxPyEndAllowThreads(__tstate
);
14288 if (PyErr_Occurred()) SWIG_fail
;
14292 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14294 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14303 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14304 PyObject
*resultobj
= 0;
14305 wxFont
*arg1
= (wxFont
*) 0 ;
14309 PyObject
*swig_obj
[1] ;
14311 if (!args
) SWIG_fail
;
14312 swig_obj
[0] = args
;
14313 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14314 if (!SWIG_IsOK(res1
)) {
14315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
14317 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14320 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
14321 wxPyEndAllowThreads(__tstate
);
14322 if (PyErr_Occurred()) SWIG_fail
;
14326 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14328 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14337 SWIGINTERN PyObject
*_wrap_Font_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14338 PyObject
*resultobj
= 0;
14339 wxFont
*arg1
= (wxFont
*) 0 ;
14345 PyObject
* obj0
= 0 ;
14346 PyObject
* obj1
= 0 ;
14347 char * kwnames
[] = {
14348 (char *) "self",(char *) "pointSize", NULL
14351 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14352 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14353 if (!SWIG_IsOK(res1
)) {
14354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPointSize" "', expected argument " "1"" of type '" "wxFont *""'");
14356 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14357 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14358 if (!SWIG_IsOK(ecode2
)) {
14359 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetPointSize" "', expected argument " "2"" of type '" "int""'");
14361 arg2
= static_cast< int >(val2
);
14363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14364 (arg1
)->SetPointSize(arg2
);
14365 wxPyEndAllowThreads(__tstate
);
14366 if (PyErr_Occurred()) SWIG_fail
;
14368 resultobj
= SWIG_Py_Void();
14375 SWIGINTERN PyObject
*_wrap_Font_SetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14376 PyObject
*resultobj
= 0;
14377 wxFont
*arg1
= (wxFont
*) 0 ;
14382 PyObject
* obj0
= 0 ;
14383 PyObject
* obj1
= 0 ;
14384 char * kwnames
[] = {
14385 (char *) "self",(char *) "pixelSize", NULL
14388 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPixelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14389 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14390 if (!SWIG_IsOK(res1
)) {
14391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPixelSize" "', expected argument " "1"" of type '" "wxFont *""'");
14393 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14396 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14400 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
14401 wxPyEndAllowThreads(__tstate
);
14402 if (PyErr_Occurred()) SWIG_fail
;
14404 resultobj
= SWIG_Py_Void();
14411 SWIGINTERN PyObject
*_wrap_Font_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14412 PyObject
*resultobj
= 0;
14413 wxFont
*arg1
= (wxFont
*) 0 ;
14419 PyObject
* obj0
= 0 ;
14420 PyObject
* obj1
= 0 ;
14421 char * kwnames
[] = {
14422 (char *) "self",(char *) "family", NULL
14425 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14426 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14427 if (!SWIG_IsOK(res1
)) {
14428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFamily" "', expected argument " "1"" of type '" "wxFont *""'");
14430 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14431 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14432 if (!SWIG_IsOK(ecode2
)) {
14433 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetFamily" "', expected argument " "2"" of type '" "int""'");
14435 arg2
= static_cast< int >(val2
);
14437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14438 (arg1
)->SetFamily(arg2
);
14439 wxPyEndAllowThreads(__tstate
);
14440 if (PyErr_Occurred()) SWIG_fail
;
14442 resultobj
= SWIG_Py_Void();
14449 SWIGINTERN PyObject
*_wrap_Font_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14450 PyObject
*resultobj
= 0;
14451 wxFont
*arg1
= (wxFont
*) 0 ;
14457 PyObject
* obj0
= 0 ;
14458 PyObject
* obj1
= 0 ;
14459 char * kwnames
[] = {
14460 (char *) "self",(char *) "style", NULL
14463 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14464 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14465 if (!SWIG_IsOK(res1
)) {
14466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetStyle" "', expected argument " "1"" of type '" "wxFont *""'");
14468 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14469 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14470 if (!SWIG_IsOK(ecode2
)) {
14471 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetStyle" "', expected argument " "2"" of type '" "int""'");
14473 arg2
= static_cast< int >(val2
);
14475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14476 (arg1
)->SetStyle(arg2
);
14477 wxPyEndAllowThreads(__tstate
);
14478 if (PyErr_Occurred()) SWIG_fail
;
14480 resultobj
= SWIG_Py_Void();
14487 SWIGINTERN PyObject
*_wrap_Font_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14488 PyObject
*resultobj
= 0;
14489 wxFont
*arg1
= (wxFont
*) 0 ;
14495 PyObject
* obj0
= 0 ;
14496 PyObject
* obj1
= 0 ;
14497 char * kwnames
[] = {
14498 (char *) "self",(char *) "weight", NULL
14501 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14502 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14503 if (!SWIG_IsOK(res1
)) {
14504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetWeight" "', expected argument " "1"" of type '" "wxFont *""'");
14506 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14507 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14508 if (!SWIG_IsOK(ecode2
)) {
14509 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetWeight" "', expected argument " "2"" of type '" "int""'");
14511 arg2
= static_cast< int >(val2
);
14513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14514 (arg1
)->SetWeight(arg2
);
14515 wxPyEndAllowThreads(__tstate
);
14516 if (PyErr_Occurred()) SWIG_fail
;
14518 resultobj
= SWIG_Py_Void();
14525 SWIGINTERN PyObject
*_wrap_Font_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14526 PyObject
*resultobj
= 0;
14527 wxFont
*arg1
= (wxFont
*) 0 ;
14528 wxString
*arg2
= 0 ;
14532 bool temp2
= false ;
14533 PyObject
* obj0
= 0 ;
14534 PyObject
* obj1
= 0 ;
14535 char * kwnames
[] = {
14536 (char *) "self",(char *) "faceName", NULL
14539 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14540 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14541 if (!SWIG_IsOK(res1
)) {
14542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFaceName" "', expected argument " "1"" of type '" "wxFont *""'");
14544 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14546 arg2
= wxString_in_helper(obj1
);
14547 if (arg2
== NULL
) SWIG_fail
;
14551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14552 result
= (bool)(arg1
)->SetFaceName((wxString
const &)*arg2
);
14553 wxPyEndAllowThreads(__tstate
);
14554 if (PyErr_Occurred()) SWIG_fail
;
14557 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14573 SWIGINTERN PyObject
*_wrap_Font_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14574 PyObject
*resultobj
= 0;
14575 wxFont
*arg1
= (wxFont
*) 0 ;
14581 PyObject
* obj0
= 0 ;
14582 PyObject
* obj1
= 0 ;
14583 char * kwnames
[] = {
14584 (char *) "self",(char *) "underlined", NULL
14587 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14588 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14589 if (!SWIG_IsOK(res1
)) {
14590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetUnderlined" "', expected argument " "1"" of type '" "wxFont *""'");
14592 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14593 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
14594 if (!SWIG_IsOK(ecode2
)) {
14595 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
14597 arg2
= static_cast< bool >(val2
);
14599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14600 (arg1
)->SetUnderlined(arg2
);
14601 wxPyEndAllowThreads(__tstate
);
14602 if (PyErr_Occurred()) SWIG_fail
;
14604 resultobj
= SWIG_Py_Void();
14611 SWIGINTERN PyObject
*_wrap_Font_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14612 PyObject
*resultobj
= 0;
14613 wxFont
*arg1
= (wxFont
*) 0 ;
14614 wxFontEncoding arg2
;
14619 PyObject
* obj0
= 0 ;
14620 PyObject
* obj1
= 0 ;
14621 char * kwnames
[] = {
14622 (char *) "self",(char *) "encoding", NULL
14625 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14626 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14627 if (!SWIG_IsOK(res1
)) {
14628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetEncoding" "', expected argument " "1"" of type '" "wxFont *""'");
14630 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14631 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14632 if (!SWIG_IsOK(ecode2
)) {
14633 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
14635 arg2
= static_cast< wxFontEncoding
>(val2
);
14637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14638 (arg1
)->SetEncoding(arg2
);
14639 wxPyEndAllowThreads(__tstate
);
14640 if (PyErr_Occurred()) SWIG_fail
;
14642 resultobj
= SWIG_Py_Void();
14649 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14650 PyObject
*resultobj
= 0;
14651 wxFont
*arg1
= (wxFont
*) 0 ;
14652 wxNativeFontInfo
*arg2
= 0 ;
14657 PyObject
* obj0
= 0 ;
14658 PyObject
* obj1
= 0 ;
14659 char * kwnames
[] = {
14660 (char *) "self",(char *) "info", NULL
14663 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14664 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14665 if (!SWIG_IsOK(res1
)) {
14666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont *""'");
14668 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14669 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
14670 if (!SWIG_IsOK(res2
)) {
14671 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
14674 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
14676 arg2
= reinterpret_cast< wxNativeFontInfo
* >(argp2
);
14678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14679 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
14680 wxPyEndAllowThreads(__tstate
);
14681 if (PyErr_Occurred()) SWIG_fail
;
14683 resultobj
= SWIG_Py_Void();
14690 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14691 PyObject
*resultobj
= 0;
14692 wxFont
*arg1
= (wxFont
*) 0 ;
14693 wxString
*arg2
= 0 ;
14697 bool temp2
= false ;
14698 PyObject
* obj0
= 0 ;
14699 PyObject
* obj1
= 0 ;
14700 char * kwnames
[] = {
14701 (char *) "self",(char *) "info", NULL
14704 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14705 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14706 if (!SWIG_IsOK(res1
)) {
14707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoFromString" "', expected argument " "1"" of type '" "wxFont *""'");
14709 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14711 arg2
= wxString_in_helper(obj1
);
14712 if (arg2
== NULL
) SWIG_fail
;
14716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14717 result
= (bool)(arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
14718 wxPyEndAllowThreads(__tstate
);
14719 if (PyErr_Occurred()) SWIG_fail
;
14722 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14738 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14739 PyObject
*resultobj
= 0;
14740 wxFont
*arg1
= (wxFont
*) 0 ;
14741 wxString
*arg2
= 0 ;
14745 bool temp2
= false ;
14746 PyObject
* obj0
= 0 ;
14747 PyObject
* obj1
= 0 ;
14748 char * kwnames
[] = {
14749 (char *) "self",(char *) "info", NULL
14752 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14753 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14754 if (!SWIG_IsOK(res1
)) {
14755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont *""'");
14757 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14759 arg2
= wxString_in_helper(obj1
);
14760 if (arg2
== NULL
) SWIG_fail
;
14764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14765 result
= (bool)(arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
14766 wxPyEndAllowThreads(__tstate
);
14767 if (PyErr_Occurred()) SWIG_fail
;
14770 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14786 SWIGINTERN PyObject
*_wrap_Font_GetFamilyString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14787 PyObject
*resultobj
= 0;
14788 wxFont
*arg1
= (wxFont
*) 0 ;
14792 PyObject
*swig_obj
[1] ;
14794 if (!args
) SWIG_fail
;
14795 swig_obj
[0] = args
;
14796 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14797 if (!SWIG_IsOK(res1
)) {
14798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamilyString" "', expected argument " "1"" of type '" "wxFont const *""'");
14800 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14803 result
= ((wxFont
const *)arg1
)->GetFamilyString();
14804 wxPyEndAllowThreads(__tstate
);
14805 if (PyErr_Occurred()) SWIG_fail
;
14809 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14811 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14820 SWIGINTERN PyObject
*_wrap_Font_GetStyleString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14821 PyObject
*resultobj
= 0;
14822 wxFont
*arg1
= (wxFont
*) 0 ;
14826 PyObject
*swig_obj
[1] ;
14828 if (!args
) SWIG_fail
;
14829 swig_obj
[0] = args
;
14830 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14831 if (!SWIG_IsOK(res1
)) {
14832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyleString" "', expected argument " "1"" of type '" "wxFont const *""'");
14834 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14837 result
= ((wxFont
const *)arg1
)->GetStyleString();
14838 wxPyEndAllowThreads(__tstate
);
14839 if (PyErr_Occurred()) SWIG_fail
;
14843 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14845 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14854 SWIGINTERN PyObject
*_wrap_Font_GetWeightString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14855 PyObject
*resultobj
= 0;
14856 wxFont
*arg1
= (wxFont
*) 0 ;
14860 PyObject
*swig_obj
[1] ;
14862 if (!args
) SWIG_fail
;
14863 swig_obj
[0] = args
;
14864 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14865 if (!SWIG_IsOK(res1
)) {
14866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeightString" "', expected argument " "1"" of type '" "wxFont const *""'");
14868 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14871 result
= ((wxFont
const *)arg1
)->GetWeightString();
14872 wxPyEndAllowThreads(__tstate
);
14873 if (PyErr_Occurred()) SWIG_fail
;
14877 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14879 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14888 SWIGINTERN PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14889 PyObject
*resultobj
= 0;
14890 wxFont
*arg1
= (wxFont
*) 0 ;
14891 bool arg2
= (bool) true ;
14896 PyObject
* obj0
= 0 ;
14897 PyObject
* obj1
= 0 ;
14898 char * kwnames
[] = {
14899 (char *) "self",(char *) "no", NULL
14902 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14903 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14904 if (!SWIG_IsOK(res1
)) {
14905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont *""'");
14907 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14909 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
14910 if (!SWIG_IsOK(ecode2
)) {
14911 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "2"" of type '" "bool""'");
14913 arg2
= static_cast< bool >(val2
);
14916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14917 (arg1
)->SetNoAntiAliasing(arg2
);
14918 wxPyEndAllowThreads(__tstate
);
14919 if (PyErr_Occurred()) SWIG_fail
;
14921 resultobj
= SWIG_Py_Void();
14928 SWIGINTERN PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14929 PyObject
*resultobj
= 0;
14930 wxFont
*arg1
= (wxFont
*) 0 ;
14934 PyObject
*swig_obj
[1] ;
14936 if (!args
) SWIG_fail
;
14937 swig_obj
[0] = args
;
14938 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14939 if (!SWIG_IsOK(res1
)) {
14940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont const *""'");
14942 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14945 result
= (bool)((wxFont
const *)arg1
)->GetNoAntiAliasing();
14946 wxPyEndAllowThreads(__tstate
);
14947 if (PyErr_Occurred()) SWIG_fail
;
14950 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14958 SWIGINTERN PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14959 PyObject
*resultobj
= 0;
14960 wxFontEncoding result
;
14962 if (!SWIG_Python_UnpackTuple(args
,"Font_GetDefaultEncoding",0,0,0)) SWIG_fail
;
14964 if (!wxPyCheckForApp()) SWIG_fail
;
14965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14966 result
= (wxFontEncoding
)wxFont::GetDefaultEncoding();
14967 wxPyEndAllowThreads(__tstate
);
14968 if (PyErr_Occurred()) SWIG_fail
;
14970 resultobj
= SWIG_From_int(static_cast< int >(result
));
14977 SWIGINTERN PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14978 PyObject
*resultobj
= 0;
14979 wxFontEncoding arg1
;
14982 PyObject
* obj0
= 0 ;
14983 char * kwnames
[] = {
14984 (char *) "encoding", NULL
14987 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) SWIG_fail
;
14988 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14989 if (!SWIG_IsOK(ecode1
)) {
14990 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Font_SetDefaultEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
14992 arg1
= static_cast< wxFontEncoding
>(val1
);
14994 if (!wxPyCheckForApp()) SWIG_fail
;
14995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14996 wxFont::SetDefaultEncoding(arg1
);
14997 wxPyEndAllowThreads(__tstate
);
14998 if (PyErr_Occurred()) SWIG_fail
;
15000 resultobj
= SWIG_Py_Void();
15007 SWIGINTERN PyObject
*Font_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15009 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15010 SWIG_TypeNewClientData(SWIGTYPE_p_wxFont
, SWIG_NewClientData(obj
));
15011 return SWIG_Py_Void();
15014 SWIGINTERN PyObject
*Font_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15015 return SWIG_Python_InitShadowInstance(args
);
15018 SWIGINTERN PyObject
*_wrap_new_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15019 PyObject
*resultobj
= 0;
15020 wxPyFontEnumerator
*result
= 0 ;
15022 if (!SWIG_Python_UnpackTuple(args
,"new_FontEnumerator",0,0,0)) SWIG_fail
;
15024 if (!wxPyCheckForApp()) SWIG_fail
;
15025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15026 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
15027 wxPyEndAllowThreads(__tstate
);
15028 if (PyErr_Occurred()) SWIG_fail
;
15030 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_NEW
| 0 );
15037 SWIGINTERN PyObject
*_wrap_delete_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15038 PyObject
*resultobj
= 0;
15039 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15042 PyObject
*swig_obj
[1] ;
15044 if (!args
) SWIG_fail
;
15045 swig_obj
[0] = args
;
15046 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_DISOWN
| 0 );
15047 if (!SWIG_IsOK(res1
)) {
15048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontEnumerator" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15050 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15055 wxPyEndAllowThreads(__tstate
);
15056 if (PyErr_Occurred()) SWIG_fail
;
15058 resultobj
= SWIG_Py_Void();
15065 SWIGINTERN PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15066 PyObject
*resultobj
= 0;
15067 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15068 PyObject
*arg2
= (PyObject
*) 0 ;
15069 PyObject
*arg3
= (PyObject
*) 0 ;
15075 PyObject
* obj0
= 0 ;
15076 PyObject
* obj1
= 0 ;
15077 PyObject
* obj2
= 0 ;
15078 PyObject
* obj3
= 0 ;
15079 char * kwnames
[] = {
15080 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
15083 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15084 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15085 if (!SWIG_IsOK(res1
)) {
15086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15088 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15091 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
15092 if (!SWIG_IsOK(ecode4
)) {
15093 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "4"" of type '" "bool""'");
15095 arg4
= static_cast< bool >(val4
);
15097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15098 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
15099 wxPyEndAllowThreads(__tstate
);
15100 if (PyErr_Occurred()) SWIG_fail
;
15102 resultobj
= SWIG_Py_Void();
15109 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15110 PyObject
*resultobj
= 0;
15111 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15112 wxFontEncoding arg2
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
15113 bool arg3
= (bool) false ;
15121 PyObject
* obj0
= 0 ;
15122 PyObject
* obj1
= 0 ;
15123 PyObject
* obj2
= 0 ;
15124 char * kwnames
[] = {
15125 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
15128 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15129 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15130 if (!SWIG_IsOK(res1
)) {
15131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15133 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15135 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15136 if (!SWIG_IsOK(ecode2
)) {
15137 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "2"" of type '" "wxFontEncoding""'");
15139 arg2
= static_cast< wxFontEncoding
>(val2
);
15142 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
15143 if (!SWIG_IsOK(ecode3
)) {
15144 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "3"" of type '" "bool""'");
15146 arg3
= static_cast< bool >(val3
);
15149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15150 result
= (bool)(arg1
)->EnumerateFacenames(arg2
,arg3
);
15151 wxPyEndAllowThreads(__tstate
);
15152 if (PyErr_Occurred()) SWIG_fail
;
15155 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15163 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15164 PyObject
*resultobj
= 0;
15165 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15166 wxString
const &arg2_defvalue
= wxPyEmptyString
;
15167 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
15171 bool temp2
= false ;
15172 PyObject
* obj0
= 0 ;
15173 PyObject
* obj1
= 0 ;
15174 char * kwnames
[] = {
15175 (char *) "self",(char *) "facename", NULL
15178 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15179 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15180 if (!SWIG_IsOK(res1
)) {
15181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateEncodings" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15183 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15186 arg2
= wxString_in_helper(obj1
);
15187 if (arg2
== NULL
) SWIG_fail
;
15192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15193 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
15194 wxPyEndAllowThreads(__tstate
);
15195 if (PyErr_Occurred()) SWIG_fail
;
15198 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15214 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15215 PyObject
*resultobj
= 0;
15216 PyObject
*result
= 0 ;
15218 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetEncodings",0,0,0)) SWIG_fail
;
15220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15221 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings();
15222 wxPyEndAllowThreads(__tstate
);
15223 if (PyErr_Occurred()) SWIG_fail
;
15225 resultobj
= result
;
15232 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15233 PyObject
*resultobj
= 0;
15234 PyObject
*result
= 0 ;
15236 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetFacenames",0,0,0)) SWIG_fail
;
15238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15239 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames();
15240 wxPyEndAllowThreads(__tstate
);
15241 if (PyErr_Occurred()) SWIG_fail
;
15243 resultobj
= result
;
15250 SWIGINTERN PyObject
*_wrap_FontEnumerator_IsValidFacename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15251 PyObject
*resultobj
= 0;
15252 wxString
*arg1
= 0 ;
15254 bool temp1
= false ;
15255 PyObject
* obj0
= 0 ;
15256 char * kwnames
[] = {
15257 (char *) "str", NULL
15260 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_IsValidFacename",kwnames
,&obj0
)) SWIG_fail
;
15262 arg1
= wxString_in_helper(obj0
);
15263 if (arg1
== NULL
) SWIG_fail
;
15267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15268 result
= (bool)wxPyFontEnumerator::IsValidFacename((wxString
const &)*arg1
);
15269 wxPyEndAllowThreads(__tstate
);
15270 if (PyErr_Occurred()) SWIG_fail
;
15273 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15289 SWIGINTERN PyObject
*FontEnumerator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15291 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15292 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyFontEnumerator
, SWIG_NewClientData(obj
));
15293 return SWIG_Py_Void();
15296 SWIGINTERN PyObject
*FontEnumerator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15297 return SWIG_Python_InitShadowInstance(args
);
15300 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15301 PyObject
*resultobj
= 0;
15302 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15308 PyObject
*swig_obj
[2] ;
15310 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Language_set",2,2,swig_obj
)) SWIG_fail
;
15311 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15312 if (!SWIG_IsOK(res1
)) {
15313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15315 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15316 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
15317 if (!SWIG_IsOK(ecode2
)) {
15318 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LanguageInfo_Language_set" "', expected argument " "2"" of type '" "int""'");
15320 arg2
= static_cast< int >(val2
);
15321 if (arg1
) (arg1
)->Language
= arg2
;
15323 resultobj
= SWIG_Py_Void();
15330 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15331 PyObject
*resultobj
= 0;
15332 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15336 PyObject
*swig_obj
[1] ;
15338 if (!args
) SWIG_fail
;
15339 swig_obj
[0] = args
;
15340 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15341 if (!SWIG_IsOK(res1
)) {
15342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15344 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15345 result
= (int) ((arg1
)->Language
);
15346 resultobj
= SWIG_From_int(static_cast< int >(result
));
15353 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15354 PyObject
*resultobj
= 0;
15355 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15356 wxString
*arg2
= (wxString
*) 0 ;
15359 bool temp2
= false ;
15360 PyObject
*swig_obj
[2] ;
15362 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_CanonicalName_set",2,2,swig_obj
)) SWIG_fail
;
15363 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15364 if (!SWIG_IsOK(res1
)) {
15365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15367 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15369 arg2
= wxString_in_helper(swig_obj
[1]);
15370 if (arg2
== NULL
) SWIG_fail
;
15373 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
15375 resultobj
= SWIG_Py_Void();
15390 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15391 PyObject
*resultobj
= 0;
15392 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15393 wxString
*result
= 0 ;
15396 PyObject
*swig_obj
[1] ;
15398 if (!args
) SWIG_fail
;
15399 swig_obj
[0] = args
;
15400 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15401 if (!SWIG_IsOK(res1
)) {
15402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15404 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15405 result
= (wxString
*)& ((arg1
)->CanonicalName
);
15408 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15410 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15419 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15420 PyObject
*resultobj
= 0;
15421 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15422 wxString
*arg2
= (wxString
*) 0 ;
15425 bool temp2
= false ;
15426 PyObject
*swig_obj
[2] ;
15428 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Description_set",2,2,swig_obj
)) SWIG_fail
;
15429 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15430 if (!SWIG_IsOK(res1
)) {
15431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15433 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15435 arg2
= wxString_in_helper(swig_obj
[1]);
15436 if (arg2
== NULL
) SWIG_fail
;
15439 if (arg1
) (arg1
)->Description
= *arg2
;
15441 resultobj
= SWIG_Py_Void();
15456 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15457 PyObject
*resultobj
= 0;
15458 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15459 wxString
*result
= 0 ;
15462 PyObject
*swig_obj
[1] ;
15464 if (!args
) SWIG_fail
;
15465 swig_obj
[0] = args
;
15466 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15467 if (!SWIG_IsOK(res1
)) {
15468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15470 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15471 result
= (wxString
*)& ((arg1
)->Description
);
15474 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15476 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15485 SWIGINTERN PyObject
*LanguageInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15487 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15488 SWIG_TypeNewClientData(SWIGTYPE_p_wxLanguageInfo
, SWIG_NewClientData(obj
));
15489 return SWIG_Py_Void();
15492 SWIGINTERN PyObject
*_wrap_new_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15493 PyObject
*resultobj
= 0;
15494 int arg1
= (int) -1 ;
15495 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
15496 wxLocale
*result
= 0 ;
15501 PyObject
* obj0
= 0 ;
15502 PyObject
* obj1
= 0 ;
15503 char * kwnames
[] = {
15504 (char *) "language",(char *) "flags", NULL
15507 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15509 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15510 if (!SWIG_IsOK(ecode1
)) {
15511 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Locale" "', expected argument " "1"" of type '" "int""'");
15513 arg1
= static_cast< int >(val1
);
15516 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15517 if (!SWIG_IsOK(ecode2
)) {
15518 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Locale" "', expected argument " "2"" of type '" "int""'");
15520 arg2
= static_cast< int >(val2
);
15523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15524 result
= (wxLocale
*)new_wxLocale(arg1
,arg2
);
15525 wxPyEndAllowThreads(__tstate
);
15526 if (PyErr_Occurred()) SWIG_fail
;
15528 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, SWIG_POINTER_NEW
| 0 );
15535 SWIGINTERN PyObject
*_wrap_delete_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15536 PyObject
*resultobj
= 0;
15537 wxLocale
*arg1
= (wxLocale
*) 0 ;
15540 PyObject
*swig_obj
[1] ;
15542 if (!args
) SWIG_fail
;
15543 swig_obj
[0] = args
;
15544 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, SWIG_POINTER_DISOWN
| 0 );
15545 if (!SWIG_IsOK(res1
)) {
15546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Locale" "', expected argument " "1"" of type '" "wxLocale *""'");
15548 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15553 wxPyEndAllowThreads(__tstate
);
15554 if (PyErr_Occurred()) SWIG_fail
;
15556 resultobj
= SWIG_Py_Void();
15563 SWIGINTERN PyObject
*_wrap_Locale_Init1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15564 PyObject
*resultobj
= 0;
15565 wxLocale
*arg1
= (wxLocale
*) 0 ;
15566 wxString
*arg2
= 0 ;
15567 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15568 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15569 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15570 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15571 bool arg5
= (bool) true ;
15572 bool arg6
= (bool) false ;
15576 bool temp2
= false ;
15577 bool temp3
= false ;
15578 bool temp4
= false ;
15583 PyObject
* obj0
= 0 ;
15584 PyObject
* obj1
= 0 ;
15585 PyObject
* obj2
= 0 ;
15586 PyObject
* obj3
= 0 ;
15587 PyObject
* obj4
= 0 ;
15588 PyObject
* obj5
= 0 ;
15589 char * kwnames
[] = {
15590 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
15593 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
15594 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15595 if (!SWIG_IsOK(res1
)) {
15596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init1" "', expected argument " "1"" of type '" "wxLocale *""'");
15598 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15600 arg2
= wxString_in_helper(obj1
);
15601 if (arg2
== NULL
) SWIG_fail
;
15606 arg3
= wxString_in_helper(obj2
);
15607 if (arg3
== NULL
) SWIG_fail
;
15613 arg4
= wxString_in_helper(obj3
);
15614 if (arg4
== NULL
) SWIG_fail
;
15619 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
15620 if (!SWIG_IsOK(ecode5
)) {
15621 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Locale_Init1" "', expected argument " "5"" of type '" "bool""'");
15623 arg5
= static_cast< bool >(val5
);
15626 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
15627 if (!SWIG_IsOK(ecode6
)) {
15628 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Locale_Init1" "', expected argument " "6"" of type '" "bool""'");
15630 arg6
= static_cast< bool >(val6
);
15633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15634 result
= (bool)wxLocale_Init1(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
15635 wxPyEndAllowThreads(__tstate
);
15636 if (PyErr_Occurred()) SWIG_fail
;
15639 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15671 SWIGINTERN PyObject
*_wrap_Locale_Init2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15672 PyObject
*resultobj
= 0;
15673 wxLocale
*arg1
= (wxLocale
*) 0 ;
15674 int arg2
= (int) wxLANGUAGE_DEFAULT
;
15675 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
15683 PyObject
* obj0
= 0 ;
15684 PyObject
* obj1
= 0 ;
15685 PyObject
* obj2
= 0 ;
15686 char * kwnames
[] = {
15687 (char *) "self",(char *) "language",(char *) "flags", NULL
15690 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15691 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15692 if (!SWIG_IsOK(res1
)) {
15693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init2" "', expected argument " "1"" of type '" "wxLocale *""'");
15695 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15697 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15698 if (!SWIG_IsOK(ecode2
)) {
15699 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Locale_Init2" "', expected argument " "2"" of type '" "int""'");
15701 arg2
= static_cast< int >(val2
);
15704 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15705 if (!SWIG_IsOK(ecode3
)) {
15706 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Locale_Init2" "', expected argument " "3"" of type '" "int""'");
15708 arg3
= static_cast< int >(val3
);
15711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15712 result
= (bool)wxLocale_Init2(arg1
,arg2
,arg3
);
15713 wxPyEndAllowThreads(__tstate
);
15714 if (PyErr_Occurred()) SWIG_fail
;
15717 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15725 SWIGINTERN PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15726 PyObject
*resultobj
= 0;
15729 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemLanguage",0,0,0)) SWIG_fail
;
15731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15732 result
= (int)wxLocale::GetSystemLanguage();
15733 wxPyEndAllowThreads(__tstate
);
15734 if (PyErr_Occurred()) SWIG_fail
;
15736 resultobj
= SWIG_From_int(static_cast< int >(result
));
15743 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15744 PyObject
*resultobj
= 0;
15745 wxFontEncoding result
;
15747 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncoding",0,0,0)) SWIG_fail
;
15749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15750 result
= (wxFontEncoding
)wxLocale::GetSystemEncoding();
15751 wxPyEndAllowThreads(__tstate
);
15752 if (PyErr_Occurred()) SWIG_fail
;
15754 resultobj
= SWIG_From_int(static_cast< int >(result
));
15761 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15762 PyObject
*resultobj
= 0;
15765 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncodingName",0,0,0)) SWIG_fail
;
15767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15768 result
= wxLocale::GetSystemEncodingName();
15769 wxPyEndAllowThreads(__tstate
);
15770 if (PyErr_Occurred()) SWIG_fail
;
15774 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15776 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15785 SWIGINTERN PyObject
*_wrap_Locale_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15786 PyObject
*resultobj
= 0;
15787 wxLocale
*arg1
= (wxLocale
*) 0 ;
15791 PyObject
*swig_obj
[1] ;
15793 if (!args
) SWIG_fail
;
15794 swig_obj
[0] = args
;
15795 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15796 if (!SWIG_IsOK(res1
)) {
15797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsOk" "', expected argument " "1"" of type '" "wxLocale const *""'");
15799 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15802 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
15803 wxPyEndAllowThreads(__tstate
);
15804 if (PyErr_Occurred()) SWIG_fail
;
15807 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15815 SWIGINTERN PyObject
*_wrap_Locale_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15816 PyObject
*resultobj
= 0;
15817 wxLocale
*arg1
= (wxLocale
*) 0 ;
15821 PyObject
*swig_obj
[1] ;
15823 if (!args
) SWIG_fail
;
15824 swig_obj
[0] = args
;
15825 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15826 if (!SWIG_IsOK(res1
)) {
15827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLocale" "', expected argument " "1"" of type '" "wxLocale const *""'");
15829 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15832 result
= ((wxLocale
const *)arg1
)->GetLocale();
15833 wxPyEndAllowThreads(__tstate
);
15834 if (PyErr_Occurred()) SWIG_fail
;
15838 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15840 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15849 SWIGINTERN PyObject
*_wrap_Locale_GetLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15850 PyObject
*resultobj
= 0;
15851 wxLocale
*arg1
= (wxLocale
*) 0 ;
15855 PyObject
*swig_obj
[1] ;
15857 if (!args
) SWIG_fail
;
15858 swig_obj
[0] = args
;
15859 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15860 if (!SWIG_IsOK(res1
)) {
15861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLanguage" "', expected argument " "1"" of type '" "wxLocale const *""'");
15863 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15866 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
15867 wxPyEndAllowThreads(__tstate
);
15868 if (PyErr_Occurred()) SWIG_fail
;
15870 resultobj
= SWIG_From_int(static_cast< int >(result
));
15877 SWIGINTERN PyObject
*_wrap_Locale_GetSysName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15878 PyObject
*resultobj
= 0;
15879 wxLocale
*arg1
= (wxLocale
*) 0 ;
15883 PyObject
*swig_obj
[1] ;
15885 if (!args
) SWIG_fail
;
15886 swig_obj
[0] = args
;
15887 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15888 if (!SWIG_IsOK(res1
)) {
15889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetSysName" "', expected argument " "1"" of type '" "wxLocale const *""'");
15891 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15894 result
= ((wxLocale
const *)arg1
)->GetSysName();
15895 wxPyEndAllowThreads(__tstate
);
15896 if (PyErr_Occurred()) SWIG_fail
;
15900 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15902 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15911 SWIGINTERN PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15912 PyObject
*resultobj
= 0;
15913 wxLocale
*arg1
= (wxLocale
*) 0 ;
15917 PyObject
*swig_obj
[1] ;
15919 if (!args
) SWIG_fail
;
15920 swig_obj
[0] = args
;
15921 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15922 if (!SWIG_IsOK(res1
)) {
15923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetCanonicalName" "', expected argument " "1"" of type '" "wxLocale const *""'");
15925 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15928 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
15929 wxPyEndAllowThreads(__tstate
);
15930 if (PyErr_Occurred()) SWIG_fail
;
15934 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15936 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15945 SWIGINTERN PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15946 PyObject
*resultobj
= 0;
15947 wxString
*arg1
= 0 ;
15948 bool temp1
= false ;
15949 PyObject
* obj0
= 0 ;
15950 char * kwnames
[] = {
15951 (char *) "prefix", NULL
15954 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) SWIG_fail
;
15956 arg1
= wxString_in_helper(obj0
);
15957 if (arg1
== NULL
) SWIG_fail
;
15961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15962 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
15963 wxPyEndAllowThreads(__tstate
);
15964 if (PyErr_Occurred()) SWIG_fail
;
15966 resultobj
= SWIG_Py_Void();
15981 SWIGINTERN PyObject
*_wrap_Locale_AddCatalog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15982 PyObject
*resultobj
= 0;
15983 wxLocale
*arg1
= (wxLocale
*) 0 ;
15984 wxString
*arg2
= 0 ;
15988 bool temp2
= false ;
15989 PyObject
* obj0
= 0 ;
15990 PyObject
* obj1
= 0 ;
15991 char * kwnames
[] = {
15992 (char *) "self",(char *) "szDomain", NULL
15995 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15996 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15997 if (!SWIG_IsOK(res1
)) {
15998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddCatalog" "', expected argument " "1"" of type '" "wxLocale *""'");
16000 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16002 arg2
= wxString_in_helper(obj1
);
16003 if (arg2
== NULL
) SWIG_fail
;
16007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16008 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
16009 wxPyEndAllowThreads(__tstate
);
16010 if (PyErr_Occurred()) SWIG_fail
;
16013 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16029 SWIGINTERN PyObject
*_wrap_Locale_IsAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16030 PyObject
*resultobj
= 0;
16035 PyObject
* obj0
= 0 ;
16036 char * kwnames
[] = {
16037 (char *) "lang", NULL
16040 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsAvailable",kwnames
,&obj0
)) SWIG_fail
;
16041 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16042 if (!SWIG_IsOK(ecode1
)) {
16043 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_IsAvailable" "', expected argument " "1"" of type '" "int""'");
16045 arg1
= static_cast< int >(val1
);
16047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16048 result
= (bool)wxLocale::IsAvailable(arg1
);
16049 wxPyEndAllowThreads(__tstate
);
16050 if (PyErr_Occurred()) SWIG_fail
;
16053 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16061 SWIGINTERN PyObject
*_wrap_Locale_IsLoaded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16062 PyObject
*resultobj
= 0;
16063 wxLocale
*arg1
= (wxLocale
*) 0 ;
16064 wxString
*arg2
= 0 ;
16068 bool temp2
= false ;
16069 PyObject
* obj0
= 0 ;
16070 PyObject
* obj1
= 0 ;
16071 char * kwnames
[] = {
16072 (char *) "self",(char *) "szDomain", NULL
16075 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16076 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16077 if (!SWIG_IsOK(res1
)) {
16078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsLoaded" "', expected argument " "1"" of type '" "wxLocale const *""'");
16080 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16082 arg2
= wxString_in_helper(obj1
);
16083 if (arg2
== NULL
) SWIG_fail
;
16087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16088 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
16089 wxPyEndAllowThreads(__tstate
);
16090 if (PyErr_Occurred()) SWIG_fail
;
16093 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16109 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16110 PyObject
*resultobj
= 0;
16112 wxLanguageInfo
*result
= 0 ;
16115 PyObject
* obj0
= 0 ;
16116 char * kwnames
[] = {
16117 (char *) "lang", NULL
16120 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
16121 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16122 if (!SWIG_IsOK(ecode1
)) {
16123 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageInfo" "', expected argument " "1"" of type '" "int""'");
16125 arg1
= static_cast< int >(val1
);
16127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16128 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
16129 wxPyEndAllowThreads(__tstate
);
16130 if (PyErr_Occurred()) SWIG_fail
;
16132 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16139 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16140 PyObject
*resultobj
= 0;
16145 PyObject
* obj0
= 0 ;
16146 char * kwnames
[] = {
16147 (char *) "lang", NULL
16150 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) SWIG_fail
;
16151 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16152 if (!SWIG_IsOK(ecode1
)) {
16153 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageName" "', expected argument " "1"" of type '" "int""'");
16155 arg1
= static_cast< int >(val1
);
16157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16158 result
= wxLocale::GetLanguageName(arg1
);
16159 wxPyEndAllowThreads(__tstate
);
16160 if (PyErr_Occurred()) SWIG_fail
;
16164 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16166 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16175 SWIGINTERN PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16176 PyObject
*resultobj
= 0;
16177 wxString
*arg1
= 0 ;
16178 wxLanguageInfo
*result
= 0 ;
16179 bool temp1
= false ;
16180 PyObject
* obj0
= 0 ;
16181 char * kwnames
[] = {
16182 (char *) "locale", NULL
16185 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
16187 arg1
= wxString_in_helper(obj0
);
16188 if (arg1
== NULL
) SWIG_fail
;
16192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16193 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
16194 wxPyEndAllowThreads(__tstate
);
16195 if (PyErr_Occurred()) SWIG_fail
;
16197 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16212 SWIGINTERN PyObject
*_wrap_Locale_AddLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16213 PyObject
*resultobj
= 0;
16214 wxLanguageInfo
*arg1
= 0 ;
16217 PyObject
* obj0
= 0 ;
16218 char * kwnames
[] = {
16219 (char *) "info", NULL
16222 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) SWIG_fail
;
16223 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxLanguageInfo
, 0 | 0);
16224 if (!SWIG_IsOK(res1
)) {
16225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
16228 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
16230 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16233 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
16234 wxPyEndAllowThreads(__tstate
);
16235 if (PyErr_Occurred()) SWIG_fail
;
16237 resultobj
= SWIG_Py_Void();
16244 SWIGINTERN PyObject
*_wrap_Locale_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16245 PyObject
*resultobj
= 0;
16246 wxLocale
*arg1
= (wxLocale
*) 0 ;
16247 wxString
*arg2
= 0 ;
16248 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16249 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16253 bool temp2
= false ;
16254 bool temp3
= false ;
16255 PyObject
* obj0
= 0 ;
16256 PyObject
* obj1
= 0 ;
16257 PyObject
* obj2
= 0 ;
16258 char * kwnames
[] = {
16259 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
16262 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16263 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16264 if (!SWIG_IsOK(res1
)) {
16265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetString" "', expected argument " "1"" of type '" "wxLocale const *""'");
16267 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16269 arg2
= wxString_in_helper(obj1
);
16270 if (arg2
== NULL
) SWIG_fail
;
16275 arg3
= wxString_in_helper(obj2
);
16276 if (arg3
== NULL
) SWIG_fail
;
16281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16282 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
16283 wxPyEndAllowThreads(__tstate
);
16284 if (PyErr_Occurred()) SWIG_fail
;
16288 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16290 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16315 SWIGINTERN PyObject
*_wrap_Locale_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16316 PyObject
*resultobj
= 0;
16317 wxLocale
*arg1
= (wxLocale
*) 0 ;
16318 wxString
*result
= 0 ;
16321 PyObject
*swig_obj
[1] ;
16323 if (!args
) SWIG_fail
;
16324 swig_obj
[0] = args
;
16325 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16326 if (!SWIG_IsOK(res1
)) {
16327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16329 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16333 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
16334 result
= (wxString
*) &_result_ref
;
16336 wxPyEndAllowThreads(__tstate
);
16337 if (PyErr_Occurred()) SWIG_fail
;
16341 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16343 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16352 SWIGINTERN PyObject
*Locale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16354 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16355 SWIG_TypeNewClientData(SWIGTYPE_p_wxLocale
, SWIG_NewClientData(obj
));
16356 return SWIG_Py_Void();
16359 SWIGINTERN PyObject
*Locale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16360 return SWIG_Python_InitShadowInstance(args
);
16363 SWIGINTERN PyObject
*_wrap_new_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16364 PyObject
*resultobj
= 0;
16365 int arg1
= (int) -1 ;
16366 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16367 wxPyLocale
*result
= 0 ;
16372 PyObject
* obj0
= 0 ;
16373 PyObject
* obj1
= 0 ;
16374 char * kwnames
[] = {
16375 (char *) "language",(char *) "flags", NULL
16378 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyLocale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16380 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16381 if (!SWIG_IsOK(ecode1
)) {
16382 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PyLocale" "', expected argument " "1"" of type '" "int""'");
16384 arg1
= static_cast< int >(val1
);
16387 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16388 if (!SWIG_IsOK(ecode2
)) {
16389 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyLocale" "', expected argument " "2"" of type '" "int""'");
16391 arg2
= static_cast< int >(val2
);
16394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16395 result
= (wxPyLocale
*)new_wxPyLocale(arg1
,arg2
);
16396 wxPyEndAllowThreads(__tstate
);
16397 if (PyErr_Occurred()) SWIG_fail
;
16399 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_NEW
| 0 );
16406 SWIGINTERN PyObject
*_wrap_delete_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16407 PyObject
*resultobj
= 0;
16408 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16411 PyObject
*swig_obj
[1] ;
16413 if (!args
) SWIG_fail
;
16414 swig_obj
[0] = args
;
16415 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_DISOWN
| 0 );
16416 if (!SWIG_IsOK(res1
)) {
16417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PyLocale" "', expected argument " "1"" of type '" "wxPyLocale *""'");
16419 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16424 wxPyEndAllowThreads(__tstate
);
16425 if (PyErr_Occurred()) SWIG_fail
;
16427 resultobj
= SWIG_Py_Void();
16434 SWIGINTERN PyObject
*_wrap_PyLocale__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16435 PyObject
*resultobj
= 0;
16436 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16437 PyObject
*arg2
= (PyObject
*) 0 ;
16438 PyObject
*arg3
= (PyObject
*) 0 ;
16441 PyObject
* obj0
= 0 ;
16442 PyObject
* obj1
= 0 ;
16443 PyObject
* obj2
= 0 ;
16444 char * kwnames
[] = {
16445 (char *) "self",(char *) "self",(char *) "_class", NULL
16448 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLocale__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16449 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16450 if (!SWIG_IsOK(res1
)) {
16451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyLocale *""'");
16453 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16458 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16459 wxPyEndAllowThreads(__tstate
);
16460 if (PyErr_Occurred()) SWIG_fail
;
16462 resultobj
= SWIG_Py_Void();
16469 SWIGINTERN PyObject
*_wrap_PyLocale_GetSingularString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16470 PyObject
*resultobj
= 0;
16471 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16472 wxChar
*arg2
= (wxChar
*) 0 ;
16473 wxChar
*arg3
= (wxChar
*) NULL
;
16474 wxChar
*result
= 0 ;
16481 PyObject
* obj0
= 0 ;
16482 PyObject
* obj1
= 0 ;
16483 PyObject
* obj2
= 0 ;
16484 char * kwnames
[] = {
16485 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
16488 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyLocale_GetSingularString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16489 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16490 if (!SWIG_IsOK(res1
)) {
16491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetSingularString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
16493 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16494 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
16495 if (!SWIG_IsOK(res2
)) {
16496 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetSingularString" "', expected argument " "2"" of type '" "wxChar const *""'");
16498 arg2
= reinterpret_cast< wxChar
* >(argp2
);
16500 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
16501 if (!SWIG_IsOK(res3
)) {
16502 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetSingularString" "', expected argument " "3"" of type '" "wxChar const *""'");
16504 arg3
= reinterpret_cast< wxChar
* >(argp3
);
16507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16508 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetSingularString((wxChar
const *)arg2
,(wxChar
const *)arg3
);
16509 wxPyEndAllowThreads(__tstate
);
16510 if (PyErr_Occurred()) SWIG_fail
;
16512 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
16519 SWIGINTERN PyObject
*_wrap_PyLocale_GetPluralString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16520 PyObject
*resultobj
= 0;
16521 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16522 wxChar
*arg2
= (wxChar
*) 0 ;
16523 wxChar
*arg3
= (wxChar
*) 0 ;
16525 wxChar
*arg5
= (wxChar
*) NULL
;
16526 wxChar
*result
= 0 ;
16537 PyObject
* obj0
= 0 ;
16538 PyObject
* obj1
= 0 ;
16539 PyObject
* obj2
= 0 ;
16540 PyObject
* obj3
= 0 ;
16541 PyObject
* obj4
= 0 ;
16542 char * kwnames
[] = {
16543 (char *) "self",(char *) "szOrigString",(char *) "szOrigString2",(char *) "n",(char *) "szDomain", NULL
16546 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PyLocale_GetPluralString",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
16547 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16548 if (!SWIG_IsOK(res1
)) {
16549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetPluralString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
16551 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16552 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
16553 if (!SWIG_IsOK(res2
)) {
16554 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetPluralString" "', expected argument " "2"" of type '" "wxChar const *""'");
16556 arg2
= reinterpret_cast< wxChar
* >(argp2
);
16557 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
16558 if (!SWIG_IsOK(res3
)) {
16559 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetPluralString" "', expected argument " "3"" of type '" "wxChar const *""'");
16561 arg3
= reinterpret_cast< wxChar
* >(argp3
);
16562 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
16563 if (!SWIG_IsOK(ecode4
)) {
16564 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyLocale_GetPluralString" "', expected argument " "4"" of type '" "size_t""'");
16566 arg4
= static_cast< size_t >(val4
);
16568 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxChar
, 0 | 0 );
16569 if (!SWIG_IsOK(res5
)) {
16570 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "PyLocale_GetPluralString" "', expected argument " "5"" of type '" "wxChar const *""'");
16572 arg5
= reinterpret_cast< wxChar
* >(argp5
);
16575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16576 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetPluralString((wxChar
const *)arg2
,(wxChar
const *)arg3
,arg4
,(wxChar
const *)arg5
);
16577 wxPyEndAllowThreads(__tstate
);
16578 if (PyErr_Occurred()) SWIG_fail
;
16580 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
16587 SWIGINTERN PyObject
*PyLocale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16589 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16590 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyLocale
, SWIG_NewClientData(obj
));
16591 return SWIG_Py_Void();
16594 SWIGINTERN PyObject
*PyLocale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16595 return SWIG_Python_InitShadowInstance(args
);
16598 SWIGINTERN PyObject
*_wrap_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16599 PyObject
*resultobj
= 0;
16600 wxLocale
*result
= 0 ;
16602 if (!SWIG_Python_UnpackTuple(args
,"GetLocale",0,0,0)) SWIG_fail
;
16604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16605 result
= (wxLocale
*)wxGetLocale();
16606 wxPyEndAllowThreads(__tstate
);
16607 if (PyErr_Occurred()) SWIG_fail
;
16609 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, 0 | 0 );
16616 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
16617 PyObject
*resultobj
= 0;
16618 wxString
*arg1
= 0 ;
16620 bool temp1
= false ;
16622 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
16624 arg1
= wxString_in_helper(swig_obj
[0]);
16625 if (arg1
== NULL
) SWIG_fail
;
16629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16630 result
= wxGetTranslation((wxString
const &)*arg1
);
16631 wxPyEndAllowThreads(__tstate
);
16632 if (PyErr_Occurred()) SWIG_fail
;
16636 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16638 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16655 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
16656 PyObject
*resultobj
= 0;
16657 wxString
*arg1
= 0 ;
16658 wxString
*arg2
= 0 ;
16660 bool temp1
= false ;
16661 bool temp2
= false ;
16663 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
16665 arg1
= wxString_in_helper(swig_obj
[0]);
16666 if (arg1
== NULL
) SWIG_fail
;
16670 arg2
= wxString_in_helper(swig_obj
[1]);
16671 if (arg2
== NULL
) SWIG_fail
;
16675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16676 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
);
16677 wxPyEndAllowThreads(__tstate
);
16678 if (PyErr_Occurred()) SWIG_fail
;
16682 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16684 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16709 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
16710 PyObject
*resultobj
= 0;
16711 wxString
*arg1
= 0 ;
16712 wxString
*arg2
= 0 ;
16715 bool temp1
= false ;
16716 bool temp2
= false ;
16720 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
16722 arg1
= wxString_in_helper(swig_obj
[0]);
16723 if (arg1
== NULL
) SWIG_fail
;
16727 arg2
= wxString_in_helper(swig_obj
[1]);
16728 if (arg2
== NULL
) SWIG_fail
;
16731 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
16732 if (!SWIG_IsOK(ecode3
)) {
16733 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
16735 arg3
= static_cast< size_t >(val3
);
16737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16738 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
16739 wxPyEndAllowThreads(__tstate
);
16740 if (PyErr_Occurred()) SWIG_fail
;
16744 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16746 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16771 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_3(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
16772 PyObject
*resultobj
= 0;
16773 wxString
*arg1
= 0 ;
16774 wxString
*arg2
= 0 ;
16776 wxString
*arg4
= 0 ;
16778 bool temp1
= false ;
16779 bool temp2
= false ;
16782 bool temp4
= false ;
16784 if ((nobjs
< 4) || (nobjs
> 4)) SWIG_fail
;
16786 arg1
= wxString_in_helper(swig_obj
[0]);
16787 if (arg1
== NULL
) SWIG_fail
;
16791 arg2
= wxString_in_helper(swig_obj
[1]);
16792 if (arg2
== NULL
) SWIG_fail
;
16795 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
16796 if (!SWIG_IsOK(ecode3
)) {
16797 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
16799 arg3
= static_cast< size_t >(val3
);
16801 arg4
= wxString_in_helper(swig_obj
[3]);
16802 if (arg4
== NULL
) SWIG_fail
;
16806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16807 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxString
const &)*arg4
);
16808 wxPyEndAllowThreads(__tstate
);
16809 if (PyErr_Occurred()) SWIG_fail
;
16813 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16815 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16848 SWIGINTERN PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
16852 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GetTranslation",0,4,argv
))) SWIG_fail
;
16855 return _wrap_GetTranslation__SWIG_0(self
, argc
, argv
);
16858 return _wrap_GetTranslation__SWIG_1(self
, argc
, argv
);
16861 return _wrap_GetTranslation__SWIG_2(self
, argc
, argv
);
16864 return _wrap_GetTranslation__SWIG_3(self
, argc
, argv
);
16868 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GetTranslation'");
16873 SWIGINTERN PyObject
*_wrap_new_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16874 PyObject
*resultobj
= 0;
16875 wxEncodingConverter
*result
= 0 ;
16877 if (!SWIG_Python_UnpackTuple(args
,"new_EncodingConverter",0,0,0)) SWIG_fail
;
16879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16880 result
= (wxEncodingConverter
*)new wxEncodingConverter();
16881 wxPyEndAllowThreads(__tstate
);
16882 if (PyErr_Occurred()) SWIG_fail
;
16884 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_NEW
| 0 );
16891 SWIGINTERN PyObject
*_wrap_delete_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16892 PyObject
*resultobj
= 0;
16893 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
16896 PyObject
*swig_obj
[1] ;
16898 if (!args
) SWIG_fail
;
16899 swig_obj
[0] = args
;
16900 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_DISOWN
| 0 );
16901 if (!SWIG_IsOK(res1
)) {
16902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_EncodingConverter" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
16904 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
16906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16909 wxPyEndAllowThreads(__tstate
);
16910 if (PyErr_Occurred()) SWIG_fail
;
16912 resultobj
= SWIG_Py_Void();
16919 SWIGINTERN PyObject
*_wrap_EncodingConverter_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16920 PyObject
*resultobj
= 0;
16921 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
16922 wxFontEncoding arg2
;
16923 wxFontEncoding arg3
;
16924 int arg4
= (int) wxCONVERT_STRICT
;
16934 PyObject
* obj0
= 0 ;
16935 PyObject
* obj1
= 0 ;
16936 PyObject
* obj2
= 0 ;
16937 PyObject
* obj3
= 0 ;
16938 char * kwnames
[] = {
16939 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
16942 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16943 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
16944 if (!SWIG_IsOK(res1
)) {
16945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Init" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
16947 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
16948 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16949 if (!SWIG_IsOK(ecode2
)) {
16950 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_Init" "', expected argument " "2"" of type '" "wxFontEncoding""'");
16952 arg2
= static_cast< wxFontEncoding
>(val2
);
16953 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16954 if (!SWIG_IsOK(ecode3
)) {
16955 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "EncodingConverter_Init" "', expected argument " "3"" of type '" "wxFontEncoding""'");
16957 arg3
= static_cast< wxFontEncoding
>(val3
);
16959 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16960 if (!SWIG_IsOK(ecode4
)) {
16961 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "EncodingConverter_Init" "', expected argument " "4"" of type '" "int""'");
16963 arg4
= static_cast< int >(val4
);
16966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16967 result
= (bool)(arg1
)->Init(arg2
,arg3
,arg4
);
16968 wxPyEndAllowThreads(__tstate
);
16969 if (PyErr_Occurred()) SWIG_fail
;
16972 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16980 SWIGINTERN PyObject
*_wrap_EncodingConverter_Convert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16981 PyObject
*resultobj
= 0;
16982 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
16983 wxString
*arg2
= 0 ;
16987 bool temp2
= false ;
16988 PyObject
* obj0
= 0 ;
16989 PyObject
* obj1
= 0 ;
16990 char * kwnames
[] = {
16991 (char *) "self",(char *) "input", NULL
16994 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16995 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
16996 if (!SWIG_IsOK(res1
)) {
16997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Convert" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
16999 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17001 arg2
= wxString_in_helper(obj1
);
17002 if (arg2
== NULL
) SWIG_fail
;
17006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17007 result
= (arg1
)->Convert((wxString
const &)*arg2
);
17008 wxPyEndAllowThreads(__tstate
);
17009 if (PyErr_Occurred()) SWIG_fail
;
17013 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17015 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17032 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17033 PyObject
*resultobj
= 0;
17034 wxFontEncoding arg1
;
17035 int arg2
= (int) wxPLATFORM_CURRENT
;
17036 wxFontEncodingArray result
;
17041 PyObject
* obj0
= 0 ;
17042 PyObject
* obj1
= 0 ;
17043 char * kwnames
[] = {
17044 (char *) "enc",(char *) "platform", NULL
17047 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17048 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17049 if (!SWIG_IsOK(ecode1
)) {
17050 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17052 arg1
= static_cast< wxFontEncoding
>(val1
);
17054 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17055 if (!SWIG_IsOK(ecode2
)) {
17056 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "2"" of type '" "int""'");
17058 arg2
= static_cast< int >(val2
);
17061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17062 result
= wxEncodingConverter::GetPlatformEquivalents(arg1
,arg2
);
17063 wxPyEndAllowThreads(__tstate
);
17064 if (PyErr_Occurred()) SWIG_fail
;
17067 resultobj
= PyList_New(0);
17068 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
17069 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
17070 PyList_Append(resultobj
, number
);
17080 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17081 PyObject
*resultobj
= 0;
17082 wxFontEncoding arg1
;
17083 wxFontEncodingArray result
;
17086 PyObject
* obj0
= 0 ;
17087 char * kwnames
[] = {
17088 (char *) "enc", NULL
17091 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) SWIG_fail
;
17092 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17093 if (!SWIG_IsOK(ecode1
)) {
17094 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetAllEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17096 arg1
= static_cast< wxFontEncoding
>(val1
);
17098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17099 result
= wxEncodingConverter::GetAllEquivalents(arg1
);
17100 wxPyEndAllowThreads(__tstate
);
17101 if (PyErr_Occurred()) SWIG_fail
;
17104 resultobj
= PyList_New(0);
17105 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
17106 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
17107 PyList_Append(resultobj
, number
);
17117 SWIGINTERN PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17118 PyObject
*resultobj
= 0;
17119 wxFontEncoding arg1
;
17120 wxFontEncoding arg2
;
17126 PyObject
* obj0
= 0 ;
17127 PyObject
* obj1
= 0 ;
17128 char * kwnames
[] = {
17129 (char *) "encIn",(char *) "encOut", NULL
17132 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17133 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17134 if (!SWIG_IsOK(ecode1
)) {
17135 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17137 arg1
= static_cast< wxFontEncoding
>(val1
);
17138 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17139 if (!SWIG_IsOK(ecode2
)) {
17140 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "2"" of type '" "wxFontEncoding""'");
17142 arg2
= static_cast< wxFontEncoding
>(val2
);
17144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17145 result
= (bool)wxEncodingConverter::CanConvert(arg1
,arg2
);
17146 wxPyEndAllowThreads(__tstate
);
17147 if (PyErr_Occurred()) SWIG_fail
;
17150 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17158 SWIGINTERN PyObject
*EncodingConverter_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17160 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17161 SWIG_TypeNewClientData(SWIGTYPE_p_wxEncodingConverter
, SWIG_NewClientData(obj
));
17162 return SWIG_Py_Void();
17165 SWIGINTERN PyObject
*EncodingConverter_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17166 return SWIG_Python_InitShadowInstance(args
);
17169 SWIGINTERN PyObject
*_wrap_delete_DC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17170 PyObject
*resultobj
= 0;
17171 wxDC
*arg1
= (wxDC
*) 0 ;
17174 PyObject
*swig_obj
[1] ;
17176 if (!args
) SWIG_fail
;
17177 swig_obj
[0] = args
;
17178 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, SWIG_POINTER_DISOWN
| 0 );
17179 if (!SWIG_IsOK(res1
)) {
17180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DC" "', expected argument " "1"" of type '" "wxDC *""'");
17182 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17187 wxPyEndAllowThreads(__tstate
);
17188 if (PyErr_Occurred()) SWIG_fail
;
17190 resultobj
= SWIG_Py_Void();
17197 SWIGINTERN PyObject
*_wrap_DC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17198 PyObject
*resultobj
= 0;
17199 wxDC
*arg1
= (wxDC
*) 0 ;
17202 wxColour
*arg4
= 0 ;
17203 int arg5
= (int) wxFLOOD_SURFACE
;
17214 PyObject
* obj0
= 0 ;
17215 PyObject
* obj1
= 0 ;
17216 PyObject
* obj2
= 0 ;
17217 PyObject
* obj3
= 0 ;
17218 PyObject
* obj4
= 0 ;
17219 char * kwnames
[] = {
17220 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
17223 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17224 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17225 if (!SWIG_IsOK(res1
)) {
17226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFill" "', expected argument " "1"" of type '" "wxDC *""'");
17228 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17229 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17230 if (!SWIG_IsOK(ecode2
)) {
17231 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_FloodFill" "', expected argument " "2"" of type '" "int""'");
17233 arg2
= static_cast< int >(val2
);
17234 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17235 if (!SWIG_IsOK(ecode3
)) {
17236 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_FloodFill" "', expected argument " "3"" of type '" "int""'");
17238 arg3
= static_cast< int >(val3
);
17241 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17244 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17245 if (!SWIG_IsOK(ecode5
)) {
17246 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_FloodFill" "', expected argument " "5"" of type '" "int""'");
17248 arg5
= static_cast< int >(val5
);
17251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17252 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
17253 wxPyEndAllowThreads(__tstate
);
17254 if (PyErr_Occurred()) SWIG_fail
;
17257 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17265 SWIGINTERN PyObject
*_wrap_DC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17266 PyObject
*resultobj
= 0;
17267 wxDC
*arg1
= (wxDC
*) 0 ;
17268 wxPoint
*arg2
= 0 ;
17269 wxColour
*arg3
= 0 ;
17270 int arg4
= (int) wxFLOOD_SURFACE
;
17278 PyObject
* obj0
= 0 ;
17279 PyObject
* obj1
= 0 ;
17280 PyObject
* obj2
= 0 ;
17281 PyObject
* obj3
= 0 ;
17282 char * kwnames
[] = {
17283 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
17286 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17287 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17288 if (!SWIG_IsOK(res1
)) {
17289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFillPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17291 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17294 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17298 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17301 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17302 if (!SWIG_IsOK(ecode4
)) {
17303 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
17305 arg4
= static_cast< int >(val4
);
17308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17309 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
17310 wxPyEndAllowThreads(__tstate
);
17311 if (PyErr_Occurred()) SWIG_fail
;
17314 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17322 SWIGINTERN PyObject
*_wrap_DC_GradientFillConcentric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17323 PyObject
*resultobj
= 0;
17324 wxDC
*arg1
= (wxDC
*) 0 ;
17326 wxColour
*arg3
= 0 ;
17327 wxColour
*arg4
= 0 ;
17328 wxPoint
*arg5
= 0 ;
17335 PyObject
* obj0
= 0 ;
17336 PyObject
* obj1
= 0 ;
17337 PyObject
* obj2
= 0 ;
17338 PyObject
* obj3
= 0 ;
17339 PyObject
* obj4
= 0 ;
17340 char * kwnames
[] = {
17341 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "circleCenter", NULL
17344 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_GradientFillConcentric",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17345 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17346 if (!SWIG_IsOK(res1
)) {
17347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillConcentric" "', expected argument " "1"" of type '" "wxDC *""'");
17349 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17352 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17356 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17360 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17364 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17368 (arg1
)->GradientFillConcentric((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
);
17369 wxPyEndAllowThreads(__tstate
);
17370 if (PyErr_Occurred()) SWIG_fail
;
17372 resultobj
= SWIG_Py_Void();
17379 SWIGINTERN PyObject
*_wrap_DC_GradientFillLinear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17380 PyObject
*resultobj
= 0;
17381 wxDC
*arg1
= (wxDC
*) 0 ;
17383 wxColour
*arg3
= 0 ;
17384 wxColour
*arg4
= 0 ;
17385 wxDirection arg5
= (wxDirection
) wxEAST
;
17393 PyObject
* obj0
= 0 ;
17394 PyObject
* obj1
= 0 ;
17395 PyObject
* obj2
= 0 ;
17396 PyObject
* obj3
= 0 ;
17397 PyObject
* obj4
= 0 ;
17398 char * kwnames
[] = {
17399 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "nDirection", NULL
17402 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_GradientFillLinear",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17403 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17404 if (!SWIG_IsOK(res1
)) {
17405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillLinear" "', expected argument " "1"" of type '" "wxDC *""'");
17407 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17410 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17414 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17418 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17421 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17422 if (!SWIG_IsOK(ecode5
)) {
17423 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_GradientFillLinear" "', expected argument " "5"" of type '" "wxDirection""'");
17425 arg5
= static_cast< wxDirection
>(val5
);
17428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17429 (arg1
)->GradientFillLinear((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,arg5
);
17430 wxPyEndAllowThreads(__tstate
);
17431 if (PyErr_Occurred()) SWIG_fail
;
17433 resultobj
= SWIG_Py_Void();
17440 SWIGINTERN PyObject
*_wrap_DC_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17441 PyObject
*resultobj
= 0;
17442 wxDC
*arg1
= (wxDC
*) 0 ;
17452 PyObject
* obj0
= 0 ;
17453 PyObject
* obj1
= 0 ;
17454 PyObject
* obj2
= 0 ;
17455 char * kwnames
[] = {
17456 (char *) "self",(char *) "x",(char *) "y", NULL
17459 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17460 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17461 if (!SWIG_IsOK(res1
)) {
17462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixel" "', expected argument " "1"" of type '" "wxDC *""'");
17464 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17465 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17466 if (!SWIG_IsOK(ecode2
)) {
17467 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_GetPixel" "', expected argument " "2"" of type '" "int""'");
17469 arg2
= static_cast< int >(val2
);
17470 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17471 if (!SWIG_IsOK(ecode3
)) {
17472 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_GetPixel" "', expected argument " "3"" of type '" "int""'");
17474 arg3
= static_cast< int >(val3
);
17476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17477 result
= wxDC_GetPixel(arg1
,arg2
,arg3
);
17478 wxPyEndAllowThreads(__tstate
);
17479 if (PyErr_Occurred()) SWIG_fail
;
17481 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
17488 SWIGINTERN PyObject
*_wrap_DC_GetPixelPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17489 PyObject
*resultobj
= 0;
17490 wxDC
*arg1
= (wxDC
*) 0 ;
17491 wxPoint
*arg2
= 0 ;
17496 PyObject
* obj0
= 0 ;
17497 PyObject
* obj1
= 0 ;
17498 char * kwnames
[] = {
17499 (char *) "self",(char *) "pt", NULL
17502 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17503 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17504 if (!SWIG_IsOK(res1
)) {
17505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixelPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17507 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17510 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17514 result
= wxDC_GetPixelPoint(arg1
,(wxPoint
const &)*arg2
);
17515 wxPyEndAllowThreads(__tstate
);
17516 if (PyErr_Occurred()) SWIG_fail
;
17518 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
17525 SWIGINTERN PyObject
*_wrap_DC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17526 PyObject
*resultobj
= 0;
17527 wxDC
*arg1
= (wxDC
*) 0 ;
17542 PyObject
* obj0
= 0 ;
17543 PyObject
* obj1
= 0 ;
17544 PyObject
* obj2
= 0 ;
17545 PyObject
* obj3
= 0 ;
17546 PyObject
* obj4
= 0 ;
17547 char * kwnames
[] = {
17548 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
17551 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17552 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17553 if (!SWIG_IsOK(res1
)) {
17554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLine" "', expected argument " "1"" of type '" "wxDC *""'");
17556 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17557 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17558 if (!SWIG_IsOK(ecode2
)) {
17559 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawLine" "', expected argument " "2"" of type '" "int""'");
17561 arg2
= static_cast< int >(val2
);
17562 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17563 if (!SWIG_IsOK(ecode3
)) {
17564 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawLine" "', expected argument " "3"" of type '" "int""'");
17566 arg3
= static_cast< int >(val3
);
17567 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17568 if (!SWIG_IsOK(ecode4
)) {
17569 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLine" "', expected argument " "4"" of type '" "int""'");
17571 arg4
= static_cast< int >(val4
);
17572 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17573 if (!SWIG_IsOK(ecode5
)) {
17574 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLine" "', expected argument " "5"" of type '" "int""'");
17576 arg5
= static_cast< int >(val5
);
17578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17579 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
17580 wxPyEndAllowThreads(__tstate
);
17581 if (PyErr_Occurred()) SWIG_fail
;
17583 resultobj
= SWIG_Py_Void();
17590 SWIGINTERN PyObject
*_wrap_DC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17591 PyObject
*resultobj
= 0;
17592 wxDC
*arg1
= (wxDC
*) 0 ;
17593 wxPoint
*arg2
= 0 ;
17594 wxPoint
*arg3
= 0 ;
17599 PyObject
* obj0
= 0 ;
17600 PyObject
* obj1
= 0 ;
17601 PyObject
* obj2
= 0 ;
17602 char * kwnames
[] = {
17603 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
17606 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17607 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17608 if (!SWIG_IsOK(res1
)) {
17609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLinePoint" "', expected argument " "1"" of type '" "wxDC *""'");
17611 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17614 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17618 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17622 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
17623 wxPyEndAllowThreads(__tstate
);
17624 if (PyErr_Occurred()) SWIG_fail
;
17626 resultobj
= SWIG_Py_Void();
17633 SWIGINTERN PyObject
*_wrap_DC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17634 PyObject
*resultobj
= 0;
17635 wxDC
*arg1
= (wxDC
*) 0 ;
17644 PyObject
* obj0
= 0 ;
17645 PyObject
* obj1
= 0 ;
17646 PyObject
* obj2
= 0 ;
17647 char * kwnames
[] = {
17648 (char *) "self",(char *) "x",(char *) "y", NULL
17651 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17652 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17653 if (!SWIG_IsOK(res1
)) {
17654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHair" "', expected argument " "1"" of type '" "wxDC *""'");
17656 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17657 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17658 if (!SWIG_IsOK(ecode2
)) {
17659 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CrossHair" "', expected argument " "2"" of type '" "int""'");
17661 arg2
= static_cast< int >(val2
);
17662 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17663 if (!SWIG_IsOK(ecode3
)) {
17664 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CrossHair" "', expected argument " "3"" of type '" "int""'");
17666 arg3
= static_cast< int >(val3
);
17668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17669 (arg1
)->CrossHair(arg2
,arg3
);
17670 wxPyEndAllowThreads(__tstate
);
17671 if (PyErr_Occurred()) SWIG_fail
;
17673 resultobj
= SWIG_Py_Void();
17680 SWIGINTERN PyObject
*_wrap_DC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17681 PyObject
*resultobj
= 0;
17682 wxDC
*arg1
= (wxDC
*) 0 ;
17683 wxPoint
*arg2
= 0 ;
17687 PyObject
* obj0
= 0 ;
17688 PyObject
* obj1
= 0 ;
17689 char * kwnames
[] = {
17690 (char *) "self",(char *) "pt", NULL
17693 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17694 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17695 if (!SWIG_IsOK(res1
)) {
17696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHairPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17698 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17701 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17705 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
17706 wxPyEndAllowThreads(__tstate
);
17707 if (PyErr_Occurred()) SWIG_fail
;
17709 resultobj
= SWIG_Py_Void();
17716 SWIGINTERN PyObject
*_wrap_DC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17717 PyObject
*resultobj
= 0;
17718 wxDC
*arg1
= (wxDC
*) 0 ;
17739 PyObject
* obj0
= 0 ;
17740 PyObject
* obj1
= 0 ;
17741 PyObject
* obj2
= 0 ;
17742 PyObject
* obj3
= 0 ;
17743 PyObject
* obj4
= 0 ;
17744 PyObject
* obj5
= 0 ;
17745 PyObject
* obj6
= 0 ;
17746 char * kwnames
[] = {
17747 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
17750 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
17751 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17752 if (!SWIG_IsOK(res1
)) {
17753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArc" "', expected argument " "1"" of type '" "wxDC *""'");
17755 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17756 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17757 if (!SWIG_IsOK(ecode2
)) {
17758 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawArc" "', expected argument " "2"" of type '" "int""'");
17760 arg2
= static_cast< int >(val2
);
17761 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17762 if (!SWIG_IsOK(ecode3
)) {
17763 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawArc" "', expected argument " "3"" of type '" "int""'");
17765 arg3
= static_cast< int >(val3
);
17766 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17767 if (!SWIG_IsOK(ecode4
)) {
17768 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawArc" "', expected argument " "4"" of type '" "int""'");
17770 arg4
= static_cast< int >(val4
);
17771 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17772 if (!SWIG_IsOK(ecode5
)) {
17773 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawArc" "', expected argument " "5"" of type '" "int""'");
17775 arg5
= static_cast< int >(val5
);
17776 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
17777 if (!SWIG_IsOK(ecode6
)) {
17778 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawArc" "', expected argument " "6"" of type '" "int""'");
17780 arg6
= static_cast< int >(val6
);
17781 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
17782 if (!SWIG_IsOK(ecode7
)) {
17783 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawArc" "', expected argument " "7"" of type '" "int""'");
17785 arg7
= static_cast< int >(val7
);
17787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17788 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
17789 wxPyEndAllowThreads(__tstate
);
17790 if (PyErr_Occurred()) SWIG_fail
;
17792 resultobj
= SWIG_Py_Void();
17799 SWIGINTERN PyObject
*_wrap_DC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17800 PyObject
*resultobj
= 0;
17801 wxDC
*arg1
= (wxDC
*) 0 ;
17802 wxPoint
*arg2
= 0 ;
17803 wxPoint
*arg3
= 0 ;
17804 wxPoint
*arg4
= 0 ;
17810 PyObject
* obj0
= 0 ;
17811 PyObject
* obj1
= 0 ;
17812 PyObject
* obj2
= 0 ;
17813 PyObject
* obj3
= 0 ;
17814 char * kwnames
[] = {
17815 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
17818 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17819 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17820 if (!SWIG_IsOK(res1
)) {
17821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArcPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17823 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17826 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17830 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17834 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17838 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
17839 wxPyEndAllowThreads(__tstate
);
17840 if (PyErr_Occurred()) SWIG_fail
;
17842 resultobj
= SWIG_Py_Void();
17849 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17850 PyObject
*resultobj
= 0;
17851 wxDC
*arg1
= (wxDC
*) 0 ;
17866 PyObject
* obj0
= 0 ;
17867 PyObject
* obj1
= 0 ;
17868 PyObject
* obj2
= 0 ;
17869 PyObject
* obj3
= 0 ;
17870 PyObject
* obj4
= 0 ;
17871 char * kwnames
[] = {
17872 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
17875 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17876 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17877 if (!SWIG_IsOK(res1
)) {
17878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMark" "', expected argument " "1"" of type '" "wxDC *""'");
17880 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17881 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17882 if (!SWIG_IsOK(ecode2
)) {
17883 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
17885 arg2
= static_cast< int >(val2
);
17886 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17887 if (!SWIG_IsOK(ecode3
)) {
17888 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
17890 arg3
= static_cast< int >(val3
);
17891 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17892 if (!SWIG_IsOK(ecode4
)) {
17893 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
17895 arg4
= static_cast< int >(val4
);
17896 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17897 if (!SWIG_IsOK(ecode5
)) {
17898 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
17900 arg5
= static_cast< int >(val5
);
17902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17903 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
17904 wxPyEndAllowThreads(__tstate
);
17905 if (PyErr_Occurred()) SWIG_fail
;
17907 resultobj
= SWIG_Py_Void();
17914 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17915 PyObject
*resultobj
= 0;
17916 wxDC
*arg1
= (wxDC
*) 0 ;
17921 PyObject
* obj0
= 0 ;
17922 PyObject
* obj1
= 0 ;
17923 char * kwnames
[] = {
17924 (char *) "self",(char *) "rect", NULL
17927 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17928 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17929 if (!SWIG_IsOK(res1
)) {
17930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxDC *""'");
17932 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17935 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17939 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
17940 wxPyEndAllowThreads(__tstate
);
17941 if (PyErr_Occurred()) SWIG_fail
;
17943 resultobj
= SWIG_Py_Void();
17950 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17951 PyObject
*resultobj
= 0;
17952 wxDC
*arg1
= (wxDC
*) 0 ;
17973 PyObject
* obj0
= 0 ;
17974 PyObject
* obj1
= 0 ;
17975 PyObject
* obj2
= 0 ;
17976 PyObject
* obj3
= 0 ;
17977 PyObject
* obj4
= 0 ;
17978 PyObject
* obj5
= 0 ;
17979 PyObject
* obj6
= 0 ;
17980 char * kwnames
[] = {
17981 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
17984 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
17985 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17986 if (!SWIG_IsOK(res1
)) {
17987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxDC *""'");
17989 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17990 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17991 if (!SWIG_IsOK(ecode2
)) {
17992 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
17994 arg2
= static_cast< int >(val2
);
17995 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17996 if (!SWIG_IsOK(ecode3
)) {
17997 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
17999 arg3
= static_cast< int >(val3
);
18000 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18001 if (!SWIG_IsOK(ecode4
)) {
18002 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
18004 arg4
= static_cast< int >(val4
);
18005 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18006 if (!SWIG_IsOK(ecode5
)) {
18007 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
18009 arg5
= static_cast< int >(val5
);
18010 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
18011 if (!SWIG_IsOK(ecode6
)) {
18012 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
18014 arg6
= static_cast< double >(val6
);
18015 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
18016 if (!SWIG_IsOK(ecode7
)) {
18017 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
18019 arg7
= static_cast< double >(val7
);
18021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18022 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18023 wxPyEndAllowThreads(__tstate
);
18024 if (PyErr_Occurred()) SWIG_fail
;
18026 resultobj
= SWIG_Py_Void();
18033 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18034 PyObject
*resultobj
= 0;
18035 wxDC
*arg1
= (wxDC
*) 0 ;
18036 wxPoint
*arg2
= 0 ;
18048 PyObject
* obj0
= 0 ;
18049 PyObject
* obj1
= 0 ;
18050 PyObject
* obj2
= 0 ;
18051 PyObject
* obj3
= 0 ;
18052 PyObject
* obj4
= 0 ;
18053 char * kwnames
[] = {
18054 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
18057 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18058 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18059 if (!SWIG_IsOK(res1
)) {
18060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18062 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18065 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18069 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18071 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
18072 if (!SWIG_IsOK(ecode4
)) {
18073 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
18075 arg4
= static_cast< double >(val4
);
18076 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
18077 if (!SWIG_IsOK(ecode5
)) {
18078 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
18080 arg5
= static_cast< double >(val5
);
18082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18083 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
18084 wxPyEndAllowThreads(__tstate
);
18085 if (PyErr_Occurred()) SWIG_fail
;
18087 resultobj
= SWIG_Py_Void();
18094 SWIGINTERN PyObject
*_wrap_DC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18095 PyObject
*resultobj
= 0;
18096 wxDC
*arg1
= (wxDC
*) 0 ;
18105 PyObject
* obj0
= 0 ;
18106 PyObject
* obj1
= 0 ;
18107 PyObject
* obj2
= 0 ;
18108 char * kwnames
[] = {
18109 (char *) "self",(char *) "x",(char *) "y", NULL
18112 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18113 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18114 if (!SWIG_IsOK(res1
)) {
18115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18117 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18118 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18119 if (!SWIG_IsOK(ecode2
)) {
18120 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
18122 arg2
= static_cast< int >(val2
);
18123 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18124 if (!SWIG_IsOK(ecode3
)) {
18125 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
18127 arg3
= static_cast< int >(val3
);
18129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18130 (arg1
)->DrawPoint(arg2
,arg3
);
18131 wxPyEndAllowThreads(__tstate
);
18132 if (PyErr_Occurred()) SWIG_fail
;
18134 resultobj
= SWIG_Py_Void();
18141 SWIGINTERN PyObject
*_wrap_DC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18142 PyObject
*resultobj
= 0;
18143 wxDC
*arg1
= (wxDC
*) 0 ;
18144 wxPoint
*arg2
= 0 ;
18148 PyObject
* obj0
= 0 ;
18149 PyObject
* obj1
= 0 ;
18150 char * kwnames
[] = {
18151 (char *) "self",(char *) "pt", NULL
18154 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18155 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18156 if (!SWIG_IsOK(res1
)) {
18157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPointPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18159 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18162 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18166 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
18167 wxPyEndAllowThreads(__tstate
);
18168 if (PyErr_Occurred()) SWIG_fail
;
18170 resultobj
= SWIG_Py_Void();
18177 SWIGINTERN PyObject
*_wrap_DC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18178 PyObject
*resultobj
= 0;
18179 wxDC
*arg1
= (wxDC
*) 0 ;
18194 PyObject
* obj0
= 0 ;
18195 PyObject
* obj1
= 0 ;
18196 PyObject
* obj2
= 0 ;
18197 PyObject
* obj3
= 0 ;
18198 PyObject
* obj4
= 0 ;
18199 char * kwnames
[] = {
18200 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18203 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18204 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18205 if (!SWIG_IsOK(res1
)) {
18206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
18208 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18209 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18210 if (!SWIG_IsOK(ecode2
)) {
18211 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
18213 arg2
= static_cast< int >(val2
);
18214 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18215 if (!SWIG_IsOK(ecode3
)) {
18216 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
18218 arg3
= static_cast< int >(val3
);
18219 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18220 if (!SWIG_IsOK(ecode4
)) {
18221 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
18223 arg4
= static_cast< int >(val4
);
18224 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18225 if (!SWIG_IsOK(ecode5
)) {
18226 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
18228 arg5
= static_cast< int >(val5
);
18230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18231 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
18232 wxPyEndAllowThreads(__tstate
);
18233 if (PyErr_Occurred()) SWIG_fail
;
18235 resultobj
= SWIG_Py_Void();
18242 SWIGINTERN PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18243 PyObject
*resultobj
= 0;
18244 wxDC
*arg1
= (wxDC
*) 0 ;
18249 PyObject
* obj0
= 0 ;
18250 PyObject
* obj1
= 0 ;
18251 char * kwnames
[] = {
18252 (char *) "self",(char *) "rect", NULL
18255 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18256 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18257 if (!SWIG_IsOK(res1
)) {
18258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
18260 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18263 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18267 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
18268 wxPyEndAllowThreads(__tstate
);
18269 if (PyErr_Occurred()) SWIG_fail
;
18271 resultobj
= SWIG_Py_Void();
18278 SWIGINTERN PyObject
*_wrap_DC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18279 PyObject
*resultobj
= 0;
18280 wxDC
*arg1
= (wxDC
*) 0 ;
18281 wxPoint
*arg2
= 0 ;
18287 PyObject
* obj0
= 0 ;
18288 PyObject
* obj1
= 0 ;
18289 PyObject
* obj2
= 0 ;
18290 char * kwnames
[] = {
18291 (char *) "self",(char *) "pt",(char *) "sz", NULL
18294 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) 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_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18299 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18302 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18306 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18310 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
18311 wxPyEndAllowThreads(__tstate
);
18312 if (PyErr_Occurred()) SWIG_fail
;
18314 resultobj
= SWIG_Py_Void();
18321 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18322 PyObject
*resultobj
= 0;
18323 wxDC
*arg1
= (wxDC
*) 0 ;
18341 PyObject
* obj0
= 0 ;
18342 PyObject
* obj1
= 0 ;
18343 PyObject
* obj2
= 0 ;
18344 PyObject
* obj3
= 0 ;
18345 PyObject
* obj4
= 0 ;
18346 PyObject
* obj5
= 0 ;
18347 char * kwnames
[] = {
18348 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
18351 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18352 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18353 if (!SWIG_IsOK(res1
)) {
18354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
18356 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18357 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18358 if (!SWIG_IsOK(ecode2
)) {
18359 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
18361 arg2
= static_cast< int >(val2
);
18362 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18363 if (!SWIG_IsOK(ecode3
)) {
18364 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
18366 arg3
= static_cast< int >(val3
);
18367 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18368 if (!SWIG_IsOK(ecode4
)) {
18369 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
18371 arg4
= static_cast< int >(val4
);
18372 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18373 if (!SWIG_IsOK(ecode5
)) {
18374 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
18376 arg5
= static_cast< int >(val5
);
18377 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
18378 if (!SWIG_IsOK(ecode6
)) {
18379 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
18381 arg6
= static_cast< double >(val6
);
18383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18384 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
18385 wxPyEndAllowThreads(__tstate
);
18386 if (PyErr_Occurred()) SWIG_fail
;
18388 resultobj
= SWIG_Py_Void();
18395 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18396 PyObject
*resultobj
= 0;
18397 wxDC
*arg1
= (wxDC
*) 0 ;
18405 PyObject
* obj0
= 0 ;
18406 PyObject
* obj1
= 0 ;
18407 PyObject
* obj2
= 0 ;
18408 char * kwnames
[] = {
18409 (char *) "self",(char *) "r",(char *) "radius", NULL
18412 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18413 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18414 if (!SWIG_IsOK(res1
)) {
18415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
18417 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18420 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18422 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
18423 if (!SWIG_IsOK(ecode3
)) {
18424 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
18426 arg3
= static_cast< double >(val3
);
18428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18429 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
18430 wxPyEndAllowThreads(__tstate
);
18431 if (PyErr_Occurred()) SWIG_fail
;
18433 resultobj
= SWIG_Py_Void();
18440 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18441 PyObject
*resultobj
= 0;
18442 wxDC
*arg1
= (wxDC
*) 0 ;
18443 wxPoint
*arg2
= 0 ;
18452 PyObject
* obj0
= 0 ;
18453 PyObject
* obj1
= 0 ;
18454 PyObject
* obj2
= 0 ;
18455 PyObject
* obj3
= 0 ;
18456 char * kwnames
[] = {
18457 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
18460 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18461 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18462 if (!SWIG_IsOK(res1
)) {
18463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18465 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18468 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18472 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18474 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
18475 if (!SWIG_IsOK(ecode4
)) {
18476 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
18478 arg4
= static_cast< double >(val4
);
18480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18481 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
18482 wxPyEndAllowThreads(__tstate
);
18483 if (PyErr_Occurred()) SWIG_fail
;
18485 resultobj
= SWIG_Py_Void();
18492 SWIGINTERN PyObject
*_wrap_DC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18493 PyObject
*resultobj
= 0;
18494 wxDC
*arg1
= (wxDC
*) 0 ;
18506 PyObject
* obj0
= 0 ;
18507 PyObject
* obj1
= 0 ;
18508 PyObject
* obj2
= 0 ;
18509 PyObject
* obj3
= 0 ;
18510 char * kwnames
[] = {
18511 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
18514 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18515 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18516 if (!SWIG_IsOK(res1
)) {
18517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCircle" "', expected argument " "1"" of type '" "wxDC *""'");
18519 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18520 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18521 if (!SWIG_IsOK(ecode2
)) {
18522 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
18524 arg2
= static_cast< int >(val2
);
18525 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18526 if (!SWIG_IsOK(ecode3
)) {
18527 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
18529 arg3
= static_cast< int >(val3
);
18530 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18531 if (!SWIG_IsOK(ecode4
)) {
18532 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
18534 arg4
= static_cast< int >(val4
);
18536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18537 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
18538 wxPyEndAllowThreads(__tstate
);
18539 if (PyErr_Occurred()) SWIG_fail
;
18541 resultobj
= SWIG_Py_Void();
18548 SWIGINTERN PyObject
*_wrap_DC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18549 PyObject
*resultobj
= 0;
18550 wxDC
*arg1
= (wxDC
*) 0 ;
18551 wxPoint
*arg2
= 0 ;
18558 PyObject
* obj0
= 0 ;
18559 PyObject
* obj1
= 0 ;
18560 PyObject
* obj2
= 0 ;
18561 char * kwnames
[] = {
18562 (char *) "self",(char *) "pt",(char *) "radius", NULL
18565 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18566 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18567 if (!SWIG_IsOK(res1
)) {
18568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxDC *""'");
18570 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18573 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18575 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18576 if (!SWIG_IsOK(ecode3
)) {
18577 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
18579 arg3
= static_cast< int >(val3
);
18581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18582 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
18583 wxPyEndAllowThreads(__tstate
);
18584 if (PyErr_Occurred()) SWIG_fail
;
18586 resultobj
= SWIG_Py_Void();
18593 SWIGINTERN PyObject
*_wrap_DC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18594 PyObject
*resultobj
= 0;
18595 wxDC
*arg1
= (wxDC
*) 0 ;
18610 PyObject
* obj0
= 0 ;
18611 PyObject
* obj1
= 0 ;
18612 PyObject
* obj2
= 0 ;
18613 PyObject
* obj3
= 0 ;
18614 PyObject
* obj4
= 0 ;
18615 char * kwnames
[] = {
18616 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18619 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18620 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18621 if (!SWIG_IsOK(res1
)) {
18622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipse" "', expected argument " "1"" of type '" "wxDC *""'");
18624 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18625 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18626 if (!SWIG_IsOK(ecode2
)) {
18627 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
18629 arg2
= static_cast< int >(val2
);
18630 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18631 if (!SWIG_IsOK(ecode3
)) {
18632 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
18634 arg3
= static_cast< int >(val3
);
18635 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18636 if (!SWIG_IsOK(ecode4
)) {
18637 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
18639 arg4
= static_cast< int >(val4
);
18640 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18641 if (!SWIG_IsOK(ecode5
)) {
18642 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
18644 arg5
= static_cast< int >(val5
);
18646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18647 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
18648 wxPyEndAllowThreads(__tstate
);
18649 if (PyErr_Occurred()) SWIG_fail
;
18651 resultobj
= SWIG_Py_Void();
18658 SWIGINTERN PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18659 PyObject
*resultobj
= 0;
18660 wxDC
*arg1
= (wxDC
*) 0 ;
18665 PyObject
* obj0
= 0 ;
18666 PyObject
* obj1
= 0 ;
18667 char * kwnames
[] = {
18668 (char *) "self",(char *) "rect", NULL
18671 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18672 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18673 if (!SWIG_IsOK(res1
)) {
18674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxDC *""'");
18676 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18679 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18683 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
18684 wxPyEndAllowThreads(__tstate
);
18685 if (PyErr_Occurred()) SWIG_fail
;
18687 resultobj
= SWIG_Py_Void();
18694 SWIGINTERN PyObject
*_wrap_DC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18695 PyObject
*resultobj
= 0;
18696 wxDC
*arg1
= (wxDC
*) 0 ;
18697 wxPoint
*arg2
= 0 ;
18703 PyObject
* obj0
= 0 ;
18704 PyObject
* obj1
= 0 ;
18705 PyObject
* obj2
= 0 ;
18706 char * kwnames
[] = {
18707 (char *) "self",(char *) "pt",(char *) "sz", NULL
18710 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) 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_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18715 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18718 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18722 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18726 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
18727 wxPyEndAllowThreads(__tstate
);
18728 if (PyErr_Occurred()) SWIG_fail
;
18730 resultobj
= SWIG_Py_Void();
18737 SWIGINTERN PyObject
*_wrap_DC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18738 PyObject
*resultobj
= 0;
18739 wxDC
*arg1
= (wxDC
*) 0 ;
18751 PyObject
* obj0
= 0 ;
18752 PyObject
* obj1
= 0 ;
18753 PyObject
* obj2
= 0 ;
18754 PyObject
* obj3
= 0 ;
18755 char * kwnames
[] = {
18756 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
18759 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18760 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18761 if (!SWIG_IsOK(res1
)) {
18762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIcon" "', expected argument " "1"" of type '" "wxDC *""'");
18764 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18765 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
18766 if (!SWIG_IsOK(res2
)) {
18767 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
18770 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
18772 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
18773 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18774 if (!SWIG_IsOK(ecode3
)) {
18775 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
18777 arg3
= static_cast< int >(val3
);
18778 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18779 if (!SWIG_IsOK(ecode4
)) {
18780 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
18782 arg4
= static_cast< int >(val4
);
18784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18785 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
18786 wxPyEndAllowThreads(__tstate
);
18787 if (PyErr_Occurred()) SWIG_fail
;
18789 resultobj
= SWIG_Py_Void();
18796 SWIGINTERN PyObject
*_wrap_DC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18797 PyObject
*resultobj
= 0;
18798 wxDC
*arg1
= (wxDC
*) 0 ;
18800 wxPoint
*arg3
= 0 ;
18806 PyObject
* obj0
= 0 ;
18807 PyObject
* obj1
= 0 ;
18808 PyObject
* obj2
= 0 ;
18809 char * kwnames
[] = {
18810 (char *) "self",(char *) "icon",(char *) "pt", NULL
18813 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18814 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18815 if (!SWIG_IsOK(res1
)) {
18816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIconPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18818 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18819 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
18820 if (!SWIG_IsOK(res2
)) {
18821 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
18824 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
18826 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
18829 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18833 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
18834 wxPyEndAllowThreads(__tstate
);
18835 if (PyErr_Occurred()) SWIG_fail
;
18837 resultobj
= SWIG_Py_Void();
18844 SWIGINTERN PyObject
*_wrap_DC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18845 PyObject
*resultobj
= 0;
18846 wxDC
*arg1
= (wxDC
*) 0 ;
18847 wxBitmap
*arg2
= 0 ;
18850 bool arg5
= (bool) false ;
18861 PyObject
* obj0
= 0 ;
18862 PyObject
* obj1
= 0 ;
18863 PyObject
* obj2
= 0 ;
18864 PyObject
* obj3
= 0 ;
18865 PyObject
* obj4
= 0 ;
18866 char * kwnames
[] = {
18867 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
18870 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18871 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18872 if (!SWIG_IsOK(res1
)) {
18873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmap" "', expected argument " "1"" of type '" "wxDC *""'");
18875 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18876 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
18877 if (!SWIG_IsOK(res2
)) {
18878 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
18881 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
18883 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
18884 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18885 if (!SWIG_IsOK(ecode3
)) {
18886 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
18888 arg3
= static_cast< int >(val3
);
18889 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18890 if (!SWIG_IsOK(ecode4
)) {
18891 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
18893 arg4
= static_cast< int >(val4
);
18895 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
18896 if (!SWIG_IsOK(ecode5
)) {
18897 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
18899 arg5
= static_cast< bool >(val5
);
18902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18903 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
18904 wxPyEndAllowThreads(__tstate
);
18905 if (PyErr_Occurred()) SWIG_fail
;
18907 resultobj
= SWIG_Py_Void();
18914 SWIGINTERN PyObject
*_wrap_DC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18915 PyObject
*resultobj
= 0;
18916 wxDC
*arg1
= (wxDC
*) 0 ;
18917 wxBitmap
*arg2
= 0 ;
18918 wxPoint
*arg3
= 0 ;
18919 bool arg4
= (bool) false ;
18927 PyObject
* obj0
= 0 ;
18928 PyObject
* obj1
= 0 ;
18929 PyObject
* obj2
= 0 ;
18930 PyObject
* obj3
= 0 ;
18931 char * kwnames
[] = {
18932 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
18935 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18936 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18937 if (!SWIG_IsOK(res1
)) {
18938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18940 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18941 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
18942 if (!SWIG_IsOK(res2
)) {
18943 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
18946 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
18948 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
18951 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18954 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
18955 if (!SWIG_IsOK(ecode4
)) {
18956 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
18958 arg4
= static_cast< bool >(val4
);
18961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18962 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
18963 wxPyEndAllowThreads(__tstate
);
18964 if (PyErr_Occurred()) SWIG_fail
;
18966 resultobj
= SWIG_Py_Void();
18973 SWIGINTERN PyObject
*_wrap_DC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18974 PyObject
*resultobj
= 0;
18975 wxDC
*arg1
= (wxDC
*) 0 ;
18976 wxString
*arg2
= 0 ;
18981 bool temp2
= false ;
18986 PyObject
* obj0
= 0 ;
18987 PyObject
* obj1
= 0 ;
18988 PyObject
* obj2
= 0 ;
18989 PyObject
* obj3
= 0 ;
18990 char * kwnames
[] = {
18991 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
18994 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18995 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18996 if (!SWIG_IsOK(res1
)) {
18997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawText" "', expected argument " "1"" of type '" "wxDC *""'");
18999 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19001 arg2
= wxString_in_helper(obj1
);
19002 if (arg2
== NULL
) SWIG_fail
;
19005 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19006 if (!SWIG_IsOK(ecode3
)) {
19007 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawText" "', expected argument " "3"" of type '" "int""'");
19009 arg3
= static_cast< int >(val3
);
19010 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19011 if (!SWIG_IsOK(ecode4
)) {
19012 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawText" "', expected argument " "4"" of type '" "int""'");
19014 arg4
= static_cast< int >(val4
);
19016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19017 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
19018 wxPyEndAllowThreads(__tstate
);
19019 if (PyErr_Occurred()) SWIG_fail
;
19021 resultobj
= SWIG_Py_Void();
19036 SWIGINTERN PyObject
*_wrap_DC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19037 PyObject
*resultobj
= 0;
19038 wxDC
*arg1
= (wxDC
*) 0 ;
19039 wxString
*arg2
= 0 ;
19040 wxPoint
*arg3
= 0 ;
19043 bool temp2
= false ;
19045 PyObject
* obj0
= 0 ;
19046 PyObject
* obj1
= 0 ;
19047 PyObject
* obj2
= 0 ;
19048 char * kwnames
[] = {
19049 (char *) "self",(char *) "text",(char *) "pt", NULL
19052 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19053 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19054 if (!SWIG_IsOK(res1
)) {
19055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19057 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19059 arg2
= wxString_in_helper(obj1
);
19060 if (arg2
== NULL
) SWIG_fail
;
19065 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19069 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
19070 wxPyEndAllowThreads(__tstate
);
19071 if (PyErr_Occurred()) SWIG_fail
;
19073 resultobj
= SWIG_Py_Void();
19088 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19089 PyObject
*resultobj
= 0;
19090 wxDC
*arg1
= (wxDC
*) 0 ;
19091 wxString
*arg2
= 0 ;
19097 bool temp2
= false ;
19104 PyObject
* obj0
= 0 ;
19105 PyObject
* obj1
= 0 ;
19106 PyObject
* obj2
= 0 ;
19107 PyObject
* obj3
= 0 ;
19108 PyObject
* obj4
= 0 ;
19109 char * kwnames
[] = {
19110 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
19113 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19114 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19115 if (!SWIG_IsOK(res1
)) {
19116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedText" "', expected argument " "1"" of type '" "wxDC *""'");
19118 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19120 arg2
= wxString_in_helper(obj1
);
19121 if (arg2
== NULL
) SWIG_fail
;
19124 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19125 if (!SWIG_IsOK(ecode3
)) {
19126 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
19128 arg3
= static_cast< int >(val3
);
19129 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19130 if (!SWIG_IsOK(ecode4
)) {
19131 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
19133 arg4
= static_cast< int >(val4
);
19134 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
19135 if (!SWIG_IsOK(ecode5
)) {
19136 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
19138 arg5
= static_cast< double >(val5
);
19140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19141 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
19142 wxPyEndAllowThreads(__tstate
);
19143 if (PyErr_Occurred()) SWIG_fail
;
19145 resultobj
= SWIG_Py_Void();
19160 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19161 PyObject
*resultobj
= 0;
19162 wxDC
*arg1
= (wxDC
*) 0 ;
19163 wxString
*arg2
= 0 ;
19164 wxPoint
*arg3
= 0 ;
19168 bool temp2
= false ;
19172 PyObject
* obj0
= 0 ;
19173 PyObject
* obj1
= 0 ;
19174 PyObject
* obj2
= 0 ;
19175 PyObject
* obj3
= 0 ;
19176 char * kwnames
[] = {
19177 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
19180 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19181 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19182 if (!SWIG_IsOK(res1
)) {
19183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19185 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19187 arg2
= wxString_in_helper(obj1
);
19188 if (arg2
== NULL
) SWIG_fail
;
19193 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19195 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
19196 if (!SWIG_IsOK(ecode4
)) {
19197 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
19199 arg4
= static_cast< double >(val4
);
19201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19202 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
19203 wxPyEndAllowThreads(__tstate
);
19204 if (PyErr_Occurred()) SWIG_fail
;
19206 resultobj
= SWIG_Py_Void();
19221 SWIGINTERN PyObject
*_wrap_DC_Blit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19222 PyObject
*resultobj
= 0;
19223 wxDC
*arg1
= (wxDC
*) 0 ;
19228 wxDC
*arg6
= (wxDC
*) 0 ;
19231 int arg9
= (int) wxCOPY
;
19232 bool arg10
= (bool) false ;
19233 int arg11
= (int) -1 ;
19234 int arg12
= (int) -1 ;
19260 PyObject
* obj0
= 0 ;
19261 PyObject
* obj1
= 0 ;
19262 PyObject
* obj2
= 0 ;
19263 PyObject
* obj3
= 0 ;
19264 PyObject
* obj4
= 0 ;
19265 PyObject
* obj5
= 0 ;
19266 PyObject
* obj6
= 0 ;
19267 PyObject
* obj7
= 0 ;
19268 PyObject
* obj8
= 0 ;
19269 PyObject
* obj9
= 0 ;
19270 PyObject
* obj10
= 0 ;
19271 PyObject
* obj11
= 0 ;
19272 char * kwnames
[] = {
19273 (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
19276 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
;
19277 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19278 if (!SWIG_IsOK(res1
)) {
19279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Blit" "', expected argument " "1"" of type '" "wxDC *""'");
19281 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19282 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19283 if (!SWIG_IsOK(ecode2
)) {
19284 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_Blit" "', expected argument " "2"" of type '" "int""'");
19286 arg2
= static_cast< int >(val2
);
19287 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19288 if (!SWIG_IsOK(ecode3
)) {
19289 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_Blit" "', expected argument " "3"" of type '" "int""'");
19291 arg3
= static_cast< int >(val3
);
19292 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19293 if (!SWIG_IsOK(ecode4
)) {
19294 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_Blit" "', expected argument " "4"" of type '" "int""'");
19296 arg4
= static_cast< int >(val4
);
19297 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19298 if (!SWIG_IsOK(ecode5
)) {
19299 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_Blit" "', expected argument " "5"" of type '" "int""'");
19301 arg5
= static_cast< int >(val5
);
19302 res6
= SWIG_ConvertPtr(obj5
, &argp6
,SWIGTYPE_p_wxDC
, 0 | 0 );
19303 if (!SWIG_IsOK(res6
)) {
19304 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_Blit" "', expected argument " "6"" of type '" "wxDC *""'");
19306 arg6
= reinterpret_cast< wxDC
* >(argp6
);
19307 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
19308 if (!SWIG_IsOK(ecode7
)) {
19309 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_Blit" "', expected argument " "7"" of type '" "int""'");
19311 arg7
= static_cast< int >(val7
);
19312 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
19313 if (!SWIG_IsOK(ecode8
)) {
19314 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DC_Blit" "', expected argument " "8"" of type '" "int""'");
19316 arg8
= static_cast< int >(val8
);
19318 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
19319 if (!SWIG_IsOK(ecode9
)) {
19320 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "DC_Blit" "', expected argument " "9"" of type '" "int""'");
19322 arg9
= static_cast< int >(val9
);
19325 ecode10
= SWIG_AsVal_bool(obj9
, &val10
);
19326 if (!SWIG_IsOK(ecode10
)) {
19327 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "DC_Blit" "', expected argument " "10"" of type '" "bool""'");
19329 arg10
= static_cast< bool >(val10
);
19332 ecode11
= SWIG_AsVal_int(obj10
, &val11
);
19333 if (!SWIG_IsOK(ecode11
)) {
19334 SWIG_exception_fail(SWIG_ArgError(ecode11
), "in method '" "DC_Blit" "', expected argument " "11"" of type '" "int""'");
19336 arg11
= static_cast< int >(val11
);
19339 ecode12
= SWIG_AsVal_int(obj11
, &val12
);
19340 if (!SWIG_IsOK(ecode12
)) {
19341 SWIG_exception_fail(SWIG_ArgError(ecode12
), "in method '" "DC_Blit" "', expected argument " "12"" of type '" "int""'");
19343 arg12
= static_cast< int >(val12
);
19346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19347 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
19348 wxPyEndAllowThreads(__tstate
);
19349 if (PyErr_Occurred()) SWIG_fail
;
19352 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19360 SWIGINTERN PyObject
*_wrap_DC_BlitPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19361 PyObject
*resultobj
= 0;
19362 wxDC
*arg1
= (wxDC
*) 0 ;
19363 wxPoint
*arg2
= 0 ;
19365 wxDC
*arg4
= (wxDC
*) 0 ;
19366 wxPoint
*arg5
= 0 ;
19367 int arg6
= (int) wxCOPY
;
19368 bool arg7
= (bool) false ;
19369 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
19370 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
19384 PyObject
* obj0
= 0 ;
19385 PyObject
* obj1
= 0 ;
19386 PyObject
* obj2
= 0 ;
19387 PyObject
* obj3
= 0 ;
19388 PyObject
* obj4
= 0 ;
19389 PyObject
* obj5
= 0 ;
19390 PyObject
* obj6
= 0 ;
19391 PyObject
* obj7
= 0 ;
19392 char * kwnames
[] = {
19393 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
19396 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
19397 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19398 if (!SWIG_IsOK(res1
)) {
19399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_BlitPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19401 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19404 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19408 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19410 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxDC
, 0 | 0 );
19411 if (!SWIG_IsOK(res4
)) {
19412 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DC_BlitPointSize" "', expected argument " "4"" of type '" "wxDC *""'");
19414 arg4
= reinterpret_cast< wxDC
* >(argp4
);
19417 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
19420 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
19421 if (!SWIG_IsOK(ecode6
)) {
19422 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_BlitPointSize" "', expected argument " "6"" of type '" "int""'");
19424 arg6
= static_cast< int >(val6
);
19427 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
19428 if (!SWIG_IsOK(ecode7
)) {
19429 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_BlitPointSize" "', expected argument " "7"" of type '" "bool""'");
19431 arg7
= static_cast< bool >(val7
);
19436 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
19440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19441 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
19442 wxPyEndAllowThreads(__tstate
);
19443 if (PyErr_Occurred()) SWIG_fail
;
19446 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19454 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19455 PyObject
*resultobj
= 0;
19456 wxDC
*arg1
= (wxDC
*) 0 ;
19471 PyObject
* obj0
= 0 ;
19472 PyObject
* obj1
= 0 ;
19473 PyObject
* obj2
= 0 ;
19474 PyObject
* obj3
= 0 ;
19475 PyObject
* obj4
= 0 ;
19476 char * kwnames
[] = {
19477 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19480 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19481 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19482 if (!SWIG_IsOK(res1
)) {
19483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
19485 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19486 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19487 if (!SWIG_IsOK(ecode2
)) {
19488 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetClippingRegion" "', expected argument " "2"" of type '" "int""'");
19490 arg2
= static_cast< int >(val2
);
19491 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19492 if (!SWIG_IsOK(ecode3
)) {
19493 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetClippingRegion" "', expected argument " "3"" of type '" "int""'");
19495 arg3
= static_cast< int >(val3
);
19496 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19497 if (!SWIG_IsOK(ecode4
)) {
19498 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_SetClippingRegion" "', expected argument " "4"" of type '" "int""'");
19500 arg4
= static_cast< int >(val4
);
19501 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19502 if (!SWIG_IsOK(ecode5
)) {
19503 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_SetClippingRegion" "', expected argument " "5"" of type '" "int""'");
19505 arg5
= static_cast< int >(val5
);
19507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19508 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
19509 wxPyEndAllowThreads(__tstate
);
19510 if (PyErr_Occurred()) SWIG_fail
;
19512 resultobj
= SWIG_Py_Void();
19519 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19520 PyObject
*resultobj
= 0;
19521 wxDC
*arg1
= (wxDC
*) 0 ;
19522 wxPoint
*arg2
= 0 ;
19528 PyObject
* obj0
= 0 ;
19529 PyObject
* obj1
= 0 ;
19530 PyObject
* obj2
= 0 ;
19531 char * kwnames
[] = {
19532 (char *) "self",(char *) "pt",(char *) "sz", NULL
19535 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19536 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19537 if (!SWIG_IsOK(res1
)) {
19538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19540 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19543 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19547 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19551 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
19552 wxPyEndAllowThreads(__tstate
);
19553 if (PyErr_Occurred()) SWIG_fail
;
19555 resultobj
= SWIG_Py_Void();
19562 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19563 PyObject
*resultobj
= 0;
19564 wxDC
*arg1
= (wxDC
*) 0 ;
19565 wxRegion
*arg2
= 0 ;
19570 PyObject
* obj0
= 0 ;
19571 PyObject
* obj1
= 0 ;
19572 char * kwnames
[] = {
19573 (char *) "self",(char *) "region", NULL
19576 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19577 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19578 if (!SWIG_IsOK(res1
)) {
19579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "1"" of type '" "wxDC *""'");
19581 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19582 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
19583 if (!SWIG_IsOK(res2
)) {
19584 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
19587 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
19589 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
19591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19592 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
19593 wxPyEndAllowThreads(__tstate
);
19594 if (PyErr_Occurred()) SWIG_fail
;
19596 resultobj
= SWIG_Py_Void();
19603 SWIGINTERN PyObject
*_wrap_DC_SetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19604 PyObject
*resultobj
= 0;
19605 wxDC
*arg1
= (wxDC
*) 0 ;
19610 PyObject
* obj0
= 0 ;
19611 PyObject
* obj1
= 0 ;
19612 char * kwnames
[] = {
19613 (char *) "self",(char *) "rect", NULL
19616 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19617 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19618 if (!SWIG_IsOK(res1
)) {
19619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
19621 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19624 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19628 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
19629 wxPyEndAllowThreads(__tstate
);
19630 if (PyErr_Occurred()) SWIG_fail
;
19632 resultobj
= SWIG_Py_Void();
19639 SWIGINTERN PyObject
*_wrap_DC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19640 PyObject
*resultobj
= 0;
19641 wxDC
*arg1
= (wxDC
*) 0 ;
19643 wxPoint
*arg3
= (wxPoint
*) 0 ;
19644 int arg4
= (int) 0 ;
19645 int arg5
= (int) 0 ;
19652 PyObject
* obj0
= 0 ;
19653 PyObject
* obj1
= 0 ;
19654 PyObject
* obj2
= 0 ;
19655 PyObject
* obj3
= 0 ;
19656 char * kwnames
[] = {
19657 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
19660 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19661 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19662 if (!SWIG_IsOK(res1
)) {
19663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLines" "', expected argument " "1"" of type '" "wxDC *""'");
19665 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19667 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
19668 if (arg3
== NULL
) SWIG_fail
;
19671 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
19672 if (!SWIG_IsOK(ecode4
)) {
19673 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLines" "', expected argument " "4"" of type '" "int""'");
19675 arg4
= static_cast< int >(val4
);
19678 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
19679 if (!SWIG_IsOK(ecode5
)) {
19680 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLines" "', expected argument " "5"" of type '" "int""'");
19682 arg5
= static_cast< int >(val5
);
19685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19686 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
19687 wxPyEndAllowThreads(__tstate
);
19688 if (PyErr_Occurred()) SWIG_fail
;
19690 resultobj
= SWIG_Py_Void();
19692 if (arg3
) delete [] arg3
;
19697 if (arg3
) delete [] arg3
;
19703 SWIGINTERN PyObject
*_wrap_DC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19704 PyObject
*resultobj
= 0;
19705 wxDC
*arg1
= (wxDC
*) 0 ;
19707 wxPoint
*arg3
= (wxPoint
*) 0 ;
19708 int arg4
= (int) 0 ;
19709 int arg5
= (int) 0 ;
19710 int arg6
= (int) wxODDEVEN_RULE
;
19719 PyObject
* obj0
= 0 ;
19720 PyObject
* obj1
= 0 ;
19721 PyObject
* obj2
= 0 ;
19722 PyObject
* obj3
= 0 ;
19723 PyObject
* obj4
= 0 ;
19724 char * kwnames
[] = {
19725 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
19728 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19729 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19730 if (!SWIG_IsOK(res1
)) {
19731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPolygon" "', expected argument " "1"" of type '" "wxDC *""'");
19733 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19735 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
19736 if (arg3
== NULL
) SWIG_fail
;
19739 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
19740 if (!SWIG_IsOK(ecode4
)) {
19741 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
19743 arg4
= static_cast< int >(val4
);
19746 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
19747 if (!SWIG_IsOK(ecode5
)) {
19748 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
19750 arg5
= static_cast< int >(val5
);
19753 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
19754 if (!SWIG_IsOK(ecode6
)) {
19755 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
19757 arg6
= static_cast< int >(val6
);
19760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19761 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
19762 wxPyEndAllowThreads(__tstate
);
19763 if (PyErr_Occurred()) SWIG_fail
;
19765 resultobj
= SWIG_Py_Void();
19767 if (arg3
) delete [] arg3
;
19772 if (arg3
) delete [] arg3
;
19778 SWIGINTERN PyObject
*_wrap_DC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19779 PyObject
*resultobj
= 0;
19780 wxDC
*arg1
= (wxDC
*) 0 ;
19781 wxString
*arg2
= 0 ;
19783 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
19784 int arg5
= (int) -1 ;
19787 bool temp2
= false ;
19793 PyObject
* obj0
= 0 ;
19794 PyObject
* obj1
= 0 ;
19795 PyObject
* obj2
= 0 ;
19796 PyObject
* obj3
= 0 ;
19797 PyObject
* obj4
= 0 ;
19798 char * kwnames
[] = {
19799 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
19802 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19803 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19804 if (!SWIG_IsOK(res1
)) {
19805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLabel" "', expected argument " "1"" of type '" "wxDC *""'");
19807 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19809 arg2
= wxString_in_helper(obj1
);
19810 if (arg2
== NULL
) SWIG_fail
;
19815 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
19818 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19819 if (!SWIG_IsOK(ecode4
)) {
19820 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
19822 arg4
= static_cast< int >(val4
);
19825 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19826 if (!SWIG_IsOK(ecode5
)) {
19827 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
19829 arg5
= static_cast< int >(val5
);
19832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19833 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
19834 wxPyEndAllowThreads(__tstate
);
19835 if (PyErr_Occurred()) SWIG_fail
;
19837 resultobj
= SWIG_Py_Void();
19852 SWIGINTERN PyObject
*_wrap_DC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19853 PyObject
*resultobj
= 0;
19854 wxDC
*arg1
= (wxDC
*) 0 ;
19855 wxString
*arg2
= 0 ;
19856 wxBitmap
*arg3
= 0 ;
19858 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
19859 int arg6
= (int) -1 ;
19863 bool temp2
= false ;
19871 PyObject
* obj0
= 0 ;
19872 PyObject
* obj1
= 0 ;
19873 PyObject
* obj2
= 0 ;
19874 PyObject
* obj3
= 0 ;
19875 PyObject
* obj4
= 0 ;
19876 PyObject
* obj5
= 0 ;
19877 char * kwnames
[] = {
19878 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
19881 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
19882 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19883 if (!SWIG_IsOK(res1
)) {
19884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawImageLabel" "', expected argument " "1"" of type '" "wxDC *""'");
19886 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19888 arg2
= wxString_in_helper(obj1
);
19889 if (arg2
== NULL
) SWIG_fail
;
19892 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
19893 if (!SWIG_IsOK(res3
)) {
19894 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
19897 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
19899 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
19902 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
19905 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19906 if (!SWIG_IsOK(ecode5
)) {
19907 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
19909 arg5
= static_cast< int >(val5
);
19912 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
19913 if (!SWIG_IsOK(ecode6
)) {
19914 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
19916 arg6
= static_cast< int >(val6
);
19919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19920 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
19921 wxPyEndAllowThreads(__tstate
);
19922 if (PyErr_Occurred()) SWIG_fail
;
19924 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
19939 SWIGINTERN PyObject
*_wrap_DC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19940 PyObject
*resultobj
= 0;
19941 wxDC
*arg1
= (wxDC
*) 0 ;
19943 wxPoint
*arg3
= (wxPoint
*) 0 ;
19946 PyObject
* obj0
= 0 ;
19947 PyObject
* obj1
= 0 ;
19948 char * kwnames
[] = {
19949 (char *) "self",(char *) "points", NULL
19952 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19953 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19954 if (!SWIG_IsOK(res1
)) {
19955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawSpline" "', expected argument " "1"" of type '" "wxDC *""'");
19957 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19959 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
19960 if (arg3
== NULL
) SWIG_fail
;
19963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19964 (arg1
)->DrawSpline(arg2
,arg3
);
19965 wxPyEndAllowThreads(__tstate
);
19966 if (PyErr_Occurred()) SWIG_fail
;
19968 resultobj
= SWIG_Py_Void();
19970 if (arg3
) delete [] arg3
;
19975 if (arg3
) delete [] arg3
;
19981 SWIGINTERN PyObject
*_wrap_DC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19982 PyObject
*resultobj
= 0;
19983 wxDC
*arg1
= (wxDC
*) 0 ;
19986 PyObject
*swig_obj
[1] ;
19988 if (!args
) SWIG_fail
;
19989 swig_obj
[0] = args
;
19990 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19991 if (!SWIG_IsOK(res1
)) {
19992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Clear" "', expected argument " "1"" of type '" "wxDC *""'");
19994 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19998 wxPyEndAllowThreads(__tstate
);
19999 if (PyErr_Occurred()) SWIG_fail
;
20001 resultobj
= SWIG_Py_Void();
20008 SWIGINTERN PyObject
*_wrap_DC_StartDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20009 PyObject
*resultobj
= 0;
20010 wxDC
*arg1
= (wxDC
*) 0 ;
20011 wxString
*arg2
= 0 ;
20015 bool temp2
= false ;
20016 PyObject
* obj0
= 0 ;
20017 PyObject
* obj1
= 0 ;
20018 char * kwnames
[] = {
20019 (char *) "self",(char *) "message", NULL
20022 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20023 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20024 if (!SWIG_IsOK(res1
)) {
20025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartDoc" "', expected argument " "1"" of type '" "wxDC *""'");
20027 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20029 arg2
= wxString_in_helper(obj1
);
20030 if (arg2
== NULL
) SWIG_fail
;
20034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20035 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
20036 wxPyEndAllowThreads(__tstate
);
20037 if (PyErr_Occurred()) SWIG_fail
;
20040 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20056 SWIGINTERN PyObject
*_wrap_DC_EndDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20057 PyObject
*resultobj
= 0;
20058 wxDC
*arg1
= (wxDC
*) 0 ;
20061 PyObject
*swig_obj
[1] ;
20063 if (!args
) SWIG_fail
;
20064 swig_obj
[0] = args
;
20065 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20066 if (!SWIG_IsOK(res1
)) {
20067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndDoc" "', expected argument " "1"" of type '" "wxDC *""'");
20069 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20073 wxPyEndAllowThreads(__tstate
);
20074 if (PyErr_Occurred()) SWIG_fail
;
20076 resultobj
= SWIG_Py_Void();
20083 SWIGINTERN PyObject
*_wrap_DC_StartPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20084 PyObject
*resultobj
= 0;
20085 wxDC
*arg1
= (wxDC
*) 0 ;
20088 PyObject
*swig_obj
[1] ;
20090 if (!args
) SWIG_fail
;
20091 swig_obj
[0] = args
;
20092 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20093 if (!SWIG_IsOK(res1
)) {
20094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartPage" "', expected argument " "1"" of type '" "wxDC *""'");
20096 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20099 (arg1
)->StartPage();
20100 wxPyEndAllowThreads(__tstate
);
20101 if (PyErr_Occurred()) SWIG_fail
;
20103 resultobj
= SWIG_Py_Void();
20110 SWIGINTERN PyObject
*_wrap_DC_EndPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20111 PyObject
*resultobj
= 0;
20112 wxDC
*arg1
= (wxDC
*) 0 ;
20115 PyObject
*swig_obj
[1] ;
20117 if (!args
) SWIG_fail
;
20118 swig_obj
[0] = args
;
20119 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20120 if (!SWIG_IsOK(res1
)) {
20121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndPage" "', expected argument " "1"" of type '" "wxDC *""'");
20123 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20127 wxPyEndAllowThreads(__tstate
);
20128 if (PyErr_Occurred()) SWIG_fail
;
20130 resultobj
= SWIG_Py_Void();
20137 SWIGINTERN PyObject
*_wrap_DC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20138 PyObject
*resultobj
= 0;
20139 wxDC
*arg1
= (wxDC
*) 0 ;
20145 PyObject
* obj0
= 0 ;
20146 PyObject
* obj1
= 0 ;
20147 char * kwnames
[] = {
20148 (char *) "self",(char *) "font", NULL
20151 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20152 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20153 if (!SWIG_IsOK(res1
)) {
20154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetFont" "', expected argument " "1"" of type '" "wxDC *""'");
20156 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20157 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
20158 if (!SWIG_IsOK(res2
)) {
20159 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
20162 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
20164 arg2
= reinterpret_cast< wxFont
* >(argp2
);
20166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20167 (arg1
)->SetFont((wxFont
const &)*arg2
);
20168 wxPyEndAllowThreads(__tstate
);
20169 if (PyErr_Occurred()) SWIG_fail
;
20171 resultobj
= SWIG_Py_Void();
20178 SWIGINTERN PyObject
*_wrap_DC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20179 PyObject
*resultobj
= 0;
20180 wxDC
*arg1
= (wxDC
*) 0 ;
20186 PyObject
* obj0
= 0 ;
20187 PyObject
* obj1
= 0 ;
20188 char * kwnames
[] = {
20189 (char *) "self",(char *) "pen", NULL
20192 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20193 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20194 if (!SWIG_IsOK(res1
)) {
20195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPen" "', expected argument " "1"" of type '" "wxDC *""'");
20197 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20198 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
20199 if (!SWIG_IsOK(res2
)) {
20200 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
20203 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
20205 arg2
= reinterpret_cast< wxPen
* >(argp2
);
20207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20208 (arg1
)->SetPen((wxPen
const &)*arg2
);
20209 wxPyEndAllowThreads(__tstate
);
20210 if (PyErr_Occurred()) SWIG_fail
;
20212 resultobj
= SWIG_Py_Void();
20219 SWIGINTERN PyObject
*_wrap_DC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20220 PyObject
*resultobj
= 0;
20221 wxDC
*arg1
= (wxDC
*) 0 ;
20222 wxBrush
*arg2
= 0 ;
20227 PyObject
* obj0
= 0 ;
20228 PyObject
* obj1
= 0 ;
20229 char * kwnames
[] = {
20230 (char *) "self",(char *) "brush", NULL
20233 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20234 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20235 if (!SWIG_IsOK(res1
)) {
20236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBrush" "', expected argument " "1"" of type '" "wxDC *""'");
20238 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20239 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
20240 if (!SWIG_IsOK(res2
)) {
20241 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
20244 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
20246 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
20248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20249 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
20250 wxPyEndAllowThreads(__tstate
);
20251 if (PyErr_Occurred()) SWIG_fail
;
20253 resultobj
= SWIG_Py_Void();
20260 SWIGINTERN PyObject
*_wrap_DC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20261 PyObject
*resultobj
= 0;
20262 wxDC
*arg1
= (wxDC
*) 0 ;
20263 wxBrush
*arg2
= 0 ;
20268 PyObject
* obj0
= 0 ;
20269 PyObject
* obj1
= 0 ;
20270 char * kwnames
[] = {
20271 (char *) "self",(char *) "brush", NULL
20274 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20275 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20276 if (!SWIG_IsOK(res1
)) {
20277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackground" "', expected argument " "1"" of type '" "wxDC *""'");
20279 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20280 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
20281 if (!SWIG_IsOK(res2
)) {
20282 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
20285 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
20287 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
20289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20290 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
20291 wxPyEndAllowThreads(__tstate
);
20292 if (PyErr_Occurred()) SWIG_fail
;
20294 resultobj
= SWIG_Py_Void();
20301 SWIGINTERN PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20302 PyObject
*resultobj
= 0;
20303 wxDC
*arg1
= (wxDC
*) 0 ;
20309 PyObject
* obj0
= 0 ;
20310 PyObject
* obj1
= 0 ;
20311 char * kwnames
[] = {
20312 (char *) "self",(char *) "mode", NULL
20315 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20316 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20317 if (!SWIG_IsOK(res1
)) {
20318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxDC *""'");
20320 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20321 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20322 if (!SWIG_IsOK(ecode2
)) {
20323 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
20325 arg2
= static_cast< int >(val2
);
20327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20328 (arg1
)->SetBackgroundMode(arg2
);
20329 wxPyEndAllowThreads(__tstate
);
20330 if (PyErr_Occurred()) SWIG_fail
;
20332 resultobj
= SWIG_Py_Void();
20339 SWIGINTERN PyObject
*_wrap_DC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20340 PyObject
*resultobj
= 0;
20341 wxDC
*arg1
= (wxDC
*) 0 ;
20342 wxPalette
*arg2
= 0 ;
20347 PyObject
* obj0
= 0 ;
20348 PyObject
* obj1
= 0 ;
20349 char * kwnames
[] = {
20350 (char *) "self",(char *) "palette", NULL
20353 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20354 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20355 if (!SWIG_IsOK(res1
)) {
20356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPalette" "', expected argument " "1"" of type '" "wxDC *""'");
20358 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20359 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
20360 if (!SWIG_IsOK(res2
)) {
20361 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
20364 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
20366 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
20368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20369 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
20370 wxPyEndAllowThreads(__tstate
);
20371 if (PyErr_Occurred()) SWIG_fail
;
20373 resultobj
= SWIG_Py_Void();
20380 SWIGINTERN PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20381 PyObject
*resultobj
= 0;
20382 wxDC
*arg1
= (wxDC
*) 0 ;
20385 PyObject
*swig_obj
[1] ;
20387 if (!args
) SWIG_fail
;
20388 swig_obj
[0] = args
;
20389 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20390 if (!SWIG_IsOK(res1
)) {
20391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DestroyClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
20393 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20396 (arg1
)->DestroyClippingRegion();
20397 wxPyEndAllowThreads(__tstate
);
20398 if (PyErr_Occurred()) SWIG_fail
;
20400 resultobj
= SWIG_Py_Void();
20407 SWIGINTERN PyObject
*_wrap_DC_GetClippingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20408 PyObject
*resultobj
= 0;
20409 wxDC
*arg1
= (wxDC
*) 0 ;
20410 int *arg2
= (int *) 0 ;
20411 int *arg3
= (int *) 0 ;
20412 int *arg4
= (int *) 0 ;
20413 int *arg5
= (int *) 0 ;
20417 int res2
= SWIG_TMPOBJ
;
20419 int res3
= SWIG_TMPOBJ
;
20421 int res4
= SWIG_TMPOBJ
;
20423 int res5
= SWIG_TMPOBJ
;
20424 PyObject
*swig_obj
[1] ;
20430 if (!args
) SWIG_fail
;
20431 swig_obj
[0] = args
;
20432 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20433 if (!SWIG_IsOK(res1
)) {
20434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingBox" "', expected argument " "1"" of type '" "wxDC const *""'");
20436 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20439 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
20440 wxPyEndAllowThreads(__tstate
);
20441 if (PyErr_Occurred()) SWIG_fail
;
20443 resultobj
= SWIG_Py_Void();
20444 if (SWIG_IsTmpObj(res2
)) {
20445 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
20447 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20448 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
20450 if (SWIG_IsTmpObj(res3
)) {
20451 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20453 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20454 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20456 if (SWIG_IsTmpObj(res4
)) {
20457 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
20459 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20460 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
20462 if (SWIG_IsTmpObj(res5
)) {
20463 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
20465 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20466 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
20474 SWIGINTERN PyObject
*_wrap_DC_GetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20475 PyObject
*resultobj
= 0;
20476 wxDC
*arg1
= (wxDC
*) 0 ;
20480 PyObject
*swig_obj
[1] ;
20482 if (!args
) SWIG_fail
;
20483 swig_obj
[0] = args
;
20484 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20485 if (!SWIG_IsOK(res1
)) {
20486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
20488 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20491 result
= wxDC_GetClippingRect(arg1
);
20492 wxPyEndAllowThreads(__tstate
);
20493 if (PyErr_Occurred()) SWIG_fail
;
20495 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
20502 SWIGINTERN PyObject
*_wrap_DC_GetCharHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20503 PyObject
*resultobj
= 0;
20504 wxDC
*arg1
= (wxDC
*) 0 ;
20508 PyObject
*swig_obj
[1] ;
20510 if (!args
) SWIG_fail
;
20511 swig_obj
[0] = args
;
20512 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20513 if (!SWIG_IsOK(res1
)) {
20514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharHeight" "', expected argument " "1"" of type '" "wxDC const *""'");
20516 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20519 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
20520 wxPyEndAllowThreads(__tstate
);
20521 if (PyErr_Occurred()) SWIG_fail
;
20523 resultobj
= SWIG_From_int(static_cast< int >(result
));
20530 SWIGINTERN PyObject
*_wrap_DC_GetCharWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20531 PyObject
*resultobj
= 0;
20532 wxDC
*arg1
= (wxDC
*) 0 ;
20536 PyObject
*swig_obj
[1] ;
20538 if (!args
) SWIG_fail
;
20539 swig_obj
[0] = args
;
20540 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20541 if (!SWIG_IsOK(res1
)) {
20542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharWidth" "', expected argument " "1"" of type '" "wxDC const *""'");
20544 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20547 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
20548 wxPyEndAllowThreads(__tstate
);
20549 if (PyErr_Occurred()) SWIG_fail
;
20551 resultobj
= SWIG_From_int(static_cast< int >(result
));
20558 SWIGINTERN PyObject
*_wrap_DC_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20559 PyObject
*resultobj
= 0;
20560 wxDC
*arg1
= (wxDC
*) 0 ;
20561 wxString
*arg2
= 0 ;
20562 int *arg3
= (int *) 0 ;
20563 int *arg4
= (int *) 0 ;
20566 bool temp2
= false ;
20568 int res3
= SWIG_TMPOBJ
;
20570 int res4
= SWIG_TMPOBJ
;
20571 PyObject
* obj0
= 0 ;
20572 PyObject
* obj1
= 0 ;
20573 char * kwnames
[] = {
20574 (char *) "self",(char *) "string", NULL
20579 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20580 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20581 if (!SWIG_IsOK(res1
)) {
20582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
20584 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20586 arg2
= wxString_in_helper(obj1
);
20587 if (arg2
== NULL
) SWIG_fail
;
20591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20592 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
20593 wxPyEndAllowThreads(__tstate
);
20594 if (PyErr_Occurred()) SWIG_fail
;
20596 resultobj
= SWIG_Py_Void();
20597 if (SWIG_IsTmpObj(res3
)) {
20598 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20600 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20601 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20603 if (SWIG_IsTmpObj(res4
)) {
20604 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
20606 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20607 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
20623 SWIGINTERN PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20624 PyObject
*resultobj
= 0;
20625 wxDC
*arg1
= (wxDC
*) 0 ;
20626 wxString
*arg2
= 0 ;
20627 int *arg3
= (int *) 0 ;
20628 int *arg4
= (int *) 0 ;
20629 int *arg5
= (int *) 0 ;
20630 int *arg6
= (int *) 0 ;
20631 wxFont
*arg7
= (wxFont
*) NULL
;
20634 bool temp2
= false ;
20636 int res3
= SWIG_TMPOBJ
;
20638 int res4
= SWIG_TMPOBJ
;
20640 int res5
= SWIG_TMPOBJ
;
20642 int res6
= SWIG_TMPOBJ
;
20645 PyObject
* obj0
= 0 ;
20646 PyObject
* obj1
= 0 ;
20647 PyObject
* obj2
= 0 ;
20648 char * kwnames
[] = {
20649 (char *) "self",(char *) "string",(char *) "font", NULL
20656 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20657 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20658 if (!SWIG_IsOK(res1
)) {
20659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFullTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
20661 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20663 arg2
= wxString_in_helper(obj1
);
20664 if (arg2
== NULL
) SWIG_fail
;
20668 res7
= SWIG_ConvertPtr(obj2
, &argp7
,SWIGTYPE_p_wxFont
, 0 | 0 );
20669 if (!SWIG_IsOK(res7
)) {
20670 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "DC_GetFullTextExtent" "', expected argument " "7"" of type '" "wxFont *""'");
20672 arg7
= reinterpret_cast< wxFont
* >(argp7
);
20675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20676 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
20677 wxPyEndAllowThreads(__tstate
);
20678 if (PyErr_Occurred()) SWIG_fail
;
20680 resultobj
= SWIG_Py_Void();
20681 if (SWIG_IsTmpObj(res3
)) {
20682 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20684 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20685 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20687 if (SWIG_IsTmpObj(res4
)) {
20688 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
20690 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20691 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
20693 if (SWIG_IsTmpObj(res5
)) {
20694 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
20696 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20697 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
20699 if (SWIG_IsTmpObj(res6
)) {
20700 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg6
)));
20702 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20703 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, new_flags
));
20719 SWIGINTERN PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20720 PyObject
*resultobj
= 0;
20721 wxDC
*arg1
= (wxDC
*) 0 ;
20722 wxString
*arg2
= 0 ;
20723 int *arg3
= (int *) 0 ;
20724 int *arg4
= (int *) 0 ;
20725 int *arg5
= (int *) 0 ;
20726 wxFont
*arg6
= (wxFont
*) NULL
;
20729 bool temp2
= false ;
20731 int res3
= SWIG_TMPOBJ
;
20733 int res4
= SWIG_TMPOBJ
;
20735 int res5
= SWIG_TMPOBJ
;
20738 PyObject
* obj0
= 0 ;
20739 PyObject
* obj1
= 0 ;
20740 PyObject
* obj2
= 0 ;
20741 char * kwnames
[] = {
20742 (char *) "self",(char *) "text",(char *) "font", NULL
20748 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20749 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20750 if (!SWIG_IsOK(res1
)) {
20751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
20753 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20755 arg2
= wxString_in_helper(obj1
);
20756 if (arg2
== NULL
) SWIG_fail
;
20760 res6
= SWIG_ConvertPtr(obj2
, &argp6
,SWIGTYPE_p_wxFont
, 0 | 0 );
20761 if (!SWIG_IsOK(res6
)) {
20762 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "6"" of type '" "wxFont *""'");
20764 arg6
= reinterpret_cast< wxFont
* >(argp6
);
20767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20768 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
20769 wxPyEndAllowThreads(__tstate
);
20770 if (PyErr_Occurred()) SWIG_fail
;
20772 resultobj
= SWIG_Py_Void();
20773 if (SWIG_IsTmpObj(res3
)) {
20774 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20776 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20777 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20779 if (SWIG_IsTmpObj(res4
)) {
20780 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
20782 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20783 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
20785 if (SWIG_IsTmpObj(res5
)) {
20786 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
20788 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20789 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
20805 SWIGINTERN PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20806 PyObject
*resultobj
= 0;
20807 wxDC
*arg1
= (wxDC
*) 0 ;
20808 wxString
*arg2
= 0 ;
20812 bool temp2
= false ;
20813 PyObject
* obj0
= 0 ;
20814 PyObject
* obj1
= 0 ;
20815 char * kwnames
[] = {
20816 (char *) "self",(char *) "text", NULL
20819 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20820 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20821 if (!SWIG_IsOK(res1
)) {
20822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxDC *""'");
20824 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20826 arg2
= wxString_in_helper(obj1
);
20827 if (arg2
== NULL
) SWIG_fail
;
20831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20832 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
20833 wxPyEndAllowThreads(__tstate
);
20834 if (PyErr_Occurred()) SWIG_fail
;
20837 resultobj
= PyList_New(0);
20839 for (idx
= 0; idx
< (&result
)->GetCount(); idx
+= 1) {
20840 PyObject
* val
= PyInt_FromLong( (&result
)->Item(idx
) );
20841 PyList_Append(resultobj
, val
);
20859 SWIGINTERN PyObject
*_wrap_DC_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20860 PyObject
*resultobj
= 0;
20861 wxDC
*arg1
= (wxDC
*) 0 ;
20865 PyObject
*swig_obj
[1] ;
20867 if (!args
) SWIG_fail
;
20868 swig_obj
[0] = args
;
20869 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20870 if (!SWIG_IsOK(res1
)) {
20871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSize" "', expected argument " "1"" of type '" "wxDC *""'");
20873 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20876 result
= (arg1
)->GetSize();
20877 wxPyEndAllowThreads(__tstate
);
20878 if (PyErr_Occurred()) SWIG_fail
;
20880 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
20887 SWIGINTERN PyObject
*_wrap_DC_GetSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20888 PyObject
*resultobj
= 0;
20889 wxDC
*arg1
= (wxDC
*) 0 ;
20890 int *arg2
= (int *) 0 ;
20891 int *arg3
= (int *) 0 ;
20895 int res2
= SWIG_TMPOBJ
;
20897 int res3
= SWIG_TMPOBJ
;
20898 PyObject
*swig_obj
[1] ;
20902 if (!args
) SWIG_fail
;
20903 swig_obj
[0] = args
;
20904 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20905 if (!SWIG_IsOK(res1
)) {
20906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeTuple" "', expected argument " "1"" of type '" "wxDC *""'");
20908 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20911 (arg1
)->GetSize(arg2
,arg3
);
20912 wxPyEndAllowThreads(__tstate
);
20913 if (PyErr_Occurred()) SWIG_fail
;
20915 resultobj
= SWIG_Py_Void();
20916 if (SWIG_IsTmpObj(res2
)) {
20917 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
20919 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20920 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
20922 if (SWIG_IsTmpObj(res3
)) {
20923 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20925 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20926 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20934 SWIGINTERN PyObject
*_wrap_DC_GetSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20935 PyObject
*resultobj
= 0;
20936 wxDC
*arg1
= (wxDC
*) 0 ;
20940 PyObject
*swig_obj
[1] ;
20942 if (!args
) SWIG_fail
;
20943 swig_obj
[0] = args
;
20944 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20945 if (!SWIG_IsOK(res1
)) {
20946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMM" "', expected argument " "1"" of type '" "wxDC const *""'");
20948 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20951 result
= ((wxDC
const *)arg1
)->GetSizeMM();
20952 wxPyEndAllowThreads(__tstate
);
20953 if (PyErr_Occurred()) SWIG_fail
;
20955 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
20962 SWIGINTERN PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20963 PyObject
*resultobj
= 0;
20964 wxDC
*arg1
= (wxDC
*) 0 ;
20965 int *arg2
= (int *) 0 ;
20966 int *arg3
= (int *) 0 ;
20970 int res2
= SWIG_TMPOBJ
;
20972 int res3
= SWIG_TMPOBJ
;
20973 PyObject
*swig_obj
[1] ;
20977 if (!args
) SWIG_fail
;
20978 swig_obj
[0] = args
;
20979 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20980 if (!SWIG_IsOK(res1
)) {
20981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMMTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
20983 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20986 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
20987 wxPyEndAllowThreads(__tstate
);
20988 if (PyErr_Occurred()) SWIG_fail
;
20990 resultobj
= SWIG_Py_Void();
20991 if (SWIG_IsTmpObj(res2
)) {
20992 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
20994 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20995 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
20997 if (SWIG_IsTmpObj(res3
)) {
20998 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21000 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21001 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21009 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21010 PyObject
*resultobj
= 0;
21011 wxDC
*arg1
= (wxDC
*) 0 ;
21018 PyObject
* obj0
= 0 ;
21019 PyObject
* obj1
= 0 ;
21020 char * kwnames
[] = {
21021 (char *) "self",(char *) "x", NULL
21024 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21025 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21026 if (!SWIG_IsOK(res1
)) {
21027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "1"" of type '" "wxDC const *""'");
21029 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21030 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21031 if (!SWIG_IsOK(ecode2
)) {
21032 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "2"" of type '" "int""'");
21034 arg2
= static_cast< int >(val2
);
21036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21037 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
21038 wxPyEndAllowThreads(__tstate
);
21039 if (PyErr_Occurred()) SWIG_fail
;
21041 resultobj
= SWIG_From_int(static_cast< int >(result
));
21048 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21049 PyObject
*resultobj
= 0;
21050 wxDC
*arg1
= (wxDC
*) 0 ;
21057 PyObject
* obj0
= 0 ;
21058 PyObject
* obj1
= 0 ;
21059 char * kwnames
[] = {
21060 (char *) "self",(char *) "y", NULL
21063 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21064 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21065 if (!SWIG_IsOK(res1
)) {
21066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "1"" of type '" "wxDC const *""'");
21068 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21069 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21070 if (!SWIG_IsOK(ecode2
)) {
21071 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "2"" of type '" "int""'");
21073 arg2
= static_cast< int >(val2
);
21075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21076 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
21077 wxPyEndAllowThreads(__tstate
);
21078 if (PyErr_Occurred()) SWIG_fail
;
21080 resultobj
= SWIG_From_int(static_cast< int >(result
));
21087 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21088 PyObject
*resultobj
= 0;
21089 wxDC
*arg1
= (wxDC
*) 0 ;
21096 PyObject
* obj0
= 0 ;
21097 PyObject
* obj1
= 0 ;
21098 char * kwnames
[] = {
21099 (char *) "self",(char *) "x", NULL
21102 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21103 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21104 if (!SWIG_IsOK(res1
)) {
21105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21107 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21108 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21109 if (!SWIG_IsOK(ecode2
)) {
21110 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "2"" of type '" "int""'");
21112 arg2
= static_cast< int >(val2
);
21114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21115 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
21116 wxPyEndAllowThreads(__tstate
);
21117 if (PyErr_Occurred()) SWIG_fail
;
21119 resultobj
= SWIG_From_int(static_cast< int >(result
));
21126 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21127 PyObject
*resultobj
= 0;
21128 wxDC
*arg1
= (wxDC
*) 0 ;
21135 PyObject
* obj0
= 0 ;
21136 PyObject
* obj1
= 0 ;
21137 char * kwnames
[] = {
21138 (char *) "self",(char *) "y", NULL
21141 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21142 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21143 if (!SWIG_IsOK(res1
)) {
21144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21146 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21147 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21148 if (!SWIG_IsOK(ecode2
)) {
21149 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "2"" of type '" "int""'");
21151 arg2
= static_cast< int >(val2
);
21153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21154 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
21155 wxPyEndAllowThreads(__tstate
);
21156 if (PyErr_Occurred()) SWIG_fail
;
21158 resultobj
= SWIG_From_int(static_cast< int >(result
));
21165 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21166 PyObject
*resultobj
= 0;
21167 wxDC
*arg1
= (wxDC
*) 0 ;
21174 PyObject
* obj0
= 0 ;
21175 PyObject
* obj1
= 0 ;
21176 char * kwnames
[] = {
21177 (char *) "self",(char *) "x", NULL
21180 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21181 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21182 if (!SWIG_IsOK(res1
)) {
21183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "1"" of type '" "wxDC const *""'");
21185 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21186 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21187 if (!SWIG_IsOK(ecode2
)) {
21188 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "2"" of type '" "int""'");
21190 arg2
= static_cast< int >(val2
);
21192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21193 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
21194 wxPyEndAllowThreads(__tstate
);
21195 if (PyErr_Occurred()) SWIG_fail
;
21197 resultobj
= SWIG_From_int(static_cast< int >(result
));
21204 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21205 PyObject
*resultobj
= 0;
21206 wxDC
*arg1
= (wxDC
*) 0 ;
21213 PyObject
* obj0
= 0 ;
21214 PyObject
* obj1
= 0 ;
21215 char * kwnames
[] = {
21216 (char *) "self",(char *) "y", NULL
21219 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21220 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21221 if (!SWIG_IsOK(res1
)) {
21222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "1"" of type '" "wxDC const *""'");
21224 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21225 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21226 if (!SWIG_IsOK(ecode2
)) {
21227 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "2"" of type '" "int""'");
21229 arg2
= static_cast< int >(val2
);
21231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21232 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
21233 wxPyEndAllowThreads(__tstate
);
21234 if (PyErr_Occurred()) SWIG_fail
;
21236 resultobj
= SWIG_From_int(static_cast< int >(result
));
21243 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21244 PyObject
*resultobj
= 0;
21245 wxDC
*arg1
= (wxDC
*) 0 ;
21252 PyObject
* obj0
= 0 ;
21253 PyObject
* obj1
= 0 ;
21254 char * kwnames
[] = {
21255 (char *) "self",(char *) "x", NULL
21258 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21259 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21260 if (!SWIG_IsOK(res1
)) {
21261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21263 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21264 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21265 if (!SWIG_IsOK(ecode2
)) {
21266 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "2"" of type '" "int""'");
21268 arg2
= static_cast< int >(val2
);
21270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21271 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
21272 wxPyEndAllowThreads(__tstate
);
21273 if (PyErr_Occurred()) SWIG_fail
;
21275 resultobj
= SWIG_From_int(static_cast< int >(result
));
21282 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21283 PyObject
*resultobj
= 0;
21284 wxDC
*arg1
= (wxDC
*) 0 ;
21291 PyObject
* obj0
= 0 ;
21292 PyObject
* obj1
= 0 ;
21293 char * kwnames
[] = {
21294 (char *) "self",(char *) "y", NULL
21297 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21298 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21299 if (!SWIG_IsOK(res1
)) {
21300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21302 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21303 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21304 if (!SWIG_IsOK(ecode2
)) {
21305 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "2"" of type '" "int""'");
21307 arg2
= static_cast< int >(val2
);
21309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21310 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
21311 wxPyEndAllowThreads(__tstate
);
21312 if (PyErr_Occurred()) SWIG_fail
;
21314 resultobj
= SWIG_From_int(static_cast< int >(result
));
21321 SWIGINTERN PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21322 PyObject
*resultobj
= 0;
21323 wxDC
*arg1
= (wxDC
*) 0 ;
21327 PyObject
*swig_obj
[1] ;
21329 if (!args
) SWIG_fail
;
21330 swig_obj
[0] = args
;
21331 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21332 if (!SWIG_IsOK(res1
)) {
21333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanDrawBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
21335 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21338 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
21339 wxPyEndAllowThreads(__tstate
);
21340 if (PyErr_Occurred()) SWIG_fail
;
21343 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21351 SWIGINTERN PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21352 PyObject
*resultobj
= 0;
21353 wxDC
*arg1
= (wxDC
*) 0 ;
21357 PyObject
*swig_obj
[1] ;
21359 if (!args
) SWIG_fail
;
21360 swig_obj
[0] = args
;
21361 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21362 if (!SWIG_IsOK(res1
)) {
21363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanGetTextExtent" "', expected argument " "1"" of type '" "wxDC const *""'");
21365 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21368 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
21369 wxPyEndAllowThreads(__tstate
);
21370 if (PyErr_Occurred()) SWIG_fail
;
21373 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21381 SWIGINTERN PyObject
*_wrap_DC_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21382 PyObject
*resultobj
= 0;
21383 wxDC
*arg1
= (wxDC
*) 0 ;
21387 PyObject
*swig_obj
[1] ;
21389 if (!args
) SWIG_fail
;
21390 swig_obj
[0] = args
;
21391 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21392 if (!SWIG_IsOK(res1
)) {
21393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDepth" "', expected argument " "1"" of type '" "wxDC const *""'");
21395 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21398 result
= (int)((wxDC
const *)arg1
)->GetDepth();
21399 wxPyEndAllowThreads(__tstate
);
21400 if (PyErr_Occurred()) SWIG_fail
;
21402 resultobj
= SWIG_From_int(static_cast< int >(result
));
21409 SWIGINTERN PyObject
*_wrap_DC_GetPPI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21410 PyObject
*resultobj
= 0;
21411 wxDC
*arg1
= (wxDC
*) 0 ;
21415 PyObject
*swig_obj
[1] ;
21417 if (!args
) SWIG_fail
;
21418 swig_obj
[0] = args
;
21419 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21420 if (!SWIG_IsOK(res1
)) {
21421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPPI" "', expected argument " "1"" of type '" "wxDC const *""'");
21423 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21426 result
= ((wxDC
const *)arg1
)->GetPPI();
21427 wxPyEndAllowThreads(__tstate
);
21428 if (PyErr_Occurred()) SWIG_fail
;
21430 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21437 SWIGINTERN PyObject
*_wrap_DC_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21438 PyObject
*resultobj
= 0;
21439 wxDC
*arg1
= (wxDC
*) 0 ;
21443 PyObject
*swig_obj
[1] ;
21445 if (!args
) SWIG_fail
;
21446 swig_obj
[0] = args
;
21447 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21448 if (!SWIG_IsOK(res1
)) {
21449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Ok" "', expected argument " "1"" of type '" "wxDC const *""'");
21451 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21454 result
= (bool)((wxDC
const *)arg1
)->Ok();
21455 wxPyEndAllowThreads(__tstate
);
21456 if (PyErr_Occurred()) SWIG_fail
;
21459 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21467 SWIGINTERN PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21468 PyObject
*resultobj
= 0;
21469 wxDC
*arg1
= (wxDC
*) 0 ;
21473 PyObject
*swig_obj
[1] ;
21475 if (!args
) SWIG_fail
;
21476 swig_obj
[0] = args
;
21477 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21478 if (!SWIG_IsOK(res1
)) {
21479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackgroundMode" "', expected argument " "1"" of type '" "wxDC const *""'");
21481 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21484 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
21485 wxPyEndAllowThreads(__tstate
);
21486 if (PyErr_Occurred()) SWIG_fail
;
21488 resultobj
= SWIG_From_int(static_cast< int >(result
));
21495 SWIGINTERN PyObject
*_wrap_DC_GetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21496 PyObject
*resultobj
= 0;
21497 wxDC
*arg1
= (wxDC
*) 0 ;
21498 wxBrush
*result
= 0 ;
21501 PyObject
*swig_obj
[1] ;
21503 if (!args
) SWIG_fail
;
21504 swig_obj
[0] = args
;
21505 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21506 if (!SWIG_IsOK(res1
)) {
21507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
21509 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21513 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
21514 result
= (wxBrush
*) &_result_ref
;
21516 wxPyEndAllowThreads(__tstate
);
21517 if (PyErr_Occurred()) SWIG_fail
;
21520 wxBrush
* resultptr
= new wxBrush(*result
);
21521 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
21529 SWIGINTERN PyObject
*_wrap_DC_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21530 PyObject
*resultobj
= 0;
21531 wxDC
*arg1
= (wxDC
*) 0 ;
21532 wxBrush
*result
= 0 ;
21535 PyObject
*swig_obj
[1] ;
21537 if (!args
) SWIG_fail
;
21538 swig_obj
[0] = args
;
21539 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21540 if (!SWIG_IsOK(res1
)) {
21541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBrush" "', expected argument " "1"" of type '" "wxDC const *""'");
21543 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21547 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
21548 result
= (wxBrush
*) &_result_ref
;
21550 wxPyEndAllowThreads(__tstate
);
21551 if (PyErr_Occurred()) SWIG_fail
;
21554 wxBrush
* resultptr
= new wxBrush(*result
);
21555 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
21563 SWIGINTERN PyObject
*_wrap_DC_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21564 PyObject
*resultobj
= 0;
21565 wxDC
*arg1
= (wxDC
*) 0 ;
21566 wxFont
*result
= 0 ;
21569 PyObject
*swig_obj
[1] ;
21571 if (!args
) SWIG_fail
;
21572 swig_obj
[0] = args
;
21573 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21574 if (!SWIG_IsOK(res1
)) {
21575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFont" "', expected argument " "1"" of type '" "wxDC const *""'");
21577 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21581 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
21582 result
= (wxFont
*) &_result_ref
;
21584 wxPyEndAllowThreads(__tstate
);
21585 if (PyErr_Occurred()) SWIG_fail
;
21588 wxFont
* resultptr
= new wxFont(*result
);
21589 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
21597 SWIGINTERN PyObject
*_wrap_DC_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21598 PyObject
*resultobj
= 0;
21599 wxDC
*arg1
= (wxDC
*) 0 ;
21600 wxPen
*result
= 0 ;
21603 PyObject
*swig_obj
[1] ;
21605 if (!args
) SWIG_fail
;
21606 swig_obj
[0] = args
;
21607 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21608 if (!SWIG_IsOK(res1
)) {
21609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPen" "', expected argument " "1"" of type '" "wxDC const *""'");
21611 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21615 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
21616 result
= (wxPen
*) &_result_ref
;
21618 wxPyEndAllowThreads(__tstate
);
21619 if (PyErr_Occurred()) SWIG_fail
;
21622 wxPen
* resultptr
= new wxPen(*result
);
21623 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
21631 SWIGINTERN PyObject
*_wrap_DC_GetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21632 PyObject
*resultobj
= 0;
21633 wxDC
*arg1
= (wxDC
*) 0 ;
21634 wxColour
*result
= 0 ;
21637 PyObject
*swig_obj
[1] ;
21639 if (!args
) SWIG_fail
;
21640 swig_obj
[0] = args
;
21641 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21642 if (!SWIG_IsOK(res1
)) {
21643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
21645 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21649 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
21650 result
= (wxColour
*) &_result_ref
;
21652 wxPyEndAllowThreads(__tstate
);
21653 if (PyErr_Occurred()) SWIG_fail
;
21655 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
21662 SWIGINTERN PyObject
*_wrap_DC_GetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21663 PyObject
*resultobj
= 0;
21664 wxDC
*arg1
= (wxDC
*) 0 ;
21665 wxColour
*result
= 0 ;
21668 PyObject
*swig_obj
[1] ;
21670 if (!args
) SWIG_fail
;
21671 swig_obj
[0] = args
;
21672 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21673 if (!SWIG_IsOK(res1
)) {
21674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextForeground" "', expected argument " "1"" of type '" "wxDC const *""'");
21676 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21680 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
21681 result
= (wxColour
*) &_result_ref
;
21683 wxPyEndAllowThreads(__tstate
);
21684 if (PyErr_Occurred()) SWIG_fail
;
21686 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
21693 SWIGINTERN PyObject
*_wrap_DC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21694 PyObject
*resultobj
= 0;
21695 wxDC
*arg1
= (wxDC
*) 0 ;
21696 wxColour
*arg2
= 0 ;
21700 PyObject
* obj0
= 0 ;
21701 PyObject
* obj1
= 0 ;
21702 char * kwnames
[] = {
21703 (char *) "self",(char *) "colour", NULL
21706 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21707 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21708 if (!SWIG_IsOK(res1
)) {
21709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextForeground" "', expected argument " "1"" of type '" "wxDC *""'");
21711 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21714 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21718 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
21719 wxPyEndAllowThreads(__tstate
);
21720 if (PyErr_Occurred()) SWIG_fail
;
21722 resultobj
= SWIG_Py_Void();
21729 SWIGINTERN PyObject
*_wrap_DC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21730 PyObject
*resultobj
= 0;
21731 wxDC
*arg1
= (wxDC
*) 0 ;
21732 wxColour
*arg2
= 0 ;
21736 PyObject
* obj0
= 0 ;
21737 PyObject
* obj1
= 0 ;
21738 char * kwnames
[] = {
21739 (char *) "self",(char *) "colour", NULL
21742 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21743 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21744 if (!SWIG_IsOK(res1
)) {
21745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextBackground" "', expected argument " "1"" of type '" "wxDC *""'");
21747 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21750 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21754 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
21755 wxPyEndAllowThreads(__tstate
);
21756 if (PyErr_Occurred()) SWIG_fail
;
21758 resultobj
= SWIG_Py_Void();
21765 SWIGINTERN PyObject
*_wrap_DC_GetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21766 PyObject
*resultobj
= 0;
21767 wxDC
*arg1
= (wxDC
*) 0 ;
21771 PyObject
*swig_obj
[1] ;
21773 if (!args
) SWIG_fail
;
21774 swig_obj
[0] = args
;
21775 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21776 if (!SWIG_IsOK(res1
)) {
21777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMapMode" "', expected argument " "1"" of type '" "wxDC const *""'");
21779 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21782 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
21783 wxPyEndAllowThreads(__tstate
);
21784 if (PyErr_Occurred()) SWIG_fail
;
21786 resultobj
= SWIG_From_int(static_cast< int >(result
));
21793 SWIGINTERN PyObject
*_wrap_DC_SetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21794 PyObject
*resultobj
= 0;
21795 wxDC
*arg1
= (wxDC
*) 0 ;
21801 PyObject
* obj0
= 0 ;
21802 PyObject
* obj1
= 0 ;
21803 char * kwnames
[] = {
21804 (char *) "self",(char *) "mode", NULL
21807 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21808 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21809 if (!SWIG_IsOK(res1
)) {
21810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetMapMode" "', expected argument " "1"" of type '" "wxDC *""'");
21812 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21813 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21814 if (!SWIG_IsOK(ecode2
)) {
21815 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetMapMode" "', expected argument " "2"" of type '" "int""'");
21817 arg2
= static_cast< int >(val2
);
21819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21820 (arg1
)->SetMapMode(arg2
);
21821 wxPyEndAllowThreads(__tstate
);
21822 if (PyErr_Occurred()) SWIG_fail
;
21824 resultobj
= SWIG_Py_Void();
21831 SWIGINTERN PyObject
*_wrap_DC_GetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21832 PyObject
*resultobj
= 0;
21833 wxDC
*arg1
= (wxDC
*) 0 ;
21834 double *arg2
= (double *) 0 ;
21835 double *arg3
= (double *) 0 ;
21839 int res2
= SWIG_TMPOBJ
;
21841 int res3
= SWIG_TMPOBJ
;
21842 PyObject
*swig_obj
[1] ;
21846 if (!args
) SWIG_fail
;
21847 swig_obj
[0] = args
;
21848 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21849 if (!SWIG_IsOK(res1
)) {
21850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetUserScale" "', expected argument " "1"" of type '" "wxDC const *""'");
21852 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21855 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
21856 wxPyEndAllowThreads(__tstate
);
21857 if (PyErr_Occurred()) SWIG_fail
;
21859 resultobj
= SWIG_Py_Void();
21860 if (SWIG_IsTmpObj(res2
)) {
21861 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
21863 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21864 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
21866 if (SWIG_IsTmpObj(res3
)) {
21867 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
21869 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21870 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
21878 SWIGINTERN PyObject
*_wrap_DC_SetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21879 PyObject
*resultobj
= 0;
21880 wxDC
*arg1
= (wxDC
*) 0 ;
21889 PyObject
* obj0
= 0 ;
21890 PyObject
* obj1
= 0 ;
21891 PyObject
* obj2
= 0 ;
21892 char * kwnames
[] = {
21893 (char *) "self",(char *) "x",(char *) "y", NULL
21896 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21897 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21898 if (!SWIG_IsOK(res1
)) {
21899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetUserScale" "', expected argument " "1"" of type '" "wxDC *""'");
21901 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21902 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
21903 if (!SWIG_IsOK(ecode2
)) {
21904 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetUserScale" "', expected argument " "2"" of type '" "double""'");
21906 arg2
= static_cast< double >(val2
);
21907 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
21908 if (!SWIG_IsOK(ecode3
)) {
21909 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetUserScale" "', expected argument " "3"" of type '" "double""'");
21911 arg3
= static_cast< double >(val3
);
21913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21914 (arg1
)->SetUserScale(arg2
,arg3
);
21915 wxPyEndAllowThreads(__tstate
);
21916 if (PyErr_Occurred()) SWIG_fail
;
21918 resultobj
= SWIG_Py_Void();
21925 SWIGINTERN PyObject
*_wrap_DC_GetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21926 PyObject
*resultobj
= 0;
21927 wxDC
*arg1
= (wxDC
*) 0 ;
21928 double *arg2
= (double *) 0 ;
21929 double *arg3
= (double *) 0 ;
21933 int res2
= SWIG_TMPOBJ
;
21935 int res3
= SWIG_TMPOBJ
;
21936 PyObject
*swig_obj
[1] ;
21940 if (!args
) SWIG_fail
;
21941 swig_obj
[0] = args
;
21942 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21943 if (!SWIG_IsOK(res1
)) {
21944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
21946 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21949 (arg1
)->GetLogicalScale(arg2
,arg3
);
21950 wxPyEndAllowThreads(__tstate
);
21951 if (PyErr_Occurred()) SWIG_fail
;
21953 resultobj
= SWIG_Py_Void();
21954 if (SWIG_IsTmpObj(res2
)) {
21955 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
21957 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21958 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
21960 if (SWIG_IsTmpObj(res3
)) {
21961 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
21963 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21964 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
21972 SWIGINTERN PyObject
*_wrap_DC_SetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21973 PyObject
*resultobj
= 0;
21974 wxDC
*arg1
= (wxDC
*) 0 ;
21983 PyObject
* obj0
= 0 ;
21984 PyObject
* obj1
= 0 ;
21985 PyObject
* obj2
= 0 ;
21986 char * kwnames
[] = {
21987 (char *) "self",(char *) "x",(char *) "y", NULL
21990 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21991 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21992 if (!SWIG_IsOK(res1
)) {
21993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
21995 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21996 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
21997 if (!SWIG_IsOK(ecode2
)) {
21998 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalScale" "', expected argument " "2"" of type '" "double""'");
22000 arg2
= static_cast< double >(val2
);
22001 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
22002 if (!SWIG_IsOK(ecode3
)) {
22003 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalScale" "', expected argument " "3"" of type '" "double""'");
22005 arg3
= static_cast< double >(val3
);
22007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22008 (arg1
)->SetLogicalScale(arg2
,arg3
);
22009 wxPyEndAllowThreads(__tstate
);
22010 if (PyErr_Occurred()) SWIG_fail
;
22012 resultobj
= SWIG_Py_Void();
22019 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22020 PyObject
*resultobj
= 0;
22021 wxDC
*arg1
= (wxDC
*) 0 ;
22025 PyObject
*swig_obj
[1] ;
22027 if (!args
) SWIG_fail
;
22028 swig_obj
[0] = args
;
22029 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22030 if (!SWIG_IsOK(res1
)) {
22031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
22033 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22036 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
22037 wxPyEndAllowThreads(__tstate
);
22038 if (PyErr_Occurred()) SWIG_fail
;
22040 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
22047 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22048 PyObject
*resultobj
= 0;
22049 wxDC
*arg1
= (wxDC
*) 0 ;
22050 int *arg2
= (int *) 0 ;
22051 int *arg3
= (int *) 0 ;
22055 int res2
= SWIG_TMPOBJ
;
22057 int res3
= SWIG_TMPOBJ
;
22058 PyObject
*swig_obj
[1] ;
22062 if (!args
) SWIG_fail
;
22063 swig_obj
[0] = args
;
22064 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22065 if (!SWIG_IsOK(res1
)) {
22066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
22068 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22071 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
22072 wxPyEndAllowThreads(__tstate
);
22073 if (PyErr_Occurred()) SWIG_fail
;
22075 resultobj
= SWIG_Py_Void();
22076 if (SWIG_IsTmpObj(res2
)) {
22077 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22079 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22080 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22082 if (SWIG_IsTmpObj(res3
)) {
22083 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22085 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22086 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22094 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22095 PyObject
*resultobj
= 0;
22096 wxDC
*arg1
= (wxDC
*) 0 ;
22105 PyObject
* obj0
= 0 ;
22106 PyObject
* obj1
= 0 ;
22107 PyObject
* obj2
= 0 ;
22108 char * kwnames
[] = {
22109 (char *) "self",(char *) "x",(char *) "y", NULL
22112 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22113 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22114 if (!SWIG_IsOK(res1
)) {
22115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22117 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22118 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22119 if (!SWIG_IsOK(ecode2
)) {
22120 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
22122 arg2
= static_cast< int >(val2
);
22123 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22124 if (!SWIG_IsOK(ecode3
)) {
22125 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
22127 arg3
= static_cast< int >(val3
);
22129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22130 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
22131 wxPyEndAllowThreads(__tstate
);
22132 if (PyErr_Occurred()) SWIG_fail
;
22134 resultobj
= SWIG_Py_Void();
22141 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22142 PyObject
*resultobj
= 0;
22143 wxDC
*arg1
= (wxDC
*) 0 ;
22144 wxPoint
*arg2
= 0 ;
22148 PyObject
* obj0
= 0 ;
22149 PyObject
* obj1
= 0 ;
22150 char * kwnames
[] = {
22151 (char *) "self",(char *) "point", NULL
22154 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22155 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22156 if (!SWIG_IsOK(res1
)) {
22157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22159 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22162 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22166 wxDC_SetLogicalOriginPoint(arg1
,(wxPoint
const &)*arg2
);
22167 wxPyEndAllowThreads(__tstate
);
22168 if (PyErr_Occurred()) SWIG_fail
;
22170 resultobj
= SWIG_Py_Void();
22177 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22178 PyObject
*resultobj
= 0;
22179 wxDC
*arg1
= (wxDC
*) 0 ;
22183 PyObject
*swig_obj
[1] ;
22185 if (!args
) SWIG_fail
;
22186 swig_obj
[0] = args
;
22187 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22188 if (!SWIG_IsOK(res1
)) {
22189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
22191 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22194 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
22195 wxPyEndAllowThreads(__tstate
);
22196 if (PyErr_Occurred()) SWIG_fail
;
22198 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
22205 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22206 PyObject
*resultobj
= 0;
22207 wxDC
*arg1
= (wxDC
*) 0 ;
22208 int *arg2
= (int *) 0 ;
22209 int *arg3
= (int *) 0 ;
22213 int res2
= SWIG_TMPOBJ
;
22215 int res3
= SWIG_TMPOBJ
;
22216 PyObject
*swig_obj
[1] ;
22220 if (!args
) SWIG_fail
;
22221 swig_obj
[0] = args
;
22222 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22223 if (!SWIG_IsOK(res1
)) {
22224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
22226 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22229 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
22230 wxPyEndAllowThreads(__tstate
);
22231 if (PyErr_Occurred()) SWIG_fail
;
22233 resultobj
= SWIG_Py_Void();
22234 if (SWIG_IsTmpObj(res2
)) {
22235 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22237 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22238 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22240 if (SWIG_IsTmpObj(res3
)) {
22241 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22243 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22244 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22252 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22253 PyObject
*resultobj
= 0;
22254 wxDC
*arg1
= (wxDC
*) 0 ;
22263 PyObject
* obj0
= 0 ;
22264 PyObject
* obj1
= 0 ;
22265 PyObject
* obj2
= 0 ;
22266 char * kwnames
[] = {
22267 (char *) "self",(char *) "x",(char *) "y", NULL
22270 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22271 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22272 if (!SWIG_IsOK(res1
)) {
22273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22275 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22276 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22277 if (!SWIG_IsOK(ecode2
)) {
22278 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "2"" of type '" "int""'");
22280 arg2
= static_cast< int >(val2
);
22281 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22282 if (!SWIG_IsOK(ecode3
)) {
22283 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "3"" of type '" "int""'");
22285 arg3
= static_cast< int >(val3
);
22287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22288 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
22289 wxPyEndAllowThreads(__tstate
);
22290 if (PyErr_Occurred()) SWIG_fail
;
22292 resultobj
= SWIG_Py_Void();
22299 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22300 PyObject
*resultobj
= 0;
22301 wxDC
*arg1
= (wxDC
*) 0 ;
22302 wxPoint
*arg2
= 0 ;
22306 PyObject
* obj0
= 0 ;
22307 PyObject
* obj1
= 0 ;
22308 char * kwnames
[] = {
22309 (char *) "self",(char *) "point", NULL
22312 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22313 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22314 if (!SWIG_IsOK(res1
)) {
22315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22317 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22320 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22324 wxDC_SetDeviceOriginPoint(arg1
,(wxPoint
const &)*arg2
);
22325 wxPyEndAllowThreads(__tstate
);
22326 if (PyErr_Occurred()) SWIG_fail
;
22328 resultobj
= SWIG_Py_Void();
22335 SWIGINTERN PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22336 PyObject
*resultobj
= 0;
22337 wxDC
*arg1
= (wxDC
*) 0 ;
22346 PyObject
* obj0
= 0 ;
22347 PyObject
* obj1
= 0 ;
22348 PyObject
* obj2
= 0 ;
22349 char * kwnames
[] = {
22350 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
22353 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22354 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22355 if (!SWIG_IsOK(res1
)) {
22356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetAxisOrientation" "', expected argument " "1"" of type '" "wxDC *""'");
22358 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22359 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
22360 if (!SWIG_IsOK(ecode2
)) {
22361 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetAxisOrientation" "', expected argument " "2"" of type '" "bool""'");
22363 arg2
= static_cast< bool >(val2
);
22364 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
22365 if (!SWIG_IsOK(ecode3
)) {
22366 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetAxisOrientation" "', expected argument " "3"" of type '" "bool""'");
22368 arg3
= static_cast< bool >(val3
);
22370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22371 (arg1
)->SetAxisOrientation(arg2
,arg3
);
22372 wxPyEndAllowThreads(__tstate
);
22373 if (PyErr_Occurred()) SWIG_fail
;
22375 resultobj
= SWIG_Py_Void();
22382 SWIGINTERN PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22383 PyObject
*resultobj
= 0;
22384 wxDC
*arg1
= (wxDC
*) 0 ;
22388 PyObject
*swig_obj
[1] ;
22390 if (!args
) SWIG_fail
;
22391 swig_obj
[0] = args
;
22392 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22393 if (!SWIG_IsOK(res1
)) {
22394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalFunction" "', expected argument " "1"" of type '" "wxDC const *""'");
22396 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22399 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
22400 wxPyEndAllowThreads(__tstate
);
22401 if (PyErr_Occurred()) SWIG_fail
;
22403 resultobj
= SWIG_From_int(static_cast< int >(result
));
22410 SWIGINTERN PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22411 PyObject
*resultobj
= 0;
22412 wxDC
*arg1
= (wxDC
*) 0 ;
22418 PyObject
* obj0
= 0 ;
22419 PyObject
* obj1
= 0 ;
22420 char * kwnames
[] = {
22421 (char *) "self",(char *) "function", NULL
22424 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22425 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22426 if (!SWIG_IsOK(res1
)) {
22427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxDC *""'");
22429 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22430 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22431 if (!SWIG_IsOK(ecode2
)) {
22432 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
22434 arg2
= static_cast< int >(val2
);
22436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22437 (arg1
)->SetLogicalFunction(arg2
);
22438 wxPyEndAllowThreads(__tstate
);
22439 if (PyErr_Occurred()) SWIG_fail
;
22441 resultobj
= SWIG_Py_Void();
22448 SWIGINTERN PyObject
*_wrap_DC_ComputeScaleAndOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22449 PyObject
*resultobj
= 0;
22450 wxDC
*arg1
= (wxDC
*) 0 ;
22453 PyObject
*swig_obj
[1] ;
22455 if (!args
) SWIG_fail
;
22456 swig_obj
[0] = args
;
22457 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22458 if (!SWIG_IsOK(res1
)) {
22459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ComputeScaleAndOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22461 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22464 (arg1
)->ComputeScaleAndOrigin();
22465 wxPyEndAllowThreads(__tstate
);
22466 if (PyErr_Occurred()) SWIG_fail
;
22468 resultobj
= SWIG_Py_Void();
22475 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22476 PyObject
*resultobj
= 0;
22477 wxDC
*arg1
= (wxDC
*) 0 ;
22486 PyObject
* obj0
= 0 ;
22487 PyObject
* obj1
= 0 ;
22488 PyObject
* obj2
= 0 ;
22489 char * kwnames
[] = {
22490 (char *) "self",(char *) "x",(char *) "y", NULL
22493 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22494 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22495 if (!SWIG_IsOK(res1
)) {
22496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
22498 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22499 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22500 if (!SWIG_IsOK(ecode2
)) {
22501 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CalcBoundingBox" "', expected argument " "2"" of type '" "int""'");
22503 arg2
= static_cast< int >(val2
);
22504 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22505 if (!SWIG_IsOK(ecode3
)) {
22506 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CalcBoundingBox" "', expected argument " "3"" of type '" "int""'");
22508 arg3
= static_cast< int >(val3
);
22510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22511 (arg1
)->CalcBoundingBox(arg2
,arg3
);
22512 wxPyEndAllowThreads(__tstate
);
22513 if (PyErr_Occurred()) SWIG_fail
;
22515 resultobj
= SWIG_Py_Void();
22522 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBoxPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22523 PyObject
*resultobj
= 0;
22524 wxDC
*arg1
= (wxDC
*) 0 ;
22525 wxPoint
*arg2
= 0 ;
22529 PyObject
* obj0
= 0 ;
22530 PyObject
* obj1
= 0 ;
22531 char * kwnames
[] = {
22532 (char *) "self",(char *) "point", NULL
22535 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22536 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22537 if (!SWIG_IsOK(res1
)) {
22538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBoxPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22540 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22543 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22547 wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint
const &)*arg2
);
22548 wxPyEndAllowThreads(__tstate
);
22549 if (PyErr_Occurred()) SWIG_fail
;
22551 resultobj
= SWIG_Py_Void();
22558 SWIGINTERN PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22559 PyObject
*resultobj
= 0;
22560 wxDC
*arg1
= (wxDC
*) 0 ;
22563 PyObject
*swig_obj
[1] ;
22565 if (!args
) SWIG_fail
;
22566 swig_obj
[0] = args
;
22567 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22568 if (!SWIG_IsOK(res1
)) {
22569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ResetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
22571 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22574 (arg1
)->ResetBoundingBox();
22575 wxPyEndAllowThreads(__tstate
);
22576 if (PyErr_Occurred()) SWIG_fail
;
22578 resultobj
= SWIG_Py_Void();
22585 SWIGINTERN PyObject
*_wrap_DC_MinX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22586 PyObject
*resultobj
= 0;
22587 wxDC
*arg1
= (wxDC
*) 0 ;
22591 PyObject
*swig_obj
[1] ;
22593 if (!args
) SWIG_fail
;
22594 swig_obj
[0] = args
;
22595 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22596 if (!SWIG_IsOK(res1
)) {
22597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinX" "', expected argument " "1"" of type '" "wxDC const *""'");
22599 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22602 result
= (int)((wxDC
const *)arg1
)->MinX();
22603 wxPyEndAllowThreads(__tstate
);
22604 if (PyErr_Occurred()) SWIG_fail
;
22606 resultobj
= SWIG_From_int(static_cast< int >(result
));
22613 SWIGINTERN PyObject
*_wrap_DC_MaxX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22614 PyObject
*resultobj
= 0;
22615 wxDC
*arg1
= (wxDC
*) 0 ;
22619 PyObject
*swig_obj
[1] ;
22621 if (!args
) SWIG_fail
;
22622 swig_obj
[0] = args
;
22623 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22624 if (!SWIG_IsOK(res1
)) {
22625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxX" "', expected argument " "1"" of type '" "wxDC const *""'");
22627 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22630 result
= (int)((wxDC
const *)arg1
)->MaxX();
22631 wxPyEndAllowThreads(__tstate
);
22632 if (PyErr_Occurred()) SWIG_fail
;
22634 resultobj
= SWIG_From_int(static_cast< int >(result
));
22641 SWIGINTERN PyObject
*_wrap_DC_MinY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22642 PyObject
*resultobj
= 0;
22643 wxDC
*arg1
= (wxDC
*) 0 ;
22647 PyObject
*swig_obj
[1] ;
22649 if (!args
) SWIG_fail
;
22650 swig_obj
[0] = args
;
22651 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22652 if (!SWIG_IsOK(res1
)) {
22653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinY" "', expected argument " "1"" of type '" "wxDC const *""'");
22655 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22658 result
= (int)((wxDC
const *)arg1
)->MinY();
22659 wxPyEndAllowThreads(__tstate
);
22660 if (PyErr_Occurred()) SWIG_fail
;
22662 resultobj
= SWIG_From_int(static_cast< int >(result
));
22669 SWIGINTERN PyObject
*_wrap_DC_MaxY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22670 PyObject
*resultobj
= 0;
22671 wxDC
*arg1
= (wxDC
*) 0 ;
22675 PyObject
*swig_obj
[1] ;
22677 if (!args
) SWIG_fail
;
22678 swig_obj
[0] = args
;
22679 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22680 if (!SWIG_IsOK(res1
)) {
22681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxY" "', expected argument " "1"" of type '" "wxDC const *""'");
22683 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22686 result
= (int)((wxDC
const *)arg1
)->MaxY();
22687 wxPyEndAllowThreads(__tstate
);
22688 if (PyErr_Occurred()) SWIG_fail
;
22690 resultobj
= SWIG_From_int(static_cast< int >(result
));
22697 SWIGINTERN PyObject
*_wrap_DC_GetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22698 PyObject
*resultobj
= 0;
22699 wxDC
*arg1
= (wxDC
*) 0 ;
22700 int *arg2
= (int *) 0 ;
22701 int *arg3
= (int *) 0 ;
22702 int *arg4
= (int *) 0 ;
22703 int *arg5
= (int *) 0 ;
22707 int res2
= SWIG_TMPOBJ
;
22709 int res3
= SWIG_TMPOBJ
;
22711 int res4
= SWIG_TMPOBJ
;
22713 int res5
= SWIG_TMPOBJ
;
22714 PyObject
*swig_obj
[1] ;
22720 if (!args
) SWIG_fail
;
22721 swig_obj
[0] = args
;
22722 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22723 if (!SWIG_IsOK(res1
)) {
22724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
22726 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22729 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
22730 wxPyEndAllowThreads(__tstate
);
22731 if (PyErr_Occurred()) SWIG_fail
;
22733 resultobj
= SWIG_Py_Void();
22734 if (SWIG_IsTmpObj(res2
)) {
22735 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22737 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22738 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22740 if (SWIG_IsTmpObj(res3
)) {
22741 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22743 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22744 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22746 if (SWIG_IsTmpObj(res4
)) {
22747 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
22749 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22750 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
22752 if (SWIG_IsTmpObj(res5
)) {
22753 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
22755 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22756 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
22764 SWIGINTERN PyObject
*_wrap_DC__DrawPointList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22765 PyObject
*resultobj
= 0;
22766 wxDC
*arg1
= (wxDC
*) 0 ;
22767 PyObject
*arg2
= (PyObject
*) 0 ;
22768 PyObject
*arg3
= (PyObject
*) 0 ;
22769 PyObject
*arg4
= (PyObject
*) 0 ;
22770 PyObject
*result
= 0 ;
22773 PyObject
* obj0
= 0 ;
22774 PyObject
* obj1
= 0 ;
22775 PyObject
* obj2
= 0 ;
22776 PyObject
* obj3
= 0 ;
22777 char * kwnames
[] = {
22778 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
22781 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22782 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22783 if (!SWIG_IsOK(res1
)) {
22784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPointList" "', expected argument " "1"" of type '" "wxDC *""'");
22786 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22792 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
22793 wxPyEndAllowThreads(__tstate
);
22794 if (PyErr_Occurred()) SWIG_fail
;
22796 resultobj
= result
;
22803 SWIGINTERN PyObject
*_wrap_DC__DrawLineList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22804 PyObject
*resultobj
= 0;
22805 wxDC
*arg1
= (wxDC
*) 0 ;
22806 PyObject
*arg2
= (PyObject
*) 0 ;
22807 PyObject
*arg3
= (PyObject
*) 0 ;
22808 PyObject
*arg4
= (PyObject
*) 0 ;
22809 PyObject
*result
= 0 ;
22812 PyObject
* obj0
= 0 ;
22813 PyObject
* obj1
= 0 ;
22814 PyObject
* obj2
= 0 ;
22815 PyObject
* obj3
= 0 ;
22816 char * kwnames
[] = {
22817 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
22820 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22821 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22822 if (!SWIG_IsOK(res1
)) {
22823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawLineList" "', expected argument " "1"" of type '" "wxDC *""'");
22825 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22831 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
22832 wxPyEndAllowThreads(__tstate
);
22833 if (PyErr_Occurred()) SWIG_fail
;
22835 resultobj
= result
;
22842 SWIGINTERN PyObject
*_wrap_DC__DrawRectangleList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22843 PyObject
*resultobj
= 0;
22844 wxDC
*arg1
= (wxDC
*) 0 ;
22845 PyObject
*arg2
= (PyObject
*) 0 ;
22846 PyObject
*arg3
= (PyObject
*) 0 ;
22847 PyObject
*arg4
= (PyObject
*) 0 ;
22848 PyObject
*result
= 0 ;
22851 PyObject
* obj0
= 0 ;
22852 PyObject
* obj1
= 0 ;
22853 PyObject
* obj2
= 0 ;
22854 PyObject
* obj3
= 0 ;
22855 char * kwnames
[] = {
22856 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
22859 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22860 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22861 if (!SWIG_IsOK(res1
)) {
22862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawRectangleList" "', expected argument " "1"" of type '" "wxDC *""'");
22864 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22870 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
22871 wxPyEndAllowThreads(__tstate
);
22872 if (PyErr_Occurred()) SWIG_fail
;
22874 resultobj
= result
;
22881 SWIGINTERN PyObject
*_wrap_DC__DrawEllipseList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22882 PyObject
*resultobj
= 0;
22883 wxDC
*arg1
= (wxDC
*) 0 ;
22884 PyObject
*arg2
= (PyObject
*) 0 ;
22885 PyObject
*arg3
= (PyObject
*) 0 ;
22886 PyObject
*arg4
= (PyObject
*) 0 ;
22887 PyObject
*result
= 0 ;
22890 PyObject
* obj0
= 0 ;
22891 PyObject
* obj1
= 0 ;
22892 PyObject
* obj2
= 0 ;
22893 PyObject
* obj3
= 0 ;
22894 char * kwnames
[] = {
22895 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
22898 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22899 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22900 if (!SWIG_IsOK(res1
)) {
22901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawEllipseList" "', expected argument " "1"" of type '" "wxDC *""'");
22903 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22909 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
22910 wxPyEndAllowThreads(__tstate
);
22911 if (PyErr_Occurred()) SWIG_fail
;
22913 resultobj
= result
;
22920 SWIGINTERN PyObject
*_wrap_DC__DrawPolygonList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22921 PyObject
*resultobj
= 0;
22922 wxDC
*arg1
= (wxDC
*) 0 ;
22923 PyObject
*arg2
= (PyObject
*) 0 ;
22924 PyObject
*arg3
= (PyObject
*) 0 ;
22925 PyObject
*arg4
= (PyObject
*) 0 ;
22926 PyObject
*result
= 0 ;
22929 PyObject
* obj0
= 0 ;
22930 PyObject
* obj1
= 0 ;
22931 PyObject
* obj2
= 0 ;
22932 PyObject
* obj3
= 0 ;
22933 char * kwnames
[] = {
22934 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
22937 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22938 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22939 if (!SWIG_IsOK(res1
)) {
22940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPolygonList" "', expected argument " "1"" of type '" "wxDC *""'");
22942 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22948 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
22949 wxPyEndAllowThreads(__tstate
);
22950 if (PyErr_Occurred()) SWIG_fail
;
22952 resultobj
= result
;
22959 SWIGINTERN PyObject
*_wrap_DC__DrawTextList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22960 PyObject
*resultobj
= 0;
22961 wxDC
*arg1
= (wxDC
*) 0 ;
22962 PyObject
*arg2
= (PyObject
*) 0 ;
22963 PyObject
*arg3
= (PyObject
*) 0 ;
22964 PyObject
*arg4
= (PyObject
*) 0 ;
22965 PyObject
*arg5
= (PyObject
*) 0 ;
22966 PyObject
*result
= 0 ;
22969 PyObject
* obj0
= 0 ;
22970 PyObject
* obj1
= 0 ;
22971 PyObject
* obj2
= 0 ;
22972 PyObject
* obj3
= 0 ;
22973 PyObject
* obj4
= 0 ;
22974 char * kwnames
[] = {
22975 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
22978 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22979 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22980 if (!SWIG_IsOK(res1
)) {
22981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawTextList" "', expected argument " "1"" of type '" "wxDC *""'");
22983 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22990 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
22991 wxPyEndAllowThreads(__tstate
);
22992 if (PyErr_Occurred()) SWIG_fail
;
22994 resultobj
= result
;
23001 SWIGINTERN PyObject
*DC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23003 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23004 SWIG_TypeNewClientData(SWIGTYPE_p_wxDC
, SWIG_NewClientData(obj
));
23005 return SWIG_Py_Void();
23008 SWIGINTERN PyObject
*_wrap_new_MemoryDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23009 PyObject
*resultobj
= 0;
23010 wxMemoryDC
*result
= 0 ;
23012 if (!SWIG_Python_UnpackTuple(args
,"new_MemoryDC",0,0,0)) SWIG_fail
;
23014 if (!wxPyCheckForApp()) SWIG_fail
;
23015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23016 result
= (wxMemoryDC
*)new wxMemoryDC();
23017 wxPyEndAllowThreads(__tstate
);
23018 if (PyErr_Occurred()) SWIG_fail
;
23020 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_NEW
| 0 );
23027 SWIGINTERN PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23028 PyObject
*resultobj
= 0;
23029 wxDC
*arg1
= (wxDC
*) 0 ;
23030 wxMemoryDC
*result
= 0 ;
23033 PyObject
* obj0
= 0 ;
23034 char * kwnames
[] = {
23035 (char *) "oldDC", NULL
23038 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) SWIG_fail
;
23039 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23040 if (!SWIG_IsOK(res1
)) {
23041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDCFromDC" "', expected argument " "1"" of type '" "wxDC *""'");
23043 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23045 if (!wxPyCheckForApp()) SWIG_fail
;
23046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23047 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
23048 wxPyEndAllowThreads(__tstate
);
23049 if (PyErr_Occurred()) SWIG_fail
;
23051 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_OWN
| 0 );
23058 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23059 PyObject
*resultobj
= 0;
23060 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
23061 wxBitmap
*arg2
= 0 ;
23066 PyObject
* obj0
= 0 ;
23067 PyObject
* obj1
= 0 ;
23068 char * kwnames
[] = {
23069 (char *) "self",(char *) "bitmap", NULL
23072 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23073 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
23074 if (!SWIG_IsOK(res1
)) {
23075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObject" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
23077 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
23078 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23079 if (!SWIG_IsOK(res2
)) {
23080 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23083 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23085 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23088 (arg1
)->SelectObject((wxBitmap
const &)*arg2
);
23089 wxPyEndAllowThreads(__tstate
);
23090 if (PyErr_Occurred()) SWIG_fail
;
23092 resultobj
= SWIG_Py_Void();
23099 SWIGINTERN PyObject
*MemoryDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23101 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23102 SWIG_TypeNewClientData(SWIGTYPE_p_wxMemoryDC
, SWIG_NewClientData(obj
));
23103 return SWIG_Py_Void();
23106 SWIGINTERN PyObject
*MemoryDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23107 return SWIG_Python_InitShadowInstance(args
);
23110 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23111 PyObject
*resultobj
= 0;
23112 wxDC
*arg1
= (wxDC
*) 0 ;
23113 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
23114 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
23115 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
23116 wxBufferedDC
*result
= 0 ;
23124 if ((nobjs
< 1) || (nobjs
> 3)) SWIG_fail
;
23125 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23126 if (!SWIG_IsOK(res1
)) {
23127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
23129 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23131 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23132 if (!SWIG_IsOK(res2
)) {
23133 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23136 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23138 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23141 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
23142 if (!SWIG_IsOK(ecode3
)) {
23143 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
23145 arg3
= static_cast< int >(val3
);
23148 if (!wxPyCheckForApp()) SWIG_fail
;
23149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23150 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxBitmap
const &)*arg2
,arg3
);
23151 wxPyEndAllowThreads(__tstate
);
23152 if (PyErr_Occurred()) SWIG_fail
;
23154 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
23161 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23162 PyObject
*resultobj
= 0;
23163 wxDC
*arg1
= (wxDC
*) 0 ;
23165 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
23166 wxBufferedDC
*result
= 0 ;
23173 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
23174 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23175 if (!SWIG_IsOK(res1
)) {
23176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
23178 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23181 if ( ! wxSize_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
23184 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
23185 if (!SWIG_IsOK(ecode3
)) {
23186 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
23188 arg3
= static_cast< int >(val3
);
23191 if (!wxPyCheckForApp()) SWIG_fail
;
23192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23193 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
,arg3
);
23194 wxPyEndAllowThreads(__tstate
);
23195 if (PyErr_Occurred()) SWIG_fail
;
23197 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
23204 SWIGINTERN PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
23208 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_BufferedDC",0,3,argv
))) SWIG_fail
;
23210 if ((argc
>= 1) && (argc
<= 3)) {
23214 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxBitmap
, 0);
23215 _v
= SWIG_CheckState(res
);
23217 if (!_v
) goto check_1
;
23219 return _wrap_new_BufferedDC__SWIG_0(self
, argc
, argv
);
23223 if ((argc
>= 2) && (argc
<= 3)) {
23224 return _wrap_new_BufferedDC__SWIG_1(self
, argc
, argv
);
23228 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_BufferedDC'");
23233 SWIGINTERN PyObject
*_wrap_delete_BufferedDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23234 PyObject
*resultobj
= 0;
23235 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
23238 PyObject
*swig_obj
[1] ;
23240 if (!args
) SWIG_fail
;
23241 swig_obj
[0] = args
;
23242 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_DISOWN
| 0 );
23243 if (!SWIG_IsOK(res1
)) {
23244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BufferedDC" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
23246 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
23248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23251 wxPyEndAllowThreads(__tstate
);
23252 if (PyErr_Occurred()) SWIG_fail
;
23254 resultobj
= SWIG_Py_Void();
23261 SWIGINTERN PyObject
*_wrap_BufferedDC_UnMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23262 PyObject
*resultobj
= 0;
23263 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
23266 PyObject
*swig_obj
[1] ;
23268 if (!args
) SWIG_fail
;
23269 swig_obj
[0] = args
;
23270 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
23271 if (!SWIG_IsOK(res1
)) {
23272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_UnMask" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
23274 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
23276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23278 wxPyEndAllowThreads(__tstate
);
23279 if (PyErr_Occurred()) SWIG_fail
;
23281 resultobj
= SWIG_Py_Void();
23288 SWIGINTERN PyObject
*BufferedDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23290 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23291 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedDC
, SWIG_NewClientData(obj
));
23292 return SWIG_Py_Void();
23295 SWIGINTERN PyObject
*BufferedDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23296 return SWIG_Python_InitShadowInstance(args
);
23299 SWIGINTERN PyObject
*_wrap_new_BufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23300 PyObject
*resultobj
= 0;
23301 wxWindow
*arg1
= (wxWindow
*) 0 ;
23302 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
23303 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
23304 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
23305 wxBufferedPaintDC
*result
= 0 ;
23312 PyObject
* obj0
= 0 ;
23313 PyObject
* obj1
= 0 ;
23314 PyObject
* obj2
= 0 ;
23315 char * kwnames
[] = {
23316 (char *) "window",(char *) "buffer",(char *) "style", NULL
23319 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23320 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23321 if (!SWIG_IsOK(res1
)) {
23322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
23324 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
23326 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23327 if (!SWIG_IsOK(res2
)) {
23328 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23331 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23333 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23336 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23337 if (!SWIG_IsOK(ecode3
)) {
23338 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedPaintDC" "', expected argument " "3"" of type '" "int""'");
23340 arg3
= static_cast< int >(val3
);
23343 if (!wxPyCheckForApp()) SWIG_fail
;
23344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23345 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,(wxBitmap
const &)*arg2
,arg3
);
23346 wxPyEndAllowThreads(__tstate
);
23347 if (PyErr_Occurred()) SWIG_fail
;
23349 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
23356 SWIGINTERN PyObject
*BufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23358 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23359 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedPaintDC
, SWIG_NewClientData(obj
));
23360 return SWIG_Py_Void();
23363 SWIGINTERN PyObject
*BufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23364 return SWIG_Python_InitShadowInstance(args
);
23367 SWIGINTERN PyObject
*_wrap_new_ScreenDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23368 PyObject
*resultobj
= 0;
23369 wxScreenDC
*result
= 0 ;
23371 if (!SWIG_Python_UnpackTuple(args
,"new_ScreenDC",0,0,0)) SWIG_fail
;
23373 if (!wxPyCheckForApp()) SWIG_fail
;
23374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23375 result
= (wxScreenDC
*)new wxScreenDC();
23376 wxPyEndAllowThreads(__tstate
);
23377 if (PyErr_Occurred()) SWIG_fail
;
23379 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_NEW
| 0 );
23386 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23387 PyObject
*resultobj
= 0;
23388 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
23389 wxWindow
*arg2
= (wxWindow
*) 0 ;
23395 PyObject
* obj0
= 0 ;
23396 PyObject
* obj1
= 0 ;
23397 char * kwnames
[] = {
23398 (char *) "self",(char *) "window", NULL
23401 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23402 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
23403 if (!SWIG_IsOK(res1
)) {
23404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "1"" of type '" "wxScreenDC *""'");
23406 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
23407 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23408 if (!SWIG_IsOK(res2
)) {
23409 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "2"" of type '" "wxWindow *""'");
23411 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
23413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23414 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
23415 wxPyEndAllowThreads(__tstate
);
23416 if (PyErr_Occurred()) SWIG_fail
;
23419 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23427 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23428 PyObject
*resultobj
= 0;
23429 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
23430 wxRect
*arg2
= (wxRect
*) NULL
;
23436 PyObject
* obj0
= 0 ;
23437 PyObject
* obj1
= 0 ;
23438 char * kwnames
[] = {
23439 (char *) "self",(char *) "rect", NULL
23442 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23443 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
23444 if (!SWIG_IsOK(res1
)) {
23445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
23447 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
23449 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
23450 if (!SWIG_IsOK(res2
)) {
23451 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "2"" of type '" "wxRect *""'");
23453 arg2
= reinterpret_cast< wxRect
* >(argp2
);
23456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23457 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
23458 wxPyEndAllowThreads(__tstate
);
23459 if (PyErr_Occurred()) SWIG_fail
;
23462 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23470 SWIGINTERN PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23471 PyObject
*resultobj
= 0;
23472 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
23476 PyObject
*swig_obj
[1] ;
23478 if (!args
) SWIG_fail
;
23479 swig_obj
[0] = args
;
23480 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
23481 if (!SWIG_IsOK(res1
)) {
23482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_EndDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
23484 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
23486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23487 result
= (bool)(arg1
)->EndDrawingOnTop();
23488 wxPyEndAllowThreads(__tstate
);
23489 if (PyErr_Occurred()) SWIG_fail
;
23492 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23500 SWIGINTERN PyObject
*ScreenDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23502 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23503 SWIG_TypeNewClientData(SWIGTYPE_p_wxScreenDC
, SWIG_NewClientData(obj
));
23504 return SWIG_Py_Void();
23507 SWIGINTERN PyObject
*ScreenDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23508 return SWIG_Python_InitShadowInstance(args
);
23511 SWIGINTERN PyObject
*_wrap_new_WindowDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23512 PyObject
*resultobj
= 0;
23513 wxWindow
*arg1
= (wxWindow
*) 0 ;
23514 wxWindowDC
*result
= 0 ;
23517 PyObject
* obj0
= 0 ;
23518 char * kwnames
[] = {
23519 (char *) "win", NULL
23522 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) SWIG_fail
;
23523 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23524 if (!SWIG_IsOK(res1
)) {
23525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowDC" "', expected argument " "1"" of type '" "wxWindow *""'");
23527 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
23529 if (!wxPyCheckForApp()) SWIG_fail
;
23530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23531 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
23532 wxPyEndAllowThreads(__tstate
);
23533 if (PyErr_Occurred()) SWIG_fail
;
23535 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowDC
, SWIG_POINTER_NEW
| 0 );
23542 SWIGINTERN PyObject
*WindowDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23544 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23545 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowDC
, SWIG_NewClientData(obj
));
23546 return SWIG_Py_Void();
23549 SWIGINTERN PyObject
*WindowDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23550 return SWIG_Python_InitShadowInstance(args
);
23553 SWIGINTERN PyObject
*_wrap_new_ClientDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23554 PyObject
*resultobj
= 0;
23555 wxWindow
*arg1
= (wxWindow
*) 0 ;
23556 wxClientDC
*result
= 0 ;
23559 PyObject
* obj0
= 0 ;
23560 char * kwnames
[] = {
23561 (char *) "win", NULL
23564 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) SWIG_fail
;
23565 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23566 if (!SWIG_IsOK(res1
)) {
23567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ClientDC" "', expected argument " "1"" of type '" "wxWindow *""'");
23569 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
23571 if (!wxPyCheckForApp()) SWIG_fail
;
23572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23573 result
= (wxClientDC
*)new wxClientDC(arg1
);
23574 wxPyEndAllowThreads(__tstate
);
23575 if (PyErr_Occurred()) SWIG_fail
;
23577 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClientDC
, SWIG_POINTER_NEW
| 0 );
23584 SWIGINTERN PyObject
*ClientDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23586 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23587 SWIG_TypeNewClientData(SWIGTYPE_p_wxClientDC
, SWIG_NewClientData(obj
));
23588 return SWIG_Py_Void();
23591 SWIGINTERN PyObject
*ClientDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23592 return SWIG_Python_InitShadowInstance(args
);
23595 SWIGINTERN PyObject
*_wrap_new_PaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23596 PyObject
*resultobj
= 0;
23597 wxWindow
*arg1
= (wxWindow
*) 0 ;
23598 wxPaintDC
*result
= 0 ;
23601 PyObject
* obj0
= 0 ;
23602 char * kwnames
[] = {
23603 (char *) "win", NULL
23606 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) SWIG_fail
;
23607 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23608 if (!SWIG_IsOK(res1
)) {
23609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
23611 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
23613 if (!wxPyCheckForApp()) SWIG_fail
;
23614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23615 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
23616 wxPyEndAllowThreads(__tstate
);
23617 if (PyErr_Occurred()) SWIG_fail
;
23619 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPaintDC
, SWIG_POINTER_NEW
| 0 );
23626 SWIGINTERN PyObject
*PaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23628 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23629 SWIG_TypeNewClientData(SWIGTYPE_p_wxPaintDC
, SWIG_NewClientData(obj
));
23630 return SWIG_Py_Void();
23633 SWIGINTERN PyObject
*PaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23634 return SWIG_Python_InitShadowInstance(args
);
23637 SWIGINTERN PyObject
*_wrap_new_MirrorDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23638 PyObject
*resultobj
= 0;
23641 wxMirrorDC
*result
= 0 ;
23646 PyObject
* obj0
= 0 ;
23647 PyObject
* obj1
= 0 ;
23648 char * kwnames
[] = {
23649 (char *) "dc",(char *) "mirror", NULL
23652 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23653 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
23654 if (!SWIG_IsOK(res1
)) {
23655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
23658 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
23660 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23661 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23662 if (!SWIG_IsOK(ecode2
)) {
23663 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MirrorDC" "', expected argument " "2"" of type '" "bool""'");
23665 arg2
= static_cast< bool >(val2
);
23667 if (!wxPyCheckForApp()) SWIG_fail
;
23668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23669 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
23670 wxPyEndAllowThreads(__tstate
);
23671 if (PyErr_Occurred()) SWIG_fail
;
23673 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMirrorDC
, SWIG_POINTER_NEW
| 0 );
23680 SWIGINTERN PyObject
*MirrorDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23682 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23683 SWIG_TypeNewClientData(SWIGTYPE_p_wxMirrorDC
, SWIG_NewClientData(obj
));
23684 return SWIG_Py_Void();
23687 SWIGINTERN PyObject
*MirrorDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23688 return SWIG_Python_InitShadowInstance(args
);
23691 SWIGINTERN PyObject
*_wrap_new_PostScriptDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23692 PyObject
*resultobj
= 0;
23693 wxPrintData
*arg1
= 0 ;
23694 wxPostScriptDC
*result
= 0 ;
23697 PyObject
* obj0
= 0 ;
23698 char * kwnames
[] = {
23699 (char *) "printData", NULL
23702 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) SWIG_fail
;
23703 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
23704 if (!SWIG_IsOK(res1
)) {
23705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23708 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23710 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23712 if (!wxPyCheckForApp()) SWIG_fail
;
23713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23714 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
23715 wxPyEndAllowThreads(__tstate
);
23716 if (PyErr_Occurred()) SWIG_fail
;
23718 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPostScriptDC
, SWIG_POINTER_NEW
| 0 );
23725 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23726 PyObject
*resultobj
= 0;
23727 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
23728 wxPrintData
*result
= 0 ;
23731 PyObject
*swig_obj
[1] ;
23733 if (!args
) SWIG_fail
;
23734 swig_obj
[0] = args
;
23735 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
23736 if (!SWIG_IsOK(res1
)) {
23737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_GetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
23739 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
23741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23743 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
23744 result
= (wxPrintData
*) &_result_ref
;
23746 wxPyEndAllowThreads(__tstate
);
23747 if (PyErr_Occurred()) SWIG_fail
;
23749 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
23756 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23757 PyObject
*resultobj
= 0;
23758 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
23759 wxPrintData
*arg2
= 0 ;
23764 PyObject
* obj0
= 0 ;
23765 PyObject
* obj1
= 0 ;
23766 char * kwnames
[] = {
23767 (char *) "self",(char *) "data", NULL
23770 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23771 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
23772 if (!SWIG_IsOK(res1
)) {
23773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
23775 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
23776 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
23777 if (!SWIG_IsOK(res2
)) {
23778 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
23781 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
23783 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
23785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23786 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
23787 wxPyEndAllowThreads(__tstate
);
23788 if (PyErr_Occurred()) SWIG_fail
;
23790 resultobj
= SWIG_Py_Void();
23797 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23798 PyObject
*resultobj
= 0;
23802 PyObject
* obj0
= 0 ;
23803 char * kwnames
[] = {
23804 (char *) "ppi", NULL
23807 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) SWIG_fail
;
23808 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23809 if (!SWIG_IsOK(ecode1
)) {
23810 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PostScriptDC_SetResolution" "', expected argument " "1"" of type '" "int""'");
23812 arg1
= static_cast< int >(val1
);
23814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23815 wxPostScriptDC::SetResolution(arg1
);
23816 wxPyEndAllowThreads(__tstate
);
23817 if (PyErr_Occurred()) SWIG_fail
;
23819 resultobj
= SWIG_Py_Void();
23826 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23827 PyObject
*resultobj
= 0;
23830 if (!SWIG_Python_UnpackTuple(args
,"PostScriptDC_GetResolution",0,0,0)) SWIG_fail
;
23832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23833 result
= (int)wxPostScriptDC::GetResolution();
23834 wxPyEndAllowThreads(__tstate
);
23835 if (PyErr_Occurred()) SWIG_fail
;
23837 resultobj
= SWIG_From_int(static_cast< int >(result
));
23844 SWIGINTERN PyObject
*PostScriptDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23846 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23847 SWIG_TypeNewClientData(SWIGTYPE_p_wxPostScriptDC
, SWIG_NewClientData(obj
));
23848 return SWIG_Py_Void();
23851 SWIGINTERN PyObject
*PostScriptDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23852 return SWIG_Python_InitShadowInstance(args
);
23855 SWIGINTERN PyObject
*_wrap_new_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23856 PyObject
*resultobj
= 0;
23857 wxString
const &arg1_defvalue
= wxPyEmptyString
;
23858 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
23859 wxMetaFile
*result
= 0 ;
23860 bool temp1
= false ;
23861 PyObject
* obj0
= 0 ;
23862 char * kwnames
[] = {
23863 (char *) "filename", NULL
23866 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) SWIG_fail
;
23869 arg1
= wxString_in_helper(obj0
);
23870 if (arg1
== NULL
) SWIG_fail
;
23875 if (!wxPyCheckForApp()) SWIG_fail
;
23876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23877 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
23878 wxPyEndAllowThreads(__tstate
);
23879 if (PyErr_Occurred()) SWIG_fail
;
23881 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_NEW
| 0 );
23896 SWIGINTERN PyObject
*_wrap_delete_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23897 PyObject
*resultobj
= 0;
23898 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
23901 PyObject
*swig_obj
[1] ;
23903 if (!args
) SWIG_fail
;
23904 swig_obj
[0] = args
;
23905 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_DISOWN
| 0 );
23906 if (!SWIG_IsOK(res1
)) {
23907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MetaFile" "', expected argument " "1"" of type '" "wxMetaFile *""'");
23909 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
23911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23914 wxPyEndAllowThreads(__tstate
);
23915 if (PyErr_Occurred()) SWIG_fail
;
23917 resultobj
= SWIG_Py_Void();
23924 SWIGINTERN PyObject
*_wrap_MetaFile_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23925 PyObject
*resultobj
= 0;
23926 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
23930 PyObject
*swig_obj
[1] ;
23932 if (!args
) SWIG_fail
;
23933 swig_obj
[0] = args
;
23934 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
23935 if (!SWIG_IsOK(res1
)) {
23936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_Ok" "', expected argument " "1"" of type '" "wxMetaFile *""'");
23938 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
23940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23941 result
= (bool)(arg1
)->Ok();
23942 wxPyEndAllowThreads(__tstate
);
23943 if (PyErr_Occurred()) SWIG_fail
;
23946 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23954 SWIGINTERN PyObject
*_wrap_MetaFile_SetClipboard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23955 PyObject
*resultobj
= 0;
23956 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
23957 int arg2
= (int) 0 ;
23958 int arg3
= (int) 0 ;
23966 PyObject
* obj0
= 0 ;
23967 PyObject
* obj1
= 0 ;
23968 PyObject
* obj2
= 0 ;
23969 char * kwnames
[] = {
23970 (char *) "self",(char *) "width",(char *) "height", NULL
23973 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MetaFile_SetClipboard",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23974 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
23975 if (!SWIG_IsOK(res1
)) {
23976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_SetClipboard" "', expected argument " "1"" of type '" "wxMetaFile *""'");
23978 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
23980 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23981 if (!SWIG_IsOK(ecode2
)) {
23982 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MetaFile_SetClipboard" "', expected argument " "2"" of type '" "int""'");
23984 arg2
= static_cast< int >(val2
);
23987 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23988 if (!SWIG_IsOK(ecode3
)) {
23989 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MetaFile_SetClipboard" "', expected argument " "3"" of type '" "int""'");
23991 arg3
= static_cast< int >(val3
);
23994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23995 result
= (bool)(arg1
)->SetClipboard(arg2
,arg3
);
23996 wxPyEndAllowThreads(__tstate
);
23997 if (PyErr_Occurred()) SWIG_fail
;
24000 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24008 SWIGINTERN PyObject
*_wrap_MetaFile_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24009 PyObject
*resultobj
= 0;
24010 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
24014 PyObject
*swig_obj
[1] ;
24016 if (!args
) SWIG_fail
;
24017 swig_obj
[0] = args
;
24018 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
24019 if (!SWIG_IsOK(res1
)) {
24020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetSize" "', expected argument " "1"" of type '" "wxMetaFile *""'");
24022 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
24024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24025 result
= (arg1
)->GetSize();
24026 wxPyEndAllowThreads(__tstate
);
24027 if (PyErr_Occurred()) SWIG_fail
;
24029 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
24036 SWIGINTERN PyObject
*_wrap_MetaFile_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24037 PyObject
*resultobj
= 0;
24038 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
24042 PyObject
*swig_obj
[1] ;
24044 if (!args
) SWIG_fail
;
24045 swig_obj
[0] = args
;
24046 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
24047 if (!SWIG_IsOK(res1
)) {
24048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetWidth" "', expected argument " "1"" of type '" "wxMetaFile *""'");
24050 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
24052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24053 result
= (int)(arg1
)->GetWidth();
24054 wxPyEndAllowThreads(__tstate
);
24055 if (PyErr_Occurred()) SWIG_fail
;
24057 resultobj
= SWIG_From_int(static_cast< int >(result
));
24064 SWIGINTERN PyObject
*_wrap_MetaFile_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24065 PyObject
*resultobj
= 0;
24066 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
24070 PyObject
*swig_obj
[1] ;
24072 if (!args
) SWIG_fail
;
24073 swig_obj
[0] = args
;
24074 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
24075 if (!SWIG_IsOK(res1
)) {
24076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetHeight" "', expected argument " "1"" of type '" "wxMetaFile *""'");
24078 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
24080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24081 result
= (int)(arg1
)->GetHeight();
24082 wxPyEndAllowThreads(__tstate
);
24083 if (PyErr_Occurred()) SWIG_fail
;
24085 resultobj
= SWIG_From_int(static_cast< int >(result
));
24092 SWIGINTERN PyObject
*MetaFile_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24094 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24095 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFile
, SWIG_NewClientData(obj
));
24096 return SWIG_Py_Void();
24099 SWIGINTERN PyObject
*MetaFile_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24100 return SWIG_Python_InitShadowInstance(args
);
24103 SWIGINTERN PyObject
*_wrap_new_MetaFileDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24104 PyObject
*resultobj
= 0;
24105 wxString
const &arg1_defvalue
= wxPyEmptyString
;
24106 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24107 int arg2
= (int) 0 ;
24108 int arg3
= (int) 0 ;
24109 wxString
const &arg4_defvalue
= wxPyEmptyString
;
24110 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
24111 wxMetaFileDC
*result
= 0 ;
24112 bool temp1
= false ;
24117 bool temp4
= false ;
24118 PyObject
* obj0
= 0 ;
24119 PyObject
* obj1
= 0 ;
24120 PyObject
* obj2
= 0 ;
24121 PyObject
* obj3
= 0 ;
24122 char * kwnames
[] = {
24123 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
24126 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24129 arg1
= wxString_in_helper(obj0
);
24130 if (arg1
== NULL
) SWIG_fail
;
24135 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24136 if (!SWIG_IsOK(ecode2
)) {
24137 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MetaFileDC" "', expected argument " "2"" of type '" "int""'");
24139 arg2
= static_cast< int >(val2
);
24142 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24143 if (!SWIG_IsOK(ecode3
)) {
24144 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_MetaFileDC" "', expected argument " "3"" of type '" "int""'");
24146 arg3
= static_cast< int >(val3
);
24150 arg4
= wxString_in_helper(obj3
);
24151 if (arg4
== NULL
) SWIG_fail
;
24156 if (!wxPyCheckForApp()) SWIG_fail
;
24157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24158 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
24159 wxPyEndAllowThreads(__tstate
);
24160 if (PyErr_Occurred()) SWIG_fail
;
24162 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFileDC
, SWIG_POINTER_NEW
| 0 );
24185 SWIGINTERN PyObject
*_wrap_MetaFileDC_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24186 PyObject
*resultobj
= 0;
24187 wxMetaFileDC
*arg1
= (wxMetaFileDC
*) 0 ;
24188 wxMetaFile
*result
= 0 ;
24191 PyObject
*swig_obj
[1] ;
24193 if (!args
) SWIG_fail
;
24194 swig_obj
[0] = args
;
24195 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFileDC
, 0 | 0 );
24196 if (!SWIG_IsOK(res1
)) {
24197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFileDC_Close" "', expected argument " "1"" of type '" "wxMetaFileDC *""'");
24199 arg1
= reinterpret_cast< wxMetaFileDC
* >(argp1
);
24201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24202 result
= (wxMetaFile
*)(arg1
)->Close();
24203 wxPyEndAllowThreads(__tstate
);
24204 if (PyErr_Occurred()) SWIG_fail
;
24206 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, 0 | 0 );
24213 SWIGINTERN PyObject
*MetaFileDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24215 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24216 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFileDC
, SWIG_NewClientData(obj
));
24217 return SWIG_Py_Void();
24220 SWIGINTERN PyObject
*MetaFileDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24221 return SWIG_Python_InitShadowInstance(args
);
24224 SWIGINTERN PyObject
*_wrap_new_PrinterDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24225 PyObject
*resultobj
= 0;
24226 wxPrintData
*arg1
= 0 ;
24227 wxPrinterDC
*result
= 0 ;
24230 PyObject
* obj0
= 0 ;
24231 char * kwnames
[] = {
24232 (char *) "printData", NULL
24235 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) SWIG_fail
;
24236 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24237 if (!SWIG_IsOK(res1
)) {
24238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24241 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24243 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24245 if (!wxPyCheckForApp()) SWIG_fail
;
24246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24247 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
24248 wxPyEndAllowThreads(__tstate
);
24249 if (PyErr_Occurred()) SWIG_fail
;
24251 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinterDC
, SWIG_POINTER_NEW
| 0 );
24258 SWIGINTERN PyObject
*PrinterDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24260 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24261 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinterDC
, SWIG_NewClientData(obj
));
24262 return SWIG_Py_Void();
24265 SWIGINTERN PyObject
*PrinterDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24266 return SWIG_Python_InitShadowInstance(args
);
24269 SWIGINTERN PyObject
*_wrap_delete_GraphicsPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24270 PyObject
*resultobj
= 0;
24271 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
24274 PyObject
*swig_obj
[1] ;
24276 if (!args
) SWIG_fail
;
24277 swig_obj
[0] = args
;
24278 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_DISOWN
| 0 );
24279 if (!SWIG_IsOK(res1
)) {
24280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsPath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
24282 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
24284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24287 wxPyEndAllowThreads(__tstate
);
24288 if (PyErr_Occurred()) SWIG_fail
;
24290 resultobj
= SWIG_Py_Void();
24297 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24298 PyObject
*resultobj
= 0;
24299 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
24308 PyObject
* obj0
= 0 ;
24309 PyObject
* obj1
= 0 ;
24310 PyObject
* obj2
= 0 ;
24311 char * kwnames
[] = {
24312 (char *) "self",(char *) "x",(char *) "y", NULL
24315 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsPath_MoveToPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24316 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
24317 if (!SWIG_IsOK(res1
)) {
24318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
24320 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
24321 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
24322 if (!SWIG_IsOK(ecode2
)) {
24323 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
24325 arg2
= static_cast< wxDouble
>(val2
);
24326 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
24327 if (!SWIG_IsOK(ecode3
)) {
24328 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
24330 arg3
= static_cast< wxDouble
>(val3
);
24332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24333 (arg1
)->MoveToPoint(arg2
,arg3
);
24334 wxPyEndAllowThreads(__tstate
);
24335 if (PyErr_Occurred()) SWIG_fail
;
24337 resultobj
= SWIG_Py_Void();
24344 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24345 PyObject
*resultobj
= 0;
24346 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
24355 PyObject
* obj0
= 0 ;
24356 PyObject
* obj1
= 0 ;
24357 PyObject
* obj2
= 0 ;
24358 char * kwnames
[] = {
24359 (char *) "self",(char *) "x",(char *) "y", NULL
24362 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsPath_AddLineToPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24363 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
24364 if (!SWIG_IsOK(res1
)) {
24365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
24367 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
24368 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
24369 if (!SWIG_IsOK(ecode2
)) {
24370 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
24372 arg2
= static_cast< wxDouble
>(val2
);
24373 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
24374 if (!SWIG_IsOK(ecode3
)) {
24375 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
24377 arg3
= static_cast< wxDouble
>(val3
);
24379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24380 (arg1
)->AddLineToPoint(arg2
,arg3
);
24381 wxPyEndAllowThreads(__tstate
);
24382 if (PyErr_Occurred()) SWIG_fail
;
24384 resultobj
= SWIG_Py_Void();
24391 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24392 PyObject
*resultobj
= 0;
24393 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
24414 PyObject
* obj0
= 0 ;
24415 PyObject
* obj1
= 0 ;
24416 PyObject
* obj2
= 0 ;
24417 PyObject
* obj3
= 0 ;
24418 PyObject
* obj4
= 0 ;
24419 PyObject
* obj5
= 0 ;
24420 PyObject
* obj6
= 0 ;
24421 char * kwnames
[] = {
24422 (char *) "self",(char *) "cx1",(char *) "cy1",(char *) "cx2",(char *) "cy2",(char *) "x",(char *) "y", NULL
24425 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsPath_AddCurveToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
24426 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
24427 if (!SWIG_IsOK(res1
)) {
24428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
24430 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
24431 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
24432 if (!SWIG_IsOK(ecode2
)) {
24433 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
24435 arg2
= static_cast< wxDouble
>(val2
);
24436 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
24437 if (!SWIG_IsOK(ecode3
)) {
24438 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
24440 arg3
= static_cast< wxDouble
>(val3
);
24441 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
24442 if (!SWIG_IsOK(ecode4
)) {
24443 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
24445 arg4
= static_cast< wxDouble
>(val4
);
24446 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
24447 if (!SWIG_IsOK(ecode5
)) {
24448 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
24450 arg5
= static_cast< wxDouble
>(val5
);
24451 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
24452 if (!SWIG_IsOK(ecode6
)) {
24453 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "6"" of type '" "wxDouble""'");
24455 arg6
= static_cast< wxDouble
>(val6
);
24456 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
24457 if (!SWIG_IsOK(ecode7
)) {
24458 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "7"" of type '" "wxDouble""'");
24460 arg7
= static_cast< wxDouble
>(val7
);
24462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24463 (arg1
)->AddCurveToPoint(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
24464 wxPyEndAllowThreads(__tstate
);
24465 if (PyErr_Occurred()) SWIG_fail
;
24467 resultobj
= SWIG_Py_Void();
24474 SWIGINTERN PyObject
*_wrap_GraphicsPath_CloseSubpath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24475 PyObject
*resultobj
= 0;
24476 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
24479 PyObject
*swig_obj
[1] ;
24481 if (!args
) SWIG_fail
;
24482 swig_obj
[0] = args
;
24483 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
24484 if (!SWIG_IsOK(res1
)) {
24485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_CloseSubpath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
24487 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
24489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24490 (arg1
)->CloseSubpath();
24491 wxPyEndAllowThreads(__tstate
);
24492 if (PyErr_Occurred()) SWIG_fail
;
24494 resultobj
= SWIG_Py_Void();
24501 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetCurrentPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24502 PyObject
*resultobj
= 0;
24503 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
24507 PyObject
*swig_obj
[1] ;
24509 if (!args
) SWIG_fail
;
24510 swig_obj
[0] = args
;
24511 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
24512 if (!SWIG_IsOK(res1
)) {
24513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetCurrentPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
24515 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
24517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24518 result
= (arg1
)->GetCurrentPoint();
24519 wxPyEndAllowThreads(__tstate
);
24520 if (PyErr_Occurred()) SWIG_fail
;
24522 resultobj
= SWIG_NewPointerObj((new wxPoint2D(static_cast< const wxPoint2D
& >(result
))), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
24529 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24530 PyObject
*resultobj
= 0;
24531 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
24552 PyObject
* obj0
= 0 ;
24553 PyObject
* obj1
= 0 ;
24554 PyObject
* obj2
= 0 ;
24555 PyObject
* obj3
= 0 ;
24556 PyObject
* obj4
= 0 ;
24557 PyObject
* obj5
= 0 ;
24558 PyObject
* obj6
= 0 ;
24559 char * kwnames
[] = {
24560 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "startAngle",(char *) "endAngle",(char *) "clockwise", NULL
24563 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsPath_AddArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
24564 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
24565 if (!SWIG_IsOK(res1
)) {
24566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArc" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
24568 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
24569 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
24570 if (!SWIG_IsOK(ecode2
)) {
24571 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArc" "', expected argument " "2"" of type '" "wxDouble""'");
24573 arg2
= static_cast< wxDouble
>(val2
);
24574 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
24575 if (!SWIG_IsOK(ecode3
)) {
24576 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArc" "', expected argument " "3"" of type '" "wxDouble""'");
24578 arg3
= static_cast< wxDouble
>(val3
);
24579 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
24580 if (!SWIG_IsOK(ecode4
)) {
24581 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArc" "', expected argument " "4"" of type '" "wxDouble""'");
24583 arg4
= static_cast< wxDouble
>(val4
);
24584 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
24585 if (!SWIG_IsOK(ecode5
)) {
24586 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArc" "', expected argument " "5"" of type '" "wxDouble""'");
24588 arg5
= static_cast< wxDouble
>(val5
);
24589 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
24590 if (!SWIG_IsOK(ecode6
)) {
24591 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArc" "', expected argument " "6"" of type '" "wxDouble""'");
24593 arg6
= static_cast< wxDouble
>(val6
);
24594 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
24595 if (!SWIG_IsOK(ecode7
)) {
24596 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddArc" "', expected argument " "7"" of type '" "bool""'");
24598 arg7
= static_cast< bool >(val7
);
24600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24601 (arg1
)->AddArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
24602 wxPyEndAllowThreads(__tstate
);
24603 if (PyErr_Occurred()) SWIG_fail
;
24605 resultobj
= SWIG_Py_Void();
24612 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddQuadCurveToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24613 PyObject
*resultobj
= 0;
24614 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
24629 PyObject
* obj0
= 0 ;
24630 PyObject
* obj1
= 0 ;
24631 PyObject
* obj2
= 0 ;
24632 PyObject
* obj3
= 0 ;
24633 PyObject
* obj4
= 0 ;
24634 char * kwnames
[] = {
24635 (char *) "self",(char *) "cx",(char *) "cy",(char *) "x",(char *) "y", NULL
24638 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddQuadCurveToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
24639 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
24640 if (!SWIG_IsOK(res1
)) {
24641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
24643 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
24644 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
24645 if (!SWIG_IsOK(ecode2
)) {
24646 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
24648 arg2
= static_cast< wxDouble
>(val2
);
24649 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
24650 if (!SWIG_IsOK(ecode3
)) {
24651 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
24653 arg3
= static_cast< wxDouble
>(val3
);
24654 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
24655 if (!SWIG_IsOK(ecode4
)) {
24656 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
24658 arg4
= static_cast< wxDouble
>(val4
);
24659 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
24660 if (!SWIG_IsOK(ecode5
)) {
24661 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
24663 arg5
= static_cast< wxDouble
>(val5
);
24665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24666 (arg1
)->AddQuadCurveToPoint(arg2
,arg3
,arg4
,arg5
);
24667 wxPyEndAllowThreads(__tstate
);
24668 if (PyErr_Occurred()) SWIG_fail
;
24670 resultobj
= SWIG_Py_Void();
24677 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24678 PyObject
*resultobj
= 0;
24679 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
24694 PyObject
* obj0
= 0 ;
24695 PyObject
* obj1
= 0 ;
24696 PyObject
* obj2
= 0 ;
24697 PyObject
* obj3
= 0 ;
24698 PyObject
* obj4
= 0 ;
24699 char * kwnames
[] = {
24700 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
24703 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
24704 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
24705 if (!SWIG_IsOK(res1
)) {
24706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
24708 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
24709 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
24710 if (!SWIG_IsOK(ecode2
)) {
24711 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
24713 arg2
= static_cast< wxDouble
>(val2
);
24714 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
24715 if (!SWIG_IsOK(ecode3
)) {
24716 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
24718 arg3
= static_cast< wxDouble
>(val3
);
24719 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
24720 if (!SWIG_IsOK(ecode4
)) {
24721 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
24723 arg4
= static_cast< wxDouble
>(val4
);
24724 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
24725 if (!SWIG_IsOK(ecode5
)) {
24726 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
24728 arg5
= static_cast< wxDouble
>(val5
);
24730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24731 (arg1
)->AddRectangle(arg2
,arg3
,arg4
,arg5
);
24732 wxPyEndAllowThreads(__tstate
);
24733 if (PyErr_Occurred()) SWIG_fail
;
24735 resultobj
= SWIG_Py_Void();
24742 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24743 PyObject
*resultobj
= 0;
24744 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
24756 PyObject
* obj0
= 0 ;
24757 PyObject
* obj1
= 0 ;
24758 PyObject
* obj2
= 0 ;
24759 PyObject
* obj3
= 0 ;
24760 char * kwnames
[] = {
24761 (char *) "self",(char *) "x",(char *) "y",(char *) "r", NULL
24764 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GraphicsPath_AddCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24765 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
24766 if (!SWIG_IsOK(res1
)) {
24767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
24769 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
24770 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
24771 if (!SWIG_IsOK(ecode2
)) {
24772 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "2"" of type '" "wxDouble""'");
24774 arg2
= static_cast< wxDouble
>(val2
);
24775 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
24776 if (!SWIG_IsOK(ecode3
)) {
24777 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "3"" of type '" "wxDouble""'");
24779 arg3
= static_cast< wxDouble
>(val3
);
24780 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
24781 if (!SWIG_IsOK(ecode4
)) {
24782 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "4"" of type '" "wxDouble""'");
24784 arg4
= static_cast< wxDouble
>(val4
);
24786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24787 (arg1
)->AddCircle(arg2
,arg3
,arg4
);
24788 wxPyEndAllowThreads(__tstate
);
24789 if (PyErr_Occurred()) SWIG_fail
;
24791 resultobj
= SWIG_Py_Void();
24798 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArcToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24799 PyObject
*resultobj
= 0;
24800 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
24818 PyObject
* obj0
= 0 ;
24819 PyObject
* obj1
= 0 ;
24820 PyObject
* obj2
= 0 ;
24821 PyObject
* obj3
= 0 ;
24822 PyObject
* obj4
= 0 ;
24823 PyObject
* obj5
= 0 ;
24824 char * kwnames
[] = {
24825 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "r", NULL
24828 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsPath_AddArcToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
24829 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
24830 if (!SWIG_IsOK(res1
)) {
24831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
24833 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
24834 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
24835 if (!SWIG_IsOK(ecode2
)) {
24836 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
24838 arg2
= static_cast< wxDouble
>(val2
);
24839 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
24840 if (!SWIG_IsOK(ecode3
)) {
24841 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
24843 arg3
= static_cast< wxDouble
>(val3
);
24844 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
24845 if (!SWIG_IsOK(ecode4
)) {
24846 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
24848 arg4
= static_cast< wxDouble
>(val4
);
24849 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
24850 if (!SWIG_IsOK(ecode5
)) {
24851 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
24853 arg5
= static_cast< wxDouble
>(val5
);
24854 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
24855 if (!SWIG_IsOK(ecode6
)) {
24856 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "6"" of type '" "wxDouble""'");
24858 arg6
= static_cast< wxDouble
>(val6
);
24860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24861 (arg1
)->AddArcToPoint(arg2
,arg3
,arg4
,arg5
,arg6
);
24862 wxPyEndAllowThreads(__tstate
);
24863 if (PyErr_Occurred()) SWIG_fail
;
24865 resultobj
= SWIG_Py_Void();
24872 SWIGINTERN PyObject
*GraphicsPath_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24874 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24875 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsPath
, SWIG_NewClientData(obj
));
24876 return SWIG_Py_Void();
24879 SWIGINTERN PyObject
*_wrap_delete_GraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24880 PyObject
*resultobj
= 0;
24881 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
24884 PyObject
*swig_obj
[1] ;
24886 if (!args
) SWIG_fail
;
24887 swig_obj
[0] = args
;
24888 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_DISOWN
| 0 );
24889 if (!SWIG_IsOK(res1
)) {
24890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsContext" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
24892 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
24894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24897 wxPyEndAllowThreads(__tstate
);
24898 if (PyErr_Occurred()) SWIG_fail
;
24900 resultobj
= SWIG_Py_Void();
24907 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24908 PyObject
*resultobj
= 0;
24909 wxWindowDC
*arg1
= 0 ;
24910 wxGraphicsContext
*result
= 0 ;
24913 PyObject
* obj0
= 0 ;
24914 char * kwnames
[] = {
24915 (char *) "dc", NULL
24918 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GraphicsContext_Create",kwnames
,&obj0
)) SWIG_fail
;
24919 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
24920 if (!SWIG_IsOK(res1
)) {
24921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
24924 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
24926 arg1
= reinterpret_cast< wxWindowDC
* >(argp1
);
24928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24929 result
= (wxGraphicsContext
*)wxGraphicsContext::Create((wxWindowDC
const &)*arg1
);
24930 wxPyEndAllowThreads(__tstate
);
24931 if (PyErr_Occurred()) SWIG_fail
;
24933 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
24940 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreatePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24941 PyObject
*resultobj
= 0;
24942 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
24943 wxGraphicsPath
*result
= 0 ;
24946 PyObject
*swig_obj
[1] ;
24948 if (!args
) SWIG_fail
;
24949 swig_obj
[0] = args
;
24950 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
24951 if (!SWIG_IsOK(res1
)) {
24952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreatePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
24954 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
24956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24957 result
= (wxGraphicsPath
*)(arg1
)->CreatePath();
24958 wxPyEndAllowThreads(__tstate
);
24959 if (PyErr_Occurred()) SWIG_fail
;
24961 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
24968 SWIGINTERN PyObject
*_wrap_GraphicsContext_PushState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24969 PyObject
*resultobj
= 0;
24970 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
24973 PyObject
*swig_obj
[1] ;
24975 if (!args
) SWIG_fail
;
24976 swig_obj
[0] = args
;
24977 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
24978 if (!SWIG_IsOK(res1
)) {
24979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_PushState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
24981 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
24983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24984 (arg1
)->PushState();
24985 wxPyEndAllowThreads(__tstate
);
24986 if (PyErr_Occurred()) SWIG_fail
;
24988 resultobj
= SWIG_Py_Void();
24995 SWIGINTERN PyObject
*_wrap_GraphicsContext_PopState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24996 PyObject
*resultobj
= 0;
24997 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25000 PyObject
*swig_obj
[1] ;
25002 if (!args
) SWIG_fail
;
25003 swig_obj
[0] = args
;
25004 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25005 if (!SWIG_IsOK(res1
)) {
25006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_PopState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25008 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25011 (arg1
)->PopState();
25012 wxPyEndAllowThreads(__tstate
);
25013 if (PyErr_Occurred()) SWIG_fail
;
25015 resultobj
= SWIG_Py_Void();
25022 SWIGINTERN PyObject
*_wrap_GraphicsContext_Clip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25023 PyObject
*resultobj
= 0;
25024 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25025 wxRegion
*arg2
= 0 ;
25030 PyObject
* obj0
= 0 ;
25031 PyObject
* obj1
= 0 ;
25032 char * kwnames
[] = {
25033 (char *) "self",(char *) "region", NULL
25036 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_Clip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25037 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25038 if (!SWIG_IsOK(res1
)) {
25039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Clip" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25041 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25042 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
25043 if (!SWIG_IsOK(res2
)) {
25044 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_Clip" "', expected argument " "2"" of type '" "wxRegion const &""'");
25047 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_Clip" "', expected argument " "2"" of type '" "wxRegion const &""'");
25049 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
25051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25052 (arg1
)->Clip((wxRegion
const &)*arg2
);
25053 wxPyEndAllowThreads(__tstate
);
25054 if (PyErr_Occurred()) SWIG_fail
;
25056 resultobj
= SWIG_Py_Void();
25063 SWIGINTERN PyObject
*_wrap_GraphicsContext_Translate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25064 PyObject
*resultobj
= 0;
25065 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25074 PyObject
* obj0
= 0 ;
25075 PyObject
* obj1
= 0 ;
25076 PyObject
* obj2
= 0 ;
25077 char * kwnames
[] = {
25078 (char *) "self",(char *) "dx",(char *) "dy", NULL
25081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25082 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25083 if (!SWIG_IsOK(res1
)) {
25084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Translate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25086 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25087 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25088 if (!SWIG_IsOK(ecode2
)) {
25089 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Translate" "', expected argument " "2"" of type '" "wxDouble""'");
25091 arg2
= static_cast< wxDouble
>(val2
);
25092 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25093 if (!SWIG_IsOK(ecode3
)) {
25094 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Translate" "', expected argument " "3"" of type '" "wxDouble""'");
25096 arg3
= static_cast< wxDouble
>(val3
);
25098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25099 (arg1
)->Translate(arg2
,arg3
);
25100 wxPyEndAllowThreads(__tstate
);
25101 if (PyErr_Occurred()) SWIG_fail
;
25103 resultobj
= SWIG_Py_Void();
25110 SWIGINTERN PyObject
*_wrap_GraphicsContext_Scale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25111 PyObject
*resultobj
= 0;
25112 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25121 PyObject
* obj0
= 0 ;
25122 PyObject
* obj1
= 0 ;
25123 PyObject
* obj2
= 0 ;
25124 char * kwnames
[] = {
25125 (char *) "self",(char *) "xScale",(char *) "yScale", NULL
25128 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25129 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25130 if (!SWIG_IsOK(res1
)) {
25131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Scale" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25133 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25134 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25135 if (!SWIG_IsOK(ecode2
)) {
25136 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Scale" "', expected argument " "2"" of type '" "wxDouble""'");
25138 arg2
= static_cast< wxDouble
>(val2
);
25139 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25140 if (!SWIG_IsOK(ecode3
)) {
25141 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Scale" "', expected argument " "3"" of type '" "wxDouble""'");
25143 arg3
= static_cast< wxDouble
>(val3
);
25145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25146 (arg1
)->Scale(arg2
,arg3
);
25147 wxPyEndAllowThreads(__tstate
);
25148 if (PyErr_Occurred()) SWIG_fail
;
25150 resultobj
= SWIG_Py_Void();
25157 SWIGINTERN PyObject
*_wrap_GraphicsContext_Rotate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25158 PyObject
*resultobj
= 0;
25159 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25165 PyObject
* obj0
= 0 ;
25166 PyObject
* obj1
= 0 ;
25167 char * kwnames
[] = {
25168 (char *) "self",(char *) "angle", NULL
25171 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_Rotate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25172 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25173 if (!SWIG_IsOK(res1
)) {
25174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Rotate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25176 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25177 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25178 if (!SWIG_IsOK(ecode2
)) {
25179 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Rotate" "', expected argument " "2"" of type '" "wxDouble""'");
25181 arg2
= static_cast< wxDouble
>(val2
);
25183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25184 (arg1
)->Rotate(arg2
);
25185 wxPyEndAllowThreads(__tstate
);
25186 if (PyErr_Occurred()) SWIG_fail
;
25188 resultobj
= SWIG_Py_Void();
25195 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25196 PyObject
*resultobj
= 0;
25197 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25203 PyObject
* obj0
= 0 ;
25204 PyObject
* obj1
= 0 ;
25205 char * kwnames
[] = {
25206 (char *) "self",(char *) "pen", NULL
25209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25210 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25211 if (!SWIG_IsOK(res1
)) {
25212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetPen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25214 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25215 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
25216 if (!SWIG_IsOK(res2
)) {
25217 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
25220 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
25222 arg2
= reinterpret_cast< wxPen
* >(argp2
);
25224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25225 (arg1
)->SetPen((wxPen
const &)*arg2
);
25226 wxPyEndAllowThreads(__tstate
);
25227 if (PyErr_Occurred()) SWIG_fail
;
25229 resultobj
= SWIG_Py_Void();
25236 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25237 PyObject
*resultobj
= 0;
25238 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25239 wxBrush
*arg2
= 0 ;
25244 PyObject
* obj0
= 0 ;
25245 PyObject
* obj1
= 0 ;
25246 char * kwnames
[] = {
25247 (char *) "self",(char *) "brush", NULL
25250 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25251 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25252 if (!SWIG_IsOK(res1
)) {
25253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25255 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25256 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
25257 if (!SWIG_IsOK(res2
)) {
25258 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
25261 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
25263 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
25265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25266 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
25267 wxPyEndAllowThreads(__tstate
);
25268 if (PyErr_Occurred()) SWIG_fail
;
25270 resultobj
= SWIG_Py_Void();
25277 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetLinearGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25278 PyObject
*resultobj
= 0;
25279 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25284 wxColour
*arg6
= 0 ;
25285 wxColour
*arg7
= 0 ;
25298 PyObject
* obj0
= 0 ;
25299 PyObject
* obj1
= 0 ;
25300 PyObject
* obj2
= 0 ;
25301 PyObject
* obj3
= 0 ;
25302 PyObject
* obj4
= 0 ;
25303 PyObject
* obj5
= 0 ;
25304 PyObject
* obj6
= 0 ;
25305 char * kwnames
[] = {
25306 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "c1",(char *) "c2", NULL
25309 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsContext_SetLinearGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
25310 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25311 if (!SWIG_IsOK(res1
)) {
25312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetLinearGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25314 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25315 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25316 if (!SWIG_IsOK(ecode2
)) {
25317 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_SetLinearGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
25319 arg2
= static_cast< wxDouble
>(val2
);
25320 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25321 if (!SWIG_IsOK(ecode3
)) {
25322 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_SetLinearGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
25324 arg3
= static_cast< wxDouble
>(val3
);
25325 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
25326 if (!SWIG_IsOK(ecode4
)) {
25327 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_SetLinearGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
25329 arg4
= static_cast< wxDouble
>(val4
);
25330 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
25331 if (!SWIG_IsOK(ecode5
)) {
25332 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_SetLinearGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
25334 arg5
= static_cast< wxDouble
>(val5
);
25337 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
25341 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
25344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25345 (arg1
)->SetLinearGradientBrush(arg2
,arg3
,arg4
,arg5
,(wxColour
const &)*arg6
,(wxColour
const &)*arg7
);
25346 wxPyEndAllowThreads(__tstate
);
25347 if (PyErr_Occurred()) SWIG_fail
;
25349 resultobj
= SWIG_Py_Void();
25356 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetRadialGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25357 PyObject
*resultobj
= 0;
25358 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25364 wxColour
*arg7
= 0 ;
25365 wxColour
*arg8
= 0 ;
25380 PyObject
* obj0
= 0 ;
25381 PyObject
* obj1
= 0 ;
25382 PyObject
* obj2
= 0 ;
25383 PyObject
* obj3
= 0 ;
25384 PyObject
* obj4
= 0 ;
25385 PyObject
* obj5
= 0 ;
25386 PyObject
* obj6
= 0 ;
25387 PyObject
* obj7
= 0 ;
25388 char * kwnames
[] = {
25389 (char *) "self",(char *) "xo",(char *) "yo",(char *) "xc",(char *) "yc",(char *) "radius",(char *) "oColor",(char *) "cColor", NULL
25392 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GraphicsContext_SetRadialGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
25393 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25394 if (!SWIG_IsOK(res1
)) {
25395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetRadialGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25397 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25398 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25399 if (!SWIG_IsOK(ecode2
)) {
25400 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_SetRadialGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
25402 arg2
= static_cast< wxDouble
>(val2
);
25403 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25404 if (!SWIG_IsOK(ecode3
)) {
25405 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_SetRadialGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
25407 arg3
= static_cast< wxDouble
>(val3
);
25408 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
25409 if (!SWIG_IsOK(ecode4
)) {
25410 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_SetRadialGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
25412 arg4
= static_cast< wxDouble
>(val4
);
25413 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
25414 if (!SWIG_IsOK(ecode5
)) {
25415 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_SetRadialGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
25417 arg5
= static_cast< wxDouble
>(val5
);
25418 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
25419 if (!SWIG_IsOK(ecode6
)) {
25420 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_SetRadialGradientBrush" "', expected argument " "6"" of type '" "wxDouble""'");
25422 arg6
= static_cast< wxDouble
>(val6
);
25425 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
25429 if ( ! wxColour_helper(obj7
, &arg8
)) SWIG_fail
;
25432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25433 (arg1
)->SetRadialGradientBrush(arg2
,arg3
,arg4
,arg5
,arg6
,(wxColour
const &)*arg7
,(wxColour
const &)*arg8
);
25434 wxPyEndAllowThreads(__tstate
);
25435 if (PyErr_Occurred()) SWIG_fail
;
25437 resultobj
= SWIG_Py_Void();
25444 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25445 PyObject
*resultobj
= 0;
25446 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25452 PyObject
* obj0
= 0 ;
25453 PyObject
* obj1
= 0 ;
25454 char * kwnames
[] = {
25455 (char *) "self",(char *) "font", NULL
25458 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25459 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25460 if (!SWIG_IsOK(res1
)) {
25461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25463 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25464 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
25465 if (!SWIG_IsOK(res2
)) {
25466 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
25469 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
25471 arg2
= reinterpret_cast< wxFont
* >(argp2
);
25473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25474 (arg1
)->SetFont((wxFont
const &)*arg2
);
25475 wxPyEndAllowThreads(__tstate
);
25476 if (PyErr_Occurred()) SWIG_fail
;
25478 resultobj
= SWIG_Py_Void();
25485 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetTextColor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25486 PyObject
*resultobj
= 0;
25487 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25488 wxColour
*arg2
= 0 ;
25492 PyObject
* obj0
= 0 ;
25493 PyObject
* obj1
= 0 ;
25494 char * kwnames
[] = {
25495 (char *) "self",(char *) "col", NULL
25498 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetTextColor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25499 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25500 if (!SWIG_IsOK(res1
)) {
25501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetTextColor" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25503 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25506 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25510 (arg1
)->SetTextColor((wxColour
const &)*arg2
);
25511 wxPyEndAllowThreads(__tstate
);
25512 if (PyErr_Occurred()) SWIG_fail
;
25514 resultobj
= SWIG_Py_Void();
25521 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25522 PyObject
*resultobj
= 0;
25523 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25524 wxGraphicsPath
*arg2
= (wxGraphicsPath
*) 0 ;
25529 PyObject
* obj0
= 0 ;
25530 PyObject
* obj1
= 0 ;
25531 char * kwnames
[] = {
25532 (char *) "self",(char *) "path", NULL
25535 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_StrokePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25536 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25537 if (!SWIG_IsOK(res1
)) {
25538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25540 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25541 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25542 if (!SWIG_IsOK(res2
)) {
25543 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "2"" of type '" "wxGraphicsPath const *""'");
25545 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
25547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25548 (arg1
)->StrokePath((wxGraphicsPath
const *)arg2
);
25549 wxPyEndAllowThreads(__tstate
);
25550 if (PyErr_Occurred()) SWIG_fail
;
25552 resultobj
= SWIG_Py_Void();
25559 SWIGINTERN PyObject
*_wrap_GraphicsContext_FillPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25560 PyObject
*resultobj
= 0;
25561 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25562 wxGraphicsPath
*arg2
= (wxGraphicsPath
*) 0 ;
25563 int arg3
= (int) wxWINDING_RULE
;
25570 PyObject
* obj0
= 0 ;
25571 PyObject
* obj1
= 0 ;
25572 PyObject
* obj2
= 0 ;
25573 char * kwnames
[] = {
25574 (char *) "self",(char *) "path",(char *) "fillStyle", NULL
25577 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_FillPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25578 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25579 if (!SWIG_IsOK(res1
)) {
25580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_FillPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25582 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25583 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25584 if (!SWIG_IsOK(res2
)) {
25585 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_FillPath" "', expected argument " "2"" of type '" "wxGraphicsPath const *""'");
25587 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
25589 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25590 if (!SWIG_IsOK(ecode3
)) {
25591 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_FillPath" "', expected argument " "3"" of type '" "int""'");
25593 arg3
= static_cast< int >(val3
);
25596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25597 (arg1
)->FillPath((wxGraphicsPath
const *)arg2
,arg3
);
25598 wxPyEndAllowThreads(__tstate
);
25599 if (PyErr_Occurred()) SWIG_fail
;
25601 resultobj
= SWIG_Py_Void();
25608 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25609 PyObject
*resultobj
= 0;
25610 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25611 wxGraphicsPath
*arg2
= (wxGraphicsPath
*) 0 ;
25612 int arg3
= (int) wxWINDING_RULE
;
25619 PyObject
* obj0
= 0 ;
25620 PyObject
* obj1
= 0 ;
25621 PyObject
* obj2
= 0 ;
25622 char * kwnames
[] = {
25623 (char *) "self",(char *) "path",(char *) "fillStyle", NULL
25626 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_DrawPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25627 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25628 if (!SWIG_IsOK(res1
)) {
25629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25631 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25632 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25633 if (!SWIG_IsOK(res2
)) {
25634 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "2"" of type '" "wxGraphicsPath const *""'");
25636 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
25638 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25639 if (!SWIG_IsOK(ecode3
)) {
25640 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "3"" of type '" "int""'");
25642 arg3
= static_cast< int >(val3
);
25645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25646 (arg1
)->DrawPath((wxGraphicsPath
const *)arg2
,arg3
);
25647 wxPyEndAllowThreads(__tstate
);
25648 if (PyErr_Occurred()) SWIG_fail
;
25650 resultobj
= SWIG_Py_Void();
25657 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawText__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
25658 PyObject
*resultobj
= 0;
25659 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25660 wxString
*arg2
= 0 ;
25665 bool temp2
= false ;
25671 if ((nobjs
< 4) || (nobjs
> 4)) SWIG_fail
;
25672 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25673 if (!SWIG_IsOK(res1
)) {
25674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25676 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25678 arg2
= wxString_in_helper(swig_obj
[1]);
25679 if (arg2
== NULL
) SWIG_fail
;
25682 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
25683 if (!SWIG_IsOK(ecode3
)) {
25684 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawText" "', expected argument " "3"" of type '" "wxDouble""'");
25686 arg3
= static_cast< wxDouble
>(val3
);
25687 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
25688 if (!SWIG_IsOK(ecode4
)) {
25689 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawText" "', expected argument " "4"" of type '" "wxDouble""'");
25691 arg4
= static_cast< wxDouble
>(val4
);
25693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25694 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
25695 wxPyEndAllowThreads(__tstate
);
25696 if (PyErr_Occurred()) SWIG_fail
;
25698 resultobj
= SWIG_Py_Void();
25713 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawText__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
25714 PyObject
*resultobj
= 0;
25715 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25716 wxString
*arg2
= 0 ;
25722 bool temp2
= false ;
25730 if ((nobjs
< 5) || (nobjs
> 5)) SWIG_fail
;
25731 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25732 if (!SWIG_IsOK(res1
)) {
25733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25735 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25737 arg2
= wxString_in_helper(swig_obj
[1]);
25738 if (arg2
== NULL
) SWIG_fail
;
25741 ecode3
= SWIG_AsVal_double(swig_obj
[2], &val3
);
25742 if (!SWIG_IsOK(ecode3
)) {
25743 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawText" "', expected argument " "3"" of type '" "wxDouble""'");
25745 arg3
= static_cast< wxDouble
>(val3
);
25746 ecode4
= SWIG_AsVal_double(swig_obj
[3], &val4
);
25747 if (!SWIG_IsOK(ecode4
)) {
25748 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawText" "', expected argument " "4"" of type '" "wxDouble""'");
25750 arg4
= static_cast< wxDouble
>(val4
);
25751 ecode5
= SWIG_AsVal_double(swig_obj
[4], &val5
);
25752 if (!SWIG_IsOK(ecode5
)) {
25753 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawText" "', expected argument " "5"" of type '" "wxDouble""'");
25755 arg5
= static_cast< wxDouble
>(val5
);
25757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25758 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
25759 wxPyEndAllowThreads(__tstate
);
25760 if (PyErr_Occurred()) SWIG_fail
;
25762 resultobj
= SWIG_Py_Void();
25777 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawText(PyObject
*self
, PyObject
*args
) {
25781 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_DrawText",0,5,argv
))) SWIG_fail
;
25784 return _wrap_GraphicsContext_DrawText__SWIG_0(self
, argc
, argv
);
25787 return _wrap_GraphicsContext_DrawText__SWIG_1(self
, argc
, argv
);
25791 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_DrawText'");
25796 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25797 PyObject
*resultobj
= 0;
25798 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25799 wxString
*arg2
= 0 ;
25800 wxDouble
*arg3
= (wxDouble
*) 0 ;
25801 wxDouble
*arg4
= (wxDouble
*) 0 ;
25802 wxDouble
*arg5
= (wxDouble
*) 0 ;
25803 wxDouble
*arg6
= (wxDouble
*) 0 ;
25806 bool temp2
= false ;
25808 int res3
= SWIG_TMPOBJ
;
25810 int res4
= SWIG_TMPOBJ
;
25812 int res5
= SWIG_TMPOBJ
;
25814 int res6
= SWIG_TMPOBJ
;
25815 PyObject
* obj0
= 0 ;
25816 PyObject
* obj1
= 0 ;
25817 char * kwnames
[] = {
25818 (char *) "self",(char *) "text", NULL
25825 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25826 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25827 if (!SWIG_IsOK(res1
)) {
25828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetTextExtent" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
25830 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25832 arg2
= wxString_in_helper(obj1
);
25833 if (arg2
== NULL
) SWIG_fail
;
25837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25838 ((wxGraphicsContext
const *)arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
25839 wxPyEndAllowThreads(__tstate
);
25840 if (PyErr_Occurred()) SWIG_fail
;
25842 resultobj
= SWIG_Py_Void();
25843 if (SWIG_IsTmpObj(res3
)) {
25844 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
25846 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25847 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
25849 if (SWIG_IsTmpObj(res4
)) {
25850 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg4
)));
25852 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25853 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_double
, new_flags
));
25855 if (SWIG_IsTmpObj(res5
)) {
25856 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg5
)));
25858 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25859 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_double
, new_flags
));
25861 if (SWIG_IsTmpObj(res6
)) {
25862 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg6
)));
25864 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25865 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_double
, new_flags
));
25881 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25882 PyObject
*resultobj
= 0;
25883 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25884 wxString
*arg2
= 0 ;
25885 wxArrayDouble
*arg3
= 0 ;
25888 bool temp2
= false ;
25891 PyObject
* obj0
= 0 ;
25892 PyObject
* obj1
= 0 ;
25893 PyObject
* obj2
= 0 ;
25894 char * kwnames
[] = {
25895 (char *) "self",(char *) "text",(char *) "widths", NULL
25898 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_GetPartialTextExtents",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25899 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25900 if (!SWIG_IsOK(res1
)) {
25901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
25903 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25905 arg2
= wxString_in_helper(obj1
);
25906 if (arg2
== NULL
) SWIG_fail
;
25909 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxArrayDouble
, 0 );
25910 if (!SWIG_IsOK(res3
)) {
25911 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "GraphicsContext_GetPartialTextExtents" "', expected argument " "3"" of type '" "wxArrayDouble &""'");
25914 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_GetPartialTextExtents" "', expected argument " "3"" of type '" "wxArrayDouble &""'");
25916 arg3
= reinterpret_cast< wxArrayDouble
* >(argp3
);
25918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25919 ((wxGraphicsContext
const *)arg1
)->GetPartialTextExtents((wxString
const &)*arg2
,*arg3
);
25920 wxPyEndAllowThreads(__tstate
);
25921 if (PyErr_Occurred()) SWIG_fail
;
25923 resultobj
= SWIG_Py_Void();
25938 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25939 PyObject
*resultobj
= 0;
25940 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25941 wxBitmap
*arg2
= 0 ;
25958 PyObject
* obj0
= 0 ;
25959 PyObject
* obj1
= 0 ;
25960 PyObject
* obj2
= 0 ;
25961 PyObject
* obj3
= 0 ;
25962 PyObject
* obj4
= 0 ;
25963 PyObject
* obj5
= 0 ;
25964 char * kwnames
[] = {
25965 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
25968 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
25969 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25970 if (!SWIG_IsOK(res1
)) {
25971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25973 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25974 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
25975 if (!SWIG_IsOK(res2
)) {
25976 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
25979 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
25981 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
25982 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25983 if (!SWIG_IsOK(ecode3
)) {
25984 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "3"" of type '" "wxDouble""'");
25986 arg3
= static_cast< wxDouble
>(val3
);
25987 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
25988 if (!SWIG_IsOK(ecode4
)) {
25989 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "4"" of type '" "wxDouble""'");
25991 arg4
= static_cast< wxDouble
>(val4
);
25992 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
25993 if (!SWIG_IsOK(ecode5
)) {
25994 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "5"" of type '" "wxDouble""'");
25996 arg5
= static_cast< wxDouble
>(val5
);
25997 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
25998 if (!SWIG_IsOK(ecode6
)) {
25999 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "6"" of type '" "wxDouble""'");
26001 arg6
= static_cast< wxDouble
>(val6
);
26003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26004 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
26005 wxPyEndAllowThreads(__tstate
);
26006 if (PyErr_Occurred()) SWIG_fail
;
26008 resultobj
= SWIG_Py_Void();
26015 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26016 PyObject
*resultobj
= 0;
26017 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26035 PyObject
* obj0
= 0 ;
26036 PyObject
* obj1
= 0 ;
26037 PyObject
* obj2
= 0 ;
26038 PyObject
* obj3
= 0 ;
26039 PyObject
* obj4
= 0 ;
26040 PyObject
* obj5
= 0 ;
26041 char * kwnames
[] = {
26042 (char *) "self",(char *) "icon",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
26045 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
26046 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26047 if (!SWIG_IsOK(res1
)) {
26048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26050 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26051 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
26052 if (!SWIG_IsOK(res2
)) {
26053 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
26056 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
26058 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
26059 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26060 if (!SWIG_IsOK(ecode3
)) {
26061 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "3"" of type '" "wxDouble""'");
26063 arg3
= static_cast< wxDouble
>(val3
);
26064 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26065 if (!SWIG_IsOK(ecode4
)) {
26066 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "4"" of type '" "wxDouble""'");
26068 arg4
= static_cast< wxDouble
>(val4
);
26069 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26070 if (!SWIG_IsOK(ecode5
)) {
26071 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "5"" of type '" "wxDouble""'");
26073 arg5
= static_cast< wxDouble
>(val5
);
26074 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
26075 if (!SWIG_IsOK(ecode6
)) {
26076 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "6"" of type '" "wxDouble""'");
26078 arg6
= static_cast< wxDouble
>(val6
);
26080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26081 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
26082 wxPyEndAllowThreads(__tstate
);
26083 if (PyErr_Occurred()) SWIG_fail
;
26085 resultobj
= SWIG_Py_Void();
26092 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26093 PyObject
*resultobj
= 0;
26094 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26109 PyObject
* obj0
= 0 ;
26110 PyObject
* obj1
= 0 ;
26111 PyObject
* obj2
= 0 ;
26112 PyObject
* obj3
= 0 ;
26113 PyObject
* obj4
= 0 ;
26114 char * kwnames
[] = {
26115 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
26118 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_StrokeLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26119 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26120 if (!SWIG_IsOK(res1
)) {
26121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26123 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26124 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26125 if (!SWIG_IsOK(ecode2
)) {
26126 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "2"" of type '" "wxDouble""'");
26128 arg2
= static_cast< wxDouble
>(val2
);
26129 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26130 if (!SWIG_IsOK(ecode3
)) {
26131 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "3"" of type '" "wxDouble""'");
26133 arg3
= static_cast< wxDouble
>(val3
);
26134 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26135 if (!SWIG_IsOK(ecode4
)) {
26136 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "4"" of type '" "wxDouble""'");
26138 arg4
= static_cast< wxDouble
>(val4
);
26139 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26140 if (!SWIG_IsOK(ecode5
)) {
26141 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "5"" of type '" "wxDouble""'");
26143 arg5
= static_cast< wxDouble
>(val5
);
26145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26146 (arg1
)->StrokeLine(arg2
,arg3
,arg4
,arg5
);
26147 wxPyEndAllowThreads(__tstate
);
26148 if (PyErr_Occurred()) SWIG_fail
;
26150 resultobj
= SWIG_Py_Void();
26157 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLines__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26158 PyObject
*resultobj
= 0;
26159 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26161 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
26169 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
26170 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26171 if (!SWIG_IsOK(res1
)) {
26172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26174 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26175 ecode2
= SWIG_AsVal_size_t(swig_obj
[1], &val2
);
26176 if (!SWIG_IsOK(ecode2
)) {
26177 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_StrokeLines" "', expected argument " "2"" of type '" "size_t""'");
26179 arg2
= static_cast< size_t >(val2
);
26180 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
26181 if (!SWIG_IsOK(res3
)) {
26182 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "GraphicsContext_StrokeLines" "', expected argument " "3"" of type '" "wxPoint2D const *""'");
26184 arg3
= reinterpret_cast< wxPoint2D
* >(argp3
);
26186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26187 (arg1
)->StrokeLines(arg2
,(wxPoint2D
const *)arg3
);
26188 wxPyEndAllowThreads(__tstate
);
26189 if (PyErr_Occurred()) SWIG_fail
;
26191 resultobj
= SWIG_Py_Void();
26198 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLines__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26199 PyObject
*resultobj
= 0;
26200 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26202 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
26203 wxPoint2D
*arg4
= (wxPoint2D
*) 0 ;
26213 if ((nobjs
< 4) || (nobjs
> 4)) SWIG_fail
;
26214 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26215 if (!SWIG_IsOK(res1
)) {
26216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26218 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26219 ecode2
= SWIG_AsVal_size_t(swig_obj
[1], &val2
);
26220 if (!SWIG_IsOK(ecode2
)) {
26221 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_StrokeLines" "', expected argument " "2"" of type '" "size_t""'");
26223 arg2
= static_cast< size_t >(val2
);
26224 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
26225 if (!SWIG_IsOK(res3
)) {
26226 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "GraphicsContext_StrokeLines" "', expected argument " "3"" of type '" "wxPoint2D const *""'");
26228 arg3
= reinterpret_cast< wxPoint2D
* >(argp3
);
26229 res4
= SWIG_ConvertPtr(swig_obj
[3], &argp4
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
26230 if (!SWIG_IsOK(res4
)) {
26231 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "GraphicsContext_StrokeLines" "', expected argument " "4"" of type '" "wxPoint2D const *""'");
26233 arg4
= reinterpret_cast< wxPoint2D
* >(argp4
);
26235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26236 (arg1
)->StrokeLines(arg2
,(wxPoint2D
const *)arg3
,(wxPoint2D
const *)arg4
);
26237 wxPyEndAllowThreads(__tstate
);
26238 if (PyErr_Occurred()) SWIG_fail
;
26240 resultobj
= SWIG_Py_Void();
26247 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLines(PyObject
*self
, PyObject
*args
) {
26251 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GraphicsContext_StrokeLines",0,4,argv
))) SWIG_fail
;
26254 return _wrap_GraphicsContext_StrokeLines__SWIG_0(self
, argc
, argv
);
26257 return _wrap_GraphicsContext_StrokeLines__SWIG_1(self
, argc
, argv
);
26261 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GraphicsContext_StrokeLines'");
26266 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26267 PyObject
*resultobj
= 0;
26268 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26270 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
26271 int arg4
= (int) wxWINDING_RULE
;
26280 PyObject
* obj0
= 0 ;
26281 PyObject
* obj1
= 0 ;
26282 PyObject
* obj2
= 0 ;
26283 PyObject
* obj3
= 0 ;
26284 char * kwnames
[] = {
26285 (char *) "self",(char *) "n",(char *) "points",(char *) "fillStyle", NULL
26288 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:GraphicsContext_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
26289 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26290 if (!SWIG_IsOK(res1
)) {
26291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26293 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26294 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
26295 if (!SWIG_IsOK(ecode2
)) {
26296 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "2"" of type '" "size_t""'");
26298 arg2
= static_cast< size_t >(val2
);
26299 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
26300 if (!SWIG_IsOK(res3
)) {
26301 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "3"" of type '" "wxPoint2D const *""'");
26303 arg3
= reinterpret_cast< wxPoint2D
* >(argp3
);
26305 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
26306 if (!SWIG_IsOK(ecode4
)) {
26307 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "4"" of type '" "int""'");
26309 arg4
= static_cast< int >(val4
);
26312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26313 (arg1
)->DrawLines(arg2
,(wxPoint2D
const *)arg3
,arg4
);
26314 wxPyEndAllowThreads(__tstate
);
26315 if (PyErr_Occurred()) SWIG_fail
;
26317 resultobj
= SWIG_Py_Void();
26324 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26325 PyObject
*resultobj
= 0;
26326 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26341 PyObject
* obj0
= 0 ;
26342 PyObject
* obj1
= 0 ;
26343 PyObject
* obj2
= 0 ;
26344 PyObject
* obj3
= 0 ;
26345 PyObject
* obj4
= 0 ;
26346 char * kwnames
[] = {
26347 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
26350 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26351 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26352 if (!SWIG_IsOK(res1
)) {
26353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26355 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26356 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26357 if (!SWIG_IsOK(ecode2
)) {
26358 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
26360 arg2
= static_cast< wxDouble
>(val2
);
26361 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26362 if (!SWIG_IsOK(ecode3
)) {
26363 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
26365 arg3
= static_cast< wxDouble
>(val3
);
26366 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26367 if (!SWIG_IsOK(ecode4
)) {
26368 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
26370 arg4
= static_cast< wxDouble
>(val4
);
26371 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26372 if (!SWIG_IsOK(ecode5
)) {
26373 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
26375 arg5
= static_cast< wxDouble
>(val5
);
26377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26378 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
26379 wxPyEndAllowThreads(__tstate
);
26380 if (PyErr_Occurred()) SWIG_fail
;
26382 resultobj
= SWIG_Py_Void();
26389 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26390 PyObject
*resultobj
= 0;
26391 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26406 PyObject
* obj0
= 0 ;
26407 PyObject
* obj1
= 0 ;
26408 PyObject
* obj2
= 0 ;
26409 PyObject
* obj3
= 0 ;
26410 PyObject
* obj4
= 0 ;
26411 char * kwnames
[] = {
26412 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
26415 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26416 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26417 if (!SWIG_IsOK(res1
)) {
26418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26420 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26421 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26422 if (!SWIG_IsOK(ecode2
)) {
26423 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "2"" of type '" "wxDouble""'");
26425 arg2
= static_cast< wxDouble
>(val2
);
26426 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26427 if (!SWIG_IsOK(ecode3
)) {
26428 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "3"" of type '" "wxDouble""'");
26430 arg3
= static_cast< wxDouble
>(val3
);
26431 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26432 if (!SWIG_IsOK(ecode4
)) {
26433 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "4"" of type '" "wxDouble""'");
26435 arg4
= static_cast< wxDouble
>(val4
);
26436 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26437 if (!SWIG_IsOK(ecode5
)) {
26438 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "5"" of type '" "wxDouble""'");
26440 arg5
= static_cast< wxDouble
>(val5
);
26442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26443 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
26444 wxPyEndAllowThreads(__tstate
);
26445 if (PyErr_Occurred()) SWIG_fail
;
26447 resultobj
= SWIG_Py_Void();
26454 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26455 PyObject
*resultobj
= 0;
26456 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26474 PyObject
* obj0
= 0 ;
26475 PyObject
* obj1
= 0 ;
26476 PyObject
* obj2
= 0 ;
26477 PyObject
* obj3
= 0 ;
26478 PyObject
* obj4
= 0 ;
26479 PyObject
* obj5
= 0 ;
26480 char * kwnames
[] = {
26481 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "radius", NULL
26484 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
26485 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26486 if (!SWIG_IsOK(res1
)) {
26487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26489 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26490 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26491 if (!SWIG_IsOK(ecode2
)) {
26492 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
26494 arg2
= static_cast< wxDouble
>(val2
);
26495 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26496 if (!SWIG_IsOK(ecode3
)) {
26497 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
26499 arg3
= static_cast< wxDouble
>(val3
);
26500 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26501 if (!SWIG_IsOK(ecode4
)) {
26502 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
26504 arg4
= static_cast< wxDouble
>(val4
);
26505 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26506 if (!SWIG_IsOK(ecode5
)) {
26507 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
26509 arg5
= static_cast< wxDouble
>(val5
);
26510 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
26511 if (!SWIG_IsOK(ecode6
)) {
26512 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "6"" of type '" "wxDouble""'");
26514 arg6
= static_cast< wxDouble
>(val6
);
26516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26517 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
26518 wxPyEndAllowThreads(__tstate
);
26519 if (PyErr_Occurred()) SWIG_fail
;
26521 resultobj
= SWIG_Py_Void();
26528 SWIGINTERN PyObject
*GraphicsContext_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26530 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26531 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsContext
, SWIG_NewClientData(obj
));
26532 return SWIG_Py_Void();
26535 SWIGINTERN PyObject
*_wrap_new_GCDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26536 PyObject
*resultobj
= 0;
26537 wxWindowDC
*arg1
= 0 ;
26538 wxGCDC
*result
= 0 ;
26541 PyObject
* obj0
= 0 ;
26542 char * kwnames
[] = {
26543 (char *) "dc", NULL
26546 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_GCDC",kwnames
,&obj0
)) SWIG_fail
;
26547 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
26548 if (!SWIG_IsOK(res1
)) {
26549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
26552 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
26554 arg1
= reinterpret_cast< wxWindowDC
* >(argp1
);
26556 if (!wxPyCheckForApp()) SWIG_fail
;
26557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26558 result
= (wxGCDC
*)new wxGCDC((wxWindowDC
const &)*arg1
);
26559 wxPyEndAllowThreads(__tstate
);
26560 if (PyErr_Occurred()) SWIG_fail
;
26562 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGCDC
, SWIG_POINTER_NEW
| 0 );
26569 SWIGINTERN PyObject
*_wrap_delete_GCDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26570 PyObject
*resultobj
= 0;
26571 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
26574 PyObject
*swig_obj
[1] ;
26576 if (!args
) SWIG_fail
;
26577 swig_obj
[0] = args
;
26578 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, SWIG_POINTER_DISOWN
| 0 );
26579 if (!SWIG_IsOK(res1
)) {
26580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GCDC" "', expected argument " "1"" of type '" "wxGCDC *""'");
26582 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
26584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26587 wxPyEndAllowThreads(__tstate
);
26588 if (PyErr_Occurred()) SWIG_fail
;
26590 resultobj
= SWIG_Py_Void();
26597 SWIGINTERN PyObject
*_wrap_GCDC_GetGraphicContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26598 PyObject
*resultobj
= 0;
26599 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
26600 wxGraphicsContext
*result
= 0 ;
26603 PyObject
*swig_obj
[1] ;
26605 if (!args
) SWIG_fail
;
26606 swig_obj
[0] = args
;
26607 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, 0 | 0 );
26608 if (!SWIG_IsOK(res1
)) {
26609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GCDC_GetGraphicContext" "', expected argument " "1"" of type '" "wxGCDC *""'");
26611 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
26613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26614 result
= (wxGraphicsContext
*)(arg1
)->GetGraphicContext();
26615 wxPyEndAllowThreads(__tstate
);
26616 if (PyErr_Occurred()) SWIG_fail
;
26618 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26625 SWIGINTERN PyObject
*GCDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26627 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26628 SWIG_TypeNewClientData(SWIGTYPE_p_wxGCDC
, SWIG_NewClientData(obj
));
26629 return SWIG_Py_Void();
26632 SWIGINTERN PyObject
*GCDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26633 return SWIG_Python_InitShadowInstance(args
);
26636 SWIGINTERN PyObject
*_wrap_new_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26637 PyObject
*resultobj
= 0;
26640 int arg3
= (int) true ;
26641 int arg4
= (int) 1 ;
26642 wxImageList
*result
= 0 ;
26651 PyObject
* obj0
= 0 ;
26652 PyObject
* obj1
= 0 ;
26653 PyObject
* obj2
= 0 ;
26654 PyObject
* obj3
= 0 ;
26655 char * kwnames
[] = {
26656 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
26659 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
26660 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
26661 if (!SWIG_IsOK(ecode1
)) {
26662 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ImageList" "', expected argument " "1"" of type '" "int""'");
26664 arg1
= static_cast< int >(val1
);
26665 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26666 if (!SWIG_IsOK(ecode2
)) {
26667 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ImageList" "', expected argument " "2"" of type '" "int""'");
26669 arg2
= static_cast< int >(val2
);
26671 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
26672 if (!SWIG_IsOK(ecode3
)) {
26673 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ImageList" "', expected argument " "3"" of type '" "int""'");
26675 arg3
= static_cast< int >(val3
);
26678 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
26679 if (!SWIG_IsOK(ecode4
)) {
26680 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ImageList" "', expected argument " "4"" of type '" "int""'");
26682 arg4
= static_cast< int >(val4
);
26685 if (!wxPyCheckForApp()) SWIG_fail
;
26686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26687 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
26688 wxPyEndAllowThreads(__tstate
);
26689 if (PyErr_Occurred()) SWIG_fail
;
26692 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_NEW
);
26700 SWIGINTERN PyObject
*_wrap_delete_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26701 PyObject
*resultobj
= 0;
26702 wxImageList
*arg1
= (wxImageList
*) 0 ;
26705 PyObject
*swig_obj
[1] ;
26707 if (!args
) SWIG_fail
;
26708 swig_obj
[0] = args
;
26709 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
26710 if (!SWIG_IsOK(res1
)) {
26711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ImageList" "', expected argument " "1"" of type '" "wxImageList *""'");
26713 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
26715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26718 wxPyEndAllowThreads(__tstate
);
26719 if (PyErr_Occurred()) SWIG_fail
;
26721 resultobj
= SWIG_Py_Void();
26728 SWIGINTERN PyObject
*_wrap_ImageList_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26729 PyObject
*resultobj
= 0;
26730 wxImageList
*arg1
= (wxImageList
*) 0 ;
26731 wxBitmap
*arg2
= 0 ;
26732 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
26733 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
26741 PyObject
* obj0
= 0 ;
26742 PyObject
* obj1
= 0 ;
26743 PyObject
* obj2
= 0 ;
26744 char * kwnames
[] = {
26745 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
26748 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26749 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
26750 if (!SWIG_IsOK(res1
)) {
26751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Add" "', expected argument " "1"" of type '" "wxImageList *""'");
26753 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
26754 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
26755 if (!SWIG_IsOK(res2
)) {
26756 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
26759 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
26761 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
26763 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
26764 if (!SWIG_IsOK(res3
)) {
26765 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
26768 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
26770 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
26773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26774 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
26775 wxPyEndAllowThreads(__tstate
);
26776 if (PyErr_Occurred()) SWIG_fail
;
26778 resultobj
= SWIG_From_int(static_cast< int >(result
));
26785 SWIGINTERN PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26786 PyObject
*resultobj
= 0;
26787 wxImageList
*arg1
= (wxImageList
*) 0 ;
26788 wxBitmap
*arg2
= 0 ;
26789 wxColour
*arg3
= 0 ;
26796 PyObject
* obj0
= 0 ;
26797 PyObject
* obj1
= 0 ;
26798 PyObject
* obj2
= 0 ;
26799 char * kwnames
[] = {
26800 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
26803 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26804 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
26805 if (!SWIG_IsOK(res1
)) {
26806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "1"" of type '" "wxImageList *""'");
26808 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
26809 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
26810 if (!SWIG_IsOK(res2
)) {
26811 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
26814 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
26816 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
26819 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
26822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26823 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
26824 wxPyEndAllowThreads(__tstate
);
26825 if (PyErr_Occurred()) SWIG_fail
;
26827 resultobj
= SWIG_From_int(static_cast< int >(result
));
26834 SWIGINTERN PyObject
*_wrap_ImageList_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26835 PyObject
*resultobj
= 0;
26836 wxImageList
*arg1
= (wxImageList
*) 0 ;
26843 PyObject
* obj0
= 0 ;
26844 PyObject
* obj1
= 0 ;
26845 char * kwnames
[] = {
26846 (char *) "self",(char *) "icon", NULL
26849 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26850 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
26851 if (!SWIG_IsOK(res1
)) {
26852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddIcon" "', expected argument " "1"" of type '" "wxImageList *""'");
26854 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
26855 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
26856 if (!SWIG_IsOK(res2
)) {
26857 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
26860 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
26862 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
26864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26865 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
26866 wxPyEndAllowThreads(__tstate
);
26867 if (PyErr_Occurred()) SWIG_fail
;
26869 resultobj
= SWIG_From_int(static_cast< int >(result
));
26876 SWIGINTERN PyObject
*_wrap_ImageList_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26877 PyObject
*resultobj
= 0;
26878 wxImageList
*arg1
= (wxImageList
*) 0 ;
26880 SwigValueWrapper
<wxBitmap
> result
;
26885 PyObject
* obj0
= 0 ;
26886 PyObject
* obj1
= 0 ;
26887 char * kwnames
[] = {
26888 (char *) "self",(char *) "index", NULL
26891 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26892 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
26893 if (!SWIG_IsOK(res1
)) {
26894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetBitmap" "', expected argument " "1"" of type '" "wxImageList const *""'");
26896 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
26897 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26898 if (!SWIG_IsOK(ecode2
)) {
26899 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetBitmap" "', expected argument " "2"" of type '" "int""'");
26901 arg2
= static_cast< int >(val2
);
26903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26904 result
= ((wxImageList
const *)arg1
)->GetBitmap(arg2
);
26905 wxPyEndAllowThreads(__tstate
);
26906 if (PyErr_Occurred()) SWIG_fail
;
26908 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
26915 SWIGINTERN PyObject
*_wrap_ImageList_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26916 PyObject
*resultobj
= 0;
26917 wxImageList
*arg1
= (wxImageList
*) 0 ;
26924 PyObject
* obj0
= 0 ;
26925 PyObject
* obj1
= 0 ;
26926 char * kwnames
[] = {
26927 (char *) "self",(char *) "index", NULL
26930 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26931 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
26932 if (!SWIG_IsOK(res1
)) {
26933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetIcon" "', expected argument " "1"" of type '" "wxImageList const *""'");
26935 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
26936 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26937 if (!SWIG_IsOK(ecode2
)) {
26938 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetIcon" "', expected argument " "2"" of type '" "int""'");
26940 arg2
= static_cast< int >(val2
);
26942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26943 result
= ((wxImageList
const *)arg1
)->GetIcon(arg2
);
26944 wxPyEndAllowThreads(__tstate
);
26945 if (PyErr_Occurred()) SWIG_fail
;
26947 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
26954 SWIGINTERN PyObject
*_wrap_ImageList_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26955 PyObject
*resultobj
= 0;
26956 wxImageList
*arg1
= (wxImageList
*) 0 ;
26958 wxBitmap
*arg3
= 0 ;
26959 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
26960 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
26970 PyObject
* obj0
= 0 ;
26971 PyObject
* obj1
= 0 ;
26972 PyObject
* obj2
= 0 ;
26973 PyObject
* obj3
= 0 ;
26974 char * kwnames
[] = {
26975 (char *) "self",(char *) "index",(char *) "bitmap",(char *) "mask", NULL
26978 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
26979 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
26980 if (!SWIG_IsOK(res1
)) {
26981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Replace" "', expected argument " "1"" of type '" "wxImageList *""'");
26983 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
26984 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26985 if (!SWIG_IsOK(ecode2
)) {
26986 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Replace" "', expected argument " "2"" of type '" "int""'");
26988 arg2
= static_cast< int >(val2
);
26989 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
26990 if (!SWIG_IsOK(res3
)) {
26991 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
26994 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
26996 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
26998 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
26999 if (!SWIG_IsOK(res4
)) {
27000 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
27003 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
27005 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
27008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27009 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
,(wxBitmap
const &)*arg4
);
27010 wxPyEndAllowThreads(__tstate
);
27011 if (PyErr_Occurred()) SWIG_fail
;
27014 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27022 SWIGINTERN PyObject
*_wrap_ImageList_Draw(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27023 PyObject
*resultobj
= 0;
27024 wxImageList
*arg1
= (wxImageList
*) 0 ;
27029 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
27030 bool arg7
= (bool) (bool)false ;
27046 PyObject
* obj0
= 0 ;
27047 PyObject
* obj1
= 0 ;
27048 PyObject
* obj2
= 0 ;
27049 PyObject
* obj3
= 0 ;
27050 PyObject
* obj4
= 0 ;
27051 PyObject
* obj5
= 0 ;
27052 PyObject
* obj6
= 0 ;
27053 char * kwnames
[] = {
27054 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
27057 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
27058 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
27059 if (!SWIG_IsOK(res1
)) {
27060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Draw" "', expected argument " "1"" of type '" "wxImageList *""'");
27062 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27063 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27064 if (!SWIG_IsOK(ecode2
)) {
27065 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Draw" "', expected argument " "2"" of type '" "int""'");
27067 arg2
= static_cast< int >(val2
);
27068 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
27069 if (!SWIG_IsOK(res3
)) {
27070 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
27073 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
27075 arg3
= reinterpret_cast< wxDC
* >(argp3
);
27076 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
27077 if (!SWIG_IsOK(ecode4
)) {
27078 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ImageList_Draw" "', expected argument " "4"" of type '" "int""'");
27080 arg4
= static_cast< int >(val4
);
27081 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
27082 if (!SWIG_IsOK(ecode5
)) {
27083 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ImageList_Draw" "', expected argument " "5"" of type '" "int""'");
27085 arg5
= static_cast< int >(val5
);
27087 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
27088 if (!SWIG_IsOK(ecode6
)) {
27089 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ImageList_Draw" "', expected argument " "6"" of type '" "int""'");
27091 arg6
= static_cast< int >(val6
);
27094 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
27095 if (!SWIG_IsOK(ecode7
)) {
27096 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ImageList_Draw" "', expected argument " "7"" of type '" "bool""'");
27098 arg7
= static_cast< bool >(val7
);
27101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27102 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
27103 wxPyEndAllowThreads(__tstate
);
27104 if (PyErr_Occurred()) SWIG_fail
;
27107 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27115 SWIGINTERN PyObject
*_wrap_ImageList_GetImageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27116 PyObject
*resultobj
= 0;
27117 wxImageList
*arg1
= (wxImageList
*) 0 ;
27121 PyObject
*swig_obj
[1] ;
27123 if (!args
) SWIG_fail
;
27124 swig_obj
[0] = args
;
27125 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
27126 if (!SWIG_IsOK(res1
)) {
27127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetImageCount" "', expected argument " "1"" of type '" "wxImageList *""'");
27129 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27132 result
= (int)(arg1
)->GetImageCount();
27133 wxPyEndAllowThreads(__tstate
);
27134 if (PyErr_Occurred()) SWIG_fail
;
27136 resultobj
= SWIG_From_int(static_cast< int >(result
));
27143 SWIGINTERN PyObject
*_wrap_ImageList_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27144 PyObject
*resultobj
= 0;
27145 wxImageList
*arg1
= (wxImageList
*) 0 ;
27152 PyObject
* obj0
= 0 ;
27153 PyObject
* obj1
= 0 ;
27154 char * kwnames
[] = {
27155 (char *) "self",(char *) "index", NULL
27158 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27159 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
27160 if (!SWIG_IsOK(res1
)) {
27161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Remove" "', expected argument " "1"" of type '" "wxImageList *""'");
27163 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27164 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27165 if (!SWIG_IsOK(ecode2
)) {
27166 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Remove" "', expected argument " "2"" of type '" "int""'");
27168 arg2
= static_cast< int >(val2
);
27170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27171 result
= (bool)(arg1
)->Remove(arg2
);
27172 wxPyEndAllowThreads(__tstate
);
27173 if (PyErr_Occurred()) SWIG_fail
;
27176 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27184 SWIGINTERN PyObject
*_wrap_ImageList_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27185 PyObject
*resultobj
= 0;
27186 wxImageList
*arg1
= (wxImageList
*) 0 ;
27190 PyObject
*swig_obj
[1] ;
27192 if (!args
) SWIG_fail
;
27193 swig_obj
[0] = args
;
27194 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
27195 if (!SWIG_IsOK(res1
)) {
27196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_RemoveAll" "', expected argument " "1"" of type '" "wxImageList *""'");
27198 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27201 result
= (bool)(arg1
)->RemoveAll();
27202 wxPyEndAllowThreads(__tstate
);
27203 if (PyErr_Occurred()) SWIG_fail
;
27206 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27214 SWIGINTERN PyObject
*_wrap_ImageList_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27215 PyObject
*resultobj
= 0;
27216 wxImageList
*arg1
= (wxImageList
*) 0 ;
27225 int res3
= SWIG_TMPOBJ
;
27227 int res4
= SWIG_TMPOBJ
;
27228 PyObject
* obj0
= 0 ;
27229 PyObject
* obj1
= 0 ;
27230 char * kwnames
[] = {
27231 (char *) "self",(char *) "index", NULL
27236 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27237 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
27238 if (!SWIG_IsOK(res1
)) {
27239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetSize" "', expected argument " "1"" of type '" "wxImageList *""'");
27241 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27242 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27243 if (!SWIG_IsOK(ecode2
)) {
27244 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetSize" "', expected argument " "2"" of type '" "int""'");
27246 arg2
= static_cast< int >(val2
);
27248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27249 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
27250 wxPyEndAllowThreads(__tstate
);
27251 if (PyErr_Occurred()) SWIG_fail
;
27253 resultobj
= SWIG_Py_Void();
27254 if (SWIG_IsTmpObj(res3
)) {
27255 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
27257 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27258 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
27260 if (SWIG_IsTmpObj(res4
)) {
27261 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
27263 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27264 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
27272 SWIGINTERN PyObject
*ImageList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27274 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27275 SWIG_TypeNewClientData(SWIGTYPE_p_wxImageList
, SWIG_NewClientData(obj
));
27276 return SWIG_Py_Void();
27279 SWIGINTERN PyObject
*ImageList_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27280 return SWIG_Python_InitShadowInstance(args
);
27283 SWIGINTERN PyObject
*_wrap_new_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27284 PyObject
*resultobj
= 0;
27285 wxStockGDI
*result
= 0 ;
27287 if (!SWIG_Python_UnpackTuple(args
,"new_StockGDI",0,0,0)) SWIG_fail
;
27289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27290 result
= (wxStockGDI
*)new wxStockGDI();
27291 wxPyEndAllowThreads(__tstate
);
27292 if (PyErr_Occurred()) SWIG_fail
;
27294 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_NEW
| 0 );
27301 SWIGINTERN PyObject
*_wrap_delete_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27302 PyObject
*resultobj
= 0;
27303 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
27306 PyObject
*swig_obj
[1] ;
27308 if (!args
) SWIG_fail
;
27309 swig_obj
[0] = args
;
27310 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_DISOWN
| 0 );
27311 if (!SWIG_IsOK(res1
)) {
27312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_StockGDI" "', expected argument " "1"" of type '" "wxStockGDI *""'");
27314 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
27316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27319 wxPyEndAllowThreads(__tstate
);
27320 if (PyErr_Occurred()) SWIG_fail
;
27322 resultobj
= SWIG_Py_Void();
27329 SWIGINTERN PyObject
*_wrap_StockGDI_DeleteAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27330 PyObject
*resultobj
= 0;
27332 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_DeleteAll",0,0,0)) SWIG_fail
;
27334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27335 wxStockGDI::DeleteAll();
27336 wxPyEndAllowThreads(__tstate
);
27337 if (PyErr_Occurred()) SWIG_fail
;
27339 resultobj
= SWIG_Py_Void();
27346 SWIGINTERN PyObject
*_wrap_StockGDI_instance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27347 PyObject
*resultobj
= 0;
27348 wxStockGDI
*result
= 0 ;
27350 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_instance",0,0,0)) SWIG_fail
;
27352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27354 wxStockGDI
&_result_ref
= wxStockGDI::instance();
27355 result
= (wxStockGDI
*) &_result_ref
;
27357 wxPyEndAllowThreads(__tstate
);
27358 if (PyErr_Occurred()) SWIG_fail
;
27360 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, 0 | 0 );
27367 SWIGINTERN PyObject
*_wrap_StockGDI_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27368 PyObject
*resultobj
= 0;
27369 wxStockGDI::Item arg1
;
27370 wxBrush
*result
= 0 ;
27373 PyObject
* obj0
= 0 ;
27374 char * kwnames
[] = {
27375 (char *) "item", NULL
27378 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetBrush",kwnames
,&obj0
)) SWIG_fail
;
27379 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
27380 if (!SWIG_IsOK(ecode1
)) {
27381 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetBrush" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
27383 arg1
= static_cast< wxStockGDI::Item
>(val1
);
27385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27386 result
= (wxBrush
*)wxStockGDI::GetBrush(arg1
);
27387 wxPyEndAllowThreads(__tstate
);
27388 if (PyErr_Occurred()) SWIG_fail
;
27390 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
27397 SWIGINTERN PyObject
*_wrap_StockGDI_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27398 PyObject
*resultobj
= 0;
27399 wxStockGDI::Item arg1
;
27400 wxColour
*result
= 0 ;
27403 PyObject
* obj0
= 0 ;
27404 char * kwnames
[] = {
27405 (char *) "item", NULL
27408 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetColour",kwnames
,&obj0
)) SWIG_fail
;
27409 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
27410 if (!SWIG_IsOK(ecode1
)) {
27411 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetColour" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
27413 arg1
= static_cast< wxStockGDI::Item
>(val1
);
27415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27416 result
= (wxColour
*)wxStockGDI::GetColour(arg1
);
27417 wxPyEndAllowThreads(__tstate
);
27418 if (PyErr_Occurred()) SWIG_fail
;
27420 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
27427 SWIGINTERN PyObject
*_wrap_StockGDI_GetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27428 PyObject
*resultobj
= 0;
27429 wxStockGDI::Item arg1
;
27430 wxCursor
*result
= 0 ;
27433 PyObject
* obj0
= 0 ;
27434 char * kwnames
[] = {
27435 (char *) "item", NULL
27438 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetCursor",kwnames
,&obj0
)) SWIG_fail
;
27439 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
27440 if (!SWIG_IsOK(ecode1
)) {
27441 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetCursor" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
27443 arg1
= static_cast< wxStockGDI::Item
>(val1
);
27445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27446 result
= (wxCursor
*)wxStockGDI::GetCursor(arg1
);
27447 wxPyEndAllowThreads(__tstate
);
27448 if (PyErr_Occurred()) SWIG_fail
;
27450 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, 0 | 0 );
27457 SWIGINTERN PyObject
*_wrap_StockGDI_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27458 PyObject
*resultobj
= 0;
27459 wxStockGDI::Item arg1
;
27460 wxPen
*result
= 0 ;
27463 PyObject
* obj0
= 0 ;
27464 char * kwnames
[] = {
27465 (char *) "item", NULL
27468 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetPen",kwnames
,&obj0
)) SWIG_fail
;
27469 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
27470 if (!SWIG_IsOK(ecode1
)) {
27471 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetPen" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
27473 arg1
= static_cast< wxStockGDI::Item
>(val1
);
27475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27476 result
= (wxPen
*)wxStockGDI::GetPen(arg1
);
27477 wxPyEndAllowThreads(__tstate
);
27478 if (PyErr_Occurred()) SWIG_fail
;
27480 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
27487 SWIGINTERN PyObject
*_wrap_StockGDI_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27488 PyObject
*resultobj
= 0;
27489 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
27490 wxStockGDI::Item arg2
;
27491 wxFont
*result
= 0 ;
27496 PyObject
* obj0
= 0 ;
27497 PyObject
* obj1
= 0 ;
27498 char * kwnames
[] = {
27499 (char *) "self",(char *) "item", NULL
27502 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StockGDI_GetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27503 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStockGDI
, 0 | 0 );
27504 if (!SWIG_IsOK(res1
)) {
27505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StockGDI_GetFont" "', expected argument " "1"" of type '" "wxStockGDI *""'");
27507 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
27508 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27509 if (!SWIG_IsOK(ecode2
)) {
27510 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StockGDI_GetFont" "', expected argument " "2"" of type '" "wxStockGDI::Item""'");
27512 arg2
= static_cast< wxStockGDI::Item
>(val2
);
27514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27515 result
= (wxFont
*)(arg1
)->GetFont(arg2
);
27516 wxPyEndAllowThreads(__tstate
);
27517 if (PyErr_Occurred()) SWIG_fail
;
27519 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
27526 SWIGINTERN PyObject
*StockGDI_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27528 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27529 SWIG_TypeNewClientData(SWIGTYPE_p_wxStockGDI
, SWIG_NewClientData(obj
));
27530 return SWIG_Py_Void();
27533 SWIGINTERN PyObject
*StockGDI_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27534 return SWIG_Python_InitShadowInstance(args
);
27537 SWIGINTERN
int NullBitmap_set(PyObject
*) {
27538 SWIG_Error(SWIG_AttributeError
,"Variable NullBitmap is read-only.");
27543 SWIGINTERN PyObject
*NullBitmap_get(void) {
27544 PyObject
*pyobj
= 0;
27546 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0 );
27551 SWIGINTERN
int NullIcon_set(PyObject
*) {
27552 SWIG_Error(SWIG_AttributeError
,"Variable NullIcon is read-only.");
27557 SWIGINTERN PyObject
*NullIcon_get(void) {
27558 PyObject
*pyobj
= 0;
27560 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0 );
27565 SWIGINTERN
int NullCursor_set(PyObject
*) {
27566 SWIG_Error(SWIG_AttributeError
,"Variable NullCursor is read-only.");
27571 SWIGINTERN PyObject
*NullCursor_get(void) {
27572 PyObject
*pyobj
= 0;
27574 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0 );
27579 SWIGINTERN
int NullPen_set(PyObject
*) {
27580 SWIG_Error(SWIG_AttributeError
,"Variable NullPen is read-only.");
27585 SWIGINTERN PyObject
*NullPen_get(void) {
27586 PyObject
*pyobj
= 0;
27588 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPen
), SWIGTYPE_p_wxPen
, 0 );
27593 SWIGINTERN
int NullBrush_set(PyObject
*) {
27594 SWIG_Error(SWIG_AttributeError
,"Variable NullBrush is read-only.");
27599 SWIGINTERN PyObject
*NullBrush_get(void) {
27600 PyObject
*pyobj
= 0;
27602 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0 );
27607 SWIGINTERN
int NullPalette_set(PyObject
*) {
27608 SWIG_Error(SWIG_AttributeError
,"Variable NullPalette is read-only.");
27613 SWIGINTERN PyObject
*NullPalette_get(void) {
27614 PyObject
*pyobj
= 0;
27616 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0 );
27621 SWIGINTERN
int NullFont_set(PyObject
*) {
27622 SWIG_Error(SWIG_AttributeError
,"Variable NullFont is read-only.");
27627 SWIGINTERN PyObject
*NullFont_get(void) {
27628 PyObject
*pyobj
= 0;
27630 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullFont
), SWIGTYPE_p_wxFont
, 0 );
27635 SWIGINTERN
int NullColour_set(PyObject
*) {
27636 SWIG_Error(SWIG_AttributeError
,"Variable NullColour is read-only.");
27641 SWIGINTERN PyObject
*NullColour_get(void) {
27642 PyObject
*pyobj
= 0;
27644 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullColour
), SWIGTYPE_p_wxColour
, 0 );
27649 SWIGINTERN PyObject
*_wrap_new_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27650 PyObject
*resultobj
= 0;
27651 wxGDIObjListBase
*result
= 0 ;
27653 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObjListBase",0,0,0)) SWIG_fail
;
27655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27656 result
= (wxGDIObjListBase
*)new wxGDIObjListBase();
27657 wxPyEndAllowThreads(__tstate
);
27658 if (PyErr_Occurred()) SWIG_fail
;
27660 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_NEW
| 0 );
27667 SWIGINTERN PyObject
*_wrap_delete_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27668 PyObject
*resultobj
= 0;
27669 wxGDIObjListBase
*arg1
= (wxGDIObjListBase
*) 0 ;
27672 PyObject
*swig_obj
[1] ;
27674 if (!args
) SWIG_fail
;
27675 swig_obj
[0] = args
;
27676 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_DISOWN
| 0 );
27677 if (!SWIG_IsOK(res1
)) {
27678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObjListBase" "', expected argument " "1"" of type '" "wxGDIObjListBase *""'");
27680 arg1
= reinterpret_cast< wxGDIObjListBase
* >(argp1
);
27682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27685 wxPyEndAllowThreads(__tstate
);
27686 if (PyErr_Occurred()) SWIG_fail
;
27688 resultobj
= SWIG_Py_Void();
27695 SWIGINTERN PyObject
*GDIObjListBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27697 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27698 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObjListBase
, SWIG_NewClientData(obj
));
27699 return SWIG_Py_Void();
27702 SWIGINTERN PyObject
*GDIObjListBase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27703 return SWIG_Python_InitShadowInstance(args
);
27706 SWIGINTERN PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27707 PyObject
*resultobj
= 0;
27708 wxPenList
*arg1
= (wxPenList
*) 0 ;
27709 wxColour
*arg2
= 0 ;
27712 wxPen
*result
= 0 ;
27720 PyObject
* obj0
= 0 ;
27721 PyObject
* obj1
= 0 ;
27722 PyObject
* obj2
= 0 ;
27723 PyObject
* obj3
= 0 ;
27724 char * kwnames
[] = {
27725 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
27728 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27729 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
27730 if (!SWIG_IsOK(res1
)) {
27731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "1"" of type '" "wxPenList *""'");
27733 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
27736 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
27738 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27739 if (!SWIG_IsOK(ecode3
)) {
27740 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "3"" of type '" "int""'");
27742 arg3
= static_cast< int >(val3
);
27743 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
27744 if (!SWIG_IsOK(ecode4
)) {
27745 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "4"" of type '" "int""'");
27747 arg4
= static_cast< int >(val4
);
27749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27750 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
27751 wxPyEndAllowThreads(__tstate
);
27752 if (PyErr_Occurred()) SWIG_fail
;
27754 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
27761 SWIGINTERN PyObject
*_wrap_PenList_AddPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27762 PyObject
*resultobj
= 0;
27763 wxPenList
*arg1
= (wxPenList
*) 0 ;
27764 wxPen
*arg2
= (wxPen
*) 0 ;
27769 PyObject
* obj0
= 0 ;
27770 PyObject
* obj1
= 0 ;
27771 char * kwnames
[] = {
27772 (char *) "self",(char *) "pen", NULL
27775 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27776 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
27777 if (!SWIG_IsOK(res1
)) {
27778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_AddPen" "', expected argument " "1"" of type '" "wxPenList *""'");
27780 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
27781 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
27782 if (!SWIG_IsOK(res2
)) {
27783 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_AddPen" "', expected argument " "2"" of type '" "wxPen *""'");
27785 arg2
= reinterpret_cast< wxPen
* >(argp2
);
27787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27788 (arg1
)->AddPen(arg2
);
27789 wxPyEndAllowThreads(__tstate
);
27790 if (PyErr_Occurred()) SWIG_fail
;
27792 resultobj
= SWIG_Py_Void();
27799 SWIGINTERN PyObject
*_wrap_PenList_RemovePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27800 PyObject
*resultobj
= 0;
27801 wxPenList
*arg1
= (wxPenList
*) 0 ;
27802 wxPen
*arg2
= (wxPen
*) 0 ;
27807 PyObject
* obj0
= 0 ;
27808 PyObject
* obj1
= 0 ;
27809 char * kwnames
[] = {
27810 (char *) "self",(char *) "pen", NULL
27813 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27814 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
27815 if (!SWIG_IsOK(res1
)) {
27816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_RemovePen" "', expected argument " "1"" of type '" "wxPenList *""'");
27818 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
27819 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
27820 if (!SWIG_IsOK(res2
)) {
27821 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_RemovePen" "', expected argument " "2"" of type '" "wxPen *""'");
27823 arg2
= reinterpret_cast< wxPen
* >(argp2
);
27825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27826 (arg1
)->RemovePen(arg2
);
27827 wxPyEndAllowThreads(__tstate
);
27828 if (PyErr_Occurred()) SWIG_fail
;
27830 resultobj
= SWIG_Py_Void();
27837 SWIGINTERN PyObject
*PenList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27839 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27840 SWIG_TypeNewClientData(SWIGTYPE_p_wxPenList
, SWIG_NewClientData(obj
));
27841 return SWIG_Py_Void();
27844 SWIGINTERN PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27845 PyObject
*resultobj
= 0;
27846 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
27847 wxColour
*arg2
= 0 ;
27848 int arg3
= (int) wxSOLID
;
27849 wxBrush
*result
= 0 ;
27855 PyObject
* obj0
= 0 ;
27856 PyObject
* obj1
= 0 ;
27857 PyObject
* obj2
= 0 ;
27858 char * kwnames
[] = {
27859 (char *) "self",(char *) "colour",(char *) "style", NULL
27862 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27863 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
27864 if (!SWIG_IsOK(res1
)) {
27865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
27867 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
27870 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
27873 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27874 if (!SWIG_IsOK(ecode3
)) {
27875 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "3"" of type '" "int""'");
27877 arg3
= static_cast< int >(val3
);
27880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27881 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
27882 wxPyEndAllowThreads(__tstate
);
27883 if (PyErr_Occurred()) SWIG_fail
;
27885 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
27892 SWIGINTERN PyObject
*_wrap_BrushList_AddBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27893 PyObject
*resultobj
= 0;
27894 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
27895 wxBrush
*arg2
= (wxBrush
*) 0 ;
27900 PyObject
* obj0
= 0 ;
27901 PyObject
* obj1
= 0 ;
27902 char * kwnames
[] = {
27903 (char *) "self",(char *) "brush", NULL
27906 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27907 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
27908 if (!SWIG_IsOK(res1
)) {
27909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_AddBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
27911 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
27912 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
27913 if (!SWIG_IsOK(res2
)) {
27914 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_AddBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
27916 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
27918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27919 (arg1
)->AddBrush(arg2
);
27920 wxPyEndAllowThreads(__tstate
);
27921 if (PyErr_Occurred()) SWIG_fail
;
27923 resultobj
= SWIG_Py_Void();
27930 SWIGINTERN PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27931 PyObject
*resultobj
= 0;
27932 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
27933 wxBrush
*arg2
= (wxBrush
*) 0 ;
27938 PyObject
* obj0
= 0 ;
27939 PyObject
* obj1
= 0 ;
27940 char * kwnames
[] = {
27941 (char *) "self",(char *) "brush", NULL
27944 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27945 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
27946 if (!SWIG_IsOK(res1
)) {
27947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_RemoveBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
27949 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
27950 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
27951 if (!SWIG_IsOK(res2
)) {
27952 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_RemoveBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
27954 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
27956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27957 (arg1
)->RemoveBrush(arg2
);
27958 wxPyEndAllowThreads(__tstate
);
27959 if (PyErr_Occurred()) SWIG_fail
;
27961 resultobj
= SWIG_Py_Void();
27968 SWIGINTERN PyObject
*BrushList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27970 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27971 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrushList
, SWIG_NewClientData(obj
));
27972 return SWIG_Py_Void();
27975 SWIGINTERN PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27976 PyObject
*resultobj
= 0;
27977 wxFontList
*arg1
= (wxFontList
*) 0 ;
27982 bool arg6
= (bool) false ;
27983 wxString
const &arg7_defvalue
= wxPyEmptyString
;
27984 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
27985 wxFontEncoding arg8
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
27986 wxFont
*result
= 0 ;
27999 bool temp7
= false ;
28002 PyObject
* obj0
= 0 ;
28003 PyObject
* obj1
= 0 ;
28004 PyObject
* obj2
= 0 ;
28005 PyObject
* obj3
= 0 ;
28006 PyObject
* obj4
= 0 ;
28007 PyObject
* obj5
= 0 ;
28008 PyObject
* obj6
= 0 ;
28009 PyObject
* obj7
= 0 ;
28010 char * kwnames
[] = {
28011 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
28014 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
28015 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
28016 if (!SWIG_IsOK(res1
)) {
28017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "1"" of type '" "wxFontList *""'");
28019 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
28020 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28021 if (!SWIG_IsOK(ecode2
)) {
28022 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "2"" of type '" "int""'");
28024 arg2
= static_cast< int >(val2
);
28025 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28026 if (!SWIG_IsOK(ecode3
)) {
28027 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "3"" of type '" "int""'");
28029 arg3
= static_cast< int >(val3
);
28030 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
28031 if (!SWIG_IsOK(ecode4
)) {
28032 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "4"" of type '" "int""'");
28034 arg4
= static_cast< int >(val4
);
28035 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
28036 if (!SWIG_IsOK(ecode5
)) {
28037 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "5"" of type '" "int""'");
28039 arg5
= static_cast< int >(val5
);
28041 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
28042 if (!SWIG_IsOK(ecode6
)) {
28043 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "6"" of type '" "bool""'");
28045 arg6
= static_cast< bool >(val6
);
28049 arg7
= wxString_in_helper(obj6
);
28050 if (arg7
== NULL
) SWIG_fail
;
28055 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
28056 if (!SWIG_IsOK(ecode8
)) {
28057 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "8"" of type '" "wxFontEncoding""'");
28059 arg8
= static_cast< wxFontEncoding
>(val8
);
28062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28063 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,arg8
);
28064 wxPyEndAllowThreads(__tstate
);
28065 if (PyErr_Occurred()) SWIG_fail
;
28067 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
28082 SWIGINTERN PyObject
*_wrap_FontList_AddFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28083 PyObject
*resultobj
= 0;
28084 wxFontList
*arg1
= (wxFontList
*) 0 ;
28085 wxFont
*arg2
= (wxFont
*) 0 ;
28090 PyObject
* obj0
= 0 ;
28091 PyObject
* obj1
= 0 ;
28092 char * kwnames
[] = {
28093 (char *) "self",(char *) "font", NULL
28096 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28097 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
28098 if (!SWIG_IsOK(res1
)) {
28099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_AddFont" "', expected argument " "1"" of type '" "wxFontList *""'");
28101 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
28102 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
28103 if (!SWIG_IsOK(res2
)) {
28104 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_AddFont" "', expected argument " "2"" of type '" "wxFont *""'");
28106 arg2
= reinterpret_cast< wxFont
* >(argp2
);
28108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28109 (arg1
)->AddFont(arg2
);
28110 wxPyEndAllowThreads(__tstate
);
28111 if (PyErr_Occurred()) SWIG_fail
;
28113 resultobj
= SWIG_Py_Void();
28120 SWIGINTERN PyObject
*_wrap_FontList_RemoveFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28121 PyObject
*resultobj
= 0;
28122 wxFontList
*arg1
= (wxFontList
*) 0 ;
28123 wxFont
*arg2
= (wxFont
*) 0 ;
28128 PyObject
* obj0
= 0 ;
28129 PyObject
* obj1
= 0 ;
28130 char * kwnames
[] = {
28131 (char *) "self",(char *) "font", NULL
28134 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28135 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
28136 if (!SWIG_IsOK(res1
)) {
28137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_RemoveFont" "', expected argument " "1"" of type '" "wxFontList *""'");
28139 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
28140 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
28141 if (!SWIG_IsOK(res2
)) {
28142 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_RemoveFont" "', expected argument " "2"" of type '" "wxFont *""'");
28144 arg2
= reinterpret_cast< wxFont
* >(argp2
);
28146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28147 (arg1
)->RemoveFont(arg2
);
28148 wxPyEndAllowThreads(__tstate
);
28149 if (PyErr_Occurred()) SWIG_fail
;
28151 resultobj
= SWIG_Py_Void();
28158 SWIGINTERN PyObject
*FontList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28160 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28161 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontList
, SWIG_NewClientData(obj
));
28162 return SWIG_Py_Void();
28165 SWIGINTERN PyObject
*_wrap_new_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28166 PyObject
*resultobj
= 0;
28167 wxColourDatabase
*result
= 0 ;
28169 if (!SWIG_Python_UnpackTuple(args
,"new_ColourDatabase",0,0,0)) SWIG_fail
;
28171 if (!wxPyCheckForApp()) SWIG_fail
;
28172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28173 result
= (wxColourDatabase
*)new wxColourDatabase();
28174 wxPyEndAllowThreads(__tstate
);
28175 if (PyErr_Occurred()) SWIG_fail
;
28177 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_NEW
| 0 );
28184 SWIGINTERN PyObject
*_wrap_delete_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28185 PyObject
*resultobj
= 0;
28186 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
28189 PyObject
*swig_obj
[1] ;
28191 if (!args
) SWIG_fail
;
28192 swig_obj
[0] = args
;
28193 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_DISOWN
| 0 );
28194 if (!SWIG_IsOK(res1
)) {
28195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourDatabase" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
28197 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
28199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28202 wxPyEndAllowThreads(__tstate
);
28203 if (PyErr_Occurred()) SWIG_fail
;
28205 resultobj
= SWIG_Py_Void();
28212 SWIGINTERN PyObject
*_wrap_ColourDatabase_Find(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28213 PyObject
*resultobj
= 0;
28214 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
28215 wxString
*arg2
= 0 ;
28219 bool temp2
= false ;
28220 PyObject
* obj0
= 0 ;
28221 PyObject
* obj1
= 0 ;
28222 char * kwnames
[] = {
28223 (char *) "self",(char *) "name", NULL
28226 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28227 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
28228 if (!SWIG_IsOK(res1
)) {
28229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Find" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
28231 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
28233 arg2
= wxString_in_helper(obj1
);
28234 if (arg2
== NULL
) SWIG_fail
;
28238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28239 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
28240 wxPyEndAllowThreads(__tstate
);
28241 if (PyErr_Occurred()) SWIG_fail
;
28243 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
28258 SWIGINTERN PyObject
*_wrap_ColourDatabase_FindName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28259 PyObject
*resultobj
= 0;
28260 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
28261 wxColour
*arg2
= 0 ;
28266 PyObject
* obj0
= 0 ;
28267 PyObject
* obj1
= 0 ;
28268 char * kwnames
[] = {
28269 (char *) "self",(char *) "colour", NULL
28272 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28273 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
28274 if (!SWIG_IsOK(res1
)) {
28275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_FindName" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
28277 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
28280 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
28283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28284 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
28285 wxPyEndAllowThreads(__tstate
);
28286 if (PyErr_Occurred()) SWIG_fail
;
28290 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28292 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28301 SWIGINTERN PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28302 PyObject
*resultobj
= 0;
28303 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
28304 wxString
*arg2
= 0 ;
28305 wxColour
*arg3
= 0 ;
28308 bool temp2
= false ;
28310 PyObject
* obj0
= 0 ;
28311 PyObject
* obj1
= 0 ;
28312 PyObject
* obj2
= 0 ;
28313 char * kwnames
[] = {
28314 (char *) "self",(char *) "name",(char *) "colour", NULL
28317 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28318 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
28319 if (!SWIG_IsOK(res1
)) {
28320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_AddColour" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
28322 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
28324 arg2
= wxString_in_helper(obj1
);
28325 if (arg2
== NULL
) SWIG_fail
;
28330 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
28333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28334 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
28335 wxPyEndAllowThreads(__tstate
);
28336 if (PyErr_Occurred()) SWIG_fail
;
28338 resultobj
= SWIG_Py_Void();
28353 SWIGINTERN PyObject
*_wrap_ColourDatabase_Append(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28354 PyObject
*resultobj
= 0;
28355 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
28356 wxString
*arg2
= 0 ;
28362 bool temp2
= false ;
28369 PyObject
* obj0
= 0 ;
28370 PyObject
* obj1
= 0 ;
28371 PyObject
* obj2
= 0 ;
28372 PyObject
* obj3
= 0 ;
28373 PyObject
* obj4
= 0 ;
28374 char * kwnames
[] = {
28375 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
28378 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
28379 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
28380 if (!SWIG_IsOK(res1
)) {
28381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Append" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
28383 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
28385 arg2
= wxString_in_helper(obj1
);
28386 if (arg2
== NULL
) SWIG_fail
;
28389 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28390 if (!SWIG_IsOK(ecode3
)) {
28391 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourDatabase_Append" "', expected argument " "3"" of type '" "int""'");
28393 arg3
= static_cast< int >(val3
);
28394 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
28395 if (!SWIG_IsOK(ecode4
)) {
28396 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ColourDatabase_Append" "', expected argument " "4"" of type '" "int""'");
28398 arg4
= static_cast< int >(val4
);
28399 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
28400 if (!SWIG_IsOK(ecode5
)) {
28401 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ColourDatabase_Append" "', expected argument " "5"" of type '" "int""'");
28403 arg5
= static_cast< int >(val5
);
28405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28406 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
28407 wxPyEndAllowThreads(__tstate
);
28408 if (PyErr_Occurred()) SWIG_fail
;
28410 resultobj
= SWIG_Py_Void();
28425 SWIGINTERN PyObject
*ColourDatabase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28427 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28428 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDatabase
, SWIG_NewClientData(obj
));
28429 return SWIG_Py_Void();
28432 SWIGINTERN PyObject
*ColourDatabase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28433 return SWIG_Python_InitShadowInstance(args
);
28436 SWIGINTERN PyObject
*_wrap__wxPyInitTheFontList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28437 PyObject
*resultobj
= 0;
28438 wxFontList
*result
= 0 ;
28440 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheFontList",0,0,0)) SWIG_fail
;
28442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28443 result
= (wxFontList
*)_wxPyInitTheFontList();
28444 wxPyEndAllowThreads(__tstate
);
28445 if (PyErr_Occurred()) SWIG_fail
;
28447 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontList
, 0 | 0 );
28454 SWIGINTERN PyObject
*_wrap__wxPyInitThePenList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28455 PyObject
*resultobj
= 0;
28456 wxPenList
*result
= 0 ;
28458 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitThePenList",0,0,0)) SWIG_fail
;
28460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28461 result
= (wxPenList
*)_wxPyInitThePenList();
28462 wxPyEndAllowThreads(__tstate
);
28463 if (PyErr_Occurred()) SWIG_fail
;
28465 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPenList
, 0 | 0 );
28472 SWIGINTERN PyObject
*_wrap__wxPyInitTheBrushList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28473 PyObject
*resultobj
= 0;
28474 wxBrushList
*result
= 0 ;
28476 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheBrushList",0,0,0)) SWIG_fail
;
28478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28479 result
= (wxBrushList
*)_wxPyInitTheBrushList();
28480 wxPyEndAllowThreads(__tstate
);
28481 if (PyErr_Occurred()) SWIG_fail
;
28483 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrushList
, 0 | 0 );
28490 SWIGINTERN PyObject
*_wrap__wxPyInitTheColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28491 PyObject
*resultobj
= 0;
28492 wxColourDatabase
*result
= 0 ;
28494 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheColourDatabase",0,0,0)) SWIG_fail
;
28496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28497 result
= (wxColourDatabase
*)_wxPyInitTheColourDatabase();
28498 wxPyEndAllowThreads(__tstate
);
28499 if (PyErr_Occurred()) SWIG_fail
;
28501 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
28508 SWIGINTERN PyObject
*_wrap_new_Effects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28509 PyObject
*resultobj
= 0;
28510 wxEffects
*result
= 0 ;
28512 if (!SWIG_Python_UnpackTuple(args
,"new_Effects",0,0,0)) SWIG_fail
;
28514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28515 result
= (wxEffects
*)new wxEffects();
28516 wxPyEndAllowThreads(__tstate
);
28517 if (PyErr_Occurred()) SWIG_fail
;
28519 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEffects
, SWIG_POINTER_NEW
| 0 );
28526 SWIGINTERN PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28527 PyObject
*resultobj
= 0;
28528 wxEffects
*arg1
= (wxEffects
*) 0 ;
28532 PyObject
*swig_obj
[1] ;
28534 if (!args
) SWIG_fail
;
28535 swig_obj
[0] = args
;
28536 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
28537 if (!SWIG_IsOK(res1
)) {
28538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetHighlightColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
28540 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
28542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28543 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
28544 wxPyEndAllowThreads(__tstate
);
28545 if (PyErr_Occurred()) SWIG_fail
;
28547 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
28554 SWIGINTERN PyObject
*_wrap_Effects_GetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28555 PyObject
*resultobj
= 0;
28556 wxEffects
*arg1
= (wxEffects
*) 0 ;
28560 PyObject
*swig_obj
[1] ;
28562 if (!args
) SWIG_fail
;
28563 swig_obj
[0] = args
;
28564 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
28565 if (!SWIG_IsOK(res1
)) {
28566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetLightShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
28568 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
28570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28571 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
28572 wxPyEndAllowThreads(__tstate
);
28573 if (PyErr_Occurred()) SWIG_fail
;
28575 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
28582 SWIGINTERN PyObject
*_wrap_Effects_GetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28583 PyObject
*resultobj
= 0;
28584 wxEffects
*arg1
= (wxEffects
*) 0 ;
28588 PyObject
*swig_obj
[1] ;
28590 if (!args
) SWIG_fail
;
28591 swig_obj
[0] = args
;
28592 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
28593 if (!SWIG_IsOK(res1
)) {
28594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetFaceColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
28596 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
28598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28599 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
28600 wxPyEndAllowThreads(__tstate
);
28601 if (PyErr_Occurred()) SWIG_fail
;
28603 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
28610 SWIGINTERN PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28611 PyObject
*resultobj
= 0;
28612 wxEffects
*arg1
= (wxEffects
*) 0 ;
28616 PyObject
*swig_obj
[1] ;
28618 if (!args
) SWIG_fail
;
28619 swig_obj
[0] = args
;
28620 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
28621 if (!SWIG_IsOK(res1
)) {
28622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetMediumShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
28624 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
28626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28627 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
28628 wxPyEndAllowThreads(__tstate
);
28629 if (PyErr_Occurred()) SWIG_fail
;
28631 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
28638 SWIGINTERN PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28639 PyObject
*resultobj
= 0;
28640 wxEffects
*arg1
= (wxEffects
*) 0 ;
28644 PyObject
*swig_obj
[1] ;
28646 if (!args
) SWIG_fail
;
28647 swig_obj
[0] = args
;
28648 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
28649 if (!SWIG_IsOK(res1
)) {
28650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetDarkShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
28652 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
28654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28655 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
28656 wxPyEndAllowThreads(__tstate
);
28657 if (PyErr_Occurred()) SWIG_fail
;
28659 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
28666 SWIGINTERN PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28667 PyObject
*resultobj
= 0;
28668 wxEffects
*arg1
= (wxEffects
*) 0 ;
28669 wxColour
*arg2
= 0 ;
28673 PyObject
* obj0
= 0 ;
28674 PyObject
* obj1
= 0 ;
28675 char * kwnames
[] = {
28676 (char *) "self",(char *) "c", NULL
28679 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28680 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
28681 if (!SWIG_IsOK(res1
)) {
28682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetHighlightColour" "', expected argument " "1"" of type '" "wxEffects *""'");
28684 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
28687 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
28690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28691 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
28692 wxPyEndAllowThreads(__tstate
);
28693 if (PyErr_Occurred()) SWIG_fail
;
28695 resultobj
= SWIG_Py_Void();
28702 SWIGINTERN PyObject
*_wrap_Effects_SetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28703 PyObject
*resultobj
= 0;
28704 wxEffects
*arg1
= (wxEffects
*) 0 ;
28705 wxColour
*arg2
= 0 ;
28709 PyObject
* obj0
= 0 ;
28710 PyObject
* obj1
= 0 ;
28711 char * kwnames
[] = {
28712 (char *) "self",(char *) "c", NULL
28715 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28716 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
28717 if (!SWIG_IsOK(res1
)) {
28718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetLightShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
28720 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
28723 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
28726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28727 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
28728 wxPyEndAllowThreads(__tstate
);
28729 if (PyErr_Occurred()) SWIG_fail
;
28731 resultobj
= SWIG_Py_Void();
28738 SWIGINTERN PyObject
*_wrap_Effects_SetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28739 PyObject
*resultobj
= 0;
28740 wxEffects
*arg1
= (wxEffects
*) 0 ;
28741 wxColour
*arg2
= 0 ;
28745 PyObject
* obj0
= 0 ;
28746 PyObject
* obj1
= 0 ;
28747 char * kwnames
[] = {
28748 (char *) "self",(char *) "c", NULL
28751 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28752 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
28753 if (!SWIG_IsOK(res1
)) {
28754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetFaceColour" "', expected argument " "1"" of type '" "wxEffects *""'");
28756 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
28759 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
28762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28763 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
28764 wxPyEndAllowThreads(__tstate
);
28765 if (PyErr_Occurred()) SWIG_fail
;
28767 resultobj
= SWIG_Py_Void();
28774 SWIGINTERN PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28775 PyObject
*resultobj
= 0;
28776 wxEffects
*arg1
= (wxEffects
*) 0 ;
28777 wxColour
*arg2
= 0 ;
28781 PyObject
* obj0
= 0 ;
28782 PyObject
* obj1
= 0 ;
28783 char * kwnames
[] = {
28784 (char *) "self",(char *) "c", NULL
28787 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28788 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
28789 if (!SWIG_IsOK(res1
)) {
28790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetMediumShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
28792 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
28795 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
28798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28799 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
28800 wxPyEndAllowThreads(__tstate
);
28801 if (PyErr_Occurred()) SWIG_fail
;
28803 resultobj
= SWIG_Py_Void();
28810 SWIGINTERN PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28811 PyObject
*resultobj
= 0;
28812 wxEffects
*arg1
= (wxEffects
*) 0 ;
28813 wxColour
*arg2
= 0 ;
28817 PyObject
* obj0
= 0 ;
28818 PyObject
* obj1
= 0 ;
28819 char * kwnames
[] = {
28820 (char *) "self",(char *) "c", NULL
28823 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28824 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
28825 if (!SWIG_IsOK(res1
)) {
28826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetDarkShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
28828 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
28831 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
28834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28835 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
28836 wxPyEndAllowThreads(__tstate
);
28837 if (PyErr_Occurred()) SWIG_fail
;
28839 resultobj
= SWIG_Py_Void();
28846 SWIGINTERN PyObject
*_wrap_Effects_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28847 PyObject
*resultobj
= 0;
28848 wxEffects
*arg1
= (wxEffects
*) 0 ;
28849 wxColour
*arg2
= 0 ;
28850 wxColour
*arg3
= 0 ;
28851 wxColour
*arg4
= 0 ;
28852 wxColour
*arg5
= 0 ;
28853 wxColour
*arg6
= 0 ;
28861 PyObject
* obj0
= 0 ;
28862 PyObject
* obj1
= 0 ;
28863 PyObject
* obj2
= 0 ;
28864 PyObject
* obj3
= 0 ;
28865 PyObject
* obj4
= 0 ;
28866 PyObject
* obj5
= 0 ;
28867 char * kwnames
[] = {
28868 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
28871 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
28872 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
28873 if (!SWIG_IsOK(res1
)) {
28874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_Set" "', expected argument " "1"" of type '" "wxEffects *""'");
28876 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
28879 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
28883 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
28887 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
28891 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
28895 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
28898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28899 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
28900 wxPyEndAllowThreads(__tstate
);
28901 if (PyErr_Occurred()) SWIG_fail
;
28903 resultobj
= SWIG_Py_Void();
28910 SWIGINTERN PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28911 PyObject
*resultobj
= 0;
28912 wxEffects
*arg1
= (wxEffects
*) 0 ;
28915 int arg4
= (int) 1 ;
28923 PyObject
* obj0
= 0 ;
28924 PyObject
* obj1
= 0 ;
28925 PyObject
* obj2
= 0 ;
28926 PyObject
* obj3
= 0 ;
28927 char * kwnames
[] = {
28928 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
28931 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
28932 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
28933 if (!SWIG_IsOK(res1
)) {
28934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "1"" of type '" "wxEffects *""'");
28936 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
28937 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
28938 if (!SWIG_IsOK(res2
)) {
28939 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
28942 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
28944 arg2
= reinterpret_cast< wxDC
* >(argp2
);
28947 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
28950 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
28951 if (!SWIG_IsOK(ecode4
)) {
28952 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "4"" of type '" "int""'");
28954 arg4
= static_cast< int >(val4
);
28957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28958 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
28959 wxPyEndAllowThreads(__tstate
);
28960 if (PyErr_Occurred()) SWIG_fail
;
28962 resultobj
= SWIG_Py_Void();
28969 SWIGINTERN PyObject
*_wrap_Effects_TileBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28970 PyObject
*resultobj
= 0;
28971 wxEffects
*arg1
= (wxEffects
*) 0 ;
28974 wxBitmap
*arg4
= 0 ;
28983 PyObject
* obj0
= 0 ;
28984 PyObject
* obj1
= 0 ;
28985 PyObject
* obj2
= 0 ;
28986 PyObject
* obj3
= 0 ;
28987 char * kwnames
[] = {
28988 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
28991 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
28992 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
28993 if (!SWIG_IsOK(res1
)) {
28994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_TileBitmap" "', expected argument " "1"" of type '" "wxEffects *""'");
28996 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
28999 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
29001 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
29002 if (!SWIG_IsOK(res3
)) {
29003 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
29006 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
29008 arg3
= reinterpret_cast< wxDC
* >(argp3
);
29009 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 );
29010 if (!SWIG_IsOK(res4
)) {
29011 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
29014 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
29016 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
29018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29019 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
29020 wxPyEndAllowThreads(__tstate
);
29021 if (PyErr_Occurred()) SWIG_fail
;
29024 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29032 SWIGINTERN PyObject
*Effects_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29034 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29035 SWIG_TypeNewClientData(SWIGTYPE_p_wxEffects
, SWIG_NewClientData(obj
));
29036 return SWIG_Py_Void();
29039 SWIGINTERN PyObject
*Effects_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29040 return SWIG_Python_InitShadowInstance(args
);
29043 SWIGINTERN PyObject
*_wrap_new_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29044 PyObject
*resultobj
= 0;
29048 wxSplitterRenderParams
*result
= 0 ;
29055 PyObject
* obj0
= 0 ;
29056 PyObject
* obj1
= 0 ;
29057 PyObject
* obj2
= 0 ;
29058 char * kwnames
[] = {
29059 (char *) "widthSash_",(char *) "border_",(char *) "isSens_", NULL
29062 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_SplitterRenderParams",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29063 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
29064 if (!SWIG_IsOK(ecode1
)) {
29065 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterRenderParams" "', expected argument " "1"" of type '" "int""'");
29067 arg1
= static_cast< int >(val1
);
29068 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29069 if (!SWIG_IsOK(ecode2
)) {
29070 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterRenderParams" "', expected argument " "2"" of type '" "int""'");
29072 arg2
= static_cast< int >(val2
);
29073 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
29074 if (!SWIG_IsOK(ecode3
)) {
29075 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplitterRenderParams" "', expected argument " "3"" of type '" "bool""'");
29077 arg3
= static_cast< bool >(val3
);
29079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29080 result
= (wxSplitterRenderParams
*)new wxSplitterRenderParams(arg1
,arg2
,arg3
);
29081 wxPyEndAllowThreads(__tstate
);
29082 if (PyErr_Occurred()) SWIG_fail
;
29084 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_NEW
| 0 );
29091 SWIGINTERN PyObject
*_wrap_delete_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29092 PyObject
*resultobj
= 0;
29093 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
29096 PyObject
*swig_obj
[1] ;
29098 if (!args
) SWIG_fail
;
29099 swig_obj
[0] = args
;
29100 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_DISOWN
| 0 );
29101 if (!SWIG_IsOK(res1
)) {
29102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_SplitterRenderParams" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
29104 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
29106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29109 wxPyEndAllowThreads(__tstate
);
29110 if (PyErr_Occurred()) SWIG_fail
;
29112 resultobj
= SWIG_Py_Void();
29119 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_widthSash_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29120 PyObject
*resultobj
= 0;
29121 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
29125 PyObject
*swig_obj
[1] ;
29127 if (!args
) SWIG_fail
;
29128 swig_obj
[0] = args
;
29129 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
29130 if (!SWIG_IsOK(res1
)) {
29131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_widthSash_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
29133 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
29134 result
= (int)(int) ((arg1
)->widthSash
);
29135 resultobj
= SWIG_From_int(static_cast< int >(result
));
29142 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_border_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29143 PyObject
*resultobj
= 0;
29144 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
29148 PyObject
*swig_obj
[1] ;
29150 if (!args
) SWIG_fail
;
29151 swig_obj
[0] = args
;
29152 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
29153 if (!SWIG_IsOK(res1
)) {
29154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_border_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
29156 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
29157 result
= (int)(int) ((arg1
)->border
);
29158 resultobj
= SWIG_From_int(static_cast< int >(result
));
29165 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_isHotSensitive_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29166 PyObject
*resultobj
= 0;
29167 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
29171 PyObject
*swig_obj
[1] ;
29173 if (!args
) SWIG_fail
;
29174 swig_obj
[0] = args
;
29175 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
29176 if (!SWIG_IsOK(res1
)) {
29177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_isHotSensitive_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
29179 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
29180 result
= (bool)(bool) ((arg1
)->isHotSensitive
);
29181 resultobj
= SWIG_From_bool(static_cast< bool >(result
));
29188 SWIGINTERN PyObject
*SplitterRenderParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29190 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29191 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterRenderParams
, SWIG_NewClientData(obj
));
29192 return SWIG_Py_Void();
29195 SWIGINTERN PyObject
*SplitterRenderParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29196 return SWIG_Python_InitShadowInstance(args
);
29199 SWIGINTERN PyObject
*_wrap_new_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29200 PyObject
*resultobj
= 0;
29201 wxHeaderButtonParams
*result
= 0 ;
29203 if (!SWIG_Python_UnpackTuple(args
,"new_HeaderButtonParams",0,0,0)) SWIG_fail
;
29205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29206 result
= (wxHeaderButtonParams
*)new wxHeaderButtonParams();
29207 wxPyEndAllowThreads(__tstate
);
29208 if (PyErr_Occurred()) SWIG_fail
;
29210 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_NEW
| 0 );
29217 SWIGINTERN PyObject
*_wrap_delete_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29218 PyObject
*resultobj
= 0;
29219 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29222 PyObject
*swig_obj
[1] ;
29224 if (!args
) SWIG_fail
;
29225 swig_obj
[0] = args
;
29226 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_DISOWN
| 0 );
29227 if (!SWIG_IsOK(res1
)) {
29228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HeaderButtonParams" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29230 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29235 wxPyEndAllowThreads(__tstate
);
29236 if (PyErr_Occurred()) SWIG_fail
;
29238 resultobj
= SWIG_Py_Void();
29245 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29246 PyObject
*resultobj
= 0;
29247 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29248 wxColour
*arg2
= (wxColour
*) 0 ;
29252 PyObject
*swig_obj
[2] ;
29254 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_arrowColour_set",2,2,swig_obj
)) SWIG_fail
;
29255 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29256 if (!SWIG_IsOK(res1
)) {
29257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29259 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29262 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
29264 if (arg1
) (arg1
)->m_arrowColour
= *arg2
;
29266 resultobj
= SWIG_Py_Void();
29273 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29274 PyObject
*resultobj
= 0;
29275 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29276 wxColour
*result
= 0 ;
29279 PyObject
*swig_obj
[1] ;
29281 if (!args
) SWIG_fail
;
29282 swig_obj
[0] = args
;
29283 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29284 if (!SWIG_IsOK(res1
)) {
29285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29287 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29288 result
= (wxColour
*)& ((arg1
)->m_arrowColour
);
29289 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
29296 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29297 PyObject
*resultobj
= 0;
29298 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29299 wxColour
*arg2
= (wxColour
*) 0 ;
29303 PyObject
*swig_obj
[2] ;
29305 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_selectionColour_set",2,2,swig_obj
)) SWIG_fail
;
29306 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29307 if (!SWIG_IsOK(res1
)) {
29308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29310 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29313 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
29315 if (arg1
) (arg1
)->m_selectionColour
= *arg2
;
29317 resultobj
= SWIG_Py_Void();
29324 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29325 PyObject
*resultobj
= 0;
29326 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29327 wxColour
*result
= 0 ;
29330 PyObject
*swig_obj
[1] ;
29332 if (!args
) SWIG_fail
;
29333 swig_obj
[0] = args
;
29334 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29335 if (!SWIG_IsOK(res1
)) {
29336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29338 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29339 result
= (wxColour
*)& ((arg1
)->m_selectionColour
);
29340 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
29347 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29348 PyObject
*resultobj
= 0;
29349 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29350 wxString
*arg2
= (wxString
*) 0 ;
29353 bool temp2
= false ;
29354 PyObject
*swig_obj
[2] ;
29356 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelText_set",2,2,swig_obj
)) SWIG_fail
;
29357 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29358 if (!SWIG_IsOK(res1
)) {
29359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29361 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29363 arg2
= wxString_in_helper(swig_obj
[1]);
29364 if (arg2
== NULL
) SWIG_fail
;
29367 if (arg1
) (arg1
)->m_labelText
= *arg2
;
29369 resultobj
= SWIG_Py_Void();
29384 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29385 PyObject
*resultobj
= 0;
29386 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29387 wxString
*result
= 0 ;
29390 PyObject
*swig_obj
[1] ;
29392 if (!args
) SWIG_fail
;
29393 swig_obj
[0] = args
;
29394 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29395 if (!SWIG_IsOK(res1
)) {
29396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29398 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29399 result
= (wxString
*)& ((arg1
)->m_labelText
);
29402 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
29404 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
29413 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29414 PyObject
*resultobj
= 0;
29415 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29416 wxFont
*arg2
= (wxFont
*) 0 ;
29421 PyObject
*swig_obj
[2] ;
29423 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelFont_set",2,2,swig_obj
)) SWIG_fail
;
29424 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29425 if (!SWIG_IsOK(res1
)) {
29426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29428 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29429 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
29430 if (!SWIG_IsOK(res2
)) {
29431 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "2"" of type '" "wxFont *""'");
29433 arg2
= reinterpret_cast< wxFont
* >(argp2
);
29434 if (arg1
) (arg1
)->m_labelFont
= *arg2
;
29436 resultobj
= SWIG_Py_Void();
29443 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29444 PyObject
*resultobj
= 0;
29445 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29446 wxFont
*result
= 0 ;
29449 PyObject
*swig_obj
[1] ;
29451 if (!args
) SWIG_fail
;
29452 swig_obj
[0] = args
;
29453 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29454 if (!SWIG_IsOK(res1
)) {
29455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29457 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29458 result
= (wxFont
*)& ((arg1
)->m_labelFont
);
29459 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
29466 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29467 PyObject
*resultobj
= 0;
29468 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29469 wxColour
*arg2
= (wxColour
*) 0 ;
29473 PyObject
*swig_obj
[2] ;
29475 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelColour_set",2,2,swig_obj
)) SWIG_fail
;
29476 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29477 if (!SWIG_IsOK(res1
)) {
29478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29480 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29483 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
29485 if (arg1
) (arg1
)->m_labelColour
= *arg2
;
29487 resultobj
= SWIG_Py_Void();
29494 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29495 PyObject
*resultobj
= 0;
29496 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29497 wxColour
*result
= 0 ;
29500 PyObject
*swig_obj
[1] ;
29502 if (!args
) SWIG_fail
;
29503 swig_obj
[0] = args
;
29504 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29505 if (!SWIG_IsOK(res1
)) {
29506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29508 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29509 result
= (wxColour
*)& ((arg1
)->m_labelColour
);
29510 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
29517 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29518 PyObject
*resultobj
= 0;
29519 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29520 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
29525 PyObject
*swig_obj
[2] ;
29527 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelBitmap_set",2,2,swig_obj
)) SWIG_fail
;
29528 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29529 if (!SWIG_IsOK(res1
)) {
29530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29532 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29533 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
29534 if (!SWIG_IsOK(res2
)) {
29535 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "2"" of type '" "wxBitmap *""'");
29537 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
29538 if (arg1
) (arg1
)->m_labelBitmap
= *arg2
;
29540 resultobj
= SWIG_Py_Void();
29547 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29548 PyObject
*resultobj
= 0;
29549 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29550 wxBitmap
*result
= 0 ;
29553 PyObject
*swig_obj
[1] ;
29555 if (!args
) SWIG_fail
;
29556 swig_obj
[0] = args
;
29557 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29558 if (!SWIG_IsOK(res1
)) {
29559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29561 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29562 result
= (wxBitmap
*)& ((arg1
)->m_labelBitmap
);
29563 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
29570 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29571 PyObject
*resultobj
= 0;
29572 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29578 PyObject
*swig_obj
[2] ;
29580 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelAlignment_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_labelAlignment_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29585 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29586 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
29587 if (!SWIG_IsOK(ecode2
)) {
29588 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "2"" of type '" "int""'");
29590 arg2
= static_cast< int >(val2
);
29591 if (arg1
) (arg1
)->m_labelAlignment
= arg2
;
29593 resultobj
= SWIG_Py_Void();
29600 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29601 PyObject
*resultobj
= 0;
29602 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29606 PyObject
*swig_obj
[1] ;
29608 if (!args
) SWIG_fail
;
29609 swig_obj
[0] = args
;
29610 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29611 if (!SWIG_IsOK(res1
)) {
29612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29614 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29615 result
= (int) ((arg1
)->m_labelAlignment
);
29616 resultobj
= SWIG_From_int(static_cast< int >(result
));
29623 SWIGINTERN PyObject
*HeaderButtonParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29625 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29626 SWIG_TypeNewClientData(SWIGTYPE_p_wxHeaderButtonParams
, SWIG_NewClientData(obj
));
29627 return SWIG_Py_Void();
29630 SWIGINTERN PyObject
*HeaderButtonParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29631 return SWIG_Python_InitShadowInstance(args
);
29634 SWIGINTERN PyObject
*_wrap_new_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29635 PyObject
*resultobj
= 0;
29638 wxRendererVersion
*result
= 0 ;
29643 PyObject
* obj0
= 0 ;
29644 PyObject
* obj1
= 0 ;
29645 char * kwnames
[] = {
29646 (char *) "version_",(char *) "age_", NULL
29649 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RendererVersion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29650 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
29651 if (!SWIG_IsOK(ecode1
)) {
29652 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_RendererVersion" "', expected argument " "1"" of type '" "int""'");
29654 arg1
= static_cast< int >(val1
);
29655 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29656 if (!SWIG_IsOK(ecode2
)) {
29657 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RendererVersion" "', expected argument " "2"" of type '" "int""'");
29659 arg2
= static_cast< int >(val2
);
29661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29662 result
= (wxRendererVersion
*)new wxRendererVersion(arg1
,arg2
);
29663 wxPyEndAllowThreads(__tstate
);
29664 if (PyErr_Occurred()) SWIG_fail
;
29666 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_NEW
| 0 );
29673 SWIGINTERN PyObject
*_wrap_delete_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29674 PyObject
*resultobj
= 0;
29675 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
29678 PyObject
*swig_obj
[1] ;
29680 if (!args
) SWIG_fail
;
29681 swig_obj
[0] = args
;
29682 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_DISOWN
| 0 );
29683 if (!SWIG_IsOK(res1
)) {
29684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RendererVersion" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
29686 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
29688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29691 wxPyEndAllowThreads(__tstate
);
29692 if (PyErr_Occurred()) SWIG_fail
;
29694 resultobj
= SWIG_Py_Void();
29701 SWIGINTERN PyObject
*_wrap_RendererVersion_IsCompatible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29702 PyObject
*resultobj
= 0;
29703 wxRendererVersion
*arg1
= 0 ;
29707 PyObject
* obj0
= 0 ;
29708 char * kwnames
[] = {
29709 (char *) "ver", NULL
29712 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererVersion_IsCompatible",kwnames
,&obj0
)) SWIG_fail
;
29713 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRendererVersion
, 0 | 0);
29714 if (!SWIG_IsOK(res1
)) {
29715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
29718 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
29720 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
29722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29723 result
= (bool)wxRendererVersion::IsCompatible((wxRendererVersion
const &)*arg1
);
29724 wxPyEndAllowThreads(__tstate
);
29725 if (PyErr_Occurred()) SWIG_fail
;
29728 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29736 SWIGINTERN PyObject
*_wrap_RendererVersion_version_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29737 PyObject
*resultobj
= 0;
29738 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
29742 PyObject
*swig_obj
[1] ;
29744 if (!args
) SWIG_fail
;
29745 swig_obj
[0] = args
;
29746 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
29747 if (!SWIG_IsOK(res1
)) {
29748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_version_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
29750 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
29751 result
= (int)(int) ((arg1
)->version
);
29752 resultobj
= SWIG_From_int(static_cast< int >(result
));
29759 SWIGINTERN PyObject
*_wrap_RendererVersion_age_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29760 PyObject
*resultobj
= 0;
29761 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
29765 PyObject
*swig_obj
[1] ;
29767 if (!args
) SWIG_fail
;
29768 swig_obj
[0] = args
;
29769 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
29770 if (!SWIG_IsOK(res1
)) {
29771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_age_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
29773 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
29774 result
= (int)(int) ((arg1
)->age
);
29775 resultobj
= SWIG_From_int(static_cast< int >(result
));
29782 SWIGINTERN PyObject
*RendererVersion_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29784 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29785 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererVersion
, SWIG_NewClientData(obj
));
29786 return SWIG_Py_Void();
29789 SWIGINTERN PyObject
*RendererVersion_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29790 return SWIG_Python_InitShadowInstance(args
);
29793 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29794 PyObject
*resultobj
= 0;
29795 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
29796 wxWindow
*arg2
= (wxWindow
*) 0 ;
29799 int arg5
= (int) 0 ;
29800 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
29801 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
29815 PyObject
* obj0
= 0 ;
29816 PyObject
* obj1
= 0 ;
29817 PyObject
* obj2
= 0 ;
29818 PyObject
* obj3
= 0 ;
29819 PyObject
* obj4
= 0 ;
29820 PyObject
* obj5
= 0 ;
29821 PyObject
* obj6
= 0 ;
29822 char * kwnames
[] = {
29823 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
29826 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
29827 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
29828 if (!SWIG_IsOK(res1
)) {
29829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
29831 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
29832 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29833 if (!SWIG_IsOK(res2
)) {
29834 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "2"" of type '" "wxWindow *""'");
29836 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
29837 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
29838 if (!SWIG_IsOK(res3
)) {
29839 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
29842 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
29844 arg3
= reinterpret_cast< wxDC
* >(argp3
);
29847 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
29850 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
29851 if (!SWIG_IsOK(ecode5
)) {
29852 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "5"" of type '" "int""'");
29854 arg5
= static_cast< int >(val5
);
29857 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
29858 if (!SWIG_IsOK(ecode6
)) {
29859 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
29861 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
29864 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29865 if (!SWIG_IsOK(res7
)) {
29866 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
29868 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
29871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29872 (arg1
)->DrawHeaderButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
29873 wxPyEndAllowThreads(__tstate
);
29874 if (PyErr_Occurred()) SWIG_fail
;
29876 resultobj
= SWIG_Py_Void();
29883 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButtonContents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29884 PyObject
*resultobj
= 0;
29885 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
29886 wxWindow
*arg2
= (wxWindow
*) 0 ;
29889 int arg5
= (int) 0 ;
29890 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
29891 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
29905 PyObject
* obj0
= 0 ;
29906 PyObject
* obj1
= 0 ;
29907 PyObject
* obj2
= 0 ;
29908 PyObject
* obj3
= 0 ;
29909 PyObject
* obj4
= 0 ;
29910 PyObject
* obj5
= 0 ;
29911 PyObject
* obj6
= 0 ;
29912 char * kwnames
[] = {
29913 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
29916 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButtonContents",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
29917 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
29918 if (!SWIG_IsOK(res1
)) {
29919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "1"" of type '" "wxRendererNative *""'");
29921 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
29922 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29923 if (!SWIG_IsOK(res2
)) {
29924 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "2"" of type '" "wxWindow *""'");
29926 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
29927 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
29928 if (!SWIG_IsOK(res3
)) {
29929 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
29932 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
29934 arg3
= reinterpret_cast< wxDC
* >(argp3
);
29937 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
29940 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
29941 if (!SWIG_IsOK(ecode5
)) {
29942 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "5"" of type '" "int""'");
29944 arg5
= static_cast< int >(val5
);
29947 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
29948 if (!SWIG_IsOK(ecode6
)) {
29949 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
29951 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
29954 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29955 if (!SWIG_IsOK(res7
)) {
29956 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
29958 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
29961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29962 (arg1
)->DrawHeaderButtonContents(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
29963 wxPyEndAllowThreads(__tstate
);
29964 if (PyErr_Occurred()) SWIG_fail
;
29966 resultobj
= SWIG_Py_Void();
29973 SWIGINTERN PyObject
*_wrap_RendererNative_GetHeaderButtonHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29974 PyObject
*resultobj
= 0;
29975 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
29976 wxWindow
*arg2
= (wxWindow
*) 0 ;
29982 PyObject
* obj0
= 0 ;
29983 PyObject
* obj1
= 0 ;
29984 char * kwnames
[] = {
29985 (char *) "self",(char *) "win", NULL
29988 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetHeaderButtonHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29989 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
29990 if (!SWIG_IsOK(res1
)) {
29991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "1"" of type '" "wxRendererNative *""'");
29993 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
29994 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29995 if (!SWIG_IsOK(res2
)) {
29996 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "2"" of type '" "wxWindow *""'");
29998 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30001 result
= (int)(arg1
)->GetHeaderButtonHeight(arg2
);
30002 wxPyEndAllowThreads(__tstate
);
30003 if (PyErr_Occurred()) SWIG_fail
;
30005 resultobj
= SWIG_From_int(static_cast< int >(result
));
30012 SWIGINTERN PyObject
*_wrap_RendererNative_DrawTreeItemButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30013 PyObject
*resultobj
= 0;
30014 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30015 wxWindow
*arg2
= (wxWindow
*) 0 ;
30018 int arg5
= (int) 0 ;
30028 PyObject
* obj0
= 0 ;
30029 PyObject
* obj1
= 0 ;
30030 PyObject
* obj2
= 0 ;
30031 PyObject
* obj3
= 0 ;
30032 PyObject
* obj4
= 0 ;
30033 char * kwnames
[] = {
30034 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
30037 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawTreeItemButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30038 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30039 if (!SWIG_IsOK(res1
)) {
30040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30042 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30043 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30044 if (!SWIG_IsOK(res2
)) {
30045 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "2"" of type '" "wxWindow *""'");
30047 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30048 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30049 if (!SWIG_IsOK(res3
)) {
30050 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
30053 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
30055 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30058 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
30061 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30062 if (!SWIG_IsOK(ecode5
)) {
30063 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "5"" of type '" "int""'");
30065 arg5
= static_cast< int >(val5
);
30068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30069 (arg1
)->DrawTreeItemButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
30070 wxPyEndAllowThreads(__tstate
);
30071 if (PyErr_Occurred()) SWIG_fail
;
30073 resultobj
= SWIG_Py_Void();
30080 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30081 PyObject
*resultobj
= 0;
30082 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30083 wxWindow
*arg2
= (wxWindow
*) 0 ;
30086 int arg5
= (int) 0 ;
30096 PyObject
* obj0
= 0 ;
30097 PyObject
* obj1
= 0 ;
30098 PyObject
* obj2
= 0 ;
30099 PyObject
* obj3
= 0 ;
30100 PyObject
* obj4
= 0 ;
30101 char * kwnames
[] = {
30102 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
30105 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawSplitterBorder",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30106 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30107 if (!SWIG_IsOK(res1
)) {
30108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30110 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30111 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30112 if (!SWIG_IsOK(res2
)) {
30113 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "2"" of type '" "wxWindow *""'");
30115 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30116 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30117 if (!SWIG_IsOK(res3
)) {
30118 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
30121 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
30123 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30126 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
30129 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30130 if (!SWIG_IsOK(ecode5
)) {
30131 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "5"" of type '" "int""'");
30133 arg5
= static_cast< int >(val5
);
30136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30137 (arg1
)->DrawSplitterBorder(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
30138 wxPyEndAllowThreads(__tstate
);
30139 if (PyErr_Occurred()) SWIG_fail
;
30141 resultobj
= SWIG_Py_Void();
30148 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterSash(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30149 PyObject
*resultobj
= 0;
30150 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30151 wxWindow
*arg2
= (wxWindow
*) 0 ;
30155 wxOrientation arg6
;
30156 int arg7
= (int) 0 ;
30170 PyObject
* obj0
= 0 ;
30171 PyObject
* obj1
= 0 ;
30172 PyObject
* obj2
= 0 ;
30173 PyObject
* obj3
= 0 ;
30174 PyObject
* obj4
= 0 ;
30175 PyObject
* obj5
= 0 ;
30176 PyObject
* obj6
= 0 ;
30177 char * kwnames
[] = {
30178 (char *) "self",(char *) "win",(char *) "dc",(char *) "size",(char *) "position",(char *) "orient",(char *) "flags", NULL
30181 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:RendererNative_DrawSplitterSash",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30182 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30183 if (!SWIG_IsOK(res1
)) {
30184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30186 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30187 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30188 if (!SWIG_IsOK(res2
)) {
30189 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "2"" of type '" "wxWindow *""'");
30191 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30192 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30193 if (!SWIG_IsOK(res3
)) {
30194 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
30197 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
30199 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30202 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
30204 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30205 if (!SWIG_IsOK(ecode5
)) {
30206 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "5"" of type '" "int""'");
30208 arg5
= static_cast< int >(val5
);
30209 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
30210 if (!SWIG_IsOK(ecode6
)) {
30211 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "6"" of type '" "wxOrientation""'");
30213 arg6
= static_cast< wxOrientation
>(val6
);
30215 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
30216 if (!SWIG_IsOK(ecode7
)) {
30217 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "7"" of type '" "int""'");
30219 arg7
= static_cast< int >(val7
);
30222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30223 (arg1
)->DrawSplitterSash(arg2
,*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
);
30224 wxPyEndAllowThreads(__tstate
);
30225 if (PyErr_Occurred()) SWIG_fail
;
30227 resultobj
= SWIG_Py_Void();
30234 SWIGINTERN PyObject
*_wrap_RendererNative_DrawComboBoxDropButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30235 PyObject
*resultobj
= 0;
30236 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30237 wxWindow
*arg2
= (wxWindow
*) 0 ;
30240 int arg5
= (int) 0 ;
30250 PyObject
* obj0
= 0 ;
30251 PyObject
* obj1
= 0 ;
30252 PyObject
* obj2
= 0 ;
30253 PyObject
* obj3
= 0 ;
30254 PyObject
* obj4
= 0 ;
30255 char * kwnames
[] = {
30256 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
30259 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawComboBoxDropButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30260 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30261 if (!SWIG_IsOK(res1
)) {
30262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30264 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30265 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30266 if (!SWIG_IsOK(res2
)) {
30267 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "2"" of type '" "wxWindow *""'");
30269 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30270 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30271 if (!SWIG_IsOK(res3
)) {
30272 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
30275 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
30277 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30280 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
30283 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30284 if (!SWIG_IsOK(ecode5
)) {
30285 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "5"" of type '" "int""'");
30287 arg5
= static_cast< int >(val5
);
30290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30291 (arg1
)->DrawComboBoxDropButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
30292 wxPyEndAllowThreads(__tstate
);
30293 if (PyErr_Occurred()) SWIG_fail
;
30295 resultobj
= SWIG_Py_Void();
30302 SWIGINTERN PyObject
*_wrap_RendererNative_DrawDropArrow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30303 PyObject
*resultobj
= 0;
30304 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30305 wxWindow
*arg2
= (wxWindow
*) 0 ;
30308 int arg5
= (int) 0 ;
30318 PyObject
* obj0
= 0 ;
30319 PyObject
* obj1
= 0 ;
30320 PyObject
* obj2
= 0 ;
30321 PyObject
* obj3
= 0 ;
30322 PyObject
* obj4
= 0 ;
30323 char * kwnames
[] = {
30324 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
30327 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawDropArrow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30328 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30329 if (!SWIG_IsOK(res1
)) {
30330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30332 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30333 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30334 if (!SWIG_IsOK(res2
)) {
30335 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "2"" of type '" "wxWindow *""'");
30337 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30338 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30339 if (!SWIG_IsOK(res3
)) {
30340 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
30343 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
30345 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30348 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
30351 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30352 if (!SWIG_IsOK(ecode5
)) {
30353 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "5"" of type '" "int""'");
30355 arg5
= static_cast< int >(val5
);
30358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30359 (arg1
)->DrawDropArrow(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
30360 wxPyEndAllowThreads(__tstate
);
30361 if (PyErr_Occurred()) SWIG_fail
;
30363 resultobj
= SWIG_Py_Void();
30370 SWIGINTERN PyObject
*_wrap_RendererNative_DrawCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30371 PyObject
*resultobj
= 0;
30372 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30373 wxWindow
*arg2
= (wxWindow
*) 0 ;
30376 int arg5
= (int) 0 ;
30386 PyObject
* obj0
= 0 ;
30387 PyObject
* obj1
= 0 ;
30388 PyObject
* obj2
= 0 ;
30389 PyObject
* obj3
= 0 ;
30390 PyObject
* obj4
= 0 ;
30391 char * kwnames
[] = {
30392 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
30395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawCheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30396 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30397 if (!SWIG_IsOK(res1
)) {
30398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30400 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30401 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30402 if (!SWIG_IsOK(res2
)) {
30403 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "2"" of type '" "wxWindow *""'");
30405 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30406 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30407 if (!SWIG_IsOK(res3
)) {
30408 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
30411 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
30413 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30416 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
30419 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30420 if (!SWIG_IsOK(ecode5
)) {
30421 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "5"" of type '" "int""'");
30423 arg5
= static_cast< int >(val5
);
30426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30427 (arg1
)->DrawCheckBox(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
30428 wxPyEndAllowThreads(__tstate
);
30429 if (PyErr_Occurred()) SWIG_fail
;
30431 resultobj
= SWIG_Py_Void();
30438 SWIGINTERN PyObject
*_wrap_RendererNative_DrawPushButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30439 PyObject
*resultobj
= 0;
30440 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30441 wxWindow
*arg2
= (wxWindow
*) 0 ;
30444 int arg5
= (int) 0 ;
30454 PyObject
* obj0
= 0 ;
30455 PyObject
* obj1
= 0 ;
30456 PyObject
* obj2
= 0 ;
30457 PyObject
* obj3
= 0 ;
30458 PyObject
* obj4
= 0 ;
30459 char * kwnames
[] = {
30460 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
30463 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawPushButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30464 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30465 if (!SWIG_IsOK(res1
)) {
30466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30468 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30469 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30470 if (!SWIG_IsOK(res2
)) {
30471 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "2"" of type '" "wxWindow *""'");
30473 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30474 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30475 if (!SWIG_IsOK(res3
)) {
30476 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
30479 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
30481 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30484 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
30487 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30488 if (!SWIG_IsOK(ecode5
)) {
30489 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "5"" of type '" "int""'");
30491 arg5
= static_cast< int >(val5
);
30494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30495 (arg1
)->DrawPushButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
30496 wxPyEndAllowThreads(__tstate
);
30497 if (PyErr_Occurred()) SWIG_fail
;
30499 resultobj
= SWIG_Py_Void();
30506 SWIGINTERN PyObject
*_wrap_RendererNative_DrawItemSelectionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30507 PyObject
*resultobj
= 0;
30508 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30509 wxWindow
*arg2
= (wxWindow
*) 0 ;
30512 int arg5
= (int) 0 ;
30522 PyObject
* obj0
= 0 ;
30523 PyObject
* obj1
= 0 ;
30524 PyObject
* obj2
= 0 ;
30525 PyObject
* obj3
= 0 ;
30526 PyObject
* obj4
= 0 ;
30527 char * kwnames
[] = {
30528 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
30531 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawItemSelectionRect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30532 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30533 if (!SWIG_IsOK(res1
)) {
30534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30536 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30537 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30538 if (!SWIG_IsOK(res2
)) {
30539 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "2"" of type '" "wxWindow *""'");
30541 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30542 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30543 if (!SWIG_IsOK(res3
)) {
30544 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
30547 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
30549 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30552 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
30555 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30556 if (!SWIG_IsOK(ecode5
)) {
30557 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "5"" of type '" "int""'");
30559 arg5
= static_cast< int >(val5
);
30562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30563 (arg1
)->DrawItemSelectionRect(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
30564 wxPyEndAllowThreads(__tstate
);
30565 if (PyErr_Occurred()) SWIG_fail
;
30567 resultobj
= SWIG_Py_Void();
30574 SWIGINTERN PyObject
*_wrap_RendererNative_GetSplitterParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30575 PyObject
*resultobj
= 0;
30576 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30577 wxWindow
*arg2
= (wxWindow
*) 0 ;
30578 SwigValueWrapper
<wxSplitterRenderParams
> result
;
30583 PyObject
* obj0
= 0 ;
30584 PyObject
* obj1
= 0 ;
30585 char * kwnames
[] = {
30586 (char *) "self",(char *) "win", NULL
30589 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetSplitterParams",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30590 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30591 if (!SWIG_IsOK(res1
)) {
30592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30594 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30595 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30596 if (!SWIG_IsOK(res2
)) {
30597 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "2"" of type '" "wxWindow const *""'");
30599 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30602 result
= (arg1
)->GetSplitterParams((wxWindow
const *)arg2
);
30603 wxPyEndAllowThreads(__tstate
);
30604 if (PyErr_Occurred()) SWIG_fail
;
30606 resultobj
= SWIG_NewPointerObj((new wxSplitterRenderParams(static_cast< const wxSplitterRenderParams
& >(result
))), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_OWN
| 0 );
30613 SWIGINTERN PyObject
*_wrap_RendererNative_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30614 PyObject
*resultobj
= 0;
30615 wxRendererNative
*result
= 0 ;
30617 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_Get",0,0,0)) SWIG_fail
;
30619 if (!wxPyCheckForApp()) SWIG_fail
;
30620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30622 wxRendererNative
&_result_ref
= wxRendererNative::Get();
30623 result
= (wxRendererNative
*) &_result_ref
;
30625 wxPyEndAllowThreads(__tstate
);
30626 if (PyErr_Occurred()) SWIG_fail
;
30628 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30635 SWIGINTERN PyObject
*_wrap_RendererNative_GetGeneric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30636 PyObject
*resultobj
= 0;
30637 wxRendererNative
*result
= 0 ;
30639 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetGeneric",0,0,0)) SWIG_fail
;
30641 if (!wxPyCheckForApp()) SWIG_fail
;
30642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30644 wxRendererNative
&_result_ref
= wxRendererNative::GetGeneric();
30645 result
= (wxRendererNative
*) &_result_ref
;
30647 wxPyEndAllowThreads(__tstate
);
30648 if (PyErr_Occurred()) SWIG_fail
;
30650 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30657 SWIGINTERN PyObject
*_wrap_RendererNative_GetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30658 PyObject
*resultobj
= 0;
30659 wxRendererNative
*result
= 0 ;
30661 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetDefault",0,0,0)) SWIG_fail
;
30663 if (!wxPyCheckForApp()) SWIG_fail
;
30664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30666 wxRendererNative
&_result_ref
= wxRendererNative::GetDefault();
30667 result
= (wxRendererNative
*) &_result_ref
;
30669 wxPyEndAllowThreads(__tstate
);
30670 if (PyErr_Occurred()) SWIG_fail
;
30672 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30679 SWIGINTERN PyObject
*_wrap_RendererNative_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30680 PyObject
*resultobj
= 0;
30681 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30682 wxRendererNative
*result
= 0 ;
30685 PyObject
* obj0
= 0 ;
30686 char * kwnames
[] = {
30687 (char *) "renderer", NULL
30690 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererNative_Set",kwnames
,&obj0
)) SWIG_fail
;
30691 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30692 if (!SWIG_IsOK(res1
)) {
30693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_Set" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30695 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30697 if (!wxPyCheckForApp()) SWIG_fail
;
30698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30699 result
= (wxRendererNative
*)wxRendererNative::Set(arg1
);
30700 wxPyEndAllowThreads(__tstate
);
30701 if (PyErr_Occurred()) SWIG_fail
;
30703 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30710 SWIGINTERN PyObject
*_wrap_RendererNative_GetVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30711 PyObject
*resultobj
= 0;
30712 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30713 SwigValueWrapper
<wxRendererVersion
> result
;
30716 PyObject
*swig_obj
[1] ;
30718 if (!args
) SWIG_fail
;
30719 swig_obj
[0] = args
;
30720 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30721 if (!SWIG_IsOK(res1
)) {
30722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetVersion" "', expected argument " "1"" of type '" "wxRendererNative const *""'");
30724 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30727 result
= ((wxRendererNative
const *)arg1
)->GetVersion();
30728 wxPyEndAllowThreads(__tstate
);
30729 if (PyErr_Occurred()) SWIG_fail
;
30731 resultobj
= SWIG_NewPointerObj((new wxRendererVersion(static_cast< const wxRendererVersion
& >(result
))), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_OWN
| 0 );
30738 SWIGINTERN PyObject
*RendererNative_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30740 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30741 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererNative
, SWIG_NewClientData(obj
));
30742 return SWIG_Py_Void();
30745 SWIGINTERN PyObject
*_wrap_new_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30746 PyObject
*resultobj
= 0;
30747 wxPseudoDC
*result
= 0 ;
30749 if (!SWIG_Python_UnpackTuple(args
,"new_PseudoDC",0,0,0)) SWIG_fail
;
30751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30752 result
= (wxPseudoDC
*)new wxPseudoDC();
30753 wxPyEndAllowThreads(__tstate
);
30754 if (PyErr_Occurred()) SWIG_fail
;
30756 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_NEW
| 0 );
30763 SWIGINTERN PyObject
*_wrap_PseudoDC_BeginDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30764 PyObject
*resultobj
= 0;
30765 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30768 PyObject
*swig_obj
[1] ;
30770 if (!args
) SWIG_fail
;
30771 swig_obj
[0] = args
;
30772 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30773 if (!SWIG_IsOK(res1
)) {
30774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_BeginDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30776 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30779 (arg1
)->BeginDrawing();
30780 wxPyEndAllowThreads(__tstate
);
30781 if (PyErr_Occurred()) SWIG_fail
;
30783 resultobj
= SWIG_Py_Void();
30790 SWIGINTERN PyObject
*_wrap_PseudoDC_EndDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30791 PyObject
*resultobj
= 0;
30792 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30795 PyObject
*swig_obj
[1] ;
30797 if (!args
) SWIG_fail
;
30798 swig_obj
[0] = args
;
30799 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30800 if (!SWIG_IsOK(res1
)) {
30801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_EndDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30803 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30806 (arg1
)->EndDrawing();
30807 wxPyEndAllowThreads(__tstate
);
30808 if (PyErr_Occurred()) SWIG_fail
;
30810 resultobj
= SWIG_Py_Void();
30817 SWIGINTERN PyObject
*_wrap_delete_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30818 PyObject
*resultobj
= 0;
30819 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30822 PyObject
*swig_obj
[1] ;
30824 if (!args
) SWIG_fail
;
30825 swig_obj
[0] = args
;
30826 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_DISOWN
| 0 );
30827 if (!SWIG_IsOK(res1
)) {
30828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PseudoDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30830 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30835 wxPyEndAllowThreads(__tstate
);
30836 if (PyErr_Occurred()) SWIG_fail
;
30838 resultobj
= SWIG_Py_Void();
30845 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30846 PyObject
*resultobj
= 0;
30847 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30850 PyObject
*swig_obj
[1] ;
30852 if (!args
) SWIG_fail
;
30853 swig_obj
[0] = args
;
30854 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30855 if (!SWIG_IsOK(res1
)) {
30856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveAll" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30858 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30861 (arg1
)->RemoveAll();
30862 wxPyEndAllowThreads(__tstate
);
30863 if (PyErr_Occurred()) SWIG_fail
;
30865 resultobj
= SWIG_Py_Void();
30872 SWIGINTERN PyObject
*_wrap_PseudoDC_GetLen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30873 PyObject
*resultobj
= 0;
30874 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30878 PyObject
*swig_obj
[1] ;
30880 if (!args
) SWIG_fail
;
30881 swig_obj
[0] = args
;
30882 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30883 if (!SWIG_IsOK(res1
)) {
30884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetLen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30886 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30889 result
= (int)(arg1
)->GetLen();
30890 wxPyEndAllowThreads(__tstate
);
30891 if (PyErr_Occurred()) SWIG_fail
;
30893 resultobj
= SWIG_From_int(static_cast< int >(result
));
30900 SWIGINTERN PyObject
*_wrap_PseudoDC_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30901 PyObject
*resultobj
= 0;
30902 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30908 PyObject
* obj0
= 0 ;
30909 PyObject
* obj1
= 0 ;
30910 char * kwnames
[] = {
30911 (char *) "self",(char *) "id", NULL
30914 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30915 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30916 if (!SWIG_IsOK(res1
)) {
30917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30919 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30920 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30921 if (!SWIG_IsOK(ecode2
)) {
30922 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetId" "', expected argument " "2"" of type '" "int""'");
30924 arg2
= static_cast< int >(val2
);
30926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30927 (arg1
)->SetId(arg2
);
30928 wxPyEndAllowThreads(__tstate
);
30929 if (PyErr_Occurred()) SWIG_fail
;
30931 resultobj
= SWIG_Py_Void();
30938 SWIGINTERN PyObject
*_wrap_PseudoDC_ClearId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30939 PyObject
*resultobj
= 0;
30940 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30946 PyObject
* obj0
= 0 ;
30947 PyObject
* obj1
= 0 ;
30948 char * kwnames
[] = {
30949 (char *) "self",(char *) "id", NULL
30952 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_ClearId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30953 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30954 if (!SWIG_IsOK(res1
)) {
30955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_ClearId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30957 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30958 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30959 if (!SWIG_IsOK(ecode2
)) {
30960 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_ClearId" "', expected argument " "2"" of type '" "int""'");
30962 arg2
= static_cast< int >(val2
);
30964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30965 (arg1
)->ClearId(arg2
);
30966 wxPyEndAllowThreads(__tstate
);
30967 if (PyErr_Occurred()) SWIG_fail
;
30969 resultobj
= SWIG_Py_Void();
30976 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30977 PyObject
*resultobj
= 0;
30978 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30984 PyObject
* obj0
= 0 ;
30985 PyObject
* obj1
= 0 ;
30986 char * kwnames
[] = {
30987 (char *) "self",(char *) "id", NULL
30990 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_RemoveId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30991 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30992 if (!SWIG_IsOK(res1
)) {
30993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30995 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30996 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30997 if (!SWIG_IsOK(ecode2
)) {
30998 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_RemoveId" "', expected argument " "2"" of type '" "int""'");
31000 arg2
= static_cast< int >(val2
);
31002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31003 (arg1
)->RemoveId(arg2
);
31004 wxPyEndAllowThreads(__tstate
);
31005 if (PyErr_Occurred()) SWIG_fail
;
31007 resultobj
= SWIG_Py_Void();
31014 SWIGINTERN PyObject
*_wrap_PseudoDC_TranslateId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31015 PyObject
*resultobj
= 0;
31016 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31028 PyObject
* obj0
= 0 ;
31029 PyObject
* obj1
= 0 ;
31030 PyObject
* obj2
= 0 ;
31031 PyObject
* obj3
= 0 ;
31032 char * kwnames
[] = {
31033 (char *) "self",(char *) "id",(char *) "dx",(char *) "dy", NULL
31036 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_TranslateId",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31037 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31038 if (!SWIG_IsOK(res1
)) {
31039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_TranslateId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31041 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31042 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31043 if (!SWIG_IsOK(ecode2
)) {
31044 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_TranslateId" "', expected argument " "2"" of type '" "int""'");
31046 arg2
= static_cast< int >(val2
);
31047 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31048 if (!SWIG_IsOK(ecode3
)) {
31049 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_TranslateId" "', expected argument " "3"" of type '" "int""'");
31051 arg3
= static_cast< int >(val3
);
31052 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31053 if (!SWIG_IsOK(ecode4
)) {
31054 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_TranslateId" "', expected argument " "4"" of type '" "int""'");
31056 arg4
= static_cast< int >(val4
);
31058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31059 (arg1
)->TranslateId(arg2
,arg3
,arg4
);
31060 wxPyEndAllowThreads(__tstate
);
31061 if (PyErr_Occurred()) SWIG_fail
;
31063 resultobj
= SWIG_Py_Void();
31070 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdGreyedOut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31071 PyObject
*resultobj
= 0;
31072 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31074 bool arg3
= (bool) true ;
31081 PyObject
* obj0
= 0 ;
31082 PyObject
* obj1
= 0 ;
31083 PyObject
* obj2
= 0 ;
31084 char * kwnames
[] = {
31085 (char *) "self",(char *) "id",(char *) "greyout", NULL
31088 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PseudoDC_SetIdGreyedOut",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31089 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31090 if (!SWIG_IsOK(res1
)) {
31091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31093 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31094 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31095 if (!SWIG_IsOK(ecode2
)) {
31096 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "2"" of type '" "int""'");
31098 arg2
= static_cast< int >(val2
);
31100 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
31101 if (!SWIG_IsOK(ecode3
)) {
31102 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "3"" of type '" "bool""'");
31104 arg3
= static_cast< bool >(val3
);
31107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31108 (arg1
)->SetIdGreyedOut(arg2
,arg3
);
31109 wxPyEndAllowThreads(__tstate
);
31110 if (PyErr_Occurred()) SWIG_fail
;
31112 resultobj
= SWIG_Py_Void();
31119 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdGreyedOut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31120 PyObject
*resultobj
= 0;
31121 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31128 PyObject
* obj0
= 0 ;
31129 PyObject
* obj1
= 0 ;
31130 char * kwnames
[] = {
31131 (char *) "self",(char *) "id", NULL
31134 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdGreyedOut",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31135 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31136 if (!SWIG_IsOK(res1
)) {
31137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdGreyedOut" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31139 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31140 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31141 if (!SWIG_IsOK(ecode2
)) {
31142 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdGreyedOut" "', expected argument " "2"" of type '" "int""'");
31144 arg2
= static_cast< int >(val2
);
31146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31147 result
= (bool)(arg1
)->GetIdGreyedOut(arg2
);
31148 wxPyEndAllowThreads(__tstate
);
31149 if (PyErr_Occurred()) SWIG_fail
;
31152 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31160 SWIGINTERN PyObject
*_wrap_PseudoDC_FindObjects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31161 PyObject
*resultobj
= 0;
31162 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31165 int arg4
= (int) 1 ;
31166 wxColor
const &arg5_defvalue
= *wxWHITE
;
31167 wxColor
*arg5
= (wxColor
*) &arg5_defvalue
;
31168 PyObject
*result
= 0 ;
31179 PyObject
* obj0
= 0 ;
31180 PyObject
* obj1
= 0 ;
31181 PyObject
* obj2
= 0 ;
31182 PyObject
* obj3
= 0 ;
31183 PyObject
* obj4
= 0 ;
31184 char * kwnames
[] = {
31185 (char *) "self",(char *) "x",(char *) "y",(char *) "radius",(char *) "bg", NULL
31188 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_FindObjects",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31189 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31190 if (!SWIG_IsOK(res1
)) {
31191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FindObjects" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31193 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31194 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31195 if (!SWIG_IsOK(ecode2
)) {
31196 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FindObjects" "', expected argument " "2"" of type '" "int""'");
31198 arg2
= static_cast< int >(val2
);
31199 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31200 if (!SWIG_IsOK(ecode3
)) {
31201 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjects" "', expected argument " "3"" of type '" "int""'");
31203 arg3
= static_cast< int >(val3
);
31205 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31206 if (!SWIG_IsOK(ecode4
)) {
31207 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FindObjects" "', expected argument " "4"" of type '" "int""'");
31209 arg4
= static_cast< int >(val4
);
31212 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxColor
, 0 | 0);
31213 if (!SWIG_IsOK(res5
)) {
31214 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "PseudoDC_FindObjects" "', expected argument " "5"" of type '" "wxColor const &""'");
31217 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_FindObjects" "', expected argument " "5"" of type '" "wxColor const &""'");
31219 arg5
= reinterpret_cast< wxColor
* >(argp5
);
31222 result
= (PyObject
*)(arg1
)->FindObjects(arg2
,arg3
,arg4
,(wxColor
const &)*arg5
);
31223 if (PyErr_Occurred()) SWIG_fail
;
31225 resultobj
= result
;
31232 SWIGINTERN PyObject
*_wrap_PseudoDC_FindObjectsByBBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31233 PyObject
*resultobj
= 0;
31234 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31237 PyObject
*result
= 0 ;
31244 PyObject
* obj0
= 0 ;
31245 PyObject
* obj1
= 0 ;
31246 PyObject
* obj2
= 0 ;
31247 char * kwnames
[] = {
31248 (char *) "self",(char *) "x",(char *) "y", NULL
31251 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_FindObjectsByBBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31252 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31253 if (!SWIG_IsOK(res1
)) {
31254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31256 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31257 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31258 if (!SWIG_IsOK(ecode2
)) {
31259 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "2"" of type '" "int""'");
31261 arg2
= static_cast< int >(val2
);
31262 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31263 if (!SWIG_IsOK(ecode3
)) {
31264 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "3"" of type '" "int""'");
31266 arg3
= static_cast< int >(val3
);
31268 result
= (PyObject
*)(arg1
)->FindObjectsByBBox(arg2
,arg3
);
31269 if (PyErr_Occurred()) SWIG_fail
;
31271 resultobj
= result
;
31278 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIdToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31279 PyObject
*resultobj
= 0;
31280 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31282 wxDC
*arg3
= (wxDC
*) 0 ;
31289 PyObject
* obj0
= 0 ;
31290 PyObject
* obj1
= 0 ;
31291 PyObject
* obj2
= 0 ;
31292 char * kwnames
[] = {
31293 (char *) "self",(char *) "id",(char *) "dc", NULL
31296 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIdToDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31297 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31298 if (!SWIG_IsOK(res1
)) {
31299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31301 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31302 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31303 if (!SWIG_IsOK(ecode2
)) {
31304 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "2"" of type '" "int""'");
31306 arg2
= static_cast< int >(val2
);
31307 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxDC
, 0 | 0 );
31308 if (!SWIG_IsOK(res3
)) {
31309 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "3"" of type '" "wxDC *""'");
31311 arg3
= reinterpret_cast< wxDC
* >(argp3
);
31313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31314 (arg1
)->DrawIdToDC(arg2
,arg3
);
31315 wxPyEndAllowThreads(__tstate
);
31316 if (PyErr_Occurred()) SWIG_fail
;
31318 resultobj
= SWIG_Py_Void();
31325 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31326 PyObject
*resultobj
= 0;
31327 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31335 PyObject
* obj0
= 0 ;
31336 PyObject
* obj1
= 0 ;
31337 PyObject
* obj2
= 0 ;
31338 char * kwnames
[] = {
31339 (char *) "self",(char *) "id",(char *) "rect", NULL
31342 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_SetIdBounds",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31343 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31344 if (!SWIG_IsOK(res1
)) {
31345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31347 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31348 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31349 if (!SWIG_IsOK(ecode2
)) {
31350 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "2"" of type '" "int""'");
31352 arg2
= static_cast< int >(val2
);
31355 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
31358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31359 (arg1
)->SetIdBounds(arg2
,*arg3
);
31360 wxPyEndAllowThreads(__tstate
);
31361 if (PyErr_Occurred()) SWIG_fail
;
31363 resultobj
= SWIG_Py_Void();
31370 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31371 PyObject
*resultobj
= 0;
31372 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31379 PyObject
* obj0
= 0 ;
31380 PyObject
* obj1
= 0 ;
31381 char * kwnames
[] = {
31382 (char *) "self",(char *) "id", NULL
31385 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdBounds",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31386 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31387 if (!SWIG_IsOK(res1
)) {
31388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31390 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31391 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31392 if (!SWIG_IsOK(ecode2
)) {
31393 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "2"" of type '" "int""'");
31395 arg2
= static_cast< int >(val2
);
31397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31398 result
= wxPseudoDC_GetIdBounds(arg1
,arg2
);
31399 wxPyEndAllowThreads(__tstate
);
31400 if (PyErr_Occurred()) SWIG_fail
;
31402 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
31409 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClipped(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31410 PyObject
*resultobj
= 0;
31411 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31412 wxDC
*arg2
= (wxDC
*) 0 ;
31419 PyObject
* obj0
= 0 ;
31420 PyObject
* obj1
= 0 ;
31421 PyObject
* obj2
= 0 ;
31422 char * kwnames
[] = {
31423 (char *) "self",(char *) "dc",(char *) "rect", NULL
31426 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClipped",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31427 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31428 if (!SWIG_IsOK(res1
)) {
31429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31431 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31432 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
31433 if (!SWIG_IsOK(res2
)) {
31434 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "2"" of type '" "wxDC *""'");
31436 arg2
= reinterpret_cast< wxDC
* >(argp2
);
31439 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
31442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31443 (arg1
)->DrawToDCClipped(arg2
,(wxRect
const &)*arg3
);
31444 wxPyEndAllowThreads(__tstate
);
31445 if (PyErr_Occurred()) SWIG_fail
;
31447 resultobj
= SWIG_Py_Void();
31454 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClippedRgn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31455 PyObject
*resultobj
= 0;
31456 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31457 wxDC
*arg2
= (wxDC
*) 0 ;
31458 wxRegion
*arg3
= 0 ;
31465 PyObject
* obj0
= 0 ;
31466 PyObject
* obj1
= 0 ;
31467 PyObject
* obj2
= 0 ;
31468 char * kwnames
[] = {
31469 (char *) "self",(char *) "dc",(char *) "region", NULL
31472 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClippedRgn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31473 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31474 if (!SWIG_IsOK(res1
)) {
31475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31477 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31478 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
31479 if (!SWIG_IsOK(res2
)) {
31480 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "2"" of type '" "wxDC *""'");
31482 arg2
= reinterpret_cast< wxDC
* >(argp2
);
31483 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxRegion
, 0 | 0);
31484 if (!SWIG_IsOK(res3
)) {
31485 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
31488 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
31490 arg3
= reinterpret_cast< wxRegion
* >(argp3
);
31492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31493 (arg1
)->DrawToDCClippedRgn(arg2
,(wxRegion
const &)*arg3
);
31494 wxPyEndAllowThreads(__tstate
);
31495 if (PyErr_Occurred()) SWIG_fail
;
31497 resultobj
= SWIG_Py_Void();
31504 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31505 PyObject
*resultobj
= 0;
31506 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31507 wxDC
*arg2
= (wxDC
*) 0 ;
31512 PyObject
* obj0
= 0 ;
31513 PyObject
* obj1
= 0 ;
31514 char * kwnames
[] = {
31515 (char *) "self",(char *) "dc", NULL
31518 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawToDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31519 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31520 if (!SWIG_IsOK(res1
)) {
31521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31523 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31524 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
31525 if (!SWIG_IsOK(res2
)) {
31526 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "2"" of type '" "wxDC *""'");
31528 arg2
= reinterpret_cast< wxDC
* >(argp2
);
31530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31531 (arg1
)->DrawToDC(arg2
);
31532 wxPyEndAllowThreads(__tstate
);
31533 if (PyErr_Occurred()) SWIG_fail
;
31535 resultobj
= SWIG_Py_Void();
31542 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31543 PyObject
*resultobj
= 0;
31544 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31547 wxColour
*arg4
= 0 ;
31548 int arg5
= (int) wxFLOOD_SURFACE
;
31558 PyObject
* obj0
= 0 ;
31559 PyObject
* obj1
= 0 ;
31560 PyObject
* obj2
= 0 ;
31561 PyObject
* obj3
= 0 ;
31562 PyObject
* obj4
= 0 ;
31563 char * kwnames
[] = {
31564 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
31567 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31568 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31569 if (!SWIG_IsOK(res1
)) {
31570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFill" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31572 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31573 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31574 if (!SWIG_IsOK(ecode2
)) {
31575 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FloodFill" "', expected argument " "2"" of type '" "int""'");
31577 arg2
= static_cast< int >(val2
);
31578 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31579 if (!SWIG_IsOK(ecode3
)) {
31580 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FloodFill" "', expected argument " "3"" of type '" "int""'");
31582 arg3
= static_cast< int >(val3
);
31585 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
31588 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31589 if (!SWIG_IsOK(ecode5
)) {
31590 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_FloodFill" "', expected argument " "5"" of type '" "int""'");
31592 arg5
= static_cast< int >(val5
);
31595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31596 (arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
31597 wxPyEndAllowThreads(__tstate
);
31598 if (PyErr_Occurred()) SWIG_fail
;
31600 resultobj
= SWIG_Py_Void();
31607 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31608 PyObject
*resultobj
= 0;
31609 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31610 wxPoint
*arg2
= 0 ;
31611 wxColour
*arg3
= 0 ;
31612 int arg4
= (int) wxFLOOD_SURFACE
;
31619 PyObject
* obj0
= 0 ;
31620 PyObject
* obj1
= 0 ;
31621 PyObject
* obj2
= 0 ;
31622 PyObject
* obj3
= 0 ;
31623 char * kwnames
[] = {
31624 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
31627 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31628 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31629 if (!SWIG_IsOK(res1
)) {
31630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31632 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31635 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31639 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31642 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31643 if (!SWIG_IsOK(ecode4
)) {
31644 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
31646 arg4
= static_cast< int >(val4
);
31649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31650 (arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
31651 wxPyEndAllowThreads(__tstate
);
31652 if (PyErr_Occurred()) SWIG_fail
;
31654 resultobj
= SWIG_Py_Void();
31661 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31662 PyObject
*resultobj
= 0;
31663 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31678 PyObject
* obj0
= 0 ;
31679 PyObject
* obj1
= 0 ;
31680 PyObject
* obj2
= 0 ;
31681 PyObject
* obj3
= 0 ;
31682 PyObject
* obj4
= 0 ;
31683 char * kwnames
[] = {
31684 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
31687 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31688 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31689 if (!SWIG_IsOK(res1
)) {
31690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLine" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31692 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31693 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31694 if (!SWIG_IsOK(ecode2
)) {
31695 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawLine" "', expected argument " "2"" of type '" "int""'");
31697 arg2
= static_cast< int >(val2
);
31698 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31699 if (!SWIG_IsOK(ecode3
)) {
31700 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawLine" "', expected argument " "3"" of type '" "int""'");
31702 arg3
= static_cast< int >(val3
);
31703 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31704 if (!SWIG_IsOK(ecode4
)) {
31705 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLine" "', expected argument " "4"" of type '" "int""'");
31707 arg4
= static_cast< int >(val4
);
31708 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31709 if (!SWIG_IsOK(ecode5
)) {
31710 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLine" "', expected argument " "5"" of type '" "int""'");
31712 arg5
= static_cast< int >(val5
);
31714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31715 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
31716 wxPyEndAllowThreads(__tstate
);
31717 if (PyErr_Occurred()) SWIG_fail
;
31719 resultobj
= SWIG_Py_Void();
31726 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31727 PyObject
*resultobj
= 0;
31728 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31729 wxPoint
*arg2
= 0 ;
31730 wxPoint
*arg3
= 0 ;
31735 PyObject
* obj0
= 0 ;
31736 PyObject
* obj1
= 0 ;
31737 PyObject
* obj2
= 0 ;
31738 char * kwnames
[] = {
31739 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
31742 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31743 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31744 if (!SWIG_IsOK(res1
)) {
31745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLinePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31747 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31750 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31754 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31758 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
31759 wxPyEndAllowThreads(__tstate
);
31760 if (PyErr_Occurred()) SWIG_fail
;
31762 resultobj
= SWIG_Py_Void();
31769 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31770 PyObject
*resultobj
= 0;
31771 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31780 PyObject
* obj0
= 0 ;
31781 PyObject
* obj1
= 0 ;
31782 PyObject
* obj2
= 0 ;
31783 char * kwnames
[] = {
31784 (char *) "self",(char *) "x",(char *) "y", NULL
31787 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31788 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31789 if (!SWIG_IsOK(res1
)) {
31790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHair" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31792 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31793 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31794 if (!SWIG_IsOK(ecode2
)) {
31795 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_CrossHair" "', expected argument " "2"" of type '" "int""'");
31797 arg2
= static_cast< int >(val2
);
31798 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31799 if (!SWIG_IsOK(ecode3
)) {
31800 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_CrossHair" "', expected argument " "3"" of type '" "int""'");
31802 arg3
= static_cast< int >(val3
);
31804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31805 (arg1
)->CrossHair(arg2
,arg3
);
31806 wxPyEndAllowThreads(__tstate
);
31807 if (PyErr_Occurred()) SWIG_fail
;
31809 resultobj
= SWIG_Py_Void();
31816 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31817 PyObject
*resultobj
= 0;
31818 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31819 wxPoint
*arg2
= 0 ;
31823 PyObject
* obj0
= 0 ;
31824 PyObject
* obj1
= 0 ;
31825 char * kwnames
[] = {
31826 (char *) "self",(char *) "pt", NULL
31829 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31830 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31831 if (!SWIG_IsOK(res1
)) {
31832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHairPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31834 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31837 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31841 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
31842 wxPyEndAllowThreads(__tstate
);
31843 if (PyErr_Occurred()) SWIG_fail
;
31845 resultobj
= SWIG_Py_Void();
31852 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31853 PyObject
*resultobj
= 0;
31854 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31875 PyObject
* obj0
= 0 ;
31876 PyObject
* obj1
= 0 ;
31877 PyObject
* obj2
= 0 ;
31878 PyObject
* obj3
= 0 ;
31879 PyObject
* obj4
= 0 ;
31880 PyObject
* obj5
= 0 ;
31881 PyObject
* obj6
= 0 ;
31882 char * kwnames
[] = {
31883 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
31886 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31887 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31888 if (!SWIG_IsOK(res1
)) {
31889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31891 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31892 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31893 if (!SWIG_IsOK(ecode2
)) {
31894 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawArc" "', expected argument " "2"" of type '" "int""'");
31896 arg2
= static_cast< int >(val2
);
31897 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31898 if (!SWIG_IsOK(ecode3
)) {
31899 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawArc" "', expected argument " "3"" of type '" "int""'");
31901 arg3
= static_cast< int >(val3
);
31902 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31903 if (!SWIG_IsOK(ecode4
)) {
31904 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawArc" "', expected argument " "4"" of type '" "int""'");
31906 arg4
= static_cast< int >(val4
);
31907 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31908 if (!SWIG_IsOK(ecode5
)) {
31909 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawArc" "', expected argument " "5"" of type '" "int""'");
31911 arg5
= static_cast< int >(val5
);
31912 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
31913 if (!SWIG_IsOK(ecode6
)) {
31914 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawArc" "', expected argument " "6"" of type '" "int""'");
31916 arg6
= static_cast< int >(val6
);
31917 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
31918 if (!SWIG_IsOK(ecode7
)) {
31919 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawArc" "', expected argument " "7"" of type '" "int""'");
31921 arg7
= static_cast< int >(val7
);
31923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31924 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
31925 wxPyEndAllowThreads(__tstate
);
31926 if (PyErr_Occurred()) SWIG_fail
;
31928 resultobj
= SWIG_Py_Void();
31935 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31936 PyObject
*resultobj
= 0;
31937 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31938 wxPoint
*arg2
= 0 ;
31939 wxPoint
*arg3
= 0 ;
31940 wxPoint
*arg4
= 0 ;
31946 PyObject
* obj0
= 0 ;
31947 PyObject
* obj1
= 0 ;
31948 PyObject
* obj2
= 0 ;
31949 PyObject
* obj3
= 0 ;
31950 char * kwnames
[] = {
31951 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
31954 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31955 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31956 if (!SWIG_IsOK(res1
)) {
31957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArcPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31959 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31962 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31966 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31970 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
31973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31974 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
31975 wxPyEndAllowThreads(__tstate
);
31976 if (PyErr_Occurred()) SWIG_fail
;
31978 resultobj
= SWIG_Py_Void();
31985 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31986 PyObject
*resultobj
= 0;
31987 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32002 PyObject
* obj0
= 0 ;
32003 PyObject
* obj1
= 0 ;
32004 PyObject
* obj2
= 0 ;
32005 PyObject
* obj3
= 0 ;
32006 PyObject
* obj4
= 0 ;
32007 char * kwnames
[] = {
32008 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
32011 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
32012 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32013 if (!SWIG_IsOK(res1
)) {
32014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32016 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32017 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32018 if (!SWIG_IsOK(ecode2
)) {
32019 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
32021 arg2
= static_cast< int >(val2
);
32022 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32023 if (!SWIG_IsOK(ecode3
)) {
32024 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
32026 arg3
= static_cast< int >(val3
);
32027 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32028 if (!SWIG_IsOK(ecode4
)) {
32029 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
32031 arg4
= static_cast< int >(val4
);
32032 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32033 if (!SWIG_IsOK(ecode5
)) {
32034 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
32036 arg5
= static_cast< int >(val5
);
32038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32039 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
32040 wxPyEndAllowThreads(__tstate
);
32041 if (PyErr_Occurred()) SWIG_fail
;
32043 resultobj
= SWIG_Py_Void();
32050 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32051 PyObject
*resultobj
= 0;
32052 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32057 PyObject
* obj0
= 0 ;
32058 PyObject
* obj1
= 0 ;
32059 char * kwnames
[] = {
32060 (char *) "self",(char *) "rect", NULL
32063 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32064 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32065 if (!SWIG_IsOK(res1
)) {
32066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32068 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32071 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
32074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32075 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
32076 wxPyEndAllowThreads(__tstate
);
32077 if (PyErr_Occurred()) SWIG_fail
;
32079 resultobj
= SWIG_Py_Void();
32086 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32087 PyObject
*resultobj
= 0;
32088 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32109 PyObject
* obj0
= 0 ;
32110 PyObject
* obj1
= 0 ;
32111 PyObject
* obj2
= 0 ;
32112 PyObject
* obj3
= 0 ;
32113 PyObject
* obj4
= 0 ;
32114 PyObject
* obj5
= 0 ;
32115 PyObject
* obj6
= 0 ;
32116 char * kwnames
[] = {
32117 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
32120 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
32121 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32122 if (!SWIG_IsOK(res1
)) {
32123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32125 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32126 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32127 if (!SWIG_IsOK(ecode2
)) {
32128 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
32130 arg2
= static_cast< int >(val2
);
32131 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32132 if (!SWIG_IsOK(ecode3
)) {
32133 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
32135 arg3
= static_cast< int >(val3
);
32136 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32137 if (!SWIG_IsOK(ecode4
)) {
32138 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
32140 arg4
= static_cast< int >(val4
);
32141 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32142 if (!SWIG_IsOK(ecode5
)) {
32143 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
32145 arg5
= static_cast< int >(val5
);
32146 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
32147 if (!SWIG_IsOK(ecode6
)) {
32148 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
32150 arg6
= static_cast< double >(val6
);
32151 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
32152 if (!SWIG_IsOK(ecode7
)) {
32153 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
32155 arg7
= static_cast< double >(val7
);
32157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32158 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
32159 wxPyEndAllowThreads(__tstate
);
32160 if (PyErr_Occurred()) SWIG_fail
;
32162 resultobj
= SWIG_Py_Void();
32169 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32170 PyObject
*resultobj
= 0;
32171 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32172 wxPoint
*arg2
= 0 ;
32184 PyObject
* obj0
= 0 ;
32185 PyObject
* obj1
= 0 ;
32186 PyObject
* obj2
= 0 ;
32187 PyObject
* obj3
= 0 ;
32188 PyObject
* obj4
= 0 ;
32189 char * kwnames
[] = {
32190 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
32193 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
32194 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32195 if (!SWIG_IsOK(res1
)) {
32196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32198 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32201 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
32205 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
32207 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
32208 if (!SWIG_IsOK(ecode4
)) {
32209 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
32211 arg4
= static_cast< double >(val4
);
32212 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
32213 if (!SWIG_IsOK(ecode5
)) {
32214 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
32216 arg5
= static_cast< double >(val5
);
32218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32219 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
32220 wxPyEndAllowThreads(__tstate
);
32221 if (PyErr_Occurred()) SWIG_fail
;
32223 resultobj
= SWIG_Py_Void();
32230 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32231 PyObject
*resultobj
= 0;
32232 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32241 PyObject
* obj0
= 0 ;
32242 PyObject
* obj1
= 0 ;
32243 PyObject
* obj2
= 0 ;
32244 char * kwnames
[] = {
32245 (char *) "self",(char *) "x",(char *) "y", NULL
32248 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32249 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32250 if (!SWIG_IsOK(res1
)) {
32251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32253 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32254 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32255 if (!SWIG_IsOK(ecode2
)) {
32256 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
32258 arg2
= static_cast< int >(val2
);
32259 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32260 if (!SWIG_IsOK(ecode3
)) {
32261 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
32263 arg3
= static_cast< int >(val3
);
32265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32266 (arg1
)->DrawPoint(arg2
,arg3
);
32267 wxPyEndAllowThreads(__tstate
);
32268 if (PyErr_Occurred()) SWIG_fail
;
32270 resultobj
= SWIG_Py_Void();
32277 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32278 PyObject
*resultobj
= 0;
32279 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32280 wxPoint
*arg2
= 0 ;
32284 PyObject
* obj0
= 0 ;
32285 PyObject
* obj1
= 0 ;
32286 char * kwnames
[] = {
32287 (char *) "self",(char *) "pt", NULL
32290 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32291 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32292 if (!SWIG_IsOK(res1
)) {
32293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPointPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32295 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32298 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
32301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32302 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
32303 wxPyEndAllowThreads(__tstate
);
32304 if (PyErr_Occurred()) SWIG_fail
;
32306 resultobj
= SWIG_Py_Void();
32313 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32314 PyObject
*resultobj
= 0;
32315 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32330 PyObject
* obj0
= 0 ;
32331 PyObject
* obj1
= 0 ;
32332 PyObject
* obj2
= 0 ;
32333 PyObject
* obj3
= 0 ;
32334 PyObject
* obj4
= 0 ;
32335 char * kwnames
[] = {
32336 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
32339 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
32340 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32341 if (!SWIG_IsOK(res1
)) {
32342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32344 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32345 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32346 if (!SWIG_IsOK(ecode2
)) {
32347 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
32349 arg2
= static_cast< int >(val2
);
32350 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32351 if (!SWIG_IsOK(ecode3
)) {
32352 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
32354 arg3
= static_cast< int >(val3
);
32355 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32356 if (!SWIG_IsOK(ecode4
)) {
32357 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
32359 arg4
= static_cast< int >(val4
);
32360 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32361 if (!SWIG_IsOK(ecode5
)) {
32362 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
32364 arg5
= static_cast< int >(val5
);
32366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32367 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
32368 wxPyEndAllowThreads(__tstate
);
32369 if (PyErr_Occurred()) SWIG_fail
;
32371 resultobj
= SWIG_Py_Void();
32378 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32379 PyObject
*resultobj
= 0;
32380 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32385 PyObject
* obj0
= 0 ;
32386 PyObject
* obj1
= 0 ;
32387 char * kwnames
[] = {
32388 (char *) "self",(char *) "rect", NULL
32391 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32392 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32393 if (!SWIG_IsOK(res1
)) {
32394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32396 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32399 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
32402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32403 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
32404 wxPyEndAllowThreads(__tstate
);
32405 if (PyErr_Occurred()) SWIG_fail
;
32407 resultobj
= SWIG_Py_Void();
32414 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32415 PyObject
*resultobj
= 0;
32416 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32417 wxPoint
*arg2
= 0 ;
32423 PyObject
* obj0
= 0 ;
32424 PyObject
* obj1
= 0 ;
32425 PyObject
* obj2
= 0 ;
32426 char * kwnames
[] = {
32427 (char *) "self",(char *) "pt",(char *) "sz", NULL
32430 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32431 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32432 if (!SWIG_IsOK(res1
)) {
32433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32435 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32438 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
32442 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
32445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32446 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
32447 wxPyEndAllowThreads(__tstate
);
32448 if (PyErr_Occurred()) SWIG_fail
;
32450 resultobj
= SWIG_Py_Void();
32457 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32458 PyObject
*resultobj
= 0;
32459 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32477 PyObject
* obj0
= 0 ;
32478 PyObject
* obj1
= 0 ;
32479 PyObject
* obj2
= 0 ;
32480 PyObject
* obj3
= 0 ;
32481 PyObject
* obj4
= 0 ;
32482 PyObject
* obj5
= 0 ;
32483 char * kwnames
[] = {
32484 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
32487 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PseudoDC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
32488 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32489 if (!SWIG_IsOK(res1
)) {
32490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32492 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32493 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32494 if (!SWIG_IsOK(ecode2
)) {
32495 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
32497 arg2
= static_cast< int >(val2
);
32498 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32499 if (!SWIG_IsOK(ecode3
)) {
32500 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
32502 arg3
= static_cast< int >(val3
);
32503 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32504 if (!SWIG_IsOK(ecode4
)) {
32505 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
32507 arg4
= static_cast< int >(val4
);
32508 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32509 if (!SWIG_IsOK(ecode5
)) {
32510 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
32512 arg5
= static_cast< int >(val5
);
32513 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
32514 if (!SWIG_IsOK(ecode6
)) {
32515 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
32517 arg6
= static_cast< double >(val6
);
32519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32520 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
32521 wxPyEndAllowThreads(__tstate
);
32522 if (PyErr_Occurred()) SWIG_fail
;
32524 resultobj
= SWIG_Py_Void();
32531 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32532 PyObject
*resultobj
= 0;
32533 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32541 PyObject
* obj0
= 0 ;
32542 PyObject
* obj1
= 0 ;
32543 PyObject
* obj2
= 0 ;
32544 char * kwnames
[] = {
32545 (char *) "self",(char *) "r",(char *) "radius", NULL
32548 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32549 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32550 if (!SWIG_IsOK(res1
)) {
32551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32553 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32556 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
32558 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
32559 if (!SWIG_IsOK(ecode3
)) {
32560 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
32562 arg3
= static_cast< double >(val3
);
32564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32565 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
32566 wxPyEndAllowThreads(__tstate
);
32567 if (PyErr_Occurred()) SWIG_fail
;
32569 resultobj
= SWIG_Py_Void();
32576 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32577 PyObject
*resultobj
= 0;
32578 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32579 wxPoint
*arg2
= 0 ;
32588 PyObject
* obj0
= 0 ;
32589 PyObject
* obj1
= 0 ;
32590 PyObject
* obj2
= 0 ;
32591 PyObject
* obj3
= 0 ;
32592 char * kwnames
[] = {
32593 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
32596 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32597 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32598 if (!SWIG_IsOK(res1
)) {
32599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32601 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32604 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
32608 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
32610 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
32611 if (!SWIG_IsOK(ecode4
)) {
32612 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
32614 arg4
= static_cast< double >(val4
);
32616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32617 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
32618 wxPyEndAllowThreads(__tstate
);
32619 if (PyErr_Occurred()) SWIG_fail
;
32621 resultobj
= SWIG_Py_Void();
32628 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32629 PyObject
*resultobj
= 0;
32630 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32642 PyObject
* obj0
= 0 ;
32643 PyObject
* obj1
= 0 ;
32644 PyObject
* obj2
= 0 ;
32645 PyObject
* obj3
= 0 ;
32646 char * kwnames
[] = {
32647 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
32650 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32651 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32652 if (!SWIG_IsOK(res1
)) {
32653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32655 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32656 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32657 if (!SWIG_IsOK(ecode2
)) {
32658 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
32660 arg2
= static_cast< int >(val2
);
32661 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32662 if (!SWIG_IsOK(ecode3
)) {
32663 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
32665 arg3
= static_cast< int >(val3
);
32666 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32667 if (!SWIG_IsOK(ecode4
)) {
32668 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
32670 arg4
= static_cast< int >(val4
);
32672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32673 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
32674 wxPyEndAllowThreads(__tstate
);
32675 if (PyErr_Occurred()) SWIG_fail
;
32677 resultobj
= SWIG_Py_Void();
32684 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32685 PyObject
*resultobj
= 0;
32686 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32687 wxPoint
*arg2
= 0 ;
32694 PyObject
* obj0
= 0 ;
32695 PyObject
* obj1
= 0 ;
32696 PyObject
* obj2
= 0 ;
32697 char * kwnames
[] = {
32698 (char *) "self",(char *) "pt",(char *) "radius", NULL
32701 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32702 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32703 if (!SWIG_IsOK(res1
)) {
32704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32706 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32709 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
32711 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32712 if (!SWIG_IsOK(ecode3
)) {
32713 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
32715 arg3
= static_cast< int >(val3
);
32717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32718 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
32719 wxPyEndAllowThreads(__tstate
);
32720 if (PyErr_Occurred()) SWIG_fail
;
32722 resultobj
= SWIG_Py_Void();
32729 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32730 PyObject
*resultobj
= 0;
32731 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32746 PyObject
* obj0
= 0 ;
32747 PyObject
* obj1
= 0 ;
32748 PyObject
* obj2
= 0 ;
32749 PyObject
* obj3
= 0 ;
32750 PyObject
* obj4
= 0 ;
32751 char * kwnames
[] = {
32752 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
32755 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
32756 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32757 if (!SWIG_IsOK(res1
)) {
32758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32760 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32761 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32762 if (!SWIG_IsOK(ecode2
)) {
32763 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
32765 arg2
= static_cast< int >(val2
);
32766 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32767 if (!SWIG_IsOK(ecode3
)) {
32768 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
32770 arg3
= static_cast< int >(val3
);
32771 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32772 if (!SWIG_IsOK(ecode4
)) {
32773 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
32775 arg4
= static_cast< int >(val4
);
32776 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32777 if (!SWIG_IsOK(ecode5
)) {
32778 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
32780 arg5
= static_cast< int >(val5
);
32782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32783 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
32784 wxPyEndAllowThreads(__tstate
);
32785 if (PyErr_Occurred()) SWIG_fail
;
32787 resultobj
= SWIG_Py_Void();
32794 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32795 PyObject
*resultobj
= 0;
32796 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32801 PyObject
* obj0
= 0 ;
32802 PyObject
* obj1
= 0 ;
32803 char * kwnames
[] = {
32804 (char *) "self",(char *) "rect", NULL
32807 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32808 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32809 if (!SWIG_IsOK(res1
)) {
32810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32812 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32815 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
32818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32819 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
32820 wxPyEndAllowThreads(__tstate
);
32821 if (PyErr_Occurred()) SWIG_fail
;
32823 resultobj
= SWIG_Py_Void();
32830 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32831 PyObject
*resultobj
= 0;
32832 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32833 wxPoint
*arg2
= 0 ;
32839 PyObject
* obj0
= 0 ;
32840 PyObject
* obj1
= 0 ;
32841 PyObject
* obj2
= 0 ;
32842 char * kwnames
[] = {
32843 (char *) "self",(char *) "pt",(char *) "sz", NULL
32846 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32847 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32848 if (!SWIG_IsOK(res1
)) {
32849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32851 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32854 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
32858 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
32861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32862 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
32863 wxPyEndAllowThreads(__tstate
);
32864 if (PyErr_Occurred()) SWIG_fail
;
32866 resultobj
= SWIG_Py_Void();
32873 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32874 PyObject
*resultobj
= 0;
32875 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32887 PyObject
* obj0
= 0 ;
32888 PyObject
* obj1
= 0 ;
32889 PyObject
* obj2
= 0 ;
32890 PyObject
* obj3
= 0 ;
32891 char * kwnames
[] = {
32892 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
32895 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32896 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32897 if (!SWIG_IsOK(res1
)) {
32898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32900 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32901 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
32902 if (!SWIG_IsOK(res2
)) {
32903 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
32906 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
32908 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
32909 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32910 if (!SWIG_IsOK(ecode3
)) {
32911 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
32913 arg3
= static_cast< int >(val3
);
32914 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32915 if (!SWIG_IsOK(ecode4
)) {
32916 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
32918 arg4
= static_cast< int >(val4
);
32920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32921 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
32922 wxPyEndAllowThreads(__tstate
);
32923 if (PyErr_Occurred()) SWIG_fail
;
32925 resultobj
= SWIG_Py_Void();
32932 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32933 PyObject
*resultobj
= 0;
32934 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32936 wxPoint
*arg3
= 0 ;
32942 PyObject
* obj0
= 0 ;
32943 PyObject
* obj1
= 0 ;
32944 PyObject
* obj2
= 0 ;
32945 char * kwnames
[] = {
32946 (char *) "self",(char *) "icon",(char *) "pt", NULL
32949 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32950 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32951 if (!SWIG_IsOK(res1
)) {
32952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32954 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32955 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
32956 if (!SWIG_IsOK(res2
)) {
32957 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
32960 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
32962 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
32965 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
32968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32969 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
32970 wxPyEndAllowThreads(__tstate
);
32971 if (PyErr_Occurred()) SWIG_fail
;
32973 resultobj
= SWIG_Py_Void();
32980 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32981 PyObject
*resultobj
= 0;
32982 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32983 wxBitmap
*arg2
= 0 ;
32986 bool arg5
= (bool) false ;
32997 PyObject
* obj0
= 0 ;
32998 PyObject
* obj1
= 0 ;
32999 PyObject
* obj2
= 0 ;
33000 PyObject
* obj3
= 0 ;
33001 PyObject
* obj4
= 0 ;
33002 char * kwnames
[] = {
33003 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
33006 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
33007 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33008 if (!SWIG_IsOK(res1
)) {
33009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33011 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33012 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
33013 if (!SWIG_IsOK(res2
)) {
33014 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
33017 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
33019 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
33020 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33021 if (!SWIG_IsOK(ecode3
)) {
33022 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
33024 arg3
= static_cast< int >(val3
);
33025 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33026 if (!SWIG_IsOK(ecode4
)) {
33027 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
33029 arg4
= static_cast< int >(val4
);
33031 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
33032 if (!SWIG_IsOK(ecode5
)) {
33033 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
33035 arg5
= static_cast< bool >(val5
);
33038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33039 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
33040 wxPyEndAllowThreads(__tstate
);
33041 if (PyErr_Occurred()) SWIG_fail
;
33043 resultobj
= SWIG_Py_Void();
33050 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33051 PyObject
*resultobj
= 0;
33052 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33053 wxBitmap
*arg2
= 0 ;
33054 wxPoint
*arg3
= 0 ;
33055 bool arg4
= (bool) false ;
33063 PyObject
* obj0
= 0 ;
33064 PyObject
* obj1
= 0 ;
33065 PyObject
* obj2
= 0 ;
33066 PyObject
* obj3
= 0 ;
33067 char * kwnames
[] = {
33068 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
33071 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33072 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33073 if (!SWIG_IsOK(res1
)) {
33074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33076 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33077 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
33078 if (!SWIG_IsOK(res2
)) {
33079 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
33082 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
33084 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
33087 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33090 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
33091 if (!SWIG_IsOK(ecode4
)) {
33092 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
33094 arg4
= static_cast< bool >(val4
);
33097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33098 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
33099 wxPyEndAllowThreads(__tstate
);
33100 if (PyErr_Occurred()) SWIG_fail
;
33102 resultobj
= SWIG_Py_Void();
33109 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33110 PyObject
*resultobj
= 0;
33111 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33112 wxString
*arg2
= 0 ;
33117 bool temp2
= false ;
33122 PyObject
* obj0
= 0 ;
33123 PyObject
* obj1
= 0 ;
33124 PyObject
* obj2
= 0 ;
33125 PyObject
* obj3
= 0 ;
33126 char * kwnames
[] = {
33127 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
33130 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33131 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33132 if (!SWIG_IsOK(res1
)) {
33133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33135 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33137 arg2
= wxString_in_helper(obj1
);
33138 if (arg2
== NULL
) SWIG_fail
;
33141 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33142 if (!SWIG_IsOK(ecode3
)) {
33143 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawText" "', expected argument " "3"" of type '" "int""'");
33145 arg3
= static_cast< int >(val3
);
33146 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33147 if (!SWIG_IsOK(ecode4
)) {
33148 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawText" "', expected argument " "4"" of type '" "int""'");
33150 arg4
= static_cast< int >(val4
);
33152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33153 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
33154 wxPyEndAllowThreads(__tstate
);
33155 if (PyErr_Occurred()) SWIG_fail
;
33157 resultobj
= SWIG_Py_Void();
33172 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33173 PyObject
*resultobj
= 0;
33174 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33175 wxString
*arg2
= 0 ;
33176 wxPoint
*arg3
= 0 ;
33179 bool temp2
= false ;
33181 PyObject
* obj0
= 0 ;
33182 PyObject
* obj1
= 0 ;
33183 PyObject
* obj2
= 0 ;
33184 char * kwnames
[] = {
33185 (char *) "self",(char *) "text",(char *) "pt", NULL
33188 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33189 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33190 if (!SWIG_IsOK(res1
)) {
33191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33193 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33195 arg2
= wxString_in_helper(obj1
);
33196 if (arg2
== NULL
) SWIG_fail
;
33201 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33205 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
33206 wxPyEndAllowThreads(__tstate
);
33207 if (PyErr_Occurred()) SWIG_fail
;
33209 resultobj
= SWIG_Py_Void();
33224 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33225 PyObject
*resultobj
= 0;
33226 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33227 wxString
*arg2
= 0 ;
33233 bool temp2
= false ;
33240 PyObject
* obj0
= 0 ;
33241 PyObject
* obj1
= 0 ;
33242 PyObject
* obj2
= 0 ;
33243 PyObject
* obj3
= 0 ;
33244 PyObject
* obj4
= 0 ;
33245 char * kwnames
[] = {
33246 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
33249 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
33250 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33251 if (!SWIG_IsOK(res1
)) {
33252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33254 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33256 arg2
= wxString_in_helper(obj1
);
33257 if (arg2
== NULL
) SWIG_fail
;
33260 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33261 if (!SWIG_IsOK(ecode3
)) {
33262 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
33264 arg3
= static_cast< int >(val3
);
33265 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33266 if (!SWIG_IsOK(ecode4
)) {
33267 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
33269 arg4
= static_cast< int >(val4
);
33270 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
33271 if (!SWIG_IsOK(ecode5
)) {
33272 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
33274 arg5
= static_cast< double >(val5
);
33276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33277 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
33278 wxPyEndAllowThreads(__tstate
);
33279 if (PyErr_Occurred()) SWIG_fail
;
33281 resultobj
= SWIG_Py_Void();
33296 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33297 PyObject
*resultobj
= 0;
33298 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33299 wxString
*arg2
= 0 ;
33300 wxPoint
*arg3
= 0 ;
33304 bool temp2
= false ;
33308 PyObject
* obj0
= 0 ;
33309 PyObject
* obj1
= 0 ;
33310 PyObject
* obj2
= 0 ;
33311 PyObject
* obj3
= 0 ;
33312 char * kwnames
[] = {
33313 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
33316 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33317 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33318 if (!SWIG_IsOK(res1
)) {
33319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33321 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33323 arg2
= wxString_in_helper(obj1
);
33324 if (arg2
== NULL
) SWIG_fail
;
33329 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33331 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
33332 if (!SWIG_IsOK(ecode4
)) {
33333 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
33335 arg4
= static_cast< double >(val4
);
33337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33338 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
33339 wxPyEndAllowThreads(__tstate
);
33340 if (PyErr_Occurred()) SWIG_fail
;
33342 resultobj
= SWIG_Py_Void();
33357 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33358 PyObject
*resultobj
= 0;
33359 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33361 wxPoint
*arg3
= (wxPoint
*) 0 ;
33362 int arg4
= (int) 0 ;
33363 int arg5
= (int) 0 ;
33370 PyObject
* obj0
= 0 ;
33371 PyObject
* obj1
= 0 ;
33372 PyObject
* obj2
= 0 ;
33373 PyObject
* obj3
= 0 ;
33374 char * kwnames
[] = {
33375 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
33378 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:PseudoDC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33379 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33380 if (!SWIG_IsOK(res1
)) {
33381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLines" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33383 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33385 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
33386 if (arg3
== NULL
) SWIG_fail
;
33389 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
33390 if (!SWIG_IsOK(ecode4
)) {
33391 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLines" "', expected argument " "4"" of type '" "int""'");
33393 arg4
= static_cast< int >(val4
);
33396 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
33397 if (!SWIG_IsOK(ecode5
)) {
33398 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLines" "', expected argument " "5"" of type '" "int""'");
33400 arg5
= static_cast< int >(val5
);
33403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33404 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
33405 wxPyEndAllowThreads(__tstate
);
33406 if (PyErr_Occurred()) SWIG_fail
;
33408 resultobj
= SWIG_Py_Void();
33410 if (arg3
) delete [] arg3
;
33415 if (arg3
) delete [] arg3
;
33421 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33422 PyObject
*resultobj
= 0;
33423 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33425 wxPoint
*arg3
= (wxPoint
*) 0 ;
33426 int arg4
= (int) 0 ;
33427 int arg5
= (int) 0 ;
33428 int arg6
= (int) wxODDEVEN_RULE
;
33437 PyObject
* obj0
= 0 ;
33438 PyObject
* obj1
= 0 ;
33439 PyObject
* obj2
= 0 ;
33440 PyObject
* obj3
= 0 ;
33441 PyObject
* obj4
= 0 ;
33442 char * kwnames
[] = {
33443 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
33446 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:PseudoDC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
33447 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33448 if (!SWIG_IsOK(res1
)) {
33449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33451 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33453 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
33454 if (arg3
== NULL
) SWIG_fail
;
33457 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
33458 if (!SWIG_IsOK(ecode4
)) {
33459 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
33461 arg4
= static_cast< int >(val4
);
33464 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
33465 if (!SWIG_IsOK(ecode5
)) {
33466 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
33468 arg5
= static_cast< int >(val5
);
33471 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
33472 if (!SWIG_IsOK(ecode6
)) {
33473 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
33475 arg6
= static_cast< int >(val6
);
33478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33479 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
33480 wxPyEndAllowThreads(__tstate
);
33481 if (PyErr_Occurred()) SWIG_fail
;
33483 resultobj
= SWIG_Py_Void();
33485 if (arg3
) delete [] arg3
;
33490 if (arg3
) delete [] arg3
;
33496 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33497 PyObject
*resultobj
= 0;
33498 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33499 wxString
*arg2
= 0 ;
33501 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
33502 int arg5
= (int) -1 ;
33505 bool temp2
= false ;
33511 PyObject
* obj0
= 0 ;
33512 PyObject
* obj1
= 0 ;
33513 PyObject
* obj2
= 0 ;
33514 PyObject
* obj3
= 0 ;
33515 PyObject
* obj4
= 0 ;
33516 char * kwnames
[] = {
33517 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
33520 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
33521 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33522 if (!SWIG_IsOK(res1
)) {
33523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33525 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33527 arg2
= wxString_in_helper(obj1
);
33528 if (arg2
== NULL
) SWIG_fail
;
33533 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
33536 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33537 if (!SWIG_IsOK(ecode4
)) {
33538 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
33540 arg4
= static_cast< int >(val4
);
33543 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
33544 if (!SWIG_IsOK(ecode5
)) {
33545 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
33547 arg5
= static_cast< int >(val5
);
33550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33551 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
33552 wxPyEndAllowThreads(__tstate
);
33553 if (PyErr_Occurred()) SWIG_fail
;
33555 resultobj
= SWIG_Py_Void();
33570 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33571 PyObject
*resultobj
= 0;
33572 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33573 wxString
*arg2
= 0 ;
33574 wxBitmap
*arg3
= 0 ;
33576 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
33577 int arg6
= (int) -1 ;
33580 bool temp2
= false ;
33588 PyObject
* obj0
= 0 ;
33589 PyObject
* obj1
= 0 ;
33590 PyObject
* obj2
= 0 ;
33591 PyObject
* obj3
= 0 ;
33592 PyObject
* obj4
= 0 ;
33593 PyObject
* obj5
= 0 ;
33594 char * kwnames
[] = {
33595 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
33598 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PseudoDC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
33599 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33600 if (!SWIG_IsOK(res1
)) {
33601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33603 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33605 arg2
= wxString_in_helper(obj1
);
33606 if (arg2
== NULL
) SWIG_fail
;
33609 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
33610 if (!SWIG_IsOK(res3
)) {
33611 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
33614 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
33616 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
33619 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
33622 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
33623 if (!SWIG_IsOK(ecode5
)) {
33624 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
33626 arg5
= static_cast< int >(val5
);
33629 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
33630 if (!SWIG_IsOK(ecode6
)) {
33631 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
33633 arg6
= static_cast< int >(val6
);
33636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33637 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
33638 wxPyEndAllowThreads(__tstate
);
33639 if (PyErr_Occurred()) SWIG_fail
;
33641 resultobj
= SWIG_Py_Void();
33656 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33657 PyObject
*resultobj
= 0;
33658 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33660 wxPoint
*arg3
= (wxPoint
*) 0 ;
33663 PyObject
* obj0
= 0 ;
33664 PyObject
* obj1
= 0 ;
33665 char * kwnames
[] = {
33666 (char *) "self",(char *) "points", NULL
33669 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33670 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33671 if (!SWIG_IsOK(res1
)) {
33672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawSpline" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33674 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33676 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
33677 if (arg3
== NULL
) SWIG_fail
;
33680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33681 (arg1
)->DrawSpline(arg2
,arg3
);
33682 wxPyEndAllowThreads(__tstate
);
33683 if (PyErr_Occurred()) SWIG_fail
;
33685 resultobj
= SWIG_Py_Void();
33687 if (arg3
) delete [] arg3
;
33692 if (arg3
) delete [] arg3
;
33698 SWIGINTERN PyObject
*_wrap_PseudoDC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33699 PyObject
*resultobj
= 0;
33700 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33703 PyObject
*swig_obj
[1] ;
33705 if (!args
) SWIG_fail
;
33706 swig_obj
[0] = args
;
33707 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33708 if (!SWIG_IsOK(res1
)) {
33709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_Clear" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33711 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33715 wxPyEndAllowThreads(__tstate
);
33716 if (PyErr_Occurred()) SWIG_fail
;
33718 resultobj
= SWIG_Py_Void();
33725 SWIGINTERN PyObject
*_wrap_PseudoDC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33726 PyObject
*resultobj
= 0;
33727 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33733 PyObject
* obj0
= 0 ;
33734 PyObject
* obj1
= 0 ;
33735 char * kwnames
[] = {
33736 (char *) "self",(char *) "font", NULL
33739 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33740 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33741 if (!SWIG_IsOK(res1
)) {
33742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetFont" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33744 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33745 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
33746 if (!SWIG_IsOK(res2
)) {
33747 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
33750 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
33752 arg2
= reinterpret_cast< wxFont
* >(argp2
);
33754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33755 (arg1
)->SetFont((wxFont
const &)*arg2
);
33756 wxPyEndAllowThreads(__tstate
);
33757 if (PyErr_Occurred()) SWIG_fail
;
33759 resultobj
= SWIG_Py_Void();
33766 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33767 PyObject
*resultobj
= 0;
33768 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33774 PyObject
* obj0
= 0 ;
33775 PyObject
* obj1
= 0 ;
33776 char * kwnames
[] = {
33777 (char *) "self",(char *) "pen", NULL
33780 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33781 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33782 if (!SWIG_IsOK(res1
)) {
33783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33785 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33786 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
33787 if (!SWIG_IsOK(res2
)) {
33788 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
33791 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
33793 arg2
= reinterpret_cast< wxPen
* >(argp2
);
33795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33796 (arg1
)->SetPen((wxPen
const &)*arg2
);
33797 wxPyEndAllowThreads(__tstate
);
33798 if (PyErr_Occurred()) SWIG_fail
;
33800 resultobj
= SWIG_Py_Void();
33807 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33808 PyObject
*resultobj
= 0;
33809 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33810 wxBrush
*arg2
= 0 ;
33815 PyObject
* obj0
= 0 ;
33816 PyObject
* obj1
= 0 ;
33817 char * kwnames
[] = {
33818 (char *) "self",(char *) "brush", NULL
33821 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33822 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33823 if (!SWIG_IsOK(res1
)) {
33824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBrush" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33826 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33827 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
33828 if (!SWIG_IsOK(res2
)) {
33829 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
33832 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
33834 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
33836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33837 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
33838 wxPyEndAllowThreads(__tstate
);
33839 if (PyErr_Occurred()) SWIG_fail
;
33841 resultobj
= SWIG_Py_Void();
33848 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33849 PyObject
*resultobj
= 0;
33850 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33851 wxBrush
*arg2
= 0 ;
33856 PyObject
* obj0
= 0 ;
33857 PyObject
* obj1
= 0 ;
33858 char * kwnames
[] = {
33859 (char *) "self",(char *) "brush", NULL
33862 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33863 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33864 if (!SWIG_IsOK(res1
)) {
33865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33867 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33868 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
33869 if (!SWIG_IsOK(res2
)) {
33870 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
33873 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
33875 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
33877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33878 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
33879 wxPyEndAllowThreads(__tstate
);
33880 if (PyErr_Occurred()) SWIG_fail
;
33882 resultobj
= SWIG_Py_Void();
33889 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33890 PyObject
*resultobj
= 0;
33891 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33897 PyObject
* obj0
= 0 ;
33898 PyObject
* obj1
= 0 ;
33899 char * kwnames
[] = {
33900 (char *) "self",(char *) "mode", NULL
33903 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33904 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33905 if (!SWIG_IsOK(res1
)) {
33906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33908 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33909 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33910 if (!SWIG_IsOK(ecode2
)) {
33911 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
33913 arg2
= static_cast< int >(val2
);
33915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33916 (arg1
)->SetBackgroundMode(arg2
);
33917 wxPyEndAllowThreads(__tstate
);
33918 if (PyErr_Occurred()) SWIG_fail
;
33920 resultobj
= SWIG_Py_Void();
33927 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33928 PyObject
*resultobj
= 0;
33929 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33930 wxPalette
*arg2
= 0 ;
33935 PyObject
* obj0
= 0 ;
33936 PyObject
* obj1
= 0 ;
33937 char * kwnames
[] = {
33938 (char *) "self",(char *) "palette", NULL
33941 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33942 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33943 if (!SWIG_IsOK(res1
)) {
33944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPalette" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33946 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33947 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
33948 if (!SWIG_IsOK(res2
)) {
33949 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
33952 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
33954 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
33956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33957 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
33958 wxPyEndAllowThreads(__tstate
);
33959 if (PyErr_Occurred()) SWIG_fail
;
33961 resultobj
= SWIG_Py_Void();
33968 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33969 PyObject
*resultobj
= 0;
33970 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33971 wxColour
*arg2
= 0 ;
33975 PyObject
* obj0
= 0 ;
33976 PyObject
* obj1
= 0 ;
33977 char * kwnames
[] = {
33978 (char *) "self",(char *) "colour", NULL
33981 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33982 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33983 if (!SWIG_IsOK(res1
)) {
33984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextForeground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33986 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33989 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
33992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33993 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
33994 wxPyEndAllowThreads(__tstate
);
33995 if (PyErr_Occurred()) SWIG_fail
;
33997 resultobj
= SWIG_Py_Void();
34004 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34005 PyObject
*resultobj
= 0;
34006 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34007 wxColour
*arg2
= 0 ;
34011 PyObject
* obj0
= 0 ;
34012 PyObject
* obj1
= 0 ;
34013 char * kwnames
[] = {
34014 (char *) "self",(char *) "colour", NULL
34017 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34018 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34019 if (!SWIG_IsOK(res1
)) {
34020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34022 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34025 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
34028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34029 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
34030 wxPyEndAllowThreads(__tstate
);
34031 if (PyErr_Occurred()) SWIG_fail
;
34033 resultobj
= SWIG_Py_Void();
34040 SWIGINTERN PyObject
*_wrap_PseudoDC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34041 PyObject
*resultobj
= 0;
34042 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34048 PyObject
* obj0
= 0 ;
34049 PyObject
* obj1
= 0 ;
34050 char * kwnames
[] = {
34051 (char *) "self",(char *) "function", NULL
34054 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34055 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34056 if (!SWIG_IsOK(res1
)) {
34057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34059 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34060 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34061 if (!SWIG_IsOK(ecode2
)) {
34062 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
34064 arg2
= static_cast< int >(val2
);
34066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34067 (arg1
)->SetLogicalFunction(arg2
);
34068 wxPyEndAllowThreads(__tstate
);
34069 if (PyErr_Occurred()) SWIG_fail
;
34071 resultobj
= SWIG_Py_Void();
34078 SWIGINTERN PyObject
*PseudoDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34080 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34081 SWIG_TypeNewClientData(SWIGTYPE_p_wxPseudoDC
, SWIG_NewClientData(obj
));
34082 return SWIG_Py_Void();
34085 SWIGINTERN PyObject
*PseudoDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34086 return SWIG_Python_InitShadowInstance(args
);
34089 static PyMethodDef SwigMethods
[] = {
34090 { (char *)"new_GDIObject", (PyCFunction
)_wrap_new_GDIObject
, METH_NOARGS
, NULL
},
34091 { (char *)"delete_GDIObject", (PyCFunction
)_wrap_delete_GDIObject
, METH_O
, NULL
},
34092 { (char *)"GDIObject_IsNull", (PyCFunction
)_wrap_GDIObject_IsNull
, METH_O
, NULL
},
34093 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
, NULL
},
34094 { (char *)"GDIObject_swiginit", GDIObject_swiginit
, METH_VARARGS
, NULL
},
34095 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34096 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34097 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34098 { (char *)"delete_Colour", (PyCFunction
)_wrap_delete_Colour
, METH_O
, NULL
},
34099 { (char *)"Colour_Red", (PyCFunction
)_wrap_Colour_Red
, METH_O
, NULL
},
34100 { (char *)"Colour_Green", (PyCFunction
)_wrap_Colour_Green
, METH_O
, NULL
},
34101 { (char *)"Colour_Blue", (PyCFunction
)_wrap_Colour_Blue
, METH_O
, NULL
},
34102 { (char *)"Colour_Alpha", (PyCFunction
)_wrap_Colour_Alpha
, METH_O
, NULL
},
34103 { (char *)"Colour_Ok", (PyCFunction
)_wrap_Colour_Ok
, METH_O
, NULL
},
34104 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34105 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34106 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34107 { (char *)"Colour_GetAsString", (PyCFunction
) _wrap_Colour_GetAsString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34108 { (char *)"Colour_GetPixel", (PyCFunction
)_wrap_Colour_GetPixel
, METH_O
, NULL
},
34109 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34110 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34111 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34112 { (char *)"Colour_GetRGB", (PyCFunction
)_wrap_Colour_GetRGB
, METH_O
, NULL
},
34113 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
, NULL
},
34114 { (char *)"Colour_swiginit", Colour_swiginit
, METH_VARARGS
, NULL
},
34115 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34116 { (char *)"delete_Palette", (PyCFunction
)_wrap_delete_Palette
, METH_O
, NULL
},
34117 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34118 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34119 { (char *)"Palette_GetColoursCount", (PyCFunction
)_wrap_Palette_GetColoursCount
, METH_O
, NULL
},
34120 { (char *)"Palette_Ok", (PyCFunction
)_wrap_Palette_Ok
, METH_O
, NULL
},
34121 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
, NULL
},
34122 { (char *)"Palette_swiginit", Palette_swiginit
, METH_VARARGS
, NULL
},
34123 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34124 { (char *)"delete_Pen", (PyCFunction
)_wrap_delete_Pen
, METH_O
, NULL
},
34125 { (char *)"Pen_GetCap", (PyCFunction
)_wrap_Pen_GetCap
, METH_O
, NULL
},
34126 { (char *)"Pen_GetColour", (PyCFunction
)_wrap_Pen_GetColour
, METH_O
, NULL
},
34127 { (char *)"Pen_GetJoin", (PyCFunction
)_wrap_Pen_GetJoin
, METH_O
, NULL
},
34128 { (char *)"Pen_GetStyle", (PyCFunction
)_wrap_Pen_GetStyle
, METH_O
, NULL
},
34129 { (char *)"Pen_GetWidth", (PyCFunction
)_wrap_Pen_GetWidth
, METH_O
, NULL
},
34130 { (char *)"Pen_Ok", (PyCFunction
)_wrap_Pen_Ok
, METH_O
, NULL
},
34131 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34132 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34133 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34134 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34135 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34136 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34137 { (char *)"Pen_GetDashes", (PyCFunction
)_wrap_Pen_GetDashes
, METH_O
, NULL
},
34138 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34139 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34140 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34141 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
, NULL
},
34142 { (char *)"Pen_swiginit", Pen_swiginit
, METH_VARARGS
, NULL
},
34143 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34144 { (char *)"new_BrushFromBitmap", (PyCFunction
) _wrap_new_BrushFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34145 { (char *)"delete_Brush", (PyCFunction
)_wrap_delete_Brush
, METH_O
, NULL
},
34146 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34147 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34148 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34149 { (char *)"Brush_GetColour", (PyCFunction
)_wrap_Brush_GetColour
, METH_O
, NULL
},
34150 { (char *)"Brush_GetStyle", (PyCFunction
)_wrap_Brush_GetStyle
, METH_O
, NULL
},
34151 { (char *)"Brush_GetStipple", (PyCFunction
)_wrap_Brush_GetStipple
, METH_O
, NULL
},
34152 { (char *)"Brush_IsHatch", (PyCFunction
)_wrap_Brush_IsHatch
, METH_O
, NULL
},
34153 { (char *)"Brush_Ok", (PyCFunction
)_wrap_Brush_Ok
, METH_O
, NULL
},
34154 { (char *)"Brush_MacGetTheme", (PyCFunction
)_wrap_Brush_MacGetTheme
, METH_O
, NULL
},
34155 { (char *)"Brush_MacSetTheme", (PyCFunction
) _wrap_Brush_MacSetTheme
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34156 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
, NULL
},
34157 { (char *)"Brush_swiginit", Brush_swiginit
, METH_VARARGS
, NULL
},
34158 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34159 { (char *)"delete_Bitmap", (PyCFunction
)_wrap_delete_Bitmap
, METH_O
, NULL
},
34160 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34161 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34162 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34163 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34164 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34165 { (char *)"Bitmap_Ok", (PyCFunction
)_wrap_Bitmap_Ok
, METH_O
, NULL
},
34166 { (char *)"Bitmap_GetWidth", (PyCFunction
)_wrap_Bitmap_GetWidth
, METH_O
, NULL
},
34167 { (char *)"Bitmap_GetHeight", (PyCFunction
)_wrap_Bitmap_GetHeight
, METH_O
, NULL
},
34168 { (char *)"Bitmap_GetDepth", (PyCFunction
)_wrap_Bitmap_GetDepth
, METH_O
, NULL
},
34169 { (char *)"Bitmap_GetSize", (PyCFunction
)_wrap_Bitmap_GetSize
, METH_O
, NULL
},
34170 { (char *)"Bitmap_ConvertToImage", (PyCFunction
)_wrap_Bitmap_ConvertToImage
, METH_O
, NULL
},
34171 { (char *)"Bitmap_GetMask", (PyCFunction
)_wrap_Bitmap_GetMask
, METH_O
, NULL
},
34172 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34173 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34174 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34175 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34176 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34177 { (char *)"Bitmap_GetPalette", (PyCFunction
)_wrap_Bitmap_GetPalette
, METH_O
, NULL
},
34178 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34179 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34180 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34181 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34182 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34183 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34184 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34185 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
, NULL
},
34186 { (char *)"Bitmap_swiginit", Bitmap_swiginit
, METH_VARARGS
, NULL
},
34187 { (char *)"_BitmapFromBufferAlpha", (PyCFunction
) _wrap__BitmapFromBufferAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34188 { (char *)"_BitmapFromBuffer", (PyCFunction
) _wrap__BitmapFromBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34189 { (char *)"_BitmapFromBufferRGBA", (PyCFunction
) _wrap__BitmapFromBufferRGBA
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34190 { (char *)"PixelDataBase_GetOrigin", (PyCFunction
)_wrap_PixelDataBase_GetOrigin
, METH_O
, NULL
},
34191 { (char *)"PixelDataBase_GetWidth", (PyCFunction
)_wrap_PixelDataBase_GetWidth
, METH_O
, NULL
},
34192 { (char *)"PixelDataBase_GetHeight", (PyCFunction
)_wrap_PixelDataBase_GetHeight
, METH_O
, NULL
},
34193 { (char *)"PixelDataBase_GetSize", (PyCFunction
)_wrap_PixelDataBase_GetSize
, METH_O
, NULL
},
34194 { (char *)"PixelDataBase_GetRowStride", (PyCFunction
)_wrap_PixelDataBase_GetRowStride
, METH_O
, NULL
},
34195 { (char *)"PixelDataBase_swigregister", PixelDataBase_swigregister
, METH_VARARGS
, NULL
},
34196 { (char *)"new_NativePixelData", _wrap_new_NativePixelData
, METH_VARARGS
, NULL
},
34197 { (char *)"delete_NativePixelData", (PyCFunction
)_wrap_delete_NativePixelData
, METH_O
, NULL
},
34198 { (char *)"NativePixelData_GetPixels", (PyCFunction
)_wrap_NativePixelData_GetPixels
, METH_O
, NULL
},
34199 { (char *)"NativePixelData_UseAlpha", (PyCFunction
)_wrap_NativePixelData_UseAlpha
, METH_O
, NULL
},
34200 { (char *)"NativePixelData___nonzero__", (PyCFunction
)_wrap_NativePixelData___nonzero__
, METH_O
, NULL
},
34201 { (char *)"NativePixelData_swigregister", NativePixelData_swigregister
, METH_VARARGS
, NULL
},
34202 { (char *)"NativePixelData_swiginit", NativePixelData_swiginit
, METH_VARARGS
, NULL
},
34203 { (char *)"new_NativePixelData_Accessor", _wrap_new_NativePixelData_Accessor
, METH_VARARGS
, NULL
},
34204 { (char *)"delete_NativePixelData_Accessor", (PyCFunction
)_wrap_delete_NativePixelData_Accessor
, METH_O
, NULL
},
34205 { (char *)"NativePixelData_Accessor_Reset", (PyCFunction
) _wrap_NativePixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34206 { (char *)"NativePixelData_Accessor_IsOk", (PyCFunction
)_wrap_NativePixelData_Accessor_IsOk
, METH_O
, NULL
},
34207 { (char *)"NativePixelData_Accessor_nextPixel", (PyCFunction
)_wrap_NativePixelData_Accessor_nextPixel
, METH_O
, NULL
},
34208 { (char *)"NativePixelData_Accessor_Offset", (PyCFunction
) _wrap_NativePixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34209 { (char *)"NativePixelData_Accessor_OffsetX", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34210 { (char *)"NativePixelData_Accessor_OffsetY", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34211 { (char *)"NativePixelData_Accessor_MoveTo", (PyCFunction
) _wrap_NativePixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34212 { (char *)"NativePixelData_Accessor_Set", (PyCFunction
) _wrap_NativePixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34213 { (char *)"NativePixelData_Accessor_Get", (PyCFunction
)_wrap_NativePixelData_Accessor_Get
, METH_O
, NULL
},
34214 { (char *)"NativePixelData_Accessor_swigregister", NativePixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
34215 { (char *)"NativePixelData_Accessor_swiginit", NativePixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
34216 { (char *)"new_AlphaPixelData", _wrap_new_AlphaPixelData
, METH_VARARGS
, NULL
},
34217 { (char *)"delete_AlphaPixelData", (PyCFunction
)_wrap_delete_AlphaPixelData
, METH_O
, NULL
},
34218 { (char *)"AlphaPixelData_GetPixels", (PyCFunction
)_wrap_AlphaPixelData_GetPixels
, METH_O
, NULL
},
34219 { (char *)"AlphaPixelData_UseAlpha", (PyCFunction
)_wrap_AlphaPixelData_UseAlpha
, METH_O
, NULL
},
34220 { (char *)"AlphaPixelData___nonzero__", (PyCFunction
)_wrap_AlphaPixelData___nonzero__
, METH_O
, NULL
},
34221 { (char *)"AlphaPixelData_swigregister", AlphaPixelData_swigregister
, METH_VARARGS
, NULL
},
34222 { (char *)"AlphaPixelData_swiginit", AlphaPixelData_swiginit
, METH_VARARGS
, NULL
},
34223 { (char *)"new_AlphaPixelData_Accessor", _wrap_new_AlphaPixelData_Accessor
, METH_VARARGS
, NULL
},
34224 { (char *)"delete_AlphaPixelData_Accessor", (PyCFunction
)_wrap_delete_AlphaPixelData_Accessor
, METH_O
, NULL
},
34225 { (char *)"AlphaPixelData_Accessor_Reset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34226 { (char *)"AlphaPixelData_Accessor_IsOk", (PyCFunction
)_wrap_AlphaPixelData_Accessor_IsOk
, METH_O
, NULL
},
34227 { (char *)"AlphaPixelData_Accessor_nextPixel", (PyCFunction
)_wrap_AlphaPixelData_Accessor_nextPixel
, METH_O
, NULL
},
34228 { (char *)"AlphaPixelData_Accessor_Offset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34229 { (char *)"AlphaPixelData_Accessor_OffsetX", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34230 { (char *)"AlphaPixelData_Accessor_OffsetY", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34231 { (char *)"AlphaPixelData_Accessor_MoveTo", (PyCFunction
) _wrap_AlphaPixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34232 { (char *)"AlphaPixelData_Accessor_Set", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34233 { (char *)"AlphaPixelData_Accessor_Get", (PyCFunction
)_wrap_AlphaPixelData_Accessor_Get
, METH_O
, NULL
},
34234 { (char *)"AlphaPixelData_Accessor_swigregister", AlphaPixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
34235 { (char *)"AlphaPixelData_Accessor_swiginit", AlphaPixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
34236 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34237 { (char *)"delete_Mask", (PyCFunction
)_wrap_delete_Mask
, METH_O
, NULL
},
34238 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
, NULL
},
34239 { (char *)"Mask_swiginit", Mask_swiginit
, METH_VARARGS
, NULL
},
34240 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34241 { (char *)"delete_Icon", (PyCFunction
)_wrap_delete_Icon
, METH_O
, NULL
},
34242 { (char *)"new_EmptyIcon", (PyCFunction
)_wrap_new_EmptyIcon
, METH_NOARGS
, NULL
},
34243 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34244 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34245 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34246 { (char *)"Icon_Ok", (PyCFunction
)_wrap_Icon_Ok
, METH_O
, NULL
},
34247 { (char *)"Icon_GetWidth", (PyCFunction
)_wrap_Icon_GetWidth
, METH_O
, NULL
},
34248 { (char *)"Icon_GetHeight", (PyCFunction
)_wrap_Icon_GetHeight
, METH_O
, NULL
},
34249 { (char *)"Icon_GetDepth", (PyCFunction
)_wrap_Icon_GetDepth
, METH_O
, NULL
},
34250 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34251 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34252 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34253 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34254 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
, NULL
},
34255 { (char *)"Icon_swiginit", Icon_swiginit
, METH_VARARGS
, NULL
},
34256 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34257 { (char *)"delete_IconLocation", (PyCFunction
)_wrap_delete_IconLocation
, METH_O
, NULL
},
34258 { (char *)"IconLocation_IsOk", (PyCFunction
)_wrap_IconLocation_IsOk
, METH_O
, NULL
},
34259 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34260 { (char *)"IconLocation_GetFileName", (PyCFunction
)_wrap_IconLocation_GetFileName
, METH_O
, NULL
},
34261 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34262 { (char *)"IconLocation_GetIndex", (PyCFunction
)_wrap_IconLocation_GetIndex
, METH_O
, NULL
},
34263 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
, NULL
},
34264 { (char *)"IconLocation_swiginit", IconLocation_swiginit
, METH_VARARGS
, NULL
},
34265 { (char *)"new_IconBundle", (PyCFunction
)_wrap_new_IconBundle
, METH_NOARGS
, NULL
},
34266 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34267 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34268 { (char *)"delete_IconBundle", (PyCFunction
)_wrap_delete_IconBundle
, METH_O
, NULL
},
34269 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34270 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34271 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34272 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
, NULL
},
34273 { (char *)"IconBundle_swiginit", IconBundle_swiginit
, METH_VARARGS
, NULL
},
34274 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34275 { (char *)"delete_Cursor", (PyCFunction
)_wrap_delete_Cursor
, METH_O
, NULL
},
34276 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34277 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34278 { (char *)"Cursor_Ok", (PyCFunction
)_wrap_Cursor_Ok
, METH_O
, NULL
},
34279 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
, NULL
},
34280 { (char *)"Cursor_swiginit", Cursor_swiginit
, METH_VARARGS
, NULL
},
34281 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34282 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34283 { (char *)"new_RegionFromBitmapColour", (PyCFunction
) _wrap_new_RegionFromBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34284 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34285 { (char *)"delete_Region", (PyCFunction
)_wrap_delete_Region
, METH_O
, NULL
},
34286 { (char *)"Region_Clear", (PyCFunction
)_wrap_Region_Clear
, METH_O
, NULL
},
34287 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34288 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34289 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34290 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34291 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34292 { (char *)"Region_GetBox", (PyCFunction
)_wrap_Region_GetBox
, METH_O
, NULL
},
34293 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34294 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34295 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34296 { (char *)"Region_IsEmpty", (PyCFunction
)_wrap_Region_IsEmpty
, METH_O
, NULL
},
34297 { (char *)"Region_IsEqual", (PyCFunction
) _wrap_Region_IsEqual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34298 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34299 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34300 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34301 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34302 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34303 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34304 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34305 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34306 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34307 { (char *)"Region_ConvertToBitmap", (PyCFunction
)_wrap_Region_ConvertToBitmap
, METH_O
, NULL
},
34308 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34309 { (char *)"Region_UnionBitmapColour", (PyCFunction
) _wrap_Region_UnionBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34310 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
, NULL
},
34311 { (char *)"Region_swiginit", Region_swiginit
, METH_VARARGS
, NULL
},
34312 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34313 { (char *)"delete_RegionIterator", (PyCFunction
)_wrap_delete_RegionIterator
, METH_O
, NULL
},
34314 { (char *)"RegionIterator_GetX", (PyCFunction
)_wrap_RegionIterator_GetX
, METH_O
, NULL
},
34315 { (char *)"RegionIterator_GetY", (PyCFunction
)_wrap_RegionIterator_GetY
, METH_O
, NULL
},
34316 { (char *)"RegionIterator_GetW", (PyCFunction
)_wrap_RegionIterator_GetW
, METH_O
, NULL
},
34317 { (char *)"RegionIterator_GetWidth", (PyCFunction
)_wrap_RegionIterator_GetWidth
, METH_O
, NULL
},
34318 { (char *)"RegionIterator_GetH", (PyCFunction
)_wrap_RegionIterator_GetH
, METH_O
, NULL
},
34319 { (char *)"RegionIterator_GetHeight", (PyCFunction
)_wrap_RegionIterator_GetHeight
, METH_O
, NULL
},
34320 { (char *)"RegionIterator_GetRect", (PyCFunction
)_wrap_RegionIterator_GetRect
, METH_O
, NULL
},
34321 { (char *)"RegionIterator_HaveRects", (PyCFunction
)_wrap_RegionIterator_HaveRects
, METH_O
, NULL
},
34322 { (char *)"RegionIterator_Reset", (PyCFunction
)_wrap_RegionIterator_Reset
, METH_O
, NULL
},
34323 { (char *)"RegionIterator_Next", (PyCFunction
)_wrap_RegionIterator_Next
, METH_O
, NULL
},
34324 { (char *)"RegionIterator___nonzero__", (PyCFunction
)_wrap_RegionIterator___nonzero__
, METH_O
, NULL
},
34325 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
, NULL
},
34326 { (char *)"RegionIterator_swiginit", RegionIterator_swiginit
, METH_VARARGS
, NULL
},
34327 { (char *)"new_NativeFontInfo", (PyCFunction
)_wrap_new_NativeFontInfo
, METH_NOARGS
, NULL
},
34328 { (char *)"delete_NativeFontInfo", (PyCFunction
)_wrap_delete_NativeFontInfo
, METH_O
, NULL
},
34329 { (char *)"NativeFontInfo_Init", (PyCFunction
)_wrap_NativeFontInfo_Init
, METH_O
, NULL
},
34330 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34331 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
)_wrap_NativeFontInfo_GetPointSize
, METH_O
, NULL
},
34332 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
)_wrap_NativeFontInfo_GetStyle
, METH_O
, NULL
},
34333 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
)_wrap_NativeFontInfo_GetWeight
, METH_O
, NULL
},
34334 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
)_wrap_NativeFontInfo_GetUnderlined
, METH_O
, NULL
},
34335 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
)_wrap_NativeFontInfo_GetFaceName
, METH_O
, NULL
},
34336 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
)_wrap_NativeFontInfo_GetFamily
, METH_O
, NULL
},
34337 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
)_wrap_NativeFontInfo_GetEncoding
, METH_O
, NULL
},
34338 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34339 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34340 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34341 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34342 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34343 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34344 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34345 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34346 { (char *)"NativeFontInfo_ToString", (PyCFunction
)_wrap_NativeFontInfo_ToString
, METH_O
, NULL
},
34347 { (char *)"NativeFontInfo___str__", (PyCFunction
)_wrap_NativeFontInfo___str__
, METH_O
, NULL
},
34348 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34349 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
)_wrap_NativeFontInfo_ToUserString
, METH_O
, NULL
},
34350 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
, NULL
},
34351 { (char *)"NativeFontInfo_swiginit", NativeFontInfo_swiginit
, METH_VARARGS
, NULL
},
34352 { (char *)"NativeEncodingInfo_facename_set", _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
, NULL
},
34353 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
)_wrap_NativeEncodingInfo_facename_get
, METH_O
, NULL
},
34354 { (char *)"NativeEncodingInfo_encoding_set", _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
, NULL
},
34355 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
)_wrap_NativeEncodingInfo_encoding_get
, METH_O
, NULL
},
34356 { (char *)"new_NativeEncodingInfo", (PyCFunction
)_wrap_new_NativeEncodingInfo
, METH_NOARGS
, NULL
},
34357 { (char *)"delete_NativeEncodingInfo", (PyCFunction
)_wrap_delete_NativeEncodingInfo
, METH_O
, NULL
},
34358 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34359 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
)_wrap_NativeEncodingInfo_ToString
, METH_O
, NULL
},
34360 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
, NULL
},
34361 { (char *)"NativeEncodingInfo_swiginit", NativeEncodingInfo_swiginit
, METH_VARARGS
, NULL
},
34362 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34363 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34364 { (char *)"new_FontMapper", (PyCFunction
)_wrap_new_FontMapper
, METH_NOARGS
, NULL
},
34365 { (char *)"delete_FontMapper", (PyCFunction
)_wrap_delete_FontMapper
, METH_O
, NULL
},
34366 { (char *)"FontMapper_Get", (PyCFunction
)_wrap_FontMapper_Get
, METH_NOARGS
, NULL
},
34367 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34368 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34369 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
)_wrap_FontMapper_GetSupportedEncodingsCount
, METH_NOARGS
, NULL
},
34370 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34371 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34372 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34373 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34374 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34375 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
)_wrap_FontMapper_GetDefaultConfigPath
, METH_NOARGS
, NULL
},
34376 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34377 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34378 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34379 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34380 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
, NULL
},
34381 { (char *)"FontMapper_swiginit", FontMapper_swiginit
, METH_VARARGS
, NULL
},
34382 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34383 { (char *)"delete_Font", (PyCFunction
)_wrap_delete_Font
, METH_O
, NULL
},
34384 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34385 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34386 { (char *)"new_FFont", (PyCFunction
) _wrap_new_FFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34387 { (char *)"new_FontFromPixelSize", (PyCFunction
) _wrap_new_FontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34388 { (char *)"new_FFontFromPixelSize", (PyCFunction
) _wrap_new_FFontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34389 { (char *)"Font_Ok", (PyCFunction
)_wrap_Font_Ok
, METH_O
, NULL
},
34390 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34391 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34392 { (char *)"Font_GetPointSize", (PyCFunction
)_wrap_Font_GetPointSize
, METH_O
, NULL
},
34393 { (char *)"Font_GetPixelSize", (PyCFunction
)_wrap_Font_GetPixelSize
, METH_O
, NULL
},
34394 { (char *)"Font_IsUsingSizeInPixels", (PyCFunction
)_wrap_Font_IsUsingSizeInPixels
, METH_O
, NULL
},
34395 { (char *)"Font_GetFamily", (PyCFunction
)_wrap_Font_GetFamily
, METH_O
, NULL
},
34396 { (char *)"Font_GetStyle", (PyCFunction
)_wrap_Font_GetStyle
, METH_O
, NULL
},
34397 { (char *)"Font_GetWeight", (PyCFunction
)_wrap_Font_GetWeight
, METH_O
, NULL
},
34398 { (char *)"Font_GetUnderlined", (PyCFunction
)_wrap_Font_GetUnderlined
, METH_O
, NULL
},
34399 { (char *)"Font_GetFaceName", (PyCFunction
)_wrap_Font_GetFaceName
, METH_O
, NULL
},
34400 { (char *)"Font_GetEncoding", (PyCFunction
)_wrap_Font_GetEncoding
, METH_O
, NULL
},
34401 { (char *)"Font_GetNativeFontInfo", (PyCFunction
)_wrap_Font_GetNativeFontInfo
, METH_O
, NULL
},
34402 { (char *)"Font_IsFixedWidth", (PyCFunction
)_wrap_Font_IsFixedWidth
, METH_O
, NULL
},
34403 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoDesc
, METH_O
, NULL
},
34404 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoUserDesc
, METH_O
, NULL
},
34405 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34406 { (char *)"Font_SetPixelSize", (PyCFunction
) _wrap_Font_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34407 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34408 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34409 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34410 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34411 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34412 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34413 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34414 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34415 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34416 { (char *)"Font_GetFamilyString", (PyCFunction
)_wrap_Font_GetFamilyString
, METH_O
, NULL
},
34417 { (char *)"Font_GetStyleString", (PyCFunction
)_wrap_Font_GetStyleString
, METH_O
, NULL
},
34418 { (char *)"Font_GetWeightString", (PyCFunction
)_wrap_Font_GetWeightString
, METH_O
, NULL
},
34419 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34420 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
)_wrap_Font_GetNoAntiAliasing
, METH_O
, NULL
},
34421 { (char *)"Font_GetDefaultEncoding", (PyCFunction
)_wrap_Font_GetDefaultEncoding
, METH_NOARGS
, NULL
},
34422 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34423 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
, NULL
},
34424 { (char *)"Font_swiginit", Font_swiginit
, METH_VARARGS
, NULL
},
34425 { (char *)"new_FontEnumerator", (PyCFunction
)_wrap_new_FontEnumerator
, METH_NOARGS
, NULL
},
34426 { (char *)"delete_FontEnumerator", (PyCFunction
)_wrap_delete_FontEnumerator
, METH_O
, NULL
},
34427 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34428 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34429 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34430 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
)_wrap_FontEnumerator_GetEncodings
, METH_NOARGS
, NULL
},
34431 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
)_wrap_FontEnumerator_GetFacenames
, METH_NOARGS
, NULL
},
34432 { (char *)"FontEnumerator_IsValidFacename", (PyCFunction
) _wrap_FontEnumerator_IsValidFacename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34433 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
, NULL
},
34434 { (char *)"FontEnumerator_swiginit", FontEnumerator_swiginit
, METH_VARARGS
, NULL
},
34435 { (char *)"LanguageInfo_Language_set", _wrap_LanguageInfo_Language_set
, METH_VARARGS
, NULL
},
34436 { (char *)"LanguageInfo_Language_get", (PyCFunction
)_wrap_LanguageInfo_Language_get
, METH_O
, NULL
},
34437 { (char *)"LanguageInfo_CanonicalName_set", _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
, NULL
},
34438 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
)_wrap_LanguageInfo_CanonicalName_get
, METH_O
, NULL
},
34439 { (char *)"LanguageInfo_Description_set", _wrap_LanguageInfo_Description_set
, METH_VARARGS
, NULL
},
34440 { (char *)"LanguageInfo_Description_get", (PyCFunction
)_wrap_LanguageInfo_Description_get
, METH_O
, NULL
},
34441 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
, NULL
},
34442 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34443 { (char *)"delete_Locale", (PyCFunction
)_wrap_delete_Locale
, METH_O
, NULL
},
34444 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34445 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34446 { (char *)"Locale_GetSystemLanguage", (PyCFunction
)_wrap_Locale_GetSystemLanguage
, METH_NOARGS
, NULL
},
34447 { (char *)"Locale_GetSystemEncoding", (PyCFunction
)_wrap_Locale_GetSystemEncoding
, METH_NOARGS
, NULL
},
34448 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
)_wrap_Locale_GetSystemEncodingName
, METH_NOARGS
, NULL
},
34449 { (char *)"Locale_IsOk", (PyCFunction
)_wrap_Locale_IsOk
, METH_O
, NULL
},
34450 { (char *)"Locale_GetLocale", (PyCFunction
)_wrap_Locale_GetLocale
, METH_O
, NULL
},
34451 { (char *)"Locale_GetLanguage", (PyCFunction
)_wrap_Locale_GetLanguage
, METH_O
, NULL
},
34452 { (char *)"Locale_GetSysName", (PyCFunction
)_wrap_Locale_GetSysName
, METH_O
, NULL
},
34453 { (char *)"Locale_GetCanonicalName", (PyCFunction
)_wrap_Locale_GetCanonicalName
, METH_O
, NULL
},
34454 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34455 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34456 { (char *)"Locale_IsAvailable", (PyCFunction
) _wrap_Locale_IsAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34457 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34458 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34459 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34460 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34461 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34462 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34463 { (char *)"Locale_GetName", (PyCFunction
)_wrap_Locale_GetName
, METH_O
, NULL
},
34464 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
, NULL
},
34465 { (char *)"Locale_swiginit", Locale_swiginit
, METH_VARARGS
, NULL
},
34466 { (char *)"new_PyLocale", (PyCFunction
) _wrap_new_PyLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34467 { (char *)"delete_PyLocale", (PyCFunction
)_wrap_delete_PyLocale
, METH_O
, NULL
},
34468 { (char *)"PyLocale__setCallbackInfo", (PyCFunction
) _wrap_PyLocale__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34469 { (char *)"PyLocale_GetSingularString", (PyCFunction
) _wrap_PyLocale_GetSingularString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34470 { (char *)"PyLocale_GetPluralString", (PyCFunction
) _wrap_PyLocale_GetPluralString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34471 { (char *)"PyLocale_swigregister", PyLocale_swigregister
, METH_VARARGS
, NULL
},
34472 { (char *)"PyLocale_swiginit", PyLocale_swiginit
, METH_VARARGS
, NULL
},
34473 { (char *)"GetLocale", (PyCFunction
)_wrap_GetLocale
, METH_NOARGS
, NULL
},
34474 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
, NULL
},
34475 { (char *)"new_EncodingConverter", (PyCFunction
)_wrap_new_EncodingConverter
, METH_NOARGS
, NULL
},
34476 { (char *)"delete_EncodingConverter", (PyCFunction
)_wrap_delete_EncodingConverter
, METH_O
, NULL
},
34477 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34478 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34479 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34480 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34481 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34482 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
, NULL
},
34483 { (char *)"EncodingConverter_swiginit", EncodingConverter_swiginit
, METH_VARARGS
, NULL
},
34484 { (char *)"delete_DC", (PyCFunction
)_wrap_delete_DC
, METH_O
, NULL
},
34485 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34486 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34487 { (char *)"DC_GradientFillConcentric", (PyCFunction
) _wrap_DC_GradientFillConcentric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34488 { (char *)"DC_GradientFillLinear", (PyCFunction
) _wrap_DC_GradientFillLinear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34489 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34490 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34491 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34492 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34493 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34494 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34495 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34496 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34497 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34498 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34499 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34500 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34501 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34502 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34503 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34504 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34505 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34506 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34507 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34508 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34509 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34510 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34511 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34512 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34513 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34514 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34515 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34516 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34517 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34518 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34519 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34520 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34521 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34522 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34523 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34524 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34525 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34526 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34527 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34528 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34529 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34530 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34531 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34532 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34533 { (char *)"DC_Clear", (PyCFunction
)_wrap_DC_Clear
, METH_O
, NULL
},
34534 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34535 { (char *)"DC_EndDoc", (PyCFunction
)_wrap_DC_EndDoc
, METH_O
, NULL
},
34536 { (char *)"DC_StartPage", (PyCFunction
)_wrap_DC_StartPage
, METH_O
, NULL
},
34537 { (char *)"DC_EndPage", (PyCFunction
)_wrap_DC_EndPage
, METH_O
, NULL
},
34538 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34539 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34540 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34541 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34542 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34543 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34544 { (char *)"DC_DestroyClippingRegion", (PyCFunction
)_wrap_DC_DestroyClippingRegion
, METH_O
, NULL
},
34545 { (char *)"DC_GetClippingBox", (PyCFunction
)_wrap_DC_GetClippingBox
, METH_O
, NULL
},
34546 { (char *)"DC_GetClippingRect", (PyCFunction
)_wrap_DC_GetClippingRect
, METH_O
, NULL
},
34547 { (char *)"DC_GetCharHeight", (PyCFunction
)_wrap_DC_GetCharHeight
, METH_O
, NULL
},
34548 { (char *)"DC_GetCharWidth", (PyCFunction
)_wrap_DC_GetCharWidth
, METH_O
, NULL
},
34549 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34550 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34551 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34552 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34553 { (char *)"DC_GetSize", (PyCFunction
)_wrap_DC_GetSize
, METH_O
, NULL
},
34554 { (char *)"DC_GetSizeTuple", (PyCFunction
)_wrap_DC_GetSizeTuple
, METH_O
, NULL
},
34555 { (char *)"DC_GetSizeMM", (PyCFunction
)_wrap_DC_GetSizeMM
, METH_O
, NULL
},
34556 { (char *)"DC_GetSizeMMTuple", (PyCFunction
)_wrap_DC_GetSizeMMTuple
, METH_O
, NULL
},
34557 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34558 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34559 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34560 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34561 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34562 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34563 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34564 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34565 { (char *)"DC_CanDrawBitmap", (PyCFunction
)_wrap_DC_CanDrawBitmap
, METH_O
, NULL
},
34566 { (char *)"DC_CanGetTextExtent", (PyCFunction
)_wrap_DC_CanGetTextExtent
, METH_O
, NULL
},
34567 { (char *)"DC_GetDepth", (PyCFunction
)_wrap_DC_GetDepth
, METH_O
, NULL
},
34568 { (char *)"DC_GetPPI", (PyCFunction
)_wrap_DC_GetPPI
, METH_O
, NULL
},
34569 { (char *)"DC_Ok", (PyCFunction
)_wrap_DC_Ok
, METH_O
, NULL
},
34570 { (char *)"DC_GetBackgroundMode", (PyCFunction
)_wrap_DC_GetBackgroundMode
, METH_O
, NULL
},
34571 { (char *)"DC_GetBackground", (PyCFunction
)_wrap_DC_GetBackground
, METH_O
, NULL
},
34572 { (char *)"DC_GetBrush", (PyCFunction
)_wrap_DC_GetBrush
, METH_O
, NULL
},
34573 { (char *)"DC_GetFont", (PyCFunction
)_wrap_DC_GetFont
, METH_O
, NULL
},
34574 { (char *)"DC_GetPen", (PyCFunction
)_wrap_DC_GetPen
, METH_O
, NULL
},
34575 { (char *)"DC_GetTextBackground", (PyCFunction
)_wrap_DC_GetTextBackground
, METH_O
, NULL
},
34576 { (char *)"DC_GetTextForeground", (PyCFunction
)_wrap_DC_GetTextForeground
, METH_O
, NULL
},
34577 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34578 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34579 { (char *)"DC_GetMapMode", (PyCFunction
)_wrap_DC_GetMapMode
, METH_O
, NULL
},
34580 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34581 { (char *)"DC_GetUserScale", (PyCFunction
)_wrap_DC_GetUserScale
, METH_O
, NULL
},
34582 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34583 { (char *)"DC_GetLogicalScale", (PyCFunction
)_wrap_DC_GetLogicalScale
, METH_O
, NULL
},
34584 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34585 { (char *)"DC_GetLogicalOrigin", (PyCFunction
)_wrap_DC_GetLogicalOrigin
, METH_O
, NULL
},
34586 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
)_wrap_DC_GetLogicalOriginTuple
, METH_O
, NULL
},
34587 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34588 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34589 { (char *)"DC_GetDeviceOrigin", (PyCFunction
)_wrap_DC_GetDeviceOrigin
, METH_O
, NULL
},
34590 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
)_wrap_DC_GetDeviceOriginTuple
, METH_O
, NULL
},
34591 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34592 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34593 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34594 { (char *)"DC_GetLogicalFunction", (PyCFunction
)_wrap_DC_GetLogicalFunction
, METH_O
, NULL
},
34595 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34596 { (char *)"DC_ComputeScaleAndOrigin", (PyCFunction
)_wrap_DC_ComputeScaleAndOrigin
, METH_O
, NULL
},
34597 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34598 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34599 { (char *)"DC_ResetBoundingBox", (PyCFunction
)_wrap_DC_ResetBoundingBox
, METH_O
, NULL
},
34600 { (char *)"DC_MinX", (PyCFunction
)_wrap_DC_MinX
, METH_O
, NULL
},
34601 { (char *)"DC_MaxX", (PyCFunction
)_wrap_DC_MaxX
, METH_O
, NULL
},
34602 { (char *)"DC_MinY", (PyCFunction
)_wrap_DC_MinY
, METH_O
, NULL
},
34603 { (char *)"DC_MaxY", (PyCFunction
)_wrap_DC_MaxY
, METH_O
, NULL
},
34604 { (char *)"DC_GetBoundingBox", (PyCFunction
)_wrap_DC_GetBoundingBox
, METH_O
, NULL
},
34605 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34606 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34607 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34608 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34609 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34610 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34611 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
, NULL
},
34612 { (char *)"new_MemoryDC", (PyCFunction
)_wrap_new_MemoryDC
, METH_NOARGS
, NULL
},
34613 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34614 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34615 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
, NULL
},
34616 { (char *)"MemoryDC_swiginit", MemoryDC_swiginit
, METH_VARARGS
, NULL
},
34617 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
, NULL
},
34618 { (char *)"delete_BufferedDC", (PyCFunction
)_wrap_delete_BufferedDC
, METH_O
, NULL
},
34619 { (char *)"BufferedDC_UnMask", (PyCFunction
)_wrap_BufferedDC_UnMask
, METH_O
, NULL
},
34620 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
, NULL
},
34621 { (char *)"BufferedDC_swiginit", BufferedDC_swiginit
, METH_VARARGS
, NULL
},
34622 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34623 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
34624 { (char *)"BufferedPaintDC_swiginit", BufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
34625 { (char *)"new_ScreenDC", (PyCFunction
)_wrap_new_ScreenDC
, METH_NOARGS
, NULL
},
34626 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34627 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34628 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
)_wrap_ScreenDC_EndDrawingOnTop
, METH_O
, NULL
},
34629 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
, NULL
},
34630 { (char *)"ScreenDC_swiginit", ScreenDC_swiginit
, METH_VARARGS
, NULL
},
34631 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34632 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
, NULL
},
34633 { (char *)"WindowDC_swiginit", WindowDC_swiginit
, METH_VARARGS
, NULL
},
34634 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34635 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
, NULL
},
34636 { (char *)"ClientDC_swiginit", ClientDC_swiginit
, METH_VARARGS
, NULL
},
34637 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34638 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
, NULL
},
34639 { (char *)"PaintDC_swiginit", PaintDC_swiginit
, METH_VARARGS
, NULL
},
34640 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34641 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
, NULL
},
34642 { (char *)"MirrorDC_swiginit", MirrorDC_swiginit
, METH_VARARGS
, NULL
},
34643 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34644 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
)_wrap_PostScriptDC_GetPrintData
, METH_O
, NULL
},
34645 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34646 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34647 { (char *)"PostScriptDC_GetResolution", (PyCFunction
)_wrap_PostScriptDC_GetResolution
, METH_NOARGS
, NULL
},
34648 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
, NULL
},
34649 { (char *)"PostScriptDC_swiginit", PostScriptDC_swiginit
, METH_VARARGS
, NULL
},
34650 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34651 { (char *)"delete_MetaFile", (PyCFunction
)_wrap_delete_MetaFile
, METH_O
, NULL
},
34652 { (char *)"MetaFile_Ok", (PyCFunction
)_wrap_MetaFile_Ok
, METH_O
, NULL
},
34653 { (char *)"MetaFile_SetClipboard", (PyCFunction
) _wrap_MetaFile_SetClipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34654 { (char *)"MetaFile_GetSize", (PyCFunction
)_wrap_MetaFile_GetSize
, METH_O
, NULL
},
34655 { (char *)"MetaFile_GetWidth", (PyCFunction
)_wrap_MetaFile_GetWidth
, METH_O
, NULL
},
34656 { (char *)"MetaFile_GetHeight", (PyCFunction
)_wrap_MetaFile_GetHeight
, METH_O
, NULL
},
34657 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
, NULL
},
34658 { (char *)"MetaFile_swiginit", MetaFile_swiginit
, METH_VARARGS
, NULL
},
34659 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34660 { (char *)"MetaFileDC_Close", (PyCFunction
)_wrap_MetaFileDC_Close
, METH_O
, NULL
},
34661 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
, NULL
},
34662 { (char *)"MetaFileDC_swiginit", MetaFileDC_swiginit
, METH_VARARGS
, NULL
},
34663 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34664 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
, NULL
},
34665 { (char *)"PrinterDC_swiginit", PrinterDC_swiginit
, METH_VARARGS
, NULL
},
34666 { (char *)"delete_GraphicsPath", (PyCFunction
)_wrap_delete_GraphicsPath
, METH_O
, NULL
},
34667 { (char *)"GraphicsPath_MoveToPoint", (PyCFunction
) _wrap_GraphicsPath_MoveToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34668 { (char *)"GraphicsPath_AddLineToPoint", (PyCFunction
) _wrap_GraphicsPath_AddLineToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34669 { (char *)"GraphicsPath_AddCurveToPoint", (PyCFunction
) _wrap_GraphicsPath_AddCurveToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34670 { (char *)"GraphicsPath_CloseSubpath", (PyCFunction
)_wrap_GraphicsPath_CloseSubpath
, METH_O
, NULL
},
34671 { (char *)"GraphicsPath_GetCurrentPoint", (PyCFunction
)_wrap_GraphicsPath_GetCurrentPoint
, METH_O
, NULL
},
34672 { (char *)"GraphicsPath_AddArc", (PyCFunction
) _wrap_GraphicsPath_AddArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34673 { (char *)"GraphicsPath_AddQuadCurveToPoint", (PyCFunction
) _wrap_GraphicsPath_AddQuadCurveToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34674 { (char *)"GraphicsPath_AddRectangle", (PyCFunction
) _wrap_GraphicsPath_AddRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34675 { (char *)"GraphicsPath_AddCircle", (PyCFunction
) _wrap_GraphicsPath_AddCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34676 { (char *)"GraphicsPath_AddArcToPoint", (PyCFunction
) _wrap_GraphicsPath_AddArcToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34677 { (char *)"GraphicsPath_swigregister", GraphicsPath_swigregister
, METH_VARARGS
, NULL
},
34678 { (char *)"delete_GraphicsContext", (PyCFunction
)_wrap_delete_GraphicsContext
, METH_O
, NULL
},
34679 { (char *)"GraphicsContext_Create", (PyCFunction
) _wrap_GraphicsContext_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34680 { (char *)"GraphicsContext_CreatePath", (PyCFunction
)_wrap_GraphicsContext_CreatePath
, METH_O
, NULL
},
34681 { (char *)"GraphicsContext_PushState", (PyCFunction
)_wrap_GraphicsContext_PushState
, METH_O
, NULL
},
34682 { (char *)"GraphicsContext_PopState", (PyCFunction
)_wrap_GraphicsContext_PopState
, METH_O
, NULL
},
34683 { (char *)"GraphicsContext_Clip", (PyCFunction
) _wrap_GraphicsContext_Clip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34684 { (char *)"GraphicsContext_Translate", (PyCFunction
) _wrap_GraphicsContext_Translate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34685 { (char *)"GraphicsContext_Scale", (PyCFunction
) _wrap_GraphicsContext_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34686 { (char *)"GraphicsContext_Rotate", (PyCFunction
) _wrap_GraphicsContext_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34687 { (char *)"GraphicsContext_SetPen", (PyCFunction
) _wrap_GraphicsContext_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34688 { (char *)"GraphicsContext_SetBrush", (PyCFunction
) _wrap_GraphicsContext_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34689 { (char *)"GraphicsContext_SetLinearGradientBrush", (PyCFunction
) _wrap_GraphicsContext_SetLinearGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34690 { (char *)"GraphicsContext_SetRadialGradientBrush", (PyCFunction
) _wrap_GraphicsContext_SetRadialGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34691 { (char *)"GraphicsContext_SetFont", (PyCFunction
) _wrap_GraphicsContext_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34692 { (char *)"GraphicsContext_SetTextColor", (PyCFunction
) _wrap_GraphicsContext_SetTextColor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34693 { (char *)"GraphicsContext_StrokePath", (PyCFunction
) _wrap_GraphicsContext_StrokePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34694 { (char *)"GraphicsContext_FillPath", (PyCFunction
) _wrap_GraphicsContext_FillPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34695 { (char *)"GraphicsContext_DrawPath", (PyCFunction
) _wrap_GraphicsContext_DrawPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34696 { (char *)"GraphicsContext_DrawText", _wrap_GraphicsContext_DrawText
, METH_VARARGS
, NULL
},
34697 { (char *)"GraphicsContext_GetTextExtent", (PyCFunction
) _wrap_GraphicsContext_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34698 { (char *)"GraphicsContext_GetPartialTextExtents", (PyCFunction
) _wrap_GraphicsContext_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34699 { (char *)"GraphicsContext_DrawBitmap", (PyCFunction
) _wrap_GraphicsContext_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34700 { (char *)"GraphicsContext_DrawIcon", (PyCFunction
) _wrap_GraphicsContext_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34701 { (char *)"GraphicsContext_StrokeLine", (PyCFunction
) _wrap_GraphicsContext_StrokeLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34702 { (char *)"GraphicsContext_StrokeLines", _wrap_GraphicsContext_StrokeLines
, METH_VARARGS
, NULL
},
34703 { (char *)"GraphicsContext_DrawLines", (PyCFunction
) _wrap_GraphicsContext_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34704 { (char *)"GraphicsContext_DrawRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34705 { (char *)"GraphicsContext_DrawEllipse", (PyCFunction
) _wrap_GraphicsContext_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34706 { (char *)"GraphicsContext_DrawRoundedRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34707 { (char *)"GraphicsContext_swigregister", GraphicsContext_swigregister
, METH_VARARGS
, NULL
},
34708 { (char *)"new_GCDC", (PyCFunction
) _wrap_new_GCDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34709 { (char *)"delete_GCDC", (PyCFunction
)_wrap_delete_GCDC
, METH_O
, NULL
},
34710 { (char *)"GCDC_GetGraphicContext", (PyCFunction
)_wrap_GCDC_GetGraphicContext
, METH_O
, NULL
},
34711 { (char *)"GCDC_swigregister", GCDC_swigregister
, METH_VARARGS
, NULL
},
34712 { (char *)"GCDC_swiginit", GCDC_swiginit
, METH_VARARGS
, NULL
},
34713 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34714 { (char *)"delete_ImageList", (PyCFunction
)_wrap_delete_ImageList
, METH_O
, NULL
},
34715 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34716 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34717 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34718 { (char *)"ImageList_GetBitmap", (PyCFunction
) _wrap_ImageList_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34719 { (char *)"ImageList_GetIcon", (PyCFunction
) _wrap_ImageList_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34720 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34721 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34722 { (char *)"ImageList_GetImageCount", (PyCFunction
)_wrap_ImageList_GetImageCount
, METH_O
, NULL
},
34723 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34724 { (char *)"ImageList_RemoveAll", (PyCFunction
)_wrap_ImageList_RemoveAll
, METH_O
, NULL
},
34725 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34726 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
, NULL
},
34727 { (char *)"ImageList_swiginit", ImageList_swiginit
, METH_VARARGS
, NULL
},
34728 { (char *)"new_StockGDI", (PyCFunction
)_wrap_new_StockGDI
, METH_NOARGS
, NULL
},
34729 { (char *)"delete_StockGDI", (PyCFunction
)_wrap_delete_StockGDI
, METH_O
, NULL
},
34730 { (char *)"StockGDI_DeleteAll", (PyCFunction
)_wrap_StockGDI_DeleteAll
, METH_NOARGS
, NULL
},
34731 { (char *)"StockGDI_instance", (PyCFunction
)_wrap_StockGDI_instance
, METH_NOARGS
, NULL
},
34732 { (char *)"StockGDI_GetBrush", (PyCFunction
) _wrap_StockGDI_GetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34733 { (char *)"StockGDI_GetColour", (PyCFunction
) _wrap_StockGDI_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34734 { (char *)"StockGDI_GetCursor", (PyCFunction
) _wrap_StockGDI_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34735 { (char *)"StockGDI_GetPen", (PyCFunction
) _wrap_StockGDI_GetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34736 { (char *)"StockGDI_GetFont", (PyCFunction
) _wrap_StockGDI_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34737 { (char *)"StockGDI_swigregister", StockGDI_swigregister
, METH_VARARGS
, NULL
},
34738 { (char *)"StockGDI_swiginit", StockGDI_swiginit
, METH_VARARGS
, NULL
},
34739 { (char *)"new_GDIObjListBase", (PyCFunction
)_wrap_new_GDIObjListBase
, METH_NOARGS
, NULL
},
34740 { (char *)"delete_GDIObjListBase", (PyCFunction
)_wrap_delete_GDIObjListBase
, METH_O
, NULL
},
34741 { (char *)"GDIObjListBase_swigregister", GDIObjListBase_swigregister
, METH_VARARGS
, NULL
},
34742 { (char *)"GDIObjListBase_swiginit", GDIObjListBase_swiginit
, METH_VARARGS
, NULL
},
34743 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34744 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34745 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34746 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
, NULL
},
34747 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34748 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34749 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34750 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
, NULL
},
34751 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34752 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34753 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34754 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
, NULL
},
34755 { (char *)"new_ColourDatabase", (PyCFunction
)_wrap_new_ColourDatabase
, METH_NOARGS
, NULL
},
34756 { (char *)"delete_ColourDatabase", (PyCFunction
)_wrap_delete_ColourDatabase
, METH_O
, NULL
},
34757 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34758 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34759 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34760 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34761 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
, NULL
},
34762 { (char *)"ColourDatabase_swiginit", ColourDatabase_swiginit
, METH_VARARGS
, NULL
},
34763 { (char *)"_wxPyInitTheFontList", (PyCFunction
)_wrap__wxPyInitTheFontList
, METH_NOARGS
, NULL
},
34764 { (char *)"_wxPyInitThePenList", (PyCFunction
)_wrap__wxPyInitThePenList
, METH_NOARGS
, NULL
},
34765 { (char *)"_wxPyInitTheBrushList", (PyCFunction
)_wrap__wxPyInitTheBrushList
, METH_NOARGS
, NULL
},
34766 { (char *)"_wxPyInitTheColourDatabase", (PyCFunction
)_wrap__wxPyInitTheColourDatabase
, METH_NOARGS
, NULL
},
34767 { (char *)"new_Effects", (PyCFunction
)_wrap_new_Effects
, METH_NOARGS
, NULL
},
34768 { (char *)"Effects_GetHighlightColour", (PyCFunction
)_wrap_Effects_GetHighlightColour
, METH_O
, NULL
},
34769 { (char *)"Effects_GetLightShadow", (PyCFunction
)_wrap_Effects_GetLightShadow
, METH_O
, NULL
},
34770 { (char *)"Effects_GetFaceColour", (PyCFunction
)_wrap_Effects_GetFaceColour
, METH_O
, NULL
},
34771 { (char *)"Effects_GetMediumShadow", (PyCFunction
)_wrap_Effects_GetMediumShadow
, METH_O
, NULL
},
34772 { (char *)"Effects_GetDarkShadow", (PyCFunction
)_wrap_Effects_GetDarkShadow
, METH_O
, NULL
},
34773 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34774 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34775 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34776 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34777 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34778 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34779 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34780 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34781 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
, NULL
},
34782 { (char *)"Effects_swiginit", Effects_swiginit
, METH_VARARGS
, NULL
},
34783 { (char *)"new_SplitterRenderParams", (PyCFunction
) _wrap_new_SplitterRenderParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34784 { (char *)"delete_SplitterRenderParams", (PyCFunction
)_wrap_delete_SplitterRenderParams
, METH_O
, NULL
},
34785 { (char *)"SplitterRenderParams_widthSash_get", (PyCFunction
)_wrap_SplitterRenderParams_widthSash_get
, METH_O
, NULL
},
34786 { (char *)"SplitterRenderParams_border_get", (PyCFunction
)_wrap_SplitterRenderParams_border_get
, METH_O
, NULL
},
34787 { (char *)"SplitterRenderParams_isHotSensitive_get", (PyCFunction
)_wrap_SplitterRenderParams_isHotSensitive_get
, METH_O
, NULL
},
34788 { (char *)"SplitterRenderParams_swigregister", SplitterRenderParams_swigregister
, METH_VARARGS
, NULL
},
34789 { (char *)"SplitterRenderParams_swiginit", SplitterRenderParams_swiginit
, METH_VARARGS
, NULL
},
34790 { (char *)"new_HeaderButtonParams", (PyCFunction
)_wrap_new_HeaderButtonParams
, METH_NOARGS
, NULL
},
34791 { (char *)"delete_HeaderButtonParams", (PyCFunction
)_wrap_delete_HeaderButtonParams
, METH_O
, NULL
},
34792 { (char *)"HeaderButtonParams_m_arrowColour_set", _wrap_HeaderButtonParams_m_arrowColour_set
, METH_VARARGS
, NULL
},
34793 { (char *)"HeaderButtonParams_m_arrowColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_arrowColour_get
, METH_O
, NULL
},
34794 { (char *)"HeaderButtonParams_m_selectionColour_set", _wrap_HeaderButtonParams_m_selectionColour_set
, METH_VARARGS
, NULL
},
34795 { (char *)"HeaderButtonParams_m_selectionColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_selectionColour_get
, METH_O
, NULL
},
34796 { (char *)"HeaderButtonParams_m_labelText_set", _wrap_HeaderButtonParams_m_labelText_set
, METH_VARARGS
, NULL
},
34797 { (char *)"HeaderButtonParams_m_labelText_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelText_get
, METH_O
, NULL
},
34798 { (char *)"HeaderButtonParams_m_labelFont_set", _wrap_HeaderButtonParams_m_labelFont_set
, METH_VARARGS
, NULL
},
34799 { (char *)"HeaderButtonParams_m_labelFont_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelFont_get
, METH_O
, NULL
},
34800 { (char *)"HeaderButtonParams_m_labelColour_set", _wrap_HeaderButtonParams_m_labelColour_set
, METH_VARARGS
, NULL
},
34801 { (char *)"HeaderButtonParams_m_labelColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelColour_get
, METH_O
, NULL
},
34802 { (char *)"HeaderButtonParams_m_labelBitmap_set", _wrap_HeaderButtonParams_m_labelBitmap_set
, METH_VARARGS
, NULL
},
34803 { (char *)"HeaderButtonParams_m_labelBitmap_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelBitmap_get
, METH_O
, NULL
},
34804 { (char *)"HeaderButtonParams_m_labelAlignment_set", _wrap_HeaderButtonParams_m_labelAlignment_set
, METH_VARARGS
, NULL
},
34805 { (char *)"HeaderButtonParams_m_labelAlignment_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelAlignment_get
, METH_O
, NULL
},
34806 { (char *)"HeaderButtonParams_swigregister", HeaderButtonParams_swigregister
, METH_VARARGS
, NULL
},
34807 { (char *)"HeaderButtonParams_swiginit", HeaderButtonParams_swiginit
, METH_VARARGS
, NULL
},
34808 { (char *)"new_RendererVersion", (PyCFunction
) _wrap_new_RendererVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34809 { (char *)"delete_RendererVersion", (PyCFunction
)_wrap_delete_RendererVersion
, METH_O
, NULL
},
34810 { (char *)"RendererVersion_IsCompatible", (PyCFunction
) _wrap_RendererVersion_IsCompatible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34811 { (char *)"RendererVersion_version_get", (PyCFunction
)_wrap_RendererVersion_version_get
, METH_O
, NULL
},
34812 { (char *)"RendererVersion_age_get", (PyCFunction
)_wrap_RendererVersion_age_get
, METH_O
, NULL
},
34813 { (char *)"RendererVersion_swigregister", RendererVersion_swigregister
, METH_VARARGS
, NULL
},
34814 { (char *)"RendererVersion_swiginit", RendererVersion_swiginit
, METH_VARARGS
, NULL
},
34815 { (char *)"RendererNative_DrawHeaderButton", (PyCFunction
) _wrap_RendererNative_DrawHeaderButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34816 { (char *)"RendererNative_DrawHeaderButtonContents", (PyCFunction
) _wrap_RendererNative_DrawHeaderButtonContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34817 { (char *)"RendererNative_GetHeaderButtonHeight", (PyCFunction
) _wrap_RendererNative_GetHeaderButtonHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34818 { (char *)"RendererNative_DrawTreeItemButton", (PyCFunction
) _wrap_RendererNative_DrawTreeItemButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34819 { (char *)"RendererNative_DrawSplitterBorder", (PyCFunction
) _wrap_RendererNative_DrawSplitterBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34820 { (char *)"RendererNative_DrawSplitterSash", (PyCFunction
) _wrap_RendererNative_DrawSplitterSash
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34821 { (char *)"RendererNative_DrawComboBoxDropButton", (PyCFunction
) _wrap_RendererNative_DrawComboBoxDropButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34822 { (char *)"RendererNative_DrawDropArrow", (PyCFunction
) _wrap_RendererNative_DrawDropArrow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34823 { (char *)"RendererNative_DrawCheckBox", (PyCFunction
) _wrap_RendererNative_DrawCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34824 { (char *)"RendererNative_DrawPushButton", (PyCFunction
) _wrap_RendererNative_DrawPushButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34825 { (char *)"RendererNative_DrawItemSelectionRect", (PyCFunction
) _wrap_RendererNative_DrawItemSelectionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34826 { (char *)"RendererNative_GetSplitterParams", (PyCFunction
) _wrap_RendererNative_GetSplitterParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34827 { (char *)"RendererNative_Get", (PyCFunction
)_wrap_RendererNative_Get
, METH_NOARGS
, NULL
},
34828 { (char *)"RendererNative_GetGeneric", (PyCFunction
)_wrap_RendererNative_GetGeneric
, METH_NOARGS
, NULL
},
34829 { (char *)"RendererNative_GetDefault", (PyCFunction
)_wrap_RendererNative_GetDefault
, METH_NOARGS
, NULL
},
34830 { (char *)"RendererNative_Set", (PyCFunction
) _wrap_RendererNative_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34831 { (char *)"RendererNative_GetVersion", (PyCFunction
)_wrap_RendererNative_GetVersion
, METH_O
, NULL
},
34832 { (char *)"RendererNative_swigregister", RendererNative_swigregister
, METH_VARARGS
, NULL
},
34833 { (char *)"new_PseudoDC", (PyCFunction
)_wrap_new_PseudoDC
, METH_NOARGS
, NULL
},
34834 { (char *)"PseudoDC_BeginDrawing", (PyCFunction
)_wrap_PseudoDC_BeginDrawing
, METH_O
, NULL
},
34835 { (char *)"PseudoDC_EndDrawing", (PyCFunction
)_wrap_PseudoDC_EndDrawing
, METH_O
, NULL
},
34836 { (char *)"delete_PseudoDC", (PyCFunction
)_wrap_delete_PseudoDC
, METH_O
, NULL
},
34837 { (char *)"PseudoDC_RemoveAll", (PyCFunction
)_wrap_PseudoDC_RemoveAll
, METH_O
, NULL
},
34838 { (char *)"PseudoDC_GetLen", (PyCFunction
)_wrap_PseudoDC_GetLen
, METH_O
, NULL
},
34839 { (char *)"PseudoDC_SetId", (PyCFunction
) _wrap_PseudoDC_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34840 { (char *)"PseudoDC_ClearId", (PyCFunction
) _wrap_PseudoDC_ClearId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34841 { (char *)"PseudoDC_RemoveId", (PyCFunction
) _wrap_PseudoDC_RemoveId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34842 { (char *)"PseudoDC_TranslateId", (PyCFunction
) _wrap_PseudoDC_TranslateId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34843 { (char *)"PseudoDC_SetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_SetIdGreyedOut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34844 { (char *)"PseudoDC_GetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_GetIdGreyedOut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34845 { (char *)"PseudoDC_FindObjects", (PyCFunction
) _wrap_PseudoDC_FindObjects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34846 { (char *)"PseudoDC_FindObjectsByBBox", (PyCFunction
) _wrap_PseudoDC_FindObjectsByBBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34847 { (char *)"PseudoDC_DrawIdToDC", (PyCFunction
) _wrap_PseudoDC_DrawIdToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34848 { (char *)"PseudoDC_SetIdBounds", (PyCFunction
) _wrap_PseudoDC_SetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34849 { (char *)"PseudoDC_GetIdBounds", (PyCFunction
) _wrap_PseudoDC_GetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34850 { (char *)"PseudoDC_DrawToDCClipped", (PyCFunction
) _wrap_PseudoDC_DrawToDCClipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34851 { (char *)"PseudoDC_DrawToDCClippedRgn", (PyCFunction
) _wrap_PseudoDC_DrawToDCClippedRgn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34852 { (char *)"PseudoDC_DrawToDC", (PyCFunction
) _wrap_PseudoDC_DrawToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34853 { (char *)"PseudoDC_FloodFill", (PyCFunction
) _wrap_PseudoDC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34854 { (char *)"PseudoDC_FloodFillPoint", (PyCFunction
) _wrap_PseudoDC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34855 { (char *)"PseudoDC_DrawLine", (PyCFunction
) _wrap_PseudoDC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34856 { (char *)"PseudoDC_DrawLinePoint", (PyCFunction
) _wrap_PseudoDC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34857 { (char *)"PseudoDC_CrossHair", (PyCFunction
) _wrap_PseudoDC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34858 { (char *)"PseudoDC_CrossHairPoint", (PyCFunction
) _wrap_PseudoDC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34859 { (char *)"PseudoDC_DrawArc", (PyCFunction
) _wrap_PseudoDC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34860 { (char *)"PseudoDC_DrawArcPoint", (PyCFunction
) _wrap_PseudoDC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34861 { (char *)"PseudoDC_DrawCheckMark", (PyCFunction
) _wrap_PseudoDC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34862 { (char *)"PseudoDC_DrawCheckMarkRect", (PyCFunction
) _wrap_PseudoDC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34863 { (char *)"PseudoDC_DrawEllipticArc", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34864 { (char *)"PseudoDC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34865 { (char *)"PseudoDC_DrawPoint", (PyCFunction
) _wrap_PseudoDC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34866 { (char *)"PseudoDC_DrawPointPoint", (PyCFunction
) _wrap_PseudoDC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34867 { (char *)"PseudoDC_DrawRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34868 { (char *)"PseudoDC_DrawRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34869 { (char *)"PseudoDC_DrawRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34870 { (char *)"PseudoDC_DrawRoundedRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34871 { (char *)"PseudoDC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34872 { (char *)"PseudoDC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34873 { (char *)"PseudoDC_DrawCircle", (PyCFunction
) _wrap_PseudoDC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34874 { (char *)"PseudoDC_DrawCirclePoint", (PyCFunction
) _wrap_PseudoDC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34875 { (char *)"PseudoDC_DrawEllipse", (PyCFunction
) _wrap_PseudoDC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34876 { (char *)"PseudoDC_DrawEllipseRect", (PyCFunction
) _wrap_PseudoDC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34877 { (char *)"PseudoDC_DrawEllipsePointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34878 { (char *)"PseudoDC_DrawIcon", (PyCFunction
) _wrap_PseudoDC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34879 { (char *)"PseudoDC_DrawIconPoint", (PyCFunction
) _wrap_PseudoDC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34880 { (char *)"PseudoDC_DrawBitmap", (PyCFunction
) _wrap_PseudoDC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34881 { (char *)"PseudoDC_DrawBitmapPoint", (PyCFunction
) _wrap_PseudoDC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34882 { (char *)"PseudoDC_DrawText", (PyCFunction
) _wrap_PseudoDC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34883 { (char *)"PseudoDC_DrawTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34884 { (char *)"PseudoDC_DrawRotatedText", (PyCFunction
) _wrap_PseudoDC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34885 { (char *)"PseudoDC_DrawRotatedTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34886 { (char *)"PseudoDC_DrawLines", (PyCFunction
) _wrap_PseudoDC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34887 { (char *)"PseudoDC_DrawPolygon", (PyCFunction
) _wrap_PseudoDC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34888 { (char *)"PseudoDC_DrawLabel", (PyCFunction
) _wrap_PseudoDC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34889 { (char *)"PseudoDC_DrawImageLabel", (PyCFunction
) _wrap_PseudoDC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34890 { (char *)"PseudoDC_DrawSpline", (PyCFunction
) _wrap_PseudoDC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34891 { (char *)"PseudoDC_Clear", (PyCFunction
)_wrap_PseudoDC_Clear
, METH_O
, NULL
},
34892 { (char *)"PseudoDC_SetFont", (PyCFunction
) _wrap_PseudoDC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34893 { (char *)"PseudoDC_SetPen", (PyCFunction
) _wrap_PseudoDC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34894 { (char *)"PseudoDC_SetBrush", (PyCFunction
) _wrap_PseudoDC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34895 { (char *)"PseudoDC_SetBackground", (PyCFunction
) _wrap_PseudoDC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34896 { (char *)"PseudoDC_SetBackgroundMode", (PyCFunction
) _wrap_PseudoDC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34897 { (char *)"PseudoDC_SetPalette", (PyCFunction
) _wrap_PseudoDC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34898 { (char *)"PseudoDC_SetTextForeground", (PyCFunction
) _wrap_PseudoDC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34899 { (char *)"PseudoDC_SetTextBackground", (PyCFunction
) _wrap_PseudoDC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34900 { (char *)"PseudoDC_SetLogicalFunction", (PyCFunction
) _wrap_PseudoDC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34901 { (char *)"PseudoDC_swigregister", PseudoDC_swigregister
, METH_VARARGS
, NULL
},
34902 { (char *)"PseudoDC_swiginit", PseudoDC_swiginit
, METH_VARARGS
, NULL
},
34903 { NULL
, NULL
, 0, NULL
}
34907 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
34909 static void *_p_wxPaintDCTo_p_wxClientDC(void *x
) {
34910 return (void *)((wxClientDC
*) ((wxPaintDC
*) x
));
34912 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
34913 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
34915 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
34916 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
34918 static void *_p_wxClientDCTo_p_wxWindowDC(void *x
) {
34919 return (void *)((wxWindowDC
*) ((wxClientDC
*) x
));
34921 static void *_p_wxPaintDCTo_p_wxWindowDC(void *x
) {
34922 return (void *)((wxWindowDC
*) (wxClientDC
*) ((wxPaintDC
*) x
));
34924 static void *_p_wxPyLocaleTo_p_wxLocale(void *x
) {
34925 return (void *)((wxLocale
*) ((wxPyLocale
*) x
));
34927 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
34928 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
34930 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
34931 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
34933 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
34934 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
34936 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
34937 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
34939 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
34940 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
34942 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
34943 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
34945 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
34946 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
34948 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
34949 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
34951 static void *_p_wxGCDCTo_p_wxDC(void *x
) {
34952 return (void *)((wxDC
*) ((wxGCDC
*) x
));
34954 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
34955 return (void *)((wxDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
34957 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
34958 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
34960 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
34961 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
34963 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
34964 return (void *)((wxDC
*) ((wxMemoryDC
*) x
));
34966 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
34967 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
34969 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
34970 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
34972 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
34973 return (void *)((wxDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
34975 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
34976 return (void *)((wxDC
*) (wxWindowDC
*) ((wxClientDC
*) x
));
34978 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
34979 return (void *)((wxDC
*) (wxWindowDC
*)(wxClientDC
*) ((wxPaintDC
*) x
));
34981 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
34982 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
34984 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
34985 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
34987 static void *_p_wxBrushListTo_p_wxGDIObjListBase(void *x
) {
34988 return (void *)((wxGDIObjListBase
*) ((wxBrushList
*) x
));
34990 static void *_p_wxFontListTo_p_wxGDIObjListBase(void *x
) {
34991 return (void *)((wxGDIObjListBase
*) ((wxFontList
*) x
));
34993 static void *_p_wxPenListTo_p_wxGDIObjListBase(void *x
) {
34994 return (void *)((wxGDIObjListBase
*) ((wxPenList
*) x
));
34996 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
34997 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
34999 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
35000 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
35002 static void *_p_wxPenTo_p_wxObject(void *x
) {
35003 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
35005 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
35006 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
35008 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
35009 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
35011 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
35012 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
35014 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
35015 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
35017 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
35018 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
35020 static void *_p_wxIconTo_p_wxObject(void *x
) {
35021 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
35023 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
35024 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
35026 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
35027 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
35029 static void *_p_wxSizerTo_p_wxObject(void *x
) {
35030 return (void *)((wxObject
*) ((wxSizer
*) x
));
35032 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
35033 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
35035 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
35036 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
35038 static void *_p_wxEventTo_p_wxObject(void *x
) {
35039 return (void *)((wxObject
*) ((wxEvent
*) x
));
35041 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
35042 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
35044 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
35045 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
35047 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
35048 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
35050 static void *_p_wxPseudoDCTo_p_wxObject(void *x
) {
35051 return (void *)((wxObject
*) ((wxPseudoDC
*) x
));
35053 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
35054 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
35056 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
35057 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
35059 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
35060 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
35062 static void *_p_wxDCTo_p_wxObject(void *x
) {
35063 return (void *)((wxObject
*) ((wxDC
*) x
));
35065 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
35066 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
35068 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
35069 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
35071 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
35072 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
35074 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
35075 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
35077 static void *_p_wxControlTo_p_wxObject(void *x
) {
35078 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
35080 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
35081 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
35083 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
35084 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*) ((wxClientDC
*) x
));
35086 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
35087 return (void *)((wxObject
*) ((wxFSFile
*) x
));
35089 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
35090 return (void *)((wxObject
*) (wxDC
*) ((wxMemoryDC
*) x
));
35092 static void *_p_wxRegionTo_p_wxObject(void *x
) {
35093 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
35095 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
35096 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
35098 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
35099 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
35101 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
35102 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
35104 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
35105 return (void *)((wxObject
*) ((wxEffects
*) x
));
35107 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
35108 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
35110 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
35111 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
35113 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
35114 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
35116 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
35117 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
35119 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
35120 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
35122 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
35123 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
35125 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
35126 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
35128 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
35129 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
35131 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
35132 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
35134 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
35135 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
35137 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
35138 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
35140 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
35141 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
35143 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
35144 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
35146 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
35147 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
35149 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
35150 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
35152 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
35153 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
35155 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
35156 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
35158 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
35159 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
35161 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
35162 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
35164 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
35165 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
35167 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
35168 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
35170 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
35171 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
35173 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
35174 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
35176 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
35177 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
35179 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
35180 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
35182 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
35183 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
35185 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
35186 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
35188 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
35189 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
35191 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
35192 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
35194 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
35195 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
35197 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
35198 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxClientDC
*) ((wxPaintDC
*) x
));
35200 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
35201 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
35203 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
35204 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
35206 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
35207 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
35209 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
35210 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
35212 static void *_p_wxImageTo_p_wxObject(void *x
) {
35213 return (void *)((wxObject
*) ((wxImage
*) x
));
35215 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
35216 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
35218 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
35219 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
35221 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
35222 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
35224 static void *_p_wxImageListTo_p_wxObject(void *x
) {
35225 return (void *)((wxObject
*) ((wxImageList
*) x
));
35227 static void *_p_wxGCDCTo_p_wxObject(void *x
) {
35228 return (void *)((wxObject
*) (wxDC
*) ((wxGCDC
*) x
));
35230 static void *_p_wxCursorTo_p_wxObject(void *x
) {
35231 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
35233 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
35234 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
35236 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
35237 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
35239 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
35240 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
35242 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
35243 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
35245 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
35246 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
35248 static void *_p_wxWindowTo_p_wxObject(void *x
) {
35249 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
35251 static void *_p_wxMenuTo_p_wxObject(void *x
) {
35252 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
35254 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
35255 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
35257 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
35258 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
35260 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
35261 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
35263 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
35264 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
35266 static void *_p_wxMaskTo_p_wxObject(void *x
) {
35267 return (void *)((wxObject
*) ((wxMask
*) x
));
35269 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
35270 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
35272 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
35273 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
35275 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
35276 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
35278 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
35279 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
35281 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
35282 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
35284 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
35285 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
35287 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
35288 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
35290 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
35291 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
35293 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
35294 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
35296 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
35297 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
35299 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
35300 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
35302 static void *_p_wxFontTo_p_wxObject(void *x
) {
35303 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
35305 static void *_p_wxBrushTo_p_wxObject(void *x
) {
35306 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
35308 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
35309 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
35311 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
35312 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
35314 static void *_p_wxColourTo_p_wxObject(void *x
) {
35315 return (void *)((wxObject
*) ((wxColour
*) x
));
35317 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
35318 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
35320 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
35321 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
35323 static void *_p_wxControlTo_p_wxWindow(void *x
) {
35324 return (void *)((wxWindow
*) ((wxControl
*) x
));
35326 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
35327 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
35329 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
35330 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
35332 static void *_p_wxNativePixelDataTo_p_wxPixelDataBase(void *x
) {
35333 return (void *)((wxPixelDataBase
*) ((wxNativePixelData
*) x
));
35335 static void *_p_wxAlphaPixelDataTo_p_wxPixelDataBase(void *x
) {
35336 return (void *)((wxPixelDataBase
*) ((wxAlphaPixelData
*) x
));
35338 static swig_type_info _swigt__p_buffer
= {"_p_buffer", "buffer *", 0, 0, (void*)0, 0};
35339 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
35340 static swig_type_info _swigt__p_double
= {"_p_double", "double *|wxDouble *", 0, 0, (void*)0, 0};
35341 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};
35342 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
35343 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
35344 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
35345 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
35346 static swig_type_info _swigt__p_wxAlphaPixelData
= {"_p_wxAlphaPixelData", "wxAlphaPixelData *", 0, 0, (void*)0, 0};
35347 static swig_type_info _swigt__p_wxAlphaPixelData_Accessor
= {"_p_wxAlphaPixelData_Accessor", "wxAlphaPixelData_Accessor *", 0, 0, (void*)0, 0};
35348 static swig_type_info _swigt__p_wxArrayDouble
= {"_p_wxArrayDouble", "wxArrayDouble *", 0, 0, (void*)0, 0};
35349 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
35350 static swig_type_info _swigt__p_wxBrush
= {"_p_wxBrush", "wxBrush *", 0, 0, (void*)0, 0};
35351 static swig_type_info _swigt__p_wxBrushList
= {"_p_wxBrushList", "wxBrushList *", 0, 0, (void*)0, 0};
35352 static swig_type_info _swigt__p_wxBufferedDC
= {"_p_wxBufferedDC", "wxBufferedDC *", 0, 0, (void*)0, 0};
35353 static swig_type_info _swigt__p_wxBufferedPaintDC
= {"_p_wxBufferedPaintDC", "wxBufferedPaintDC *", 0, 0, (void*)0, 0};
35354 static swig_type_info _swigt__p_wxChar
= {"_p_wxChar", "wxChar *", 0, 0, (void*)0, 0};
35355 static swig_type_info _swigt__p_wxClientDC
= {"_p_wxClientDC", "wxClientDC *", 0, 0, (void*)0, 0};
35356 static swig_type_info _swigt__p_wxColor
= {"_p_wxColor", "wxColor *", 0, 0, (void*)0, 0};
35357 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
35358 static swig_type_info _swigt__p_wxColourDatabase
= {"_p_wxColourDatabase", "wxColourDatabase *", 0, 0, (void*)0, 0};
35359 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
35360 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
35361 static swig_type_info _swigt__p_wxDash
= {"_p_wxDash", "wxDash *", 0, 0, (void*)0, 0};
35362 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
35363 static swig_type_info _swigt__p_wxEffects
= {"_p_wxEffects", "wxEffects *", 0, 0, (void*)0, 0};
35364 static swig_type_info _swigt__p_wxEncodingConverter
= {"_p_wxEncodingConverter", "wxEncodingConverter *", 0, 0, (void*)0, 0};
35365 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
35366 static swig_type_info _swigt__p_wxFontList
= {"_p_wxFontList", "wxFontList *", 0, 0, (void*)0, 0};
35367 static swig_type_info _swigt__p_wxFontMapper
= {"_p_wxFontMapper", "wxFontMapper *", 0, 0, (void*)0, 0};
35368 static swig_type_info _swigt__p_wxGCDC
= {"_p_wxGCDC", "wxGCDC *", 0, 0, (void*)0, 0};
35369 static swig_type_info _swigt__p_wxGDIObjListBase
= {"_p_wxGDIObjListBase", "wxGDIObjListBase *", 0, 0, (void*)0, 0};
35370 static swig_type_info _swigt__p_wxGDIObject
= {"_p_wxGDIObject", "wxGDIObject *", 0, 0, (void*)0, 0};
35371 static swig_type_info _swigt__p_wxGraphicsContext
= {"_p_wxGraphicsContext", "wxGraphicsContext *", 0, 0, (void*)0, 0};
35372 static swig_type_info _swigt__p_wxGraphicsPath
= {"_p_wxGraphicsPath", "wxGraphicsPath *", 0, 0, (void*)0, 0};
35373 static swig_type_info _swigt__p_wxHeaderButtonParams
= {"_p_wxHeaderButtonParams", "wxHeaderButtonParams *", 0, 0, (void*)0, 0};
35374 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
35375 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
35376 static swig_type_info _swigt__p_wxIconLocation
= {"_p_wxIconLocation", "wxIconLocation *", 0, 0, (void*)0, 0};
35377 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", "wxImage *", 0, 0, (void*)0, 0};
35378 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
35379 static swig_type_info _swigt__p_wxLanguageInfo
= {"_p_wxLanguageInfo", "wxLanguageInfo *", 0, 0, (void*)0, 0};
35380 static swig_type_info _swigt__p_wxLocale
= {"_p_wxLocale", "wxLocale *", 0, 0, (void*)0, 0};
35381 static swig_type_info _swigt__p_wxMask
= {"_p_wxMask", "wxMask *", 0, 0, (void*)0, 0};
35382 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
35383 static swig_type_info _swigt__p_wxMetaFile
= {"_p_wxMetaFile", "wxMetaFile *", 0, 0, (void*)0, 0};
35384 static swig_type_info _swigt__p_wxMetaFileDC
= {"_p_wxMetaFileDC", "wxMetaFileDC *", 0, 0, (void*)0, 0};
35385 static swig_type_info _swigt__p_wxMirrorDC
= {"_p_wxMirrorDC", "wxMirrorDC *", 0, 0, (void*)0, 0};
35386 static swig_type_info _swigt__p_wxNativeEncodingInfo
= {"_p_wxNativeEncodingInfo", "wxNativeEncodingInfo *", 0, 0, (void*)0, 0};
35387 static swig_type_info _swigt__p_wxNativeFontInfo
= {"_p_wxNativeFontInfo", "wxNativeFontInfo *", 0, 0, (void*)0, 0};
35388 static swig_type_info _swigt__p_wxNativePixelData
= {"_p_wxNativePixelData", "wxNativePixelData *", 0, 0, (void*)0, 0};
35389 static swig_type_info _swigt__p_wxNativePixelData_Accessor
= {"_p_wxNativePixelData_Accessor", "wxNativePixelData_Accessor *", 0, 0, (void*)0, 0};
35390 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
35391 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
35392 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
35393 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
35394 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
35395 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
35396 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
35397 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
35398 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
35399 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
35400 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
35401 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
35402 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", 0, 0, 0, 0, 0};
35403 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
35404 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
35405 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
35406 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
35407 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
35408 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
35409 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
35410 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
35411 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
35412 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
35413 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
35414 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
35415 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
35416 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
35417 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
35418 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
35419 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
35420 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
35421 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
35422 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
35423 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
35424 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
35425 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
35426 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
35427 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
35428 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
35429 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
35430 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
35431 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
35432 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
35433 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
35434 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
35435 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
35436 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
35437 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", 0, 0, 0, 0, 0};
35438 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
35439 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
35440 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
35441 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
35442 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
35443 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
35444 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
35445 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
35446 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
35447 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
35448 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
35449 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
35450 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
35451 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
35452 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
35453 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
35454 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
35455 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
35456 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
35457 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
35458 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
35459 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
35460 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0, 0};
35461 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
35462 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
35463 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
35464 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
35465 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
35466 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
35467 static swig_type_info _swigt__p_wxPaintDC
= {"_p_wxPaintDC", "wxPaintDC *", 0, 0, (void*)0, 0};
35468 static swig_type_info _swigt__p_wxPalette
= {"_p_wxPalette", "wxPalette *", 0, 0, (void*)0, 0};
35469 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
35470 static swig_type_info _swigt__p_wxPen
= {"_p_wxPen", "wxPen *", 0, 0, (void*)0, 0};
35471 static swig_type_info _swigt__p_wxPenList
= {"_p_wxPenList", "wxPenList *", 0, 0, (void*)0, 0};
35472 static swig_type_info _swigt__p_wxPixelDataBase
= {"_p_wxPixelDataBase", "wxPixelDataBase *", 0, 0, (void*)0, 0};
35473 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
35474 static swig_type_info _swigt__p_wxPoint2D
= {"_p_wxPoint2D", "wxPoint2D *", 0, 0, (void*)0, 0};
35475 static swig_type_info _swigt__p_wxPostScriptDC
= {"_p_wxPostScriptDC", "wxPostScriptDC *", 0, 0, (void*)0, 0};
35476 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
35477 static swig_type_info _swigt__p_wxPrinterDC
= {"_p_wxPrinterDC", "wxPrinterDC *", 0, 0, (void*)0, 0};
35478 static swig_type_info _swigt__p_wxPseudoDC
= {"_p_wxPseudoDC", "wxPseudoDC *", 0, 0, (void*)0, 0};
35479 static swig_type_info _swigt__p_wxPyFontEnumerator
= {"_p_wxPyFontEnumerator", "wxPyFontEnumerator *", 0, 0, (void*)0, 0};
35480 static swig_type_info _swigt__p_wxPyLocale
= {"_p_wxPyLocale", "wxPyLocale *", 0, 0, (void*)0, 0};
35481 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
35482 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
35483 static swig_type_info _swigt__p_wxRegionIterator
= {"_p_wxRegionIterator", "wxRegionIterator *", 0, 0, (void*)0, 0};
35484 static swig_type_info _swigt__p_wxRendererNative
= {"_p_wxRendererNative", "wxRendererNative *", 0, 0, (void*)0, 0};
35485 static swig_type_info _swigt__p_wxRendererVersion
= {"_p_wxRendererVersion", "wxRendererVersion *", 0, 0, (void*)0, 0};
35486 static swig_type_info _swigt__p_wxScreenDC
= {"_p_wxScreenDC", "wxScreenDC *", 0, 0, (void*)0, 0};
35487 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
35488 static swig_type_info _swigt__p_wxSplitterRenderParams
= {"_p_wxSplitterRenderParams", "wxSplitterRenderParams *", 0, 0, (void*)0, 0};
35489 static swig_type_info _swigt__p_wxStockGDI
= {"_p_wxStockGDI", "wxStockGDI *", 0, 0, (void*)0, 0};
35490 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
35491 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
35492 static swig_type_info _swigt__p_wxWindowDC
= {"_p_wxWindowDC", "wxWindowDC *", 0, 0, (void*)0, 0};
35494 static swig_type_info
*swig_type_initial
[] = {
35498 &_swigt__p_form_ops_t
,
35500 &_swigt__p_unsigned_char
,
35501 &_swigt__p_unsigned_int
,
35502 &_swigt__p_unsigned_long
,
35503 &_swigt__p_wxANIHandler
,
35504 &_swigt__p_wxAcceleratorTable
,
35505 &_swigt__p_wxActivateEvent
,
35506 &_swigt__p_wxAlphaPixelData
,
35507 &_swigt__p_wxAlphaPixelData_Accessor
,
35508 &_swigt__p_wxArrayDouble
,
35509 &_swigt__p_wxBMPHandler
,
35510 &_swigt__p_wxBitmap
,
35511 &_swigt__p_wxBoxSizer
,
35512 &_swigt__p_wxBrush
,
35513 &_swigt__p_wxBrushList
,
35514 &_swigt__p_wxBufferedDC
,
35515 &_swigt__p_wxBufferedPaintDC
,
35516 &_swigt__p_wxCURHandler
,
35518 &_swigt__p_wxChildFocusEvent
,
35519 &_swigt__p_wxClientDC
,
35520 &_swigt__p_wxClipboardTextEvent
,
35521 &_swigt__p_wxCloseEvent
,
35522 &_swigt__p_wxColor
,
35523 &_swigt__p_wxColour
,
35524 &_swigt__p_wxColourDatabase
,
35525 &_swigt__p_wxCommandEvent
,
35526 &_swigt__p_wxContextMenuEvent
,
35527 &_swigt__p_wxControl
,
35528 &_swigt__p_wxControlWithItems
,
35529 &_swigt__p_wxCursor
,
35532 &_swigt__p_wxDateEvent
,
35533 &_swigt__p_wxDisplayChangedEvent
,
35534 &_swigt__p_wxDropFilesEvent
,
35535 &_swigt__p_wxDuplexMode
,
35536 &_swigt__p_wxEffects
,
35537 &_swigt__p_wxEncodingConverter
,
35538 &_swigt__p_wxEraseEvent
,
35539 &_swigt__p_wxEvent
,
35540 &_swigt__p_wxEvtHandler
,
35541 &_swigt__p_wxFSFile
,
35542 &_swigt__p_wxFileSystem
,
35543 &_swigt__p_wxFlexGridSizer
,
35544 &_swigt__p_wxFocusEvent
,
35546 &_swigt__p_wxFontList
,
35547 &_swigt__p_wxFontMapper
,
35548 &_swigt__p_wxGBSizerItem
,
35550 &_swigt__p_wxGDIObjListBase
,
35551 &_swigt__p_wxGDIObject
,
35552 &_swigt__p_wxGIFHandler
,
35553 &_swigt__p_wxGraphicsContext
,
35554 &_swigt__p_wxGraphicsPath
,
35555 &_swigt__p_wxGridBagSizer
,
35556 &_swigt__p_wxGridSizer
,
35557 &_swigt__p_wxHeaderButtonParams
,
35558 &_swigt__p_wxICOHandler
,
35560 &_swigt__p_wxIconBundle
,
35561 &_swigt__p_wxIconLocation
,
35562 &_swigt__p_wxIconizeEvent
,
35563 &_swigt__p_wxIdleEvent
,
35564 &_swigt__p_wxImage
,
35565 &_swigt__p_wxImageHandler
,
35566 &_swigt__p_wxImageList
,
35567 &_swigt__p_wxIndividualLayoutConstraint
,
35568 &_swigt__p_wxInitDialogEvent
,
35569 &_swigt__p_wxJPEGHandler
,
35570 &_swigt__p_wxKeyEvent
,
35571 &_swigt__p_wxLanguageInfo
,
35572 &_swigt__p_wxLayoutConstraints
,
35573 &_swigt__p_wxLocale
,
35575 &_swigt__p_wxMaximizeEvent
,
35576 &_swigt__p_wxMemoryDC
,
35578 &_swigt__p_wxMenuBar
,
35579 &_swigt__p_wxMenuEvent
,
35580 &_swigt__p_wxMenuItem
,
35581 &_swigt__p_wxMetaFile
,
35582 &_swigt__p_wxMetaFileDC
,
35583 &_swigt__p_wxMirrorDC
,
35584 &_swigt__p_wxMouseCaptureChangedEvent
,
35585 &_swigt__p_wxMouseCaptureLostEvent
,
35586 &_swigt__p_wxMouseEvent
,
35587 &_swigt__p_wxMoveEvent
,
35588 &_swigt__p_wxNativeEncodingInfo
,
35589 &_swigt__p_wxNativeFontInfo
,
35590 &_swigt__p_wxNativePixelData
,
35591 &_swigt__p_wxNativePixelData_Accessor
,
35592 &_swigt__p_wxNavigationKeyEvent
,
35593 &_swigt__p_wxNcPaintEvent
,
35594 &_swigt__p_wxNotifyEvent
,
35595 &_swigt__p_wxObject
,
35596 &_swigt__p_wxPCXHandler
,
35597 &_swigt__p_wxPNGHandler
,
35598 &_swigt__p_wxPNMHandler
,
35599 &_swigt__p_wxPaintDC
,
35600 &_swigt__p_wxPaintEvent
,
35601 &_swigt__p_wxPalette
,
35602 &_swigt__p_wxPaletteChangedEvent
,
35603 &_swigt__p_wxPaperSize
,
35605 &_swigt__p_wxPenList
,
35606 &_swigt__p_wxPixelDataBase
,
35607 &_swigt__p_wxPoint
,
35608 &_swigt__p_wxPoint2D
,
35609 &_swigt__p_wxPostScriptDC
,
35610 &_swigt__p_wxPrintData
,
35611 &_swigt__p_wxPrinterDC
,
35612 &_swigt__p_wxPseudoDC
,
35613 &_swigt__p_wxPyApp
,
35614 &_swigt__p_wxPyCommandEvent
,
35615 &_swigt__p_wxPyEvent
,
35616 &_swigt__p_wxPyFontEnumerator
,
35617 &_swigt__p_wxPyImageHandler
,
35618 &_swigt__p_wxPyLocale
,
35619 &_swigt__p_wxPySizer
,
35620 &_swigt__p_wxPyValidator
,
35621 &_swigt__p_wxQueryNewPaletteEvent
,
35623 &_swigt__p_wxRegion
,
35624 &_swigt__p_wxRegionIterator
,
35625 &_swigt__p_wxRendererNative
,
35626 &_swigt__p_wxRendererVersion
,
35627 &_swigt__p_wxScreenDC
,
35628 &_swigt__p_wxScrollEvent
,
35629 &_swigt__p_wxScrollWinEvent
,
35630 &_swigt__p_wxSetCursorEvent
,
35631 &_swigt__p_wxShowEvent
,
35633 &_swigt__p_wxSizeEvent
,
35634 &_swigt__p_wxSizer
,
35635 &_swigt__p_wxSizerItem
,
35636 &_swigt__p_wxSplitterRenderParams
,
35637 &_swigt__p_wxStaticBoxSizer
,
35638 &_swigt__p_wxStdDialogButtonSizer
,
35639 &_swigt__p_wxStockGDI
,
35640 &_swigt__p_wxString
,
35641 &_swigt__p_wxSysColourChangedEvent
,
35642 &_swigt__p_wxTIFFHandler
,
35643 &_swigt__p_wxUpdateUIEvent
,
35644 &_swigt__p_wxValidator
,
35645 &_swigt__p_wxWindow
,
35646 &_swigt__p_wxWindowCreateEvent
,
35647 &_swigt__p_wxWindowDC
,
35648 &_swigt__p_wxWindowDestroyEvent
,
35649 &_swigt__p_wxXPMHandler
,
35652 static swig_cast_info _swigc__p_buffer
[] = { {&_swigt__p_buffer
, 0, 0, 0},{0, 0, 0, 0}};
35653 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
35654 static swig_cast_info _swigc__p_double
[] = { {&_swigt__p_double
, 0, 0, 0},{0, 0, 0, 0}};
35655 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
35656 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
35657 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
35658 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
35659 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
35660 static swig_cast_info _swigc__p_wxAlphaPixelData
[] = { {&_swigt__p_wxAlphaPixelData
, 0, 0, 0},{0, 0, 0, 0}};
35661 static swig_cast_info _swigc__p_wxAlphaPixelData_Accessor
[] = { {&_swigt__p_wxAlphaPixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
35662 static swig_cast_info _swigc__p_wxArrayDouble
[] = { {&_swigt__p_wxArrayDouble
, 0, 0, 0},{0, 0, 0, 0}};
35663 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
35664 static swig_cast_info _swigc__p_wxBrush
[] = { {&_swigt__p_wxBrush
, 0, 0, 0},{0, 0, 0, 0}};
35665 static swig_cast_info _swigc__p_wxBrushList
[] = { {&_swigt__p_wxBrushList
, 0, 0, 0},{0, 0, 0, 0}};
35666 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}};
35667 static swig_cast_info _swigc__p_wxBufferedPaintDC
[] = { {&_swigt__p_wxBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
35668 static swig_cast_info _swigc__p_wxChar
[] = { {&_swigt__p_wxChar
, 0, 0, 0},{0, 0, 0, 0}};
35669 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}};
35670 static swig_cast_info _swigc__p_wxColor
[] = { {&_swigt__p_wxColor
, 0, 0, 0},{0, 0, 0, 0}};
35671 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
35672 static swig_cast_info _swigc__p_wxColourDatabase
[] = { {&_swigt__p_wxColourDatabase
, 0, 0, 0},{0, 0, 0, 0}};
35673 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
35674 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxBufferedDC
, _p_wxBufferedDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxScreenDC
, _p_wxScreenDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxMirrorDC
, _p_wxMirrorDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxMemoryDC
, _p_wxMemoryDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxWindowDC
, _p_wxWindowDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxDC
, 0, 0, 0}, {&_swigt__p_wxMetaFileDC
, _p_wxMetaFileDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxBufferedPaintDC
, _p_wxBufferedPaintDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxClientDC
, _p_wxClientDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxPaintDC
, _p_wxPaintDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxPostScriptDC
, _p_wxPostScriptDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxPrinterDC
, _p_wxPrinterDCTo_p_wxDC
, 0, 0}, {&_swigt__p_wxGCDC
, _p_wxGCDCTo_p_wxDC
, 0, 0},{0, 0, 0, 0}};
35675 static swig_cast_info _swigc__p_wxDash
[] = { {&_swigt__p_wxDash
, 0, 0, 0},{0, 0, 0, 0}};
35676 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
35677 static swig_cast_info _swigc__p_wxEffects
[] = { {&_swigt__p_wxEffects
, 0, 0, 0},{0, 0, 0, 0}};
35678 static swig_cast_info _swigc__p_wxEncodingConverter
[] = { {&_swigt__p_wxEncodingConverter
, 0, 0, 0},{0, 0, 0, 0}};
35679 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
35680 static swig_cast_info _swigc__p_wxFontList
[] = { {&_swigt__p_wxFontList
, 0, 0, 0},{0, 0, 0, 0}};
35681 static swig_cast_info _swigc__p_wxFontMapper
[] = { {&_swigt__p_wxFontMapper
, 0, 0, 0},{0, 0, 0, 0}};
35682 static swig_cast_info _swigc__p_wxGCDC
[] = { {&_swigt__p_wxGCDC
, 0, 0, 0},{0, 0, 0, 0}};
35683 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}};
35684 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}};
35685 static swig_cast_info _swigc__p_wxGraphicsContext
[] = { {&_swigt__p_wxGraphicsContext
, 0, 0, 0},{0, 0, 0, 0}};
35686 static swig_cast_info _swigc__p_wxGraphicsPath
[] = { {&_swigt__p_wxGraphicsPath
, 0, 0, 0},{0, 0, 0, 0}};
35687 static swig_cast_info _swigc__p_wxHeaderButtonParams
[] = { {&_swigt__p_wxHeaderButtonParams
, 0, 0, 0},{0, 0, 0, 0}};
35688 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
35689 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
35690 static swig_cast_info _swigc__p_wxIconLocation
[] = { {&_swigt__p_wxIconLocation
, 0, 0, 0},{0, 0, 0, 0}};
35691 static swig_cast_info _swigc__p_wxImage
[] = { {&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
35692 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
35693 static swig_cast_info _swigc__p_wxLanguageInfo
[] = { {&_swigt__p_wxLanguageInfo
, 0, 0, 0},{0, 0, 0, 0}};
35694 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}};
35695 static swig_cast_info _swigc__p_wxMask
[] = { {&_swigt__p_wxMask
, 0, 0, 0},{0, 0, 0, 0}};
35696 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}};
35697 static swig_cast_info _swigc__p_wxMetaFile
[] = { {&_swigt__p_wxMetaFile
, 0, 0, 0},{0, 0, 0, 0}};
35698 static swig_cast_info _swigc__p_wxMetaFileDC
[] = { {&_swigt__p_wxMetaFileDC
, 0, 0, 0},{0, 0, 0, 0}};
35699 static swig_cast_info _swigc__p_wxMirrorDC
[] = { {&_swigt__p_wxMirrorDC
, 0, 0, 0},{0, 0, 0, 0}};
35700 static swig_cast_info _swigc__p_wxNativeEncodingInfo
[] = { {&_swigt__p_wxNativeEncodingInfo
, 0, 0, 0},{0, 0, 0, 0}};
35701 static swig_cast_info _swigc__p_wxNativeFontInfo
[] = { {&_swigt__p_wxNativeFontInfo
, 0, 0, 0},{0, 0, 0, 0}};
35702 static swig_cast_info _swigc__p_wxNativePixelData
[] = { {&_swigt__p_wxNativePixelData
, 0, 0, 0},{0, 0, 0, 0}};
35703 static swig_cast_info _swigc__p_wxNativePixelData_Accessor
[] = { {&_swigt__p_wxNativePixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
35704 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
35705 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
35706 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
35707 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
35708 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
35709 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
35710 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
35711 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
35712 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
35713 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
35714 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
35715 static swig_cast_info _swigc__p_wxEvent
[] = {{&_swigt__p_wxEvent
, 0, 0, 0},{0, 0, 0, 0}};
35716 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
35717 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
35718 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
35719 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
35720 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
35721 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
35722 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
35723 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
35724 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
35725 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
35726 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
35727 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
35728 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
35729 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
35730 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
35731 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
35732 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
35733 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
35734 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
35735 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
35736 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
35737 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
35738 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
35739 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
35740 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
35741 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
35742 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
35743 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
35744 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
35745 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
35746 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
35747 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
35748 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
35749 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
35750 static swig_cast_info _swigc__p_wxEvtHandler
[] = {{&_swigt__p_wxEvtHandler
, 0, 0, 0},{0, 0, 0, 0}};
35751 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
35752 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
35753 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
35754 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
35755 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
35756 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
35757 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
35758 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
35759 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
35760 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
35761 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
35762 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
35763 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
35764 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
35765 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
35766 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
35767 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
35768 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
35769 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
35770 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
35771 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
35772 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
35773 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
35774 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
35775 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
35776 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
35777 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
35778 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
35779 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
35780 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_wxCURHandler
, _p_wxCURHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxICOHandler
, _p_wxICOHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageHandler
, _p_wxImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxXPMHandler
, _p_wxXPMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvtHandler
, _p_wxEvtHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_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_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}};
35781 static swig_cast_info _swigc__p_wxPaintDC
[] = { {&_swigt__p_wxPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
35782 static swig_cast_info _swigc__p_wxPalette
[] = { {&_swigt__p_wxPalette
, 0, 0, 0},{0, 0, 0, 0}};
35783 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
35784 static swig_cast_info _swigc__p_wxPen
[] = { {&_swigt__p_wxPen
, 0, 0, 0},{0, 0, 0, 0}};
35785 static swig_cast_info _swigc__p_wxPenList
[] = { {&_swigt__p_wxPenList
, 0, 0, 0},{0, 0, 0, 0}};
35786 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}};
35787 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
35788 static swig_cast_info _swigc__p_wxPoint2D
[] = { {&_swigt__p_wxPoint2D
, 0, 0, 0},{0, 0, 0, 0}};
35789 static swig_cast_info _swigc__p_wxPostScriptDC
[] = { {&_swigt__p_wxPostScriptDC
, 0, 0, 0},{0, 0, 0, 0}};
35790 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
35791 static swig_cast_info _swigc__p_wxPrinterDC
[] = { {&_swigt__p_wxPrinterDC
, 0, 0, 0},{0, 0, 0, 0}};
35792 static swig_cast_info _swigc__p_wxPseudoDC
[] = { {&_swigt__p_wxPseudoDC
, 0, 0, 0},{0, 0, 0, 0}};
35793 static swig_cast_info _swigc__p_wxPyFontEnumerator
[] = { {&_swigt__p_wxPyFontEnumerator
, 0, 0, 0},{0, 0, 0, 0}};
35794 static swig_cast_info _swigc__p_wxPyLocale
[] = { {&_swigt__p_wxPyLocale
, 0, 0, 0},{0, 0, 0, 0}};
35795 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
35796 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
35797 static swig_cast_info _swigc__p_wxRegionIterator
[] = { {&_swigt__p_wxRegionIterator
, 0, 0, 0},{0, 0, 0, 0}};
35798 static swig_cast_info _swigc__p_wxRendererNative
[] = { {&_swigt__p_wxRendererNative
, 0, 0, 0},{0, 0, 0, 0}};
35799 static swig_cast_info _swigc__p_wxRendererVersion
[] = { {&_swigt__p_wxRendererVersion
, 0, 0, 0},{0, 0, 0, 0}};
35800 static swig_cast_info _swigc__p_wxScreenDC
[] = { {&_swigt__p_wxScreenDC
, 0, 0, 0},{0, 0, 0, 0}};
35801 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
35802 static swig_cast_info _swigc__p_wxSplitterRenderParams
[] = { {&_swigt__p_wxSplitterRenderParams
, 0, 0, 0},{0, 0, 0, 0}};
35803 static swig_cast_info _swigc__p_wxStockGDI
[] = { {&_swigt__p_wxStockGDI
, 0, 0, 0},{0, 0, 0, 0}};
35804 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
35805 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}};
35806 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}};
35808 static swig_cast_info
*swig_cast_initial
[] = {
35812 _swigc__p_form_ops_t
,
35814 _swigc__p_unsigned_char
,
35815 _swigc__p_unsigned_int
,
35816 _swigc__p_unsigned_long
,
35817 _swigc__p_wxANIHandler
,
35818 _swigc__p_wxAcceleratorTable
,
35819 _swigc__p_wxActivateEvent
,
35820 _swigc__p_wxAlphaPixelData
,
35821 _swigc__p_wxAlphaPixelData_Accessor
,
35822 _swigc__p_wxArrayDouble
,
35823 _swigc__p_wxBMPHandler
,
35824 _swigc__p_wxBitmap
,
35825 _swigc__p_wxBoxSizer
,
35827 _swigc__p_wxBrushList
,
35828 _swigc__p_wxBufferedDC
,
35829 _swigc__p_wxBufferedPaintDC
,
35830 _swigc__p_wxCURHandler
,
35832 _swigc__p_wxChildFocusEvent
,
35833 _swigc__p_wxClientDC
,
35834 _swigc__p_wxClipboardTextEvent
,
35835 _swigc__p_wxCloseEvent
,
35837 _swigc__p_wxColour
,
35838 _swigc__p_wxColourDatabase
,
35839 _swigc__p_wxCommandEvent
,
35840 _swigc__p_wxContextMenuEvent
,
35841 _swigc__p_wxControl
,
35842 _swigc__p_wxControlWithItems
,
35843 _swigc__p_wxCursor
,
35846 _swigc__p_wxDateEvent
,
35847 _swigc__p_wxDisplayChangedEvent
,
35848 _swigc__p_wxDropFilesEvent
,
35849 _swigc__p_wxDuplexMode
,
35850 _swigc__p_wxEffects
,
35851 _swigc__p_wxEncodingConverter
,
35852 _swigc__p_wxEraseEvent
,
35854 _swigc__p_wxEvtHandler
,
35855 _swigc__p_wxFSFile
,
35856 _swigc__p_wxFileSystem
,
35857 _swigc__p_wxFlexGridSizer
,
35858 _swigc__p_wxFocusEvent
,
35860 _swigc__p_wxFontList
,
35861 _swigc__p_wxFontMapper
,
35862 _swigc__p_wxGBSizerItem
,
35864 _swigc__p_wxGDIObjListBase
,
35865 _swigc__p_wxGDIObject
,
35866 _swigc__p_wxGIFHandler
,
35867 _swigc__p_wxGraphicsContext
,
35868 _swigc__p_wxGraphicsPath
,
35869 _swigc__p_wxGridBagSizer
,
35870 _swigc__p_wxGridSizer
,
35871 _swigc__p_wxHeaderButtonParams
,
35872 _swigc__p_wxICOHandler
,
35874 _swigc__p_wxIconBundle
,
35875 _swigc__p_wxIconLocation
,
35876 _swigc__p_wxIconizeEvent
,
35877 _swigc__p_wxIdleEvent
,
35879 _swigc__p_wxImageHandler
,
35880 _swigc__p_wxImageList
,
35881 _swigc__p_wxIndividualLayoutConstraint
,
35882 _swigc__p_wxInitDialogEvent
,
35883 _swigc__p_wxJPEGHandler
,
35884 _swigc__p_wxKeyEvent
,
35885 _swigc__p_wxLanguageInfo
,
35886 _swigc__p_wxLayoutConstraints
,
35887 _swigc__p_wxLocale
,
35889 _swigc__p_wxMaximizeEvent
,
35890 _swigc__p_wxMemoryDC
,
35892 _swigc__p_wxMenuBar
,
35893 _swigc__p_wxMenuEvent
,
35894 _swigc__p_wxMenuItem
,
35895 _swigc__p_wxMetaFile
,
35896 _swigc__p_wxMetaFileDC
,
35897 _swigc__p_wxMirrorDC
,
35898 _swigc__p_wxMouseCaptureChangedEvent
,
35899 _swigc__p_wxMouseCaptureLostEvent
,
35900 _swigc__p_wxMouseEvent
,
35901 _swigc__p_wxMoveEvent
,
35902 _swigc__p_wxNativeEncodingInfo
,
35903 _swigc__p_wxNativeFontInfo
,
35904 _swigc__p_wxNativePixelData
,
35905 _swigc__p_wxNativePixelData_Accessor
,
35906 _swigc__p_wxNavigationKeyEvent
,
35907 _swigc__p_wxNcPaintEvent
,
35908 _swigc__p_wxNotifyEvent
,
35909 _swigc__p_wxObject
,
35910 _swigc__p_wxPCXHandler
,
35911 _swigc__p_wxPNGHandler
,
35912 _swigc__p_wxPNMHandler
,
35913 _swigc__p_wxPaintDC
,
35914 _swigc__p_wxPaintEvent
,
35915 _swigc__p_wxPalette
,
35916 _swigc__p_wxPaletteChangedEvent
,
35917 _swigc__p_wxPaperSize
,
35919 _swigc__p_wxPenList
,
35920 _swigc__p_wxPixelDataBase
,
35922 _swigc__p_wxPoint2D
,
35923 _swigc__p_wxPostScriptDC
,
35924 _swigc__p_wxPrintData
,
35925 _swigc__p_wxPrinterDC
,
35926 _swigc__p_wxPseudoDC
,
35928 _swigc__p_wxPyCommandEvent
,
35929 _swigc__p_wxPyEvent
,
35930 _swigc__p_wxPyFontEnumerator
,
35931 _swigc__p_wxPyImageHandler
,
35932 _swigc__p_wxPyLocale
,
35933 _swigc__p_wxPySizer
,
35934 _swigc__p_wxPyValidator
,
35935 _swigc__p_wxQueryNewPaletteEvent
,
35937 _swigc__p_wxRegion
,
35938 _swigc__p_wxRegionIterator
,
35939 _swigc__p_wxRendererNative
,
35940 _swigc__p_wxRendererVersion
,
35941 _swigc__p_wxScreenDC
,
35942 _swigc__p_wxScrollEvent
,
35943 _swigc__p_wxScrollWinEvent
,
35944 _swigc__p_wxSetCursorEvent
,
35945 _swigc__p_wxShowEvent
,
35947 _swigc__p_wxSizeEvent
,
35949 _swigc__p_wxSizerItem
,
35950 _swigc__p_wxSplitterRenderParams
,
35951 _swigc__p_wxStaticBoxSizer
,
35952 _swigc__p_wxStdDialogButtonSizer
,
35953 _swigc__p_wxStockGDI
,
35954 _swigc__p_wxString
,
35955 _swigc__p_wxSysColourChangedEvent
,
35956 _swigc__p_wxTIFFHandler
,
35957 _swigc__p_wxUpdateUIEvent
,
35958 _swigc__p_wxValidator
,
35959 _swigc__p_wxWindow
,
35960 _swigc__p_wxWindowCreateEvent
,
35961 _swigc__p_wxWindowDC
,
35962 _swigc__p_wxWindowDestroyEvent
,
35963 _swigc__p_wxXPMHandler
,
35967 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
35969 static swig_const_info swig_const_table
[] = {
35970 {0, 0, 0, 0.0, 0, 0}};
35975 /* -----------------------------------------------------------------------------
35976 * Type initialization:
35977 * This problem is tough by the requirement that no dynamic
35978 * memory is used. Also, since swig_type_info structures store pointers to
35979 * swig_cast_info structures and swig_cast_info structures store pointers back
35980 * to swig_type_info structures, we need some lookup code at initialization.
35981 * The idea is that swig generates all the structures that are needed.
35982 * The runtime then collects these partially filled structures.
35983 * The SWIG_InitializeModule function takes these initial arrays out of
35984 * swig_module, and does all the lookup, filling in the swig_module.types
35985 * array with the correct data and linking the correct swig_cast_info
35986 * structures together.
35988 * The generated swig_type_info structures are assigned staticly to an initial
35989 * array. We just loop though that array, and handle each type individually.
35990 * First we lookup if this type has been already loaded, and if so, use the
35991 * loaded structure instead of the generated one. Then we have to fill in the
35992 * cast linked list. The cast data is initially stored in something like a
35993 * two-dimensional array. Each row corresponds to a type (there are the same
35994 * number of rows as there are in the swig_type_initial array). Each entry in
35995 * a column is one of the swig_cast_info structures for that type.
35996 * The cast_initial array is actually an array of arrays, because each row has
35997 * a variable number of columns. So to actually build the cast linked list,
35998 * we find the array of casts associated with the type, and loop through it
35999 * adding the casts to the list. The one last trick we need to do is making
36000 * sure the type pointer in the swig_cast_info struct is correct.
36002 * First off, we lookup the cast->type name to see if it is already loaded.
36003 * There are three cases to handle:
36004 * 1) If the cast->type has already been loaded AND the type we are adding
36005 * casting info to has not been loaded (it is in this module), THEN we
36006 * replace the cast->type pointer with the type pointer that has already
36008 * 2) If BOTH types (the one we are adding casting info to, and the
36009 * cast->type) are loaded, THEN the cast info has already been loaded by
36010 * the previous module so we just ignore it.
36011 * 3) Finally, if cast->type has not already been loaded, then we add that
36012 * swig_cast_info to the linked list (because the cast->type) pointer will
36014 * ----------------------------------------------------------------------------- */
36024 #define SWIGRUNTIME_DEBUG
36028 SWIG_InitializeModule(void *clientdata
) {
36030 swig_module_info
*module_head
;
36031 static int init_run
= 0;
36033 clientdata
= clientdata
;
36035 if (init_run
) return;
36038 /* Initialize the swig_module */
36039 swig_module
.type_initial
= swig_type_initial
;
36040 swig_module
.cast_initial
= swig_cast_initial
;
36042 /* Try and load any already created modules */
36043 module_head
= SWIG_GetModule(clientdata
);
36045 swig_module
.next
= module_head
->next
;
36046 module_head
->next
= &swig_module
;
36048 /* This is the first module loaded */
36049 swig_module
.next
= &swig_module
;
36050 SWIG_SetModule(clientdata
, &swig_module
);
36053 /* Now work on filling in swig_module.types */
36054 #ifdef SWIGRUNTIME_DEBUG
36055 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
36057 for (i
= 0; i
< swig_module
.size
; ++i
) {
36058 swig_type_info
*type
= 0;
36059 swig_type_info
*ret
;
36060 swig_cast_info
*cast
;
36062 #ifdef SWIGRUNTIME_DEBUG
36063 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
36066 /* if there is another module already loaded */
36067 if (swig_module
.next
!= &swig_module
) {
36068 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
36071 /* Overwrite clientdata field */
36072 #ifdef SWIGRUNTIME_DEBUG
36073 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
36075 if (swig_module
.type_initial
[i
]->clientdata
) {
36076 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
36077 #ifdef SWIGRUNTIME_DEBUG
36078 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
36082 type
= swig_module
.type_initial
[i
];
36085 /* Insert casting types */
36086 cast
= swig_module
.cast_initial
[i
];
36087 while (cast
->type
) {
36088 /* Don't need to add information already in the list */
36090 #ifdef SWIGRUNTIME_DEBUG
36091 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
36093 if (swig_module
.next
!= &swig_module
) {
36094 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
36095 #ifdef SWIGRUNTIME_DEBUG
36096 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
36100 if (type
== swig_module
.type_initial
[i
]) {
36101 #ifdef SWIGRUNTIME_DEBUG
36102 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
36107 /* Check for casting already in the list */
36108 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
36109 #ifdef SWIGRUNTIME_DEBUG
36110 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
36112 if (!ocast
) ret
= 0;
36117 #ifdef SWIGRUNTIME_DEBUG
36118 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
36121 type
->cast
->prev
= cast
;
36122 cast
->next
= type
->cast
;
36128 /* Set entry in modules->types array equal to the type */
36129 swig_module
.types
[i
] = type
;
36131 swig_module
.types
[i
] = 0;
36133 #ifdef SWIGRUNTIME_DEBUG
36134 printf("**** SWIG_InitializeModule: Cast List ******\n");
36135 for (i
= 0; i
< swig_module
.size
; ++i
) {
36137 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
36138 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
36139 while (cast
->type
) {
36140 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
36144 printf("---- Total casts: %d\n",j
);
36146 printf("**** SWIG_InitializeModule: Cast List ******\n");
36150 /* This function will propagate the clientdata field of type to
36151 * any new swig_type_info structures that have been added into the list
36152 * of equivalent types. It is like calling
36153 * SWIG_TypeClientData(type, clientdata) a second time.
36156 SWIG_PropagateClientData(void) {
36158 swig_cast_info
*equiv
;
36159 static int init_run
= 0;
36161 if (init_run
) return;
36164 for (i
= 0; i
< swig_module
.size
; i
++) {
36165 if (swig_module
.types
[i
]->clientdata
) {
36166 equiv
= swig_module
.types
[i
]->cast
;
36168 if (!equiv
->converter
) {
36169 if (equiv
->type
&& !equiv
->type
->clientdata
)
36170 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
36172 equiv
= equiv
->next
;
36192 /* Python-specific SWIG API */
36193 #define SWIG_newvarlink() SWIG_Python_newvarlink()
36194 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
36195 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
36197 /* -----------------------------------------------------------------------------
36198 * global variable support code.
36199 * ----------------------------------------------------------------------------- */
36201 typedef struct swig_globalvar
{
36202 char *name
; /* Name of global variable */
36203 PyObject
*(*get_attr
)(void); /* Return the current value */
36204 int (*set_attr
)(PyObject
*); /* Set the value */
36205 struct swig_globalvar
*next
;
36208 typedef struct swig_varlinkobject
{
36210 swig_globalvar
*vars
;
36211 } swig_varlinkobject
;
36213 SWIGINTERN PyObject
*
36214 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
36215 return PyString_FromString("<Swig global variables>");
36218 SWIGINTERN PyObject
*
36219 swig_varlink_str(swig_varlinkobject
*v
) {
36220 PyObject
*str
= PyString_FromString("(");
36221 swig_globalvar
*var
;
36222 for (var
= v
->vars
; var
; var
=var
->next
) {
36223 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
36224 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
36226 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
36231 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
36232 PyObject
*str
= swig_varlink_str(v
);
36233 fprintf(fp
,"Swig global variables ");
36234 fprintf(fp
,"%s\n", PyString_AsString(str
));
36240 swig_varlink_dealloc(swig_varlinkobject
*v
) {
36241 swig_globalvar
*var
= v
->vars
;
36243 swig_globalvar
*n
= var
->next
;
36250 SWIGINTERN PyObject
*
36251 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
36252 PyObject
*res
= NULL
;
36253 swig_globalvar
*var
= v
->vars
;
36255 if (strcmp(var
->name
,n
) == 0) {
36256 res
= (*var
->get_attr
)();
36261 if (res
== NULL
&& !PyErr_Occurred()) {
36262 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
36268 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
36270 swig_globalvar
*var
= v
->vars
;
36272 if (strcmp(var
->name
,n
) == 0) {
36273 res
= (*var
->set_attr
)(p
);
36278 if (res
== 1 && !PyErr_Occurred()) {
36279 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
36284 SWIGINTERN PyTypeObject
*
36285 swig_varlink_type(void) {
36286 static char varlink__doc__
[] = "Swig var link object";
36287 static PyTypeObject varlink_type
;
36288 static int type_init
= 0;
36290 const PyTypeObject tmp
36292 PyObject_HEAD_INIT(NULL
)
36293 0, /* Number of items in variable part (ob_size) */
36294 (char *)"swigvarlink", /* Type name (tp_name) */
36295 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
36296 0, /* Itemsize (tp_itemsize) */
36297 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
36298 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
36299 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
36300 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
36301 0, /* tp_compare */
36302 (reprfunc
) swig_varlink_repr
, /* tp_repr */
36303 0, /* tp_as_number */
36304 0, /* tp_as_sequence */
36305 0, /* tp_as_mapping */
36308 (reprfunc
)swig_varlink_str
, /* tp_str */
36309 0, /* tp_getattro */
36310 0, /* tp_setattro */
36311 0, /* tp_as_buffer */
36313 varlink__doc__
, /* tp_doc */
36314 0, /* tp_traverse */
36316 0, /* tp_richcompare */
36317 0, /* tp_weaklistoffset */
36318 #if PY_VERSION_HEX >= 0x02020000
36319 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
36321 #if PY_VERSION_HEX >= 0x02030000
36324 #ifdef COUNT_ALLOCS
36325 0,0,0,0 /* tp_alloc -> tp_next */
36328 varlink_type
= tmp
;
36329 varlink_type
.ob_type
= &PyType_Type
;
36332 return &varlink_type
;
36335 /* Create a variable linking object for use later */
36336 SWIGINTERN PyObject
*
36337 SWIG_Python_newvarlink(void) {
36338 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
36342 return ((PyObject
*) result
);
36346 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
36347 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
36348 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
36350 size_t size
= strlen(name
)+1;
36351 gv
->name
= (char *)malloc(size
);
36353 strncpy(gv
->name
,name
,size
);
36354 gv
->get_attr
= get_attr
;
36355 gv
->set_attr
= set_attr
;
36356 gv
->next
= v
->vars
;
36362 SWIGINTERN PyObject
*
36364 static PyObject
*_SWIG_globals
= 0;
36365 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
36366 return _SWIG_globals
;
36369 /* -----------------------------------------------------------------------------
36370 * constants/methods manipulation
36371 * ----------------------------------------------------------------------------- */
36373 /* Install Constants */
36375 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
36378 for (i
= 0; constants
[i
].type
; ++i
) {
36379 switch(constants
[i
].type
) {
36380 case SWIG_PY_POINTER
:
36381 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
36383 case SWIG_PY_BINARY
:
36384 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
36391 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
36397 /* -----------------------------------------------------------------------------*/
36398 /* Fix SwigMethods to carry the callback ptrs when needed */
36399 /* -----------------------------------------------------------------------------*/
36402 SWIG_Python_FixMethods(PyMethodDef
*methods
,
36403 swig_const_info
*const_table
,
36404 swig_type_info
**types
,
36405 swig_type_info
**types_initial
) {
36407 for (i
= 0; methods
[i
].ml_name
; ++i
) {
36408 const char *c
= methods
[i
].ml_doc
;
36409 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
36411 swig_const_info
*ci
= 0;
36412 const char *name
= c
+ 10;
36413 for (j
= 0; const_table
[j
].type
; ++j
) {
36414 if (strncmp(const_table
[j
].name
, name
,
36415 strlen(const_table
[j
].name
)) == 0) {
36416 ci
= &(const_table
[j
]);
36421 size_t shift
= (ci
->ptype
) - types
;
36422 swig_type_info
*ty
= types_initial
[shift
];
36423 size_t ldoc
= (c
- methods
[i
].ml_doc
);
36424 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
36425 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
36428 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
36430 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
36432 strncpy(buff
, "swig_ptr: ", 10);
36434 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
36435 methods
[i
].ml_doc
= ndoc
;
36447 /* -----------------------------------------------------------------------------*
36448 * Partial Init method
36449 * -----------------------------------------------------------------------------*/
36454 SWIGEXPORT
void SWIG_init(void) {
36457 /* Fix SwigMethods to carry the callback ptrs when needed */
36458 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
36460 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
36461 d
= PyModule_GetDict(m
);
36463 SWIG_InitializeModule(0);
36464 SWIG_InstallConstants(d
,swig_const_table
);
36467 SWIG_Python_SetConstant(d
, "C2S_NAME",SWIG_From_int(static_cast< int >(wxC2S_NAME
)));
36468 SWIG_Python_SetConstant(d
, "C2S_CSS_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_CSS_SYNTAX
)));
36469 SWIG_Python_SetConstant(d
, "C2S_HTML_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_HTML_SYNTAX
)));
36470 SWIG_Python_SetConstant(d
, "ALPHA_TRANSPARENT",SWIG_From_int(static_cast< int >(wxALPHA_TRANSPARENT
)));
36471 SWIG_Python_SetConstant(d
, "ALPHA_OPAQUE",SWIG_From_int(static_cast< int >(wxALPHA_OPAQUE
)));
36472 SWIG_Python_SetConstant(d
, "OutRegion",SWIG_From_int(static_cast< int >(wxOutRegion
)));
36473 SWIG_Python_SetConstant(d
, "PartRegion",SWIG_From_int(static_cast< int >(wxPartRegion
)));
36474 SWIG_Python_SetConstant(d
, "InRegion",SWIG_From_int(static_cast< int >(wxInRegion
)));
36475 SWIG_Python_SetConstant(d
, "FONTFAMILY_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DEFAULT
)));
36476 SWIG_Python_SetConstant(d
, "FONTFAMILY_DECORATIVE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DECORATIVE
)));
36477 SWIG_Python_SetConstant(d
, "FONTFAMILY_ROMAN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_ROMAN
)));
36478 SWIG_Python_SetConstant(d
, "FONTFAMILY_SCRIPT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SCRIPT
)));
36479 SWIG_Python_SetConstant(d
, "FONTFAMILY_SWISS",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SWISS
)));
36480 SWIG_Python_SetConstant(d
, "FONTFAMILY_MODERN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MODERN
)));
36481 SWIG_Python_SetConstant(d
, "FONTFAMILY_TELETYPE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_TELETYPE
)));
36482 SWIG_Python_SetConstant(d
, "FONTFAMILY_MAX",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MAX
)));
36483 SWIG_Python_SetConstant(d
, "FONTFAMILY_UNKNOWN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_UNKNOWN
)));
36484 SWIG_Python_SetConstant(d
, "FONTSTYLE_NORMAL",SWIG_From_int(static_cast< int >(wxFONTSTYLE_NORMAL
)));
36485 SWIG_Python_SetConstant(d
, "FONTSTYLE_ITALIC",SWIG_From_int(static_cast< int >(wxFONTSTYLE_ITALIC
)));
36486 SWIG_Python_SetConstant(d
, "FONTSTYLE_SLANT",SWIG_From_int(static_cast< int >(wxFONTSTYLE_SLANT
)));
36487 SWIG_Python_SetConstant(d
, "FONTSTYLE_MAX",SWIG_From_int(static_cast< int >(wxFONTSTYLE_MAX
)));
36488 SWIG_Python_SetConstant(d
, "FONTWEIGHT_NORMAL",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_NORMAL
)));
36489 SWIG_Python_SetConstant(d
, "FONTWEIGHT_LIGHT",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_LIGHT
)));
36490 SWIG_Python_SetConstant(d
, "FONTWEIGHT_BOLD",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_BOLD
)));
36491 SWIG_Python_SetConstant(d
, "FONTWEIGHT_MAX",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_MAX
)));
36492 SWIG_Python_SetConstant(d
, "FONTFLAG_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFLAG_DEFAULT
)));
36493 SWIG_Python_SetConstant(d
, "FONTFLAG_ITALIC",SWIG_From_int(static_cast< int >(wxFONTFLAG_ITALIC
)));
36494 SWIG_Python_SetConstant(d
, "FONTFLAG_SLANT",SWIG_From_int(static_cast< int >(wxFONTFLAG_SLANT
)));
36495 SWIG_Python_SetConstant(d
, "FONTFLAG_LIGHT",SWIG_From_int(static_cast< int >(wxFONTFLAG_LIGHT
)));
36496 SWIG_Python_SetConstant(d
, "FONTFLAG_BOLD",SWIG_From_int(static_cast< int >(wxFONTFLAG_BOLD
)));
36497 SWIG_Python_SetConstant(d
, "FONTFLAG_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_ANTIALIASED
)));
36498 SWIG_Python_SetConstant(d
, "FONTFLAG_NOT_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_NOT_ANTIALIASED
)));
36499 SWIG_Python_SetConstant(d
, "FONTFLAG_UNDERLINED",SWIG_From_int(static_cast< int >(wxFONTFLAG_UNDERLINED
)));
36500 SWIG_Python_SetConstant(d
, "FONTFLAG_STRIKETHROUGH",SWIG_From_int(static_cast< int >(wxFONTFLAG_STRIKETHROUGH
)));
36501 SWIG_Python_SetConstant(d
, "FONTFLAG_MASK",SWIG_From_int(static_cast< int >(wxFONTFLAG_MASK
)));
36502 SWIG_Python_SetConstant(d
, "FONTENCODING_SYSTEM",SWIG_From_int(static_cast< int >(wxFONTENCODING_SYSTEM
)));
36503 SWIG_Python_SetConstant(d
, "FONTENCODING_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTENCODING_DEFAULT
)));
36504 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_1",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_1
)));
36505 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_2",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_2
)));
36506 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_3",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_3
)));
36507 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_4",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_4
)));
36508 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_5",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_5
)));
36509 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_6",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_6
)));
36510 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_7",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_7
)));
36511 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_8",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_8
)));
36512 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_9",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_9
)));
36513 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_10",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_10
)));
36514 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_11",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_11
)));
36515 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_12",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_12
)));
36516 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_13",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_13
)));
36517 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_14",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_14
)));
36518 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_15",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_15
)));
36519 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_MAX
)));
36520 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8
)));
36521 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8_U",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8_U
)));
36522 SWIG_Python_SetConstant(d
, "FONTENCODING_ALTERNATIVE",SWIG_From_int(static_cast< int >(wxFONTENCODING_ALTERNATIVE
)));
36523 SWIG_Python_SetConstant(d
, "FONTENCODING_BULGARIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_BULGARIAN
)));
36524 SWIG_Python_SetConstant(d
, "FONTENCODING_CP437",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP437
)));
36525 SWIG_Python_SetConstant(d
, "FONTENCODING_CP850",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP850
)));
36526 SWIG_Python_SetConstant(d
, "FONTENCODING_CP852",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP852
)));
36527 SWIG_Python_SetConstant(d
, "FONTENCODING_CP855",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP855
)));
36528 SWIG_Python_SetConstant(d
, "FONTENCODING_CP866",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP866
)));
36529 SWIG_Python_SetConstant(d
, "FONTENCODING_CP874",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP874
)));
36530 SWIG_Python_SetConstant(d
, "FONTENCODING_CP932",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP932
)));
36531 SWIG_Python_SetConstant(d
, "FONTENCODING_CP936",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP936
)));
36532 SWIG_Python_SetConstant(d
, "FONTENCODING_CP949",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP949
)));
36533 SWIG_Python_SetConstant(d
, "FONTENCODING_CP950",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP950
)));
36534 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1250",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1250
)));
36535 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1251",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1251
)));
36536 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1252",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1252
)));
36537 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1253",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1253
)));
36538 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1254",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1254
)));
36539 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1255",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1255
)));
36540 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1256",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1256
)));
36541 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1257",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1257
)));
36542 SWIG_Python_SetConstant(d
, "FONTENCODING_CP12_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP12_MAX
)));
36543 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF7",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF7
)));
36544 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF8",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF8
)));
36545 SWIG_Python_SetConstant(d
, "FONTENCODING_EUC_JP",SWIG_From_int(static_cast< int >(wxFONTENCODING_EUC_JP
)));
36546 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16BE
)));
36547 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16LE
)));
36548 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32BE
)));
36549 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32LE
)));
36550 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMAN
)));
36551 SWIG_Python_SetConstant(d
, "FONTENCODING_MACJAPANESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACJAPANESE
)));
36552 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESETRAD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESETRAD
)));
36553 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKOREAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKOREAN
)));
36554 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABIC
)));
36555 SWIG_Python_SetConstant(d
, "FONTENCODING_MACHEBREW",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACHEBREW
)));
36556 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGREEK",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGREEK
)));
36557 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCYRILLIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCYRILLIC
)));
36558 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDEVANAGARI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDEVANAGARI
)));
36559 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGURMUKHI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGURMUKHI
)));
36560 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGUJARATI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGUJARATI
)));
36561 SWIG_Python_SetConstant(d
, "FONTENCODING_MACORIYA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACORIYA
)));
36562 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBENGALI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBENGALI
)));
36563 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTAMIL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTAMIL
)));
36564 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTELUGU",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTELUGU
)));
36565 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKANNADA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKANNADA
)));
36566 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMALAJALAM",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMALAJALAM
)));
36567 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSINHALESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSINHALESE
)));
36568 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBURMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBURMESE
)));
36569 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKHMER",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKHMER
)));
36570 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTHAI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTHAI
)));
36571 SWIG_Python_SetConstant(d
, "FONTENCODING_MACLAOTIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACLAOTIAN
)));
36572 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGEORGIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGEORGIAN
)));
36573 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARMENIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARMENIAN
)));
36574 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESESIMP",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESESIMP
)));
36575 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTIBETAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTIBETAN
)));
36576 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMONGOLIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMONGOLIAN
)));
36577 SWIG_Python_SetConstant(d
, "FONTENCODING_MACETHIOPIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACETHIOPIC
)));
36578 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCENTRALEUR",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCENTRALEUR
)));
36579 SWIG_Python_SetConstant(d
, "FONTENCODING_MACVIATNAMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACVIATNAMESE
)));
36580 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABICEXT",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABICEXT
)));
36581 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSYMBOL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSYMBOL
)));
36582 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDINGBATS",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDINGBATS
)));
36583 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTURKISH",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTURKISH
)));
36584 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCROATIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCROATIAN
)));
36585 SWIG_Python_SetConstant(d
, "FONTENCODING_MACICELANDIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACICELANDIC
)));
36586 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMANIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMANIAN
)));
36587 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCELTIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCELTIC
)));
36588 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGAELIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGAELIC
)));
36589 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKEYBOARD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKEYBOARD
)));
36590 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMIN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMIN
)));
36591 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMAX
)));
36592 SWIG_Python_SetConstant(d
, "FONTENCODING_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MAX
)));
36593 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16
)));
36594 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32
)));
36595 SWIG_Python_SetConstant(d
, "FONTENCODING_UNICODE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UNICODE
)));
36596 SWIG_Python_SetConstant(d
, "FONTENCODING_GB2312",SWIG_From_int(static_cast< int >(wxFONTENCODING_GB2312
)));
36597 SWIG_Python_SetConstant(d
, "FONTENCODING_BIG5",SWIG_From_int(static_cast< int >(wxFONTENCODING_BIG5
)));
36598 SWIG_Python_SetConstant(d
, "FONTENCODING_SHIFT_JIS",SWIG_From_int(static_cast< int >(wxFONTENCODING_SHIFT_JIS
)));
36600 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
36602 SWIG_Python_SetConstant(d
, "LANGUAGE_DEFAULT",SWIG_From_int(static_cast< int >(wxLANGUAGE_DEFAULT
)));
36603 SWIG_Python_SetConstant(d
, "LANGUAGE_UNKNOWN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UNKNOWN
)));
36604 SWIG_Python_SetConstant(d
, "LANGUAGE_ABKHAZIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ABKHAZIAN
)));
36605 SWIG_Python_SetConstant(d
, "LANGUAGE_AFAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFAR
)));
36606 SWIG_Python_SetConstant(d
, "LANGUAGE_AFRIKAANS",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFRIKAANS
)));
36607 SWIG_Python_SetConstant(d
, "LANGUAGE_ALBANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ALBANIAN
)));
36608 SWIG_Python_SetConstant(d
, "LANGUAGE_AMHARIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AMHARIC
)));
36609 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC
)));
36610 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_ALGERIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_ALGERIA
)));
36611 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_BAHRAIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_BAHRAIN
)));
36612 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_EGYPT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_EGYPT
)));
36613 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_IRAQ",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_IRAQ
)));
36614 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_JORDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_JORDAN
)));
36615 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_KUWAIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_KUWAIT
)));
36616 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LEBANON",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LEBANON
)));
36617 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LIBYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LIBYA
)));
36618 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_MOROCCO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_MOROCCO
)));
36619 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_OMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_OMAN
)));
36620 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_QATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_QATAR
)));
36621 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SAUDI_ARABIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SAUDI_ARABIA
)));
36622 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SUDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SUDAN
)));
36623 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SYRIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SYRIA
)));
36624 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_TUNISIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_TUNISIA
)));
36625 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_UAE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_UAE
)));
36626 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_YEMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_YEMEN
)));
36627 SWIG_Python_SetConstant(d
, "LANGUAGE_ARMENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARMENIAN
)));
36628 SWIG_Python_SetConstant(d
, "LANGUAGE_ASSAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ASSAMESE
)));
36629 SWIG_Python_SetConstant(d
, "LANGUAGE_AYMARA",SWIG_From_int(static_cast< int >(wxLANGUAGE_AYMARA
)));
36630 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI
)));
36631 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_CYRILLIC
)));
36632 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_LATIN
)));
36633 SWIG_Python_SetConstant(d
, "LANGUAGE_BASHKIR",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASHKIR
)));
36634 SWIG_Python_SetConstant(d
, "LANGUAGE_BASQUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASQUE
)));
36635 SWIG_Python_SetConstant(d
, "LANGUAGE_BELARUSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BELARUSIAN
)));
36636 SWIG_Python_SetConstant(d
, "LANGUAGE_BENGALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BENGALI
)));
36637 SWIG_Python_SetConstant(d
, "LANGUAGE_BHUTANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BHUTANI
)));
36638 SWIG_Python_SetConstant(d
, "LANGUAGE_BIHARI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BIHARI
)));
36639 SWIG_Python_SetConstant(d
, "LANGUAGE_BISLAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_BISLAMA
)));
36640 SWIG_Python_SetConstant(d
, "LANGUAGE_BRETON",SWIG_From_int(static_cast< int >(wxLANGUAGE_BRETON
)));
36641 SWIG_Python_SetConstant(d
, "LANGUAGE_BULGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BULGARIAN
)));
36642 SWIG_Python_SetConstant(d
, "LANGUAGE_BURMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BURMESE
)));
36643 SWIG_Python_SetConstant(d
, "LANGUAGE_CAMBODIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CAMBODIAN
)));
36644 SWIG_Python_SetConstant(d
, "LANGUAGE_CATALAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CATALAN
)));
36645 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE
)));
36646 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SIMPLIFIED",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SIMPLIFIED
)));
36647 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TRADITIONAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TRADITIONAL
)));
36648 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_HONGKONG",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_HONGKONG
)));
36649 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_MACAU",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_MACAU
)));
36650 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SINGAPORE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SINGAPORE
)));
36651 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TAIWAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TAIWAN
)));
36652 SWIG_Python_SetConstant(d
, "LANGUAGE_CORSICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CORSICAN
)));
36653 SWIG_Python_SetConstant(d
, "LANGUAGE_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CROATIAN
)));
36654 SWIG_Python_SetConstant(d
, "LANGUAGE_CZECH",SWIG_From_int(static_cast< int >(wxLANGUAGE_CZECH
)));
36655 SWIG_Python_SetConstant(d
, "LANGUAGE_DANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DANISH
)));
36656 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH
)));
36657 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH_BELGIAN
)));
36658 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH
)));
36659 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_UK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_UK
)));
36660 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_US
)));
36661 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_AUSTRALIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_AUSTRALIA
)));
36662 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BELIZE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BELIZE
)));
36663 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BOTSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BOTSWANA
)));
36664 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CANADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CANADA
)));
36665 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CARIBBEAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CARIBBEAN
)));
36666 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_DENMARK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_DENMARK
)));
36667 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_EIRE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_EIRE
)));
36668 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_JAMAICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_JAMAICA
)));
36669 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_NEW_ZEALAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_NEW_ZEALAND
)));
36670 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_PHILIPPINES",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_PHILIPPINES
)));
36671 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_SOUTH_AFRICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_SOUTH_AFRICA
)));
36672 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_TRINIDAD",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_TRINIDAD
)));
36673 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_ZIMBABWE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_ZIMBABWE
)));
36674 SWIG_Python_SetConstant(d
, "LANGUAGE_ESPERANTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESPERANTO
)));
36675 SWIG_Python_SetConstant(d
, "LANGUAGE_ESTONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESTONIAN
)));
36676 SWIG_Python_SetConstant(d
, "LANGUAGE_FAEROESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_FAEROESE
)));
36677 SWIG_Python_SetConstant(d
, "LANGUAGE_FARSI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FARSI
)));
36678 SWIG_Python_SetConstant(d
, "LANGUAGE_FIJI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FIJI
)));
36679 SWIG_Python_SetConstant(d
, "LANGUAGE_FINNISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FINNISH
)));
36680 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH
)));
36681 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_BELGIAN
)));
36682 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_CANADIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_CANADIAN
)));
36683 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_LUXEMBOURG
)));
36684 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_MONACO",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_MONACO
)));
36685 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_SWISS
)));
36686 SWIG_Python_SetConstant(d
, "LANGUAGE_FRISIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRISIAN
)));
36687 SWIG_Python_SetConstant(d
, "LANGUAGE_GALICIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GALICIAN
)));
36688 SWIG_Python_SetConstant(d
, "LANGUAGE_GEORGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GEORGIAN
)));
36689 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN
)));
36690 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_AUSTRIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_AUSTRIAN
)));
36691 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_BELGIUM",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_BELGIUM
)));
36692 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LIECHTENSTEIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LIECHTENSTEIN
)));
36693 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LUXEMBOURG
)));
36694 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_SWISS
)));
36695 SWIG_Python_SetConstant(d
, "LANGUAGE_GREEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREEK
)));
36696 SWIG_Python_SetConstant(d
, "LANGUAGE_GREENLANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREENLANDIC
)));
36697 SWIG_Python_SetConstant(d
, "LANGUAGE_GUARANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUARANI
)));
36698 SWIG_Python_SetConstant(d
, "LANGUAGE_GUJARATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUJARATI
)));
36699 SWIG_Python_SetConstant(d
, "LANGUAGE_HAUSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_HAUSA
)));
36700 SWIG_Python_SetConstant(d
, "LANGUAGE_HEBREW",SWIG_From_int(static_cast< int >(wxLANGUAGE_HEBREW
)));
36701 SWIG_Python_SetConstant(d
, "LANGUAGE_HINDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_HINDI
)));
36702 SWIG_Python_SetConstant(d
, "LANGUAGE_HUNGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_HUNGARIAN
)));
36703 SWIG_Python_SetConstant(d
, "LANGUAGE_ICELANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ICELANDIC
)));
36704 SWIG_Python_SetConstant(d
, "LANGUAGE_INDONESIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_INDONESIAN
)));
36705 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUA
)));
36706 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUE
)));
36707 SWIG_Python_SetConstant(d
, "LANGUAGE_INUKTITUT",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUKTITUT
)));
36708 SWIG_Python_SetConstant(d
, "LANGUAGE_INUPIAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUPIAK
)));
36709 SWIG_Python_SetConstant(d
, "LANGUAGE_IRISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_IRISH
)));
36710 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN
)));
36711 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN_SWISS
)));
36712 SWIG_Python_SetConstant(d
, "LANGUAGE_JAPANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAPANESE
)));
36713 SWIG_Python_SetConstant(d
, "LANGUAGE_JAVANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAVANESE
)));
36714 SWIG_Python_SetConstant(d
, "LANGUAGE_KANNADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KANNADA
)));
36715 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI
)));
36716 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI_INDIA
)));
36717 SWIG_Python_SetConstant(d
, "LANGUAGE_KAZAKH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KAZAKH
)));
36718 SWIG_Python_SetConstant(d
, "LANGUAGE_KERNEWEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_KERNEWEK
)));
36719 SWIG_Python_SetConstant(d
, "LANGUAGE_KINYARWANDA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KINYARWANDA
)));
36720 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRGHIZ",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRGHIZ
)));
36721 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRUNDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRUNDI
)));
36722 SWIG_Python_SetConstant(d
, "LANGUAGE_KONKANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KONKANI
)));
36723 SWIG_Python_SetConstant(d
, "LANGUAGE_KOREAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_KOREAN
)));
36724 SWIG_Python_SetConstant(d
, "LANGUAGE_KURDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KURDISH
)));
36725 SWIG_Python_SetConstant(d
, "LANGUAGE_LAOTHIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LAOTHIAN
)));
36726 SWIG_Python_SetConstant(d
, "LANGUAGE_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATIN
)));
36727 SWIG_Python_SetConstant(d
, "LANGUAGE_LATVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATVIAN
)));
36728 SWIG_Python_SetConstant(d
, "LANGUAGE_LINGALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_LINGALA
)));
36729 SWIG_Python_SetConstant(d
, "LANGUAGE_LITHUANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LITHUANIAN
)));
36730 SWIG_Python_SetConstant(d
, "LANGUAGE_MACEDONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MACEDONIAN
)));
36731 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAGASY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAGASY
)));
36732 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY
)));
36733 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAYALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAYALAM
)));
36734 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_BRUNEI_DARUSSALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
)));
36735 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_MALAYSIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_MALAYSIA
)));
36736 SWIG_Python_SetConstant(d
, "LANGUAGE_MALTESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALTESE
)));
36737 SWIG_Python_SetConstant(d
, "LANGUAGE_MANIPURI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MANIPURI
)));
36738 SWIG_Python_SetConstant(d
, "LANGUAGE_MAORI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MAORI
)));
36739 SWIG_Python_SetConstant(d
, "LANGUAGE_MARATHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MARATHI
)));
36740 SWIG_Python_SetConstant(d
, "LANGUAGE_MOLDAVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MOLDAVIAN
)));
36741 SWIG_Python_SetConstant(d
, "LANGUAGE_MONGOLIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MONGOLIAN
)));
36742 SWIG_Python_SetConstant(d
, "LANGUAGE_NAURU",SWIG_From_int(static_cast< int >(wxLANGUAGE_NAURU
)));
36743 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI
)));
36744 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI_INDIA
)));
36745 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_BOKMAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_BOKMAL
)));
36746 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_NYNORSK",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_NYNORSK
)));
36747 SWIG_Python_SetConstant(d
, "LANGUAGE_OCCITAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_OCCITAN
)));
36748 SWIG_Python_SetConstant(d
, "LANGUAGE_ORIYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ORIYA
)));
36749 SWIG_Python_SetConstant(d
, "LANGUAGE_OROMO",SWIG_From_int(static_cast< int >(wxLANGUAGE_OROMO
)));
36750 SWIG_Python_SetConstant(d
, "LANGUAGE_PASHTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_PASHTO
)));
36751 SWIG_Python_SetConstant(d
, "LANGUAGE_POLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_POLISH
)));
36752 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE
)));
36753 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE_BRAZILIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE_BRAZILIAN
)));
36754 SWIG_Python_SetConstant(d
, "LANGUAGE_PUNJABI",SWIG_From_int(static_cast< int >(wxLANGUAGE_PUNJABI
)));
36755 SWIG_Python_SetConstant(d
, "LANGUAGE_QUECHUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_QUECHUA
)));
36756 SWIG_Python_SetConstant(d
, "LANGUAGE_RHAETO_ROMANCE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RHAETO_ROMANCE
)));
36757 SWIG_Python_SetConstant(d
, "LANGUAGE_ROMANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ROMANIAN
)));
36758 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN
)));
36759 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN_UKRAINE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN_UKRAINE
)));
36760 SWIG_Python_SetConstant(d
, "LANGUAGE_SAMOAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SAMOAN
)));
36761 SWIG_Python_SetConstant(d
, "LANGUAGE_SANGHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANGHO
)));
36762 SWIG_Python_SetConstant(d
, "LANGUAGE_SANSKRIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANSKRIT
)));
36763 SWIG_Python_SetConstant(d
, "LANGUAGE_SCOTS_GAELIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SCOTS_GAELIC
)));
36764 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN
)));
36765 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_CYRILLIC
)));
36766 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_LATIN
)));
36767 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBO_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBO_CROATIAN
)));
36768 SWIG_Python_SetConstant(d
, "LANGUAGE_SESOTHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SESOTHO
)));
36769 SWIG_Python_SetConstant(d
, "LANGUAGE_SETSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SETSWANA
)));
36770 SWIG_Python_SetConstant(d
, "LANGUAGE_SHONA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SHONA
)));
36771 SWIG_Python_SetConstant(d
, "LANGUAGE_SINDHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINDHI
)));
36772 SWIG_Python_SetConstant(d
, "LANGUAGE_SINHALESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINHALESE
)));
36773 SWIG_Python_SetConstant(d
, "LANGUAGE_SISWATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SISWATI
)));
36774 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVAK
)));
36775 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVENIAN
)));
36776 SWIG_Python_SetConstant(d
, "LANGUAGE_SOMALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SOMALI
)));
36777 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH
)));
36778 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ARGENTINA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ARGENTINA
)));
36779 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_BOLIVIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_BOLIVIA
)));
36780 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_CHILE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_CHILE
)));
36781 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COLOMBIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COLOMBIA
)));
36782 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COSTA_RICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COSTA_RICA
)));
36783 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_DOMINICAN_REPUBLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
)));
36784 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ECUADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ECUADOR
)));
36785 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_EL_SALVADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_EL_SALVADOR
)));
36786 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_GUATEMALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_GUATEMALA
)));
36787 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_HONDURAS",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_HONDURAS
)));
36788 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MEXICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MEXICAN
)));
36789 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MODERN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MODERN
)));
36790 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_NICARAGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_NICARAGUA
)));
36791 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PANAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PANAMA
)));
36792 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PARAGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PARAGUAY
)));
36793 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PERU",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PERU
)));
36794 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PUERTO_RICO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PUERTO_RICO
)));
36795 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_URUGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_URUGUAY
)));
36796 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_US
)));
36797 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_VENEZUELA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_VENEZUELA
)));
36798 SWIG_Python_SetConstant(d
, "LANGUAGE_SUNDANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SUNDANESE
)));
36799 SWIG_Python_SetConstant(d
, "LANGUAGE_SWAHILI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWAHILI
)));
36800 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH
)));
36801 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH_FINLAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH_FINLAND
)));
36802 SWIG_Python_SetConstant(d
, "LANGUAGE_TAGALOG",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAGALOG
)));
36803 SWIG_Python_SetConstant(d
, "LANGUAGE_TAJIK",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAJIK
)));
36804 SWIG_Python_SetConstant(d
, "LANGUAGE_TAMIL",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAMIL
)));
36805 SWIG_Python_SetConstant(d
, "LANGUAGE_TATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_TATAR
)));
36806 SWIG_Python_SetConstant(d
, "LANGUAGE_TELUGU",SWIG_From_int(static_cast< int >(wxLANGUAGE_TELUGU
)));
36807 SWIG_Python_SetConstant(d
, "LANGUAGE_THAI",SWIG_From_int(static_cast< int >(wxLANGUAGE_THAI
)));
36808 SWIG_Python_SetConstant(d
, "LANGUAGE_TIBETAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIBETAN
)));
36809 SWIG_Python_SetConstant(d
, "LANGUAGE_TIGRINYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIGRINYA
)));
36810 SWIG_Python_SetConstant(d
, "LANGUAGE_TONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TONGA
)));
36811 SWIG_Python_SetConstant(d
, "LANGUAGE_TSONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TSONGA
)));
36812 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKISH
)));
36813 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKMEN
)));
36814 SWIG_Python_SetConstant(d
, "LANGUAGE_TWI",SWIG_From_int(static_cast< int >(wxLANGUAGE_TWI
)));
36815 SWIG_Python_SetConstant(d
, "LANGUAGE_UIGHUR",SWIG_From_int(static_cast< int >(wxLANGUAGE_UIGHUR
)));
36816 SWIG_Python_SetConstant(d
, "LANGUAGE_UKRAINIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UKRAINIAN
)));
36817 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU
)));
36818 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_INDIA
)));
36819 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_PAKISTAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_PAKISTAN
)));
36820 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK
)));
36821 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_CYRILLIC
)));
36822 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_LATIN
)));
36823 SWIG_Python_SetConstant(d
, "LANGUAGE_VIETNAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_VIETNAMESE
)));
36824 SWIG_Python_SetConstant(d
, "LANGUAGE_VOLAPUK",SWIG_From_int(static_cast< int >(wxLANGUAGE_VOLAPUK
)));
36825 SWIG_Python_SetConstant(d
, "LANGUAGE_WELSH",SWIG_From_int(static_cast< int >(wxLANGUAGE_WELSH
)));
36826 SWIG_Python_SetConstant(d
, "LANGUAGE_WOLOF",SWIG_From_int(static_cast< int >(wxLANGUAGE_WOLOF
)));
36827 SWIG_Python_SetConstant(d
, "LANGUAGE_XHOSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_XHOSA
)));
36828 SWIG_Python_SetConstant(d
, "LANGUAGE_YIDDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_YIDDISH
)));
36829 SWIG_Python_SetConstant(d
, "LANGUAGE_YORUBA",SWIG_From_int(static_cast< int >(wxLANGUAGE_YORUBA
)));
36830 SWIG_Python_SetConstant(d
, "LANGUAGE_ZHUANG",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZHUANG
)));
36831 SWIG_Python_SetConstant(d
, "LANGUAGE_ZULU",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZULU
)));
36832 SWIG_Python_SetConstant(d
, "LANGUAGE_USER_DEFINED",SWIG_From_int(static_cast< int >(wxLANGUAGE_USER_DEFINED
)));
36833 SWIG_Python_SetConstant(d
, "LOCALE_CAT_NUMBER",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_NUMBER
)));
36834 SWIG_Python_SetConstant(d
, "LOCALE_CAT_DATE",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_DATE
)));
36835 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MONEY",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MONEY
)));
36836 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MAX",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MAX
)));
36837 SWIG_Python_SetConstant(d
, "LOCALE_THOUSANDS_SEP",SWIG_From_int(static_cast< int >(wxLOCALE_THOUSANDS_SEP
)));
36838 SWIG_Python_SetConstant(d
, "LOCALE_DECIMAL_POINT",SWIG_From_int(static_cast< int >(wxLOCALE_DECIMAL_POINT
)));
36839 SWIG_Python_SetConstant(d
, "LOCALE_LOAD_DEFAULT",SWIG_From_int(static_cast< int >(wxLOCALE_LOAD_DEFAULT
)));
36840 SWIG_Python_SetConstant(d
, "LOCALE_CONV_ENCODING",SWIG_From_int(static_cast< int >(wxLOCALE_CONV_ENCODING
)));
36841 SWIG_Python_SetConstant(d
, "CONVERT_STRICT",SWIG_From_int(static_cast< int >(wxCONVERT_STRICT
)));
36842 SWIG_Python_SetConstant(d
, "CONVERT_SUBSTITUTE",SWIG_From_int(static_cast< int >(wxCONVERT_SUBSTITUTE
)));
36843 SWIG_Python_SetConstant(d
, "PLATFORM_CURRENT",SWIG_From_int(static_cast< int >(wxPLATFORM_CURRENT
)));
36844 SWIG_Python_SetConstant(d
, "PLATFORM_UNIX",SWIG_From_int(static_cast< int >(wxPLATFORM_UNIX
)));
36845 SWIG_Python_SetConstant(d
, "PLATFORM_WINDOWS",SWIG_From_int(static_cast< int >(wxPLATFORM_WINDOWS
)));
36846 SWIG_Python_SetConstant(d
, "PLATFORM_OS2",SWIG_From_int(static_cast< int >(wxPLATFORM_OS2
)));
36847 SWIG_Python_SetConstant(d
, "PLATFORM_MAC",SWIG_From_int(static_cast< int >(wxPLATFORM_MAC
)));
36848 SWIG_Python_SetConstant(d
, "BUFFER_VIRTUAL_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_VIRTUAL_AREA
)));
36849 SWIG_Python_SetConstant(d
, "BUFFER_CLIENT_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_CLIENT_AREA
)));
36850 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_NORMAL
)));
36851 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_TRANSPARENT",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_TRANSPARENT
)));
36852 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_SELECTED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_SELECTED
)));
36853 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_FOCUSED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_FOCUSED
)));
36854 SWIG_Python_SetConstant(d
, "IMAGE_LIST_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_NORMAL
)));
36855 SWIG_Python_SetConstant(d
, "IMAGE_LIST_SMALL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_SMALL
)));
36856 SWIG_Python_SetConstant(d
, "IMAGE_LIST_STATE",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_STATE
)));
36857 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLACK
)));
36858 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLUE
)));
36859 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_CYAN
)));
36860 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREEN
)));
36861 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREY
)));
36862 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_LIGHTGREY
)));
36863 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_MEDIUMGREY
)));
36864 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_RED",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_RED
)));
36865 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_TRANSPARENT
)));
36866 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_WHITE
)));
36867 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLACK
)));
36868 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLUE
)));
36869 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_CYAN
)));
36870 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_GREEN
)));
36871 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_LIGHTGREY
)));
36872 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_RED",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_RED
)));
36873 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_WHITE
)));
36874 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_CROSS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_CROSS
)));
36875 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_HOURGLASS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_HOURGLASS
)));
36876 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_STANDARD",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_STANDARD
)));
36877 SWIG_Python_SetConstant(d
, "StockGDI_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_ITALIC
)));
36878 SWIG_Python_SetConstant(d
, "StockGDI_FONT_NORMAL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_NORMAL
)));
36879 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SMALL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SMALL
)));
36880 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SWISS",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SWISS
)));
36881 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACK
)));
36882 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACKDASHED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACKDASHED
)));
36883 SWIG_Python_SetConstant(d
, "StockGDI_PEN_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_CYAN
)));
36884 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREEN
)));
36885 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREY
)));
36886 SWIG_Python_SetConstant(d
, "StockGDI_PEN_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_LIGHTGREY
)));
36887 SWIG_Python_SetConstant(d
, "StockGDI_PEN_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_MEDIUMGREY
)));
36888 SWIG_Python_SetConstant(d
, "StockGDI_PEN_RED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_RED
)));
36889 SWIG_Python_SetConstant(d
, "StockGDI_PEN_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_TRANSPARENT
)));
36890 SWIG_Python_SetConstant(d
, "StockGDI_PEN_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_WHITE
)));
36891 SWIG_Python_SetConstant(d
, "StockGDI_ITEMCOUNT",SWIG_From_int(static_cast< int >(wxStockGDI::ITEMCOUNT
)));
36892 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
36893 SWIG_addvarlink(SWIG_globals(),(char*)"NullBitmap",NullBitmap_get
, NullBitmap_set
);
36894 SWIG_addvarlink(SWIG_globals(),(char*)"NullIcon",NullIcon_get
, NullIcon_set
);
36895 SWIG_addvarlink(SWIG_globals(),(char*)"NullCursor",NullCursor_get
, NullCursor_set
);
36896 SWIG_addvarlink(SWIG_globals(),(char*)"NullPen",NullPen_get
, NullPen_set
);
36897 SWIG_addvarlink(SWIG_globals(),(char*)"NullBrush",NullBrush_get
, NullBrush_set
);
36898 SWIG_addvarlink(SWIG_globals(),(char*)"NullPalette",NullPalette_get
, NullPalette_set
);
36899 SWIG_addvarlink(SWIG_globals(),(char*)"NullFont",NullFont_get
, NullFont_set
);
36900 SWIG_addvarlink(SWIG_globals(),(char*)"NullColour",NullColour_get
, NullColour_set
);
36901 SWIG_Python_SetConstant(d
, "CONTROL_DISABLED",SWIG_From_int(static_cast< int >(wxCONTROL_DISABLED
)));
36902 SWIG_Python_SetConstant(d
, "CONTROL_FOCUSED",SWIG_From_int(static_cast< int >(wxCONTROL_FOCUSED
)));
36903 SWIG_Python_SetConstant(d
, "CONTROL_PRESSED",SWIG_From_int(static_cast< int >(wxCONTROL_PRESSED
)));
36904 SWIG_Python_SetConstant(d
, "CONTROL_SPECIAL",SWIG_From_int(static_cast< int >(wxCONTROL_SPECIAL
)));
36905 SWIG_Python_SetConstant(d
, "CONTROL_ISDEFAULT",SWIG_From_int(static_cast< int >(wxCONTROL_ISDEFAULT
)));
36906 SWIG_Python_SetConstant(d
, "CONTROL_ISSUBMENU",SWIG_From_int(static_cast< int >(wxCONTROL_ISSUBMENU
)));
36907 SWIG_Python_SetConstant(d
, "CONTROL_EXPANDED",SWIG_From_int(static_cast< int >(wxCONTROL_EXPANDED
)));
36908 SWIG_Python_SetConstant(d
, "CONTROL_SIZEGRIP",SWIG_From_int(static_cast< int >(wxCONTROL_SIZEGRIP
)));
36909 SWIG_Python_SetConstant(d
, "CONTROL_CURRENT",SWIG_From_int(static_cast< int >(wxCONTROL_CURRENT
)));
36910 SWIG_Python_SetConstant(d
, "CONTROL_SELECTED",SWIG_From_int(static_cast< int >(wxCONTROL_SELECTED
)));
36911 SWIG_Python_SetConstant(d
, "CONTROL_CHECKED",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKED
)));
36912 SWIG_Python_SetConstant(d
, "CONTROL_CHECKABLE",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKABLE
)));
36913 SWIG_Python_SetConstant(d
, "CONTROL_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCONTROL_UNDETERMINED
)));
36914 SWIG_Python_SetConstant(d
, "CONTROL_FLAGS_MASK",SWIG_From_int(static_cast< int >(wxCONTROL_FLAGS_MASK
)));
36915 SWIG_Python_SetConstant(d
, "CONTROL_DIRTY",SWIG_From_int(static_cast< int >(wxCONTROL_DIRTY
)));
36916 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_NONE",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_NONE
)));
36917 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_UP",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_UP
)));
36918 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_DOWN",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_DOWN
)));
36919 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Version",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Version
)));
36920 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Age",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Age
)));
36922 // Work around a chicken/egg problem in drawlist.cpp
36923 wxPyDrawList_SetAPIPtr();