1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # define SWIGTEMPLATEDISAMBIGUATOR
44 # define SWIGTEMPLATEDISAMBIGUATOR
48 /* inline attribute */
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
66 # define SWIGUNUSED __attribute__ ((__unused__))
72 #ifndef SWIGUNUSEDPARM
74 # define SWIGUNUSEDPARM(p)
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
80 /* internal SWIG method */
82 # define SWIGINTERN static SWIGUNUSED
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
102 # define SWIGEXPORT __declspec(dllexport)
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
113 /* calling conventions for Windows */
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
128 /* Python.h has to appear first */
131 /* -----------------------------------------------------------------------------
134 * This file contains generic CAPI SWIG runtime support for pointer
136 * ----------------------------------------------------------------------------- */
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
148 # define SWIG_TYPE_TABLE_NAME
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
161 # define SWIGRUNTIME SWIGINTERN
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
181 Flags/methods for returning states.
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
187 Use the following macros/flags to set or process the returning
190 In old swig versions, you usually write code as:
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
198 Now you can be more explicit as:
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
207 that seems to be the same, but now you can also do
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
213 if (SWIG_IsNewObj(res) {
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
227 int SWIG_ConvertPtr(obj, ptr,...) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
233 *ptr = <ptr to old object>;
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
256 just use the SWIG_AddCast()/SWIG_CheckState()
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE
int SWIG_AddCast(int r
) {
296 return SWIG_IsOK(r
) ? ((SWIG_CastRank(r
) < SWIG_MAXCASTRANK
) ? (r
+ 1) : SWIG_ERROR
) : r
;
298 SWIGINTERNINLINE
int SWIG_CheckState(int r
) {
299 return SWIG_IsOK(r
) ? SWIG_CastRank(r
) + 1 : 0;
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
315 typedef void *(*swig_converter_func
)(void *);
316 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info
{
320 const char *name
; /* mangled name of this type */
321 const char *str
; /* human readable name of this type */
322 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
324 void *clientdata
; /* language specific type data */
325 int owndata
; /* flag if the structure owns the clientdata */
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info
{
330 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter
; /* function to cast the void pointers */
332 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
333 struct swig_cast_info
*prev
; /* pointer to the previous cast */
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info
{
340 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size
; /* Number of types in this module */
342 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
343 swig_type_info
**type_initial
; /* Array of initially generated type structures */
344 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
345 void *clientdata
; /* Language specific module data */
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
356 SWIG_TypeNameComp(const char *f1
, const char *l1
,
357 const char *f2
, const char *l2
) {
358 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
359 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
360 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
361 if (*f1
!= *f2
) return (*f1
> *f2
) ? 1 : -1;
363 return (l1
- f1
) - (l2
- f2
);
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
371 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
373 const char* te
= tb
+ strlen(tb
);
375 while (!equiv
&& *ne
) {
376 for (nb
= ne
; *ne
; ++ne
) {
377 if (*ne
== '|') break;
379 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
390 SWIG_TypeCompare(const char *nb
, const char *tb
) {
392 const char* te
= tb
+ strlen(tb
);
394 while (!equiv
&& *ne
) {
395 for (nb
= ne
; *ne
; ++ne
) {
396 if (*ne
== '|') break;
398 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
408 swig_cast_info *iter = ty->cast; \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
418 if (ty->cast) ty->cast->prev = iter; \
430 SWIGRUNTIME swig_cast_info
*
431 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
432 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info
*
437 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
438 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
442 Cast a pointer up an inheritance hierarchy
444 SWIGRUNTIMEINLINE
void *
445 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
446 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
450 Dynamic pointer casting. Down an inheritance hierarchy
452 SWIGRUNTIME swig_type_info
*
453 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
454 swig_type_info
*lastty
= ty
;
455 if (!ty
|| !ty
->dcast
) return ty
;
456 while (ty
&& (ty
->dcast
)) {
457 ty
= (*ty
->dcast
)(ptr
);
464 Return the name associated with this type
466 SWIGRUNTIMEINLINE
const char *
467 SWIG_TypeName(const swig_type_info
*ty
) {
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
475 SWIGRUNTIME
const char *
476 SWIG_TypePrettyName(const swig_type_info
*type
) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
481 if (!type
) return NULL
;
482 if (type
->str
!= NULL
) {
483 const char *last_name
= type
->str
;
485 for (s
= type
->str
; *s
; s
++)
486 if (*s
== '|') last_name
= s
+1;
494 Set the clientdata field for a type
497 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
498 swig_cast_info
*cast
= ti
->cast
;
499 /* if (ti->clientdata == clientdata) return; */
500 ti
->clientdata
= clientdata
;
503 if (!cast
->converter
) {
504 swig_type_info
*tc
= cast
->type
;
505 if (!tc
->clientdata
) {
506 SWIG_TypeClientData(tc
, clientdata
);
513 SWIG_TypeNewClientData(swig_type_info
*ti
, void *clientdata
) {
514 SWIG_TypeClientData(ti
, clientdata
);
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
526 SWIGRUNTIME swig_type_info
*
527 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
528 swig_module_info
*end
,
530 swig_module_info
*iter
= start
;
533 register size_t l
= 0;
534 register size_t r
= iter
->size
- 1;
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i
= (l
+ r
) >> 1;
538 const char *iname
= iter
->types
[i
]->name
;
540 register int compare
= strcmp(name
, iname
);
542 return iter
->types
[i
];
543 } else if (compare
< 0) {
549 } else if (compare
> 0) {
553 break; /* should never happen */
558 } while (iter
!= end
);
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
571 SWIGRUNTIME swig_type_info
*
572 SWIG_TypeQueryModule(swig_module_info
*start
,
573 swig_module_info
*end
,
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info
*iter
= start
;
584 register size_t i
= 0;
585 for (; i
< iter
->size
; ++i
) {
586 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
587 return iter
->types
[i
];
590 } while (iter
!= end
);
593 /* neither found a match */
598 Pack binary data into a string
601 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
602 static const char hex
[17] = "0123456789abcdef";
603 register const unsigned char *u
= (unsigned char *) ptr
;
604 register const unsigned char *eu
= u
+ sz
;
605 for (; u
!= eu
; ++u
) {
606 register unsigned char uu
= *u
;
607 *(c
++) = hex
[(uu
& 0xf0) >> 4];
608 *(c
++) = hex
[uu
& 0xf];
614 Unpack binary data from a string
616 SWIGRUNTIME
const char *
617 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
618 register unsigned char *u
= (unsigned char *) ptr
;
619 register const unsigned char *eu
= u
+ sz
;
620 for (; u
!= eu
; ++u
) {
621 register char d
= *(c
++);
622 register unsigned char uu
;
623 if ((d
>= '0') && (d
<= '9'))
624 uu
= ((d
- '0') << 4);
625 else if ((d
>= 'a') && (d
<= 'f'))
626 uu
= ((d
- ('a'-10)) << 4);
630 if ((d
>= '0') && (d
<= '9'))
632 else if ((d
>= 'a') && (d
<= 'f'))
633 uu
|= (d
- ('a'-10));
642 Pack 'void *' into a string buffer.
645 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
647 if ((2*sizeof(void *) + 2) > bsz
) return 0;
649 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
650 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
655 SWIGRUNTIME
const char *
656 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
658 if (strcmp(c
,"NULL") == 0) {
665 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
669 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
671 size_t lname
= (name
? strlen(name
) : 0);
672 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
674 r
= SWIG_PackData(r
,ptr
,sz
);
676 strncpy(r
,name
,lname
+1);
683 SWIGRUNTIME
const char *
684 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
686 if (strcmp(c
,"NULL") == 0) {
693 return SWIG_UnpackData(++c
,ptr
,sz
);
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
717 /* Python.h has to appear first */
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
725 # define PyOS_snprintf snprintf
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
737 PyString_FromFormat(const char *fmt
, ...) {
739 char buf
[SWIG_PYBUFFER_SIZE
* 2];
742 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
744 return (res
< 0 || res
>= (int)sizeof(buf
)) ? 0 : PyString_FromString(buf
);
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
753 # define PyObject_DEL PyObject_Del
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
791 PyObject
*PyBool_FromLong(long ok
)
793 PyObject
*result
= ok
? Py_True
: Py_False
;
800 /* -----------------------------------------------------------------------------
802 * ----------------------------------------------------------------------------- */
804 SWIGRUNTIME PyObject
*
805 SWIG_Python_ErrorType(int code
) {
808 case SWIG_MemoryError
:
809 type
= PyExc_MemoryError
;
812 type
= PyExc_IOError
;
814 case SWIG_RuntimeError
:
815 type
= PyExc_RuntimeError
;
817 case SWIG_IndexError
:
818 type
= PyExc_IndexError
;
821 type
= PyExc_TypeError
;
823 case SWIG_DivisionByZero
:
824 type
= PyExc_ZeroDivisionError
;
826 case SWIG_OverflowError
:
827 type
= PyExc_OverflowError
;
829 case SWIG_SyntaxError
:
830 type
= PyExc_SyntaxError
;
832 case SWIG_ValueError
:
833 type
= PyExc_ValueError
;
835 case SWIG_SystemError
:
836 type
= PyExc_SystemError
;
838 case SWIG_AttributeError
:
839 type
= PyExc_AttributeError
;
842 type
= PyExc_RuntimeError
;
849 SWIG_Python_AddErrorMsg(const char* mesg
)
853 PyObject
*traceback
= 0;
855 if (PyErr_Occurred()) PyErr_Fetch(&type
, &value
, &traceback
);
857 PyObject
*old_str
= PyObject_Str(value
);
860 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
864 PyErr_Format(PyExc_RuntimeError
, mesg
);
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block
{
888 PyGILState_STATE state
;
890 void end() { if (status
) { PyGILState_Release(state
); status
= false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
894 class SWIG_Python_Thread_Allow
{
898 void end() { if (status
) { PyEval_RestoreThread(save
); status
= false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
956 /* Constant information structure */
957 typedef struct swig_const_info
{
963 swig_type_info
**ptype
;
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
984 * ----------------------------------------------------------------------------- */
986 /* Common SWIG API */
988 #if PY_VERSION_HEX < 0x02050000
989 typedef int Py_ssize_t
;
992 /* for raw pointers */
993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999 #define swig_owntype int
1001 /* for raw packed data */
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1005 /* for class or struct pointers */
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1009 /* for C or C++ function pointers */
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1013 /* for C++ member pointers, ie, member methods */
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1020 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1024 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028 #define SWIG_fail goto fail
1031 /* Runtime API implementation */
1033 /* Error manipulation */
1036 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1038 PyErr_SetObject(errtype
, obj
);
1040 SWIG_PYTHON_THREAD_END_BLOCK
;
1044 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1046 PyErr_SetString(errtype
, (char *) msg
);
1047 SWIG_PYTHON_THREAD_END_BLOCK
;
1050 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1052 /* Set a constant value */
1055 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1056 PyDict_SetItemString(d
, (char*) name
, obj
);
1060 /* Append a value to the result obj */
1062 SWIGINTERN PyObject
*
1063 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1067 } else if (result
== Py_None
) {
1071 if (!PyList_Check(result
)) {
1072 PyObject
*o2
= result
;
1073 result
= PyList_New(1);
1074 PyList_SetItem(result
, 0, o2
);
1076 PyList_Append(result
,obj
);
1085 } else if (result
== Py_None
) {
1089 if (!PyTuple_Check(result
)) {
1091 result
= PyTuple_New(1);
1092 PyTuple_SET_ITEM(result
, 0, o2
);
1094 o3
= PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3
, 0, obj
);
1097 result
= PySequence_Concat(o2
, o3
);
1105 /* Unpack the argument tuple */
1108 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1114 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1115 name
, (min
== max
? "" : "at least "), min
);
1119 if (!PyTuple_Check(args
)) {
1120 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1123 register int l
= PyTuple_GET_SIZE(args
);
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at least "), min
, l
);
1128 } else if (l
> max
) {
1129 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1130 name
, (min
== max
? "" : "at most "), max
, l
);
1134 for (i
= 0; i
< l
; ++i
) {
1135 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1137 for (; l
< max
; ++l
) {
1145 /* A functor is a function object with one single object argument */
1146 #if PY_VERSION_HEX >= 0x02020000
1147 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1149 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1157 #define SWIG_STATIC_POINTER(var) var
1159 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1162 /* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1166 /* Flags for new pointer objects */
1167 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1170 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1179 /* How to access Py_None */
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1182 # ifndef SWIG_PYTHON_BUILD_NONE
1183 # define SWIG_PYTHON_BUILD_NONE
1188 #ifdef SWIG_PYTHON_BUILD_NONE
1191 # define Py_None SWIG_Py_None()
1193 SWIGRUNTIMEINLINE PyObject
*
1196 PyObject
*none
= Py_BuildValue("");
1200 SWIGRUNTIME PyObject
*
1203 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1208 /* The python void return value */
1210 SWIGRUNTIMEINLINE PyObject
*
1213 PyObject
*none
= Py_None
;
1218 /* PySwigClientData */
1229 SWIGRUNTIMEINLINE
int
1230 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1232 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1233 return data
? data
->implicitconv
: 0;
1236 SWIGRUNTIMEINLINE PyObject
*
1237 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1238 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1239 PyObject
*klass
= data
? data
->klass
: 0;
1240 return (klass
? klass
: PyExc_RuntimeError
);
1244 SWIGRUNTIME PySwigClientData
*
1245 PySwigClientData_New(PyObject
* obj
)
1250 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1251 /* the klass element */
1253 Py_INCREF(data
->klass
);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj
)) {
1257 data
->newargs
= obj
;
1260 #if (PY_VERSION_HEX < 0x02020000)
1263 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1266 Py_INCREF(data
->newraw
);
1267 data
->newargs
= PyTuple_New(1);
1268 PyTuple_SetItem(data
->newargs
, 0, obj
);
1270 data
->newargs
= obj
;
1272 Py_INCREF(data
->newargs
);
1274 /* the destroy method, aka as the C++ delete method */
1275 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1280 if (data
->destroy
) {
1282 Py_INCREF(data
->destroy
);
1283 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1285 data
->delargs
= !(flags
& (METH_O
));
1292 data
->implicitconv
= 0;
1298 PySwigClientData_Del(PySwigClientData
* data
)
1300 Py_XDECREF(data
->newraw
);
1301 Py_XDECREF(data
->newargs
);
1302 Py_XDECREF(data
->destroy
);
1305 /* =============== PySwigObject =====================*/
1315 SWIGRUNTIME PyObject
*
1316 PySwigObject_long(PySwigObject
*v
)
1318 return PyLong_FromVoidPtr(v
->ptr
);
1321 SWIGRUNTIME PyObject
*
1322 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1324 PyObject
*res
= NULL
;
1325 PyObject
*args
= PyTuple_New(1);
1327 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1328 PyObject
*ofmt
= PyString_FromString(fmt
);
1330 res
= PyString_Format(ofmt
,args
);
1339 SWIGRUNTIME PyObject
*
1340 PySwigObject_oct(PySwigObject
*v
)
1342 return PySwigObject_format("%o",v
);
1345 SWIGRUNTIME PyObject
*
1346 PySwigObject_hex(PySwigObject
*v
)
1348 return PySwigObject_format("%x",v
);
1351 SWIGRUNTIME PyObject
*
1353 PySwigObject_repr(PySwigObject
*v
)
1355 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1358 const char *name
= SWIG_TypePrettyName(v
->ty
);
1359 PyObject
*hex
= PySwigObject_hex(v
);
1360 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1364 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1366 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1368 PyString_ConcatAndDel(&repr
,nrep
);
1374 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1377 PyObject
*repr
= PySwigObject_repr(v
);
1379 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1382 fputs(PyString_AsString(repr
), fp
);
1390 SWIGRUNTIME PyObject
*
1391 PySwigObject_str(PySwigObject
*v
)
1393 char result
[SWIG_BUFFER_SIZE
];
1394 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1395 PyString_FromString(result
) : 0;
1399 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1403 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1406 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1408 SWIGRUNTIME PyTypeObject
*
1409 PySwigObject_type(void) {
1410 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1414 SWIGRUNTIMEINLINE
int
1415 PySwigObject_Check(PyObject
*op
) {
1416 return ((op
)->ob_type
== PySwigObject_type())
1417 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1420 SWIGRUNTIME PyObject
*
1421 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1424 PySwigObject_dealloc(PyObject
*v
)
1426 PySwigObject
*sobj
= (PySwigObject
*) v
;
1427 PyObject
*next
= sobj
->next
;
1429 swig_type_info
*ty
= sobj
->ty
;
1430 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1431 PyObject
*destroy
= data
? data
->destroy
: 0;
1433 /* destroy is always a VARARGS method */
1435 if (data
->delargs
) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1438 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1441 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1442 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1443 res
= ((*meth
)(mself
, v
));
1447 const char *name
= SWIG_TypePrettyName(ty
);
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1457 SWIGRUNTIME PyObject
*
1458 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1460 PySwigObject
*sobj
= (PySwigObject
*) v
;
1463 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1466 if (!PySwigObject_Check(next
)) {
1471 return SWIG_Py_Void();
1474 SWIGRUNTIME PyObject
*
1476 PySwigObject_next(PyObject
* v
)
1478 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1481 PySwigObject
*sobj
= (PySwigObject
*) v
;
1483 Py_INCREF(sobj
->next
);
1486 return SWIG_Py_Void();
1490 SWIGINTERN PyObject
*
1492 PySwigObject_disown(PyObject
*v
)
1494 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1497 PySwigObject
*sobj
= (PySwigObject
*)v
;
1499 return SWIG_Py_Void();
1502 SWIGINTERN PyObject
*
1504 PySwigObject_acquire(PyObject
*v
)
1506 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1509 PySwigObject
*sobj
= (PySwigObject
*)v
;
1510 sobj
->own
= SWIG_POINTER_OWN
;
1511 return SWIG_Py_Void();
1514 SWIGINTERN PyObject
*
1515 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1518 #if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1521 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1528 PySwigObject
*sobj
= (PySwigObject
*)v
;
1529 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1532 if (PyObject_IsTrue(val
)) {
1533 PySwigObject_acquire(v
);
1535 PySwigObject_disown(v
);
1538 if (PyObject_IsTrue(val
)) {
1539 PySwigObject_acquire(v
,args
);
1541 PySwigObject_disown(v
,args
);
1551 swigobject_methods
[] = {
1552 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1562 swigobject_methods
[] = {
1563 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1573 #if PY_VERSION_HEX < 0x02020000
1574 SWIGINTERN PyObject
*
1575 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1577 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1581 SWIGRUNTIME PyTypeObject
*
1582 _PySwigObject_type(void) {
1583 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1585 static PyNumberMethods PySwigObject_as_number
= {
1586 (binaryfunc
)0, /*nb_add*/
1587 (binaryfunc
)0, /*nb_subtract*/
1588 (binaryfunc
)0, /*nb_multiply*/
1589 (binaryfunc
)0, /*nb_divide*/
1590 (binaryfunc
)0, /*nb_remainder*/
1591 (binaryfunc
)0, /*nb_divmod*/
1592 (ternaryfunc
)0,/*nb_power*/
1593 (unaryfunc
)0, /*nb_negative*/
1594 (unaryfunc
)0, /*nb_positive*/
1595 (unaryfunc
)0, /*nb_absolute*/
1596 (inquiry
)0, /*nb_nonzero*/
1603 (coercion
)0, /*nb_coerce*/
1604 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1605 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1606 (unaryfunc
)0, /*nb_float*/
1607 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1608 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1609 #if PY_VERSION_HEX >= 0x02020000
1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1611 #elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1616 static PyTypeObject pyswigobject_type
;
1617 static int type_init
= 0;
1619 const PyTypeObject tmp
1621 PyObject_HEAD_INIT(NULL
)
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject
), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1627 (printfunc
)PySwigObject_print
, /* tp_print */
1628 #if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1631 (getattrfunc
)0, /* tp_getattr */
1633 (setattrfunc
)0, /* tp_setattr */
1634 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1635 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1636 &PySwigObject_as_number
, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc
)0, /* tp_hash */
1640 (ternaryfunc
)0, /* tp_call */
1641 (reprfunc
)PySwigObject_str
, /* tp_str */
1642 PyObject_GenericGetAttr
, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1646 swigobject_doc
, /* tp_doc */
1647 0, /* tp_traverse */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
1651 #if PY_VERSION_HEX >= 0x02020000
1653 0, /* tp_iternext */
1654 swigobject_methods
, /* tp_methods */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
1673 #if PY_VERSION_HEX >= 0x02030000
1677 0,0,0,0 /* tp_alloc -> tp_next */
1680 pyswigobject_type
= tmp
;
1681 pyswigobject_type
.ob_type
= &PyType_Type
;
1684 return &pyswigobject_type
;
1687 SWIGRUNTIME PyObject
*
1688 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1690 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1697 return (PyObject
*)sobj
;
1700 /* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1712 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1714 char result
[SWIG_BUFFER_SIZE
];
1715 fputs("<Swig Packed ", fp
);
1716 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1720 fputs(v
->ty
->name
,fp
);
1725 SWIGRUNTIME PyObject
*
1726 PySwigPacked_repr(PySwigPacked
*v
)
1728 char result
[SWIG_BUFFER_SIZE
];
1729 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1730 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1732 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1736 SWIGRUNTIME PyObject
*
1737 PySwigPacked_str(PySwigPacked
*v
)
1739 char result
[SWIG_BUFFER_SIZE
];
1740 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1741 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1743 return PyString_FromString(v
->ty
->name
);
1748 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1752 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1753 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1756 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1758 SWIGRUNTIME PyTypeObject
*
1759 PySwigPacked_type(void) {
1760 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1764 SWIGRUNTIMEINLINE
int
1765 PySwigPacked_Check(PyObject
*op
) {
1766 return ((op
)->ob_type
== _PySwigPacked_type())
1767 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1771 PySwigPacked_dealloc(PyObject
*v
)
1773 if (PySwigPacked_Check(v
)) {
1774 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1780 SWIGRUNTIME PyTypeObject
*
1781 _PySwigPacked_type(void) {
1782 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type
;
1784 static int type_init
= 0;
1786 const PyTypeObject tmp
1788 PyObject_HEAD_INIT(NULL
)
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked
), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1794 (printfunc
)PySwigPacked_print
, /* tp_print */
1795 (getattrfunc
)0, /* tp_getattr */
1796 (setattrfunc
)0, /* tp_setattr */
1797 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1798 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc
)0, /* tp_hash */
1803 (ternaryfunc
)0, /* tp_call */
1804 (reprfunc
)PySwigPacked_str
, /* tp_str */
1805 PyObject_GenericGetAttr
, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1809 swigpacked_doc
, /* tp_doc */
1810 0, /* tp_traverse */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814 #if PY_VERSION_HEX >= 0x02020000
1816 0, /* tp_iternext */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
1836 #if PY_VERSION_HEX >= 0x02030000
1840 0,0,0,0 /* tp_alloc -> tp_next */
1843 pyswigpacked_type
= tmp
;
1844 pyswigpacked_type
.ob_type
= &PyType_Type
;
1847 return &pyswigpacked_type
;
1850 SWIGRUNTIME PyObject
*
1851 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1853 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1855 void *pack
= malloc(size
);
1857 memcpy(pack
, ptr
, size
);
1862 PyObject_DEL((PyObject
*) sobj
);
1866 return (PyObject
*) sobj
;
1869 SWIGRUNTIME swig_type_info
*
1870 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1872 if (PySwigPacked_Check(obj
)) {
1873 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1874 if (sobj
->size
!= size
) return 0;
1875 memcpy(ptr
, sobj
->pack
, size
);
1882 /* -----------------------------------------------------------------------------
1883 * pointers/data manipulation
1884 * ----------------------------------------------------------------------------- */
1886 SWIGRUNTIMEINLINE PyObject
*
1889 return PyString_FromString("this");
1892 SWIGRUNTIME PyObject
*
1895 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1901 SWIGRUNTIME PySwigObject
*
1902 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1904 if (PySwigObject_Check(pyobj
)) {
1905 return (PySwigObject
*) pyobj
;
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj
)) {
1910 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1912 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1913 if (dictptr
!= NULL
) {
1914 PyObject
*dict
= *dictptr
;
1915 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1917 #ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj
)) {
1919 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1920 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1923 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1927 if (PyErr_Occurred()) PyErr_Clear();
1933 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1937 if (PyErr_Occurred()) PyErr_Clear();
1941 if (obj
&& !PySwigObject_Check(obj
)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj
);
1946 return (PySwigObject
*)obj
;
1950 /* Acquire a pointer value */
1953 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1955 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1957 int oldown
= sobj
->own
;
1965 /* Convert a pointer value */
1968 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1969 if (!obj
) return SWIG_ERROR
;
1970 if (obj
== Py_None
) {
1974 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1976 void *vptr
= sobj
->ptr
;
1978 swig_type_info
*to
= sobj
->ty
;
1980 /* no type cast needed */
1981 if (ptr
) *ptr
= vptr
;
1984 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1986 sobj
= (PySwigObject
*)sobj
->next
;
1988 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1993 if (ptr
) *ptr
= vptr
;
1998 if (own
) *own
= sobj
->own
;
1999 if (flags
& SWIG_POINTER_DISOWN
) {
2004 int res
= SWIG_ERROR
;
2005 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2006 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2007 if (data
&& !data
->implicitconv
) {
2008 PyObject
*klass
= data
->klass
;
2011 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2013 data
->implicitconv
= 0;
2014 if (PyErr_Occurred()) {
2019 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2022 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2023 if (SWIG_IsOK(res
)) {
2026 /* transfer the ownership to 'ptr' */
2028 res
= SWIG_AddCast(res
);
2029 res
= SWIG_AddNewMask(res
);
2031 res
= SWIG_AddCast(res
);
2045 /* Convert a function ptr value */
2048 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2049 if (!PyCFunction_Check(obj
)) {
2050 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2054 /* here we get the method pointer for callbacks */
2055 const char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2056 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2058 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2059 if (!desc
) return SWIG_ERROR
;
2062 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2063 if (!tc
) return SWIG_ERROR
;
2064 *ptr
= SWIG_TypeCast(tc
,vptr
);
2072 /* Convert a packed value value */
2075 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2076 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2077 if (!to
) return SWIG_ERROR
;
2080 /* check type cast? */
2081 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2082 if (!tc
) return SWIG_ERROR
;
2088 /* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
2093 Create a new instance object, whitout calling __init__, and set the
2097 SWIGRUNTIME PyObject
*
2098 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2100 #if (PY_VERSION_HEX >= 0x02020000)
2102 PyObject
*newraw
= data
->newraw
;
2104 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2108 if (dictptr
!= NULL
) {
2109 PyObject
*dict
= *dictptr
;
2111 dict
= PyDict_New();
2113 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2117 PyObject
*key
= SWIG_This();
2118 PyObject_SetAttr(inst
, key
, swig_this
);
2122 PyObject
*dict
= PyDict_New();
2123 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2124 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2129 #if (PY_VERSION_HEX >= 0x02010000)
2131 PyObject
*dict
= PyDict_New();
2132 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2133 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2135 return (PyObject
*) inst
;
2137 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2141 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2142 Py_INCREF(inst
->in_class
);
2143 inst
->in_dict
= PyDict_New();
2144 if (inst
->in_dict
== NULL
) {
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst
->in_weakreflist
= NULL
;
2151 #ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst
);
2154 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2155 return (PyObject
*) inst
;
2161 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2166 if (dictptr
!= NULL
) {
2169 dict
= PyDict_New();
2172 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2176 dict
= PyObject_GetAttrString(inst
, "__dict__");
2177 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2182 SWIGINTERN PyObject
*
2183 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2185 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2188 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2190 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2192 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2194 return SWIG_Py_Void();
2198 /* Create a new pointer object */
2200 SWIGRUNTIME PyObject
*
2201 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2203 return SWIG_Py_Void();
2205 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2206 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2207 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2208 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2209 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2219 /* Create a new packed object */
2221 SWIGRUNTIMEINLINE PyObject
*
2222 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2223 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2226 /* -----------------------------------------------------------------------------*
2228 * -----------------------------------------------------------------------------*/
2230 #ifdef SWIG_LINK_RUNTIME
2231 void *SWIG_ReturnGlobalTypeList(void *);
2234 SWIGRUNTIME swig_module_info
*
2235 SWIG_Python_GetModule(void) {
2236 static void *type_pointer
= (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer
) {
2239 #ifdef SWIG_LINK_RUNTIME
2240 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2242 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2244 if (PyErr_Occurred()) {
2246 type_pointer
= (void *)0;
2250 return (swig_module_info
*) type_pointer
;
2253 #if PY_MAJOR_VERSION < 2
2254 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2255 is copied out of Python/modsupport.c in python version 2.3.4 */
2257 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2260 if (!PyModule_Check(m
)) {
2261 PyErr_SetString(PyExc_TypeError
,
2262 "PyModule_AddObject() needs module as first arg");
2266 PyErr_SetString(PyExc_TypeError
,
2267 "PyModule_AddObject() needs non-NULL value");
2271 dict
= PyModule_GetDict(m
);
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2275 PyModule_GetName(m
));
2278 if (PyDict_SetItemString(dict
, name
, o
))
2286 SWIG_Python_DestroyModule(void *vptr
)
2288 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2289 swig_type_info
**types
= swig_module
->types
;
2291 for (i
=0; i
< swig_module
->size
; ++i
) {
2292 swig_type_info
*ty
= types
[i
];
2294 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2295 if (data
) PySwigClientData_Del(data
);
2298 Py_DECREF(SWIG_This());
2302 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2303 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2305 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2306 swig_empty_runtime_method_table
);
2307 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2308 if (pointer
&& module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2311 Py_XDECREF(pointer
);
2315 /* The python cached type query */
2316 SWIGRUNTIME PyObject
*
2317 SWIG_Python_TypeCache() {
2318 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2322 SWIGRUNTIME swig_type_info
*
2323 SWIG_Python_TypeQuery(const char *type
)
2325 PyObject
*cache
= SWIG_Python_TypeCache();
2326 PyObject
*key
= PyString_FromString(type
);
2327 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2328 swig_type_info
*descriptor
;
2330 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2332 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2333 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2335 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2336 PyDict_SetItem(cache
, key
, obj
);
2345 For backward compatibility only
2347 #define SWIG_POINTER_EXCEPTION 0
2348 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2352 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2354 if (PyErr_Occurred()) {
2356 PyObject
*value
= 0;
2357 PyObject
*traceback
= 0;
2358 PyErr_Fetch(&type
, &value
, &traceback
);
2360 PyObject
*old_str
= PyObject_Str(value
);
2364 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2366 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2377 SWIG_Python_ArgFail(int argnum
)
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2382 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2383 return SWIG_Python_AddErrMesg(mesg
, 1);
2389 SWIGRUNTIMEINLINE
const char *
2390 PySwigObject_GetDesc(PyObject
*self
)
2392 PySwigObject
*v
= (PySwigObject
*)self
;
2393 swig_type_info
*ty
= v
? v
->ty
: 0;
2394 return ty
? ty
->str
: (char*)"";
2398 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2401 #if defined(SWIG_COBJECT_TYPES)
2402 if (obj
&& PySwigObject_Check(obj
)) {
2403 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2405 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2412 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2414 PyObject
*str
= PyObject_Str(obj
);
2415 const char *cstr
= str
? PyString_AsString(str
) : 0;
2417 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2420 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2427 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2429 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2434 /* Convert a pointer value, signal an exception on a type mismatch */
2436 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2438 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2440 if (flags
& SWIG_POINTER_EXCEPTION
) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2442 SWIG_Python_ArgFail(argnum
);
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2464 /* -------- TYPES TABLE (BEGIN) -------- */
2466 #define SWIGTYPE_p_buffer swig_types[0]
2467 #define SWIGTYPE_p_char swig_types[1]
2468 #define SWIGTYPE_p_double swig_types[2]
2469 #define SWIGTYPE_p_form_ops_t swig_types[3]
2470 #define SWIGTYPE_p_int swig_types[4]
2471 #define SWIGTYPE_p_unsigned_char swig_types[5]
2472 #define SWIGTYPE_p_unsigned_int swig_types[6]
2473 #define SWIGTYPE_p_unsigned_long swig_types[7]
2474 #define SWIGTYPE_p_wxANIHandler swig_types[8]
2475 #define SWIGTYPE_p_wxAcceleratorTable swig_types[9]
2476 #define SWIGTYPE_p_wxActivateEvent swig_types[10]
2477 #define SWIGTYPE_p_wxAlphaPixelData swig_types[11]
2478 #define SWIGTYPE_p_wxAlphaPixelData_Accessor swig_types[12]
2479 #define SWIGTYPE_p_wxBMPHandler swig_types[13]
2480 #define SWIGTYPE_p_wxBitmap swig_types[14]
2481 #define SWIGTYPE_p_wxBoxSizer swig_types[15]
2482 #define SWIGTYPE_p_wxBrush swig_types[16]
2483 #define SWIGTYPE_p_wxBrushList swig_types[17]
2484 #define SWIGTYPE_p_wxBufferedDC swig_types[18]
2485 #define SWIGTYPE_p_wxBufferedPaintDC swig_types[19]
2486 #define SWIGTYPE_p_wxCURHandler swig_types[20]
2487 #define SWIGTYPE_p_wxChar swig_types[21]
2488 #define SWIGTYPE_p_wxChildFocusEvent swig_types[22]
2489 #define SWIGTYPE_p_wxClientDC swig_types[23]
2490 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[24]
2491 #define SWIGTYPE_p_wxCloseEvent swig_types[25]
2492 #define SWIGTYPE_p_wxColor swig_types[26]
2493 #define SWIGTYPE_p_wxColour swig_types[27]
2494 #define SWIGTYPE_p_wxColourDatabase swig_types[28]
2495 #define SWIGTYPE_p_wxCommandEvent swig_types[29]
2496 #define SWIGTYPE_p_wxContextMenuEvent swig_types[30]
2497 #define SWIGTYPE_p_wxControl swig_types[31]
2498 #define SWIGTYPE_p_wxControlWithItems swig_types[32]
2499 #define SWIGTYPE_p_wxCursor swig_types[33]
2500 #define SWIGTYPE_p_wxDC swig_types[34]
2501 #define SWIGTYPE_p_wxDCOverlay 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_wxOverlay swig_types[101]
2568 #define SWIGTYPE_p_wxPCXHandler swig_types[102]
2569 #define SWIGTYPE_p_wxPNGHandler swig_types[103]
2570 #define SWIGTYPE_p_wxPNMHandler swig_types[104]
2571 #define SWIGTYPE_p_wxPaintDC swig_types[105]
2572 #define SWIGTYPE_p_wxPaintEvent swig_types[106]
2573 #define SWIGTYPE_p_wxPalette swig_types[107]
2574 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[108]
2575 #define SWIGTYPE_p_wxPaperSize swig_types[109]
2576 #define SWIGTYPE_p_wxPen swig_types[110]
2577 #define SWIGTYPE_p_wxPenList swig_types[111]
2578 #define SWIGTYPE_p_wxPixelDataBase swig_types[112]
2579 #define SWIGTYPE_p_wxPoint swig_types[113]
2580 #define SWIGTYPE_p_wxPoint2D swig_types[114]
2581 #define SWIGTYPE_p_wxPostScriptDC swig_types[115]
2582 #define SWIGTYPE_p_wxPrintData swig_types[116]
2583 #define SWIGTYPE_p_wxPrinterDC swig_types[117]
2584 #define SWIGTYPE_p_wxPseudoDC swig_types[118]
2585 #define SWIGTYPE_p_wxPyApp swig_types[119]
2586 #define SWIGTYPE_p_wxPyCommandEvent swig_types[120]
2587 #define SWIGTYPE_p_wxPyEvent swig_types[121]
2588 #define SWIGTYPE_p_wxPyFontEnumerator swig_types[122]
2589 #define SWIGTYPE_p_wxPyImageHandler swig_types[123]
2590 #define SWIGTYPE_p_wxPyLocale swig_types[124]
2591 #define SWIGTYPE_p_wxPySizer swig_types[125]
2592 #define SWIGTYPE_p_wxPyValidator swig_types[126]
2593 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[127]
2594 #define SWIGTYPE_p_wxRect swig_types[128]
2595 #define SWIGTYPE_p_wxRegion swig_types[129]
2596 #define SWIGTYPE_p_wxRegionIterator swig_types[130]
2597 #define SWIGTYPE_p_wxRendererNative swig_types[131]
2598 #define SWIGTYPE_p_wxRendererVersion swig_types[132]
2599 #define SWIGTYPE_p_wxScreenDC swig_types[133]
2600 #define SWIGTYPE_p_wxScrollEvent swig_types[134]
2601 #define SWIGTYPE_p_wxScrollWinEvent swig_types[135]
2602 #define SWIGTYPE_p_wxSetCursorEvent swig_types[136]
2603 #define SWIGTYPE_p_wxShowEvent swig_types[137]
2604 #define SWIGTYPE_p_wxSize swig_types[138]
2605 #define SWIGTYPE_p_wxSizeEvent swig_types[139]
2606 #define SWIGTYPE_p_wxSizer swig_types[140]
2607 #define SWIGTYPE_p_wxSizerItem swig_types[141]
2608 #define SWIGTYPE_p_wxSplitterRenderParams swig_types[142]
2609 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[143]
2610 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[144]
2611 #define SWIGTYPE_p_wxStockGDI swig_types[145]
2612 #define SWIGTYPE_p_wxString swig_types[146]
2613 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[147]
2614 #define SWIGTYPE_p_wxTIFFHandler swig_types[148]
2615 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[149]
2616 #define SWIGTYPE_p_wxValidator swig_types[150]
2617 #define SWIGTYPE_p_wxWindow swig_types[151]
2618 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[152]
2619 #define SWIGTYPE_p_wxWindowDC swig_types[153]
2620 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[154]
2621 #define SWIGTYPE_p_wxXPMHandler swig_types[155]
2622 static swig_type_info
*swig_types
[157];
2623 static swig_module_info swig_module
= {swig_types
, 156, 0, 0, 0, 0};
2624 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2625 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2627 /* -------- TYPES TABLE (END) -------- */
2629 #if (PY_VERSION_HEX <= 0x02000000)
2630 # if !defined(SWIG_PYTHON_CLASSIC)
2631 # error "This python version requires to use swig with the '-classic' option"
2634 #if (PY_VERSION_HEX <= 0x02020000)
2635 # error "This python version requires to use swig with the '-nomodern' option"
2637 #if (PY_VERSION_HEX <= 0x02020000)
2638 # error "This python version requires to use swig with the '-nomodernargs' option"
2641 # error "This python version requires to use swig with the '-nofastunpack' option"
2644 /*-----------------------------------------------
2645 @(target):= _gdi_.so
2646 ------------------------------------------------*/
2647 #define SWIG_init init_gdi_
2649 #define SWIG_name "_gdi_"
2651 #define SWIGVERSION 0x010329
2654 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2655 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2658 #include <stdexcept>
2662 class PyObject_ptr
{
2667 PyObject_ptr() :_obj(0)
2671 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2676 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2678 if (initial_ref
) Py_XINCREF(_obj
);
2681 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2683 Py_XINCREF(item
._obj
);
2694 operator PyObject
*() const
2699 PyObject
*operator->() const
2708 struct PyObject_var
: PyObject_ptr
{
2709 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2711 PyObject_var
& operator = (PyObject
* obj
)
2721 #include "wx/wxPython/wxPython.h"
2722 #include "wx/wxPython/pyclasses.h"
2725 static const wxString
wxPyEmptyString(wxEmptyString
);
2727 #define SWIG_From_long PyInt_FromLong
2730 SWIGINTERNINLINE PyObject
*
2731 SWIG_From_int (int value
)
2733 return SWIG_From_long (value
);
2739 # define LLONG_MIN LONG_LONG_MIN
2742 # define LLONG_MAX LONG_LONG_MAX
2745 # define ULLONG_MAX ULONG_LONG_MAX
2750 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2752 if (PyNumber_Check(obj
)) {
2753 if (val
) *val
= PyInt_AsLong(obj
);
2756 return SWIG_TypeError
;
2761 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2764 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2765 return SWIG_TypeError
;
2768 *val
= (unsigned long)v
;
2774 SWIG_AsVal_unsigned_SS_char (PyObject
* obj
, unsigned char *val
)
2777 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2778 if (SWIG_IsOK(res
)) {
2779 if ((v
> UCHAR_MAX
)) {
2780 return SWIG_OverflowError
;
2782 if (val
) *val
= static_cast< unsigned char >(v
);
2789 SWIGINTERNINLINE PyObject
*
2790 SWIG_From_unsigned_SS_long (unsigned long value
)
2792 return (value
> LONG_MAX
) ?
2793 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2797 SWIGINTERNINLINE PyObject
*
2798 SWIG_From_unsigned_SS_char (unsigned char value
)
2800 return SWIG_From_unsigned_SS_long (value
);
2803 SWIGINTERN
bool wxColour___eq__(wxColour
*self
,PyObject
*other
){
2804 wxColour temp
, *obj
= &temp
;
2805 if ( other
== Py_None
) return false;
2806 if ( ! wxColour_helper(other
, &obj
) ) {
2810 return self
->operator==(*obj
);
2812 SWIGINTERN
bool wxColour___ne__(wxColour
*self
,PyObject
*other
){
2813 wxColour temp
, *obj
= &temp
;
2814 if ( other
== Py_None
) return true;
2815 if ( ! wxColour_helper(other
, &obj
)) {
2819 return self
->operator!=(*obj
);
2823 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2825 if (obj
== Py_True
) {
2826 if (val
) *val
= true;
2828 } else if (obj
== Py_False
) {
2829 if (val
) *val
= false;
2833 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2834 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2839 SWIGINTERN PyObject
*wxColour_Get(wxColour
*self
,bool includeAlpha
=false){
2840 PyObject
* rv
= PyTuple_New(includeAlpha
? 4 : 3);
2844 int alpha
= wxALPHA_OPAQUE
;
2847 green
= self
->Green();
2848 blue
= self
->Blue();
2849 alpha
= self
->Alpha();
2851 PyTuple_SetItem(rv
, 0, PyInt_FromLong(red
));
2852 PyTuple_SetItem(rv
, 1, PyInt_FromLong(green
));
2853 PyTuple_SetItem(rv
, 2, PyInt_FromLong(blue
));
2855 PyTuple_SetItem(rv
, 3, PyInt_FromLong(alpha
));
2858 SWIGINTERN
unsigned long wxColour_GetRGB(wxColour
*self
){
2859 return self
->Red() | (self
->Green() << 8) | (self
->Blue() << 16);
2863 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2866 int res
= SWIG_AsVal_long (obj
, &v
);
2867 if (SWIG_IsOK(res
)) {
2868 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2869 return SWIG_OverflowError
;
2871 if (val
) *val
= static_cast< int >(v
);
2877 SWIGINTERN PyObject
*wxPen_GetDashes(wxPen
*self
){
2879 int count
= self
->GetDashes(&dashes
);
2880 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2881 PyObject
* retval
= PyList_New(0);
2882 for (int x
=0; x
<count
; x
++) {
2883 PyObject
* pyint
= PyInt_FromLong(dashes
[x
]);
2884 PyList_Append(retval
, pyint
);
2887 wxPyEndBlockThreads(blocked
);
2890 SWIGINTERN
void wxPen__SetDashes(wxPen
*self
,PyObject
*_self
,PyObject
*pyDashes
){
2891 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2892 int size
= PyList_Size(pyDashes
);
2893 wxDash
* dashes
= (wxDash
*)byte_LIST_helper(pyDashes
);
2895 // black magic warning! The array of wxDashes needs to exist as
2896 // long as the pen does because wxPen does not copy the array. So
2897 // stick a copy in a Python string object and attach it to _self,
2898 // and then call SetDashes with a pointer to that array. Then
2899 // when the Python pen object is destroyed the array will be
2901 PyObject
* strDashes
= PyString_FromStringAndSize((char*)dashes
, size
*sizeof(wxDash
));
2902 PyObject_SetAttrString(_self
, "_dashes", strDashes
);
2904 self
->SetDashes(size
, (wxDash
*)PyString_AS_STRING(strDashes
));
2906 Py_DECREF(strDashes
);
2907 wxPyEndBlockThreads(blocked
);
2909 SWIGINTERN
bool wxPen___eq__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
== *other
) : false; }
2910 SWIGINTERN
bool wxPen___ne__(wxPen
*self
,wxPen
const *other
){ return other
? (*self
!= *other
) : true; }
2912 #include <wx/rawbmp.h>
2915 #include <wx/image.h>
2917 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
2918 char** cArray
= NULL
;
2921 if (!PyList_Check(listOfStrings
)) {
2922 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
2925 count
= PyList_Size(listOfStrings
);
2926 cArray
= new char*[count
];
2928 for(int x
=0; x
<count
; x
++) {
2929 // TODO: Need some validation and error checking here
2930 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
2936 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*listOfStrings
){
2937 char** cArray
= NULL
;
2940 cArray
= ConvertListOfStrings(listOfStrings
);
2943 bmp
= new wxBitmap(cArray
);
2947 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*bits
,int width
,int height
,int depth
=1){
2950 PyString_AsStringAndSize(bits
, &buf
, &length
);
2951 return new wxBitmap(buf
, width
, height
, depth
);
2953 SWIGINTERN wxSize
wxBitmap_GetSize(wxBitmap
*self
){
2954 wxSize
size(self
->GetWidth(), self
->GetHeight());
2957 SWIGINTERN
void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
2958 wxMask
*mask
= new wxMask(*self
, colour
);
2959 self
->SetMask(mask
);
2961 SWIGINTERN
void wxBitmap_SetSize(wxBitmap
*self
,wxSize
const &size
){
2962 self
->SetWidth(size
.x
);
2963 self
->SetHeight(size
.y
);
2965 SWIGINTERN
bool wxBitmap___eq__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
== *other
) : false; }
2966 SWIGINTERN
bool wxBitmap___ne__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
!= *other
) : true; }
2968 // See http://tinyurl.com/e5adr for what premultiplying alpha means. It
2969 // appears to me that the other platforms are already doing it, so I'll just
2970 // automatically do it for wxMSW here.
2972 #define wxPy_premultiply(p, a) ((p) * (a) / 0xff)
2973 #define wxPy_unpremultiply(p, a) ((a) ? ((p) * 0xff / (a)) : (p))
2975 #define wxPy_premultiply(p, a) (p)
2976 #define wxPy_unpremultiply(p, a) (p)
2980 wxBitmap
* _BitmapFromBufferAlpha(int width
, int height
,
2981 buffer data
, int DATASIZE
,
2982 buffer alpha
, int ALPHASIZE
)
2984 if (DATASIZE
!= width
*height
*3) {
2985 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
2989 if (ALPHASIZE
!= width
*height
) {
2990 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
2994 wxBitmap
* bmp
= new wxBitmap(width
, height
, 32);
2995 wxAlphaPixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
2997 // raise an exception...
2998 wxPyErr_SetString(PyExc_RuntimeError
,
2999 "Failed to gain raw access to bitmap data.");
3004 wxAlphaPixelData::Iterator
p(pixData
);
3005 for (int y
=0; y
<height
; y
++) {
3006 wxAlphaPixelData::Iterator rowStart
= p
;
3007 for (int x
=0; x
<width
; x
++) {
3008 byte a
= *(alpha
++);
3009 p
.Red() = wxPy_premultiply(*(data
++), a
);
3010 p
.Green() = wxPy_premultiply(*(data
++), a
);
3011 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3016 p
.OffsetY(pixData
, 1);
3021 wxBitmap
* _BitmapFromBuffer(int width
, int height
, buffer data
, int DATASIZE
)
3023 if (DATASIZE
!= width
*height
*3) {
3024 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3028 wxBitmap
* bmp
= new wxBitmap(width
, height
, 24);
3029 wxNativePixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3031 // raise an exception...
3032 wxPyErr_SetString(PyExc_RuntimeError
,
3033 "Failed to gain raw access to bitmap data.");
3037 wxNativePixelData::Iterator
p(pixData
);
3038 for (int y
=0; y
<height
; y
++) {
3039 wxNativePixelData::Iterator rowStart
= p
;
3040 for (int x
=0; x
<width
; x
++) {
3041 p
.Red() = *(data
++);
3042 p
.Green() = *(data
++);
3043 p
.Blue() = *(data
++);
3047 p
.OffsetY(pixData
, 1);
3053 wxBitmap
* _BitmapFromBufferRGBA(int width
, int height
, buffer data
, int DATASIZE
)
3055 if (DATASIZE
!= width
*height
*4) {
3056 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3060 wxBitmap
* bmp
= new wxBitmap(width
, height
, 32);
3061 wxAlphaPixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3063 // raise an exception...
3064 wxPyErr_SetString(PyExc_RuntimeError
,
3065 "Failed to gain raw access to bitmap data.");
3070 wxAlphaPixelData::Iterator
p(pixData
);
3071 for (int y
=0; y
<height
; y
++) {
3072 wxAlphaPixelData::Iterator rowStart
= p
;
3073 for (int x
=0; x
<width
; x
++) {
3075 p
.Red() = wxPy_premultiply(*(data
++), a
);
3076 p
.Green() = wxPy_premultiply(*(data
++), a
);
3077 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3078 p
.Alpha() = a
; data
++;
3082 p
.OffsetY(pixData
, 1);
3088 typedef wxNativePixelData::Iterator wxNativePixelData_Accessor
;
3090 SWIGINTERN
bool wxNativePixelData___nonzero__(wxNativePixelData
*self
){ return self
->operator bool(); }
3091 SWIGINTERN
void wxNativePixelData_Accessor_nextPixel(wxNativePixelData_Accessor
*self
){ ++(*self
); }
3092 SWIGINTERN
void wxNativePixelData_Accessor_Set(wxNativePixelData_Accessor
*self
,byte red
,byte green
,byte blue
){
3094 self
->Green() = green
;
3095 self
->Blue() = blue
;
3097 SWIGINTERN PyObject
*wxNativePixelData_Accessor_Get(wxNativePixelData_Accessor
*self
){
3098 PyObject
* rv
= PyTuple_New(3);
3099 PyTuple_SetItem(rv
, 0, PyInt_FromLong(self
->Red()));
3100 PyTuple_SetItem(rv
, 1, PyInt_FromLong(self
->Green()));
3101 PyTuple_SetItem(rv
, 2, PyInt_FromLong(self
->Blue()));
3105 typedef wxAlphaPixelData::Iterator wxAlphaPixelData_Accessor
;
3107 SWIGINTERN
bool wxAlphaPixelData___nonzero__(wxAlphaPixelData
*self
){ return self
->operator bool(); }
3108 SWIGINTERN
void wxAlphaPixelData_Accessor_nextPixel(wxAlphaPixelData_Accessor
*self
){ ++(*self
); }
3109 SWIGINTERN
void wxAlphaPixelData_Accessor_Set(wxAlphaPixelData_Accessor
*self
,byte red
,byte green
,byte blue
,byte alpha
){
3110 self
->Red() = wxPy_premultiply(red
, alpha
);
3111 self
->Green() = wxPy_premultiply(green
, alpha
);
3112 self
->Blue() = wxPy_premultiply(blue
, alpha
);
3113 self
->Alpha() = alpha
;
3115 SWIGINTERN PyObject
*wxAlphaPixelData_Accessor_Get(wxAlphaPixelData_Accessor
*self
){
3116 PyObject
* rv
= PyTuple_New(4);
3117 int red
= self
->Red();
3118 int green
= self
->Green();
3119 int blue
= self
->Blue();
3120 int alpha
= self
->Alpha();
3122 PyTuple_SetItem(rv
, 0, PyInt_FromLong( wxPy_unpremultiply(red
, alpha
) ));
3123 PyTuple_SetItem(rv
, 1, PyInt_FromLong( wxPy_unpremultiply(green
, alpha
) ));
3124 PyTuple_SetItem(rv
, 2, PyInt_FromLong( wxPy_unpremultiply(blue
, alpha
) ));
3125 PyTuple_SetItem(rv
, 3, PyInt_FromLong( alpha
));
3128 SWIGINTERN wxMask
*new_wxMask(wxBitmap
const &bitmap
,wxColour
const &colour
=wxNullColour
){
3129 if ( !colour
.IsOk() )
3130 return new wxMask(bitmap
, *wxBLACK
);
3132 return new wxMask(bitmap
, colour
);
3135 #include <wx/iconbndl.h>
3137 SWIGINTERN wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
3138 wxIcon
* icon
= new wxIcon();
3139 icon
->CopyFromBitmap(bmp
);
3142 SWIGINTERN wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
3143 char** cArray
= NULL
;
3146 cArray
= ConvertListOfStrings(listOfStrings
);
3149 icon
= new wxIcon(cArray
);
3153 SWIGINTERN wxIconLocation
*new_wxIconLocation(wxString
const *filename
=&wxPyEmptyString
,int num
=0){
3157 return new wxIconLocation(*filename
);
3160 SWIGINTERN
void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
3167 SWIGINTERN
int wxIconLocation_GetIndex(wxIconLocation
*self
){
3174 SWIGINTERN wxCursor
*new_wxCursor(wxString
const &cursorName
,long type
,int hotSpotX
=0,int hotSpotY
=0){
3176 wxImage
img(cursorName
, type
);
3177 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_X
, hotSpotX
);
3178 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_Y
, hotSpotY
);
3179 return new wxCursor(img
);
3181 return new wxCursor(cursorName
, type
, hotSpotX
, hotSpotY
);
3186 SWIGINTERN
void wxRegionIterator_Next(wxRegionIterator
*self
){
3189 SWIGINTERN
bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
3190 return self
->operator bool();
3193 #include <wx/fontutil.h>
3194 #include <wx/fontmap.h>
3195 #include <wx/fontenum.h>
3197 SWIGINTERN wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
3198 return self
->ToString();
3201 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
) {
3202 static wxNativeEncodingInfo info
;
3203 if ( wxGetNativeFontEncoding(encoding
, &info
) )
3210 SWIGINTERNINLINE PyObject
*
3211 SWIG_From_size_t (size_t value
)
3213 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
3217 SWIGINTERNINLINE
int
3218 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
3221 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
3222 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
3226 SWIGINTERN PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
=wxPyEmptyString
,bool interactive
=true){
3227 wxFontEncoding alt_enc
;
3228 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
3229 return PyInt_FromLong(alt_enc
);
3235 SWIGINTERN wxFont
*new_wxFont(wxString
const &info
){
3236 wxNativeFontInfo nfi
;
3237 nfi
.FromString(info
);
3238 return new wxFont(nfi
);
3240 SWIGINTERN wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxPyEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3241 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
3243 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,int family
,int style
,int weight
,bool underlined
=false,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3244 return wxFontBase::New(pixelSize
, family
,
3245 style
, weight
, underlined
,
3248 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3249 return wxFontBase::New(pixelSize
, family
, flags
, face
, encoding
);
3251 SWIGINTERN
bool wxFont___eq__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
== *other
) : false; }
3252 SWIGINTERN
bool wxFont___ne__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
!= *other
) : true; }
3254 class wxPyFontEnumerator
: public wxFontEnumerator
{
3256 wxPyFontEnumerator() {}
3257 ~wxPyFontEnumerator() {}
3259 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
3260 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
3265 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
3266 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
3269 SWIGINTERN PyObject
*wxPyFontEnumerator_GetEncodings(){
3271 wxArrayString arr
= wxFontEnumerator::GetEncodings();
3272 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3273 ret
= wxArrayString2PyList_helper(arr
);
3274 wxPyEndBlockThreads(blocked
);
3277 SWIGINTERN PyObject
*wxPyFontEnumerator_GetFacenames(){
3279 wxArrayString arr
= wxFontEnumerator::GetFacenames();
3280 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3281 ret
= wxArrayString2PyList_helper(arr
);
3282 wxPyEndBlockThreads(blocked
);
3288 SWIGINTERN wxLocale
*new_wxLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3291 loc
= new wxLocale();
3293 loc
= new wxLocale(language
, flags
);
3294 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3295 // for the floating point conversions and such to work right.
3296 #if PY_VERSION_HEX < 0x02040000
3297 setlocale(LC_NUMERIC
, "C");
3301 SWIGINTERN
bool wxLocale_Init1(wxLocale
*self
,wxString
const &szName
,wxString
const &szShort
=wxPyEmptyString
,wxString
const &szLocale
=wxPyEmptyString
,bool bLoadDefault
=true,bool bConvertEncoding
=false){
3302 bool rc
= self
->Init(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
);
3303 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3304 // for the floating point conversions and such to work right.
3305 #if PY_VERSION_HEX < 0x02040000
3306 setlocale(LC_NUMERIC
, "C");
3310 SWIGINTERN
bool wxLocale_Init2(wxLocale
*self
,int language
=wxLANGUAGE_DEFAULT
,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3311 bool rc
= self
->Init(language
, flags
);
3312 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3313 // for the floating point conversions and such to work right.
3314 #if PY_VERSION_HEX < 0x02040000
3315 setlocale(LC_NUMERIC
, "C");
3320 class wxPyLocale
: public wxLocale
3325 wxPyLocale(const wxChar
*szName
, // name (for messages)
3326 const wxChar
*szShort
= (const wxChar
*) NULL
, // dir prefix (for msg files)
3327 const wxChar
*szLocale
= (const wxChar
*) NULL
, // locale (for setlocale)
3328 bool bLoadDefault
= true, // preload wxstd.mo?
3329 bool bConvertEncoding
= false); // convert Win<->Unix if necessary?
3331 wxPyLocale(int language
, // wxLanguage id or custom language
3332 int flags
= wxLOCALE_LOAD_DEFAULT
| wxLOCALE_CONV_ENCODING
);
3336 virtual const wxChar
*GetString(const wxChar
*szOrigString
,
3337 const wxChar
*szDomain
= NULL
) const;
3338 virtual const wxChar
*GetString(const wxChar
*szOrigString
,
3339 const wxChar
*szOrigString2
, size_t n
,
3340 const wxChar
*szDomain
= NULL
) const;
3342 virtual wxChar
*GetSingularString(const wxChar
*szOrigString
,
3343 const wxChar
*szDomain
= NULL
) const;
3344 virtual wxChar
*GetPluralString(const wxChar
*szOrigString
,
3345 const wxChar
*szOrigString2
, size_t n
,
3346 const wxChar
*szDomain
= NULL
) const;
3350 DECLARE_NO_COPY_CLASS(wxPyLocale
)
3353 wxPyLocale::wxPyLocale() : wxLocale()
3357 wxPyLocale::wxPyLocale(const wxChar
*szName
, // name (for messages)
3358 const wxChar
*szShort
, // dir prefix (for msg files)
3359 const wxChar
*szLocale
, // locale (for setlocale)
3360 bool bLoadDefault
, // preload wxstd.mo?
3361 bool bConvertEncoding
) // convert Win<->Unix if necessary?
3362 : wxLocale(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
)
3366 wxPyLocale::wxPyLocale(int language
, // wxLanguage id or custom language
3367 int flags
) : wxLocale(language
, flags
)
3371 wxPyLocale::~wxPyLocale()
3375 const wxChar
*wxPyLocale::GetString(const wxChar
*szOrigString
,
3376 const wxChar
*szDomain
) const
3378 wxChar
*str
= GetSingularString(szOrigString
, szDomain
);
3379 return (str
!= NULL
) ? str
: wxLocale::GetString(szOrigString
, szDomain
);
3382 const wxChar
*wxPyLocale::GetString(const wxChar
*szOrigString
,
3383 const wxChar
*szOrigString2
, size_t n
,
3384 const wxChar
*szDomain
) const
3386 wxChar
*str
= GetPluralString(szOrigString
, szOrigString2
, n
, szDomain
);
3387 return (str
!= NULL
) ? str
: wxLocale::GetString(szOrigString
, szOrigString2
, n
, szDomain
);
3390 wxChar
*wxPyLocale::GetSingularString(const wxChar
*szOrigString
,
3391 const wxChar
*szDomain
) const
3394 static wxString str
;
3395 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.
3396 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3397 if((found
=wxPyCBH_findCallback(m_myInst
, "GetSingularString"))) {
3398 PyObject
* param1
= wx2PyString(szOrigString
);
3399 PyObject
* param2
= wx2PyString(szDomain
);
3400 PyObject
* ret
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OO)", param1
, param2
));
3404 str
= Py2wxString(ret
);
3408 wxPyEndBlockThreads(blocked
);
3409 return (found
? (wxChar
*)str
.c_str() : NULL
);
3412 wxChar
*wxPyLocale::GetPluralString(const wxChar
*szOrigString
,
3413 const wxChar
*szOrigString2
, size_t n
,
3414 const wxChar
*szDomain
) const
3417 static wxString str
;
3418 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.
3419 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3420 if((found
=wxPyCBH_findCallback(m_myInst
, "GetPluralString"))) {
3421 PyObject
* param1
= wx2PyString(szOrigString
);
3422 PyObject
* param2
= wx2PyString(szOrigString2
);
3423 PyObject
* param4
= wx2PyString(szDomain
);
3424 PyObject
* ret
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOiO)", param1
, param2
, (int)n
, param4
));
3429 str
= Py2wxString(ret
);
3433 wxPyEndBlockThreads(blocked
);
3434 return (found
? (wxChar
*)str
.c_str() : NULL
);
3437 SWIGINTERN wxPyLocale
*new_wxPyLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3440 loc
= new wxPyLocale();
3442 loc
= new wxPyLocale(language
, flags
);
3443 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3444 // for the floating point conversions and such to work right.
3445 #if PY_VERSION_HEX < 0x02040000
3446 setlocale(LC_NUMERIC
, "C");
3451 #include "wx/wxPython/pydrawxxx.h"
3453 SWIGINTERN wxColour
wxDC_GetPixel(wxDC
*self
,int x
,int y
){
3455 self
->GetPixel(x
, y
, &col
);
3458 SWIGINTERN wxColour
wxDC_GetPixelPoint(wxDC
*self
,wxPoint
const &pt
){
3460 self
->GetPixel(pt
, &col
);
3465 SWIG_AsVal_double (PyObject
*obj
, double* val
)
3467 if (PyNumber_Check(obj
)) {
3468 if (val
) *val
= PyFloat_AsDouble(obj
);
3471 return SWIG_TypeError
;
3474 SWIGINTERN wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
=wxALIGN_LEFT
|wxALIGN_TOP
,int indexAccel
=-1){
3476 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
3479 SWIGINTERN wxRect
wxDC_GetClippingRect(wxDC
*self
){
3481 self
->GetClippingBox(rect
);
3484 SWIGINTERN wxArrayInt
wxDC_GetPartialTextExtents(wxDC
*self
,wxString
const &text
){
3486 self
->GetPartialTextExtents(text
, widths
);
3490 #define SWIG_From_double PyFloat_FromDouble
3492 SWIGINTERN
void wxDC_SetLogicalOriginPoint(wxDC
*self
,wxPoint
const &point
){
3493 self
->SetLogicalOrigin(point
.x
, point
.y
);
3495 SWIGINTERN
void wxDC_SetDeviceOriginPoint(wxDC
*self
,wxPoint
const &point
){
3496 self
->SetDeviceOrigin(point
.x
, point
.y
);
3498 SWIGINTERN
void wxDC_CalcBoundingBoxPoint(wxDC
*self
,wxPoint
const &point
){
3499 self
->CalcBoundingBox(point
.x
, point
.y
);
3501 SWIGINTERN PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3502 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
3504 SWIGINTERN PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3505 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
3507 SWIGINTERN PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3508 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
3510 SWIGINTERN PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3511 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
3513 SWIGINTERN PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3514 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
3516 SWIGINTERN PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
3517 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
3520 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
3528 #include <wx/dcbuffer.h>
3531 #include <wx/dcps.h>
3534 class wxMetaFile
: public wxObject
{
3536 wxMetaFile(const wxString
&)
3537 { wxPyRaiseNotImplemented(); }
3540 class wxMetaFileDC
: public wxClientDC
{
3542 wxMetaFileDC(const wxString
&, int, int, const wxString
&)
3543 { wxPyRaiseNotImplemented(); }
3548 class wxPrinterDC
: public wxClientDC
{
3550 wxPrinterDC(const wxPrintData
&)
3551 { wxPyRaiseNotImplemented(); }
3556 #include <wx/graphics.h>
3559 #if !wxUSE_GRAPHICS_CONTEXT
3560 // C++ stub classes for platforms that don't have wxGraphicsContext yet.
3562 class wxGraphicsPath
3566 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3567 PyErr_SetString(PyExc_NotImplementedError
,
3568 "wxGraphicsPath is not available on this platform.");
3569 wxPyEndBlockThreads(blocked
);
3571 virtual ~wxGraphicsPath() {}
3573 void MoveToPoint( wxDouble
, wxDouble
) {}
3574 void AddLineToPoint( wxDouble
, wxDouble
) {}
3575 void AddCurveToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3576 void CloseSubpath() {}
3577 void GetCurrentPoint( wxDouble
&, wxDouble
&) {}
3578 void AddArc( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
, bool ) {}
3580 void AddQuadCurveToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3581 void AddRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3582 void AddCircle( wxDouble
, wxDouble
, wxDouble
) {}
3583 void AddArcToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3585 wxPoint2DDouble
GetCurrentPoint() { return wxPoint2DDouble(0,0); }
3586 void MoveToPoint( const wxPoint2DDouble
& ) {}
3587 void AddLineToPoint( const wxPoint2DDouble
&) {}
3588 void AddCurveToPoint( const wxPoint2DDouble
&, const wxPoint2DDouble
&, const wxPoint2DDouble
&) {}
3589 void AddArc( const wxPoint2DDouble
&, wxDouble
, wxDouble
, wxDouble
, bool) {}
3593 class wxGraphicsContext
3596 wxGraphicsContext() {
3597 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3598 PyErr_SetString(PyExc_NotImplementedError
,
3599 "wxGraphicsContext is not available on this platform.");
3600 wxPyEndBlockThreads(blocked
);
3602 virtual ~wxGraphicsContext() {}
3604 static wxGraphicsContext
* Create( const wxWindowDC
&) {
3605 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3606 PyErr_SetString(PyExc_NotImplementedError
,
3607 "wxGraphicsPath is not available on this platform.");
3608 wxPyEndBlockThreads(blocked
);
3612 wxGraphicsPath
* CreatePath() { return NULL
; }
3615 void Clip( const wxRegion
& ) {}
3616 void Translate( wxDouble
, wxDouble
) {}
3617 void Scale( wxDouble
, wxDouble
) {}
3618 void Rotate( wxDouble
) {}
3619 void SetPen( const wxPen
& ) {}
3620 void SetBrush( const wxBrush
& ) {}
3621 void SetLinearGradientBrush( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3622 const wxColour
&, const wxColour
&) {}
3623 void SetRadialGradientBrush( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3624 const wxColour
&, const wxColour
&) {}
3625 void SetFont( const wxFont
& ) {}
3626 void SetTextColor( const wxColour
& ) {}
3627 void StrokePath( const wxGraphicsPath
* ) {}
3628 void FillPath( const wxGraphicsPath
*, int ) {}
3629 void DrawPath( const wxGraphicsPath
*, int ) {}
3630 void DrawText( const wxString
&, wxDouble
, wxDouble
) {}
3631 void DrawText( const wxString
&, wxDouble
, wxDouble
, wxDouble
) {}
3632 void GetTextExtent( const wxString
&, wxDouble
*, wxDouble
*,
3633 wxDouble
*, wxDouble
* ) const {}
3634 void GetPartialTextExtents(const wxString
& , wxArrayDouble
& ) const {}
3635 void DrawBitmap( const wxBitmap
&, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3636 void DrawIcon( const wxIcon
&, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3637 void StrokeLine( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3638 void StrokeLines( size_t , const wxPoint2DDouble
*) {}
3639 void StrokeLines( size_t , const wxPoint2DDouble
*, const wxPoint2DDouble
*) {}
3640 void DrawLines( size_t , const wxPoint2DDouble
*, int ) {}
3641 void DrawRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3642 void DrawEllipse( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3643 void DrawRoundedRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3647 class wxGCDC
: public wxWindowDC
3650 wxGCDC(const wxWindowDC
&) {
3651 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3652 PyErr_SetString(PyExc_NotImplementedError
,
3653 "wxGCDC is not available on this platform.");
3654 wxPyEndBlockThreads(blocked
);
3658 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3659 PyErr_SetString(PyExc_NotImplementedError
,
3660 "wxGCDC is not available on this platform.");
3661 wxPyEndBlockThreads(blocked
);
3664 virtual ~wxGCDC() {}
3666 wxGraphicsContext
* GetGraphicContext() { return NULL
; }
3671 SWIGINTERN wxArrayDouble
wxGraphicsContext_GetPartialTextExtents(wxGraphicsContext
*self
,wxString
const &text
){
3672 wxArrayDouble widths
;
3673 self
->GetPartialTextExtents(text
, widths
);
3676 SWIGINTERN
void wxGraphicsContext_StrokeLineSegements(wxGraphicsContext
*self
,PyObject
*beginPoints
,PyObject
*endPoints
){
3677 size_t c1
, c2
, count
;
3678 wxPoint2D
* beginP
= wxPoint2D_LIST_helper(beginPoints
, &c1
);
3679 wxPoint2D
* endP
= wxPoint2D_LIST_helper(endPoints
, &c2
);
3681 if ( beginP
!= NULL
&& endP
!= NULL
)
3683 count
= wxMin(c1
, c2
);
3684 self
->StrokeLines(count
, beginP
, endP
);
3691 SWIGINTERN
void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
3692 self
->AddColour(name
, wxColour(red
, green
, blue
));
3695 wxFontList
* _wxPyInitTheFontList() { return wxTheFontList
; }
3696 wxPenList
* _wxPyInitThePenList() { return wxThePenList
; }
3697 wxBrushList
* _wxPyInitTheBrushList() { return wxTheBrushList
; }
3698 wxColourDatabase
* _wxPyInitTheColourDatabase() { return wxTheColourDatabase
; }
3701 #include <wx/effects.h>
3704 #include "wx/renderer.h"
3707 SWIGINTERNINLINE PyObject
*
3708 SWIG_From_bool (bool value
)
3710 return PyBool_FromLong(value
? 1 : 0);
3714 #include "wx/wxPython/pseudodc.h"
3716 SWIGINTERN wxRect
wxPseudoDC_GetIdBounds(wxPseudoDC
*self
,int id
){
3718 self
->GetIdBounds(id
, rect
);
3724 SWIGINTERN PyObject
*_wrap_new_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3725 PyObject
*resultobj
= 0;
3726 wxGDIObject
*result
= 0 ;
3728 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObject",0,0,0)) SWIG_fail
;
3730 if (!wxPyCheckForApp()) SWIG_fail
;
3731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3732 result
= (wxGDIObject
*)new wxGDIObject();
3733 wxPyEndAllowThreads(__tstate
);
3734 if (PyErr_Occurred()) SWIG_fail
;
3736 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_NEW
| 0 );
3743 SWIGINTERN PyObject
*_wrap_delete_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3744 PyObject
*resultobj
= 0;
3745 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
3748 PyObject
*swig_obj
[1] ;
3750 if (!args
) SWIG_fail
;
3752 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_DISOWN
| 0 );
3753 if (!SWIG_IsOK(res1
)) {
3754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObject" "', expected argument " "1"" of type '" "wxGDIObject *""'");
3756 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
3758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3761 wxPyEndAllowThreads(__tstate
);
3762 if (PyErr_Occurred()) SWIG_fail
;
3764 resultobj
= SWIG_Py_Void();
3771 SWIGINTERN PyObject
*_wrap_GDIObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3772 PyObject
*resultobj
= 0;
3773 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
3777 PyObject
*swig_obj
[1] ;
3779 if (!args
) SWIG_fail
;
3781 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, 0 | 0 );
3782 if (!SWIG_IsOK(res1
)) {
3783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GDIObject_IsNull" "', expected argument " "1"" of type '" "wxGDIObject *""'");
3785 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
3787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3788 result
= (bool)(arg1
)->IsNull();
3789 wxPyEndAllowThreads(__tstate
);
3790 if (PyErr_Occurred()) SWIG_fail
;
3793 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3801 SWIGINTERN PyObject
*GDIObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3803 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3804 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObject
, SWIG_NewClientData(obj
));
3805 return SWIG_Py_Void();
3808 SWIGINTERN PyObject
*GDIObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3809 return SWIG_Python_InitShadowInstance(args
);
3812 SWIGINTERN PyObject
*_wrap_new_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3813 PyObject
*resultobj
= 0;
3814 byte arg1
= (byte
) 0 ;
3815 byte arg2
= (byte
) 0 ;
3816 byte arg3
= (byte
) 0 ;
3817 byte arg4
= (byte
) wxALPHA_OPAQUE
;
3818 wxColour
*result
= 0 ;
3819 unsigned char val1
;
3821 unsigned char val2
;
3823 unsigned char val3
;
3825 unsigned char val4
;
3827 PyObject
* obj0
= 0 ;
3828 PyObject
* obj1
= 0 ;
3829 PyObject
* obj2
= 0 ;
3830 PyObject
* obj3
= 0 ;
3831 char * kwnames
[] = {
3832 (char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
3835 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
3837 ecode1
= SWIG_AsVal_unsigned_SS_char(obj0
, &val1
);
3838 if (!SWIG_IsOK(ecode1
)) {
3839 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Colour" "', expected argument " "1"" of type '" "byte""'");
3841 arg1
= static_cast< byte
>(val1
);
3844 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
3845 if (!SWIG_IsOK(ecode2
)) {
3846 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Colour" "', expected argument " "2"" of type '" "byte""'");
3848 arg2
= static_cast< byte
>(val2
);
3851 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
3852 if (!SWIG_IsOK(ecode3
)) {
3853 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Colour" "', expected argument " "3"" of type '" "byte""'");
3855 arg3
= static_cast< byte
>(val3
);
3858 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
3859 if (!SWIG_IsOK(ecode4
)) {
3860 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Colour" "', expected argument " "4"" of type '" "byte""'");
3862 arg4
= static_cast< byte
>(val4
);
3865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3866 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
,arg4
);
3867 wxPyEndAllowThreads(__tstate
);
3868 if (PyErr_Occurred()) SWIG_fail
;
3870 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_NEW
| 0 );
3877 SWIGINTERN PyObject
*_wrap_new_NamedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3878 PyObject
*resultobj
= 0;
3879 wxString
*arg1
= 0 ;
3880 wxColour
*result
= 0 ;
3881 bool temp1
= false ;
3882 PyObject
* obj0
= 0 ;
3883 char * kwnames
[] = {
3884 (char *) "colorName", NULL
3887 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) SWIG_fail
;
3889 arg1
= wxString_in_helper(obj0
);
3890 if (arg1
== NULL
) SWIG_fail
;
3894 if (!wxPyCheckForApp()) SWIG_fail
;
3895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3896 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
3897 wxPyEndAllowThreads(__tstate
);
3898 if (PyErr_Occurred()) SWIG_fail
;
3900 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
3915 SWIGINTERN PyObject
*_wrap_new_ColourRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3916 PyObject
*resultobj
= 0;
3917 unsigned long arg1
;
3918 wxColour
*result
= 0 ;
3919 unsigned long val1
;
3921 PyObject
* obj0
= 0 ;
3922 char * kwnames
[] = {
3923 (char *) "colRGB", NULL
3926 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) SWIG_fail
;
3927 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
3928 if (!SWIG_IsOK(ecode1
)) {
3929 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ColourRGB" "', expected argument " "1"" of type '" "unsigned long""'");
3931 arg1
= static_cast< unsigned long >(val1
);
3933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3934 result
= (wxColour
*)new wxColour(arg1
);
3935 wxPyEndAllowThreads(__tstate
);
3936 if (PyErr_Occurred()) SWIG_fail
;
3938 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
3945 SWIGINTERN PyObject
*_wrap_delete_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3946 PyObject
*resultobj
= 0;
3947 wxColour
*arg1
= (wxColour
*) 0 ;
3950 PyObject
*swig_obj
[1] ;
3952 if (!args
) SWIG_fail
;
3954 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, SWIG_POINTER_DISOWN
| 0 );
3955 if (!SWIG_IsOK(res1
)) {
3956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Colour" "', expected argument " "1"" of type '" "wxColour *""'");
3958 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3963 wxPyEndAllowThreads(__tstate
);
3964 if (PyErr_Occurred()) SWIG_fail
;
3966 resultobj
= SWIG_Py_Void();
3973 SWIGINTERN PyObject
*_wrap_Colour_Red(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3974 PyObject
*resultobj
= 0;
3975 wxColour
*arg1
= (wxColour
*) 0 ;
3979 PyObject
*swig_obj
[1] ;
3981 if (!args
) SWIG_fail
;
3983 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3984 if (!SWIG_IsOK(res1
)) {
3985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Red" "', expected argument " "1"" of type '" "wxColour *""'");
3987 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3990 result
= (byte
)(arg1
)->Red();
3991 wxPyEndAllowThreads(__tstate
);
3992 if (PyErr_Occurred()) SWIG_fail
;
3994 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4001 SWIGINTERN PyObject
*_wrap_Colour_Green(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4002 PyObject
*resultobj
= 0;
4003 wxColour
*arg1
= (wxColour
*) 0 ;
4007 PyObject
*swig_obj
[1] ;
4009 if (!args
) SWIG_fail
;
4011 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4012 if (!SWIG_IsOK(res1
)) {
4013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Green" "', expected argument " "1"" of type '" "wxColour *""'");
4015 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4018 result
= (byte
)(arg1
)->Green();
4019 wxPyEndAllowThreads(__tstate
);
4020 if (PyErr_Occurred()) SWIG_fail
;
4022 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4029 SWIGINTERN PyObject
*_wrap_Colour_Blue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4030 PyObject
*resultobj
= 0;
4031 wxColour
*arg1
= (wxColour
*) 0 ;
4035 PyObject
*swig_obj
[1] ;
4037 if (!args
) SWIG_fail
;
4039 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4040 if (!SWIG_IsOK(res1
)) {
4041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Blue" "', expected argument " "1"" of type '" "wxColour *""'");
4043 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4046 result
= (byte
)(arg1
)->Blue();
4047 wxPyEndAllowThreads(__tstate
);
4048 if (PyErr_Occurred()) SWIG_fail
;
4050 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4057 SWIGINTERN PyObject
*_wrap_Colour_Alpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4058 PyObject
*resultobj
= 0;
4059 wxColour
*arg1
= (wxColour
*) 0 ;
4063 PyObject
*swig_obj
[1] ;
4065 if (!args
) SWIG_fail
;
4067 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4068 if (!SWIG_IsOK(res1
)) {
4069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Alpha" "', expected argument " "1"" of type '" "wxColour *""'");
4071 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4074 result
= (byte
)(arg1
)->Alpha();
4075 wxPyEndAllowThreads(__tstate
);
4076 if (PyErr_Occurred()) SWIG_fail
;
4078 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4085 SWIGINTERN PyObject
*_wrap_Colour_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4086 PyObject
*resultobj
= 0;
4087 wxColour
*arg1
= (wxColour
*) 0 ;
4091 PyObject
*swig_obj
[1] ;
4093 if (!args
) SWIG_fail
;
4095 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4096 if (!SWIG_IsOK(res1
)) {
4097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_IsOk" "', expected argument " "1"" of type '" "wxColour *""'");
4099 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4102 result
= (bool)(arg1
)->IsOk();
4103 wxPyEndAllowThreads(__tstate
);
4104 if (PyErr_Occurred()) SWIG_fail
;
4107 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4115 SWIGINTERN PyObject
*_wrap_Colour_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4116 PyObject
*resultobj
= 0;
4117 wxColour
*arg1
= (wxColour
*) 0 ;
4121 byte arg5
= (byte
) wxALPHA_OPAQUE
;
4124 unsigned char val2
;
4126 unsigned char val3
;
4128 unsigned char val4
;
4130 unsigned char val5
;
4132 PyObject
* obj0
= 0 ;
4133 PyObject
* obj1
= 0 ;
4134 PyObject
* obj2
= 0 ;
4135 PyObject
* obj3
= 0 ;
4136 PyObject
* obj4
= 0 ;
4137 char * kwnames
[] = {
4138 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
4141 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
4142 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4143 if (!SWIG_IsOK(res1
)) {
4144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Set" "', expected argument " "1"" of type '" "wxColour *""'");
4146 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4147 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4148 if (!SWIG_IsOK(ecode2
)) {
4149 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Set" "', expected argument " "2"" of type '" "byte""'");
4151 arg2
= static_cast< byte
>(val2
);
4152 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4153 if (!SWIG_IsOK(ecode3
)) {
4154 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Colour_Set" "', expected argument " "3"" of type '" "byte""'");
4156 arg3
= static_cast< byte
>(val3
);
4157 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4158 if (!SWIG_IsOK(ecode4
)) {
4159 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Colour_Set" "', expected argument " "4"" of type '" "byte""'");
4161 arg4
= static_cast< byte
>(val4
);
4163 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
4164 if (!SWIG_IsOK(ecode5
)) {
4165 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Colour_Set" "', expected argument " "5"" of type '" "byte""'");
4167 arg5
= static_cast< byte
>(val5
);
4170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4171 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
4172 wxPyEndAllowThreads(__tstate
);
4173 if (PyErr_Occurred()) SWIG_fail
;
4175 resultobj
= SWIG_Py_Void();
4182 SWIGINTERN PyObject
*_wrap_Colour_SetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4183 PyObject
*resultobj
= 0;
4184 wxColour
*arg1
= (wxColour
*) 0 ;
4185 unsigned long arg2
;
4188 unsigned long val2
;
4190 PyObject
* obj0
= 0 ;
4191 PyObject
* obj1
= 0 ;
4192 char * kwnames
[] = {
4193 (char *) "self",(char *) "colRGB", NULL
4196 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4197 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4198 if (!SWIG_IsOK(res1
)) {
4199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4201 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4202 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
4203 if (!SWIG_IsOK(ecode2
)) {
4204 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_SetRGB" "', expected argument " "2"" of type '" "unsigned long""'");
4206 arg2
= static_cast< unsigned long >(val2
);
4208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4210 wxPyEndAllowThreads(__tstate
);
4211 if (PyErr_Occurred()) SWIG_fail
;
4213 resultobj
= SWIG_Py_Void();
4220 SWIGINTERN PyObject
*_wrap_Colour_SetFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4221 PyObject
*resultobj
= 0;
4222 wxColour
*arg1
= (wxColour
*) 0 ;
4223 wxString
*arg2
= 0 ;
4226 bool temp2
= false ;
4227 PyObject
* obj0
= 0 ;
4228 PyObject
* obj1
= 0 ;
4229 char * kwnames
[] = {
4230 (char *) "self",(char *) "colourName", NULL
4233 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4234 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4235 if (!SWIG_IsOK(res1
)) {
4236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetFromName" "', expected argument " "1"" of type '" "wxColour *""'");
4238 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4240 arg2
= wxString_in_helper(obj1
);
4241 if (arg2
== NULL
) SWIG_fail
;
4245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4246 (arg1
)->Set((wxString
const &)*arg2
);
4247 wxPyEndAllowThreads(__tstate
);
4248 if (PyErr_Occurred()) SWIG_fail
;
4250 resultobj
= SWIG_Py_Void();
4265 SWIGINTERN PyObject
*_wrap_Colour_GetAsString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4266 PyObject
*resultobj
= 0;
4267 wxColour
*arg1
= (wxColour
*) 0 ;
4268 long arg2
= (long) wxC2S_NAME
|wxC2S_CSS_SYNTAX
;
4274 PyObject
* obj0
= 0 ;
4275 PyObject
* obj1
= 0 ;
4276 char * kwnames
[] = {
4277 (char *) "self",(char *) "flags", NULL
4280 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_GetAsString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4281 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4282 if (!SWIG_IsOK(res1
)) {
4283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetAsString" "', expected argument " "1"" of type '" "wxColour const *""'");
4285 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4287 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
4288 if (!SWIG_IsOK(ecode2
)) {
4289 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_GetAsString" "', expected argument " "2"" of type '" "long""'");
4291 arg2
= static_cast< long >(val2
);
4294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4295 result
= ((wxColour
const *)arg1
)->GetAsString(arg2
);
4296 wxPyEndAllowThreads(__tstate
);
4297 if (PyErr_Occurred()) SWIG_fail
;
4301 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4303 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4312 SWIGINTERN PyObject
*_wrap_Colour_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4313 PyObject
*resultobj
= 0;
4314 wxColour
*arg1
= (wxColour
*) 0 ;
4318 PyObject
*swig_obj
[1] ;
4320 if (!args
) SWIG_fail
;
4322 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4323 if (!SWIG_IsOK(res1
)) {
4324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetPixel" "', expected argument " "1"" of type '" "wxColour const *""'");
4326 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4329 result
= (long)((wxColour
const *)arg1
)->GetPixel();
4330 wxPyEndAllowThreads(__tstate
);
4331 if (PyErr_Occurred()) SWIG_fail
;
4333 resultobj
= SWIG_From_long(static_cast< long >(result
));
4340 SWIGINTERN PyObject
*_wrap_Colour___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4341 PyObject
*resultobj
= 0;
4342 wxColour
*arg1
= (wxColour
*) 0 ;
4343 PyObject
*arg2
= (PyObject
*) 0 ;
4347 PyObject
* obj0
= 0 ;
4348 PyObject
* obj1
= 0 ;
4349 char * kwnames
[] = {
4350 (char *) "self",(char *) "other", NULL
4353 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4354 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4355 if (!SWIG_IsOK(res1
)) {
4356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___eq__" "', expected argument " "1"" of type '" "wxColour *""'");
4358 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4361 result
= (bool)wxColour___eq__(arg1
,arg2
);
4362 if (PyErr_Occurred()) SWIG_fail
;
4365 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4373 SWIGINTERN PyObject
*_wrap_Colour___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4374 PyObject
*resultobj
= 0;
4375 wxColour
*arg1
= (wxColour
*) 0 ;
4376 PyObject
*arg2
= (PyObject
*) 0 ;
4380 PyObject
* obj0
= 0 ;
4381 PyObject
* obj1
= 0 ;
4382 char * kwnames
[] = {
4383 (char *) "self",(char *) "other", NULL
4386 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4387 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4388 if (!SWIG_IsOK(res1
)) {
4389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___ne__" "', expected argument " "1"" of type '" "wxColour *""'");
4391 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4394 result
= (bool)wxColour___ne__(arg1
,arg2
);
4395 if (PyErr_Occurred()) SWIG_fail
;
4398 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4406 SWIGINTERN PyObject
*_wrap_Colour_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4407 PyObject
*resultobj
= 0;
4408 wxColour
*arg1
= (wxColour
*) 0 ;
4409 bool arg2
= (bool) false ;
4410 PyObject
*result
= 0 ;
4415 PyObject
* obj0
= 0 ;
4416 PyObject
* obj1
= 0 ;
4417 char * kwnames
[] = {
4418 (char *) "self",(char *) "includeAlpha", NULL
4421 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_Get",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4422 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4423 if (!SWIG_IsOK(res1
)) {
4424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Get" "', expected argument " "1"" of type '" "wxColour *""'");
4426 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4428 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4429 if (!SWIG_IsOK(ecode2
)) {
4430 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Get" "', expected argument " "2"" of type '" "bool""'");
4432 arg2
= static_cast< bool >(val2
);
4435 result
= (PyObject
*)wxColour_Get(arg1
,arg2
);
4436 if (PyErr_Occurred()) SWIG_fail
;
4445 SWIGINTERN PyObject
*_wrap_Colour_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4446 PyObject
*resultobj
= 0;
4447 wxColour
*arg1
= (wxColour
*) 0 ;
4448 unsigned long result
;
4451 PyObject
*swig_obj
[1] ;
4453 if (!args
) SWIG_fail
;
4455 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4456 if (!SWIG_IsOK(res1
)) {
4457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4459 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4461 result
= (unsigned long)wxColour_GetRGB(arg1
);
4462 if (PyErr_Occurred()) SWIG_fail
;
4464 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
4471 SWIGINTERN PyObject
*Colour_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4473 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4474 SWIG_TypeNewClientData(SWIGTYPE_p_wxColour
, SWIG_NewClientData(obj
));
4475 return SWIG_Py_Void();
4478 SWIGINTERN PyObject
*Colour_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4479 return SWIG_Python_InitShadowInstance(args
);
4482 SWIGINTERN PyObject
*_wrap_new_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4483 PyObject
*resultobj
= 0;
4485 unsigned char *arg2
= (unsigned char *) 0 ;
4486 unsigned char *arg3
= (unsigned char *) 0 ;
4487 unsigned char *arg4
= (unsigned char *) 0 ;
4488 wxPalette
*result
= 0 ;
4497 PyObject
* obj0
= 0 ;
4498 PyObject
* obj1
= 0 ;
4499 PyObject
* obj2
= 0 ;
4500 PyObject
* obj3
= 0 ;
4501 char * kwnames
[] = {
4502 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
4505 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4506 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4507 if (!SWIG_IsOK(ecode1
)) {
4508 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Palette" "', expected argument " "1"" of type '" "int""'");
4510 arg1
= static_cast< int >(val1
);
4511 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4512 if (!SWIG_IsOK(res2
)) {
4513 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_Palette" "', expected argument " "2"" of type '" "unsigned char const *""'");
4515 arg2
= reinterpret_cast< unsigned char * >(argp2
);
4516 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4517 if (!SWIG_IsOK(res3
)) {
4518 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_Palette" "', expected argument " "3"" of type '" "unsigned char const *""'");
4520 arg3
= reinterpret_cast< unsigned char * >(argp3
);
4521 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4522 if (!SWIG_IsOK(res4
)) {
4523 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_Palette" "', expected argument " "4"" of type '" "unsigned char const *""'");
4525 arg4
= reinterpret_cast< unsigned char * >(argp4
);
4527 if (!wxPyCheckForApp()) SWIG_fail
;
4528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4529 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
4530 wxPyEndAllowThreads(__tstate
);
4531 if (PyErr_Occurred()) SWIG_fail
;
4533 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, SWIG_POINTER_NEW
| 0 );
4540 SWIGINTERN PyObject
*_wrap_delete_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4541 PyObject
*resultobj
= 0;
4542 wxPalette
*arg1
= (wxPalette
*) 0 ;
4545 PyObject
*swig_obj
[1] ;
4547 if (!args
) SWIG_fail
;
4549 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, SWIG_POINTER_DISOWN
| 0 );
4550 if (!SWIG_IsOK(res1
)) {
4551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Palette" "', expected argument " "1"" of type '" "wxPalette *""'");
4553 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4558 wxPyEndAllowThreads(__tstate
);
4559 if (PyErr_Occurred()) SWIG_fail
;
4561 resultobj
= SWIG_Py_Void();
4568 SWIGINTERN PyObject
*_wrap_Palette_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4569 PyObject
*resultobj
= 0;
4570 wxPalette
*arg1
= (wxPalette
*) 0 ;
4577 unsigned char val2
;
4579 unsigned char val3
;
4581 unsigned char val4
;
4583 PyObject
* obj0
= 0 ;
4584 PyObject
* obj1
= 0 ;
4585 PyObject
* obj2
= 0 ;
4586 PyObject
* obj3
= 0 ;
4587 char * kwnames
[] = {
4588 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
4591 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4592 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4593 if (!SWIG_IsOK(res1
)) {
4594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetPixel" "', expected argument " "1"" of type '" "wxPalette *""'");
4596 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4597 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4598 if (!SWIG_IsOK(ecode2
)) {
4599 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetPixel" "', expected argument " "2"" of type '" "byte""'");
4601 arg2
= static_cast< byte
>(val2
);
4602 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4603 if (!SWIG_IsOK(ecode3
)) {
4604 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Palette_GetPixel" "', expected argument " "3"" of type '" "byte""'");
4606 arg3
= static_cast< byte
>(val3
);
4607 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4608 if (!SWIG_IsOK(ecode4
)) {
4609 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Palette_GetPixel" "', expected argument " "4"" of type '" "byte""'");
4611 arg4
= static_cast< byte
>(val4
);
4613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4614 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
4615 wxPyEndAllowThreads(__tstate
);
4616 if (PyErr_Occurred()) SWIG_fail
;
4618 resultobj
= SWIG_From_int(static_cast< int >(result
));
4625 SWIGINTERN PyObject
*_wrap_Palette_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4626 PyObject
*resultobj
= 0;
4627 wxPalette
*arg1
= (wxPalette
*) 0 ;
4629 byte
*arg3
= (byte
*) 0 ;
4630 byte
*arg4
= (byte
*) 0 ;
4631 byte
*arg5
= (byte
*) 0 ;
4638 int res3
= SWIG_TMPOBJ
;
4640 int res4
= SWIG_TMPOBJ
;
4642 int res5
= SWIG_TMPOBJ
;
4643 PyObject
* obj0
= 0 ;
4644 PyObject
* obj1
= 0 ;
4645 char * kwnames
[] = {
4646 (char *) "self",(char *) "pixel", NULL
4652 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4653 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4654 if (!SWIG_IsOK(res1
)) {
4655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetRGB" "', expected argument " "1"" of type '" "wxPalette *""'");
4657 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4658 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4659 if (!SWIG_IsOK(ecode2
)) {
4660 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetRGB" "', expected argument " "2"" of type '" "int""'");
4662 arg2
= static_cast< int >(val2
);
4664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4665 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
4666 wxPyEndAllowThreads(__tstate
);
4667 if (PyErr_Occurred()) SWIG_fail
;
4670 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4672 if (SWIG_IsTmpObj(res3
)) {
4673 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg3
)));
4675 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4676 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, new_flags
));
4678 if (SWIG_IsTmpObj(res4
)) {
4679 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg4
)));
4681 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4682 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, new_flags
));
4684 if (SWIG_IsTmpObj(res5
)) {
4685 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg5
)));
4687 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4688 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_unsigned_char
, new_flags
));
4696 SWIGINTERN PyObject
*_wrap_Palette_GetColoursCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4697 PyObject
*resultobj
= 0;
4698 wxPalette
*arg1
= (wxPalette
*) 0 ;
4702 PyObject
*swig_obj
[1] ;
4704 if (!args
) SWIG_fail
;
4706 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4707 if (!SWIG_IsOK(res1
)) {
4708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetColoursCount" "', expected argument " "1"" of type '" "wxPalette const *""'");
4710 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4713 result
= (int)((wxPalette
const *)arg1
)->GetColoursCount();
4714 wxPyEndAllowThreads(__tstate
);
4715 if (PyErr_Occurred()) SWIG_fail
;
4717 resultobj
= SWIG_From_int(static_cast< int >(result
));
4724 SWIGINTERN PyObject
*_wrap_Palette_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4725 PyObject
*resultobj
= 0;
4726 wxPalette
*arg1
= (wxPalette
*) 0 ;
4730 PyObject
*swig_obj
[1] ;
4732 if (!args
) SWIG_fail
;
4734 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4735 if (!SWIG_IsOK(res1
)) {
4736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_IsOk" "', expected argument " "1"" of type '" "wxPalette *""'");
4738 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4741 result
= (bool)(arg1
)->IsOk();
4742 wxPyEndAllowThreads(__tstate
);
4743 if (PyErr_Occurred()) SWIG_fail
;
4746 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4754 SWIGINTERN PyObject
*Palette_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4756 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4757 SWIG_TypeNewClientData(SWIGTYPE_p_wxPalette
, SWIG_NewClientData(obj
));
4758 return SWIG_Py_Void();
4761 SWIGINTERN PyObject
*Palette_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4762 return SWIG_Python_InitShadowInstance(args
);
4765 SWIGINTERN PyObject
*_wrap_new_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4766 PyObject
*resultobj
= 0;
4767 wxColour
*arg1
= 0 ;
4768 int arg2
= (int) 1 ;
4769 int arg3
= (int) wxSOLID
;
4776 PyObject
* obj0
= 0 ;
4777 PyObject
* obj1
= 0 ;
4778 PyObject
* obj2
= 0 ;
4779 char * kwnames
[] = {
4780 (char *) "colour",(char *) "width",(char *) "style", NULL
4783 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4786 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
4789 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4790 if (!SWIG_IsOK(ecode2
)) {
4791 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Pen" "', expected argument " "2"" of type '" "int""'");
4793 arg2
= static_cast< int >(val2
);
4796 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4797 if (!SWIG_IsOK(ecode3
)) {
4798 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Pen" "', expected argument " "3"" of type '" "int""'");
4800 arg3
= static_cast< int >(val3
);
4803 if (!wxPyCheckForApp()) SWIG_fail
;
4804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4805 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
4806 wxPyEndAllowThreads(__tstate
);
4807 if (PyErr_Occurred()) SWIG_fail
;
4809 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, SWIG_POINTER_NEW
| 0 );
4816 SWIGINTERN PyObject
*_wrap_delete_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4817 PyObject
*resultobj
= 0;
4818 wxPen
*arg1
= (wxPen
*) 0 ;
4821 PyObject
*swig_obj
[1] ;
4823 if (!args
) SWIG_fail
;
4825 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, SWIG_POINTER_DISOWN
| 0 );
4826 if (!SWIG_IsOK(res1
)) {
4827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Pen" "', expected argument " "1"" of type '" "wxPen *""'");
4829 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4834 wxPyEndAllowThreads(__tstate
);
4835 if (PyErr_Occurred()) SWIG_fail
;
4837 resultobj
= SWIG_Py_Void();
4844 SWIGINTERN PyObject
*_wrap_Pen_GetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4845 PyObject
*resultobj
= 0;
4846 wxPen
*arg1
= (wxPen
*) 0 ;
4850 PyObject
*swig_obj
[1] ;
4852 if (!args
) SWIG_fail
;
4854 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4855 if (!SWIG_IsOK(res1
)) {
4856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetCap" "', expected argument " "1"" of type '" "wxPen *""'");
4858 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4861 result
= (int)(arg1
)->GetCap();
4862 wxPyEndAllowThreads(__tstate
);
4863 if (PyErr_Occurred()) SWIG_fail
;
4865 resultobj
= SWIG_From_int(static_cast< int >(result
));
4872 SWIGINTERN PyObject
*_wrap_Pen_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4873 PyObject
*resultobj
= 0;
4874 wxPen
*arg1
= (wxPen
*) 0 ;
4878 PyObject
*swig_obj
[1] ;
4880 if (!args
) SWIG_fail
;
4882 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4883 if (!SWIG_IsOK(res1
)) {
4884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetColour" "', expected argument " "1"" of type '" "wxPen *""'");
4886 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4889 result
= (arg1
)->GetColour();
4890 wxPyEndAllowThreads(__tstate
);
4891 if (PyErr_Occurred()) SWIG_fail
;
4893 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4900 SWIGINTERN PyObject
*_wrap_Pen_GetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4901 PyObject
*resultobj
= 0;
4902 wxPen
*arg1
= (wxPen
*) 0 ;
4906 PyObject
*swig_obj
[1] ;
4908 if (!args
) SWIG_fail
;
4910 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4911 if (!SWIG_IsOK(res1
)) {
4912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
4914 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4917 result
= (int)(arg1
)->GetJoin();
4918 wxPyEndAllowThreads(__tstate
);
4919 if (PyErr_Occurred()) SWIG_fail
;
4921 resultobj
= SWIG_From_int(static_cast< int >(result
));
4928 SWIGINTERN PyObject
*_wrap_Pen_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4929 PyObject
*resultobj
= 0;
4930 wxPen
*arg1
= (wxPen
*) 0 ;
4934 PyObject
*swig_obj
[1] ;
4936 if (!args
) SWIG_fail
;
4938 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4939 if (!SWIG_IsOK(res1
)) {
4940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
4942 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4945 result
= (int)(arg1
)->GetStyle();
4946 wxPyEndAllowThreads(__tstate
);
4947 if (PyErr_Occurred()) SWIG_fail
;
4949 resultobj
= SWIG_From_int(static_cast< int >(result
));
4956 SWIGINTERN PyObject
*_wrap_Pen_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4957 PyObject
*resultobj
= 0;
4958 wxPen
*arg1
= (wxPen
*) 0 ;
4962 PyObject
*swig_obj
[1] ;
4964 if (!args
) SWIG_fail
;
4966 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4967 if (!SWIG_IsOK(res1
)) {
4968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
4970 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4973 result
= (int)(arg1
)->GetWidth();
4974 wxPyEndAllowThreads(__tstate
);
4975 if (PyErr_Occurred()) SWIG_fail
;
4977 resultobj
= SWIG_From_int(static_cast< int >(result
));
4984 SWIGINTERN PyObject
*_wrap_Pen_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4985 PyObject
*resultobj
= 0;
4986 wxPen
*arg1
= (wxPen
*) 0 ;
4990 PyObject
*swig_obj
[1] ;
4992 if (!args
) SWIG_fail
;
4994 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4995 if (!SWIG_IsOK(res1
)) {
4996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_IsOk" "', expected argument " "1"" of type '" "wxPen *""'");
4998 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5001 result
= (bool)(arg1
)->IsOk();
5002 wxPyEndAllowThreads(__tstate
);
5003 if (PyErr_Occurred()) SWIG_fail
;
5006 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5014 SWIGINTERN PyObject
*_wrap_Pen_SetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5015 PyObject
*resultobj
= 0;
5016 wxPen
*arg1
= (wxPen
*) 0 ;
5022 PyObject
* obj0
= 0 ;
5023 PyObject
* obj1
= 0 ;
5024 char * kwnames
[] = {
5025 (char *) "self",(char *) "cap_style", NULL
5028 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5029 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5030 if (!SWIG_IsOK(res1
)) {
5031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetCap" "', expected argument " "1"" of type '" "wxPen *""'");
5033 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5034 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5035 if (!SWIG_IsOK(ecode2
)) {
5036 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetCap" "', expected argument " "2"" of type '" "int""'");
5038 arg2
= static_cast< int >(val2
);
5040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5041 (arg1
)->SetCap(arg2
);
5042 wxPyEndAllowThreads(__tstate
);
5043 if (PyErr_Occurred()) SWIG_fail
;
5045 resultobj
= SWIG_Py_Void();
5052 SWIGINTERN PyObject
*_wrap_Pen_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5053 PyObject
*resultobj
= 0;
5054 wxPen
*arg1
= (wxPen
*) 0 ;
5055 wxColour
*arg2
= 0 ;
5059 PyObject
* obj0
= 0 ;
5060 PyObject
* obj1
= 0 ;
5061 char * kwnames
[] = {
5062 (char *) "self",(char *) "colour", NULL
5065 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5066 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5067 if (!SWIG_IsOK(res1
)) {
5068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetColour" "', expected argument " "1"" of type '" "wxPen *""'");
5070 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5073 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5077 (arg1
)->SetColour(*arg2
);
5078 wxPyEndAllowThreads(__tstate
);
5079 if (PyErr_Occurred()) SWIG_fail
;
5081 resultobj
= SWIG_Py_Void();
5088 SWIGINTERN PyObject
*_wrap_Pen_SetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5089 PyObject
*resultobj
= 0;
5090 wxPen
*arg1
= (wxPen
*) 0 ;
5096 PyObject
* obj0
= 0 ;
5097 PyObject
* obj1
= 0 ;
5098 char * kwnames
[] = {
5099 (char *) "self",(char *) "join_style", NULL
5102 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5103 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5104 if (!SWIG_IsOK(res1
)) {
5105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
5107 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5108 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5109 if (!SWIG_IsOK(ecode2
)) {
5110 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetJoin" "', expected argument " "2"" of type '" "int""'");
5112 arg2
= static_cast< int >(val2
);
5114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5115 (arg1
)->SetJoin(arg2
);
5116 wxPyEndAllowThreads(__tstate
);
5117 if (PyErr_Occurred()) SWIG_fail
;
5119 resultobj
= SWIG_Py_Void();
5126 SWIGINTERN PyObject
*_wrap_Pen_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5127 PyObject
*resultobj
= 0;
5128 wxPen
*arg1
= (wxPen
*) 0 ;
5134 PyObject
* obj0
= 0 ;
5135 PyObject
* obj1
= 0 ;
5136 char * kwnames
[] = {
5137 (char *) "self",(char *) "style", NULL
5140 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5141 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5142 if (!SWIG_IsOK(res1
)) {
5143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
5145 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5146 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5147 if (!SWIG_IsOK(ecode2
)) {
5148 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetStyle" "', expected argument " "2"" of type '" "int""'");
5150 arg2
= static_cast< int >(val2
);
5152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5153 (arg1
)->SetStyle(arg2
);
5154 wxPyEndAllowThreads(__tstate
);
5155 if (PyErr_Occurred()) SWIG_fail
;
5157 resultobj
= SWIG_Py_Void();
5164 SWIGINTERN PyObject
*_wrap_Pen_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5165 PyObject
*resultobj
= 0;
5166 wxPen
*arg1
= (wxPen
*) 0 ;
5172 PyObject
* obj0
= 0 ;
5173 PyObject
* obj1
= 0 ;
5174 char * kwnames
[] = {
5175 (char *) "self",(char *) "width", NULL
5178 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5179 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5180 if (!SWIG_IsOK(res1
)) {
5181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
5183 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5184 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5185 if (!SWIG_IsOK(ecode2
)) {
5186 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetWidth" "', expected argument " "2"" of type '" "int""'");
5188 arg2
= static_cast< int >(val2
);
5190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5191 (arg1
)->SetWidth(arg2
);
5192 wxPyEndAllowThreads(__tstate
);
5193 if (PyErr_Occurred()) SWIG_fail
;
5195 resultobj
= SWIG_Py_Void();
5202 SWIGINTERN PyObject
*_wrap_Pen_SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5203 PyObject
*resultobj
= 0;
5204 wxPen
*arg1
= (wxPen
*) 0 ;
5206 wxDash
*arg3
= (wxDash
*) 0 ;
5209 PyObject
* obj0
= 0 ;
5210 PyObject
* obj1
= 0 ;
5211 char * kwnames
[] = {
5212 (char *) "self",(char *) "dashes", NULL
5215 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5216 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5217 if (!SWIG_IsOK(res1
)) {
5218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5220 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5222 arg2
= PyList_Size(obj1
);
5223 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
5224 if (arg3
== NULL
) SWIG_fail
;
5227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5228 (arg1
)->SetDashes(arg2
,arg3
);
5229 wxPyEndAllowThreads(__tstate
);
5230 if (PyErr_Occurred()) SWIG_fail
;
5232 resultobj
= SWIG_Py_Void();
5234 if (arg3
) delete [] arg3
;
5239 if (arg3
) delete [] arg3
;
5245 SWIGINTERN PyObject
*_wrap_Pen_GetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5246 PyObject
*resultobj
= 0;
5247 wxPen
*arg1
= (wxPen
*) 0 ;
5248 PyObject
*result
= 0 ;
5251 PyObject
*swig_obj
[1] ;
5253 if (!args
) SWIG_fail
;
5255 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5256 if (!SWIG_IsOK(res1
)) {
5257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5259 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5262 result
= (PyObject
*)wxPen_GetDashes(arg1
);
5263 wxPyEndAllowThreads(__tstate
);
5264 if (PyErr_Occurred()) SWIG_fail
;
5273 SWIGINTERN PyObject
*_wrap_Pen__SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5274 PyObject
*resultobj
= 0;
5275 wxPen
*arg1
= (wxPen
*) 0 ;
5276 PyObject
*arg2
= (PyObject
*) 0 ;
5277 PyObject
*arg3
= (PyObject
*) 0 ;
5280 PyObject
* obj0
= 0 ;
5281 PyObject
* obj1
= 0 ;
5282 PyObject
* obj2
= 0 ;
5283 char * kwnames
[] = {
5284 (char *) "self",(char *) "_self",(char *) "pyDashes", NULL
5287 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Pen__SetDashes",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5288 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5289 if (!SWIG_IsOK(res1
)) {
5290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen__SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5292 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5297 wxPen__SetDashes(arg1
,arg2
,arg3
);
5298 wxPyEndAllowThreads(__tstate
);
5299 if (PyErr_Occurred()) SWIG_fail
;
5301 resultobj
= SWIG_Py_Void();
5308 SWIGINTERN PyObject
*_wrap_Pen_GetDashCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5309 PyObject
*resultobj
= 0;
5310 wxPen
*arg1
= (wxPen
*) 0 ;
5314 PyObject
*swig_obj
[1] ;
5316 if (!args
) SWIG_fail
;
5318 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5319 if (!SWIG_IsOK(res1
)) {
5320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashCount" "', expected argument " "1"" of type '" "wxPen const *""'");
5322 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5325 result
= (int)((wxPen
const *)arg1
)->GetDashCount();
5326 wxPyEndAllowThreads(__tstate
);
5327 if (PyErr_Occurred()) SWIG_fail
;
5329 resultobj
= SWIG_From_int(static_cast< int >(result
));
5336 SWIGINTERN PyObject
*_wrap_Pen___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5337 PyObject
*resultobj
= 0;
5338 wxPen
*arg1
= (wxPen
*) 0 ;
5339 wxPen
*arg2
= (wxPen
*) 0 ;
5345 PyObject
* obj0
= 0 ;
5346 PyObject
* obj1
= 0 ;
5347 char * kwnames
[] = {
5348 (char *) "self",(char *) "other", NULL
5351 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5352 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5353 if (!SWIG_IsOK(res1
)) {
5354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___eq__" "', expected argument " "1"" of type '" "wxPen *""'");
5356 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5357 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5358 if (!SWIG_IsOK(res2
)) {
5359 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___eq__" "', expected argument " "2"" of type '" "wxPen const *""'");
5361 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5364 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
5365 wxPyEndAllowThreads(__tstate
);
5366 if (PyErr_Occurred()) SWIG_fail
;
5369 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5377 SWIGINTERN PyObject
*_wrap_Pen___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5378 PyObject
*resultobj
= 0;
5379 wxPen
*arg1
= (wxPen
*) 0 ;
5380 wxPen
*arg2
= (wxPen
*) 0 ;
5386 PyObject
* obj0
= 0 ;
5387 PyObject
* obj1
= 0 ;
5388 char * kwnames
[] = {
5389 (char *) "self",(char *) "other", NULL
5392 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5393 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5394 if (!SWIG_IsOK(res1
)) {
5395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___ne__" "', expected argument " "1"" of type '" "wxPen *""'");
5397 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5398 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5399 if (!SWIG_IsOK(res2
)) {
5400 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___ne__" "', expected argument " "2"" of type '" "wxPen const *""'");
5402 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5405 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
5406 wxPyEndAllowThreads(__tstate
);
5407 if (PyErr_Occurred()) SWIG_fail
;
5410 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5418 SWIGINTERN PyObject
*Pen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5420 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5421 SWIG_TypeNewClientData(SWIGTYPE_p_wxPen
, SWIG_NewClientData(obj
));
5422 return SWIG_Py_Void();
5425 SWIGINTERN PyObject
*Pen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5426 return SWIG_Python_InitShadowInstance(args
);
5429 SWIGINTERN PyObject
*_wrap_new_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5430 PyObject
*resultobj
= 0;
5431 wxColour
*arg1
= 0 ;
5432 int arg2
= (int) wxSOLID
;
5433 wxBrush
*result
= 0 ;
5437 PyObject
* obj0
= 0 ;
5438 PyObject
* obj1
= 0 ;
5439 char * kwnames
[] = {
5440 (char *) "colour",(char *) "style", NULL
5443 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5446 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
5449 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5450 if (!SWIG_IsOK(ecode2
)) {
5451 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Brush" "', expected argument " "2"" of type '" "int""'");
5453 arg2
= static_cast< int >(val2
);
5456 if (!wxPyCheckForApp()) SWIG_fail
;
5457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5458 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
5459 wxPyEndAllowThreads(__tstate
);
5460 if (PyErr_Occurred()) SWIG_fail
;
5462 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_NEW
| 0 );
5469 SWIGINTERN PyObject
*_wrap_new_BrushFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5470 PyObject
*resultobj
= 0;
5471 wxBitmap
*arg1
= 0 ;
5472 wxBrush
*result
= 0 ;
5475 PyObject
* obj0
= 0 ;
5476 char * kwnames
[] = {
5477 (char *) "stippleBitmap", NULL
5480 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BrushFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
5481 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5482 if (!SWIG_IsOK(res1
)) {
5483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5486 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5488 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5490 if (!wxPyCheckForApp()) SWIG_fail
;
5491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5492 result
= (wxBrush
*)new wxBrush((wxBitmap
const &)*arg1
);
5493 wxPyEndAllowThreads(__tstate
);
5494 if (PyErr_Occurred()) SWIG_fail
;
5496 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_OWN
| 0 );
5503 SWIGINTERN PyObject
*_wrap_delete_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5504 PyObject
*resultobj
= 0;
5505 wxBrush
*arg1
= (wxBrush
*) 0 ;
5508 PyObject
*swig_obj
[1] ;
5510 if (!args
) SWIG_fail
;
5512 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, SWIG_POINTER_DISOWN
| 0 );
5513 if (!SWIG_IsOK(res1
)) {
5514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Brush" "', expected argument " "1"" of type '" "wxBrush *""'");
5516 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5521 wxPyEndAllowThreads(__tstate
);
5522 if (PyErr_Occurred()) SWIG_fail
;
5524 resultobj
= SWIG_Py_Void();
5531 SWIGINTERN PyObject
*_wrap_Brush_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5532 PyObject
*resultobj
= 0;
5533 wxBrush
*arg1
= (wxBrush
*) 0 ;
5534 wxColour
*arg2
= 0 ;
5538 PyObject
* obj0
= 0 ;
5539 PyObject
* obj1
= 0 ;
5540 char * kwnames
[] = {
5541 (char *) "self",(char *) "col", NULL
5544 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5545 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5546 if (!SWIG_IsOK(res1
)) {
5547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetColour" "', expected argument " "1"" of type '" "wxBrush *""'");
5549 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5552 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5556 (arg1
)->SetColour((wxColour
const &)*arg2
);
5557 wxPyEndAllowThreads(__tstate
);
5558 if (PyErr_Occurred()) SWIG_fail
;
5560 resultobj
= SWIG_Py_Void();
5567 SWIGINTERN PyObject
*_wrap_Brush_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5568 PyObject
*resultobj
= 0;
5569 wxBrush
*arg1
= (wxBrush
*) 0 ;
5575 PyObject
* obj0
= 0 ;
5576 PyObject
* obj1
= 0 ;
5577 char * kwnames
[] = {
5578 (char *) "self",(char *) "style", NULL
5581 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5582 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5583 if (!SWIG_IsOK(res1
)) {
5584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStyle" "', expected argument " "1"" of type '" "wxBrush *""'");
5586 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5587 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5588 if (!SWIG_IsOK(ecode2
)) {
5589 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Brush_SetStyle" "', expected argument " "2"" of type '" "int""'");
5591 arg2
= static_cast< int >(val2
);
5593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5594 (arg1
)->SetStyle(arg2
);
5595 wxPyEndAllowThreads(__tstate
);
5596 if (PyErr_Occurred()) SWIG_fail
;
5598 resultobj
= SWIG_Py_Void();
5605 SWIGINTERN PyObject
*_wrap_Brush_SetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5606 PyObject
*resultobj
= 0;
5607 wxBrush
*arg1
= (wxBrush
*) 0 ;
5608 wxBitmap
*arg2
= 0 ;
5613 PyObject
* obj0
= 0 ;
5614 PyObject
* obj1
= 0 ;
5615 char * kwnames
[] = {
5616 (char *) "self",(char *) "stipple", NULL
5619 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5620 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5621 if (!SWIG_IsOK(res1
)) {
5622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStipple" "', expected argument " "1"" of type '" "wxBrush *""'");
5624 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5625 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5626 if (!SWIG_IsOK(res2
)) {
5627 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5630 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5632 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
5634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5635 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
5636 wxPyEndAllowThreads(__tstate
);
5637 if (PyErr_Occurred()) SWIG_fail
;
5639 resultobj
= SWIG_Py_Void();
5646 SWIGINTERN PyObject
*_wrap_Brush_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5647 PyObject
*resultobj
= 0;
5648 wxBrush
*arg1
= (wxBrush
*) 0 ;
5652 PyObject
*swig_obj
[1] ;
5654 if (!args
) SWIG_fail
;
5656 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5657 if (!SWIG_IsOK(res1
)) {
5658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetColour" "', expected argument " "1"" of type '" "wxBrush const *""'");
5660 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5663 result
= ((wxBrush
const *)arg1
)->GetColour();
5664 wxPyEndAllowThreads(__tstate
);
5665 if (PyErr_Occurred()) SWIG_fail
;
5667 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5674 SWIGINTERN PyObject
*_wrap_Brush_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5675 PyObject
*resultobj
= 0;
5676 wxBrush
*arg1
= (wxBrush
*) 0 ;
5680 PyObject
*swig_obj
[1] ;
5682 if (!args
) SWIG_fail
;
5684 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5685 if (!SWIG_IsOK(res1
)) {
5686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStyle" "', expected argument " "1"" of type '" "wxBrush const *""'");
5688 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5691 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
5692 wxPyEndAllowThreads(__tstate
);
5693 if (PyErr_Occurred()) SWIG_fail
;
5695 resultobj
= SWIG_From_int(static_cast< int >(result
));
5702 SWIGINTERN PyObject
*_wrap_Brush_GetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5703 PyObject
*resultobj
= 0;
5704 wxBrush
*arg1
= (wxBrush
*) 0 ;
5705 wxBitmap
*result
= 0 ;
5708 PyObject
*swig_obj
[1] ;
5710 if (!args
) SWIG_fail
;
5712 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5713 if (!SWIG_IsOK(res1
)) {
5714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStipple" "', expected argument " "1"" of type '" "wxBrush const *""'");
5716 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5719 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
5720 wxPyEndAllowThreads(__tstate
);
5721 if (PyErr_Occurred()) SWIG_fail
;
5723 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
5730 SWIGINTERN PyObject
*_wrap_Brush_IsHatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5731 PyObject
*resultobj
= 0;
5732 wxBrush
*arg1
= (wxBrush
*) 0 ;
5736 PyObject
*swig_obj
[1] ;
5738 if (!args
) SWIG_fail
;
5740 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5741 if (!SWIG_IsOK(res1
)) {
5742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsHatch" "', expected argument " "1"" of type '" "wxBrush const *""'");
5744 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5747 result
= (bool)((wxBrush
const *)arg1
)->IsHatch();
5748 wxPyEndAllowThreads(__tstate
);
5749 if (PyErr_Occurred()) SWIG_fail
;
5752 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5760 SWIGINTERN PyObject
*_wrap_Brush_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5761 PyObject
*resultobj
= 0;
5762 wxBrush
*arg1
= (wxBrush
*) 0 ;
5766 PyObject
*swig_obj
[1] ;
5768 if (!args
) SWIG_fail
;
5770 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5771 if (!SWIG_IsOK(res1
)) {
5772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsOk" "', expected argument " "1"" of type '" "wxBrush *""'");
5774 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5777 result
= (bool)(arg1
)->IsOk();
5778 wxPyEndAllowThreads(__tstate
);
5779 if (PyErr_Occurred()) SWIG_fail
;
5782 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5790 SWIGINTERN PyObject
*Brush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5792 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5793 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrush
, SWIG_NewClientData(obj
));
5794 return SWIG_Py_Void();
5797 SWIGINTERN PyObject
*Brush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5798 return SWIG_Python_InitShadowInstance(args
);
5801 SWIGINTERN PyObject
*_wrap_new_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5802 PyObject
*resultobj
= 0;
5803 wxString
*arg1
= 0 ;
5804 wxBitmapType arg2
= (wxBitmapType
) wxBITMAP_TYPE_ANY
;
5805 wxBitmap
*result
= 0 ;
5806 bool temp1
= false ;
5809 PyObject
* obj0
= 0 ;
5810 PyObject
* obj1
= 0 ;
5811 char * kwnames
[] = {
5812 (char *) "name",(char *) "type", NULL
5815 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5817 arg1
= wxString_in_helper(obj0
);
5818 if (arg1
== NULL
) SWIG_fail
;
5822 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5823 if (!SWIG_IsOK(ecode2
)) {
5824 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Bitmap" "', expected argument " "2"" of type '" "wxBitmapType""'");
5826 arg2
= static_cast< wxBitmapType
>(val2
);
5829 if (!wxPyCheckForApp()) SWIG_fail
;
5830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5831 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,arg2
);
5832 wxPyEndAllowThreads(__tstate
);
5833 if (PyErr_Occurred()) SWIG_fail
;
5835 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_NEW
| 0 );
5850 SWIGINTERN PyObject
*_wrap_delete_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5851 PyObject
*resultobj
= 0;
5852 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5855 PyObject
*swig_obj
[1] ;
5857 if (!args
) SWIG_fail
;
5859 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, SWIG_POINTER_DISOWN
| 0 );
5860 if (!SWIG_IsOK(res1
)) {
5861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Bitmap" "', expected argument " "1"" of type '" "wxBitmap *""'");
5863 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5867 if (PyErr_Occurred()) SWIG_fail
;
5869 resultobj
= SWIG_Py_Void();
5876 SWIGINTERN PyObject
*_wrap_new_EmptyBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5877 PyObject
*resultobj
= 0;
5880 int arg3
= (int) -1 ;
5881 wxBitmap
*result
= 0 ;
5888 PyObject
* obj0
= 0 ;
5889 PyObject
* obj1
= 0 ;
5890 PyObject
* obj2
= 0 ;
5891 char * kwnames
[] = {
5892 (char *) "width",(char *) "height",(char *) "depth", NULL
5895 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5896 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5897 if (!SWIG_IsOK(ecode1
)) {
5898 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_EmptyBitmap" "', expected argument " "1"" of type '" "int""'");
5900 arg1
= static_cast< int >(val1
);
5901 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5902 if (!SWIG_IsOK(ecode2
)) {
5903 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_EmptyBitmap" "', expected argument " "2"" of type '" "int""'");
5905 arg2
= static_cast< int >(val2
);
5907 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5908 if (!SWIG_IsOK(ecode3
)) {
5909 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_EmptyBitmap" "', expected argument " "3"" of type '" "int""'");
5911 arg3
= static_cast< int >(val3
);
5914 if (!wxPyCheckForApp()) SWIG_fail
;
5915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5916 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
5917 wxPyEndAllowThreads(__tstate
);
5918 if (PyErr_Occurred()) SWIG_fail
;
5920 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5927 SWIGINTERN PyObject
*_wrap_new_BitmapFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5928 PyObject
*resultobj
= 0;
5930 wxBitmap
*result
= 0 ;
5933 PyObject
* obj0
= 0 ;
5934 char * kwnames
[] = {
5935 (char *) "icon", NULL
5938 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) SWIG_fail
;
5939 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
5940 if (!SWIG_IsOK(res1
)) {
5941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
5944 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
5946 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
5948 if (!wxPyCheckForApp()) SWIG_fail
;
5949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5950 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
5951 wxPyEndAllowThreads(__tstate
);
5952 if (PyErr_Occurred()) SWIG_fail
;
5954 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5961 SWIGINTERN PyObject
*_wrap_new_BitmapFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5962 PyObject
*resultobj
= 0;
5964 int arg2
= (int) -1 ;
5965 wxBitmap
*result
= 0 ;
5970 PyObject
* obj0
= 0 ;
5971 PyObject
* obj1
= 0 ;
5972 char * kwnames
[] = {
5973 (char *) "image",(char *) "depth", NULL
5976 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5977 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
5978 if (!SWIG_IsOK(res1
)) {
5979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
5982 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
5984 arg1
= reinterpret_cast< wxImage
* >(argp1
);
5986 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5987 if (!SWIG_IsOK(ecode2
)) {
5988 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromImage" "', expected argument " "2"" of type '" "int""'");
5990 arg2
= static_cast< int >(val2
);
5993 if (!wxPyCheckForApp()) SWIG_fail
;
5994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5995 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
5996 wxPyEndAllowThreads(__tstate
);
5997 if (PyErr_Occurred()) SWIG_fail
;
5999 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6006 SWIGINTERN PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6007 PyObject
*resultobj
= 0;
6008 PyObject
*arg1
= (PyObject
*) 0 ;
6009 wxBitmap
*result
= 0 ;
6010 PyObject
* obj0
= 0 ;
6011 char * kwnames
[] = {
6012 (char *) "listOfStrings", NULL
6015 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
6018 if (!wxPyCheckForApp()) SWIG_fail
;
6019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6020 result
= (wxBitmap
*)new_wxBitmap(arg1
);
6021 wxPyEndAllowThreads(__tstate
);
6022 if (PyErr_Occurred()) SWIG_fail
;
6024 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6031 SWIGINTERN PyObject
*_wrap_new_BitmapFromBits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6032 PyObject
*resultobj
= 0;
6033 PyObject
*arg1
= (PyObject
*) 0 ;
6036 int arg4
= (int) 1 ;
6037 wxBitmap
*result
= 0 ;
6044 PyObject
* obj0
= 0 ;
6045 PyObject
* obj1
= 0 ;
6046 PyObject
* obj2
= 0 ;
6047 PyObject
* obj3
= 0 ;
6048 char * kwnames
[] = {
6049 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
6052 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6054 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6055 if (!SWIG_IsOK(ecode2
)) {
6056 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromBits" "', expected argument " "2"" of type '" "int""'");
6058 arg2
= static_cast< int >(val2
);
6059 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6060 if (!SWIG_IsOK(ecode3
)) {
6061 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BitmapFromBits" "', expected argument " "3"" of type '" "int""'");
6063 arg3
= static_cast< int >(val3
);
6065 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6066 if (!SWIG_IsOK(ecode4
)) {
6067 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BitmapFromBits" "', expected argument " "4"" of type '" "int""'");
6069 arg4
= static_cast< int >(val4
);
6072 if (!wxPyCheckForApp()) SWIG_fail
;
6073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6074 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
6075 wxPyEndAllowThreads(__tstate
);
6076 if (PyErr_Occurred()) SWIG_fail
;
6078 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6085 SWIGINTERN PyObject
*_wrap_Bitmap_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6086 PyObject
*resultobj
= 0;
6087 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6091 PyObject
*swig_obj
[1] ;
6093 if (!args
) SWIG_fail
;
6095 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6096 if (!SWIG_IsOK(res1
)) {
6097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_IsOk" "', expected argument " "1"" of type '" "wxBitmap *""'");
6099 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6101 result
= (bool)(arg1
)->IsOk();
6102 if (PyErr_Occurred()) SWIG_fail
;
6105 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6113 SWIGINTERN PyObject
*_wrap_Bitmap_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6114 PyObject
*resultobj
= 0;
6115 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6119 PyObject
*swig_obj
[1] ;
6121 if (!args
) SWIG_fail
;
6123 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6124 if (!SWIG_IsOK(res1
)) {
6125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6127 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6129 result
= (int)(arg1
)->GetWidth();
6130 if (PyErr_Occurred()) SWIG_fail
;
6132 resultobj
= SWIG_From_int(static_cast< int >(result
));
6139 SWIGINTERN PyObject
*_wrap_Bitmap_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6140 PyObject
*resultobj
= 0;
6141 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6145 PyObject
*swig_obj
[1] ;
6147 if (!args
) SWIG_fail
;
6149 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6150 if (!SWIG_IsOK(res1
)) {
6151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6153 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6155 result
= (int)(arg1
)->GetHeight();
6156 if (PyErr_Occurred()) SWIG_fail
;
6158 resultobj
= SWIG_From_int(static_cast< int >(result
));
6165 SWIGINTERN PyObject
*_wrap_Bitmap_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6166 PyObject
*resultobj
= 0;
6167 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6171 PyObject
*swig_obj
[1] ;
6173 if (!args
) SWIG_fail
;
6175 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6176 if (!SWIG_IsOK(res1
)) {
6177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6179 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6181 result
= (int)(arg1
)->GetDepth();
6182 if (PyErr_Occurred()) SWIG_fail
;
6184 resultobj
= SWIG_From_int(static_cast< int >(result
));
6191 SWIGINTERN PyObject
*_wrap_Bitmap_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6192 PyObject
*resultobj
= 0;
6193 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6197 PyObject
*swig_obj
[1] ;
6199 if (!args
) SWIG_fail
;
6201 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6202 if (!SWIG_IsOK(res1
)) {
6203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6205 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6207 result
= wxBitmap_GetSize(arg1
);
6208 if (PyErr_Occurred()) SWIG_fail
;
6210 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6217 SWIGINTERN PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6218 PyObject
*resultobj
= 0;
6219 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6220 SwigValueWrapper
<wxImage
> result
;
6223 PyObject
*swig_obj
[1] ;
6225 if (!args
) SWIG_fail
;
6227 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6228 if (!SWIG_IsOK(res1
)) {
6229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_ConvertToImage" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6231 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6233 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
6234 if (PyErr_Occurred()) SWIG_fail
;
6236 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
6243 SWIGINTERN PyObject
*_wrap_Bitmap_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6244 PyObject
*resultobj
= 0;
6245 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6246 wxMask
*result
= 0 ;
6249 PyObject
*swig_obj
[1] ;
6251 if (!args
) SWIG_fail
;
6253 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6254 if (!SWIG_IsOK(res1
)) {
6255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetMask" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6257 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6259 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
6260 if (PyErr_Occurred()) SWIG_fail
;
6262 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, 0 | 0 );
6269 SWIGINTERN PyObject
*_wrap_Bitmap_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6270 PyObject
*resultobj
= 0;
6271 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6272 wxMask
*arg2
= (wxMask
*) 0 ;
6276 PyObject
* obj0
= 0 ;
6277 PyObject
* obj1
= 0 ;
6278 char * kwnames
[] = {
6279 (char *) "self",(char *) "mask", NULL
6282 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6283 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6284 if (!SWIG_IsOK(res1
)) {
6285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMask" "', expected argument " "1"" of type '" "wxBitmap *""'");
6287 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6288 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
6289 if (!SWIG_IsOK(res2
)) {
6290 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_SetMask" "', expected argument " "2"" of type '" "wxMask *""'");
6293 (arg1
)->SetMask(arg2
);
6294 if (PyErr_Occurred()) SWIG_fail
;
6296 resultobj
= SWIG_Py_Void();
6303 SWIGINTERN PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6304 PyObject
*resultobj
= 0;
6305 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6306 wxColour
*arg2
= 0 ;
6310 PyObject
* obj0
= 0 ;
6311 PyObject
* obj1
= 0 ;
6312 char * kwnames
[] = {
6313 (char *) "self",(char *) "colour", NULL
6316 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6317 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6318 if (!SWIG_IsOK(res1
)) {
6319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMaskColour" "', expected argument " "1"" of type '" "wxBitmap *""'");
6321 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6324 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6327 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
6328 if (PyErr_Occurred()) SWIG_fail
;
6330 resultobj
= SWIG_Py_Void();
6337 SWIGINTERN PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6338 PyObject
*resultobj
= 0;
6339 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6341 SwigValueWrapper
<wxBitmap
> result
;
6345 PyObject
* obj0
= 0 ;
6346 PyObject
* obj1
= 0 ;
6347 char * kwnames
[] = {
6348 (char *) "self",(char *) "rect", NULL
6351 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6352 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6353 if (!SWIG_IsOK(res1
)) {
6354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSubBitmap" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6356 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6359 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6362 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
6363 if (PyErr_Occurred()) SWIG_fail
;
6365 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6372 SWIGINTERN PyObject
*_wrap_Bitmap_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6373 PyObject
*resultobj
= 0;
6374 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6375 wxString
*arg2
= 0 ;
6377 wxPalette
*arg4
= (wxPalette
*) NULL
;
6381 bool temp2
= false ;
6386 PyObject
* obj0
= 0 ;
6387 PyObject
* obj1
= 0 ;
6388 PyObject
* obj2
= 0 ;
6389 PyObject
* obj3
= 0 ;
6390 char * kwnames
[] = {
6391 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
6394 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6395 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6396 if (!SWIG_IsOK(res1
)) {
6397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SaveFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6399 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6401 arg2
= wxString_in_helper(obj1
);
6402 if (arg2
== NULL
) SWIG_fail
;
6405 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6406 if (!SWIG_IsOK(ecode3
)) {
6407 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_SaveFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6409 arg3
= static_cast< wxBitmapType
>(val3
);
6411 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxPalette
, 0 | 0 );
6412 if (!SWIG_IsOK(res4
)) {
6413 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Bitmap_SaveFile" "', expected argument " "4"" of type '" "wxPalette *""'");
6415 arg4
= reinterpret_cast< wxPalette
* >(argp4
);
6418 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
,arg4
);
6419 if (PyErr_Occurred()) SWIG_fail
;
6422 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6438 SWIGINTERN PyObject
*_wrap_Bitmap_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6439 PyObject
*resultobj
= 0;
6440 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6441 wxString
*arg2
= 0 ;
6446 bool temp2
= false ;
6449 PyObject
* obj0
= 0 ;
6450 PyObject
* obj1
= 0 ;
6451 PyObject
* obj2
= 0 ;
6452 char * kwnames
[] = {
6453 (char *) "self",(char *) "name",(char *) "type", NULL
6456 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6457 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6458 if (!SWIG_IsOK(res1
)) {
6459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_LoadFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6461 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6463 arg2
= wxString_in_helper(obj1
);
6464 if (arg2
== NULL
) SWIG_fail
;
6467 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6468 if (!SWIG_IsOK(ecode3
)) {
6469 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6471 arg3
= static_cast< wxBitmapType
>(val3
);
6473 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
6474 if (PyErr_Occurred()) SWIG_fail
;
6477 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6493 SWIGINTERN PyObject
*_wrap_Bitmap_GetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6494 PyObject
*resultobj
= 0;
6495 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6496 wxPalette
*result
= 0 ;
6499 PyObject
*swig_obj
[1] ;
6501 if (!args
) SWIG_fail
;
6503 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6504 if (!SWIG_IsOK(res1
)) {
6505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetPalette" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6507 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6509 result
= (wxPalette
*)((wxBitmap
const *)arg1
)->GetPalette();
6510 if (PyErr_Occurred()) SWIG_fail
;
6512 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, 0 | 0 );
6519 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6520 PyObject
*resultobj
= 0;
6521 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6528 PyObject
* obj0
= 0 ;
6529 PyObject
* obj1
= 0 ;
6530 char * kwnames
[] = {
6531 (char *) "self",(char *) "icon", NULL
6534 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6535 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6536 if (!SWIG_IsOK(res1
)) {
6537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "1"" of type '" "wxBitmap *""'");
6539 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6540 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
6541 if (!SWIG_IsOK(res2
)) {
6542 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6545 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6547 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
6549 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
6550 if (PyErr_Occurred()) SWIG_fail
;
6553 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6561 SWIGINTERN PyObject
*_wrap_Bitmap_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6562 PyObject
*resultobj
= 0;
6563 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6569 PyObject
* obj0
= 0 ;
6570 PyObject
* obj1
= 0 ;
6571 char * kwnames
[] = {
6572 (char *) "self",(char *) "height", NULL
6575 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6576 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6577 if (!SWIG_IsOK(res1
)) {
6578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6580 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6581 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6582 if (!SWIG_IsOK(ecode2
)) {
6583 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetHeight" "', expected argument " "2"" of type '" "int""'");
6585 arg2
= static_cast< int >(val2
);
6587 (arg1
)->SetHeight(arg2
);
6588 if (PyErr_Occurred()) SWIG_fail
;
6590 resultobj
= SWIG_Py_Void();
6597 SWIGINTERN PyObject
*_wrap_Bitmap_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6598 PyObject
*resultobj
= 0;
6599 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6605 PyObject
* obj0
= 0 ;
6606 PyObject
* obj1
= 0 ;
6607 char * kwnames
[] = {
6608 (char *) "self",(char *) "width", NULL
6611 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6612 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6613 if (!SWIG_IsOK(res1
)) {
6614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6616 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6617 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6618 if (!SWIG_IsOK(ecode2
)) {
6619 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetWidth" "', expected argument " "2"" of type '" "int""'");
6621 arg2
= static_cast< int >(val2
);
6623 (arg1
)->SetWidth(arg2
);
6624 if (PyErr_Occurred()) SWIG_fail
;
6626 resultobj
= SWIG_Py_Void();
6633 SWIGINTERN PyObject
*_wrap_Bitmap_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6634 PyObject
*resultobj
= 0;
6635 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6641 PyObject
* obj0
= 0 ;
6642 PyObject
* obj1
= 0 ;
6643 char * kwnames
[] = {
6644 (char *) "self",(char *) "depth", NULL
6647 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6648 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6649 if (!SWIG_IsOK(res1
)) {
6650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6652 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6653 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6654 if (!SWIG_IsOK(ecode2
)) {
6655 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetDepth" "', expected argument " "2"" of type '" "int""'");
6657 arg2
= static_cast< int >(val2
);
6659 (arg1
)->SetDepth(arg2
);
6660 if (PyErr_Occurred()) SWIG_fail
;
6662 resultobj
= SWIG_Py_Void();
6669 SWIGINTERN PyObject
*_wrap_Bitmap_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6670 PyObject
*resultobj
= 0;
6671 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6676 PyObject
* obj0
= 0 ;
6677 PyObject
* obj1
= 0 ;
6678 char * kwnames
[] = {
6679 (char *) "self",(char *) "size", NULL
6682 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6683 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6684 if (!SWIG_IsOK(res1
)) {
6685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6687 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6690 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6693 wxBitmap_SetSize(arg1
,(wxSize
const &)*arg2
);
6694 if (PyErr_Occurred()) SWIG_fail
;
6696 resultobj
= SWIG_Py_Void();
6703 SWIGINTERN PyObject
*_wrap_Bitmap___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6704 PyObject
*resultobj
= 0;
6705 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6706 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
6712 PyObject
* obj0
= 0 ;
6713 PyObject
* obj1
= 0 ;
6714 char * kwnames
[] = {
6715 (char *) "self",(char *) "other", NULL
6718 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6719 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6720 if (!SWIG_IsOK(res1
)) {
6721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___eq__" "', expected argument " "1"" of type '" "wxBitmap *""'");
6723 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6724 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6725 if (!SWIG_IsOK(res2
)) {
6726 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___eq__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
6728 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
6730 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
6731 if (PyErr_Occurred()) SWIG_fail
;
6734 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6742 SWIGINTERN PyObject
*_wrap_Bitmap___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6743 PyObject
*resultobj
= 0;
6744 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6745 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
6751 PyObject
* obj0
= 0 ;
6752 PyObject
* obj1
= 0 ;
6753 char * kwnames
[] = {
6754 (char *) "self",(char *) "other", NULL
6757 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6758 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6759 if (!SWIG_IsOK(res1
)) {
6760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___ne__" "', expected argument " "1"" of type '" "wxBitmap *""'");
6762 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6763 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6764 if (!SWIG_IsOK(res2
)) {
6765 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___ne__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
6767 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
6769 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
6770 if (PyErr_Occurred()) SWIG_fail
;
6773 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6781 SWIGINTERN PyObject
*Bitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6783 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6784 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmap
, SWIG_NewClientData(obj
));
6785 return SWIG_Py_Void();
6788 SWIGINTERN PyObject
*Bitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6789 return SWIG_Python_InitShadowInstance(args
);
6792 SWIGINTERN PyObject
*_wrap__BitmapFromBufferAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6793 PyObject
*resultobj
= 0;
6800 wxBitmap
*result
= 0 ;
6807 PyObject
* obj0
= 0 ;
6808 PyObject
* obj1
= 0 ;
6809 PyObject
* obj2
= 0 ;
6810 PyObject
* obj3
= 0 ;
6811 char * kwnames
[] = {
6812 (char *) "width",(char *) "height",(char *) "data",(char *) "alpha", NULL
6815 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:_BitmapFromBufferAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6816 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6817 if (!SWIG_IsOK(ecode1
)) {
6818 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "1"" of type '" "int""'");
6820 arg1
= static_cast< int >(val1
);
6821 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6822 if (!SWIG_IsOK(ecode2
)) {
6823 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "2"" of type '" "int""'");
6825 arg2
= static_cast< int >(val2
);
6827 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
6831 if (obj3
!= Py_None
) {
6832 if (PyObject_AsReadBuffer(obj3
, (const void**)(&arg5
), &temp5
) == -1) SWIG_fail
;
6837 result
= (wxBitmap
*)_BitmapFromBufferAlpha(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
6838 if (PyErr_Occurred()) SWIG_fail
;
6840 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6847 SWIGINTERN PyObject
*_wrap__BitmapFromBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6848 PyObject
*resultobj
= 0;
6853 wxBitmap
*result
= 0 ;
6859 PyObject
* obj0
= 0 ;
6860 PyObject
* obj1
= 0 ;
6861 PyObject
* obj2
= 0 ;
6862 char * kwnames
[] = {
6863 (char *) "width",(char *) "height",(char *) "data", NULL
6866 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBuffer",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6867 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6868 if (!SWIG_IsOK(ecode1
)) {
6869 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBuffer" "', expected argument " "1"" of type '" "int""'");
6871 arg1
= static_cast< int >(val1
);
6872 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6873 if (!SWIG_IsOK(ecode2
)) {
6874 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBuffer" "', expected argument " "2"" of type '" "int""'");
6876 arg2
= static_cast< int >(val2
);
6878 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
6882 result
= (wxBitmap
*)_BitmapFromBuffer(arg1
,arg2
,arg3
,arg4
);
6883 if (PyErr_Occurred()) SWIG_fail
;
6885 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6892 SWIGINTERN PyObject
*_wrap__BitmapFromBufferRGBA(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6893 PyObject
*resultobj
= 0;
6898 wxBitmap
*result
= 0 ;
6904 PyObject
* obj0
= 0 ;
6905 PyObject
* obj1
= 0 ;
6906 PyObject
* obj2
= 0 ;
6907 char * kwnames
[] = {
6908 (char *) "width",(char *) "height",(char *) "data", NULL
6911 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBufferRGBA",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6912 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6913 if (!SWIG_IsOK(ecode1
)) {
6914 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "1"" of type '" "int""'");
6916 arg1
= static_cast< int >(val1
);
6917 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6918 if (!SWIG_IsOK(ecode2
)) {
6919 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "2"" of type '" "int""'");
6921 arg2
= static_cast< int >(val2
);
6923 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
6927 result
= (wxBitmap
*)_BitmapFromBufferRGBA(arg1
,arg2
,arg3
,arg4
);
6928 if (PyErr_Occurred()) SWIG_fail
;
6930 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6937 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6938 PyObject
*resultobj
= 0;
6939 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
6943 PyObject
*swig_obj
[1] ;
6945 if (!args
) SWIG_fail
;
6947 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
6948 if (!SWIG_IsOK(res1
)) {
6949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetOrigin" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
6951 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
6953 result
= ((wxPixelDataBase
const *)arg1
)->GetOrigin();
6954 if (PyErr_Occurred()) SWIG_fail
;
6956 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
6963 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6964 PyObject
*resultobj
= 0;
6965 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
6969 PyObject
*swig_obj
[1] ;
6971 if (!args
) SWIG_fail
;
6973 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
6974 if (!SWIG_IsOK(res1
)) {
6975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetWidth" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
6977 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
6979 result
= (int)((wxPixelDataBase
const *)arg1
)->GetWidth();
6980 if (PyErr_Occurred()) SWIG_fail
;
6982 resultobj
= SWIG_From_int(static_cast< int >(result
));
6989 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6990 PyObject
*resultobj
= 0;
6991 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
6995 PyObject
*swig_obj
[1] ;
6997 if (!args
) SWIG_fail
;
6999 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7000 if (!SWIG_IsOK(res1
)) {
7001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetHeight" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7003 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7005 result
= (int)((wxPixelDataBase
const *)arg1
)->GetHeight();
7006 if (PyErr_Occurred()) SWIG_fail
;
7008 resultobj
= SWIG_From_int(static_cast< int >(result
));
7015 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7016 PyObject
*resultobj
= 0;
7017 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7021 PyObject
*swig_obj
[1] ;
7023 if (!args
) SWIG_fail
;
7025 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7026 if (!SWIG_IsOK(res1
)) {
7027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetSize" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7029 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7031 result
= ((wxPixelDataBase
const *)arg1
)->GetSize();
7032 if (PyErr_Occurred()) SWIG_fail
;
7034 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
7041 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetRowStride(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7042 PyObject
*resultobj
= 0;
7043 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7047 PyObject
*swig_obj
[1] ;
7049 if (!args
) SWIG_fail
;
7051 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7052 if (!SWIG_IsOK(res1
)) {
7053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetRowStride" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7055 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7057 result
= (int)((wxPixelDataBase
const *)arg1
)->GetRowStride();
7058 if (PyErr_Occurred()) SWIG_fail
;
7060 resultobj
= SWIG_From_int(static_cast< int >(result
));
7067 SWIGINTERN PyObject
*PixelDataBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7069 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7070 SWIG_TypeNewClientData(SWIGTYPE_p_wxPixelDataBase
, SWIG_NewClientData(obj
));
7071 return SWIG_Py_Void();
7074 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7075 PyObject
*resultobj
= 0;
7076 wxBitmap
*arg1
= 0 ;
7077 wxNativePixelData
*result
= 0 ;
7081 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7082 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7083 if (!SWIG_IsOK(res1
)) {
7084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7087 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7089 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7091 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
);
7092 if (PyErr_Occurred()) SWIG_fail
;
7094 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7101 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7102 PyObject
*resultobj
= 0;
7103 wxBitmap
*arg1
= 0 ;
7105 wxNativePixelData
*result
= 0 ;
7110 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7111 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7112 if (!SWIG_IsOK(res1
)) {
7113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7116 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7118 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7121 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7124 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxRect
const &)*arg2
);
7125 if (PyErr_Occurred()) SWIG_fail
;
7127 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7134 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7135 PyObject
*resultobj
= 0;
7136 wxBitmap
*arg1
= 0 ;
7139 wxNativePixelData
*result
= 0 ;
7145 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
7146 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7147 if (!SWIG_IsOK(res1
)) {
7148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7151 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7153 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7156 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7160 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
7163 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
7164 if (PyErr_Occurred()) SWIG_fail
;
7166 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7173 SWIGINTERN PyObject
*_wrap_new_NativePixelData(PyObject
*self
, PyObject
*args
) {
7177 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData",0,3,argv
))) SWIG_fail
;
7180 return _wrap_new_NativePixelData__SWIG_0(self
, argc
, argv
);
7183 return _wrap_new_NativePixelData__SWIG_1(self
, argc
, argv
);
7186 return _wrap_new_NativePixelData__SWIG_2(self
, argc
, argv
);
7190 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData'");
7195 SWIGINTERN PyObject
*_wrap_delete_NativePixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7196 PyObject
*resultobj
= 0;
7197 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7200 PyObject
*swig_obj
[1] ;
7202 if (!args
) SWIG_fail
;
7204 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_DISOWN
| 0 );
7205 if (!SWIG_IsOK(res1
)) {
7206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7208 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7212 if (PyErr_Occurred()) SWIG_fail
;
7214 resultobj
= SWIG_Py_Void();
7221 SWIGINTERN PyObject
*_wrap_NativePixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7222 PyObject
*resultobj
= 0;
7223 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7224 wxNativePixelData_Accessor result
;
7227 PyObject
*swig_obj
[1] ;
7229 if (!args
) SWIG_fail
;
7231 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7232 if (!SWIG_IsOK(res1
)) {
7233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_GetPixels" "', expected argument " "1"" of type '" "wxNativePixelData const *""'");
7235 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7237 result
= ((wxNativePixelData
const *)arg1
)->GetPixels();
7238 if (PyErr_Occurred()) SWIG_fail
;
7240 resultobj
= SWIG_NewPointerObj((new wxNativePixelData_Accessor(static_cast< const wxNativePixelData_Accessor
& >(result
))), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
7247 SWIGINTERN PyObject
*_wrap_NativePixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7248 PyObject
*resultobj
= 0;
7249 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7252 PyObject
*swig_obj
[1] ;
7254 if (!args
) SWIG_fail
;
7256 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7257 if (!SWIG_IsOK(res1
)) {
7258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_UseAlpha" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7260 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7263 if (PyErr_Occurred()) SWIG_fail
;
7265 resultobj
= SWIG_Py_Void();
7272 SWIGINTERN PyObject
*_wrap_NativePixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7273 PyObject
*resultobj
= 0;
7274 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7278 PyObject
*swig_obj
[1] ;
7280 if (!args
) SWIG_fail
;
7282 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7283 if (!SWIG_IsOK(res1
)) {
7284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData___nonzero__" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7286 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7288 result
= (bool)wxNativePixelData___nonzero__(arg1
);
7289 if (PyErr_Occurred()) SWIG_fail
;
7292 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7300 SWIGINTERN PyObject
*NativePixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7302 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7303 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData
, SWIG_NewClientData(obj
));
7304 return SWIG_Py_Void();
7307 SWIGINTERN PyObject
*NativePixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7308 return SWIG_Python_InitShadowInstance(args
);
7311 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7312 PyObject
*resultobj
= 0;
7313 wxNativePixelData
*arg1
= 0 ;
7314 wxNativePixelData_Accessor
*result
= 0 ;
7318 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7319 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxNativePixelData
, 0 );
7320 if (!SWIG_IsOK(res1
)) {
7321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7324 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7326 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7328 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
);
7329 if (PyErr_Occurred()) SWIG_fail
;
7331 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7338 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7339 PyObject
*resultobj
= 0;
7340 wxBitmap
*arg1
= 0 ;
7341 wxNativePixelData
*arg2
= 0 ;
7342 wxNativePixelData_Accessor
*result
= 0 ;
7348 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7349 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7350 if (!SWIG_IsOK(res1
)) {
7351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7354 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7356 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7357 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 );
7358 if (!SWIG_IsOK(res2
)) {
7359 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7362 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7364 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7366 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
,*arg2
);
7367 if (PyErr_Occurred()) SWIG_fail
;
7369 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7376 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
7377 PyObject
*resultobj
= 0;
7378 wxNativePixelData_Accessor
*result
= 0 ;
7380 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
7382 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor();
7383 if (PyErr_Occurred()) SWIG_fail
;
7385 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7392 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor(PyObject
*self
, PyObject
*args
) {
7396 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData_Accessor",0,2,argv
))) SWIG_fail
;
7399 return _wrap_new_NativePixelData_Accessor__SWIG_2(self
, argc
, argv
);
7402 return _wrap_new_NativePixelData_Accessor__SWIG_0(self
, argc
, argv
);
7405 return _wrap_new_NativePixelData_Accessor__SWIG_1(self
, argc
, argv
);
7409 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData_Accessor'");
7414 SWIGINTERN PyObject
*_wrap_delete_NativePixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7415 PyObject
*resultobj
= 0;
7416 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7419 PyObject
*swig_obj
[1] ;
7421 if (!args
) SWIG_fail
;
7423 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
7424 if (!SWIG_IsOK(res1
)) {
7425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7427 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7431 if (PyErr_Occurred()) SWIG_fail
;
7433 resultobj
= SWIG_Py_Void();
7440 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7441 PyObject
*resultobj
= 0;
7442 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7443 wxNativePixelData
*arg2
= 0 ;
7448 PyObject
* obj0
= 0 ;
7449 PyObject
* obj1
= 0 ;
7450 char * kwnames
[] = {
7451 (char *) "self",(char *) "data", NULL
7454 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativePixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7455 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7456 if (!SWIG_IsOK(res1
)) {
7457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7459 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7460 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7461 if (!SWIG_IsOK(res2
)) {
7462 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7465 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7467 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7469 (arg1
)->Reset((wxNativePixelData
const &)*arg2
);
7470 if (PyErr_Occurred()) SWIG_fail
;
7472 resultobj
= SWIG_Py_Void();
7479 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7480 PyObject
*resultobj
= 0;
7481 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7485 PyObject
*swig_obj
[1] ;
7487 if (!args
) SWIG_fail
;
7489 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7490 if (!SWIG_IsOK(res1
)) {
7491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor const *""'");
7493 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7495 result
= (bool)((wxNativePixelData_Accessor
const *)arg1
)->IsOk();
7496 if (PyErr_Occurred()) SWIG_fail
;
7499 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7507 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7508 PyObject
*resultobj
= 0;
7509 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7512 PyObject
*swig_obj
[1] ;
7514 if (!args
) SWIG_fail
;
7516 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7517 if (!SWIG_IsOK(res1
)) {
7518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7520 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7522 wxNativePixelData_Accessor_nextPixel(arg1
);
7523 if (PyErr_Occurred()) SWIG_fail
;
7525 resultobj
= SWIG_Py_Void();
7532 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7533 PyObject
*resultobj
= 0;
7534 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7535 wxNativePixelData
*arg2
= 0 ;
7546 PyObject
* obj0
= 0 ;
7547 PyObject
* obj1
= 0 ;
7548 PyObject
* obj2
= 0 ;
7549 PyObject
* obj3
= 0 ;
7550 char * kwnames
[] = {
7551 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
7554 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7555 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7556 if (!SWIG_IsOK(res1
)) {
7557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7559 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7560 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7561 if (!SWIG_IsOK(res2
)) {
7562 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7565 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7567 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7568 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7569 if (!SWIG_IsOK(ecode3
)) {
7570 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
7572 arg3
= static_cast< int >(val3
);
7573 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7574 if (!SWIG_IsOK(ecode4
)) {
7575 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
7577 arg4
= static_cast< int >(val4
);
7579 (arg1
)->Offset((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
7580 if (PyErr_Occurred()) SWIG_fail
;
7582 resultobj
= SWIG_Py_Void();
7589 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7590 PyObject
*resultobj
= 0;
7591 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7592 wxNativePixelData
*arg2
= 0 ;
7600 PyObject
* obj0
= 0 ;
7601 PyObject
* obj1
= 0 ;
7602 PyObject
* obj2
= 0 ;
7603 char * kwnames
[] = {
7604 (char *) "self",(char *) "data",(char *) "x", NULL
7607 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7608 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7609 if (!SWIG_IsOK(res1
)) {
7610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7612 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7613 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7614 if (!SWIG_IsOK(res2
)) {
7615 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7618 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7620 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7621 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7622 if (!SWIG_IsOK(ecode3
)) {
7623 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
7625 arg3
= static_cast< int >(val3
);
7627 (arg1
)->OffsetX((wxNativePixelData
const &)*arg2
,arg3
);
7628 if (PyErr_Occurred()) SWIG_fail
;
7630 resultobj
= SWIG_Py_Void();
7637 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7638 PyObject
*resultobj
= 0;
7639 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7640 wxNativePixelData
*arg2
= 0 ;
7648 PyObject
* obj0
= 0 ;
7649 PyObject
* obj1
= 0 ;
7650 PyObject
* obj2
= 0 ;
7651 char * kwnames
[] = {
7652 (char *) "self",(char *) "data",(char *) "y", NULL
7655 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7656 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7657 if (!SWIG_IsOK(res1
)) {
7658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7660 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7661 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7662 if (!SWIG_IsOK(res2
)) {
7663 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7666 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7668 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7669 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7670 if (!SWIG_IsOK(ecode3
)) {
7671 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
7673 arg3
= static_cast< int >(val3
);
7675 (arg1
)->OffsetY((wxNativePixelData
const &)*arg2
,arg3
);
7676 if (PyErr_Occurred()) SWIG_fail
;
7678 resultobj
= SWIG_Py_Void();
7685 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7686 PyObject
*resultobj
= 0;
7687 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7688 wxNativePixelData
*arg2
= 0 ;
7699 PyObject
* obj0
= 0 ;
7700 PyObject
* obj1
= 0 ;
7701 PyObject
* obj2
= 0 ;
7702 PyObject
* obj3
= 0 ;
7703 char * kwnames
[] = {
7704 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
7707 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7708 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7709 if (!SWIG_IsOK(res1
)) {
7710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7712 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7713 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7714 if (!SWIG_IsOK(res2
)) {
7715 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7718 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7720 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7721 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7722 if (!SWIG_IsOK(ecode3
)) {
7723 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
7725 arg3
= static_cast< int >(val3
);
7726 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7727 if (!SWIG_IsOK(ecode4
)) {
7728 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
7730 arg4
= static_cast< int >(val4
);
7732 (arg1
)->MoveTo((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
7733 if (PyErr_Occurred()) SWIG_fail
;
7735 resultobj
= SWIG_Py_Void();
7742 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7743 PyObject
*resultobj
= 0;
7744 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7750 unsigned char val2
;
7752 unsigned char val3
;
7754 unsigned char val4
;
7756 PyObject
* obj0
= 0 ;
7757 PyObject
* obj1
= 0 ;
7758 PyObject
* obj2
= 0 ;
7759 PyObject
* obj3
= 0 ;
7760 char * kwnames
[] = {
7761 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
7764 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7765 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7766 if (!SWIG_IsOK(res1
)) {
7767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7769 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7770 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
7771 if (!SWIG_IsOK(ecode2
)) {
7772 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
7774 arg2
= static_cast< byte
>(val2
);
7775 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
7776 if (!SWIG_IsOK(ecode3
)) {
7777 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
7779 arg3
= static_cast< byte
>(val3
);
7780 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
7781 if (!SWIG_IsOK(ecode4
)) {
7782 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
7784 arg4
= static_cast< byte
>(val4
);
7786 wxNativePixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
);
7787 if (PyErr_Occurred()) SWIG_fail
;
7789 resultobj
= SWIG_Py_Void();
7796 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7797 PyObject
*resultobj
= 0;
7798 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7799 PyObject
*result
= 0 ;
7802 PyObject
*swig_obj
[1] ;
7804 if (!args
) SWIG_fail
;
7806 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7807 if (!SWIG_IsOK(res1
)) {
7808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7810 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7812 result
= (PyObject
*)wxNativePixelData_Accessor_Get(arg1
);
7813 if (PyErr_Occurred()) SWIG_fail
;
7822 SWIGINTERN PyObject
*NativePixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7824 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7825 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_NewClientData(obj
));
7826 return SWIG_Py_Void();
7829 SWIGINTERN PyObject
*NativePixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7830 return SWIG_Python_InitShadowInstance(args
);
7833 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7834 PyObject
*resultobj
= 0;
7835 wxBitmap
*arg1
= 0 ;
7836 wxAlphaPixelData
*result
= 0 ;
7840 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7841 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7842 if (!SWIG_IsOK(res1
)) {
7843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7846 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7848 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7850 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
);
7851 if (PyErr_Occurred()) SWIG_fail
;
7853 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
7860 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7861 PyObject
*resultobj
= 0;
7862 wxBitmap
*arg1
= 0 ;
7864 wxAlphaPixelData
*result
= 0 ;
7869 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7870 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7871 if (!SWIG_IsOK(res1
)) {
7872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7875 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7877 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7880 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7883 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxRect
const &)*arg2
);
7884 if (PyErr_Occurred()) SWIG_fail
;
7886 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
7893 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7894 PyObject
*resultobj
= 0;
7895 wxBitmap
*arg1
= 0 ;
7898 wxAlphaPixelData
*result
= 0 ;
7904 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
7905 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7906 if (!SWIG_IsOK(res1
)) {
7907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7910 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7912 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7915 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7919 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
7922 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
7923 if (PyErr_Occurred()) SWIG_fail
;
7925 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
7932 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData(PyObject
*self
, PyObject
*args
) {
7936 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData",0,3,argv
))) SWIG_fail
;
7939 return _wrap_new_AlphaPixelData__SWIG_0(self
, argc
, argv
);
7942 return _wrap_new_AlphaPixelData__SWIG_1(self
, argc
, argv
);
7945 return _wrap_new_AlphaPixelData__SWIG_2(self
, argc
, argv
);
7949 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData'");
7954 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7955 PyObject
*resultobj
= 0;
7956 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
7959 PyObject
*swig_obj
[1] ;
7961 if (!args
) SWIG_fail
;
7963 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_DISOWN
| 0 );
7964 if (!SWIG_IsOK(res1
)) {
7965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
7967 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
7971 if (PyErr_Occurred()) SWIG_fail
;
7973 resultobj
= SWIG_Py_Void();
7980 SWIGINTERN PyObject
*_wrap_AlphaPixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7981 PyObject
*resultobj
= 0;
7982 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
7983 wxAlphaPixelData_Accessor result
;
7986 PyObject
*swig_obj
[1] ;
7988 if (!args
) SWIG_fail
;
7990 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
7991 if (!SWIG_IsOK(res1
)) {
7992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_GetPixels" "', expected argument " "1"" of type '" "wxAlphaPixelData const *""'");
7994 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
7996 result
= ((wxAlphaPixelData
const *)arg1
)->GetPixels();
7997 if (PyErr_Occurred()) SWIG_fail
;
7999 resultobj
= SWIG_NewPointerObj((new wxAlphaPixelData_Accessor(static_cast< const wxAlphaPixelData_Accessor
& >(result
))), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
8006 SWIGINTERN PyObject
*_wrap_AlphaPixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8007 PyObject
*resultobj
= 0;
8008 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8011 PyObject
*swig_obj
[1] ;
8013 if (!args
) SWIG_fail
;
8015 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8016 if (!SWIG_IsOK(res1
)) {
8017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_UseAlpha" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8019 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8022 if (PyErr_Occurred()) SWIG_fail
;
8024 resultobj
= SWIG_Py_Void();
8031 SWIGINTERN PyObject
*_wrap_AlphaPixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8032 PyObject
*resultobj
= 0;
8033 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8037 PyObject
*swig_obj
[1] ;
8039 if (!args
) SWIG_fail
;
8041 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8042 if (!SWIG_IsOK(res1
)) {
8043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData___nonzero__" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8045 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8047 result
= (bool)wxAlphaPixelData___nonzero__(arg1
);
8048 if (PyErr_Occurred()) SWIG_fail
;
8051 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8059 SWIGINTERN PyObject
*AlphaPixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8061 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8062 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData
, SWIG_NewClientData(obj
));
8063 return SWIG_Py_Void();
8066 SWIGINTERN PyObject
*AlphaPixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8067 return SWIG_Python_InitShadowInstance(args
);
8070 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8071 PyObject
*resultobj
= 0;
8072 wxAlphaPixelData
*arg1
= 0 ;
8073 wxAlphaPixelData_Accessor
*result
= 0 ;
8077 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
8078 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8079 if (!SWIG_IsOK(res1
)) {
8080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
8083 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
8085 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8087 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
);
8088 if (PyErr_Occurred()) SWIG_fail
;
8090 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8097 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8098 PyObject
*resultobj
= 0;
8099 wxBitmap
*arg1
= 0 ;
8100 wxAlphaPixelData
*arg2
= 0 ;
8101 wxAlphaPixelData_Accessor
*result
= 0 ;
8107 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
8108 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8109 if (!SWIG_IsOK(res1
)) {
8110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8113 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8115 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8116 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8117 if (!SWIG_IsOK(res2
)) {
8118 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8121 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8123 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8125 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
,*arg2
);
8126 if (PyErr_Occurred()) SWIG_fail
;
8128 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8135 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
8136 PyObject
*resultobj
= 0;
8137 wxAlphaPixelData_Accessor
*result
= 0 ;
8139 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
8141 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor();
8142 if (PyErr_Occurred()) SWIG_fail
;
8144 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8151 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor(PyObject
*self
, PyObject
*args
) {
8155 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData_Accessor",0,2,argv
))) SWIG_fail
;
8158 return _wrap_new_AlphaPixelData_Accessor__SWIG_2(self
, argc
, argv
);
8161 return _wrap_new_AlphaPixelData_Accessor__SWIG_0(self
, argc
, argv
);
8164 return _wrap_new_AlphaPixelData_Accessor__SWIG_1(self
, argc
, argv
);
8168 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData_Accessor'");
8173 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8174 PyObject
*resultobj
= 0;
8175 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8178 PyObject
*swig_obj
[1] ;
8180 if (!args
) SWIG_fail
;
8182 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
8183 if (!SWIG_IsOK(res1
)) {
8184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8186 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8190 if (PyErr_Occurred()) SWIG_fail
;
8192 resultobj
= SWIG_Py_Void();
8199 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8200 PyObject
*resultobj
= 0;
8201 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8202 wxAlphaPixelData
*arg2
= 0 ;
8207 PyObject
* obj0
= 0 ;
8208 PyObject
* obj1
= 0 ;
8209 char * kwnames
[] = {
8210 (char *) "self",(char *) "data", NULL
8213 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AlphaPixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8214 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8215 if (!SWIG_IsOK(res1
)) {
8216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8218 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8219 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8220 if (!SWIG_IsOK(res2
)) {
8221 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8224 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8226 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8228 (arg1
)->Reset((wxAlphaPixelData
const &)*arg2
);
8229 if (PyErr_Occurred()) SWIG_fail
;
8231 resultobj
= SWIG_Py_Void();
8238 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8239 PyObject
*resultobj
= 0;
8240 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8244 PyObject
*swig_obj
[1] ;
8246 if (!args
) SWIG_fail
;
8248 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8249 if (!SWIG_IsOK(res1
)) {
8250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor const *""'");
8252 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8254 result
= (bool)((wxAlphaPixelData_Accessor
const *)arg1
)->IsOk();
8255 if (PyErr_Occurred()) SWIG_fail
;
8258 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8266 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8267 PyObject
*resultobj
= 0;
8268 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8271 PyObject
*swig_obj
[1] ;
8273 if (!args
) SWIG_fail
;
8275 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8276 if (!SWIG_IsOK(res1
)) {
8277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8279 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8281 wxAlphaPixelData_Accessor_nextPixel(arg1
);
8282 if (PyErr_Occurred()) SWIG_fail
;
8284 resultobj
= SWIG_Py_Void();
8291 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8292 PyObject
*resultobj
= 0;
8293 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8294 wxAlphaPixelData
*arg2
= 0 ;
8305 PyObject
* obj0
= 0 ;
8306 PyObject
* obj1
= 0 ;
8307 PyObject
* obj2
= 0 ;
8308 PyObject
* obj3
= 0 ;
8309 char * kwnames
[] = {
8310 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8313 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8314 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8315 if (!SWIG_IsOK(res1
)) {
8316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8318 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8319 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8320 if (!SWIG_IsOK(res2
)) {
8321 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8324 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8326 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8327 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8328 if (!SWIG_IsOK(ecode3
)) {
8329 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
8331 arg3
= static_cast< int >(val3
);
8332 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8333 if (!SWIG_IsOK(ecode4
)) {
8334 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
8336 arg4
= static_cast< int >(val4
);
8338 (arg1
)->Offset((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8339 if (PyErr_Occurred()) SWIG_fail
;
8341 resultobj
= SWIG_Py_Void();
8348 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8349 PyObject
*resultobj
= 0;
8350 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8351 wxAlphaPixelData
*arg2
= 0 ;
8359 PyObject
* obj0
= 0 ;
8360 PyObject
* obj1
= 0 ;
8361 PyObject
* obj2
= 0 ;
8362 char * kwnames
[] = {
8363 (char *) "self",(char *) "data",(char *) "x", NULL
8366 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8367 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8368 if (!SWIG_IsOK(res1
)) {
8369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8371 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8372 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8373 if (!SWIG_IsOK(res2
)) {
8374 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8377 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8379 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8380 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8381 if (!SWIG_IsOK(ecode3
)) {
8382 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
8384 arg3
= static_cast< int >(val3
);
8386 (arg1
)->OffsetX((wxAlphaPixelData
const &)*arg2
,arg3
);
8387 if (PyErr_Occurred()) SWIG_fail
;
8389 resultobj
= SWIG_Py_Void();
8396 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8397 PyObject
*resultobj
= 0;
8398 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8399 wxAlphaPixelData
*arg2
= 0 ;
8407 PyObject
* obj0
= 0 ;
8408 PyObject
* obj1
= 0 ;
8409 PyObject
* obj2
= 0 ;
8410 char * kwnames
[] = {
8411 (char *) "self",(char *) "data",(char *) "y", NULL
8414 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8415 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8416 if (!SWIG_IsOK(res1
)) {
8417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8419 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8420 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8421 if (!SWIG_IsOK(res2
)) {
8422 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8425 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8427 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8428 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8429 if (!SWIG_IsOK(ecode3
)) {
8430 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
8432 arg3
= static_cast< int >(val3
);
8434 (arg1
)->OffsetY((wxAlphaPixelData
const &)*arg2
,arg3
);
8435 if (PyErr_Occurred()) SWIG_fail
;
8437 resultobj
= SWIG_Py_Void();
8444 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8445 PyObject
*resultobj
= 0;
8446 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8447 wxAlphaPixelData
*arg2
= 0 ;
8458 PyObject
* obj0
= 0 ;
8459 PyObject
* obj1
= 0 ;
8460 PyObject
* obj2
= 0 ;
8461 PyObject
* obj3
= 0 ;
8462 char * kwnames
[] = {
8463 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8466 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8467 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8468 if (!SWIG_IsOK(res1
)) {
8469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8471 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8472 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8473 if (!SWIG_IsOK(res2
)) {
8474 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8477 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8479 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8480 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8481 if (!SWIG_IsOK(ecode3
)) {
8482 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
8484 arg3
= static_cast< int >(val3
);
8485 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8486 if (!SWIG_IsOK(ecode4
)) {
8487 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
8489 arg4
= static_cast< int >(val4
);
8491 (arg1
)->MoveTo((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8492 if (PyErr_Occurred()) SWIG_fail
;
8494 resultobj
= SWIG_Py_Void();
8501 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8502 PyObject
*resultobj
= 0;
8503 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8510 unsigned char val2
;
8512 unsigned char val3
;
8514 unsigned char val4
;
8516 unsigned char val5
;
8518 PyObject
* obj0
= 0 ;
8519 PyObject
* obj1
= 0 ;
8520 PyObject
* obj2
= 0 ;
8521 PyObject
* obj3
= 0 ;
8522 PyObject
* obj4
= 0 ;
8523 char * kwnames
[] = {
8524 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
8527 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:AlphaPixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8528 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8529 if (!SWIG_IsOK(res1
)) {
8530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8532 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8533 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
8534 if (!SWIG_IsOK(ecode2
)) {
8535 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
8537 arg2
= static_cast< byte
>(val2
);
8538 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
8539 if (!SWIG_IsOK(ecode3
)) {
8540 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
8542 arg3
= static_cast< byte
>(val3
);
8543 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
8544 if (!SWIG_IsOK(ecode4
)) {
8545 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
8547 arg4
= static_cast< byte
>(val4
);
8548 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
8549 if (!SWIG_IsOK(ecode5
)) {
8550 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "5"" of type '" "byte""'");
8552 arg5
= static_cast< byte
>(val5
);
8554 wxAlphaPixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
8555 if (PyErr_Occurred()) SWIG_fail
;
8557 resultobj
= SWIG_Py_Void();
8564 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8565 PyObject
*resultobj
= 0;
8566 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8567 PyObject
*result
= 0 ;
8570 PyObject
*swig_obj
[1] ;
8572 if (!args
) SWIG_fail
;
8574 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8575 if (!SWIG_IsOK(res1
)) {
8576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8578 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8580 result
= (PyObject
*)wxAlphaPixelData_Accessor_Get(arg1
);
8581 if (PyErr_Occurred()) SWIG_fail
;
8590 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8592 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8593 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_NewClientData(obj
));
8594 return SWIG_Py_Void();
8597 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8598 return SWIG_Python_InitShadowInstance(args
);
8601 SWIGINTERN PyObject
*_wrap_new_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8602 PyObject
*resultobj
= 0;
8603 wxBitmap
*arg1
= 0 ;
8604 wxColour
const &arg2_defvalue
= wxNullColour
;
8605 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
8606 wxMask
*result
= 0 ;
8610 PyObject
* obj0
= 0 ;
8611 PyObject
* obj1
= 0 ;
8612 char * kwnames
[] = {
8613 (char *) "bitmap",(char *) "colour", NULL
8616 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8617 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8618 if (!SWIG_IsOK(res1
)) {
8619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8622 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8624 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8628 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8632 if (!wxPyCheckForApp()) SWIG_fail
;
8633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8634 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
8635 wxPyEndAllowThreads(__tstate
);
8636 if (PyErr_Occurred()) SWIG_fail
;
8638 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, SWIG_POINTER_NEW
| 0 );
8645 SWIGINTERN PyObject
*_wrap_delete_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8646 PyObject
*resultobj
= 0;
8647 wxMask
*arg1
= (wxMask
*) 0 ;
8650 PyObject
*swig_obj
[1] ;
8652 if (!args
) SWIG_fail
;
8654 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
8655 if (!SWIG_IsOK(res1
)) {
8656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Mask" "', expected argument " "1"" of type '" "wxMask *""'");
8658 arg1
= reinterpret_cast< wxMask
* >(argp1
);
8662 if (PyErr_Occurred()) SWIG_fail
;
8664 resultobj
= SWIG_Py_Void();
8671 SWIGINTERN PyObject
*Mask_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8673 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8674 SWIG_TypeNewClientData(SWIGTYPE_p_wxMask
, SWIG_NewClientData(obj
));
8675 return SWIG_Py_Void();
8678 SWIGINTERN PyObject
*Mask_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8679 return SWIG_Python_InitShadowInstance(args
);
8682 SWIGINTERN PyObject
*_wrap_new_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8683 PyObject
*resultobj
= 0;
8684 wxString
*arg1
= 0 ;
8686 int arg3
= (int) -1 ;
8687 int arg4
= (int) -1 ;
8688 wxIcon
*result
= 0 ;
8689 bool temp1
= false ;
8696 PyObject
* obj0
= 0 ;
8697 PyObject
* obj1
= 0 ;
8698 PyObject
* obj2
= 0 ;
8699 PyObject
* obj3
= 0 ;
8700 char * kwnames
[] = {
8701 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
8704 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8706 arg1
= wxString_in_helper(obj0
);
8707 if (arg1
== NULL
) SWIG_fail
;
8710 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8711 if (!SWIG_IsOK(ecode2
)) {
8712 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Icon" "', expected argument " "2"" of type '" "wxBitmapType""'");
8714 arg2
= static_cast< wxBitmapType
>(val2
);
8716 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8717 if (!SWIG_IsOK(ecode3
)) {
8718 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Icon" "', expected argument " "3"" of type '" "int""'");
8720 arg3
= static_cast< int >(val3
);
8723 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8724 if (!SWIG_IsOK(ecode4
)) {
8725 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Icon" "', expected argument " "4"" of type '" "int""'");
8727 arg4
= static_cast< int >(val4
);
8730 if (!wxPyCheckForApp()) SWIG_fail
;
8731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8732 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
8733 wxPyEndAllowThreads(__tstate
);
8734 if (PyErr_Occurred()) SWIG_fail
;
8736 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_NEW
| 0 );
8751 SWIGINTERN PyObject
*_wrap_delete_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8752 PyObject
*resultobj
= 0;
8753 wxIcon
*arg1
= (wxIcon
*) 0 ;
8756 PyObject
*swig_obj
[1] ;
8758 if (!args
) SWIG_fail
;
8760 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, SWIG_POINTER_DISOWN
| 0 );
8761 if (!SWIG_IsOK(res1
)) {
8762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Icon" "', expected argument " "1"" of type '" "wxIcon *""'");
8764 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
8766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8769 wxPyEndAllowThreads(__tstate
);
8770 if (PyErr_Occurred()) SWIG_fail
;
8772 resultobj
= SWIG_Py_Void();
8779 SWIGINTERN PyObject
*_wrap_new_EmptyIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8780 PyObject
*resultobj
= 0;
8781 wxIcon
*result
= 0 ;
8783 if (!SWIG_Python_UnpackTuple(args
,"new_EmptyIcon",0,0,0)) SWIG_fail
;
8785 if (!wxPyCheckForApp()) SWIG_fail
;
8786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8787 result
= (wxIcon
*)new wxIcon();
8788 wxPyEndAllowThreads(__tstate
);
8789 if (PyErr_Occurred()) SWIG_fail
;
8791 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
8798 SWIGINTERN PyObject
*_wrap_new_IconFromLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8799 PyObject
*resultobj
= 0;
8800 wxIconLocation
*arg1
= 0 ;
8801 wxIcon
*result
= 0 ;
8804 PyObject
* obj0
= 0 ;
8805 char * kwnames
[] = {
8806 (char *) "loc", NULL
8809 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) SWIG_fail
;
8810 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIconLocation
, 0 | 0);
8811 if (!SWIG_IsOK(res1
)) {
8812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
8815 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
8817 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
8819 if (!wxPyCheckForApp()) SWIG_fail
;
8820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8821 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
8822 wxPyEndAllowThreads(__tstate
);
8823 if (PyErr_Occurred()) SWIG_fail
;
8825 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
8832 SWIGINTERN PyObject
*_wrap_new_IconFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8833 PyObject
*resultobj
= 0;
8834 wxBitmap
*arg1
= 0 ;
8835 wxIcon
*result
= 0 ;
8838 PyObject
* obj0
= 0 ;
8839 char * kwnames
[] = {
8840 (char *) "bmp", NULL
8843 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
8844 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8845 if (!SWIG_IsOK(res1
)) {
8846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8849 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8851 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8853 if (!wxPyCheckForApp()) SWIG_fail
;
8854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8855 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
8856 wxPyEndAllowThreads(__tstate
);
8857 if (PyErr_Occurred()) SWIG_fail
;
8859 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
8866 SWIGINTERN PyObject
*_wrap_new_IconFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8867 PyObject
*resultobj
= 0;
8868 PyObject
*arg1
= (PyObject
*) 0 ;
8869 wxIcon
*result
= 0 ;
8870 PyObject
* obj0
= 0 ;
8871 char * kwnames
[] = {
8872 (char *) "listOfStrings", NULL
8875 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
8878 if (!wxPyCheckForApp()) SWIG_fail
;
8879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8880 result
= (wxIcon
*)new_wxIcon(arg1
);
8881 wxPyEndAllowThreads(__tstate
);
8882 if (PyErr_Occurred()) SWIG_fail
;
8884 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
8891 SWIGINTERN PyObject
*_wrap_Icon_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8892 PyObject
*resultobj
= 0;
8893 wxIcon
*arg1
= (wxIcon
*) 0 ;
8894 wxString
*arg2
= 0 ;
8899 bool temp2
= false ;
8902 PyObject
* obj0
= 0 ;
8903 PyObject
* obj1
= 0 ;
8904 PyObject
* obj2
= 0 ;
8905 char * kwnames
[] = {
8906 (char *) "self",(char *) "name",(char *) "type", NULL
8909 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Icon_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8910 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
8911 if (!SWIG_IsOK(res1
)) {
8912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_LoadFile" "', expected argument " "1"" of type '" "wxIcon *""'");
8914 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
8916 arg2
= wxString_in_helper(obj1
);
8917 if (arg2
== NULL
) SWIG_fail
;
8920 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8921 if (!SWIG_IsOK(ecode3
)) {
8922 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Icon_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
8924 arg3
= static_cast< wxBitmapType
>(val3
);
8926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8927 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
8928 wxPyEndAllowThreads(__tstate
);
8929 if (PyErr_Occurred()) SWIG_fail
;
8932 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8948 SWIGINTERN PyObject
*_wrap_Icon_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8949 PyObject
*resultobj
= 0;
8950 wxIcon
*arg1
= (wxIcon
*) 0 ;
8954 PyObject
*swig_obj
[1] ;
8956 if (!args
) SWIG_fail
;
8958 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
8959 if (!SWIG_IsOK(res1
)) {
8960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_IsOk" "', expected argument " "1"" of type '" "wxIcon *""'");
8962 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
8964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8965 result
= (bool)(arg1
)->IsOk();
8966 wxPyEndAllowThreads(__tstate
);
8967 if (PyErr_Occurred()) SWIG_fail
;
8970 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8978 SWIGINTERN PyObject
*_wrap_Icon_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8979 PyObject
*resultobj
= 0;
8980 wxIcon
*arg1
= (wxIcon
*) 0 ;
8984 PyObject
*swig_obj
[1] ;
8986 if (!args
) SWIG_fail
;
8988 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
8989 if (!SWIG_IsOK(res1
)) {
8990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
8992 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
8994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8995 result
= (int)(arg1
)->GetWidth();
8996 wxPyEndAllowThreads(__tstate
);
8997 if (PyErr_Occurred()) SWIG_fail
;
8999 resultobj
= SWIG_From_int(static_cast< int >(result
));
9006 SWIGINTERN PyObject
*_wrap_Icon_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9007 PyObject
*resultobj
= 0;
9008 wxIcon
*arg1
= (wxIcon
*) 0 ;
9012 PyObject
*swig_obj
[1] ;
9014 if (!args
) SWIG_fail
;
9016 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9017 if (!SWIG_IsOK(res1
)) {
9018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
9020 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9023 result
= (int)(arg1
)->GetHeight();
9024 wxPyEndAllowThreads(__tstate
);
9025 if (PyErr_Occurred()) SWIG_fail
;
9027 resultobj
= SWIG_From_int(static_cast< int >(result
));
9034 SWIGINTERN PyObject
*_wrap_Icon_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9035 PyObject
*resultobj
= 0;
9036 wxIcon
*arg1
= (wxIcon
*) 0 ;
9040 PyObject
*swig_obj
[1] ;
9042 if (!args
) SWIG_fail
;
9044 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9045 if (!SWIG_IsOK(res1
)) {
9046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9048 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9051 result
= (int)(arg1
)->GetDepth();
9052 wxPyEndAllowThreads(__tstate
);
9053 if (PyErr_Occurred()) SWIG_fail
;
9055 resultobj
= SWIG_From_int(static_cast< int >(result
));
9062 SWIGINTERN PyObject
*_wrap_Icon_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9063 PyObject
*resultobj
= 0;
9064 wxIcon
*arg1
= (wxIcon
*) 0 ;
9070 PyObject
* obj0
= 0 ;
9071 PyObject
* obj1
= 0 ;
9072 char * kwnames
[] = {
9073 (char *) "self",(char *) "w", NULL
9076 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9077 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9078 if (!SWIG_IsOK(res1
)) {
9079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
9081 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9082 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9083 if (!SWIG_IsOK(ecode2
)) {
9084 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetWidth" "', expected argument " "2"" of type '" "int""'");
9086 arg2
= static_cast< int >(val2
);
9088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9089 (arg1
)->SetWidth(arg2
);
9090 wxPyEndAllowThreads(__tstate
);
9091 if (PyErr_Occurred()) SWIG_fail
;
9093 resultobj
= SWIG_Py_Void();
9100 SWIGINTERN PyObject
*_wrap_Icon_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9101 PyObject
*resultobj
= 0;
9102 wxIcon
*arg1
= (wxIcon
*) 0 ;
9108 PyObject
* obj0
= 0 ;
9109 PyObject
* obj1
= 0 ;
9110 char * kwnames
[] = {
9111 (char *) "self",(char *) "h", NULL
9114 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9115 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9116 if (!SWIG_IsOK(res1
)) {
9117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
9119 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9120 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9121 if (!SWIG_IsOK(ecode2
)) {
9122 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetHeight" "', expected argument " "2"" of type '" "int""'");
9124 arg2
= static_cast< int >(val2
);
9126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9127 (arg1
)->SetHeight(arg2
);
9128 wxPyEndAllowThreads(__tstate
);
9129 if (PyErr_Occurred()) SWIG_fail
;
9131 resultobj
= SWIG_Py_Void();
9138 SWIGINTERN PyObject
*_wrap_Icon_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9139 PyObject
*resultobj
= 0;
9140 wxIcon
*arg1
= (wxIcon
*) 0 ;
9146 PyObject
* obj0
= 0 ;
9147 PyObject
* obj1
= 0 ;
9148 char * kwnames
[] = {
9149 (char *) "self",(char *) "d", NULL
9152 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9153 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9154 if (!SWIG_IsOK(res1
)) {
9155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9157 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9158 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9159 if (!SWIG_IsOK(ecode2
)) {
9160 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetDepth" "', expected argument " "2"" of type '" "int""'");
9162 arg2
= static_cast< int >(val2
);
9164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9165 (arg1
)->SetDepth(arg2
);
9166 wxPyEndAllowThreads(__tstate
);
9167 if (PyErr_Occurred()) SWIG_fail
;
9169 resultobj
= SWIG_Py_Void();
9176 SWIGINTERN PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9177 PyObject
*resultobj
= 0;
9178 wxIcon
*arg1
= (wxIcon
*) 0 ;
9179 wxBitmap
*arg2
= 0 ;
9184 PyObject
* obj0
= 0 ;
9185 PyObject
* obj1
= 0 ;
9186 char * kwnames
[] = {
9187 (char *) "self",(char *) "bmp", NULL
9190 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9191 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9192 if (!SWIG_IsOK(res1
)) {
9193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "1"" of type '" "wxIcon *""'");
9195 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9196 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9197 if (!SWIG_IsOK(res2
)) {
9198 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9201 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9203 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
9205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9206 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
9207 wxPyEndAllowThreads(__tstate
);
9208 if (PyErr_Occurred()) SWIG_fail
;
9210 resultobj
= SWIG_Py_Void();
9217 SWIGINTERN PyObject
*Icon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9219 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9220 SWIG_TypeNewClientData(SWIGTYPE_p_wxIcon
, SWIG_NewClientData(obj
));
9221 return SWIG_Py_Void();
9224 SWIGINTERN PyObject
*Icon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9225 return SWIG_Python_InitShadowInstance(args
);
9228 SWIGINTERN PyObject
*_wrap_new_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9229 PyObject
*resultobj
= 0;
9230 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
9231 int arg2
= (int) 0 ;
9232 wxIconLocation
*result
= 0 ;
9233 bool temp1
= false ;
9236 PyObject
* obj0
= 0 ;
9237 PyObject
* obj1
= 0 ;
9238 char * kwnames
[] = {
9239 (char *) "filename",(char *) "num", NULL
9242 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9245 arg1
= wxString_in_helper(obj0
);
9246 if (arg1
== NULL
) SWIG_fail
;
9251 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9252 if (!SWIG_IsOK(ecode2
)) {
9253 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconLocation" "', expected argument " "2"" of type '" "int""'");
9255 arg2
= static_cast< int >(val2
);
9258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9259 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
9260 wxPyEndAllowThreads(__tstate
);
9261 if (PyErr_Occurred()) SWIG_fail
;
9263 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_NEW
| 0 );
9278 SWIGINTERN PyObject
*_wrap_delete_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9279 PyObject
*resultobj
= 0;
9280 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9283 PyObject
*swig_obj
[1] ;
9285 if (!args
) SWIG_fail
;
9287 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_DISOWN
| 0 );
9288 if (!SWIG_IsOK(res1
)) {
9289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconLocation" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9291 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9296 wxPyEndAllowThreads(__tstate
);
9297 if (PyErr_Occurred()) SWIG_fail
;
9299 resultobj
= SWIG_Py_Void();
9306 SWIGINTERN PyObject
*_wrap_IconLocation_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9307 PyObject
*resultobj
= 0;
9308 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9312 PyObject
*swig_obj
[1] ;
9314 if (!args
) SWIG_fail
;
9316 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9317 if (!SWIG_IsOK(res1
)) {
9318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_IsOk" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9320 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9323 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
9324 wxPyEndAllowThreads(__tstate
);
9325 if (PyErr_Occurred()) SWIG_fail
;
9328 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9336 SWIGINTERN PyObject
*_wrap_IconLocation_SetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9337 PyObject
*resultobj
= 0;
9338 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9339 wxString
*arg2
= 0 ;
9342 bool temp2
= false ;
9343 PyObject
* obj0
= 0 ;
9344 PyObject
* obj1
= 0 ;
9345 char * kwnames
[] = {
9346 (char *) "self",(char *) "filename", NULL
9349 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9350 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9351 if (!SWIG_IsOK(res1
)) {
9352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetFileName" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9354 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9356 arg2
= wxString_in_helper(obj1
);
9357 if (arg2
== NULL
) SWIG_fail
;
9361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9362 (arg1
)->SetFileName((wxString
const &)*arg2
);
9363 wxPyEndAllowThreads(__tstate
);
9364 if (PyErr_Occurred()) SWIG_fail
;
9366 resultobj
= SWIG_Py_Void();
9381 SWIGINTERN PyObject
*_wrap_IconLocation_GetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9382 PyObject
*resultobj
= 0;
9383 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9384 wxString
*result
= 0 ;
9387 PyObject
*swig_obj
[1] ;
9389 if (!args
) SWIG_fail
;
9391 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9392 if (!SWIG_IsOK(res1
)) {
9393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetFileName" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9395 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9399 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
9400 result
= (wxString
*) &_result_ref
;
9402 wxPyEndAllowThreads(__tstate
);
9403 if (PyErr_Occurred()) SWIG_fail
;
9407 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9409 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9418 SWIGINTERN PyObject
*_wrap_IconLocation_SetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9419 PyObject
*resultobj
= 0;
9420 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9426 PyObject
* obj0
= 0 ;
9427 PyObject
* obj1
= 0 ;
9428 char * kwnames
[] = {
9429 (char *) "self",(char *) "num", NULL
9432 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9433 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9434 if (!SWIG_IsOK(res1
)) {
9435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9437 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9438 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9439 if (!SWIG_IsOK(ecode2
)) {
9440 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IconLocation_SetIndex" "', expected argument " "2"" of type '" "int""'");
9442 arg2
= static_cast< int >(val2
);
9444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9445 wxIconLocation_SetIndex(arg1
,arg2
);
9446 wxPyEndAllowThreads(__tstate
);
9447 if (PyErr_Occurred()) SWIG_fail
;
9449 resultobj
= SWIG_Py_Void();
9456 SWIGINTERN PyObject
*_wrap_IconLocation_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9457 PyObject
*resultobj
= 0;
9458 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9462 PyObject
*swig_obj
[1] ;
9464 if (!args
) SWIG_fail
;
9466 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9467 if (!SWIG_IsOK(res1
)) {
9468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9470 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9473 result
= (int)wxIconLocation_GetIndex(arg1
);
9474 wxPyEndAllowThreads(__tstate
);
9475 if (PyErr_Occurred()) SWIG_fail
;
9477 resultobj
= SWIG_From_int(static_cast< int >(result
));
9484 SWIGINTERN PyObject
*IconLocation_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9486 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9487 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconLocation
, SWIG_NewClientData(obj
));
9488 return SWIG_Py_Void();
9491 SWIGINTERN PyObject
*IconLocation_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9492 return SWIG_Python_InitShadowInstance(args
);
9495 SWIGINTERN PyObject
*_wrap_new_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9496 PyObject
*resultobj
= 0;
9497 wxIconBundle
*result
= 0 ;
9499 if (!SWIG_Python_UnpackTuple(args
,"new_IconBundle",0,0,0)) SWIG_fail
;
9501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9502 result
= (wxIconBundle
*)new wxIconBundle();
9503 wxPyEndAllowThreads(__tstate
);
9504 if (PyErr_Occurred()) SWIG_fail
;
9506 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_NEW
| 0 );
9513 SWIGINTERN PyObject
*_wrap_new_IconBundleFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9514 PyObject
*resultobj
= 0;
9515 wxString
*arg1
= 0 ;
9517 wxIconBundle
*result
= 0 ;
9518 bool temp1
= false ;
9521 PyObject
* obj0
= 0 ;
9522 PyObject
* obj1
= 0 ;
9523 char * kwnames
[] = {
9524 (char *) "file",(char *) "type", NULL
9527 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9529 arg1
= wxString_in_helper(obj0
);
9530 if (arg1
== NULL
) SWIG_fail
;
9533 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9534 if (!SWIG_IsOK(ecode2
)) {
9535 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconBundleFromFile" "', expected argument " "2"" of type '" "long""'");
9537 arg2
= static_cast< long >(val2
);
9539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9540 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
9541 wxPyEndAllowThreads(__tstate
);
9542 if (PyErr_Occurred()) SWIG_fail
;
9544 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
9559 SWIGINTERN PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9560 PyObject
*resultobj
= 0;
9562 wxIconBundle
*result
= 0 ;
9565 PyObject
* obj0
= 0 ;
9566 char * kwnames
[] = {
9567 (char *) "icon", NULL
9570 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) SWIG_fail
;
9571 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
9572 if (!SWIG_IsOK(res1
)) {
9573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
9576 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
9578 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9581 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
9582 wxPyEndAllowThreads(__tstate
);
9583 if (PyErr_Occurred()) SWIG_fail
;
9585 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
9592 SWIGINTERN PyObject
*_wrap_delete_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9593 PyObject
*resultobj
= 0;
9594 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9597 PyObject
*swig_obj
[1] ;
9599 if (!args
) SWIG_fail
;
9601 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_DISOWN
| 0 );
9602 if (!SWIG_IsOK(res1
)) {
9603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconBundle" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9605 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9610 wxPyEndAllowThreads(__tstate
);
9611 if (PyErr_Occurred()) SWIG_fail
;
9613 resultobj
= SWIG_Py_Void();
9620 SWIGINTERN PyObject
*_wrap_IconBundle_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9621 PyObject
*resultobj
= 0;
9622 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9628 PyObject
* obj0
= 0 ;
9629 PyObject
* obj1
= 0 ;
9630 char * kwnames
[] = {
9631 (char *) "self",(char *) "icon", NULL
9634 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9635 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
9636 if (!SWIG_IsOK(res1
)) {
9637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIcon" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9639 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9640 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
9641 if (!SWIG_IsOK(res2
)) {
9642 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
9645 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
9647 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
9649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9650 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
9651 wxPyEndAllowThreads(__tstate
);
9652 if (PyErr_Occurred()) SWIG_fail
;
9654 resultobj
= SWIG_Py_Void();
9661 SWIGINTERN PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9662 PyObject
*resultobj
= 0;
9663 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9664 wxString
*arg2
= 0 ;
9668 bool temp2
= false ;
9671 PyObject
* obj0
= 0 ;
9672 PyObject
* obj1
= 0 ;
9673 PyObject
* obj2
= 0 ;
9674 char * kwnames
[] = {
9675 (char *) "self",(char *) "file",(char *) "type", NULL
9678 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9679 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
9680 if (!SWIG_IsOK(res1
)) {
9681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9683 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9685 arg2
= wxString_in_helper(obj1
);
9686 if (arg2
== NULL
) SWIG_fail
;
9689 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
9690 if (!SWIG_IsOK(ecode3
)) {
9691 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "3"" of type '" "long""'");
9693 arg3
= static_cast< long >(val3
);
9695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9696 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
9697 wxPyEndAllowThreads(__tstate
);
9698 if (PyErr_Occurred()) SWIG_fail
;
9700 resultobj
= SWIG_Py_Void();
9715 SWIGINTERN PyObject
*_wrap_IconBundle_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9716 PyObject
*resultobj
= 0;
9717 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9719 wxIcon
*result
= 0 ;
9723 PyObject
* obj0
= 0 ;
9724 PyObject
* obj1
= 0 ;
9725 char * kwnames
[] = {
9726 (char *) "self",(char *) "size", NULL
9729 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9730 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
9731 if (!SWIG_IsOK(res1
)) {
9732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_GetIcon" "', expected argument " "1"" of type '" "wxIconBundle const *""'");
9734 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9737 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
9740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9742 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
9743 result
= (wxIcon
*) &_result_ref
;
9745 wxPyEndAllowThreads(__tstate
);
9746 if (PyErr_Occurred()) SWIG_fail
;
9749 wxIcon
* resultptr
= new wxIcon(*result
);
9750 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
9758 SWIGINTERN PyObject
*IconBundle_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9760 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9761 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconBundle
, SWIG_NewClientData(obj
));
9762 return SWIG_Py_Void();
9765 SWIGINTERN PyObject
*IconBundle_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9766 return SWIG_Python_InitShadowInstance(args
);
9769 SWIGINTERN PyObject
*_wrap_new_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9770 PyObject
*resultobj
= 0;
9771 wxString
*arg1
= 0 ;
9773 int arg3
= (int) 0 ;
9774 int arg4
= (int) 0 ;
9775 wxCursor
*result
= 0 ;
9776 bool temp1
= false ;
9783 PyObject
* obj0
= 0 ;
9784 PyObject
* obj1
= 0 ;
9785 PyObject
* obj2
= 0 ;
9786 PyObject
* obj3
= 0 ;
9787 char * kwnames
[] = {
9788 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
9791 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9793 arg1
= wxString_in_helper(obj0
);
9794 if (arg1
== NULL
) SWIG_fail
;
9797 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9798 if (!SWIG_IsOK(ecode2
)) {
9799 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Cursor" "', expected argument " "2"" of type '" "long""'");
9801 arg2
= static_cast< long >(val2
);
9803 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9804 if (!SWIG_IsOK(ecode3
)) {
9805 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Cursor" "', expected argument " "3"" of type '" "int""'");
9807 arg3
= static_cast< int >(val3
);
9810 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9811 if (!SWIG_IsOK(ecode4
)) {
9812 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Cursor" "', expected argument " "4"" of type '" "int""'");
9814 arg4
= static_cast< int >(val4
);
9817 if (!wxPyCheckForApp()) SWIG_fail
;
9818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9819 result
= (wxCursor
*)new_wxCursor((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
9820 wxPyEndAllowThreads(__tstate
);
9821 if (PyErr_Occurred()) SWIG_fail
;
9823 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_NEW
| 0 );
9838 SWIGINTERN PyObject
*_wrap_delete_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9839 PyObject
*resultobj
= 0;
9840 wxCursor
*arg1
= (wxCursor
*) 0 ;
9843 PyObject
*swig_obj
[1] ;
9845 if (!args
) SWIG_fail
;
9847 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, SWIG_POINTER_DISOWN
| 0 );
9848 if (!SWIG_IsOK(res1
)) {
9849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Cursor" "', expected argument " "1"" of type '" "wxCursor *""'");
9851 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
9853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9856 wxPyEndAllowThreads(__tstate
);
9857 if (PyErr_Occurred()) SWIG_fail
;
9859 resultobj
= SWIG_Py_Void();
9866 SWIGINTERN PyObject
*_wrap_new_StockCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9867 PyObject
*resultobj
= 0;
9869 wxCursor
*result
= 0 ;
9872 PyObject
* obj0
= 0 ;
9873 char * kwnames
[] = {
9877 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) SWIG_fail
;
9878 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9879 if (!SWIG_IsOK(ecode1
)) {
9880 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_StockCursor" "', expected argument " "1"" of type '" "int""'");
9882 arg1
= static_cast< int >(val1
);
9884 if (!wxPyCheckForApp()) SWIG_fail
;
9885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9886 result
= (wxCursor
*)new wxCursor(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_new_CursorFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9898 PyObject
*resultobj
= 0;
9900 wxCursor
*result
= 0 ;
9903 PyObject
* obj0
= 0 ;
9904 char * kwnames
[] = {
9905 (char *) "image", NULL
9908 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) SWIG_fail
;
9909 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
9910 if (!SWIG_IsOK(res1
)) {
9911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
9914 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
9916 arg1
= reinterpret_cast< wxImage
* >(argp1
);
9918 if (!wxPyCheckForApp()) SWIG_fail
;
9919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9920 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
9921 wxPyEndAllowThreads(__tstate
);
9922 if (PyErr_Occurred()) SWIG_fail
;
9924 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
9931 SWIGINTERN PyObject
*_wrap_Cursor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9932 PyObject
*resultobj
= 0;
9933 wxCursor
*arg1
= (wxCursor
*) 0 ;
9937 PyObject
*swig_obj
[1] ;
9939 if (!args
) SWIG_fail
;
9941 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
9942 if (!SWIG_IsOK(res1
)) {
9943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_IsOk" "', expected argument " "1"" of type '" "wxCursor *""'");
9945 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
9947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9948 result
= (bool)(arg1
)->IsOk();
9949 wxPyEndAllowThreads(__tstate
);
9950 if (PyErr_Occurred()) SWIG_fail
;
9953 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9961 SWIGINTERN PyObject
*Cursor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9963 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9964 SWIG_TypeNewClientData(SWIGTYPE_p_wxCursor
, SWIG_NewClientData(obj
));
9965 return SWIG_Py_Void();
9968 SWIGINTERN PyObject
*Cursor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9969 return SWIG_Python_InitShadowInstance(args
);
9972 SWIGINTERN PyObject
*_wrap_new_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9973 PyObject
*resultobj
= 0;
9974 int arg1
= (int) 0 ;
9975 int arg2
= (int) 0 ;
9976 int arg3
= (int) 0 ;
9977 int arg4
= (int) 0 ;
9978 wxRegion
*result
= 0 ;
9987 PyObject
* obj0
= 0 ;
9988 PyObject
* obj1
= 0 ;
9989 PyObject
* obj2
= 0 ;
9990 PyObject
* obj3
= 0 ;
9991 char * kwnames
[] = {
9992 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
9995 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9997 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9998 if (!SWIG_IsOK(ecode1
)) {
9999 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Region" "', expected argument " "1"" of type '" "int""'");
10001 arg1
= static_cast< int >(val1
);
10004 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10005 if (!SWIG_IsOK(ecode2
)) {
10006 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Region" "', expected argument " "2"" of type '" "int""'");
10008 arg2
= static_cast< int >(val2
);
10011 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10012 if (!SWIG_IsOK(ecode3
)) {
10013 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Region" "', expected argument " "3"" of type '" "int""'");
10015 arg3
= static_cast< int >(val3
);
10018 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10019 if (!SWIG_IsOK(ecode4
)) {
10020 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Region" "', expected argument " "4"" of type '" "int""'");
10022 arg4
= static_cast< int >(val4
);
10025 if (!wxPyCheckForApp()) SWIG_fail
;
10026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10027 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
10028 wxPyEndAllowThreads(__tstate
);
10029 if (PyErr_Occurred()) SWIG_fail
;
10031 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_NEW
| 0 );
10038 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10039 PyObject
*resultobj
= 0;
10040 wxBitmap
*arg1
= 0 ;
10041 wxRegion
*result
= 0 ;
10044 PyObject
* obj0
= 0 ;
10045 char * kwnames
[] = {
10046 (char *) "bmp", NULL
10049 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
10050 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
10051 if (!SWIG_IsOK(res1
)) {
10052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10055 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10057 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
10059 if (!wxPyCheckForApp()) SWIG_fail
;
10060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10061 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
);
10062 wxPyEndAllowThreads(__tstate
);
10063 if (PyErr_Occurred()) SWIG_fail
;
10065 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10072 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10073 PyObject
*resultobj
= 0;
10074 wxBitmap
*arg1
= 0 ;
10075 wxColour
*arg2
= 0 ;
10076 int arg3
= (int) 0 ;
10077 wxRegion
*result
= 0 ;
10083 PyObject
* obj0
= 0 ;
10084 PyObject
* obj1
= 0 ;
10085 PyObject
* obj2
= 0 ;
10086 char * kwnames
[] = {
10087 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
10090 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_RegionFromBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10091 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
10092 if (!SWIG_IsOK(res1
)) {
10093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10096 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10098 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
10101 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10104 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10105 if (!SWIG_IsOK(ecode3
)) {
10106 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "3"" of type '" "int""'");
10108 arg3
= static_cast< int >(val3
);
10111 if (!wxPyCheckForApp()) SWIG_fail
;
10112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10113 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
10114 wxPyEndAllowThreads(__tstate
);
10115 if (PyErr_Occurred()) SWIG_fail
;
10117 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10124 SWIGINTERN PyObject
*_wrap_new_RegionFromPoints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10125 PyObject
*resultobj
= 0;
10127 wxPoint
*arg2
= (wxPoint
*) 0 ;
10128 int arg3
= (int) wxWINDING_RULE
;
10129 wxRegion
*result
= 0 ;
10132 PyObject
* obj0
= 0 ;
10133 PyObject
* obj1
= 0 ;
10134 char * kwnames
[] = {
10135 (char *) "points",(char *) "fillStyle", NULL
10138 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10140 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
10141 if (arg2
== NULL
) SWIG_fail
;
10144 ecode3
= SWIG_AsVal_int(obj1
, &val3
);
10145 if (!SWIG_IsOK(ecode3
)) {
10146 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromPoints" "', expected argument " "3"" of type '" "int""'");
10148 arg3
= static_cast< int >(val3
);
10151 if (!wxPyCheckForApp()) SWIG_fail
;
10152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10153 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
10154 wxPyEndAllowThreads(__tstate
);
10155 if (PyErr_Occurred()) SWIG_fail
;
10157 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10159 if (arg2
) delete [] arg2
;
10164 if (arg2
) delete [] arg2
;
10170 SWIGINTERN PyObject
*_wrap_delete_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10171 PyObject
*resultobj
= 0;
10172 wxRegion
*arg1
= (wxRegion
*) 0 ;
10175 PyObject
*swig_obj
[1] ;
10177 if (!args
) SWIG_fail
;
10178 swig_obj
[0] = args
;
10179 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, SWIG_POINTER_DISOWN
| 0 );
10180 if (!SWIG_IsOK(res1
)) {
10181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Region" "', expected argument " "1"" of type '" "wxRegion *""'");
10183 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10188 wxPyEndAllowThreads(__tstate
);
10189 if (PyErr_Occurred()) SWIG_fail
;
10191 resultobj
= SWIG_Py_Void();
10198 SWIGINTERN PyObject
*_wrap_Region_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10199 PyObject
*resultobj
= 0;
10200 wxRegion
*arg1
= (wxRegion
*) 0 ;
10203 PyObject
*swig_obj
[1] ;
10205 if (!args
) SWIG_fail
;
10206 swig_obj
[0] = args
;
10207 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10208 if (!SWIG_IsOK(res1
)) {
10209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Clear" "', expected argument " "1"" of type '" "wxRegion *""'");
10211 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10215 wxPyEndAllowThreads(__tstate
);
10216 if (PyErr_Occurred()) SWIG_fail
;
10218 resultobj
= SWIG_Py_Void();
10225 SWIGINTERN PyObject
*_wrap_Region_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10226 PyObject
*resultobj
= 0;
10227 wxRegion
*arg1
= (wxRegion
*) 0 ;
10237 PyObject
* obj0
= 0 ;
10238 PyObject
* obj1
= 0 ;
10239 PyObject
* obj2
= 0 ;
10240 char * kwnames
[] = {
10241 (char *) "self",(char *) "x",(char *) "y", NULL
10244 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10245 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10246 if (!SWIG_IsOK(res1
)) {
10247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Offset" "', expected argument " "1"" of type '" "wxRegion *""'");
10249 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10250 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10251 if (!SWIG_IsOK(ecode2
)) {
10252 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Offset" "', expected argument " "2"" of type '" "int""'");
10254 arg2
= static_cast< int >(val2
);
10255 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10256 if (!SWIG_IsOK(ecode3
)) {
10257 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Offset" "', expected argument " "3"" of type '" "int""'");
10259 arg3
= static_cast< int >(val3
);
10261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10262 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
10263 wxPyEndAllowThreads(__tstate
);
10264 if (PyErr_Occurred()) SWIG_fail
;
10267 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10275 SWIGINTERN PyObject
*_wrap_Region_Contains(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10276 PyObject
*resultobj
= 0;
10277 wxRegion
*arg1
= (wxRegion
*) 0 ;
10280 wxRegionContain result
;
10287 PyObject
* obj0
= 0 ;
10288 PyObject
* obj1
= 0 ;
10289 PyObject
* obj2
= 0 ;
10290 char * kwnames
[] = {
10291 (char *) "self",(char *) "x",(char *) "y", NULL
10294 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10295 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10296 if (!SWIG_IsOK(res1
)) {
10297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Contains" "', expected argument " "1"" of type '" "wxRegion *""'");
10299 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10300 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10301 if (!SWIG_IsOK(ecode2
)) {
10302 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Contains" "', expected argument " "2"" of type '" "int""'");
10304 arg2
= static_cast< int >(val2
);
10305 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10306 if (!SWIG_IsOK(ecode3
)) {
10307 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Contains" "', expected argument " "3"" of type '" "int""'");
10309 arg3
= static_cast< int >(val3
);
10311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10312 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
);
10313 wxPyEndAllowThreads(__tstate
);
10314 if (PyErr_Occurred()) SWIG_fail
;
10316 resultobj
= SWIG_From_int(static_cast< int >(result
));
10323 SWIGINTERN PyObject
*_wrap_Region_ContainsPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10324 PyObject
*resultobj
= 0;
10325 wxRegion
*arg1
= (wxRegion
*) 0 ;
10326 wxPoint
*arg2
= 0 ;
10327 wxRegionContain result
;
10331 PyObject
* obj0
= 0 ;
10332 PyObject
* obj1
= 0 ;
10333 char * kwnames
[] = {
10334 (char *) "self",(char *) "pt", NULL
10337 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10338 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10339 if (!SWIG_IsOK(res1
)) {
10340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsPoint" "', expected argument " "1"" of type '" "wxRegion *""'");
10342 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10345 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10349 result
= (wxRegionContain
)(arg1
)->Contains((wxPoint
const &)*arg2
);
10350 wxPyEndAllowThreads(__tstate
);
10351 if (PyErr_Occurred()) SWIG_fail
;
10353 resultobj
= SWIG_From_int(static_cast< int >(result
));
10360 SWIGINTERN PyObject
*_wrap_Region_ContainsRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10361 PyObject
*resultobj
= 0;
10362 wxRegion
*arg1
= (wxRegion
*) 0 ;
10364 wxRegionContain result
;
10368 PyObject
* obj0
= 0 ;
10369 PyObject
* obj1
= 0 ;
10370 char * kwnames
[] = {
10371 (char *) "self",(char *) "rect", NULL
10374 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10375 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10376 if (!SWIG_IsOK(res1
)) {
10377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10379 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10382 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10386 result
= (wxRegionContain
)(arg1
)->Contains((wxRect
const &)*arg2
);
10387 wxPyEndAllowThreads(__tstate
);
10388 if (PyErr_Occurred()) SWIG_fail
;
10390 resultobj
= SWIG_From_int(static_cast< int >(result
));
10397 SWIGINTERN PyObject
*_wrap_Region_ContainsRectDim(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10398 PyObject
*resultobj
= 0;
10399 wxRegion
*arg1
= (wxRegion
*) 0 ;
10404 wxRegionContain result
;
10415 PyObject
* obj0
= 0 ;
10416 PyObject
* obj1
= 0 ;
10417 PyObject
* obj2
= 0 ;
10418 PyObject
* obj3
= 0 ;
10419 PyObject
* obj4
= 0 ;
10420 char * kwnames
[] = {
10421 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
10424 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10425 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10426 if (!SWIG_IsOK(res1
)) {
10427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRectDim" "', expected argument " "1"" of type '" "wxRegion *""'");
10429 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10430 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10431 if (!SWIG_IsOK(ecode2
)) {
10432 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_ContainsRectDim" "', expected argument " "2"" of type '" "int""'");
10434 arg2
= static_cast< int >(val2
);
10435 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10436 if (!SWIG_IsOK(ecode3
)) {
10437 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_ContainsRectDim" "', expected argument " "3"" of type '" "int""'");
10439 arg3
= static_cast< int >(val3
);
10440 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10441 if (!SWIG_IsOK(ecode4
)) {
10442 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_ContainsRectDim" "', expected argument " "4"" of type '" "int""'");
10444 arg4
= static_cast< int >(val4
);
10445 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10446 if (!SWIG_IsOK(ecode5
)) {
10447 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_ContainsRectDim" "', expected argument " "5"" of type '" "int""'");
10449 arg5
= static_cast< int >(val5
);
10451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10452 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
10453 wxPyEndAllowThreads(__tstate
);
10454 if (PyErr_Occurred()) SWIG_fail
;
10456 resultobj
= SWIG_From_int(static_cast< int >(result
));
10463 SWIGINTERN PyObject
*_wrap_Region_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10464 PyObject
*resultobj
= 0;
10465 wxRegion
*arg1
= (wxRegion
*) 0 ;
10469 PyObject
*swig_obj
[1] ;
10471 if (!args
) SWIG_fail
;
10472 swig_obj
[0] = args
;
10473 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10474 if (!SWIG_IsOK(res1
)) {
10475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_GetBox" "', expected argument " "1"" of type '" "wxRegion *""'");
10477 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10480 result
= (arg1
)->GetBox();
10481 wxPyEndAllowThreads(__tstate
);
10482 if (PyErr_Occurred()) SWIG_fail
;
10484 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
10491 SWIGINTERN PyObject
*_wrap_Region_Intersect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10492 PyObject
*resultobj
= 0;
10493 wxRegion
*arg1
= (wxRegion
*) 0 ;
10509 PyObject
* obj0
= 0 ;
10510 PyObject
* obj1
= 0 ;
10511 PyObject
* obj2
= 0 ;
10512 PyObject
* obj3
= 0 ;
10513 PyObject
* obj4
= 0 ;
10514 char * kwnames
[] = {
10515 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10518 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10519 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10520 if (!SWIG_IsOK(res1
)) {
10521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Intersect" "', expected argument " "1"" of type '" "wxRegion *""'");
10523 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10524 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10525 if (!SWIG_IsOK(ecode2
)) {
10526 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Intersect" "', expected argument " "2"" of type '" "int""'");
10528 arg2
= static_cast< int >(val2
);
10529 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10530 if (!SWIG_IsOK(ecode3
)) {
10531 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Intersect" "', expected argument " "3"" of type '" "int""'");
10533 arg3
= static_cast< int >(val3
);
10534 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10535 if (!SWIG_IsOK(ecode4
)) {
10536 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Intersect" "', expected argument " "4"" of type '" "int""'");
10538 arg4
= static_cast< int >(val4
);
10539 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10540 if (!SWIG_IsOK(ecode5
)) {
10541 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Intersect" "', expected argument " "5"" of type '" "int""'");
10543 arg5
= static_cast< int >(val5
);
10545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10546 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
10547 wxPyEndAllowThreads(__tstate
);
10548 if (PyErr_Occurred()) SWIG_fail
;
10551 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10559 SWIGINTERN PyObject
*_wrap_Region_IntersectRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10560 PyObject
*resultobj
= 0;
10561 wxRegion
*arg1
= (wxRegion
*) 0 ;
10567 PyObject
* obj0
= 0 ;
10568 PyObject
* obj1
= 0 ;
10569 char * kwnames
[] = {
10570 (char *) "self",(char *) "rect", NULL
10573 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10574 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10575 if (!SWIG_IsOK(res1
)) {
10576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10578 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10581 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10585 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
10586 wxPyEndAllowThreads(__tstate
);
10587 if (PyErr_Occurred()) SWIG_fail
;
10590 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10598 SWIGINTERN PyObject
*_wrap_Region_IntersectRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10599 PyObject
*resultobj
= 0;
10600 wxRegion
*arg1
= (wxRegion
*) 0 ;
10601 wxRegion
*arg2
= 0 ;
10607 PyObject
* obj0
= 0 ;
10608 PyObject
* obj1
= 0 ;
10609 char * kwnames
[] = {
10610 (char *) "self",(char *) "region", NULL
10613 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10614 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10615 if (!SWIG_IsOK(res1
)) {
10616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
10618 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10619 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
10620 if (!SWIG_IsOK(res2
)) {
10621 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10624 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10626 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
10628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10629 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
10630 wxPyEndAllowThreads(__tstate
);
10631 if (PyErr_Occurred()) SWIG_fail
;
10634 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10642 SWIGINTERN PyObject
*_wrap_Region_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10643 PyObject
*resultobj
= 0;
10644 wxRegion
*arg1
= (wxRegion
*) 0 ;
10648 PyObject
*swig_obj
[1] ;
10650 if (!args
) SWIG_fail
;
10651 swig_obj
[0] = args
;
10652 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10653 if (!SWIG_IsOK(res1
)) {
10654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEmpty" "', expected argument " "1"" of type '" "wxRegion *""'");
10656 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10659 result
= (bool)(arg1
)->IsEmpty();
10660 wxPyEndAllowThreads(__tstate
);
10661 if (PyErr_Occurred()) SWIG_fail
;
10664 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10672 SWIGINTERN PyObject
*_wrap_Region_IsEqual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10673 PyObject
*resultobj
= 0;
10674 wxRegion
*arg1
= (wxRegion
*) 0 ;
10675 wxRegion
*arg2
= 0 ;
10681 PyObject
* obj0
= 0 ;
10682 PyObject
* obj1
= 0 ;
10683 char * kwnames
[] = {
10684 (char *) "self",(char *) "region", NULL
10687 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IsEqual",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10688 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10689 if (!SWIG_IsOK(res1
)) {
10690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEqual" "', expected argument " "1"" of type '" "wxRegion const *""'");
10692 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10693 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
10694 if (!SWIG_IsOK(res2
)) {
10695 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IsEqual" "', expected argument " "2"" of type '" "wxRegion const &""'");
10698 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IsEqual" "', expected argument " "2"" of type '" "wxRegion const &""'");
10700 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
10702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10703 result
= (bool)((wxRegion
const *)arg1
)->IsEqual((wxRegion
const &)*arg2
);
10704 wxPyEndAllowThreads(__tstate
);
10705 if (PyErr_Occurred()) SWIG_fail
;
10708 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10716 SWIGINTERN PyObject
*_wrap_Region_Union(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10717 PyObject
*resultobj
= 0;
10718 wxRegion
*arg1
= (wxRegion
*) 0 ;
10734 PyObject
* obj0
= 0 ;
10735 PyObject
* obj1
= 0 ;
10736 PyObject
* obj2
= 0 ;
10737 PyObject
* obj3
= 0 ;
10738 PyObject
* obj4
= 0 ;
10739 char * kwnames
[] = {
10740 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10743 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10744 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10745 if (!SWIG_IsOK(res1
)) {
10746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Union" "', expected argument " "1"" of type '" "wxRegion *""'");
10748 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10749 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10750 if (!SWIG_IsOK(ecode2
)) {
10751 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Union" "', expected argument " "2"" of type '" "int""'");
10753 arg2
= static_cast< int >(val2
);
10754 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10755 if (!SWIG_IsOK(ecode3
)) {
10756 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Union" "', expected argument " "3"" of type '" "int""'");
10758 arg3
= static_cast< int >(val3
);
10759 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10760 if (!SWIG_IsOK(ecode4
)) {
10761 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Union" "', expected argument " "4"" of type '" "int""'");
10763 arg4
= static_cast< int >(val4
);
10764 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10765 if (!SWIG_IsOK(ecode5
)) {
10766 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Union" "', expected argument " "5"" of type '" "int""'");
10768 arg5
= static_cast< int >(val5
);
10770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10771 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
10772 wxPyEndAllowThreads(__tstate
);
10773 if (PyErr_Occurred()) SWIG_fail
;
10776 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10784 SWIGINTERN PyObject
*_wrap_Region_UnionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10785 PyObject
*resultobj
= 0;
10786 wxRegion
*arg1
= (wxRegion
*) 0 ;
10792 PyObject
* obj0
= 0 ;
10793 PyObject
* obj1
= 0 ;
10794 char * kwnames
[] = {
10795 (char *) "self",(char *) "rect", NULL
10798 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10799 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10800 if (!SWIG_IsOK(res1
)) {
10801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10803 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10806 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10810 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
10811 wxPyEndAllowThreads(__tstate
);
10812 if (PyErr_Occurred()) SWIG_fail
;
10815 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10823 SWIGINTERN PyObject
*_wrap_Region_UnionRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10824 PyObject
*resultobj
= 0;
10825 wxRegion
*arg1
= (wxRegion
*) 0 ;
10826 wxRegion
*arg2
= 0 ;
10832 PyObject
* obj0
= 0 ;
10833 PyObject
* obj1
= 0 ;
10834 char * kwnames
[] = {
10835 (char *) "self",(char *) "region", NULL
10838 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10839 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10840 if (!SWIG_IsOK(res1
)) {
10841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
10843 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10844 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
10845 if (!SWIG_IsOK(res2
)) {
10846 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10849 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10851 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
10853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10854 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
10855 wxPyEndAllowThreads(__tstate
);
10856 if (PyErr_Occurred()) SWIG_fail
;
10859 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10867 SWIGINTERN PyObject
*_wrap_Region_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10868 PyObject
*resultobj
= 0;
10869 wxRegion
*arg1
= (wxRegion
*) 0 ;
10885 PyObject
* obj0
= 0 ;
10886 PyObject
* obj1
= 0 ;
10887 PyObject
* obj2
= 0 ;
10888 PyObject
* obj3
= 0 ;
10889 PyObject
* obj4
= 0 ;
10890 char * kwnames
[] = {
10891 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10894 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10895 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10896 if (!SWIG_IsOK(res1
)) {
10897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Subtract" "', expected argument " "1"" of type '" "wxRegion *""'");
10899 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10900 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10901 if (!SWIG_IsOK(ecode2
)) {
10902 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Subtract" "', expected argument " "2"" of type '" "int""'");
10904 arg2
= static_cast< int >(val2
);
10905 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10906 if (!SWIG_IsOK(ecode3
)) {
10907 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Subtract" "', expected argument " "3"" of type '" "int""'");
10909 arg3
= static_cast< int >(val3
);
10910 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10911 if (!SWIG_IsOK(ecode4
)) {
10912 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Subtract" "', expected argument " "4"" of type '" "int""'");
10914 arg4
= static_cast< int >(val4
);
10915 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10916 if (!SWIG_IsOK(ecode5
)) {
10917 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Subtract" "', expected argument " "5"" of type '" "int""'");
10919 arg5
= static_cast< int >(val5
);
10921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10922 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
10923 wxPyEndAllowThreads(__tstate
);
10924 if (PyErr_Occurred()) SWIG_fail
;
10927 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10935 SWIGINTERN PyObject
*_wrap_Region_SubtractRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10936 PyObject
*resultobj
= 0;
10937 wxRegion
*arg1
= (wxRegion
*) 0 ;
10943 PyObject
* obj0
= 0 ;
10944 PyObject
* obj1
= 0 ;
10945 char * kwnames
[] = {
10946 (char *) "self",(char *) "rect", NULL
10949 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10950 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10951 if (!SWIG_IsOK(res1
)) {
10952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10954 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10957 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10961 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
10962 wxPyEndAllowThreads(__tstate
);
10963 if (PyErr_Occurred()) SWIG_fail
;
10966 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10974 SWIGINTERN PyObject
*_wrap_Region_SubtractRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10975 PyObject
*resultobj
= 0;
10976 wxRegion
*arg1
= (wxRegion
*) 0 ;
10977 wxRegion
*arg2
= 0 ;
10983 PyObject
* obj0
= 0 ;
10984 PyObject
* obj1
= 0 ;
10985 char * kwnames
[] = {
10986 (char *) "self",(char *) "region", NULL
10989 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10990 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10991 if (!SWIG_IsOK(res1
)) {
10992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
10994 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10995 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
10996 if (!SWIG_IsOK(res2
)) {
10997 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11000 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11002 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11005 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
11006 wxPyEndAllowThreads(__tstate
);
11007 if (PyErr_Occurred()) SWIG_fail
;
11010 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11018 SWIGINTERN PyObject
*_wrap_Region_Xor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11019 PyObject
*resultobj
= 0;
11020 wxRegion
*arg1
= (wxRegion
*) 0 ;
11036 PyObject
* obj0
= 0 ;
11037 PyObject
* obj1
= 0 ;
11038 PyObject
* obj2
= 0 ;
11039 PyObject
* obj3
= 0 ;
11040 PyObject
* obj4
= 0 ;
11041 char * kwnames
[] = {
11042 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11045 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11046 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11047 if (!SWIG_IsOK(res1
)) {
11048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Xor" "', expected argument " "1"" of type '" "wxRegion *""'");
11050 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11051 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11052 if (!SWIG_IsOK(ecode2
)) {
11053 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Xor" "', expected argument " "2"" of type '" "int""'");
11055 arg2
= static_cast< int >(val2
);
11056 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11057 if (!SWIG_IsOK(ecode3
)) {
11058 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Xor" "', expected argument " "3"" of type '" "int""'");
11060 arg3
= static_cast< int >(val3
);
11061 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11062 if (!SWIG_IsOK(ecode4
)) {
11063 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Xor" "', expected argument " "4"" of type '" "int""'");
11065 arg4
= static_cast< int >(val4
);
11066 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11067 if (!SWIG_IsOK(ecode5
)) {
11068 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Xor" "', expected argument " "5"" of type '" "int""'");
11070 arg5
= static_cast< int >(val5
);
11072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11073 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
11074 wxPyEndAllowThreads(__tstate
);
11075 if (PyErr_Occurred()) SWIG_fail
;
11078 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11086 SWIGINTERN PyObject
*_wrap_Region_XorRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11087 PyObject
*resultobj
= 0;
11088 wxRegion
*arg1
= (wxRegion
*) 0 ;
11094 PyObject
* obj0
= 0 ;
11095 PyObject
* obj1
= 0 ;
11096 char * kwnames
[] = {
11097 (char *) "self",(char *) "rect", NULL
11100 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11101 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11102 if (!SWIG_IsOK(res1
)) {
11103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11105 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11108 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11112 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
11113 wxPyEndAllowThreads(__tstate
);
11114 if (PyErr_Occurred()) SWIG_fail
;
11117 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11125 SWIGINTERN PyObject
*_wrap_Region_XorRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11126 PyObject
*resultobj
= 0;
11127 wxRegion
*arg1
= (wxRegion
*) 0 ;
11128 wxRegion
*arg2
= 0 ;
11134 PyObject
* obj0
= 0 ;
11135 PyObject
* obj1
= 0 ;
11136 char * kwnames
[] = {
11137 (char *) "self",(char *) "region", NULL
11140 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11141 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11142 if (!SWIG_IsOK(res1
)) {
11143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11145 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11146 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11147 if (!SWIG_IsOK(res2
)) {
11148 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11151 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11153 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11156 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
11157 wxPyEndAllowThreads(__tstate
);
11158 if (PyErr_Occurred()) SWIG_fail
;
11161 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11169 SWIGINTERN PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11170 PyObject
*resultobj
= 0;
11171 wxRegion
*arg1
= (wxRegion
*) 0 ;
11172 SwigValueWrapper
<wxBitmap
> result
;
11175 PyObject
*swig_obj
[1] ;
11177 if (!args
) SWIG_fail
;
11178 swig_obj
[0] = args
;
11179 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11180 if (!SWIG_IsOK(res1
)) {
11181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ConvertToBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
11183 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11186 result
= (arg1
)->ConvertToBitmap();
11187 wxPyEndAllowThreads(__tstate
);
11188 if (PyErr_Occurred()) SWIG_fail
;
11190 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
11197 SWIGINTERN PyObject
*_wrap_Region_UnionBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11198 PyObject
*resultobj
= 0;
11199 wxRegion
*arg1
= (wxRegion
*) 0 ;
11200 wxBitmap
*arg2
= 0 ;
11206 PyObject
* obj0
= 0 ;
11207 PyObject
* obj1
= 0 ;
11208 char * kwnames
[] = {
11209 (char *) "self",(char *) "bmp", NULL
11212 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11213 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11214 if (!SWIG_IsOK(res1
)) {
11215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
11217 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11218 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11219 if (!SWIG_IsOK(res2
)) {
11220 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11223 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11225 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
11227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11228 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
);
11229 wxPyEndAllowThreads(__tstate
);
11230 if (PyErr_Occurred()) SWIG_fail
;
11233 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11241 SWIGINTERN PyObject
*_wrap_Region_UnionBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11242 PyObject
*resultobj
= 0;
11243 wxRegion
*arg1
= (wxRegion
*) 0 ;
11244 wxBitmap
*arg2
= 0 ;
11245 wxColour
*arg3
= 0 ;
11246 int arg4
= (int) 0 ;
11255 PyObject
* obj0
= 0 ;
11256 PyObject
* obj1
= 0 ;
11257 PyObject
* obj2
= 0 ;
11258 PyObject
* obj3
= 0 ;
11259 char * kwnames
[] = {
11260 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
11263 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Region_UnionBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11264 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11265 if (!SWIG_IsOK(res1
)) {
11266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmapColour" "', expected argument " "1"" of type '" "wxRegion *""'");
11268 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11269 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11270 if (!SWIG_IsOK(res2
)) {
11271 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11274 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11276 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
11279 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
11282 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11283 if (!SWIG_IsOK(ecode4
)) {
11284 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_UnionBitmapColour" "', expected argument " "4"" of type '" "int""'");
11286 arg4
= static_cast< int >(val4
);
11289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11290 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
11291 wxPyEndAllowThreads(__tstate
);
11292 if (PyErr_Occurred()) SWIG_fail
;
11295 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11303 SWIGINTERN PyObject
*Region_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11305 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11306 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegion
, SWIG_NewClientData(obj
));
11307 return SWIG_Py_Void();
11310 SWIGINTERN PyObject
*Region_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11311 return SWIG_Python_InitShadowInstance(args
);
11314 SWIGINTERN PyObject
*_wrap_new_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11315 PyObject
*resultobj
= 0;
11316 wxRegion
*arg1
= 0 ;
11317 wxRegionIterator
*result
= 0 ;
11320 PyObject
* obj0
= 0 ;
11321 char * kwnames
[] = {
11322 (char *) "region", NULL
11325 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) SWIG_fail
;
11326 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRegion
, 0 | 0);
11327 if (!SWIG_IsOK(res1
)) {
11328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
11331 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
11333 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11335 if (!wxPyCheckForApp()) SWIG_fail
;
11336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11337 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
11338 wxPyEndAllowThreads(__tstate
);
11339 if (PyErr_Occurred()) SWIG_fail
;
11341 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_NEW
| 0 );
11348 SWIGINTERN PyObject
*_wrap_delete_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11349 PyObject
*resultobj
= 0;
11350 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11353 PyObject
*swig_obj
[1] ;
11355 if (!args
) SWIG_fail
;
11356 swig_obj
[0] = args
;
11357 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_DISOWN
| 0 );
11358 if (!SWIG_IsOK(res1
)) {
11359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RegionIterator" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11361 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11366 wxPyEndAllowThreads(__tstate
);
11367 if (PyErr_Occurred()) SWIG_fail
;
11369 resultobj
= SWIG_Py_Void();
11376 SWIGINTERN PyObject
*_wrap_RegionIterator_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11377 PyObject
*resultobj
= 0;
11378 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11382 PyObject
*swig_obj
[1] ;
11384 if (!args
) SWIG_fail
;
11385 swig_obj
[0] = args
;
11386 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11387 if (!SWIG_IsOK(res1
)) {
11388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetX" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11390 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11393 result
= (int)(arg1
)->GetX();
11394 wxPyEndAllowThreads(__tstate
);
11395 if (PyErr_Occurred()) SWIG_fail
;
11397 resultobj
= SWIG_From_int(static_cast< int >(result
));
11404 SWIGINTERN PyObject
*_wrap_RegionIterator_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11405 PyObject
*resultobj
= 0;
11406 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11410 PyObject
*swig_obj
[1] ;
11412 if (!args
) SWIG_fail
;
11413 swig_obj
[0] = args
;
11414 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11415 if (!SWIG_IsOK(res1
)) {
11416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetY" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11418 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11421 result
= (int)(arg1
)->GetY();
11422 wxPyEndAllowThreads(__tstate
);
11423 if (PyErr_Occurred()) SWIG_fail
;
11425 resultobj
= SWIG_From_int(static_cast< int >(result
));
11432 SWIGINTERN PyObject
*_wrap_RegionIterator_GetW(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11433 PyObject
*resultobj
= 0;
11434 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11438 PyObject
*swig_obj
[1] ;
11440 if (!args
) SWIG_fail
;
11441 swig_obj
[0] = args
;
11442 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11443 if (!SWIG_IsOK(res1
)) {
11444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetW" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11446 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11449 result
= (int)(arg1
)->GetW();
11450 wxPyEndAllowThreads(__tstate
);
11451 if (PyErr_Occurred()) SWIG_fail
;
11453 resultobj
= SWIG_From_int(static_cast< int >(result
));
11460 SWIGINTERN PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11461 PyObject
*resultobj
= 0;
11462 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11466 PyObject
*swig_obj
[1] ;
11468 if (!args
) SWIG_fail
;
11469 swig_obj
[0] = args
;
11470 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11471 if (!SWIG_IsOK(res1
)) {
11472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetWidth" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11474 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11477 result
= (int)(arg1
)->GetWidth();
11478 wxPyEndAllowThreads(__tstate
);
11479 if (PyErr_Occurred()) SWIG_fail
;
11481 resultobj
= SWIG_From_int(static_cast< int >(result
));
11488 SWIGINTERN PyObject
*_wrap_RegionIterator_GetH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11489 PyObject
*resultobj
= 0;
11490 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11494 PyObject
*swig_obj
[1] ;
11496 if (!args
) SWIG_fail
;
11497 swig_obj
[0] = args
;
11498 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11499 if (!SWIG_IsOK(res1
)) {
11500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetH" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11502 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11505 result
= (int)(arg1
)->GetH();
11506 wxPyEndAllowThreads(__tstate
);
11507 if (PyErr_Occurred()) SWIG_fail
;
11509 resultobj
= SWIG_From_int(static_cast< int >(result
));
11516 SWIGINTERN PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11517 PyObject
*resultobj
= 0;
11518 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11522 PyObject
*swig_obj
[1] ;
11524 if (!args
) SWIG_fail
;
11525 swig_obj
[0] = args
;
11526 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11527 if (!SWIG_IsOK(res1
)) {
11528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetHeight" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11530 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11533 result
= (int)(arg1
)->GetHeight();
11534 wxPyEndAllowThreads(__tstate
);
11535 if (PyErr_Occurred()) SWIG_fail
;
11537 resultobj
= SWIG_From_int(static_cast< int >(result
));
11544 SWIGINTERN PyObject
*_wrap_RegionIterator_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11545 PyObject
*resultobj
= 0;
11546 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11550 PyObject
*swig_obj
[1] ;
11552 if (!args
) SWIG_fail
;
11553 swig_obj
[0] = args
;
11554 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11555 if (!SWIG_IsOK(res1
)) {
11556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetRect" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11558 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11561 result
= (arg1
)->GetRect();
11562 wxPyEndAllowThreads(__tstate
);
11563 if (PyErr_Occurred()) SWIG_fail
;
11565 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
11572 SWIGINTERN PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11573 PyObject
*resultobj
= 0;
11574 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11578 PyObject
*swig_obj
[1] ;
11580 if (!args
) SWIG_fail
;
11581 swig_obj
[0] = args
;
11582 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11583 if (!SWIG_IsOK(res1
)) {
11584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_HaveRects" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11586 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11589 result
= (bool)(arg1
)->HaveRects();
11590 wxPyEndAllowThreads(__tstate
);
11591 if (PyErr_Occurred()) SWIG_fail
;
11594 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11602 SWIGINTERN PyObject
*_wrap_RegionIterator_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11603 PyObject
*resultobj
= 0;
11604 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11607 PyObject
*swig_obj
[1] ;
11609 if (!args
) SWIG_fail
;
11610 swig_obj
[0] = args
;
11611 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11612 if (!SWIG_IsOK(res1
)) {
11613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Reset" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11615 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11619 wxPyEndAllowThreads(__tstate
);
11620 if (PyErr_Occurred()) SWIG_fail
;
11622 resultobj
= SWIG_Py_Void();
11629 SWIGINTERN PyObject
*_wrap_RegionIterator_Next(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11630 PyObject
*resultobj
= 0;
11631 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11634 PyObject
*swig_obj
[1] ;
11636 if (!args
) SWIG_fail
;
11637 swig_obj
[0] = args
;
11638 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11639 if (!SWIG_IsOK(res1
)) {
11640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Next" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11642 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11645 wxRegionIterator_Next(arg1
);
11646 wxPyEndAllowThreads(__tstate
);
11647 if (PyErr_Occurred()) SWIG_fail
;
11649 resultobj
= SWIG_Py_Void();
11656 SWIGINTERN PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11657 PyObject
*resultobj
= 0;
11658 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11662 PyObject
*swig_obj
[1] ;
11664 if (!args
) SWIG_fail
;
11665 swig_obj
[0] = args
;
11666 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11667 if (!SWIG_IsOK(res1
)) {
11668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator___nonzero__" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11670 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11673 result
= (bool)wxRegionIterator___nonzero__(arg1
);
11674 wxPyEndAllowThreads(__tstate
);
11675 if (PyErr_Occurred()) SWIG_fail
;
11678 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11686 SWIGINTERN PyObject
*RegionIterator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11688 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11689 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegionIterator
, SWIG_NewClientData(obj
));
11690 return SWIG_Py_Void();
11693 SWIGINTERN PyObject
*RegionIterator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11694 return SWIG_Python_InitShadowInstance(args
);
11697 SWIGINTERN PyObject
*_wrap_new_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11698 PyObject
*resultobj
= 0;
11699 wxNativeFontInfo
*result
= 0 ;
11701 if (!SWIG_Python_UnpackTuple(args
,"new_NativeFontInfo",0,0,0)) SWIG_fail
;
11703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11704 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
11705 wxPyEndAllowThreads(__tstate
);
11706 if (PyErr_Occurred()) SWIG_fail
;
11708 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_NEW
| 0 );
11715 SWIGINTERN PyObject
*_wrap_delete_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11716 PyObject
*resultobj
= 0;
11717 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11720 PyObject
*swig_obj
[1] ;
11722 if (!args
) SWIG_fail
;
11723 swig_obj
[0] = args
;
11724 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_DISOWN
| 0 );
11725 if (!SWIG_IsOK(res1
)) {
11726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeFontInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
11728 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11733 wxPyEndAllowThreads(__tstate
);
11734 if (PyErr_Occurred()) SWIG_fail
;
11736 resultobj
= SWIG_Py_Void();
11743 SWIGINTERN PyObject
*_wrap_NativeFontInfo_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11744 PyObject
*resultobj
= 0;
11745 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11748 PyObject
*swig_obj
[1] ;
11750 if (!args
) SWIG_fail
;
11751 swig_obj
[0] = args
;
11752 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11753 if (!SWIG_IsOK(res1
)) {
11754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_Init" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
11756 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11760 wxPyEndAllowThreads(__tstate
);
11761 if (PyErr_Occurred()) SWIG_fail
;
11763 resultobj
= SWIG_Py_Void();
11770 SWIGINTERN PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11771 PyObject
*resultobj
= 0;
11772 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11778 PyObject
* obj0
= 0 ;
11779 PyObject
* obj1
= 0 ;
11780 char * kwnames
[] = {
11781 (char *) "self",(char *) "font", NULL
11784 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11785 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11786 if (!SWIG_IsOK(res1
)) {
11787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
11789 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11790 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
11791 if (!SWIG_IsOK(res2
)) {
11792 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
11795 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
11797 arg2
= reinterpret_cast< wxFont
* >(argp2
);
11799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11800 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
11801 wxPyEndAllowThreads(__tstate
);
11802 if (PyErr_Occurred()) SWIG_fail
;
11804 resultobj
= SWIG_Py_Void();
11811 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11812 PyObject
*resultobj
= 0;
11813 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11817 PyObject
*swig_obj
[1] ;
11819 if (!args
) SWIG_fail
;
11820 swig_obj
[0] = args
;
11821 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11822 if (!SWIG_IsOK(res1
)) {
11823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
11825 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11828 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
11829 wxPyEndAllowThreads(__tstate
);
11830 if (PyErr_Occurred()) SWIG_fail
;
11832 resultobj
= SWIG_From_int(static_cast< int >(result
));
11839 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11840 PyObject
*resultobj
= 0;
11841 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11842 wxFontStyle result
;
11845 PyObject
*swig_obj
[1] ;
11847 if (!args
) SWIG_fail
;
11848 swig_obj
[0] = args
;
11849 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11850 if (!SWIG_IsOK(res1
)) {
11851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
11853 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11856 result
= (wxFontStyle
)((wxNativeFontInfo
const *)arg1
)->GetStyle();
11857 wxPyEndAllowThreads(__tstate
);
11858 if (PyErr_Occurred()) SWIG_fail
;
11860 resultobj
= SWIG_From_int(static_cast< int >(result
));
11867 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11868 PyObject
*resultobj
= 0;
11869 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11870 wxFontWeight result
;
11873 PyObject
*swig_obj
[1] ;
11875 if (!args
) SWIG_fail
;
11876 swig_obj
[0] = args
;
11877 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11878 if (!SWIG_IsOK(res1
)) {
11879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
11881 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11884 result
= (wxFontWeight
)((wxNativeFontInfo
const *)arg1
)->GetWeight();
11885 wxPyEndAllowThreads(__tstate
);
11886 if (PyErr_Occurred()) SWIG_fail
;
11888 resultobj
= SWIG_From_int(static_cast< int >(result
));
11895 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11896 PyObject
*resultobj
= 0;
11897 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11901 PyObject
*swig_obj
[1] ;
11903 if (!args
) SWIG_fail
;
11904 swig_obj
[0] = args
;
11905 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11906 if (!SWIG_IsOK(res1
)) {
11907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
11909 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11912 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
11913 wxPyEndAllowThreads(__tstate
);
11914 if (PyErr_Occurred()) SWIG_fail
;
11917 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11925 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11926 PyObject
*resultobj
= 0;
11927 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
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_GetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
11939 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11942 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
11943 wxPyEndAllowThreads(__tstate
);
11944 if (PyErr_Occurred()) SWIG_fail
;
11948 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11950 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11959 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11960 PyObject
*resultobj
= 0;
11961 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11962 wxFontFamily result
;
11965 PyObject
*swig_obj
[1] ;
11967 if (!args
) SWIG_fail
;
11968 swig_obj
[0] = args
;
11969 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11970 if (!SWIG_IsOK(res1
)) {
11971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
11973 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11976 result
= (wxFontFamily
)((wxNativeFontInfo
const *)arg1
)->GetFamily();
11977 wxPyEndAllowThreads(__tstate
);
11978 if (PyErr_Occurred()) SWIG_fail
;
11980 resultobj
= SWIG_From_int(static_cast< int >(result
));
11987 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11988 PyObject
*resultobj
= 0;
11989 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11990 wxFontEncoding result
;
11993 PyObject
*swig_obj
[1] ;
11995 if (!args
) SWIG_fail
;
11996 swig_obj
[0] = args
;
11997 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11998 if (!SWIG_IsOK(res1
)) {
11999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12001 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12004 result
= (wxFontEncoding
)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
12005 wxPyEndAllowThreads(__tstate
);
12006 if (PyErr_Occurred()) SWIG_fail
;
12008 resultobj
= SWIG_From_int(static_cast< int >(result
));
12015 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12016 PyObject
*resultobj
= 0;
12017 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12023 PyObject
* obj0
= 0 ;
12024 PyObject
* obj1
= 0 ;
12025 char * kwnames
[] = {
12026 (char *) "self",(char *) "pointsize", NULL
12029 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12030 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12031 if (!SWIG_IsOK(res1
)) {
12032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12034 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12035 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12036 if (!SWIG_IsOK(ecode2
)) {
12037 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "2"" of type '" "int""'");
12039 arg2
= static_cast< int >(val2
);
12041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12042 (arg1
)->SetPointSize(arg2
);
12043 wxPyEndAllowThreads(__tstate
);
12044 if (PyErr_Occurred()) SWIG_fail
;
12046 resultobj
= SWIG_Py_Void();
12053 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12054 PyObject
*resultobj
= 0;
12055 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12061 PyObject
* obj0
= 0 ;
12062 PyObject
* obj1
= 0 ;
12063 char * kwnames
[] = {
12064 (char *) "self",(char *) "style", NULL
12067 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12068 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12069 if (!SWIG_IsOK(res1
)) {
12070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12072 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12073 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12074 if (!SWIG_IsOK(ecode2
)) {
12075 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "2"" of type '" "wxFontStyle""'");
12077 arg2
= static_cast< wxFontStyle
>(val2
);
12079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12080 (arg1
)->SetStyle(arg2
);
12081 wxPyEndAllowThreads(__tstate
);
12082 if (PyErr_Occurred()) SWIG_fail
;
12084 resultobj
= SWIG_Py_Void();
12091 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12092 PyObject
*resultobj
= 0;
12093 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12094 wxFontWeight arg2
;
12099 PyObject
* obj0
= 0 ;
12100 PyObject
* obj1
= 0 ;
12101 char * kwnames
[] = {
12102 (char *) "self",(char *) "weight", NULL
12105 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12106 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12107 if (!SWIG_IsOK(res1
)) {
12108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12110 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12111 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12112 if (!SWIG_IsOK(ecode2
)) {
12113 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "2"" of type '" "wxFontWeight""'");
12115 arg2
= static_cast< wxFontWeight
>(val2
);
12117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12118 (arg1
)->SetWeight(arg2
);
12119 wxPyEndAllowThreads(__tstate
);
12120 if (PyErr_Occurred()) SWIG_fail
;
12122 resultobj
= SWIG_Py_Void();
12129 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12130 PyObject
*resultobj
= 0;
12131 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12137 PyObject
* obj0
= 0 ;
12138 PyObject
* obj1
= 0 ;
12139 char * kwnames
[] = {
12140 (char *) "self",(char *) "underlined", NULL
12143 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12144 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12145 if (!SWIG_IsOK(res1
)) {
12146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12148 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12149 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12150 if (!SWIG_IsOK(ecode2
)) {
12151 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
12153 arg2
= static_cast< bool >(val2
);
12155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12156 (arg1
)->SetUnderlined(arg2
);
12157 wxPyEndAllowThreads(__tstate
);
12158 if (PyErr_Occurred()) SWIG_fail
;
12160 resultobj
= SWIG_Py_Void();
12167 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12168 PyObject
*resultobj
= 0;
12169 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12174 PyObject
* obj0
= 0 ;
12175 PyObject
* obj1
= 0 ;
12176 char * kwnames
[] = {
12177 (char *) "self",(char *) "facename", NULL
12180 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12181 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12182 if (!SWIG_IsOK(res1
)) {
12183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12185 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12187 wxString
* sptr
= wxString_in_helper(obj1
);
12188 if (sptr
== NULL
) SWIG_fail
;
12193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12194 result
= (bool)(arg1
)->SetFaceName(arg2
);
12195 wxPyEndAllowThreads(__tstate
);
12196 if (PyErr_Occurred()) SWIG_fail
;
12199 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12207 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12208 PyObject
*resultobj
= 0;
12209 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12210 wxFontFamily arg2
;
12215 PyObject
* obj0
= 0 ;
12216 PyObject
* obj1
= 0 ;
12217 char * kwnames
[] = {
12218 (char *) "self",(char *) "family", NULL
12221 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12222 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12223 if (!SWIG_IsOK(res1
)) {
12224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12226 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12227 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12228 if (!SWIG_IsOK(ecode2
)) {
12229 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "2"" of type '" "wxFontFamily""'");
12231 arg2
= static_cast< wxFontFamily
>(val2
);
12233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12234 (arg1
)->SetFamily(arg2
);
12235 wxPyEndAllowThreads(__tstate
);
12236 if (PyErr_Occurred()) SWIG_fail
;
12238 resultobj
= SWIG_Py_Void();
12245 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12246 PyObject
*resultobj
= 0;
12247 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12248 wxFontEncoding arg2
;
12253 PyObject
* obj0
= 0 ;
12254 PyObject
* obj1
= 0 ;
12255 char * kwnames
[] = {
12256 (char *) "self",(char *) "encoding", NULL
12259 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12260 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12261 if (!SWIG_IsOK(res1
)) {
12262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12264 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12265 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12266 if (!SWIG_IsOK(ecode2
)) {
12267 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
12269 arg2
= static_cast< wxFontEncoding
>(val2
);
12271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12272 (arg1
)->SetEncoding(arg2
);
12273 wxPyEndAllowThreads(__tstate
);
12274 if (PyErr_Occurred()) SWIG_fail
;
12276 resultobj
= SWIG_Py_Void();
12283 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12284 PyObject
*resultobj
= 0;
12285 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12286 wxString
*arg2
= 0 ;
12290 bool temp2
= false ;
12291 PyObject
* obj0
= 0 ;
12292 PyObject
* obj1
= 0 ;
12293 char * kwnames
[] = {
12294 (char *) "self",(char *) "s", NULL
12297 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12298 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12299 if (!SWIG_IsOK(res1
)) {
12300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12302 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12304 arg2
= wxString_in_helper(obj1
);
12305 if (arg2
== NULL
) SWIG_fail
;
12309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12310 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
12311 wxPyEndAllowThreads(__tstate
);
12312 if (PyErr_Occurred()) SWIG_fail
;
12315 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12331 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToString(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_ToString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12345 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12348 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
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___str__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12366 PyObject
*resultobj
= 0;
12367 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12371 PyObject
*swig_obj
[1] ;
12373 if (!args
) SWIG_fail
;
12374 swig_obj
[0] = args
;
12375 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12376 if (!SWIG_IsOK(res1
)) {
12377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo___str__" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12379 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12382 result
= wxNativeFontInfo___str__(arg1
);
12383 wxPyEndAllowThreads(__tstate
);
12384 if (PyErr_Occurred()) SWIG_fail
;
12388 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12390 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12399 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12400 PyObject
*resultobj
= 0;
12401 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12402 wxString
*arg2
= 0 ;
12406 bool temp2
= false ;
12407 PyObject
* obj0
= 0 ;
12408 PyObject
* obj1
= 0 ;
12409 char * kwnames
[] = {
12410 (char *) "self",(char *) "s", NULL
12413 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12414 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12415 if (!SWIG_IsOK(res1
)) {
12416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12418 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12420 arg2
= wxString_in_helper(obj1
);
12421 if (arg2
== NULL
) SWIG_fail
;
12425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12426 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
12427 wxPyEndAllowThreads(__tstate
);
12428 if (PyErr_Occurred()) SWIG_fail
;
12431 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12447 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12448 PyObject
*resultobj
= 0;
12449 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12453 PyObject
*swig_obj
[1] ;
12455 if (!args
) SWIG_fail
;
12456 swig_obj
[0] = args
;
12457 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12458 if (!SWIG_IsOK(res1
)) {
12459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12461 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12464 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
12465 wxPyEndAllowThreads(__tstate
);
12466 if (PyErr_Occurred()) SWIG_fail
;
12470 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12472 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12481 SWIGINTERN PyObject
*NativeFontInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12483 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12484 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeFontInfo
, SWIG_NewClientData(obj
));
12485 return SWIG_Py_Void();
12488 SWIGINTERN PyObject
*NativeFontInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12489 return SWIG_Python_InitShadowInstance(args
);
12492 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12493 PyObject
*resultobj
= 0;
12494 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12495 wxString
*arg2
= (wxString
*) 0 ;
12498 bool temp2
= false ;
12499 PyObject
*swig_obj
[2] ;
12501 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_facename_set",2,2,swig_obj
)) SWIG_fail
;
12502 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12503 if (!SWIG_IsOK(res1
)) {
12504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12506 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12508 arg2
= wxString_in_helper(swig_obj
[1]);
12509 if (arg2
== NULL
) SWIG_fail
;
12512 if (arg1
) (arg1
)->facename
= *arg2
;
12514 resultobj
= SWIG_Py_Void();
12529 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12530 PyObject
*resultobj
= 0;
12531 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12532 wxString
*result
= 0 ;
12535 PyObject
*swig_obj
[1] ;
12537 if (!args
) SWIG_fail
;
12538 swig_obj
[0] = args
;
12539 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12540 if (!SWIG_IsOK(res1
)) {
12541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12543 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12544 result
= (wxString
*)& ((arg1
)->facename
);
12547 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12549 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12558 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12559 PyObject
*resultobj
= 0;
12560 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12561 wxFontEncoding arg2
;
12566 PyObject
*swig_obj
[2] ;
12568 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_encoding_set",2,2,swig_obj
)) SWIG_fail
;
12569 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12570 if (!SWIG_IsOK(res1
)) {
12571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12573 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12574 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
12575 if (!SWIG_IsOK(ecode2
)) {
12576 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "2"" of type '" "wxFontEncoding""'");
12578 arg2
= static_cast< wxFontEncoding
>(val2
);
12579 if (arg1
) (arg1
)->encoding
= arg2
;
12581 resultobj
= SWIG_Py_Void();
12588 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12589 PyObject
*resultobj
= 0;
12590 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12591 wxFontEncoding result
;
12594 PyObject
*swig_obj
[1] ;
12596 if (!args
) SWIG_fail
;
12597 swig_obj
[0] = args
;
12598 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12599 if (!SWIG_IsOK(res1
)) {
12600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12602 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12603 result
= (wxFontEncoding
) ((arg1
)->encoding
);
12604 resultobj
= SWIG_From_int(static_cast< int >(result
));
12611 SWIGINTERN PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12612 PyObject
*resultobj
= 0;
12613 wxNativeEncodingInfo
*result
= 0 ;
12615 if (!SWIG_Python_UnpackTuple(args
,"new_NativeEncodingInfo",0,0,0)) SWIG_fail
;
12617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12618 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
12619 wxPyEndAllowThreads(__tstate
);
12620 if (PyErr_Occurred()) SWIG_fail
;
12622 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_NEW
| 0 );
12629 SWIGINTERN PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12630 PyObject
*resultobj
= 0;
12631 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12634 PyObject
*swig_obj
[1] ;
12636 if (!args
) SWIG_fail
;
12637 swig_obj
[0] = args
;
12638 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_DISOWN
| 0 );
12639 if (!SWIG_IsOK(res1
)) {
12640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeEncodingInfo" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12642 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12647 wxPyEndAllowThreads(__tstate
);
12648 if (PyErr_Occurred()) SWIG_fail
;
12650 resultobj
= SWIG_Py_Void();
12657 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12658 PyObject
*resultobj
= 0;
12659 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12660 wxString
*arg2
= 0 ;
12664 bool temp2
= false ;
12665 PyObject
* obj0
= 0 ;
12666 PyObject
* obj1
= 0 ;
12667 char * kwnames
[] = {
12668 (char *) "self",(char *) "s", NULL
12671 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12672 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12673 if (!SWIG_IsOK(res1
)) {
12674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_FromString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12676 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12678 arg2
= wxString_in_helper(obj1
);
12679 if (arg2
== NULL
) SWIG_fail
;
12683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12684 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
12685 wxPyEndAllowThreads(__tstate
);
12686 if (PyErr_Occurred()) SWIG_fail
;
12689 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12705 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12706 PyObject
*resultobj
= 0;
12707 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12711 PyObject
*swig_obj
[1] ;
12713 if (!args
) SWIG_fail
;
12714 swig_obj
[0] = args
;
12715 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12716 if (!SWIG_IsOK(res1
)) {
12717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_ToString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const *""'");
12719 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12722 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
12723 wxPyEndAllowThreads(__tstate
);
12724 if (PyErr_Occurred()) SWIG_fail
;
12728 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12730 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12739 SWIGINTERN PyObject
*NativeEncodingInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12741 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12742 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_NewClientData(obj
));
12743 return SWIG_Py_Void();
12746 SWIGINTERN PyObject
*NativeEncodingInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12747 return SWIG_Python_InitShadowInstance(args
);
12750 SWIGINTERN PyObject
*_wrap_GetNativeFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12751 PyObject
*resultobj
= 0;
12752 wxFontEncoding arg1
;
12753 wxNativeEncodingInfo
*result
= 0 ;
12756 PyObject
* obj0
= 0 ;
12757 char * kwnames
[] = {
12758 (char *) "encoding", NULL
12761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
12762 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
12763 if (!SWIG_IsOK(ecode1
)) {
12764 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetNativeFontEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
12766 arg1
= static_cast< wxFontEncoding
>(val1
);
12768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12769 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding(arg1
);
12770 wxPyEndAllowThreads(__tstate
);
12771 if (PyErr_Occurred()) SWIG_fail
;
12773 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12780 SWIGINTERN PyObject
*_wrap_TestFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12781 PyObject
*resultobj
= 0;
12782 wxNativeEncodingInfo
*arg1
= 0 ;
12786 PyObject
* obj0
= 0 ;
12787 char * kwnames
[] = {
12788 (char *) "info", NULL
12791 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
12792 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0);
12793 if (!SWIG_IsOK(res1
)) {
12794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
12797 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
12799 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12802 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
12803 wxPyEndAllowThreads(__tstate
);
12804 if (PyErr_Occurred()) SWIG_fail
;
12807 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12815 SWIGINTERN PyObject
*_wrap_new_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12816 PyObject
*resultobj
= 0;
12817 wxFontMapper
*result
= 0 ;
12819 if (!SWIG_Python_UnpackTuple(args
,"new_FontMapper",0,0,0)) SWIG_fail
;
12821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12822 result
= (wxFontMapper
*)new wxFontMapper();
12823 wxPyEndAllowThreads(__tstate
);
12824 if (PyErr_Occurred()) SWIG_fail
;
12826 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_NEW
| 0 );
12833 SWIGINTERN PyObject
*_wrap_delete_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12834 PyObject
*resultobj
= 0;
12835 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
12838 PyObject
*swig_obj
[1] ;
12840 if (!args
) SWIG_fail
;
12841 swig_obj
[0] = args
;
12842 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_DISOWN
| 0 );
12843 if (!SWIG_IsOK(res1
)) {
12844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontMapper" "', expected argument " "1"" of type '" "wxFontMapper *""'");
12846 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
12848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12851 wxPyEndAllowThreads(__tstate
);
12852 if (PyErr_Occurred()) SWIG_fail
;
12854 resultobj
= SWIG_Py_Void();
12861 SWIGINTERN PyObject
*_wrap_FontMapper_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12862 PyObject
*resultobj
= 0;
12863 wxFontMapper
*result
= 0 ;
12865 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_Get",0,0,0)) SWIG_fail
;
12867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12868 result
= (wxFontMapper
*)wxFontMapper::Get();
12869 wxPyEndAllowThreads(__tstate
);
12870 if (PyErr_Occurred()) SWIG_fail
;
12872 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
12879 SWIGINTERN PyObject
*_wrap_FontMapper_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12880 PyObject
*resultobj
= 0;
12881 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
12882 wxFontMapper
*result
= 0 ;
12885 PyObject
* obj0
= 0 ;
12886 char * kwnames
[] = {
12887 (char *) "mapper", NULL
12890 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) SWIG_fail
;
12891 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
12892 if (!SWIG_IsOK(res1
)) {
12893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_Set" "', expected argument " "1"" of type '" "wxFontMapper *""'");
12895 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
12897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12898 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
12899 wxPyEndAllowThreads(__tstate
);
12900 if (PyErr_Occurred()) SWIG_fail
;
12902 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
12909 SWIGINTERN PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12910 PyObject
*resultobj
= 0;
12911 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
12912 wxString
*arg2
= 0 ;
12913 bool arg3
= (bool) true ;
12914 wxFontEncoding result
;
12917 bool temp2
= false ;
12920 PyObject
* obj0
= 0 ;
12921 PyObject
* obj1
= 0 ;
12922 PyObject
* obj2
= 0 ;
12923 char * kwnames
[] = {
12924 (char *) "self",(char *) "charset",(char *) "interactive", NULL
12927 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12928 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
12929 if (!SWIG_IsOK(res1
)) {
12930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
12932 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
12934 arg2
= wxString_in_helper(obj1
);
12935 if (arg2
== NULL
) SWIG_fail
;
12939 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
12940 if (!SWIG_IsOK(ecode3
)) {
12941 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "3"" of type '" "bool""'");
12943 arg3
= static_cast< bool >(val3
);
12946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12947 result
= (wxFontEncoding
)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
12948 wxPyEndAllowThreads(__tstate
);
12949 if (PyErr_Occurred()) SWIG_fail
;
12951 resultobj
= SWIG_From_int(static_cast< int >(result
));
12966 SWIGINTERN PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12967 PyObject
*resultobj
= 0;
12970 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetSupportedEncodingsCount",0,0,0)) SWIG_fail
;
12972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12973 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
12974 wxPyEndAllowThreads(__tstate
);
12975 if (PyErr_Occurred()) SWIG_fail
;
12977 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
12984 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12985 PyObject
*resultobj
= 0;
12987 wxFontEncoding result
;
12990 PyObject
* obj0
= 0 ;
12991 char * kwnames
[] = {
12995 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) SWIG_fail
;
12996 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
12997 if (!SWIG_IsOK(ecode1
)) {
12998 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncoding" "', expected argument " "1"" of type '" "size_t""'");
13000 arg1
= static_cast< size_t >(val1
);
13002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13003 result
= (wxFontEncoding
)wxFontMapper::GetEncoding(arg1
);
13004 wxPyEndAllowThreads(__tstate
);
13005 if (PyErr_Occurred()) SWIG_fail
;
13007 resultobj
= SWIG_From_int(static_cast< int >(result
));
13014 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13015 PyObject
*resultobj
= 0;
13016 wxFontEncoding arg1
;
13020 PyObject
* obj0
= 0 ;
13021 char * kwnames
[] = {
13022 (char *) "encoding", NULL
13025 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) SWIG_fail
;
13026 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13027 if (!SWIG_IsOK(ecode1
)) {
13028 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingName" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13030 arg1
= static_cast< wxFontEncoding
>(val1
);
13032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13033 result
= wxFontMapper::GetEncodingName(arg1
);
13034 wxPyEndAllowThreads(__tstate
);
13035 if (PyErr_Occurred()) SWIG_fail
;
13039 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13041 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13050 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13051 PyObject
*resultobj
= 0;
13052 wxFontEncoding arg1
;
13056 PyObject
* obj0
= 0 ;
13057 char * kwnames
[] = {
13058 (char *) "encoding", NULL
13061 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) SWIG_fail
;
13062 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13063 if (!SWIG_IsOK(ecode1
)) {
13064 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingDescription" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13066 arg1
= static_cast< wxFontEncoding
>(val1
);
13068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13069 result
= wxFontMapper::GetEncodingDescription(arg1
);
13070 wxPyEndAllowThreads(__tstate
);
13071 if (PyErr_Occurred()) SWIG_fail
;
13075 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13077 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13086 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13087 PyObject
*resultobj
= 0;
13088 wxString
*arg1
= 0 ;
13089 wxFontEncoding result
;
13090 bool temp1
= false ;
13091 PyObject
* obj0
= 0 ;
13092 char * kwnames
[] = {
13093 (char *) "name", NULL
13096 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) SWIG_fail
;
13098 arg1
= wxString_in_helper(obj0
);
13099 if (arg1
== NULL
) SWIG_fail
;
13103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13104 result
= (wxFontEncoding
)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
13105 wxPyEndAllowThreads(__tstate
);
13106 if (PyErr_Occurred()) SWIG_fail
;
13108 resultobj
= SWIG_From_int(static_cast< int >(result
));
13123 SWIGINTERN PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13124 PyObject
*resultobj
= 0;
13125 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13126 wxString
*arg2
= 0 ;
13129 bool temp2
= false ;
13130 PyObject
* obj0
= 0 ;
13131 PyObject
* obj1
= 0 ;
13132 char * kwnames
[] = {
13133 (char *) "self",(char *) "prefix", NULL
13136 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13137 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13138 if (!SWIG_IsOK(res1
)) {
13139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetConfigPath" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13141 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13143 arg2
= wxString_in_helper(obj1
);
13144 if (arg2
== NULL
) SWIG_fail
;
13148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13149 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
13150 wxPyEndAllowThreads(__tstate
);
13151 if (PyErr_Occurred()) SWIG_fail
;
13153 resultobj
= SWIG_Py_Void();
13168 SWIGINTERN PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13169 PyObject
*resultobj
= 0;
13172 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetDefaultConfigPath",0,0,0)) SWIG_fail
;
13174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13175 result
= wxFontMapper::GetDefaultConfigPath();
13176 wxPyEndAllowThreads(__tstate
);
13177 if (PyErr_Occurred()) SWIG_fail
;
13181 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13183 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13192 SWIGINTERN PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13193 PyObject
*resultobj
= 0;
13194 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13195 wxFontEncoding arg2
;
13196 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13197 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13198 bool arg4
= (bool) true ;
13199 PyObject
*result
= 0 ;
13204 bool temp3
= false ;
13207 PyObject
* obj0
= 0 ;
13208 PyObject
* obj1
= 0 ;
13209 PyObject
* obj2
= 0 ;
13210 PyObject
* obj3
= 0 ;
13211 char * kwnames
[] = {
13212 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
13215 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13216 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13217 if (!SWIG_IsOK(res1
)) {
13218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13220 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13221 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13222 if (!SWIG_IsOK(ecode2
)) {
13223 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13225 arg2
= static_cast< wxFontEncoding
>(val2
);
13228 arg3
= wxString_in_helper(obj2
);
13229 if (arg3
== NULL
) SWIG_fail
;
13234 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
13235 if (!SWIG_IsOK(ecode4
)) {
13236 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "4"" of type '" "bool""'");
13238 arg4
= static_cast< bool >(val4
);
13241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13242 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
13243 wxPyEndAllowThreads(__tstate
);
13244 if (PyErr_Occurred()) SWIG_fail
;
13246 resultobj
= result
;
13261 SWIGINTERN PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13262 PyObject
*resultobj
= 0;
13263 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13264 wxFontEncoding arg2
;
13265 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13266 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13272 bool temp3
= false ;
13273 PyObject
* obj0
= 0 ;
13274 PyObject
* obj1
= 0 ;
13275 PyObject
* obj2
= 0 ;
13276 char * kwnames
[] = {
13277 (char *) "self",(char *) "encoding",(char *) "facename", NULL
13280 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13281 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13282 if (!SWIG_IsOK(res1
)) {
13283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13285 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13286 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13287 if (!SWIG_IsOK(ecode2
)) {
13288 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13290 arg2
= static_cast< wxFontEncoding
>(val2
);
13293 arg3
= wxString_in_helper(obj2
);
13294 if (arg3
== NULL
) SWIG_fail
;
13299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13300 result
= (bool)(arg1
)->IsEncodingAvailable(arg2
,(wxString
const &)*arg3
);
13301 wxPyEndAllowThreads(__tstate
);
13302 if (PyErr_Occurred()) SWIG_fail
;
13305 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13321 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13322 PyObject
*resultobj
= 0;
13323 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13324 wxWindow
*arg2
= (wxWindow
*) 0 ;
13329 PyObject
* obj0
= 0 ;
13330 PyObject
* obj1
= 0 ;
13331 char * kwnames
[] = {
13332 (char *) "self",(char *) "parent", NULL
13335 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13336 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13337 if (!SWIG_IsOK(res1
)) {
13338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13340 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13341 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13342 if (!SWIG_IsOK(res2
)) {
13343 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "2"" of type '" "wxWindow *""'");
13345 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13348 (arg1
)->SetDialogParent(arg2
);
13349 wxPyEndAllowThreads(__tstate
);
13350 if (PyErr_Occurred()) SWIG_fail
;
13352 resultobj
= SWIG_Py_Void();
13359 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13360 PyObject
*resultobj
= 0;
13361 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13362 wxString
*arg2
= 0 ;
13365 bool temp2
= false ;
13366 PyObject
* obj0
= 0 ;
13367 PyObject
* obj1
= 0 ;
13368 char * kwnames
[] = {
13369 (char *) "self",(char *) "title", NULL
13372 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13373 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13374 if (!SWIG_IsOK(res1
)) {
13375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogTitle" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13377 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13379 arg2
= wxString_in_helper(obj1
);
13380 if (arg2
== NULL
) SWIG_fail
;
13384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13385 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
13386 wxPyEndAllowThreads(__tstate
);
13387 if (PyErr_Occurred()) SWIG_fail
;
13389 resultobj
= SWIG_Py_Void();
13404 SWIGINTERN PyObject
*FontMapper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13406 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13407 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontMapper
, SWIG_NewClientData(obj
));
13408 return SWIG_Py_Void();
13411 SWIGINTERN PyObject
*FontMapper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13412 return SWIG_Python_InitShadowInstance(args
);
13415 SWIGINTERN PyObject
*_wrap_new_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13416 PyObject
*resultobj
= 0;
13421 bool arg5
= (bool) false ;
13422 wxString
const &arg6_defvalue
= wxPyEmptyString
;
13423 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13424 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13425 wxFont
*result
= 0 ;
13436 bool temp6
= false ;
13439 PyObject
* obj0
= 0 ;
13440 PyObject
* obj1
= 0 ;
13441 PyObject
* obj2
= 0 ;
13442 PyObject
* obj3
= 0 ;
13443 PyObject
* obj4
= 0 ;
13444 PyObject
* obj5
= 0 ;
13445 PyObject
* obj6
= 0 ;
13446 char * kwnames
[] = {
13447 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
13450 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
13451 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13452 if (!SWIG_IsOK(ecode1
)) {
13453 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Font" "', expected argument " "1"" of type '" "int""'");
13455 arg1
= static_cast< int >(val1
);
13456 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13457 if (!SWIG_IsOK(ecode2
)) {
13458 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Font" "', expected argument " "2"" of type '" "int""'");
13460 arg2
= static_cast< int >(val2
);
13461 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13462 if (!SWIG_IsOK(ecode3
)) {
13463 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Font" "', expected argument " "3"" of type '" "int""'");
13465 arg3
= static_cast< int >(val3
);
13466 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
13467 if (!SWIG_IsOK(ecode4
)) {
13468 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Font" "', expected argument " "4"" of type '" "int""'");
13470 arg4
= static_cast< int >(val4
);
13472 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
13473 if (!SWIG_IsOK(ecode5
)) {
13474 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Font" "', expected argument " "5"" of type '" "bool""'");
13476 arg5
= static_cast< bool >(val5
);
13480 arg6
= wxString_in_helper(obj5
);
13481 if (arg6
== NULL
) SWIG_fail
;
13486 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
13487 if (!SWIG_IsOK(ecode7
)) {
13488 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_Font" "', expected argument " "7"" of type '" "wxFontEncoding""'");
13490 arg7
= static_cast< wxFontEncoding
>(val7
);
13493 if (!wxPyCheckForApp()) SWIG_fail
;
13494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13495 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
13496 wxPyEndAllowThreads(__tstate
);
13497 if (PyErr_Occurred()) SWIG_fail
;
13499 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_NEW
| 0 );
13514 SWIGINTERN PyObject
*_wrap_delete_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13515 PyObject
*resultobj
= 0;
13516 wxFont
*arg1
= (wxFont
*) 0 ;
13519 PyObject
*swig_obj
[1] ;
13521 if (!args
) SWIG_fail
;
13522 swig_obj
[0] = args
;
13523 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, SWIG_POINTER_DISOWN
| 0 );
13524 if (!SWIG_IsOK(res1
)) {
13525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Font" "', expected argument " "1"" of type '" "wxFont *""'");
13527 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13532 wxPyEndAllowThreads(__tstate
);
13533 if (PyErr_Occurred()) SWIG_fail
;
13535 resultobj
= SWIG_Py_Void();
13542 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13543 PyObject
*resultobj
= 0;
13544 wxNativeFontInfo
*arg1
= 0 ;
13545 wxFont
*result
= 0 ;
13548 PyObject
* obj0
= 0 ;
13549 char * kwnames
[] = {
13550 (char *) "info", NULL
13553 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) SWIG_fail
;
13554 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
13555 if (!SWIG_IsOK(res1
)) {
13556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
13559 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
13561 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13563 if (!wxPyCheckForApp()) SWIG_fail
;
13564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13565 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
13566 wxPyEndAllowThreads(__tstate
);
13567 if (PyErr_Occurred()) SWIG_fail
;
13569 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13576 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13577 PyObject
*resultobj
= 0;
13578 wxString
*arg1
= 0 ;
13579 wxFont
*result
= 0 ;
13580 bool temp1
= false ;
13581 PyObject
* obj0
= 0 ;
13582 char * kwnames
[] = {
13583 (char *) "info", NULL
13586 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) SWIG_fail
;
13588 arg1
= wxString_in_helper(obj0
);
13589 if (arg1
== NULL
) SWIG_fail
;
13593 if (!wxPyCheckForApp()) SWIG_fail
;
13594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13595 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
13596 wxPyEndAllowThreads(__tstate
);
13597 if (PyErr_Occurred()) SWIG_fail
;
13599 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13614 SWIGINTERN PyObject
*_wrap_new_FFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13615 PyObject
*resultobj
= 0;
13617 wxFontFamily arg2
;
13618 int arg3
= (int) wxFONTFLAG_DEFAULT
;
13619 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13620 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13621 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13622 wxFont
*result
= 0 ;
13629 bool temp4
= false ;
13632 PyObject
* obj0
= 0 ;
13633 PyObject
* obj1
= 0 ;
13634 PyObject
* obj2
= 0 ;
13635 PyObject
* obj3
= 0 ;
13636 PyObject
* obj4
= 0 ;
13637 char * kwnames
[] = {
13638 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
13641 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
13642 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13643 if (!SWIG_IsOK(ecode1
)) {
13644 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FFont" "', expected argument " "1"" of type '" "int""'");
13646 arg1
= static_cast< int >(val1
);
13647 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13648 if (!SWIG_IsOK(ecode2
)) {
13649 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFont" "', expected argument " "2"" of type '" "wxFontFamily""'");
13651 arg2
= static_cast< wxFontFamily
>(val2
);
13653 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13654 if (!SWIG_IsOK(ecode3
)) {
13655 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFont" "', expected argument " "3"" of type '" "int""'");
13657 arg3
= static_cast< int >(val3
);
13661 arg4
= wxString_in_helper(obj3
);
13662 if (arg4
== NULL
) SWIG_fail
;
13667 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
13668 if (!SWIG_IsOK(ecode5
)) {
13669 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFont" "', expected argument " "5"" of type '" "wxFontEncoding""'");
13671 arg5
= static_cast< wxFontEncoding
>(val5
);
13674 if (!wxPyCheckForApp()) SWIG_fail
;
13675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13676 result
= (wxFont
*)new_wxFont(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
13677 wxPyEndAllowThreads(__tstate
);
13678 if (PyErr_Occurred()) SWIG_fail
;
13680 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13695 SWIGINTERN PyObject
*_wrap_new_FontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13696 PyObject
*resultobj
= 0;
13701 bool arg5
= (bool) false ;
13702 wxString
const &arg6_defvalue
= wxEmptyString
;
13703 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13704 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13705 wxFont
*result
= 0 ;
13715 bool temp6
= false ;
13718 PyObject
* obj0
= 0 ;
13719 PyObject
* obj1
= 0 ;
13720 PyObject
* obj2
= 0 ;
13721 PyObject
* obj3
= 0 ;
13722 PyObject
* obj4
= 0 ;
13723 PyObject
* obj5
= 0 ;
13724 PyObject
* obj6
= 0 ;
13725 char * kwnames
[] = {
13726 (char *) "pixelSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underlined",(char *) "face",(char *) "encoding", NULL
13729 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_FontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
13732 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
13734 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13735 if (!SWIG_IsOK(ecode2
)) {
13736 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontFromPixelSize" "', expected argument " "2"" of type '" "int""'");
13738 arg2
= static_cast< int >(val2
);
13739 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13740 if (!SWIG_IsOK(ecode3
)) {
13741 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
13743 arg3
= static_cast< int >(val3
);
13744 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
13745 if (!SWIG_IsOK(ecode4
)) {
13746 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FontFromPixelSize" "', expected argument " "4"" of type '" "int""'");
13748 arg4
= static_cast< int >(val4
);
13750 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
13751 if (!SWIG_IsOK(ecode5
)) {
13752 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FontFromPixelSize" "', expected argument " "5"" of type '" "bool""'");
13754 arg5
= static_cast< bool >(val5
);
13758 arg6
= wxString_in_helper(obj5
);
13759 if (arg6
== NULL
) SWIG_fail
;
13764 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
13765 if (!SWIG_IsOK(ecode7
)) {
13766 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_FontFromPixelSize" "', expected argument " "7"" of type '" "wxFontEncoding""'");
13768 arg7
= static_cast< wxFontEncoding
>(val7
);
13771 if (!wxPyCheckForApp()) SWIG_fail
;
13772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13773 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
13774 wxPyEndAllowThreads(__tstate
);
13775 if (PyErr_Occurred()) SWIG_fail
;
13777 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13792 SWIGINTERN PyObject
*_wrap_new_FFontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13793 PyObject
*resultobj
= 0;
13795 wxFontFamily arg2
;
13796 int arg3
= (int) wxFONTFLAG_DEFAULT
;
13797 wxString
const &arg4_defvalue
= wxEmptyString
;
13798 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13799 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13800 wxFont
*result
= 0 ;
13806 bool temp4
= false ;
13809 PyObject
* obj0
= 0 ;
13810 PyObject
* obj1
= 0 ;
13811 PyObject
* obj2
= 0 ;
13812 PyObject
* obj3
= 0 ;
13813 PyObject
* obj4
= 0 ;
13814 char * kwnames
[] = {
13815 (char *) "pixelSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
13818 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
13821 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
13823 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13824 if (!SWIG_IsOK(ecode2
)) {
13825 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFontFromPixelSize" "', expected argument " "2"" of type '" "wxFontFamily""'");
13827 arg2
= static_cast< wxFontFamily
>(val2
);
13829 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13830 if (!SWIG_IsOK(ecode3
)) {
13831 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
13833 arg3
= static_cast< int >(val3
);
13837 arg4
= wxString_in_helper(obj3
);
13838 if (arg4
== NULL
) SWIG_fail
;
13843 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
13844 if (!SWIG_IsOK(ecode5
)) {
13845 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFontFromPixelSize" "', expected argument " "5"" of type '" "wxFontEncoding""'");
13847 arg5
= static_cast< wxFontEncoding
>(val5
);
13850 if (!wxPyCheckForApp()) SWIG_fail
;
13851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13852 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
13853 wxPyEndAllowThreads(__tstate
);
13854 if (PyErr_Occurred()) SWIG_fail
;
13856 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13871 SWIGINTERN PyObject
*_wrap_Font_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13872 PyObject
*resultobj
= 0;
13873 wxFont
*arg1
= (wxFont
*) 0 ;
13877 PyObject
*swig_obj
[1] ;
13879 if (!args
) SWIG_fail
;
13880 swig_obj
[0] = args
;
13881 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13882 if (!SWIG_IsOK(res1
)) {
13883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsOk" "', expected argument " "1"" of type '" "wxFont const *""'");
13885 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13888 result
= (bool)((wxFont
const *)arg1
)->IsOk();
13889 wxPyEndAllowThreads(__tstate
);
13890 if (PyErr_Occurred()) SWIG_fail
;
13893 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13901 SWIGINTERN PyObject
*_wrap_Font___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13902 PyObject
*resultobj
= 0;
13903 wxFont
*arg1
= (wxFont
*) 0 ;
13904 wxFont
*arg2
= (wxFont
*) 0 ;
13910 PyObject
* obj0
= 0 ;
13911 PyObject
* obj1
= 0 ;
13912 char * kwnames
[] = {
13913 (char *) "self",(char *) "other", NULL
13916 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13917 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13918 if (!SWIG_IsOK(res1
)) {
13919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___eq__" "', expected argument " "1"" of type '" "wxFont *""'");
13921 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13922 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
13923 if (!SWIG_IsOK(res2
)) {
13924 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___eq__" "', expected argument " "2"" of type '" "wxFont const *""'");
13926 arg2
= reinterpret_cast< wxFont
* >(argp2
);
13928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13929 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
13930 wxPyEndAllowThreads(__tstate
);
13931 if (PyErr_Occurred()) SWIG_fail
;
13934 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13942 SWIGINTERN PyObject
*_wrap_Font___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13943 PyObject
*resultobj
= 0;
13944 wxFont
*arg1
= (wxFont
*) 0 ;
13945 wxFont
*arg2
= (wxFont
*) 0 ;
13951 PyObject
* obj0
= 0 ;
13952 PyObject
* obj1
= 0 ;
13953 char * kwnames
[] = {
13954 (char *) "self",(char *) "other", NULL
13957 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13958 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13959 if (!SWIG_IsOK(res1
)) {
13960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___ne__" "', expected argument " "1"" of type '" "wxFont *""'");
13962 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13963 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
13964 if (!SWIG_IsOK(res2
)) {
13965 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___ne__" "', expected argument " "2"" of type '" "wxFont const *""'");
13967 arg2
= reinterpret_cast< wxFont
* >(argp2
);
13969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13970 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
13971 wxPyEndAllowThreads(__tstate
);
13972 if (PyErr_Occurred()) SWIG_fail
;
13975 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13983 SWIGINTERN PyObject
*_wrap_Font_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13984 PyObject
*resultobj
= 0;
13985 wxFont
*arg1
= (wxFont
*) 0 ;
13989 PyObject
*swig_obj
[1] ;
13991 if (!args
) SWIG_fail
;
13992 swig_obj
[0] = args
;
13993 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13994 if (!SWIG_IsOK(res1
)) {
13995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPointSize" "', expected argument " "1"" of type '" "wxFont const *""'");
13997 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14000 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
14001 wxPyEndAllowThreads(__tstate
);
14002 if (PyErr_Occurred()) SWIG_fail
;
14004 resultobj
= SWIG_From_int(static_cast< int >(result
));
14011 SWIGINTERN PyObject
*_wrap_Font_GetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14012 PyObject
*resultobj
= 0;
14013 wxFont
*arg1
= (wxFont
*) 0 ;
14017 PyObject
*swig_obj
[1] ;
14019 if (!args
) SWIG_fail
;
14020 swig_obj
[0] = args
;
14021 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14022 if (!SWIG_IsOK(res1
)) {
14023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPixelSize" "', expected argument " "1"" of type '" "wxFont const *""'");
14025 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14028 result
= ((wxFont
const *)arg1
)->GetPixelSize();
14029 wxPyEndAllowThreads(__tstate
);
14030 if (PyErr_Occurred()) SWIG_fail
;
14032 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
14039 SWIGINTERN PyObject
*_wrap_Font_IsUsingSizeInPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14040 PyObject
*resultobj
= 0;
14041 wxFont
*arg1
= (wxFont
*) 0 ;
14045 PyObject
*swig_obj
[1] ;
14047 if (!args
) SWIG_fail
;
14048 swig_obj
[0] = args
;
14049 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14050 if (!SWIG_IsOK(res1
)) {
14051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsUsingSizeInPixels" "', expected argument " "1"" of type '" "wxFont const *""'");
14053 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14056 result
= (bool)((wxFont
const *)arg1
)->IsUsingSizeInPixels();
14057 wxPyEndAllowThreads(__tstate
);
14058 if (PyErr_Occurred()) SWIG_fail
;
14061 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14069 SWIGINTERN PyObject
*_wrap_Font_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14070 PyObject
*resultobj
= 0;
14071 wxFont
*arg1
= (wxFont
*) 0 ;
14075 PyObject
*swig_obj
[1] ;
14077 if (!args
) SWIG_fail
;
14078 swig_obj
[0] = args
;
14079 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14080 if (!SWIG_IsOK(res1
)) {
14081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamily" "', expected argument " "1"" of type '" "wxFont const *""'");
14083 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14086 result
= (int)((wxFont
const *)arg1
)->GetFamily();
14087 wxPyEndAllowThreads(__tstate
);
14088 if (PyErr_Occurred()) SWIG_fail
;
14090 resultobj
= SWIG_From_int(static_cast< int >(result
));
14097 SWIGINTERN PyObject
*_wrap_Font_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14098 PyObject
*resultobj
= 0;
14099 wxFont
*arg1
= (wxFont
*) 0 ;
14103 PyObject
*swig_obj
[1] ;
14105 if (!args
) SWIG_fail
;
14106 swig_obj
[0] = args
;
14107 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14108 if (!SWIG_IsOK(res1
)) {
14109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyle" "', expected argument " "1"" of type '" "wxFont const *""'");
14111 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14114 result
= (int)((wxFont
const *)arg1
)->GetStyle();
14115 wxPyEndAllowThreads(__tstate
);
14116 if (PyErr_Occurred()) SWIG_fail
;
14118 resultobj
= SWIG_From_int(static_cast< int >(result
));
14125 SWIGINTERN PyObject
*_wrap_Font_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14126 PyObject
*resultobj
= 0;
14127 wxFont
*arg1
= (wxFont
*) 0 ;
14131 PyObject
*swig_obj
[1] ;
14133 if (!args
) SWIG_fail
;
14134 swig_obj
[0] = args
;
14135 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14136 if (!SWIG_IsOK(res1
)) {
14137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeight" "', expected argument " "1"" of type '" "wxFont const *""'");
14139 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14142 result
= (int)((wxFont
const *)arg1
)->GetWeight();
14143 wxPyEndAllowThreads(__tstate
);
14144 if (PyErr_Occurred()) SWIG_fail
;
14146 resultobj
= SWIG_From_int(static_cast< int >(result
));
14153 SWIGINTERN PyObject
*_wrap_Font_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14154 PyObject
*resultobj
= 0;
14155 wxFont
*arg1
= (wxFont
*) 0 ;
14159 PyObject
*swig_obj
[1] ;
14161 if (!args
) SWIG_fail
;
14162 swig_obj
[0] = args
;
14163 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14164 if (!SWIG_IsOK(res1
)) {
14165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetUnderlined" "', expected argument " "1"" of type '" "wxFont const *""'");
14167 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14170 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
14171 wxPyEndAllowThreads(__tstate
);
14172 if (PyErr_Occurred()) SWIG_fail
;
14175 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14183 SWIGINTERN PyObject
*_wrap_Font_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14184 PyObject
*resultobj
= 0;
14185 wxFont
*arg1
= (wxFont
*) 0 ;
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_GetFaceName" "', expected argument " "1"" of type '" "wxFont const *""'");
14197 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14200 result
= ((wxFont
const *)arg1
)->GetFaceName();
14201 wxPyEndAllowThreads(__tstate
);
14202 if (PyErr_Occurred()) SWIG_fail
;
14206 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14208 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14217 SWIGINTERN PyObject
*_wrap_Font_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14218 PyObject
*resultobj
= 0;
14219 wxFont
*arg1
= (wxFont
*) 0 ;
14220 wxFontEncoding result
;
14223 PyObject
*swig_obj
[1] ;
14225 if (!args
) SWIG_fail
;
14226 swig_obj
[0] = args
;
14227 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14228 if (!SWIG_IsOK(res1
)) {
14229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetEncoding" "', expected argument " "1"" of type '" "wxFont const *""'");
14231 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14234 result
= (wxFontEncoding
)((wxFont
const *)arg1
)->GetEncoding();
14235 wxPyEndAllowThreads(__tstate
);
14236 if (PyErr_Occurred()) SWIG_fail
;
14238 resultobj
= SWIG_From_int(static_cast< int >(result
));
14245 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14246 PyObject
*resultobj
= 0;
14247 wxFont
*arg1
= (wxFont
*) 0 ;
14248 wxNativeFontInfo
*result
= 0 ;
14251 PyObject
*swig_obj
[1] ;
14253 if (!args
) SWIG_fail
;
14254 swig_obj
[0] = args
;
14255 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14256 if (!SWIG_IsOK(res1
)) {
14257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont const *""'");
14259 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14262 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
14263 wxPyEndAllowThreads(__tstate
);
14264 if (PyErr_Occurred()) SWIG_fail
;
14266 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
14273 SWIGINTERN PyObject
*_wrap_Font_IsFixedWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14274 PyObject
*resultobj
= 0;
14275 wxFont
*arg1
= (wxFont
*) 0 ;
14279 PyObject
*swig_obj
[1] ;
14281 if (!args
) SWIG_fail
;
14282 swig_obj
[0] = args
;
14283 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14284 if (!SWIG_IsOK(res1
)) {
14285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsFixedWidth" "', expected argument " "1"" of type '" "wxFont const *""'");
14287 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14290 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
14291 wxPyEndAllowThreads(__tstate
);
14292 if (PyErr_Occurred()) SWIG_fail
;
14295 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14303 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoDesc(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_GetNativeFontInfoDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
14317 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14320 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
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_GetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14338 PyObject
*resultobj
= 0;
14339 wxFont
*arg1
= (wxFont
*) 0 ;
14343 PyObject
*swig_obj
[1] ;
14345 if (!args
) SWIG_fail
;
14346 swig_obj
[0] = args
;
14347 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14348 if (!SWIG_IsOK(res1
)) {
14349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
14351 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14354 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
14355 wxPyEndAllowThreads(__tstate
);
14356 if (PyErr_Occurred()) SWIG_fail
;
14360 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14362 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14371 SWIGINTERN PyObject
*_wrap_Font_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14372 PyObject
*resultobj
= 0;
14373 wxFont
*arg1
= (wxFont
*) 0 ;
14379 PyObject
* obj0
= 0 ;
14380 PyObject
* obj1
= 0 ;
14381 char * kwnames
[] = {
14382 (char *) "self",(char *) "pointSize", NULL
14385 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14386 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14387 if (!SWIG_IsOK(res1
)) {
14388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPointSize" "', expected argument " "1"" of type '" "wxFont *""'");
14390 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14391 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14392 if (!SWIG_IsOK(ecode2
)) {
14393 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetPointSize" "', expected argument " "2"" of type '" "int""'");
14395 arg2
= static_cast< int >(val2
);
14397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14398 (arg1
)->SetPointSize(arg2
);
14399 wxPyEndAllowThreads(__tstate
);
14400 if (PyErr_Occurred()) SWIG_fail
;
14402 resultobj
= SWIG_Py_Void();
14409 SWIGINTERN PyObject
*_wrap_Font_SetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14410 PyObject
*resultobj
= 0;
14411 wxFont
*arg1
= (wxFont
*) 0 ;
14416 PyObject
* obj0
= 0 ;
14417 PyObject
* obj1
= 0 ;
14418 char * kwnames
[] = {
14419 (char *) "self",(char *) "pixelSize", NULL
14422 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPixelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14423 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14424 if (!SWIG_IsOK(res1
)) {
14425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPixelSize" "', expected argument " "1"" of type '" "wxFont *""'");
14427 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14430 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14434 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
14435 wxPyEndAllowThreads(__tstate
);
14436 if (PyErr_Occurred()) SWIG_fail
;
14438 resultobj
= SWIG_Py_Void();
14445 SWIGINTERN PyObject
*_wrap_Font_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14446 PyObject
*resultobj
= 0;
14447 wxFont
*arg1
= (wxFont
*) 0 ;
14453 PyObject
* obj0
= 0 ;
14454 PyObject
* obj1
= 0 ;
14455 char * kwnames
[] = {
14456 (char *) "self",(char *) "family", NULL
14459 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14460 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14461 if (!SWIG_IsOK(res1
)) {
14462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFamily" "', expected argument " "1"" of type '" "wxFont *""'");
14464 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14465 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14466 if (!SWIG_IsOK(ecode2
)) {
14467 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetFamily" "', expected argument " "2"" of type '" "int""'");
14469 arg2
= static_cast< int >(val2
);
14471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14472 (arg1
)->SetFamily(arg2
);
14473 wxPyEndAllowThreads(__tstate
);
14474 if (PyErr_Occurred()) SWIG_fail
;
14476 resultobj
= SWIG_Py_Void();
14483 SWIGINTERN PyObject
*_wrap_Font_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14484 PyObject
*resultobj
= 0;
14485 wxFont
*arg1
= (wxFont
*) 0 ;
14491 PyObject
* obj0
= 0 ;
14492 PyObject
* obj1
= 0 ;
14493 char * kwnames
[] = {
14494 (char *) "self",(char *) "style", NULL
14497 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14498 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14499 if (!SWIG_IsOK(res1
)) {
14500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetStyle" "', expected argument " "1"" of type '" "wxFont *""'");
14502 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14503 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14504 if (!SWIG_IsOK(ecode2
)) {
14505 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetStyle" "', expected argument " "2"" of type '" "int""'");
14507 arg2
= static_cast< int >(val2
);
14509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14510 (arg1
)->SetStyle(arg2
);
14511 wxPyEndAllowThreads(__tstate
);
14512 if (PyErr_Occurred()) SWIG_fail
;
14514 resultobj
= SWIG_Py_Void();
14521 SWIGINTERN PyObject
*_wrap_Font_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14522 PyObject
*resultobj
= 0;
14523 wxFont
*arg1
= (wxFont
*) 0 ;
14529 PyObject
* obj0
= 0 ;
14530 PyObject
* obj1
= 0 ;
14531 char * kwnames
[] = {
14532 (char *) "self",(char *) "weight", NULL
14535 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14536 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14537 if (!SWIG_IsOK(res1
)) {
14538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetWeight" "', expected argument " "1"" of type '" "wxFont *""'");
14540 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14541 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14542 if (!SWIG_IsOK(ecode2
)) {
14543 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetWeight" "', expected argument " "2"" of type '" "int""'");
14545 arg2
= static_cast< int >(val2
);
14547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14548 (arg1
)->SetWeight(arg2
);
14549 wxPyEndAllowThreads(__tstate
);
14550 if (PyErr_Occurred()) SWIG_fail
;
14552 resultobj
= SWIG_Py_Void();
14559 SWIGINTERN PyObject
*_wrap_Font_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14560 PyObject
*resultobj
= 0;
14561 wxFont
*arg1
= (wxFont
*) 0 ;
14562 wxString
*arg2
= 0 ;
14566 bool temp2
= false ;
14567 PyObject
* obj0
= 0 ;
14568 PyObject
* obj1
= 0 ;
14569 char * kwnames
[] = {
14570 (char *) "self",(char *) "faceName", NULL
14573 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14574 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14575 if (!SWIG_IsOK(res1
)) {
14576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFaceName" "', expected argument " "1"" of type '" "wxFont *""'");
14578 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14580 arg2
= wxString_in_helper(obj1
);
14581 if (arg2
== NULL
) SWIG_fail
;
14585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14586 result
= (bool)(arg1
)->SetFaceName((wxString
const &)*arg2
);
14587 wxPyEndAllowThreads(__tstate
);
14588 if (PyErr_Occurred()) SWIG_fail
;
14591 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14607 SWIGINTERN PyObject
*_wrap_Font_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14608 PyObject
*resultobj
= 0;
14609 wxFont
*arg1
= (wxFont
*) 0 ;
14615 PyObject
* obj0
= 0 ;
14616 PyObject
* obj1
= 0 ;
14617 char * kwnames
[] = {
14618 (char *) "self",(char *) "underlined", NULL
14621 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14622 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14623 if (!SWIG_IsOK(res1
)) {
14624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetUnderlined" "', expected argument " "1"" of type '" "wxFont *""'");
14626 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14627 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
14628 if (!SWIG_IsOK(ecode2
)) {
14629 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
14631 arg2
= static_cast< bool >(val2
);
14633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14634 (arg1
)->SetUnderlined(arg2
);
14635 wxPyEndAllowThreads(__tstate
);
14636 if (PyErr_Occurred()) SWIG_fail
;
14638 resultobj
= SWIG_Py_Void();
14645 SWIGINTERN PyObject
*_wrap_Font_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14646 PyObject
*resultobj
= 0;
14647 wxFont
*arg1
= (wxFont
*) 0 ;
14648 wxFontEncoding arg2
;
14653 PyObject
* obj0
= 0 ;
14654 PyObject
* obj1
= 0 ;
14655 char * kwnames
[] = {
14656 (char *) "self",(char *) "encoding", NULL
14659 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14660 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14661 if (!SWIG_IsOK(res1
)) {
14662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetEncoding" "', expected argument " "1"" of type '" "wxFont *""'");
14664 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14665 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14666 if (!SWIG_IsOK(ecode2
)) {
14667 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
14669 arg2
= static_cast< wxFontEncoding
>(val2
);
14671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14672 (arg1
)->SetEncoding(arg2
);
14673 wxPyEndAllowThreads(__tstate
);
14674 if (PyErr_Occurred()) SWIG_fail
;
14676 resultobj
= SWIG_Py_Void();
14683 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14684 PyObject
*resultobj
= 0;
14685 wxFont
*arg1
= (wxFont
*) 0 ;
14686 wxNativeFontInfo
*arg2
= 0 ;
14691 PyObject
* obj0
= 0 ;
14692 PyObject
* obj1
= 0 ;
14693 char * kwnames
[] = {
14694 (char *) "self",(char *) "info", NULL
14697 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14698 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14699 if (!SWIG_IsOK(res1
)) {
14700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont *""'");
14702 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14703 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
14704 if (!SWIG_IsOK(res2
)) {
14705 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
14708 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
14710 arg2
= reinterpret_cast< wxNativeFontInfo
* >(argp2
);
14712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14713 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
14714 wxPyEndAllowThreads(__tstate
);
14715 if (PyErr_Occurred()) SWIG_fail
;
14717 resultobj
= SWIG_Py_Void();
14724 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14725 PyObject
*resultobj
= 0;
14726 wxFont
*arg1
= (wxFont
*) 0 ;
14727 wxString
*arg2
= 0 ;
14731 bool temp2
= false ;
14732 PyObject
* obj0
= 0 ;
14733 PyObject
* obj1
= 0 ;
14734 char * kwnames
[] = {
14735 (char *) "self",(char *) "info", NULL
14738 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14739 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14740 if (!SWIG_IsOK(res1
)) {
14741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoFromString" "', expected argument " "1"" of type '" "wxFont *""'");
14743 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14745 arg2
= wxString_in_helper(obj1
);
14746 if (arg2
== NULL
) SWIG_fail
;
14750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14751 result
= (bool)(arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
14752 wxPyEndAllowThreads(__tstate
);
14753 if (PyErr_Occurred()) SWIG_fail
;
14756 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14772 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14773 PyObject
*resultobj
= 0;
14774 wxFont
*arg1
= (wxFont
*) 0 ;
14775 wxString
*arg2
= 0 ;
14779 bool temp2
= false ;
14780 PyObject
* obj0
= 0 ;
14781 PyObject
* obj1
= 0 ;
14782 char * kwnames
[] = {
14783 (char *) "self",(char *) "info", NULL
14786 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14787 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14788 if (!SWIG_IsOK(res1
)) {
14789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont *""'");
14791 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14793 arg2
= wxString_in_helper(obj1
);
14794 if (arg2
== NULL
) SWIG_fail
;
14798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14799 result
= (bool)(arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
14800 wxPyEndAllowThreads(__tstate
);
14801 if (PyErr_Occurred()) SWIG_fail
;
14804 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14820 SWIGINTERN PyObject
*_wrap_Font_GetFamilyString(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_GetFamilyString" "', expected argument " "1"" of type '" "wxFont const *""'");
14834 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14837 result
= ((wxFont
const *)arg1
)->GetFamilyString();
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_GetStyleString(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_GetStyleString" "', expected argument " "1"" of type '" "wxFont const *""'");
14868 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14871 result
= ((wxFont
const *)arg1
)->GetStyleString();
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_GetWeightString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14889 PyObject
*resultobj
= 0;
14890 wxFont
*arg1
= (wxFont
*) 0 ;
14894 PyObject
*swig_obj
[1] ;
14896 if (!args
) SWIG_fail
;
14897 swig_obj
[0] = args
;
14898 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14899 if (!SWIG_IsOK(res1
)) {
14900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeightString" "', expected argument " "1"" of type '" "wxFont const *""'");
14902 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14905 result
= ((wxFont
const *)arg1
)->GetWeightString();
14906 wxPyEndAllowThreads(__tstate
);
14907 if (PyErr_Occurred()) SWIG_fail
;
14911 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14913 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14922 SWIGINTERN PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14923 PyObject
*resultobj
= 0;
14924 wxFont
*arg1
= (wxFont
*) 0 ;
14925 bool arg2
= (bool) true ;
14930 PyObject
* obj0
= 0 ;
14931 PyObject
* obj1
= 0 ;
14932 char * kwnames
[] = {
14933 (char *) "self",(char *) "no", NULL
14936 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14937 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14938 if (!SWIG_IsOK(res1
)) {
14939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont *""'");
14941 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14943 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
14944 if (!SWIG_IsOK(ecode2
)) {
14945 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "2"" of type '" "bool""'");
14947 arg2
= static_cast< bool >(val2
);
14950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14951 (arg1
)->SetNoAntiAliasing(arg2
);
14952 wxPyEndAllowThreads(__tstate
);
14953 if (PyErr_Occurred()) SWIG_fail
;
14955 resultobj
= SWIG_Py_Void();
14962 SWIGINTERN PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14963 PyObject
*resultobj
= 0;
14964 wxFont
*arg1
= (wxFont
*) 0 ;
14968 PyObject
*swig_obj
[1] ;
14970 if (!args
) SWIG_fail
;
14971 swig_obj
[0] = args
;
14972 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14973 if (!SWIG_IsOK(res1
)) {
14974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont const *""'");
14976 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14979 result
= (bool)((wxFont
const *)arg1
)->GetNoAntiAliasing();
14980 wxPyEndAllowThreads(__tstate
);
14981 if (PyErr_Occurred()) SWIG_fail
;
14984 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14992 SWIGINTERN PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14993 PyObject
*resultobj
= 0;
14994 wxFontEncoding result
;
14996 if (!SWIG_Python_UnpackTuple(args
,"Font_GetDefaultEncoding",0,0,0)) SWIG_fail
;
14998 if (!wxPyCheckForApp()) SWIG_fail
;
14999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15000 result
= (wxFontEncoding
)wxFont::GetDefaultEncoding();
15001 wxPyEndAllowThreads(__tstate
);
15002 if (PyErr_Occurred()) SWIG_fail
;
15004 resultobj
= SWIG_From_int(static_cast< int >(result
));
15011 SWIGINTERN PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15012 PyObject
*resultobj
= 0;
15013 wxFontEncoding arg1
;
15016 PyObject
* obj0
= 0 ;
15017 char * kwnames
[] = {
15018 (char *) "encoding", NULL
15021 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) SWIG_fail
;
15022 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15023 if (!SWIG_IsOK(ecode1
)) {
15024 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Font_SetDefaultEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
15026 arg1
= static_cast< wxFontEncoding
>(val1
);
15028 if (!wxPyCheckForApp()) SWIG_fail
;
15029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15030 wxFont::SetDefaultEncoding(arg1
);
15031 wxPyEndAllowThreads(__tstate
);
15032 if (PyErr_Occurred()) SWIG_fail
;
15034 resultobj
= SWIG_Py_Void();
15041 SWIGINTERN PyObject
*Font_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15043 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15044 SWIG_TypeNewClientData(SWIGTYPE_p_wxFont
, SWIG_NewClientData(obj
));
15045 return SWIG_Py_Void();
15048 SWIGINTERN PyObject
*Font_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15049 return SWIG_Python_InitShadowInstance(args
);
15052 SWIGINTERN PyObject
*_wrap_new_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15053 PyObject
*resultobj
= 0;
15054 wxPyFontEnumerator
*result
= 0 ;
15056 if (!SWIG_Python_UnpackTuple(args
,"new_FontEnumerator",0,0,0)) SWIG_fail
;
15058 if (!wxPyCheckForApp()) SWIG_fail
;
15059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15060 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
15061 wxPyEndAllowThreads(__tstate
);
15062 if (PyErr_Occurred()) SWIG_fail
;
15064 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_NEW
| 0 );
15071 SWIGINTERN PyObject
*_wrap_delete_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15072 PyObject
*resultobj
= 0;
15073 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15076 PyObject
*swig_obj
[1] ;
15078 if (!args
) SWIG_fail
;
15079 swig_obj
[0] = args
;
15080 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_DISOWN
| 0 );
15081 if (!SWIG_IsOK(res1
)) {
15082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontEnumerator" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15084 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15089 wxPyEndAllowThreads(__tstate
);
15090 if (PyErr_Occurred()) SWIG_fail
;
15092 resultobj
= SWIG_Py_Void();
15099 SWIGINTERN PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15100 PyObject
*resultobj
= 0;
15101 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15102 PyObject
*arg2
= (PyObject
*) 0 ;
15103 PyObject
*arg3
= (PyObject
*) 0 ;
15109 PyObject
* obj0
= 0 ;
15110 PyObject
* obj1
= 0 ;
15111 PyObject
* obj2
= 0 ;
15112 PyObject
* obj3
= 0 ;
15113 char * kwnames
[] = {
15114 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
15117 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15118 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15119 if (!SWIG_IsOK(res1
)) {
15120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15122 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15125 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
15126 if (!SWIG_IsOK(ecode4
)) {
15127 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "4"" of type '" "bool""'");
15129 arg4
= static_cast< bool >(val4
);
15131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15132 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
15133 wxPyEndAllowThreads(__tstate
);
15134 if (PyErr_Occurred()) SWIG_fail
;
15136 resultobj
= SWIG_Py_Void();
15143 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15144 PyObject
*resultobj
= 0;
15145 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15146 wxFontEncoding arg2
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
15147 bool arg3
= (bool) false ;
15155 PyObject
* obj0
= 0 ;
15156 PyObject
* obj1
= 0 ;
15157 PyObject
* obj2
= 0 ;
15158 char * kwnames
[] = {
15159 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
15162 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15163 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15164 if (!SWIG_IsOK(res1
)) {
15165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15167 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15169 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15170 if (!SWIG_IsOK(ecode2
)) {
15171 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "2"" of type '" "wxFontEncoding""'");
15173 arg2
= static_cast< wxFontEncoding
>(val2
);
15176 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
15177 if (!SWIG_IsOK(ecode3
)) {
15178 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "3"" of type '" "bool""'");
15180 arg3
= static_cast< bool >(val3
);
15183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15184 result
= (bool)(arg1
)->EnumerateFacenames(arg2
,arg3
);
15185 wxPyEndAllowThreads(__tstate
);
15186 if (PyErr_Occurred()) SWIG_fail
;
15189 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15197 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15198 PyObject
*resultobj
= 0;
15199 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15200 wxString
const &arg2_defvalue
= wxPyEmptyString
;
15201 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
15205 bool temp2
= false ;
15206 PyObject
* obj0
= 0 ;
15207 PyObject
* obj1
= 0 ;
15208 char * kwnames
[] = {
15209 (char *) "self",(char *) "facename", NULL
15212 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15213 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15214 if (!SWIG_IsOK(res1
)) {
15215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateEncodings" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15217 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15220 arg2
= wxString_in_helper(obj1
);
15221 if (arg2
== NULL
) SWIG_fail
;
15226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15227 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
15228 wxPyEndAllowThreads(__tstate
);
15229 if (PyErr_Occurred()) SWIG_fail
;
15232 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15248 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15249 PyObject
*resultobj
= 0;
15250 PyObject
*result
= 0 ;
15252 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetEncodings",0,0,0)) SWIG_fail
;
15254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15255 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings();
15256 wxPyEndAllowThreads(__tstate
);
15257 if (PyErr_Occurred()) SWIG_fail
;
15259 resultobj
= result
;
15266 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15267 PyObject
*resultobj
= 0;
15268 PyObject
*result
= 0 ;
15270 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetFacenames",0,0,0)) SWIG_fail
;
15272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15273 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames();
15274 wxPyEndAllowThreads(__tstate
);
15275 if (PyErr_Occurred()) SWIG_fail
;
15277 resultobj
= result
;
15284 SWIGINTERN PyObject
*_wrap_FontEnumerator_IsValidFacename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15285 PyObject
*resultobj
= 0;
15286 wxString
*arg1
= 0 ;
15288 bool temp1
= false ;
15289 PyObject
* obj0
= 0 ;
15290 char * kwnames
[] = {
15291 (char *) "str", NULL
15294 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_IsValidFacename",kwnames
,&obj0
)) SWIG_fail
;
15296 arg1
= wxString_in_helper(obj0
);
15297 if (arg1
== NULL
) SWIG_fail
;
15301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15302 result
= (bool)wxPyFontEnumerator::IsValidFacename((wxString
const &)*arg1
);
15303 wxPyEndAllowThreads(__tstate
);
15304 if (PyErr_Occurred()) SWIG_fail
;
15307 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15323 SWIGINTERN PyObject
*FontEnumerator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15325 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15326 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyFontEnumerator
, SWIG_NewClientData(obj
));
15327 return SWIG_Py_Void();
15330 SWIGINTERN PyObject
*FontEnumerator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15331 return SWIG_Python_InitShadowInstance(args
);
15334 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15335 PyObject
*resultobj
= 0;
15336 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15342 PyObject
*swig_obj
[2] ;
15344 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Language_set",2,2,swig_obj
)) SWIG_fail
;
15345 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15346 if (!SWIG_IsOK(res1
)) {
15347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15349 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15350 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
15351 if (!SWIG_IsOK(ecode2
)) {
15352 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LanguageInfo_Language_set" "', expected argument " "2"" of type '" "int""'");
15354 arg2
= static_cast< int >(val2
);
15355 if (arg1
) (arg1
)->Language
= arg2
;
15357 resultobj
= SWIG_Py_Void();
15364 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15365 PyObject
*resultobj
= 0;
15366 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15370 PyObject
*swig_obj
[1] ;
15372 if (!args
) SWIG_fail
;
15373 swig_obj
[0] = args
;
15374 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15375 if (!SWIG_IsOK(res1
)) {
15376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15378 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15379 result
= (int) ((arg1
)->Language
);
15380 resultobj
= SWIG_From_int(static_cast< int >(result
));
15387 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15388 PyObject
*resultobj
= 0;
15389 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15390 wxString
*arg2
= (wxString
*) 0 ;
15393 bool temp2
= false ;
15394 PyObject
*swig_obj
[2] ;
15396 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_CanonicalName_set",2,2,swig_obj
)) SWIG_fail
;
15397 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15398 if (!SWIG_IsOK(res1
)) {
15399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15401 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15403 arg2
= wxString_in_helper(swig_obj
[1]);
15404 if (arg2
== NULL
) SWIG_fail
;
15407 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
15409 resultobj
= SWIG_Py_Void();
15424 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15425 PyObject
*resultobj
= 0;
15426 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15427 wxString
*result
= 0 ;
15430 PyObject
*swig_obj
[1] ;
15432 if (!args
) SWIG_fail
;
15433 swig_obj
[0] = args
;
15434 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15435 if (!SWIG_IsOK(res1
)) {
15436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15438 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15439 result
= (wxString
*)& ((arg1
)->CanonicalName
);
15442 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15444 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15453 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15454 PyObject
*resultobj
= 0;
15455 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15456 wxString
*arg2
= (wxString
*) 0 ;
15459 bool temp2
= false ;
15460 PyObject
*swig_obj
[2] ;
15462 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Description_set",2,2,swig_obj
)) SWIG_fail
;
15463 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15464 if (!SWIG_IsOK(res1
)) {
15465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15467 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15469 arg2
= wxString_in_helper(swig_obj
[1]);
15470 if (arg2
== NULL
) SWIG_fail
;
15473 if (arg1
) (arg1
)->Description
= *arg2
;
15475 resultobj
= SWIG_Py_Void();
15490 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15491 PyObject
*resultobj
= 0;
15492 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15493 wxString
*result
= 0 ;
15496 PyObject
*swig_obj
[1] ;
15498 if (!args
) SWIG_fail
;
15499 swig_obj
[0] = args
;
15500 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15501 if (!SWIG_IsOK(res1
)) {
15502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15504 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15505 result
= (wxString
*)& ((arg1
)->Description
);
15508 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15510 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15519 SWIGINTERN PyObject
*LanguageInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15521 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15522 SWIG_TypeNewClientData(SWIGTYPE_p_wxLanguageInfo
, SWIG_NewClientData(obj
));
15523 return SWIG_Py_Void();
15526 SWIGINTERN PyObject
*_wrap_new_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15527 PyObject
*resultobj
= 0;
15528 int arg1
= (int) -1 ;
15529 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
15530 wxLocale
*result
= 0 ;
15535 PyObject
* obj0
= 0 ;
15536 PyObject
* obj1
= 0 ;
15537 char * kwnames
[] = {
15538 (char *) "language",(char *) "flags", NULL
15541 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15543 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15544 if (!SWIG_IsOK(ecode1
)) {
15545 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Locale" "', expected argument " "1"" of type '" "int""'");
15547 arg1
= static_cast< int >(val1
);
15550 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15551 if (!SWIG_IsOK(ecode2
)) {
15552 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Locale" "', expected argument " "2"" of type '" "int""'");
15554 arg2
= static_cast< int >(val2
);
15557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15558 result
= (wxLocale
*)new_wxLocale(arg1
,arg2
);
15559 wxPyEndAllowThreads(__tstate
);
15560 if (PyErr_Occurred()) SWIG_fail
;
15562 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, SWIG_POINTER_NEW
| 0 );
15569 SWIGINTERN PyObject
*_wrap_delete_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15570 PyObject
*resultobj
= 0;
15571 wxLocale
*arg1
= (wxLocale
*) 0 ;
15574 PyObject
*swig_obj
[1] ;
15576 if (!args
) SWIG_fail
;
15577 swig_obj
[0] = args
;
15578 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, SWIG_POINTER_DISOWN
| 0 );
15579 if (!SWIG_IsOK(res1
)) {
15580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Locale" "', expected argument " "1"" of type '" "wxLocale *""'");
15582 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15587 wxPyEndAllowThreads(__tstate
);
15588 if (PyErr_Occurred()) SWIG_fail
;
15590 resultobj
= SWIG_Py_Void();
15597 SWIGINTERN PyObject
*_wrap_Locale_Init1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15598 PyObject
*resultobj
= 0;
15599 wxLocale
*arg1
= (wxLocale
*) 0 ;
15600 wxString
*arg2
= 0 ;
15601 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15602 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15603 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15604 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15605 bool arg5
= (bool) true ;
15606 bool arg6
= (bool) false ;
15610 bool temp2
= false ;
15611 bool temp3
= false ;
15612 bool temp4
= false ;
15617 PyObject
* obj0
= 0 ;
15618 PyObject
* obj1
= 0 ;
15619 PyObject
* obj2
= 0 ;
15620 PyObject
* obj3
= 0 ;
15621 PyObject
* obj4
= 0 ;
15622 PyObject
* obj5
= 0 ;
15623 char * kwnames
[] = {
15624 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
15627 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
15628 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15629 if (!SWIG_IsOK(res1
)) {
15630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init1" "', expected argument " "1"" of type '" "wxLocale *""'");
15632 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15634 arg2
= wxString_in_helper(obj1
);
15635 if (arg2
== NULL
) SWIG_fail
;
15640 arg3
= wxString_in_helper(obj2
);
15641 if (arg3
== NULL
) SWIG_fail
;
15647 arg4
= wxString_in_helper(obj3
);
15648 if (arg4
== NULL
) SWIG_fail
;
15653 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
15654 if (!SWIG_IsOK(ecode5
)) {
15655 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Locale_Init1" "', expected argument " "5"" of type '" "bool""'");
15657 arg5
= static_cast< bool >(val5
);
15660 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
15661 if (!SWIG_IsOK(ecode6
)) {
15662 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Locale_Init1" "', expected argument " "6"" of type '" "bool""'");
15664 arg6
= static_cast< bool >(val6
);
15667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15668 result
= (bool)wxLocale_Init1(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
15669 wxPyEndAllowThreads(__tstate
);
15670 if (PyErr_Occurred()) SWIG_fail
;
15673 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15705 SWIGINTERN PyObject
*_wrap_Locale_Init2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15706 PyObject
*resultobj
= 0;
15707 wxLocale
*arg1
= (wxLocale
*) 0 ;
15708 int arg2
= (int) wxLANGUAGE_DEFAULT
;
15709 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
15717 PyObject
* obj0
= 0 ;
15718 PyObject
* obj1
= 0 ;
15719 PyObject
* obj2
= 0 ;
15720 char * kwnames
[] = {
15721 (char *) "self",(char *) "language",(char *) "flags", NULL
15724 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15725 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15726 if (!SWIG_IsOK(res1
)) {
15727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init2" "', expected argument " "1"" of type '" "wxLocale *""'");
15729 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15731 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15732 if (!SWIG_IsOK(ecode2
)) {
15733 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Locale_Init2" "', expected argument " "2"" of type '" "int""'");
15735 arg2
= static_cast< int >(val2
);
15738 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15739 if (!SWIG_IsOK(ecode3
)) {
15740 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Locale_Init2" "', expected argument " "3"" of type '" "int""'");
15742 arg3
= static_cast< int >(val3
);
15745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15746 result
= (bool)wxLocale_Init2(arg1
,arg2
,arg3
);
15747 wxPyEndAllowThreads(__tstate
);
15748 if (PyErr_Occurred()) SWIG_fail
;
15751 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15759 SWIGINTERN PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15760 PyObject
*resultobj
= 0;
15763 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemLanguage",0,0,0)) SWIG_fail
;
15765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15766 result
= (int)wxLocale::GetSystemLanguage();
15767 wxPyEndAllowThreads(__tstate
);
15768 if (PyErr_Occurred()) SWIG_fail
;
15770 resultobj
= SWIG_From_int(static_cast< int >(result
));
15777 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15778 PyObject
*resultobj
= 0;
15779 wxFontEncoding result
;
15781 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncoding",0,0,0)) SWIG_fail
;
15783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15784 result
= (wxFontEncoding
)wxLocale::GetSystemEncoding();
15785 wxPyEndAllowThreads(__tstate
);
15786 if (PyErr_Occurred()) SWIG_fail
;
15788 resultobj
= SWIG_From_int(static_cast< int >(result
));
15795 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15796 PyObject
*resultobj
= 0;
15799 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncodingName",0,0,0)) SWIG_fail
;
15801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15802 result
= wxLocale::GetSystemEncodingName();
15803 wxPyEndAllowThreads(__tstate
);
15804 if (PyErr_Occurred()) SWIG_fail
;
15808 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15810 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15819 SWIGINTERN PyObject
*_wrap_Locale_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15820 PyObject
*resultobj
= 0;
15821 wxLocale
*arg1
= (wxLocale
*) 0 ;
15825 PyObject
*swig_obj
[1] ;
15827 if (!args
) SWIG_fail
;
15828 swig_obj
[0] = args
;
15829 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15830 if (!SWIG_IsOK(res1
)) {
15831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsOk" "', expected argument " "1"" of type '" "wxLocale const *""'");
15833 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15836 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
15837 wxPyEndAllowThreads(__tstate
);
15838 if (PyErr_Occurred()) SWIG_fail
;
15841 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15849 SWIGINTERN PyObject
*_wrap_Locale_GetLocale(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_GetLocale" "', expected argument " "1"" of type '" "wxLocale const *""'");
15863 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15866 result
= ((wxLocale
const *)arg1
)->GetLocale();
15867 wxPyEndAllowThreads(__tstate
);
15868 if (PyErr_Occurred()) SWIG_fail
;
15872 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15874 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15883 SWIGINTERN PyObject
*_wrap_Locale_GetLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15884 PyObject
*resultobj
= 0;
15885 wxLocale
*arg1
= (wxLocale
*) 0 ;
15889 PyObject
*swig_obj
[1] ;
15891 if (!args
) SWIG_fail
;
15892 swig_obj
[0] = args
;
15893 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15894 if (!SWIG_IsOK(res1
)) {
15895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLanguage" "', expected argument " "1"" of type '" "wxLocale const *""'");
15897 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15900 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
15901 wxPyEndAllowThreads(__tstate
);
15902 if (PyErr_Occurred()) SWIG_fail
;
15904 resultobj
= SWIG_From_int(static_cast< int >(result
));
15911 SWIGINTERN PyObject
*_wrap_Locale_GetSysName(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_GetSysName" "', expected argument " "1"" of type '" "wxLocale const *""'");
15925 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15928 result
= ((wxLocale
const *)arg1
)->GetSysName();
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_GetCanonicalName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15946 PyObject
*resultobj
= 0;
15947 wxLocale
*arg1
= (wxLocale
*) 0 ;
15951 PyObject
*swig_obj
[1] ;
15953 if (!args
) SWIG_fail
;
15954 swig_obj
[0] = args
;
15955 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15956 if (!SWIG_IsOK(res1
)) {
15957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetCanonicalName" "', expected argument " "1"" of type '" "wxLocale const *""'");
15959 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15962 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
15963 wxPyEndAllowThreads(__tstate
);
15964 if (PyErr_Occurred()) SWIG_fail
;
15968 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15970 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15979 SWIGINTERN PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15980 PyObject
*resultobj
= 0;
15981 wxString
*arg1
= 0 ;
15982 bool temp1
= false ;
15983 PyObject
* obj0
= 0 ;
15984 char * kwnames
[] = {
15985 (char *) "prefix", NULL
15988 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) SWIG_fail
;
15990 arg1
= wxString_in_helper(obj0
);
15991 if (arg1
== NULL
) SWIG_fail
;
15995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15996 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
15997 wxPyEndAllowThreads(__tstate
);
15998 if (PyErr_Occurred()) SWIG_fail
;
16000 resultobj
= SWIG_Py_Void();
16015 SWIGINTERN PyObject
*_wrap_Locale_AddCatalog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16016 PyObject
*resultobj
= 0;
16017 wxLocale
*arg1
= (wxLocale
*) 0 ;
16018 wxString
*arg2
= 0 ;
16022 bool temp2
= false ;
16023 PyObject
* obj0
= 0 ;
16024 PyObject
* obj1
= 0 ;
16025 char * kwnames
[] = {
16026 (char *) "self",(char *) "szDomain", NULL
16029 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16030 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16031 if (!SWIG_IsOK(res1
)) {
16032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddCatalog" "', expected argument " "1"" of type '" "wxLocale *""'");
16034 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16036 arg2
= wxString_in_helper(obj1
);
16037 if (arg2
== NULL
) SWIG_fail
;
16041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16042 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
16043 wxPyEndAllowThreads(__tstate
);
16044 if (PyErr_Occurred()) SWIG_fail
;
16047 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16063 SWIGINTERN PyObject
*_wrap_Locale_IsAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16064 PyObject
*resultobj
= 0;
16069 PyObject
* obj0
= 0 ;
16070 char * kwnames
[] = {
16071 (char *) "lang", NULL
16074 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsAvailable",kwnames
,&obj0
)) SWIG_fail
;
16075 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16076 if (!SWIG_IsOK(ecode1
)) {
16077 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_IsAvailable" "', expected argument " "1"" of type '" "int""'");
16079 arg1
= static_cast< int >(val1
);
16081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16082 result
= (bool)wxLocale::IsAvailable(arg1
);
16083 wxPyEndAllowThreads(__tstate
);
16084 if (PyErr_Occurred()) SWIG_fail
;
16087 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16095 SWIGINTERN PyObject
*_wrap_Locale_IsLoaded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16096 PyObject
*resultobj
= 0;
16097 wxLocale
*arg1
= (wxLocale
*) 0 ;
16098 wxString
*arg2
= 0 ;
16102 bool temp2
= false ;
16103 PyObject
* obj0
= 0 ;
16104 PyObject
* obj1
= 0 ;
16105 char * kwnames
[] = {
16106 (char *) "self",(char *) "szDomain", NULL
16109 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16110 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16111 if (!SWIG_IsOK(res1
)) {
16112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsLoaded" "', expected argument " "1"" of type '" "wxLocale const *""'");
16114 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16116 arg2
= wxString_in_helper(obj1
);
16117 if (arg2
== NULL
) SWIG_fail
;
16121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16122 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
16123 wxPyEndAllowThreads(__tstate
);
16124 if (PyErr_Occurred()) SWIG_fail
;
16127 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16143 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16144 PyObject
*resultobj
= 0;
16146 wxLanguageInfo
*result
= 0 ;
16149 PyObject
* obj0
= 0 ;
16150 char * kwnames
[] = {
16151 (char *) "lang", NULL
16154 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
16155 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16156 if (!SWIG_IsOK(ecode1
)) {
16157 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageInfo" "', expected argument " "1"" of type '" "int""'");
16159 arg1
= static_cast< int >(val1
);
16161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16162 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
16163 wxPyEndAllowThreads(__tstate
);
16164 if (PyErr_Occurred()) SWIG_fail
;
16166 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16173 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16174 PyObject
*resultobj
= 0;
16179 PyObject
* obj0
= 0 ;
16180 char * kwnames
[] = {
16181 (char *) "lang", NULL
16184 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) SWIG_fail
;
16185 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16186 if (!SWIG_IsOK(ecode1
)) {
16187 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageName" "', expected argument " "1"" of type '" "int""'");
16189 arg1
= static_cast< int >(val1
);
16191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16192 result
= wxLocale::GetLanguageName(arg1
);
16193 wxPyEndAllowThreads(__tstate
);
16194 if (PyErr_Occurred()) SWIG_fail
;
16198 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16200 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16209 SWIGINTERN PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16210 PyObject
*resultobj
= 0;
16211 wxString
*arg1
= 0 ;
16212 wxLanguageInfo
*result
= 0 ;
16213 bool temp1
= false ;
16214 PyObject
* obj0
= 0 ;
16215 char * kwnames
[] = {
16216 (char *) "locale", NULL
16219 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
16221 arg1
= wxString_in_helper(obj0
);
16222 if (arg1
== NULL
) SWIG_fail
;
16226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16227 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
16228 wxPyEndAllowThreads(__tstate
);
16229 if (PyErr_Occurred()) SWIG_fail
;
16231 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16246 SWIGINTERN PyObject
*_wrap_Locale_AddLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16247 PyObject
*resultobj
= 0;
16248 wxLanguageInfo
*arg1
= 0 ;
16251 PyObject
* obj0
= 0 ;
16252 char * kwnames
[] = {
16253 (char *) "info", NULL
16256 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) SWIG_fail
;
16257 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxLanguageInfo
, 0 | 0);
16258 if (!SWIG_IsOK(res1
)) {
16259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
16262 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
16264 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16267 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
16268 wxPyEndAllowThreads(__tstate
);
16269 if (PyErr_Occurred()) SWIG_fail
;
16271 resultobj
= SWIG_Py_Void();
16278 SWIGINTERN PyObject
*_wrap_Locale_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16279 PyObject
*resultobj
= 0;
16280 wxLocale
*arg1
= (wxLocale
*) 0 ;
16281 wxString
*arg2
= 0 ;
16282 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16283 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16287 bool temp2
= false ;
16288 bool temp3
= false ;
16289 PyObject
* obj0
= 0 ;
16290 PyObject
* obj1
= 0 ;
16291 PyObject
* obj2
= 0 ;
16292 char * kwnames
[] = {
16293 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
16296 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16297 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16298 if (!SWIG_IsOK(res1
)) {
16299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetString" "', expected argument " "1"" of type '" "wxLocale const *""'");
16301 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16303 arg2
= wxString_in_helper(obj1
);
16304 if (arg2
== NULL
) SWIG_fail
;
16309 arg3
= wxString_in_helper(obj2
);
16310 if (arg3
== NULL
) SWIG_fail
;
16315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16316 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
16317 wxPyEndAllowThreads(__tstate
);
16318 if (PyErr_Occurred()) SWIG_fail
;
16322 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16324 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16349 SWIGINTERN PyObject
*_wrap_Locale_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16350 PyObject
*resultobj
= 0;
16351 wxLocale
*arg1
= (wxLocale
*) 0 ;
16352 wxString
*result
= 0 ;
16355 PyObject
*swig_obj
[1] ;
16357 if (!args
) SWIG_fail
;
16358 swig_obj
[0] = args
;
16359 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16360 if (!SWIG_IsOK(res1
)) {
16361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16363 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16367 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
16368 result
= (wxString
*) &_result_ref
;
16370 wxPyEndAllowThreads(__tstate
);
16371 if (PyErr_Occurred()) SWIG_fail
;
16375 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16377 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16386 SWIGINTERN PyObject
*Locale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16388 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16389 SWIG_TypeNewClientData(SWIGTYPE_p_wxLocale
, SWIG_NewClientData(obj
));
16390 return SWIG_Py_Void();
16393 SWIGINTERN PyObject
*Locale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16394 return SWIG_Python_InitShadowInstance(args
);
16397 SWIGINTERN PyObject
*_wrap_new_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16398 PyObject
*resultobj
= 0;
16399 int arg1
= (int) -1 ;
16400 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16401 wxPyLocale
*result
= 0 ;
16406 PyObject
* obj0
= 0 ;
16407 PyObject
* obj1
= 0 ;
16408 char * kwnames
[] = {
16409 (char *) "language",(char *) "flags", NULL
16412 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyLocale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16414 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16415 if (!SWIG_IsOK(ecode1
)) {
16416 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PyLocale" "', expected argument " "1"" of type '" "int""'");
16418 arg1
= static_cast< int >(val1
);
16421 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16422 if (!SWIG_IsOK(ecode2
)) {
16423 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyLocale" "', expected argument " "2"" of type '" "int""'");
16425 arg2
= static_cast< int >(val2
);
16428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16429 result
= (wxPyLocale
*)new_wxPyLocale(arg1
,arg2
);
16430 wxPyEndAllowThreads(__tstate
);
16431 if (PyErr_Occurred()) SWIG_fail
;
16433 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_NEW
| 0 );
16440 SWIGINTERN PyObject
*_wrap_delete_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16441 PyObject
*resultobj
= 0;
16442 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16445 PyObject
*swig_obj
[1] ;
16447 if (!args
) SWIG_fail
;
16448 swig_obj
[0] = args
;
16449 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_DISOWN
| 0 );
16450 if (!SWIG_IsOK(res1
)) {
16451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PyLocale" "', expected argument " "1"" of type '" "wxPyLocale *""'");
16453 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16458 wxPyEndAllowThreads(__tstate
);
16459 if (PyErr_Occurred()) SWIG_fail
;
16461 resultobj
= SWIG_Py_Void();
16468 SWIGINTERN PyObject
*_wrap_PyLocale__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16469 PyObject
*resultobj
= 0;
16470 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16471 PyObject
*arg2
= (PyObject
*) 0 ;
16472 PyObject
*arg3
= (PyObject
*) 0 ;
16475 PyObject
* obj0
= 0 ;
16476 PyObject
* obj1
= 0 ;
16477 PyObject
* obj2
= 0 ;
16478 char * kwnames
[] = {
16479 (char *) "self",(char *) "self",(char *) "_class", NULL
16482 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLocale__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16483 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16484 if (!SWIG_IsOK(res1
)) {
16485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyLocale *""'");
16487 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16492 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16493 wxPyEndAllowThreads(__tstate
);
16494 if (PyErr_Occurred()) SWIG_fail
;
16496 resultobj
= SWIG_Py_Void();
16503 SWIGINTERN PyObject
*_wrap_PyLocale_GetSingularString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16504 PyObject
*resultobj
= 0;
16505 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16506 wxChar
*arg2
= (wxChar
*) 0 ;
16507 wxChar
*arg3
= (wxChar
*) NULL
;
16508 wxChar
*result
= 0 ;
16515 PyObject
* obj0
= 0 ;
16516 PyObject
* obj1
= 0 ;
16517 PyObject
* obj2
= 0 ;
16518 char * kwnames
[] = {
16519 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
16522 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyLocale_GetSingularString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16523 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16524 if (!SWIG_IsOK(res1
)) {
16525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetSingularString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
16527 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16528 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
16529 if (!SWIG_IsOK(res2
)) {
16530 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetSingularString" "', expected argument " "2"" of type '" "wxChar const *""'");
16532 arg2
= reinterpret_cast< wxChar
* >(argp2
);
16534 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
16535 if (!SWIG_IsOK(res3
)) {
16536 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetSingularString" "', expected argument " "3"" of type '" "wxChar const *""'");
16538 arg3
= reinterpret_cast< wxChar
* >(argp3
);
16541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16542 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetSingularString((wxChar
const *)arg2
,(wxChar
const *)arg3
);
16543 wxPyEndAllowThreads(__tstate
);
16544 if (PyErr_Occurred()) SWIG_fail
;
16546 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
16553 SWIGINTERN PyObject
*_wrap_PyLocale_GetPluralString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16554 PyObject
*resultobj
= 0;
16555 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16556 wxChar
*arg2
= (wxChar
*) 0 ;
16557 wxChar
*arg3
= (wxChar
*) 0 ;
16559 wxChar
*arg5
= (wxChar
*) NULL
;
16560 wxChar
*result
= 0 ;
16571 PyObject
* obj0
= 0 ;
16572 PyObject
* obj1
= 0 ;
16573 PyObject
* obj2
= 0 ;
16574 PyObject
* obj3
= 0 ;
16575 PyObject
* obj4
= 0 ;
16576 char * kwnames
[] = {
16577 (char *) "self",(char *) "szOrigString",(char *) "szOrigString2",(char *) "n",(char *) "szDomain", NULL
16580 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PyLocale_GetPluralString",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
16581 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16582 if (!SWIG_IsOK(res1
)) {
16583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetPluralString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
16585 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16586 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
16587 if (!SWIG_IsOK(res2
)) {
16588 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetPluralString" "', expected argument " "2"" of type '" "wxChar const *""'");
16590 arg2
= reinterpret_cast< wxChar
* >(argp2
);
16591 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
16592 if (!SWIG_IsOK(res3
)) {
16593 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetPluralString" "', expected argument " "3"" of type '" "wxChar const *""'");
16595 arg3
= reinterpret_cast< wxChar
* >(argp3
);
16596 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
16597 if (!SWIG_IsOK(ecode4
)) {
16598 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyLocale_GetPluralString" "', expected argument " "4"" of type '" "size_t""'");
16600 arg4
= static_cast< size_t >(val4
);
16602 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxChar
, 0 | 0 );
16603 if (!SWIG_IsOK(res5
)) {
16604 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "PyLocale_GetPluralString" "', expected argument " "5"" of type '" "wxChar const *""'");
16606 arg5
= reinterpret_cast< wxChar
* >(argp5
);
16609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16610 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetPluralString((wxChar
const *)arg2
,(wxChar
const *)arg3
,arg4
,(wxChar
const *)arg5
);
16611 wxPyEndAllowThreads(__tstate
);
16612 if (PyErr_Occurred()) SWIG_fail
;
16614 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
16621 SWIGINTERN PyObject
*PyLocale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16623 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16624 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyLocale
, SWIG_NewClientData(obj
));
16625 return SWIG_Py_Void();
16628 SWIGINTERN PyObject
*PyLocale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16629 return SWIG_Python_InitShadowInstance(args
);
16632 SWIGINTERN PyObject
*_wrap_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16633 PyObject
*resultobj
= 0;
16634 wxLocale
*result
= 0 ;
16636 if (!SWIG_Python_UnpackTuple(args
,"GetLocale",0,0,0)) SWIG_fail
;
16638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16639 result
= (wxLocale
*)wxGetLocale();
16640 wxPyEndAllowThreads(__tstate
);
16641 if (PyErr_Occurred()) SWIG_fail
;
16643 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, 0 | 0 );
16650 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
16651 PyObject
*resultobj
= 0;
16652 wxString
*arg1
= 0 ;
16654 bool temp1
= false ;
16656 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
16658 arg1
= wxString_in_helper(swig_obj
[0]);
16659 if (arg1
== NULL
) SWIG_fail
;
16663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16664 result
= wxGetTranslation((wxString
const &)*arg1
);
16665 wxPyEndAllowThreads(__tstate
);
16666 if (PyErr_Occurred()) SWIG_fail
;
16670 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16672 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16689 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
16690 PyObject
*resultobj
= 0;
16691 wxString
*arg1
= 0 ;
16692 wxString
*arg2
= 0 ;
16694 bool temp1
= false ;
16695 bool temp2
= false ;
16697 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
16699 arg1
= wxString_in_helper(swig_obj
[0]);
16700 if (arg1
== NULL
) SWIG_fail
;
16704 arg2
= wxString_in_helper(swig_obj
[1]);
16705 if (arg2
== NULL
) SWIG_fail
;
16709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16710 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
);
16711 wxPyEndAllowThreads(__tstate
);
16712 if (PyErr_Occurred()) SWIG_fail
;
16716 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16718 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16743 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
16744 PyObject
*resultobj
= 0;
16745 wxString
*arg1
= 0 ;
16746 wxString
*arg2
= 0 ;
16749 bool temp1
= false ;
16750 bool temp2
= false ;
16754 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
16756 arg1
= wxString_in_helper(swig_obj
[0]);
16757 if (arg1
== NULL
) SWIG_fail
;
16761 arg2
= wxString_in_helper(swig_obj
[1]);
16762 if (arg2
== NULL
) SWIG_fail
;
16765 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
16766 if (!SWIG_IsOK(ecode3
)) {
16767 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
16769 arg3
= static_cast< size_t >(val3
);
16771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16772 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
16773 wxPyEndAllowThreads(__tstate
);
16774 if (PyErr_Occurred()) SWIG_fail
;
16778 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16780 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16805 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_3(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
16806 PyObject
*resultobj
= 0;
16807 wxString
*arg1
= 0 ;
16808 wxString
*arg2
= 0 ;
16810 wxString
*arg4
= 0 ;
16812 bool temp1
= false ;
16813 bool temp2
= false ;
16816 bool temp4
= false ;
16818 if ((nobjs
< 4) || (nobjs
> 4)) SWIG_fail
;
16820 arg1
= wxString_in_helper(swig_obj
[0]);
16821 if (arg1
== NULL
) SWIG_fail
;
16825 arg2
= wxString_in_helper(swig_obj
[1]);
16826 if (arg2
== NULL
) SWIG_fail
;
16829 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
16830 if (!SWIG_IsOK(ecode3
)) {
16831 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
16833 arg3
= static_cast< size_t >(val3
);
16835 arg4
= wxString_in_helper(swig_obj
[3]);
16836 if (arg4
== NULL
) SWIG_fail
;
16840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16841 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxString
const &)*arg4
);
16842 wxPyEndAllowThreads(__tstate
);
16843 if (PyErr_Occurred()) SWIG_fail
;
16847 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16849 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16882 SWIGINTERN PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
16886 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GetTranslation",0,4,argv
))) SWIG_fail
;
16889 return _wrap_GetTranslation__SWIG_0(self
, argc
, argv
);
16892 return _wrap_GetTranslation__SWIG_1(self
, argc
, argv
);
16895 return _wrap_GetTranslation__SWIG_2(self
, argc
, argv
);
16898 return _wrap_GetTranslation__SWIG_3(self
, argc
, argv
);
16902 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GetTranslation'");
16907 SWIGINTERN PyObject
*_wrap_new_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16908 PyObject
*resultobj
= 0;
16909 wxEncodingConverter
*result
= 0 ;
16911 if (!SWIG_Python_UnpackTuple(args
,"new_EncodingConverter",0,0,0)) SWIG_fail
;
16913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16914 result
= (wxEncodingConverter
*)new wxEncodingConverter();
16915 wxPyEndAllowThreads(__tstate
);
16916 if (PyErr_Occurred()) SWIG_fail
;
16918 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_NEW
| 0 );
16925 SWIGINTERN PyObject
*_wrap_delete_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16926 PyObject
*resultobj
= 0;
16927 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
16930 PyObject
*swig_obj
[1] ;
16932 if (!args
) SWIG_fail
;
16933 swig_obj
[0] = args
;
16934 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_DISOWN
| 0 );
16935 if (!SWIG_IsOK(res1
)) {
16936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_EncodingConverter" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
16938 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
16940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16943 wxPyEndAllowThreads(__tstate
);
16944 if (PyErr_Occurred()) SWIG_fail
;
16946 resultobj
= SWIG_Py_Void();
16953 SWIGINTERN PyObject
*_wrap_EncodingConverter_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16954 PyObject
*resultobj
= 0;
16955 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
16956 wxFontEncoding arg2
;
16957 wxFontEncoding arg3
;
16958 int arg4
= (int) wxCONVERT_STRICT
;
16968 PyObject
* obj0
= 0 ;
16969 PyObject
* obj1
= 0 ;
16970 PyObject
* obj2
= 0 ;
16971 PyObject
* obj3
= 0 ;
16972 char * kwnames
[] = {
16973 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
16976 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16977 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
16978 if (!SWIG_IsOK(res1
)) {
16979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Init" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
16981 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
16982 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16983 if (!SWIG_IsOK(ecode2
)) {
16984 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_Init" "', expected argument " "2"" of type '" "wxFontEncoding""'");
16986 arg2
= static_cast< wxFontEncoding
>(val2
);
16987 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16988 if (!SWIG_IsOK(ecode3
)) {
16989 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "EncodingConverter_Init" "', expected argument " "3"" of type '" "wxFontEncoding""'");
16991 arg3
= static_cast< wxFontEncoding
>(val3
);
16993 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16994 if (!SWIG_IsOK(ecode4
)) {
16995 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "EncodingConverter_Init" "', expected argument " "4"" of type '" "int""'");
16997 arg4
= static_cast< int >(val4
);
17000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17001 result
= (bool)(arg1
)->Init(arg2
,arg3
,arg4
);
17002 wxPyEndAllowThreads(__tstate
);
17003 if (PyErr_Occurred()) SWIG_fail
;
17006 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17014 SWIGINTERN PyObject
*_wrap_EncodingConverter_Convert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17015 PyObject
*resultobj
= 0;
17016 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17017 wxString
*arg2
= 0 ;
17021 bool temp2
= false ;
17022 PyObject
* obj0
= 0 ;
17023 PyObject
* obj1
= 0 ;
17024 char * kwnames
[] = {
17025 (char *) "self",(char *) "input", NULL
17028 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17029 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
17030 if (!SWIG_IsOK(res1
)) {
17031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Convert" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17033 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17035 arg2
= wxString_in_helper(obj1
);
17036 if (arg2
== NULL
) SWIG_fail
;
17040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17041 result
= (arg1
)->Convert((wxString
const &)*arg2
);
17042 wxPyEndAllowThreads(__tstate
);
17043 if (PyErr_Occurred()) SWIG_fail
;
17047 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17049 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17066 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17067 PyObject
*resultobj
= 0;
17068 wxFontEncoding arg1
;
17069 int arg2
= (int) wxPLATFORM_CURRENT
;
17070 wxFontEncodingArray result
;
17075 PyObject
* obj0
= 0 ;
17076 PyObject
* obj1
= 0 ;
17077 char * kwnames
[] = {
17078 (char *) "enc",(char *) "platform", NULL
17081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17082 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17083 if (!SWIG_IsOK(ecode1
)) {
17084 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17086 arg1
= static_cast< wxFontEncoding
>(val1
);
17088 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17089 if (!SWIG_IsOK(ecode2
)) {
17090 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "2"" of type '" "int""'");
17092 arg2
= static_cast< int >(val2
);
17095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17096 result
= wxEncodingConverter::GetPlatformEquivalents(arg1
,arg2
);
17097 wxPyEndAllowThreads(__tstate
);
17098 if (PyErr_Occurred()) SWIG_fail
;
17101 resultobj
= PyList_New(0);
17102 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
17103 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
17104 PyList_Append(resultobj
, number
);
17114 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17115 PyObject
*resultobj
= 0;
17116 wxFontEncoding arg1
;
17117 wxFontEncodingArray result
;
17120 PyObject
* obj0
= 0 ;
17121 char * kwnames
[] = {
17122 (char *) "enc", NULL
17125 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) SWIG_fail
;
17126 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17127 if (!SWIG_IsOK(ecode1
)) {
17128 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetAllEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17130 arg1
= static_cast< wxFontEncoding
>(val1
);
17132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17133 result
= wxEncodingConverter::GetAllEquivalents(arg1
);
17134 wxPyEndAllowThreads(__tstate
);
17135 if (PyErr_Occurred()) SWIG_fail
;
17138 resultobj
= PyList_New(0);
17139 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
17140 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
17141 PyList_Append(resultobj
, number
);
17151 SWIGINTERN PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17152 PyObject
*resultobj
= 0;
17153 wxFontEncoding arg1
;
17154 wxFontEncoding arg2
;
17160 PyObject
* obj0
= 0 ;
17161 PyObject
* obj1
= 0 ;
17162 char * kwnames
[] = {
17163 (char *) "encIn",(char *) "encOut", NULL
17166 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17167 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17168 if (!SWIG_IsOK(ecode1
)) {
17169 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17171 arg1
= static_cast< wxFontEncoding
>(val1
);
17172 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17173 if (!SWIG_IsOK(ecode2
)) {
17174 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "2"" of type '" "wxFontEncoding""'");
17176 arg2
= static_cast< wxFontEncoding
>(val2
);
17178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17179 result
= (bool)wxEncodingConverter::CanConvert(arg1
,arg2
);
17180 wxPyEndAllowThreads(__tstate
);
17181 if (PyErr_Occurred()) SWIG_fail
;
17184 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17192 SWIGINTERN PyObject
*EncodingConverter_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17194 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17195 SWIG_TypeNewClientData(SWIGTYPE_p_wxEncodingConverter
, SWIG_NewClientData(obj
));
17196 return SWIG_Py_Void();
17199 SWIGINTERN PyObject
*EncodingConverter_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17200 return SWIG_Python_InitShadowInstance(args
);
17203 SWIGINTERN PyObject
*_wrap_delete_DC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17204 PyObject
*resultobj
= 0;
17205 wxDC
*arg1
= (wxDC
*) 0 ;
17208 PyObject
*swig_obj
[1] ;
17210 if (!args
) SWIG_fail
;
17211 swig_obj
[0] = args
;
17212 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, SWIG_POINTER_DISOWN
| 0 );
17213 if (!SWIG_IsOK(res1
)) {
17214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DC" "', expected argument " "1"" of type '" "wxDC *""'");
17216 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17221 wxPyEndAllowThreads(__tstate
);
17222 if (PyErr_Occurred()) SWIG_fail
;
17224 resultobj
= SWIG_Py_Void();
17231 SWIGINTERN PyObject
*_wrap_DC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17232 PyObject
*resultobj
= 0;
17233 wxDC
*arg1
= (wxDC
*) 0 ;
17236 wxColour
*arg4
= 0 ;
17237 int arg5
= (int) wxFLOOD_SURFACE
;
17248 PyObject
* obj0
= 0 ;
17249 PyObject
* obj1
= 0 ;
17250 PyObject
* obj2
= 0 ;
17251 PyObject
* obj3
= 0 ;
17252 PyObject
* obj4
= 0 ;
17253 char * kwnames
[] = {
17254 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
17257 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17258 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17259 if (!SWIG_IsOK(res1
)) {
17260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFill" "', expected argument " "1"" of type '" "wxDC *""'");
17262 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17263 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17264 if (!SWIG_IsOK(ecode2
)) {
17265 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_FloodFill" "', expected argument " "2"" of type '" "int""'");
17267 arg2
= static_cast< int >(val2
);
17268 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17269 if (!SWIG_IsOK(ecode3
)) {
17270 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_FloodFill" "', expected argument " "3"" of type '" "int""'");
17272 arg3
= static_cast< int >(val3
);
17275 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17278 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17279 if (!SWIG_IsOK(ecode5
)) {
17280 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_FloodFill" "', expected argument " "5"" of type '" "int""'");
17282 arg5
= static_cast< int >(val5
);
17285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17286 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
17287 wxPyEndAllowThreads(__tstate
);
17288 if (PyErr_Occurred()) SWIG_fail
;
17291 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17299 SWIGINTERN PyObject
*_wrap_DC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17300 PyObject
*resultobj
= 0;
17301 wxDC
*arg1
= (wxDC
*) 0 ;
17302 wxPoint
*arg2
= 0 ;
17303 wxColour
*arg3
= 0 ;
17304 int arg4
= (int) wxFLOOD_SURFACE
;
17312 PyObject
* obj0
= 0 ;
17313 PyObject
* obj1
= 0 ;
17314 PyObject
* obj2
= 0 ;
17315 PyObject
* obj3
= 0 ;
17316 char * kwnames
[] = {
17317 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
17320 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17321 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17322 if (!SWIG_IsOK(res1
)) {
17323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFillPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17325 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17328 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17332 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17335 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17336 if (!SWIG_IsOK(ecode4
)) {
17337 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
17339 arg4
= static_cast< int >(val4
);
17342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17343 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
17344 wxPyEndAllowThreads(__tstate
);
17345 if (PyErr_Occurred()) SWIG_fail
;
17348 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17356 SWIGINTERN PyObject
*_wrap_DC_GradientFillConcentric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17357 PyObject
*resultobj
= 0;
17358 wxDC
*arg1
= (wxDC
*) 0 ;
17360 wxColour
*arg3
= 0 ;
17361 wxColour
*arg4
= 0 ;
17362 wxPoint
*arg5
= 0 ;
17369 PyObject
* obj0
= 0 ;
17370 PyObject
* obj1
= 0 ;
17371 PyObject
* obj2
= 0 ;
17372 PyObject
* obj3
= 0 ;
17373 PyObject
* obj4
= 0 ;
17374 char * kwnames
[] = {
17375 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "circleCenter", NULL
17378 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_GradientFillConcentric",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17379 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17380 if (!SWIG_IsOK(res1
)) {
17381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillConcentric" "', expected argument " "1"" of type '" "wxDC *""'");
17383 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17386 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17390 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17394 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17398 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17402 (arg1
)->GradientFillConcentric((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
);
17403 wxPyEndAllowThreads(__tstate
);
17404 if (PyErr_Occurred()) SWIG_fail
;
17406 resultobj
= SWIG_Py_Void();
17413 SWIGINTERN PyObject
*_wrap_DC_GradientFillLinear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17414 PyObject
*resultobj
= 0;
17415 wxDC
*arg1
= (wxDC
*) 0 ;
17417 wxColour
*arg3
= 0 ;
17418 wxColour
*arg4
= 0 ;
17419 wxDirection arg5
= (wxDirection
) wxEAST
;
17427 PyObject
* obj0
= 0 ;
17428 PyObject
* obj1
= 0 ;
17429 PyObject
* obj2
= 0 ;
17430 PyObject
* obj3
= 0 ;
17431 PyObject
* obj4
= 0 ;
17432 char * kwnames
[] = {
17433 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "nDirection", NULL
17436 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_GradientFillLinear",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17437 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17438 if (!SWIG_IsOK(res1
)) {
17439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillLinear" "', expected argument " "1"" of type '" "wxDC *""'");
17441 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17444 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17448 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17452 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17455 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17456 if (!SWIG_IsOK(ecode5
)) {
17457 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_GradientFillLinear" "', expected argument " "5"" of type '" "wxDirection""'");
17459 arg5
= static_cast< wxDirection
>(val5
);
17462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17463 (arg1
)->GradientFillLinear((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,arg5
);
17464 wxPyEndAllowThreads(__tstate
);
17465 if (PyErr_Occurred()) SWIG_fail
;
17467 resultobj
= SWIG_Py_Void();
17474 SWIGINTERN PyObject
*_wrap_DC_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17475 PyObject
*resultobj
= 0;
17476 wxDC
*arg1
= (wxDC
*) 0 ;
17486 PyObject
* obj0
= 0 ;
17487 PyObject
* obj1
= 0 ;
17488 PyObject
* obj2
= 0 ;
17489 char * kwnames
[] = {
17490 (char *) "self",(char *) "x",(char *) "y", NULL
17493 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17494 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17495 if (!SWIG_IsOK(res1
)) {
17496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixel" "', expected argument " "1"" of type '" "wxDC *""'");
17498 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17499 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17500 if (!SWIG_IsOK(ecode2
)) {
17501 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_GetPixel" "', expected argument " "2"" of type '" "int""'");
17503 arg2
= static_cast< int >(val2
);
17504 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17505 if (!SWIG_IsOK(ecode3
)) {
17506 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_GetPixel" "', expected argument " "3"" of type '" "int""'");
17508 arg3
= static_cast< int >(val3
);
17510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17511 result
= wxDC_GetPixel(arg1
,arg2
,arg3
);
17512 wxPyEndAllowThreads(__tstate
);
17513 if (PyErr_Occurred()) SWIG_fail
;
17515 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
17522 SWIGINTERN PyObject
*_wrap_DC_GetPixelPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17523 PyObject
*resultobj
= 0;
17524 wxDC
*arg1
= (wxDC
*) 0 ;
17525 wxPoint
*arg2
= 0 ;
17530 PyObject
* obj0
= 0 ;
17531 PyObject
* obj1
= 0 ;
17532 char * kwnames
[] = {
17533 (char *) "self",(char *) "pt", NULL
17536 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17537 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17538 if (!SWIG_IsOK(res1
)) {
17539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixelPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17541 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17544 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17548 result
= wxDC_GetPixelPoint(arg1
,(wxPoint
const &)*arg2
);
17549 wxPyEndAllowThreads(__tstate
);
17550 if (PyErr_Occurred()) SWIG_fail
;
17552 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
17559 SWIGINTERN PyObject
*_wrap_DC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17560 PyObject
*resultobj
= 0;
17561 wxDC
*arg1
= (wxDC
*) 0 ;
17576 PyObject
* obj0
= 0 ;
17577 PyObject
* obj1
= 0 ;
17578 PyObject
* obj2
= 0 ;
17579 PyObject
* obj3
= 0 ;
17580 PyObject
* obj4
= 0 ;
17581 char * kwnames
[] = {
17582 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
17585 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17586 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17587 if (!SWIG_IsOK(res1
)) {
17588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLine" "', expected argument " "1"" of type '" "wxDC *""'");
17590 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17591 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17592 if (!SWIG_IsOK(ecode2
)) {
17593 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawLine" "', expected argument " "2"" of type '" "int""'");
17595 arg2
= static_cast< int >(val2
);
17596 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17597 if (!SWIG_IsOK(ecode3
)) {
17598 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawLine" "', expected argument " "3"" of type '" "int""'");
17600 arg3
= static_cast< int >(val3
);
17601 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17602 if (!SWIG_IsOK(ecode4
)) {
17603 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLine" "', expected argument " "4"" of type '" "int""'");
17605 arg4
= static_cast< int >(val4
);
17606 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17607 if (!SWIG_IsOK(ecode5
)) {
17608 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLine" "', expected argument " "5"" of type '" "int""'");
17610 arg5
= static_cast< int >(val5
);
17612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17613 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
17614 wxPyEndAllowThreads(__tstate
);
17615 if (PyErr_Occurred()) SWIG_fail
;
17617 resultobj
= SWIG_Py_Void();
17624 SWIGINTERN PyObject
*_wrap_DC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17625 PyObject
*resultobj
= 0;
17626 wxDC
*arg1
= (wxDC
*) 0 ;
17627 wxPoint
*arg2
= 0 ;
17628 wxPoint
*arg3
= 0 ;
17633 PyObject
* obj0
= 0 ;
17634 PyObject
* obj1
= 0 ;
17635 PyObject
* obj2
= 0 ;
17636 char * kwnames
[] = {
17637 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
17640 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17641 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17642 if (!SWIG_IsOK(res1
)) {
17643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLinePoint" "', expected argument " "1"" of type '" "wxDC *""'");
17645 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17648 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17652 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17656 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
17657 wxPyEndAllowThreads(__tstate
);
17658 if (PyErr_Occurred()) SWIG_fail
;
17660 resultobj
= SWIG_Py_Void();
17667 SWIGINTERN PyObject
*_wrap_DC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17668 PyObject
*resultobj
= 0;
17669 wxDC
*arg1
= (wxDC
*) 0 ;
17678 PyObject
* obj0
= 0 ;
17679 PyObject
* obj1
= 0 ;
17680 PyObject
* obj2
= 0 ;
17681 char * kwnames
[] = {
17682 (char *) "self",(char *) "x",(char *) "y", NULL
17685 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17686 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17687 if (!SWIG_IsOK(res1
)) {
17688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHair" "', expected argument " "1"" of type '" "wxDC *""'");
17690 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17691 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17692 if (!SWIG_IsOK(ecode2
)) {
17693 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CrossHair" "', expected argument " "2"" of type '" "int""'");
17695 arg2
= static_cast< int >(val2
);
17696 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17697 if (!SWIG_IsOK(ecode3
)) {
17698 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CrossHair" "', expected argument " "3"" of type '" "int""'");
17700 arg3
= static_cast< int >(val3
);
17702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17703 (arg1
)->CrossHair(arg2
,arg3
);
17704 wxPyEndAllowThreads(__tstate
);
17705 if (PyErr_Occurred()) SWIG_fail
;
17707 resultobj
= SWIG_Py_Void();
17714 SWIGINTERN PyObject
*_wrap_DC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17715 PyObject
*resultobj
= 0;
17716 wxDC
*arg1
= (wxDC
*) 0 ;
17717 wxPoint
*arg2
= 0 ;
17721 PyObject
* obj0
= 0 ;
17722 PyObject
* obj1
= 0 ;
17723 char * kwnames
[] = {
17724 (char *) "self",(char *) "pt", NULL
17727 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17728 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17729 if (!SWIG_IsOK(res1
)) {
17730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHairPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17732 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17735 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17739 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
17740 wxPyEndAllowThreads(__tstate
);
17741 if (PyErr_Occurred()) SWIG_fail
;
17743 resultobj
= SWIG_Py_Void();
17750 SWIGINTERN PyObject
*_wrap_DC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17751 PyObject
*resultobj
= 0;
17752 wxDC
*arg1
= (wxDC
*) 0 ;
17773 PyObject
* obj0
= 0 ;
17774 PyObject
* obj1
= 0 ;
17775 PyObject
* obj2
= 0 ;
17776 PyObject
* obj3
= 0 ;
17777 PyObject
* obj4
= 0 ;
17778 PyObject
* obj5
= 0 ;
17779 PyObject
* obj6
= 0 ;
17780 char * kwnames
[] = {
17781 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
17784 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
17785 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17786 if (!SWIG_IsOK(res1
)) {
17787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArc" "', expected argument " "1"" of type '" "wxDC *""'");
17789 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17790 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17791 if (!SWIG_IsOK(ecode2
)) {
17792 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawArc" "', expected argument " "2"" of type '" "int""'");
17794 arg2
= static_cast< int >(val2
);
17795 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17796 if (!SWIG_IsOK(ecode3
)) {
17797 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawArc" "', expected argument " "3"" of type '" "int""'");
17799 arg3
= static_cast< int >(val3
);
17800 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17801 if (!SWIG_IsOK(ecode4
)) {
17802 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawArc" "', expected argument " "4"" of type '" "int""'");
17804 arg4
= static_cast< int >(val4
);
17805 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17806 if (!SWIG_IsOK(ecode5
)) {
17807 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawArc" "', expected argument " "5"" of type '" "int""'");
17809 arg5
= static_cast< int >(val5
);
17810 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
17811 if (!SWIG_IsOK(ecode6
)) {
17812 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawArc" "', expected argument " "6"" of type '" "int""'");
17814 arg6
= static_cast< int >(val6
);
17815 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
17816 if (!SWIG_IsOK(ecode7
)) {
17817 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawArc" "', expected argument " "7"" of type '" "int""'");
17819 arg7
= static_cast< int >(val7
);
17821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17822 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
17823 wxPyEndAllowThreads(__tstate
);
17824 if (PyErr_Occurred()) SWIG_fail
;
17826 resultobj
= SWIG_Py_Void();
17833 SWIGINTERN PyObject
*_wrap_DC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17834 PyObject
*resultobj
= 0;
17835 wxDC
*arg1
= (wxDC
*) 0 ;
17836 wxPoint
*arg2
= 0 ;
17837 wxPoint
*arg3
= 0 ;
17838 wxPoint
*arg4
= 0 ;
17844 PyObject
* obj0
= 0 ;
17845 PyObject
* obj1
= 0 ;
17846 PyObject
* obj2
= 0 ;
17847 PyObject
* obj3
= 0 ;
17848 char * kwnames
[] = {
17849 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
17852 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17853 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17854 if (!SWIG_IsOK(res1
)) {
17855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArcPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17857 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17860 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17864 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17868 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17872 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
17873 wxPyEndAllowThreads(__tstate
);
17874 if (PyErr_Occurred()) SWIG_fail
;
17876 resultobj
= SWIG_Py_Void();
17883 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17884 PyObject
*resultobj
= 0;
17885 wxDC
*arg1
= (wxDC
*) 0 ;
17900 PyObject
* obj0
= 0 ;
17901 PyObject
* obj1
= 0 ;
17902 PyObject
* obj2
= 0 ;
17903 PyObject
* obj3
= 0 ;
17904 PyObject
* obj4
= 0 ;
17905 char * kwnames
[] = {
17906 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
17909 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17910 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17911 if (!SWIG_IsOK(res1
)) {
17912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMark" "', expected argument " "1"" of type '" "wxDC *""'");
17914 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17915 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17916 if (!SWIG_IsOK(ecode2
)) {
17917 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
17919 arg2
= static_cast< int >(val2
);
17920 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17921 if (!SWIG_IsOK(ecode3
)) {
17922 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
17924 arg3
= static_cast< int >(val3
);
17925 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17926 if (!SWIG_IsOK(ecode4
)) {
17927 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
17929 arg4
= static_cast< int >(val4
);
17930 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17931 if (!SWIG_IsOK(ecode5
)) {
17932 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
17934 arg5
= static_cast< int >(val5
);
17936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17937 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
17938 wxPyEndAllowThreads(__tstate
);
17939 if (PyErr_Occurred()) SWIG_fail
;
17941 resultobj
= SWIG_Py_Void();
17948 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17949 PyObject
*resultobj
= 0;
17950 wxDC
*arg1
= (wxDC
*) 0 ;
17955 PyObject
* obj0
= 0 ;
17956 PyObject
* obj1
= 0 ;
17957 char * kwnames
[] = {
17958 (char *) "self",(char *) "rect", NULL
17961 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17962 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17963 if (!SWIG_IsOK(res1
)) {
17964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxDC *""'");
17966 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17969 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17973 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
17974 wxPyEndAllowThreads(__tstate
);
17975 if (PyErr_Occurred()) SWIG_fail
;
17977 resultobj
= SWIG_Py_Void();
17984 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17985 PyObject
*resultobj
= 0;
17986 wxDC
*arg1
= (wxDC
*) 0 ;
18007 PyObject
* obj0
= 0 ;
18008 PyObject
* obj1
= 0 ;
18009 PyObject
* obj2
= 0 ;
18010 PyObject
* obj3
= 0 ;
18011 PyObject
* obj4
= 0 ;
18012 PyObject
* obj5
= 0 ;
18013 PyObject
* obj6
= 0 ;
18014 char * kwnames
[] = {
18015 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
18018 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
18019 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18020 if (!SWIG_IsOK(res1
)) {
18021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxDC *""'");
18023 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18024 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18025 if (!SWIG_IsOK(ecode2
)) {
18026 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
18028 arg2
= static_cast< int >(val2
);
18029 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18030 if (!SWIG_IsOK(ecode3
)) {
18031 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
18033 arg3
= static_cast< int >(val3
);
18034 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18035 if (!SWIG_IsOK(ecode4
)) {
18036 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
18038 arg4
= static_cast< int >(val4
);
18039 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18040 if (!SWIG_IsOK(ecode5
)) {
18041 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
18043 arg5
= static_cast< int >(val5
);
18044 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
18045 if (!SWIG_IsOK(ecode6
)) {
18046 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
18048 arg6
= static_cast< double >(val6
);
18049 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
18050 if (!SWIG_IsOK(ecode7
)) {
18051 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
18053 arg7
= static_cast< double >(val7
);
18055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18056 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18057 wxPyEndAllowThreads(__tstate
);
18058 if (PyErr_Occurred()) SWIG_fail
;
18060 resultobj
= SWIG_Py_Void();
18067 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18068 PyObject
*resultobj
= 0;
18069 wxDC
*arg1
= (wxDC
*) 0 ;
18070 wxPoint
*arg2
= 0 ;
18082 PyObject
* obj0
= 0 ;
18083 PyObject
* obj1
= 0 ;
18084 PyObject
* obj2
= 0 ;
18085 PyObject
* obj3
= 0 ;
18086 PyObject
* obj4
= 0 ;
18087 char * kwnames
[] = {
18088 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
18091 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18092 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18093 if (!SWIG_IsOK(res1
)) {
18094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18096 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18099 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18103 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18105 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
18106 if (!SWIG_IsOK(ecode4
)) {
18107 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
18109 arg4
= static_cast< double >(val4
);
18110 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
18111 if (!SWIG_IsOK(ecode5
)) {
18112 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
18114 arg5
= static_cast< double >(val5
);
18116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18117 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
18118 wxPyEndAllowThreads(__tstate
);
18119 if (PyErr_Occurred()) SWIG_fail
;
18121 resultobj
= SWIG_Py_Void();
18128 SWIGINTERN PyObject
*_wrap_DC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18129 PyObject
*resultobj
= 0;
18130 wxDC
*arg1
= (wxDC
*) 0 ;
18139 PyObject
* obj0
= 0 ;
18140 PyObject
* obj1
= 0 ;
18141 PyObject
* obj2
= 0 ;
18142 char * kwnames
[] = {
18143 (char *) "self",(char *) "x",(char *) "y", NULL
18146 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18147 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18148 if (!SWIG_IsOK(res1
)) {
18149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18151 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18152 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18153 if (!SWIG_IsOK(ecode2
)) {
18154 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
18156 arg2
= static_cast< int >(val2
);
18157 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18158 if (!SWIG_IsOK(ecode3
)) {
18159 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
18161 arg3
= static_cast< int >(val3
);
18163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18164 (arg1
)->DrawPoint(arg2
,arg3
);
18165 wxPyEndAllowThreads(__tstate
);
18166 if (PyErr_Occurred()) SWIG_fail
;
18168 resultobj
= SWIG_Py_Void();
18175 SWIGINTERN PyObject
*_wrap_DC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18176 PyObject
*resultobj
= 0;
18177 wxDC
*arg1
= (wxDC
*) 0 ;
18178 wxPoint
*arg2
= 0 ;
18182 PyObject
* obj0
= 0 ;
18183 PyObject
* obj1
= 0 ;
18184 char * kwnames
[] = {
18185 (char *) "self",(char *) "pt", NULL
18188 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18189 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18190 if (!SWIG_IsOK(res1
)) {
18191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPointPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18193 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18196 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18200 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
18201 wxPyEndAllowThreads(__tstate
);
18202 if (PyErr_Occurred()) SWIG_fail
;
18204 resultobj
= SWIG_Py_Void();
18211 SWIGINTERN PyObject
*_wrap_DC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18212 PyObject
*resultobj
= 0;
18213 wxDC
*arg1
= (wxDC
*) 0 ;
18228 PyObject
* obj0
= 0 ;
18229 PyObject
* obj1
= 0 ;
18230 PyObject
* obj2
= 0 ;
18231 PyObject
* obj3
= 0 ;
18232 PyObject
* obj4
= 0 ;
18233 char * kwnames
[] = {
18234 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18237 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18238 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18239 if (!SWIG_IsOK(res1
)) {
18240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
18242 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18243 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18244 if (!SWIG_IsOK(ecode2
)) {
18245 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
18247 arg2
= static_cast< int >(val2
);
18248 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18249 if (!SWIG_IsOK(ecode3
)) {
18250 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
18252 arg3
= static_cast< int >(val3
);
18253 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18254 if (!SWIG_IsOK(ecode4
)) {
18255 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
18257 arg4
= static_cast< int >(val4
);
18258 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18259 if (!SWIG_IsOK(ecode5
)) {
18260 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
18262 arg5
= static_cast< int >(val5
);
18264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18265 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
18266 wxPyEndAllowThreads(__tstate
);
18267 if (PyErr_Occurred()) SWIG_fail
;
18269 resultobj
= SWIG_Py_Void();
18276 SWIGINTERN PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18277 PyObject
*resultobj
= 0;
18278 wxDC
*arg1
= (wxDC
*) 0 ;
18283 PyObject
* obj0
= 0 ;
18284 PyObject
* obj1
= 0 ;
18285 char * kwnames
[] = {
18286 (char *) "self",(char *) "rect", NULL
18289 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18290 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18291 if (!SWIG_IsOK(res1
)) {
18292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
18294 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18297 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18301 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
18302 wxPyEndAllowThreads(__tstate
);
18303 if (PyErr_Occurred()) SWIG_fail
;
18305 resultobj
= SWIG_Py_Void();
18312 SWIGINTERN PyObject
*_wrap_DC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18313 PyObject
*resultobj
= 0;
18314 wxDC
*arg1
= (wxDC
*) 0 ;
18315 wxPoint
*arg2
= 0 ;
18321 PyObject
* obj0
= 0 ;
18322 PyObject
* obj1
= 0 ;
18323 PyObject
* obj2
= 0 ;
18324 char * kwnames
[] = {
18325 (char *) "self",(char *) "pt",(char *) "sz", NULL
18328 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18329 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18330 if (!SWIG_IsOK(res1
)) {
18331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18333 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18336 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18340 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18344 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
18345 wxPyEndAllowThreads(__tstate
);
18346 if (PyErr_Occurred()) SWIG_fail
;
18348 resultobj
= SWIG_Py_Void();
18355 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18356 PyObject
*resultobj
= 0;
18357 wxDC
*arg1
= (wxDC
*) 0 ;
18375 PyObject
* obj0
= 0 ;
18376 PyObject
* obj1
= 0 ;
18377 PyObject
* obj2
= 0 ;
18378 PyObject
* obj3
= 0 ;
18379 PyObject
* obj4
= 0 ;
18380 PyObject
* obj5
= 0 ;
18381 char * kwnames
[] = {
18382 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
18385 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18386 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18387 if (!SWIG_IsOK(res1
)) {
18388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
18390 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18391 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18392 if (!SWIG_IsOK(ecode2
)) {
18393 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
18395 arg2
= static_cast< int >(val2
);
18396 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18397 if (!SWIG_IsOK(ecode3
)) {
18398 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
18400 arg3
= static_cast< int >(val3
);
18401 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18402 if (!SWIG_IsOK(ecode4
)) {
18403 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
18405 arg4
= static_cast< int >(val4
);
18406 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18407 if (!SWIG_IsOK(ecode5
)) {
18408 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
18410 arg5
= static_cast< int >(val5
);
18411 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
18412 if (!SWIG_IsOK(ecode6
)) {
18413 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
18415 arg6
= static_cast< double >(val6
);
18417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18418 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
18419 wxPyEndAllowThreads(__tstate
);
18420 if (PyErr_Occurred()) SWIG_fail
;
18422 resultobj
= SWIG_Py_Void();
18429 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18430 PyObject
*resultobj
= 0;
18431 wxDC
*arg1
= (wxDC
*) 0 ;
18439 PyObject
* obj0
= 0 ;
18440 PyObject
* obj1
= 0 ;
18441 PyObject
* obj2
= 0 ;
18442 char * kwnames
[] = {
18443 (char *) "self",(char *) "r",(char *) "radius", NULL
18446 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18447 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18448 if (!SWIG_IsOK(res1
)) {
18449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
18451 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18454 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18456 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
18457 if (!SWIG_IsOK(ecode3
)) {
18458 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
18460 arg3
= static_cast< double >(val3
);
18462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18463 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
18464 wxPyEndAllowThreads(__tstate
);
18465 if (PyErr_Occurred()) SWIG_fail
;
18467 resultobj
= SWIG_Py_Void();
18474 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18475 PyObject
*resultobj
= 0;
18476 wxDC
*arg1
= (wxDC
*) 0 ;
18477 wxPoint
*arg2
= 0 ;
18486 PyObject
* obj0
= 0 ;
18487 PyObject
* obj1
= 0 ;
18488 PyObject
* obj2
= 0 ;
18489 PyObject
* obj3
= 0 ;
18490 char * kwnames
[] = {
18491 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
18494 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18495 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18496 if (!SWIG_IsOK(res1
)) {
18497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18499 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18502 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18506 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18508 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
18509 if (!SWIG_IsOK(ecode4
)) {
18510 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
18512 arg4
= static_cast< double >(val4
);
18514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18515 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
18516 wxPyEndAllowThreads(__tstate
);
18517 if (PyErr_Occurred()) SWIG_fail
;
18519 resultobj
= SWIG_Py_Void();
18526 SWIGINTERN PyObject
*_wrap_DC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18527 PyObject
*resultobj
= 0;
18528 wxDC
*arg1
= (wxDC
*) 0 ;
18540 PyObject
* obj0
= 0 ;
18541 PyObject
* obj1
= 0 ;
18542 PyObject
* obj2
= 0 ;
18543 PyObject
* obj3
= 0 ;
18544 char * kwnames
[] = {
18545 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
18548 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18549 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18550 if (!SWIG_IsOK(res1
)) {
18551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCircle" "', expected argument " "1"" of type '" "wxDC *""'");
18553 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18554 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18555 if (!SWIG_IsOK(ecode2
)) {
18556 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
18558 arg2
= static_cast< int >(val2
);
18559 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18560 if (!SWIG_IsOK(ecode3
)) {
18561 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
18563 arg3
= static_cast< int >(val3
);
18564 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18565 if (!SWIG_IsOK(ecode4
)) {
18566 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
18568 arg4
= static_cast< int >(val4
);
18570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18571 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
18572 wxPyEndAllowThreads(__tstate
);
18573 if (PyErr_Occurred()) SWIG_fail
;
18575 resultobj
= SWIG_Py_Void();
18582 SWIGINTERN PyObject
*_wrap_DC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18583 PyObject
*resultobj
= 0;
18584 wxDC
*arg1
= (wxDC
*) 0 ;
18585 wxPoint
*arg2
= 0 ;
18592 PyObject
* obj0
= 0 ;
18593 PyObject
* obj1
= 0 ;
18594 PyObject
* obj2
= 0 ;
18595 char * kwnames
[] = {
18596 (char *) "self",(char *) "pt",(char *) "radius", NULL
18599 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18600 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18601 if (!SWIG_IsOK(res1
)) {
18602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxDC *""'");
18604 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18607 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18609 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18610 if (!SWIG_IsOK(ecode3
)) {
18611 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
18613 arg3
= static_cast< int >(val3
);
18615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18616 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
18617 wxPyEndAllowThreads(__tstate
);
18618 if (PyErr_Occurred()) SWIG_fail
;
18620 resultobj
= SWIG_Py_Void();
18627 SWIGINTERN PyObject
*_wrap_DC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18628 PyObject
*resultobj
= 0;
18629 wxDC
*arg1
= (wxDC
*) 0 ;
18644 PyObject
* obj0
= 0 ;
18645 PyObject
* obj1
= 0 ;
18646 PyObject
* obj2
= 0 ;
18647 PyObject
* obj3
= 0 ;
18648 PyObject
* obj4
= 0 ;
18649 char * kwnames
[] = {
18650 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18653 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18654 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18655 if (!SWIG_IsOK(res1
)) {
18656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipse" "', expected argument " "1"" of type '" "wxDC *""'");
18658 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18659 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18660 if (!SWIG_IsOK(ecode2
)) {
18661 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
18663 arg2
= static_cast< int >(val2
);
18664 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18665 if (!SWIG_IsOK(ecode3
)) {
18666 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
18668 arg3
= static_cast< int >(val3
);
18669 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18670 if (!SWIG_IsOK(ecode4
)) {
18671 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
18673 arg4
= static_cast< int >(val4
);
18674 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18675 if (!SWIG_IsOK(ecode5
)) {
18676 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
18678 arg5
= static_cast< int >(val5
);
18680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18681 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
18682 wxPyEndAllowThreads(__tstate
);
18683 if (PyErr_Occurred()) SWIG_fail
;
18685 resultobj
= SWIG_Py_Void();
18692 SWIGINTERN PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18693 PyObject
*resultobj
= 0;
18694 wxDC
*arg1
= (wxDC
*) 0 ;
18699 PyObject
* obj0
= 0 ;
18700 PyObject
* obj1
= 0 ;
18701 char * kwnames
[] = {
18702 (char *) "self",(char *) "rect", NULL
18705 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18706 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18707 if (!SWIG_IsOK(res1
)) {
18708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxDC *""'");
18710 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18713 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18717 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
18718 wxPyEndAllowThreads(__tstate
);
18719 if (PyErr_Occurred()) SWIG_fail
;
18721 resultobj
= SWIG_Py_Void();
18728 SWIGINTERN PyObject
*_wrap_DC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18729 PyObject
*resultobj
= 0;
18730 wxDC
*arg1
= (wxDC
*) 0 ;
18731 wxPoint
*arg2
= 0 ;
18737 PyObject
* obj0
= 0 ;
18738 PyObject
* obj1
= 0 ;
18739 PyObject
* obj2
= 0 ;
18740 char * kwnames
[] = {
18741 (char *) "self",(char *) "pt",(char *) "sz", NULL
18744 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18745 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18746 if (!SWIG_IsOK(res1
)) {
18747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18749 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18752 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18756 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18760 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
18761 wxPyEndAllowThreads(__tstate
);
18762 if (PyErr_Occurred()) SWIG_fail
;
18764 resultobj
= SWIG_Py_Void();
18771 SWIGINTERN PyObject
*_wrap_DC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18772 PyObject
*resultobj
= 0;
18773 wxDC
*arg1
= (wxDC
*) 0 ;
18785 PyObject
* obj0
= 0 ;
18786 PyObject
* obj1
= 0 ;
18787 PyObject
* obj2
= 0 ;
18788 PyObject
* obj3
= 0 ;
18789 char * kwnames
[] = {
18790 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
18793 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18794 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18795 if (!SWIG_IsOK(res1
)) {
18796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIcon" "', expected argument " "1"" of type '" "wxDC *""'");
18798 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18799 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
18800 if (!SWIG_IsOK(res2
)) {
18801 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
18804 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
18806 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
18807 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18808 if (!SWIG_IsOK(ecode3
)) {
18809 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
18811 arg3
= static_cast< int >(val3
);
18812 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18813 if (!SWIG_IsOK(ecode4
)) {
18814 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
18816 arg4
= static_cast< int >(val4
);
18818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18819 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
18820 wxPyEndAllowThreads(__tstate
);
18821 if (PyErr_Occurred()) SWIG_fail
;
18823 resultobj
= SWIG_Py_Void();
18830 SWIGINTERN PyObject
*_wrap_DC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18831 PyObject
*resultobj
= 0;
18832 wxDC
*arg1
= (wxDC
*) 0 ;
18834 wxPoint
*arg3
= 0 ;
18840 PyObject
* obj0
= 0 ;
18841 PyObject
* obj1
= 0 ;
18842 PyObject
* obj2
= 0 ;
18843 char * kwnames
[] = {
18844 (char *) "self",(char *) "icon",(char *) "pt", NULL
18847 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18848 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18849 if (!SWIG_IsOK(res1
)) {
18850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIconPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18852 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18853 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
18854 if (!SWIG_IsOK(res2
)) {
18855 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
18858 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
18860 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
18863 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18867 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
18868 wxPyEndAllowThreads(__tstate
);
18869 if (PyErr_Occurred()) SWIG_fail
;
18871 resultobj
= SWIG_Py_Void();
18878 SWIGINTERN PyObject
*_wrap_DC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18879 PyObject
*resultobj
= 0;
18880 wxDC
*arg1
= (wxDC
*) 0 ;
18881 wxBitmap
*arg2
= 0 ;
18884 bool arg5
= (bool) false ;
18895 PyObject
* obj0
= 0 ;
18896 PyObject
* obj1
= 0 ;
18897 PyObject
* obj2
= 0 ;
18898 PyObject
* obj3
= 0 ;
18899 PyObject
* obj4
= 0 ;
18900 char * kwnames
[] = {
18901 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
18904 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18905 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18906 if (!SWIG_IsOK(res1
)) {
18907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmap" "', expected argument " "1"" of type '" "wxDC *""'");
18909 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18910 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
18911 if (!SWIG_IsOK(res2
)) {
18912 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
18915 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
18917 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
18918 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18919 if (!SWIG_IsOK(ecode3
)) {
18920 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
18922 arg3
= static_cast< int >(val3
);
18923 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18924 if (!SWIG_IsOK(ecode4
)) {
18925 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
18927 arg4
= static_cast< int >(val4
);
18929 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
18930 if (!SWIG_IsOK(ecode5
)) {
18931 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
18933 arg5
= static_cast< bool >(val5
);
18936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18937 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
18938 wxPyEndAllowThreads(__tstate
);
18939 if (PyErr_Occurred()) SWIG_fail
;
18941 resultobj
= SWIG_Py_Void();
18948 SWIGINTERN PyObject
*_wrap_DC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18949 PyObject
*resultobj
= 0;
18950 wxDC
*arg1
= (wxDC
*) 0 ;
18951 wxBitmap
*arg2
= 0 ;
18952 wxPoint
*arg3
= 0 ;
18953 bool arg4
= (bool) false ;
18961 PyObject
* obj0
= 0 ;
18962 PyObject
* obj1
= 0 ;
18963 PyObject
* obj2
= 0 ;
18964 PyObject
* obj3
= 0 ;
18965 char * kwnames
[] = {
18966 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
18969 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18970 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18971 if (!SWIG_IsOK(res1
)) {
18972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18974 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18975 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
18976 if (!SWIG_IsOK(res2
)) {
18977 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
18980 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
18982 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
18985 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18988 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
18989 if (!SWIG_IsOK(ecode4
)) {
18990 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
18992 arg4
= static_cast< bool >(val4
);
18995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18996 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
18997 wxPyEndAllowThreads(__tstate
);
18998 if (PyErr_Occurred()) SWIG_fail
;
19000 resultobj
= SWIG_Py_Void();
19007 SWIGINTERN PyObject
*_wrap_DC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19008 PyObject
*resultobj
= 0;
19009 wxDC
*arg1
= (wxDC
*) 0 ;
19010 wxString
*arg2
= 0 ;
19015 bool temp2
= false ;
19020 PyObject
* obj0
= 0 ;
19021 PyObject
* obj1
= 0 ;
19022 PyObject
* obj2
= 0 ;
19023 PyObject
* obj3
= 0 ;
19024 char * kwnames
[] = {
19025 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
19028 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19029 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19030 if (!SWIG_IsOK(res1
)) {
19031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawText" "', expected argument " "1"" of type '" "wxDC *""'");
19033 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19035 arg2
= wxString_in_helper(obj1
);
19036 if (arg2
== NULL
) SWIG_fail
;
19039 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19040 if (!SWIG_IsOK(ecode3
)) {
19041 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawText" "', expected argument " "3"" of type '" "int""'");
19043 arg3
= static_cast< int >(val3
);
19044 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19045 if (!SWIG_IsOK(ecode4
)) {
19046 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawText" "', expected argument " "4"" of type '" "int""'");
19048 arg4
= static_cast< int >(val4
);
19050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19051 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
19052 wxPyEndAllowThreads(__tstate
);
19053 if (PyErr_Occurred()) SWIG_fail
;
19055 resultobj
= SWIG_Py_Void();
19070 SWIGINTERN PyObject
*_wrap_DC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19071 PyObject
*resultobj
= 0;
19072 wxDC
*arg1
= (wxDC
*) 0 ;
19073 wxString
*arg2
= 0 ;
19074 wxPoint
*arg3
= 0 ;
19077 bool temp2
= false ;
19079 PyObject
* obj0
= 0 ;
19080 PyObject
* obj1
= 0 ;
19081 PyObject
* obj2
= 0 ;
19082 char * kwnames
[] = {
19083 (char *) "self",(char *) "text",(char *) "pt", NULL
19086 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19087 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19088 if (!SWIG_IsOK(res1
)) {
19089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19091 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19093 arg2
= wxString_in_helper(obj1
);
19094 if (arg2
== NULL
) SWIG_fail
;
19099 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19103 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
19104 wxPyEndAllowThreads(__tstate
);
19105 if (PyErr_Occurred()) SWIG_fail
;
19107 resultobj
= SWIG_Py_Void();
19122 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19123 PyObject
*resultobj
= 0;
19124 wxDC
*arg1
= (wxDC
*) 0 ;
19125 wxString
*arg2
= 0 ;
19131 bool temp2
= false ;
19138 PyObject
* obj0
= 0 ;
19139 PyObject
* obj1
= 0 ;
19140 PyObject
* obj2
= 0 ;
19141 PyObject
* obj3
= 0 ;
19142 PyObject
* obj4
= 0 ;
19143 char * kwnames
[] = {
19144 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
19147 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19148 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19149 if (!SWIG_IsOK(res1
)) {
19150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedText" "', expected argument " "1"" of type '" "wxDC *""'");
19152 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19154 arg2
= wxString_in_helper(obj1
);
19155 if (arg2
== NULL
) SWIG_fail
;
19158 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19159 if (!SWIG_IsOK(ecode3
)) {
19160 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
19162 arg3
= static_cast< int >(val3
);
19163 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19164 if (!SWIG_IsOK(ecode4
)) {
19165 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
19167 arg4
= static_cast< int >(val4
);
19168 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
19169 if (!SWIG_IsOK(ecode5
)) {
19170 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
19172 arg5
= static_cast< double >(val5
);
19174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19175 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
19176 wxPyEndAllowThreads(__tstate
);
19177 if (PyErr_Occurred()) SWIG_fail
;
19179 resultobj
= SWIG_Py_Void();
19194 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19195 PyObject
*resultobj
= 0;
19196 wxDC
*arg1
= (wxDC
*) 0 ;
19197 wxString
*arg2
= 0 ;
19198 wxPoint
*arg3
= 0 ;
19202 bool temp2
= false ;
19206 PyObject
* obj0
= 0 ;
19207 PyObject
* obj1
= 0 ;
19208 PyObject
* obj2
= 0 ;
19209 PyObject
* obj3
= 0 ;
19210 char * kwnames
[] = {
19211 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
19214 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19215 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19216 if (!SWIG_IsOK(res1
)) {
19217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19219 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19221 arg2
= wxString_in_helper(obj1
);
19222 if (arg2
== NULL
) SWIG_fail
;
19227 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19229 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
19230 if (!SWIG_IsOK(ecode4
)) {
19231 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
19233 arg4
= static_cast< double >(val4
);
19235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19236 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
19237 wxPyEndAllowThreads(__tstate
);
19238 if (PyErr_Occurred()) SWIG_fail
;
19240 resultobj
= SWIG_Py_Void();
19255 SWIGINTERN PyObject
*_wrap_DC_Blit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19256 PyObject
*resultobj
= 0;
19257 wxDC
*arg1
= (wxDC
*) 0 ;
19262 wxDC
*arg6
= (wxDC
*) 0 ;
19265 int arg9
= (int) wxCOPY
;
19266 bool arg10
= (bool) false ;
19267 int arg11
= (int) -1 ;
19268 int arg12
= (int) -1 ;
19294 PyObject
* obj0
= 0 ;
19295 PyObject
* obj1
= 0 ;
19296 PyObject
* obj2
= 0 ;
19297 PyObject
* obj3
= 0 ;
19298 PyObject
* obj4
= 0 ;
19299 PyObject
* obj5
= 0 ;
19300 PyObject
* obj6
= 0 ;
19301 PyObject
* obj7
= 0 ;
19302 PyObject
* obj8
= 0 ;
19303 PyObject
* obj9
= 0 ;
19304 PyObject
* obj10
= 0 ;
19305 PyObject
* obj11
= 0 ;
19306 char * kwnames
[] = {
19307 (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
19310 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
;
19311 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19312 if (!SWIG_IsOK(res1
)) {
19313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Blit" "', expected argument " "1"" of type '" "wxDC *""'");
19315 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19316 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19317 if (!SWIG_IsOK(ecode2
)) {
19318 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_Blit" "', expected argument " "2"" of type '" "int""'");
19320 arg2
= static_cast< int >(val2
);
19321 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19322 if (!SWIG_IsOK(ecode3
)) {
19323 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_Blit" "', expected argument " "3"" of type '" "int""'");
19325 arg3
= static_cast< int >(val3
);
19326 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19327 if (!SWIG_IsOK(ecode4
)) {
19328 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_Blit" "', expected argument " "4"" of type '" "int""'");
19330 arg4
= static_cast< int >(val4
);
19331 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19332 if (!SWIG_IsOK(ecode5
)) {
19333 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_Blit" "', expected argument " "5"" of type '" "int""'");
19335 arg5
= static_cast< int >(val5
);
19336 res6
= SWIG_ConvertPtr(obj5
, &argp6
,SWIGTYPE_p_wxDC
, 0 | 0 );
19337 if (!SWIG_IsOK(res6
)) {
19338 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_Blit" "', expected argument " "6"" of type '" "wxDC *""'");
19340 arg6
= reinterpret_cast< wxDC
* >(argp6
);
19341 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
19342 if (!SWIG_IsOK(ecode7
)) {
19343 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_Blit" "', expected argument " "7"" of type '" "int""'");
19345 arg7
= static_cast< int >(val7
);
19346 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
19347 if (!SWIG_IsOK(ecode8
)) {
19348 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DC_Blit" "', expected argument " "8"" of type '" "int""'");
19350 arg8
= static_cast< int >(val8
);
19352 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
19353 if (!SWIG_IsOK(ecode9
)) {
19354 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "DC_Blit" "', expected argument " "9"" of type '" "int""'");
19356 arg9
= static_cast< int >(val9
);
19359 ecode10
= SWIG_AsVal_bool(obj9
, &val10
);
19360 if (!SWIG_IsOK(ecode10
)) {
19361 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "DC_Blit" "', expected argument " "10"" of type '" "bool""'");
19363 arg10
= static_cast< bool >(val10
);
19366 ecode11
= SWIG_AsVal_int(obj10
, &val11
);
19367 if (!SWIG_IsOK(ecode11
)) {
19368 SWIG_exception_fail(SWIG_ArgError(ecode11
), "in method '" "DC_Blit" "', expected argument " "11"" of type '" "int""'");
19370 arg11
= static_cast< int >(val11
);
19373 ecode12
= SWIG_AsVal_int(obj11
, &val12
);
19374 if (!SWIG_IsOK(ecode12
)) {
19375 SWIG_exception_fail(SWIG_ArgError(ecode12
), "in method '" "DC_Blit" "', expected argument " "12"" of type '" "int""'");
19377 arg12
= static_cast< int >(val12
);
19380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19381 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
19382 wxPyEndAllowThreads(__tstate
);
19383 if (PyErr_Occurred()) SWIG_fail
;
19386 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19394 SWIGINTERN PyObject
*_wrap_DC_BlitPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19395 PyObject
*resultobj
= 0;
19396 wxDC
*arg1
= (wxDC
*) 0 ;
19397 wxPoint
*arg2
= 0 ;
19399 wxDC
*arg4
= (wxDC
*) 0 ;
19400 wxPoint
*arg5
= 0 ;
19401 int arg6
= (int) wxCOPY
;
19402 bool arg7
= (bool) false ;
19403 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
19404 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
19418 PyObject
* obj0
= 0 ;
19419 PyObject
* obj1
= 0 ;
19420 PyObject
* obj2
= 0 ;
19421 PyObject
* obj3
= 0 ;
19422 PyObject
* obj4
= 0 ;
19423 PyObject
* obj5
= 0 ;
19424 PyObject
* obj6
= 0 ;
19425 PyObject
* obj7
= 0 ;
19426 char * kwnames
[] = {
19427 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
19430 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
19431 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19432 if (!SWIG_IsOK(res1
)) {
19433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_BlitPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19435 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19438 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19442 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19444 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxDC
, 0 | 0 );
19445 if (!SWIG_IsOK(res4
)) {
19446 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DC_BlitPointSize" "', expected argument " "4"" of type '" "wxDC *""'");
19448 arg4
= reinterpret_cast< wxDC
* >(argp4
);
19451 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
19454 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
19455 if (!SWIG_IsOK(ecode6
)) {
19456 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_BlitPointSize" "', expected argument " "6"" of type '" "int""'");
19458 arg6
= static_cast< int >(val6
);
19461 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
19462 if (!SWIG_IsOK(ecode7
)) {
19463 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_BlitPointSize" "', expected argument " "7"" of type '" "bool""'");
19465 arg7
= static_cast< bool >(val7
);
19470 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
19474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19475 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
19476 wxPyEndAllowThreads(__tstate
);
19477 if (PyErr_Occurred()) SWIG_fail
;
19480 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19488 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19489 PyObject
*resultobj
= 0;
19490 wxDC
*arg1
= (wxDC
*) 0 ;
19505 PyObject
* obj0
= 0 ;
19506 PyObject
* obj1
= 0 ;
19507 PyObject
* obj2
= 0 ;
19508 PyObject
* obj3
= 0 ;
19509 PyObject
* obj4
= 0 ;
19510 char * kwnames
[] = {
19511 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19514 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19515 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19516 if (!SWIG_IsOK(res1
)) {
19517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
19519 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19520 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19521 if (!SWIG_IsOK(ecode2
)) {
19522 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetClippingRegion" "', expected argument " "2"" of type '" "int""'");
19524 arg2
= static_cast< int >(val2
);
19525 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19526 if (!SWIG_IsOK(ecode3
)) {
19527 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetClippingRegion" "', expected argument " "3"" of type '" "int""'");
19529 arg3
= static_cast< int >(val3
);
19530 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19531 if (!SWIG_IsOK(ecode4
)) {
19532 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_SetClippingRegion" "', expected argument " "4"" of type '" "int""'");
19534 arg4
= static_cast< int >(val4
);
19535 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19536 if (!SWIG_IsOK(ecode5
)) {
19537 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_SetClippingRegion" "', expected argument " "5"" of type '" "int""'");
19539 arg5
= static_cast< int >(val5
);
19541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19542 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
19543 wxPyEndAllowThreads(__tstate
);
19544 if (PyErr_Occurred()) SWIG_fail
;
19546 resultobj
= SWIG_Py_Void();
19553 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19554 PyObject
*resultobj
= 0;
19555 wxDC
*arg1
= (wxDC
*) 0 ;
19556 wxPoint
*arg2
= 0 ;
19562 PyObject
* obj0
= 0 ;
19563 PyObject
* obj1
= 0 ;
19564 PyObject
* obj2
= 0 ;
19565 char * kwnames
[] = {
19566 (char *) "self",(char *) "pt",(char *) "sz", NULL
19569 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19570 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19571 if (!SWIG_IsOK(res1
)) {
19572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19574 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19577 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19581 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19585 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
19586 wxPyEndAllowThreads(__tstate
);
19587 if (PyErr_Occurred()) SWIG_fail
;
19589 resultobj
= SWIG_Py_Void();
19596 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19597 PyObject
*resultobj
= 0;
19598 wxDC
*arg1
= (wxDC
*) 0 ;
19599 wxRegion
*arg2
= 0 ;
19604 PyObject
* obj0
= 0 ;
19605 PyObject
* obj1
= 0 ;
19606 char * kwnames
[] = {
19607 (char *) "self",(char *) "region", NULL
19610 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19611 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19612 if (!SWIG_IsOK(res1
)) {
19613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "1"" of type '" "wxDC *""'");
19615 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19616 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
19617 if (!SWIG_IsOK(res2
)) {
19618 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
19621 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
19623 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
19625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19626 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
19627 wxPyEndAllowThreads(__tstate
);
19628 if (PyErr_Occurred()) SWIG_fail
;
19630 resultobj
= SWIG_Py_Void();
19637 SWIGINTERN PyObject
*_wrap_DC_SetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19638 PyObject
*resultobj
= 0;
19639 wxDC
*arg1
= (wxDC
*) 0 ;
19644 PyObject
* obj0
= 0 ;
19645 PyObject
* obj1
= 0 ;
19646 char * kwnames
[] = {
19647 (char *) "self",(char *) "rect", NULL
19650 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19651 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19652 if (!SWIG_IsOK(res1
)) {
19653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
19655 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19658 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19662 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
19663 wxPyEndAllowThreads(__tstate
);
19664 if (PyErr_Occurred()) SWIG_fail
;
19666 resultobj
= SWIG_Py_Void();
19673 SWIGINTERN PyObject
*_wrap_DC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19674 PyObject
*resultobj
= 0;
19675 wxDC
*arg1
= (wxDC
*) 0 ;
19677 wxPoint
*arg3
= (wxPoint
*) 0 ;
19678 int arg4
= (int) 0 ;
19679 int arg5
= (int) 0 ;
19686 PyObject
* obj0
= 0 ;
19687 PyObject
* obj1
= 0 ;
19688 PyObject
* obj2
= 0 ;
19689 PyObject
* obj3
= 0 ;
19690 char * kwnames
[] = {
19691 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
19694 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19695 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19696 if (!SWIG_IsOK(res1
)) {
19697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLines" "', expected argument " "1"" of type '" "wxDC *""'");
19699 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19701 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
19702 if (arg3
== NULL
) SWIG_fail
;
19705 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
19706 if (!SWIG_IsOK(ecode4
)) {
19707 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLines" "', expected argument " "4"" of type '" "int""'");
19709 arg4
= static_cast< int >(val4
);
19712 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
19713 if (!SWIG_IsOK(ecode5
)) {
19714 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLines" "', expected argument " "5"" of type '" "int""'");
19716 arg5
= static_cast< int >(val5
);
19719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19720 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
19721 wxPyEndAllowThreads(__tstate
);
19722 if (PyErr_Occurred()) SWIG_fail
;
19724 resultobj
= SWIG_Py_Void();
19726 if (arg3
) delete [] arg3
;
19731 if (arg3
) delete [] arg3
;
19737 SWIGINTERN PyObject
*_wrap_DC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19738 PyObject
*resultobj
= 0;
19739 wxDC
*arg1
= (wxDC
*) 0 ;
19741 wxPoint
*arg3
= (wxPoint
*) 0 ;
19742 int arg4
= (int) 0 ;
19743 int arg5
= (int) 0 ;
19744 int arg6
= (int) wxODDEVEN_RULE
;
19753 PyObject
* obj0
= 0 ;
19754 PyObject
* obj1
= 0 ;
19755 PyObject
* obj2
= 0 ;
19756 PyObject
* obj3
= 0 ;
19757 PyObject
* obj4
= 0 ;
19758 char * kwnames
[] = {
19759 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
19762 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19763 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19764 if (!SWIG_IsOK(res1
)) {
19765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPolygon" "', expected argument " "1"" of type '" "wxDC *""'");
19767 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19769 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
19770 if (arg3
== NULL
) SWIG_fail
;
19773 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
19774 if (!SWIG_IsOK(ecode4
)) {
19775 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
19777 arg4
= static_cast< int >(val4
);
19780 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
19781 if (!SWIG_IsOK(ecode5
)) {
19782 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
19784 arg5
= static_cast< int >(val5
);
19787 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
19788 if (!SWIG_IsOK(ecode6
)) {
19789 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
19791 arg6
= static_cast< int >(val6
);
19794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19795 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
19796 wxPyEndAllowThreads(__tstate
);
19797 if (PyErr_Occurred()) SWIG_fail
;
19799 resultobj
= SWIG_Py_Void();
19801 if (arg3
) delete [] arg3
;
19806 if (arg3
) delete [] arg3
;
19812 SWIGINTERN PyObject
*_wrap_DC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19813 PyObject
*resultobj
= 0;
19814 wxDC
*arg1
= (wxDC
*) 0 ;
19815 wxString
*arg2
= 0 ;
19817 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
19818 int arg5
= (int) -1 ;
19821 bool temp2
= false ;
19827 PyObject
* obj0
= 0 ;
19828 PyObject
* obj1
= 0 ;
19829 PyObject
* obj2
= 0 ;
19830 PyObject
* obj3
= 0 ;
19831 PyObject
* obj4
= 0 ;
19832 char * kwnames
[] = {
19833 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
19836 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19837 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19838 if (!SWIG_IsOK(res1
)) {
19839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLabel" "', expected argument " "1"" of type '" "wxDC *""'");
19841 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19843 arg2
= wxString_in_helper(obj1
);
19844 if (arg2
== NULL
) SWIG_fail
;
19849 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
19852 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19853 if (!SWIG_IsOK(ecode4
)) {
19854 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
19856 arg4
= static_cast< int >(val4
);
19859 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19860 if (!SWIG_IsOK(ecode5
)) {
19861 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
19863 arg5
= static_cast< int >(val5
);
19866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19867 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
19868 wxPyEndAllowThreads(__tstate
);
19869 if (PyErr_Occurred()) SWIG_fail
;
19871 resultobj
= SWIG_Py_Void();
19886 SWIGINTERN PyObject
*_wrap_DC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19887 PyObject
*resultobj
= 0;
19888 wxDC
*arg1
= (wxDC
*) 0 ;
19889 wxString
*arg2
= 0 ;
19890 wxBitmap
*arg3
= 0 ;
19892 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
19893 int arg6
= (int) -1 ;
19897 bool temp2
= false ;
19905 PyObject
* obj0
= 0 ;
19906 PyObject
* obj1
= 0 ;
19907 PyObject
* obj2
= 0 ;
19908 PyObject
* obj3
= 0 ;
19909 PyObject
* obj4
= 0 ;
19910 PyObject
* obj5
= 0 ;
19911 char * kwnames
[] = {
19912 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
19915 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
19916 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19917 if (!SWIG_IsOK(res1
)) {
19918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawImageLabel" "', expected argument " "1"" of type '" "wxDC *""'");
19920 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19922 arg2
= wxString_in_helper(obj1
);
19923 if (arg2
== NULL
) SWIG_fail
;
19926 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
19927 if (!SWIG_IsOK(res3
)) {
19928 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
19931 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
19933 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
19936 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
19939 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19940 if (!SWIG_IsOK(ecode5
)) {
19941 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
19943 arg5
= static_cast< int >(val5
);
19946 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
19947 if (!SWIG_IsOK(ecode6
)) {
19948 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
19950 arg6
= static_cast< int >(val6
);
19953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19954 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
19955 wxPyEndAllowThreads(__tstate
);
19956 if (PyErr_Occurred()) SWIG_fail
;
19958 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
19973 SWIGINTERN PyObject
*_wrap_DC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19974 PyObject
*resultobj
= 0;
19975 wxDC
*arg1
= (wxDC
*) 0 ;
19977 wxPoint
*arg3
= (wxPoint
*) 0 ;
19980 PyObject
* obj0
= 0 ;
19981 PyObject
* obj1
= 0 ;
19982 char * kwnames
[] = {
19983 (char *) "self",(char *) "points", NULL
19986 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19987 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19988 if (!SWIG_IsOK(res1
)) {
19989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawSpline" "', expected argument " "1"" of type '" "wxDC *""'");
19991 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19993 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
19994 if (arg3
== NULL
) SWIG_fail
;
19997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19998 (arg1
)->DrawSpline(arg2
,arg3
);
19999 wxPyEndAllowThreads(__tstate
);
20000 if (PyErr_Occurred()) SWIG_fail
;
20002 resultobj
= SWIG_Py_Void();
20004 if (arg3
) delete [] arg3
;
20009 if (arg3
) delete [] arg3
;
20015 SWIGINTERN PyObject
*_wrap_DC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20016 PyObject
*resultobj
= 0;
20017 wxDC
*arg1
= (wxDC
*) 0 ;
20020 PyObject
*swig_obj
[1] ;
20022 if (!args
) SWIG_fail
;
20023 swig_obj
[0] = args
;
20024 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20025 if (!SWIG_IsOK(res1
)) {
20026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Clear" "', expected argument " "1"" of type '" "wxDC *""'");
20028 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20032 wxPyEndAllowThreads(__tstate
);
20033 if (PyErr_Occurred()) SWIG_fail
;
20035 resultobj
= SWIG_Py_Void();
20042 SWIGINTERN PyObject
*_wrap_DC_StartDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20043 PyObject
*resultobj
= 0;
20044 wxDC
*arg1
= (wxDC
*) 0 ;
20045 wxString
*arg2
= 0 ;
20049 bool temp2
= false ;
20050 PyObject
* obj0
= 0 ;
20051 PyObject
* obj1
= 0 ;
20052 char * kwnames
[] = {
20053 (char *) "self",(char *) "message", NULL
20056 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20057 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20058 if (!SWIG_IsOK(res1
)) {
20059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartDoc" "', expected argument " "1"" of type '" "wxDC *""'");
20061 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20063 arg2
= wxString_in_helper(obj1
);
20064 if (arg2
== NULL
) SWIG_fail
;
20068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20069 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
20070 wxPyEndAllowThreads(__tstate
);
20071 if (PyErr_Occurred()) SWIG_fail
;
20074 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20090 SWIGINTERN PyObject
*_wrap_DC_EndDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20091 PyObject
*resultobj
= 0;
20092 wxDC
*arg1
= (wxDC
*) 0 ;
20095 PyObject
*swig_obj
[1] ;
20097 if (!args
) SWIG_fail
;
20098 swig_obj
[0] = args
;
20099 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20100 if (!SWIG_IsOK(res1
)) {
20101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndDoc" "', expected argument " "1"" of type '" "wxDC *""'");
20103 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20107 wxPyEndAllowThreads(__tstate
);
20108 if (PyErr_Occurred()) SWIG_fail
;
20110 resultobj
= SWIG_Py_Void();
20117 SWIGINTERN PyObject
*_wrap_DC_StartPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20118 PyObject
*resultobj
= 0;
20119 wxDC
*arg1
= (wxDC
*) 0 ;
20122 PyObject
*swig_obj
[1] ;
20124 if (!args
) SWIG_fail
;
20125 swig_obj
[0] = args
;
20126 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20127 if (!SWIG_IsOK(res1
)) {
20128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartPage" "', expected argument " "1"" of type '" "wxDC *""'");
20130 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20133 (arg1
)->StartPage();
20134 wxPyEndAllowThreads(__tstate
);
20135 if (PyErr_Occurred()) SWIG_fail
;
20137 resultobj
= SWIG_Py_Void();
20144 SWIGINTERN PyObject
*_wrap_DC_EndPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20145 PyObject
*resultobj
= 0;
20146 wxDC
*arg1
= (wxDC
*) 0 ;
20149 PyObject
*swig_obj
[1] ;
20151 if (!args
) SWIG_fail
;
20152 swig_obj
[0] = args
;
20153 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20154 if (!SWIG_IsOK(res1
)) {
20155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndPage" "', expected argument " "1"" of type '" "wxDC *""'");
20157 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20161 wxPyEndAllowThreads(__tstate
);
20162 if (PyErr_Occurred()) SWIG_fail
;
20164 resultobj
= SWIG_Py_Void();
20171 SWIGINTERN PyObject
*_wrap_DC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20172 PyObject
*resultobj
= 0;
20173 wxDC
*arg1
= (wxDC
*) 0 ;
20179 PyObject
* obj0
= 0 ;
20180 PyObject
* obj1
= 0 ;
20181 char * kwnames
[] = {
20182 (char *) "self",(char *) "font", NULL
20185 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20186 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20187 if (!SWIG_IsOK(res1
)) {
20188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetFont" "', expected argument " "1"" of type '" "wxDC *""'");
20190 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20191 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
20192 if (!SWIG_IsOK(res2
)) {
20193 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
20196 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
20198 arg2
= reinterpret_cast< wxFont
* >(argp2
);
20200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20201 (arg1
)->SetFont((wxFont
const &)*arg2
);
20202 wxPyEndAllowThreads(__tstate
);
20203 if (PyErr_Occurred()) SWIG_fail
;
20205 resultobj
= SWIG_Py_Void();
20212 SWIGINTERN PyObject
*_wrap_DC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20213 PyObject
*resultobj
= 0;
20214 wxDC
*arg1
= (wxDC
*) 0 ;
20220 PyObject
* obj0
= 0 ;
20221 PyObject
* obj1
= 0 ;
20222 char * kwnames
[] = {
20223 (char *) "self",(char *) "pen", NULL
20226 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20227 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20228 if (!SWIG_IsOK(res1
)) {
20229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPen" "', expected argument " "1"" of type '" "wxDC *""'");
20231 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20232 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
20233 if (!SWIG_IsOK(res2
)) {
20234 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
20237 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
20239 arg2
= reinterpret_cast< wxPen
* >(argp2
);
20241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20242 (arg1
)->SetPen((wxPen
const &)*arg2
);
20243 wxPyEndAllowThreads(__tstate
);
20244 if (PyErr_Occurred()) SWIG_fail
;
20246 resultobj
= SWIG_Py_Void();
20253 SWIGINTERN PyObject
*_wrap_DC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20254 PyObject
*resultobj
= 0;
20255 wxDC
*arg1
= (wxDC
*) 0 ;
20256 wxBrush
*arg2
= 0 ;
20261 PyObject
* obj0
= 0 ;
20262 PyObject
* obj1
= 0 ;
20263 char * kwnames
[] = {
20264 (char *) "self",(char *) "brush", NULL
20267 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20268 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20269 if (!SWIG_IsOK(res1
)) {
20270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBrush" "', expected argument " "1"" of type '" "wxDC *""'");
20272 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20273 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
20274 if (!SWIG_IsOK(res2
)) {
20275 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
20278 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
20280 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
20282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20283 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
20284 wxPyEndAllowThreads(__tstate
);
20285 if (PyErr_Occurred()) SWIG_fail
;
20287 resultobj
= SWIG_Py_Void();
20294 SWIGINTERN PyObject
*_wrap_DC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20295 PyObject
*resultobj
= 0;
20296 wxDC
*arg1
= (wxDC
*) 0 ;
20297 wxBrush
*arg2
= 0 ;
20302 PyObject
* obj0
= 0 ;
20303 PyObject
* obj1
= 0 ;
20304 char * kwnames
[] = {
20305 (char *) "self",(char *) "brush", NULL
20308 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20309 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20310 if (!SWIG_IsOK(res1
)) {
20311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackground" "', expected argument " "1"" of type '" "wxDC *""'");
20313 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20314 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
20315 if (!SWIG_IsOK(res2
)) {
20316 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
20319 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
20321 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
20323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20324 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
20325 wxPyEndAllowThreads(__tstate
);
20326 if (PyErr_Occurred()) SWIG_fail
;
20328 resultobj
= SWIG_Py_Void();
20335 SWIGINTERN PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20336 PyObject
*resultobj
= 0;
20337 wxDC
*arg1
= (wxDC
*) 0 ;
20343 PyObject
* obj0
= 0 ;
20344 PyObject
* obj1
= 0 ;
20345 char * kwnames
[] = {
20346 (char *) "self",(char *) "mode", NULL
20349 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20350 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20351 if (!SWIG_IsOK(res1
)) {
20352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxDC *""'");
20354 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20355 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20356 if (!SWIG_IsOK(ecode2
)) {
20357 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
20359 arg2
= static_cast< int >(val2
);
20361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20362 (arg1
)->SetBackgroundMode(arg2
);
20363 wxPyEndAllowThreads(__tstate
);
20364 if (PyErr_Occurred()) SWIG_fail
;
20366 resultobj
= SWIG_Py_Void();
20373 SWIGINTERN PyObject
*_wrap_DC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20374 PyObject
*resultobj
= 0;
20375 wxDC
*arg1
= (wxDC
*) 0 ;
20376 wxPalette
*arg2
= 0 ;
20381 PyObject
* obj0
= 0 ;
20382 PyObject
* obj1
= 0 ;
20383 char * kwnames
[] = {
20384 (char *) "self",(char *) "palette", NULL
20387 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20388 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20389 if (!SWIG_IsOK(res1
)) {
20390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPalette" "', expected argument " "1"" of type '" "wxDC *""'");
20392 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20393 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
20394 if (!SWIG_IsOK(res2
)) {
20395 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
20398 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
20400 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
20402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20403 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
20404 wxPyEndAllowThreads(__tstate
);
20405 if (PyErr_Occurred()) SWIG_fail
;
20407 resultobj
= SWIG_Py_Void();
20414 SWIGINTERN PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20415 PyObject
*resultobj
= 0;
20416 wxDC
*arg1
= (wxDC
*) 0 ;
20419 PyObject
*swig_obj
[1] ;
20421 if (!args
) SWIG_fail
;
20422 swig_obj
[0] = args
;
20423 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20424 if (!SWIG_IsOK(res1
)) {
20425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DestroyClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
20427 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20430 (arg1
)->DestroyClippingRegion();
20431 wxPyEndAllowThreads(__tstate
);
20432 if (PyErr_Occurred()) SWIG_fail
;
20434 resultobj
= SWIG_Py_Void();
20441 SWIGINTERN PyObject
*_wrap_DC_GetClippingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20442 PyObject
*resultobj
= 0;
20443 wxDC
*arg1
= (wxDC
*) 0 ;
20444 int *arg2
= (int *) 0 ;
20445 int *arg3
= (int *) 0 ;
20446 int *arg4
= (int *) 0 ;
20447 int *arg5
= (int *) 0 ;
20451 int res2
= SWIG_TMPOBJ
;
20453 int res3
= SWIG_TMPOBJ
;
20455 int res4
= SWIG_TMPOBJ
;
20457 int res5
= SWIG_TMPOBJ
;
20458 PyObject
*swig_obj
[1] ;
20464 if (!args
) SWIG_fail
;
20465 swig_obj
[0] = args
;
20466 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20467 if (!SWIG_IsOK(res1
)) {
20468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingBox" "', expected argument " "1"" of type '" "wxDC const *""'");
20470 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20473 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
20474 wxPyEndAllowThreads(__tstate
);
20475 if (PyErr_Occurred()) SWIG_fail
;
20477 resultobj
= SWIG_Py_Void();
20478 if (SWIG_IsTmpObj(res2
)) {
20479 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
20481 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20482 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
20484 if (SWIG_IsTmpObj(res3
)) {
20485 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20487 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20488 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20490 if (SWIG_IsTmpObj(res4
)) {
20491 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
20493 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20494 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
20496 if (SWIG_IsTmpObj(res5
)) {
20497 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
20499 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20500 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
20508 SWIGINTERN PyObject
*_wrap_DC_GetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20509 PyObject
*resultobj
= 0;
20510 wxDC
*arg1
= (wxDC
*) 0 ;
20514 PyObject
*swig_obj
[1] ;
20516 if (!args
) SWIG_fail
;
20517 swig_obj
[0] = args
;
20518 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20519 if (!SWIG_IsOK(res1
)) {
20520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
20522 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20525 result
= wxDC_GetClippingRect(arg1
);
20526 wxPyEndAllowThreads(__tstate
);
20527 if (PyErr_Occurred()) SWIG_fail
;
20529 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
20536 SWIGINTERN PyObject
*_wrap_DC_GetCharHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20537 PyObject
*resultobj
= 0;
20538 wxDC
*arg1
= (wxDC
*) 0 ;
20542 PyObject
*swig_obj
[1] ;
20544 if (!args
) SWIG_fail
;
20545 swig_obj
[0] = args
;
20546 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20547 if (!SWIG_IsOK(res1
)) {
20548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharHeight" "', expected argument " "1"" of type '" "wxDC const *""'");
20550 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20553 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
20554 wxPyEndAllowThreads(__tstate
);
20555 if (PyErr_Occurred()) SWIG_fail
;
20557 resultobj
= SWIG_From_int(static_cast< int >(result
));
20564 SWIGINTERN PyObject
*_wrap_DC_GetCharWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20565 PyObject
*resultobj
= 0;
20566 wxDC
*arg1
= (wxDC
*) 0 ;
20570 PyObject
*swig_obj
[1] ;
20572 if (!args
) SWIG_fail
;
20573 swig_obj
[0] = args
;
20574 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20575 if (!SWIG_IsOK(res1
)) {
20576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharWidth" "', expected argument " "1"" of type '" "wxDC const *""'");
20578 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20581 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
20582 wxPyEndAllowThreads(__tstate
);
20583 if (PyErr_Occurred()) SWIG_fail
;
20585 resultobj
= SWIG_From_int(static_cast< int >(result
));
20592 SWIGINTERN PyObject
*_wrap_DC_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20593 PyObject
*resultobj
= 0;
20594 wxDC
*arg1
= (wxDC
*) 0 ;
20595 wxString
*arg2
= 0 ;
20596 int *arg3
= (int *) 0 ;
20597 int *arg4
= (int *) 0 ;
20600 bool temp2
= false ;
20602 int res3
= SWIG_TMPOBJ
;
20604 int res4
= SWIG_TMPOBJ
;
20605 PyObject
* obj0
= 0 ;
20606 PyObject
* obj1
= 0 ;
20607 char * kwnames
[] = {
20608 (char *) "self",(char *) "string", NULL
20613 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20614 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20615 if (!SWIG_IsOK(res1
)) {
20616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
20618 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20620 arg2
= wxString_in_helper(obj1
);
20621 if (arg2
== NULL
) SWIG_fail
;
20625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20626 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
20627 wxPyEndAllowThreads(__tstate
);
20628 if (PyErr_Occurred()) SWIG_fail
;
20630 resultobj
= SWIG_Py_Void();
20631 if (SWIG_IsTmpObj(res3
)) {
20632 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20634 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20635 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20637 if (SWIG_IsTmpObj(res4
)) {
20638 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
20640 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20641 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
20657 SWIGINTERN PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20658 PyObject
*resultobj
= 0;
20659 wxDC
*arg1
= (wxDC
*) 0 ;
20660 wxString
*arg2
= 0 ;
20661 int *arg3
= (int *) 0 ;
20662 int *arg4
= (int *) 0 ;
20663 int *arg5
= (int *) 0 ;
20664 int *arg6
= (int *) 0 ;
20665 wxFont
*arg7
= (wxFont
*) NULL
;
20668 bool temp2
= false ;
20670 int res3
= SWIG_TMPOBJ
;
20672 int res4
= SWIG_TMPOBJ
;
20674 int res5
= SWIG_TMPOBJ
;
20676 int res6
= SWIG_TMPOBJ
;
20679 PyObject
* obj0
= 0 ;
20680 PyObject
* obj1
= 0 ;
20681 PyObject
* obj2
= 0 ;
20682 char * kwnames
[] = {
20683 (char *) "self",(char *) "string",(char *) "font", NULL
20690 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20691 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20692 if (!SWIG_IsOK(res1
)) {
20693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFullTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
20695 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20697 arg2
= wxString_in_helper(obj1
);
20698 if (arg2
== NULL
) SWIG_fail
;
20702 res7
= SWIG_ConvertPtr(obj2
, &argp7
,SWIGTYPE_p_wxFont
, 0 | 0 );
20703 if (!SWIG_IsOK(res7
)) {
20704 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "DC_GetFullTextExtent" "', expected argument " "7"" of type '" "wxFont *""'");
20706 arg7
= reinterpret_cast< wxFont
* >(argp7
);
20709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20710 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
20711 wxPyEndAllowThreads(__tstate
);
20712 if (PyErr_Occurred()) SWIG_fail
;
20714 resultobj
= SWIG_Py_Void();
20715 if (SWIG_IsTmpObj(res3
)) {
20716 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20718 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20719 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20721 if (SWIG_IsTmpObj(res4
)) {
20722 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
20724 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20725 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
20727 if (SWIG_IsTmpObj(res5
)) {
20728 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
20730 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20731 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
20733 if (SWIG_IsTmpObj(res6
)) {
20734 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg6
)));
20736 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20737 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, new_flags
));
20753 SWIGINTERN PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20754 PyObject
*resultobj
= 0;
20755 wxDC
*arg1
= (wxDC
*) 0 ;
20756 wxString
*arg2
= 0 ;
20757 int *arg3
= (int *) 0 ;
20758 int *arg4
= (int *) 0 ;
20759 int *arg5
= (int *) 0 ;
20760 wxFont
*arg6
= (wxFont
*) NULL
;
20763 bool temp2
= false ;
20765 int res3
= SWIG_TMPOBJ
;
20767 int res4
= SWIG_TMPOBJ
;
20769 int res5
= SWIG_TMPOBJ
;
20772 PyObject
* obj0
= 0 ;
20773 PyObject
* obj1
= 0 ;
20774 PyObject
* obj2
= 0 ;
20775 char * kwnames
[] = {
20776 (char *) "self",(char *) "text",(char *) "font", NULL
20782 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20783 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20784 if (!SWIG_IsOK(res1
)) {
20785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
20787 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20789 arg2
= wxString_in_helper(obj1
);
20790 if (arg2
== NULL
) SWIG_fail
;
20794 res6
= SWIG_ConvertPtr(obj2
, &argp6
,SWIGTYPE_p_wxFont
, 0 | 0 );
20795 if (!SWIG_IsOK(res6
)) {
20796 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "6"" of type '" "wxFont *""'");
20798 arg6
= reinterpret_cast< wxFont
* >(argp6
);
20801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20802 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
20803 wxPyEndAllowThreads(__tstate
);
20804 if (PyErr_Occurred()) SWIG_fail
;
20806 resultobj
= SWIG_Py_Void();
20807 if (SWIG_IsTmpObj(res3
)) {
20808 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20810 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20811 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20813 if (SWIG_IsTmpObj(res4
)) {
20814 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
20816 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20817 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
20819 if (SWIG_IsTmpObj(res5
)) {
20820 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
20822 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20823 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
20839 SWIGINTERN PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20840 PyObject
*resultobj
= 0;
20841 wxDC
*arg1
= (wxDC
*) 0 ;
20842 wxString
*arg2
= 0 ;
20846 bool temp2
= false ;
20847 PyObject
* obj0
= 0 ;
20848 PyObject
* obj1
= 0 ;
20849 char * kwnames
[] = {
20850 (char *) "self",(char *) "text", NULL
20853 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20854 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20855 if (!SWIG_IsOK(res1
)) {
20856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxDC *""'");
20858 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20860 arg2
= wxString_in_helper(obj1
);
20861 if (arg2
== NULL
) SWIG_fail
;
20865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20866 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
20867 wxPyEndAllowThreads(__tstate
);
20868 if (PyErr_Occurred()) SWIG_fail
;
20871 resultobj
= wxArrayInt2PyList_helper(result
);
20887 SWIGINTERN PyObject
*_wrap_DC_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20888 PyObject
*resultobj
= 0;
20889 wxDC
*arg1
= (wxDC
*) 0 ;
20893 PyObject
*swig_obj
[1] ;
20895 if (!args
) SWIG_fail
;
20896 swig_obj
[0] = args
;
20897 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20898 if (!SWIG_IsOK(res1
)) {
20899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSize" "', expected argument " "1"" of type '" "wxDC *""'");
20901 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20904 result
= (arg1
)->GetSize();
20905 wxPyEndAllowThreads(__tstate
);
20906 if (PyErr_Occurred()) SWIG_fail
;
20908 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
20915 SWIGINTERN PyObject
*_wrap_DC_GetSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20916 PyObject
*resultobj
= 0;
20917 wxDC
*arg1
= (wxDC
*) 0 ;
20918 int *arg2
= (int *) 0 ;
20919 int *arg3
= (int *) 0 ;
20923 int res2
= SWIG_TMPOBJ
;
20925 int res3
= SWIG_TMPOBJ
;
20926 PyObject
*swig_obj
[1] ;
20930 if (!args
) SWIG_fail
;
20931 swig_obj
[0] = args
;
20932 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20933 if (!SWIG_IsOK(res1
)) {
20934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeTuple" "', expected argument " "1"" of type '" "wxDC *""'");
20936 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20939 (arg1
)->GetSize(arg2
,arg3
);
20940 wxPyEndAllowThreads(__tstate
);
20941 if (PyErr_Occurred()) SWIG_fail
;
20943 resultobj
= SWIG_Py_Void();
20944 if (SWIG_IsTmpObj(res2
)) {
20945 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
20947 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20948 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
20950 if (SWIG_IsTmpObj(res3
)) {
20951 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20953 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20954 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20962 SWIGINTERN PyObject
*_wrap_DC_GetSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20963 PyObject
*resultobj
= 0;
20964 wxDC
*arg1
= (wxDC
*) 0 ;
20968 PyObject
*swig_obj
[1] ;
20970 if (!args
) SWIG_fail
;
20971 swig_obj
[0] = args
;
20972 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20973 if (!SWIG_IsOK(res1
)) {
20974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMM" "', expected argument " "1"" of type '" "wxDC const *""'");
20976 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20979 result
= ((wxDC
const *)arg1
)->GetSizeMM();
20980 wxPyEndAllowThreads(__tstate
);
20981 if (PyErr_Occurred()) SWIG_fail
;
20983 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
20990 SWIGINTERN PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20991 PyObject
*resultobj
= 0;
20992 wxDC
*arg1
= (wxDC
*) 0 ;
20993 int *arg2
= (int *) 0 ;
20994 int *arg3
= (int *) 0 ;
20998 int res2
= SWIG_TMPOBJ
;
21000 int res3
= SWIG_TMPOBJ
;
21001 PyObject
*swig_obj
[1] ;
21005 if (!args
) SWIG_fail
;
21006 swig_obj
[0] = args
;
21007 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21008 if (!SWIG_IsOK(res1
)) {
21009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMMTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
21011 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21014 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
21015 wxPyEndAllowThreads(__tstate
);
21016 if (PyErr_Occurred()) SWIG_fail
;
21018 resultobj
= SWIG_Py_Void();
21019 if (SWIG_IsTmpObj(res2
)) {
21020 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21022 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21023 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21025 if (SWIG_IsTmpObj(res3
)) {
21026 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21028 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21029 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21037 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21038 PyObject
*resultobj
= 0;
21039 wxDC
*arg1
= (wxDC
*) 0 ;
21046 PyObject
* obj0
= 0 ;
21047 PyObject
* obj1
= 0 ;
21048 char * kwnames
[] = {
21049 (char *) "self",(char *) "x", NULL
21052 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21053 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21054 if (!SWIG_IsOK(res1
)) {
21055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "1"" of type '" "wxDC const *""'");
21057 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21058 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21059 if (!SWIG_IsOK(ecode2
)) {
21060 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "2"" of type '" "int""'");
21062 arg2
= static_cast< int >(val2
);
21064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21065 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
21066 wxPyEndAllowThreads(__tstate
);
21067 if (PyErr_Occurred()) SWIG_fail
;
21069 resultobj
= SWIG_From_int(static_cast< int >(result
));
21076 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21077 PyObject
*resultobj
= 0;
21078 wxDC
*arg1
= (wxDC
*) 0 ;
21085 PyObject
* obj0
= 0 ;
21086 PyObject
* obj1
= 0 ;
21087 char * kwnames
[] = {
21088 (char *) "self",(char *) "y", NULL
21091 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21092 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21093 if (!SWIG_IsOK(res1
)) {
21094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "1"" of type '" "wxDC const *""'");
21096 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21097 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21098 if (!SWIG_IsOK(ecode2
)) {
21099 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "2"" of type '" "int""'");
21101 arg2
= static_cast< int >(val2
);
21103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21104 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
21105 wxPyEndAllowThreads(__tstate
);
21106 if (PyErr_Occurred()) SWIG_fail
;
21108 resultobj
= SWIG_From_int(static_cast< int >(result
));
21115 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21116 PyObject
*resultobj
= 0;
21117 wxDC
*arg1
= (wxDC
*) 0 ;
21124 PyObject
* obj0
= 0 ;
21125 PyObject
* obj1
= 0 ;
21126 char * kwnames
[] = {
21127 (char *) "self",(char *) "x", NULL
21130 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21131 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21132 if (!SWIG_IsOK(res1
)) {
21133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21135 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21136 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21137 if (!SWIG_IsOK(ecode2
)) {
21138 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "2"" of type '" "int""'");
21140 arg2
= static_cast< int >(val2
);
21142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21143 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
21144 wxPyEndAllowThreads(__tstate
);
21145 if (PyErr_Occurred()) SWIG_fail
;
21147 resultobj
= SWIG_From_int(static_cast< int >(result
));
21154 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21155 PyObject
*resultobj
= 0;
21156 wxDC
*arg1
= (wxDC
*) 0 ;
21163 PyObject
* obj0
= 0 ;
21164 PyObject
* obj1
= 0 ;
21165 char * kwnames
[] = {
21166 (char *) "self",(char *) "y", NULL
21169 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21170 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21171 if (!SWIG_IsOK(res1
)) {
21172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21174 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21175 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21176 if (!SWIG_IsOK(ecode2
)) {
21177 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "2"" of type '" "int""'");
21179 arg2
= static_cast< int >(val2
);
21181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21182 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
21183 wxPyEndAllowThreads(__tstate
);
21184 if (PyErr_Occurred()) SWIG_fail
;
21186 resultobj
= SWIG_From_int(static_cast< int >(result
));
21193 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21194 PyObject
*resultobj
= 0;
21195 wxDC
*arg1
= (wxDC
*) 0 ;
21202 PyObject
* obj0
= 0 ;
21203 PyObject
* obj1
= 0 ;
21204 char * kwnames
[] = {
21205 (char *) "self",(char *) "x", NULL
21208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21209 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21210 if (!SWIG_IsOK(res1
)) {
21211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "1"" of type '" "wxDC const *""'");
21213 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21214 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21215 if (!SWIG_IsOK(ecode2
)) {
21216 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "2"" of type '" "int""'");
21218 arg2
= static_cast< int >(val2
);
21220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21221 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
21222 wxPyEndAllowThreads(__tstate
);
21223 if (PyErr_Occurred()) SWIG_fail
;
21225 resultobj
= SWIG_From_int(static_cast< int >(result
));
21232 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21233 PyObject
*resultobj
= 0;
21234 wxDC
*arg1
= (wxDC
*) 0 ;
21241 PyObject
* obj0
= 0 ;
21242 PyObject
* obj1
= 0 ;
21243 char * kwnames
[] = {
21244 (char *) "self",(char *) "y", NULL
21247 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21248 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21249 if (!SWIG_IsOK(res1
)) {
21250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "1"" of type '" "wxDC const *""'");
21252 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21253 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21254 if (!SWIG_IsOK(ecode2
)) {
21255 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "2"" of type '" "int""'");
21257 arg2
= static_cast< int >(val2
);
21259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21260 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
21261 wxPyEndAllowThreads(__tstate
);
21262 if (PyErr_Occurred()) SWIG_fail
;
21264 resultobj
= SWIG_From_int(static_cast< int >(result
));
21271 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21272 PyObject
*resultobj
= 0;
21273 wxDC
*arg1
= (wxDC
*) 0 ;
21280 PyObject
* obj0
= 0 ;
21281 PyObject
* obj1
= 0 ;
21282 char * kwnames
[] = {
21283 (char *) "self",(char *) "x", NULL
21286 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21287 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21288 if (!SWIG_IsOK(res1
)) {
21289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21291 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21292 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21293 if (!SWIG_IsOK(ecode2
)) {
21294 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "2"" of type '" "int""'");
21296 arg2
= static_cast< int >(val2
);
21298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21299 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
21300 wxPyEndAllowThreads(__tstate
);
21301 if (PyErr_Occurred()) SWIG_fail
;
21303 resultobj
= SWIG_From_int(static_cast< int >(result
));
21310 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21311 PyObject
*resultobj
= 0;
21312 wxDC
*arg1
= (wxDC
*) 0 ;
21319 PyObject
* obj0
= 0 ;
21320 PyObject
* obj1
= 0 ;
21321 char * kwnames
[] = {
21322 (char *) "self",(char *) "y", NULL
21325 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21326 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21327 if (!SWIG_IsOK(res1
)) {
21328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21330 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21331 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21332 if (!SWIG_IsOK(ecode2
)) {
21333 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "2"" of type '" "int""'");
21335 arg2
= static_cast< int >(val2
);
21337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21338 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
21339 wxPyEndAllowThreads(__tstate
);
21340 if (PyErr_Occurred()) SWIG_fail
;
21342 resultobj
= SWIG_From_int(static_cast< int >(result
));
21349 SWIGINTERN PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21350 PyObject
*resultobj
= 0;
21351 wxDC
*arg1
= (wxDC
*) 0 ;
21355 PyObject
*swig_obj
[1] ;
21357 if (!args
) SWIG_fail
;
21358 swig_obj
[0] = args
;
21359 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21360 if (!SWIG_IsOK(res1
)) {
21361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanDrawBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
21363 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21366 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
21367 wxPyEndAllowThreads(__tstate
);
21368 if (PyErr_Occurred()) SWIG_fail
;
21371 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21379 SWIGINTERN PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21380 PyObject
*resultobj
= 0;
21381 wxDC
*arg1
= (wxDC
*) 0 ;
21385 PyObject
*swig_obj
[1] ;
21387 if (!args
) SWIG_fail
;
21388 swig_obj
[0] = args
;
21389 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21390 if (!SWIG_IsOK(res1
)) {
21391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanGetTextExtent" "', expected argument " "1"" of type '" "wxDC const *""'");
21393 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21396 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
21397 wxPyEndAllowThreads(__tstate
);
21398 if (PyErr_Occurred()) SWIG_fail
;
21401 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21409 SWIGINTERN PyObject
*_wrap_DC_GetDepth(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_GetDepth" "', expected argument " "1"" of type '" "wxDC const *""'");
21423 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21426 result
= (int)((wxDC
const *)arg1
)->GetDepth();
21427 wxPyEndAllowThreads(__tstate
);
21428 if (PyErr_Occurred()) SWIG_fail
;
21430 resultobj
= SWIG_From_int(static_cast< int >(result
));
21437 SWIGINTERN PyObject
*_wrap_DC_GetPPI(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_GetPPI" "', expected argument " "1"" of type '" "wxDC const *""'");
21451 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21454 result
= ((wxDC
const *)arg1
)->GetPPI();
21455 wxPyEndAllowThreads(__tstate
);
21456 if (PyErr_Occurred()) SWIG_fail
;
21458 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21465 SWIGINTERN PyObject
*_wrap_DC_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21466 PyObject
*resultobj
= 0;
21467 wxDC
*arg1
= (wxDC
*) 0 ;
21471 PyObject
*swig_obj
[1] ;
21473 if (!args
) SWIG_fail
;
21474 swig_obj
[0] = args
;
21475 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21476 if (!SWIG_IsOK(res1
)) {
21477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_IsOk" "', expected argument " "1"" of type '" "wxDC const *""'");
21479 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21482 result
= (bool)((wxDC
const *)arg1
)->IsOk();
21483 wxPyEndAllowThreads(__tstate
);
21484 if (PyErr_Occurred()) SWIG_fail
;
21487 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21495 SWIGINTERN PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21496 PyObject
*resultobj
= 0;
21497 wxDC
*arg1
= (wxDC
*) 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_GetBackgroundMode" "', expected argument " "1"" of type '" "wxDC const *""'");
21509 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21512 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
21513 wxPyEndAllowThreads(__tstate
);
21514 if (PyErr_Occurred()) SWIG_fail
;
21516 resultobj
= SWIG_From_int(static_cast< int >(result
));
21523 SWIGINTERN PyObject
*_wrap_DC_GetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21524 PyObject
*resultobj
= 0;
21525 wxDC
*arg1
= (wxDC
*) 0 ;
21526 wxBrush
*result
= 0 ;
21529 PyObject
*swig_obj
[1] ;
21531 if (!args
) SWIG_fail
;
21532 swig_obj
[0] = args
;
21533 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21534 if (!SWIG_IsOK(res1
)) {
21535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
21537 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21541 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
21542 result
= (wxBrush
*) &_result_ref
;
21544 wxPyEndAllowThreads(__tstate
);
21545 if (PyErr_Occurred()) SWIG_fail
;
21548 wxBrush
* resultptr
= new wxBrush(*result
);
21549 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
21557 SWIGINTERN PyObject
*_wrap_DC_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21558 PyObject
*resultobj
= 0;
21559 wxDC
*arg1
= (wxDC
*) 0 ;
21560 wxBrush
*result
= 0 ;
21563 PyObject
*swig_obj
[1] ;
21565 if (!args
) SWIG_fail
;
21566 swig_obj
[0] = args
;
21567 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21568 if (!SWIG_IsOK(res1
)) {
21569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBrush" "', expected argument " "1"" of type '" "wxDC const *""'");
21571 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21575 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
21576 result
= (wxBrush
*) &_result_ref
;
21578 wxPyEndAllowThreads(__tstate
);
21579 if (PyErr_Occurred()) SWIG_fail
;
21582 wxBrush
* resultptr
= new wxBrush(*result
);
21583 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
21591 SWIGINTERN PyObject
*_wrap_DC_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21592 PyObject
*resultobj
= 0;
21593 wxDC
*arg1
= (wxDC
*) 0 ;
21594 wxFont
*result
= 0 ;
21597 PyObject
*swig_obj
[1] ;
21599 if (!args
) SWIG_fail
;
21600 swig_obj
[0] = args
;
21601 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21602 if (!SWIG_IsOK(res1
)) {
21603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFont" "', expected argument " "1"" of type '" "wxDC const *""'");
21605 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21609 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
21610 result
= (wxFont
*) &_result_ref
;
21612 wxPyEndAllowThreads(__tstate
);
21613 if (PyErr_Occurred()) SWIG_fail
;
21616 wxFont
* resultptr
= new wxFont(*result
);
21617 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
21625 SWIGINTERN PyObject
*_wrap_DC_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21626 PyObject
*resultobj
= 0;
21627 wxDC
*arg1
= (wxDC
*) 0 ;
21628 wxPen
*result
= 0 ;
21631 PyObject
*swig_obj
[1] ;
21633 if (!args
) SWIG_fail
;
21634 swig_obj
[0] = args
;
21635 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21636 if (!SWIG_IsOK(res1
)) {
21637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPen" "', expected argument " "1"" of type '" "wxDC const *""'");
21639 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21643 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
21644 result
= (wxPen
*) &_result_ref
;
21646 wxPyEndAllowThreads(__tstate
);
21647 if (PyErr_Occurred()) SWIG_fail
;
21650 wxPen
* resultptr
= new wxPen(*result
);
21651 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
21659 SWIGINTERN PyObject
*_wrap_DC_GetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21660 PyObject
*resultobj
= 0;
21661 wxDC
*arg1
= (wxDC
*) 0 ;
21662 wxColour
*result
= 0 ;
21665 PyObject
*swig_obj
[1] ;
21667 if (!args
) SWIG_fail
;
21668 swig_obj
[0] = args
;
21669 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21670 if (!SWIG_IsOK(res1
)) {
21671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
21673 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21677 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
21678 result
= (wxColour
*) &_result_ref
;
21680 wxPyEndAllowThreads(__tstate
);
21681 if (PyErr_Occurred()) SWIG_fail
;
21683 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
21690 SWIGINTERN PyObject
*_wrap_DC_GetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21691 PyObject
*resultobj
= 0;
21692 wxDC
*arg1
= (wxDC
*) 0 ;
21693 wxColour
*result
= 0 ;
21696 PyObject
*swig_obj
[1] ;
21698 if (!args
) SWIG_fail
;
21699 swig_obj
[0] = args
;
21700 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21701 if (!SWIG_IsOK(res1
)) {
21702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextForeground" "', expected argument " "1"" of type '" "wxDC const *""'");
21704 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21708 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
21709 result
= (wxColour
*) &_result_ref
;
21711 wxPyEndAllowThreads(__tstate
);
21712 if (PyErr_Occurred()) SWIG_fail
;
21714 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
21721 SWIGINTERN PyObject
*_wrap_DC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21722 PyObject
*resultobj
= 0;
21723 wxDC
*arg1
= (wxDC
*) 0 ;
21724 wxColour
*arg2
= 0 ;
21728 PyObject
* obj0
= 0 ;
21729 PyObject
* obj1
= 0 ;
21730 char * kwnames
[] = {
21731 (char *) "self",(char *) "colour", NULL
21734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21735 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21736 if (!SWIG_IsOK(res1
)) {
21737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextForeground" "', expected argument " "1"" of type '" "wxDC *""'");
21739 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21742 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21746 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
21747 wxPyEndAllowThreads(__tstate
);
21748 if (PyErr_Occurred()) SWIG_fail
;
21750 resultobj
= SWIG_Py_Void();
21757 SWIGINTERN PyObject
*_wrap_DC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21758 PyObject
*resultobj
= 0;
21759 wxDC
*arg1
= (wxDC
*) 0 ;
21760 wxColour
*arg2
= 0 ;
21764 PyObject
* obj0
= 0 ;
21765 PyObject
* obj1
= 0 ;
21766 char * kwnames
[] = {
21767 (char *) "self",(char *) "colour", NULL
21770 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21771 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21772 if (!SWIG_IsOK(res1
)) {
21773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextBackground" "', expected argument " "1"" of type '" "wxDC *""'");
21775 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21778 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21782 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
21783 wxPyEndAllowThreads(__tstate
);
21784 if (PyErr_Occurred()) SWIG_fail
;
21786 resultobj
= SWIG_Py_Void();
21793 SWIGINTERN PyObject
*_wrap_DC_GetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21794 PyObject
*resultobj
= 0;
21795 wxDC
*arg1
= (wxDC
*) 0 ;
21799 PyObject
*swig_obj
[1] ;
21801 if (!args
) SWIG_fail
;
21802 swig_obj
[0] = args
;
21803 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21804 if (!SWIG_IsOK(res1
)) {
21805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMapMode" "', expected argument " "1"" of type '" "wxDC const *""'");
21807 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21810 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
21811 wxPyEndAllowThreads(__tstate
);
21812 if (PyErr_Occurred()) SWIG_fail
;
21814 resultobj
= SWIG_From_int(static_cast< int >(result
));
21821 SWIGINTERN PyObject
*_wrap_DC_SetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21822 PyObject
*resultobj
= 0;
21823 wxDC
*arg1
= (wxDC
*) 0 ;
21829 PyObject
* obj0
= 0 ;
21830 PyObject
* obj1
= 0 ;
21831 char * kwnames
[] = {
21832 (char *) "self",(char *) "mode", NULL
21835 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21836 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21837 if (!SWIG_IsOK(res1
)) {
21838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetMapMode" "', expected argument " "1"" of type '" "wxDC *""'");
21840 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21841 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21842 if (!SWIG_IsOK(ecode2
)) {
21843 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetMapMode" "', expected argument " "2"" of type '" "int""'");
21845 arg2
= static_cast< int >(val2
);
21847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21848 (arg1
)->SetMapMode(arg2
);
21849 wxPyEndAllowThreads(__tstate
);
21850 if (PyErr_Occurred()) SWIG_fail
;
21852 resultobj
= SWIG_Py_Void();
21859 SWIGINTERN PyObject
*_wrap_DC_GetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21860 PyObject
*resultobj
= 0;
21861 wxDC
*arg1
= (wxDC
*) 0 ;
21862 double *arg2
= (double *) 0 ;
21863 double *arg3
= (double *) 0 ;
21867 int res2
= SWIG_TMPOBJ
;
21869 int res3
= SWIG_TMPOBJ
;
21870 PyObject
*swig_obj
[1] ;
21874 if (!args
) SWIG_fail
;
21875 swig_obj
[0] = args
;
21876 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21877 if (!SWIG_IsOK(res1
)) {
21878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetUserScale" "', expected argument " "1"" of type '" "wxDC const *""'");
21880 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21883 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
21884 wxPyEndAllowThreads(__tstate
);
21885 if (PyErr_Occurred()) SWIG_fail
;
21887 resultobj
= SWIG_Py_Void();
21888 if (SWIG_IsTmpObj(res2
)) {
21889 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
21891 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21892 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
21894 if (SWIG_IsTmpObj(res3
)) {
21895 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
21897 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21898 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
21906 SWIGINTERN PyObject
*_wrap_DC_SetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21907 PyObject
*resultobj
= 0;
21908 wxDC
*arg1
= (wxDC
*) 0 ;
21917 PyObject
* obj0
= 0 ;
21918 PyObject
* obj1
= 0 ;
21919 PyObject
* obj2
= 0 ;
21920 char * kwnames
[] = {
21921 (char *) "self",(char *) "x",(char *) "y", NULL
21924 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21925 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21926 if (!SWIG_IsOK(res1
)) {
21927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetUserScale" "', expected argument " "1"" of type '" "wxDC *""'");
21929 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21930 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
21931 if (!SWIG_IsOK(ecode2
)) {
21932 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetUserScale" "', expected argument " "2"" of type '" "double""'");
21934 arg2
= static_cast< double >(val2
);
21935 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
21936 if (!SWIG_IsOK(ecode3
)) {
21937 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetUserScale" "', expected argument " "3"" of type '" "double""'");
21939 arg3
= static_cast< double >(val3
);
21941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21942 (arg1
)->SetUserScale(arg2
,arg3
);
21943 wxPyEndAllowThreads(__tstate
);
21944 if (PyErr_Occurred()) SWIG_fail
;
21946 resultobj
= SWIG_Py_Void();
21953 SWIGINTERN PyObject
*_wrap_DC_GetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21954 PyObject
*resultobj
= 0;
21955 wxDC
*arg1
= (wxDC
*) 0 ;
21956 double *arg2
= (double *) 0 ;
21957 double *arg3
= (double *) 0 ;
21961 int res2
= SWIG_TMPOBJ
;
21963 int res3
= SWIG_TMPOBJ
;
21964 PyObject
*swig_obj
[1] ;
21968 if (!args
) SWIG_fail
;
21969 swig_obj
[0] = args
;
21970 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21971 if (!SWIG_IsOK(res1
)) {
21972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
21974 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21977 (arg1
)->GetLogicalScale(arg2
,arg3
);
21978 wxPyEndAllowThreads(__tstate
);
21979 if (PyErr_Occurred()) SWIG_fail
;
21981 resultobj
= SWIG_Py_Void();
21982 if (SWIG_IsTmpObj(res2
)) {
21983 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
21985 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21986 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
21988 if (SWIG_IsTmpObj(res3
)) {
21989 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
21991 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21992 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
22000 SWIGINTERN PyObject
*_wrap_DC_SetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22001 PyObject
*resultobj
= 0;
22002 wxDC
*arg1
= (wxDC
*) 0 ;
22011 PyObject
* obj0
= 0 ;
22012 PyObject
* obj1
= 0 ;
22013 PyObject
* obj2
= 0 ;
22014 char * kwnames
[] = {
22015 (char *) "self",(char *) "x",(char *) "y", NULL
22018 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22019 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22020 if (!SWIG_IsOK(res1
)) {
22021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
22023 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22024 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
22025 if (!SWIG_IsOK(ecode2
)) {
22026 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalScale" "', expected argument " "2"" of type '" "double""'");
22028 arg2
= static_cast< double >(val2
);
22029 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
22030 if (!SWIG_IsOK(ecode3
)) {
22031 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalScale" "', expected argument " "3"" of type '" "double""'");
22033 arg3
= static_cast< double >(val3
);
22035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22036 (arg1
)->SetLogicalScale(arg2
,arg3
);
22037 wxPyEndAllowThreads(__tstate
);
22038 if (PyErr_Occurred()) SWIG_fail
;
22040 resultobj
= SWIG_Py_Void();
22047 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22048 PyObject
*resultobj
= 0;
22049 wxDC
*arg1
= (wxDC
*) 0 ;
22053 PyObject
*swig_obj
[1] ;
22055 if (!args
) SWIG_fail
;
22056 swig_obj
[0] = args
;
22057 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22058 if (!SWIG_IsOK(res1
)) {
22059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
22061 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22064 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
22065 wxPyEndAllowThreads(__tstate
);
22066 if (PyErr_Occurred()) SWIG_fail
;
22068 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
22075 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22076 PyObject
*resultobj
= 0;
22077 wxDC
*arg1
= (wxDC
*) 0 ;
22078 int *arg2
= (int *) 0 ;
22079 int *arg3
= (int *) 0 ;
22083 int res2
= SWIG_TMPOBJ
;
22085 int res3
= SWIG_TMPOBJ
;
22086 PyObject
*swig_obj
[1] ;
22090 if (!args
) SWIG_fail
;
22091 swig_obj
[0] = args
;
22092 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22093 if (!SWIG_IsOK(res1
)) {
22094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
22096 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22099 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
22100 wxPyEndAllowThreads(__tstate
);
22101 if (PyErr_Occurred()) SWIG_fail
;
22103 resultobj
= SWIG_Py_Void();
22104 if (SWIG_IsTmpObj(res2
)) {
22105 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22107 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22108 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22110 if (SWIG_IsTmpObj(res3
)) {
22111 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22113 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22114 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22122 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22123 PyObject
*resultobj
= 0;
22124 wxDC
*arg1
= (wxDC
*) 0 ;
22133 PyObject
* obj0
= 0 ;
22134 PyObject
* obj1
= 0 ;
22135 PyObject
* obj2
= 0 ;
22136 char * kwnames
[] = {
22137 (char *) "self",(char *) "x",(char *) "y", NULL
22140 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22141 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22142 if (!SWIG_IsOK(res1
)) {
22143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22145 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22146 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22147 if (!SWIG_IsOK(ecode2
)) {
22148 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
22150 arg2
= static_cast< int >(val2
);
22151 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22152 if (!SWIG_IsOK(ecode3
)) {
22153 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
22155 arg3
= static_cast< int >(val3
);
22157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22158 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
22159 wxPyEndAllowThreads(__tstate
);
22160 if (PyErr_Occurred()) SWIG_fail
;
22162 resultobj
= SWIG_Py_Void();
22169 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22170 PyObject
*resultobj
= 0;
22171 wxDC
*arg1
= (wxDC
*) 0 ;
22172 wxPoint
*arg2
= 0 ;
22176 PyObject
* obj0
= 0 ;
22177 PyObject
* obj1
= 0 ;
22178 char * kwnames
[] = {
22179 (char *) "self",(char *) "point", NULL
22182 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22183 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22184 if (!SWIG_IsOK(res1
)) {
22185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22187 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22190 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22194 wxDC_SetLogicalOriginPoint(arg1
,(wxPoint
const &)*arg2
);
22195 wxPyEndAllowThreads(__tstate
);
22196 if (PyErr_Occurred()) SWIG_fail
;
22198 resultobj
= SWIG_Py_Void();
22205 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22206 PyObject
*resultobj
= 0;
22207 wxDC
*arg1
= (wxDC
*) 0 ;
22211 PyObject
*swig_obj
[1] ;
22213 if (!args
) SWIG_fail
;
22214 swig_obj
[0] = args
;
22215 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22216 if (!SWIG_IsOK(res1
)) {
22217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
22219 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22222 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
22223 wxPyEndAllowThreads(__tstate
);
22224 if (PyErr_Occurred()) SWIG_fail
;
22226 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
22233 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22234 PyObject
*resultobj
= 0;
22235 wxDC
*arg1
= (wxDC
*) 0 ;
22236 int *arg2
= (int *) 0 ;
22237 int *arg3
= (int *) 0 ;
22241 int res2
= SWIG_TMPOBJ
;
22243 int res3
= SWIG_TMPOBJ
;
22244 PyObject
*swig_obj
[1] ;
22248 if (!args
) SWIG_fail
;
22249 swig_obj
[0] = args
;
22250 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22251 if (!SWIG_IsOK(res1
)) {
22252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
22254 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22257 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
22258 wxPyEndAllowThreads(__tstate
);
22259 if (PyErr_Occurred()) SWIG_fail
;
22261 resultobj
= SWIG_Py_Void();
22262 if (SWIG_IsTmpObj(res2
)) {
22263 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22265 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22266 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22268 if (SWIG_IsTmpObj(res3
)) {
22269 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22271 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22272 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22280 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22281 PyObject
*resultobj
= 0;
22282 wxDC
*arg1
= (wxDC
*) 0 ;
22291 PyObject
* obj0
= 0 ;
22292 PyObject
* obj1
= 0 ;
22293 PyObject
* obj2
= 0 ;
22294 char * kwnames
[] = {
22295 (char *) "self",(char *) "x",(char *) "y", NULL
22298 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22299 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22300 if (!SWIG_IsOK(res1
)) {
22301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22303 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22304 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22305 if (!SWIG_IsOK(ecode2
)) {
22306 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "2"" of type '" "int""'");
22308 arg2
= static_cast< int >(val2
);
22309 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22310 if (!SWIG_IsOK(ecode3
)) {
22311 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "3"" of type '" "int""'");
22313 arg3
= static_cast< int >(val3
);
22315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22316 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
22317 wxPyEndAllowThreads(__tstate
);
22318 if (PyErr_Occurred()) SWIG_fail
;
22320 resultobj
= SWIG_Py_Void();
22327 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22328 PyObject
*resultobj
= 0;
22329 wxDC
*arg1
= (wxDC
*) 0 ;
22330 wxPoint
*arg2
= 0 ;
22334 PyObject
* obj0
= 0 ;
22335 PyObject
* obj1
= 0 ;
22336 char * kwnames
[] = {
22337 (char *) "self",(char *) "point", NULL
22340 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22341 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22342 if (!SWIG_IsOK(res1
)) {
22343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22345 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22348 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22352 wxDC_SetDeviceOriginPoint(arg1
,(wxPoint
const &)*arg2
);
22353 wxPyEndAllowThreads(__tstate
);
22354 if (PyErr_Occurred()) SWIG_fail
;
22356 resultobj
= SWIG_Py_Void();
22363 SWIGINTERN PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22364 PyObject
*resultobj
= 0;
22365 wxDC
*arg1
= (wxDC
*) 0 ;
22374 PyObject
* obj0
= 0 ;
22375 PyObject
* obj1
= 0 ;
22376 PyObject
* obj2
= 0 ;
22377 char * kwnames
[] = {
22378 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
22381 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22382 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22383 if (!SWIG_IsOK(res1
)) {
22384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetAxisOrientation" "', expected argument " "1"" of type '" "wxDC *""'");
22386 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22387 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
22388 if (!SWIG_IsOK(ecode2
)) {
22389 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetAxisOrientation" "', expected argument " "2"" of type '" "bool""'");
22391 arg2
= static_cast< bool >(val2
);
22392 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
22393 if (!SWIG_IsOK(ecode3
)) {
22394 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetAxisOrientation" "', expected argument " "3"" of type '" "bool""'");
22396 arg3
= static_cast< bool >(val3
);
22398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22399 (arg1
)->SetAxisOrientation(arg2
,arg3
);
22400 wxPyEndAllowThreads(__tstate
);
22401 if (PyErr_Occurred()) SWIG_fail
;
22403 resultobj
= SWIG_Py_Void();
22410 SWIGINTERN PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22411 PyObject
*resultobj
= 0;
22412 wxDC
*arg1
= (wxDC
*) 0 ;
22416 PyObject
*swig_obj
[1] ;
22418 if (!args
) SWIG_fail
;
22419 swig_obj
[0] = args
;
22420 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22421 if (!SWIG_IsOK(res1
)) {
22422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalFunction" "', expected argument " "1"" of type '" "wxDC const *""'");
22424 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22427 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
22428 wxPyEndAllowThreads(__tstate
);
22429 if (PyErr_Occurred()) SWIG_fail
;
22431 resultobj
= SWIG_From_int(static_cast< int >(result
));
22438 SWIGINTERN PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22439 PyObject
*resultobj
= 0;
22440 wxDC
*arg1
= (wxDC
*) 0 ;
22446 PyObject
* obj0
= 0 ;
22447 PyObject
* obj1
= 0 ;
22448 char * kwnames
[] = {
22449 (char *) "self",(char *) "function", NULL
22452 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22453 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22454 if (!SWIG_IsOK(res1
)) {
22455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxDC *""'");
22457 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22458 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22459 if (!SWIG_IsOK(ecode2
)) {
22460 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
22462 arg2
= static_cast< int >(val2
);
22464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22465 (arg1
)->SetLogicalFunction(arg2
);
22466 wxPyEndAllowThreads(__tstate
);
22467 if (PyErr_Occurred()) SWIG_fail
;
22469 resultobj
= SWIG_Py_Void();
22476 SWIGINTERN PyObject
*_wrap_DC_ComputeScaleAndOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22477 PyObject
*resultobj
= 0;
22478 wxDC
*arg1
= (wxDC
*) 0 ;
22481 PyObject
*swig_obj
[1] ;
22483 if (!args
) SWIG_fail
;
22484 swig_obj
[0] = args
;
22485 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22486 if (!SWIG_IsOK(res1
)) {
22487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ComputeScaleAndOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22489 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22492 (arg1
)->ComputeScaleAndOrigin();
22493 wxPyEndAllowThreads(__tstate
);
22494 if (PyErr_Occurred()) SWIG_fail
;
22496 resultobj
= SWIG_Py_Void();
22503 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22504 PyObject
*resultobj
= 0;
22505 wxDC
*arg1
= (wxDC
*) 0 ;
22514 PyObject
* obj0
= 0 ;
22515 PyObject
* obj1
= 0 ;
22516 PyObject
* obj2
= 0 ;
22517 char * kwnames
[] = {
22518 (char *) "self",(char *) "x",(char *) "y", NULL
22521 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22522 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22523 if (!SWIG_IsOK(res1
)) {
22524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
22526 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22527 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22528 if (!SWIG_IsOK(ecode2
)) {
22529 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CalcBoundingBox" "', expected argument " "2"" of type '" "int""'");
22531 arg2
= static_cast< int >(val2
);
22532 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22533 if (!SWIG_IsOK(ecode3
)) {
22534 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CalcBoundingBox" "', expected argument " "3"" of type '" "int""'");
22536 arg3
= static_cast< int >(val3
);
22538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22539 (arg1
)->CalcBoundingBox(arg2
,arg3
);
22540 wxPyEndAllowThreads(__tstate
);
22541 if (PyErr_Occurred()) SWIG_fail
;
22543 resultobj
= SWIG_Py_Void();
22550 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBoxPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22551 PyObject
*resultobj
= 0;
22552 wxDC
*arg1
= (wxDC
*) 0 ;
22553 wxPoint
*arg2
= 0 ;
22557 PyObject
* obj0
= 0 ;
22558 PyObject
* obj1
= 0 ;
22559 char * kwnames
[] = {
22560 (char *) "self",(char *) "point", NULL
22563 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22564 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22565 if (!SWIG_IsOK(res1
)) {
22566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBoxPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22568 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22571 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22575 wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint
const &)*arg2
);
22576 wxPyEndAllowThreads(__tstate
);
22577 if (PyErr_Occurred()) SWIG_fail
;
22579 resultobj
= SWIG_Py_Void();
22586 SWIGINTERN PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22587 PyObject
*resultobj
= 0;
22588 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_ResetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
22599 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22602 (arg1
)->ResetBoundingBox();
22603 wxPyEndAllowThreads(__tstate
);
22604 if (PyErr_Occurred()) SWIG_fail
;
22606 resultobj
= SWIG_Py_Void();
22613 SWIGINTERN PyObject
*_wrap_DC_MinX(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_MinX" "', expected argument " "1"" of type '" "wxDC const *""'");
22627 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22630 result
= (int)((wxDC
const *)arg1
)->MinX();
22631 wxPyEndAllowThreads(__tstate
);
22632 if (PyErr_Occurred()) SWIG_fail
;
22634 resultobj
= SWIG_From_int(static_cast< int >(result
));
22641 SWIGINTERN PyObject
*_wrap_DC_MaxX(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_MaxX" "', expected argument " "1"" of type '" "wxDC const *""'");
22655 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22658 result
= (int)((wxDC
const *)arg1
)->MaxX();
22659 wxPyEndAllowThreads(__tstate
);
22660 if (PyErr_Occurred()) SWIG_fail
;
22662 resultobj
= SWIG_From_int(static_cast< int >(result
));
22669 SWIGINTERN PyObject
*_wrap_DC_MinY(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_MinY" "', expected argument " "1"" of type '" "wxDC const *""'");
22683 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22686 result
= (int)((wxDC
const *)arg1
)->MinY();
22687 wxPyEndAllowThreads(__tstate
);
22688 if (PyErr_Occurred()) SWIG_fail
;
22690 resultobj
= SWIG_From_int(static_cast< int >(result
));
22697 SWIGINTERN PyObject
*_wrap_DC_MaxY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22698 PyObject
*resultobj
= 0;
22699 wxDC
*arg1
= (wxDC
*) 0 ;
22703 PyObject
*swig_obj
[1] ;
22705 if (!args
) SWIG_fail
;
22706 swig_obj
[0] = args
;
22707 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22708 if (!SWIG_IsOK(res1
)) {
22709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxY" "', expected argument " "1"" of type '" "wxDC const *""'");
22711 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22714 result
= (int)((wxDC
const *)arg1
)->MaxY();
22715 wxPyEndAllowThreads(__tstate
);
22716 if (PyErr_Occurred()) SWIG_fail
;
22718 resultobj
= SWIG_From_int(static_cast< int >(result
));
22725 SWIGINTERN PyObject
*_wrap_DC_GetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22726 PyObject
*resultobj
= 0;
22727 wxDC
*arg1
= (wxDC
*) 0 ;
22728 int *arg2
= (int *) 0 ;
22729 int *arg3
= (int *) 0 ;
22730 int *arg4
= (int *) 0 ;
22731 int *arg5
= (int *) 0 ;
22735 int res2
= SWIG_TMPOBJ
;
22737 int res3
= SWIG_TMPOBJ
;
22739 int res4
= SWIG_TMPOBJ
;
22741 int res5
= SWIG_TMPOBJ
;
22742 PyObject
*swig_obj
[1] ;
22748 if (!args
) SWIG_fail
;
22749 swig_obj
[0] = args
;
22750 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22751 if (!SWIG_IsOK(res1
)) {
22752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
22754 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22757 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
22758 wxPyEndAllowThreads(__tstate
);
22759 if (PyErr_Occurred()) SWIG_fail
;
22761 resultobj
= SWIG_Py_Void();
22762 if (SWIG_IsTmpObj(res2
)) {
22763 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22765 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22766 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22768 if (SWIG_IsTmpObj(res3
)) {
22769 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22771 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22772 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22774 if (SWIG_IsTmpObj(res4
)) {
22775 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
22777 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22778 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
22780 if (SWIG_IsTmpObj(res5
)) {
22781 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
22783 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22784 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
22792 SWIGINTERN PyObject
*_wrap_DC_GetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22793 PyObject
*resultobj
= 0;
22794 wxDC
*arg1
= (wxDC
*) 0 ;
22795 wxLayoutDirection result
;
22798 PyObject
*swig_obj
[1] ;
22800 if (!args
) SWIG_fail
;
22801 swig_obj
[0] = args
;
22802 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22803 if (!SWIG_IsOK(res1
)) {
22804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLayoutDirection" "', expected argument " "1"" of type '" "wxDC const *""'");
22806 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22809 result
= (wxLayoutDirection
)((wxDC
const *)arg1
)->GetLayoutDirection();
22810 wxPyEndAllowThreads(__tstate
);
22811 if (PyErr_Occurred()) SWIG_fail
;
22813 resultobj
= SWIG_From_int(static_cast< int >(result
));
22820 SWIGINTERN PyObject
*_wrap_DC_SetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22821 PyObject
*resultobj
= 0;
22822 wxDC
*arg1
= (wxDC
*) 0 ;
22823 wxLayoutDirection arg2
;
22828 PyObject
* obj0
= 0 ;
22829 PyObject
* obj1
= 0 ;
22830 char * kwnames
[] = {
22831 (char *) "self",(char *) "dir", NULL
22834 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLayoutDirection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22835 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22836 if (!SWIG_IsOK(res1
)) {
22837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLayoutDirection" "', expected argument " "1"" of type '" "wxDC *""'");
22839 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22840 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22841 if (!SWIG_IsOK(ecode2
)) {
22842 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLayoutDirection" "', expected argument " "2"" of type '" "wxLayoutDirection""'");
22844 arg2
= static_cast< wxLayoutDirection
>(val2
);
22846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22847 (arg1
)->SetLayoutDirection(arg2
);
22848 wxPyEndAllowThreads(__tstate
);
22849 if (PyErr_Occurred()) SWIG_fail
;
22851 resultobj
= SWIG_Py_Void();
22858 SWIGINTERN PyObject
*_wrap_DC__DrawPointList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22859 PyObject
*resultobj
= 0;
22860 wxDC
*arg1
= (wxDC
*) 0 ;
22861 PyObject
*arg2
= (PyObject
*) 0 ;
22862 PyObject
*arg3
= (PyObject
*) 0 ;
22863 PyObject
*arg4
= (PyObject
*) 0 ;
22864 PyObject
*result
= 0 ;
22867 PyObject
* obj0
= 0 ;
22868 PyObject
* obj1
= 0 ;
22869 PyObject
* obj2
= 0 ;
22870 PyObject
* obj3
= 0 ;
22871 char * kwnames
[] = {
22872 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
22875 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22876 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22877 if (!SWIG_IsOK(res1
)) {
22878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPointList" "', expected argument " "1"" of type '" "wxDC *""'");
22880 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22886 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
22887 wxPyEndAllowThreads(__tstate
);
22888 if (PyErr_Occurred()) SWIG_fail
;
22890 resultobj
= result
;
22897 SWIGINTERN PyObject
*_wrap_DC__DrawLineList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22898 PyObject
*resultobj
= 0;
22899 wxDC
*arg1
= (wxDC
*) 0 ;
22900 PyObject
*arg2
= (PyObject
*) 0 ;
22901 PyObject
*arg3
= (PyObject
*) 0 ;
22902 PyObject
*arg4
= (PyObject
*) 0 ;
22903 PyObject
*result
= 0 ;
22906 PyObject
* obj0
= 0 ;
22907 PyObject
* obj1
= 0 ;
22908 PyObject
* obj2
= 0 ;
22909 PyObject
* obj3
= 0 ;
22910 char * kwnames
[] = {
22911 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
22914 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22915 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22916 if (!SWIG_IsOK(res1
)) {
22917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawLineList" "', expected argument " "1"" of type '" "wxDC *""'");
22919 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22925 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
22926 wxPyEndAllowThreads(__tstate
);
22927 if (PyErr_Occurred()) SWIG_fail
;
22929 resultobj
= result
;
22936 SWIGINTERN PyObject
*_wrap_DC__DrawRectangleList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22937 PyObject
*resultobj
= 0;
22938 wxDC
*arg1
= (wxDC
*) 0 ;
22939 PyObject
*arg2
= (PyObject
*) 0 ;
22940 PyObject
*arg3
= (PyObject
*) 0 ;
22941 PyObject
*arg4
= (PyObject
*) 0 ;
22942 PyObject
*result
= 0 ;
22945 PyObject
* obj0
= 0 ;
22946 PyObject
* obj1
= 0 ;
22947 PyObject
* obj2
= 0 ;
22948 PyObject
* obj3
= 0 ;
22949 char * kwnames
[] = {
22950 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
22953 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22954 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22955 if (!SWIG_IsOK(res1
)) {
22956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawRectangleList" "', expected argument " "1"" of type '" "wxDC *""'");
22958 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22964 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
22965 wxPyEndAllowThreads(__tstate
);
22966 if (PyErr_Occurred()) SWIG_fail
;
22968 resultobj
= result
;
22975 SWIGINTERN PyObject
*_wrap_DC__DrawEllipseList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22976 PyObject
*resultobj
= 0;
22977 wxDC
*arg1
= (wxDC
*) 0 ;
22978 PyObject
*arg2
= (PyObject
*) 0 ;
22979 PyObject
*arg3
= (PyObject
*) 0 ;
22980 PyObject
*arg4
= (PyObject
*) 0 ;
22981 PyObject
*result
= 0 ;
22984 PyObject
* obj0
= 0 ;
22985 PyObject
* obj1
= 0 ;
22986 PyObject
* obj2
= 0 ;
22987 PyObject
* obj3
= 0 ;
22988 char * kwnames
[] = {
22989 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
22992 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22993 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22994 if (!SWIG_IsOK(res1
)) {
22995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawEllipseList" "', expected argument " "1"" of type '" "wxDC *""'");
22997 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23003 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
23004 wxPyEndAllowThreads(__tstate
);
23005 if (PyErr_Occurred()) SWIG_fail
;
23007 resultobj
= result
;
23014 SWIGINTERN PyObject
*_wrap_DC__DrawPolygonList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23015 PyObject
*resultobj
= 0;
23016 wxDC
*arg1
= (wxDC
*) 0 ;
23017 PyObject
*arg2
= (PyObject
*) 0 ;
23018 PyObject
*arg3
= (PyObject
*) 0 ;
23019 PyObject
*arg4
= (PyObject
*) 0 ;
23020 PyObject
*result
= 0 ;
23023 PyObject
* obj0
= 0 ;
23024 PyObject
* obj1
= 0 ;
23025 PyObject
* obj2
= 0 ;
23026 PyObject
* obj3
= 0 ;
23027 char * kwnames
[] = {
23028 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23031 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23032 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23033 if (!SWIG_IsOK(res1
)) {
23034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPolygonList" "', expected argument " "1"" of type '" "wxDC *""'");
23036 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23042 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
23043 wxPyEndAllowThreads(__tstate
);
23044 if (PyErr_Occurred()) SWIG_fail
;
23046 resultobj
= result
;
23053 SWIGINTERN PyObject
*_wrap_DC__DrawTextList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23054 PyObject
*resultobj
= 0;
23055 wxDC
*arg1
= (wxDC
*) 0 ;
23056 PyObject
*arg2
= (PyObject
*) 0 ;
23057 PyObject
*arg3
= (PyObject
*) 0 ;
23058 PyObject
*arg4
= (PyObject
*) 0 ;
23059 PyObject
*arg5
= (PyObject
*) 0 ;
23060 PyObject
*result
= 0 ;
23063 PyObject
* obj0
= 0 ;
23064 PyObject
* obj1
= 0 ;
23065 PyObject
* obj2
= 0 ;
23066 PyObject
* obj3
= 0 ;
23067 PyObject
* obj4
= 0 ;
23068 char * kwnames
[] = {
23069 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
23072 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
23073 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23074 if (!SWIG_IsOK(res1
)) {
23075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawTextList" "', expected argument " "1"" of type '" "wxDC *""'");
23077 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23084 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
23085 wxPyEndAllowThreads(__tstate
);
23086 if (PyErr_Occurred()) SWIG_fail
;
23088 resultobj
= result
;
23095 SWIGINTERN PyObject
*DC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23097 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23098 SWIG_TypeNewClientData(SWIGTYPE_p_wxDC
, SWIG_NewClientData(obj
));
23099 return SWIG_Py_Void();
23102 SWIGINTERN PyObject
*_wrap_new_MemoryDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23103 PyObject
*resultobj
= 0;
23104 wxMemoryDC
*result
= 0 ;
23106 if (!SWIG_Python_UnpackTuple(args
,"new_MemoryDC",0,0,0)) SWIG_fail
;
23108 if (!wxPyCheckForApp()) SWIG_fail
;
23109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23110 result
= (wxMemoryDC
*)new wxMemoryDC();
23111 wxPyEndAllowThreads(__tstate
);
23112 if (PyErr_Occurred()) SWIG_fail
;
23114 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_NEW
| 0 );
23121 SWIGINTERN PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23122 PyObject
*resultobj
= 0;
23123 wxDC
*arg1
= (wxDC
*) 0 ;
23124 wxMemoryDC
*result
= 0 ;
23127 PyObject
* obj0
= 0 ;
23128 char * kwnames
[] = {
23129 (char *) "oldDC", NULL
23132 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) SWIG_fail
;
23133 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23134 if (!SWIG_IsOK(res1
)) {
23135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDCFromDC" "', expected argument " "1"" of type '" "wxDC *""'");
23137 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23139 if (!wxPyCheckForApp()) SWIG_fail
;
23140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23141 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
23142 wxPyEndAllowThreads(__tstate
);
23143 if (PyErr_Occurred()) SWIG_fail
;
23145 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_OWN
| 0 );
23152 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23153 PyObject
*resultobj
= 0;
23154 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
23155 wxBitmap
*arg2
= 0 ;
23160 PyObject
* obj0
= 0 ;
23161 PyObject
* obj1
= 0 ;
23162 char * kwnames
[] = {
23163 (char *) "self",(char *) "bitmap", NULL
23166 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23167 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
23168 if (!SWIG_IsOK(res1
)) {
23169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObject" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
23171 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
23172 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23173 if (!SWIG_IsOK(res2
)) {
23174 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23177 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23179 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23182 (arg1
)->SelectObject((wxBitmap
const &)*arg2
);
23183 wxPyEndAllowThreads(__tstate
);
23184 if (PyErr_Occurred()) SWIG_fail
;
23186 resultobj
= SWIG_Py_Void();
23193 SWIGINTERN PyObject
*MemoryDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23195 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23196 SWIG_TypeNewClientData(SWIGTYPE_p_wxMemoryDC
, SWIG_NewClientData(obj
));
23197 return SWIG_Py_Void();
23200 SWIGINTERN PyObject
*MemoryDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23201 return SWIG_Python_InitShadowInstance(args
);
23204 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23205 PyObject
*resultobj
= 0;
23206 wxDC
*arg1
= (wxDC
*) 0 ;
23207 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
23208 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
23209 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
23210 wxBufferedDC
*result
= 0 ;
23218 if ((nobjs
< 1) || (nobjs
> 3)) SWIG_fail
;
23219 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23220 if (!SWIG_IsOK(res1
)) {
23221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
23223 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23225 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23226 if (!SWIG_IsOK(res2
)) {
23227 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23230 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23232 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23235 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
23236 if (!SWIG_IsOK(ecode3
)) {
23237 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
23239 arg3
= static_cast< int >(val3
);
23242 if (!wxPyCheckForApp()) SWIG_fail
;
23243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23244 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxBitmap
const &)*arg2
,arg3
);
23245 wxPyEndAllowThreads(__tstate
);
23246 if (PyErr_Occurred()) SWIG_fail
;
23248 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
23255 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23256 PyObject
*resultobj
= 0;
23257 wxDC
*arg1
= (wxDC
*) 0 ;
23259 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
23260 wxBufferedDC
*result
= 0 ;
23267 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
23268 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23269 if (!SWIG_IsOK(res1
)) {
23270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
23272 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23275 if ( ! wxSize_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
23278 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
23279 if (!SWIG_IsOK(ecode3
)) {
23280 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
23282 arg3
= static_cast< int >(val3
);
23285 if (!wxPyCheckForApp()) SWIG_fail
;
23286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23287 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
,arg3
);
23288 wxPyEndAllowThreads(__tstate
);
23289 if (PyErr_Occurred()) SWIG_fail
;
23291 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
23298 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23299 PyObject
*resultobj
= 0;
23300 wxWindow
*arg1
= (wxWindow
*) 0 ;
23301 wxDC
*arg2
= (wxDC
*) 0 ;
23303 int arg4
= (int) wxBUFFER_CLIENT_AREA
;
23304 wxBufferedDC
*result
= 0 ;
23313 if ((nobjs
< 3) || (nobjs
> 4)) SWIG_fail
;
23314 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23315 if (!SWIG_IsOK(res1
)) {
23316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxWindow *""'");
23318 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
23319 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
23320 if (!SWIG_IsOK(res2
)) {
23321 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxDC *""'");
23323 arg2
= reinterpret_cast< wxDC
* >(argp2
);
23326 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
23329 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
23330 if (!SWIG_IsOK(ecode4
)) {
23331 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BufferedDC" "', expected argument " "4"" of type '" "int""'");
23333 arg4
= static_cast< int >(val4
);
23336 if (!wxPyCheckForApp()) SWIG_fail
;
23337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23338 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,arg2
,(wxSize
const &)*arg3
,arg4
);
23339 wxPyEndAllowThreads(__tstate
);
23340 if (PyErr_Occurred()) SWIG_fail
;
23342 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
23349 SWIGINTERN PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
23353 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_BufferedDC",0,4,argv
))) SWIG_fail
;
23355 if ((argc
>= 1) && (argc
<= 3)) {
23359 int res
= SWIG_ConvertPtr(argv
[0], &vptr
, SWIGTYPE_p_wxDC
, 0);
23360 _v
= SWIG_CheckState(res
);
23362 if (!_v
) goto check_1
;
23365 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxBitmap
, 0);
23366 _v
= SWIG_CheckState(res
);
23368 if (!_v
) goto check_1
;
23372 int res
= SWIG_AsVal_int(argv
[2], NULL
);
23373 _v
= SWIG_CheckState(res
);
23376 if (!_v
) goto check_1
;
23379 return _wrap_new_BufferedDC__SWIG_0(self
, argc
, argv
);
23383 if ((argc
>= 2) && (argc
<= 3)) {
23387 int res
= SWIG_ConvertPtr(argv
[0], &vptr
, SWIGTYPE_p_wxDC
, 0);
23388 _v
= SWIG_CheckState(res
);
23390 if (!_v
) goto check_2
;
23393 _v
= wxPySimple_typecheck(argv
[1], wxT("wxSize"), 2);
23396 if (!_v
) goto check_2
;
23400 int res
= SWIG_AsVal_int(argv
[2], NULL
);
23401 _v
= SWIG_CheckState(res
);
23404 if (!_v
) goto check_2
;
23406 return _wrap_new_BufferedDC__SWIG_1(self
, argc
, argv
);
23410 if ((argc
>= 3) && (argc
<= 4)) {
23411 return _wrap_new_BufferedDC__SWIG_2(self
, argc
, argv
);
23415 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_BufferedDC'");
23420 SWIGINTERN PyObject
*_wrap_delete_BufferedDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23421 PyObject
*resultobj
= 0;
23422 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
23425 PyObject
*swig_obj
[1] ;
23427 if (!args
) SWIG_fail
;
23428 swig_obj
[0] = args
;
23429 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_DISOWN
| 0 );
23430 if (!SWIG_IsOK(res1
)) {
23431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BufferedDC" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
23433 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
23435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23438 wxPyEndAllowThreads(__tstate
);
23439 if (PyErr_Occurred()) SWIG_fail
;
23441 resultobj
= SWIG_Py_Void();
23448 SWIGINTERN PyObject
*_wrap_BufferedDC_UnMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23449 PyObject
*resultobj
= 0;
23450 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
23453 PyObject
*swig_obj
[1] ;
23455 if (!args
) SWIG_fail
;
23456 swig_obj
[0] = args
;
23457 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
23458 if (!SWIG_IsOK(res1
)) {
23459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_UnMask" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
23461 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
23463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23465 wxPyEndAllowThreads(__tstate
);
23466 if (PyErr_Occurred()) SWIG_fail
;
23468 resultobj
= SWIG_Py_Void();
23475 SWIGINTERN PyObject
*BufferedDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23477 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23478 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedDC
, SWIG_NewClientData(obj
));
23479 return SWIG_Py_Void();
23482 SWIGINTERN PyObject
*BufferedDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23483 return SWIG_Python_InitShadowInstance(args
);
23486 SWIGINTERN PyObject
*_wrap_new_BufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23487 PyObject
*resultobj
= 0;
23488 wxWindow
*arg1
= (wxWindow
*) 0 ;
23489 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
23490 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
23491 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
23492 wxBufferedPaintDC
*result
= 0 ;
23499 PyObject
* obj0
= 0 ;
23500 PyObject
* obj1
= 0 ;
23501 PyObject
* obj2
= 0 ;
23502 char * kwnames
[] = {
23503 (char *) "window",(char *) "buffer",(char *) "style", NULL
23506 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23507 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23508 if (!SWIG_IsOK(res1
)) {
23509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
23511 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
23513 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23514 if (!SWIG_IsOK(res2
)) {
23515 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23518 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23520 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23523 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23524 if (!SWIG_IsOK(ecode3
)) {
23525 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedPaintDC" "', expected argument " "3"" of type '" "int""'");
23527 arg3
= static_cast< int >(val3
);
23530 if (!wxPyCheckForApp()) SWIG_fail
;
23531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23532 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,(wxBitmap
const &)*arg2
,arg3
);
23533 wxPyEndAllowThreads(__tstate
);
23534 if (PyErr_Occurred()) SWIG_fail
;
23536 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
23543 SWIGINTERN PyObject
*BufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23545 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23546 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedPaintDC
, SWIG_NewClientData(obj
));
23547 return SWIG_Py_Void();
23550 SWIGINTERN PyObject
*BufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23551 return SWIG_Python_InitShadowInstance(args
);
23554 SWIGINTERN PyObject
*_wrap_new_ScreenDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23555 PyObject
*resultobj
= 0;
23556 wxScreenDC
*result
= 0 ;
23558 if (!SWIG_Python_UnpackTuple(args
,"new_ScreenDC",0,0,0)) SWIG_fail
;
23560 if (!wxPyCheckForApp()) SWIG_fail
;
23561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23562 result
= (wxScreenDC
*)new wxScreenDC();
23563 wxPyEndAllowThreads(__tstate
);
23564 if (PyErr_Occurred()) SWIG_fail
;
23566 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_NEW
| 0 );
23573 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23574 PyObject
*resultobj
= 0;
23575 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
23576 wxWindow
*arg2
= (wxWindow
*) 0 ;
23582 PyObject
* obj0
= 0 ;
23583 PyObject
* obj1
= 0 ;
23584 char * kwnames
[] = {
23585 (char *) "self",(char *) "window", NULL
23588 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23589 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
23590 if (!SWIG_IsOK(res1
)) {
23591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "1"" of type '" "wxScreenDC *""'");
23593 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
23594 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23595 if (!SWIG_IsOK(res2
)) {
23596 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "2"" of type '" "wxWindow *""'");
23598 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
23600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23601 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
23602 wxPyEndAllowThreads(__tstate
);
23603 if (PyErr_Occurred()) SWIG_fail
;
23606 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23614 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23615 PyObject
*resultobj
= 0;
23616 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
23617 wxRect
*arg2
= (wxRect
*) NULL
;
23623 PyObject
* obj0
= 0 ;
23624 PyObject
* obj1
= 0 ;
23625 char * kwnames
[] = {
23626 (char *) "self",(char *) "rect", NULL
23629 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23630 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
23631 if (!SWIG_IsOK(res1
)) {
23632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
23634 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
23636 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
23637 if (!SWIG_IsOK(res2
)) {
23638 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "2"" of type '" "wxRect *""'");
23640 arg2
= reinterpret_cast< wxRect
* >(argp2
);
23643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23644 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
23645 wxPyEndAllowThreads(__tstate
);
23646 if (PyErr_Occurred()) SWIG_fail
;
23649 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23657 SWIGINTERN PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23658 PyObject
*resultobj
= 0;
23659 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
23663 PyObject
*swig_obj
[1] ;
23665 if (!args
) SWIG_fail
;
23666 swig_obj
[0] = args
;
23667 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
23668 if (!SWIG_IsOK(res1
)) {
23669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_EndDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
23671 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
23673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23674 result
= (bool)(arg1
)->EndDrawingOnTop();
23675 wxPyEndAllowThreads(__tstate
);
23676 if (PyErr_Occurred()) SWIG_fail
;
23679 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23687 SWIGINTERN PyObject
*ScreenDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23689 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23690 SWIG_TypeNewClientData(SWIGTYPE_p_wxScreenDC
, SWIG_NewClientData(obj
));
23691 return SWIG_Py_Void();
23694 SWIGINTERN PyObject
*ScreenDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23695 return SWIG_Python_InitShadowInstance(args
);
23698 SWIGINTERN PyObject
*_wrap_new_WindowDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23699 PyObject
*resultobj
= 0;
23700 wxWindow
*arg1
= (wxWindow
*) 0 ;
23701 wxWindowDC
*result
= 0 ;
23704 PyObject
* obj0
= 0 ;
23705 char * kwnames
[] = {
23706 (char *) "win", NULL
23709 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) SWIG_fail
;
23710 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23711 if (!SWIG_IsOK(res1
)) {
23712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowDC" "', expected argument " "1"" of type '" "wxWindow *""'");
23714 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
23716 if (!wxPyCheckForApp()) SWIG_fail
;
23717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23718 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
23719 wxPyEndAllowThreads(__tstate
);
23720 if (PyErr_Occurred()) SWIG_fail
;
23722 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowDC
, SWIG_POINTER_NEW
| 0 );
23729 SWIGINTERN PyObject
*WindowDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23731 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23732 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowDC
, SWIG_NewClientData(obj
));
23733 return SWIG_Py_Void();
23736 SWIGINTERN PyObject
*WindowDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23737 return SWIG_Python_InitShadowInstance(args
);
23740 SWIGINTERN PyObject
*_wrap_new_ClientDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23741 PyObject
*resultobj
= 0;
23742 wxWindow
*arg1
= (wxWindow
*) 0 ;
23743 wxClientDC
*result
= 0 ;
23746 PyObject
* obj0
= 0 ;
23747 char * kwnames
[] = {
23748 (char *) "win", NULL
23751 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) SWIG_fail
;
23752 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23753 if (!SWIG_IsOK(res1
)) {
23754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ClientDC" "', expected argument " "1"" of type '" "wxWindow *""'");
23756 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
23758 if (!wxPyCheckForApp()) SWIG_fail
;
23759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23760 result
= (wxClientDC
*)new wxClientDC(arg1
);
23761 wxPyEndAllowThreads(__tstate
);
23762 if (PyErr_Occurred()) SWIG_fail
;
23764 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClientDC
, SWIG_POINTER_NEW
| 0 );
23771 SWIGINTERN PyObject
*ClientDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23773 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23774 SWIG_TypeNewClientData(SWIGTYPE_p_wxClientDC
, SWIG_NewClientData(obj
));
23775 return SWIG_Py_Void();
23778 SWIGINTERN PyObject
*ClientDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23779 return SWIG_Python_InitShadowInstance(args
);
23782 SWIGINTERN PyObject
*_wrap_new_PaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23783 PyObject
*resultobj
= 0;
23784 wxWindow
*arg1
= (wxWindow
*) 0 ;
23785 wxPaintDC
*result
= 0 ;
23788 PyObject
* obj0
= 0 ;
23789 char * kwnames
[] = {
23790 (char *) "win", NULL
23793 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) SWIG_fail
;
23794 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23795 if (!SWIG_IsOK(res1
)) {
23796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
23798 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
23800 if (!wxPyCheckForApp()) SWIG_fail
;
23801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23802 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
23803 wxPyEndAllowThreads(__tstate
);
23804 if (PyErr_Occurred()) SWIG_fail
;
23806 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPaintDC
, SWIG_POINTER_NEW
| 0 );
23813 SWIGINTERN PyObject
*PaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23815 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23816 SWIG_TypeNewClientData(SWIGTYPE_p_wxPaintDC
, SWIG_NewClientData(obj
));
23817 return SWIG_Py_Void();
23820 SWIGINTERN PyObject
*PaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23821 return SWIG_Python_InitShadowInstance(args
);
23824 SWIGINTERN PyObject
*_wrap_new_MirrorDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23825 PyObject
*resultobj
= 0;
23828 wxMirrorDC
*result
= 0 ;
23833 PyObject
* obj0
= 0 ;
23834 PyObject
* obj1
= 0 ;
23835 char * kwnames
[] = {
23836 (char *) "dc",(char *) "mirror", NULL
23839 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23840 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
23841 if (!SWIG_IsOK(res1
)) {
23842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
23845 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
23847 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23848 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23849 if (!SWIG_IsOK(ecode2
)) {
23850 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MirrorDC" "', expected argument " "2"" of type '" "bool""'");
23852 arg2
= static_cast< bool >(val2
);
23854 if (!wxPyCheckForApp()) SWIG_fail
;
23855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23856 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
23857 wxPyEndAllowThreads(__tstate
);
23858 if (PyErr_Occurred()) SWIG_fail
;
23860 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMirrorDC
, SWIG_POINTER_NEW
| 0 );
23867 SWIGINTERN PyObject
*MirrorDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23869 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23870 SWIG_TypeNewClientData(SWIGTYPE_p_wxMirrorDC
, SWIG_NewClientData(obj
));
23871 return SWIG_Py_Void();
23874 SWIGINTERN PyObject
*MirrorDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23875 return SWIG_Python_InitShadowInstance(args
);
23878 SWIGINTERN PyObject
*_wrap_new_PostScriptDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23879 PyObject
*resultobj
= 0;
23880 wxPrintData
*arg1
= 0 ;
23881 wxPostScriptDC
*result
= 0 ;
23884 PyObject
* obj0
= 0 ;
23885 char * kwnames
[] = {
23886 (char *) "printData", NULL
23889 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) SWIG_fail
;
23890 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
23891 if (!SWIG_IsOK(res1
)) {
23892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23895 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23897 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23899 if (!wxPyCheckForApp()) SWIG_fail
;
23900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23901 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
23902 wxPyEndAllowThreads(__tstate
);
23903 if (PyErr_Occurred()) SWIG_fail
;
23905 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPostScriptDC
, SWIG_POINTER_NEW
| 0 );
23912 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23913 PyObject
*resultobj
= 0;
23914 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
23915 wxPrintData
*result
= 0 ;
23918 PyObject
*swig_obj
[1] ;
23920 if (!args
) SWIG_fail
;
23921 swig_obj
[0] = args
;
23922 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
23923 if (!SWIG_IsOK(res1
)) {
23924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_GetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
23926 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
23928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23930 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
23931 result
= (wxPrintData
*) &_result_ref
;
23933 wxPyEndAllowThreads(__tstate
);
23934 if (PyErr_Occurred()) SWIG_fail
;
23936 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
23943 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23944 PyObject
*resultobj
= 0;
23945 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
23946 wxPrintData
*arg2
= 0 ;
23951 PyObject
* obj0
= 0 ;
23952 PyObject
* obj1
= 0 ;
23953 char * kwnames
[] = {
23954 (char *) "self",(char *) "data", NULL
23957 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23958 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
23959 if (!SWIG_IsOK(res1
)) {
23960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
23962 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
23963 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
23964 if (!SWIG_IsOK(res2
)) {
23965 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
23968 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
23970 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
23972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23973 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
23974 wxPyEndAllowThreads(__tstate
);
23975 if (PyErr_Occurred()) SWIG_fail
;
23977 resultobj
= SWIG_Py_Void();
23984 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23985 PyObject
*resultobj
= 0;
23989 PyObject
* obj0
= 0 ;
23990 char * kwnames
[] = {
23991 (char *) "ppi", NULL
23994 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) SWIG_fail
;
23995 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23996 if (!SWIG_IsOK(ecode1
)) {
23997 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PostScriptDC_SetResolution" "', expected argument " "1"" of type '" "int""'");
23999 arg1
= static_cast< int >(val1
);
24001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24002 wxPostScriptDC::SetResolution(arg1
);
24003 wxPyEndAllowThreads(__tstate
);
24004 if (PyErr_Occurred()) SWIG_fail
;
24006 resultobj
= SWIG_Py_Void();
24013 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24014 PyObject
*resultobj
= 0;
24017 if (!SWIG_Python_UnpackTuple(args
,"PostScriptDC_GetResolution",0,0,0)) SWIG_fail
;
24019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24020 result
= (int)wxPostScriptDC::GetResolution();
24021 wxPyEndAllowThreads(__tstate
);
24022 if (PyErr_Occurred()) SWIG_fail
;
24024 resultobj
= SWIG_From_int(static_cast< int >(result
));
24031 SWIGINTERN PyObject
*PostScriptDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24033 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24034 SWIG_TypeNewClientData(SWIGTYPE_p_wxPostScriptDC
, SWIG_NewClientData(obj
));
24035 return SWIG_Py_Void();
24038 SWIGINTERN PyObject
*PostScriptDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24039 return SWIG_Python_InitShadowInstance(args
);
24042 SWIGINTERN PyObject
*_wrap_new_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24043 PyObject
*resultobj
= 0;
24044 wxString
const &arg1_defvalue
= wxPyEmptyString
;
24045 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24046 wxMetaFile
*result
= 0 ;
24047 bool temp1
= false ;
24048 PyObject
* obj0
= 0 ;
24049 char * kwnames
[] = {
24050 (char *) "filename", NULL
24053 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) SWIG_fail
;
24056 arg1
= wxString_in_helper(obj0
);
24057 if (arg1
== NULL
) SWIG_fail
;
24062 if (!wxPyCheckForApp()) SWIG_fail
;
24063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24064 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
24065 wxPyEndAllowThreads(__tstate
);
24066 if (PyErr_Occurred()) SWIG_fail
;
24068 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_NEW
| 0 );
24083 SWIGINTERN PyObject
*MetaFile_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24085 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24086 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFile
, SWIG_NewClientData(obj
));
24087 return SWIG_Py_Void();
24090 SWIGINTERN PyObject
*MetaFile_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24091 return SWIG_Python_InitShadowInstance(args
);
24094 SWIGINTERN PyObject
*_wrap_new_MetaFileDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24095 PyObject
*resultobj
= 0;
24096 wxString
const &arg1_defvalue
= wxPyEmptyString
;
24097 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24098 int arg2
= (int) 0 ;
24099 int arg3
= (int) 0 ;
24100 wxString
const &arg4_defvalue
= wxPyEmptyString
;
24101 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
24102 wxMetaFileDC
*result
= 0 ;
24103 bool temp1
= false ;
24108 bool temp4
= false ;
24109 PyObject
* obj0
= 0 ;
24110 PyObject
* obj1
= 0 ;
24111 PyObject
* obj2
= 0 ;
24112 PyObject
* obj3
= 0 ;
24113 char * kwnames
[] = {
24114 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
24117 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24120 arg1
= wxString_in_helper(obj0
);
24121 if (arg1
== NULL
) SWIG_fail
;
24126 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24127 if (!SWIG_IsOK(ecode2
)) {
24128 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MetaFileDC" "', expected argument " "2"" of type '" "int""'");
24130 arg2
= static_cast< int >(val2
);
24133 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24134 if (!SWIG_IsOK(ecode3
)) {
24135 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_MetaFileDC" "', expected argument " "3"" of type '" "int""'");
24137 arg3
= static_cast< int >(val3
);
24141 arg4
= wxString_in_helper(obj3
);
24142 if (arg4
== NULL
) SWIG_fail
;
24147 if (!wxPyCheckForApp()) SWIG_fail
;
24148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24149 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
24150 wxPyEndAllowThreads(__tstate
);
24151 if (PyErr_Occurred()) SWIG_fail
;
24153 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFileDC
, SWIG_POINTER_NEW
| 0 );
24176 SWIGINTERN PyObject
*MetaFileDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24178 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24179 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFileDC
, SWIG_NewClientData(obj
));
24180 return SWIG_Py_Void();
24183 SWIGINTERN PyObject
*MetaFileDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24184 return SWIG_Python_InitShadowInstance(args
);
24187 SWIGINTERN PyObject
*_wrap_new_PrinterDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24188 PyObject
*resultobj
= 0;
24189 wxPrintData
*arg1
= 0 ;
24190 wxPrinterDC
*result
= 0 ;
24193 PyObject
* obj0
= 0 ;
24194 char * kwnames
[] = {
24195 (char *) "printData", NULL
24198 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) SWIG_fail
;
24199 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24200 if (!SWIG_IsOK(res1
)) {
24201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24204 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24206 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24208 if (!wxPyCheckForApp()) SWIG_fail
;
24209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24210 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
24211 wxPyEndAllowThreads(__tstate
);
24212 if (PyErr_Occurred()) SWIG_fail
;
24214 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinterDC
, SWIG_POINTER_NEW
| 0 );
24221 SWIGINTERN PyObject
*PrinterDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24223 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24224 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinterDC
, SWIG_NewClientData(obj
));
24225 return SWIG_Py_Void();
24228 SWIGINTERN PyObject
*PrinterDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24229 return SWIG_Python_InitShadowInstance(args
);
24232 SWIGINTERN PyObject
*_wrap_delete_GraphicsPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24233 PyObject
*resultobj
= 0;
24234 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
24237 PyObject
*swig_obj
[1] ;
24239 if (!args
) SWIG_fail
;
24240 swig_obj
[0] = args
;
24241 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_DISOWN
| 0 );
24242 if (!SWIG_IsOK(res1
)) {
24243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsPath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
24245 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
24249 if (PyErr_Occurred()) SWIG_fail
;
24251 resultobj
= SWIG_Py_Void();
24258 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24259 PyObject
*resultobj
= 0;
24260 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
24269 PyObject
* obj0
= 0 ;
24270 PyObject
* obj1
= 0 ;
24271 PyObject
* obj2
= 0 ;
24272 char * kwnames
[] = {
24273 (char *) "self",(char *) "x",(char *) "y", NULL
24276 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsPath_MoveToPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24277 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
24278 if (!SWIG_IsOK(res1
)) {
24279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
24281 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
24282 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
24283 if (!SWIG_IsOK(ecode2
)) {
24284 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
24286 arg2
= static_cast< wxDouble
>(val2
);
24287 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
24288 if (!SWIG_IsOK(ecode3
)) {
24289 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
24291 arg3
= static_cast< wxDouble
>(val3
);
24293 (arg1
)->MoveToPoint(arg2
,arg3
);
24294 if (PyErr_Occurred()) SWIG_fail
;
24296 resultobj
= SWIG_Py_Void();
24303 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24304 PyObject
*resultobj
= 0;
24305 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
24314 PyObject
* obj0
= 0 ;
24315 PyObject
* obj1
= 0 ;
24316 PyObject
* obj2
= 0 ;
24317 char * kwnames
[] = {
24318 (char *) "self",(char *) "x",(char *) "y", NULL
24321 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsPath_AddLineToPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24322 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
24323 if (!SWIG_IsOK(res1
)) {
24324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
24326 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
24327 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
24328 if (!SWIG_IsOK(ecode2
)) {
24329 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
24331 arg2
= static_cast< wxDouble
>(val2
);
24332 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
24333 if (!SWIG_IsOK(ecode3
)) {
24334 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
24336 arg3
= static_cast< wxDouble
>(val3
);
24338 (arg1
)->AddLineToPoint(arg2
,arg3
);
24339 if (PyErr_Occurred()) SWIG_fail
;
24341 resultobj
= SWIG_Py_Void();
24348 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24349 PyObject
*resultobj
= 0;
24350 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
24371 PyObject
* obj0
= 0 ;
24372 PyObject
* obj1
= 0 ;
24373 PyObject
* obj2
= 0 ;
24374 PyObject
* obj3
= 0 ;
24375 PyObject
* obj4
= 0 ;
24376 PyObject
* obj5
= 0 ;
24377 PyObject
* obj6
= 0 ;
24378 char * kwnames
[] = {
24379 (char *) "self",(char *) "cx1",(char *) "cy1",(char *) "cx2",(char *) "cy2",(char *) "x",(char *) "y", NULL
24382 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsPath_AddCurveToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
24383 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
24384 if (!SWIG_IsOK(res1
)) {
24385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
24387 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
24388 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
24389 if (!SWIG_IsOK(ecode2
)) {
24390 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
24392 arg2
= static_cast< wxDouble
>(val2
);
24393 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
24394 if (!SWIG_IsOK(ecode3
)) {
24395 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
24397 arg3
= static_cast< wxDouble
>(val3
);
24398 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
24399 if (!SWIG_IsOK(ecode4
)) {
24400 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
24402 arg4
= static_cast< wxDouble
>(val4
);
24403 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
24404 if (!SWIG_IsOK(ecode5
)) {
24405 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
24407 arg5
= static_cast< wxDouble
>(val5
);
24408 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
24409 if (!SWIG_IsOK(ecode6
)) {
24410 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "6"" of type '" "wxDouble""'");
24412 arg6
= static_cast< wxDouble
>(val6
);
24413 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
24414 if (!SWIG_IsOK(ecode7
)) {
24415 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "7"" of type '" "wxDouble""'");
24417 arg7
= static_cast< wxDouble
>(val7
);
24419 (arg1
)->AddCurveToPoint(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
24420 if (PyErr_Occurred()) SWIG_fail
;
24422 resultobj
= SWIG_Py_Void();
24429 SWIGINTERN PyObject
*_wrap_GraphicsPath_CloseSubpath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24430 PyObject
*resultobj
= 0;
24431 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
24434 PyObject
*swig_obj
[1] ;
24436 if (!args
) SWIG_fail
;
24437 swig_obj
[0] = args
;
24438 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
24439 if (!SWIG_IsOK(res1
)) {
24440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_CloseSubpath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
24442 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
24444 (arg1
)->CloseSubpath();
24445 if (PyErr_Occurred()) SWIG_fail
;
24447 resultobj
= SWIG_Py_Void();
24454 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetCurrentPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24455 PyObject
*resultobj
= 0;
24456 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
24460 PyObject
*swig_obj
[1] ;
24462 if (!args
) SWIG_fail
;
24463 swig_obj
[0] = args
;
24464 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
24465 if (!SWIG_IsOK(res1
)) {
24466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetCurrentPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
24468 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
24470 result
= (arg1
)->GetCurrentPoint();
24471 if (PyErr_Occurred()) SWIG_fail
;
24473 resultobj
= SWIG_NewPointerObj((new wxPoint2D(static_cast< const wxPoint2D
& >(result
))), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
24480 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24481 PyObject
*resultobj
= 0;
24482 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
24503 PyObject
* obj0
= 0 ;
24504 PyObject
* obj1
= 0 ;
24505 PyObject
* obj2
= 0 ;
24506 PyObject
* obj3
= 0 ;
24507 PyObject
* obj4
= 0 ;
24508 PyObject
* obj5
= 0 ;
24509 PyObject
* obj6
= 0 ;
24510 char * kwnames
[] = {
24511 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "startAngle",(char *) "endAngle",(char *) "clockwise", NULL
24514 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsPath_AddArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
24515 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
24516 if (!SWIG_IsOK(res1
)) {
24517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArc" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
24519 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
24520 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
24521 if (!SWIG_IsOK(ecode2
)) {
24522 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArc" "', expected argument " "2"" of type '" "wxDouble""'");
24524 arg2
= static_cast< wxDouble
>(val2
);
24525 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
24526 if (!SWIG_IsOK(ecode3
)) {
24527 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArc" "', expected argument " "3"" of type '" "wxDouble""'");
24529 arg3
= static_cast< wxDouble
>(val3
);
24530 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
24531 if (!SWIG_IsOK(ecode4
)) {
24532 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArc" "', expected argument " "4"" of type '" "wxDouble""'");
24534 arg4
= static_cast< wxDouble
>(val4
);
24535 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
24536 if (!SWIG_IsOK(ecode5
)) {
24537 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArc" "', expected argument " "5"" of type '" "wxDouble""'");
24539 arg5
= static_cast< wxDouble
>(val5
);
24540 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
24541 if (!SWIG_IsOK(ecode6
)) {
24542 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArc" "', expected argument " "6"" of type '" "wxDouble""'");
24544 arg6
= static_cast< wxDouble
>(val6
);
24545 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
24546 if (!SWIG_IsOK(ecode7
)) {
24547 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddArc" "', expected argument " "7"" of type '" "bool""'");
24549 arg7
= static_cast< bool >(val7
);
24551 (arg1
)->AddArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
24552 if (PyErr_Occurred()) SWIG_fail
;
24554 resultobj
= SWIG_Py_Void();
24561 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddQuadCurveToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24562 PyObject
*resultobj
= 0;
24563 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
24578 PyObject
* obj0
= 0 ;
24579 PyObject
* obj1
= 0 ;
24580 PyObject
* obj2
= 0 ;
24581 PyObject
* obj3
= 0 ;
24582 PyObject
* obj4
= 0 ;
24583 char * kwnames
[] = {
24584 (char *) "self",(char *) "cx",(char *) "cy",(char *) "x",(char *) "y", NULL
24587 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddQuadCurveToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
24588 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
24589 if (!SWIG_IsOK(res1
)) {
24590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
24592 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
24593 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
24594 if (!SWIG_IsOK(ecode2
)) {
24595 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
24597 arg2
= static_cast< wxDouble
>(val2
);
24598 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
24599 if (!SWIG_IsOK(ecode3
)) {
24600 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
24602 arg3
= static_cast< wxDouble
>(val3
);
24603 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
24604 if (!SWIG_IsOK(ecode4
)) {
24605 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
24607 arg4
= static_cast< wxDouble
>(val4
);
24608 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
24609 if (!SWIG_IsOK(ecode5
)) {
24610 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
24612 arg5
= static_cast< wxDouble
>(val5
);
24614 (arg1
)->AddQuadCurveToPoint(arg2
,arg3
,arg4
,arg5
);
24615 if (PyErr_Occurred()) SWIG_fail
;
24617 resultobj
= SWIG_Py_Void();
24624 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24625 PyObject
*resultobj
= 0;
24626 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
24641 PyObject
* obj0
= 0 ;
24642 PyObject
* obj1
= 0 ;
24643 PyObject
* obj2
= 0 ;
24644 PyObject
* obj3
= 0 ;
24645 PyObject
* obj4
= 0 ;
24646 char * kwnames
[] = {
24647 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
24650 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
24651 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
24652 if (!SWIG_IsOK(res1
)) {
24653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
24655 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
24656 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
24657 if (!SWIG_IsOK(ecode2
)) {
24658 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
24660 arg2
= static_cast< wxDouble
>(val2
);
24661 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
24662 if (!SWIG_IsOK(ecode3
)) {
24663 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
24665 arg3
= static_cast< wxDouble
>(val3
);
24666 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
24667 if (!SWIG_IsOK(ecode4
)) {
24668 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
24670 arg4
= static_cast< wxDouble
>(val4
);
24671 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
24672 if (!SWIG_IsOK(ecode5
)) {
24673 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
24675 arg5
= static_cast< wxDouble
>(val5
);
24677 (arg1
)->AddRectangle(arg2
,arg3
,arg4
,arg5
);
24678 if (PyErr_Occurred()) SWIG_fail
;
24680 resultobj
= SWIG_Py_Void();
24687 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24688 PyObject
*resultobj
= 0;
24689 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
24701 PyObject
* obj0
= 0 ;
24702 PyObject
* obj1
= 0 ;
24703 PyObject
* obj2
= 0 ;
24704 PyObject
* obj3
= 0 ;
24705 char * kwnames
[] = {
24706 (char *) "self",(char *) "x",(char *) "y",(char *) "r", NULL
24709 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GraphicsPath_AddCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24710 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
24711 if (!SWIG_IsOK(res1
)) {
24712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
24714 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
24715 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
24716 if (!SWIG_IsOK(ecode2
)) {
24717 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "2"" of type '" "wxDouble""'");
24719 arg2
= static_cast< wxDouble
>(val2
);
24720 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
24721 if (!SWIG_IsOK(ecode3
)) {
24722 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "3"" of type '" "wxDouble""'");
24724 arg3
= static_cast< wxDouble
>(val3
);
24725 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
24726 if (!SWIG_IsOK(ecode4
)) {
24727 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "4"" of type '" "wxDouble""'");
24729 arg4
= static_cast< wxDouble
>(val4
);
24731 (arg1
)->AddCircle(arg2
,arg3
,arg4
);
24732 if (PyErr_Occurred()) SWIG_fail
;
24734 resultobj
= SWIG_Py_Void();
24741 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArcToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24742 PyObject
*resultobj
= 0;
24743 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
24761 PyObject
* obj0
= 0 ;
24762 PyObject
* obj1
= 0 ;
24763 PyObject
* obj2
= 0 ;
24764 PyObject
* obj3
= 0 ;
24765 PyObject
* obj4
= 0 ;
24766 PyObject
* obj5
= 0 ;
24767 char * kwnames
[] = {
24768 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "r", NULL
24771 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsPath_AddArcToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
24772 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
24773 if (!SWIG_IsOK(res1
)) {
24774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
24776 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
24777 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
24778 if (!SWIG_IsOK(ecode2
)) {
24779 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
24781 arg2
= static_cast< wxDouble
>(val2
);
24782 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
24783 if (!SWIG_IsOK(ecode3
)) {
24784 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
24786 arg3
= static_cast< wxDouble
>(val3
);
24787 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
24788 if (!SWIG_IsOK(ecode4
)) {
24789 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
24791 arg4
= static_cast< wxDouble
>(val4
);
24792 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
24793 if (!SWIG_IsOK(ecode5
)) {
24794 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
24796 arg5
= static_cast< wxDouble
>(val5
);
24797 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
24798 if (!SWIG_IsOK(ecode6
)) {
24799 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "6"" of type '" "wxDouble""'");
24801 arg6
= static_cast< wxDouble
>(val6
);
24803 (arg1
)->AddArcToPoint(arg2
,arg3
,arg4
,arg5
,arg6
);
24804 if (PyErr_Occurred()) SWIG_fail
;
24806 resultobj
= SWIG_Py_Void();
24813 SWIGINTERN PyObject
*GraphicsPath_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24815 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24816 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsPath
, SWIG_NewClientData(obj
));
24817 return SWIG_Py_Void();
24820 SWIGINTERN PyObject
*_wrap_delete_GraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24821 PyObject
*resultobj
= 0;
24822 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
24825 PyObject
*swig_obj
[1] ;
24827 if (!args
) SWIG_fail
;
24828 swig_obj
[0] = args
;
24829 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_DISOWN
| 0 );
24830 if (!SWIG_IsOK(res1
)) {
24831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsContext" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
24833 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
24837 if (PyErr_Occurred()) SWIG_fail
;
24839 resultobj
= SWIG_Py_Void();
24846 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24847 PyObject
*resultobj
= 0;
24848 wxWindowDC
*arg1
= 0 ;
24849 wxGraphicsContext
*result
= 0 ;
24852 PyObject
* obj0
= 0 ;
24853 char * kwnames
[] = {
24854 (char *) "dc", NULL
24857 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GraphicsContext_Create",kwnames
,&obj0
)) SWIG_fail
;
24858 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
24859 if (!SWIG_IsOK(res1
)) {
24860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
24863 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
24865 arg1
= reinterpret_cast< wxWindowDC
* >(argp1
);
24867 result
= (wxGraphicsContext
*)wxGraphicsContext::Create((wxWindowDC
const &)*arg1
);
24868 if (PyErr_Occurred()) SWIG_fail
;
24870 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
24877 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreatePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24878 PyObject
*resultobj
= 0;
24879 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
24880 wxGraphicsPath
*result
= 0 ;
24883 PyObject
*swig_obj
[1] ;
24885 if (!args
) SWIG_fail
;
24886 swig_obj
[0] = args
;
24887 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
24888 if (!SWIG_IsOK(res1
)) {
24889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreatePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
24891 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
24893 result
= (wxGraphicsPath
*)(arg1
)->CreatePath();
24894 if (PyErr_Occurred()) SWIG_fail
;
24896 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
24903 SWIGINTERN PyObject
*_wrap_GraphicsContext_PushState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24904 PyObject
*resultobj
= 0;
24905 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
24908 PyObject
*swig_obj
[1] ;
24910 if (!args
) SWIG_fail
;
24911 swig_obj
[0] = args
;
24912 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
24913 if (!SWIG_IsOK(res1
)) {
24914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_PushState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
24916 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
24918 (arg1
)->PushState();
24919 if (PyErr_Occurred()) SWIG_fail
;
24921 resultobj
= SWIG_Py_Void();
24928 SWIGINTERN PyObject
*_wrap_GraphicsContext_PopState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24929 PyObject
*resultobj
= 0;
24930 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
24933 PyObject
*swig_obj
[1] ;
24935 if (!args
) SWIG_fail
;
24936 swig_obj
[0] = args
;
24937 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
24938 if (!SWIG_IsOK(res1
)) {
24939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_PopState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
24941 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
24943 (arg1
)->PopState();
24944 if (PyErr_Occurred()) SWIG_fail
;
24946 resultobj
= SWIG_Py_Void();
24953 SWIGINTERN PyObject
*_wrap_GraphicsContext_Clip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24954 PyObject
*resultobj
= 0;
24955 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
24956 wxRegion
*arg2
= 0 ;
24961 PyObject
* obj0
= 0 ;
24962 PyObject
* obj1
= 0 ;
24963 char * kwnames
[] = {
24964 (char *) "self",(char *) "region", NULL
24967 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_Clip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24968 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
24969 if (!SWIG_IsOK(res1
)) {
24970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Clip" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
24972 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
24973 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
24974 if (!SWIG_IsOK(res2
)) {
24975 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_Clip" "', expected argument " "2"" of type '" "wxRegion const &""'");
24978 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_Clip" "', expected argument " "2"" of type '" "wxRegion const &""'");
24980 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
24982 (arg1
)->Clip((wxRegion
const &)*arg2
);
24983 if (PyErr_Occurred()) SWIG_fail
;
24985 resultobj
= SWIG_Py_Void();
24992 SWIGINTERN PyObject
*_wrap_GraphicsContext_Translate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24993 PyObject
*resultobj
= 0;
24994 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25003 PyObject
* obj0
= 0 ;
25004 PyObject
* obj1
= 0 ;
25005 PyObject
* obj2
= 0 ;
25006 char * kwnames
[] = {
25007 (char *) "self",(char *) "dx",(char *) "dy", NULL
25010 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25011 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25012 if (!SWIG_IsOK(res1
)) {
25013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Translate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25015 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25016 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25017 if (!SWIG_IsOK(ecode2
)) {
25018 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Translate" "', expected argument " "2"" of type '" "wxDouble""'");
25020 arg2
= static_cast< wxDouble
>(val2
);
25021 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25022 if (!SWIG_IsOK(ecode3
)) {
25023 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Translate" "', expected argument " "3"" of type '" "wxDouble""'");
25025 arg3
= static_cast< wxDouble
>(val3
);
25027 (arg1
)->Translate(arg2
,arg3
);
25028 if (PyErr_Occurred()) SWIG_fail
;
25030 resultobj
= SWIG_Py_Void();
25037 SWIGINTERN PyObject
*_wrap_GraphicsContext_Scale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25038 PyObject
*resultobj
= 0;
25039 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25048 PyObject
* obj0
= 0 ;
25049 PyObject
* obj1
= 0 ;
25050 PyObject
* obj2
= 0 ;
25051 char * kwnames
[] = {
25052 (char *) "self",(char *) "xScale",(char *) "yScale", NULL
25055 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25056 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25057 if (!SWIG_IsOK(res1
)) {
25058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Scale" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25060 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25061 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25062 if (!SWIG_IsOK(ecode2
)) {
25063 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Scale" "', expected argument " "2"" of type '" "wxDouble""'");
25065 arg2
= static_cast< wxDouble
>(val2
);
25066 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25067 if (!SWIG_IsOK(ecode3
)) {
25068 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Scale" "', expected argument " "3"" of type '" "wxDouble""'");
25070 arg3
= static_cast< wxDouble
>(val3
);
25072 (arg1
)->Scale(arg2
,arg3
);
25073 if (PyErr_Occurred()) SWIG_fail
;
25075 resultobj
= SWIG_Py_Void();
25082 SWIGINTERN PyObject
*_wrap_GraphicsContext_Rotate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25083 PyObject
*resultobj
= 0;
25084 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25090 PyObject
* obj0
= 0 ;
25091 PyObject
* obj1
= 0 ;
25092 char * kwnames
[] = {
25093 (char *) "self",(char *) "angle", NULL
25096 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_Rotate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25097 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25098 if (!SWIG_IsOK(res1
)) {
25099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Rotate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25101 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25102 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25103 if (!SWIG_IsOK(ecode2
)) {
25104 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Rotate" "', expected argument " "2"" of type '" "wxDouble""'");
25106 arg2
= static_cast< wxDouble
>(val2
);
25108 (arg1
)->Rotate(arg2
);
25109 if (PyErr_Occurred()) SWIG_fail
;
25111 resultobj
= SWIG_Py_Void();
25118 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25119 PyObject
*resultobj
= 0;
25120 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25126 PyObject
* obj0
= 0 ;
25127 PyObject
* obj1
= 0 ;
25128 char * kwnames
[] = {
25129 (char *) "self",(char *) "pen", NULL
25132 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25133 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25134 if (!SWIG_IsOK(res1
)) {
25135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetPen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25137 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25138 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
25139 if (!SWIG_IsOK(res2
)) {
25140 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
25143 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
25145 arg2
= reinterpret_cast< wxPen
* >(argp2
);
25147 (arg1
)->SetPen((wxPen
const &)*arg2
);
25148 if (PyErr_Occurred()) SWIG_fail
;
25150 resultobj
= SWIG_Py_Void();
25157 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25158 PyObject
*resultobj
= 0;
25159 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25160 wxBrush
*arg2
= 0 ;
25165 PyObject
* obj0
= 0 ;
25166 PyObject
* obj1
= 0 ;
25167 char * kwnames
[] = {
25168 (char *) "self",(char *) "brush", NULL
25171 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetBrush",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_SetBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25176 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25177 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
25178 if (!SWIG_IsOK(res2
)) {
25179 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
25182 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
25184 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
25186 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
25187 if (PyErr_Occurred()) SWIG_fail
;
25189 resultobj
= SWIG_Py_Void();
25196 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetLinearGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25197 PyObject
*resultobj
= 0;
25198 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25203 wxColour
*arg6
= 0 ;
25204 wxColour
*arg7
= 0 ;
25217 PyObject
* obj0
= 0 ;
25218 PyObject
* obj1
= 0 ;
25219 PyObject
* obj2
= 0 ;
25220 PyObject
* obj3
= 0 ;
25221 PyObject
* obj4
= 0 ;
25222 PyObject
* obj5
= 0 ;
25223 PyObject
* obj6
= 0 ;
25224 char * kwnames
[] = {
25225 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "c1",(char *) "c2", NULL
25228 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsContext_SetLinearGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
25229 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25230 if (!SWIG_IsOK(res1
)) {
25231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetLinearGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25233 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25234 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25235 if (!SWIG_IsOK(ecode2
)) {
25236 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_SetLinearGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
25238 arg2
= static_cast< wxDouble
>(val2
);
25239 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25240 if (!SWIG_IsOK(ecode3
)) {
25241 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_SetLinearGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
25243 arg3
= static_cast< wxDouble
>(val3
);
25244 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
25245 if (!SWIG_IsOK(ecode4
)) {
25246 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_SetLinearGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
25248 arg4
= static_cast< wxDouble
>(val4
);
25249 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
25250 if (!SWIG_IsOK(ecode5
)) {
25251 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_SetLinearGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
25253 arg5
= static_cast< wxDouble
>(val5
);
25256 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
25260 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
25263 (arg1
)->SetLinearGradientBrush(arg2
,arg3
,arg4
,arg5
,(wxColour
const &)*arg6
,(wxColour
const &)*arg7
);
25264 if (PyErr_Occurred()) SWIG_fail
;
25266 resultobj
= SWIG_Py_Void();
25273 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetRadialGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25274 PyObject
*resultobj
= 0;
25275 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25281 wxColour
*arg7
= 0 ;
25282 wxColour
*arg8
= 0 ;
25297 PyObject
* obj0
= 0 ;
25298 PyObject
* obj1
= 0 ;
25299 PyObject
* obj2
= 0 ;
25300 PyObject
* obj3
= 0 ;
25301 PyObject
* obj4
= 0 ;
25302 PyObject
* obj5
= 0 ;
25303 PyObject
* obj6
= 0 ;
25304 PyObject
* obj7
= 0 ;
25305 char * kwnames
[] = {
25306 (char *) "self",(char *) "xo",(char *) "yo",(char *) "xc",(char *) "yc",(char *) "radius",(char *) "oColor",(char *) "cColor", NULL
25309 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GraphicsContext_SetRadialGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) 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_SetRadialGradientBrush" "', 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_SetRadialGradientBrush" "', 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_SetRadialGradientBrush" "', 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_SetRadialGradientBrush" "', 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_SetRadialGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
25334 arg5
= static_cast< wxDouble
>(val5
);
25335 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
25336 if (!SWIG_IsOK(ecode6
)) {
25337 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_SetRadialGradientBrush" "', expected argument " "6"" of type '" "wxDouble""'");
25339 arg6
= static_cast< wxDouble
>(val6
);
25342 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
25346 if ( ! wxColour_helper(obj7
, &arg8
)) SWIG_fail
;
25349 (arg1
)->SetRadialGradientBrush(arg2
,arg3
,arg4
,arg5
,arg6
,(wxColour
const &)*arg7
,(wxColour
const &)*arg8
);
25350 if (PyErr_Occurred()) SWIG_fail
;
25352 resultobj
= SWIG_Py_Void();
25359 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25360 PyObject
*resultobj
= 0;
25361 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25367 PyObject
* obj0
= 0 ;
25368 PyObject
* obj1
= 0 ;
25369 char * kwnames
[] = {
25370 (char *) "self",(char *) "font", NULL
25373 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25374 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25375 if (!SWIG_IsOK(res1
)) {
25376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25378 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25379 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
25380 if (!SWIG_IsOK(res2
)) {
25381 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
25384 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
25386 arg2
= reinterpret_cast< wxFont
* >(argp2
);
25388 (arg1
)->SetFont((wxFont
const &)*arg2
);
25389 if (PyErr_Occurred()) SWIG_fail
;
25391 resultobj
= SWIG_Py_Void();
25398 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetTextColor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25399 PyObject
*resultobj
= 0;
25400 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25401 wxColour
*arg2
= 0 ;
25405 PyObject
* obj0
= 0 ;
25406 PyObject
* obj1
= 0 ;
25407 char * kwnames
[] = {
25408 (char *) "self",(char *) "col", NULL
25411 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetTextColor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25412 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25413 if (!SWIG_IsOK(res1
)) {
25414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetTextColor" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25416 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25419 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25422 (arg1
)->SetTextColor((wxColour
const &)*arg2
);
25423 if (PyErr_Occurred()) SWIG_fail
;
25425 resultobj
= SWIG_Py_Void();
25432 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25433 PyObject
*resultobj
= 0;
25434 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25435 wxGraphicsPath
*arg2
= (wxGraphicsPath
*) 0 ;
25440 PyObject
* obj0
= 0 ;
25441 PyObject
* obj1
= 0 ;
25442 char * kwnames
[] = {
25443 (char *) "self",(char *) "path", NULL
25446 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_StrokePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25447 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25448 if (!SWIG_IsOK(res1
)) {
25449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25451 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25452 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25453 if (!SWIG_IsOK(res2
)) {
25454 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "2"" of type '" "wxGraphicsPath const *""'");
25456 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
25458 (arg1
)->StrokePath((wxGraphicsPath
const *)arg2
);
25459 if (PyErr_Occurred()) SWIG_fail
;
25461 resultobj
= SWIG_Py_Void();
25468 SWIGINTERN PyObject
*_wrap_GraphicsContext_FillPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25469 PyObject
*resultobj
= 0;
25470 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25471 wxGraphicsPath
*arg2
= (wxGraphicsPath
*) 0 ;
25472 int arg3
= (int) wxWINDING_RULE
;
25479 PyObject
* obj0
= 0 ;
25480 PyObject
* obj1
= 0 ;
25481 PyObject
* obj2
= 0 ;
25482 char * kwnames
[] = {
25483 (char *) "self",(char *) "path",(char *) "fillStyle", NULL
25486 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_FillPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25487 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25488 if (!SWIG_IsOK(res1
)) {
25489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_FillPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25491 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25492 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25493 if (!SWIG_IsOK(res2
)) {
25494 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_FillPath" "', expected argument " "2"" of type '" "wxGraphicsPath const *""'");
25496 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
25498 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25499 if (!SWIG_IsOK(ecode3
)) {
25500 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_FillPath" "', expected argument " "3"" of type '" "int""'");
25502 arg3
= static_cast< int >(val3
);
25505 (arg1
)->FillPath((wxGraphicsPath
const *)arg2
,arg3
);
25506 if (PyErr_Occurred()) SWIG_fail
;
25508 resultobj
= SWIG_Py_Void();
25515 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25516 PyObject
*resultobj
= 0;
25517 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25518 wxGraphicsPath
*arg2
= (wxGraphicsPath
*) 0 ;
25519 int arg3
= (int) wxWINDING_RULE
;
25526 PyObject
* obj0
= 0 ;
25527 PyObject
* obj1
= 0 ;
25528 PyObject
* obj2
= 0 ;
25529 char * kwnames
[] = {
25530 (char *) "self",(char *) "path",(char *) "fillStyle", NULL
25533 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_DrawPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25534 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25535 if (!SWIG_IsOK(res1
)) {
25536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25538 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25539 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25540 if (!SWIG_IsOK(res2
)) {
25541 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "2"" of type '" "wxGraphicsPath const *""'");
25543 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
25545 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25546 if (!SWIG_IsOK(ecode3
)) {
25547 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "3"" of type '" "int""'");
25549 arg3
= static_cast< int >(val3
);
25552 (arg1
)->DrawPath((wxGraphicsPath
const *)arg2
,arg3
);
25553 if (PyErr_Occurred()) SWIG_fail
;
25555 resultobj
= SWIG_Py_Void();
25562 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25563 PyObject
*resultobj
= 0;
25564 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25565 wxString
*arg2
= 0 ;
25570 bool temp2
= false ;
25575 PyObject
* obj0
= 0 ;
25576 PyObject
* obj1
= 0 ;
25577 PyObject
* obj2
= 0 ;
25578 PyObject
* obj3
= 0 ;
25579 char * kwnames
[] = {
25580 (char *) "self",(char *) "str",(char *) "x",(char *) "y", NULL
25583 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GraphicsContext_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
25584 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25585 if (!SWIG_IsOK(res1
)) {
25586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25588 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25590 arg2
= wxString_in_helper(obj1
);
25591 if (arg2
== NULL
) SWIG_fail
;
25594 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25595 if (!SWIG_IsOK(ecode3
)) {
25596 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawText" "', expected argument " "3"" of type '" "wxDouble""'");
25598 arg3
= static_cast< wxDouble
>(val3
);
25599 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
25600 if (!SWIG_IsOK(ecode4
)) {
25601 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawText" "', expected argument " "4"" of type '" "wxDouble""'");
25603 arg4
= static_cast< wxDouble
>(val4
);
25605 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
25606 if (PyErr_Occurred()) SWIG_fail
;
25608 resultobj
= SWIG_Py_Void();
25623 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25624 PyObject
*resultobj
= 0;
25625 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25626 wxString
*arg2
= 0 ;
25632 bool temp2
= false ;
25639 PyObject
* obj0
= 0 ;
25640 PyObject
* obj1
= 0 ;
25641 PyObject
* obj2
= 0 ;
25642 PyObject
* obj3
= 0 ;
25643 PyObject
* obj4
= 0 ;
25644 char * kwnames
[] = {
25645 (char *) "self",(char *) "str",(char *) "x",(char *) "y",(char *) "angle", NULL
25648 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
25649 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25650 if (!SWIG_IsOK(res1
)) {
25651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25653 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25655 arg2
= wxString_in_helper(obj1
);
25656 if (arg2
== NULL
) SWIG_fail
;
25659 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25660 if (!SWIG_IsOK(ecode3
)) {
25661 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "3"" of type '" "wxDouble""'");
25663 arg3
= static_cast< wxDouble
>(val3
);
25664 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
25665 if (!SWIG_IsOK(ecode4
)) {
25666 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "4"" of type '" "wxDouble""'");
25668 arg4
= static_cast< wxDouble
>(val4
);
25669 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
25670 if (!SWIG_IsOK(ecode5
)) {
25671 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "5"" of type '" "wxDouble""'");
25673 arg5
= static_cast< wxDouble
>(val5
);
25675 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
25676 if (PyErr_Occurred()) SWIG_fail
;
25678 resultobj
= SWIG_Py_Void();
25693 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25694 PyObject
*resultobj
= 0;
25695 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25696 wxString
*arg2
= 0 ;
25697 wxDouble
*arg3
= (wxDouble
*) 0 ;
25698 wxDouble
*arg4
= (wxDouble
*) 0 ;
25699 wxDouble
*arg5
= (wxDouble
*) 0 ;
25700 wxDouble
*arg6
= (wxDouble
*) 0 ;
25703 bool temp2
= false ;
25705 int res3
= SWIG_TMPOBJ
;
25707 int res4
= SWIG_TMPOBJ
;
25709 int res5
= SWIG_TMPOBJ
;
25711 int res6
= SWIG_TMPOBJ
;
25712 PyObject
* obj0
= 0 ;
25713 PyObject
* obj1
= 0 ;
25714 char * kwnames
[] = {
25715 (char *) "self",(char *) "text", NULL
25722 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25723 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25724 if (!SWIG_IsOK(res1
)) {
25725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetTextExtent" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
25727 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25729 arg2
= wxString_in_helper(obj1
);
25730 if (arg2
== NULL
) SWIG_fail
;
25734 ((wxGraphicsContext
const *)arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
25735 if (PyErr_Occurred()) SWIG_fail
;
25737 resultobj
= SWIG_Py_Void();
25738 if (SWIG_IsTmpObj(res3
)) {
25739 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
25741 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25742 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
25744 if (SWIG_IsTmpObj(res4
)) {
25745 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg4
)));
25747 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25748 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_double
, new_flags
));
25750 if (SWIG_IsTmpObj(res5
)) {
25751 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg5
)));
25753 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25754 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_double
, new_flags
));
25756 if (SWIG_IsTmpObj(res6
)) {
25757 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg6
)));
25759 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25760 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_double
, new_flags
));
25776 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25777 PyObject
*resultobj
= 0;
25778 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25779 wxString
*arg2
= 0 ;
25780 wxArrayDouble result
;
25783 bool temp2
= false ;
25784 PyObject
* obj0
= 0 ;
25785 PyObject
* obj1
= 0 ;
25786 char * kwnames
[] = {
25787 (char *) "self",(char *) "text", NULL
25790 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25791 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25792 if (!SWIG_IsOK(res1
)) {
25793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25795 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25797 arg2
= wxString_in_helper(obj1
);
25798 if (arg2
== NULL
) SWIG_fail
;
25802 result
= wxGraphicsContext_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
25803 if (PyErr_Occurred()) SWIG_fail
;
25806 resultobj
= wxArrayDouble2PyList_helper(result
);
25822 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25823 PyObject
*resultobj
= 0;
25824 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25825 wxBitmap
*arg2
= 0 ;
25842 PyObject
* obj0
= 0 ;
25843 PyObject
* obj1
= 0 ;
25844 PyObject
* obj2
= 0 ;
25845 PyObject
* obj3
= 0 ;
25846 PyObject
* obj4
= 0 ;
25847 PyObject
* obj5
= 0 ;
25848 char * kwnames
[] = {
25849 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
25852 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
25853 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25854 if (!SWIG_IsOK(res1
)) {
25855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25857 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25858 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
25859 if (!SWIG_IsOK(res2
)) {
25860 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
25863 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
25865 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
25866 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25867 if (!SWIG_IsOK(ecode3
)) {
25868 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "3"" of type '" "wxDouble""'");
25870 arg3
= static_cast< wxDouble
>(val3
);
25871 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
25872 if (!SWIG_IsOK(ecode4
)) {
25873 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "4"" of type '" "wxDouble""'");
25875 arg4
= static_cast< wxDouble
>(val4
);
25876 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
25877 if (!SWIG_IsOK(ecode5
)) {
25878 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "5"" of type '" "wxDouble""'");
25880 arg5
= static_cast< wxDouble
>(val5
);
25881 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
25882 if (!SWIG_IsOK(ecode6
)) {
25883 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "6"" of type '" "wxDouble""'");
25885 arg6
= static_cast< wxDouble
>(val6
);
25887 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
25888 if (PyErr_Occurred()) SWIG_fail
;
25890 resultobj
= SWIG_Py_Void();
25897 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25898 PyObject
*resultobj
= 0;
25899 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25917 PyObject
* obj0
= 0 ;
25918 PyObject
* obj1
= 0 ;
25919 PyObject
* obj2
= 0 ;
25920 PyObject
* obj3
= 0 ;
25921 PyObject
* obj4
= 0 ;
25922 PyObject
* obj5
= 0 ;
25923 char * kwnames
[] = {
25924 (char *) "self",(char *) "icon",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
25927 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
25928 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25929 if (!SWIG_IsOK(res1
)) {
25930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25932 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25933 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
25934 if (!SWIG_IsOK(res2
)) {
25935 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
25938 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
25940 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
25941 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25942 if (!SWIG_IsOK(ecode3
)) {
25943 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "3"" of type '" "wxDouble""'");
25945 arg3
= static_cast< wxDouble
>(val3
);
25946 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
25947 if (!SWIG_IsOK(ecode4
)) {
25948 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "4"" of type '" "wxDouble""'");
25950 arg4
= static_cast< wxDouble
>(val4
);
25951 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
25952 if (!SWIG_IsOK(ecode5
)) {
25953 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "5"" of type '" "wxDouble""'");
25955 arg5
= static_cast< wxDouble
>(val5
);
25956 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
25957 if (!SWIG_IsOK(ecode6
)) {
25958 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "6"" of type '" "wxDouble""'");
25960 arg6
= static_cast< wxDouble
>(val6
);
25962 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
25963 if (PyErr_Occurred()) SWIG_fail
;
25965 resultobj
= SWIG_Py_Void();
25972 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25973 PyObject
*resultobj
= 0;
25974 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25989 PyObject
* obj0
= 0 ;
25990 PyObject
* obj1
= 0 ;
25991 PyObject
* obj2
= 0 ;
25992 PyObject
* obj3
= 0 ;
25993 PyObject
* obj4
= 0 ;
25994 char * kwnames
[] = {
25995 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
25998 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_StrokeLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
25999 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26000 if (!SWIG_IsOK(res1
)) {
26001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26003 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26004 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26005 if (!SWIG_IsOK(ecode2
)) {
26006 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "2"" of type '" "wxDouble""'");
26008 arg2
= static_cast< wxDouble
>(val2
);
26009 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26010 if (!SWIG_IsOK(ecode3
)) {
26011 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "3"" of type '" "wxDouble""'");
26013 arg3
= static_cast< wxDouble
>(val3
);
26014 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26015 if (!SWIG_IsOK(ecode4
)) {
26016 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "4"" of type '" "wxDouble""'");
26018 arg4
= static_cast< wxDouble
>(val4
);
26019 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26020 if (!SWIG_IsOK(ecode5
)) {
26021 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "5"" of type '" "wxDouble""'");
26023 arg5
= static_cast< wxDouble
>(val5
);
26025 (arg1
)->StrokeLine(arg2
,arg3
,arg4
,arg5
);
26026 if (PyErr_Occurred()) SWIG_fail
;
26028 resultobj
= SWIG_Py_Void();
26035 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26036 PyObject
*resultobj
= 0;
26037 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26039 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
26042 PyObject
* obj0
= 0 ;
26043 PyObject
* obj1
= 0 ;
26044 char * kwnames
[] = {
26045 (char *) "self",(char *) "points", NULL
26048 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_StrokeLines",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26049 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26050 if (!SWIG_IsOK(res1
)) {
26051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26053 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26055 arg3
= wxPoint2D_LIST_helper(obj1
, &arg2
);
26056 if (arg3
== NULL
) SWIG_fail
;
26059 (arg1
)->StrokeLines(arg2
,(wxPoint2D
const *)arg3
);
26060 if (PyErr_Occurred()) SWIG_fail
;
26062 resultobj
= SWIG_Py_Void();
26064 if (arg3
) delete [] arg3
;
26069 if (arg3
) delete [] arg3
;
26075 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLineSegements(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26076 PyObject
*resultobj
= 0;
26077 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26078 PyObject
*arg2
= (PyObject
*) 0 ;
26079 PyObject
*arg3
= (PyObject
*) 0 ;
26082 PyObject
* obj0
= 0 ;
26083 PyObject
* obj1
= 0 ;
26084 PyObject
* obj2
= 0 ;
26085 char * kwnames
[] = {
26086 (char *) "self",(char *) "beginPoints",(char *) "endPoints", NULL
26089 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_StrokeLineSegements",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26090 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26091 if (!SWIG_IsOK(res1
)) {
26092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLineSegements" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26094 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26098 wxGraphicsContext_StrokeLineSegements(arg1
,arg2
,arg3
);
26099 if (PyErr_Occurred()) SWIG_fail
;
26101 resultobj
= SWIG_Py_Void();
26108 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26109 PyObject
*resultobj
= 0;
26110 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26112 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
26113 int arg4
= (int) wxWINDING_RULE
;
26118 PyObject
* obj0
= 0 ;
26119 PyObject
* obj1
= 0 ;
26120 PyObject
* obj2
= 0 ;
26121 char * kwnames
[] = {
26122 (char *) "self",(char *) "points",(char *) "fillStyle", NULL
26125 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26126 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26127 if (!SWIG_IsOK(res1
)) {
26128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26130 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26132 arg3
= wxPoint2D_LIST_helper(obj1
, &arg2
);
26133 if (arg3
== NULL
) SWIG_fail
;
26136 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
26137 if (!SWIG_IsOK(ecode4
)) {
26138 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "4"" of type '" "int""'");
26140 arg4
= static_cast< int >(val4
);
26143 (arg1
)->DrawLines(arg2
,(wxPoint2D
const *)arg3
,arg4
);
26144 if (PyErr_Occurred()) SWIG_fail
;
26146 resultobj
= SWIG_Py_Void();
26148 if (arg3
) delete [] arg3
;
26153 if (arg3
) delete [] arg3
;
26159 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26160 PyObject
*resultobj
= 0;
26161 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26176 PyObject
* obj0
= 0 ;
26177 PyObject
* obj1
= 0 ;
26178 PyObject
* obj2
= 0 ;
26179 PyObject
* obj3
= 0 ;
26180 PyObject
* obj4
= 0 ;
26181 char * kwnames
[] = {
26182 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
26185 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26186 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26187 if (!SWIG_IsOK(res1
)) {
26188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26190 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26191 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26192 if (!SWIG_IsOK(ecode2
)) {
26193 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
26195 arg2
= static_cast< wxDouble
>(val2
);
26196 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26197 if (!SWIG_IsOK(ecode3
)) {
26198 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
26200 arg3
= static_cast< wxDouble
>(val3
);
26201 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26202 if (!SWIG_IsOK(ecode4
)) {
26203 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
26205 arg4
= static_cast< wxDouble
>(val4
);
26206 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26207 if (!SWIG_IsOK(ecode5
)) {
26208 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
26210 arg5
= static_cast< wxDouble
>(val5
);
26212 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
26213 if (PyErr_Occurred()) SWIG_fail
;
26215 resultobj
= SWIG_Py_Void();
26222 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26223 PyObject
*resultobj
= 0;
26224 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26239 PyObject
* obj0
= 0 ;
26240 PyObject
* obj1
= 0 ;
26241 PyObject
* obj2
= 0 ;
26242 PyObject
* obj3
= 0 ;
26243 PyObject
* obj4
= 0 ;
26244 char * kwnames
[] = {
26245 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
26248 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26249 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26250 if (!SWIG_IsOK(res1
)) {
26251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26253 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26254 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26255 if (!SWIG_IsOK(ecode2
)) {
26256 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "2"" of type '" "wxDouble""'");
26258 arg2
= static_cast< wxDouble
>(val2
);
26259 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26260 if (!SWIG_IsOK(ecode3
)) {
26261 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "3"" of type '" "wxDouble""'");
26263 arg3
= static_cast< wxDouble
>(val3
);
26264 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26265 if (!SWIG_IsOK(ecode4
)) {
26266 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "4"" of type '" "wxDouble""'");
26268 arg4
= static_cast< wxDouble
>(val4
);
26269 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26270 if (!SWIG_IsOK(ecode5
)) {
26271 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "5"" of type '" "wxDouble""'");
26273 arg5
= static_cast< wxDouble
>(val5
);
26275 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
26276 if (PyErr_Occurred()) SWIG_fail
;
26278 resultobj
= SWIG_Py_Void();
26285 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26286 PyObject
*resultobj
= 0;
26287 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26305 PyObject
* obj0
= 0 ;
26306 PyObject
* obj1
= 0 ;
26307 PyObject
* obj2
= 0 ;
26308 PyObject
* obj3
= 0 ;
26309 PyObject
* obj4
= 0 ;
26310 PyObject
* obj5
= 0 ;
26311 char * kwnames
[] = {
26312 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "radius", NULL
26315 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
26316 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26317 if (!SWIG_IsOK(res1
)) {
26318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26320 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26321 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26322 if (!SWIG_IsOK(ecode2
)) {
26323 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
26325 arg2
= static_cast< wxDouble
>(val2
);
26326 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26327 if (!SWIG_IsOK(ecode3
)) {
26328 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
26330 arg3
= static_cast< wxDouble
>(val3
);
26331 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26332 if (!SWIG_IsOK(ecode4
)) {
26333 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
26335 arg4
= static_cast< wxDouble
>(val4
);
26336 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26337 if (!SWIG_IsOK(ecode5
)) {
26338 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
26340 arg5
= static_cast< wxDouble
>(val5
);
26341 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
26342 if (!SWIG_IsOK(ecode6
)) {
26343 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "6"" of type '" "wxDouble""'");
26345 arg6
= static_cast< wxDouble
>(val6
);
26347 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
26348 if (PyErr_Occurred()) SWIG_fail
;
26350 resultobj
= SWIG_Py_Void();
26357 SWIGINTERN PyObject
*GraphicsContext_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26359 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26360 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsContext
, SWIG_NewClientData(obj
));
26361 return SWIG_Py_Void();
26364 SWIGINTERN PyObject
*_wrap_new_GCDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26365 PyObject
*resultobj
= 0;
26366 wxWindowDC
*arg1
= 0 ;
26367 wxGCDC
*result
= 0 ;
26370 PyObject
* obj0
= 0 ;
26371 char * kwnames
[] = {
26372 (char *) "dc", NULL
26375 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_GCDC",kwnames
,&obj0
)) SWIG_fail
;
26376 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
26377 if (!SWIG_IsOK(res1
)) {
26378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
26381 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
26383 arg1
= reinterpret_cast< wxWindowDC
* >(argp1
);
26385 if (!wxPyCheckForApp()) SWIG_fail
;
26386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26387 result
= (wxGCDC
*)new wxGCDC((wxWindowDC
const &)*arg1
);
26388 wxPyEndAllowThreads(__tstate
);
26389 if (PyErr_Occurred()) SWIG_fail
;
26391 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGCDC
, SWIG_POINTER_NEW
| 0 );
26398 SWIGINTERN PyObject
*_wrap_delete_GCDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26399 PyObject
*resultobj
= 0;
26400 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
26403 PyObject
*swig_obj
[1] ;
26405 if (!args
) SWIG_fail
;
26406 swig_obj
[0] = args
;
26407 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, SWIG_POINTER_DISOWN
| 0 );
26408 if (!SWIG_IsOK(res1
)) {
26409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GCDC" "', expected argument " "1"" of type '" "wxGCDC *""'");
26411 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
26415 if (PyErr_Occurred()) SWIG_fail
;
26417 resultobj
= SWIG_Py_Void();
26424 SWIGINTERN PyObject
*_wrap_GCDC_GetGraphicContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26425 PyObject
*resultobj
= 0;
26426 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
26427 wxGraphicsContext
*result
= 0 ;
26430 PyObject
*swig_obj
[1] ;
26432 if (!args
) SWIG_fail
;
26433 swig_obj
[0] = args
;
26434 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, 0 | 0 );
26435 if (!SWIG_IsOK(res1
)) {
26436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GCDC_GetGraphicContext" "', expected argument " "1"" of type '" "wxGCDC *""'");
26438 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
26440 result
= (wxGraphicsContext
*)(arg1
)->GetGraphicContext();
26441 if (PyErr_Occurred()) SWIG_fail
;
26443 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26450 SWIGINTERN PyObject
*GCDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26452 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26453 SWIG_TypeNewClientData(SWIGTYPE_p_wxGCDC
, SWIG_NewClientData(obj
));
26454 return SWIG_Py_Void();
26457 SWIGINTERN PyObject
*GCDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26458 return SWIG_Python_InitShadowInstance(args
);
26461 SWIGINTERN PyObject
*_wrap_new_Overlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26462 PyObject
*resultobj
= 0;
26463 wxOverlay
*result
= 0 ;
26465 if (!SWIG_Python_UnpackTuple(args
,"new_Overlay",0,0,0)) SWIG_fail
;
26467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26468 result
= (wxOverlay
*)new wxOverlay();
26469 wxPyEndAllowThreads(__tstate
);
26470 if (PyErr_Occurred()) SWIG_fail
;
26472 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxOverlay
, SWIG_POINTER_NEW
| 0 );
26479 SWIGINTERN PyObject
*_wrap_delete_Overlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26480 PyObject
*resultobj
= 0;
26481 wxOverlay
*arg1
= (wxOverlay
*) 0 ;
26484 PyObject
*swig_obj
[1] ;
26486 if (!args
) SWIG_fail
;
26487 swig_obj
[0] = args
;
26488 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOverlay
, SWIG_POINTER_DISOWN
| 0 );
26489 if (!SWIG_IsOK(res1
)) {
26490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Overlay" "', expected argument " "1"" of type '" "wxOverlay *""'");
26492 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
26494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26497 wxPyEndAllowThreads(__tstate
);
26498 if (PyErr_Occurred()) SWIG_fail
;
26500 resultobj
= SWIG_Py_Void();
26507 SWIGINTERN PyObject
*_wrap_Overlay_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26508 PyObject
*resultobj
= 0;
26509 wxOverlay
*arg1
= (wxOverlay
*) 0 ;
26512 PyObject
*swig_obj
[1] ;
26514 if (!args
) SWIG_fail
;
26515 swig_obj
[0] = args
;
26516 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOverlay
, 0 | 0 );
26517 if (!SWIG_IsOK(res1
)) {
26518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Overlay_Reset" "', expected argument " "1"" of type '" "wxOverlay *""'");
26520 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
26522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26524 wxPyEndAllowThreads(__tstate
);
26525 if (PyErr_Occurred()) SWIG_fail
;
26527 resultobj
= SWIG_Py_Void();
26534 SWIGINTERN PyObject
*Overlay_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26536 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26537 SWIG_TypeNewClientData(SWIGTYPE_p_wxOverlay
, SWIG_NewClientData(obj
));
26538 return SWIG_Py_Void();
26541 SWIGINTERN PyObject
*Overlay_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26542 return SWIG_Python_InitShadowInstance(args
);
26545 SWIGINTERN PyObject
*_wrap_new_DCOverlay__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26546 PyObject
*resultobj
= 0;
26547 wxOverlay
*arg1
= 0 ;
26548 wxWindowDC
*arg2
= (wxWindowDC
*) 0 ;
26553 wxDCOverlay
*result
= 0 ;
26567 if ((nobjs
< 6) || (nobjs
> 6)) SWIG_fail
;
26568 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxOverlay
, 0 );
26569 if (!SWIG_IsOK(res1
)) {
26570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
26573 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
26575 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
26576 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindowDC
, 0 | 0 );
26577 if (!SWIG_IsOK(res2
)) {
26578 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCOverlay" "', expected argument " "2"" of type '" "wxWindowDC *""'");
26580 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
26581 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
26582 if (!SWIG_IsOK(ecode3
)) {
26583 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DCOverlay" "', expected argument " "3"" of type '" "int""'");
26585 arg3
= static_cast< int >(val3
);
26586 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
26587 if (!SWIG_IsOK(ecode4
)) {
26588 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DCOverlay" "', expected argument " "4"" of type '" "int""'");
26590 arg4
= static_cast< int >(val4
);
26591 ecode5
= SWIG_AsVal_int(swig_obj
[4], &val5
);
26592 if (!SWIG_IsOK(ecode5
)) {
26593 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DCOverlay" "', expected argument " "5"" of type '" "int""'");
26595 arg5
= static_cast< int >(val5
);
26596 ecode6
= SWIG_AsVal_int(swig_obj
[5], &val6
);
26597 if (!SWIG_IsOK(ecode6
)) {
26598 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DCOverlay" "', expected argument " "6"" of type '" "int""'");
26600 arg6
= static_cast< int >(val6
);
26602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26603 result
= (wxDCOverlay
*)new wxDCOverlay(*arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
26604 wxPyEndAllowThreads(__tstate
);
26605 if (PyErr_Occurred()) SWIG_fail
;
26607 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_NEW
| 0 );
26614 SWIGINTERN PyObject
*_wrap_new_DCOverlay__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26615 PyObject
*resultobj
= 0;
26616 wxOverlay
*arg1
= 0 ;
26617 wxWindowDC
*arg2
= (wxWindowDC
*) 0 ;
26618 wxDCOverlay
*result
= 0 ;
26624 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26625 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxOverlay
, 0 );
26626 if (!SWIG_IsOK(res1
)) {
26627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
26630 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
26632 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
26633 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindowDC
, 0 | 0 );
26634 if (!SWIG_IsOK(res2
)) {
26635 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCOverlay" "', expected argument " "2"" of type '" "wxWindowDC *""'");
26637 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
26639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26640 result
= (wxDCOverlay
*)new wxDCOverlay(*arg1
,arg2
);
26641 wxPyEndAllowThreads(__tstate
);
26642 if (PyErr_Occurred()) SWIG_fail
;
26644 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_NEW
| 0 );
26651 SWIGINTERN PyObject
*_wrap_new_DCOverlay(PyObject
*self
, PyObject
*args
) {
26655 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_DCOverlay",0,6,argv
))) SWIG_fail
;
26658 return _wrap_new_DCOverlay__SWIG_1(self
, argc
, argv
);
26661 return _wrap_new_DCOverlay__SWIG_0(self
, argc
, argv
);
26665 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_DCOverlay'");
26670 SWIGINTERN PyObject
*_wrap_delete_DCOverlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26671 PyObject
*resultobj
= 0;
26672 wxDCOverlay
*arg1
= (wxDCOverlay
*) 0 ;
26675 PyObject
*swig_obj
[1] ;
26677 if (!args
) SWIG_fail
;
26678 swig_obj
[0] = args
;
26679 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_DISOWN
| 0 );
26680 if (!SWIG_IsOK(res1
)) {
26681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCOverlay" "', expected argument " "1"" of type '" "wxDCOverlay *""'");
26683 arg1
= reinterpret_cast< wxDCOverlay
* >(argp1
);
26685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26688 wxPyEndAllowThreads(__tstate
);
26689 if (PyErr_Occurred()) SWIG_fail
;
26691 resultobj
= SWIG_Py_Void();
26698 SWIGINTERN PyObject
*_wrap_DCOverlay_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26699 PyObject
*resultobj
= 0;
26700 wxDCOverlay
*arg1
= (wxDCOverlay
*) 0 ;
26703 PyObject
*swig_obj
[1] ;
26705 if (!args
) SWIG_fail
;
26706 swig_obj
[0] = args
;
26707 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCOverlay
, 0 | 0 );
26708 if (!SWIG_IsOK(res1
)) {
26709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DCOverlay_Clear" "', expected argument " "1"" of type '" "wxDCOverlay *""'");
26711 arg1
= reinterpret_cast< wxDCOverlay
* >(argp1
);
26713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26715 wxPyEndAllowThreads(__tstate
);
26716 if (PyErr_Occurred()) SWIG_fail
;
26718 resultobj
= SWIG_Py_Void();
26725 SWIGINTERN PyObject
*DCOverlay_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26727 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26728 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCOverlay
, SWIG_NewClientData(obj
));
26729 return SWIG_Py_Void();
26732 SWIGINTERN PyObject
*DCOverlay_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26733 return SWIG_Python_InitShadowInstance(args
);
26736 SWIGINTERN PyObject
*_wrap_new_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26737 PyObject
*resultobj
= 0;
26740 int arg3
= (int) true ;
26741 int arg4
= (int) 1 ;
26742 wxImageList
*result
= 0 ;
26751 PyObject
* obj0
= 0 ;
26752 PyObject
* obj1
= 0 ;
26753 PyObject
* obj2
= 0 ;
26754 PyObject
* obj3
= 0 ;
26755 char * kwnames
[] = {
26756 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
26759 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
26760 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
26761 if (!SWIG_IsOK(ecode1
)) {
26762 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ImageList" "', expected argument " "1"" of type '" "int""'");
26764 arg1
= static_cast< int >(val1
);
26765 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26766 if (!SWIG_IsOK(ecode2
)) {
26767 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ImageList" "', expected argument " "2"" of type '" "int""'");
26769 arg2
= static_cast< int >(val2
);
26771 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
26772 if (!SWIG_IsOK(ecode3
)) {
26773 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ImageList" "', expected argument " "3"" of type '" "int""'");
26775 arg3
= static_cast< int >(val3
);
26778 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
26779 if (!SWIG_IsOK(ecode4
)) {
26780 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ImageList" "', expected argument " "4"" of type '" "int""'");
26782 arg4
= static_cast< int >(val4
);
26785 if (!wxPyCheckForApp()) SWIG_fail
;
26786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26787 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
26788 wxPyEndAllowThreads(__tstate
);
26789 if (PyErr_Occurred()) SWIG_fail
;
26792 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_NEW
);
26800 SWIGINTERN PyObject
*_wrap_delete_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26801 PyObject
*resultobj
= 0;
26802 wxImageList
*arg1
= (wxImageList
*) 0 ;
26805 PyObject
*swig_obj
[1] ;
26807 if (!args
) SWIG_fail
;
26808 swig_obj
[0] = args
;
26809 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
26810 if (!SWIG_IsOK(res1
)) {
26811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ImageList" "', expected argument " "1"" of type '" "wxImageList *""'");
26813 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
26815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26818 wxPyEndAllowThreads(__tstate
);
26819 if (PyErr_Occurred()) SWIG_fail
;
26821 resultobj
= SWIG_Py_Void();
26828 SWIGINTERN PyObject
*_wrap_ImageList_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26829 PyObject
*resultobj
= 0;
26830 wxImageList
*arg1
= (wxImageList
*) 0 ;
26831 wxBitmap
*arg2
= 0 ;
26832 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
26833 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
26841 PyObject
* obj0
= 0 ;
26842 PyObject
* obj1
= 0 ;
26843 PyObject
* obj2
= 0 ;
26844 char * kwnames
[] = {
26845 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
26848 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26849 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
26850 if (!SWIG_IsOK(res1
)) {
26851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Add" "', expected argument " "1"" of type '" "wxImageList *""'");
26853 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
26854 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
26855 if (!SWIG_IsOK(res2
)) {
26856 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
26859 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
26861 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
26863 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
26864 if (!SWIG_IsOK(res3
)) {
26865 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
26868 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
26870 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
26873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26874 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
26875 wxPyEndAllowThreads(__tstate
);
26876 if (PyErr_Occurred()) SWIG_fail
;
26878 resultobj
= SWIG_From_int(static_cast< int >(result
));
26885 SWIGINTERN PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26886 PyObject
*resultobj
= 0;
26887 wxImageList
*arg1
= (wxImageList
*) 0 ;
26888 wxBitmap
*arg2
= 0 ;
26889 wxColour
*arg3
= 0 ;
26896 PyObject
* obj0
= 0 ;
26897 PyObject
* obj1
= 0 ;
26898 PyObject
* obj2
= 0 ;
26899 char * kwnames
[] = {
26900 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
26903 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26904 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
26905 if (!SWIG_IsOK(res1
)) {
26906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "1"" of type '" "wxImageList *""'");
26908 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
26909 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
26910 if (!SWIG_IsOK(res2
)) {
26911 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
26914 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
26916 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
26919 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
26922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26923 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
26924 wxPyEndAllowThreads(__tstate
);
26925 if (PyErr_Occurred()) SWIG_fail
;
26927 resultobj
= SWIG_From_int(static_cast< int >(result
));
26934 SWIGINTERN PyObject
*_wrap_ImageList_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26935 PyObject
*resultobj
= 0;
26936 wxImageList
*arg1
= (wxImageList
*) 0 ;
26943 PyObject
* obj0
= 0 ;
26944 PyObject
* obj1
= 0 ;
26945 char * kwnames
[] = {
26946 (char *) "self",(char *) "icon", NULL
26949 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26950 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
26951 if (!SWIG_IsOK(res1
)) {
26952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddIcon" "', expected argument " "1"" of type '" "wxImageList *""'");
26954 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
26955 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
26956 if (!SWIG_IsOK(res2
)) {
26957 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
26960 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
26962 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
26964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26965 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
26966 wxPyEndAllowThreads(__tstate
);
26967 if (PyErr_Occurred()) SWIG_fail
;
26969 resultobj
= SWIG_From_int(static_cast< int >(result
));
26976 SWIGINTERN PyObject
*_wrap_ImageList_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26977 PyObject
*resultobj
= 0;
26978 wxImageList
*arg1
= (wxImageList
*) 0 ;
26980 SwigValueWrapper
<wxBitmap
> result
;
26985 PyObject
* obj0
= 0 ;
26986 PyObject
* obj1
= 0 ;
26987 char * kwnames
[] = {
26988 (char *) "self",(char *) "index", NULL
26991 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26992 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
26993 if (!SWIG_IsOK(res1
)) {
26994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetBitmap" "', expected argument " "1"" of type '" "wxImageList const *""'");
26996 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
26997 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26998 if (!SWIG_IsOK(ecode2
)) {
26999 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetBitmap" "', expected argument " "2"" of type '" "int""'");
27001 arg2
= static_cast< int >(val2
);
27003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27004 result
= ((wxImageList
const *)arg1
)->GetBitmap(arg2
);
27005 wxPyEndAllowThreads(__tstate
);
27006 if (PyErr_Occurred()) SWIG_fail
;
27008 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
27015 SWIGINTERN PyObject
*_wrap_ImageList_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27016 PyObject
*resultobj
= 0;
27017 wxImageList
*arg1
= (wxImageList
*) 0 ;
27024 PyObject
* obj0
= 0 ;
27025 PyObject
* obj1
= 0 ;
27026 char * kwnames
[] = {
27027 (char *) "self",(char *) "index", NULL
27030 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27031 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
27032 if (!SWIG_IsOK(res1
)) {
27033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetIcon" "', expected argument " "1"" of type '" "wxImageList const *""'");
27035 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27036 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27037 if (!SWIG_IsOK(ecode2
)) {
27038 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetIcon" "', expected argument " "2"" of type '" "int""'");
27040 arg2
= static_cast< int >(val2
);
27042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27043 result
= ((wxImageList
const *)arg1
)->GetIcon(arg2
);
27044 wxPyEndAllowThreads(__tstate
);
27045 if (PyErr_Occurred()) SWIG_fail
;
27047 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
27054 SWIGINTERN PyObject
*_wrap_ImageList_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27055 PyObject
*resultobj
= 0;
27056 wxImageList
*arg1
= (wxImageList
*) 0 ;
27058 wxBitmap
*arg3
= 0 ;
27059 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
27060 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
27070 PyObject
* obj0
= 0 ;
27071 PyObject
* obj1
= 0 ;
27072 PyObject
* obj2
= 0 ;
27073 PyObject
* obj3
= 0 ;
27074 char * kwnames
[] = {
27075 (char *) "self",(char *) "index",(char *) "bitmap",(char *) "mask", NULL
27078 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27079 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
27080 if (!SWIG_IsOK(res1
)) {
27081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Replace" "', expected argument " "1"" of type '" "wxImageList *""'");
27083 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27084 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27085 if (!SWIG_IsOK(ecode2
)) {
27086 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Replace" "', expected argument " "2"" of type '" "int""'");
27088 arg2
= static_cast< int >(val2
);
27089 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
27090 if (!SWIG_IsOK(res3
)) {
27091 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
27094 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
27096 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
27098 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
27099 if (!SWIG_IsOK(res4
)) {
27100 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
27103 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
27105 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
27108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27109 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
,(wxBitmap
const &)*arg4
);
27110 wxPyEndAllowThreads(__tstate
);
27111 if (PyErr_Occurred()) SWIG_fail
;
27114 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27122 SWIGINTERN PyObject
*_wrap_ImageList_Draw(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27123 PyObject
*resultobj
= 0;
27124 wxImageList
*arg1
= (wxImageList
*) 0 ;
27129 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
27130 bool arg7
= (bool) (bool)false ;
27146 PyObject
* obj0
= 0 ;
27147 PyObject
* obj1
= 0 ;
27148 PyObject
* obj2
= 0 ;
27149 PyObject
* obj3
= 0 ;
27150 PyObject
* obj4
= 0 ;
27151 PyObject
* obj5
= 0 ;
27152 PyObject
* obj6
= 0 ;
27153 char * kwnames
[] = {
27154 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
27157 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
27158 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
27159 if (!SWIG_IsOK(res1
)) {
27160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Draw" "', expected argument " "1"" of type '" "wxImageList *""'");
27162 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27163 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27164 if (!SWIG_IsOK(ecode2
)) {
27165 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Draw" "', expected argument " "2"" of type '" "int""'");
27167 arg2
= static_cast< int >(val2
);
27168 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
27169 if (!SWIG_IsOK(res3
)) {
27170 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
27173 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
27175 arg3
= reinterpret_cast< wxDC
* >(argp3
);
27176 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
27177 if (!SWIG_IsOK(ecode4
)) {
27178 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ImageList_Draw" "', expected argument " "4"" of type '" "int""'");
27180 arg4
= static_cast< int >(val4
);
27181 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
27182 if (!SWIG_IsOK(ecode5
)) {
27183 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ImageList_Draw" "', expected argument " "5"" of type '" "int""'");
27185 arg5
= static_cast< int >(val5
);
27187 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
27188 if (!SWIG_IsOK(ecode6
)) {
27189 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ImageList_Draw" "', expected argument " "6"" of type '" "int""'");
27191 arg6
= static_cast< int >(val6
);
27194 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
27195 if (!SWIG_IsOK(ecode7
)) {
27196 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ImageList_Draw" "', expected argument " "7"" of type '" "bool""'");
27198 arg7
= static_cast< bool >(val7
);
27201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27202 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
27203 wxPyEndAllowThreads(__tstate
);
27204 if (PyErr_Occurred()) SWIG_fail
;
27207 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27215 SWIGINTERN PyObject
*_wrap_ImageList_GetImageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27216 PyObject
*resultobj
= 0;
27217 wxImageList
*arg1
= (wxImageList
*) 0 ;
27221 PyObject
*swig_obj
[1] ;
27223 if (!args
) SWIG_fail
;
27224 swig_obj
[0] = args
;
27225 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
27226 if (!SWIG_IsOK(res1
)) {
27227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetImageCount" "', expected argument " "1"" of type '" "wxImageList *""'");
27229 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27232 result
= (int)(arg1
)->GetImageCount();
27233 wxPyEndAllowThreads(__tstate
);
27234 if (PyErr_Occurred()) SWIG_fail
;
27236 resultobj
= SWIG_From_int(static_cast< int >(result
));
27243 SWIGINTERN PyObject
*_wrap_ImageList_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27244 PyObject
*resultobj
= 0;
27245 wxImageList
*arg1
= (wxImageList
*) 0 ;
27252 PyObject
* obj0
= 0 ;
27253 PyObject
* obj1
= 0 ;
27254 char * kwnames
[] = {
27255 (char *) "self",(char *) "index", NULL
27258 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27259 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
27260 if (!SWIG_IsOK(res1
)) {
27261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Remove" "', expected argument " "1"" of type '" "wxImageList *""'");
27263 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27264 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27265 if (!SWIG_IsOK(ecode2
)) {
27266 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Remove" "', expected argument " "2"" of type '" "int""'");
27268 arg2
= static_cast< int >(val2
);
27270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27271 result
= (bool)(arg1
)->Remove(arg2
);
27272 wxPyEndAllowThreads(__tstate
);
27273 if (PyErr_Occurred()) SWIG_fail
;
27276 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27284 SWIGINTERN PyObject
*_wrap_ImageList_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27285 PyObject
*resultobj
= 0;
27286 wxImageList
*arg1
= (wxImageList
*) 0 ;
27290 PyObject
*swig_obj
[1] ;
27292 if (!args
) SWIG_fail
;
27293 swig_obj
[0] = args
;
27294 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
27295 if (!SWIG_IsOK(res1
)) {
27296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_RemoveAll" "', expected argument " "1"" of type '" "wxImageList *""'");
27298 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27301 result
= (bool)(arg1
)->RemoveAll();
27302 wxPyEndAllowThreads(__tstate
);
27303 if (PyErr_Occurred()) SWIG_fail
;
27306 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27314 SWIGINTERN PyObject
*_wrap_ImageList_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27315 PyObject
*resultobj
= 0;
27316 wxImageList
*arg1
= (wxImageList
*) 0 ;
27325 int res3
= SWIG_TMPOBJ
;
27327 int res4
= SWIG_TMPOBJ
;
27328 PyObject
* obj0
= 0 ;
27329 PyObject
* obj1
= 0 ;
27330 char * kwnames
[] = {
27331 (char *) "self",(char *) "index", NULL
27336 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27337 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
27338 if (!SWIG_IsOK(res1
)) {
27339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetSize" "', expected argument " "1"" of type '" "wxImageList *""'");
27341 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27342 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27343 if (!SWIG_IsOK(ecode2
)) {
27344 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetSize" "', expected argument " "2"" of type '" "int""'");
27346 arg2
= static_cast< int >(val2
);
27348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27349 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
27350 wxPyEndAllowThreads(__tstate
);
27351 if (PyErr_Occurred()) SWIG_fail
;
27353 resultobj
= SWIG_Py_Void();
27354 if (SWIG_IsTmpObj(res3
)) {
27355 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
27357 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27358 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
27360 if (SWIG_IsTmpObj(res4
)) {
27361 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
27363 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27364 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
27372 SWIGINTERN PyObject
*ImageList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27374 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27375 SWIG_TypeNewClientData(SWIGTYPE_p_wxImageList
, SWIG_NewClientData(obj
));
27376 return SWIG_Py_Void();
27379 SWIGINTERN PyObject
*ImageList_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27380 return SWIG_Python_InitShadowInstance(args
);
27383 SWIGINTERN PyObject
*_wrap_new_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27384 PyObject
*resultobj
= 0;
27385 wxStockGDI
*result
= 0 ;
27387 if (!SWIG_Python_UnpackTuple(args
,"new_StockGDI",0,0,0)) SWIG_fail
;
27389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27390 result
= (wxStockGDI
*)new wxStockGDI();
27391 wxPyEndAllowThreads(__tstate
);
27392 if (PyErr_Occurred()) SWIG_fail
;
27394 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_NEW
| 0 );
27401 SWIGINTERN PyObject
*_wrap_delete_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27402 PyObject
*resultobj
= 0;
27403 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
27406 PyObject
*swig_obj
[1] ;
27408 if (!args
) SWIG_fail
;
27409 swig_obj
[0] = args
;
27410 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_DISOWN
| 0 );
27411 if (!SWIG_IsOK(res1
)) {
27412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_StockGDI" "', expected argument " "1"" of type '" "wxStockGDI *""'");
27414 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
27416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27419 wxPyEndAllowThreads(__tstate
);
27420 if (PyErr_Occurred()) SWIG_fail
;
27422 resultobj
= SWIG_Py_Void();
27429 SWIGINTERN PyObject
*_wrap_StockGDI_DeleteAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27430 PyObject
*resultobj
= 0;
27432 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_DeleteAll",0,0,0)) SWIG_fail
;
27434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27435 wxStockGDI::DeleteAll();
27436 wxPyEndAllowThreads(__tstate
);
27437 if (PyErr_Occurred()) SWIG_fail
;
27439 resultobj
= SWIG_Py_Void();
27446 SWIGINTERN PyObject
*_wrap_StockGDI_instance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27447 PyObject
*resultobj
= 0;
27448 wxStockGDI
*result
= 0 ;
27450 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_instance",0,0,0)) SWIG_fail
;
27452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27454 wxStockGDI
&_result_ref
= wxStockGDI::instance();
27455 result
= (wxStockGDI
*) &_result_ref
;
27457 wxPyEndAllowThreads(__tstate
);
27458 if (PyErr_Occurred()) SWIG_fail
;
27460 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, 0 | 0 );
27467 SWIGINTERN PyObject
*_wrap_StockGDI_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27468 PyObject
*resultobj
= 0;
27469 wxStockGDI::Item arg1
;
27470 wxBrush
*result
= 0 ;
27473 PyObject
* obj0
= 0 ;
27474 char * kwnames
[] = {
27475 (char *) "item", NULL
27478 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetBrush",kwnames
,&obj0
)) SWIG_fail
;
27479 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
27480 if (!SWIG_IsOK(ecode1
)) {
27481 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetBrush" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
27483 arg1
= static_cast< wxStockGDI::Item
>(val1
);
27485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27486 result
= (wxBrush
*)wxStockGDI::GetBrush(arg1
);
27487 wxPyEndAllowThreads(__tstate
);
27488 if (PyErr_Occurred()) SWIG_fail
;
27490 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
27497 SWIGINTERN PyObject
*_wrap_StockGDI_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27498 PyObject
*resultobj
= 0;
27499 wxStockGDI::Item arg1
;
27500 wxColour
*result
= 0 ;
27503 PyObject
* obj0
= 0 ;
27504 char * kwnames
[] = {
27505 (char *) "item", NULL
27508 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetColour",kwnames
,&obj0
)) SWIG_fail
;
27509 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
27510 if (!SWIG_IsOK(ecode1
)) {
27511 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetColour" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
27513 arg1
= static_cast< wxStockGDI::Item
>(val1
);
27515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27516 result
= (wxColour
*)wxStockGDI::GetColour(arg1
);
27517 wxPyEndAllowThreads(__tstate
);
27518 if (PyErr_Occurred()) SWIG_fail
;
27520 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
27527 SWIGINTERN PyObject
*_wrap_StockGDI_GetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27528 PyObject
*resultobj
= 0;
27529 wxStockGDI::Item arg1
;
27530 wxCursor
*result
= 0 ;
27533 PyObject
* obj0
= 0 ;
27534 char * kwnames
[] = {
27535 (char *) "item", NULL
27538 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetCursor",kwnames
,&obj0
)) SWIG_fail
;
27539 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
27540 if (!SWIG_IsOK(ecode1
)) {
27541 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetCursor" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
27543 arg1
= static_cast< wxStockGDI::Item
>(val1
);
27545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27546 result
= (wxCursor
*)wxStockGDI::GetCursor(arg1
);
27547 wxPyEndAllowThreads(__tstate
);
27548 if (PyErr_Occurred()) SWIG_fail
;
27550 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, 0 | 0 );
27557 SWIGINTERN PyObject
*_wrap_StockGDI_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27558 PyObject
*resultobj
= 0;
27559 wxStockGDI::Item arg1
;
27560 wxPen
*result
= 0 ;
27563 PyObject
* obj0
= 0 ;
27564 char * kwnames
[] = {
27565 (char *) "item", NULL
27568 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetPen",kwnames
,&obj0
)) SWIG_fail
;
27569 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
27570 if (!SWIG_IsOK(ecode1
)) {
27571 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetPen" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
27573 arg1
= static_cast< wxStockGDI::Item
>(val1
);
27575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27576 result
= (wxPen
*)wxStockGDI::GetPen(arg1
);
27577 wxPyEndAllowThreads(__tstate
);
27578 if (PyErr_Occurred()) SWIG_fail
;
27580 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
27587 SWIGINTERN PyObject
*_wrap_StockGDI_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27588 PyObject
*resultobj
= 0;
27589 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
27590 wxStockGDI::Item arg2
;
27591 wxFont
*result
= 0 ;
27596 PyObject
* obj0
= 0 ;
27597 PyObject
* obj1
= 0 ;
27598 char * kwnames
[] = {
27599 (char *) "self",(char *) "item", NULL
27602 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StockGDI_GetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27603 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStockGDI
, 0 | 0 );
27604 if (!SWIG_IsOK(res1
)) {
27605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StockGDI_GetFont" "', expected argument " "1"" of type '" "wxStockGDI *""'");
27607 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
27608 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27609 if (!SWIG_IsOK(ecode2
)) {
27610 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StockGDI_GetFont" "', expected argument " "2"" of type '" "wxStockGDI::Item""'");
27612 arg2
= static_cast< wxStockGDI::Item
>(val2
);
27614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27615 result
= (wxFont
*)(arg1
)->GetFont(arg2
);
27616 wxPyEndAllowThreads(__tstate
);
27617 if (PyErr_Occurred()) SWIG_fail
;
27619 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
27626 SWIGINTERN PyObject
*StockGDI_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27628 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27629 SWIG_TypeNewClientData(SWIGTYPE_p_wxStockGDI
, SWIG_NewClientData(obj
));
27630 return SWIG_Py_Void();
27633 SWIGINTERN PyObject
*StockGDI_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27634 return SWIG_Python_InitShadowInstance(args
);
27637 SWIGINTERN
int NullBitmap_set(PyObject
*) {
27638 SWIG_Error(SWIG_AttributeError
,"Variable NullBitmap is read-only.");
27643 SWIGINTERN PyObject
*NullBitmap_get(void) {
27644 PyObject
*pyobj
= 0;
27646 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0 );
27651 SWIGINTERN
int NullIcon_set(PyObject
*) {
27652 SWIG_Error(SWIG_AttributeError
,"Variable NullIcon is read-only.");
27657 SWIGINTERN PyObject
*NullIcon_get(void) {
27658 PyObject
*pyobj
= 0;
27660 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0 );
27665 SWIGINTERN
int NullCursor_set(PyObject
*) {
27666 SWIG_Error(SWIG_AttributeError
,"Variable NullCursor is read-only.");
27671 SWIGINTERN PyObject
*NullCursor_get(void) {
27672 PyObject
*pyobj
= 0;
27674 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0 );
27679 SWIGINTERN
int NullPen_set(PyObject
*) {
27680 SWIG_Error(SWIG_AttributeError
,"Variable NullPen is read-only.");
27685 SWIGINTERN PyObject
*NullPen_get(void) {
27686 PyObject
*pyobj
= 0;
27688 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPen
), SWIGTYPE_p_wxPen
, 0 );
27693 SWIGINTERN
int NullBrush_set(PyObject
*) {
27694 SWIG_Error(SWIG_AttributeError
,"Variable NullBrush is read-only.");
27699 SWIGINTERN PyObject
*NullBrush_get(void) {
27700 PyObject
*pyobj
= 0;
27702 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0 );
27707 SWIGINTERN
int NullPalette_set(PyObject
*) {
27708 SWIG_Error(SWIG_AttributeError
,"Variable NullPalette is read-only.");
27713 SWIGINTERN PyObject
*NullPalette_get(void) {
27714 PyObject
*pyobj
= 0;
27716 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0 );
27721 SWIGINTERN
int NullFont_set(PyObject
*) {
27722 SWIG_Error(SWIG_AttributeError
,"Variable NullFont is read-only.");
27727 SWIGINTERN PyObject
*NullFont_get(void) {
27728 PyObject
*pyobj
= 0;
27730 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullFont
), SWIGTYPE_p_wxFont
, 0 );
27735 SWIGINTERN
int NullColour_set(PyObject
*) {
27736 SWIG_Error(SWIG_AttributeError
,"Variable NullColour is read-only.");
27741 SWIGINTERN PyObject
*NullColour_get(void) {
27742 PyObject
*pyobj
= 0;
27744 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullColour
), SWIGTYPE_p_wxColour
, 0 );
27749 SWIGINTERN PyObject
*_wrap_new_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27750 PyObject
*resultobj
= 0;
27751 wxGDIObjListBase
*result
= 0 ;
27753 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObjListBase",0,0,0)) SWIG_fail
;
27755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27756 result
= (wxGDIObjListBase
*)new wxGDIObjListBase();
27757 wxPyEndAllowThreads(__tstate
);
27758 if (PyErr_Occurred()) SWIG_fail
;
27760 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_NEW
| 0 );
27767 SWIGINTERN PyObject
*_wrap_delete_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27768 PyObject
*resultobj
= 0;
27769 wxGDIObjListBase
*arg1
= (wxGDIObjListBase
*) 0 ;
27772 PyObject
*swig_obj
[1] ;
27774 if (!args
) SWIG_fail
;
27775 swig_obj
[0] = args
;
27776 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_DISOWN
| 0 );
27777 if (!SWIG_IsOK(res1
)) {
27778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObjListBase" "', expected argument " "1"" of type '" "wxGDIObjListBase *""'");
27780 arg1
= reinterpret_cast< wxGDIObjListBase
* >(argp1
);
27782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27785 wxPyEndAllowThreads(__tstate
);
27786 if (PyErr_Occurred()) SWIG_fail
;
27788 resultobj
= SWIG_Py_Void();
27795 SWIGINTERN PyObject
*GDIObjListBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27797 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27798 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObjListBase
, SWIG_NewClientData(obj
));
27799 return SWIG_Py_Void();
27802 SWIGINTERN PyObject
*GDIObjListBase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27803 return SWIG_Python_InitShadowInstance(args
);
27806 SWIGINTERN PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27807 PyObject
*resultobj
= 0;
27808 wxPenList
*arg1
= (wxPenList
*) 0 ;
27809 wxColour
*arg2
= 0 ;
27812 wxPen
*result
= 0 ;
27820 PyObject
* obj0
= 0 ;
27821 PyObject
* obj1
= 0 ;
27822 PyObject
* obj2
= 0 ;
27823 PyObject
* obj3
= 0 ;
27824 char * kwnames
[] = {
27825 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
27828 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27829 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
27830 if (!SWIG_IsOK(res1
)) {
27831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "1"" of type '" "wxPenList *""'");
27833 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
27836 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
27838 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27839 if (!SWIG_IsOK(ecode3
)) {
27840 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "3"" of type '" "int""'");
27842 arg3
= static_cast< int >(val3
);
27843 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
27844 if (!SWIG_IsOK(ecode4
)) {
27845 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "4"" of type '" "int""'");
27847 arg4
= static_cast< int >(val4
);
27849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27850 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
27851 wxPyEndAllowThreads(__tstate
);
27852 if (PyErr_Occurred()) SWIG_fail
;
27854 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
27861 SWIGINTERN PyObject
*_wrap_PenList_AddPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27862 PyObject
*resultobj
= 0;
27863 wxPenList
*arg1
= (wxPenList
*) 0 ;
27864 wxPen
*arg2
= (wxPen
*) 0 ;
27869 PyObject
* obj0
= 0 ;
27870 PyObject
* obj1
= 0 ;
27871 char * kwnames
[] = {
27872 (char *) "self",(char *) "pen", NULL
27875 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27876 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
27877 if (!SWIG_IsOK(res1
)) {
27878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_AddPen" "', expected argument " "1"" of type '" "wxPenList *""'");
27880 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
27881 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
27882 if (!SWIG_IsOK(res2
)) {
27883 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_AddPen" "', expected argument " "2"" of type '" "wxPen *""'");
27885 arg2
= reinterpret_cast< wxPen
* >(argp2
);
27887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27888 (arg1
)->AddPen(arg2
);
27889 wxPyEndAllowThreads(__tstate
);
27890 if (PyErr_Occurred()) SWIG_fail
;
27892 resultobj
= SWIG_Py_Void();
27899 SWIGINTERN PyObject
*_wrap_PenList_RemovePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27900 PyObject
*resultobj
= 0;
27901 wxPenList
*arg1
= (wxPenList
*) 0 ;
27902 wxPen
*arg2
= (wxPen
*) 0 ;
27907 PyObject
* obj0
= 0 ;
27908 PyObject
* obj1
= 0 ;
27909 char * kwnames
[] = {
27910 (char *) "self",(char *) "pen", NULL
27913 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27914 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
27915 if (!SWIG_IsOK(res1
)) {
27916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_RemovePen" "', expected argument " "1"" of type '" "wxPenList *""'");
27918 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
27919 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
27920 if (!SWIG_IsOK(res2
)) {
27921 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_RemovePen" "', expected argument " "2"" of type '" "wxPen *""'");
27923 arg2
= reinterpret_cast< wxPen
* >(argp2
);
27925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27926 (arg1
)->RemovePen(arg2
);
27927 wxPyEndAllowThreads(__tstate
);
27928 if (PyErr_Occurred()) SWIG_fail
;
27930 resultobj
= SWIG_Py_Void();
27937 SWIGINTERN PyObject
*PenList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27939 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27940 SWIG_TypeNewClientData(SWIGTYPE_p_wxPenList
, SWIG_NewClientData(obj
));
27941 return SWIG_Py_Void();
27944 SWIGINTERN PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27945 PyObject
*resultobj
= 0;
27946 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
27947 wxColour
*arg2
= 0 ;
27948 int arg3
= (int) wxSOLID
;
27949 wxBrush
*result
= 0 ;
27955 PyObject
* obj0
= 0 ;
27956 PyObject
* obj1
= 0 ;
27957 PyObject
* obj2
= 0 ;
27958 char * kwnames
[] = {
27959 (char *) "self",(char *) "colour",(char *) "style", NULL
27962 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27963 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
27964 if (!SWIG_IsOK(res1
)) {
27965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
27967 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
27970 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
27973 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27974 if (!SWIG_IsOK(ecode3
)) {
27975 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "3"" of type '" "int""'");
27977 arg3
= static_cast< int >(val3
);
27980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27981 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
27982 wxPyEndAllowThreads(__tstate
);
27983 if (PyErr_Occurred()) SWIG_fail
;
27985 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
27992 SWIGINTERN PyObject
*_wrap_BrushList_AddBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27993 PyObject
*resultobj
= 0;
27994 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
27995 wxBrush
*arg2
= (wxBrush
*) 0 ;
28000 PyObject
* obj0
= 0 ;
28001 PyObject
* obj1
= 0 ;
28002 char * kwnames
[] = {
28003 (char *) "self",(char *) "brush", NULL
28006 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28007 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
28008 if (!SWIG_IsOK(res1
)) {
28009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_AddBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
28011 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
28012 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
28013 if (!SWIG_IsOK(res2
)) {
28014 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_AddBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
28016 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
28018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28019 (arg1
)->AddBrush(arg2
);
28020 wxPyEndAllowThreads(__tstate
);
28021 if (PyErr_Occurred()) SWIG_fail
;
28023 resultobj
= SWIG_Py_Void();
28030 SWIGINTERN PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28031 PyObject
*resultobj
= 0;
28032 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
28033 wxBrush
*arg2
= (wxBrush
*) 0 ;
28038 PyObject
* obj0
= 0 ;
28039 PyObject
* obj1
= 0 ;
28040 char * kwnames
[] = {
28041 (char *) "self",(char *) "brush", NULL
28044 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28045 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
28046 if (!SWIG_IsOK(res1
)) {
28047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_RemoveBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
28049 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
28050 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
28051 if (!SWIG_IsOK(res2
)) {
28052 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_RemoveBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
28054 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
28056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28057 (arg1
)->RemoveBrush(arg2
);
28058 wxPyEndAllowThreads(__tstate
);
28059 if (PyErr_Occurred()) SWIG_fail
;
28061 resultobj
= SWIG_Py_Void();
28068 SWIGINTERN PyObject
*BrushList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28070 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28071 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrushList
, SWIG_NewClientData(obj
));
28072 return SWIG_Py_Void();
28075 SWIGINTERN PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28076 PyObject
*resultobj
= 0;
28077 wxFontList
*arg1
= (wxFontList
*) 0 ;
28082 bool arg6
= (bool) false ;
28083 wxString
const &arg7_defvalue
= wxPyEmptyString
;
28084 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28085 wxFontEncoding arg8
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
28086 wxFont
*result
= 0 ;
28099 bool temp7
= false ;
28102 PyObject
* obj0
= 0 ;
28103 PyObject
* obj1
= 0 ;
28104 PyObject
* obj2
= 0 ;
28105 PyObject
* obj3
= 0 ;
28106 PyObject
* obj4
= 0 ;
28107 PyObject
* obj5
= 0 ;
28108 PyObject
* obj6
= 0 ;
28109 PyObject
* obj7
= 0 ;
28110 char * kwnames
[] = {
28111 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
28114 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
28115 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
28116 if (!SWIG_IsOK(res1
)) {
28117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "1"" of type '" "wxFontList *""'");
28119 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
28120 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28121 if (!SWIG_IsOK(ecode2
)) {
28122 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "2"" of type '" "int""'");
28124 arg2
= static_cast< int >(val2
);
28125 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28126 if (!SWIG_IsOK(ecode3
)) {
28127 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "3"" of type '" "int""'");
28129 arg3
= static_cast< int >(val3
);
28130 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
28131 if (!SWIG_IsOK(ecode4
)) {
28132 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "4"" of type '" "int""'");
28134 arg4
= static_cast< int >(val4
);
28135 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
28136 if (!SWIG_IsOK(ecode5
)) {
28137 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "5"" of type '" "int""'");
28139 arg5
= static_cast< int >(val5
);
28141 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
28142 if (!SWIG_IsOK(ecode6
)) {
28143 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "6"" of type '" "bool""'");
28145 arg6
= static_cast< bool >(val6
);
28149 arg7
= wxString_in_helper(obj6
);
28150 if (arg7
== NULL
) SWIG_fail
;
28155 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
28156 if (!SWIG_IsOK(ecode8
)) {
28157 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "8"" of type '" "wxFontEncoding""'");
28159 arg8
= static_cast< wxFontEncoding
>(val8
);
28162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28163 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,arg8
);
28164 wxPyEndAllowThreads(__tstate
);
28165 if (PyErr_Occurred()) SWIG_fail
;
28167 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
28182 SWIGINTERN PyObject
*_wrap_FontList_AddFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28183 PyObject
*resultobj
= 0;
28184 wxFontList
*arg1
= (wxFontList
*) 0 ;
28185 wxFont
*arg2
= (wxFont
*) 0 ;
28190 PyObject
* obj0
= 0 ;
28191 PyObject
* obj1
= 0 ;
28192 char * kwnames
[] = {
28193 (char *) "self",(char *) "font", NULL
28196 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28197 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
28198 if (!SWIG_IsOK(res1
)) {
28199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_AddFont" "', expected argument " "1"" of type '" "wxFontList *""'");
28201 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
28202 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
28203 if (!SWIG_IsOK(res2
)) {
28204 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_AddFont" "', expected argument " "2"" of type '" "wxFont *""'");
28206 arg2
= reinterpret_cast< wxFont
* >(argp2
);
28208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28209 (arg1
)->AddFont(arg2
);
28210 wxPyEndAllowThreads(__tstate
);
28211 if (PyErr_Occurred()) SWIG_fail
;
28213 resultobj
= SWIG_Py_Void();
28220 SWIGINTERN PyObject
*_wrap_FontList_RemoveFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28221 PyObject
*resultobj
= 0;
28222 wxFontList
*arg1
= (wxFontList
*) 0 ;
28223 wxFont
*arg2
= (wxFont
*) 0 ;
28228 PyObject
* obj0
= 0 ;
28229 PyObject
* obj1
= 0 ;
28230 char * kwnames
[] = {
28231 (char *) "self",(char *) "font", NULL
28234 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28235 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
28236 if (!SWIG_IsOK(res1
)) {
28237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_RemoveFont" "', expected argument " "1"" of type '" "wxFontList *""'");
28239 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
28240 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
28241 if (!SWIG_IsOK(res2
)) {
28242 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_RemoveFont" "', expected argument " "2"" of type '" "wxFont *""'");
28244 arg2
= reinterpret_cast< wxFont
* >(argp2
);
28246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28247 (arg1
)->RemoveFont(arg2
);
28248 wxPyEndAllowThreads(__tstate
);
28249 if (PyErr_Occurred()) SWIG_fail
;
28251 resultobj
= SWIG_Py_Void();
28258 SWIGINTERN PyObject
*FontList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28260 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28261 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontList
, SWIG_NewClientData(obj
));
28262 return SWIG_Py_Void();
28265 SWIGINTERN PyObject
*_wrap_new_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28266 PyObject
*resultobj
= 0;
28267 wxColourDatabase
*result
= 0 ;
28269 if (!SWIG_Python_UnpackTuple(args
,"new_ColourDatabase",0,0,0)) SWIG_fail
;
28271 if (!wxPyCheckForApp()) SWIG_fail
;
28272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28273 result
= (wxColourDatabase
*)new wxColourDatabase();
28274 wxPyEndAllowThreads(__tstate
);
28275 if (PyErr_Occurred()) SWIG_fail
;
28277 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_NEW
| 0 );
28284 SWIGINTERN PyObject
*_wrap_delete_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28285 PyObject
*resultobj
= 0;
28286 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
28289 PyObject
*swig_obj
[1] ;
28291 if (!args
) SWIG_fail
;
28292 swig_obj
[0] = args
;
28293 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_DISOWN
| 0 );
28294 if (!SWIG_IsOK(res1
)) {
28295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourDatabase" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
28297 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
28299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28302 wxPyEndAllowThreads(__tstate
);
28303 if (PyErr_Occurred()) SWIG_fail
;
28305 resultobj
= SWIG_Py_Void();
28312 SWIGINTERN PyObject
*_wrap_ColourDatabase_Find(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28313 PyObject
*resultobj
= 0;
28314 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
28315 wxString
*arg2
= 0 ;
28319 bool temp2
= false ;
28320 PyObject
* obj0
= 0 ;
28321 PyObject
* obj1
= 0 ;
28322 char * kwnames
[] = {
28323 (char *) "self",(char *) "name", NULL
28326 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28327 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
28328 if (!SWIG_IsOK(res1
)) {
28329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Find" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
28331 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
28333 arg2
= wxString_in_helper(obj1
);
28334 if (arg2
== NULL
) SWIG_fail
;
28338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28339 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
28340 wxPyEndAllowThreads(__tstate
);
28341 if (PyErr_Occurred()) SWIG_fail
;
28343 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
28358 SWIGINTERN PyObject
*_wrap_ColourDatabase_FindName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28359 PyObject
*resultobj
= 0;
28360 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
28361 wxColour
*arg2
= 0 ;
28366 PyObject
* obj0
= 0 ;
28367 PyObject
* obj1
= 0 ;
28368 char * kwnames
[] = {
28369 (char *) "self",(char *) "colour", NULL
28372 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28373 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
28374 if (!SWIG_IsOK(res1
)) {
28375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_FindName" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
28377 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
28380 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
28383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28384 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
28385 wxPyEndAllowThreads(__tstate
);
28386 if (PyErr_Occurred()) SWIG_fail
;
28390 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28392 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28401 SWIGINTERN PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28402 PyObject
*resultobj
= 0;
28403 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
28404 wxString
*arg2
= 0 ;
28405 wxColour
*arg3
= 0 ;
28408 bool temp2
= false ;
28410 PyObject
* obj0
= 0 ;
28411 PyObject
* obj1
= 0 ;
28412 PyObject
* obj2
= 0 ;
28413 char * kwnames
[] = {
28414 (char *) "self",(char *) "name",(char *) "colour", NULL
28417 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28418 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
28419 if (!SWIG_IsOK(res1
)) {
28420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_AddColour" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
28422 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
28424 arg2
= wxString_in_helper(obj1
);
28425 if (arg2
== NULL
) SWIG_fail
;
28430 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
28433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28434 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
28435 wxPyEndAllowThreads(__tstate
);
28436 if (PyErr_Occurred()) SWIG_fail
;
28438 resultobj
= SWIG_Py_Void();
28453 SWIGINTERN PyObject
*_wrap_ColourDatabase_Append(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28454 PyObject
*resultobj
= 0;
28455 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
28456 wxString
*arg2
= 0 ;
28462 bool temp2
= false ;
28469 PyObject
* obj0
= 0 ;
28470 PyObject
* obj1
= 0 ;
28471 PyObject
* obj2
= 0 ;
28472 PyObject
* obj3
= 0 ;
28473 PyObject
* obj4
= 0 ;
28474 char * kwnames
[] = {
28475 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
28478 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
28479 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
28480 if (!SWIG_IsOK(res1
)) {
28481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Append" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
28483 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
28485 arg2
= wxString_in_helper(obj1
);
28486 if (arg2
== NULL
) SWIG_fail
;
28489 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28490 if (!SWIG_IsOK(ecode3
)) {
28491 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourDatabase_Append" "', expected argument " "3"" of type '" "int""'");
28493 arg3
= static_cast< int >(val3
);
28494 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
28495 if (!SWIG_IsOK(ecode4
)) {
28496 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ColourDatabase_Append" "', expected argument " "4"" of type '" "int""'");
28498 arg4
= static_cast< int >(val4
);
28499 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
28500 if (!SWIG_IsOK(ecode5
)) {
28501 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ColourDatabase_Append" "', expected argument " "5"" of type '" "int""'");
28503 arg5
= static_cast< int >(val5
);
28505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28506 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
28507 wxPyEndAllowThreads(__tstate
);
28508 if (PyErr_Occurred()) SWIG_fail
;
28510 resultobj
= SWIG_Py_Void();
28525 SWIGINTERN PyObject
*ColourDatabase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28527 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28528 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDatabase
, SWIG_NewClientData(obj
));
28529 return SWIG_Py_Void();
28532 SWIGINTERN PyObject
*ColourDatabase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28533 return SWIG_Python_InitShadowInstance(args
);
28536 SWIGINTERN PyObject
*_wrap__wxPyInitTheFontList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28537 PyObject
*resultobj
= 0;
28538 wxFontList
*result
= 0 ;
28540 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheFontList",0,0,0)) SWIG_fail
;
28542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28543 result
= (wxFontList
*)_wxPyInitTheFontList();
28544 wxPyEndAllowThreads(__tstate
);
28545 if (PyErr_Occurred()) SWIG_fail
;
28547 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontList
, 0 | 0 );
28554 SWIGINTERN PyObject
*_wrap__wxPyInitThePenList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28555 PyObject
*resultobj
= 0;
28556 wxPenList
*result
= 0 ;
28558 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitThePenList",0,0,0)) SWIG_fail
;
28560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28561 result
= (wxPenList
*)_wxPyInitThePenList();
28562 wxPyEndAllowThreads(__tstate
);
28563 if (PyErr_Occurred()) SWIG_fail
;
28565 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPenList
, 0 | 0 );
28572 SWIGINTERN PyObject
*_wrap__wxPyInitTheBrushList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28573 PyObject
*resultobj
= 0;
28574 wxBrushList
*result
= 0 ;
28576 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheBrushList",0,0,0)) SWIG_fail
;
28578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28579 result
= (wxBrushList
*)_wxPyInitTheBrushList();
28580 wxPyEndAllowThreads(__tstate
);
28581 if (PyErr_Occurred()) SWIG_fail
;
28583 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrushList
, 0 | 0 );
28590 SWIGINTERN PyObject
*_wrap__wxPyInitTheColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28591 PyObject
*resultobj
= 0;
28592 wxColourDatabase
*result
= 0 ;
28594 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheColourDatabase",0,0,0)) SWIG_fail
;
28596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28597 result
= (wxColourDatabase
*)_wxPyInitTheColourDatabase();
28598 wxPyEndAllowThreads(__tstate
);
28599 if (PyErr_Occurred()) SWIG_fail
;
28601 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
28608 SWIGINTERN PyObject
*_wrap_new_Effects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28609 PyObject
*resultobj
= 0;
28610 wxEffects
*result
= 0 ;
28612 if (!SWIG_Python_UnpackTuple(args
,"new_Effects",0,0,0)) SWIG_fail
;
28614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28615 result
= (wxEffects
*)new wxEffects();
28616 wxPyEndAllowThreads(__tstate
);
28617 if (PyErr_Occurred()) SWIG_fail
;
28619 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEffects
, SWIG_POINTER_NEW
| 0 );
28626 SWIGINTERN PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28627 PyObject
*resultobj
= 0;
28628 wxEffects
*arg1
= (wxEffects
*) 0 ;
28632 PyObject
*swig_obj
[1] ;
28634 if (!args
) SWIG_fail
;
28635 swig_obj
[0] = args
;
28636 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
28637 if (!SWIG_IsOK(res1
)) {
28638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetHighlightColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
28640 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
28642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28643 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
28644 wxPyEndAllowThreads(__tstate
);
28645 if (PyErr_Occurred()) SWIG_fail
;
28647 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
28654 SWIGINTERN PyObject
*_wrap_Effects_GetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28655 PyObject
*resultobj
= 0;
28656 wxEffects
*arg1
= (wxEffects
*) 0 ;
28660 PyObject
*swig_obj
[1] ;
28662 if (!args
) SWIG_fail
;
28663 swig_obj
[0] = args
;
28664 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
28665 if (!SWIG_IsOK(res1
)) {
28666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetLightShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
28668 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
28670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28671 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
28672 wxPyEndAllowThreads(__tstate
);
28673 if (PyErr_Occurred()) SWIG_fail
;
28675 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
28682 SWIGINTERN PyObject
*_wrap_Effects_GetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28683 PyObject
*resultobj
= 0;
28684 wxEffects
*arg1
= (wxEffects
*) 0 ;
28688 PyObject
*swig_obj
[1] ;
28690 if (!args
) SWIG_fail
;
28691 swig_obj
[0] = args
;
28692 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
28693 if (!SWIG_IsOK(res1
)) {
28694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetFaceColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
28696 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
28698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28699 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
28700 wxPyEndAllowThreads(__tstate
);
28701 if (PyErr_Occurred()) SWIG_fail
;
28703 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
28710 SWIGINTERN PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28711 PyObject
*resultobj
= 0;
28712 wxEffects
*arg1
= (wxEffects
*) 0 ;
28716 PyObject
*swig_obj
[1] ;
28718 if (!args
) SWIG_fail
;
28719 swig_obj
[0] = args
;
28720 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
28721 if (!SWIG_IsOK(res1
)) {
28722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetMediumShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
28724 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
28726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28727 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
28728 wxPyEndAllowThreads(__tstate
);
28729 if (PyErr_Occurred()) SWIG_fail
;
28731 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
28738 SWIGINTERN PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28739 PyObject
*resultobj
= 0;
28740 wxEffects
*arg1
= (wxEffects
*) 0 ;
28744 PyObject
*swig_obj
[1] ;
28746 if (!args
) SWIG_fail
;
28747 swig_obj
[0] = args
;
28748 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
28749 if (!SWIG_IsOK(res1
)) {
28750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetDarkShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
28752 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
28754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28755 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
28756 wxPyEndAllowThreads(__tstate
);
28757 if (PyErr_Occurred()) SWIG_fail
;
28759 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
28766 SWIGINTERN PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28767 PyObject
*resultobj
= 0;
28768 wxEffects
*arg1
= (wxEffects
*) 0 ;
28769 wxColour
*arg2
= 0 ;
28773 PyObject
* obj0
= 0 ;
28774 PyObject
* obj1
= 0 ;
28775 char * kwnames
[] = {
28776 (char *) "self",(char *) "c", NULL
28779 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28780 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
28781 if (!SWIG_IsOK(res1
)) {
28782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetHighlightColour" "', expected argument " "1"" of type '" "wxEffects *""'");
28784 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
28787 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
28790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28791 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
28792 wxPyEndAllowThreads(__tstate
);
28793 if (PyErr_Occurred()) SWIG_fail
;
28795 resultobj
= SWIG_Py_Void();
28802 SWIGINTERN PyObject
*_wrap_Effects_SetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28803 PyObject
*resultobj
= 0;
28804 wxEffects
*arg1
= (wxEffects
*) 0 ;
28805 wxColour
*arg2
= 0 ;
28809 PyObject
* obj0
= 0 ;
28810 PyObject
* obj1
= 0 ;
28811 char * kwnames
[] = {
28812 (char *) "self",(char *) "c", NULL
28815 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28816 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
28817 if (!SWIG_IsOK(res1
)) {
28818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetLightShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
28820 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
28823 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
28826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28827 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
28828 wxPyEndAllowThreads(__tstate
);
28829 if (PyErr_Occurred()) SWIG_fail
;
28831 resultobj
= SWIG_Py_Void();
28838 SWIGINTERN PyObject
*_wrap_Effects_SetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28839 PyObject
*resultobj
= 0;
28840 wxEffects
*arg1
= (wxEffects
*) 0 ;
28841 wxColour
*arg2
= 0 ;
28845 PyObject
* obj0
= 0 ;
28846 PyObject
* obj1
= 0 ;
28847 char * kwnames
[] = {
28848 (char *) "self",(char *) "c", NULL
28851 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28852 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
28853 if (!SWIG_IsOK(res1
)) {
28854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetFaceColour" "', expected argument " "1"" of type '" "wxEffects *""'");
28856 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
28859 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
28862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28863 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
28864 wxPyEndAllowThreads(__tstate
);
28865 if (PyErr_Occurred()) SWIG_fail
;
28867 resultobj
= SWIG_Py_Void();
28874 SWIGINTERN PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28875 PyObject
*resultobj
= 0;
28876 wxEffects
*arg1
= (wxEffects
*) 0 ;
28877 wxColour
*arg2
= 0 ;
28881 PyObject
* obj0
= 0 ;
28882 PyObject
* obj1
= 0 ;
28883 char * kwnames
[] = {
28884 (char *) "self",(char *) "c", NULL
28887 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28888 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
28889 if (!SWIG_IsOK(res1
)) {
28890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetMediumShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
28892 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
28895 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
28898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28899 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
28900 wxPyEndAllowThreads(__tstate
);
28901 if (PyErr_Occurred()) SWIG_fail
;
28903 resultobj
= SWIG_Py_Void();
28910 SWIGINTERN PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28911 PyObject
*resultobj
= 0;
28912 wxEffects
*arg1
= (wxEffects
*) 0 ;
28913 wxColour
*arg2
= 0 ;
28917 PyObject
* obj0
= 0 ;
28918 PyObject
* obj1
= 0 ;
28919 char * kwnames
[] = {
28920 (char *) "self",(char *) "c", NULL
28923 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28924 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
28925 if (!SWIG_IsOK(res1
)) {
28926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetDarkShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
28928 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
28931 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
28934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28935 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
28936 wxPyEndAllowThreads(__tstate
);
28937 if (PyErr_Occurred()) SWIG_fail
;
28939 resultobj
= SWIG_Py_Void();
28946 SWIGINTERN PyObject
*_wrap_Effects_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28947 PyObject
*resultobj
= 0;
28948 wxEffects
*arg1
= (wxEffects
*) 0 ;
28949 wxColour
*arg2
= 0 ;
28950 wxColour
*arg3
= 0 ;
28951 wxColour
*arg4
= 0 ;
28952 wxColour
*arg5
= 0 ;
28953 wxColour
*arg6
= 0 ;
28961 PyObject
* obj0
= 0 ;
28962 PyObject
* obj1
= 0 ;
28963 PyObject
* obj2
= 0 ;
28964 PyObject
* obj3
= 0 ;
28965 PyObject
* obj4
= 0 ;
28966 PyObject
* obj5
= 0 ;
28967 char * kwnames
[] = {
28968 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
28971 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
28972 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
28973 if (!SWIG_IsOK(res1
)) {
28974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_Set" "', expected argument " "1"" of type '" "wxEffects *""'");
28976 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
28979 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
28983 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
28987 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
28991 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
28995 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
28998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28999 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
29000 wxPyEndAllowThreads(__tstate
);
29001 if (PyErr_Occurred()) SWIG_fail
;
29003 resultobj
= SWIG_Py_Void();
29010 SWIGINTERN PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29011 PyObject
*resultobj
= 0;
29012 wxEffects
*arg1
= (wxEffects
*) 0 ;
29015 int arg4
= (int) 1 ;
29023 PyObject
* obj0
= 0 ;
29024 PyObject
* obj1
= 0 ;
29025 PyObject
* obj2
= 0 ;
29026 PyObject
* obj3
= 0 ;
29027 char * kwnames
[] = {
29028 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
29031 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29032 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29033 if (!SWIG_IsOK(res1
)) {
29034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "1"" of type '" "wxEffects *""'");
29036 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
29037 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
29038 if (!SWIG_IsOK(res2
)) {
29039 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
29042 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
29044 arg2
= reinterpret_cast< wxDC
* >(argp2
);
29047 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
29050 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29051 if (!SWIG_IsOK(ecode4
)) {
29052 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "4"" of type '" "int""'");
29054 arg4
= static_cast< int >(val4
);
29057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29058 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
29059 wxPyEndAllowThreads(__tstate
);
29060 if (PyErr_Occurred()) SWIG_fail
;
29062 resultobj
= SWIG_Py_Void();
29069 SWIGINTERN PyObject
*_wrap_Effects_TileBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29070 PyObject
*resultobj
= 0;
29071 wxEffects
*arg1
= (wxEffects
*) 0 ;
29074 wxBitmap
*arg4
= 0 ;
29083 PyObject
* obj0
= 0 ;
29084 PyObject
* obj1
= 0 ;
29085 PyObject
* obj2
= 0 ;
29086 PyObject
* obj3
= 0 ;
29087 char * kwnames
[] = {
29088 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
29091 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29092 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29093 if (!SWIG_IsOK(res1
)) {
29094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_TileBitmap" "', expected argument " "1"" of type '" "wxEffects *""'");
29096 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
29099 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
29101 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
29102 if (!SWIG_IsOK(res3
)) {
29103 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
29106 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
29108 arg3
= reinterpret_cast< wxDC
* >(argp3
);
29109 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 );
29110 if (!SWIG_IsOK(res4
)) {
29111 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
29114 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
29116 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
29118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29119 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
29120 wxPyEndAllowThreads(__tstate
);
29121 if (PyErr_Occurred()) SWIG_fail
;
29124 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29132 SWIGINTERN PyObject
*Effects_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29134 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29135 SWIG_TypeNewClientData(SWIGTYPE_p_wxEffects
, SWIG_NewClientData(obj
));
29136 return SWIG_Py_Void();
29139 SWIGINTERN PyObject
*Effects_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29140 return SWIG_Python_InitShadowInstance(args
);
29143 SWIGINTERN PyObject
*_wrap_new_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29144 PyObject
*resultobj
= 0;
29148 wxSplitterRenderParams
*result
= 0 ;
29155 PyObject
* obj0
= 0 ;
29156 PyObject
* obj1
= 0 ;
29157 PyObject
* obj2
= 0 ;
29158 char * kwnames
[] = {
29159 (char *) "widthSash_",(char *) "border_",(char *) "isSens_", NULL
29162 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_SplitterRenderParams",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29163 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
29164 if (!SWIG_IsOK(ecode1
)) {
29165 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterRenderParams" "', expected argument " "1"" of type '" "int""'");
29167 arg1
= static_cast< int >(val1
);
29168 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29169 if (!SWIG_IsOK(ecode2
)) {
29170 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterRenderParams" "', expected argument " "2"" of type '" "int""'");
29172 arg2
= static_cast< int >(val2
);
29173 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
29174 if (!SWIG_IsOK(ecode3
)) {
29175 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplitterRenderParams" "', expected argument " "3"" of type '" "bool""'");
29177 arg3
= static_cast< bool >(val3
);
29179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29180 result
= (wxSplitterRenderParams
*)new wxSplitterRenderParams(arg1
,arg2
,arg3
);
29181 wxPyEndAllowThreads(__tstate
);
29182 if (PyErr_Occurred()) SWIG_fail
;
29184 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_NEW
| 0 );
29191 SWIGINTERN PyObject
*_wrap_delete_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29192 PyObject
*resultobj
= 0;
29193 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
29196 PyObject
*swig_obj
[1] ;
29198 if (!args
) SWIG_fail
;
29199 swig_obj
[0] = args
;
29200 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_DISOWN
| 0 );
29201 if (!SWIG_IsOK(res1
)) {
29202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_SplitterRenderParams" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
29204 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
29206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29209 wxPyEndAllowThreads(__tstate
);
29210 if (PyErr_Occurred()) SWIG_fail
;
29212 resultobj
= SWIG_Py_Void();
29219 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_widthSash_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29220 PyObject
*resultobj
= 0;
29221 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
29225 PyObject
*swig_obj
[1] ;
29227 if (!args
) SWIG_fail
;
29228 swig_obj
[0] = args
;
29229 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
29230 if (!SWIG_IsOK(res1
)) {
29231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_widthSash_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
29233 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
29234 result
= (int)(int) ((arg1
)->widthSash
);
29235 resultobj
= SWIG_From_int(static_cast< int >(result
));
29242 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_border_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29243 PyObject
*resultobj
= 0;
29244 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
29248 PyObject
*swig_obj
[1] ;
29250 if (!args
) SWIG_fail
;
29251 swig_obj
[0] = args
;
29252 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
29253 if (!SWIG_IsOK(res1
)) {
29254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_border_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
29256 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
29257 result
= (int)(int) ((arg1
)->border
);
29258 resultobj
= SWIG_From_int(static_cast< int >(result
));
29265 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_isHotSensitive_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29266 PyObject
*resultobj
= 0;
29267 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
29271 PyObject
*swig_obj
[1] ;
29273 if (!args
) SWIG_fail
;
29274 swig_obj
[0] = args
;
29275 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
29276 if (!SWIG_IsOK(res1
)) {
29277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_isHotSensitive_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
29279 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
29280 result
= (bool)(bool) ((arg1
)->isHotSensitive
);
29281 resultobj
= SWIG_From_bool(static_cast< bool >(result
));
29288 SWIGINTERN PyObject
*SplitterRenderParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29290 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29291 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterRenderParams
, SWIG_NewClientData(obj
));
29292 return SWIG_Py_Void();
29295 SWIGINTERN PyObject
*SplitterRenderParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29296 return SWIG_Python_InitShadowInstance(args
);
29299 SWIGINTERN PyObject
*_wrap_new_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29300 PyObject
*resultobj
= 0;
29301 wxHeaderButtonParams
*result
= 0 ;
29303 if (!SWIG_Python_UnpackTuple(args
,"new_HeaderButtonParams",0,0,0)) SWIG_fail
;
29305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29306 result
= (wxHeaderButtonParams
*)new wxHeaderButtonParams();
29307 wxPyEndAllowThreads(__tstate
);
29308 if (PyErr_Occurred()) SWIG_fail
;
29310 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_NEW
| 0 );
29317 SWIGINTERN PyObject
*_wrap_delete_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29318 PyObject
*resultobj
= 0;
29319 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29322 PyObject
*swig_obj
[1] ;
29324 if (!args
) SWIG_fail
;
29325 swig_obj
[0] = args
;
29326 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_DISOWN
| 0 );
29327 if (!SWIG_IsOK(res1
)) {
29328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HeaderButtonParams" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29330 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29335 wxPyEndAllowThreads(__tstate
);
29336 if (PyErr_Occurred()) SWIG_fail
;
29338 resultobj
= SWIG_Py_Void();
29345 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29346 PyObject
*resultobj
= 0;
29347 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29348 wxColour
*arg2
= (wxColour
*) 0 ;
29352 PyObject
*swig_obj
[2] ;
29354 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_arrowColour_set",2,2,swig_obj
)) SWIG_fail
;
29355 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29356 if (!SWIG_IsOK(res1
)) {
29357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29359 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29362 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
29364 if (arg1
) (arg1
)->m_arrowColour
= *arg2
;
29366 resultobj
= SWIG_Py_Void();
29373 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29374 PyObject
*resultobj
= 0;
29375 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29376 wxColour
*result
= 0 ;
29379 PyObject
*swig_obj
[1] ;
29381 if (!args
) SWIG_fail
;
29382 swig_obj
[0] = args
;
29383 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29384 if (!SWIG_IsOK(res1
)) {
29385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29387 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29388 result
= (wxColour
*)& ((arg1
)->m_arrowColour
);
29389 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
29396 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29397 PyObject
*resultobj
= 0;
29398 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29399 wxColour
*arg2
= (wxColour
*) 0 ;
29403 PyObject
*swig_obj
[2] ;
29405 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_selectionColour_set",2,2,swig_obj
)) SWIG_fail
;
29406 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29407 if (!SWIG_IsOK(res1
)) {
29408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29410 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29413 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
29415 if (arg1
) (arg1
)->m_selectionColour
= *arg2
;
29417 resultobj
= SWIG_Py_Void();
29424 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29425 PyObject
*resultobj
= 0;
29426 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29427 wxColour
*result
= 0 ;
29430 PyObject
*swig_obj
[1] ;
29432 if (!args
) SWIG_fail
;
29433 swig_obj
[0] = args
;
29434 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29435 if (!SWIG_IsOK(res1
)) {
29436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29438 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29439 result
= (wxColour
*)& ((arg1
)->m_selectionColour
);
29440 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
29447 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29448 PyObject
*resultobj
= 0;
29449 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29450 wxString
*arg2
= (wxString
*) 0 ;
29453 bool temp2
= false ;
29454 PyObject
*swig_obj
[2] ;
29456 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelText_set",2,2,swig_obj
)) SWIG_fail
;
29457 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29458 if (!SWIG_IsOK(res1
)) {
29459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29461 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29463 arg2
= wxString_in_helper(swig_obj
[1]);
29464 if (arg2
== NULL
) SWIG_fail
;
29467 if (arg1
) (arg1
)->m_labelText
= *arg2
;
29469 resultobj
= SWIG_Py_Void();
29484 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29485 PyObject
*resultobj
= 0;
29486 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29487 wxString
*result
= 0 ;
29490 PyObject
*swig_obj
[1] ;
29492 if (!args
) SWIG_fail
;
29493 swig_obj
[0] = args
;
29494 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29495 if (!SWIG_IsOK(res1
)) {
29496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29498 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29499 result
= (wxString
*)& ((arg1
)->m_labelText
);
29502 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
29504 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
29513 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29514 PyObject
*resultobj
= 0;
29515 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29516 wxFont
*arg2
= (wxFont
*) 0 ;
29521 PyObject
*swig_obj
[2] ;
29523 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelFont_set",2,2,swig_obj
)) SWIG_fail
;
29524 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29525 if (!SWIG_IsOK(res1
)) {
29526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29528 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29529 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
29530 if (!SWIG_IsOK(res2
)) {
29531 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "2"" of type '" "wxFont *""'");
29533 arg2
= reinterpret_cast< wxFont
* >(argp2
);
29534 if (arg1
) (arg1
)->m_labelFont
= *arg2
;
29536 resultobj
= SWIG_Py_Void();
29543 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29544 PyObject
*resultobj
= 0;
29545 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29546 wxFont
*result
= 0 ;
29549 PyObject
*swig_obj
[1] ;
29551 if (!args
) SWIG_fail
;
29552 swig_obj
[0] = args
;
29553 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29554 if (!SWIG_IsOK(res1
)) {
29555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29557 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29558 result
= (wxFont
*)& ((arg1
)->m_labelFont
);
29559 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
29566 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29567 PyObject
*resultobj
= 0;
29568 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29569 wxColour
*arg2
= (wxColour
*) 0 ;
29573 PyObject
*swig_obj
[2] ;
29575 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelColour_set",2,2,swig_obj
)) SWIG_fail
;
29576 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29577 if (!SWIG_IsOK(res1
)) {
29578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29580 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29583 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
29585 if (arg1
) (arg1
)->m_labelColour
= *arg2
;
29587 resultobj
= SWIG_Py_Void();
29594 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29595 PyObject
*resultobj
= 0;
29596 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29597 wxColour
*result
= 0 ;
29600 PyObject
*swig_obj
[1] ;
29602 if (!args
) SWIG_fail
;
29603 swig_obj
[0] = args
;
29604 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29605 if (!SWIG_IsOK(res1
)) {
29606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29608 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29609 result
= (wxColour
*)& ((arg1
)->m_labelColour
);
29610 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
29617 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29618 PyObject
*resultobj
= 0;
29619 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29620 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
29625 PyObject
*swig_obj
[2] ;
29627 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelBitmap_set",2,2,swig_obj
)) SWIG_fail
;
29628 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29629 if (!SWIG_IsOK(res1
)) {
29630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29632 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29633 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
29634 if (!SWIG_IsOK(res2
)) {
29635 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "2"" of type '" "wxBitmap *""'");
29637 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
29638 if (arg1
) (arg1
)->m_labelBitmap
= *arg2
;
29640 resultobj
= SWIG_Py_Void();
29647 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29648 PyObject
*resultobj
= 0;
29649 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29650 wxBitmap
*result
= 0 ;
29653 PyObject
*swig_obj
[1] ;
29655 if (!args
) SWIG_fail
;
29656 swig_obj
[0] = args
;
29657 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29658 if (!SWIG_IsOK(res1
)) {
29659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29661 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29662 result
= (wxBitmap
*)& ((arg1
)->m_labelBitmap
);
29663 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
29670 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29671 PyObject
*resultobj
= 0;
29672 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29678 PyObject
*swig_obj
[2] ;
29680 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelAlignment_set",2,2,swig_obj
)) SWIG_fail
;
29681 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29682 if (!SWIG_IsOK(res1
)) {
29683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29685 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29686 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
29687 if (!SWIG_IsOK(ecode2
)) {
29688 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "2"" of type '" "int""'");
29690 arg2
= static_cast< int >(val2
);
29691 if (arg1
) (arg1
)->m_labelAlignment
= arg2
;
29693 resultobj
= SWIG_Py_Void();
29700 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29701 PyObject
*resultobj
= 0;
29702 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29706 PyObject
*swig_obj
[1] ;
29708 if (!args
) SWIG_fail
;
29709 swig_obj
[0] = args
;
29710 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29711 if (!SWIG_IsOK(res1
)) {
29712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29714 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29715 result
= (int) ((arg1
)->m_labelAlignment
);
29716 resultobj
= SWIG_From_int(static_cast< int >(result
));
29723 SWIGINTERN PyObject
*HeaderButtonParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29725 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29726 SWIG_TypeNewClientData(SWIGTYPE_p_wxHeaderButtonParams
, SWIG_NewClientData(obj
));
29727 return SWIG_Py_Void();
29730 SWIGINTERN PyObject
*HeaderButtonParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29731 return SWIG_Python_InitShadowInstance(args
);
29734 SWIGINTERN PyObject
*_wrap_new_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29735 PyObject
*resultobj
= 0;
29738 wxRendererVersion
*result
= 0 ;
29743 PyObject
* obj0
= 0 ;
29744 PyObject
* obj1
= 0 ;
29745 char * kwnames
[] = {
29746 (char *) "version_",(char *) "age_", NULL
29749 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RendererVersion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29750 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
29751 if (!SWIG_IsOK(ecode1
)) {
29752 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_RendererVersion" "', expected argument " "1"" of type '" "int""'");
29754 arg1
= static_cast< int >(val1
);
29755 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29756 if (!SWIG_IsOK(ecode2
)) {
29757 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RendererVersion" "', expected argument " "2"" of type '" "int""'");
29759 arg2
= static_cast< int >(val2
);
29761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29762 result
= (wxRendererVersion
*)new wxRendererVersion(arg1
,arg2
);
29763 wxPyEndAllowThreads(__tstate
);
29764 if (PyErr_Occurred()) SWIG_fail
;
29766 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_NEW
| 0 );
29773 SWIGINTERN PyObject
*_wrap_delete_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29774 PyObject
*resultobj
= 0;
29775 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
29778 PyObject
*swig_obj
[1] ;
29780 if (!args
) SWIG_fail
;
29781 swig_obj
[0] = args
;
29782 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_DISOWN
| 0 );
29783 if (!SWIG_IsOK(res1
)) {
29784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RendererVersion" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
29786 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
29788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29791 wxPyEndAllowThreads(__tstate
);
29792 if (PyErr_Occurred()) SWIG_fail
;
29794 resultobj
= SWIG_Py_Void();
29801 SWIGINTERN PyObject
*_wrap_RendererVersion_IsCompatible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29802 PyObject
*resultobj
= 0;
29803 wxRendererVersion
*arg1
= 0 ;
29807 PyObject
* obj0
= 0 ;
29808 char * kwnames
[] = {
29809 (char *) "ver", NULL
29812 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererVersion_IsCompatible",kwnames
,&obj0
)) SWIG_fail
;
29813 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRendererVersion
, 0 | 0);
29814 if (!SWIG_IsOK(res1
)) {
29815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
29818 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
29820 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
29822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29823 result
= (bool)wxRendererVersion::IsCompatible((wxRendererVersion
const &)*arg1
);
29824 wxPyEndAllowThreads(__tstate
);
29825 if (PyErr_Occurred()) SWIG_fail
;
29828 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29836 SWIGINTERN PyObject
*_wrap_RendererVersion_version_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29837 PyObject
*resultobj
= 0;
29838 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
29842 PyObject
*swig_obj
[1] ;
29844 if (!args
) SWIG_fail
;
29845 swig_obj
[0] = args
;
29846 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
29847 if (!SWIG_IsOK(res1
)) {
29848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_version_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
29850 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
29851 result
= (int)(int) ((arg1
)->version
);
29852 resultobj
= SWIG_From_int(static_cast< int >(result
));
29859 SWIGINTERN PyObject
*_wrap_RendererVersion_age_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29860 PyObject
*resultobj
= 0;
29861 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
29865 PyObject
*swig_obj
[1] ;
29867 if (!args
) SWIG_fail
;
29868 swig_obj
[0] = args
;
29869 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
29870 if (!SWIG_IsOK(res1
)) {
29871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_age_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
29873 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
29874 result
= (int)(int) ((arg1
)->age
);
29875 resultobj
= SWIG_From_int(static_cast< int >(result
));
29882 SWIGINTERN PyObject
*RendererVersion_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29884 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29885 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererVersion
, SWIG_NewClientData(obj
));
29886 return SWIG_Py_Void();
29889 SWIGINTERN PyObject
*RendererVersion_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29890 return SWIG_Python_InitShadowInstance(args
);
29893 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29894 PyObject
*resultobj
= 0;
29895 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
29896 wxWindow
*arg2
= (wxWindow
*) 0 ;
29899 int arg5
= (int) 0 ;
29900 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
29901 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
29915 PyObject
* obj0
= 0 ;
29916 PyObject
* obj1
= 0 ;
29917 PyObject
* obj2
= 0 ;
29918 PyObject
* obj3
= 0 ;
29919 PyObject
* obj4
= 0 ;
29920 PyObject
* obj5
= 0 ;
29921 PyObject
* obj6
= 0 ;
29922 char * kwnames
[] = {
29923 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
29926 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
29927 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
29928 if (!SWIG_IsOK(res1
)) {
29929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
29931 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
29932 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29933 if (!SWIG_IsOK(res2
)) {
29934 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "2"" of type '" "wxWindow *""'");
29936 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
29937 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
29938 if (!SWIG_IsOK(res3
)) {
29939 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
29942 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
29944 arg3
= reinterpret_cast< wxDC
* >(argp3
);
29947 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
29950 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
29951 if (!SWIG_IsOK(ecode5
)) {
29952 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "5"" of type '" "int""'");
29954 arg5
= static_cast< int >(val5
);
29957 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
29958 if (!SWIG_IsOK(ecode6
)) {
29959 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
29961 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
29964 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29965 if (!SWIG_IsOK(res7
)) {
29966 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
29968 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
29971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29972 (arg1
)->DrawHeaderButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
29973 wxPyEndAllowThreads(__tstate
);
29974 if (PyErr_Occurred()) SWIG_fail
;
29976 resultobj
= SWIG_Py_Void();
29983 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButtonContents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29984 PyObject
*resultobj
= 0;
29985 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
29986 wxWindow
*arg2
= (wxWindow
*) 0 ;
29989 int arg5
= (int) 0 ;
29990 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
29991 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
30005 PyObject
* obj0
= 0 ;
30006 PyObject
* obj1
= 0 ;
30007 PyObject
* obj2
= 0 ;
30008 PyObject
* obj3
= 0 ;
30009 PyObject
* obj4
= 0 ;
30010 PyObject
* obj5
= 0 ;
30011 PyObject
* obj6
= 0 ;
30012 char * kwnames
[] = {
30013 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
30016 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButtonContents",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30017 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30018 if (!SWIG_IsOK(res1
)) {
30019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30021 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30022 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30023 if (!SWIG_IsOK(res2
)) {
30024 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "2"" of type '" "wxWindow *""'");
30026 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30027 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30028 if (!SWIG_IsOK(res3
)) {
30029 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
30032 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
30034 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30037 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
30040 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30041 if (!SWIG_IsOK(ecode5
)) {
30042 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "5"" of type '" "int""'");
30044 arg5
= static_cast< int >(val5
);
30047 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
30048 if (!SWIG_IsOK(ecode6
)) {
30049 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
30051 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
30054 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
30055 if (!SWIG_IsOK(res7
)) {
30056 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
30058 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
30061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30062 (arg1
)->DrawHeaderButtonContents(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
30063 wxPyEndAllowThreads(__tstate
);
30064 if (PyErr_Occurred()) SWIG_fail
;
30066 resultobj
= SWIG_Py_Void();
30073 SWIGINTERN PyObject
*_wrap_RendererNative_GetHeaderButtonHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30074 PyObject
*resultobj
= 0;
30075 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30076 wxWindow
*arg2
= (wxWindow
*) 0 ;
30082 PyObject
* obj0
= 0 ;
30083 PyObject
* obj1
= 0 ;
30084 char * kwnames
[] = {
30085 (char *) "self",(char *) "win", NULL
30088 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetHeaderButtonHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30089 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30090 if (!SWIG_IsOK(res1
)) {
30091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30093 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30094 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30095 if (!SWIG_IsOK(res2
)) {
30096 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "2"" of type '" "wxWindow *""'");
30098 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30101 result
= (int)(arg1
)->GetHeaderButtonHeight(arg2
);
30102 wxPyEndAllowThreads(__tstate
);
30103 if (PyErr_Occurred()) SWIG_fail
;
30105 resultobj
= SWIG_From_int(static_cast< int >(result
));
30112 SWIGINTERN PyObject
*_wrap_RendererNative_DrawTreeItemButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30113 PyObject
*resultobj
= 0;
30114 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30115 wxWindow
*arg2
= (wxWindow
*) 0 ;
30118 int arg5
= (int) 0 ;
30128 PyObject
* obj0
= 0 ;
30129 PyObject
* obj1
= 0 ;
30130 PyObject
* obj2
= 0 ;
30131 PyObject
* obj3
= 0 ;
30132 PyObject
* obj4
= 0 ;
30133 char * kwnames
[] = {
30134 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
30137 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawTreeItemButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30138 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30139 if (!SWIG_IsOK(res1
)) {
30140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30142 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30143 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30144 if (!SWIG_IsOK(res2
)) {
30145 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "2"" of type '" "wxWindow *""'");
30147 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30148 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30149 if (!SWIG_IsOK(res3
)) {
30150 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
30153 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
30155 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30158 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
30161 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30162 if (!SWIG_IsOK(ecode5
)) {
30163 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "5"" of type '" "int""'");
30165 arg5
= static_cast< int >(val5
);
30168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30169 (arg1
)->DrawTreeItemButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
30170 wxPyEndAllowThreads(__tstate
);
30171 if (PyErr_Occurred()) SWIG_fail
;
30173 resultobj
= SWIG_Py_Void();
30180 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30181 PyObject
*resultobj
= 0;
30182 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30183 wxWindow
*arg2
= (wxWindow
*) 0 ;
30186 int arg5
= (int) 0 ;
30196 PyObject
* obj0
= 0 ;
30197 PyObject
* obj1
= 0 ;
30198 PyObject
* obj2
= 0 ;
30199 PyObject
* obj3
= 0 ;
30200 PyObject
* obj4
= 0 ;
30201 char * kwnames
[] = {
30202 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
30205 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawSplitterBorder",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30206 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30207 if (!SWIG_IsOK(res1
)) {
30208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30210 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30211 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30212 if (!SWIG_IsOK(res2
)) {
30213 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "2"" of type '" "wxWindow *""'");
30215 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30216 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30217 if (!SWIG_IsOK(res3
)) {
30218 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
30221 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
30223 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30226 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
30229 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30230 if (!SWIG_IsOK(ecode5
)) {
30231 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "5"" of type '" "int""'");
30233 arg5
= static_cast< int >(val5
);
30236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30237 (arg1
)->DrawSplitterBorder(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
30238 wxPyEndAllowThreads(__tstate
);
30239 if (PyErr_Occurred()) SWIG_fail
;
30241 resultobj
= SWIG_Py_Void();
30248 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterSash(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30249 PyObject
*resultobj
= 0;
30250 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30251 wxWindow
*arg2
= (wxWindow
*) 0 ;
30255 wxOrientation arg6
;
30256 int arg7
= (int) 0 ;
30270 PyObject
* obj0
= 0 ;
30271 PyObject
* obj1
= 0 ;
30272 PyObject
* obj2
= 0 ;
30273 PyObject
* obj3
= 0 ;
30274 PyObject
* obj4
= 0 ;
30275 PyObject
* obj5
= 0 ;
30276 PyObject
* obj6
= 0 ;
30277 char * kwnames
[] = {
30278 (char *) "self",(char *) "win",(char *) "dc",(char *) "size",(char *) "position",(char *) "orient",(char *) "flags", NULL
30281 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:RendererNative_DrawSplitterSash",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30282 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30283 if (!SWIG_IsOK(res1
)) {
30284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30286 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30287 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30288 if (!SWIG_IsOK(res2
)) {
30289 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "2"" of type '" "wxWindow *""'");
30291 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30292 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30293 if (!SWIG_IsOK(res3
)) {
30294 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
30297 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
30299 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30302 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
30304 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30305 if (!SWIG_IsOK(ecode5
)) {
30306 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "5"" of type '" "int""'");
30308 arg5
= static_cast< int >(val5
);
30309 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
30310 if (!SWIG_IsOK(ecode6
)) {
30311 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "6"" of type '" "wxOrientation""'");
30313 arg6
= static_cast< wxOrientation
>(val6
);
30315 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
30316 if (!SWIG_IsOK(ecode7
)) {
30317 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "7"" of type '" "int""'");
30319 arg7
= static_cast< int >(val7
);
30322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30323 (arg1
)->DrawSplitterSash(arg2
,*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
);
30324 wxPyEndAllowThreads(__tstate
);
30325 if (PyErr_Occurred()) SWIG_fail
;
30327 resultobj
= SWIG_Py_Void();
30334 SWIGINTERN PyObject
*_wrap_RendererNative_DrawComboBoxDropButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30335 PyObject
*resultobj
= 0;
30336 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30337 wxWindow
*arg2
= (wxWindow
*) 0 ;
30340 int arg5
= (int) 0 ;
30350 PyObject
* obj0
= 0 ;
30351 PyObject
* obj1
= 0 ;
30352 PyObject
* obj2
= 0 ;
30353 PyObject
* obj3
= 0 ;
30354 PyObject
* obj4
= 0 ;
30355 char * kwnames
[] = {
30356 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
30359 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawComboBoxDropButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30360 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30361 if (!SWIG_IsOK(res1
)) {
30362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30364 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30365 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30366 if (!SWIG_IsOK(res2
)) {
30367 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "2"" of type '" "wxWindow *""'");
30369 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30370 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30371 if (!SWIG_IsOK(res3
)) {
30372 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
30375 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
30377 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30380 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
30383 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30384 if (!SWIG_IsOK(ecode5
)) {
30385 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "5"" of type '" "int""'");
30387 arg5
= static_cast< int >(val5
);
30390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30391 (arg1
)->DrawComboBoxDropButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
30392 wxPyEndAllowThreads(__tstate
);
30393 if (PyErr_Occurred()) SWIG_fail
;
30395 resultobj
= SWIG_Py_Void();
30402 SWIGINTERN PyObject
*_wrap_RendererNative_DrawDropArrow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30403 PyObject
*resultobj
= 0;
30404 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30405 wxWindow
*arg2
= (wxWindow
*) 0 ;
30408 int arg5
= (int) 0 ;
30418 PyObject
* obj0
= 0 ;
30419 PyObject
* obj1
= 0 ;
30420 PyObject
* obj2
= 0 ;
30421 PyObject
* obj3
= 0 ;
30422 PyObject
* obj4
= 0 ;
30423 char * kwnames
[] = {
30424 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
30427 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawDropArrow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30428 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30429 if (!SWIG_IsOK(res1
)) {
30430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30432 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30433 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30434 if (!SWIG_IsOK(res2
)) {
30435 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "2"" of type '" "wxWindow *""'");
30437 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30438 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30439 if (!SWIG_IsOK(res3
)) {
30440 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
30443 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
30445 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30448 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
30451 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30452 if (!SWIG_IsOK(ecode5
)) {
30453 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "5"" of type '" "int""'");
30455 arg5
= static_cast< int >(val5
);
30458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30459 (arg1
)->DrawDropArrow(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
30460 wxPyEndAllowThreads(__tstate
);
30461 if (PyErr_Occurred()) SWIG_fail
;
30463 resultobj
= SWIG_Py_Void();
30470 SWIGINTERN PyObject
*_wrap_RendererNative_DrawCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30471 PyObject
*resultobj
= 0;
30472 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30473 wxWindow
*arg2
= (wxWindow
*) 0 ;
30476 int arg5
= (int) 0 ;
30486 PyObject
* obj0
= 0 ;
30487 PyObject
* obj1
= 0 ;
30488 PyObject
* obj2
= 0 ;
30489 PyObject
* obj3
= 0 ;
30490 PyObject
* obj4
= 0 ;
30491 char * kwnames
[] = {
30492 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
30495 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawCheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30496 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30497 if (!SWIG_IsOK(res1
)) {
30498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30500 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30501 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30502 if (!SWIG_IsOK(res2
)) {
30503 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "2"" of type '" "wxWindow *""'");
30505 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30506 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30507 if (!SWIG_IsOK(res3
)) {
30508 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
30511 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
30513 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30516 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
30519 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30520 if (!SWIG_IsOK(ecode5
)) {
30521 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "5"" of type '" "int""'");
30523 arg5
= static_cast< int >(val5
);
30526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30527 (arg1
)->DrawCheckBox(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
30528 wxPyEndAllowThreads(__tstate
);
30529 if (PyErr_Occurred()) SWIG_fail
;
30531 resultobj
= SWIG_Py_Void();
30538 SWIGINTERN PyObject
*_wrap_RendererNative_DrawPushButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30539 PyObject
*resultobj
= 0;
30540 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30541 wxWindow
*arg2
= (wxWindow
*) 0 ;
30544 int arg5
= (int) 0 ;
30554 PyObject
* obj0
= 0 ;
30555 PyObject
* obj1
= 0 ;
30556 PyObject
* obj2
= 0 ;
30557 PyObject
* obj3
= 0 ;
30558 PyObject
* obj4
= 0 ;
30559 char * kwnames
[] = {
30560 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
30563 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawPushButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30564 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30565 if (!SWIG_IsOK(res1
)) {
30566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30568 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30569 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30570 if (!SWIG_IsOK(res2
)) {
30571 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "2"" of type '" "wxWindow *""'");
30573 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30574 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30575 if (!SWIG_IsOK(res3
)) {
30576 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
30579 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
30581 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30584 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
30587 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30588 if (!SWIG_IsOK(ecode5
)) {
30589 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "5"" of type '" "int""'");
30591 arg5
= static_cast< int >(val5
);
30594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30595 (arg1
)->DrawPushButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
30596 wxPyEndAllowThreads(__tstate
);
30597 if (PyErr_Occurred()) SWIG_fail
;
30599 resultobj
= SWIG_Py_Void();
30606 SWIGINTERN PyObject
*_wrap_RendererNative_DrawItemSelectionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30607 PyObject
*resultobj
= 0;
30608 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30609 wxWindow
*arg2
= (wxWindow
*) 0 ;
30612 int arg5
= (int) 0 ;
30622 PyObject
* obj0
= 0 ;
30623 PyObject
* obj1
= 0 ;
30624 PyObject
* obj2
= 0 ;
30625 PyObject
* obj3
= 0 ;
30626 PyObject
* obj4
= 0 ;
30627 char * kwnames
[] = {
30628 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
30631 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawItemSelectionRect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30632 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30633 if (!SWIG_IsOK(res1
)) {
30634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30636 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30637 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30638 if (!SWIG_IsOK(res2
)) {
30639 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "2"" of type '" "wxWindow *""'");
30641 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30642 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30643 if (!SWIG_IsOK(res3
)) {
30644 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
30647 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
30649 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30652 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
30655 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30656 if (!SWIG_IsOK(ecode5
)) {
30657 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "5"" of type '" "int""'");
30659 arg5
= static_cast< int >(val5
);
30662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30663 (arg1
)->DrawItemSelectionRect(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
30664 wxPyEndAllowThreads(__tstate
);
30665 if (PyErr_Occurred()) SWIG_fail
;
30667 resultobj
= SWIG_Py_Void();
30674 SWIGINTERN PyObject
*_wrap_RendererNative_GetSplitterParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30675 PyObject
*resultobj
= 0;
30676 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30677 wxWindow
*arg2
= (wxWindow
*) 0 ;
30678 SwigValueWrapper
<wxSplitterRenderParams
> result
;
30683 PyObject
* obj0
= 0 ;
30684 PyObject
* obj1
= 0 ;
30685 char * kwnames
[] = {
30686 (char *) "self",(char *) "win", NULL
30689 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetSplitterParams",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30690 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30691 if (!SWIG_IsOK(res1
)) {
30692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30694 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30695 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30696 if (!SWIG_IsOK(res2
)) {
30697 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "2"" of type '" "wxWindow const *""'");
30699 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30702 result
= (arg1
)->GetSplitterParams((wxWindow
const *)arg2
);
30703 wxPyEndAllowThreads(__tstate
);
30704 if (PyErr_Occurred()) SWIG_fail
;
30706 resultobj
= SWIG_NewPointerObj((new wxSplitterRenderParams(static_cast< const wxSplitterRenderParams
& >(result
))), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_OWN
| 0 );
30713 SWIGINTERN PyObject
*_wrap_RendererNative_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30714 PyObject
*resultobj
= 0;
30715 wxRendererNative
*result
= 0 ;
30717 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_Get",0,0,0)) SWIG_fail
;
30719 if (!wxPyCheckForApp()) SWIG_fail
;
30720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30722 wxRendererNative
&_result_ref
= wxRendererNative::Get();
30723 result
= (wxRendererNative
*) &_result_ref
;
30725 wxPyEndAllowThreads(__tstate
);
30726 if (PyErr_Occurred()) SWIG_fail
;
30728 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30735 SWIGINTERN PyObject
*_wrap_RendererNative_GetGeneric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30736 PyObject
*resultobj
= 0;
30737 wxRendererNative
*result
= 0 ;
30739 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetGeneric",0,0,0)) SWIG_fail
;
30741 if (!wxPyCheckForApp()) SWIG_fail
;
30742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30744 wxRendererNative
&_result_ref
= wxRendererNative::GetGeneric();
30745 result
= (wxRendererNative
*) &_result_ref
;
30747 wxPyEndAllowThreads(__tstate
);
30748 if (PyErr_Occurred()) SWIG_fail
;
30750 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30757 SWIGINTERN PyObject
*_wrap_RendererNative_GetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30758 PyObject
*resultobj
= 0;
30759 wxRendererNative
*result
= 0 ;
30761 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetDefault",0,0,0)) SWIG_fail
;
30763 if (!wxPyCheckForApp()) SWIG_fail
;
30764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30766 wxRendererNative
&_result_ref
= wxRendererNative::GetDefault();
30767 result
= (wxRendererNative
*) &_result_ref
;
30769 wxPyEndAllowThreads(__tstate
);
30770 if (PyErr_Occurred()) SWIG_fail
;
30772 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30779 SWIGINTERN PyObject
*_wrap_RendererNative_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30780 PyObject
*resultobj
= 0;
30781 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30782 wxRendererNative
*result
= 0 ;
30785 PyObject
* obj0
= 0 ;
30786 char * kwnames
[] = {
30787 (char *) "renderer", NULL
30790 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererNative_Set",kwnames
,&obj0
)) SWIG_fail
;
30791 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30792 if (!SWIG_IsOK(res1
)) {
30793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_Set" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30795 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30797 if (!wxPyCheckForApp()) SWIG_fail
;
30798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30799 result
= (wxRendererNative
*)wxRendererNative::Set(arg1
);
30800 wxPyEndAllowThreads(__tstate
);
30801 if (PyErr_Occurred()) SWIG_fail
;
30803 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30810 SWIGINTERN PyObject
*_wrap_RendererNative_GetVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30811 PyObject
*resultobj
= 0;
30812 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30813 SwigValueWrapper
<wxRendererVersion
> result
;
30816 PyObject
*swig_obj
[1] ;
30818 if (!args
) SWIG_fail
;
30819 swig_obj
[0] = args
;
30820 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30821 if (!SWIG_IsOK(res1
)) {
30822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetVersion" "', expected argument " "1"" of type '" "wxRendererNative const *""'");
30824 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30827 result
= ((wxRendererNative
const *)arg1
)->GetVersion();
30828 wxPyEndAllowThreads(__tstate
);
30829 if (PyErr_Occurred()) SWIG_fail
;
30831 resultobj
= SWIG_NewPointerObj((new wxRendererVersion(static_cast< const wxRendererVersion
& >(result
))), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_OWN
| 0 );
30838 SWIGINTERN PyObject
*RendererNative_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30840 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30841 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererNative
, SWIG_NewClientData(obj
));
30842 return SWIG_Py_Void();
30845 SWIGINTERN PyObject
*_wrap_new_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30846 PyObject
*resultobj
= 0;
30847 wxPseudoDC
*result
= 0 ;
30849 if (!SWIG_Python_UnpackTuple(args
,"new_PseudoDC",0,0,0)) SWIG_fail
;
30851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30852 result
= (wxPseudoDC
*)new wxPseudoDC();
30853 wxPyEndAllowThreads(__tstate
);
30854 if (PyErr_Occurred()) SWIG_fail
;
30856 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_NEW
| 0 );
30863 SWIGINTERN PyObject
*_wrap_PseudoDC_BeginDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30864 PyObject
*resultobj
= 0;
30865 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30868 PyObject
*swig_obj
[1] ;
30870 if (!args
) SWIG_fail
;
30871 swig_obj
[0] = args
;
30872 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30873 if (!SWIG_IsOK(res1
)) {
30874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_BeginDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30876 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30879 (arg1
)->BeginDrawing();
30880 wxPyEndAllowThreads(__tstate
);
30881 if (PyErr_Occurred()) SWIG_fail
;
30883 resultobj
= SWIG_Py_Void();
30890 SWIGINTERN PyObject
*_wrap_PseudoDC_EndDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30891 PyObject
*resultobj
= 0;
30892 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30895 PyObject
*swig_obj
[1] ;
30897 if (!args
) SWIG_fail
;
30898 swig_obj
[0] = args
;
30899 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30900 if (!SWIG_IsOK(res1
)) {
30901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_EndDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30903 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30906 (arg1
)->EndDrawing();
30907 wxPyEndAllowThreads(__tstate
);
30908 if (PyErr_Occurred()) SWIG_fail
;
30910 resultobj
= SWIG_Py_Void();
30917 SWIGINTERN PyObject
*_wrap_delete_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30918 PyObject
*resultobj
= 0;
30919 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30922 PyObject
*swig_obj
[1] ;
30924 if (!args
) SWIG_fail
;
30925 swig_obj
[0] = args
;
30926 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_DISOWN
| 0 );
30927 if (!SWIG_IsOK(res1
)) {
30928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PseudoDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30930 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30935 wxPyEndAllowThreads(__tstate
);
30936 if (PyErr_Occurred()) SWIG_fail
;
30938 resultobj
= SWIG_Py_Void();
30945 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30946 PyObject
*resultobj
= 0;
30947 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30950 PyObject
*swig_obj
[1] ;
30952 if (!args
) SWIG_fail
;
30953 swig_obj
[0] = args
;
30954 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30955 if (!SWIG_IsOK(res1
)) {
30956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveAll" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30958 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30961 (arg1
)->RemoveAll();
30962 wxPyEndAllowThreads(__tstate
);
30963 if (PyErr_Occurred()) SWIG_fail
;
30965 resultobj
= SWIG_Py_Void();
30972 SWIGINTERN PyObject
*_wrap_PseudoDC_GetLen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30973 PyObject
*resultobj
= 0;
30974 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30978 PyObject
*swig_obj
[1] ;
30980 if (!args
) SWIG_fail
;
30981 swig_obj
[0] = args
;
30982 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30983 if (!SWIG_IsOK(res1
)) {
30984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetLen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30986 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30989 result
= (int)(arg1
)->GetLen();
30990 wxPyEndAllowThreads(__tstate
);
30991 if (PyErr_Occurred()) SWIG_fail
;
30993 resultobj
= SWIG_From_int(static_cast< int >(result
));
31000 SWIGINTERN PyObject
*_wrap_PseudoDC_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31001 PyObject
*resultobj
= 0;
31002 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31008 PyObject
* obj0
= 0 ;
31009 PyObject
* obj1
= 0 ;
31010 char * kwnames
[] = {
31011 (char *) "self",(char *) "id", NULL
31014 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31015 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31016 if (!SWIG_IsOK(res1
)) {
31017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31019 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31020 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31021 if (!SWIG_IsOK(ecode2
)) {
31022 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetId" "', expected argument " "2"" of type '" "int""'");
31024 arg2
= static_cast< int >(val2
);
31026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31027 (arg1
)->SetId(arg2
);
31028 wxPyEndAllowThreads(__tstate
);
31029 if (PyErr_Occurred()) SWIG_fail
;
31031 resultobj
= SWIG_Py_Void();
31038 SWIGINTERN PyObject
*_wrap_PseudoDC_ClearId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31039 PyObject
*resultobj
= 0;
31040 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31046 PyObject
* obj0
= 0 ;
31047 PyObject
* obj1
= 0 ;
31048 char * kwnames
[] = {
31049 (char *) "self",(char *) "id", NULL
31052 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_ClearId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31053 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31054 if (!SWIG_IsOK(res1
)) {
31055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_ClearId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31057 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31058 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31059 if (!SWIG_IsOK(ecode2
)) {
31060 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_ClearId" "', expected argument " "2"" of type '" "int""'");
31062 arg2
= static_cast< int >(val2
);
31064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31065 (arg1
)->ClearId(arg2
);
31066 wxPyEndAllowThreads(__tstate
);
31067 if (PyErr_Occurred()) SWIG_fail
;
31069 resultobj
= SWIG_Py_Void();
31076 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31077 PyObject
*resultobj
= 0;
31078 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31084 PyObject
* obj0
= 0 ;
31085 PyObject
* obj1
= 0 ;
31086 char * kwnames
[] = {
31087 (char *) "self",(char *) "id", NULL
31090 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_RemoveId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31091 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31092 if (!SWIG_IsOK(res1
)) {
31093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31095 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31096 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31097 if (!SWIG_IsOK(ecode2
)) {
31098 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_RemoveId" "', expected argument " "2"" of type '" "int""'");
31100 arg2
= static_cast< int >(val2
);
31102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31103 (arg1
)->RemoveId(arg2
);
31104 wxPyEndAllowThreads(__tstate
);
31105 if (PyErr_Occurred()) SWIG_fail
;
31107 resultobj
= SWIG_Py_Void();
31114 SWIGINTERN PyObject
*_wrap_PseudoDC_TranslateId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31115 PyObject
*resultobj
= 0;
31116 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31128 PyObject
* obj0
= 0 ;
31129 PyObject
* obj1
= 0 ;
31130 PyObject
* obj2
= 0 ;
31131 PyObject
* obj3
= 0 ;
31132 char * kwnames
[] = {
31133 (char *) "self",(char *) "id",(char *) "dx",(char *) "dy", NULL
31136 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_TranslateId",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31137 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31138 if (!SWIG_IsOK(res1
)) {
31139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_TranslateId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31141 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31142 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31143 if (!SWIG_IsOK(ecode2
)) {
31144 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_TranslateId" "', expected argument " "2"" of type '" "int""'");
31146 arg2
= static_cast< int >(val2
);
31147 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31148 if (!SWIG_IsOK(ecode3
)) {
31149 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_TranslateId" "', expected argument " "3"" of type '" "int""'");
31151 arg3
= static_cast< int >(val3
);
31152 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31153 if (!SWIG_IsOK(ecode4
)) {
31154 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_TranslateId" "', expected argument " "4"" of type '" "int""'");
31156 arg4
= static_cast< int >(val4
);
31158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31159 (arg1
)->TranslateId(arg2
,arg3
,arg4
);
31160 wxPyEndAllowThreads(__tstate
);
31161 if (PyErr_Occurred()) SWIG_fail
;
31163 resultobj
= SWIG_Py_Void();
31170 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdGreyedOut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31171 PyObject
*resultobj
= 0;
31172 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31174 bool arg3
= (bool) true ;
31181 PyObject
* obj0
= 0 ;
31182 PyObject
* obj1
= 0 ;
31183 PyObject
* obj2
= 0 ;
31184 char * kwnames
[] = {
31185 (char *) "self",(char *) "id",(char *) "greyout", NULL
31188 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PseudoDC_SetIdGreyedOut",kwnames
,&obj0
,&obj1
,&obj2
)) 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_SetIdGreyedOut" "', 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_SetIdGreyedOut" "', expected argument " "2"" of type '" "int""'");
31198 arg2
= static_cast< int >(val2
);
31200 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
31201 if (!SWIG_IsOK(ecode3
)) {
31202 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "3"" of type '" "bool""'");
31204 arg3
= static_cast< bool >(val3
);
31207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31208 (arg1
)->SetIdGreyedOut(arg2
,arg3
);
31209 wxPyEndAllowThreads(__tstate
);
31210 if (PyErr_Occurred()) SWIG_fail
;
31212 resultobj
= SWIG_Py_Void();
31219 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdGreyedOut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31220 PyObject
*resultobj
= 0;
31221 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31228 PyObject
* obj0
= 0 ;
31229 PyObject
* obj1
= 0 ;
31230 char * kwnames
[] = {
31231 (char *) "self",(char *) "id", NULL
31234 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdGreyedOut",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31235 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31236 if (!SWIG_IsOK(res1
)) {
31237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdGreyedOut" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31239 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31240 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31241 if (!SWIG_IsOK(ecode2
)) {
31242 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdGreyedOut" "', expected argument " "2"" of type '" "int""'");
31244 arg2
= static_cast< int >(val2
);
31246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31247 result
= (bool)(arg1
)->GetIdGreyedOut(arg2
);
31248 wxPyEndAllowThreads(__tstate
);
31249 if (PyErr_Occurred()) SWIG_fail
;
31252 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31260 SWIGINTERN PyObject
*_wrap_PseudoDC_FindObjects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31261 PyObject
*resultobj
= 0;
31262 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31265 int arg4
= (int) 1 ;
31266 wxColor
const &arg5_defvalue
= *wxWHITE
;
31267 wxColor
*arg5
= (wxColor
*) &arg5_defvalue
;
31268 PyObject
*result
= 0 ;
31279 PyObject
* obj0
= 0 ;
31280 PyObject
* obj1
= 0 ;
31281 PyObject
* obj2
= 0 ;
31282 PyObject
* obj3
= 0 ;
31283 PyObject
* obj4
= 0 ;
31284 char * kwnames
[] = {
31285 (char *) "self",(char *) "x",(char *) "y",(char *) "radius",(char *) "bg", NULL
31288 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_FindObjects",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31289 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31290 if (!SWIG_IsOK(res1
)) {
31291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FindObjects" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31293 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31294 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31295 if (!SWIG_IsOK(ecode2
)) {
31296 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FindObjects" "', expected argument " "2"" of type '" "int""'");
31298 arg2
= static_cast< int >(val2
);
31299 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31300 if (!SWIG_IsOK(ecode3
)) {
31301 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjects" "', expected argument " "3"" of type '" "int""'");
31303 arg3
= static_cast< int >(val3
);
31305 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31306 if (!SWIG_IsOK(ecode4
)) {
31307 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FindObjects" "', expected argument " "4"" of type '" "int""'");
31309 arg4
= static_cast< int >(val4
);
31312 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxColor
, 0 | 0);
31313 if (!SWIG_IsOK(res5
)) {
31314 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "PseudoDC_FindObjects" "', expected argument " "5"" of type '" "wxColor const &""'");
31317 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_FindObjects" "', expected argument " "5"" of type '" "wxColor const &""'");
31319 arg5
= reinterpret_cast< wxColor
* >(argp5
);
31322 result
= (PyObject
*)(arg1
)->FindObjects(arg2
,arg3
,arg4
,(wxColor
const &)*arg5
);
31323 if (PyErr_Occurred()) SWIG_fail
;
31325 resultobj
= result
;
31332 SWIGINTERN PyObject
*_wrap_PseudoDC_FindObjectsByBBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31333 PyObject
*resultobj
= 0;
31334 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31337 PyObject
*result
= 0 ;
31344 PyObject
* obj0
= 0 ;
31345 PyObject
* obj1
= 0 ;
31346 PyObject
* obj2
= 0 ;
31347 char * kwnames
[] = {
31348 (char *) "self",(char *) "x",(char *) "y", NULL
31351 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_FindObjectsByBBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31352 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31353 if (!SWIG_IsOK(res1
)) {
31354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31356 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31357 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31358 if (!SWIG_IsOK(ecode2
)) {
31359 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "2"" of type '" "int""'");
31361 arg2
= static_cast< int >(val2
);
31362 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31363 if (!SWIG_IsOK(ecode3
)) {
31364 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "3"" of type '" "int""'");
31366 arg3
= static_cast< int >(val3
);
31368 result
= (PyObject
*)(arg1
)->FindObjectsByBBox(arg2
,arg3
);
31369 if (PyErr_Occurred()) SWIG_fail
;
31371 resultobj
= result
;
31378 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIdToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31379 PyObject
*resultobj
= 0;
31380 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31382 wxDC
*arg3
= (wxDC
*) 0 ;
31389 PyObject
* obj0
= 0 ;
31390 PyObject
* obj1
= 0 ;
31391 PyObject
* obj2
= 0 ;
31392 char * kwnames
[] = {
31393 (char *) "self",(char *) "id",(char *) "dc", NULL
31396 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIdToDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31397 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31398 if (!SWIG_IsOK(res1
)) {
31399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31401 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31402 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31403 if (!SWIG_IsOK(ecode2
)) {
31404 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "2"" of type '" "int""'");
31406 arg2
= static_cast< int >(val2
);
31407 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxDC
, 0 | 0 );
31408 if (!SWIG_IsOK(res3
)) {
31409 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "3"" of type '" "wxDC *""'");
31411 arg3
= reinterpret_cast< wxDC
* >(argp3
);
31413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31414 (arg1
)->DrawIdToDC(arg2
,arg3
);
31415 wxPyEndAllowThreads(__tstate
);
31416 if (PyErr_Occurred()) SWIG_fail
;
31418 resultobj
= SWIG_Py_Void();
31425 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31426 PyObject
*resultobj
= 0;
31427 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31435 PyObject
* obj0
= 0 ;
31436 PyObject
* obj1
= 0 ;
31437 PyObject
* obj2
= 0 ;
31438 char * kwnames
[] = {
31439 (char *) "self",(char *) "id",(char *) "rect", NULL
31442 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_SetIdBounds",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31443 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31444 if (!SWIG_IsOK(res1
)) {
31445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31447 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31448 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31449 if (!SWIG_IsOK(ecode2
)) {
31450 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "2"" of type '" "int""'");
31452 arg2
= static_cast< int >(val2
);
31455 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
31458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31459 (arg1
)->SetIdBounds(arg2
,*arg3
);
31460 wxPyEndAllowThreads(__tstate
);
31461 if (PyErr_Occurred()) SWIG_fail
;
31463 resultobj
= SWIG_Py_Void();
31470 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31471 PyObject
*resultobj
= 0;
31472 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31479 PyObject
* obj0
= 0 ;
31480 PyObject
* obj1
= 0 ;
31481 char * kwnames
[] = {
31482 (char *) "self",(char *) "id", NULL
31485 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdBounds",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31486 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31487 if (!SWIG_IsOK(res1
)) {
31488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31490 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31491 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31492 if (!SWIG_IsOK(ecode2
)) {
31493 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "2"" of type '" "int""'");
31495 arg2
= static_cast< int >(val2
);
31497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31498 result
= wxPseudoDC_GetIdBounds(arg1
,arg2
);
31499 wxPyEndAllowThreads(__tstate
);
31500 if (PyErr_Occurred()) SWIG_fail
;
31502 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
31509 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClipped(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31510 PyObject
*resultobj
= 0;
31511 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31512 wxDC
*arg2
= (wxDC
*) 0 ;
31519 PyObject
* obj0
= 0 ;
31520 PyObject
* obj1
= 0 ;
31521 PyObject
* obj2
= 0 ;
31522 char * kwnames
[] = {
31523 (char *) "self",(char *) "dc",(char *) "rect", NULL
31526 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClipped",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31527 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31528 if (!SWIG_IsOK(res1
)) {
31529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31531 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31532 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
31533 if (!SWIG_IsOK(res2
)) {
31534 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "2"" of type '" "wxDC *""'");
31536 arg2
= reinterpret_cast< wxDC
* >(argp2
);
31539 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
31542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31543 (arg1
)->DrawToDCClipped(arg2
,(wxRect
const &)*arg3
);
31544 wxPyEndAllowThreads(__tstate
);
31545 if (PyErr_Occurred()) SWIG_fail
;
31547 resultobj
= SWIG_Py_Void();
31554 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClippedRgn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31555 PyObject
*resultobj
= 0;
31556 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31557 wxDC
*arg2
= (wxDC
*) 0 ;
31558 wxRegion
*arg3
= 0 ;
31565 PyObject
* obj0
= 0 ;
31566 PyObject
* obj1
= 0 ;
31567 PyObject
* obj2
= 0 ;
31568 char * kwnames
[] = {
31569 (char *) "self",(char *) "dc",(char *) "region", NULL
31572 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClippedRgn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31573 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31574 if (!SWIG_IsOK(res1
)) {
31575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31577 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31578 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
31579 if (!SWIG_IsOK(res2
)) {
31580 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "2"" of type '" "wxDC *""'");
31582 arg2
= reinterpret_cast< wxDC
* >(argp2
);
31583 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxRegion
, 0 | 0);
31584 if (!SWIG_IsOK(res3
)) {
31585 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
31588 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
31590 arg3
= reinterpret_cast< wxRegion
* >(argp3
);
31592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31593 (arg1
)->DrawToDCClippedRgn(arg2
,(wxRegion
const &)*arg3
);
31594 wxPyEndAllowThreads(__tstate
);
31595 if (PyErr_Occurred()) SWIG_fail
;
31597 resultobj
= SWIG_Py_Void();
31604 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31605 PyObject
*resultobj
= 0;
31606 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31607 wxDC
*arg2
= (wxDC
*) 0 ;
31612 PyObject
* obj0
= 0 ;
31613 PyObject
* obj1
= 0 ;
31614 char * kwnames
[] = {
31615 (char *) "self",(char *) "dc", NULL
31618 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawToDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31619 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31620 if (!SWIG_IsOK(res1
)) {
31621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31623 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31624 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
31625 if (!SWIG_IsOK(res2
)) {
31626 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "2"" of type '" "wxDC *""'");
31628 arg2
= reinterpret_cast< wxDC
* >(argp2
);
31630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31631 (arg1
)->DrawToDC(arg2
);
31632 wxPyEndAllowThreads(__tstate
);
31633 if (PyErr_Occurred()) SWIG_fail
;
31635 resultobj
= SWIG_Py_Void();
31642 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31643 PyObject
*resultobj
= 0;
31644 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31647 wxColour
*arg4
= 0 ;
31648 int arg5
= (int) wxFLOOD_SURFACE
;
31658 PyObject
* obj0
= 0 ;
31659 PyObject
* obj1
= 0 ;
31660 PyObject
* obj2
= 0 ;
31661 PyObject
* obj3
= 0 ;
31662 PyObject
* obj4
= 0 ;
31663 char * kwnames
[] = {
31664 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
31667 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31668 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31669 if (!SWIG_IsOK(res1
)) {
31670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFill" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31672 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31673 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31674 if (!SWIG_IsOK(ecode2
)) {
31675 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FloodFill" "', expected argument " "2"" of type '" "int""'");
31677 arg2
= static_cast< int >(val2
);
31678 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31679 if (!SWIG_IsOK(ecode3
)) {
31680 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FloodFill" "', expected argument " "3"" of type '" "int""'");
31682 arg3
= static_cast< int >(val3
);
31685 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
31688 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31689 if (!SWIG_IsOK(ecode5
)) {
31690 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_FloodFill" "', expected argument " "5"" of type '" "int""'");
31692 arg5
= static_cast< int >(val5
);
31695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31696 (arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
31697 wxPyEndAllowThreads(__tstate
);
31698 if (PyErr_Occurred()) SWIG_fail
;
31700 resultobj
= SWIG_Py_Void();
31707 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31708 PyObject
*resultobj
= 0;
31709 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31710 wxPoint
*arg2
= 0 ;
31711 wxColour
*arg3
= 0 ;
31712 int arg4
= (int) wxFLOOD_SURFACE
;
31719 PyObject
* obj0
= 0 ;
31720 PyObject
* obj1
= 0 ;
31721 PyObject
* obj2
= 0 ;
31722 PyObject
* obj3
= 0 ;
31723 char * kwnames
[] = {
31724 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
31727 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31728 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31729 if (!SWIG_IsOK(res1
)) {
31730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31732 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31735 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31739 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31742 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31743 if (!SWIG_IsOK(ecode4
)) {
31744 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
31746 arg4
= static_cast< int >(val4
);
31749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31750 (arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
31751 wxPyEndAllowThreads(__tstate
);
31752 if (PyErr_Occurred()) SWIG_fail
;
31754 resultobj
= SWIG_Py_Void();
31761 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31762 PyObject
*resultobj
= 0;
31763 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31778 PyObject
* obj0
= 0 ;
31779 PyObject
* obj1
= 0 ;
31780 PyObject
* obj2
= 0 ;
31781 PyObject
* obj3
= 0 ;
31782 PyObject
* obj4
= 0 ;
31783 char * kwnames
[] = {
31784 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
31787 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) 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_DrawLine" "', 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_DrawLine" "', 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_DrawLine" "', expected argument " "3"" of type '" "int""'");
31802 arg3
= static_cast< int >(val3
);
31803 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31804 if (!SWIG_IsOK(ecode4
)) {
31805 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLine" "', expected argument " "4"" of type '" "int""'");
31807 arg4
= static_cast< int >(val4
);
31808 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31809 if (!SWIG_IsOK(ecode5
)) {
31810 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLine" "', expected argument " "5"" of type '" "int""'");
31812 arg5
= static_cast< int >(val5
);
31814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31815 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
31816 wxPyEndAllowThreads(__tstate
);
31817 if (PyErr_Occurred()) SWIG_fail
;
31819 resultobj
= SWIG_Py_Void();
31826 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31827 PyObject
*resultobj
= 0;
31828 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31829 wxPoint
*arg2
= 0 ;
31830 wxPoint
*arg3
= 0 ;
31835 PyObject
* obj0
= 0 ;
31836 PyObject
* obj1
= 0 ;
31837 PyObject
* obj2
= 0 ;
31838 char * kwnames
[] = {
31839 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
31842 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31843 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31844 if (!SWIG_IsOK(res1
)) {
31845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLinePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31847 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31850 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31854 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31858 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
31859 wxPyEndAllowThreads(__tstate
);
31860 if (PyErr_Occurred()) SWIG_fail
;
31862 resultobj
= SWIG_Py_Void();
31869 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31870 PyObject
*resultobj
= 0;
31871 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31880 PyObject
* obj0
= 0 ;
31881 PyObject
* obj1
= 0 ;
31882 PyObject
* obj2
= 0 ;
31883 char * kwnames
[] = {
31884 (char *) "self",(char *) "x",(char *) "y", NULL
31887 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31888 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31889 if (!SWIG_IsOK(res1
)) {
31890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHair" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31892 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31893 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31894 if (!SWIG_IsOK(ecode2
)) {
31895 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_CrossHair" "', expected argument " "2"" of type '" "int""'");
31897 arg2
= static_cast< int >(val2
);
31898 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31899 if (!SWIG_IsOK(ecode3
)) {
31900 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_CrossHair" "', expected argument " "3"" of type '" "int""'");
31902 arg3
= static_cast< int >(val3
);
31904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31905 (arg1
)->CrossHair(arg2
,arg3
);
31906 wxPyEndAllowThreads(__tstate
);
31907 if (PyErr_Occurred()) SWIG_fail
;
31909 resultobj
= SWIG_Py_Void();
31916 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31917 PyObject
*resultobj
= 0;
31918 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31919 wxPoint
*arg2
= 0 ;
31923 PyObject
* obj0
= 0 ;
31924 PyObject
* obj1
= 0 ;
31925 char * kwnames
[] = {
31926 (char *) "self",(char *) "pt", NULL
31929 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31930 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31931 if (!SWIG_IsOK(res1
)) {
31932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHairPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31934 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31937 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31941 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
31942 wxPyEndAllowThreads(__tstate
);
31943 if (PyErr_Occurred()) SWIG_fail
;
31945 resultobj
= SWIG_Py_Void();
31952 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31953 PyObject
*resultobj
= 0;
31954 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31975 PyObject
* obj0
= 0 ;
31976 PyObject
* obj1
= 0 ;
31977 PyObject
* obj2
= 0 ;
31978 PyObject
* obj3
= 0 ;
31979 PyObject
* obj4
= 0 ;
31980 PyObject
* obj5
= 0 ;
31981 PyObject
* obj6
= 0 ;
31982 char * kwnames
[] = {
31983 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
31986 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31987 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31988 if (!SWIG_IsOK(res1
)) {
31989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31991 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31992 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31993 if (!SWIG_IsOK(ecode2
)) {
31994 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawArc" "', expected argument " "2"" of type '" "int""'");
31996 arg2
= static_cast< int >(val2
);
31997 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31998 if (!SWIG_IsOK(ecode3
)) {
31999 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawArc" "', expected argument " "3"" of type '" "int""'");
32001 arg3
= static_cast< int >(val3
);
32002 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32003 if (!SWIG_IsOK(ecode4
)) {
32004 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawArc" "', expected argument " "4"" of type '" "int""'");
32006 arg4
= static_cast< int >(val4
);
32007 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32008 if (!SWIG_IsOK(ecode5
)) {
32009 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawArc" "', expected argument " "5"" of type '" "int""'");
32011 arg5
= static_cast< int >(val5
);
32012 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
32013 if (!SWIG_IsOK(ecode6
)) {
32014 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawArc" "', expected argument " "6"" of type '" "int""'");
32016 arg6
= static_cast< int >(val6
);
32017 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
32018 if (!SWIG_IsOK(ecode7
)) {
32019 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawArc" "', expected argument " "7"" of type '" "int""'");
32021 arg7
= static_cast< int >(val7
);
32023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32024 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
32025 wxPyEndAllowThreads(__tstate
);
32026 if (PyErr_Occurred()) SWIG_fail
;
32028 resultobj
= SWIG_Py_Void();
32035 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32036 PyObject
*resultobj
= 0;
32037 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32038 wxPoint
*arg2
= 0 ;
32039 wxPoint
*arg3
= 0 ;
32040 wxPoint
*arg4
= 0 ;
32046 PyObject
* obj0
= 0 ;
32047 PyObject
* obj1
= 0 ;
32048 PyObject
* obj2
= 0 ;
32049 PyObject
* obj3
= 0 ;
32050 char * kwnames
[] = {
32051 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
32054 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32055 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32056 if (!SWIG_IsOK(res1
)) {
32057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArcPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32059 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32062 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
32066 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
32070 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
32073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32074 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
32075 wxPyEndAllowThreads(__tstate
);
32076 if (PyErr_Occurred()) SWIG_fail
;
32078 resultobj
= SWIG_Py_Void();
32085 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32086 PyObject
*resultobj
= 0;
32087 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32102 PyObject
* obj0
= 0 ;
32103 PyObject
* obj1
= 0 ;
32104 PyObject
* obj2
= 0 ;
32105 PyObject
* obj3
= 0 ;
32106 PyObject
* obj4
= 0 ;
32107 char * kwnames
[] = {
32108 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
32111 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
32112 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32113 if (!SWIG_IsOK(res1
)) {
32114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32116 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32117 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32118 if (!SWIG_IsOK(ecode2
)) {
32119 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
32121 arg2
= static_cast< int >(val2
);
32122 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32123 if (!SWIG_IsOK(ecode3
)) {
32124 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
32126 arg3
= static_cast< int >(val3
);
32127 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32128 if (!SWIG_IsOK(ecode4
)) {
32129 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
32131 arg4
= static_cast< int >(val4
);
32132 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32133 if (!SWIG_IsOK(ecode5
)) {
32134 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
32136 arg5
= static_cast< int >(val5
);
32138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32139 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
32140 wxPyEndAllowThreads(__tstate
);
32141 if (PyErr_Occurred()) SWIG_fail
;
32143 resultobj
= SWIG_Py_Void();
32150 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32151 PyObject
*resultobj
= 0;
32152 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32157 PyObject
* obj0
= 0 ;
32158 PyObject
* obj1
= 0 ;
32159 char * kwnames
[] = {
32160 (char *) "self",(char *) "rect", NULL
32163 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32164 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32165 if (!SWIG_IsOK(res1
)) {
32166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32168 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32171 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
32174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32175 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
32176 wxPyEndAllowThreads(__tstate
);
32177 if (PyErr_Occurred()) SWIG_fail
;
32179 resultobj
= SWIG_Py_Void();
32186 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32187 PyObject
*resultobj
= 0;
32188 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32209 PyObject
* obj0
= 0 ;
32210 PyObject
* obj1
= 0 ;
32211 PyObject
* obj2
= 0 ;
32212 PyObject
* obj3
= 0 ;
32213 PyObject
* obj4
= 0 ;
32214 PyObject
* obj5
= 0 ;
32215 PyObject
* obj6
= 0 ;
32216 char * kwnames
[] = {
32217 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
32220 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
32221 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32222 if (!SWIG_IsOK(res1
)) {
32223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32225 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32226 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32227 if (!SWIG_IsOK(ecode2
)) {
32228 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
32230 arg2
= static_cast< int >(val2
);
32231 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32232 if (!SWIG_IsOK(ecode3
)) {
32233 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
32235 arg3
= static_cast< int >(val3
);
32236 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32237 if (!SWIG_IsOK(ecode4
)) {
32238 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
32240 arg4
= static_cast< int >(val4
);
32241 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32242 if (!SWIG_IsOK(ecode5
)) {
32243 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
32245 arg5
= static_cast< int >(val5
);
32246 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
32247 if (!SWIG_IsOK(ecode6
)) {
32248 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
32250 arg6
= static_cast< double >(val6
);
32251 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
32252 if (!SWIG_IsOK(ecode7
)) {
32253 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
32255 arg7
= static_cast< double >(val7
);
32257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32258 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
32259 wxPyEndAllowThreads(__tstate
);
32260 if (PyErr_Occurred()) SWIG_fail
;
32262 resultobj
= SWIG_Py_Void();
32269 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32270 PyObject
*resultobj
= 0;
32271 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32272 wxPoint
*arg2
= 0 ;
32284 PyObject
* obj0
= 0 ;
32285 PyObject
* obj1
= 0 ;
32286 PyObject
* obj2
= 0 ;
32287 PyObject
* obj3
= 0 ;
32288 PyObject
* obj4
= 0 ;
32289 char * kwnames
[] = {
32290 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
32293 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
32294 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32295 if (!SWIG_IsOK(res1
)) {
32296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32298 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32301 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
32305 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
32307 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
32308 if (!SWIG_IsOK(ecode4
)) {
32309 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
32311 arg4
= static_cast< double >(val4
);
32312 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
32313 if (!SWIG_IsOK(ecode5
)) {
32314 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
32316 arg5
= static_cast< double >(val5
);
32318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32319 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
32320 wxPyEndAllowThreads(__tstate
);
32321 if (PyErr_Occurred()) SWIG_fail
;
32323 resultobj
= SWIG_Py_Void();
32330 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32331 PyObject
*resultobj
= 0;
32332 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32341 PyObject
* obj0
= 0 ;
32342 PyObject
* obj1
= 0 ;
32343 PyObject
* obj2
= 0 ;
32344 char * kwnames
[] = {
32345 (char *) "self",(char *) "x",(char *) "y", NULL
32348 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32349 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32350 if (!SWIG_IsOK(res1
)) {
32351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32353 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32354 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32355 if (!SWIG_IsOK(ecode2
)) {
32356 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
32358 arg2
= static_cast< int >(val2
);
32359 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32360 if (!SWIG_IsOK(ecode3
)) {
32361 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
32363 arg3
= static_cast< int >(val3
);
32365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32366 (arg1
)->DrawPoint(arg2
,arg3
);
32367 wxPyEndAllowThreads(__tstate
);
32368 if (PyErr_Occurred()) SWIG_fail
;
32370 resultobj
= SWIG_Py_Void();
32377 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32378 PyObject
*resultobj
= 0;
32379 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32380 wxPoint
*arg2
= 0 ;
32384 PyObject
* obj0
= 0 ;
32385 PyObject
* obj1
= 0 ;
32386 char * kwnames
[] = {
32387 (char *) "self",(char *) "pt", NULL
32390 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32391 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32392 if (!SWIG_IsOK(res1
)) {
32393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPointPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32395 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32398 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
32401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32402 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
32403 wxPyEndAllowThreads(__tstate
);
32404 if (PyErr_Occurred()) SWIG_fail
;
32406 resultobj
= SWIG_Py_Void();
32413 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32414 PyObject
*resultobj
= 0;
32415 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32430 PyObject
* obj0
= 0 ;
32431 PyObject
* obj1
= 0 ;
32432 PyObject
* obj2
= 0 ;
32433 PyObject
* obj3
= 0 ;
32434 PyObject
* obj4
= 0 ;
32435 char * kwnames
[] = {
32436 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
32439 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
32440 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32441 if (!SWIG_IsOK(res1
)) {
32442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32444 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32445 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32446 if (!SWIG_IsOK(ecode2
)) {
32447 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
32449 arg2
= static_cast< int >(val2
);
32450 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32451 if (!SWIG_IsOK(ecode3
)) {
32452 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
32454 arg3
= static_cast< int >(val3
);
32455 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32456 if (!SWIG_IsOK(ecode4
)) {
32457 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
32459 arg4
= static_cast< int >(val4
);
32460 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32461 if (!SWIG_IsOK(ecode5
)) {
32462 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
32464 arg5
= static_cast< int >(val5
);
32466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32467 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
32468 wxPyEndAllowThreads(__tstate
);
32469 if (PyErr_Occurred()) SWIG_fail
;
32471 resultobj
= SWIG_Py_Void();
32478 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32479 PyObject
*resultobj
= 0;
32480 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32485 PyObject
* obj0
= 0 ;
32486 PyObject
* obj1
= 0 ;
32487 char * kwnames
[] = {
32488 (char *) "self",(char *) "rect", NULL
32491 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32492 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32493 if (!SWIG_IsOK(res1
)) {
32494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32496 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32499 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
32502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32503 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
32504 wxPyEndAllowThreads(__tstate
);
32505 if (PyErr_Occurred()) SWIG_fail
;
32507 resultobj
= SWIG_Py_Void();
32514 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32515 PyObject
*resultobj
= 0;
32516 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32517 wxPoint
*arg2
= 0 ;
32523 PyObject
* obj0
= 0 ;
32524 PyObject
* obj1
= 0 ;
32525 PyObject
* obj2
= 0 ;
32526 char * kwnames
[] = {
32527 (char *) "self",(char *) "pt",(char *) "sz", NULL
32530 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32531 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32532 if (!SWIG_IsOK(res1
)) {
32533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32535 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32538 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
32542 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
32545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32546 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
32547 wxPyEndAllowThreads(__tstate
);
32548 if (PyErr_Occurred()) SWIG_fail
;
32550 resultobj
= SWIG_Py_Void();
32557 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32558 PyObject
*resultobj
= 0;
32559 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32577 PyObject
* obj0
= 0 ;
32578 PyObject
* obj1
= 0 ;
32579 PyObject
* obj2
= 0 ;
32580 PyObject
* obj3
= 0 ;
32581 PyObject
* obj4
= 0 ;
32582 PyObject
* obj5
= 0 ;
32583 char * kwnames
[] = {
32584 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
32587 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PseudoDC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
32588 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32589 if (!SWIG_IsOK(res1
)) {
32590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32592 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32593 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32594 if (!SWIG_IsOK(ecode2
)) {
32595 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
32597 arg2
= static_cast< int >(val2
);
32598 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32599 if (!SWIG_IsOK(ecode3
)) {
32600 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
32602 arg3
= static_cast< int >(val3
);
32603 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32604 if (!SWIG_IsOK(ecode4
)) {
32605 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
32607 arg4
= static_cast< int >(val4
);
32608 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32609 if (!SWIG_IsOK(ecode5
)) {
32610 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
32612 arg5
= static_cast< int >(val5
);
32613 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
32614 if (!SWIG_IsOK(ecode6
)) {
32615 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
32617 arg6
= static_cast< double >(val6
);
32619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32620 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
32621 wxPyEndAllowThreads(__tstate
);
32622 if (PyErr_Occurred()) SWIG_fail
;
32624 resultobj
= SWIG_Py_Void();
32631 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32632 PyObject
*resultobj
= 0;
32633 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32641 PyObject
* obj0
= 0 ;
32642 PyObject
* obj1
= 0 ;
32643 PyObject
* obj2
= 0 ;
32644 char * kwnames
[] = {
32645 (char *) "self",(char *) "r",(char *) "radius", NULL
32648 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32649 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32650 if (!SWIG_IsOK(res1
)) {
32651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32653 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32656 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
32658 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
32659 if (!SWIG_IsOK(ecode3
)) {
32660 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
32662 arg3
= static_cast< double >(val3
);
32664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32665 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
32666 wxPyEndAllowThreads(__tstate
);
32667 if (PyErr_Occurred()) SWIG_fail
;
32669 resultobj
= SWIG_Py_Void();
32676 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32677 PyObject
*resultobj
= 0;
32678 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32679 wxPoint
*arg2
= 0 ;
32688 PyObject
* obj0
= 0 ;
32689 PyObject
* obj1
= 0 ;
32690 PyObject
* obj2
= 0 ;
32691 PyObject
* obj3
= 0 ;
32692 char * kwnames
[] = {
32693 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
32696 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32697 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32698 if (!SWIG_IsOK(res1
)) {
32699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32701 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32704 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
32708 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
32710 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
32711 if (!SWIG_IsOK(ecode4
)) {
32712 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
32714 arg4
= static_cast< double >(val4
);
32716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32717 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
32718 wxPyEndAllowThreads(__tstate
);
32719 if (PyErr_Occurred()) SWIG_fail
;
32721 resultobj
= SWIG_Py_Void();
32728 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32729 PyObject
*resultobj
= 0;
32730 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32742 PyObject
* obj0
= 0 ;
32743 PyObject
* obj1
= 0 ;
32744 PyObject
* obj2
= 0 ;
32745 PyObject
* obj3
= 0 ;
32746 char * kwnames
[] = {
32747 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
32750 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32751 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32752 if (!SWIG_IsOK(res1
)) {
32753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32755 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32756 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32757 if (!SWIG_IsOK(ecode2
)) {
32758 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
32760 arg2
= static_cast< int >(val2
);
32761 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32762 if (!SWIG_IsOK(ecode3
)) {
32763 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
32765 arg3
= static_cast< int >(val3
);
32766 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32767 if (!SWIG_IsOK(ecode4
)) {
32768 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
32770 arg4
= static_cast< int >(val4
);
32772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32773 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
32774 wxPyEndAllowThreads(__tstate
);
32775 if (PyErr_Occurred()) SWIG_fail
;
32777 resultobj
= SWIG_Py_Void();
32784 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32785 PyObject
*resultobj
= 0;
32786 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32787 wxPoint
*arg2
= 0 ;
32794 PyObject
* obj0
= 0 ;
32795 PyObject
* obj1
= 0 ;
32796 PyObject
* obj2
= 0 ;
32797 char * kwnames
[] = {
32798 (char *) "self",(char *) "pt",(char *) "radius", NULL
32801 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32802 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32803 if (!SWIG_IsOK(res1
)) {
32804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32806 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32809 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
32811 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32812 if (!SWIG_IsOK(ecode3
)) {
32813 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
32815 arg3
= static_cast< int >(val3
);
32817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32818 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
32819 wxPyEndAllowThreads(__tstate
);
32820 if (PyErr_Occurred()) SWIG_fail
;
32822 resultobj
= SWIG_Py_Void();
32829 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32830 PyObject
*resultobj
= 0;
32831 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32846 PyObject
* obj0
= 0 ;
32847 PyObject
* obj1
= 0 ;
32848 PyObject
* obj2
= 0 ;
32849 PyObject
* obj3
= 0 ;
32850 PyObject
* obj4
= 0 ;
32851 char * kwnames
[] = {
32852 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
32855 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
32856 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32857 if (!SWIG_IsOK(res1
)) {
32858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32860 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32861 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32862 if (!SWIG_IsOK(ecode2
)) {
32863 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
32865 arg2
= static_cast< int >(val2
);
32866 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32867 if (!SWIG_IsOK(ecode3
)) {
32868 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
32870 arg3
= static_cast< int >(val3
);
32871 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32872 if (!SWIG_IsOK(ecode4
)) {
32873 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
32875 arg4
= static_cast< int >(val4
);
32876 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32877 if (!SWIG_IsOK(ecode5
)) {
32878 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
32880 arg5
= static_cast< int >(val5
);
32882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32883 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
32884 wxPyEndAllowThreads(__tstate
);
32885 if (PyErr_Occurred()) SWIG_fail
;
32887 resultobj
= SWIG_Py_Void();
32894 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32895 PyObject
*resultobj
= 0;
32896 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32901 PyObject
* obj0
= 0 ;
32902 PyObject
* obj1
= 0 ;
32903 char * kwnames
[] = {
32904 (char *) "self",(char *) "rect", NULL
32907 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32908 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32909 if (!SWIG_IsOK(res1
)) {
32910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32912 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32915 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
32918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32919 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
32920 wxPyEndAllowThreads(__tstate
);
32921 if (PyErr_Occurred()) SWIG_fail
;
32923 resultobj
= SWIG_Py_Void();
32930 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32931 PyObject
*resultobj
= 0;
32932 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32933 wxPoint
*arg2
= 0 ;
32939 PyObject
* obj0
= 0 ;
32940 PyObject
* obj1
= 0 ;
32941 PyObject
* obj2
= 0 ;
32942 char * kwnames
[] = {
32943 (char *) "self",(char *) "pt",(char *) "sz", NULL
32946 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32947 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32948 if (!SWIG_IsOK(res1
)) {
32949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32951 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32954 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
32958 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
32961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32962 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
32963 wxPyEndAllowThreads(__tstate
);
32964 if (PyErr_Occurred()) SWIG_fail
;
32966 resultobj
= SWIG_Py_Void();
32973 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32974 PyObject
*resultobj
= 0;
32975 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32987 PyObject
* obj0
= 0 ;
32988 PyObject
* obj1
= 0 ;
32989 PyObject
* obj2
= 0 ;
32990 PyObject
* obj3
= 0 ;
32991 char * kwnames
[] = {
32992 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
32995 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32996 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32997 if (!SWIG_IsOK(res1
)) {
32998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33000 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33001 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
33002 if (!SWIG_IsOK(res2
)) {
33003 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
33006 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
33008 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
33009 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33010 if (!SWIG_IsOK(ecode3
)) {
33011 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
33013 arg3
= static_cast< int >(val3
);
33014 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33015 if (!SWIG_IsOK(ecode4
)) {
33016 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
33018 arg4
= static_cast< int >(val4
);
33020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33021 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
33022 wxPyEndAllowThreads(__tstate
);
33023 if (PyErr_Occurred()) SWIG_fail
;
33025 resultobj
= SWIG_Py_Void();
33032 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33033 PyObject
*resultobj
= 0;
33034 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33036 wxPoint
*arg3
= 0 ;
33042 PyObject
* obj0
= 0 ;
33043 PyObject
* obj1
= 0 ;
33044 PyObject
* obj2
= 0 ;
33045 char * kwnames
[] = {
33046 (char *) "self",(char *) "icon",(char *) "pt", NULL
33049 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33050 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33051 if (!SWIG_IsOK(res1
)) {
33052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33054 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33055 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
33056 if (!SWIG_IsOK(res2
)) {
33057 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
33060 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
33062 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
33065 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33069 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
33070 wxPyEndAllowThreads(__tstate
);
33071 if (PyErr_Occurred()) SWIG_fail
;
33073 resultobj
= SWIG_Py_Void();
33080 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33081 PyObject
*resultobj
= 0;
33082 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33083 wxBitmap
*arg2
= 0 ;
33086 bool arg5
= (bool) false ;
33097 PyObject
* obj0
= 0 ;
33098 PyObject
* obj1
= 0 ;
33099 PyObject
* obj2
= 0 ;
33100 PyObject
* obj3
= 0 ;
33101 PyObject
* obj4
= 0 ;
33102 char * kwnames
[] = {
33103 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
33106 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
33107 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33108 if (!SWIG_IsOK(res1
)) {
33109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33111 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33112 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
33113 if (!SWIG_IsOK(res2
)) {
33114 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
33117 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
33119 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
33120 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33121 if (!SWIG_IsOK(ecode3
)) {
33122 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
33124 arg3
= static_cast< int >(val3
);
33125 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33126 if (!SWIG_IsOK(ecode4
)) {
33127 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
33129 arg4
= static_cast< int >(val4
);
33131 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
33132 if (!SWIG_IsOK(ecode5
)) {
33133 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
33135 arg5
= static_cast< bool >(val5
);
33138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33139 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
33140 wxPyEndAllowThreads(__tstate
);
33141 if (PyErr_Occurred()) SWIG_fail
;
33143 resultobj
= SWIG_Py_Void();
33150 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33151 PyObject
*resultobj
= 0;
33152 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33153 wxBitmap
*arg2
= 0 ;
33154 wxPoint
*arg3
= 0 ;
33155 bool arg4
= (bool) false ;
33163 PyObject
* obj0
= 0 ;
33164 PyObject
* obj1
= 0 ;
33165 PyObject
* obj2
= 0 ;
33166 PyObject
* obj3
= 0 ;
33167 char * kwnames
[] = {
33168 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
33171 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33172 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33173 if (!SWIG_IsOK(res1
)) {
33174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33176 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33177 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
33178 if (!SWIG_IsOK(res2
)) {
33179 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
33182 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
33184 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
33187 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33190 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
33191 if (!SWIG_IsOK(ecode4
)) {
33192 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
33194 arg4
= static_cast< bool >(val4
);
33197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33198 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
33199 wxPyEndAllowThreads(__tstate
);
33200 if (PyErr_Occurred()) SWIG_fail
;
33202 resultobj
= SWIG_Py_Void();
33209 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33210 PyObject
*resultobj
= 0;
33211 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33212 wxString
*arg2
= 0 ;
33217 bool temp2
= false ;
33222 PyObject
* obj0
= 0 ;
33223 PyObject
* obj1
= 0 ;
33224 PyObject
* obj2
= 0 ;
33225 PyObject
* obj3
= 0 ;
33226 char * kwnames
[] = {
33227 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
33230 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33231 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33232 if (!SWIG_IsOK(res1
)) {
33233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33235 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33237 arg2
= wxString_in_helper(obj1
);
33238 if (arg2
== NULL
) SWIG_fail
;
33241 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33242 if (!SWIG_IsOK(ecode3
)) {
33243 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawText" "', expected argument " "3"" of type '" "int""'");
33245 arg3
= static_cast< int >(val3
);
33246 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33247 if (!SWIG_IsOK(ecode4
)) {
33248 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawText" "', expected argument " "4"" of type '" "int""'");
33250 arg4
= static_cast< int >(val4
);
33252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33253 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
33254 wxPyEndAllowThreads(__tstate
);
33255 if (PyErr_Occurred()) SWIG_fail
;
33257 resultobj
= SWIG_Py_Void();
33272 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33273 PyObject
*resultobj
= 0;
33274 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33275 wxString
*arg2
= 0 ;
33276 wxPoint
*arg3
= 0 ;
33279 bool temp2
= false ;
33281 PyObject
* obj0
= 0 ;
33282 PyObject
* obj1
= 0 ;
33283 PyObject
* obj2
= 0 ;
33284 char * kwnames
[] = {
33285 (char *) "self",(char *) "text",(char *) "pt", NULL
33288 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33289 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33290 if (!SWIG_IsOK(res1
)) {
33291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33293 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33295 arg2
= wxString_in_helper(obj1
);
33296 if (arg2
== NULL
) SWIG_fail
;
33301 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33305 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
33306 wxPyEndAllowThreads(__tstate
);
33307 if (PyErr_Occurred()) SWIG_fail
;
33309 resultobj
= SWIG_Py_Void();
33324 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33325 PyObject
*resultobj
= 0;
33326 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33327 wxString
*arg2
= 0 ;
33333 bool temp2
= false ;
33340 PyObject
* obj0
= 0 ;
33341 PyObject
* obj1
= 0 ;
33342 PyObject
* obj2
= 0 ;
33343 PyObject
* obj3
= 0 ;
33344 PyObject
* obj4
= 0 ;
33345 char * kwnames
[] = {
33346 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
33349 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
33350 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33351 if (!SWIG_IsOK(res1
)) {
33352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33354 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33356 arg2
= wxString_in_helper(obj1
);
33357 if (arg2
== NULL
) SWIG_fail
;
33360 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33361 if (!SWIG_IsOK(ecode3
)) {
33362 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
33364 arg3
= static_cast< int >(val3
);
33365 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33366 if (!SWIG_IsOK(ecode4
)) {
33367 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
33369 arg4
= static_cast< int >(val4
);
33370 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
33371 if (!SWIG_IsOK(ecode5
)) {
33372 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
33374 arg5
= static_cast< double >(val5
);
33376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33377 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
33378 wxPyEndAllowThreads(__tstate
);
33379 if (PyErr_Occurred()) SWIG_fail
;
33381 resultobj
= SWIG_Py_Void();
33396 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33397 PyObject
*resultobj
= 0;
33398 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33399 wxString
*arg2
= 0 ;
33400 wxPoint
*arg3
= 0 ;
33404 bool temp2
= false ;
33408 PyObject
* obj0
= 0 ;
33409 PyObject
* obj1
= 0 ;
33410 PyObject
* obj2
= 0 ;
33411 PyObject
* obj3
= 0 ;
33412 char * kwnames
[] = {
33413 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
33416 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33417 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33418 if (!SWIG_IsOK(res1
)) {
33419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33421 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33423 arg2
= wxString_in_helper(obj1
);
33424 if (arg2
== NULL
) SWIG_fail
;
33429 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33431 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
33432 if (!SWIG_IsOK(ecode4
)) {
33433 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
33435 arg4
= static_cast< double >(val4
);
33437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33438 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
33439 wxPyEndAllowThreads(__tstate
);
33440 if (PyErr_Occurred()) SWIG_fail
;
33442 resultobj
= SWIG_Py_Void();
33457 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33458 PyObject
*resultobj
= 0;
33459 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33461 wxPoint
*arg3
= (wxPoint
*) 0 ;
33462 int arg4
= (int) 0 ;
33463 int arg5
= (int) 0 ;
33470 PyObject
* obj0
= 0 ;
33471 PyObject
* obj1
= 0 ;
33472 PyObject
* obj2
= 0 ;
33473 PyObject
* obj3
= 0 ;
33474 char * kwnames
[] = {
33475 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
33478 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:PseudoDC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33479 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33480 if (!SWIG_IsOK(res1
)) {
33481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLines" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33483 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33485 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
33486 if (arg3
== NULL
) SWIG_fail
;
33489 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
33490 if (!SWIG_IsOK(ecode4
)) {
33491 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLines" "', expected argument " "4"" of type '" "int""'");
33493 arg4
= static_cast< int >(val4
);
33496 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
33497 if (!SWIG_IsOK(ecode5
)) {
33498 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLines" "', expected argument " "5"" of type '" "int""'");
33500 arg5
= static_cast< int >(val5
);
33503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33504 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
33505 wxPyEndAllowThreads(__tstate
);
33506 if (PyErr_Occurred()) SWIG_fail
;
33508 resultobj
= SWIG_Py_Void();
33510 if (arg3
) delete [] arg3
;
33515 if (arg3
) delete [] arg3
;
33521 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33522 PyObject
*resultobj
= 0;
33523 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33525 wxPoint
*arg3
= (wxPoint
*) 0 ;
33526 int arg4
= (int) 0 ;
33527 int arg5
= (int) 0 ;
33528 int arg6
= (int) wxODDEVEN_RULE
;
33537 PyObject
* obj0
= 0 ;
33538 PyObject
* obj1
= 0 ;
33539 PyObject
* obj2
= 0 ;
33540 PyObject
* obj3
= 0 ;
33541 PyObject
* obj4
= 0 ;
33542 char * kwnames
[] = {
33543 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
33546 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:PseudoDC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
33547 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33548 if (!SWIG_IsOK(res1
)) {
33549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33551 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33553 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
33554 if (arg3
== NULL
) SWIG_fail
;
33557 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
33558 if (!SWIG_IsOK(ecode4
)) {
33559 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
33561 arg4
= static_cast< int >(val4
);
33564 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
33565 if (!SWIG_IsOK(ecode5
)) {
33566 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
33568 arg5
= static_cast< int >(val5
);
33571 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
33572 if (!SWIG_IsOK(ecode6
)) {
33573 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
33575 arg6
= static_cast< int >(val6
);
33578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33579 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
33580 wxPyEndAllowThreads(__tstate
);
33581 if (PyErr_Occurred()) SWIG_fail
;
33583 resultobj
= SWIG_Py_Void();
33585 if (arg3
) delete [] arg3
;
33590 if (arg3
) delete [] arg3
;
33596 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33597 PyObject
*resultobj
= 0;
33598 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33599 wxString
*arg2
= 0 ;
33601 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
33602 int arg5
= (int) -1 ;
33605 bool temp2
= false ;
33611 PyObject
* obj0
= 0 ;
33612 PyObject
* obj1
= 0 ;
33613 PyObject
* obj2
= 0 ;
33614 PyObject
* obj3
= 0 ;
33615 PyObject
* obj4
= 0 ;
33616 char * kwnames
[] = {
33617 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
33620 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
33621 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33622 if (!SWIG_IsOK(res1
)) {
33623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33625 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33627 arg2
= wxString_in_helper(obj1
);
33628 if (arg2
== NULL
) SWIG_fail
;
33633 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
33636 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33637 if (!SWIG_IsOK(ecode4
)) {
33638 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
33640 arg4
= static_cast< int >(val4
);
33643 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
33644 if (!SWIG_IsOK(ecode5
)) {
33645 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
33647 arg5
= static_cast< int >(val5
);
33650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33651 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
33652 wxPyEndAllowThreads(__tstate
);
33653 if (PyErr_Occurred()) SWIG_fail
;
33655 resultobj
= SWIG_Py_Void();
33670 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33671 PyObject
*resultobj
= 0;
33672 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33673 wxString
*arg2
= 0 ;
33674 wxBitmap
*arg3
= 0 ;
33676 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
33677 int arg6
= (int) -1 ;
33680 bool temp2
= false ;
33688 PyObject
* obj0
= 0 ;
33689 PyObject
* obj1
= 0 ;
33690 PyObject
* obj2
= 0 ;
33691 PyObject
* obj3
= 0 ;
33692 PyObject
* obj4
= 0 ;
33693 PyObject
* obj5
= 0 ;
33694 char * kwnames
[] = {
33695 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
33698 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PseudoDC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
33699 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33700 if (!SWIG_IsOK(res1
)) {
33701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33703 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33705 arg2
= wxString_in_helper(obj1
);
33706 if (arg2
== NULL
) SWIG_fail
;
33709 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
33710 if (!SWIG_IsOK(res3
)) {
33711 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
33714 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
33716 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
33719 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
33722 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
33723 if (!SWIG_IsOK(ecode5
)) {
33724 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
33726 arg5
= static_cast< int >(val5
);
33729 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
33730 if (!SWIG_IsOK(ecode6
)) {
33731 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
33733 arg6
= static_cast< int >(val6
);
33736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33737 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
33738 wxPyEndAllowThreads(__tstate
);
33739 if (PyErr_Occurred()) SWIG_fail
;
33741 resultobj
= SWIG_Py_Void();
33756 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33757 PyObject
*resultobj
= 0;
33758 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33760 wxPoint
*arg3
= (wxPoint
*) 0 ;
33763 PyObject
* obj0
= 0 ;
33764 PyObject
* obj1
= 0 ;
33765 char * kwnames
[] = {
33766 (char *) "self",(char *) "points", NULL
33769 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33770 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33771 if (!SWIG_IsOK(res1
)) {
33772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawSpline" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33774 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33776 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
33777 if (arg3
== NULL
) SWIG_fail
;
33780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33781 (arg1
)->DrawSpline(arg2
,arg3
);
33782 wxPyEndAllowThreads(__tstate
);
33783 if (PyErr_Occurred()) SWIG_fail
;
33785 resultobj
= SWIG_Py_Void();
33787 if (arg3
) delete [] arg3
;
33792 if (arg3
) delete [] arg3
;
33798 SWIGINTERN PyObject
*_wrap_PseudoDC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33799 PyObject
*resultobj
= 0;
33800 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33803 PyObject
*swig_obj
[1] ;
33805 if (!args
) SWIG_fail
;
33806 swig_obj
[0] = args
;
33807 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33808 if (!SWIG_IsOK(res1
)) {
33809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_Clear" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33811 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33815 wxPyEndAllowThreads(__tstate
);
33816 if (PyErr_Occurred()) SWIG_fail
;
33818 resultobj
= SWIG_Py_Void();
33825 SWIGINTERN PyObject
*_wrap_PseudoDC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33826 PyObject
*resultobj
= 0;
33827 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33833 PyObject
* obj0
= 0 ;
33834 PyObject
* obj1
= 0 ;
33835 char * kwnames
[] = {
33836 (char *) "self",(char *) "font", NULL
33839 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33840 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33841 if (!SWIG_IsOK(res1
)) {
33842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetFont" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33844 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33845 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
33846 if (!SWIG_IsOK(res2
)) {
33847 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
33850 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
33852 arg2
= reinterpret_cast< wxFont
* >(argp2
);
33854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33855 (arg1
)->SetFont((wxFont
const &)*arg2
);
33856 wxPyEndAllowThreads(__tstate
);
33857 if (PyErr_Occurred()) SWIG_fail
;
33859 resultobj
= SWIG_Py_Void();
33866 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33867 PyObject
*resultobj
= 0;
33868 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33874 PyObject
* obj0
= 0 ;
33875 PyObject
* obj1
= 0 ;
33876 char * kwnames
[] = {
33877 (char *) "self",(char *) "pen", NULL
33880 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33881 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33882 if (!SWIG_IsOK(res1
)) {
33883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33885 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33886 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
33887 if (!SWIG_IsOK(res2
)) {
33888 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
33891 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
33893 arg2
= reinterpret_cast< wxPen
* >(argp2
);
33895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33896 (arg1
)->SetPen((wxPen
const &)*arg2
);
33897 wxPyEndAllowThreads(__tstate
);
33898 if (PyErr_Occurred()) SWIG_fail
;
33900 resultobj
= SWIG_Py_Void();
33907 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33908 PyObject
*resultobj
= 0;
33909 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33910 wxBrush
*arg2
= 0 ;
33915 PyObject
* obj0
= 0 ;
33916 PyObject
* obj1
= 0 ;
33917 char * kwnames
[] = {
33918 (char *) "self",(char *) "brush", NULL
33921 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33922 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33923 if (!SWIG_IsOK(res1
)) {
33924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBrush" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33926 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33927 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
33928 if (!SWIG_IsOK(res2
)) {
33929 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
33932 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
33934 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
33936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33937 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
33938 wxPyEndAllowThreads(__tstate
);
33939 if (PyErr_Occurred()) SWIG_fail
;
33941 resultobj
= SWIG_Py_Void();
33948 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33949 PyObject
*resultobj
= 0;
33950 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33951 wxBrush
*arg2
= 0 ;
33956 PyObject
* obj0
= 0 ;
33957 PyObject
* obj1
= 0 ;
33958 char * kwnames
[] = {
33959 (char *) "self",(char *) "brush", NULL
33962 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33963 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33964 if (!SWIG_IsOK(res1
)) {
33965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33967 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33968 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
33969 if (!SWIG_IsOK(res2
)) {
33970 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
33973 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
33975 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
33977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33978 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
33979 wxPyEndAllowThreads(__tstate
);
33980 if (PyErr_Occurred()) SWIG_fail
;
33982 resultobj
= SWIG_Py_Void();
33989 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33990 PyObject
*resultobj
= 0;
33991 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33997 PyObject
* obj0
= 0 ;
33998 PyObject
* obj1
= 0 ;
33999 char * kwnames
[] = {
34000 (char *) "self",(char *) "mode", NULL
34003 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34004 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34005 if (!SWIG_IsOK(res1
)) {
34006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34008 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34009 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34010 if (!SWIG_IsOK(ecode2
)) {
34011 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
34013 arg2
= static_cast< int >(val2
);
34015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34016 (arg1
)->SetBackgroundMode(arg2
);
34017 wxPyEndAllowThreads(__tstate
);
34018 if (PyErr_Occurred()) SWIG_fail
;
34020 resultobj
= SWIG_Py_Void();
34027 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34028 PyObject
*resultobj
= 0;
34029 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34030 wxPalette
*arg2
= 0 ;
34035 PyObject
* obj0
= 0 ;
34036 PyObject
* obj1
= 0 ;
34037 char * kwnames
[] = {
34038 (char *) "self",(char *) "palette", NULL
34041 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34042 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34043 if (!SWIG_IsOK(res1
)) {
34044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPalette" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34046 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34047 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
34048 if (!SWIG_IsOK(res2
)) {
34049 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
34052 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
34054 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
34056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34057 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
34058 wxPyEndAllowThreads(__tstate
);
34059 if (PyErr_Occurred()) SWIG_fail
;
34061 resultobj
= SWIG_Py_Void();
34068 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34069 PyObject
*resultobj
= 0;
34070 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34071 wxColour
*arg2
= 0 ;
34075 PyObject
* obj0
= 0 ;
34076 PyObject
* obj1
= 0 ;
34077 char * kwnames
[] = {
34078 (char *) "self",(char *) "colour", NULL
34081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34082 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34083 if (!SWIG_IsOK(res1
)) {
34084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextForeground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34086 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34089 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
34092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34093 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
34094 wxPyEndAllowThreads(__tstate
);
34095 if (PyErr_Occurred()) SWIG_fail
;
34097 resultobj
= SWIG_Py_Void();
34104 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34105 PyObject
*resultobj
= 0;
34106 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34107 wxColour
*arg2
= 0 ;
34111 PyObject
* obj0
= 0 ;
34112 PyObject
* obj1
= 0 ;
34113 char * kwnames
[] = {
34114 (char *) "self",(char *) "colour", NULL
34117 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34118 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34119 if (!SWIG_IsOK(res1
)) {
34120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34122 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34125 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
34128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34129 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
34130 wxPyEndAllowThreads(__tstate
);
34131 if (PyErr_Occurred()) SWIG_fail
;
34133 resultobj
= SWIG_Py_Void();
34140 SWIGINTERN PyObject
*_wrap_PseudoDC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34141 PyObject
*resultobj
= 0;
34142 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34148 PyObject
* obj0
= 0 ;
34149 PyObject
* obj1
= 0 ;
34150 char * kwnames
[] = {
34151 (char *) "self",(char *) "function", NULL
34154 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34155 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34156 if (!SWIG_IsOK(res1
)) {
34157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34159 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34160 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34161 if (!SWIG_IsOK(ecode2
)) {
34162 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
34164 arg2
= static_cast< int >(val2
);
34166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34167 (arg1
)->SetLogicalFunction(arg2
);
34168 wxPyEndAllowThreads(__tstate
);
34169 if (PyErr_Occurred()) SWIG_fail
;
34171 resultobj
= SWIG_Py_Void();
34178 SWIGINTERN PyObject
*PseudoDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34180 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34181 SWIG_TypeNewClientData(SWIGTYPE_p_wxPseudoDC
, SWIG_NewClientData(obj
));
34182 return SWIG_Py_Void();
34185 SWIGINTERN PyObject
*PseudoDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34186 return SWIG_Python_InitShadowInstance(args
);
34189 static PyMethodDef SwigMethods
[] = {
34190 { (char *)"new_GDIObject", (PyCFunction
)_wrap_new_GDIObject
, METH_NOARGS
, NULL
},
34191 { (char *)"delete_GDIObject", (PyCFunction
)_wrap_delete_GDIObject
, METH_O
, NULL
},
34192 { (char *)"GDIObject_IsNull", (PyCFunction
)_wrap_GDIObject_IsNull
, METH_O
, NULL
},
34193 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
, NULL
},
34194 { (char *)"GDIObject_swiginit", GDIObject_swiginit
, METH_VARARGS
, NULL
},
34195 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34196 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34197 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34198 { (char *)"delete_Colour", (PyCFunction
)_wrap_delete_Colour
, METH_O
, NULL
},
34199 { (char *)"Colour_Red", (PyCFunction
)_wrap_Colour_Red
, METH_O
, NULL
},
34200 { (char *)"Colour_Green", (PyCFunction
)_wrap_Colour_Green
, METH_O
, NULL
},
34201 { (char *)"Colour_Blue", (PyCFunction
)_wrap_Colour_Blue
, METH_O
, NULL
},
34202 { (char *)"Colour_Alpha", (PyCFunction
)_wrap_Colour_Alpha
, METH_O
, NULL
},
34203 { (char *)"Colour_IsOk", (PyCFunction
)_wrap_Colour_IsOk
, METH_O
, NULL
},
34204 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34205 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34206 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34207 { (char *)"Colour_GetAsString", (PyCFunction
) _wrap_Colour_GetAsString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34208 { (char *)"Colour_GetPixel", (PyCFunction
)_wrap_Colour_GetPixel
, METH_O
, NULL
},
34209 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34210 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34211 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34212 { (char *)"Colour_GetRGB", (PyCFunction
)_wrap_Colour_GetRGB
, METH_O
, NULL
},
34213 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
, NULL
},
34214 { (char *)"Colour_swiginit", Colour_swiginit
, METH_VARARGS
, NULL
},
34215 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34216 { (char *)"delete_Palette", (PyCFunction
)_wrap_delete_Palette
, METH_O
, NULL
},
34217 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34218 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34219 { (char *)"Palette_GetColoursCount", (PyCFunction
)_wrap_Palette_GetColoursCount
, METH_O
, NULL
},
34220 { (char *)"Palette_IsOk", (PyCFunction
)_wrap_Palette_IsOk
, METH_O
, NULL
},
34221 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
, NULL
},
34222 { (char *)"Palette_swiginit", Palette_swiginit
, METH_VARARGS
, NULL
},
34223 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34224 { (char *)"delete_Pen", (PyCFunction
)_wrap_delete_Pen
, METH_O
, NULL
},
34225 { (char *)"Pen_GetCap", (PyCFunction
)_wrap_Pen_GetCap
, METH_O
, NULL
},
34226 { (char *)"Pen_GetColour", (PyCFunction
)_wrap_Pen_GetColour
, METH_O
, NULL
},
34227 { (char *)"Pen_GetJoin", (PyCFunction
)_wrap_Pen_GetJoin
, METH_O
, NULL
},
34228 { (char *)"Pen_GetStyle", (PyCFunction
)_wrap_Pen_GetStyle
, METH_O
, NULL
},
34229 { (char *)"Pen_GetWidth", (PyCFunction
)_wrap_Pen_GetWidth
, METH_O
, NULL
},
34230 { (char *)"Pen_IsOk", (PyCFunction
)_wrap_Pen_IsOk
, METH_O
, NULL
},
34231 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34232 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34233 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34234 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34235 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34236 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34237 { (char *)"Pen_GetDashes", (PyCFunction
)_wrap_Pen_GetDashes
, METH_O
, NULL
},
34238 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34239 { (char *)"Pen_GetDashCount", (PyCFunction
)_wrap_Pen_GetDashCount
, METH_O
, NULL
},
34240 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34241 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34242 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
, NULL
},
34243 { (char *)"Pen_swiginit", Pen_swiginit
, METH_VARARGS
, NULL
},
34244 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34245 { (char *)"new_BrushFromBitmap", (PyCFunction
) _wrap_new_BrushFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34246 { (char *)"delete_Brush", (PyCFunction
)_wrap_delete_Brush
, METH_O
, NULL
},
34247 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34248 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34249 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34250 { (char *)"Brush_GetColour", (PyCFunction
)_wrap_Brush_GetColour
, METH_O
, NULL
},
34251 { (char *)"Brush_GetStyle", (PyCFunction
)_wrap_Brush_GetStyle
, METH_O
, NULL
},
34252 { (char *)"Brush_GetStipple", (PyCFunction
)_wrap_Brush_GetStipple
, METH_O
, NULL
},
34253 { (char *)"Brush_IsHatch", (PyCFunction
)_wrap_Brush_IsHatch
, METH_O
, NULL
},
34254 { (char *)"Brush_IsOk", (PyCFunction
)_wrap_Brush_IsOk
, METH_O
, NULL
},
34255 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
, NULL
},
34256 { (char *)"Brush_swiginit", Brush_swiginit
, METH_VARARGS
, NULL
},
34257 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34258 { (char *)"delete_Bitmap", (PyCFunction
)_wrap_delete_Bitmap
, METH_O
, NULL
},
34259 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34260 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34261 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34262 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34263 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34264 { (char *)"Bitmap_IsOk", (PyCFunction
)_wrap_Bitmap_IsOk
, METH_O
, NULL
},
34265 { (char *)"Bitmap_GetWidth", (PyCFunction
)_wrap_Bitmap_GetWidth
, METH_O
, NULL
},
34266 { (char *)"Bitmap_GetHeight", (PyCFunction
)_wrap_Bitmap_GetHeight
, METH_O
, NULL
},
34267 { (char *)"Bitmap_GetDepth", (PyCFunction
)_wrap_Bitmap_GetDepth
, METH_O
, NULL
},
34268 { (char *)"Bitmap_GetSize", (PyCFunction
)_wrap_Bitmap_GetSize
, METH_O
, NULL
},
34269 { (char *)"Bitmap_ConvertToImage", (PyCFunction
)_wrap_Bitmap_ConvertToImage
, METH_O
, NULL
},
34270 { (char *)"Bitmap_GetMask", (PyCFunction
)_wrap_Bitmap_GetMask
, METH_O
, NULL
},
34271 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34272 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34273 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34274 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34275 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34276 { (char *)"Bitmap_GetPalette", (PyCFunction
)_wrap_Bitmap_GetPalette
, METH_O
, NULL
},
34277 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34278 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34279 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34280 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34281 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34282 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34283 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34284 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
, NULL
},
34285 { (char *)"Bitmap_swiginit", Bitmap_swiginit
, METH_VARARGS
, NULL
},
34286 { (char *)"_BitmapFromBufferAlpha", (PyCFunction
) _wrap__BitmapFromBufferAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34287 { (char *)"_BitmapFromBuffer", (PyCFunction
) _wrap__BitmapFromBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34288 { (char *)"_BitmapFromBufferRGBA", (PyCFunction
) _wrap__BitmapFromBufferRGBA
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34289 { (char *)"PixelDataBase_GetOrigin", (PyCFunction
)_wrap_PixelDataBase_GetOrigin
, METH_O
, NULL
},
34290 { (char *)"PixelDataBase_GetWidth", (PyCFunction
)_wrap_PixelDataBase_GetWidth
, METH_O
, NULL
},
34291 { (char *)"PixelDataBase_GetHeight", (PyCFunction
)_wrap_PixelDataBase_GetHeight
, METH_O
, NULL
},
34292 { (char *)"PixelDataBase_GetSize", (PyCFunction
)_wrap_PixelDataBase_GetSize
, METH_O
, NULL
},
34293 { (char *)"PixelDataBase_GetRowStride", (PyCFunction
)_wrap_PixelDataBase_GetRowStride
, METH_O
, NULL
},
34294 { (char *)"PixelDataBase_swigregister", PixelDataBase_swigregister
, METH_VARARGS
, NULL
},
34295 { (char *)"new_NativePixelData", _wrap_new_NativePixelData
, METH_VARARGS
, NULL
},
34296 { (char *)"delete_NativePixelData", (PyCFunction
)_wrap_delete_NativePixelData
, METH_O
, NULL
},
34297 { (char *)"NativePixelData_GetPixels", (PyCFunction
)_wrap_NativePixelData_GetPixels
, METH_O
, NULL
},
34298 { (char *)"NativePixelData_UseAlpha", (PyCFunction
)_wrap_NativePixelData_UseAlpha
, METH_O
, NULL
},
34299 { (char *)"NativePixelData___nonzero__", (PyCFunction
)_wrap_NativePixelData___nonzero__
, METH_O
, NULL
},
34300 { (char *)"NativePixelData_swigregister", NativePixelData_swigregister
, METH_VARARGS
, NULL
},
34301 { (char *)"NativePixelData_swiginit", NativePixelData_swiginit
, METH_VARARGS
, NULL
},
34302 { (char *)"new_NativePixelData_Accessor", _wrap_new_NativePixelData_Accessor
, METH_VARARGS
, NULL
},
34303 { (char *)"delete_NativePixelData_Accessor", (PyCFunction
)_wrap_delete_NativePixelData_Accessor
, METH_O
, NULL
},
34304 { (char *)"NativePixelData_Accessor_Reset", (PyCFunction
) _wrap_NativePixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34305 { (char *)"NativePixelData_Accessor_IsOk", (PyCFunction
)_wrap_NativePixelData_Accessor_IsOk
, METH_O
, NULL
},
34306 { (char *)"NativePixelData_Accessor_nextPixel", (PyCFunction
)_wrap_NativePixelData_Accessor_nextPixel
, METH_O
, NULL
},
34307 { (char *)"NativePixelData_Accessor_Offset", (PyCFunction
) _wrap_NativePixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34308 { (char *)"NativePixelData_Accessor_OffsetX", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34309 { (char *)"NativePixelData_Accessor_OffsetY", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34310 { (char *)"NativePixelData_Accessor_MoveTo", (PyCFunction
) _wrap_NativePixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34311 { (char *)"NativePixelData_Accessor_Set", (PyCFunction
) _wrap_NativePixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34312 { (char *)"NativePixelData_Accessor_Get", (PyCFunction
)_wrap_NativePixelData_Accessor_Get
, METH_O
, NULL
},
34313 { (char *)"NativePixelData_Accessor_swigregister", NativePixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
34314 { (char *)"NativePixelData_Accessor_swiginit", NativePixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
34315 { (char *)"new_AlphaPixelData", _wrap_new_AlphaPixelData
, METH_VARARGS
, NULL
},
34316 { (char *)"delete_AlphaPixelData", (PyCFunction
)_wrap_delete_AlphaPixelData
, METH_O
, NULL
},
34317 { (char *)"AlphaPixelData_GetPixels", (PyCFunction
)_wrap_AlphaPixelData_GetPixels
, METH_O
, NULL
},
34318 { (char *)"AlphaPixelData_UseAlpha", (PyCFunction
)_wrap_AlphaPixelData_UseAlpha
, METH_O
, NULL
},
34319 { (char *)"AlphaPixelData___nonzero__", (PyCFunction
)_wrap_AlphaPixelData___nonzero__
, METH_O
, NULL
},
34320 { (char *)"AlphaPixelData_swigregister", AlphaPixelData_swigregister
, METH_VARARGS
, NULL
},
34321 { (char *)"AlphaPixelData_swiginit", AlphaPixelData_swiginit
, METH_VARARGS
, NULL
},
34322 { (char *)"new_AlphaPixelData_Accessor", _wrap_new_AlphaPixelData_Accessor
, METH_VARARGS
, NULL
},
34323 { (char *)"delete_AlphaPixelData_Accessor", (PyCFunction
)_wrap_delete_AlphaPixelData_Accessor
, METH_O
, NULL
},
34324 { (char *)"AlphaPixelData_Accessor_Reset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34325 { (char *)"AlphaPixelData_Accessor_IsOk", (PyCFunction
)_wrap_AlphaPixelData_Accessor_IsOk
, METH_O
, NULL
},
34326 { (char *)"AlphaPixelData_Accessor_nextPixel", (PyCFunction
)_wrap_AlphaPixelData_Accessor_nextPixel
, METH_O
, NULL
},
34327 { (char *)"AlphaPixelData_Accessor_Offset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34328 { (char *)"AlphaPixelData_Accessor_OffsetX", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34329 { (char *)"AlphaPixelData_Accessor_OffsetY", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34330 { (char *)"AlphaPixelData_Accessor_MoveTo", (PyCFunction
) _wrap_AlphaPixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34331 { (char *)"AlphaPixelData_Accessor_Set", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34332 { (char *)"AlphaPixelData_Accessor_Get", (PyCFunction
)_wrap_AlphaPixelData_Accessor_Get
, METH_O
, NULL
},
34333 { (char *)"AlphaPixelData_Accessor_swigregister", AlphaPixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
34334 { (char *)"AlphaPixelData_Accessor_swiginit", AlphaPixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
34335 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34336 { (char *)"delete_Mask", (PyCFunction
)_wrap_delete_Mask
, METH_O
, NULL
},
34337 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
, NULL
},
34338 { (char *)"Mask_swiginit", Mask_swiginit
, METH_VARARGS
, NULL
},
34339 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34340 { (char *)"delete_Icon", (PyCFunction
)_wrap_delete_Icon
, METH_O
, NULL
},
34341 { (char *)"new_EmptyIcon", (PyCFunction
)_wrap_new_EmptyIcon
, METH_NOARGS
, NULL
},
34342 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34343 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34344 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34345 { (char *)"Icon_LoadFile", (PyCFunction
) _wrap_Icon_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34346 { (char *)"Icon_IsOk", (PyCFunction
)_wrap_Icon_IsOk
, METH_O
, NULL
},
34347 { (char *)"Icon_GetWidth", (PyCFunction
)_wrap_Icon_GetWidth
, METH_O
, NULL
},
34348 { (char *)"Icon_GetHeight", (PyCFunction
)_wrap_Icon_GetHeight
, METH_O
, NULL
},
34349 { (char *)"Icon_GetDepth", (PyCFunction
)_wrap_Icon_GetDepth
, METH_O
, NULL
},
34350 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34351 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34352 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34353 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34354 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
, NULL
},
34355 { (char *)"Icon_swiginit", Icon_swiginit
, METH_VARARGS
, NULL
},
34356 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34357 { (char *)"delete_IconLocation", (PyCFunction
)_wrap_delete_IconLocation
, METH_O
, NULL
},
34358 { (char *)"IconLocation_IsOk", (PyCFunction
)_wrap_IconLocation_IsOk
, METH_O
, NULL
},
34359 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34360 { (char *)"IconLocation_GetFileName", (PyCFunction
)_wrap_IconLocation_GetFileName
, METH_O
, NULL
},
34361 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34362 { (char *)"IconLocation_GetIndex", (PyCFunction
)_wrap_IconLocation_GetIndex
, METH_O
, NULL
},
34363 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
, NULL
},
34364 { (char *)"IconLocation_swiginit", IconLocation_swiginit
, METH_VARARGS
, NULL
},
34365 { (char *)"new_IconBundle", (PyCFunction
)_wrap_new_IconBundle
, METH_NOARGS
, NULL
},
34366 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34367 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34368 { (char *)"delete_IconBundle", (PyCFunction
)_wrap_delete_IconBundle
, METH_O
, NULL
},
34369 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34370 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34371 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34372 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
, NULL
},
34373 { (char *)"IconBundle_swiginit", IconBundle_swiginit
, METH_VARARGS
, NULL
},
34374 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34375 { (char *)"delete_Cursor", (PyCFunction
)_wrap_delete_Cursor
, METH_O
, NULL
},
34376 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34377 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34378 { (char *)"Cursor_IsOk", (PyCFunction
)_wrap_Cursor_IsOk
, METH_O
, NULL
},
34379 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
, NULL
},
34380 { (char *)"Cursor_swiginit", Cursor_swiginit
, METH_VARARGS
, NULL
},
34381 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34382 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34383 { (char *)"new_RegionFromBitmapColour", (PyCFunction
) _wrap_new_RegionFromBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34384 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34385 { (char *)"delete_Region", (PyCFunction
)_wrap_delete_Region
, METH_O
, NULL
},
34386 { (char *)"Region_Clear", (PyCFunction
)_wrap_Region_Clear
, METH_O
, NULL
},
34387 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34388 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34389 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34390 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34391 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34392 { (char *)"Region_GetBox", (PyCFunction
)_wrap_Region_GetBox
, METH_O
, NULL
},
34393 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34394 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34395 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34396 { (char *)"Region_IsEmpty", (PyCFunction
)_wrap_Region_IsEmpty
, METH_O
, NULL
},
34397 { (char *)"Region_IsEqual", (PyCFunction
) _wrap_Region_IsEqual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34398 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34399 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34400 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34401 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34402 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34403 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34404 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34405 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34406 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34407 { (char *)"Region_ConvertToBitmap", (PyCFunction
)_wrap_Region_ConvertToBitmap
, METH_O
, NULL
},
34408 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34409 { (char *)"Region_UnionBitmapColour", (PyCFunction
) _wrap_Region_UnionBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34410 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
, NULL
},
34411 { (char *)"Region_swiginit", Region_swiginit
, METH_VARARGS
, NULL
},
34412 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34413 { (char *)"delete_RegionIterator", (PyCFunction
)_wrap_delete_RegionIterator
, METH_O
, NULL
},
34414 { (char *)"RegionIterator_GetX", (PyCFunction
)_wrap_RegionIterator_GetX
, METH_O
, NULL
},
34415 { (char *)"RegionIterator_GetY", (PyCFunction
)_wrap_RegionIterator_GetY
, METH_O
, NULL
},
34416 { (char *)"RegionIterator_GetW", (PyCFunction
)_wrap_RegionIterator_GetW
, METH_O
, NULL
},
34417 { (char *)"RegionIterator_GetWidth", (PyCFunction
)_wrap_RegionIterator_GetWidth
, METH_O
, NULL
},
34418 { (char *)"RegionIterator_GetH", (PyCFunction
)_wrap_RegionIterator_GetH
, METH_O
, NULL
},
34419 { (char *)"RegionIterator_GetHeight", (PyCFunction
)_wrap_RegionIterator_GetHeight
, METH_O
, NULL
},
34420 { (char *)"RegionIterator_GetRect", (PyCFunction
)_wrap_RegionIterator_GetRect
, METH_O
, NULL
},
34421 { (char *)"RegionIterator_HaveRects", (PyCFunction
)_wrap_RegionIterator_HaveRects
, METH_O
, NULL
},
34422 { (char *)"RegionIterator_Reset", (PyCFunction
)_wrap_RegionIterator_Reset
, METH_O
, NULL
},
34423 { (char *)"RegionIterator_Next", (PyCFunction
)_wrap_RegionIterator_Next
, METH_O
, NULL
},
34424 { (char *)"RegionIterator___nonzero__", (PyCFunction
)_wrap_RegionIterator___nonzero__
, METH_O
, NULL
},
34425 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
, NULL
},
34426 { (char *)"RegionIterator_swiginit", RegionIterator_swiginit
, METH_VARARGS
, NULL
},
34427 { (char *)"new_NativeFontInfo", (PyCFunction
)_wrap_new_NativeFontInfo
, METH_NOARGS
, NULL
},
34428 { (char *)"delete_NativeFontInfo", (PyCFunction
)_wrap_delete_NativeFontInfo
, METH_O
, NULL
},
34429 { (char *)"NativeFontInfo_Init", (PyCFunction
)_wrap_NativeFontInfo_Init
, METH_O
, NULL
},
34430 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34431 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
)_wrap_NativeFontInfo_GetPointSize
, METH_O
, NULL
},
34432 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
)_wrap_NativeFontInfo_GetStyle
, METH_O
, NULL
},
34433 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
)_wrap_NativeFontInfo_GetWeight
, METH_O
, NULL
},
34434 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
)_wrap_NativeFontInfo_GetUnderlined
, METH_O
, NULL
},
34435 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
)_wrap_NativeFontInfo_GetFaceName
, METH_O
, NULL
},
34436 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
)_wrap_NativeFontInfo_GetFamily
, METH_O
, NULL
},
34437 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
)_wrap_NativeFontInfo_GetEncoding
, METH_O
, NULL
},
34438 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34439 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34440 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34441 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34442 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34443 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34444 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34445 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34446 { (char *)"NativeFontInfo_ToString", (PyCFunction
)_wrap_NativeFontInfo_ToString
, METH_O
, NULL
},
34447 { (char *)"NativeFontInfo___str__", (PyCFunction
)_wrap_NativeFontInfo___str__
, METH_O
, NULL
},
34448 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34449 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
)_wrap_NativeFontInfo_ToUserString
, METH_O
, NULL
},
34450 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
, NULL
},
34451 { (char *)"NativeFontInfo_swiginit", NativeFontInfo_swiginit
, METH_VARARGS
, NULL
},
34452 { (char *)"NativeEncodingInfo_facename_set", _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
, NULL
},
34453 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
)_wrap_NativeEncodingInfo_facename_get
, METH_O
, NULL
},
34454 { (char *)"NativeEncodingInfo_encoding_set", _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
, NULL
},
34455 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
)_wrap_NativeEncodingInfo_encoding_get
, METH_O
, NULL
},
34456 { (char *)"new_NativeEncodingInfo", (PyCFunction
)_wrap_new_NativeEncodingInfo
, METH_NOARGS
, NULL
},
34457 { (char *)"delete_NativeEncodingInfo", (PyCFunction
)_wrap_delete_NativeEncodingInfo
, METH_O
, NULL
},
34458 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34459 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
)_wrap_NativeEncodingInfo_ToString
, METH_O
, NULL
},
34460 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
, NULL
},
34461 { (char *)"NativeEncodingInfo_swiginit", NativeEncodingInfo_swiginit
, METH_VARARGS
, NULL
},
34462 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34463 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34464 { (char *)"new_FontMapper", (PyCFunction
)_wrap_new_FontMapper
, METH_NOARGS
, NULL
},
34465 { (char *)"delete_FontMapper", (PyCFunction
)_wrap_delete_FontMapper
, METH_O
, NULL
},
34466 { (char *)"FontMapper_Get", (PyCFunction
)_wrap_FontMapper_Get
, METH_NOARGS
, NULL
},
34467 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34468 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34469 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
)_wrap_FontMapper_GetSupportedEncodingsCount
, METH_NOARGS
, NULL
},
34470 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34471 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34472 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34473 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34474 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34475 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
)_wrap_FontMapper_GetDefaultConfigPath
, METH_NOARGS
, NULL
},
34476 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34477 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34478 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34479 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34480 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
, NULL
},
34481 { (char *)"FontMapper_swiginit", FontMapper_swiginit
, METH_VARARGS
, NULL
},
34482 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34483 { (char *)"delete_Font", (PyCFunction
)_wrap_delete_Font
, METH_O
, NULL
},
34484 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34485 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34486 { (char *)"new_FFont", (PyCFunction
) _wrap_new_FFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34487 { (char *)"new_FontFromPixelSize", (PyCFunction
) _wrap_new_FontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34488 { (char *)"new_FFontFromPixelSize", (PyCFunction
) _wrap_new_FFontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34489 { (char *)"Font_IsOk", (PyCFunction
)_wrap_Font_IsOk
, METH_O
, NULL
},
34490 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34491 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34492 { (char *)"Font_GetPointSize", (PyCFunction
)_wrap_Font_GetPointSize
, METH_O
, NULL
},
34493 { (char *)"Font_GetPixelSize", (PyCFunction
)_wrap_Font_GetPixelSize
, METH_O
, NULL
},
34494 { (char *)"Font_IsUsingSizeInPixels", (PyCFunction
)_wrap_Font_IsUsingSizeInPixels
, METH_O
, NULL
},
34495 { (char *)"Font_GetFamily", (PyCFunction
)_wrap_Font_GetFamily
, METH_O
, NULL
},
34496 { (char *)"Font_GetStyle", (PyCFunction
)_wrap_Font_GetStyle
, METH_O
, NULL
},
34497 { (char *)"Font_GetWeight", (PyCFunction
)_wrap_Font_GetWeight
, METH_O
, NULL
},
34498 { (char *)"Font_GetUnderlined", (PyCFunction
)_wrap_Font_GetUnderlined
, METH_O
, NULL
},
34499 { (char *)"Font_GetFaceName", (PyCFunction
)_wrap_Font_GetFaceName
, METH_O
, NULL
},
34500 { (char *)"Font_GetEncoding", (PyCFunction
)_wrap_Font_GetEncoding
, METH_O
, NULL
},
34501 { (char *)"Font_GetNativeFontInfo", (PyCFunction
)_wrap_Font_GetNativeFontInfo
, METH_O
, NULL
},
34502 { (char *)"Font_IsFixedWidth", (PyCFunction
)_wrap_Font_IsFixedWidth
, METH_O
, NULL
},
34503 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoDesc
, METH_O
, NULL
},
34504 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoUserDesc
, METH_O
, NULL
},
34505 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34506 { (char *)"Font_SetPixelSize", (PyCFunction
) _wrap_Font_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34507 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34508 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34509 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34510 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34511 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34512 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34513 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34514 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34515 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34516 { (char *)"Font_GetFamilyString", (PyCFunction
)_wrap_Font_GetFamilyString
, METH_O
, NULL
},
34517 { (char *)"Font_GetStyleString", (PyCFunction
)_wrap_Font_GetStyleString
, METH_O
, NULL
},
34518 { (char *)"Font_GetWeightString", (PyCFunction
)_wrap_Font_GetWeightString
, METH_O
, NULL
},
34519 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34520 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
)_wrap_Font_GetNoAntiAliasing
, METH_O
, NULL
},
34521 { (char *)"Font_GetDefaultEncoding", (PyCFunction
)_wrap_Font_GetDefaultEncoding
, METH_NOARGS
, NULL
},
34522 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34523 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
, NULL
},
34524 { (char *)"Font_swiginit", Font_swiginit
, METH_VARARGS
, NULL
},
34525 { (char *)"new_FontEnumerator", (PyCFunction
)_wrap_new_FontEnumerator
, METH_NOARGS
, NULL
},
34526 { (char *)"delete_FontEnumerator", (PyCFunction
)_wrap_delete_FontEnumerator
, METH_O
, NULL
},
34527 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34528 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34529 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34530 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
)_wrap_FontEnumerator_GetEncodings
, METH_NOARGS
, NULL
},
34531 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
)_wrap_FontEnumerator_GetFacenames
, METH_NOARGS
, NULL
},
34532 { (char *)"FontEnumerator_IsValidFacename", (PyCFunction
) _wrap_FontEnumerator_IsValidFacename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34533 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
, NULL
},
34534 { (char *)"FontEnumerator_swiginit", FontEnumerator_swiginit
, METH_VARARGS
, NULL
},
34535 { (char *)"LanguageInfo_Language_set", _wrap_LanguageInfo_Language_set
, METH_VARARGS
, NULL
},
34536 { (char *)"LanguageInfo_Language_get", (PyCFunction
)_wrap_LanguageInfo_Language_get
, METH_O
, NULL
},
34537 { (char *)"LanguageInfo_CanonicalName_set", _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
, NULL
},
34538 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
)_wrap_LanguageInfo_CanonicalName_get
, METH_O
, NULL
},
34539 { (char *)"LanguageInfo_Description_set", _wrap_LanguageInfo_Description_set
, METH_VARARGS
, NULL
},
34540 { (char *)"LanguageInfo_Description_get", (PyCFunction
)_wrap_LanguageInfo_Description_get
, METH_O
, NULL
},
34541 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
, NULL
},
34542 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34543 { (char *)"delete_Locale", (PyCFunction
)_wrap_delete_Locale
, METH_O
, NULL
},
34544 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34545 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34546 { (char *)"Locale_GetSystemLanguage", (PyCFunction
)_wrap_Locale_GetSystemLanguage
, METH_NOARGS
, NULL
},
34547 { (char *)"Locale_GetSystemEncoding", (PyCFunction
)_wrap_Locale_GetSystemEncoding
, METH_NOARGS
, NULL
},
34548 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
)_wrap_Locale_GetSystemEncodingName
, METH_NOARGS
, NULL
},
34549 { (char *)"Locale_IsOk", (PyCFunction
)_wrap_Locale_IsOk
, METH_O
, NULL
},
34550 { (char *)"Locale_GetLocale", (PyCFunction
)_wrap_Locale_GetLocale
, METH_O
, NULL
},
34551 { (char *)"Locale_GetLanguage", (PyCFunction
)_wrap_Locale_GetLanguage
, METH_O
, NULL
},
34552 { (char *)"Locale_GetSysName", (PyCFunction
)_wrap_Locale_GetSysName
, METH_O
, NULL
},
34553 { (char *)"Locale_GetCanonicalName", (PyCFunction
)_wrap_Locale_GetCanonicalName
, METH_O
, NULL
},
34554 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34555 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34556 { (char *)"Locale_IsAvailable", (PyCFunction
) _wrap_Locale_IsAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34557 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34558 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34559 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34560 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34561 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34562 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34563 { (char *)"Locale_GetName", (PyCFunction
)_wrap_Locale_GetName
, METH_O
, NULL
},
34564 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
, NULL
},
34565 { (char *)"Locale_swiginit", Locale_swiginit
, METH_VARARGS
, NULL
},
34566 { (char *)"new_PyLocale", (PyCFunction
) _wrap_new_PyLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34567 { (char *)"delete_PyLocale", (PyCFunction
)_wrap_delete_PyLocale
, METH_O
, NULL
},
34568 { (char *)"PyLocale__setCallbackInfo", (PyCFunction
) _wrap_PyLocale__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34569 { (char *)"PyLocale_GetSingularString", (PyCFunction
) _wrap_PyLocale_GetSingularString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34570 { (char *)"PyLocale_GetPluralString", (PyCFunction
) _wrap_PyLocale_GetPluralString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34571 { (char *)"PyLocale_swigregister", PyLocale_swigregister
, METH_VARARGS
, NULL
},
34572 { (char *)"PyLocale_swiginit", PyLocale_swiginit
, METH_VARARGS
, NULL
},
34573 { (char *)"GetLocale", (PyCFunction
)_wrap_GetLocale
, METH_NOARGS
, NULL
},
34574 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
, NULL
},
34575 { (char *)"new_EncodingConverter", (PyCFunction
)_wrap_new_EncodingConverter
, METH_NOARGS
, NULL
},
34576 { (char *)"delete_EncodingConverter", (PyCFunction
)_wrap_delete_EncodingConverter
, METH_O
, NULL
},
34577 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34578 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34579 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34580 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34581 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34582 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
, NULL
},
34583 { (char *)"EncodingConverter_swiginit", EncodingConverter_swiginit
, METH_VARARGS
, NULL
},
34584 { (char *)"delete_DC", (PyCFunction
)_wrap_delete_DC
, METH_O
, NULL
},
34585 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34586 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34587 { (char *)"DC_GradientFillConcentric", (PyCFunction
) _wrap_DC_GradientFillConcentric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34588 { (char *)"DC_GradientFillLinear", (PyCFunction
) _wrap_DC_GradientFillLinear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34589 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34590 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34591 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34592 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34593 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34594 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34595 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34596 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34597 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34598 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34599 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34600 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34601 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34602 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34603 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34604 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34605 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34606 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34607 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34608 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34609 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34610 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34611 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34612 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34613 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34614 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34615 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34616 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34617 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34618 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34619 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34620 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34621 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34622 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34623 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34624 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34625 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34626 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34627 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34628 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34629 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34630 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34631 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34632 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34633 { (char *)"DC_Clear", (PyCFunction
)_wrap_DC_Clear
, METH_O
, NULL
},
34634 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34635 { (char *)"DC_EndDoc", (PyCFunction
)_wrap_DC_EndDoc
, METH_O
, NULL
},
34636 { (char *)"DC_StartPage", (PyCFunction
)_wrap_DC_StartPage
, METH_O
, NULL
},
34637 { (char *)"DC_EndPage", (PyCFunction
)_wrap_DC_EndPage
, METH_O
, NULL
},
34638 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34639 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34640 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34641 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34642 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34643 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34644 { (char *)"DC_DestroyClippingRegion", (PyCFunction
)_wrap_DC_DestroyClippingRegion
, METH_O
, NULL
},
34645 { (char *)"DC_GetClippingBox", (PyCFunction
)_wrap_DC_GetClippingBox
, METH_O
, NULL
},
34646 { (char *)"DC_GetClippingRect", (PyCFunction
)_wrap_DC_GetClippingRect
, METH_O
, NULL
},
34647 { (char *)"DC_GetCharHeight", (PyCFunction
)_wrap_DC_GetCharHeight
, METH_O
, NULL
},
34648 { (char *)"DC_GetCharWidth", (PyCFunction
)_wrap_DC_GetCharWidth
, METH_O
, NULL
},
34649 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34650 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34651 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34652 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34653 { (char *)"DC_GetSize", (PyCFunction
)_wrap_DC_GetSize
, METH_O
, NULL
},
34654 { (char *)"DC_GetSizeTuple", (PyCFunction
)_wrap_DC_GetSizeTuple
, METH_O
, NULL
},
34655 { (char *)"DC_GetSizeMM", (PyCFunction
)_wrap_DC_GetSizeMM
, METH_O
, NULL
},
34656 { (char *)"DC_GetSizeMMTuple", (PyCFunction
)_wrap_DC_GetSizeMMTuple
, METH_O
, NULL
},
34657 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34658 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34659 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34660 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34661 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34662 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34663 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34664 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34665 { (char *)"DC_CanDrawBitmap", (PyCFunction
)_wrap_DC_CanDrawBitmap
, METH_O
, NULL
},
34666 { (char *)"DC_CanGetTextExtent", (PyCFunction
)_wrap_DC_CanGetTextExtent
, METH_O
, NULL
},
34667 { (char *)"DC_GetDepth", (PyCFunction
)_wrap_DC_GetDepth
, METH_O
, NULL
},
34668 { (char *)"DC_GetPPI", (PyCFunction
)_wrap_DC_GetPPI
, METH_O
, NULL
},
34669 { (char *)"DC_IsOk", (PyCFunction
)_wrap_DC_IsOk
, METH_O
, NULL
},
34670 { (char *)"DC_GetBackgroundMode", (PyCFunction
)_wrap_DC_GetBackgroundMode
, METH_O
, NULL
},
34671 { (char *)"DC_GetBackground", (PyCFunction
)_wrap_DC_GetBackground
, METH_O
, NULL
},
34672 { (char *)"DC_GetBrush", (PyCFunction
)_wrap_DC_GetBrush
, METH_O
, NULL
},
34673 { (char *)"DC_GetFont", (PyCFunction
)_wrap_DC_GetFont
, METH_O
, NULL
},
34674 { (char *)"DC_GetPen", (PyCFunction
)_wrap_DC_GetPen
, METH_O
, NULL
},
34675 { (char *)"DC_GetTextBackground", (PyCFunction
)_wrap_DC_GetTextBackground
, METH_O
, NULL
},
34676 { (char *)"DC_GetTextForeground", (PyCFunction
)_wrap_DC_GetTextForeground
, METH_O
, NULL
},
34677 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34678 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34679 { (char *)"DC_GetMapMode", (PyCFunction
)_wrap_DC_GetMapMode
, METH_O
, NULL
},
34680 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34681 { (char *)"DC_GetUserScale", (PyCFunction
)_wrap_DC_GetUserScale
, METH_O
, NULL
},
34682 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34683 { (char *)"DC_GetLogicalScale", (PyCFunction
)_wrap_DC_GetLogicalScale
, METH_O
, NULL
},
34684 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34685 { (char *)"DC_GetLogicalOrigin", (PyCFunction
)_wrap_DC_GetLogicalOrigin
, METH_O
, NULL
},
34686 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
)_wrap_DC_GetLogicalOriginTuple
, METH_O
, NULL
},
34687 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34688 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34689 { (char *)"DC_GetDeviceOrigin", (PyCFunction
)_wrap_DC_GetDeviceOrigin
, METH_O
, NULL
},
34690 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
)_wrap_DC_GetDeviceOriginTuple
, METH_O
, NULL
},
34691 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34692 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34693 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34694 { (char *)"DC_GetLogicalFunction", (PyCFunction
)_wrap_DC_GetLogicalFunction
, METH_O
, NULL
},
34695 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34696 { (char *)"DC_ComputeScaleAndOrigin", (PyCFunction
)_wrap_DC_ComputeScaleAndOrigin
, METH_O
, NULL
},
34697 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34698 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34699 { (char *)"DC_ResetBoundingBox", (PyCFunction
)_wrap_DC_ResetBoundingBox
, METH_O
, NULL
},
34700 { (char *)"DC_MinX", (PyCFunction
)_wrap_DC_MinX
, METH_O
, NULL
},
34701 { (char *)"DC_MaxX", (PyCFunction
)_wrap_DC_MaxX
, METH_O
, NULL
},
34702 { (char *)"DC_MinY", (PyCFunction
)_wrap_DC_MinY
, METH_O
, NULL
},
34703 { (char *)"DC_MaxY", (PyCFunction
)_wrap_DC_MaxY
, METH_O
, NULL
},
34704 { (char *)"DC_GetBoundingBox", (PyCFunction
)_wrap_DC_GetBoundingBox
, METH_O
, NULL
},
34705 { (char *)"DC_GetLayoutDirection", (PyCFunction
)_wrap_DC_GetLayoutDirection
, METH_O
, NULL
},
34706 { (char *)"DC_SetLayoutDirection", (PyCFunction
) _wrap_DC_SetLayoutDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34707 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34708 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34709 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34710 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34711 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34712 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34713 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
, NULL
},
34714 { (char *)"new_MemoryDC", (PyCFunction
)_wrap_new_MemoryDC
, METH_NOARGS
, NULL
},
34715 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34716 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34717 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
, NULL
},
34718 { (char *)"MemoryDC_swiginit", MemoryDC_swiginit
, METH_VARARGS
, NULL
},
34719 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
, NULL
},
34720 { (char *)"delete_BufferedDC", (PyCFunction
)_wrap_delete_BufferedDC
, METH_O
, NULL
},
34721 { (char *)"BufferedDC_UnMask", (PyCFunction
)_wrap_BufferedDC_UnMask
, METH_O
, NULL
},
34722 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
, NULL
},
34723 { (char *)"BufferedDC_swiginit", BufferedDC_swiginit
, METH_VARARGS
, NULL
},
34724 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34725 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
34726 { (char *)"BufferedPaintDC_swiginit", BufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
34727 { (char *)"new_ScreenDC", (PyCFunction
)_wrap_new_ScreenDC
, METH_NOARGS
, NULL
},
34728 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34729 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34730 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
)_wrap_ScreenDC_EndDrawingOnTop
, METH_O
, NULL
},
34731 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
, NULL
},
34732 { (char *)"ScreenDC_swiginit", ScreenDC_swiginit
, METH_VARARGS
, NULL
},
34733 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34734 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
, NULL
},
34735 { (char *)"WindowDC_swiginit", WindowDC_swiginit
, METH_VARARGS
, NULL
},
34736 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34737 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
, NULL
},
34738 { (char *)"ClientDC_swiginit", ClientDC_swiginit
, METH_VARARGS
, NULL
},
34739 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34740 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
, NULL
},
34741 { (char *)"PaintDC_swiginit", PaintDC_swiginit
, METH_VARARGS
, NULL
},
34742 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34743 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
, NULL
},
34744 { (char *)"MirrorDC_swiginit", MirrorDC_swiginit
, METH_VARARGS
, NULL
},
34745 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34746 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
)_wrap_PostScriptDC_GetPrintData
, METH_O
, NULL
},
34747 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34748 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34749 { (char *)"PostScriptDC_GetResolution", (PyCFunction
)_wrap_PostScriptDC_GetResolution
, METH_NOARGS
, NULL
},
34750 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
, NULL
},
34751 { (char *)"PostScriptDC_swiginit", PostScriptDC_swiginit
, METH_VARARGS
, NULL
},
34752 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34753 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
, NULL
},
34754 { (char *)"MetaFile_swiginit", MetaFile_swiginit
, METH_VARARGS
, NULL
},
34755 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34756 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
, NULL
},
34757 { (char *)"MetaFileDC_swiginit", MetaFileDC_swiginit
, METH_VARARGS
, NULL
},
34758 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34759 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
, NULL
},
34760 { (char *)"PrinterDC_swiginit", PrinterDC_swiginit
, METH_VARARGS
, NULL
},
34761 { (char *)"delete_GraphicsPath", (PyCFunction
)_wrap_delete_GraphicsPath
, METH_O
, NULL
},
34762 { (char *)"GraphicsPath_MoveToPoint", (PyCFunction
) _wrap_GraphicsPath_MoveToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34763 { (char *)"GraphicsPath_AddLineToPoint", (PyCFunction
) _wrap_GraphicsPath_AddLineToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34764 { (char *)"GraphicsPath_AddCurveToPoint", (PyCFunction
) _wrap_GraphicsPath_AddCurveToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34765 { (char *)"GraphicsPath_CloseSubpath", (PyCFunction
)_wrap_GraphicsPath_CloseSubpath
, METH_O
, NULL
},
34766 { (char *)"GraphicsPath_GetCurrentPoint", (PyCFunction
)_wrap_GraphicsPath_GetCurrentPoint
, METH_O
, NULL
},
34767 { (char *)"GraphicsPath_AddArc", (PyCFunction
) _wrap_GraphicsPath_AddArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34768 { (char *)"GraphicsPath_AddQuadCurveToPoint", (PyCFunction
) _wrap_GraphicsPath_AddQuadCurveToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34769 { (char *)"GraphicsPath_AddRectangle", (PyCFunction
) _wrap_GraphicsPath_AddRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34770 { (char *)"GraphicsPath_AddCircle", (PyCFunction
) _wrap_GraphicsPath_AddCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34771 { (char *)"GraphicsPath_AddArcToPoint", (PyCFunction
) _wrap_GraphicsPath_AddArcToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34772 { (char *)"GraphicsPath_swigregister", GraphicsPath_swigregister
, METH_VARARGS
, NULL
},
34773 { (char *)"delete_GraphicsContext", (PyCFunction
)_wrap_delete_GraphicsContext
, METH_O
, NULL
},
34774 { (char *)"GraphicsContext_Create", (PyCFunction
) _wrap_GraphicsContext_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34775 { (char *)"GraphicsContext_CreatePath", (PyCFunction
)_wrap_GraphicsContext_CreatePath
, METH_O
, NULL
},
34776 { (char *)"GraphicsContext_PushState", (PyCFunction
)_wrap_GraphicsContext_PushState
, METH_O
, NULL
},
34777 { (char *)"GraphicsContext_PopState", (PyCFunction
)_wrap_GraphicsContext_PopState
, METH_O
, NULL
},
34778 { (char *)"GraphicsContext_Clip", (PyCFunction
) _wrap_GraphicsContext_Clip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34779 { (char *)"GraphicsContext_Translate", (PyCFunction
) _wrap_GraphicsContext_Translate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34780 { (char *)"GraphicsContext_Scale", (PyCFunction
) _wrap_GraphicsContext_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34781 { (char *)"GraphicsContext_Rotate", (PyCFunction
) _wrap_GraphicsContext_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34782 { (char *)"GraphicsContext_SetPen", (PyCFunction
) _wrap_GraphicsContext_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34783 { (char *)"GraphicsContext_SetBrush", (PyCFunction
) _wrap_GraphicsContext_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34784 { (char *)"GraphicsContext_SetLinearGradientBrush", (PyCFunction
) _wrap_GraphicsContext_SetLinearGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34785 { (char *)"GraphicsContext_SetRadialGradientBrush", (PyCFunction
) _wrap_GraphicsContext_SetRadialGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34786 { (char *)"GraphicsContext_SetFont", (PyCFunction
) _wrap_GraphicsContext_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34787 { (char *)"GraphicsContext_SetTextColor", (PyCFunction
) _wrap_GraphicsContext_SetTextColor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34788 { (char *)"GraphicsContext_StrokePath", (PyCFunction
) _wrap_GraphicsContext_StrokePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34789 { (char *)"GraphicsContext_FillPath", (PyCFunction
) _wrap_GraphicsContext_FillPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34790 { (char *)"GraphicsContext_DrawPath", (PyCFunction
) _wrap_GraphicsContext_DrawPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34791 { (char *)"GraphicsContext_DrawText", (PyCFunction
) _wrap_GraphicsContext_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34792 { (char *)"GraphicsContext_DrawRotatedText", (PyCFunction
) _wrap_GraphicsContext_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34793 { (char *)"GraphicsContext_GetTextExtent", (PyCFunction
) _wrap_GraphicsContext_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34794 { (char *)"GraphicsContext_GetPartialTextExtents", (PyCFunction
) _wrap_GraphicsContext_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34795 { (char *)"GraphicsContext_DrawBitmap", (PyCFunction
) _wrap_GraphicsContext_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34796 { (char *)"GraphicsContext_DrawIcon", (PyCFunction
) _wrap_GraphicsContext_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34797 { (char *)"GraphicsContext_StrokeLine", (PyCFunction
) _wrap_GraphicsContext_StrokeLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34798 { (char *)"GraphicsContext_StrokeLines", (PyCFunction
) _wrap_GraphicsContext_StrokeLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34799 { (char *)"GraphicsContext_StrokeLineSegements", (PyCFunction
) _wrap_GraphicsContext_StrokeLineSegements
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34800 { (char *)"GraphicsContext_DrawLines", (PyCFunction
) _wrap_GraphicsContext_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34801 { (char *)"GraphicsContext_DrawRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34802 { (char *)"GraphicsContext_DrawEllipse", (PyCFunction
) _wrap_GraphicsContext_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34803 { (char *)"GraphicsContext_DrawRoundedRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34804 { (char *)"GraphicsContext_swigregister", GraphicsContext_swigregister
, METH_VARARGS
, NULL
},
34805 { (char *)"new_GCDC", (PyCFunction
) _wrap_new_GCDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34806 { (char *)"delete_GCDC", (PyCFunction
)_wrap_delete_GCDC
, METH_O
, NULL
},
34807 { (char *)"GCDC_GetGraphicContext", (PyCFunction
)_wrap_GCDC_GetGraphicContext
, METH_O
, NULL
},
34808 { (char *)"GCDC_swigregister", GCDC_swigregister
, METH_VARARGS
, NULL
},
34809 { (char *)"GCDC_swiginit", GCDC_swiginit
, METH_VARARGS
, NULL
},
34810 { (char *)"new_Overlay", (PyCFunction
)_wrap_new_Overlay
, METH_NOARGS
, NULL
},
34811 { (char *)"delete_Overlay", (PyCFunction
)_wrap_delete_Overlay
, METH_O
, NULL
},
34812 { (char *)"Overlay_Reset", (PyCFunction
)_wrap_Overlay_Reset
, METH_O
, NULL
},
34813 { (char *)"Overlay_swigregister", Overlay_swigregister
, METH_VARARGS
, NULL
},
34814 { (char *)"Overlay_swiginit", Overlay_swiginit
, METH_VARARGS
, NULL
},
34815 { (char *)"new_DCOverlay", _wrap_new_DCOverlay
, METH_VARARGS
, NULL
},
34816 { (char *)"delete_DCOverlay", (PyCFunction
)_wrap_delete_DCOverlay
, METH_O
, NULL
},
34817 { (char *)"DCOverlay_Clear", (PyCFunction
)_wrap_DCOverlay_Clear
, METH_O
, NULL
},
34818 { (char *)"DCOverlay_swigregister", DCOverlay_swigregister
, METH_VARARGS
, NULL
},
34819 { (char *)"DCOverlay_swiginit", DCOverlay_swiginit
, METH_VARARGS
, NULL
},
34820 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34821 { (char *)"delete_ImageList", (PyCFunction
)_wrap_delete_ImageList
, METH_O
, NULL
},
34822 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34823 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34824 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34825 { (char *)"ImageList_GetBitmap", (PyCFunction
) _wrap_ImageList_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34826 { (char *)"ImageList_GetIcon", (PyCFunction
) _wrap_ImageList_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34827 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34828 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34829 { (char *)"ImageList_GetImageCount", (PyCFunction
)_wrap_ImageList_GetImageCount
, METH_O
, NULL
},
34830 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34831 { (char *)"ImageList_RemoveAll", (PyCFunction
)_wrap_ImageList_RemoveAll
, METH_O
, NULL
},
34832 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34833 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
, NULL
},
34834 { (char *)"ImageList_swiginit", ImageList_swiginit
, METH_VARARGS
, NULL
},
34835 { (char *)"new_StockGDI", (PyCFunction
)_wrap_new_StockGDI
, METH_NOARGS
, NULL
},
34836 { (char *)"delete_StockGDI", (PyCFunction
)_wrap_delete_StockGDI
, METH_O
, NULL
},
34837 { (char *)"StockGDI_DeleteAll", (PyCFunction
)_wrap_StockGDI_DeleteAll
, METH_NOARGS
, NULL
},
34838 { (char *)"StockGDI_instance", (PyCFunction
)_wrap_StockGDI_instance
, METH_NOARGS
, NULL
},
34839 { (char *)"StockGDI_GetBrush", (PyCFunction
) _wrap_StockGDI_GetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34840 { (char *)"StockGDI_GetColour", (PyCFunction
) _wrap_StockGDI_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34841 { (char *)"StockGDI_GetCursor", (PyCFunction
) _wrap_StockGDI_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34842 { (char *)"StockGDI_GetPen", (PyCFunction
) _wrap_StockGDI_GetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34843 { (char *)"StockGDI_GetFont", (PyCFunction
) _wrap_StockGDI_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34844 { (char *)"StockGDI_swigregister", StockGDI_swigregister
, METH_VARARGS
, NULL
},
34845 { (char *)"StockGDI_swiginit", StockGDI_swiginit
, METH_VARARGS
, NULL
},
34846 { (char *)"new_GDIObjListBase", (PyCFunction
)_wrap_new_GDIObjListBase
, METH_NOARGS
, NULL
},
34847 { (char *)"delete_GDIObjListBase", (PyCFunction
)_wrap_delete_GDIObjListBase
, METH_O
, NULL
},
34848 { (char *)"GDIObjListBase_swigregister", GDIObjListBase_swigregister
, METH_VARARGS
, NULL
},
34849 { (char *)"GDIObjListBase_swiginit", GDIObjListBase_swiginit
, METH_VARARGS
, NULL
},
34850 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34851 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34852 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34853 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
, NULL
},
34854 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34855 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34856 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34857 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
, NULL
},
34858 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34859 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34860 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34861 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
, NULL
},
34862 { (char *)"new_ColourDatabase", (PyCFunction
)_wrap_new_ColourDatabase
, METH_NOARGS
, NULL
},
34863 { (char *)"delete_ColourDatabase", (PyCFunction
)_wrap_delete_ColourDatabase
, METH_O
, NULL
},
34864 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34865 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34866 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34867 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34868 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
, NULL
},
34869 { (char *)"ColourDatabase_swiginit", ColourDatabase_swiginit
, METH_VARARGS
, NULL
},
34870 { (char *)"_wxPyInitTheFontList", (PyCFunction
)_wrap__wxPyInitTheFontList
, METH_NOARGS
, NULL
},
34871 { (char *)"_wxPyInitThePenList", (PyCFunction
)_wrap__wxPyInitThePenList
, METH_NOARGS
, NULL
},
34872 { (char *)"_wxPyInitTheBrushList", (PyCFunction
)_wrap__wxPyInitTheBrushList
, METH_NOARGS
, NULL
},
34873 { (char *)"_wxPyInitTheColourDatabase", (PyCFunction
)_wrap__wxPyInitTheColourDatabase
, METH_NOARGS
, NULL
},
34874 { (char *)"new_Effects", (PyCFunction
)_wrap_new_Effects
, METH_NOARGS
, NULL
},
34875 { (char *)"Effects_GetHighlightColour", (PyCFunction
)_wrap_Effects_GetHighlightColour
, METH_O
, NULL
},
34876 { (char *)"Effects_GetLightShadow", (PyCFunction
)_wrap_Effects_GetLightShadow
, METH_O
, NULL
},
34877 { (char *)"Effects_GetFaceColour", (PyCFunction
)_wrap_Effects_GetFaceColour
, METH_O
, NULL
},
34878 { (char *)"Effects_GetMediumShadow", (PyCFunction
)_wrap_Effects_GetMediumShadow
, METH_O
, NULL
},
34879 { (char *)"Effects_GetDarkShadow", (PyCFunction
)_wrap_Effects_GetDarkShadow
, METH_O
, NULL
},
34880 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34881 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34882 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34883 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34884 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34885 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34886 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34887 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34888 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
, NULL
},
34889 { (char *)"Effects_swiginit", Effects_swiginit
, METH_VARARGS
, NULL
},
34890 { (char *)"new_SplitterRenderParams", (PyCFunction
) _wrap_new_SplitterRenderParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34891 { (char *)"delete_SplitterRenderParams", (PyCFunction
)_wrap_delete_SplitterRenderParams
, METH_O
, NULL
},
34892 { (char *)"SplitterRenderParams_widthSash_get", (PyCFunction
)_wrap_SplitterRenderParams_widthSash_get
, METH_O
, NULL
},
34893 { (char *)"SplitterRenderParams_border_get", (PyCFunction
)_wrap_SplitterRenderParams_border_get
, METH_O
, NULL
},
34894 { (char *)"SplitterRenderParams_isHotSensitive_get", (PyCFunction
)_wrap_SplitterRenderParams_isHotSensitive_get
, METH_O
, NULL
},
34895 { (char *)"SplitterRenderParams_swigregister", SplitterRenderParams_swigregister
, METH_VARARGS
, NULL
},
34896 { (char *)"SplitterRenderParams_swiginit", SplitterRenderParams_swiginit
, METH_VARARGS
, NULL
},
34897 { (char *)"new_HeaderButtonParams", (PyCFunction
)_wrap_new_HeaderButtonParams
, METH_NOARGS
, NULL
},
34898 { (char *)"delete_HeaderButtonParams", (PyCFunction
)_wrap_delete_HeaderButtonParams
, METH_O
, NULL
},
34899 { (char *)"HeaderButtonParams_m_arrowColour_set", _wrap_HeaderButtonParams_m_arrowColour_set
, METH_VARARGS
, NULL
},
34900 { (char *)"HeaderButtonParams_m_arrowColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_arrowColour_get
, METH_O
, NULL
},
34901 { (char *)"HeaderButtonParams_m_selectionColour_set", _wrap_HeaderButtonParams_m_selectionColour_set
, METH_VARARGS
, NULL
},
34902 { (char *)"HeaderButtonParams_m_selectionColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_selectionColour_get
, METH_O
, NULL
},
34903 { (char *)"HeaderButtonParams_m_labelText_set", _wrap_HeaderButtonParams_m_labelText_set
, METH_VARARGS
, NULL
},
34904 { (char *)"HeaderButtonParams_m_labelText_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelText_get
, METH_O
, NULL
},
34905 { (char *)"HeaderButtonParams_m_labelFont_set", _wrap_HeaderButtonParams_m_labelFont_set
, METH_VARARGS
, NULL
},
34906 { (char *)"HeaderButtonParams_m_labelFont_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelFont_get
, METH_O
, NULL
},
34907 { (char *)"HeaderButtonParams_m_labelColour_set", _wrap_HeaderButtonParams_m_labelColour_set
, METH_VARARGS
, NULL
},
34908 { (char *)"HeaderButtonParams_m_labelColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelColour_get
, METH_O
, NULL
},
34909 { (char *)"HeaderButtonParams_m_labelBitmap_set", _wrap_HeaderButtonParams_m_labelBitmap_set
, METH_VARARGS
, NULL
},
34910 { (char *)"HeaderButtonParams_m_labelBitmap_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelBitmap_get
, METH_O
, NULL
},
34911 { (char *)"HeaderButtonParams_m_labelAlignment_set", _wrap_HeaderButtonParams_m_labelAlignment_set
, METH_VARARGS
, NULL
},
34912 { (char *)"HeaderButtonParams_m_labelAlignment_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelAlignment_get
, METH_O
, NULL
},
34913 { (char *)"HeaderButtonParams_swigregister", HeaderButtonParams_swigregister
, METH_VARARGS
, NULL
},
34914 { (char *)"HeaderButtonParams_swiginit", HeaderButtonParams_swiginit
, METH_VARARGS
, NULL
},
34915 { (char *)"new_RendererVersion", (PyCFunction
) _wrap_new_RendererVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34916 { (char *)"delete_RendererVersion", (PyCFunction
)_wrap_delete_RendererVersion
, METH_O
, NULL
},
34917 { (char *)"RendererVersion_IsCompatible", (PyCFunction
) _wrap_RendererVersion_IsCompatible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34918 { (char *)"RendererVersion_version_get", (PyCFunction
)_wrap_RendererVersion_version_get
, METH_O
, NULL
},
34919 { (char *)"RendererVersion_age_get", (PyCFunction
)_wrap_RendererVersion_age_get
, METH_O
, NULL
},
34920 { (char *)"RendererVersion_swigregister", RendererVersion_swigregister
, METH_VARARGS
, NULL
},
34921 { (char *)"RendererVersion_swiginit", RendererVersion_swiginit
, METH_VARARGS
, NULL
},
34922 { (char *)"RendererNative_DrawHeaderButton", (PyCFunction
) _wrap_RendererNative_DrawHeaderButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34923 { (char *)"RendererNative_DrawHeaderButtonContents", (PyCFunction
) _wrap_RendererNative_DrawHeaderButtonContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34924 { (char *)"RendererNative_GetHeaderButtonHeight", (PyCFunction
) _wrap_RendererNative_GetHeaderButtonHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34925 { (char *)"RendererNative_DrawTreeItemButton", (PyCFunction
) _wrap_RendererNative_DrawTreeItemButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34926 { (char *)"RendererNative_DrawSplitterBorder", (PyCFunction
) _wrap_RendererNative_DrawSplitterBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34927 { (char *)"RendererNative_DrawSplitterSash", (PyCFunction
) _wrap_RendererNative_DrawSplitterSash
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34928 { (char *)"RendererNative_DrawComboBoxDropButton", (PyCFunction
) _wrap_RendererNative_DrawComboBoxDropButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34929 { (char *)"RendererNative_DrawDropArrow", (PyCFunction
) _wrap_RendererNative_DrawDropArrow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34930 { (char *)"RendererNative_DrawCheckBox", (PyCFunction
) _wrap_RendererNative_DrawCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34931 { (char *)"RendererNative_DrawPushButton", (PyCFunction
) _wrap_RendererNative_DrawPushButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34932 { (char *)"RendererNative_DrawItemSelectionRect", (PyCFunction
) _wrap_RendererNative_DrawItemSelectionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34933 { (char *)"RendererNative_GetSplitterParams", (PyCFunction
) _wrap_RendererNative_GetSplitterParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34934 { (char *)"RendererNative_Get", (PyCFunction
)_wrap_RendererNative_Get
, METH_NOARGS
, NULL
},
34935 { (char *)"RendererNative_GetGeneric", (PyCFunction
)_wrap_RendererNative_GetGeneric
, METH_NOARGS
, NULL
},
34936 { (char *)"RendererNative_GetDefault", (PyCFunction
)_wrap_RendererNative_GetDefault
, METH_NOARGS
, NULL
},
34937 { (char *)"RendererNative_Set", (PyCFunction
) _wrap_RendererNative_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34938 { (char *)"RendererNative_GetVersion", (PyCFunction
)_wrap_RendererNative_GetVersion
, METH_O
, NULL
},
34939 { (char *)"RendererNative_swigregister", RendererNative_swigregister
, METH_VARARGS
, NULL
},
34940 { (char *)"new_PseudoDC", (PyCFunction
)_wrap_new_PseudoDC
, METH_NOARGS
, NULL
},
34941 { (char *)"PseudoDC_BeginDrawing", (PyCFunction
)_wrap_PseudoDC_BeginDrawing
, METH_O
, NULL
},
34942 { (char *)"PseudoDC_EndDrawing", (PyCFunction
)_wrap_PseudoDC_EndDrawing
, METH_O
, NULL
},
34943 { (char *)"delete_PseudoDC", (PyCFunction
)_wrap_delete_PseudoDC
, METH_O
, NULL
},
34944 { (char *)"PseudoDC_RemoveAll", (PyCFunction
)_wrap_PseudoDC_RemoveAll
, METH_O
, NULL
},
34945 { (char *)"PseudoDC_GetLen", (PyCFunction
)_wrap_PseudoDC_GetLen
, METH_O
, NULL
},
34946 { (char *)"PseudoDC_SetId", (PyCFunction
) _wrap_PseudoDC_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34947 { (char *)"PseudoDC_ClearId", (PyCFunction
) _wrap_PseudoDC_ClearId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34948 { (char *)"PseudoDC_RemoveId", (PyCFunction
) _wrap_PseudoDC_RemoveId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34949 { (char *)"PseudoDC_TranslateId", (PyCFunction
) _wrap_PseudoDC_TranslateId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34950 { (char *)"PseudoDC_SetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_SetIdGreyedOut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34951 { (char *)"PseudoDC_GetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_GetIdGreyedOut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34952 { (char *)"PseudoDC_FindObjects", (PyCFunction
) _wrap_PseudoDC_FindObjects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34953 { (char *)"PseudoDC_FindObjectsByBBox", (PyCFunction
) _wrap_PseudoDC_FindObjectsByBBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34954 { (char *)"PseudoDC_DrawIdToDC", (PyCFunction
) _wrap_PseudoDC_DrawIdToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34955 { (char *)"PseudoDC_SetIdBounds", (PyCFunction
) _wrap_PseudoDC_SetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34956 { (char *)"PseudoDC_GetIdBounds", (PyCFunction
) _wrap_PseudoDC_GetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34957 { (char *)"PseudoDC_DrawToDCClipped", (PyCFunction
) _wrap_PseudoDC_DrawToDCClipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34958 { (char *)"PseudoDC_DrawToDCClippedRgn", (PyCFunction
) _wrap_PseudoDC_DrawToDCClippedRgn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34959 { (char *)"PseudoDC_DrawToDC", (PyCFunction
) _wrap_PseudoDC_DrawToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34960 { (char *)"PseudoDC_FloodFill", (PyCFunction
) _wrap_PseudoDC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34961 { (char *)"PseudoDC_FloodFillPoint", (PyCFunction
) _wrap_PseudoDC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34962 { (char *)"PseudoDC_DrawLine", (PyCFunction
) _wrap_PseudoDC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34963 { (char *)"PseudoDC_DrawLinePoint", (PyCFunction
) _wrap_PseudoDC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34964 { (char *)"PseudoDC_CrossHair", (PyCFunction
) _wrap_PseudoDC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34965 { (char *)"PseudoDC_CrossHairPoint", (PyCFunction
) _wrap_PseudoDC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34966 { (char *)"PseudoDC_DrawArc", (PyCFunction
) _wrap_PseudoDC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34967 { (char *)"PseudoDC_DrawArcPoint", (PyCFunction
) _wrap_PseudoDC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34968 { (char *)"PseudoDC_DrawCheckMark", (PyCFunction
) _wrap_PseudoDC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34969 { (char *)"PseudoDC_DrawCheckMarkRect", (PyCFunction
) _wrap_PseudoDC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34970 { (char *)"PseudoDC_DrawEllipticArc", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34971 { (char *)"PseudoDC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34972 { (char *)"PseudoDC_DrawPoint", (PyCFunction
) _wrap_PseudoDC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34973 { (char *)"PseudoDC_DrawPointPoint", (PyCFunction
) _wrap_PseudoDC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34974 { (char *)"PseudoDC_DrawRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34975 { (char *)"PseudoDC_DrawRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34976 { (char *)"PseudoDC_DrawRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34977 { (char *)"PseudoDC_DrawRoundedRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34978 { (char *)"PseudoDC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34979 { (char *)"PseudoDC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34980 { (char *)"PseudoDC_DrawCircle", (PyCFunction
) _wrap_PseudoDC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34981 { (char *)"PseudoDC_DrawCirclePoint", (PyCFunction
) _wrap_PseudoDC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34982 { (char *)"PseudoDC_DrawEllipse", (PyCFunction
) _wrap_PseudoDC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34983 { (char *)"PseudoDC_DrawEllipseRect", (PyCFunction
) _wrap_PseudoDC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34984 { (char *)"PseudoDC_DrawEllipsePointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34985 { (char *)"PseudoDC_DrawIcon", (PyCFunction
) _wrap_PseudoDC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34986 { (char *)"PseudoDC_DrawIconPoint", (PyCFunction
) _wrap_PseudoDC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34987 { (char *)"PseudoDC_DrawBitmap", (PyCFunction
) _wrap_PseudoDC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34988 { (char *)"PseudoDC_DrawBitmapPoint", (PyCFunction
) _wrap_PseudoDC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34989 { (char *)"PseudoDC_DrawText", (PyCFunction
) _wrap_PseudoDC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34990 { (char *)"PseudoDC_DrawTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34991 { (char *)"PseudoDC_DrawRotatedText", (PyCFunction
) _wrap_PseudoDC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34992 { (char *)"PseudoDC_DrawRotatedTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34993 { (char *)"PseudoDC_DrawLines", (PyCFunction
) _wrap_PseudoDC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34994 { (char *)"PseudoDC_DrawPolygon", (PyCFunction
) _wrap_PseudoDC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34995 { (char *)"PseudoDC_DrawLabel", (PyCFunction
) _wrap_PseudoDC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34996 { (char *)"PseudoDC_DrawImageLabel", (PyCFunction
) _wrap_PseudoDC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34997 { (char *)"PseudoDC_DrawSpline", (PyCFunction
) _wrap_PseudoDC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34998 { (char *)"PseudoDC_Clear", (PyCFunction
)_wrap_PseudoDC_Clear
, METH_O
, NULL
},
34999 { (char *)"PseudoDC_SetFont", (PyCFunction
) _wrap_PseudoDC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35000 { (char *)"PseudoDC_SetPen", (PyCFunction
) _wrap_PseudoDC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35001 { (char *)"PseudoDC_SetBrush", (PyCFunction
) _wrap_PseudoDC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35002 { (char *)"PseudoDC_SetBackground", (PyCFunction
) _wrap_PseudoDC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35003 { (char *)"PseudoDC_SetBackgroundMode", (PyCFunction
) _wrap_PseudoDC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35004 { (char *)"PseudoDC_SetPalette", (PyCFunction
) _wrap_PseudoDC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35005 { (char *)"PseudoDC_SetTextForeground", (PyCFunction
) _wrap_PseudoDC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35006 { (char *)"PseudoDC_SetTextBackground", (PyCFunction
) _wrap_PseudoDC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35007 { (char *)"PseudoDC_SetLogicalFunction", (PyCFunction
) _wrap_PseudoDC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35008 { (char *)"PseudoDC_swigregister", PseudoDC_swigregister
, METH_VARARGS
, NULL
},
35009 { (char *)"PseudoDC_swiginit", PseudoDC_swiginit
, METH_VARARGS
, NULL
},
35010 { NULL
, NULL
, 0, NULL
}
35014 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
35016 static void *_p_wxPaintDCTo_p_wxClientDC(void *x
) {
35017 return (void *)((wxClientDC
*) ((wxPaintDC
*) x
));
35019 static void *_p_wxClientDCTo_p_wxWindowDC(void *x
) {
35020 return (void *)((wxWindowDC
*) ((wxClientDC
*) x
));
35022 static void *_p_wxPaintDCTo_p_wxWindowDC(void *x
) {
35023 return (void *)((wxWindowDC
*) (wxClientDC
*) ((wxPaintDC
*) x
));
35025 static void *_p_wxPyLocaleTo_p_wxLocale(void *x
) {
35026 return (void *)((wxLocale
*) ((wxPyLocale
*) x
));
35028 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
35029 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
35031 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
35032 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
35034 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
35035 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
35037 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
35038 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
35040 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
35041 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
35043 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
35044 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
35046 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
35047 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
35049 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
35050 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
35052 static void *_p_wxGCDCTo_p_wxDC(void *x
) {
35053 return (void *)((wxDC
*) ((wxGCDC
*) x
));
35055 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
35056 return (void *)((wxDC
*) ((wxBufferedDC
*) x
));
35058 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
35059 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
35061 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
35062 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
35064 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
35065 return (void *)((wxDC
*) ((wxMemoryDC
*) x
));
35067 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
35068 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
35070 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
35071 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
35073 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
35074 return (void *)((wxDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
35076 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
35077 return (void *)((wxDC
*) (wxWindowDC
*) ((wxClientDC
*) x
));
35079 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
35080 return (void *)((wxDC
*) (wxWindowDC
*)(wxClientDC
*) ((wxPaintDC
*) x
));
35082 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
35083 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
35085 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
35086 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
35088 static void *_p_wxBrushListTo_p_wxGDIObjListBase(void *x
) {
35089 return (void *)((wxGDIObjListBase
*) ((wxBrushList
*) x
));
35091 static void *_p_wxFontListTo_p_wxGDIObjListBase(void *x
) {
35092 return (void *)((wxGDIObjListBase
*) ((wxFontList
*) x
));
35094 static void *_p_wxPenListTo_p_wxGDIObjListBase(void *x
) {
35095 return (void *)((wxGDIObjListBase
*) ((wxPenList
*) x
));
35097 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
35098 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
35100 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
35101 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
35103 static void *_p_wxPenTo_p_wxObject(void *x
) {
35104 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
35106 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
35107 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
35109 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
35110 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
35112 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
35113 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
35115 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
35116 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
35118 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
35119 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
35121 static void *_p_wxIconTo_p_wxObject(void *x
) {
35122 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
35124 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
35125 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
35127 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
35128 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
35130 static void *_p_wxSizerTo_p_wxObject(void *x
) {
35131 return (void *)((wxObject
*) ((wxSizer
*) x
));
35133 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
35134 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
35136 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
35137 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
35139 static void *_p_wxEventTo_p_wxObject(void *x
) {
35140 return (void *)((wxObject
*) ((wxEvent
*) x
));
35142 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
35143 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
35145 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
35146 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
35148 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
35149 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
35151 static void *_p_wxPseudoDCTo_p_wxObject(void *x
) {
35152 return (void *)((wxObject
*) ((wxPseudoDC
*) x
));
35154 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
35155 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
35157 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
35158 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
35160 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
35161 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
35163 static void *_p_wxDCTo_p_wxObject(void *x
) {
35164 return (void *)((wxObject
*) ((wxDC
*) x
));
35166 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
35167 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
35169 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
35170 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
35172 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
35173 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
35175 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
35176 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
35178 static void *_p_wxControlTo_p_wxObject(void *x
) {
35179 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
35181 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
35182 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
35184 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
35185 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*) ((wxClientDC
*) x
));
35187 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
35188 return (void *)((wxObject
*) ((wxFSFile
*) x
));
35190 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
35191 return (void *)((wxObject
*) (wxDC
*) ((wxMemoryDC
*) x
));
35193 static void *_p_wxRegionTo_p_wxObject(void *x
) {
35194 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
35196 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
35197 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
35199 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
35200 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
35202 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
35203 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
35205 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
35206 return (void *)((wxObject
*) ((wxEffects
*) x
));
35208 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
35209 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
35211 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
35212 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
35214 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
35215 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
35217 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
35218 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
35220 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
35221 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
35223 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
35224 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
35226 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
35227 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
35229 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
35230 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
35232 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
35233 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
35235 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
35236 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
35238 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
35239 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
35241 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
35242 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
35244 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
35245 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
35247 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
35248 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
35250 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
35251 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
35253 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
35254 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
35256 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
35257 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
35259 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
35260 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
35262 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
35263 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
35265 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
35266 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
35268 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
35269 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
35271 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
35272 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
35274 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
35275 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
35277 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
35278 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
35280 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
35281 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
35283 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
35284 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
35286 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
35287 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
35289 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
35290 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
35292 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
35293 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
35295 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
35296 return (void *)((wxObject
*) (wxDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
35298 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
35299 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxClientDC
*) ((wxPaintDC
*) x
));
35301 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
35302 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
35304 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
35305 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
35307 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
35308 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
35310 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
35311 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
35313 static void *_p_wxImageTo_p_wxObject(void *x
) {
35314 return (void *)((wxObject
*) ((wxImage
*) x
));
35316 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
35317 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
35319 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
35320 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
35322 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
35323 return (void *)((wxObject
*) (wxDC
*) ((wxBufferedDC
*) x
));
35325 static void *_p_wxImageListTo_p_wxObject(void *x
) {
35326 return (void *)((wxObject
*) ((wxImageList
*) x
));
35328 static void *_p_wxGCDCTo_p_wxObject(void *x
) {
35329 return (void *)((wxObject
*) (wxDC
*) ((wxGCDC
*) x
));
35331 static void *_p_wxCursorTo_p_wxObject(void *x
) {
35332 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
35334 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
35335 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
35337 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
35338 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
35340 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
35341 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
35343 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
35344 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
35346 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
35347 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
35349 static void *_p_wxWindowTo_p_wxObject(void *x
) {
35350 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
35352 static void *_p_wxMenuTo_p_wxObject(void *x
) {
35353 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
35355 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
35356 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
35358 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
35359 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
35361 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
35362 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
35364 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
35365 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
35367 static void *_p_wxMaskTo_p_wxObject(void *x
) {
35368 return (void *)((wxObject
*) ((wxMask
*) x
));
35370 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
35371 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
35373 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
35374 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
35376 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
35377 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
35379 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
35380 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
35382 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
35383 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
35385 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
35386 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
35388 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
35389 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
35391 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
35392 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
35394 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
35395 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
35397 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
35398 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
35400 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
35401 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
35403 static void *_p_wxFontTo_p_wxObject(void *x
) {
35404 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
35406 static void *_p_wxBrushTo_p_wxObject(void *x
) {
35407 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
35409 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
35410 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
35412 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
35413 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
35415 static void *_p_wxColourTo_p_wxObject(void *x
) {
35416 return (void *)((wxObject
*) ((wxColour
*) x
));
35418 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
35419 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
35421 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
35422 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
35424 static void *_p_wxControlTo_p_wxWindow(void *x
) {
35425 return (void *)((wxWindow
*) ((wxControl
*) x
));
35427 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
35428 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
35430 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
35431 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
35433 static void *_p_wxNativePixelDataTo_p_wxPixelDataBase(void *x
) {
35434 return (void *)((wxPixelDataBase
*) ((wxNativePixelData
*) x
));
35436 static void *_p_wxAlphaPixelDataTo_p_wxPixelDataBase(void *x
) {
35437 return (void *)((wxPixelDataBase
*) ((wxAlphaPixelData
*) x
));
35439 static swig_type_info _swigt__p_buffer
= {"_p_buffer", "buffer *", 0, 0, (void*)0, 0};
35440 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
35441 static swig_type_info _swigt__p_double
= {"_p_double", "double *|wxDouble *", 0, 0, (void*)0, 0};
35442 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};
35443 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
35444 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
35445 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
35446 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
35447 static swig_type_info _swigt__p_wxAlphaPixelData
= {"_p_wxAlphaPixelData", "wxAlphaPixelData *", 0, 0, (void*)0, 0};
35448 static swig_type_info _swigt__p_wxAlphaPixelData_Accessor
= {"_p_wxAlphaPixelData_Accessor", "wxAlphaPixelData_Accessor *", 0, 0, (void*)0, 0};
35449 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
35450 static swig_type_info _swigt__p_wxBrush
= {"_p_wxBrush", "wxBrush *", 0, 0, (void*)0, 0};
35451 static swig_type_info _swigt__p_wxBrushList
= {"_p_wxBrushList", "wxBrushList *", 0, 0, (void*)0, 0};
35452 static swig_type_info _swigt__p_wxBufferedDC
= {"_p_wxBufferedDC", "wxBufferedDC *", 0, 0, (void*)0, 0};
35453 static swig_type_info _swigt__p_wxBufferedPaintDC
= {"_p_wxBufferedPaintDC", "wxBufferedPaintDC *", 0, 0, (void*)0, 0};
35454 static swig_type_info _swigt__p_wxChar
= {"_p_wxChar", "wxChar *", 0, 0, (void*)0, 0};
35455 static swig_type_info _swigt__p_wxClientDC
= {"_p_wxClientDC", "wxClientDC *", 0, 0, (void*)0, 0};
35456 static swig_type_info _swigt__p_wxColor
= {"_p_wxColor", "wxColor *", 0, 0, (void*)0, 0};
35457 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
35458 static swig_type_info _swigt__p_wxColourDatabase
= {"_p_wxColourDatabase", "wxColourDatabase *", 0, 0, (void*)0, 0};
35459 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
35460 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
35461 static swig_type_info _swigt__p_wxDCOverlay
= {"_p_wxDCOverlay", "wxDCOverlay *", 0, 0, (void*)0, 0};
35462 static swig_type_info _swigt__p_wxDash
= {"_p_wxDash", "wxDash *", 0, 0, (void*)0, 0};
35463 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
35464 static swig_type_info _swigt__p_wxEffects
= {"_p_wxEffects", "wxEffects *", 0, 0, (void*)0, 0};
35465 static swig_type_info _swigt__p_wxEncodingConverter
= {"_p_wxEncodingConverter", "wxEncodingConverter *", 0, 0, (void*)0, 0};
35466 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
35467 static swig_type_info _swigt__p_wxFontList
= {"_p_wxFontList", "wxFontList *", 0, 0, (void*)0, 0};
35468 static swig_type_info _swigt__p_wxFontMapper
= {"_p_wxFontMapper", "wxFontMapper *", 0, 0, (void*)0, 0};
35469 static swig_type_info _swigt__p_wxGCDC
= {"_p_wxGCDC", "wxGCDC *", 0, 0, (void*)0, 0};
35470 static swig_type_info _swigt__p_wxGDIObjListBase
= {"_p_wxGDIObjListBase", "wxGDIObjListBase *", 0, 0, (void*)0, 0};
35471 static swig_type_info _swigt__p_wxGDIObject
= {"_p_wxGDIObject", "wxGDIObject *", 0, 0, (void*)0, 0};
35472 static swig_type_info _swigt__p_wxGraphicsContext
= {"_p_wxGraphicsContext", "wxGraphicsContext *", 0, 0, (void*)0, 0};
35473 static swig_type_info _swigt__p_wxGraphicsPath
= {"_p_wxGraphicsPath", "wxGraphicsPath *", 0, 0, (void*)0, 0};
35474 static swig_type_info _swigt__p_wxHeaderButtonParams
= {"_p_wxHeaderButtonParams", "wxHeaderButtonParams *", 0, 0, (void*)0, 0};
35475 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
35476 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
35477 static swig_type_info _swigt__p_wxIconLocation
= {"_p_wxIconLocation", "wxIconLocation *", 0, 0, (void*)0, 0};
35478 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", "wxImage *", 0, 0, (void*)0, 0};
35479 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
35480 static swig_type_info _swigt__p_wxLanguageInfo
= {"_p_wxLanguageInfo", "wxLanguageInfo *", 0, 0, (void*)0, 0};
35481 static swig_type_info _swigt__p_wxLocale
= {"_p_wxLocale", "wxLocale *", 0, 0, (void*)0, 0};
35482 static swig_type_info _swigt__p_wxMask
= {"_p_wxMask", "wxMask *", 0, 0, (void*)0, 0};
35483 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
35484 static swig_type_info _swigt__p_wxMetaFile
= {"_p_wxMetaFile", "wxMetaFile *", 0, 0, (void*)0, 0};
35485 static swig_type_info _swigt__p_wxMetaFileDC
= {"_p_wxMetaFileDC", "wxMetaFileDC *", 0, 0, (void*)0, 0};
35486 static swig_type_info _swigt__p_wxMirrorDC
= {"_p_wxMirrorDC", "wxMirrorDC *", 0, 0, (void*)0, 0};
35487 static swig_type_info _swigt__p_wxNativeEncodingInfo
= {"_p_wxNativeEncodingInfo", "wxNativeEncodingInfo *", 0, 0, (void*)0, 0};
35488 static swig_type_info _swigt__p_wxNativeFontInfo
= {"_p_wxNativeFontInfo", "wxNativeFontInfo *", 0, 0, (void*)0, 0};
35489 static swig_type_info _swigt__p_wxNativePixelData
= {"_p_wxNativePixelData", "wxNativePixelData *", 0, 0, (void*)0, 0};
35490 static swig_type_info _swigt__p_wxNativePixelData_Accessor
= {"_p_wxNativePixelData_Accessor", "wxNativePixelData_Accessor *", 0, 0, (void*)0, 0};
35491 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
35492 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
35493 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
35494 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
35495 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
35496 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
35497 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
35498 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
35499 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
35500 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
35501 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
35502 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
35503 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", 0, 0, 0, 0, 0};
35504 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
35505 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
35506 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
35507 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
35508 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
35509 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
35510 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
35511 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
35512 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
35513 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
35514 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
35515 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
35516 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
35517 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
35518 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
35519 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
35520 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
35521 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
35522 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
35523 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
35524 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
35525 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
35526 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
35527 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
35528 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
35529 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
35530 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
35531 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
35532 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
35533 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
35534 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
35535 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
35536 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
35537 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
35538 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", 0, 0, 0, 0, 0};
35539 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
35540 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
35541 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
35542 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
35543 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
35544 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
35545 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
35546 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
35547 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
35548 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
35549 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
35550 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
35551 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
35552 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
35553 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
35554 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
35555 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
35556 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
35557 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
35558 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
35559 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
35560 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
35561 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0, 0};
35562 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
35563 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
35564 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
35565 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
35566 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
35567 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
35568 static swig_type_info _swigt__p_wxOverlay
= {"_p_wxOverlay", "wxOverlay *", 0, 0, (void*)0, 0};
35569 static swig_type_info _swigt__p_wxPaintDC
= {"_p_wxPaintDC", "wxPaintDC *", 0, 0, (void*)0, 0};
35570 static swig_type_info _swigt__p_wxPalette
= {"_p_wxPalette", "wxPalette *", 0, 0, (void*)0, 0};
35571 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
35572 static swig_type_info _swigt__p_wxPen
= {"_p_wxPen", "wxPen *", 0, 0, (void*)0, 0};
35573 static swig_type_info _swigt__p_wxPenList
= {"_p_wxPenList", "wxPenList *", 0, 0, (void*)0, 0};
35574 static swig_type_info _swigt__p_wxPixelDataBase
= {"_p_wxPixelDataBase", "wxPixelDataBase *", 0, 0, (void*)0, 0};
35575 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
35576 static swig_type_info _swigt__p_wxPoint2D
= {"_p_wxPoint2D", "wxPoint2D *", 0, 0, (void*)0, 0};
35577 static swig_type_info _swigt__p_wxPostScriptDC
= {"_p_wxPostScriptDC", "wxPostScriptDC *", 0, 0, (void*)0, 0};
35578 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
35579 static swig_type_info _swigt__p_wxPrinterDC
= {"_p_wxPrinterDC", "wxPrinterDC *", 0, 0, (void*)0, 0};
35580 static swig_type_info _swigt__p_wxPseudoDC
= {"_p_wxPseudoDC", "wxPseudoDC *", 0, 0, (void*)0, 0};
35581 static swig_type_info _swigt__p_wxPyFontEnumerator
= {"_p_wxPyFontEnumerator", "wxPyFontEnumerator *", 0, 0, (void*)0, 0};
35582 static swig_type_info _swigt__p_wxPyLocale
= {"_p_wxPyLocale", "wxPyLocale *", 0, 0, (void*)0, 0};
35583 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
35584 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
35585 static swig_type_info _swigt__p_wxRegionIterator
= {"_p_wxRegionIterator", "wxRegionIterator *", 0, 0, (void*)0, 0};
35586 static swig_type_info _swigt__p_wxRendererNative
= {"_p_wxRendererNative", "wxRendererNative *", 0, 0, (void*)0, 0};
35587 static swig_type_info _swigt__p_wxRendererVersion
= {"_p_wxRendererVersion", "wxRendererVersion *", 0, 0, (void*)0, 0};
35588 static swig_type_info _swigt__p_wxScreenDC
= {"_p_wxScreenDC", "wxScreenDC *", 0, 0, (void*)0, 0};
35589 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
35590 static swig_type_info _swigt__p_wxSplitterRenderParams
= {"_p_wxSplitterRenderParams", "wxSplitterRenderParams *", 0, 0, (void*)0, 0};
35591 static swig_type_info _swigt__p_wxStockGDI
= {"_p_wxStockGDI", "wxStockGDI *", 0, 0, (void*)0, 0};
35592 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
35593 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
35594 static swig_type_info _swigt__p_wxWindowDC
= {"_p_wxWindowDC", "wxWindowDC *", 0, 0, (void*)0, 0};
35596 static swig_type_info
*swig_type_initial
[] = {
35600 &_swigt__p_form_ops_t
,
35602 &_swigt__p_unsigned_char
,
35603 &_swigt__p_unsigned_int
,
35604 &_swigt__p_unsigned_long
,
35605 &_swigt__p_wxANIHandler
,
35606 &_swigt__p_wxAcceleratorTable
,
35607 &_swigt__p_wxActivateEvent
,
35608 &_swigt__p_wxAlphaPixelData
,
35609 &_swigt__p_wxAlphaPixelData_Accessor
,
35610 &_swigt__p_wxBMPHandler
,
35611 &_swigt__p_wxBitmap
,
35612 &_swigt__p_wxBoxSizer
,
35613 &_swigt__p_wxBrush
,
35614 &_swigt__p_wxBrushList
,
35615 &_swigt__p_wxBufferedDC
,
35616 &_swigt__p_wxBufferedPaintDC
,
35617 &_swigt__p_wxCURHandler
,
35619 &_swigt__p_wxChildFocusEvent
,
35620 &_swigt__p_wxClientDC
,
35621 &_swigt__p_wxClipboardTextEvent
,
35622 &_swigt__p_wxCloseEvent
,
35623 &_swigt__p_wxColor
,
35624 &_swigt__p_wxColour
,
35625 &_swigt__p_wxColourDatabase
,
35626 &_swigt__p_wxCommandEvent
,
35627 &_swigt__p_wxContextMenuEvent
,
35628 &_swigt__p_wxControl
,
35629 &_swigt__p_wxControlWithItems
,
35630 &_swigt__p_wxCursor
,
35632 &_swigt__p_wxDCOverlay
,
35634 &_swigt__p_wxDateEvent
,
35635 &_swigt__p_wxDisplayChangedEvent
,
35636 &_swigt__p_wxDropFilesEvent
,
35637 &_swigt__p_wxDuplexMode
,
35638 &_swigt__p_wxEffects
,
35639 &_swigt__p_wxEncodingConverter
,
35640 &_swigt__p_wxEraseEvent
,
35641 &_swigt__p_wxEvent
,
35642 &_swigt__p_wxEvtHandler
,
35643 &_swigt__p_wxFSFile
,
35644 &_swigt__p_wxFileSystem
,
35645 &_swigt__p_wxFlexGridSizer
,
35646 &_swigt__p_wxFocusEvent
,
35648 &_swigt__p_wxFontList
,
35649 &_swigt__p_wxFontMapper
,
35650 &_swigt__p_wxGBSizerItem
,
35652 &_swigt__p_wxGDIObjListBase
,
35653 &_swigt__p_wxGDIObject
,
35654 &_swigt__p_wxGIFHandler
,
35655 &_swigt__p_wxGraphicsContext
,
35656 &_swigt__p_wxGraphicsPath
,
35657 &_swigt__p_wxGridBagSizer
,
35658 &_swigt__p_wxGridSizer
,
35659 &_swigt__p_wxHeaderButtonParams
,
35660 &_swigt__p_wxICOHandler
,
35662 &_swigt__p_wxIconBundle
,
35663 &_swigt__p_wxIconLocation
,
35664 &_swigt__p_wxIconizeEvent
,
35665 &_swigt__p_wxIdleEvent
,
35666 &_swigt__p_wxImage
,
35667 &_swigt__p_wxImageHandler
,
35668 &_swigt__p_wxImageList
,
35669 &_swigt__p_wxIndividualLayoutConstraint
,
35670 &_swigt__p_wxInitDialogEvent
,
35671 &_swigt__p_wxJPEGHandler
,
35672 &_swigt__p_wxKeyEvent
,
35673 &_swigt__p_wxLanguageInfo
,
35674 &_swigt__p_wxLayoutConstraints
,
35675 &_swigt__p_wxLocale
,
35677 &_swigt__p_wxMaximizeEvent
,
35678 &_swigt__p_wxMemoryDC
,
35680 &_swigt__p_wxMenuBar
,
35681 &_swigt__p_wxMenuEvent
,
35682 &_swigt__p_wxMenuItem
,
35683 &_swigt__p_wxMetaFile
,
35684 &_swigt__p_wxMetaFileDC
,
35685 &_swigt__p_wxMirrorDC
,
35686 &_swigt__p_wxMouseCaptureChangedEvent
,
35687 &_swigt__p_wxMouseCaptureLostEvent
,
35688 &_swigt__p_wxMouseEvent
,
35689 &_swigt__p_wxMoveEvent
,
35690 &_swigt__p_wxNativeEncodingInfo
,
35691 &_swigt__p_wxNativeFontInfo
,
35692 &_swigt__p_wxNativePixelData
,
35693 &_swigt__p_wxNativePixelData_Accessor
,
35694 &_swigt__p_wxNavigationKeyEvent
,
35695 &_swigt__p_wxNcPaintEvent
,
35696 &_swigt__p_wxNotifyEvent
,
35697 &_swigt__p_wxObject
,
35698 &_swigt__p_wxOverlay
,
35699 &_swigt__p_wxPCXHandler
,
35700 &_swigt__p_wxPNGHandler
,
35701 &_swigt__p_wxPNMHandler
,
35702 &_swigt__p_wxPaintDC
,
35703 &_swigt__p_wxPaintEvent
,
35704 &_swigt__p_wxPalette
,
35705 &_swigt__p_wxPaletteChangedEvent
,
35706 &_swigt__p_wxPaperSize
,
35708 &_swigt__p_wxPenList
,
35709 &_swigt__p_wxPixelDataBase
,
35710 &_swigt__p_wxPoint
,
35711 &_swigt__p_wxPoint2D
,
35712 &_swigt__p_wxPostScriptDC
,
35713 &_swigt__p_wxPrintData
,
35714 &_swigt__p_wxPrinterDC
,
35715 &_swigt__p_wxPseudoDC
,
35716 &_swigt__p_wxPyApp
,
35717 &_swigt__p_wxPyCommandEvent
,
35718 &_swigt__p_wxPyEvent
,
35719 &_swigt__p_wxPyFontEnumerator
,
35720 &_swigt__p_wxPyImageHandler
,
35721 &_swigt__p_wxPyLocale
,
35722 &_swigt__p_wxPySizer
,
35723 &_swigt__p_wxPyValidator
,
35724 &_swigt__p_wxQueryNewPaletteEvent
,
35726 &_swigt__p_wxRegion
,
35727 &_swigt__p_wxRegionIterator
,
35728 &_swigt__p_wxRendererNative
,
35729 &_swigt__p_wxRendererVersion
,
35730 &_swigt__p_wxScreenDC
,
35731 &_swigt__p_wxScrollEvent
,
35732 &_swigt__p_wxScrollWinEvent
,
35733 &_swigt__p_wxSetCursorEvent
,
35734 &_swigt__p_wxShowEvent
,
35736 &_swigt__p_wxSizeEvent
,
35737 &_swigt__p_wxSizer
,
35738 &_swigt__p_wxSizerItem
,
35739 &_swigt__p_wxSplitterRenderParams
,
35740 &_swigt__p_wxStaticBoxSizer
,
35741 &_swigt__p_wxStdDialogButtonSizer
,
35742 &_swigt__p_wxStockGDI
,
35743 &_swigt__p_wxString
,
35744 &_swigt__p_wxSysColourChangedEvent
,
35745 &_swigt__p_wxTIFFHandler
,
35746 &_swigt__p_wxUpdateUIEvent
,
35747 &_swigt__p_wxValidator
,
35748 &_swigt__p_wxWindow
,
35749 &_swigt__p_wxWindowCreateEvent
,
35750 &_swigt__p_wxWindowDC
,
35751 &_swigt__p_wxWindowDestroyEvent
,
35752 &_swigt__p_wxXPMHandler
,
35755 static swig_cast_info _swigc__p_buffer
[] = { {&_swigt__p_buffer
, 0, 0, 0},{0, 0, 0, 0}};
35756 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
35757 static swig_cast_info _swigc__p_double
[] = { {&_swigt__p_double
, 0, 0, 0},{0, 0, 0, 0}};
35758 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
35759 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
35760 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
35761 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
35762 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
35763 static swig_cast_info _swigc__p_wxAlphaPixelData
[] = { {&_swigt__p_wxAlphaPixelData
, 0, 0, 0},{0, 0, 0, 0}};
35764 static swig_cast_info _swigc__p_wxAlphaPixelData_Accessor
[] = { {&_swigt__p_wxAlphaPixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
35765 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
35766 static swig_cast_info _swigc__p_wxBrush
[] = { {&_swigt__p_wxBrush
, 0, 0, 0},{0, 0, 0, 0}};
35767 static swig_cast_info _swigc__p_wxBrushList
[] = { {&_swigt__p_wxBrushList
, 0, 0, 0},{0, 0, 0, 0}};
35768 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}};
35769 static swig_cast_info _swigc__p_wxBufferedPaintDC
[] = { {&_swigt__p_wxBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
35770 static swig_cast_info _swigc__p_wxChar
[] = { {&_swigt__p_wxChar
, 0, 0, 0},{0, 0, 0, 0}};
35771 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}};
35772 static swig_cast_info _swigc__p_wxColor
[] = { {&_swigt__p_wxColor
, 0, 0, 0},{0, 0, 0, 0}};
35773 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
35774 static swig_cast_info _swigc__p_wxColourDatabase
[] = { {&_swigt__p_wxColourDatabase
, 0, 0, 0},{0, 0, 0, 0}};
35775 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
35776 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}};
35777 static swig_cast_info _swigc__p_wxDCOverlay
[] = { {&_swigt__p_wxDCOverlay
, 0, 0, 0},{0, 0, 0, 0}};
35778 static swig_cast_info _swigc__p_wxDash
[] = { {&_swigt__p_wxDash
, 0, 0, 0},{0, 0, 0, 0}};
35779 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
35780 static swig_cast_info _swigc__p_wxEffects
[] = { {&_swigt__p_wxEffects
, 0, 0, 0},{0, 0, 0, 0}};
35781 static swig_cast_info _swigc__p_wxEncodingConverter
[] = { {&_swigt__p_wxEncodingConverter
, 0, 0, 0},{0, 0, 0, 0}};
35782 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
35783 static swig_cast_info _swigc__p_wxFontList
[] = { {&_swigt__p_wxFontList
, 0, 0, 0},{0, 0, 0, 0}};
35784 static swig_cast_info _swigc__p_wxFontMapper
[] = { {&_swigt__p_wxFontMapper
, 0, 0, 0},{0, 0, 0, 0}};
35785 static swig_cast_info _swigc__p_wxGCDC
[] = { {&_swigt__p_wxGCDC
, 0, 0, 0},{0, 0, 0, 0}};
35786 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}};
35787 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}};
35788 static swig_cast_info _swigc__p_wxGraphicsContext
[] = { {&_swigt__p_wxGraphicsContext
, 0, 0, 0},{0, 0, 0, 0}};
35789 static swig_cast_info _swigc__p_wxGraphicsPath
[] = { {&_swigt__p_wxGraphicsPath
, 0, 0, 0},{0, 0, 0, 0}};
35790 static swig_cast_info _swigc__p_wxHeaderButtonParams
[] = { {&_swigt__p_wxHeaderButtonParams
, 0, 0, 0},{0, 0, 0, 0}};
35791 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
35792 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
35793 static swig_cast_info _swigc__p_wxIconLocation
[] = { {&_swigt__p_wxIconLocation
, 0, 0, 0},{0, 0, 0, 0}};
35794 static swig_cast_info _swigc__p_wxImage
[] = { {&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
35795 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
35796 static swig_cast_info _swigc__p_wxLanguageInfo
[] = { {&_swigt__p_wxLanguageInfo
, 0, 0, 0},{0, 0, 0, 0}};
35797 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}};
35798 static swig_cast_info _swigc__p_wxMask
[] = { {&_swigt__p_wxMask
, 0, 0, 0},{0, 0, 0, 0}};
35799 static swig_cast_info _swigc__p_wxMemoryDC
[] = { {&_swigt__p_wxMemoryDC
, 0, 0, 0},{0, 0, 0, 0}};
35800 static swig_cast_info _swigc__p_wxMetaFile
[] = { {&_swigt__p_wxMetaFile
, 0, 0, 0},{0, 0, 0, 0}};
35801 static swig_cast_info _swigc__p_wxMetaFileDC
[] = { {&_swigt__p_wxMetaFileDC
, 0, 0, 0},{0, 0, 0, 0}};
35802 static swig_cast_info _swigc__p_wxMirrorDC
[] = { {&_swigt__p_wxMirrorDC
, 0, 0, 0},{0, 0, 0, 0}};
35803 static swig_cast_info _swigc__p_wxNativeEncodingInfo
[] = { {&_swigt__p_wxNativeEncodingInfo
, 0, 0, 0},{0, 0, 0, 0}};
35804 static swig_cast_info _swigc__p_wxNativeFontInfo
[] = { {&_swigt__p_wxNativeFontInfo
, 0, 0, 0},{0, 0, 0, 0}};
35805 static swig_cast_info _swigc__p_wxNativePixelData
[] = { {&_swigt__p_wxNativePixelData
, 0, 0, 0},{0, 0, 0, 0}};
35806 static swig_cast_info _swigc__p_wxNativePixelData_Accessor
[] = { {&_swigt__p_wxNativePixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
35807 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
35808 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
35809 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
35810 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
35811 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
35812 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
35813 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
35814 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
35815 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
35816 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
35817 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
35818 static swig_cast_info _swigc__p_wxEvent
[] = {{&_swigt__p_wxEvent
, 0, 0, 0},{0, 0, 0, 0}};
35819 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
35820 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
35821 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
35822 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
35823 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
35824 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
35825 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
35826 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
35827 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
35828 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
35829 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
35830 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
35831 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
35832 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
35833 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
35834 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
35835 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
35836 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
35837 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
35838 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
35839 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
35840 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
35841 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
35842 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
35843 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
35844 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
35845 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
35846 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
35847 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
35848 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
35849 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
35850 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
35851 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
35852 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
35853 static swig_cast_info _swigc__p_wxEvtHandler
[] = {{&_swigt__p_wxEvtHandler
, 0, 0, 0},{0, 0, 0, 0}};
35854 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
35855 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
35856 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
35857 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
35858 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
35859 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
35860 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
35861 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
35862 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
35863 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
35864 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
35865 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
35866 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
35867 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
35868 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
35869 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
35870 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
35871 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
35872 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
35873 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
35874 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
35875 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
35876 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
35877 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
35878 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
35879 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
35880 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
35881 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
35882 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
35883 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}};
35884 static swig_cast_info _swigc__p_wxOverlay
[] = { {&_swigt__p_wxOverlay
, 0, 0, 0},{0, 0, 0, 0}};
35885 static swig_cast_info _swigc__p_wxPaintDC
[] = { {&_swigt__p_wxPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
35886 static swig_cast_info _swigc__p_wxPalette
[] = { {&_swigt__p_wxPalette
, 0, 0, 0},{0, 0, 0, 0}};
35887 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
35888 static swig_cast_info _swigc__p_wxPen
[] = { {&_swigt__p_wxPen
, 0, 0, 0},{0, 0, 0, 0}};
35889 static swig_cast_info _swigc__p_wxPenList
[] = { {&_swigt__p_wxPenList
, 0, 0, 0},{0, 0, 0, 0}};
35890 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}};
35891 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
35892 static swig_cast_info _swigc__p_wxPoint2D
[] = { {&_swigt__p_wxPoint2D
, 0, 0, 0},{0, 0, 0, 0}};
35893 static swig_cast_info _swigc__p_wxPostScriptDC
[] = { {&_swigt__p_wxPostScriptDC
, 0, 0, 0},{0, 0, 0, 0}};
35894 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
35895 static swig_cast_info _swigc__p_wxPrinterDC
[] = { {&_swigt__p_wxPrinterDC
, 0, 0, 0},{0, 0, 0, 0}};
35896 static swig_cast_info _swigc__p_wxPseudoDC
[] = { {&_swigt__p_wxPseudoDC
, 0, 0, 0},{0, 0, 0, 0}};
35897 static swig_cast_info _swigc__p_wxPyFontEnumerator
[] = { {&_swigt__p_wxPyFontEnumerator
, 0, 0, 0},{0, 0, 0, 0}};
35898 static swig_cast_info _swigc__p_wxPyLocale
[] = { {&_swigt__p_wxPyLocale
, 0, 0, 0},{0, 0, 0, 0}};
35899 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
35900 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
35901 static swig_cast_info _swigc__p_wxRegionIterator
[] = { {&_swigt__p_wxRegionIterator
, 0, 0, 0},{0, 0, 0, 0}};
35902 static swig_cast_info _swigc__p_wxRendererNative
[] = { {&_swigt__p_wxRendererNative
, 0, 0, 0},{0, 0, 0, 0}};
35903 static swig_cast_info _swigc__p_wxRendererVersion
[] = { {&_swigt__p_wxRendererVersion
, 0, 0, 0},{0, 0, 0, 0}};
35904 static swig_cast_info _swigc__p_wxScreenDC
[] = { {&_swigt__p_wxScreenDC
, 0, 0, 0},{0, 0, 0, 0}};
35905 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
35906 static swig_cast_info _swigc__p_wxSplitterRenderParams
[] = { {&_swigt__p_wxSplitterRenderParams
, 0, 0, 0},{0, 0, 0, 0}};
35907 static swig_cast_info _swigc__p_wxStockGDI
[] = { {&_swigt__p_wxStockGDI
, 0, 0, 0},{0, 0, 0, 0}};
35908 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
35909 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}};
35910 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}};
35912 static swig_cast_info
*swig_cast_initial
[] = {
35916 _swigc__p_form_ops_t
,
35918 _swigc__p_unsigned_char
,
35919 _swigc__p_unsigned_int
,
35920 _swigc__p_unsigned_long
,
35921 _swigc__p_wxANIHandler
,
35922 _swigc__p_wxAcceleratorTable
,
35923 _swigc__p_wxActivateEvent
,
35924 _swigc__p_wxAlphaPixelData
,
35925 _swigc__p_wxAlphaPixelData_Accessor
,
35926 _swigc__p_wxBMPHandler
,
35927 _swigc__p_wxBitmap
,
35928 _swigc__p_wxBoxSizer
,
35930 _swigc__p_wxBrushList
,
35931 _swigc__p_wxBufferedDC
,
35932 _swigc__p_wxBufferedPaintDC
,
35933 _swigc__p_wxCURHandler
,
35935 _swigc__p_wxChildFocusEvent
,
35936 _swigc__p_wxClientDC
,
35937 _swigc__p_wxClipboardTextEvent
,
35938 _swigc__p_wxCloseEvent
,
35940 _swigc__p_wxColour
,
35941 _swigc__p_wxColourDatabase
,
35942 _swigc__p_wxCommandEvent
,
35943 _swigc__p_wxContextMenuEvent
,
35944 _swigc__p_wxControl
,
35945 _swigc__p_wxControlWithItems
,
35946 _swigc__p_wxCursor
,
35948 _swigc__p_wxDCOverlay
,
35950 _swigc__p_wxDateEvent
,
35951 _swigc__p_wxDisplayChangedEvent
,
35952 _swigc__p_wxDropFilesEvent
,
35953 _swigc__p_wxDuplexMode
,
35954 _swigc__p_wxEffects
,
35955 _swigc__p_wxEncodingConverter
,
35956 _swigc__p_wxEraseEvent
,
35958 _swigc__p_wxEvtHandler
,
35959 _swigc__p_wxFSFile
,
35960 _swigc__p_wxFileSystem
,
35961 _swigc__p_wxFlexGridSizer
,
35962 _swigc__p_wxFocusEvent
,
35964 _swigc__p_wxFontList
,
35965 _swigc__p_wxFontMapper
,
35966 _swigc__p_wxGBSizerItem
,
35968 _swigc__p_wxGDIObjListBase
,
35969 _swigc__p_wxGDIObject
,
35970 _swigc__p_wxGIFHandler
,
35971 _swigc__p_wxGraphicsContext
,
35972 _swigc__p_wxGraphicsPath
,
35973 _swigc__p_wxGridBagSizer
,
35974 _swigc__p_wxGridSizer
,
35975 _swigc__p_wxHeaderButtonParams
,
35976 _swigc__p_wxICOHandler
,
35978 _swigc__p_wxIconBundle
,
35979 _swigc__p_wxIconLocation
,
35980 _swigc__p_wxIconizeEvent
,
35981 _swigc__p_wxIdleEvent
,
35983 _swigc__p_wxImageHandler
,
35984 _swigc__p_wxImageList
,
35985 _swigc__p_wxIndividualLayoutConstraint
,
35986 _swigc__p_wxInitDialogEvent
,
35987 _swigc__p_wxJPEGHandler
,
35988 _swigc__p_wxKeyEvent
,
35989 _swigc__p_wxLanguageInfo
,
35990 _swigc__p_wxLayoutConstraints
,
35991 _swigc__p_wxLocale
,
35993 _swigc__p_wxMaximizeEvent
,
35994 _swigc__p_wxMemoryDC
,
35996 _swigc__p_wxMenuBar
,
35997 _swigc__p_wxMenuEvent
,
35998 _swigc__p_wxMenuItem
,
35999 _swigc__p_wxMetaFile
,
36000 _swigc__p_wxMetaFileDC
,
36001 _swigc__p_wxMirrorDC
,
36002 _swigc__p_wxMouseCaptureChangedEvent
,
36003 _swigc__p_wxMouseCaptureLostEvent
,
36004 _swigc__p_wxMouseEvent
,
36005 _swigc__p_wxMoveEvent
,
36006 _swigc__p_wxNativeEncodingInfo
,
36007 _swigc__p_wxNativeFontInfo
,
36008 _swigc__p_wxNativePixelData
,
36009 _swigc__p_wxNativePixelData_Accessor
,
36010 _swigc__p_wxNavigationKeyEvent
,
36011 _swigc__p_wxNcPaintEvent
,
36012 _swigc__p_wxNotifyEvent
,
36013 _swigc__p_wxObject
,
36014 _swigc__p_wxOverlay
,
36015 _swigc__p_wxPCXHandler
,
36016 _swigc__p_wxPNGHandler
,
36017 _swigc__p_wxPNMHandler
,
36018 _swigc__p_wxPaintDC
,
36019 _swigc__p_wxPaintEvent
,
36020 _swigc__p_wxPalette
,
36021 _swigc__p_wxPaletteChangedEvent
,
36022 _swigc__p_wxPaperSize
,
36024 _swigc__p_wxPenList
,
36025 _swigc__p_wxPixelDataBase
,
36027 _swigc__p_wxPoint2D
,
36028 _swigc__p_wxPostScriptDC
,
36029 _swigc__p_wxPrintData
,
36030 _swigc__p_wxPrinterDC
,
36031 _swigc__p_wxPseudoDC
,
36033 _swigc__p_wxPyCommandEvent
,
36034 _swigc__p_wxPyEvent
,
36035 _swigc__p_wxPyFontEnumerator
,
36036 _swigc__p_wxPyImageHandler
,
36037 _swigc__p_wxPyLocale
,
36038 _swigc__p_wxPySizer
,
36039 _swigc__p_wxPyValidator
,
36040 _swigc__p_wxQueryNewPaletteEvent
,
36042 _swigc__p_wxRegion
,
36043 _swigc__p_wxRegionIterator
,
36044 _swigc__p_wxRendererNative
,
36045 _swigc__p_wxRendererVersion
,
36046 _swigc__p_wxScreenDC
,
36047 _swigc__p_wxScrollEvent
,
36048 _swigc__p_wxScrollWinEvent
,
36049 _swigc__p_wxSetCursorEvent
,
36050 _swigc__p_wxShowEvent
,
36052 _swigc__p_wxSizeEvent
,
36054 _swigc__p_wxSizerItem
,
36055 _swigc__p_wxSplitterRenderParams
,
36056 _swigc__p_wxStaticBoxSizer
,
36057 _swigc__p_wxStdDialogButtonSizer
,
36058 _swigc__p_wxStockGDI
,
36059 _swigc__p_wxString
,
36060 _swigc__p_wxSysColourChangedEvent
,
36061 _swigc__p_wxTIFFHandler
,
36062 _swigc__p_wxUpdateUIEvent
,
36063 _swigc__p_wxValidator
,
36064 _swigc__p_wxWindow
,
36065 _swigc__p_wxWindowCreateEvent
,
36066 _swigc__p_wxWindowDC
,
36067 _swigc__p_wxWindowDestroyEvent
,
36068 _swigc__p_wxXPMHandler
,
36072 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
36074 static swig_const_info swig_const_table
[] = {
36075 {0, 0, 0, 0.0, 0, 0}};
36080 /* -----------------------------------------------------------------------------
36081 * Type initialization:
36082 * This problem is tough by the requirement that no dynamic
36083 * memory is used. Also, since swig_type_info structures store pointers to
36084 * swig_cast_info structures and swig_cast_info structures store pointers back
36085 * to swig_type_info structures, we need some lookup code at initialization.
36086 * The idea is that swig generates all the structures that are needed.
36087 * The runtime then collects these partially filled structures.
36088 * The SWIG_InitializeModule function takes these initial arrays out of
36089 * swig_module, and does all the lookup, filling in the swig_module.types
36090 * array with the correct data and linking the correct swig_cast_info
36091 * structures together.
36093 * The generated swig_type_info structures are assigned staticly to an initial
36094 * array. We just loop though that array, and handle each type individually.
36095 * First we lookup if this type has been already loaded, and if so, use the
36096 * loaded structure instead of the generated one. Then we have to fill in the
36097 * cast linked list. The cast data is initially stored in something like a
36098 * two-dimensional array. Each row corresponds to a type (there are the same
36099 * number of rows as there are in the swig_type_initial array). Each entry in
36100 * a column is one of the swig_cast_info structures for that type.
36101 * The cast_initial array is actually an array of arrays, because each row has
36102 * a variable number of columns. So to actually build the cast linked list,
36103 * we find the array of casts associated with the type, and loop through it
36104 * adding the casts to the list. The one last trick we need to do is making
36105 * sure the type pointer in the swig_cast_info struct is correct.
36107 * First off, we lookup the cast->type name to see if it is already loaded.
36108 * There are three cases to handle:
36109 * 1) If the cast->type has already been loaded AND the type we are adding
36110 * casting info to has not been loaded (it is in this module), THEN we
36111 * replace the cast->type pointer with the type pointer that has already
36113 * 2) If BOTH types (the one we are adding casting info to, and the
36114 * cast->type) are loaded, THEN the cast info has already been loaded by
36115 * the previous module so we just ignore it.
36116 * 3) Finally, if cast->type has not already been loaded, then we add that
36117 * swig_cast_info to the linked list (because the cast->type) pointer will
36119 * ----------------------------------------------------------------------------- */
36129 #define SWIGRUNTIME_DEBUG
36133 SWIG_InitializeModule(void *clientdata
) {
36135 swig_module_info
*module_head
;
36136 static int init_run
= 0;
36138 clientdata
= clientdata
;
36140 if (init_run
) return;
36143 /* Initialize the swig_module */
36144 swig_module
.type_initial
= swig_type_initial
;
36145 swig_module
.cast_initial
= swig_cast_initial
;
36147 /* Try and load any already created modules */
36148 module_head
= SWIG_GetModule(clientdata
);
36150 swig_module
.next
= module_head
->next
;
36151 module_head
->next
= &swig_module
;
36153 /* This is the first module loaded */
36154 swig_module
.next
= &swig_module
;
36155 SWIG_SetModule(clientdata
, &swig_module
);
36158 /* Now work on filling in swig_module.types */
36159 #ifdef SWIGRUNTIME_DEBUG
36160 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
36162 for (i
= 0; i
< swig_module
.size
; ++i
) {
36163 swig_type_info
*type
= 0;
36164 swig_type_info
*ret
;
36165 swig_cast_info
*cast
;
36167 #ifdef SWIGRUNTIME_DEBUG
36168 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
36171 /* if there is another module already loaded */
36172 if (swig_module
.next
!= &swig_module
) {
36173 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
36176 /* Overwrite clientdata field */
36177 #ifdef SWIGRUNTIME_DEBUG
36178 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
36180 if (swig_module
.type_initial
[i
]->clientdata
) {
36181 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
36182 #ifdef SWIGRUNTIME_DEBUG
36183 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
36187 type
= swig_module
.type_initial
[i
];
36190 /* Insert casting types */
36191 cast
= swig_module
.cast_initial
[i
];
36192 while (cast
->type
) {
36193 /* Don't need to add information already in the list */
36195 #ifdef SWIGRUNTIME_DEBUG
36196 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
36198 if (swig_module
.next
!= &swig_module
) {
36199 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
36200 #ifdef SWIGRUNTIME_DEBUG
36201 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
36205 if (type
== swig_module
.type_initial
[i
]) {
36206 #ifdef SWIGRUNTIME_DEBUG
36207 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
36212 /* Check for casting already in the list */
36213 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
36214 #ifdef SWIGRUNTIME_DEBUG
36215 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
36217 if (!ocast
) ret
= 0;
36222 #ifdef SWIGRUNTIME_DEBUG
36223 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
36226 type
->cast
->prev
= cast
;
36227 cast
->next
= type
->cast
;
36233 /* Set entry in modules->types array equal to the type */
36234 swig_module
.types
[i
] = type
;
36236 swig_module
.types
[i
] = 0;
36238 #ifdef SWIGRUNTIME_DEBUG
36239 printf("**** SWIG_InitializeModule: Cast List ******\n");
36240 for (i
= 0; i
< swig_module
.size
; ++i
) {
36242 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
36243 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
36244 while (cast
->type
) {
36245 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
36249 printf("---- Total casts: %d\n",j
);
36251 printf("**** SWIG_InitializeModule: Cast List ******\n");
36255 /* This function will propagate the clientdata field of type to
36256 * any new swig_type_info structures that have been added into the list
36257 * of equivalent types. It is like calling
36258 * SWIG_TypeClientData(type, clientdata) a second time.
36261 SWIG_PropagateClientData(void) {
36263 swig_cast_info
*equiv
;
36264 static int init_run
= 0;
36266 if (init_run
) return;
36269 for (i
= 0; i
< swig_module
.size
; i
++) {
36270 if (swig_module
.types
[i
]->clientdata
) {
36271 equiv
= swig_module
.types
[i
]->cast
;
36273 if (!equiv
->converter
) {
36274 if (equiv
->type
&& !equiv
->type
->clientdata
)
36275 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
36277 equiv
= equiv
->next
;
36297 /* Python-specific SWIG API */
36298 #define SWIG_newvarlink() SWIG_Python_newvarlink()
36299 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
36300 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
36302 /* -----------------------------------------------------------------------------
36303 * global variable support code.
36304 * ----------------------------------------------------------------------------- */
36306 typedef struct swig_globalvar
{
36307 char *name
; /* Name of global variable */
36308 PyObject
*(*get_attr
)(void); /* Return the current value */
36309 int (*set_attr
)(PyObject
*); /* Set the value */
36310 struct swig_globalvar
*next
;
36313 typedef struct swig_varlinkobject
{
36315 swig_globalvar
*vars
;
36316 } swig_varlinkobject
;
36318 SWIGINTERN PyObject
*
36319 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
36320 return PyString_FromString("<Swig global variables>");
36323 SWIGINTERN PyObject
*
36324 swig_varlink_str(swig_varlinkobject
*v
) {
36325 PyObject
*str
= PyString_FromString("(");
36326 swig_globalvar
*var
;
36327 for (var
= v
->vars
; var
; var
=var
->next
) {
36328 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
36329 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
36331 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
36336 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
36337 PyObject
*str
= swig_varlink_str(v
);
36338 fprintf(fp
,"Swig global variables ");
36339 fprintf(fp
,"%s\n", PyString_AsString(str
));
36345 swig_varlink_dealloc(swig_varlinkobject
*v
) {
36346 swig_globalvar
*var
= v
->vars
;
36348 swig_globalvar
*n
= var
->next
;
36355 SWIGINTERN PyObject
*
36356 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
36357 PyObject
*res
= NULL
;
36358 swig_globalvar
*var
= v
->vars
;
36360 if (strcmp(var
->name
,n
) == 0) {
36361 res
= (*var
->get_attr
)();
36366 if (res
== NULL
&& !PyErr_Occurred()) {
36367 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
36373 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
36375 swig_globalvar
*var
= v
->vars
;
36377 if (strcmp(var
->name
,n
) == 0) {
36378 res
= (*var
->set_attr
)(p
);
36383 if (res
== 1 && !PyErr_Occurred()) {
36384 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
36389 SWIGINTERN PyTypeObject
*
36390 swig_varlink_type(void) {
36391 static char varlink__doc__
[] = "Swig var link object";
36392 static PyTypeObject varlink_type
;
36393 static int type_init
= 0;
36395 const PyTypeObject tmp
36397 PyObject_HEAD_INIT(NULL
)
36398 0, /* Number of items in variable part (ob_size) */
36399 (char *)"swigvarlink", /* Type name (tp_name) */
36400 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
36401 0, /* Itemsize (tp_itemsize) */
36402 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
36403 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
36404 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
36405 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
36406 0, /* tp_compare */
36407 (reprfunc
) swig_varlink_repr
, /* tp_repr */
36408 0, /* tp_as_number */
36409 0, /* tp_as_sequence */
36410 0, /* tp_as_mapping */
36413 (reprfunc
)swig_varlink_str
, /* tp_str */
36414 0, /* tp_getattro */
36415 0, /* tp_setattro */
36416 0, /* tp_as_buffer */
36418 varlink__doc__
, /* tp_doc */
36419 0, /* tp_traverse */
36421 0, /* tp_richcompare */
36422 0, /* tp_weaklistoffset */
36423 #if PY_VERSION_HEX >= 0x02020000
36424 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
36426 #if PY_VERSION_HEX >= 0x02030000
36429 #ifdef COUNT_ALLOCS
36430 0,0,0,0 /* tp_alloc -> tp_next */
36433 varlink_type
= tmp
;
36434 varlink_type
.ob_type
= &PyType_Type
;
36437 return &varlink_type
;
36440 /* Create a variable linking object for use later */
36441 SWIGINTERN PyObject
*
36442 SWIG_Python_newvarlink(void) {
36443 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
36447 return ((PyObject
*) result
);
36451 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
36452 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
36453 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
36455 size_t size
= strlen(name
)+1;
36456 gv
->name
= (char *)malloc(size
);
36458 strncpy(gv
->name
,name
,size
);
36459 gv
->get_attr
= get_attr
;
36460 gv
->set_attr
= set_attr
;
36461 gv
->next
= v
->vars
;
36467 SWIGINTERN PyObject
*
36469 static PyObject
*_SWIG_globals
= 0;
36470 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
36471 return _SWIG_globals
;
36474 /* -----------------------------------------------------------------------------
36475 * constants/methods manipulation
36476 * ----------------------------------------------------------------------------- */
36478 /* Install Constants */
36480 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
36483 for (i
= 0; constants
[i
].type
; ++i
) {
36484 switch(constants
[i
].type
) {
36485 case SWIG_PY_POINTER
:
36486 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
36488 case SWIG_PY_BINARY
:
36489 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
36496 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
36502 /* -----------------------------------------------------------------------------*/
36503 /* Fix SwigMethods to carry the callback ptrs when needed */
36504 /* -----------------------------------------------------------------------------*/
36507 SWIG_Python_FixMethods(PyMethodDef
*methods
,
36508 swig_const_info
*const_table
,
36509 swig_type_info
**types
,
36510 swig_type_info
**types_initial
) {
36512 for (i
= 0; methods
[i
].ml_name
; ++i
) {
36513 const char *c
= methods
[i
].ml_doc
;
36514 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
36516 swig_const_info
*ci
= 0;
36517 const char *name
= c
+ 10;
36518 for (j
= 0; const_table
[j
].type
; ++j
) {
36519 if (strncmp(const_table
[j
].name
, name
,
36520 strlen(const_table
[j
].name
)) == 0) {
36521 ci
= &(const_table
[j
]);
36526 size_t shift
= (ci
->ptype
) - types
;
36527 swig_type_info
*ty
= types_initial
[shift
];
36528 size_t ldoc
= (c
- methods
[i
].ml_doc
);
36529 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
36530 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
36533 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
36535 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
36537 strncpy(buff
, "swig_ptr: ", 10);
36539 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
36540 methods
[i
].ml_doc
= ndoc
;
36552 /* -----------------------------------------------------------------------------*
36553 * Partial Init method
36554 * -----------------------------------------------------------------------------*/
36559 SWIGEXPORT
void SWIG_init(void) {
36562 /* Fix SwigMethods to carry the callback ptrs when needed */
36563 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
36565 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
36566 d
= PyModule_GetDict(m
);
36568 SWIG_InitializeModule(0);
36569 SWIG_InstallConstants(d
,swig_const_table
);
36572 SWIG_Python_SetConstant(d
, "C2S_NAME",SWIG_From_int(static_cast< int >(wxC2S_NAME
)));
36573 SWIG_Python_SetConstant(d
, "C2S_CSS_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_CSS_SYNTAX
)));
36574 SWIG_Python_SetConstant(d
, "C2S_HTML_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_HTML_SYNTAX
)));
36575 SWIG_Python_SetConstant(d
, "ALPHA_TRANSPARENT",SWIG_From_int(static_cast< int >(wxALPHA_TRANSPARENT
)));
36576 SWIG_Python_SetConstant(d
, "ALPHA_OPAQUE",SWIG_From_int(static_cast< int >(wxALPHA_OPAQUE
)));
36577 SWIG_Python_SetConstant(d
, "OutRegion",SWIG_From_int(static_cast< int >(wxOutRegion
)));
36578 SWIG_Python_SetConstant(d
, "PartRegion",SWIG_From_int(static_cast< int >(wxPartRegion
)));
36579 SWIG_Python_SetConstant(d
, "InRegion",SWIG_From_int(static_cast< int >(wxInRegion
)));
36580 SWIG_Python_SetConstant(d
, "FONTFAMILY_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DEFAULT
)));
36581 SWIG_Python_SetConstant(d
, "FONTFAMILY_DECORATIVE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DECORATIVE
)));
36582 SWIG_Python_SetConstant(d
, "FONTFAMILY_ROMAN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_ROMAN
)));
36583 SWIG_Python_SetConstant(d
, "FONTFAMILY_SCRIPT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SCRIPT
)));
36584 SWIG_Python_SetConstant(d
, "FONTFAMILY_SWISS",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SWISS
)));
36585 SWIG_Python_SetConstant(d
, "FONTFAMILY_MODERN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MODERN
)));
36586 SWIG_Python_SetConstant(d
, "FONTFAMILY_TELETYPE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_TELETYPE
)));
36587 SWIG_Python_SetConstant(d
, "FONTFAMILY_MAX",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MAX
)));
36588 SWIG_Python_SetConstant(d
, "FONTFAMILY_UNKNOWN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_UNKNOWN
)));
36589 SWIG_Python_SetConstant(d
, "FONTSTYLE_NORMAL",SWIG_From_int(static_cast< int >(wxFONTSTYLE_NORMAL
)));
36590 SWIG_Python_SetConstant(d
, "FONTSTYLE_ITALIC",SWIG_From_int(static_cast< int >(wxFONTSTYLE_ITALIC
)));
36591 SWIG_Python_SetConstant(d
, "FONTSTYLE_SLANT",SWIG_From_int(static_cast< int >(wxFONTSTYLE_SLANT
)));
36592 SWIG_Python_SetConstant(d
, "FONTSTYLE_MAX",SWIG_From_int(static_cast< int >(wxFONTSTYLE_MAX
)));
36593 SWIG_Python_SetConstant(d
, "FONTWEIGHT_NORMAL",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_NORMAL
)));
36594 SWIG_Python_SetConstant(d
, "FONTWEIGHT_LIGHT",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_LIGHT
)));
36595 SWIG_Python_SetConstant(d
, "FONTWEIGHT_BOLD",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_BOLD
)));
36596 SWIG_Python_SetConstant(d
, "FONTWEIGHT_MAX",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_MAX
)));
36597 SWIG_Python_SetConstant(d
, "FONTFLAG_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFLAG_DEFAULT
)));
36598 SWIG_Python_SetConstant(d
, "FONTFLAG_ITALIC",SWIG_From_int(static_cast< int >(wxFONTFLAG_ITALIC
)));
36599 SWIG_Python_SetConstant(d
, "FONTFLAG_SLANT",SWIG_From_int(static_cast< int >(wxFONTFLAG_SLANT
)));
36600 SWIG_Python_SetConstant(d
, "FONTFLAG_LIGHT",SWIG_From_int(static_cast< int >(wxFONTFLAG_LIGHT
)));
36601 SWIG_Python_SetConstant(d
, "FONTFLAG_BOLD",SWIG_From_int(static_cast< int >(wxFONTFLAG_BOLD
)));
36602 SWIG_Python_SetConstant(d
, "FONTFLAG_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_ANTIALIASED
)));
36603 SWIG_Python_SetConstant(d
, "FONTFLAG_NOT_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_NOT_ANTIALIASED
)));
36604 SWIG_Python_SetConstant(d
, "FONTFLAG_UNDERLINED",SWIG_From_int(static_cast< int >(wxFONTFLAG_UNDERLINED
)));
36605 SWIG_Python_SetConstant(d
, "FONTFLAG_STRIKETHROUGH",SWIG_From_int(static_cast< int >(wxFONTFLAG_STRIKETHROUGH
)));
36606 SWIG_Python_SetConstant(d
, "FONTFLAG_MASK",SWIG_From_int(static_cast< int >(wxFONTFLAG_MASK
)));
36607 SWIG_Python_SetConstant(d
, "FONTENCODING_SYSTEM",SWIG_From_int(static_cast< int >(wxFONTENCODING_SYSTEM
)));
36608 SWIG_Python_SetConstant(d
, "FONTENCODING_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTENCODING_DEFAULT
)));
36609 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_1",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_1
)));
36610 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_2",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_2
)));
36611 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_3",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_3
)));
36612 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_4",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_4
)));
36613 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_5",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_5
)));
36614 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_6",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_6
)));
36615 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_7",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_7
)));
36616 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_8",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_8
)));
36617 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_9",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_9
)));
36618 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_10",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_10
)));
36619 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_11",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_11
)));
36620 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_12",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_12
)));
36621 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_13",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_13
)));
36622 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_14",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_14
)));
36623 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_15",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_15
)));
36624 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_MAX
)));
36625 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8
)));
36626 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8_U",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8_U
)));
36627 SWIG_Python_SetConstant(d
, "FONTENCODING_ALTERNATIVE",SWIG_From_int(static_cast< int >(wxFONTENCODING_ALTERNATIVE
)));
36628 SWIG_Python_SetConstant(d
, "FONTENCODING_BULGARIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_BULGARIAN
)));
36629 SWIG_Python_SetConstant(d
, "FONTENCODING_CP437",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP437
)));
36630 SWIG_Python_SetConstant(d
, "FONTENCODING_CP850",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP850
)));
36631 SWIG_Python_SetConstant(d
, "FONTENCODING_CP852",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP852
)));
36632 SWIG_Python_SetConstant(d
, "FONTENCODING_CP855",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP855
)));
36633 SWIG_Python_SetConstant(d
, "FONTENCODING_CP866",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP866
)));
36634 SWIG_Python_SetConstant(d
, "FONTENCODING_CP874",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP874
)));
36635 SWIG_Python_SetConstant(d
, "FONTENCODING_CP932",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP932
)));
36636 SWIG_Python_SetConstant(d
, "FONTENCODING_CP936",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP936
)));
36637 SWIG_Python_SetConstant(d
, "FONTENCODING_CP949",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP949
)));
36638 SWIG_Python_SetConstant(d
, "FONTENCODING_CP950",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP950
)));
36639 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1250",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1250
)));
36640 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1251",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1251
)));
36641 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1252",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1252
)));
36642 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1253",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1253
)));
36643 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1254",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1254
)));
36644 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1255",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1255
)));
36645 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1256",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1256
)));
36646 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1257",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1257
)));
36647 SWIG_Python_SetConstant(d
, "FONTENCODING_CP12_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP12_MAX
)));
36648 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF7",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF7
)));
36649 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF8",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF8
)));
36650 SWIG_Python_SetConstant(d
, "FONTENCODING_EUC_JP",SWIG_From_int(static_cast< int >(wxFONTENCODING_EUC_JP
)));
36651 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16BE
)));
36652 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16LE
)));
36653 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32BE
)));
36654 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32LE
)));
36655 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMAN
)));
36656 SWIG_Python_SetConstant(d
, "FONTENCODING_MACJAPANESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACJAPANESE
)));
36657 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESETRAD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESETRAD
)));
36658 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKOREAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKOREAN
)));
36659 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABIC
)));
36660 SWIG_Python_SetConstant(d
, "FONTENCODING_MACHEBREW",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACHEBREW
)));
36661 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGREEK",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGREEK
)));
36662 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCYRILLIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCYRILLIC
)));
36663 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDEVANAGARI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDEVANAGARI
)));
36664 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGURMUKHI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGURMUKHI
)));
36665 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGUJARATI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGUJARATI
)));
36666 SWIG_Python_SetConstant(d
, "FONTENCODING_MACORIYA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACORIYA
)));
36667 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBENGALI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBENGALI
)));
36668 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTAMIL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTAMIL
)));
36669 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTELUGU",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTELUGU
)));
36670 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKANNADA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKANNADA
)));
36671 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMALAJALAM",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMALAJALAM
)));
36672 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSINHALESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSINHALESE
)));
36673 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBURMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBURMESE
)));
36674 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKHMER",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKHMER
)));
36675 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTHAI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTHAI
)));
36676 SWIG_Python_SetConstant(d
, "FONTENCODING_MACLAOTIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACLAOTIAN
)));
36677 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGEORGIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGEORGIAN
)));
36678 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARMENIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARMENIAN
)));
36679 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESESIMP",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESESIMP
)));
36680 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTIBETAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTIBETAN
)));
36681 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMONGOLIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMONGOLIAN
)));
36682 SWIG_Python_SetConstant(d
, "FONTENCODING_MACETHIOPIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACETHIOPIC
)));
36683 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCENTRALEUR",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCENTRALEUR
)));
36684 SWIG_Python_SetConstant(d
, "FONTENCODING_MACVIATNAMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACVIATNAMESE
)));
36685 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABICEXT",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABICEXT
)));
36686 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSYMBOL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSYMBOL
)));
36687 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDINGBATS",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDINGBATS
)));
36688 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTURKISH",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTURKISH
)));
36689 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCROATIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCROATIAN
)));
36690 SWIG_Python_SetConstant(d
, "FONTENCODING_MACICELANDIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACICELANDIC
)));
36691 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMANIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMANIAN
)));
36692 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCELTIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCELTIC
)));
36693 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGAELIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGAELIC
)));
36694 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKEYBOARD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKEYBOARD
)));
36695 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMIN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMIN
)));
36696 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMAX
)));
36697 SWIG_Python_SetConstant(d
, "FONTENCODING_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MAX
)));
36698 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16
)));
36699 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32
)));
36700 SWIG_Python_SetConstant(d
, "FONTENCODING_UNICODE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UNICODE
)));
36701 SWIG_Python_SetConstant(d
, "FONTENCODING_GB2312",SWIG_From_int(static_cast< int >(wxFONTENCODING_GB2312
)));
36702 SWIG_Python_SetConstant(d
, "FONTENCODING_BIG5",SWIG_From_int(static_cast< int >(wxFONTENCODING_BIG5
)));
36703 SWIG_Python_SetConstant(d
, "FONTENCODING_SHIFT_JIS",SWIG_From_int(static_cast< int >(wxFONTENCODING_SHIFT_JIS
)));
36705 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
36707 SWIG_Python_SetConstant(d
, "LANGUAGE_DEFAULT",SWIG_From_int(static_cast< int >(wxLANGUAGE_DEFAULT
)));
36708 SWIG_Python_SetConstant(d
, "LANGUAGE_UNKNOWN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UNKNOWN
)));
36709 SWIG_Python_SetConstant(d
, "LANGUAGE_ABKHAZIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ABKHAZIAN
)));
36710 SWIG_Python_SetConstant(d
, "LANGUAGE_AFAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFAR
)));
36711 SWIG_Python_SetConstant(d
, "LANGUAGE_AFRIKAANS",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFRIKAANS
)));
36712 SWIG_Python_SetConstant(d
, "LANGUAGE_ALBANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ALBANIAN
)));
36713 SWIG_Python_SetConstant(d
, "LANGUAGE_AMHARIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AMHARIC
)));
36714 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC
)));
36715 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_ALGERIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_ALGERIA
)));
36716 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_BAHRAIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_BAHRAIN
)));
36717 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_EGYPT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_EGYPT
)));
36718 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_IRAQ",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_IRAQ
)));
36719 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_JORDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_JORDAN
)));
36720 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_KUWAIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_KUWAIT
)));
36721 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LEBANON",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LEBANON
)));
36722 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LIBYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LIBYA
)));
36723 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_MOROCCO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_MOROCCO
)));
36724 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_OMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_OMAN
)));
36725 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_QATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_QATAR
)));
36726 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SAUDI_ARABIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SAUDI_ARABIA
)));
36727 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SUDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SUDAN
)));
36728 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SYRIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SYRIA
)));
36729 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_TUNISIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_TUNISIA
)));
36730 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_UAE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_UAE
)));
36731 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_YEMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_YEMEN
)));
36732 SWIG_Python_SetConstant(d
, "LANGUAGE_ARMENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARMENIAN
)));
36733 SWIG_Python_SetConstant(d
, "LANGUAGE_ASSAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ASSAMESE
)));
36734 SWIG_Python_SetConstant(d
, "LANGUAGE_AYMARA",SWIG_From_int(static_cast< int >(wxLANGUAGE_AYMARA
)));
36735 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI
)));
36736 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_CYRILLIC
)));
36737 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_LATIN
)));
36738 SWIG_Python_SetConstant(d
, "LANGUAGE_BASHKIR",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASHKIR
)));
36739 SWIG_Python_SetConstant(d
, "LANGUAGE_BASQUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASQUE
)));
36740 SWIG_Python_SetConstant(d
, "LANGUAGE_BELARUSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BELARUSIAN
)));
36741 SWIG_Python_SetConstant(d
, "LANGUAGE_BENGALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BENGALI
)));
36742 SWIG_Python_SetConstant(d
, "LANGUAGE_BHUTANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BHUTANI
)));
36743 SWIG_Python_SetConstant(d
, "LANGUAGE_BIHARI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BIHARI
)));
36744 SWIG_Python_SetConstant(d
, "LANGUAGE_BISLAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_BISLAMA
)));
36745 SWIG_Python_SetConstant(d
, "LANGUAGE_BRETON",SWIG_From_int(static_cast< int >(wxLANGUAGE_BRETON
)));
36746 SWIG_Python_SetConstant(d
, "LANGUAGE_BULGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BULGARIAN
)));
36747 SWIG_Python_SetConstant(d
, "LANGUAGE_BURMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BURMESE
)));
36748 SWIG_Python_SetConstant(d
, "LANGUAGE_CAMBODIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CAMBODIAN
)));
36749 SWIG_Python_SetConstant(d
, "LANGUAGE_CATALAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CATALAN
)));
36750 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE
)));
36751 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SIMPLIFIED",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SIMPLIFIED
)));
36752 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TRADITIONAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TRADITIONAL
)));
36753 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_HONGKONG",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_HONGKONG
)));
36754 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_MACAU",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_MACAU
)));
36755 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SINGAPORE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SINGAPORE
)));
36756 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TAIWAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TAIWAN
)));
36757 SWIG_Python_SetConstant(d
, "LANGUAGE_CORSICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CORSICAN
)));
36758 SWIG_Python_SetConstant(d
, "LANGUAGE_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CROATIAN
)));
36759 SWIG_Python_SetConstant(d
, "LANGUAGE_CZECH",SWIG_From_int(static_cast< int >(wxLANGUAGE_CZECH
)));
36760 SWIG_Python_SetConstant(d
, "LANGUAGE_DANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DANISH
)));
36761 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH
)));
36762 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH_BELGIAN
)));
36763 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH
)));
36764 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_UK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_UK
)));
36765 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_US
)));
36766 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_AUSTRALIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_AUSTRALIA
)));
36767 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BELIZE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BELIZE
)));
36768 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BOTSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BOTSWANA
)));
36769 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CANADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CANADA
)));
36770 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CARIBBEAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CARIBBEAN
)));
36771 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_DENMARK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_DENMARK
)));
36772 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_EIRE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_EIRE
)));
36773 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_JAMAICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_JAMAICA
)));
36774 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_NEW_ZEALAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_NEW_ZEALAND
)));
36775 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_PHILIPPINES",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_PHILIPPINES
)));
36776 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_SOUTH_AFRICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_SOUTH_AFRICA
)));
36777 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_TRINIDAD",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_TRINIDAD
)));
36778 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_ZIMBABWE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_ZIMBABWE
)));
36779 SWIG_Python_SetConstant(d
, "LANGUAGE_ESPERANTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESPERANTO
)));
36780 SWIG_Python_SetConstant(d
, "LANGUAGE_ESTONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESTONIAN
)));
36781 SWIG_Python_SetConstant(d
, "LANGUAGE_FAEROESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_FAEROESE
)));
36782 SWIG_Python_SetConstant(d
, "LANGUAGE_FARSI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FARSI
)));
36783 SWIG_Python_SetConstant(d
, "LANGUAGE_FIJI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FIJI
)));
36784 SWIG_Python_SetConstant(d
, "LANGUAGE_FINNISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FINNISH
)));
36785 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH
)));
36786 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_BELGIAN
)));
36787 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_CANADIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_CANADIAN
)));
36788 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_LUXEMBOURG
)));
36789 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_MONACO",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_MONACO
)));
36790 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_SWISS
)));
36791 SWIG_Python_SetConstant(d
, "LANGUAGE_FRISIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRISIAN
)));
36792 SWIG_Python_SetConstant(d
, "LANGUAGE_GALICIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GALICIAN
)));
36793 SWIG_Python_SetConstant(d
, "LANGUAGE_GEORGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GEORGIAN
)));
36794 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN
)));
36795 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_AUSTRIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_AUSTRIAN
)));
36796 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_BELGIUM",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_BELGIUM
)));
36797 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LIECHTENSTEIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LIECHTENSTEIN
)));
36798 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LUXEMBOURG
)));
36799 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_SWISS
)));
36800 SWIG_Python_SetConstant(d
, "LANGUAGE_GREEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREEK
)));
36801 SWIG_Python_SetConstant(d
, "LANGUAGE_GREENLANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREENLANDIC
)));
36802 SWIG_Python_SetConstant(d
, "LANGUAGE_GUARANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUARANI
)));
36803 SWIG_Python_SetConstant(d
, "LANGUAGE_GUJARATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUJARATI
)));
36804 SWIG_Python_SetConstant(d
, "LANGUAGE_HAUSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_HAUSA
)));
36805 SWIG_Python_SetConstant(d
, "LANGUAGE_HEBREW",SWIG_From_int(static_cast< int >(wxLANGUAGE_HEBREW
)));
36806 SWIG_Python_SetConstant(d
, "LANGUAGE_HINDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_HINDI
)));
36807 SWIG_Python_SetConstant(d
, "LANGUAGE_HUNGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_HUNGARIAN
)));
36808 SWIG_Python_SetConstant(d
, "LANGUAGE_ICELANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ICELANDIC
)));
36809 SWIG_Python_SetConstant(d
, "LANGUAGE_INDONESIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_INDONESIAN
)));
36810 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUA
)));
36811 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUE
)));
36812 SWIG_Python_SetConstant(d
, "LANGUAGE_INUKTITUT",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUKTITUT
)));
36813 SWIG_Python_SetConstant(d
, "LANGUAGE_INUPIAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUPIAK
)));
36814 SWIG_Python_SetConstant(d
, "LANGUAGE_IRISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_IRISH
)));
36815 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN
)));
36816 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN_SWISS
)));
36817 SWIG_Python_SetConstant(d
, "LANGUAGE_JAPANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAPANESE
)));
36818 SWIG_Python_SetConstant(d
, "LANGUAGE_JAVANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAVANESE
)));
36819 SWIG_Python_SetConstant(d
, "LANGUAGE_KANNADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KANNADA
)));
36820 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI
)));
36821 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI_INDIA
)));
36822 SWIG_Python_SetConstant(d
, "LANGUAGE_KAZAKH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KAZAKH
)));
36823 SWIG_Python_SetConstant(d
, "LANGUAGE_KERNEWEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_KERNEWEK
)));
36824 SWIG_Python_SetConstant(d
, "LANGUAGE_KINYARWANDA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KINYARWANDA
)));
36825 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRGHIZ",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRGHIZ
)));
36826 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRUNDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRUNDI
)));
36827 SWIG_Python_SetConstant(d
, "LANGUAGE_KONKANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KONKANI
)));
36828 SWIG_Python_SetConstant(d
, "LANGUAGE_KOREAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_KOREAN
)));
36829 SWIG_Python_SetConstant(d
, "LANGUAGE_KURDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KURDISH
)));
36830 SWIG_Python_SetConstant(d
, "LANGUAGE_LAOTHIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LAOTHIAN
)));
36831 SWIG_Python_SetConstant(d
, "LANGUAGE_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATIN
)));
36832 SWIG_Python_SetConstant(d
, "LANGUAGE_LATVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATVIAN
)));
36833 SWIG_Python_SetConstant(d
, "LANGUAGE_LINGALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_LINGALA
)));
36834 SWIG_Python_SetConstant(d
, "LANGUAGE_LITHUANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LITHUANIAN
)));
36835 SWIG_Python_SetConstant(d
, "LANGUAGE_MACEDONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MACEDONIAN
)));
36836 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAGASY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAGASY
)));
36837 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY
)));
36838 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAYALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAYALAM
)));
36839 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_BRUNEI_DARUSSALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
)));
36840 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_MALAYSIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_MALAYSIA
)));
36841 SWIG_Python_SetConstant(d
, "LANGUAGE_MALTESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALTESE
)));
36842 SWIG_Python_SetConstant(d
, "LANGUAGE_MANIPURI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MANIPURI
)));
36843 SWIG_Python_SetConstant(d
, "LANGUAGE_MAORI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MAORI
)));
36844 SWIG_Python_SetConstant(d
, "LANGUAGE_MARATHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MARATHI
)));
36845 SWIG_Python_SetConstant(d
, "LANGUAGE_MOLDAVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MOLDAVIAN
)));
36846 SWIG_Python_SetConstant(d
, "LANGUAGE_MONGOLIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MONGOLIAN
)));
36847 SWIG_Python_SetConstant(d
, "LANGUAGE_NAURU",SWIG_From_int(static_cast< int >(wxLANGUAGE_NAURU
)));
36848 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI
)));
36849 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI_INDIA
)));
36850 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_BOKMAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_BOKMAL
)));
36851 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_NYNORSK",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_NYNORSK
)));
36852 SWIG_Python_SetConstant(d
, "LANGUAGE_OCCITAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_OCCITAN
)));
36853 SWIG_Python_SetConstant(d
, "LANGUAGE_ORIYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ORIYA
)));
36854 SWIG_Python_SetConstant(d
, "LANGUAGE_OROMO",SWIG_From_int(static_cast< int >(wxLANGUAGE_OROMO
)));
36855 SWIG_Python_SetConstant(d
, "LANGUAGE_PASHTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_PASHTO
)));
36856 SWIG_Python_SetConstant(d
, "LANGUAGE_POLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_POLISH
)));
36857 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE
)));
36858 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE_BRAZILIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE_BRAZILIAN
)));
36859 SWIG_Python_SetConstant(d
, "LANGUAGE_PUNJABI",SWIG_From_int(static_cast< int >(wxLANGUAGE_PUNJABI
)));
36860 SWIG_Python_SetConstant(d
, "LANGUAGE_QUECHUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_QUECHUA
)));
36861 SWIG_Python_SetConstant(d
, "LANGUAGE_RHAETO_ROMANCE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RHAETO_ROMANCE
)));
36862 SWIG_Python_SetConstant(d
, "LANGUAGE_ROMANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ROMANIAN
)));
36863 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN
)));
36864 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN_UKRAINE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN_UKRAINE
)));
36865 SWIG_Python_SetConstant(d
, "LANGUAGE_SAMOAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SAMOAN
)));
36866 SWIG_Python_SetConstant(d
, "LANGUAGE_SANGHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANGHO
)));
36867 SWIG_Python_SetConstant(d
, "LANGUAGE_SANSKRIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANSKRIT
)));
36868 SWIG_Python_SetConstant(d
, "LANGUAGE_SCOTS_GAELIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SCOTS_GAELIC
)));
36869 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN
)));
36870 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_CYRILLIC
)));
36871 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_LATIN
)));
36872 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBO_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBO_CROATIAN
)));
36873 SWIG_Python_SetConstant(d
, "LANGUAGE_SESOTHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SESOTHO
)));
36874 SWIG_Python_SetConstant(d
, "LANGUAGE_SETSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SETSWANA
)));
36875 SWIG_Python_SetConstant(d
, "LANGUAGE_SHONA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SHONA
)));
36876 SWIG_Python_SetConstant(d
, "LANGUAGE_SINDHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINDHI
)));
36877 SWIG_Python_SetConstant(d
, "LANGUAGE_SINHALESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINHALESE
)));
36878 SWIG_Python_SetConstant(d
, "LANGUAGE_SISWATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SISWATI
)));
36879 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVAK
)));
36880 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVENIAN
)));
36881 SWIG_Python_SetConstant(d
, "LANGUAGE_SOMALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SOMALI
)));
36882 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH
)));
36883 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ARGENTINA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ARGENTINA
)));
36884 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_BOLIVIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_BOLIVIA
)));
36885 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_CHILE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_CHILE
)));
36886 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COLOMBIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COLOMBIA
)));
36887 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COSTA_RICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COSTA_RICA
)));
36888 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_DOMINICAN_REPUBLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
)));
36889 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ECUADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ECUADOR
)));
36890 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_EL_SALVADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_EL_SALVADOR
)));
36891 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_GUATEMALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_GUATEMALA
)));
36892 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_HONDURAS",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_HONDURAS
)));
36893 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MEXICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MEXICAN
)));
36894 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MODERN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MODERN
)));
36895 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_NICARAGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_NICARAGUA
)));
36896 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PANAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PANAMA
)));
36897 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PARAGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PARAGUAY
)));
36898 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PERU",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PERU
)));
36899 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PUERTO_RICO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PUERTO_RICO
)));
36900 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_URUGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_URUGUAY
)));
36901 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_US
)));
36902 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_VENEZUELA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_VENEZUELA
)));
36903 SWIG_Python_SetConstant(d
, "LANGUAGE_SUNDANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SUNDANESE
)));
36904 SWIG_Python_SetConstant(d
, "LANGUAGE_SWAHILI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWAHILI
)));
36905 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH
)));
36906 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH_FINLAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH_FINLAND
)));
36907 SWIG_Python_SetConstant(d
, "LANGUAGE_TAGALOG",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAGALOG
)));
36908 SWIG_Python_SetConstant(d
, "LANGUAGE_TAJIK",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAJIK
)));
36909 SWIG_Python_SetConstant(d
, "LANGUAGE_TAMIL",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAMIL
)));
36910 SWIG_Python_SetConstant(d
, "LANGUAGE_TATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_TATAR
)));
36911 SWIG_Python_SetConstant(d
, "LANGUAGE_TELUGU",SWIG_From_int(static_cast< int >(wxLANGUAGE_TELUGU
)));
36912 SWIG_Python_SetConstant(d
, "LANGUAGE_THAI",SWIG_From_int(static_cast< int >(wxLANGUAGE_THAI
)));
36913 SWIG_Python_SetConstant(d
, "LANGUAGE_TIBETAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIBETAN
)));
36914 SWIG_Python_SetConstant(d
, "LANGUAGE_TIGRINYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIGRINYA
)));
36915 SWIG_Python_SetConstant(d
, "LANGUAGE_TONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TONGA
)));
36916 SWIG_Python_SetConstant(d
, "LANGUAGE_TSONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TSONGA
)));
36917 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKISH
)));
36918 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKMEN
)));
36919 SWIG_Python_SetConstant(d
, "LANGUAGE_TWI",SWIG_From_int(static_cast< int >(wxLANGUAGE_TWI
)));
36920 SWIG_Python_SetConstant(d
, "LANGUAGE_UIGHUR",SWIG_From_int(static_cast< int >(wxLANGUAGE_UIGHUR
)));
36921 SWIG_Python_SetConstant(d
, "LANGUAGE_UKRAINIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UKRAINIAN
)));
36922 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU
)));
36923 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_INDIA
)));
36924 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_PAKISTAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_PAKISTAN
)));
36925 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK
)));
36926 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_CYRILLIC
)));
36927 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_LATIN
)));
36928 SWIG_Python_SetConstant(d
, "LANGUAGE_VIETNAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_VIETNAMESE
)));
36929 SWIG_Python_SetConstant(d
, "LANGUAGE_VOLAPUK",SWIG_From_int(static_cast< int >(wxLANGUAGE_VOLAPUK
)));
36930 SWIG_Python_SetConstant(d
, "LANGUAGE_WELSH",SWIG_From_int(static_cast< int >(wxLANGUAGE_WELSH
)));
36931 SWIG_Python_SetConstant(d
, "LANGUAGE_WOLOF",SWIG_From_int(static_cast< int >(wxLANGUAGE_WOLOF
)));
36932 SWIG_Python_SetConstant(d
, "LANGUAGE_XHOSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_XHOSA
)));
36933 SWIG_Python_SetConstant(d
, "LANGUAGE_YIDDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_YIDDISH
)));
36934 SWIG_Python_SetConstant(d
, "LANGUAGE_YORUBA",SWIG_From_int(static_cast< int >(wxLANGUAGE_YORUBA
)));
36935 SWIG_Python_SetConstant(d
, "LANGUAGE_ZHUANG",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZHUANG
)));
36936 SWIG_Python_SetConstant(d
, "LANGUAGE_ZULU",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZULU
)));
36937 SWIG_Python_SetConstant(d
, "LANGUAGE_USER_DEFINED",SWIG_From_int(static_cast< int >(wxLANGUAGE_USER_DEFINED
)));
36938 SWIG_Python_SetConstant(d
, "LOCALE_CAT_NUMBER",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_NUMBER
)));
36939 SWIG_Python_SetConstant(d
, "LOCALE_CAT_DATE",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_DATE
)));
36940 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MONEY",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MONEY
)));
36941 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MAX",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MAX
)));
36942 SWIG_Python_SetConstant(d
, "LOCALE_THOUSANDS_SEP",SWIG_From_int(static_cast< int >(wxLOCALE_THOUSANDS_SEP
)));
36943 SWIG_Python_SetConstant(d
, "LOCALE_DECIMAL_POINT",SWIG_From_int(static_cast< int >(wxLOCALE_DECIMAL_POINT
)));
36944 SWIG_Python_SetConstant(d
, "LOCALE_LOAD_DEFAULT",SWIG_From_int(static_cast< int >(wxLOCALE_LOAD_DEFAULT
)));
36945 SWIG_Python_SetConstant(d
, "LOCALE_CONV_ENCODING",SWIG_From_int(static_cast< int >(wxLOCALE_CONV_ENCODING
)));
36946 SWIG_Python_SetConstant(d
, "CONVERT_STRICT",SWIG_From_int(static_cast< int >(wxCONVERT_STRICT
)));
36947 SWIG_Python_SetConstant(d
, "CONVERT_SUBSTITUTE",SWIG_From_int(static_cast< int >(wxCONVERT_SUBSTITUTE
)));
36948 SWIG_Python_SetConstant(d
, "PLATFORM_CURRENT",SWIG_From_int(static_cast< int >(wxPLATFORM_CURRENT
)));
36949 SWIG_Python_SetConstant(d
, "PLATFORM_UNIX",SWIG_From_int(static_cast< int >(wxPLATFORM_UNIX
)));
36950 SWIG_Python_SetConstant(d
, "PLATFORM_WINDOWS",SWIG_From_int(static_cast< int >(wxPLATFORM_WINDOWS
)));
36951 SWIG_Python_SetConstant(d
, "PLATFORM_OS2",SWIG_From_int(static_cast< int >(wxPLATFORM_OS2
)));
36952 SWIG_Python_SetConstant(d
, "PLATFORM_MAC",SWIG_From_int(static_cast< int >(wxPLATFORM_MAC
)));
36953 SWIG_Python_SetConstant(d
, "BUFFER_VIRTUAL_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_VIRTUAL_AREA
)));
36954 SWIG_Python_SetConstant(d
, "BUFFER_CLIENT_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_CLIENT_AREA
)));
36955 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_NORMAL
)));
36956 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_TRANSPARENT",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_TRANSPARENT
)));
36957 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_SELECTED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_SELECTED
)));
36958 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_FOCUSED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_FOCUSED
)));
36959 SWIG_Python_SetConstant(d
, "IMAGE_LIST_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_NORMAL
)));
36960 SWIG_Python_SetConstant(d
, "IMAGE_LIST_SMALL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_SMALL
)));
36961 SWIG_Python_SetConstant(d
, "IMAGE_LIST_STATE",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_STATE
)));
36962 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLACK
)));
36963 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLUE
)));
36964 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_CYAN
)));
36965 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREEN
)));
36966 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREY
)));
36967 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_LIGHTGREY
)));
36968 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_MEDIUMGREY
)));
36969 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_RED",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_RED
)));
36970 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_TRANSPARENT
)));
36971 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_WHITE
)));
36972 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLACK
)));
36973 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLUE
)));
36974 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_CYAN
)));
36975 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_GREEN
)));
36976 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_LIGHTGREY
)));
36977 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_RED",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_RED
)));
36978 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_WHITE
)));
36979 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_CROSS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_CROSS
)));
36980 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_HOURGLASS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_HOURGLASS
)));
36981 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_STANDARD",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_STANDARD
)));
36982 SWIG_Python_SetConstant(d
, "StockGDI_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_ITALIC
)));
36983 SWIG_Python_SetConstant(d
, "StockGDI_FONT_NORMAL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_NORMAL
)));
36984 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SMALL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SMALL
)));
36985 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SWISS",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SWISS
)));
36986 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACK
)));
36987 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACKDASHED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACKDASHED
)));
36988 SWIG_Python_SetConstant(d
, "StockGDI_PEN_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_CYAN
)));
36989 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREEN
)));
36990 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREY
)));
36991 SWIG_Python_SetConstant(d
, "StockGDI_PEN_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_LIGHTGREY
)));
36992 SWIG_Python_SetConstant(d
, "StockGDI_PEN_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_MEDIUMGREY
)));
36993 SWIG_Python_SetConstant(d
, "StockGDI_PEN_RED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_RED
)));
36994 SWIG_Python_SetConstant(d
, "StockGDI_PEN_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_TRANSPARENT
)));
36995 SWIG_Python_SetConstant(d
, "StockGDI_PEN_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_WHITE
)));
36996 SWIG_Python_SetConstant(d
, "StockGDI_ITEMCOUNT",SWIG_From_int(static_cast< int >(wxStockGDI::ITEMCOUNT
)));
36997 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
36998 SWIG_addvarlink(SWIG_globals(),(char*)"NullBitmap",NullBitmap_get
, NullBitmap_set
);
36999 SWIG_addvarlink(SWIG_globals(),(char*)"NullIcon",NullIcon_get
, NullIcon_set
);
37000 SWIG_addvarlink(SWIG_globals(),(char*)"NullCursor",NullCursor_get
, NullCursor_set
);
37001 SWIG_addvarlink(SWIG_globals(),(char*)"NullPen",NullPen_get
, NullPen_set
);
37002 SWIG_addvarlink(SWIG_globals(),(char*)"NullBrush",NullBrush_get
, NullBrush_set
);
37003 SWIG_addvarlink(SWIG_globals(),(char*)"NullPalette",NullPalette_get
, NullPalette_set
);
37004 SWIG_addvarlink(SWIG_globals(),(char*)"NullFont",NullFont_get
, NullFont_set
);
37005 SWIG_addvarlink(SWIG_globals(),(char*)"NullColour",NullColour_get
, NullColour_set
);
37006 SWIG_Python_SetConstant(d
, "CONTROL_DISABLED",SWIG_From_int(static_cast< int >(wxCONTROL_DISABLED
)));
37007 SWIG_Python_SetConstant(d
, "CONTROL_FOCUSED",SWIG_From_int(static_cast< int >(wxCONTROL_FOCUSED
)));
37008 SWIG_Python_SetConstant(d
, "CONTROL_PRESSED",SWIG_From_int(static_cast< int >(wxCONTROL_PRESSED
)));
37009 SWIG_Python_SetConstant(d
, "CONTROL_SPECIAL",SWIG_From_int(static_cast< int >(wxCONTROL_SPECIAL
)));
37010 SWIG_Python_SetConstant(d
, "CONTROL_ISDEFAULT",SWIG_From_int(static_cast< int >(wxCONTROL_ISDEFAULT
)));
37011 SWIG_Python_SetConstant(d
, "CONTROL_ISSUBMENU",SWIG_From_int(static_cast< int >(wxCONTROL_ISSUBMENU
)));
37012 SWIG_Python_SetConstant(d
, "CONTROL_EXPANDED",SWIG_From_int(static_cast< int >(wxCONTROL_EXPANDED
)));
37013 SWIG_Python_SetConstant(d
, "CONTROL_SIZEGRIP",SWIG_From_int(static_cast< int >(wxCONTROL_SIZEGRIP
)));
37014 SWIG_Python_SetConstant(d
, "CONTROL_CURRENT",SWIG_From_int(static_cast< int >(wxCONTROL_CURRENT
)));
37015 SWIG_Python_SetConstant(d
, "CONTROL_SELECTED",SWIG_From_int(static_cast< int >(wxCONTROL_SELECTED
)));
37016 SWIG_Python_SetConstant(d
, "CONTROL_CHECKED",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKED
)));
37017 SWIG_Python_SetConstant(d
, "CONTROL_CHECKABLE",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKABLE
)));
37018 SWIG_Python_SetConstant(d
, "CONTROL_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCONTROL_UNDETERMINED
)));
37019 SWIG_Python_SetConstant(d
, "CONTROL_FLAGS_MASK",SWIG_From_int(static_cast< int >(wxCONTROL_FLAGS_MASK
)));
37020 SWIG_Python_SetConstant(d
, "CONTROL_DIRTY",SWIG_From_int(static_cast< int >(wxCONTROL_DIRTY
)));
37021 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_NONE",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_NONE
)));
37022 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_UP",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_UP
)));
37023 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_DOWN",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_DOWN
)));
37024 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Version",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Version
)));
37025 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Age",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Age
)));
37027 // Work around a chicken/egg problem in drawlist.cpp
37028 wxPyDrawList_SetAPIPtr();