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
, PyObject
*kwargs
) {
23103 PyObject
*resultobj
= 0;
23104 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
23105 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
23106 wxMemoryDC
*result
= 0 ;
23109 PyObject
* obj0
= 0 ;
23110 char * kwnames
[] = {
23111 (char *) "bitmap", NULL
23114 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MemoryDC",kwnames
,&obj0
)) SWIG_fail
;
23116 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23117 if (!SWIG_IsOK(res1
)) {
23118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDC" "', expected argument " "1"" of type '" "wxBitmap const &""'");
23121 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MemoryDC" "', expected argument " "1"" of type '" "wxBitmap const &""'");
23123 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
23126 if (!wxPyCheckForApp()) SWIG_fail
;
23127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23128 result
= (wxMemoryDC
*)new wxMemoryDC((wxBitmap
const &)*arg1
);
23129 wxPyEndAllowThreads(__tstate
);
23130 if (PyErr_Occurred()) SWIG_fail
;
23132 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_NEW
| 0 );
23139 SWIGINTERN PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23140 PyObject
*resultobj
= 0;
23141 wxDC
*arg1
= (wxDC
*) 0 ;
23142 wxMemoryDC
*result
= 0 ;
23145 PyObject
* obj0
= 0 ;
23146 char * kwnames
[] = {
23147 (char *) "oldDC", NULL
23150 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) SWIG_fail
;
23151 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23152 if (!SWIG_IsOK(res1
)) {
23153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDCFromDC" "', expected argument " "1"" of type '" "wxDC *""'");
23155 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23157 if (!wxPyCheckForApp()) SWIG_fail
;
23158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23159 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
23160 wxPyEndAllowThreads(__tstate
);
23161 if (PyErr_Occurred()) SWIG_fail
;
23163 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_OWN
| 0 );
23170 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23171 PyObject
*resultobj
= 0;
23172 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
23173 wxBitmap
*arg2
= 0 ;
23178 PyObject
* obj0
= 0 ;
23179 PyObject
* obj1
= 0 ;
23180 char * kwnames
[] = {
23181 (char *) "self",(char *) "bitmap", NULL
23184 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23185 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
23186 if (!SWIG_IsOK(res1
)) {
23187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObject" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
23189 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
23190 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23191 if (!SWIG_IsOK(res2
)) {
23192 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23195 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23197 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23200 (arg1
)->SelectObject((wxBitmap
const &)*arg2
);
23201 wxPyEndAllowThreads(__tstate
);
23202 if (PyErr_Occurred()) SWIG_fail
;
23204 resultobj
= SWIG_Py_Void();
23211 SWIGINTERN PyObject
*MemoryDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23213 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23214 SWIG_TypeNewClientData(SWIGTYPE_p_wxMemoryDC
, SWIG_NewClientData(obj
));
23215 return SWIG_Py_Void();
23218 SWIGINTERN PyObject
*MemoryDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23219 return SWIG_Python_InitShadowInstance(args
);
23222 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23223 PyObject
*resultobj
= 0;
23224 wxDC
*arg1
= (wxDC
*) 0 ;
23225 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
23226 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
23227 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
23228 wxBufferedDC
*result
= 0 ;
23236 if ((nobjs
< 1) || (nobjs
> 3)) SWIG_fail
;
23237 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23238 if (!SWIG_IsOK(res1
)) {
23239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
23241 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23243 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23244 if (!SWIG_IsOK(res2
)) {
23245 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23248 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23250 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23253 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
23254 if (!SWIG_IsOK(ecode3
)) {
23255 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
23257 arg3
= static_cast< int >(val3
);
23260 if (!wxPyCheckForApp()) SWIG_fail
;
23261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23262 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxBitmap
const &)*arg2
,arg3
);
23263 wxPyEndAllowThreads(__tstate
);
23264 if (PyErr_Occurred()) SWIG_fail
;
23266 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
23273 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23274 PyObject
*resultobj
= 0;
23275 wxDC
*arg1
= (wxDC
*) 0 ;
23277 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
23278 wxBufferedDC
*result
= 0 ;
23285 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
23286 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23287 if (!SWIG_IsOK(res1
)) {
23288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
23290 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23293 if ( ! wxSize_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
23296 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
23297 if (!SWIG_IsOK(ecode3
)) {
23298 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
23300 arg3
= static_cast< int >(val3
);
23303 if (!wxPyCheckForApp()) SWIG_fail
;
23304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23305 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
,arg3
);
23306 wxPyEndAllowThreads(__tstate
);
23307 if (PyErr_Occurred()) SWIG_fail
;
23309 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
23316 SWIGINTERN PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
23320 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_BufferedDC",0,3,argv
))) SWIG_fail
;
23322 if ((argc
>= 1) && (argc
<= 3)) {
23326 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxBitmap
, 0);
23327 _v
= SWIG_CheckState(res
);
23329 if (!_v
) goto check_1
;
23331 return _wrap_new_BufferedDC__SWIG_0(self
, argc
, argv
);
23335 if ((argc
>= 2) && (argc
<= 3)) {
23336 return _wrap_new_BufferedDC__SWIG_1(self
, argc
, argv
);
23340 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_BufferedDC'");
23345 SWIGINTERN PyObject
*_wrap_delete_BufferedDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23346 PyObject
*resultobj
= 0;
23347 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
23350 PyObject
*swig_obj
[1] ;
23352 if (!args
) SWIG_fail
;
23353 swig_obj
[0] = args
;
23354 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_DISOWN
| 0 );
23355 if (!SWIG_IsOK(res1
)) {
23356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BufferedDC" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
23358 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
23360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23363 wxPyEndAllowThreads(__tstate
);
23364 if (PyErr_Occurred()) SWIG_fail
;
23366 resultobj
= SWIG_Py_Void();
23373 SWIGINTERN PyObject
*_wrap_BufferedDC_UnMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23374 PyObject
*resultobj
= 0;
23375 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
23378 PyObject
*swig_obj
[1] ;
23380 if (!args
) SWIG_fail
;
23381 swig_obj
[0] = args
;
23382 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
23383 if (!SWIG_IsOK(res1
)) {
23384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_UnMask" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
23386 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
23388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23390 wxPyEndAllowThreads(__tstate
);
23391 if (PyErr_Occurred()) SWIG_fail
;
23393 resultobj
= SWIG_Py_Void();
23400 SWIGINTERN PyObject
*BufferedDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23402 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23403 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedDC
, SWIG_NewClientData(obj
));
23404 return SWIG_Py_Void();
23407 SWIGINTERN PyObject
*BufferedDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23408 return SWIG_Python_InitShadowInstance(args
);
23411 SWIGINTERN PyObject
*_wrap_new_BufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23412 PyObject
*resultobj
= 0;
23413 wxWindow
*arg1
= (wxWindow
*) 0 ;
23414 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
23415 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
23416 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
23417 wxBufferedPaintDC
*result
= 0 ;
23424 PyObject
* obj0
= 0 ;
23425 PyObject
* obj1
= 0 ;
23426 PyObject
* obj2
= 0 ;
23427 char * kwnames
[] = {
23428 (char *) "window",(char *) "buffer",(char *) "style", NULL
23431 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23432 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23433 if (!SWIG_IsOK(res1
)) {
23434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
23436 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
23438 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23439 if (!SWIG_IsOK(res2
)) {
23440 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23443 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23445 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23448 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23449 if (!SWIG_IsOK(ecode3
)) {
23450 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedPaintDC" "', expected argument " "3"" of type '" "int""'");
23452 arg3
= static_cast< int >(val3
);
23455 if (!wxPyCheckForApp()) SWIG_fail
;
23456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23457 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,(wxBitmap
const &)*arg2
,arg3
);
23458 wxPyEndAllowThreads(__tstate
);
23459 if (PyErr_Occurred()) SWIG_fail
;
23461 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
23468 SWIGINTERN PyObject
*BufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23470 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23471 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedPaintDC
, SWIG_NewClientData(obj
));
23472 return SWIG_Py_Void();
23475 SWIGINTERN PyObject
*BufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23476 return SWIG_Python_InitShadowInstance(args
);
23479 SWIGINTERN PyObject
*_wrap_new_ScreenDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23480 PyObject
*resultobj
= 0;
23481 wxScreenDC
*result
= 0 ;
23483 if (!SWIG_Python_UnpackTuple(args
,"new_ScreenDC",0,0,0)) SWIG_fail
;
23485 if (!wxPyCheckForApp()) SWIG_fail
;
23486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23487 result
= (wxScreenDC
*)new wxScreenDC();
23488 wxPyEndAllowThreads(__tstate
);
23489 if (PyErr_Occurred()) SWIG_fail
;
23491 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_NEW
| 0 );
23498 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23499 PyObject
*resultobj
= 0;
23500 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
23501 wxWindow
*arg2
= (wxWindow
*) 0 ;
23507 PyObject
* obj0
= 0 ;
23508 PyObject
* obj1
= 0 ;
23509 char * kwnames
[] = {
23510 (char *) "self",(char *) "window", NULL
23513 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23514 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
23515 if (!SWIG_IsOK(res1
)) {
23516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "1"" of type '" "wxScreenDC *""'");
23518 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
23519 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23520 if (!SWIG_IsOK(res2
)) {
23521 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "2"" of type '" "wxWindow *""'");
23523 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
23525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23526 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
23527 wxPyEndAllowThreads(__tstate
);
23528 if (PyErr_Occurred()) SWIG_fail
;
23531 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23539 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23540 PyObject
*resultobj
= 0;
23541 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
23542 wxRect
*arg2
= (wxRect
*) NULL
;
23548 PyObject
* obj0
= 0 ;
23549 PyObject
* obj1
= 0 ;
23550 char * kwnames
[] = {
23551 (char *) "self",(char *) "rect", NULL
23554 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23555 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
23556 if (!SWIG_IsOK(res1
)) {
23557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
23559 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
23561 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
23562 if (!SWIG_IsOK(res2
)) {
23563 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "2"" of type '" "wxRect *""'");
23565 arg2
= reinterpret_cast< wxRect
* >(argp2
);
23568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23569 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
23570 wxPyEndAllowThreads(__tstate
);
23571 if (PyErr_Occurred()) SWIG_fail
;
23574 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23582 SWIGINTERN PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23583 PyObject
*resultobj
= 0;
23584 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
23588 PyObject
*swig_obj
[1] ;
23590 if (!args
) SWIG_fail
;
23591 swig_obj
[0] = args
;
23592 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
23593 if (!SWIG_IsOK(res1
)) {
23594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_EndDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
23596 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
23598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23599 result
= (bool)(arg1
)->EndDrawingOnTop();
23600 wxPyEndAllowThreads(__tstate
);
23601 if (PyErr_Occurred()) SWIG_fail
;
23604 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23612 SWIGINTERN PyObject
*ScreenDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23614 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23615 SWIG_TypeNewClientData(SWIGTYPE_p_wxScreenDC
, SWIG_NewClientData(obj
));
23616 return SWIG_Py_Void();
23619 SWIGINTERN PyObject
*ScreenDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23620 return SWIG_Python_InitShadowInstance(args
);
23623 SWIGINTERN PyObject
*_wrap_new_WindowDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23624 PyObject
*resultobj
= 0;
23625 wxWindow
*arg1
= (wxWindow
*) 0 ;
23626 wxWindowDC
*result
= 0 ;
23629 PyObject
* obj0
= 0 ;
23630 char * kwnames
[] = {
23631 (char *) "win", NULL
23634 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) SWIG_fail
;
23635 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23636 if (!SWIG_IsOK(res1
)) {
23637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowDC" "', expected argument " "1"" of type '" "wxWindow *""'");
23639 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
23641 if (!wxPyCheckForApp()) SWIG_fail
;
23642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23643 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
23644 wxPyEndAllowThreads(__tstate
);
23645 if (PyErr_Occurred()) SWIG_fail
;
23647 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowDC
, SWIG_POINTER_NEW
| 0 );
23654 SWIGINTERN PyObject
*WindowDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23656 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23657 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowDC
, SWIG_NewClientData(obj
));
23658 return SWIG_Py_Void();
23661 SWIGINTERN PyObject
*WindowDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23662 return SWIG_Python_InitShadowInstance(args
);
23665 SWIGINTERN PyObject
*_wrap_new_ClientDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23666 PyObject
*resultobj
= 0;
23667 wxWindow
*arg1
= (wxWindow
*) 0 ;
23668 wxClientDC
*result
= 0 ;
23671 PyObject
* obj0
= 0 ;
23672 char * kwnames
[] = {
23673 (char *) "win", NULL
23676 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) SWIG_fail
;
23677 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23678 if (!SWIG_IsOK(res1
)) {
23679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ClientDC" "', expected argument " "1"" of type '" "wxWindow *""'");
23681 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
23683 if (!wxPyCheckForApp()) SWIG_fail
;
23684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23685 result
= (wxClientDC
*)new wxClientDC(arg1
);
23686 wxPyEndAllowThreads(__tstate
);
23687 if (PyErr_Occurred()) SWIG_fail
;
23689 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClientDC
, SWIG_POINTER_NEW
| 0 );
23696 SWIGINTERN PyObject
*ClientDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23698 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23699 SWIG_TypeNewClientData(SWIGTYPE_p_wxClientDC
, SWIG_NewClientData(obj
));
23700 return SWIG_Py_Void();
23703 SWIGINTERN PyObject
*ClientDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23704 return SWIG_Python_InitShadowInstance(args
);
23707 SWIGINTERN PyObject
*_wrap_new_PaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23708 PyObject
*resultobj
= 0;
23709 wxWindow
*arg1
= (wxWindow
*) 0 ;
23710 wxPaintDC
*result
= 0 ;
23713 PyObject
* obj0
= 0 ;
23714 char * kwnames
[] = {
23715 (char *) "win", NULL
23718 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) SWIG_fail
;
23719 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23720 if (!SWIG_IsOK(res1
)) {
23721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
23723 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
23725 if (!wxPyCheckForApp()) SWIG_fail
;
23726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23727 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
23728 wxPyEndAllowThreads(__tstate
);
23729 if (PyErr_Occurred()) SWIG_fail
;
23731 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPaintDC
, SWIG_POINTER_NEW
| 0 );
23738 SWIGINTERN PyObject
*PaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23740 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23741 SWIG_TypeNewClientData(SWIGTYPE_p_wxPaintDC
, SWIG_NewClientData(obj
));
23742 return SWIG_Py_Void();
23745 SWIGINTERN PyObject
*PaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23746 return SWIG_Python_InitShadowInstance(args
);
23749 SWIGINTERN PyObject
*_wrap_AutoBufferedPaintDCFactory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23750 PyObject
*resultobj
= 0;
23751 wxWindow
*arg1
= (wxWindow
*) 0 ;
23755 PyObject
* obj0
= 0 ;
23756 char * kwnames
[] = {
23757 (char *) "window", NULL
23760 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AutoBufferedPaintDCFactory",kwnames
,&obj0
)) SWIG_fail
;
23761 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23762 if (!SWIG_IsOK(res1
)) {
23763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AutoBufferedPaintDCFactory" "', expected argument " "1"" of type '" "wxWindow *""'");
23765 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
23767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23768 result
= (wxDC
*)wxAutoBufferedPaintDCFactory(arg1
);
23769 wxPyEndAllowThreads(__tstate
);
23770 if (PyErr_Occurred()) SWIG_fail
;
23773 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
23781 SWIGINTERN PyObject
*_wrap_new_MirrorDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23782 PyObject
*resultobj
= 0;
23785 wxMirrorDC
*result
= 0 ;
23790 PyObject
* obj0
= 0 ;
23791 PyObject
* obj1
= 0 ;
23792 char * kwnames
[] = {
23793 (char *) "dc",(char *) "mirror", NULL
23796 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23797 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
23798 if (!SWIG_IsOK(res1
)) {
23799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
23802 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
23804 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23805 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23806 if (!SWIG_IsOK(ecode2
)) {
23807 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MirrorDC" "', expected argument " "2"" of type '" "bool""'");
23809 arg2
= static_cast< bool >(val2
);
23811 if (!wxPyCheckForApp()) SWIG_fail
;
23812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23813 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
23814 wxPyEndAllowThreads(__tstate
);
23815 if (PyErr_Occurred()) SWIG_fail
;
23817 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMirrorDC
, SWIG_POINTER_NEW
| 0 );
23824 SWIGINTERN PyObject
*MirrorDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23826 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23827 SWIG_TypeNewClientData(SWIGTYPE_p_wxMirrorDC
, SWIG_NewClientData(obj
));
23828 return SWIG_Py_Void();
23831 SWIGINTERN PyObject
*MirrorDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23832 return SWIG_Python_InitShadowInstance(args
);
23835 SWIGINTERN PyObject
*_wrap_new_PostScriptDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23836 PyObject
*resultobj
= 0;
23837 wxPrintData
*arg1
= 0 ;
23838 wxPostScriptDC
*result
= 0 ;
23841 PyObject
* obj0
= 0 ;
23842 char * kwnames
[] = {
23843 (char *) "printData", NULL
23846 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) SWIG_fail
;
23847 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
23848 if (!SWIG_IsOK(res1
)) {
23849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23852 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23854 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23856 if (!wxPyCheckForApp()) SWIG_fail
;
23857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23858 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
23859 wxPyEndAllowThreads(__tstate
);
23860 if (PyErr_Occurred()) SWIG_fail
;
23862 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPostScriptDC
, SWIG_POINTER_NEW
| 0 );
23869 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23870 PyObject
*resultobj
= 0;
23871 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
23872 wxPrintData
*result
= 0 ;
23875 PyObject
*swig_obj
[1] ;
23877 if (!args
) SWIG_fail
;
23878 swig_obj
[0] = args
;
23879 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
23880 if (!SWIG_IsOK(res1
)) {
23881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_GetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
23883 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
23885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23887 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
23888 result
= (wxPrintData
*) &_result_ref
;
23890 wxPyEndAllowThreads(__tstate
);
23891 if (PyErr_Occurred()) SWIG_fail
;
23893 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
23900 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23901 PyObject
*resultobj
= 0;
23902 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
23903 wxPrintData
*arg2
= 0 ;
23908 PyObject
* obj0
= 0 ;
23909 PyObject
* obj1
= 0 ;
23910 char * kwnames
[] = {
23911 (char *) "self",(char *) "data", NULL
23914 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23915 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
23916 if (!SWIG_IsOK(res1
)) {
23917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
23919 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
23920 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
23921 if (!SWIG_IsOK(res2
)) {
23922 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
23925 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
23927 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
23929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23930 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
23931 wxPyEndAllowThreads(__tstate
);
23932 if (PyErr_Occurred()) SWIG_fail
;
23934 resultobj
= SWIG_Py_Void();
23941 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23942 PyObject
*resultobj
= 0;
23946 PyObject
* obj0
= 0 ;
23947 char * kwnames
[] = {
23948 (char *) "ppi", NULL
23951 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) SWIG_fail
;
23952 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23953 if (!SWIG_IsOK(ecode1
)) {
23954 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PostScriptDC_SetResolution" "', expected argument " "1"" of type '" "int""'");
23956 arg1
= static_cast< int >(val1
);
23958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23959 wxPostScriptDC::SetResolution(arg1
);
23960 wxPyEndAllowThreads(__tstate
);
23961 if (PyErr_Occurred()) SWIG_fail
;
23963 resultobj
= SWIG_Py_Void();
23970 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23971 PyObject
*resultobj
= 0;
23974 if (!SWIG_Python_UnpackTuple(args
,"PostScriptDC_GetResolution",0,0,0)) SWIG_fail
;
23976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23977 result
= (int)wxPostScriptDC::GetResolution();
23978 wxPyEndAllowThreads(__tstate
);
23979 if (PyErr_Occurred()) SWIG_fail
;
23981 resultobj
= SWIG_From_int(static_cast< int >(result
));
23988 SWIGINTERN PyObject
*PostScriptDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23990 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23991 SWIG_TypeNewClientData(SWIGTYPE_p_wxPostScriptDC
, SWIG_NewClientData(obj
));
23992 return SWIG_Py_Void();
23995 SWIGINTERN PyObject
*PostScriptDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23996 return SWIG_Python_InitShadowInstance(args
);
23999 SWIGINTERN PyObject
*_wrap_new_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24000 PyObject
*resultobj
= 0;
24001 wxString
const &arg1_defvalue
= wxPyEmptyString
;
24002 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24003 wxMetaFile
*result
= 0 ;
24004 bool temp1
= false ;
24005 PyObject
* obj0
= 0 ;
24006 char * kwnames
[] = {
24007 (char *) "filename", NULL
24010 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) SWIG_fail
;
24013 arg1
= wxString_in_helper(obj0
);
24014 if (arg1
== NULL
) SWIG_fail
;
24019 if (!wxPyCheckForApp()) SWIG_fail
;
24020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24021 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
24022 wxPyEndAllowThreads(__tstate
);
24023 if (PyErr_Occurred()) SWIG_fail
;
24025 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_NEW
| 0 );
24040 SWIGINTERN PyObject
*MetaFile_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24042 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24043 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFile
, SWIG_NewClientData(obj
));
24044 return SWIG_Py_Void();
24047 SWIGINTERN PyObject
*MetaFile_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24048 return SWIG_Python_InitShadowInstance(args
);
24051 SWIGINTERN PyObject
*_wrap_new_MetaFileDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24052 PyObject
*resultobj
= 0;
24053 wxString
const &arg1_defvalue
= wxPyEmptyString
;
24054 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24055 int arg2
= (int) 0 ;
24056 int arg3
= (int) 0 ;
24057 wxString
const &arg4_defvalue
= wxPyEmptyString
;
24058 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
24059 wxMetaFileDC
*result
= 0 ;
24060 bool temp1
= false ;
24065 bool temp4
= false ;
24066 PyObject
* obj0
= 0 ;
24067 PyObject
* obj1
= 0 ;
24068 PyObject
* obj2
= 0 ;
24069 PyObject
* obj3
= 0 ;
24070 char * kwnames
[] = {
24071 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
24074 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24077 arg1
= wxString_in_helper(obj0
);
24078 if (arg1
== NULL
) SWIG_fail
;
24083 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24084 if (!SWIG_IsOK(ecode2
)) {
24085 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MetaFileDC" "', expected argument " "2"" of type '" "int""'");
24087 arg2
= static_cast< int >(val2
);
24090 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24091 if (!SWIG_IsOK(ecode3
)) {
24092 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_MetaFileDC" "', expected argument " "3"" of type '" "int""'");
24094 arg3
= static_cast< int >(val3
);
24098 arg4
= wxString_in_helper(obj3
);
24099 if (arg4
== NULL
) SWIG_fail
;
24104 if (!wxPyCheckForApp()) SWIG_fail
;
24105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24106 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
24107 wxPyEndAllowThreads(__tstate
);
24108 if (PyErr_Occurred()) SWIG_fail
;
24110 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFileDC
, SWIG_POINTER_NEW
| 0 );
24133 SWIGINTERN PyObject
*MetaFileDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24135 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24136 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFileDC
, SWIG_NewClientData(obj
));
24137 return SWIG_Py_Void();
24140 SWIGINTERN PyObject
*MetaFileDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24141 return SWIG_Python_InitShadowInstance(args
);
24144 SWIGINTERN PyObject
*_wrap_new_PrinterDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24145 PyObject
*resultobj
= 0;
24146 wxPrintData
*arg1
= 0 ;
24147 wxPrinterDC
*result
= 0 ;
24150 PyObject
* obj0
= 0 ;
24151 char * kwnames
[] = {
24152 (char *) "printData", NULL
24155 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) SWIG_fail
;
24156 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24157 if (!SWIG_IsOK(res1
)) {
24158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24161 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24163 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24165 if (!wxPyCheckForApp()) SWIG_fail
;
24166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24167 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
24168 wxPyEndAllowThreads(__tstate
);
24169 if (PyErr_Occurred()) SWIG_fail
;
24171 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinterDC
, SWIG_POINTER_NEW
| 0 );
24178 SWIGINTERN PyObject
*PrinterDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24180 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24181 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinterDC
, SWIG_NewClientData(obj
));
24182 return SWIG_Py_Void();
24185 SWIGINTERN PyObject
*PrinterDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24186 return SWIG_Python_InitShadowInstance(args
);
24189 SWIGINTERN PyObject
*_wrap_delete_GraphicsPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24190 PyObject
*resultobj
= 0;
24191 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
24194 PyObject
*swig_obj
[1] ;
24196 if (!args
) SWIG_fail
;
24197 swig_obj
[0] = args
;
24198 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_DISOWN
| 0 );
24199 if (!SWIG_IsOK(res1
)) {
24200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsPath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
24202 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
24206 if (PyErr_Occurred()) SWIG_fail
;
24208 resultobj
= SWIG_Py_Void();
24215 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24216 PyObject
*resultobj
= 0;
24217 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
24226 PyObject
* obj0
= 0 ;
24227 PyObject
* obj1
= 0 ;
24228 PyObject
* obj2
= 0 ;
24229 char * kwnames
[] = {
24230 (char *) "self",(char *) "x",(char *) "y", NULL
24233 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsPath_MoveToPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24234 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
24235 if (!SWIG_IsOK(res1
)) {
24236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
24238 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
24239 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
24240 if (!SWIG_IsOK(ecode2
)) {
24241 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
24243 arg2
= static_cast< wxDouble
>(val2
);
24244 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
24245 if (!SWIG_IsOK(ecode3
)) {
24246 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
24248 arg3
= static_cast< wxDouble
>(val3
);
24250 (arg1
)->MoveToPoint(arg2
,arg3
);
24251 if (PyErr_Occurred()) SWIG_fail
;
24253 resultobj
= SWIG_Py_Void();
24260 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24261 PyObject
*resultobj
= 0;
24262 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
24271 PyObject
* obj0
= 0 ;
24272 PyObject
* obj1
= 0 ;
24273 PyObject
* obj2
= 0 ;
24274 char * kwnames
[] = {
24275 (char *) "self",(char *) "x",(char *) "y", NULL
24278 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsPath_AddLineToPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24279 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
24280 if (!SWIG_IsOK(res1
)) {
24281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
24283 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
24284 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
24285 if (!SWIG_IsOK(ecode2
)) {
24286 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
24288 arg2
= static_cast< wxDouble
>(val2
);
24289 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
24290 if (!SWIG_IsOK(ecode3
)) {
24291 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
24293 arg3
= static_cast< wxDouble
>(val3
);
24295 (arg1
)->AddLineToPoint(arg2
,arg3
);
24296 if (PyErr_Occurred()) SWIG_fail
;
24298 resultobj
= SWIG_Py_Void();
24305 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24306 PyObject
*resultobj
= 0;
24307 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
24328 PyObject
* obj0
= 0 ;
24329 PyObject
* obj1
= 0 ;
24330 PyObject
* obj2
= 0 ;
24331 PyObject
* obj3
= 0 ;
24332 PyObject
* obj4
= 0 ;
24333 PyObject
* obj5
= 0 ;
24334 PyObject
* obj6
= 0 ;
24335 char * kwnames
[] = {
24336 (char *) "self",(char *) "cx1",(char *) "cy1",(char *) "cx2",(char *) "cy2",(char *) "x",(char *) "y", NULL
24339 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsPath_AddCurveToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
24340 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
24341 if (!SWIG_IsOK(res1
)) {
24342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
24344 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
24345 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
24346 if (!SWIG_IsOK(ecode2
)) {
24347 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
24349 arg2
= static_cast< wxDouble
>(val2
);
24350 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
24351 if (!SWIG_IsOK(ecode3
)) {
24352 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
24354 arg3
= static_cast< wxDouble
>(val3
);
24355 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
24356 if (!SWIG_IsOK(ecode4
)) {
24357 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
24359 arg4
= static_cast< wxDouble
>(val4
);
24360 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
24361 if (!SWIG_IsOK(ecode5
)) {
24362 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
24364 arg5
= static_cast< wxDouble
>(val5
);
24365 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
24366 if (!SWIG_IsOK(ecode6
)) {
24367 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "6"" of type '" "wxDouble""'");
24369 arg6
= static_cast< wxDouble
>(val6
);
24370 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
24371 if (!SWIG_IsOK(ecode7
)) {
24372 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "7"" of type '" "wxDouble""'");
24374 arg7
= static_cast< wxDouble
>(val7
);
24376 (arg1
)->AddCurveToPoint(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
24377 if (PyErr_Occurred()) SWIG_fail
;
24379 resultobj
= SWIG_Py_Void();
24386 SWIGINTERN PyObject
*_wrap_GraphicsPath_CloseSubpath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24387 PyObject
*resultobj
= 0;
24388 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
24391 PyObject
*swig_obj
[1] ;
24393 if (!args
) SWIG_fail
;
24394 swig_obj
[0] = args
;
24395 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
24396 if (!SWIG_IsOK(res1
)) {
24397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_CloseSubpath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
24399 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
24401 (arg1
)->CloseSubpath();
24402 if (PyErr_Occurred()) SWIG_fail
;
24404 resultobj
= SWIG_Py_Void();
24411 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetCurrentPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24412 PyObject
*resultobj
= 0;
24413 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
24417 PyObject
*swig_obj
[1] ;
24419 if (!args
) SWIG_fail
;
24420 swig_obj
[0] = args
;
24421 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
24422 if (!SWIG_IsOK(res1
)) {
24423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetCurrentPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
24425 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
24427 result
= (arg1
)->GetCurrentPoint();
24428 if (PyErr_Occurred()) SWIG_fail
;
24430 resultobj
= SWIG_NewPointerObj((new wxPoint2D(static_cast< const wxPoint2D
& >(result
))), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
24437 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24438 PyObject
*resultobj
= 0;
24439 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
24460 PyObject
* obj0
= 0 ;
24461 PyObject
* obj1
= 0 ;
24462 PyObject
* obj2
= 0 ;
24463 PyObject
* obj3
= 0 ;
24464 PyObject
* obj4
= 0 ;
24465 PyObject
* obj5
= 0 ;
24466 PyObject
* obj6
= 0 ;
24467 char * kwnames
[] = {
24468 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "startAngle",(char *) "endAngle",(char *) "clockwise", NULL
24471 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsPath_AddArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
24472 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
24473 if (!SWIG_IsOK(res1
)) {
24474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArc" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
24476 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
24477 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
24478 if (!SWIG_IsOK(ecode2
)) {
24479 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArc" "', expected argument " "2"" of type '" "wxDouble""'");
24481 arg2
= static_cast< wxDouble
>(val2
);
24482 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
24483 if (!SWIG_IsOK(ecode3
)) {
24484 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArc" "', expected argument " "3"" of type '" "wxDouble""'");
24486 arg3
= static_cast< wxDouble
>(val3
);
24487 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
24488 if (!SWIG_IsOK(ecode4
)) {
24489 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArc" "', expected argument " "4"" of type '" "wxDouble""'");
24491 arg4
= static_cast< wxDouble
>(val4
);
24492 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
24493 if (!SWIG_IsOK(ecode5
)) {
24494 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArc" "', expected argument " "5"" of type '" "wxDouble""'");
24496 arg5
= static_cast< wxDouble
>(val5
);
24497 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
24498 if (!SWIG_IsOK(ecode6
)) {
24499 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArc" "', expected argument " "6"" of type '" "wxDouble""'");
24501 arg6
= static_cast< wxDouble
>(val6
);
24502 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
24503 if (!SWIG_IsOK(ecode7
)) {
24504 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddArc" "', expected argument " "7"" of type '" "bool""'");
24506 arg7
= static_cast< bool >(val7
);
24508 (arg1
)->AddArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
24509 if (PyErr_Occurred()) SWIG_fail
;
24511 resultobj
= SWIG_Py_Void();
24518 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddQuadCurveToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24519 PyObject
*resultobj
= 0;
24520 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
24535 PyObject
* obj0
= 0 ;
24536 PyObject
* obj1
= 0 ;
24537 PyObject
* obj2
= 0 ;
24538 PyObject
* obj3
= 0 ;
24539 PyObject
* obj4
= 0 ;
24540 char * kwnames
[] = {
24541 (char *) "self",(char *) "cx",(char *) "cy",(char *) "x",(char *) "y", NULL
24544 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddQuadCurveToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
24545 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
24546 if (!SWIG_IsOK(res1
)) {
24547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
24549 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
24550 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
24551 if (!SWIG_IsOK(ecode2
)) {
24552 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
24554 arg2
= static_cast< wxDouble
>(val2
);
24555 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
24556 if (!SWIG_IsOK(ecode3
)) {
24557 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
24559 arg3
= static_cast< wxDouble
>(val3
);
24560 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
24561 if (!SWIG_IsOK(ecode4
)) {
24562 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
24564 arg4
= static_cast< wxDouble
>(val4
);
24565 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
24566 if (!SWIG_IsOK(ecode5
)) {
24567 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
24569 arg5
= static_cast< wxDouble
>(val5
);
24571 (arg1
)->AddQuadCurveToPoint(arg2
,arg3
,arg4
,arg5
);
24572 if (PyErr_Occurred()) SWIG_fail
;
24574 resultobj
= SWIG_Py_Void();
24581 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24582 PyObject
*resultobj
= 0;
24583 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
24598 PyObject
* obj0
= 0 ;
24599 PyObject
* obj1
= 0 ;
24600 PyObject
* obj2
= 0 ;
24601 PyObject
* obj3
= 0 ;
24602 PyObject
* obj4
= 0 ;
24603 char * kwnames
[] = {
24604 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
24607 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
24608 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
24609 if (!SWIG_IsOK(res1
)) {
24610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
24612 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
24613 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
24614 if (!SWIG_IsOK(ecode2
)) {
24615 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
24617 arg2
= static_cast< wxDouble
>(val2
);
24618 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
24619 if (!SWIG_IsOK(ecode3
)) {
24620 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
24622 arg3
= static_cast< wxDouble
>(val3
);
24623 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
24624 if (!SWIG_IsOK(ecode4
)) {
24625 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
24627 arg4
= static_cast< wxDouble
>(val4
);
24628 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
24629 if (!SWIG_IsOK(ecode5
)) {
24630 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
24632 arg5
= static_cast< wxDouble
>(val5
);
24634 (arg1
)->AddRectangle(arg2
,arg3
,arg4
,arg5
);
24635 if (PyErr_Occurred()) SWIG_fail
;
24637 resultobj
= SWIG_Py_Void();
24644 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24645 PyObject
*resultobj
= 0;
24646 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
24658 PyObject
* obj0
= 0 ;
24659 PyObject
* obj1
= 0 ;
24660 PyObject
* obj2
= 0 ;
24661 PyObject
* obj3
= 0 ;
24662 char * kwnames
[] = {
24663 (char *) "self",(char *) "x",(char *) "y",(char *) "r", NULL
24666 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GraphicsPath_AddCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24667 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
24668 if (!SWIG_IsOK(res1
)) {
24669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
24671 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
24672 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
24673 if (!SWIG_IsOK(ecode2
)) {
24674 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "2"" of type '" "wxDouble""'");
24676 arg2
= static_cast< wxDouble
>(val2
);
24677 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
24678 if (!SWIG_IsOK(ecode3
)) {
24679 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "3"" of type '" "wxDouble""'");
24681 arg3
= static_cast< wxDouble
>(val3
);
24682 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
24683 if (!SWIG_IsOK(ecode4
)) {
24684 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "4"" of type '" "wxDouble""'");
24686 arg4
= static_cast< wxDouble
>(val4
);
24688 (arg1
)->AddCircle(arg2
,arg3
,arg4
);
24689 if (PyErr_Occurred()) SWIG_fail
;
24691 resultobj
= SWIG_Py_Void();
24698 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArcToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24699 PyObject
*resultobj
= 0;
24700 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
24718 PyObject
* obj0
= 0 ;
24719 PyObject
* obj1
= 0 ;
24720 PyObject
* obj2
= 0 ;
24721 PyObject
* obj3
= 0 ;
24722 PyObject
* obj4
= 0 ;
24723 PyObject
* obj5
= 0 ;
24724 char * kwnames
[] = {
24725 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "r", NULL
24728 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsPath_AddArcToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
24729 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
24730 if (!SWIG_IsOK(res1
)) {
24731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
24733 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
24734 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
24735 if (!SWIG_IsOK(ecode2
)) {
24736 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
24738 arg2
= static_cast< wxDouble
>(val2
);
24739 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
24740 if (!SWIG_IsOK(ecode3
)) {
24741 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
24743 arg3
= static_cast< wxDouble
>(val3
);
24744 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
24745 if (!SWIG_IsOK(ecode4
)) {
24746 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
24748 arg4
= static_cast< wxDouble
>(val4
);
24749 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
24750 if (!SWIG_IsOK(ecode5
)) {
24751 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
24753 arg5
= static_cast< wxDouble
>(val5
);
24754 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
24755 if (!SWIG_IsOK(ecode6
)) {
24756 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "6"" of type '" "wxDouble""'");
24758 arg6
= static_cast< wxDouble
>(val6
);
24760 (arg1
)->AddArcToPoint(arg2
,arg3
,arg4
,arg5
,arg6
);
24761 if (PyErr_Occurred()) SWIG_fail
;
24763 resultobj
= SWIG_Py_Void();
24770 SWIGINTERN PyObject
*GraphicsPath_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24772 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24773 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsPath
, SWIG_NewClientData(obj
));
24774 return SWIG_Py_Void();
24777 SWIGINTERN PyObject
*_wrap_delete_GraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24778 PyObject
*resultobj
= 0;
24779 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
24782 PyObject
*swig_obj
[1] ;
24784 if (!args
) SWIG_fail
;
24785 swig_obj
[0] = args
;
24786 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_DISOWN
| 0 );
24787 if (!SWIG_IsOK(res1
)) {
24788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsContext" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
24790 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
24794 if (PyErr_Occurred()) SWIG_fail
;
24796 resultobj
= SWIG_Py_Void();
24803 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24804 PyObject
*resultobj
= 0;
24805 wxWindowDC
*arg1
= 0 ;
24806 wxGraphicsContext
*result
= 0 ;
24809 PyObject
* obj0
= 0 ;
24810 char * kwnames
[] = {
24811 (char *) "dc", NULL
24814 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GraphicsContext_Create",kwnames
,&obj0
)) SWIG_fail
;
24815 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
24816 if (!SWIG_IsOK(res1
)) {
24817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
24820 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
24822 arg1
= reinterpret_cast< wxWindowDC
* >(argp1
);
24824 result
= (wxGraphicsContext
*)wxGraphicsContext::Create((wxWindowDC
const &)*arg1
);
24825 if (PyErr_Occurred()) SWIG_fail
;
24827 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
24834 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreatePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24835 PyObject
*resultobj
= 0;
24836 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
24837 wxGraphicsPath
*result
= 0 ;
24840 PyObject
*swig_obj
[1] ;
24842 if (!args
) SWIG_fail
;
24843 swig_obj
[0] = args
;
24844 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
24845 if (!SWIG_IsOK(res1
)) {
24846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreatePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
24848 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
24850 result
= (wxGraphicsPath
*)(arg1
)->CreatePath();
24851 if (PyErr_Occurred()) SWIG_fail
;
24853 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
24860 SWIGINTERN PyObject
*_wrap_GraphicsContext_PushState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24861 PyObject
*resultobj
= 0;
24862 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
24865 PyObject
*swig_obj
[1] ;
24867 if (!args
) SWIG_fail
;
24868 swig_obj
[0] = args
;
24869 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
24870 if (!SWIG_IsOK(res1
)) {
24871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_PushState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
24873 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
24875 (arg1
)->PushState();
24876 if (PyErr_Occurred()) SWIG_fail
;
24878 resultobj
= SWIG_Py_Void();
24885 SWIGINTERN PyObject
*_wrap_GraphicsContext_PopState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24886 PyObject
*resultobj
= 0;
24887 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
24890 PyObject
*swig_obj
[1] ;
24892 if (!args
) SWIG_fail
;
24893 swig_obj
[0] = args
;
24894 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
24895 if (!SWIG_IsOK(res1
)) {
24896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_PopState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
24898 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
24900 (arg1
)->PopState();
24901 if (PyErr_Occurred()) SWIG_fail
;
24903 resultobj
= SWIG_Py_Void();
24910 SWIGINTERN PyObject
*_wrap_GraphicsContext_Clip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24911 PyObject
*resultobj
= 0;
24912 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
24913 wxRegion
*arg2
= 0 ;
24918 PyObject
* obj0
= 0 ;
24919 PyObject
* obj1
= 0 ;
24920 char * kwnames
[] = {
24921 (char *) "self",(char *) "region", NULL
24924 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_Clip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24925 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
24926 if (!SWIG_IsOK(res1
)) {
24927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Clip" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
24929 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
24930 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
24931 if (!SWIG_IsOK(res2
)) {
24932 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_Clip" "', expected argument " "2"" of type '" "wxRegion const &""'");
24935 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_Clip" "', expected argument " "2"" of type '" "wxRegion const &""'");
24937 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
24939 (arg1
)->Clip((wxRegion
const &)*arg2
);
24940 if (PyErr_Occurred()) SWIG_fail
;
24942 resultobj
= SWIG_Py_Void();
24949 SWIGINTERN PyObject
*_wrap_GraphicsContext_Translate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24950 PyObject
*resultobj
= 0;
24951 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
24960 PyObject
* obj0
= 0 ;
24961 PyObject
* obj1
= 0 ;
24962 PyObject
* obj2
= 0 ;
24963 char * kwnames
[] = {
24964 (char *) "self",(char *) "dx",(char *) "dy", NULL
24967 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) 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_Translate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
24972 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
24973 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
24974 if (!SWIG_IsOK(ecode2
)) {
24975 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Translate" "', expected argument " "2"" of type '" "wxDouble""'");
24977 arg2
= static_cast< wxDouble
>(val2
);
24978 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
24979 if (!SWIG_IsOK(ecode3
)) {
24980 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Translate" "', expected argument " "3"" of type '" "wxDouble""'");
24982 arg3
= static_cast< wxDouble
>(val3
);
24984 (arg1
)->Translate(arg2
,arg3
);
24985 if (PyErr_Occurred()) SWIG_fail
;
24987 resultobj
= SWIG_Py_Void();
24994 SWIGINTERN PyObject
*_wrap_GraphicsContext_Scale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24995 PyObject
*resultobj
= 0;
24996 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25005 PyObject
* obj0
= 0 ;
25006 PyObject
* obj1
= 0 ;
25007 PyObject
* obj2
= 0 ;
25008 char * kwnames
[] = {
25009 (char *) "self",(char *) "xScale",(char *) "yScale", NULL
25012 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25013 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25014 if (!SWIG_IsOK(res1
)) {
25015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Scale" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25017 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25018 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25019 if (!SWIG_IsOK(ecode2
)) {
25020 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Scale" "', expected argument " "2"" of type '" "wxDouble""'");
25022 arg2
= static_cast< wxDouble
>(val2
);
25023 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25024 if (!SWIG_IsOK(ecode3
)) {
25025 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Scale" "', expected argument " "3"" of type '" "wxDouble""'");
25027 arg3
= static_cast< wxDouble
>(val3
);
25029 (arg1
)->Scale(arg2
,arg3
);
25030 if (PyErr_Occurred()) SWIG_fail
;
25032 resultobj
= SWIG_Py_Void();
25039 SWIGINTERN PyObject
*_wrap_GraphicsContext_Rotate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25040 PyObject
*resultobj
= 0;
25041 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25047 PyObject
* obj0
= 0 ;
25048 PyObject
* obj1
= 0 ;
25049 char * kwnames
[] = {
25050 (char *) "self",(char *) "angle", NULL
25053 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_Rotate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25054 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25055 if (!SWIG_IsOK(res1
)) {
25056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Rotate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25058 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25059 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25060 if (!SWIG_IsOK(ecode2
)) {
25061 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Rotate" "', expected argument " "2"" of type '" "wxDouble""'");
25063 arg2
= static_cast< wxDouble
>(val2
);
25065 (arg1
)->Rotate(arg2
);
25066 if (PyErr_Occurred()) SWIG_fail
;
25068 resultobj
= SWIG_Py_Void();
25075 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25076 PyObject
*resultobj
= 0;
25077 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25083 PyObject
* obj0
= 0 ;
25084 PyObject
* obj1
= 0 ;
25085 char * kwnames
[] = {
25086 (char *) "self",(char *) "pen", NULL
25089 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25090 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25091 if (!SWIG_IsOK(res1
)) {
25092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetPen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25094 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25095 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
25096 if (!SWIG_IsOK(res2
)) {
25097 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
25100 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
25102 arg2
= reinterpret_cast< wxPen
* >(argp2
);
25104 (arg1
)->SetPen((wxPen
const &)*arg2
);
25105 if (PyErr_Occurred()) SWIG_fail
;
25107 resultobj
= SWIG_Py_Void();
25114 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25115 PyObject
*resultobj
= 0;
25116 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25117 wxBrush
*arg2
= 0 ;
25122 PyObject
* obj0
= 0 ;
25123 PyObject
* obj1
= 0 ;
25124 char * kwnames
[] = {
25125 (char *) "self",(char *) "brush", NULL
25128 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25129 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25130 if (!SWIG_IsOK(res1
)) {
25131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25133 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25134 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
25135 if (!SWIG_IsOK(res2
)) {
25136 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
25139 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
25141 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
25143 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
25144 if (PyErr_Occurred()) SWIG_fail
;
25146 resultobj
= SWIG_Py_Void();
25153 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetLinearGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25154 PyObject
*resultobj
= 0;
25155 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25160 wxColour
*arg6
= 0 ;
25161 wxColour
*arg7
= 0 ;
25174 PyObject
* obj0
= 0 ;
25175 PyObject
* obj1
= 0 ;
25176 PyObject
* obj2
= 0 ;
25177 PyObject
* obj3
= 0 ;
25178 PyObject
* obj4
= 0 ;
25179 PyObject
* obj5
= 0 ;
25180 PyObject
* obj6
= 0 ;
25181 char * kwnames
[] = {
25182 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "c1",(char *) "c2", NULL
25185 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsContext_SetLinearGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
25186 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25187 if (!SWIG_IsOK(res1
)) {
25188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetLinearGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25190 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25191 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25192 if (!SWIG_IsOK(ecode2
)) {
25193 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_SetLinearGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
25195 arg2
= static_cast< wxDouble
>(val2
);
25196 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25197 if (!SWIG_IsOK(ecode3
)) {
25198 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_SetLinearGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
25200 arg3
= static_cast< wxDouble
>(val3
);
25201 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
25202 if (!SWIG_IsOK(ecode4
)) {
25203 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_SetLinearGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
25205 arg4
= static_cast< wxDouble
>(val4
);
25206 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
25207 if (!SWIG_IsOK(ecode5
)) {
25208 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_SetLinearGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
25210 arg5
= static_cast< wxDouble
>(val5
);
25213 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
25217 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
25220 (arg1
)->SetLinearGradientBrush(arg2
,arg3
,arg4
,arg5
,(wxColour
const &)*arg6
,(wxColour
const &)*arg7
);
25221 if (PyErr_Occurred()) SWIG_fail
;
25223 resultobj
= SWIG_Py_Void();
25230 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetRadialGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25231 PyObject
*resultobj
= 0;
25232 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25238 wxColour
*arg7
= 0 ;
25239 wxColour
*arg8
= 0 ;
25254 PyObject
* obj0
= 0 ;
25255 PyObject
* obj1
= 0 ;
25256 PyObject
* obj2
= 0 ;
25257 PyObject
* obj3
= 0 ;
25258 PyObject
* obj4
= 0 ;
25259 PyObject
* obj5
= 0 ;
25260 PyObject
* obj6
= 0 ;
25261 PyObject
* obj7
= 0 ;
25262 char * kwnames
[] = {
25263 (char *) "self",(char *) "xo",(char *) "yo",(char *) "xc",(char *) "yc",(char *) "radius",(char *) "oColor",(char *) "cColor", NULL
25266 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GraphicsContext_SetRadialGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
25267 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25268 if (!SWIG_IsOK(res1
)) {
25269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetRadialGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25271 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25272 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25273 if (!SWIG_IsOK(ecode2
)) {
25274 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_SetRadialGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
25276 arg2
= static_cast< wxDouble
>(val2
);
25277 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25278 if (!SWIG_IsOK(ecode3
)) {
25279 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_SetRadialGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
25281 arg3
= static_cast< wxDouble
>(val3
);
25282 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
25283 if (!SWIG_IsOK(ecode4
)) {
25284 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_SetRadialGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
25286 arg4
= static_cast< wxDouble
>(val4
);
25287 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
25288 if (!SWIG_IsOK(ecode5
)) {
25289 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_SetRadialGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
25291 arg5
= static_cast< wxDouble
>(val5
);
25292 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
25293 if (!SWIG_IsOK(ecode6
)) {
25294 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_SetRadialGradientBrush" "', expected argument " "6"" of type '" "wxDouble""'");
25296 arg6
= static_cast< wxDouble
>(val6
);
25299 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
25303 if ( ! wxColour_helper(obj7
, &arg8
)) SWIG_fail
;
25306 (arg1
)->SetRadialGradientBrush(arg2
,arg3
,arg4
,arg5
,arg6
,(wxColour
const &)*arg7
,(wxColour
const &)*arg8
);
25307 if (PyErr_Occurred()) SWIG_fail
;
25309 resultobj
= SWIG_Py_Void();
25316 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25317 PyObject
*resultobj
= 0;
25318 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25324 PyObject
* obj0
= 0 ;
25325 PyObject
* obj1
= 0 ;
25326 char * kwnames
[] = {
25327 (char *) "self",(char *) "font", NULL
25330 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25331 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25332 if (!SWIG_IsOK(res1
)) {
25333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25335 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25336 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
25337 if (!SWIG_IsOK(res2
)) {
25338 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
25341 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
25343 arg2
= reinterpret_cast< wxFont
* >(argp2
);
25345 (arg1
)->SetFont((wxFont
const &)*arg2
);
25346 if (PyErr_Occurred()) SWIG_fail
;
25348 resultobj
= SWIG_Py_Void();
25355 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetTextColor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25356 PyObject
*resultobj
= 0;
25357 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25358 wxColour
*arg2
= 0 ;
25362 PyObject
* obj0
= 0 ;
25363 PyObject
* obj1
= 0 ;
25364 char * kwnames
[] = {
25365 (char *) "self",(char *) "col", NULL
25368 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetTextColor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25369 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25370 if (!SWIG_IsOK(res1
)) {
25371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetTextColor" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25373 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25376 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25379 (arg1
)->SetTextColor((wxColour
const &)*arg2
);
25380 if (PyErr_Occurred()) SWIG_fail
;
25382 resultobj
= SWIG_Py_Void();
25389 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25390 PyObject
*resultobj
= 0;
25391 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25392 wxGraphicsPath
*arg2
= (wxGraphicsPath
*) 0 ;
25397 PyObject
* obj0
= 0 ;
25398 PyObject
* obj1
= 0 ;
25399 char * kwnames
[] = {
25400 (char *) "self",(char *) "path", NULL
25403 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_StrokePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25404 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25405 if (!SWIG_IsOK(res1
)) {
25406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25408 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25409 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25410 if (!SWIG_IsOK(res2
)) {
25411 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "2"" of type '" "wxGraphicsPath const *""'");
25413 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
25415 (arg1
)->StrokePath((wxGraphicsPath
const *)arg2
);
25416 if (PyErr_Occurred()) SWIG_fail
;
25418 resultobj
= SWIG_Py_Void();
25425 SWIGINTERN PyObject
*_wrap_GraphicsContext_FillPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25426 PyObject
*resultobj
= 0;
25427 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25428 wxGraphicsPath
*arg2
= (wxGraphicsPath
*) 0 ;
25429 int arg3
= (int) wxWINDING_RULE
;
25436 PyObject
* obj0
= 0 ;
25437 PyObject
* obj1
= 0 ;
25438 PyObject
* obj2
= 0 ;
25439 char * kwnames
[] = {
25440 (char *) "self",(char *) "path",(char *) "fillStyle", NULL
25443 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_FillPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25444 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25445 if (!SWIG_IsOK(res1
)) {
25446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_FillPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25448 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25449 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25450 if (!SWIG_IsOK(res2
)) {
25451 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_FillPath" "', expected argument " "2"" of type '" "wxGraphicsPath const *""'");
25453 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
25455 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25456 if (!SWIG_IsOK(ecode3
)) {
25457 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_FillPath" "', expected argument " "3"" of type '" "int""'");
25459 arg3
= static_cast< int >(val3
);
25462 (arg1
)->FillPath((wxGraphicsPath
const *)arg2
,arg3
);
25463 if (PyErr_Occurred()) SWIG_fail
;
25465 resultobj
= SWIG_Py_Void();
25472 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25473 PyObject
*resultobj
= 0;
25474 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25475 wxGraphicsPath
*arg2
= (wxGraphicsPath
*) 0 ;
25476 int arg3
= (int) wxWINDING_RULE
;
25483 PyObject
* obj0
= 0 ;
25484 PyObject
* obj1
= 0 ;
25485 PyObject
* obj2
= 0 ;
25486 char * kwnames
[] = {
25487 (char *) "self",(char *) "path",(char *) "fillStyle", NULL
25490 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_DrawPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25491 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25492 if (!SWIG_IsOK(res1
)) {
25493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25495 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25496 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25497 if (!SWIG_IsOK(res2
)) {
25498 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "2"" of type '" "wxGraphicsPath const *""'");
25500 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
25502 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25503 if (!SWIG_IsOK(ecode3
)) {
25504 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "3"" of type '" "int""'");
25506 arg3
= static_cast< int >(val3
);
25509 (arg1
)->DrawPath((wxGraphicsPath
const *)arg2
,arg3
);
25510 if (PyErr_Occurred()) SWIG_fail
;
25512 resultobj
= SWIG_Py_Void();
25519 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25520 PyObject
*resultobj
= 0;
25521 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25522 wxString
*arg2
= 0 ;
25527 bool temp2
= false ;
25532 PyObject
* obj0
= 0 ;
25533 PyObject
* obj1
= 0 ;
25534 PyObject
* obj2
= 0 ;
25535 PyObject
* obj3
= 0 ;
25536 char * kwnames
[] = {
25537 (char *) "self",(char *) "str",(char *) "x",(char *) "y", NULL
25540 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GraphicsContext_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
25541 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25542 if (!SWIG_IsOK(res1
)) {
25543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25545 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25547 arg2
= wxString_in_helper(obj1
);
25548 if (arg2
== NULL
) SWIG_fail
;
25551 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25552 if (!SWIG_IsOK(ecode3
)) {
25553 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawText" "', expected argument " "3"" of type '" "wxDouble""'");
25555 arg3
= static_cast< wxDouble
>(val3
);
25556 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
25557 if (!SWIG_IsOK(ecode4
)) {
25558 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawText" "', expected argument " "4"" of type '" "wxDouble""'");
25560 arg4
= static_cast< wxDouble
>(val4
);
25562 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
25563 if (PyErr_Occurred()) SWIG_fail
;
25565 resultobj
= SWIG_Py_Void();
25580 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25581 PyObject
*resultobj
= 0;
25582 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25583 wxString
*arg2
= 0 ;
25589 bool temp2
= false ;
25596 PyObject
* obj0
= 0 ;
25597 PyObject
* obj1
= 0 ;
25598 PyObject
* obj2
= 0 ;
25599 PyObject
* obj3
= 0 ;
25600 PyObject
* obj4
= 0 ;
25601 char * kwnames
[] = {
25602 (char *) "self",(char *) "str",(char *) "x",(char *) "y",(char *) "angle", NULL
25605 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
25606 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25607 if (!SWIG_IsOK(res1
)) {
25608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25610 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25612 arg2
= wxString_in_helper(obj1
);
25613 if (arg2
== NULL
) SWIG_fail
;
25616 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25617 if (!SWIG_IsOK(ecode3
)) {
25618 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "3"" of type '" "wxDouble""'");
25620 arg3
= static_cast< wxDouble
>(val3
);
25621 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
25622 if (!SWIG_IsOK(ecode4
)) {
25623 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "4"" of type '" "wxDouble""'");
25625 arg4
= static_cast< wxDouble
>(val4
);
25626 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
25627 if (!SWIG_IsOK(ecode5
)) {
25628 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "5"" of type '" "wxDouble""'");
25630 arg5
= static_cast< wxDouble
>(val5
);
25632 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
25633 if (PyErr_Occurred()) SWIG_fail
;
25635 resultobj
= SWIG_Py_Void();
25650 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25651 PyObject
*resultobj
= 0;
25652 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25653 wxString
*arg2
= 0 ;
25654 wxDouble
*arg3
= (wxDouble
*) 0 ;
25655 wxDouble
*arg4
= (wxDouble
*) 0 ;
25656 wxDouble
*arg5
= (wxDouble
*) 0 ;
25657 wxDouble
*arg6
= (wxDouble
*) 0 ;
25660 bool temp2
= false ;
25662 int res3
= SWIG_TMPOBJ
;
25664 int res4
= SWIG_TMPOBJ
;
25666 int res5
= SWIG_TMPOBJ
;
25668 int res6
= SWIG_TMPOBJ
;
25669 PyObject
* obj0
= 0 ;
25670 PyObject
* obj1
= 0 ;
25671 char * kwnames
[] = {
25672 (char *) "self",(char *) "text", NULL
25679 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25680 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25681 if (!SWIG_IsOK(res1
)) {
25682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetTextExtent" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
25684 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25686 arg2
= wxString_in_helper(obj1
);
25687 if (arg2
== NULL
) SWIG_fail
;
25691 ((wxGraphicsContext
const *)arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
25692 if (PyErr_Occurred()) SWIG_fail
;
25694 resultobj
= SWIG_Py_Void();
25695 if (SWIG_IsTmpObj(res3
)) {
25696 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
25698 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25699 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
25701 if (SWIG_IsTmpObj(res4
)) {
25702 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg4
)));
25704 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25705 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_double
, new_flags
));
25707 if (SWIG_IsTmpObj(res5
)) {
25708 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg5
)));
25710 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25711 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_double
, new_flags
));
25713 if (SWIG_IsTmpObj(res6
)) {
25714 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg6
)));
25716 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25717 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_double
, new_flags
));
25733 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25734 PyObject
*resultobj
= 0;
25735 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25736 wxString
*arg2
= 0 ;
25737 wxArrayDouble result
;
25740 bool temp2
= false ;
25741 PyObject
* obj0
= 0 ;
25742 PyObject
* obj1
= 0 ;
25743 char * kwnames
[] = {
25744 (char *) "self",(char *) "text", NULL
25747 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25748 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25749 if (!SWIG_IsOK(res1
)) {
25750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25752 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25754 arg2
= wxString_in_helper(obj1
);
25755 if (arg2
== NULL
) SWIG_fail
;
25759 result
= wxGraphicsContext_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
25760 if (PyErr_Occurred()) SWIG_fail
;
25763 resultobj
= wxArrayDouble2PyList_helper(result
);
25779 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25780 PyObject
*resultobj
= 0;
25781 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25782 wxBitmap
*arg2
= 0 ;
25799 PyObject
* obj0
= 0 ;
25800 PyObject
* obj1
= 0 ;
25801 PyObject
* obj2
= 0 ;
25802 PyObject
* obj3
= 0 ;
25803 PyObject
* obj4
= 0 ;
25804 PyObject
* obj5
= 0 ;
25805 char * kwnames
[] = {
25806 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
25809 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
25810 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25811 if (!SWIG_IsOK(res1
)) {
25812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25814 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25815 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
25816 if (!SWIG_IsOK(res2
)) {
25817 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
25820 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
25822 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
25823 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25824 if (!SWIG_IsOK(ecode3
)) {
25825 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "3"" of type '" "wxDouble""'");
25827 arg3
= static_cast< wxDouble
>(val3
);
25828 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
25829 if (!SWIG_IsOK(ecode4
)) {
25830 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "4"" of type '" "wxDouble""'");
25832 arg4
= static_cast< wxDouble
>(val4
);
25833 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
25834 if (!SWIG_IsOK(ecode5
)) {
25835 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "5"" of type '" "wxDouble""'");
25837 arg5
= static_cast< wxDouble
>(val5
);
25838 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
25839 if (!SWIG_IsOK(ecode6
)) {
25840 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "6"" of type '" "wxDouble""'");
25842 arg6
= static_cast< wxDouble
>(val6
);
25844 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
25845 if (PyErr_Occurred()) SWIG_fail
;
25847 resultobj
= SWIG_Py_Void();
25854 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25855 PyObject
*resultobj
= 0;
25856 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25874 PyObject
* obj0
= 0 ;
25875 PyObject
* obj1
= 0 ;
25876 PyObject
* obj2
= 0 ;
25877 PyObject
* obj3
= 0 ;
25878 PyObject
* obj4
= 0 ;
25879 PyObject
* obj5
= 0 ;
25880 char * kwnames
[] = {
25881 (char *) "self",(char *) "icon",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
25884 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
25885 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25886 if (!SWIG_IsOK(res1
)) {
25887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25889 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25890 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
25891 if (!SWIG_IsOK(res2
)) {
25892 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
25895 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
25897 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
25898 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25899 if (!SWIG_IsOK(ecode3
)) {
25900 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "3"" of type '" "wxDouble""'");
25902 arg3
= static_cast< wxDouble
>(val3
);
25903 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
25904 if (!SWIG_IsOK(ecode4
)) {
25905 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "4"" of type '" "wxDouble""'");
25907 arg4
= static_cast< wxDouble
>(val4
);
25908 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
25909 if (!SWIG_IsOK(ecode5
)) {
25910 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "5"" of type '" "wxDouble""'");
25912 arg5
= static_cast< wxDouble
>(val5
);
25913 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
25914 if (!SWIG_IsOK(ecode6
)) {
25915 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "6"" of type '" "wxDouble""'");
25917 arg6
= static_cast< wxDouble
>(val6
);
25919 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
25920 if (PyErr_Occurred()) SWIG_fail
;
25922 resultobj
= SWIG_Py_Void();
25929 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25930 PyObject
*resultobj
= 0;
25931 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25946 PyObject
* obj0
= 0 ;
25947 PyObject
* obj1
= 0 ;
25948 PyObject
* obj2
= 0 ;
25949 PyObject
* obj3
= 0 ;
25950 PyObject
* obj4
= 0 ;
25951 char * kwnames
[] = {
25952 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
25955 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_StrokeLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
25956 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25957 if (!SWIG_IsOK(res1
)) {
25958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25960 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25961 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25962 if (!SWIG_IsOK(ecode2
)) {
25963 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "2"" of type '" "wxDouble""'");
25965 arg2
= static_cast< wxDouble
>(val2
);
25966 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25967 if (!SWIG_IsOK(ecode3
)) {
25968 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "3"" of type '" "wxDouble""'");
25970 arg3
= static_cast< wxDouble
>(val3
);
25971 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
25972 if (!SWIG_IsOK(ecode4
)) {
25973 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "4"" of type '" "wxDouble""'");
25975 arg4
= static_cast< wxDouble
>(val4
);
25976 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
25977 if (!SWIG_IsOK(ecode5
)) {
25978 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "5"" of type '" "wxDouble""'");
25980 arg5
= static_cast< wxDouble
>(val5
);
25982 (arg1
)->StrokeLine(arg2
,arg3
,arg4
,arg5
);
25983 if (PyErr_Occurred()) SWIG_fail
;
25985 resultobj
= SWIG_Py_Void();
25992 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25993 PyObject
*resultobj
= 0;
25994 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25996 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
25999 PyObject
* obj0
= 0 ;
26000 PyObject
* obj1
= 0 ;
26001 char * kwnames
[] = {
26002 (char *) "self",(char *) "points", NULL
26005 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_StrokeLines",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26006 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26007 if (!SWIG_IsOK(res1
)) {
26008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26010 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26012 arg3
= wxPoint2D_LIST_helper(obj1
, &arg2
);
26013 if (arg3
== NULL
) SWIG_fail
;
26016 (arg1
)->StrokeLines(arg2
,(wxPoint2D
const *)arg3
);
26017 if (PyErr_Occurred()) SWIG_fail
;
26019 resultobj
= SWIG_Py_Void();
26021 if (arg3
) delete [] arg3
;
26026 if (arg3
) delete [] arg3
;
26032 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLineSegements(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26033 PyObject
*resultobj
= 0;
26034 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26035 PyObject
*arg2
= (PyObject
*) 0 ;
26036 PyObject
*arg3
= (PyObject
*) 0 ;
26039 PyObject
* obj0
= 0 ;
26040 PyObject
* obj1
= 0 ;
26041 PyObject
* obj2
= 0 ;
26042 char * kwnames
[] = {
26043 (char *) "self",(char *) "beginPoints",(char *) "endPoints", NULL
26046 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_StrokeLineSegements",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26047 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26048 if (!SWIG_IsOK(res1
)) {
26049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLineSegements" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26051 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26055 wxGraphicsContext_StrokeLineSegements(arg1
,arg2
,arg3
);
26056 if (PyErr_Occurred()) SWIG_fail
;
26058 resultobj
= SWIG_Py_Void();
26065 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26066 PyObject
*resultobj
= 0;
26067 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26069 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
26070 int arg4
= (int) wxWINDING_RULE
;
26075 PyObject
* obj0
= 0 ;
26076 PyObject
* obj1
= 0 ;
26077 PyObject
* obj2
= 0 ;
26078 char * kwnames
[] = {
26079 (char *) "self",(char *) "points",(char *) "fillStyle", NULL
26082 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26083 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26084 if (!SWIG_IsOK(res1
)) {
26085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26087 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26089 arg3
= wxPoint2D_LIST_helper(obj1
, &arg2
);
26090 if (arg3
== NULL
) SWIG_fail
;
26093 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
26094 if (!SWIG_IsOK(ecode4
)) {
26095 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "4"" of type '" "int""'");
26097 arg4
= static_cast< int >(val4
);
26100 (arg1
)->DrawLines(arg2
,(wxPoint2D
const *)arg3
,arg4
);
26101 if (PyErr_Occurred()) SWIG_fail
;
26103 resultobj
= SWIG_Py_Void();
26105 if (arg3
) delete [] arg3
;
26110 if (arg3
) delete [] arg3
;
26116 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26117 PyObject
*resultobj
= 0;
26118 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26133 PyObject
* obj0
= 0 ;
26134 PyObject
* obj1
= 0 ;
26135 PyObject
* obj2
= 0 ;
26136 PyObject
* obj3
= 0 ;
26137 PyObject
* obj4
= 0 ;
26138 char * kwnames
[] = {
26139 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
26142 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26143 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26144 if (!SWIG_IsOK(res1
)) {
26145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26147 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26148 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26149 if (!SWIG_IsOK(ecode2
)) {
26150 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
26152 arg2
= static_cast< wxDouble
>(val2
);
26153 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26154 if (!SWIG_IsOK(ecode3
)) {
26155 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
26157 arg3
= static_cast< wxDouble
>(val3
);
26158 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26159 if (!SWIG_IsOK(ecode4
)) {
26160 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
26162 arg4
= static_cast< wxDouble
>(val4
);
26163 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26164 if (!SWIG_IsOK(ecode5
)) {
26165 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
26167 arg5
= static_cast< wxDouble
>(val5
);
26169 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
26170 if (PyErr_Occurred()) SWIG_fail
;
26172 resultobj
= SWIG_Py_Void();
26179 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26180 PyObject
*resultobj
= 0;
26181 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26196 PyObject
* obj0
= 0 ;
26197 PyObject
* obj1
= 0 ;
26198 PyObject
* obj2
= 0 ;
26199 PyObject
* obj3
= 0 ;
26200 PyObject
* obj4
= 0 ;
26201 char * kwnames
[] = {
26202 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
26205 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26206 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26207 if (!SWIG_IsOK(res1
)) {
26208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26210 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26211 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26212 if (!SWIG_IsOK(ecode2
)) {
26213 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "2"" of type '" "wxDouble""'");
26215 arg2
= static_cast< wxDouble
>(val2
);
26216 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26217 if (!SWIG_IsOK(ecode3
)) {
26218 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "3"" of type '" "wxDouble""'");
26220 arg3
= static_cast< wxDouble
>(val3
);
26221 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26222 if (!SWIG_IsOK(ecode4
)) {
26223 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "4"" of type '" "wxDouble""'");
26225 arg4
= static_cast< wxDouble
>(val4
);
26226 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26227 if (!SWIG_IsOK(ecode5
)) {
26228 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "5"" of type '" "wxDouble""'");
26230 arg5
= static_cast< wxDouble
>(val5
);
26232 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
26233 if (PyErr_Occurred()) SWIG_fail
;
26235 resultobj
= SWIG_Py_Void();
26242 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26243 PyObject
*resultobj
= 0;
26244 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26262 PyObject
* obj0
= 0 ;
26263 PyObject
* obj1
= 0 ;
26264 PyObject
* obj2
= 0 ;
26265 PyObject
* obj3
= 0 ;
26266 PyObject
* obj4
= 0 ;
26267 PyObject
* obj5
= 0 ;
26268 char * kwnames
[] = {
26269 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "radius", NULL
26272 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
26273 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26274 if (!SWIG_IsOK(res1
)) {
26275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26277 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26278 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26279 if (!SWIG_IsOK(ecode2
)) {
26280 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
26282 arg2
= static_cast< wxDouble
>(val2
);
26283 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26284 if (!SWIG_IsOK(ecode3
)) {
26285 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
26287 arg3
= static_cast< wxDouble
>(val3
);
26288 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26289 if (!SWIG_IsOK(ecode4
)) {
26290 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
26292 arg4
= static_cast< wxDouble
>(val4
);
26293 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26294 if (!SWIG_IsOK(ecode5
)) {
26295 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
26297 arg5
= static_cast< wxDouble
>(val5
);
26298 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
26299 if (!SWIG_IsOK(ecode6
)) {
26300 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "6"" of type '" "wxDouble""'");
26302 arg6
= static_cast< wxDouble
>(val6
);
26304 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
26305 if (PyErr_Occurred()) SWIG_fail
;
26307 resultobj
= SWIG_Py_Void();
26314 SWIGINTERN PyObject
*GraphicsContext_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26316 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26317 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsContext
, SWIG_NewClientData(obj
));
26318 return SWIG_Py_Void();
26321 SWIGINTERN PyObject
*_wrap_new_GCDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26322 PyObject
*resultobj
= 0;
26323 wxWindowDC
*arg1
= 0 ;
26324 wxGCDC
*result
= 0 ;
26327 PyObject
* obj0
= 0 ;
26328 char * kwnames
[] = {
26329 (char *) "dc", NULL
26332 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_GCDC",kwnames
,&obj0
)) SWIG_fail
;
26333 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
26334 if (!SWIG_IsOK(res1
)) {
26335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
26338 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
26340 arg1
= reinterpret_cast< wxWindowDC
* >(argp1
);
26342 if (!wxPyCheckForApp()) SWIG_fail
;
26343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26344 result
= (wxGCDC
*)new wxGCDC((wxWindowDC
const &)*arg1
);
26345 wxPyEndAllowThreads(__tstate
);
26346 if (PyErr_Occurred()) SWIG_fail
;
26348 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGCDC
, SWIG_POINTER_NEW
| 0 );
26355 SWIGINTERN PyObject
*_wrap_delete_GCDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26356 PyObject
*resultobj
= 0;
26357 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
26360 PyObject
*swig_obj
[1] ;
26362 if (!args
) SWIG_fail
;
26363 swig_obj
[0] = args
;
26364 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, SWIG_POINTER_DISOWN
| 0 );
26365 if (!SWIG_IsOK(res1
)) {
26366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GCDC" "', expected argument " "1"" of type '" "wxGCDC *""'");
26368 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
26372 if (PyErr_Occurred()) SWIG_fail
;
26374 resultobj
= SWIG_Py_Void();
26381 SWIGINTERN PyObject
*_wrap_GCDC_GetGraphicContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26382 PyObject
*resultobj
= 0;
26383 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
26384 wxGraphicsContext
*result
= 0 ;
26387 PyObject
*swig_obj
[1] ;
26389 if (!args
) SWIG_fail
;
26390 swig_obj
[0] = args
;
26391 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, 0 | 0 );
26392 if (!SWIG_IsOK(res1
)) {
26393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GCDC_GetGraphicContext" "', expected argument " "1"" of type '" "wxGCDC *""'");
26395 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
26397 result
= (wxGraphicsContext
*)(arg1
)->GetGraphicContext();
26398 if (PyErr_Occurred()) SWIG_fail
;
26400 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26407 SWIGINTERN PyObject
*GCDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26409 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26410 SWIG_TypeNewClientData(SWIGTYPE_p_wxGCDC
, SWIG_NewClientData(obj
));
26411 return SWIG_Py_Void();
26414 SWIGINTERN PyObject
*GCDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26415 return SWIG_Python_InitShadowInstance(args
);
26418 SWIGINTERN PyObject
*_wrap_new_Overlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26419 PyObject
*resultobj
= 0;
26420 wxOverlay
*result
= 0 ;
26422 if (!SWIG_Python_UnpackTuple(args
,"new_Overlay",0,0,0)) SWIG_fail
;
26424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26425 result
= (wxOverlay
*)new wxOverlay();
26426 wxPyEndAllowThreads(__tstate
);
26427 if (PyErr_Occurred()) SWIG_fail
;
26429 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxOverlay
, SWIG_POINTER_NEW
| 0 );
26436 SWIGINTERN PyObject
*_wrap_delete_Overlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26437 PyObject
*resultobj
= 0;
26438 wxOverlay
*arg1
= (wxOverlay
*) 0 ;
26441 PyObject
*swig_obj
[1] ;
26443 if (!args
) SWIG_fail
;
26444 swig_obj
[0] = args
;
26445 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOverlay
, SWIG_POINTER_DISOWN
| 0 );
26446 if (!SWIG_IsOK(res1
)) {
26447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Overlay" "', expected argument " "1"" of type '" "wxOverlay *""'");
26449 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
26451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26454 wxPyEndAllowThreads(__tstate
);
26455 if (PyErr_Occurred()) SWIG_fail
;
26457 resultobj
= SWIG_Py_Void();
26464 SWIGINTERN PyObject
*_wrap_Overlay_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26465 PyObject
*resultobj
= 0;
26466 wxOverlay
*arg1
= (wxOverlay
*) 0 ;
26469 PyObject
*swig_obj
[1] ;
26471 if (!args
) SWIG_fail
;
26472 swig_obj
[0] = args
;
26473 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOverlay
, 0 | 0 );
26474 if (!SWIG_IsOK(res1
)) {
26475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Overlay_Reset" "', expected argument " "1"" of type '" "wxOverlay *""'");
26477 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
26479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26481 wxPyEndAllowThreads(__tstate
);
26482 if (PyErr_Occurred()) SWIG_fail
;
26484 resultobj
= SWIG_Py_Void();
26491 SWIGINTERN PyObject
*Overlay_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26493 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26494 SWIG_TypeNewClientData(SWIGTYPE_p_wxOverlay
, SWIG_NewClientData(obj
));
26495 return SWIG_Py_Void();
26498 SWIGINTERN PyObject
*Overlay_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26499 return SWIG_Python_InitShadowInstance(args
);
26502 SWIGINTERN PyObject
*_wrap_new_DCOverlay__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26503 PyObject
*resultobj
= 0;
26504 wxOverlay
*arg1
= 0 ;
26505 wxWindowDC
*arg2
= (wxWindowDC
*) 0 ;
26510 wxDCOverlay
*result
= 0 ;
26524 if ((nobjs
< 6) || (nobjs
> 6)) SWIG_fail
;
26525 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxOverlay
, 0 );
26526 if (!SWIG_IsOK(res1
)) {
26527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
26530 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
26532 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
26533 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindowDC
, 0 | 0 );
26534 if (!SWIG_IsOK(res2
)) {
26535 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCOverlay" "', expected argument " "2"" of type '" "wxWindowDC *""'");
26537 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
26538 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
26539 if (!SWIG_IsOK(ecode3
)) {
26540 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DCOverlay" "', expected argument " "3"" of type '" "int""'");
26542 arg3
= static_cast< int >(val3
);
26543 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
26544 if (!SWIG_IsOK(ecode4
)) {
26545 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DCOverlay" "', expected argument " "4"" of type '" "int""'");
26547 arg4
= static_cast< int >(val4
);
26548 ecode5
= SWIG_AsVal_int(swig_obj
[4], &val5
);
26549 if (!SWIG_IsOK(ecode5
)) {
26550 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DCOverlay" "', expected argument " "5"" of type '" "int""'");
26552 arg5
= static_cast< int >(val5
);
26553 ecode6
= SWIG_AsVal_int(swig_obj
[5], &val6
);
26554 if (!SWIG_IsOK(ecode6
)) {
26555 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DCOverlay" "', expected argument " "6"" of type '" "int""'");
26557 arg6
= static_cast< int >(val6
);
26559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26560 result
= (wxDCOverlay
*)new wxDCOverlay(*arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
26561 wxPyEndAllowThreads(__tstate
);
26562 if (PyErr_Occurred()) SWIG_fail
;
26564 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_NEW
| 0 );
26571 SWIGINTERN PyObject
*_wrap_new_DCOverlay__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26572 PyObject
*resultobj
= 0;
26573 wxOverlay
*arg1
= 0 ;
26574 wxWindowDC
*arg2
= (wxWindowDC
*) 0 ;
26575 wxDCOverlay
*result
= 0 ;
26581 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26582 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxOverlay
, 0 );
26583 if (!SWIG_IsOK(res1
)) {
26584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
26587 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
26589 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
26590 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindowDC
, 0 | 0 );
26591 if (!SWIG_IsOK(res2
)) {
26592 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCOverlay" "', expected argument " "2"" of type '" "wxWindowDC *""'");
26594 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
26596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26597 result
= (wxDCOverlay
*)new wxDCOverlay(*arg1
,arg2
);
26598 wxPyEndAllowThreads(__tstate
);
26599 if (PyErr_Occurred()) SWIG_fail
;
26601 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_NEW
| 0 );
26608 SWIGINTERN PyObject
*_wrap_new_DCOverlay(PyObject
*self
, PyObject
*args
) {
26612 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_DCOverlay",0,6,argv
))) SWIG_fail
;
26615 return _wrap_new_DCOverlay__SWIG_1(self
, argc
, argv
);
26618 return _wrap_new_DCOverlay__SWIG_0(self
, argc
, argv
);
26622 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_DCOverlay'");
26627 SWIGINTERN PyObject
*_wrap_delete_DCOverlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26628 PyObject
*resultobj
= 0;
26629 wxDCOverlay
*arg1
= (wxDCOverlay
*) 0 ;
26632 PyObject
*swig_obj
[1] ;
26634 if (!args
) SWIG_fail
;
26635 swig_obj
[0] = args
;
26636 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_DISOWN
| 0 );
26637 if (!SWIG_IsOK(res1
)) {
26638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCOverlay" "', expected argument " "1"" of type '" "wxDCOverlay *""'");
26640 arg1
= reinterpret_cast< wxDCOverlay
* >(argp1
);
26642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26645 wxPyEndAllowThreads(__tstate
);
26646 if (PyErr_Occurred()) SWIG_fail
;
26648 resultobj
= SWIG_Py_Void();
26655 SWIGINTERN PyObject
*_wrap_DCOverlay_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26656 PyObject
*resultobj
= 0;
26657 wxDCOverlay
*arg1
= (wxDCOverlay
*) 0 ;
26660 PyObject
*swig_obj
[1] ;
26662 if (!args
) SWIG_fail
;
26663 swig_obj
[0] = args
;
26664 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCOverlay
, 0 | 0 );
26665 if (!SWIG_IsOK(res1
)) {
26666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DCOverlay_Clear" "', expected argument " "1"" of type '" "wxDCOverlay *""'");
26668 arg1
= reinterpret_cast< wxDCOverlay
* >(argp1
);
26670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26672 wxPyEndAllowThreads(__tstate
);
26673 if (PyErr_Occurred()) SWIG_fail
;
26675 resultobj
= SWIG_Py_Void();
26682 SWIGINTERN PyObject
*DCOverlay_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26684 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26685 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCOverlay
, SWIG_NewClientData(obj
));
26686 return SWIG_Py_Void();
26689 SWIGINTERN PyObject
*DCOverlay_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26690 return SWIG_Python_InitShadowInstance(args
);
26693 SWIGINTERN PyObject
*_wrap_new_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26694 PyObject
*resultobj
= 0;
26697 int arg3
= (int) true ;
26698 int arg4
= (int) 1 ;
26699 wxImageList
*result
= 0 ;
26708 PyObject
* obj0
= 0 ;
26709 PyObject
* obj1
= 0 ;
26710 PyObject
* obj2
= 0 ;
26711 PyObject
* obj3
= 0 ;
26712 char * kwnames
[] = {
26713 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
26716 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
26717 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
26718 if (!SWIG_IsOK(ecode1
)) {
26719 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ImageList" "', expected argument " "1"" of type '" "int""'");
26721 arg1
= static_cast< int >(val1
);
26722 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26723 if (!SWIG_IsOK(ecode2
)) {
26724 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ImageList" "', expected argument " "2"" of type '" "int""'");
26726 arg2
= static_cast< int >(val2
);
26728 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
26729 if (!SWIG_IsOK(ecode3
)) {
26730 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ImageList" "', expected argument " "3"" of type '" "int""'");
26732 arg3
= static_cast< int >(val3
);
26735 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
26736 if (!SWIG_IsOK(ecode4
)) {
26737 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ImageList" "', expected argument " "4"" of type '" "int""'");
26739 arg4
= static_cast< int >(val4
);
26742 if (!wxPyCheckForApp()) SWIG_fail
;
26743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26744 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
26745 wxPyEndAllowThreads(__tstate
);
26746 if (PyErr_Occurred()) SWIG_fail
;
26749 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_NEW
);
26757 SWIGINTERN PyObject
*_wrap_delete_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26758 PyObject
*resultobj
= 0;
26759 wxImageList
*arg1
= (wxImageList
*) 0 ;
26762 PyObject
*swig_obj
[1] ;
26764 if (!args
) SWIG_fail
;
26765 swig_obj
[0] = args
;
26766 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
26767 if (!SWIG_IsOK(res1
)) {
26768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ImageList" "', expected argument " "1"" of type '" "wxImageList *""'");
26770 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
26772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26775 wxPyEndAllowThreads(__tstate
);
26776 if (PyErr_Occurred()) SWIG_fail
;
26778 resultobj
= SWIG_Py_Void();
26785 SWIGINTERN PyObject
*_wrap_ImageList_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26786 PyObject
*resultobj
= 0;
26787 wxImageList
*arg1
= (wxImageList
*) 0 ;
26788 wxBitmap
*arg2
= 0 ;
26789 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
26790 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
26798 PyObject
* obj0
= 0 ;
26799 PyObject
* obj1
= 0 ;
26800 PyObject
* obj2
= 0 ;
26801 char * kwnames
[] = {
26802 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
26805 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26806 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
26807 if (!SWIG_IsOK(res1
)) {
26808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Add" "', expected argument " "1"" of type '" "wxImageList *""'");
26810 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
26811 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
26812 if (!SWIG_IsOK(res2
)) {
26813 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
26816 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
26818 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
26820 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
26821 if (!SWIG_IsOK(res3
)) {
26822 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
26825 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
26827 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
26830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26831 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
26832 wxPyEndAllowThreads(__tstate
);
26833 if (PyErr_Occurred()) SWIG_fail
;
26835 resultobj
= SWIG_From_int(static_cast< int >(result
));
26842 SWIGINTERN PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26843 PyObject
*resultobj
= 0;
26844 wxImageList
*arg1
= (wxImageList
*) 0 ;
26845 wxBitmap
*arg2
= 0 ;
26846 wxColour
*arg3
= 0 ;
26853 PyObject
* obj0
= 0 ;
26854 PyObject
* obj1
= 0 ;
26855 PyObject
* obj2
= 0 ;
26856 char * kwnames
[] = {
26857 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
26860 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26861 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
26862 if (!SWIG_IsOK(res1
)) {
26863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "1"" of type '" "wxImageList *""'");
26865 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
26866 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
26867 if (!SWIG_IsOK(res2
)) {
26868 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
26871 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
26873 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
26876 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
26879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26880 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
26881 wxPyEndAllowThreads(__tstate
);
26882 if (PyErr_Occurred()) SWIG_fail
;
26884 resultobj
= SWIG_From_int(static_cast< int >(result
));
26891 SWIGINTERN PyObject
*_wrap_ImageList_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26892 PyObject
*resultobj
= 0;
26893 wxImageList
*arg1
= (wxImageList
*) 0 ;
26900 PyObject
* obj0
= 0 ;
26901 PyObject
* obj1
= 0 ;
26902 char * kwnames
[] = {
26903 (char *) "self",(char *) "icon", NULL
26906 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26907 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
26908 if (!SWIG_IsOK(res1
)) {
26909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddIcon" "', expected argument " "1"" of type '" "wxImageList *""'");
26911 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
26912 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
26913 if (!SWIG_IsOK(res2
)) {
26914 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
26917 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
26919 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
26921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26922 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
26923 wxPyEndAllowThreads(__tstate
);
26924 if (PyErr_Occurred()) SWIG_fail
;
26926 resultobj
= SWIG_From_int(static_cast< int >(result
));
26933 SWIGINTERN PyObject
*_wrap_ImageList_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26934 PyObject
*resultobj
= 0;
26935 wxImageList
*arg1
= (wxImageList
*) 0 ;
26937 SwigValueWrapper
<wxBitmap
> result
;
26942 PyObject
* obj0
= 0 ;
26943 PyObject
* obj1
= 0 ;
26944 char * kwnames
[] = {
26945 (char *) "self",(char *) "index", NULL
26948 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26949 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
26950 if (!SWIG_IsOK(res1
)) {
26951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetBitmap" "', expected argument " "1"" of type '" "wxImageList const *""'");
26953 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
26954 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26955 if (!SWIG_IsOK(ecode2
)) {
26956 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetBitmap" "', expected argument " "2"" of type '" "int""'");
26958 arg2
= static_cast< int >(val2
);
26960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26961 result
= ((wxImageList
const *)arg1
)->GetBitmap(arg2
);
26962 wxPyEndAllowThreads(__tstate
);
26963 if (PyErr_Occurred()) SWIG_fail
;
26965 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
26972 SWIGINTERN PyObject
*_wrap_ImageList_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26973 PyObject
*resultobj
= 0;
26974 wxImageList
*arg1
= (wxImageList
*) 0 ;
26981 PyObject
* obj0
= 0 ;
26982 PyObject
* obj1
= 0 ;
26983 char * kwnames
[] = {
26984 (char *) "self",(char *) "index", NULL
26987 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26988 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
26989 if (!SWIG_IsOK(res1
)) {
26990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetIcon" "', expected argument " "1"" of type '" "wxImageList const *""'");
26992 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
26993 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26994 if (!SWIG_IsOK(ecode2
)) {
26995 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetIcon" "', expected argument " "2"" of type '" "int""'");
26997 arg2
= static_cast< int >(val2
);
26999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27000 result
= ((wxImageList
const *)arg1
)->GetIcon(arg2
);
27001 wxPyEndAllowThreads(__tstate
);
27002 if (PyErr_Occurred()) SWIG_fail
;
27004 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
27011 SWIGINTERN PyObject
*_wrap_ImageList_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27012 PyObject
*resultobj
= 0;
27013 wxImageList
*arg1
= (wxImageList
*) 0 ;
27015 wxBitmap
*arg3
= 0 ;
27016 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
27017 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
27027 PyObject
* obj0
= 0 ;
27028 PyObject
* obj1
= 0 ;
27029 PyObject
* obj2
= 0 ;
27030 PyObject
* obj3
= 0 ;
27031 char * kwnames
[] = {
27032 (char *) "self",(char *) "index",(char *) "bitmap",(char *) "mask", NULL
27035 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27036 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
27037 if (!SWIG_IsOK(res1
)) {
27038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Replace" "', expected argument " "1"" of type '" "wxImageList *""'");
27040 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27041 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27042 if (!SWIG_IsOK(ecode2
)) {
27043 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Replace" "', expected argument " "2"" of type '" "int""'");
27045 arg2
= static_cast< int >(val2
);
27046 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
27047 if (!SWIG_IsOK(res3
)) {
27048 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
27051 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
27053 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
27055 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
27056 if (!SWIG_IsOK(res4
)) {
27057 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
27060 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
27062 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
27065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27066 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
,(wxBitmap
const &)*arg4
);
27067 wxPyEndAllowThreads(__tstate
);
27068 if (PyErr_Occurred()) SWIG_fail
;
27071 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27079 SWIGINTERN PyObject
*_wrap_ImageList_Draw(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27080 PyObject
*resultobj
= 0;
27081 wxImageList
*arg1
= (wxImageList
*) 0 ;
27086 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
27087 bool arg7
= (bool) (bool)false ;
27103 PyObject
* obj0
= 0 ;
27104 PyObject
* obj1
= 0 ;
27105 PyObject
* obj2
= 0 ;
27106 PyObject
* obj3
= 0 ;
27107 PyObject
* obj4
= 0 ;
27108 PyObject
* obj5
= 0 ;
27109 PyObject
* obj6
= 0 ;
27110 char * kwnames
[] = {
27111 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
27114 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
27115 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
27116 if (!SWIG_IsOK(res1
)) {
27117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Draw" "', expected argument " "1"" of type '" "wxImageList *""'");
27119 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27120 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27121 if (!SWIG_IsOK(ecode2
)) {
27122 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Draw" "', expected argument " "2"" of type '" "int""'");
27124 arg2
= static_cast< int >(val2
);
27125 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
27126 if (!SWIG_IsOK(res3
)) {
27127 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
27130 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
27132 arg3
= reinterpret_cast< wxDC
* >(argp3
);
27133 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
27134 if (!SWIG_IsOK(ecode4
)) {
27135 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ImageList_Draw" "', expected argument " "4"" of type '" "int""'");
27137 arg4
= static_cast< int >(val4
);
27138 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
27139 if (!SWIG_IsOK(ecode5
)) {
27140 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ImageList_Draw" "', expected argument " "5"" of type '" "int""'");
27142 arg5
= static_cast< int >(val5
);
27144 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
27145 if (!SWIG_IsOK(ecode6
)) {
27146 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ImageList_Draw" "', expected argument " "6"" of type '" "int""'");
27148 arg6
= static_cast< int >(val6
);
27151 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
27152 if (!SWIG_IsOK(ecode7
)) {
27153 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ImageList_Draw" "', expected argument " "7"" of type '" "bool""'");
27155 arg7
= static_cast< bool >(val7
);
27158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27159 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
27160 wxPyEndAllowThreads(__tstate
);
27161 if (PyErr_Occurred()) SWIG_fail
;
27164 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27172 SWIGINTERN PyObject
*_wrap_ImageList_GetImageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27173 PyObject
*resultobj
= 0;
27174 wxImageList
*arg1
= (wxImageList
*) 0 ;
27178 PyObject
*swig_obj
[1] ;
27180 if (!args
) SWIG_fail
;
27181 swig_obj
[0] = args
;
27182 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
27183 if (!SWIG_IsOK(res1
)) {
27184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetImageCount" "', expected argument " "1"" of type '" "wxImageList *""'");
27186 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27189 result
= (int)(arg1
)->GetImageCount();
27190 wxPyEndAllowThreads(__tstate
);
27191 if (PyErr_Occurred()) SWIG_fail
;
27193 resultobj
= SWIG_From_int(static_cast< int >(result
));
27200 SWIGINTERN PyObject
*_wrap_ImageList_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27201 PyObject
*resultobj
= 0;
27202 wxImageList
*arg1
= (wxImageList
*) 0 ;
27209 PyObject
* obj0
= 0 ;
27210 PyObject
* obj1
= 0 ;
27211 char * kwnames
[] = {
27212 (char *) "self",(char *) "index", NULL
27215 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27216 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
27217 if (!SWIG_IsOK(res1
)) {
27218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Remove" "', expected argument " "1"" of type '" "wxImageList *""'");
27220 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27221 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27222 if (!SWIG_IsOK(ecode2
)) {
27223 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Remove" "', expected argument " "2"" of type '" "int""'");
27225 arg2
= static_cast< int >(val2
);
27227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27228 result
= (bool)(arg1
)->Remove(arg2
);
27229 wxPyEndAllowThreads(__tstate
);
27230 if (PyErr_Occurred()) SWIG_fail
;
27233 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27241 SWIGINTERN PyObject
*_wrap_ImageList_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27242 PyObject
*resultobj
= 0;
27243 wxImageList
*arg1
= (wxImageList
*) 0 ;
27247 PyObject
*swig_obj
[1] ;
27249 if (!args
) SWIG_fail
;
27250 swig_obj
[0] = args
;
27251 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
27252 if (!SWIG_IsOK(res1
)) {
27253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_RemoveAll" "', expected argument " "1"" of type '" "wxImageList *""'");
27255 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27258 result
= (bool)(arg1
)->RemoveAll();
27259 wxPyEndAllowThreads(__tstate
);
27260 if (PyErr_Occurred()) SWIG_fail
;
27263 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27271 SWIGINTERN PyObject
*_wrap_ImageList_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27272 PyObject
*resultobj
= 0;
27273 wxImageList
*arg1
= (wxImageList
*) 0 ;
27282 int res3
= SWIG_TMPOBJ
;
27284 int res4
= SWIG_TMPOBJ
;
27285 PyObject
* obj0
= 0 ;
27286 PyObject
* obj1
= 0 ;
27287 char * kwnames
[] = {
27288 (char *) "self",(char *) "index", NULL
27293 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27294 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
27295 if (!SWIG_IsOK(res1
)) {
27296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetSize" "', expected argument " "1"" of type '" "wxImageList *""'");
27298 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27299 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27300 if (!SWIG_IsOK(ecode2
)) {
27301 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetSize" "', expected argument " "2"" of type '" "int""'");
27303 arg2
= static_cast< int >(val2
);
27305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27306 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
27307 wxPyEndAllowThreads(__tstate
);
27308 if (PyErr_Occurred()) SWIG_fail
;
27310 resultobj
= SWIG_Py_Void();
27311 if (SWIG_IsTmpObj(res3
)) {
27312 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
27314 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27315 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
27317 if (SWIG_IsTmpObj(res4
)) {
27318 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
27320 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27321 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
27329 SWIGINTERN PyObject
*ImageList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27331 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27332 SWIG_TypeNewClientData(SWIGTYPE_p_wxImageList
, SWIG_NewClientData(obj
));
27333 return SWIG_Py_Void();
27336 SWIGINTERN PyObject
*ImageList_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27337 return SWIG_Python_InitShadowInstance(args
);
27340 SWIGINTERN PyObject
*_wrap_new_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27341 PyObject
*resultobj
= 0;
27342 wxStockGDI
*result
= 0 ;
27344 if (!SWIG_Python_UnpackTuple(args
,"new_StockGDI",0,0,0)) SWIG_fail
;
27346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27347 result
= (wxStockGDI
*)new wxStockGDI();
27348 wxPyEndAllowThreads(__tstate
);
27349 if (PyErr_Occurred()) SWIG_fail
;
27351 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_NEW
| 0 );
27358 SWIGINTERN PyObject
*_wrap_delete_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27359 PyObject
*resultobj
= 0;
27360 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
27363 PyObject
*swig_obj
[1] ;
27365 if (!args
) SWIG_fail
;
27366 swig_obj
[0] = args
;
27367 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_DISOWN
| 0 );
27368 if (!SWIG_IsOK(res1
)) {
27369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_StockGDI" "', expected argument " "1"" of type '" "wxStockGDI *""'");
27371 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
27373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27376 wxPyEndAllowThreads(__tstate
);
27377 if (PyErr_Occurred()) SWIG_fail
;
27379 resultobj
= SWIG_Py_Void();
27386 SWIGINTERN PyObject
*_wrap_StockGDI_DeleteAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27387 PyObject
*resultobj
= 0;
27389 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_DeleteAll",0,0,0)) SWIG_fail
;
27391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27392 wxStockGDI::DeleteAll();
27393 wxPyEndAllowThreads(__tstate
);
27394 if (PyErr_Occurred()) SWIG_fail
;
27396 resultobj
= SWIG_Py_Void();
27403 SWIGINTERN PyObject
*_wrap_StockGDI_instance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27404 PyObject
*resultobj
= 0;
27405 wxStockGDI
*result
= 0 ;
27407 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_instance",0,0,0)) SWIG_fail
;
27409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27411 wxStockGDI
&_result_ref
= wxStockGDI::instance();
27412 result
= (wxStockGDI
*) &_result_ref
;
27414 wxPyEndAllowThreads(__tstate
);
27415 if (PyErr_Occurred()) SWIG_fail
;
27417 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, 0 | 0 );
27424 SWIGINTERN PyObject
*_wrap_StockGDI_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27425 PyObject
*resultobj
= 0;
27426 wxStockGDI::Item arg1
;
27427 wxBrush
*result
= 0 ;
27430 PyObject
* obj0
= 0 ;
27431 char * kwnames
[] = {
27432 (char *) "item", NULL
27435 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetBrush",kwnames
,&obj0
)) SWIG_fail
;
27436 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
27437 if (!SWIG_IsOK(ecode1
)) {
27438 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetBrush" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
27440 arg1
= static_cast< wxStockGDI::Item
>(val1
);
27442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27443 result
= (wxBrush
*)wxStockGDI::GetBrush(arg1
);
27444 wxPyEndAllowThreads(__tstate
);
27445 if (PyErr_Occurred()) SWIG_fail
;
27447 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
27454 SWIGINTERN PyObject
*_wrap_StockGDI_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27455 PyObject
*resultobj
= 0;
27456 wxStockGDI::Item arg1
;
27457 wxColour
*result
= 0 ;
27460 PyObject
* obj0
= 0 ;
27461 char * kwnames
[] = {
27462 (char *) "item", NULL
27465 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetColour",kwnames
,&obj0
)) SWIG_fail
;
27466 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
27467 if (!SWIG_IsOK(ecode1
)) {
27468 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetColour" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
27470 arg1
= static_cast< wxStockGDI::Item
>(val1
);
27472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27473 result
= (wxColour
*)wxStockGDI::GetColour(arg1
);
27474 wxPyEndAllowThreads(__tstate
);
27475 if (PyErr_Occurred()) SWIG_fail
;
27477 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
27484 SWIGINTERN PyObject
*_wrap_StockGDI_GetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27485 PyObject
*resultobj
= 0;
27486 wxStockGDI::Item arg1
;
27487 wxCursor
*result
= 0 ;
27490 PyObject
* obj0
= 0 ;
27491 char * kwnames
[] = {
27492 (char *) "item", NULL
27495 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetCursor",kwnames
,&obj0
)) SWIG_fail
;
27496 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
27497 if (!SWIG_IsOK(ecode1
)) {
27498 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetCursor" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
27500 arg1
= static_cast< wxStockGDI::Item
>(val1
);
27502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27503 result
= (wxCursor
*)wxStockGDI::GetCursor(arg1
);
27504 wxPyEndAllowThreads(__tstate
);
27505 if (PyErr_Occurred()) SWIG_fail
;
27507 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, 0 | 0 );
27514 SWIGINTERN PyObject
*_wrap_StockGDI_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27515 PyObject
*resultobj
= 0;
27516 wxStockGDI::Item arg1
;
27517 wxPen
*result
= 0 ;
27520 PyObject
* obj0
= 0 ;
27521 char * kwnames
[] = {
27522 (char *) "item", NULL
27525 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetPen",kwnames
,&obj0
)) SWIG_fail
;
27526 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
27527 if (!SWIG_IsOK(ecode1
)) {
27528 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetPen" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
27530 arg1
= static_cast< wxStockGDI::Item
>(val1
);
27532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27533 result
= (wxPen
*)wxStockGDI::GetPen(arg1
);
27534 wxPyEndAllowThreads(__tstate
);
27535 if (PyErr_Occurred()) SWIG_fail
;
27537 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
27544 SWIGINTERN PyObject
*_wrap_StockGDI_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27545 PyObject
*resultobj
= 0;
27546 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
27547 wxStockGDI::Item arg2
;
27548 wxFont
*result
= 0 ;
27553 PyObject
* obj0
= 0 ;
27554 PyObject
* obj1
= 0 ;
27555 char * kwnames
[] = {
27556 (char *) "self",(char *) "item", NULL
27559 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StockGDI_GetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27560 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStockGDI
, 0 | 0 );
27561 if (!SWIG_IsOK(res1
)) {
27562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StockGDI_GetFont" "', expected argument " "1"" of type '" "wxStockGDI *""'");
27564 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
27565 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27566 if (!SWIG_IsOK(ecode2
)) {
27567 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StockGDI_GetFont" "', expected argument " "2"" of type '" "wxStockGDI::Item""'");
27569 arg2
= static_cast< wxStockGDI::Item
>(val2
);
27571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27572 result
= (wxFont
*)(arg1
)->GetFont(arg2
);
27573 wxPyEndAllowThreads(__tstate
);
27574 if (PyErr_Occurred()) SWIG_fail
;
27576 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
27583 SWIGINTERN PyObject
*StockGDI_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27585 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27586 SWIG_TypeNewClientData(SWIGTYPE_p_wxStockGDI
, SWIG_NewClientData(obj
));
27587 return SWIG_Py_Void();
27590 SWIGINTERN PyObject
*StockGDI_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27591 return SWIG_Python_InitShadowInstance(args
);
27594 SWIGINTERN
int NullBitmap_set(PyObject
*) {
27595 SWIG_Error(SWIG_AttributeError
,"Variable NullBitmap is read-only.");
27600 SWIGINTERN PyObject
*NullBitmap_get(void) {
27601 PyObject
*pyobj
= 0;
27603 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0 );
27608 SWIGINTERN
int NullIcon_set(PyObject
*) {
27609 SWIG_Error(SWIG_AttributeError
,"Variable NullIcon is read-only.");
27614 SWIGINTERN PyObject
*NullIcon_get(void) {
27615 PyObject
*pyobj
= 0;
27617 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0 );
27622 SWIGINTERN
int NullCursor_set(PyObject
*) {
27623 SWIG_Error(SWIG_AttributeError
,"Variable NullCursor is read-only.");
27628 SWIGINTERN PyObject
*NullCursor_get(void) {
27629 PyObject
*pyobj
= 0;
27631 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0 );
27636 SWIGINTERN
int NullPen_set(PyObject
*) {
27637 SWIG_Error(SWIG_AttributeError
,"Variable NullPen is read-only.");
27642 SWIGINTERN PyObject
*NullPen_get(void) {
27643 PyObject
*pyobj
= 0;
27645 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPen
), SWIGTYPE_p_wxPen
, 0 );
27650 SWIGINTERN
int NullBrush_set(PyObject
*) {
27651 SWIG_Error(SWIG_AttributeError
,"Variable NullBrush is read-only.");
27656 SWIGINTERN PyObject
*NullBrush_get(void) {
27657 PyObject
*pyobj
= 0;
27659 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0 );
27664 SWIGINTERN
int NullPalette_set(PyObject
*) {
27665 SWIG_Error(SWIG_AttributeError
,"Variable NullPalette is read-only.");
27670 SWIGINTERN PyObject
*NullPalette_get(void) {
27671 PyObject
*pyobj
= 0;
27673 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0 );
27678 SWIGINTERN
int NullFont_set(PyObject
*) {
27679 SWIG_Error(SWIG_AttributeError
,"Variable NullFont is read-only.");
27684 SWIGINTERN PyObject
*NullFont_get(void) {
27685 PyObject
*pyobj
= 0;
27687 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullFont
), SWIGTYPE_p_wxFont
, 0 );
27692 SWIGINTERN
int NullColour_set(PyObject
*) {
27693 SWIG_Error(SWIG_AttributeError
,"Variable NullColour is read-only.");
27698 SWIGINTERN PyObject
*NullColour_get(void) {
27699 PyObject
*pyobj
= 0;
27701 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullColour
), SWIGTYPE_p_wxColour
, 0 );
27706 SWIGINTERN PyObject
*_wrap_new_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27707 PyObject
*resultobj
= 0;
27708 wxGDIObjListBase
*result
= 0 ;
27710 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObjListBase",0,0,0)) SWIG_fail
;
27712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27713 result
= (wxGDIObjListBase
*)new wxGDIObjListBase();
27714 wxPyEndAllowThreads(__tstate
);
27715 if (PyErr_Occurred()) SWIG_fail
;
27717 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_NEW
| 0 );
27724 SWIGINTERN PyObject
*_wrap_delete_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27725 PyObject
*resultobj
= 0;
27726 wxGDIObjListBase
*arg1
= (wxGDIObjListBase
*) 0 ;
27729 PyObject
*swig_obj
[1] ;
27731 if (!args
) SWIG_fail
;
27732 swig_obj
[0] = args
;
27733 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_DISOWN
| 0 );
27734 if (!SWIG_IsOK(res1
)) {
27735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObjListBase" "', expected argument " "1"" of type '" "wxGDIObjListBase *""'");
27737 arg1
= reinterpret_cast< wxGDIObjListBase
* >(argp1
);
27739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27742 wxPyEndAllowThreads(__tstate
);
27743 if (PyErr_Occurred()) SWIG_fail
;
27745 resultobj
= SWIG_Py_Void();
27752 SWIGINTERN PyObject
*GDIObjListBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27754 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27755 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObjListBase
, SWIG_NewClientData(obj
));
27756 return SWIG_Py_Void();
27759 SWIGINTERN PyObject
*GDIObjListBase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27760 return SWIG_Python_InitShadowInstance(args
);
27763 SWIGINTERN PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27764 PyObject
*resultobj
= 0;
27765 wxPenList
*arg1
= (wxPenList
*) 0 ;
27766 wxColour
*arg2
= 0 ;
27769 wxPen
*result
= 0 ;
27777 PyObject
* obj0
= 0 ;
27778 PyObject
* obj1
= 0 ;
27779 PyObject
* obj2
= 0 ;
27780 PyObject
* obj3
= 0 ;
27781 char * kwnames
[] = {
27782 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
27785 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27786 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
27787 if (!SWIG_IsOK(res1
)) {
27788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "1"" of type '" "wxPenList *""'");
27790 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
27793 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
27795 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27796 if (!SWIG_IsOK(ecode3
)) {
27797 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "3"" of type '" "int""'");
27799 arg3
= static_cast< int >(val3
);
27800 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
27801 if (!SWIG_IsOK(ecode4
)) {
27802 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "4"" of type '" "int""'");
27804 arg4
= static_cast< int >(val4
);
27806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27807 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
27808 wxPyEndAllowThreads(__tstate
);
27809 if (PyErr_Occurred()) SWIG_fail
;
27811 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
27818 SWIGINTERN PyObject
*_wrap_PenList_AddPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27819 PyObject
*resultobj
= 0;
27820 wxPenList
*arg1
= (wxPenList
*) 0 ;
27821 wxPen
*arg2
= (wxPen
*) 0 ;
27826 PyObject
* obj0
= 0 ;
27827 PyObject
* obj1
= 0 ;
27828 char * kwnames
[] = {
27829 (char *) "self",(char *) "pen", NULL
27832 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27833 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
27834 if (!SWIG_IsOK(res1
)) {
27835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_AddPen" "', expected argument " "1"" of type '" "wxPenList *""'");
27837 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
27838 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
27839 if (!SWIG_IsOK(res2
)) {
27840 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_AddPen" "', expected argument " "2"" of type '" "wxPen *""'");
27842 arg2
= reinterpret_cast< wxPen
* >(argp2
);
27844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27845 (arg1
)->AddPen(arg2
);
27846 wxPyEndAllowThreads(__tstate
);
27847 if (PyErr_Occurred()) SWIG_fail
;
27849 resultobj
= SWIG_Py_Void();
27856 SWIGINTERN PyObject
*_wrap_PenList_RemovePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27857 PyObject
*resultobj
= 0;
27858 wxPenList
*arg1
= (wxPenList
*) 0 ;
27859 wxPen
*arg2
= (wxPen
*) 0 ;
27864 PyObject
* obj0
= 0 ;
27865 PyObject
* obj1
= 0 ;
27866 char * kwnames
[] = {
27867 (char *) "self",(char *) "pen", NULL
27870 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27871 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
27872 if (!SWIG_IsOK(res1
)) {
27873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_RemovePen" "', expected argument " "1"" of type '" "wxPenList *""'");
27875 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
27876 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
27877 if (!SWIG_IsOK(res2
)) {
27878 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_RemovePen" "', expected argument " "2"" of type '" "wxPen *""'");
27880 arg2
= reinterpret_cast< wxPen
* >(argp2
);
27882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27883 (arg1
)->RemovePen(arg2
);
27884 wxPyEndAllowThreads(__tstate
);
27885 if (PyErr_Occurred()) SWIG_fail
;
27887 resultobj
= SWIG_Py_Void();
27894 SWIGINTERN PyObject
*PenList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27896 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27897 SWIG_TypeNewClientData(SWIGTYPE_p_wxPenList
, SWIG_NewClientData(obj
));
27898 return SWIG_Py_Void();
27901 SWIGINTERN PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27902 PyObject
*resultobj
= 0;
27903 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
27904 wxColour
*arg2
= 0 ;
27905 int arg3
= (int) wxSOLID
;
27906 wxBrush
*result
= 0 ;
27912 PyObject
* obj0
= 0 ;
27913 PyObject
* obj1
= 0 ;
27914 PyObject
* obj2
= 0 ;
27915 char * kwnames
[] = {
27916 (char *) "self",(char *) "colour",(char *) "style", NULL
27919 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27920 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
27921 if (!SWIG_IsOK(res1
)) {
27922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
27924 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
27927 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
27930 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27931 if (!SWIG_IsOK(ecode3
)) {
27932 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "3"" of type '" "int""'");
27934 arg3
= static_cast< int >(val3
);
27937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27938 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
27939 wxPyEndAllowThreads(__tstate
);
27940 if (PyErr_Occurred()) SWIG_fail
;
27942 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
27949 SWIGINTERN PyObject
*_wrap_BrushList_AddBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27950 PyObject
*resultobj
= 0;
27951 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
27952 wxBrush
*arg2
= (wxBrush
*) 0 ;
27957 PyObject
* obj0
= 0 ;
27958 PyObject
* obj1
= 0 ;
27959 char * kwnames
[] = {
27960 (char *) "self",(char *) "brush", NULL
27963 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27964 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
27965 if (!SWIG_IsOK(res1
)) {
27966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_AddBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
27968 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
27969 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
27970 if (!SWIG_IsOK(res2
)) {
27971 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_AddBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
27973 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
27975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27976 (arg1
)->AddBrush(arg2
);
27977 wxPyEndAllowThreads(__tstate
);
27978 if (PyErr_Occurred()) SWIG_fail
;
27980 resultobj
= SWIG_Py_Void();
27987 SWIGINTERN PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27988 PyObject
*resultobj
= 0;
27989 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
27990 wxBrush
*arg2
= (wxBrush
*) 0 ;
27995 PyObject
* obj0
= 0 ;
27996 PyObject
* obj1
= 0 ;
27997 char * kwnames
[] = {
27998 (char *) "self",(char *) "brush", NULL
28001 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28002 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
28003 if (!SWIG_IsOK(res1
)) {
28004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_RemoveBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
28006 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
28007 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
28008 if (!SWIG_IsOK(res2
)) {
28009 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_RemoveBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
28011 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
28013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28014 (arg1
)->RemoveBrush(arg2
);
28015 wxPyEndAllowThreads(__tstate
);
28016 if (PyErr_Occurred()) SWIG_fail
;
28018 resultobj
= SWIG_Py_Void();
28025 SWIGINTERN PyObject
*BrushList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28027 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28028 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrushList
, SWIG_NewClientData(obj
));
28029 return SWIG_Py_Void();
28032 SWIGINTERN PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28033 PyObject
*resultobj
= 0;
28034 wxFontList
*arg1
= (wxFontList
*) 0 ;
28039 bool arg6
= (bool) false ;
28040 wxString
const &arg7_defvalue
= wxPyEmptyString
;
28041 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28042 wxFontEncoding arg8
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
28043 wxFont
*result
= 0 ;
28056 bool temp7
= false ;
28059 PyObject
* obj0
= 0 ;
28060 PyObject
* obj1
= 0 ;
28061 PyObject
* obj2
= 0 ;
28062 PyObject
* obj3
= 0 ;
28063 PyObject
* obj4
= 0 ;
28064 PyObject
* obj5
= 0 ;
28065 PyObject
* obj6
= 0 ;
28066 PyObject
* obj7
= 0 ;
28067 char * kwnames
[] = {
28068 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
28071 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
28072 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
28073 if (!SWIG_IsOK(res1
)) {
28074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "1"" of type '" "wxFontList *""'");
28076 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
28077 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28078 if (!SWIG_IsOK(ecode2
)) {
28079 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "2"" of type '" "int""'");
28081 arg2
= static_cast< int >(val2
);
28082 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28083 if (!SWIG_IsOK(ecode3
)) {
28084 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "3"" of type '" "int""'");
28086 arg3
= static_cast< int >(val3
);
28087 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
28088 if (!SWIG_IsOK(ecode4
)) {
28089 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "4"" of type '" "int""'");
28091 arg4
= static_cast< int >(val4
);
28092 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
28093 if (!SWIG_IsOK(ecode5
)) {
28094 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "5"" of type '" "int""'");
28096 arg5
= static_cast< int >(val5
);
28098 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
28099 if (!SWIG_IsOK(ecode6
)) {
28100 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "6"" of type '" "bool""'");
28102 arg6
= static_cast< bool >(val6
);
28106 arg7
= wxString_in_helper(obj6
);
28107 if (arg7
== NULL
) SWIG_fail
;
28112 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
28113 if (!SWIG_IsOK(ecode8
)) {
28114 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "8"" of type '" "wxFontEncoding""'");
28116 arg8
= static_cast< wxFontEncoding
>(val8
);
28119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28120 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,arg8
);
28121 wxPyEndAllowThreads(__tstate
);
28122 if (PyErr_Occurred()) SWIG_fail
;
28124 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
28139 SWIGINTERN PyObject
*_wrap_FontList_AddFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28140 PyObject
*resultobj
= 0;
28141 wxFontList
*arg1
= (wxFontList
*) 0 ;
28142 wxFont
*arg2
= (wxFont
*) 0 ;
28147 PyObject
* obj0
= 0 ;
28148 PyObject
* obj1
= 0 ;
28149 char * kwnames
[] = {
28150 (char *) "self",(char *) "font", NULL
28153 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28154 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
28155 if (!SWIG_IsOK(res1
)) {
28156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_AddFont" "', expected argument " "1"" of type '" "wxFontList *""'");
28158 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
28159 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
28160 if (!SWIG_IsOK(res2
)) {
28161 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_AddFont" "', expected argument " "2"" of type '" "wxFont *""'");
28163 arg2
= reinterpret_cast< wxFont
* >(argp2
);
28165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28166 (arg1
)->AddFont(arg2
);
28167 wxPyEndAllowThreads(__tstate
);
28168 if (PyErr_Occurred()) SWIG_fail
;
28170 resultobj
= SWIG_Py_Void();
28177 SWIGINTERN PyObject
*_wrap_FontList_RemoveFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28178 PyObject
*resultobj
= 0;
28179 wxFontList
*arg1
= (wxFontList
*) 0 ;
28180 wxFont
*arg2
= (wxFont
*) 0 ;
28185 PyObject
* obj0
= 0 ;
28186 PyObject
* obj1
= 0 ;
28187 char * kwnames
[] = {
28188 (char *) "self",(char *) "font", NULL
28191 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28192 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
28193 if (!SWIG_IsOK(res1
)) {
28194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_RemoveFont" "', expected argument " "1"" of type '" "wxFontList *""'");
28196 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
28197 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
28198 if (!SWIG_IsOK(res2
)) {
28199 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_RemoveFont" "', expected argument " "2"" of type '" "wxFont *""'");
28201 arg2
= reinterpret_cast< wxFont
* >(argp2
);
28203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28204 (arg1
)->RemoveFont(arg2
);
28205 wxPyEndAllowThreads(__tstate
);
28206 if (PyErr_Occurred()) SWIG_fail
;
28208 resultobj
= SWIG_Py_Void();
28215 SWIGINTERN PyObject
*FontList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28217 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28218 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontList
, SWIG_NewClientData(obj
));
28219 return SWIG_Py_Void();
28222 SWIGINTERN PyObject
*_wrap_new_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28223 PyObject
*resultobj
= 0;
28224 wxColourDatabase
*result
= 0 ;
28226 if (!SWIG_Python_UnpackTuple(args
,"new_ColourDatabase",0,0,0)) SWIG_fail
;
28228 if (!wxPyCheckForApp()) SWIG_fail
;
28229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28230 result
= (wxColourDatabase
*)new wxColourDatabase();
28231 wxPyEndAllowThreads(__tstate
);
28232 if (PyErr_Occurred()) SWIG_fail
;
28234 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_NEW
| 0 );
28241 SWIGINTERN PyObject
*_wrap_delete_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28242 PyObject
*resultobj
= 0;
28243 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
28246 PyObject
*swig_obj
[1] ;
28248 if (!args
) SWIG_fail
;
28249 swig_obj
[0] = args
;
28250 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_DISOWN
| 0 );
28251 if (!SWIG_IsOK(res1
)) {
28252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourDatabase" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
28254 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
28256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28259 wxPyEndAllowThreads(__tstate
);
28260 if (PyErr_Occurred()) SWIG_fail
;
28262 resultobj
= SWIG_Py_Void();
28269 SWIGINTERN PyObject
*_wrap_ColourDatabase_Find(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28270 PyObject
*resultobj
= 0;
28271 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
28272 wxString
*arg2
= 0 ;
28276 bool temp2
= false ;
28277 PyObject
* obj0
= 0 ;
28278 PyObject
* obj1
= 0 ;
28279 char * kwnames
[] = {
28280 (char *) "self",(char *) "name", NULL
28283 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28284 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
28285 if (!SWIG_IsOK(res1
)) {
28286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Find" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
28288 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
28290 arg2
= wxString_in_helper(obj1
);
28291 if (arg2
== NULL
) SWIG_fail
;
28295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28296 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
28297 wxPyEndAllowThreads(__tstate
);
28298 if (PyErr_Occurred()) SWIG_fail
;
28300 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
28315 SWIGINTERN PyObject
*_wrap_ColourDatabase_FindName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28316 PyObject
*resultobj
= 0;
28317 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
28318 wxColour
*arg2
= 0 ;
28323 PyObject
* obj0
= 0 ;
28324 PyObject
* obj1
= 0 ;
28325 char * kwnames
[] = {
28326 (char *) "self",(char *) "colour", NULL
28329 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28330 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
28331 if (!SWIG_IsOK(res1
)) {
28332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_FindName" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
28334 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
28337 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
28340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28341 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
28342 wxPyEndAllowThreads(__tstate
);
28343 if (PyErr_Occurred()) SWIG_fail
;
28347 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28349 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28358 SWIGINTERN PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28359 PyObject
*resultobj
= 0;
28360 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
28361 wxString
*arg2
= 0 ;
28362 wxColour
*arg3
= 0 ;
28365 bool temp2
= false ;
28367 PyObject
* obj0
= 0 ;
28368 PyObject
* obj1
= 0 ;
28369 PyObject
* obj2
= 0 ;
28370 char * kwnames
[] = {
28371 (char *) "self",(char *) "name",(char *) "colour", NULL
28374 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28375 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
28376 if (!SWIG_IsOK(res1
)) {
28377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_AddColour" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
28379 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
28381 arg2
= wxString_in_helper(obj1
);
28382 if (arg2
== NULL
) SWIG_fail
;
28387 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
28390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28391 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
28392 wxPyEndAllowThreads(__tstate
);
28393 if (PyErr_Occurred()) SWIG_fail
;
28395 resultobj
= SWIG_Py_Void();
28410 SWIGINTERN PyObject
*_wrap_ColourDatabase_Append(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28411 PyObject
*resultobj
= 0;
28412 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
28413 wxString
*arg2
= 0 ;
28419 bool temp2
= false ;
28426 PyObject
* obj0
= 0 ;
28427 PyObject
* obj1
= 0 ;
28428 PyObject
* obj2
= 0 ;
28429 PyObject
* obj3
= 0 ;
28430 PyObject
* obj4
= 0 ;
28431 char * kwnames
[] = {
28432 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
28435 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
28436 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
28437 if (!SWIG_IsOK(res1
)) {
28438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Append" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
28440 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
28442 arg2
= wxString_in_helper(obj1
);
28443 if (arg2
== NULL
) SWIG_fail
;
28446 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28447 if (!SWIG_IsOK(ecode3
)) {
28448 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourDatabase_Append" "', expected argument " "3"" of type '" "int""'");
28450 arg3
= static_cast< int >(val3
);
28451 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
28452 if (!SWIG_IsOK(ecode4
)) {
28453 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ColourDatabase_Append" "', expected argument " "4"" of type '" "int""'");
28455 arg4
= static_cast< int >(val4
);
28456 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
28457 if (!SWIG_IsOK(ecode5
)) {
28458 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ColourDatabase_Append" "', expected argument " "5"" of type '" "int""'");
28460 arg5
= static_cast< int >(val5
);
28462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28463 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
28464 wxPyEndAllowThreads(__tstate
);
28465 if (PyErr_Occurred()) SWIG_fail
;
28467 resultobj
= SWIG_Py_Void();
28482 SWIGINTERN PyObject
*ColourDatabase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28484 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28485 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDatabase
, SWIG_NewClientData(obj
));
28486 return SWIG_Py_Void();
28489 SWIGINTERN PyObject
*ColourDatabase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28490 return SWIG_Python_InitShadowInstance(args
);
28493 SWIGINTERN PyObject
*_wrap__wxPyInitTheFontList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28494 PyObject
*resultobj
= 0;
28495 wxFontList
*result
= 0 ;
28497 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheFontList",0,0,0)) SWIG_fail
;
28499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28500 result
= (wxFontList
*)_wxPyInitTheFontList();
28501 wxPyEndAllowThreads(__tstate
);
28502 if (PyErr_Occurred()) SWIG_fail
;
28504 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontList
, 0 | 0 );
28511 SWIGINTERN PyObject
*_wrap__wxPyInitThePenList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28512 PyObject
*resultobj
= 0;
28513 wxPenList
*result
= 0 ;
28515 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitThePenList",0,0,0)) SWIG_fail
;
28517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28518 result
= (wxPenList
*)_wxPyInitThePenList();
28519 wxPyEndAllowThreads(__tstate
);
28520 if (PyErr_Occurred()) SWIG_fail
;
28522 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPenList
, 0 | 0 );
28529 SWIGINTERN PyObject
*_wrap__wxPyInitTheBrushList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28530 PyObject
*resultobj
= 0;
28531 wxBrushList
*result
= 0 ;
28533 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheBrushList",0,0,0)) SWIG_fail
;
28535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28536 result
= (wxBrushList
*)_wxPyInitTheBrushList();
28537 wxPyEndAllowThreads(__tstate
);
28538 if (PyErr_Occurred()) SWIG_fail
;
28540 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrushList
, 0 | 0 );
28547 SWIGINTERN PyObject
*_wrap__wxPyInitTheColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28548 PyObject
*resultobj
= 0;
28549 wxColourDatabase
*result
= 0 ;
28551 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheColourDatabase",0,0,0)) SWIG_fail
;
28553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28554 result
= (wxColourDatabase
*)_wxPyInitTheColourDatabase();
28555 wxPyEndAllowThreads(__tstate
);
28556 if (PyErr_Occurred()) SWIG_fail
;
28558 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
28565 SWIGINTERN PyObject
*_wrap_new_Effects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28566 PyObject
*resultobj
= 0;
28567 wxEffects
*result
= 0 ;
28569 if (!SWIG_Python_UnpackTuple(args
,"new_Effects",0,0,0)) SWIG_fail
;
28571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28572 result
= (wxEffects
*)new wxEffects();
28573 wxPyEndAllowThreads(__tstate
);
28574 if (PyErr_Occurred()) SWIG_fail
;
28576 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEffects
, SWIG_POINTER_NEW
| 0 );
28583 SWIGINTERN PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28584 PyObject
*resultobj
= 0;
28585 wxEffects
*arg1
= (wxEffects
*) 0 ;
28589 PyObject
*swig_obj
[1] ;
28591 if (!args
) SWIG_fail
;
28592 swig_obj
[0] = args
;
28593 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
28594 if (!SWIG_IsOK(res1
)) {
28595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetHighlightColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
28597 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
28599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28600 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
28601 wxPyEndAllowThreads(__tstate
);
28602 if (PyErr_Occurred()) SWIG_fail
;
28604 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
28611 SWIGINTERN PyObject
*_wrap_Effects_GetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28612 PyObject
*resultobj
= 0;
28613 wxEffects
*arg1
= (wxEffects
*) 0 ;
28617 PyObject
*swig_obj
[1] ;
28619 if (!args
) SWIG_fail
;
28620 swig_obj
[0] = args
;
28621 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
28622 if (!SWIG_IsOK(res1
)) {
28623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetLightShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
28625 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
28627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28628 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
28629 wxPyEndAllowThreads(__tstate
);
28630 if (PyErr_Occurred()) SWIG_fail
;
28632 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
28639 SWIGINTERN PyObject
*_wrap_Effects_GetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28640 PyObject
*resultobj
= 0;
28641 wxEffects
*arg1
= (wxEffects
*) 0 ;
28645 PyObject
*swig_obj
[1] ;
28647 if (!args
) SWIG_fail
;
28648 swig_obj
[0] = args
;
28649 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
28650 if (!SWIG_IsOK(res1
)) {
28651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetFaceColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
28653 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
28655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28656 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
28657 wxPyEndAllowThreads(__tstate
);
28658 if (PyErr_Occurred()) SWIG_fail
;
28660 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
28667 SWIGINTERN PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28668 PyObject
*resultobj
= 0;
28669 wxEffects
*arg1
= (wxEffects
*) 0 ;
28673 PyObject
*swig_obj
[1] ;
28675 if (!args
) SWIG_fail
;
28676 swig_obj
[0] = args
;
28677 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
28678 if (!SWIG_IsOK(res1
)) {
28679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetMediumShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
28681 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
28683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28684 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
28685 wxPyEndAllowThreads(__tstate
);
28686 if (PyErr_Occurred()) SWIG_fail
;
28688 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
28695 SWIGINTERN PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28696 PyObject
*resultobj
= 0;
28697 wxEffects
*arg1
= (wxEffects
*) 0 ;
28701 PyObject
*swig_obj
[1] ;
28703 if (!args
) SWIG_fail
;
28704 swig_obj
[0] = args
;
28705 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
28706 if (!SWIG_IsOK(res1
)) {
28707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetDarkShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
28709 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
28711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28712 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
28713 wxPyEndAllowThreads(__tstate
);
28714 if (PyErr_Occurred()) SWIG_fail
;
28716 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
28723 SWIGINTERN PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28724 PyObject
*resultobj
= 0;
28725 wxEffects
*arg1
= (wxEffects
*) 0 ;
28726 wxColour
*arg2
= 0 ;
28730 PyObject
* obj0
= 0 ;
28731 PyObject
* obj1
= 0 ;
28732 char * kwnames
[] = {
28733 (char *) "self",(char *) "c", NULL
28736 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28737 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
28738 if (!SWIG_IsOK(res1
)) {
28739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetHighlightColour" "', expected argument " "1"" of type '" "wxEffects *""'");
28741 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
28744 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
28747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28748 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
28749 wxPyEndAllowThreads(__tstate
);
28750 if (PyErr_Occurred()) SWIG_fail
;
28752 resultobj
= SWIG_Py_Void();
28759 SWIGINTERN PyObject
*_wrap_Effects_SetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28760 PyObject
*resultobj
= 0;
28761 wxEffects
*arg1
= (wxEffects
*) 0 ;
28762 wxColour
*arg2
= 0 ;
28766 PyObject
* obj0
= 0 ;
28767 PyObject
* obj1
= 0 ;
28768 char * kwnames
[] = {
28769 (char *) "self",(char *) "c", NULL
28772 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28773 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
28774 if (!SWIG_IsOK(res1
)) {
28775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetLightShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
28777 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
28780 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
28783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28784 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
28785 wxPyEndAllowThreads(__tstate
);
28786 if (PyErr_Occurred()) SWIG_fail
;
28788 resultobj
= SWIG_Py_Void();
28795 SWIGINTERN PyObject
*_wrap_Effects_SetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28796 PyObject
*resultobj
= 0;
28797 wxEffects
*arg1
= (wxEffects
*) 0 ;
28798 wxColour
*arg2
= 0 ;
28802 PyObject
* obj0
= 0 ;
28803 PyObject
* obj1
= 0 ;
28804 char * kwnames
[] = {
28805 (char *) "self",(char *) "c", NULL
28808 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28809 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
28810 if (!SWIG_IsOK(res1
)) {
28811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetFaceColour" "', expected argument " "1"" of type '" "wxEffects *""'");
28813 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
28816 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
28819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28820 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
28821 wxPyEndAllowThreads(__tstate
);
28822 if (PyErr_Occurred()) SWIG_fail
;
28824 resultobj
= SWIG_Py_Void();
28831 SWIGINTERN PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28832 PyObject
*resultobj
= 0;
28833 wxEffects
*arg1
= (wxEffects
*) 0 ;
28834 wxColour
*arg2
= 0 ;
28838 PyObject
* obj0
= 0 ;
28839 PyObject
* obj1
= 0 ;
28840 char * kwnames
[] = {
28841 (char *) "self",(char *) "c", NULL
28844 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28845 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
28846 if (!SWIG_IsOK(res1
)) {
28847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetMediumShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
28849 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
28852 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
28855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28856 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
28857 wxPyEndAllowThreads(__tstate
);
28858 if (PyErr_Occurred()) SWIG_fail
;
28860 resultobj
= SWIG_Py_Void();
28867 SWIGINTERN PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28868 PyObject
*resultobj
= 0;
28869 wxEffects
*arg1
= (wxEffects
*) 0 ;
28870 wxColour
*arg2
= 0 ;
28874 PyObject
* obj0
= 0 ;
28875 PyObject
* obj1
= 0 ;
28876 char * kwnames
[] = {
28877 (char *) "self",(char *) "c", NULL
28880 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28881 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
28882 if (!SWIG_IsOK(res1
)) {
28883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetDarkShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
28885 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
28888 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
28891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28892 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
28893 wxPyEndAllowThreads(__tstate
);
28894 if (PyErr_Occurred()) SWIG_fail
;
28896 resultobj
= SWIG_Py_Void();
28903 SWIGINTERN PyObject
*_wrap_Effects_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28904 PyObject
*resultobj
= 0;
28905 wxEffects
*arg1
= (wxEffects
*) 0 ;
28906 wxColour
*arg2
= 0 ;
28907 wxColour
*arg3
= 0 ;
28908 wxColour
*arg4
= 0 ;
28909 wxColour
*arg5
= 0 ;
28910 wxColour
*arg6
= 0 ;
28918 PyObject
* obj0
= 0 ;
28919 PyObject
* obj1
= 0 ;
28920 PyObject
* obj2
= 0 ;
28921 PyObject
* obj3
= 0 ;
28922 PyObject
* obj4
= 0 ;
28923 PyObject
* obj5
= 0 ;
28924 char * kwnames
[] = {
28925 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
28928 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
28929 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
28930 if (!SWIG_IsOK(res1
)) {
28931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_Set" "', expected argument " "1"" of type '" "wxEffects *""'");
28933 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
28936 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
28940 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
28944 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
28948 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
28952 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
28955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28956 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
28957 wxPyEndAllowThreads(__tstate
);
28958 if (PyErr_Occurred()) SWIG_fail
;
28960 resultobj
= SWIG_Py_Void();
28967 SWIGINTERN PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28968 PyObject
*resultobj
= 0;
28969 wxEffects
*arg1
= (wxEffects
*) 0 ;
28972 int arg4
= (int) 1 ;
28980 PyObject
* obj0
= 0 ;
28981 PyObject
* obj1
= 0 ;
28982 PyObject
* obj2
= 0 ;
28983 PyObject
* obj3
= 0 ;
28984 char * kwnames
[] = {
28985 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
28988 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
28989 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
28990 if (!SWIG_IsOK(res1
)) {
28991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "1"" of type '" "wxEffects *""'");
28993 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
28994 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
28995 if (!SWIG_IsOK(res2
)) {
28996 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
28999 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
29001 arg2
= reinterpret_cast< wxDC
* >(argp2
);
29004 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
29007 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29008 if (!SWIG_IsOK(ecode4
)) {
29009 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "4"" of type '" "int""'");
29011 arg4
= static_cast< int >(val4
);
29014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29015 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
29016 wxPyEndAllowThreads(__tstate
);
29017 if (PyErr_Occurred()) SWIG_fail
;
29019 resultobj
= SWIG_Py_Void();
29026 SWIGINTERN PyObject
*_wrap_Effects_TileBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29027 PyObject
*resultobj
= 0;
29028 wxEffects
*arg1
= (wxEffects
*) 0 ;
29031 wxBitmap
*arg4
= 0 ;
29040 PyObject
* obj0
= 0 ;
29041 PyObject
* obj1
= 0 ;
29042 PyObject
* obj2
= 0 ;
29043 PyObject
* obj3
= 0 ;
29044 char * kwnames
[] = {
29045 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
29048 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29049 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29050 if (!SWIG_IsOK(res1
)) {
29051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_TileBitmap" "', expected argument " "1"" of type '" "wxEffects *""'");
29053 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
29056 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
29058 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
29059 if (!SWIG_IsOK(res3
)) {
29060 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
29063 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
29065 arg3
= reinterpret_cast< wxDC
* >(argp3
);
29066 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 );
29067 if (!SWIG_IsOK(res4
)) {
29068 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
29071 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
29073 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
29075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29076 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
29077 wxPyEndAllowThreads(__tstate
);
29078 if (PyErr_Occurred()) SWIG_fail
;
29081 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29089 SWIGINTERN PyObject
*Effects_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29091 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29092 SWIG_TypeNewClientData(SWIGTYPE_p_wxEffects
, SWIG_NewClientData(obj
));
29093 return SWIG_Py_Void();
29096 SWIGINTERN PyObject
*Effects_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29097 return SWIG_Python_InitShadowInstance(args
);
29100 SWIGINTERN PyObject
*_wrap_new_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29101 PyObject
*resultobj
= 0;
29105 wxSplitterRenderParams
*result
= 0 ;
29112 PyObject
* obj0
= 0 ;
29113 PyObject
* obj1
= 0 ;
29114 PyObject
* obj2
= 0 ;
29115 char * kwnames
[] = {
29116 (char *) "widthSash_",(char *) "border_",(char *) "isSens_", NULL
29119 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_SplitterRenderParams",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29120 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
29121 if (!SWIG_IsOK(ecode1
)) {
29122 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterRenderParams" "', expected argument " "1"" of type '" "int""'");
29124 arg1
= static_cast< int >(val1
);
29125 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29126 if (!SWIG_IsOK(ecode2
)) {
29127 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterRenderParams" "', expected argument " "2"" of type '" "int""'");
29129 arg2
= static_cast< int >(val2
);
29130 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
29131 if (!SWIG_IsOK(ecode3
)) {
29132 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplitterRenderParams" "', expected argument " "3"" of type '" "bool""'");
29134 arg3
= static_cast< bool >(val3
);
29136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29137 result
= (wxSplitterRenderParams
*)new wxSplitterRenderParams(arg1
,arg2
,arg3
);
29138 wxPyEndAllowThreads(__tstate
);
29139 if (PyErr_Occurred()) SWIG_fail
;
29141 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_NEW
| 0 );
29148 SWIGINTERN PyObject
*_wrap_delete_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29149 PyObject
*resultobj
= 0;
29150 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
29153 PyObject
*swig_obj
[1] ;
29155 if (!args
) SWIG_fail
;
29156 swig_obj
[0] = args
;
29157 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_DISOWN
| 0 );
29158 if (!SWIG_IsOK(res1
)) {
29159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_SplitterRenderParams" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
29161 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
29163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29166 wxPyEndAllowThreads(__tstate
);
29167 if (PyErr_Occurred()) SWIG_fail
;
29169 resultobj
= SWIG_Py_Void();
29176 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_widthSash_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29177 PyObject
*resultobj
= 0;
29178 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
29182 PyObject
*swig_obj
[1] ;
29184 if (!args
) SWIG_fail
;
29185 swig_obj
[0] = args
;
29186 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
29187 if (!SWIG_IsOK(res1
)) {
29188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_widthSash_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
29190 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
29191 result
= (int)(int) ((arg1
)->widthSash
);
29192 resultobj
= SWIG_From_int(static_cast< int >(result
));
29199 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_border_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29200 PyObject
*resultobj
= 0;
29201 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
29205 PyObject
*swig_obj
[1] ;
29207 if (!args
) SWIG_fail
;
29208 swig_obj
[0] = args
;
29209 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
29210 if (!SWIG_IsOK(res1
)) {
29211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_border_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
29213 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
29214 result
= (int)(int) ((arg1
)->border
);
29215 resultobj
= SWIG_From_int(static_cast< int >(result
));
29222 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_isHotSensitive_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29223 PyObject
*resultobj
= 0;
29224 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
29228 PyObject
*swig_obj
[1] ;
29230 if (!args
) SWIG_fail
;
29231 swig_obj
[0] = args
;
29232 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
29233 if (!SWIG_IsOK(res1
)) {
29234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_isHotSensitive_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
29236 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
29237 result
= (bool)(bool) ((arg1
)->isHotSensitive
);
29238 resultobj
= SWIG_From_bool(static_cast< bool >(result
));
29245 SWIGINTERN PyObject
*SplitterRenderParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29247 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29248 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterRenderParams
, SWIG_NewClientData(obj
));
29249 return SWIG_Py_Void();
29252 SWIGINTERN PyObject
*SplitterRenderParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29253 return SWIG_Python_InitShadowInstance(args
);
29256 SWIGINTERN PyObject
*_wrap_new_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29257 PyObject
*resultobj
= 0;
29258 wxHeaderButtonParams
*result
= 0 ;
29260 if (!SWIG_Python_UnpackTuple(args
,"new_HeaderButtonParams",0,0,0)) SWIG_fail
;
29262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29263 result
= (wxHeaderButtonParams
*)new wxHeaderButtonParams();
29264 wxPyEndAllowThreads(__tstate
);
29265 if (PyErr_Occurred()) SWIG_fail
;
29267 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_NEW
| 0 );
29274 SWIGINTERN PyObject
*_wrap_delete_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29275 PyObject
*resultobj
= 0;
29276 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29279 PyObject
*swig_obj
[1] ;
29281 if (!args
) SWIG_fail
;
29282 swig_obj
[0] = args
;
29283 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_DISOWN
| 0 );
29284 if (!SWIG_IsOK(res1
)) {
29285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HeaderButtonParams" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29287 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29292 wxPyEndAllowThreads(__tstate
);
29293 if (PyErr_Occurred()) SWIG_fail
;
29295 resultobj
= SWIG_Py_Void();
29302 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29303 PyObject
*resultobj
= 0;
29304 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29305 wxColour
*arg2
= (wxColour
*) 0 ;
29309 PyObject
*swig_obj
[2] ;
29311 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_arrowColour_set",2,2,swig_obj
)) SWIG_fail
;
29312 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29313 if (!SWIG_IsOK(res1
)) {
29314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29316 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29319 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
29321 if (arg1
) (arg1
)->m_arrowColour
= *arg2
;
29323 resultobj
= SWIG_Py_Void();
29330 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29331 PyObject
*resultobj
= 0;
29332 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29333 wxColour
*result
= 0 ;
29336 PyObject
*swig_obj
[1] ;
29338 if (!args
) SWIG_fail
;
29339 swig_obj
[0] = args
;
29340 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29341 if (!SWIG_IsOK(res1
)) {
29342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29344 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29345 result
= (wxColour
*)& ((arg1
)->m_arrowColour
);
29346 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
29353 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29354 PyObject
*resultobj
= 0;
29355 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29356 wxColour
*arg2
= (wxColour
*) 0 ;
29360 PyObject
*swig_obj
[2] ;
29362 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_selectionColour_set",2,2,swig_obj
)) SWIG_fail
;
29363 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29364 if (!SWIG_IsOK(res1
)) {
29365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29367 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29370 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
29372 if (arg1
) (arg1
)->m_selectionColour
= *arg2
;
29374 resultobj
= SWIG_Py_Void();
29381 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29382 PyObject
*resultobj
= 0;
29383 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29384 wxColour
*result
= 0 ;
29387 PyObject
*swig_obj
[1] ;
29389 if (!args
) SWIG_fail
;
29390 swig_obj
[0] = args
;
29391 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29392 if (!SWIG_IsOK(res1
)) {
29393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29395 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29396 result
= (wxColour
*)& ((arg1
)->m_selectionColour
);
29397 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
29404 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29405 PyObject
*resultobj
= 0;
29406 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29407 wxString
*arg2
= (wxString
*) 0 ;
29410 bool temp2
= false ;
29411 PyObject
*swig_obj
[2] ;
29413 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelText_set",2,2,swig_obj
)) SWIG_fail
;
29414 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29415 if (!SWIG_IsOK(res1
)) {
29416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29418 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29420 arg2
= wxString_in_helper(swig_obj
[1]);
29421 if (arg2
== NULL
) SWIG_fail
;
29424 if (arg1
) (arg1
)->m_labelText
= *arg2
;
29426 resultobj
= SWIG_Py_Void();
29441 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29442 PyObject
*resultobj
= 0;
29443 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29444 wxString
*result
= 0 ;
29447 PyObject
*swig_obj
[1] ;
29449 if (!args
) SWIG_fail
;
29450 swig_obj
[0] = args
;
29451 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29452 if (!SWIG_IsOK(res1
)) {
29453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29455 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29456 result
= (wxString
*)& ((arg1
)->m_labelText
);
29459 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
29461 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
29470 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29471 PyObject
*resultobj
= 0;
29472 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29473 wxFont
*arg2
= (wxFont
*) 0 ;
29478 PyObject
*swig_obj
[2] ;
29480 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelFont_set",2,2,swig_obj
)) SWIG_fail
;
29481 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29482 if (!SWIG_IsOK(res1
)) {
29483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29485 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29486 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
29487 if (!SWIG_IsOK(res2
)) {
29488 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "2"" of type '" "wxFont *""'");
29490 arg2
= reinterpret_cast< wxFont
* >(argp2
);
29491 if (arg1
) (arg1
)->m_labelFont
= *arg2
;
29493 resultobj
= SWIG_Py_Void();
29500 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29501 PyObject
*resultobj
= 0;
29502 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29503 wxFont
*result
= 0 ;
29506 PyObject
*swig_obj
[1] ;
29508 if (!args
) SWIG_fail
;
29509 swig_obj
[0] = args
;
29510 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29511 if (!SWIG_IsOK(res1
)) {
29512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29514 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29515 result
= (wxFont
*)& ((arg1
)->m_labelFont
);
29516 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
29523 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29524 PyObject
*resultobj
= 0;
29525 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29526 wxColour
*arg2
= (wxColour
*) 0 ;
29530 PyObject
*swig_obj
[2] ;
29532 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelColour_set",2,2,swig_obj
)) SWIG_fail
;
29533 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29534 if (!SWIG_IsOK(res1
)) {
29535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29537 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29540 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
29542 if (arg1
) (arg1
)->m_labelColour
= *arg2
;
29544 resultobj
= SWIG_Py_Void();
29551 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29552 PyObject
*resultobj
= 0;
29553 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29554 wxColour
*result
= 0 ;
29557 PyObject
*swig_obj
[1] ;
29559 if (!args
) SWIG_fail
;
29560 swig_obj
[0] = args
;
29561 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29562 if (!SWIG_IsOK(res1
)) {
29563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29565 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29566 result
= (wxColour
*)& ((arg1
)->m_labelColour
);
29567 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
29574 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29575 PyObject
*resultobj
= 0;
29576 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29577 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
29582 PyObject
*swig_obj
[2] ;
29584 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelBitmap_set",2,2,swig_obj
)) SWIG_fail
;
29585 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29586 if (!SWIG_IsOK(res1
)) {
29587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29589 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29590 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
29591 if (!SWIG_IsOK(res2
)) {
29592 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "2"" of type '" "wxBitmap *""'");
29594 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
29595 if (arg1
) (arg1
)->m_labelBitmap
= *arg2
;
29597 resultobj
= SWIG_Py_Void();
29604 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29605 PyObject
*resultobj
= 0;
29606 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29607 wxBitmap
*result
= 0 ;
29610 PyObject
*swig_obj
[1] ;
29612 if (!args
) SWIG_fail
;
29613 swig_obj
[0] = args
;
29614 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29615 if (!SWIG_IsOK(res1
)) {
29616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29618 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29619 result
= (wxBitmap
*)& ((arg1
)->m_labelBitmap
);
29620 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
29627 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29628 PyObject
*resultobj
= 0;
29629 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29635 PyObject
*swig_obj
[2] ;
29637 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelAlignment_set",2,2,swig_obj
)) SWIG_fail
;
29638 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29639 if (!SWIG_IsOK(res1
)) {
29640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29642 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29643 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
29644 if (!SWIG_IsOK(ecode2
)) {
29645 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "2"" of type '" "int""'");
29647 arg2
= static_cast< int >(val2
);
29648 if (arg1
) (arg1
)->m_labelAlignment
= arg2
;
29650 resultobj
= SWIG_Py_Void();
29657 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29658 PyObject
*resultobj
= 0;
29659 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29663 PyObject
*swig_obj
[1] ;
29665 if (!args
) SWIG_fail
;
29666 swig_obj
[0] = args
;
29667 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29668 if (!SWIG_IsOK(res1
)) {
29669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29671 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29672 result
= (int) ((arg1
)->m_labelAlignment
);
29673 resultobj
= SWIG_From_int(static_cast< int >(result
));
29680 SWIGINTERN PyObject
*HeaderButtonParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29682 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29683 SWIG_TypeNewClientData(SWIGTYPE_p_wxHeaderButtonParams
, SWIG_NewClientData(obj
));
29684 return SWIG_Py_Void();
29687 SWIGINTERN PyObject
*HeaderButtonParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29688 return SWIG_Python_InitShadowInstance(args
);
29691 SWIGINTERN PyObject
*_wrap_new_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29692 PyObject
*resultobj
= 0;
29695 wxRendererVersion
*result
= 0 ;
29700 PyObject
* obj0
= 0 ;
29701 PyObject
* obj1
= 0 ;
29702 char * kwnames
[] = {
29703 (char *) "version_",(char *) "age_", NULL
29706 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RendererVersion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29707 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
29708 if (!SWIG_IsOK(ecode1
)) {
29709 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_RendererVersion" "', expected argument " "1"" of type '" "int""'");
29711 arg1
= static_cast< int >(val1
);
29712 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29713 if (!SWIG_IsOK(ecode2
)) {
29714 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RendererVersion" "', expected argument " "2"" of type '" "int""'");
29716 arg2
= static_cast< int >(val2
);
29718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29719 result
= (wxRendererVersion
*)new wxRendererVersion(arg1
,arg2
);
29720 wxPyEndAllowThreads(__tstate
);
29721 if (PyErr_Occurred()) SWIG_fail
;
29723 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_NEW
| 0 );
29730 SWIGINTERN PyObject
*_wrap_delete_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29731 PyObject
*resultobj
= 0;
29732 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
29735 PyObject
*swig_obj
[1] ;
29737 if (!args
) SWIG_fail
;
29738 swig_obj
[0] = args
;
29739 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_DISOWN
| 0 );
29740 if (!SWIG_IsOK(res1
)) {
29741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RendererVersion" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
29743 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
29745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29748 wxPyEndAllowThreads(__tstate
);
29749 if (PyErr_Occurred()) SWIG_fail
;
29751 resultobj
= SWIG_Py_Void();
29758 SWIGINTERN PyObject
*_wrap_RendererVersion_IsCompatible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29759 PyObject
*resultobj
= 0;
29760 wxRendererVersion
*arg1
= 0 ;
29764 PyObject
* obj0
= 0 ;
29765 char * kwnames
[] = {
29766 (char *) "ver", NULL
29769 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererVersion_IsCompatible",kwnames
,&obj0
)) SWIG_fail
;
29770 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRendererVersion
, 0 | 0);
29771 if (!SWIG_IsOK(res1
)) {
29772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
29775 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
29777 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
29779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29780 result
= (bool)wxRendererVersion::IsCompatible((wxRendererVersion
const &)*arg1
);
29781 wxPyEndAllowThreads(__tstate
);
29782 if (PyErr_Occurred()) SWIG_fail
;
29785 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29793 SWIGINTERN PyObject
*_wrap_RendererVersion_version_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29794 PyObject
*resultobj
= 0;
29795 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
29799 PyObject
*swig_obj
[1] ;
29801 if (!args
) SWIG_fail
;
29802 swig_obj
[0] = args
;
29803 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
29804 if (!SWIG_IsOK(res1
)) {
29805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_version_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
29807 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
29808 result
= (int)(int) ((arg1
)->version
);
29809 resultobj
= SWIG_From_int(static_cast< int >(result
));
29816 SWIGINTERN PyObject
*_wrap_RendererVersion_age_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29817 PyObject
*resultobj
= 0;
29818 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
29822 PyObject
*swig_obj
[1] ;
29824 if (!args
) SWIG_fail
;
29825 swig_obj
[0] = args
;
29826 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
29827 if (!SWIG_IsOK(res1
)) {
29828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_age_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
29830 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
29831 result
= (int)(int) ((arg1
)->age
);
29832 resultobj
= SWIG_From_int(static_cast< int >(result
));
29839 SWIGINTERN PyObject
*RendererVersion_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29841 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29842 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererVersion
, SWIG_NewClientData(obj
));
29843 return SWIG_Py_Void();
29846 SWIGINTERN PyObject
*RendererVersion_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29847 return SWIG_Python_InitShadowInstance(args
);
29850 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29851 PyObject
*resultobj
= 0;
29852 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
29853 wxWindow
*arg2
= (wxWindow
*) 0 ;
29856 int arg5
= (int) 0 ;
29857 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
29858 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
29872 PyObject
* obj0
= 0 ;
29873 PyObject
* obj1
= 0 ;
29874 PyObject
* obj2
= 0 ;
29875 PyObject
* obj3
= 0 ;
29876 PyObject
* obj4
= 0 ;
29877 PyObject
* obj5
= 0 ;
29878 PyObject
* obj6
= 0 ;
29879 char * kwnames
[] = {
29880 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
29883 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
29884 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
29885 if (!SWIG_IsOK(res1
)) {
29886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
29888 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
29889 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29890 if (!SWIG_IsOK(res2
)) {
29891 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "2"" of type '" "wxWindow *""'");
29893 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
29894 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
29895 if (!SWIG_IsOK(res3
)) {
29896 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
29899 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
29901 arg3
= reinterpret_cast< wxDC
* >(argp3
);
29904 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
29907 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
29908 if (!SWIG_IsOK(ecode5
)) {
29909 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "5"" of type '" "int""'");
29911 arg5
= static_cast< int >(val5
);
29914 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
29915 if (!SWIG_IsOK(ecode6
)) {
29916 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
29918 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
29921 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29922 if (!SWIG_IsOK(res7
)) {
29923 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
29925 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
29928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29929 (arg1
)->DrawHeaderButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
29930 wxPyEndAllowThreads(__tstate
);
29931 if (PyErr_Occurred()) SWIG_fail
;
29933 resultobj
= SWIG_Py_Void();
29940 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButtonContents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29941 PyObject
*resultobj
= 0;
29942 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
29943 wxWindow
*arg2
= (wxWindow
*) 0 ;
29946 int arg5
= (int) 0 ;
29947 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
29948 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
29962 PyObject
* obj0
= 0 ;
29963 PyObject
* obj1
= 0 ;
29964 PyObject
* obj2
= 0 ;
29965 PyObject
* obj3
= 0 ;
29966 PyObject
* obj4
= 0 ;
29967 PyObject
* obj5
= 0 ;
29968 PyObject
* obj6
= 0 ;
29969 char * kwnames
[] = {
29970 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
29973 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButtonContents",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
29974 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
29975 if (!SWIG_IsOK(res1
)) {
29976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "1"" of type '" "wxRendererNative *""'");
29978 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
29979 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29980 if (!SWIG_IsOK(res2
)) {
29981 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "2"" of type '" "wxWindow *""'");
29983 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
29984 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
29985 if (!SWIG_IsOK(res3
)) {
29986 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
29989 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
29991 arg3
= reinterpret_cast< wxDC
* >(argp3
);
29994 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
29997 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
29998 if (!SWIG_IsOK(ecode5
)) {
29999 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "5"" of type '" "int""'");
30001 arg5
= static_cast< int >(val5
);
30004 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
30005 if (!SWIG_IsOK(ecode6
)) {
30006 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
30008 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
30011 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
30012 if (!SWIG_IsOK(res7
)) {
30013 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
30015 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
30018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30019 (arg1
)->DrawHeaderButtonContents(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
30020 wxPyEndAllowThreads(__tstate
);
30021 if (PyErr_Occurred()) SWIG_fail
;
30023 resultobj
= SWIG_Py_Void();
30030 SWIGINTERN PyObject
*_wrap_RendererNative_GetHeaderButtonHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30031 PyObject
*resultobj
= 0;
30032 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30033 wxWindow
*arg2
= (wxWindow
*) 0 ;
30039 PyObject
* obj0
= 0 ;
30040 PyObject
* obj1
= 0 ;
30041 char * kwnames
[] = {
30042 (char *) "self",(char *) "win", NULL
30045 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetHeaderButtonHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30046 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30047 if (!SWIG_IsOK(res1
)) {
30048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30050 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30051 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30052 if (!SWIG_IsOK(res2
)) {
30053 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "2"" of type '" "wxWindow *""'");
30055 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30058 result
= (int)(arg1
)->GetHeaderButtonHeight(arg2
);
30059 wxPyEndAllowThreads(__tstate
);
30060 if (PyErr_Occurred()) SWIG_fail
;
30062 resultobj
= SWIG_From_int(static_cast< int >(result
));
30069 SWIGINTERN PyObject
*_wrap_RendererNative_DrawTreeItemButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30070 PyObject
*resultobj
= 0;
30071 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30072 wxWindow
*arg2
= (wxWindow
*) 0 ;
30075 int arg5
= (int) 0 ;
30085 PyObject
* obj0
= 0 ;
30086 PyObject
* obj1
= 0 ;
30087 PyObject
* obj2
= 0 ;
30088 PyObject
* obj3
= 0 ;
30089 PyObject
* obj4
= 0 ;
30090 char * kwnames
[] = {
30091 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
30094 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawTreeItemButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30095 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30096 if (!SWIG_IsOK(res1
)) {
30097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30099 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30100 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30101 if (!SWIG_IsOK(res2
)) {
30102 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "2"" of type '" "wxWindow *""'");
30104 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30105 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30106 if (!SWIG_IsOK(res3
)) {
30107 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
30110 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
30112 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30115 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
30118 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30119 if (!SWIG_IsOK(ecode5
)) {
30120 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "5"" of type '" "int""'");
30122 arg5
= static_cast< int >(val5
);
30125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30126 (arg1
)->DrawTreeItemButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
30127 wxPyEndAllowThreads(__tstate
);
30128 if (PyErr_Occurred()) SWIG_fail
;
30130 resultobj
= SWIG_Py_Void();
30137 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30138 PyObject
*resultobj
= 0;
30139 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30140 wxWindow
*arg2
= (wxWindow
*) 0 ;
30143 int arg5
= (int) 0 ;
30153 PyObject
* obj0
= 0 ;
30154 PyObject
* obj1
= 0 ;
30155 PyObject
* obj2
= 0 ;
30156 PyObject
* obj3
= 0 ;
30157 PyObject
* obj4
= 0 ;
30158 char * kwnames
[] = {
30159 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
30162 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawSplitterBorder",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30163 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30164 if (!SWIG_IsOK(res1
)) {
30165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30167 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30168 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30169 if (!SWIG_IsOK(res2
)) {
30170 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "2"" of type '" "wxWindow *""'");
30172 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30173 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30174 if (!SWIG_IsOK(res3
)) {
30175 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
30178 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
30180 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30183 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
30186 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30187 if (!SWIG_IsOK(ecode5
)) {
30188 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "5"" of type '" "int""'");
30190 arg5
= static_cast< int >(val5
);
30193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30194 (arg1
)->DrawSplitterBorder(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
30195 wxPyEndAllowThreads(__tstate
);
30196 if (PyErr_Occurred()) SWIG_fail
;
30198 resultobj
= SWIG_Py_Void();
30205 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterSash(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30206 PyObject
*resultobj
= 0;
30207 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30208 wxWindow
*arg2
= (wxWindow
*) 0 ;
30212 wxOrientation arg6
;
30213 int arg7
= (int) 0 ;
30227 PyObject
* obj0
= 0 ;
30228 PyObject
* obj1
= 0 ;
30229 PyObject
* obj2
= 0 ;
30230 PyObject
* obj3
= 0 ;
30231 PyObject
* obj4
= 0 ;
30232 PyObject
* obj5
= 0 ;
30233 PyObject
* obj6
= 0 ;
30234 char * kwnames
[] = {
30235 (char *) "self",(char *) "win",(char *) "dc",(char *) "size",(char *) "position",(char *) "orient",(char *) "flags", NULL
30238 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:RendererNative_DrawSplitterSash",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30239 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30240 if (!SWIG_IsOK(res1
)) {
30241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30243 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30244 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30245 if (!SWIG_IsOK(res2
)) {
30246 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "2"" of type '" "wxWindow *""'");
30248 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30249 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30250 if (!SWIG_IsOK(res3
)) {
30251 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
30254 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
30256 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30259 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
30261 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30262 if (!SWIG_IsOK(ecode5
)) {
30263 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "5"" of type '" "int""'");
30265 arg5
= static_cast< int >(val5
);
30266 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
30267 if (!SWIG_IsOK(ecode6
)) {
30268 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "6"" of type '" "wxOrientation""'");
30270 arg6
= static_cast< wxOrientation
>(val6
);
30272 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
30273 if (!SWIG_IsOK(ecode7
)) {
30274 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "7"" of type '" "int""'");
30276 arg7
= static_cast< int >(val7
);
30279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30280 (arg1
)->DrawSplitterSash(arg2
,*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
);
30281 wxPyEndAllowThreads(__tstate
);
30282 if (PyErr_Occurred()) SWIG_fail
;
30284 resultobj
= SWIG_Py_Void();
30291 SWIGINTERN PyObject
*_wrap_RendererNative_DrawComboBoxDropButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30292 PyObject
*resultobj
= 0;
30293 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30294 wxWindow
*arg2
= (wxWindow
*) 0 ;
30297 int arg5
= (int) 0 ;
30307 PyObject
* obj0
= 0 ;
30308 PyObject
* obj1
= 0 ;
30309 PyObject
* obj2
= 0 ;
30310 PyObject
* obj3
= 0 ;
30311 PyObject
* obj4
= 0 ;
30312 char * kwnames
[] = {
30313 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
30316 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawComboBoxDropButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30317 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30318 if (!SWIG_IsOK(res1
)) {
30319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30321 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30322 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30323 if (!SWIG_IsOK(res2
)) {
30324 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "2"" of type '" "wxWindow *""'");
30326 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30327 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30328 if (!SWIG_IsOK(res3
)) {
30329 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
30332 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
30334 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30337 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
30340 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30341 if (!SWIG_IsOK(ecode5
)) {
30342 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "5"" of type '" "int""'");
30344 arg5
= static_cast< int >(val5
);
30347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30348 (arg1
)->DrawComboBoxDropButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
30349 wxPyEndAllowThreads(__tstate
);
30350 if (PyErr_Occurred()) SWIG_fail
;
30352 resultobj
= SWIG_Py_Void();
30359 SWIGINTERN PyObject
*_wrap_RendererNative_DrawDropArrow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30360 PyObject
*resultobj
= 0;
30361 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30362 wxWindow
*arg2
= (wxWindow
*) 0 ;
30365 int arg5
= (int) 0 ;
30375 PyObject
* obj0
= 0 ;
30376 PyObject
* obj1
= 0 ;
30377 PyObject
* obj2
= 0 ;
30378 PyObject
* obj3
= 0 ;
30379 PyObject
* obj4
= 0 ;
30380 char * kwnames
[] = {
30381 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
30384 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawDropArrow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30385 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30386 if (!SWIG_IsOK(res1
)) {
30387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30389 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30390 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30391 if (!SWIG_IsOK(res2
)) {
30392 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "2"" of type '" "wxWindow *""'");
30394 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30395 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30396 if (!SWIG_IsOK(res3
)) {
30397 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
30400 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
30402 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30405 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
30408 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30409 if (!SWIG_IsOK(ecode5
)) {
30410 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "5"" of type '" "int""'");
30412 arg5
= static_cast< int >(val5
);
30415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30416 (arg1
)->DrawDropArrow(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
30417 wxPyEndAllowThreads(__tstate
);
30418 if (PyErr_Occurred()) SWIG_fail
;
30420 resultobj
= SWIG_Py_Void();
30427 SWIGINTERN PyObject
*_wrap_RendererNative_DrawCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30428 PyObject
*resultobj
= 0;
30429 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30430 wxWindow
*arg2
= (wxWindow
*) 0 ;
30433 int arg5
= (int) 0 ;
30443 PyObject
* obj0
= 0 ;
30444 PyObject
* obj1
= 0 ;
30445 PyObject
* obj2
= 0 ;
30446 PyObject
* obj3
= 0 ;
30447 PyObject
* obj4
= 0 ;
30448 char * kwnames
[] = {
30449 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
30452 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawCheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30453 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30454 if (!SWIG_IsOK(res1
)) {
30455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30457 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30458 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30459 if (!SWIG_IsOK(res2
)) {
30460 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "2"" of type '" "wxWindow *""'");
30462 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30463 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30464 if (!SWIG_IsOK(res3
)) {
30465 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
30468 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
30470 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30473 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
30476 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30477 if (!SWIG_IsOK(ecode5
)) {
30478 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "5"" of type '" "int""'");
30480 arg5
= static_cast< int >(val5
);
30483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30484 (arg1
)->DrawCheckBox(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
30485 wxPyEndAllowThreads(__tstate
);
30486 if (PyErr_Occurred()) SWIG_fail
;
30488 resultobj
= SWIG_Py_Void();
30495 SWIGINTERN PyObject
*_wrap_RendererNative_DrawPushButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30496 PyObject
*resultobj
= 0;
30497 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30498 wxWindow
*arg2
= (wxWindow
*) 0 ;
30501 int arg5
= (int) 0 ;
30511 PyObject
* obj0
= 0 ;
30512 PyObject
* obj1
= 0 ;
30513 PyObject
* obj2
= 0 ;
30514 PyObject
* obj3
= 0 ;
30515 PyObject
* obj4
= 0 ;
30516 char * kwnames
[] = {
30517 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
30520 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawPushButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30521 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30522 if (!SWIG_IsOK(res1
)) {
30523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30525 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30526 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30527 if (!SWIG_IsOK(res2
)) {
30528 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "2"" of type '" "wxWindow *""'");
30530 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30531 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30532 if (!SWIG_IsOK(res3
)) {
30533 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
30536 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
30538 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30541 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
30544 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30545 if (!SWIG_IsOK(ecode5
)) {
30546 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "5"" of type '" "int""'");
30548 arg5
= static_cast< int >(val5
);
30551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30552 (arg1
)->DrawPushButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
30553 wxPyEndAllowThreads(__tstate
);
30554 if (PyErr_Occurred()) SWIG_fail
;
30556 resultobj
= SWIG_Py_Void();
30563 SWIGINTERN PyObject
*_wrap_RendererNative_DrawItemSelectionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30564 PyObject
*resultobj
= 0;
30565 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30566 wxWindow
*arg2
= (wxWindow
*) 0 ;
30569 int arg5
= (int) 0 ;
30579 PyObject
* obj0
= 0 ;
30580 PyObject
* obj1
= 0 ;
30581 PyObject
* obj2
= 0 ;
30582 PyObject
* obj3
= 0 ;
30583 PyObject
* obj4
= 0 ;
30584 char * kwnames
[] = {
30585 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
30588 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawItemSelectionRect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30589 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30590 if (!SWIG_IsOK(res1
)) {
30591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30593 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30594 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30595 if (!SWIG_IsOK(res2
)) {
30596 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "2"" of type '" "wxWindow *""'");
30598 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30599 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30600 if (!SWIG_IsOK(res3
)) {
30601 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
30604 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
30606 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30609 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
30612 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30613 if (!SWIG_IsOK(ecode5
)) {
30614 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "5"" of type '" "int""'");
30616 arg5
= static_cast< int >(val5
);
30619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30620 (arg1
)->DrawItemSelectionRect(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
30621 wxPyEndAllowThreads(__tstate
);
30622 if (PyErr_Occurred()) SWIG_fail
;
30624 resultobj
= SWIG_Py_Void();
30631 SWIGINTERN PyObject
*_wrap_RendererNative_GetSplitterParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30632 PyObject
*resultobj
= 0;
30633 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30634 wxWindow
*arg2
= (wxWindow
*) 0 ;
30635 SwigValueWrapper
<wxSplitterRenderParams
> result
;
30640 PyObject
* obj0
= 0 ;
30641 PyObject
* obj1
= 0 ;
30642 char * kwnames
[] = {
30643 (char *) "self",(char *) "win", NULL
30646 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetSplitterParams",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30647 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30648 if (!SWIG_IsOK(res1
)) {
30649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30651 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30652 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30653 if (!SWIG_IsOK(res2
)) {
30654 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "2"" of type '" "wxWindow const *""'");
30656 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30659 result
= (arg1
)->GetSplitterParams((wxWindow
const *)arg2
);
30660 wxPyEndAllowThreads(__tstate
);
30661 if (PyErr_Occurred()) SWIG_fail
;
30663 resultobj
= SWIG_NewPointerObj((new wxSplitterRenderParams(static_cast< const wxSplitterRenderParams
& >(result
))), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_OWN
| 0 );
30670 SWIGINTERN PyObject
*_wrap_RendererNative_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30671 PyObject
*resultobj
= 0;
30672 wxRendererNative
*result
= 0 ;
30674 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_Get",0,0,0)) SWIG_fail
;
30676 if (!wxPyCheckForApp()) SWIG_fail
;
30677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30679 wxRendererNative
&_result_ref
= wxRendererNative::Get();
30680 result
= (wxRendererNative
*) &_result_ref
;
30682 wxPyEndAllowThreads(__tstate
);
30683 if (PyErr_Occurred()) SWIG_fail
;
30685 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30692 SWIGINTERN PyObject
*_wrap_RendererNative_GetGeneric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30693 PyObject
*resultobj
= 0;
30694 wxRendererNative
*result
= 0 ;
30696 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetGeneric",0,0,0)) SWIG_fail
;
30698 if (!wxPyCheckForApp()) SWIG_fail
;
30699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30701 wxRendererNative
&_result_ref
= wxRendererNative::GetGeneric();
30702 result
= (wxRendererNative
*) &_result_ref
;
30704 wxPyEndAllowThreads(__tstate
);
30705 if (PyErr_Occurred()) SWIG_fail
;
30707 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30714 SWIGINTERN PyObject
*_wrap_RendererNative_GetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30715 PyObject
*resultobj
= 0;
30716 wxRendererNative
*result
= 0 ;
30718 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetDefault",0,0,0)) SWIG_fail
;
30720 if (!wxPyCheckForApp()) SWIG_fail
;
30721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30723 wxRendererNative
&_result_ref
= wxRendererNative::GetDefault();
30724 result
= (wxRendererNative
*) &_result_ref
;
30726 wxPyEndAllowThreads(__tstate
);
30727 if (PyErr_Occurred()) SWIG_fail
;
30729 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30736 SWIGINTERN PyObject
*_wrap_RendererNative_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30737 PyObject
*resultobj
= 0;
30738 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30739 wxRendererNative
*result
= 0 ;
30742 PyObject
* obj0
= 0 ;
30743 char * kwnames
[] = {
30744 (char *) "renderer", NULL
30747 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererNative_Set",kwnames
,&obj0
)) SWIG_fail
;
30748 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30749 if (!SWIG_IsOK(res1
)) {
30750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_Set" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30752 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30754 if (!wxPyCheckForApp()) SWIG_fail
;
30755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30756 result
= (wxRendererNative
*)wxRendererNative::Set(arg1
);
30757 wxPyEndAllowThreads(__tstate
);
30758 if (PyErr_Occurred()) SWIG_fail
;
30760 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30767 SWIGINTERN PyObject
*_wrap_RendererNative_GetVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30768 PyObject
*resultobj
= 0;
30769 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30770 SwigValueWrapper
<wxRendererVersion
> result
;
30773 PyObject
*swig_obj
[1] ;
30775 if (!args
) SWIG_fail
;
30776 swig_obj
[0] = args
;
30777 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30778 if (!SWIG_IsOK(res1
)) {
30779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetVersion" "', expected argument " "1"" of type '" "wxRendererNative const *""'");
30781 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30784 result
= ((wxRendererNative
const *)arg1
)->GetVersion();
30785 wxPyEndAllowThreads(__tstate
);
30786 if (PyErr_Occurred()) SWIG_fail
;
30788 resultobj
= SWIG_NewPointerObj((new wxRendererVersion(static_cast< const wxRendererVersion
& >(result
))), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_OWN
| 0 );
30795 SWIGINTERN PyObject
*RendererNative_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30797 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30798 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererNative
, SWIG_NewClientData(obj
));
30799 return SWIG_Py_Void();
30802 SWIGINTERN PyObject
*_wrap_new_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30803 PyObject
*resultobj
= 0;
30804 wxPseudoDC
*result
= 0 ;
30806 if (!SWIG_Python_UnpackTuple(args
,"new_PseudoDC",0,0,0)) SWIG_fail
;
30808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30809 result
= (wxPseudoDC
*)new wxPseudoDC();
30810 wxPyEndAllowThreads(__tstate
);
30811 if (PyErr_Occurred()) SWIG_fail
;
30813 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_NEW
| 0 );
30820 SWIGINTERN PyObject
*_wrap_PseudoDC_BeginDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30821 PyObject
*resultobj
= 0;
30822 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30825 PyObject
*swig_obj
[1] ;
30827 if (!args
) SWIG_fail
;
30828 swig_obj
[0] = args
;
30829 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30830 if (!SWIG_IsOK(res1
)) {
30831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_BeginDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30833 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30836 (arg1
)->BeginDrawing();
30837 wxPyEndAllowThreads(__tstate
);
30838 if (PyErr_Occurred()) SWIG_fail
;
30840 resultobj
= SWIG_Py_Void();
30847 SWIGINTERN PyObject
*_wrap_PseudoDC_EndDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30848 PyObject
*resultobj
= 0;
30849 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30852 PyObject
*swig_obj
[1] ;
30854 if (!args
) SWIG_fail
;
30855 swig_obj
[0] = args
;
30856 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30857 if (!SWIG_IsOK(res1
)) {
30858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_EndDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30860 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30863 (arg1
)->EndDrawing();
30864 wxPyEndAllowThreads(__tstate
);
30865 if (PyErr_Occurred()) SWIG_fail
;
30867 resultobj
= SWIG_Py_Void();
30874 SWIGINTERN PyObject
*_wrap_delete_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30875 PyObject
*resultobj
= 0;
30876 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30879 PyObject
*swig_obj
[1] ;
30881 if (!args
) SWIG_fail
;
30882 swig_obj
[0] = args
;
30883 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_DISOWN
| 0 );
30884 if (!SWIG_IsOK(res1
)) {
30885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PseudoDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30887 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30892 wxPyEndAllowThreads(__tstate
);
30893 if (PyErr_Occurred()) SWIG_fail
;
30895 resultobj
= SWIG_Py_Void();
30902 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30903 PyObject
*resultobj
= 0;
30904 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30907 PyObject
*swig_obj
[1] ;
30909 if (!args
) SWIG_fail
;
30910 swig_obj
[0] = args
;
30911 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30912 if (!SWIG_IsOK(res1
)) {
30913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveAll" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30915 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30918 (arg1
)->RemoveAll();
30919 wxPyEndAllowThreads(__tstate
);
30920 if (PyErr_Occurred()) SWIG_fail
;
30922 resultobj
= SWIG_Py_Void();
30929 SWIGINTERN PyObject
*_wrap_PseudoDC_GetLen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30930 PyObject
*resultobj
= 0;
30931 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30935 PyObject
*swig_obj
[1] ;
30937 if (!args
) SWIG_fail
;
30938 swig_obj
[0] = args
;
30939 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30940 if (!SWIG_IsOK(res1
)) {
30941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetLen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30943 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30946 result
= (int)(arg1
)->GetLen();
30947 wxPyEndAllowThreads(__tstate
);
30948 if (PyErr_Occurred()) SWIG_fail
;
30950 resultobj
= SWIG_From_int(static_cast< int >(result
));
30957 SWIGINTERN PyObject
*_wrap_PseudoDC_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30958 PyObject
*resultobj
= 0;
30959 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
30965 PyObject
* obj0
= 0 ;
30966 PyObject
* obj1
= 0 ;
30967 char * kwnames
[] = {
30968 (char *) "self",(char *) "id", NULL
30971 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30972 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
30973 if (!SWIG_IsOK(res1
)) {
30974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
30976 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
30977 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30978 if (!SWIG_IsOK(ecode2
)) {
30979 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetId" "', expected argument " "2"" of type '" "int""'");
30981 arg2
= static_cast< int >(val2
);
30983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30984 (arg1
)->SetId(arg2
);
30985 wxPyEndAllowThreads(__tstate
);
30986 if (PyErr_Occurred()) SWIG_fail
;
30988 resultobj
= SWIG_Py_Void();
30995 SWIGINTERN PyObject
*_wrap_PseudoDC_ClearId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30996 PyObject
*resultobj
= 0;
30997 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31003 PyObject
* obj0
= 0 ;
31004 PyObject
* obj1
= 0 ;
31005 char * kwnames
[] = {
31006 (char *) "self",(char *) "id", NULL
31009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_ClearId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31010 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31011 if (!SWIG_IsOK(res1
)) {
31012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_ClearId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31014 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31015 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31016 if (!SWIG_IsOK(ecode2
)) {
31017 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_ClearId" "', expected argument " "2"" of type '" "int""'");
31019 arg2
= static_cast< int >(val2
);
31021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31022 (arg1
)->ClearId(arg2
);
31023 wxPyEndAllowThreads(__tstate
);
31024 if (PyErr_Occurred()) SWIG_fail
;
31026 resultobj
= SWIG_Py_Void();
31033 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31034 PyObject
*resultobj
= 0;
31035 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31041 PyObject
* obj0
= 0 ;
31042 PyObject
* obj1
= 0 ;
31043 char * kwnames
[] = {
31044 (char *) "self",(char *) "id", NULL
31047 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_RemoveId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31048 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31049 if (!SWIG_IsOK(res1
)) {
31050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31052 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31053 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31054 if (!SWIG_IsOK(ecode2
)) {
31055 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_RemoveId" "', expected argument " "2"" of type '" "int""'");
31057 arg2
= static_cast< int >(val2
);
31059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31060 (arg1
)->RemoveId(arg2
);
31061 wxPyEndAllowThreads(__tstate
);
31062 if (PyErr_Occurred()) SWIG_fail
;
31064 resultobj
= SWIG_Py_Void();
31071 SWIGINTERN PyObject
*_wrap_PseudoDC_TranslateId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31072 PyObject
*resultobj
= 0;
31073 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31085 PyObject
* obj0
= 0 ;
31086 PyObject
* obj1
= 0 ;
31087 PyObject
* obj2
= 0 ;
31088 PyObject
* obj3
= 0 ;
31089 char * kwnames
[] = {
31090 (char *) "self",(char *) "id",(char *) "dx",(char *) "dy", NULL
31093 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_TranslateId",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31094 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31095 if (!SWIG_IsOK(res1
)) {
31096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_TranslateId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31098 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31099 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31100 if (!SWIG_IsOK(ecode2
)) {
31101 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_TranslateId" "', expected argument " "2"" of type '" "int""'");
31103 arg2
= static_cast< int >(val2
);
31104 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31105 if (!SWIG_IsOK(ecode3
)) {
31106 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_TranslateId" "', expected argument " "3"" of type '" "int""'");
31108 arg3
= static_cast< int >(val3
);
31109 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31110 if (!SWIG_IsOK(ecode4
)) {
31111 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_TranslateId" "', expected argument " "4"" of type '" "int""'");
31113 arg4
= static_cast< int >(val4
);
31115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31116 (arg1
)->TranslateId(arg2
,arg3
,arg4
);
31117 wxPyEndAllowThreads(__tstate
);
31118 if (PyErr_Occurred()) SWIG_fail
;
31120 resultobj
= SWIG_Py_Void();
31127 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdGreyedOut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31128 PyObject
*resultobj
= 0;
31129 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31131 bool arg3
= (bool) true ;
31138 PyObject
* obj0
= 0 ;
31139 PyObject
* obj1
= 0 ;
31140 PyObject
* obj2
= 0 ;
31141 char * kwnames
[] = {
31142 (char *) "self",(char *) "id",(char *) "greyout", NULL
31145 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PseudoDC_SetIdGreyedOut",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31146 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31147 if (!SWIG_IsOK(res1
)) {
31148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31150 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31151 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31152 if (!SWIG_IsOK(ecode2
)) {
31153 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "2"" of type '" "int""'");
31155 arg2
= static_cast< int >(val2
);
31157 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
31158 if (!SWIG_IsOK(ecode3
)) {
31159 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "3"" of type '" "bool""'");
31161 arg3
= static_cast< bool >(val3
);
31164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31165 (arg1
)->SetIdGreyedOut(arg2
,arg3
);
31166 wxPyEndAllowThreads(__tstate
);
31167 if (PyErr_Occurred()) SWIG_fail
;
31169 resultobj
= SWIG_Py_Void();
31176 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdGreyedOut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31177 PyObject
*resultobj
= 0;
31178 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31185 PyObject
* obj0
= 0 ;
31186 PyObject
* obj1
= 0 ;
31187 char * kwnames
[] = {
31188 (char *) "self",(char *) "id", NULL
31191 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdGreyedOut",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31192 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31193 if (!SWIG_IsOK(res1
)) {
31194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdGreyedOut" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31196 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31197 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31198 if (!SWIG_IsOK(ecode2
)) {
31199 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdGreyedOut" "', expected argument " "2"" of type '" "int""'");
31201 arg2
= static_cast< int >(val2
);
31203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31204 result
= (bool)(arg1
)->GetIdGreyedOut(arg2
);
31205 wxPyEndAllowThreads(__tstate
);
31206 if (PyErr_Occurred()) SWIG_fail
;
31209 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31217 SWIGINTERN PyObject
*_wrap_PseudoDC_FindObjects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31218 PyObject
*resultobj
= 0;
31219 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31222 int arg4
= (int) 1 ;
31223 wxColor
const &arg5_defvalue
= *wxWHITE
;
31224 wxColor
*arg5
= (wxColor
*) &arg5_defvalue
;
31225 PyObject
*result
= 0 ;
31236 PyObject
* obj0
= 0 ;
31237 PyObject
* obj1
= 0 ;
31238 PyObject
* obj2
= 0 ;
31239 PyObject
* obj3
= 0 ;
31240 PyObject
* obj4
= 0 ;
31241 char * kwnames
[] = {
31242 (char *) "self",(char *) "x",(char *) "y",(char *) "radius",(char *) "bg", NULL
31245 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_FindObjects",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31246 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31247 if (!SWIG_IsOK(res1
)) {
31248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FindObjects" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31250 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31251 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31252 if (!SWIG_IsOK(ecode2
)) {
31253 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FindObjects" "', expected argument " "2"" of type '" "int""'");
31255 arg2
= static_cast< int >(val2
);
31256 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31257 if (!SWIG_IsOK(ecode3
)) {
31258 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjects" "', expected argument " "3"" of type '" "int""'");
31260 arg3
= static_cast< int >(val3
);
31262 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31263 if (!SWIG_IsOK(ecode4
)) {
31264 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FindObjects" "', expected argument " "4"" of type '" "int""'");
31266 arg4
= static_cast< int >(val4
);
31269 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxColor
, 0 | 0);
31270 if (!SWIG_IsOK(res5
)) {
31271 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "PseudoDC_FindObjects" "', expected argument " "5"" of type '" "wxColor const &""'");
31274 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_FindObjects" "', expected argument " "5"" of type '" "wxColor const &""'");
31276 arg5
= reinterpret_cast< wxColor
* >(argp5
);
31279 result
= (PyObject
*)(arg1
)->FindObjects(arg2
,arg3
,arg4
,(wxColor
const &)*arg5
);
31280 if (PyErr_Occurred()) SWIG_fail
;
31282 resultobj
= result
;
31289 SWIGINTERN PyObject
*_wrap_PseudoDC_FindObjectsByBBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31290 PyObject
*resultobj
= 0;
31291 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31294 PyObject
*result
= 0 ;
31301 PyObject
* obj0
= 0 ;
31302 PyObject
* obj1
= 0 ;
31303 PyObject
* obj2
= 0 ;
31304 char * kwnames
[] = {
31305 (char *) "self",(char *) "x",(char *) "y", NULL
31308 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_FindObjectsByBBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31309 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31310 if (!SWIG_IsOK(res1
)) {
31311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31313 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31314 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31315 if (!SWIG_IsOK(ecode2
)) {
31316 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "2"" of type '" "int""'");
31318 arg2
= static_cast< int >(val2
);
31319 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31320 if (!SWIG_IsOK(ecode3
)) {
31321 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "3"" of type '" "int""'");
31323 arg3
= static_cast< int >(val3
);
31325 result
= (PyObject
*)(arg1
)->FindObjectsByBBox(arg2
,arg3
);
31326 if (PyErr_Occurred()) SWIG_fail
;
31328 resultobj
= result
;
31335 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIdToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31336 PyObject
*resultobj
= 0;
31337 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31339 wxDC
*arg3
= (wxDC
*) 0 ;
31346 PyObject
* obj0
= 0 ;
31347 PyObject
* obj1
= 0 ;
31348 PyObject
* obj2
= 0 ;
31349 char * kwnames
[] = {
31350 (char *) "self",(char *) "id",(char *) "dc", NULL
31353 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIdToDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31354 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31355 if (!SWIG_IsOK(res1
)) {
31356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31358 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31359 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31360 if (!SWIG_IsOK(ecode2
)) {
31361 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "2"" of type '" "int""'");
31363 arg2
= static_cast< int >(val2
);
31364 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxDC
, 0 | 0 );
31365 if (!SWIG_IsOK(res3
)) {
31366 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "3"" of type '" "wxDC *""'");
31368 arg3
= reinterpret_cast< wxDC
* >(argp3
);
31370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31371 (arg1
)->DrawIdToDC(arg2
,arg3
);
31372 wxPyEndAllowThreads(__tstate
);
31373 if (PyErr_Occurred()) SWIG_fail
;
31375 resultobj
= SWIG_Py_Void();
31382 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31383 PyObject
*resultobj
= 0;
31384 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31392 PyObject
* obj0
= 0 ;
31393 PyObject
* obj1
= 0 ;
31394 PyObject
* obj2
= 0 ;
31395 char * kwnames
[] = {
31396 (char *) "self",(char *) "id",(char *) "rect", NULL
31399 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_SetIdBounds",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31400 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31401 if (!SWIG_IsOK(res1
)) {
31402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31404 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31405 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31406 if (!SWIG_IsOK(ecode2
)) {
31407 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "2"" of type '" "int""'");
31409 arg2
= static_cast< int >(val2
);
31412 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
31415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31416 (arg1
)->SetIdBounds(arg2
,*arg3
);
31417 wxPyEndAllowThreads(__tstate
);
31418 if (PyErr_Occurred()) SWIG_fail
;
31420 resultobj
= SWIG_Py_Void();
31427 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31428 PyObject
*resultobj
= 0;
31429 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31436 PyObject
* obj0
= 0 ;
31437 PyObject
* obj1
= 0 ;
31438 char * kwnames
[] = {
31439 (char *) "self",(char *) "id", NULL
31442 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdBounds",kwnames
,&obj0
,&obj1
)) 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_GetIdBounds" "', 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_GetIdBounds" "', expected argument " "2"" of type '" "int""'");
31452 arg2
= static_cast< int >(val2
);
31454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31455 result
= wxPseudoDC_GetIdBounds(arg1
,arg2
);
31456 wxPyEndAllowThreads(__tstate
);
31457 if (PyErr_Occurred()) SWIG_fail
;
31459 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
31466 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClipped(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31467 PyObject
*resultobj
= 0;
31468 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31469 wxDC
*arg2
= (wxDC
*) 0 ;
31476 PyObject
* obj0
= 0 ;
31477 PyObject
* obj1
= 0 ;
31478 PyObject
* obj2
= 0 ;
31479 char * kwnames
[] = {
31480 (char *) "self",(char *) "dc",(char *) "rect", NULL
31483 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClipped",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31484 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31485 if (!SWIG_IsOK(res1
)) {
31486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31488 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31489 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
31490 if (!SWIG_IsOK(res2
)) {
31491 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "2"" of type '" "wxDC *""'");
31493 arg2
= reinterpret_cast< wxDC
* >(argp2
);
31496 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
31499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31500 (arg1
)->DrawToDCClipped(arg2
,(wxRect
const &)*arg3
);
31501 wxPyEndAllowThreads(__tstate
);
31502 if (PyErr_Occurred()) SWIG_fail
;
31504 resultobj
= SWIG_Py_Void();
31511 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClippedRgn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31512 PyObject
*resultobj
= 0;
31513 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31514 wxDC
*arg2
= (wxDC
*) 0 ;
31515 wxRegion
*arg3
= 0 ;
31522 PyObject
* obj0
= 0 ;
31523 PyObject
* obj1
= 0 ;
31524 PyObject
* obj2
= 0 ;
31525 char * kwnames
[] = {
31526 (char *) "self",(char *) "dc",(char *) "region", NULL
31529 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClippedRgn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31530 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31531 if (!SWIG_IsOK(res1
)) {
31532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31534 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31535 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
31536 if (!SWIG_IsOK(res2
)) {
31537 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "2"" of type '" "wxDC *""'");
31539 arg2
= reinterpret_cast< wxDC
* >(argp2
);
31540 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxRegion
, 0 | 0);
31541 if (!SWIG_IsOK(res3
)) {
31542 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
31545 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
31547 arg3
= reinterpret_cast< wxRegion
* >(argp3
);
31549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31550 (arg1
)->DrawToDCClippedRgn(arg2
,(wxRegion
const &)*arg3
);
31551 wxPyEndAllowThreads(__tstate
);
31552 if (PyErr_Occurred()) SWIG_fail
;
31554 resultobj
= SWIG_Py_Void();
31561 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31562 PyObject
*resultobj
= 0;
31563 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31564 wxDC
*arg2
= (wxDC
*) 0 ;
31569 PyObject
* obj0
= 0 ;
31570 PyObject
* obj1
= 0 ;
31571 char * kwnames
[] = {
31572 (char *) "self",(char *) "dc", NULL
31575 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawToDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31576 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31577 if (!SWIG_IsOK(res1
)) {
31578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31580 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31581 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
31582 if (!SWIG_IsOK(res2
)) {
31583 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "2"" of type '" "wxDC *""'");
31585 arg2
= reinterpret_cast< wxDC
* >(argp2
);
31587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31588 (arg1
)->DrawToDC(arg2
);
31589 wxPyEndAllowThreads(__tstate
);
31590 if (PyErr_Occurred()) SWIG_fail
;
31592 resultobj
= SWIG_Py_Void();
31599 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31600 PyObject
*resultobj
= 0;
31601 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31604 wxColour
*arg4
= 0 ;
31605 int arg5
= (int) wxFLOOD_SURFACE
;
31615 PyObject
* obj0
= 0 ;
31616 PyObject
* obj1
= 0 ;
31617 PyObject
* obj2
= 0 ;
31618 PyObject
* obj3
= 0 ;
31619 PyObject
* obj4
= 0 ;
31620 char * kwnames
[] = {
31621 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
31624 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31625 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31626 if (!SWIG_IsOK(res1
)) {
31627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFill" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31629 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31630 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31631 if (!SWIG_IsOK(ecode2
)) {
31632 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FloodFill" "', expected argument " "2"" of type '" "int""'");
31634 arg2
= static_cast< int >(val2
);
31635 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31636 if (!SWIG_IsOK(ecode3
)) {
31637 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FloodFill" "', expected argument " "3"" of type '" "int""'");
31639 arg3
= static_cast< int >(val3
);
31642 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
31645 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31646 if (!SWIG_IsOK(ecode5
)) {
31647 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_FloodFill" "', expected argument " "5"" of type '" "int""'");
31649 arg5
= static_cast< int >(val5
);
31652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31653 (arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
31654 wxPyEndAllowThreads(__tstate
);
31655 if (PyErr_Occurred()) SWIG_fail
;
31657 resultobj
= SWIG_Py_Void();
31664 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31665 PyObject
*resultobj
= 0;
31666 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31667 wxPoint
*arg2
= 0 ;
31668 wxColour
*arg3
= 0 ;
31669 int arg4
= (int) wxFLOOD_SURFACE
;
31676 PyObject
* obj0
= 0 ;
31677 PyObject
* obj1
= 0 ;
31678 PyObject
* obj2
= 0 ;
31679 PyObject
* obj3
= 0 ;
31680 char * kwnames
[] = {
31681 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
31684 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31685 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31686 if (!SWIG_IsOK(res1
)) {
31687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31689 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31692 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31696 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31699 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31700 if (!SWIG_IsOK(ecode4
)) {
31701 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
31703 arg4
= static_cast< int >(val4
);
31706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31707 (arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
31708 wxPyEndAllowThreads(__tstate
);
31709 if (PyErr_Occurred()) SWIG_fail
;
31711 resultobj
= SWIG_Py_Void();
31718 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31719 PyObject
*resultobj
= 0;
31720 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31735 PyObject
* obj0
= 0 ;
31736 PyObject
* obj1
= 0 ;
31737 PyObject
* obj2
= 0 ;
31738 PyObject
* obj3
= 0 ;
31739 PyObject
* obj4
= 0 ;
31740 char * kwnames
[] = {
31741 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
31744 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31745 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31746 if (!SWIG_IsOK(res1
)) {
31747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLine" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31749 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31750 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31751 if (!SWIG_IsOK(ecode2
)) {
31752 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawLine" "', expected argument " "2"" of type '" "int""'");
31754 arg2
= static_cast< int >(val2
);
31755 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31756 if (!SWIG_IsOK(ecode3
)) {
31757 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawLine" "', expected argument " "3"" of type '" "int""'");
31759 arg3
= static_cast< int >(val3
);
31760 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31761 if (!SWIG_IsOK(ecode4
)) {
31762 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLine" "', expected argument " "4"" of type '" "int""'");
31764 arg4
= static_cast< int >(val4
);
31765 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31766 if (!SWIG_IsOK(ecode5
)) {
31767 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLine" "', expected argument " "5"" of type '" "int""'");
31769 arg5
= static_cast< int >(val5
);
31771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31772 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
31773 wxPyEndAllowThreads(__tstate
);
31774 if (PyErr_Occurred()) SWIG_fail
;
31776 resultobj
= SWIG_Py_Void();
31783 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31784 PyObject
*resultobj
= 0;
31785 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31786 wxPoint
*arg2
= 0 ;
31787 wxPoint
*arg3
= 0 ;
31792 PyObject
* obj0
= 0 ;
31793 PyObject
* obj1
= 0 ;
31794 PyObject
* obj2
= 0 ;
31795 char * kwnames
[] = {
31796 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
31799 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31800 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31801 if (!SWIG_IsOK(res1
)) {
31802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLinePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31804 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31807 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31811 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31815 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
31816 wxPyEndAllowThreads(__tstate
);
31817 if (PyErr_Occurred()) SWIG_fail
;
31819 resultobj
= SWIG_Py_Void();
31826 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31827 PyObject
*resultobj
= 0;
31828 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31837 PyObject
* obj0
= 0 ;
31838 PyObject
* obj1
= 0 ;
31839 PyObject
* obj2
= 0 ;
31840 char * kwnames
[] = {
31841 (char *) "self",(char *) "x",(char *) "y", NULL
31844 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31845 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31846 if (!SWIG_IsOK(res1
)) {
31847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHair" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31849 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31850 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31851 if (!SWIG_IsOK(ecode2
)) {
31852 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_CrossHair" "', expected argument " "2"" of type '" "int""'");
31854 arg2
= static_cast< int >(val2
);
31855 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31856 if (!SWIG_IsOK(ecode3
)) {
31857 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_CrossHair" "', expected argument " "3"" of type '" "int""'");
31859 arg3
= static_cast< int >(val3
);
31861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31862 (arg1
)->CrossHair(arg2
,arg3
);
31863 wxPyEndAllowThreads(__tstate
);
31864 if (PyErr_Occurred()) SWIG_fail
;
31866 resultobj
= SWIG_Py_Void();
31873 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31874 PyObject
*resultobj
= 0;
31875 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31876 wxPoint
*arg2
= 0 ;
31880 PyObject
* obj0
= 0 ;
31881 PyObject
* obj1
= 0 ;
31882 char * kwnames
[] = {
31883 (char *) "self",(char *) "pt", NULL
31886 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31887 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31888 if (!SWIG_IsOK(res1
)) {
31889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHairPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31891 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31894 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31898 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
31899 wxPyEndAllowThreads(__tstate
);
31900 if (PyErr_Occurred()) SWIG_fail
;
31902 resultobj
= SWIG_Py_Void();
31909 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31910 PyObject
*resultobj
= 0;
31911 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31932 PyObject
* obj0
= 0 ;
31933 PyObject
* obj1
= 0 ;
31934 PyObject
* obj2
= 0 ;
31935 PyObject
* obj3
= 0 ;
31936 PyObject
* obj4
= 0 ;
31937 PyObject
* obj5
= 0 ;
31938 PyObject
* obj6
= 0 ;
31939 char * kwnames
[] = {
31940 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
31943 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31944 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31945 if (!SWIG_IsOK(res1
)) {
31946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31948 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31949 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31950 if (!SWIG_IsOK(ecode2
)) {
31951 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawArc" "', expected argument " "2"" of type '" "int""'");
31953 arg2
= static_cast< int >(val2
);
31954 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31955 if (!SWIG_IsOK(ecode3
)) {
31956 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawArc" "', expected argument " "3"" of type '" "int""'");
31958 arg3
= static_cast< int >(val3
);
31959 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31960 if (!SWIG_IsOK(ecode4
)) {
31961 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawArc" "', expected argument " "4"" of type '" "int""'");
31963 arg4
= static_cast< int >(val4
);
31964 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31965 if (!SWIG_IsOK(ecode5
)) {
31966 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawArc" "', expected argument " "5"" of type '" "int""'");
31968 arg5
= static_cast< int >(val5
);
31969 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
31970 if (!SWIG_IsOK(ecode6
)) {
31971 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawArc" "', expected argument " "6"" of type '" "int""'");
31973 arg6
= static_cast< int >(val6
);
31974 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
31975 if (!SWIG_IsOK(ecode7
)) {
31976 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawArc" "', expected argument " "7"" of type '" "int""'");
31978 arg7
= static_cast< int >(val7
);
31980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31981 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
31982 wxPyEndAllowThreads(__tstate
);
31983 if (PyErr_Occurred()) SWIG_fail
;
31985 resultobj
= SWIG_Py_Void();
31992 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31993 PyObject
*resultobj
= 0;
31994 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31995 wxPoint
*arg2
= 0 ;
31996 wxPoint
*arg3
= 0 ;
31997 wxPoint
*arg4
= 0 ;
32003 PyObject
* obj0
= 0 ;
32004 PyObject
* obj1
= 0 ;
32005 PyObject
* obj2
= 0 ;
32006 PyObject
* obj3
= 0 ;
32007 char * kwnames
[] = {
32008 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
32011 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32012 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32013 if (!SWIG_IsOK(res1
)) {
32014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArcPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32016 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32019 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
32023 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
32027 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
32030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32031 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
32032 wxPyEndAllowThreads(__tstate
);
32033 if (PyErr_Occurred()) SWIG_fail
;
32035 resultobj
= SWIG_Py_Void();
32042 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32043 PyObject
*resultobj
= 0;
32044 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32059 PyObject
* obj0
= 0 ;
32060 PyObject
* obj1
= 0 ;
32061 PyObject
* obj2
= 0 ;
32062 PyObject
* obj3
= 0 ;
32063 PyObject
* obj4
= 0 ;
32064 char * kwnames
[] = {
32065 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
32068 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
32069 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32070 if (!SWIG_IsOK(res1
)) {
32071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32073 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32074 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32075 if (!SWIG_IsOK(ecode2
)) {
32076 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
32078 arg2
= static_cast< int >(val2
);
32079 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32080 if (!SWIG_IsOK(ecode3
)) {
32081 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
32083 arg3
= static_cast< int >(val3
);
32084 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32085 if (!SWIG_IsOK(ecode4
)) {
32086 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
32088 arg4
= static_cast< int >(val4
);
32089 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32090 if (!SWIG_IsOK(ecode5
)) {
32091 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
32093 arg5
= static_cast< int >(val5
);
32095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32096 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
32097 wxPyEndAllowThreads(__tstate
);
32098 if (PyErr_Occurred()) SWIG_fail
;
32100 resultobj
= SWIG_Py_Void();
32107 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32108 PyObject
*resultobj
= 0;
32109 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32114 PyObject
* obj0
= 0 ;
32115 PyObject
* obj1
= 0 ;
32116 char * kwnames
[] = {
32117 (char *) "self",(char *) "rect", NULL
32120 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32121 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32122 if (!SWIG_IsOK(res1
)) {
32123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32125 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32128 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
32131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32132 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
32133 wxPyEndAllowThreads(__tstate
);
32134 if (PyErr_Occurred()) SWIG_fail
;
32136 resultobj
= SWIG_Py_Void();
32143 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32144 PyObject
*resultobj
= 0;
32145 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32166 PyObject
* obj0
= 0 ;
32167 PyObject
* obj1
= 0 ;
32168 PyObject
* obj2
= 0 ;
32169 PyObject
* obj3
= 0 ;
32170 PyObject
* obj4
= 0 ;
32171 PyObject
* obj5
= 0 ;
32172 PyObject
* obj6
= 0 ;
32173 char * kwnames
[] = {
32174 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
32177 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
32178 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32179 if (!SWIG_IsOK(res1
)) {
32180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32182 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32183 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32184 if (!SWIG_IsOK(ecode2
)) {
32185 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
32187 arg2
= static_cast< int >(val2
);
32188 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32189 if (!SWIG_IsOK(ecode3
)) {
32190 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
32192 arg3
= static_cast< int >(val3
);
32193 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32194 if (!SWIG_IsOK(ecode4
)) {
32195 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
32197 arg4
= static_cast< int >(val4
);
32198 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32199 if (!SWIG_IsOK(ecode5
)) {
32200 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
32202 arg5
= static_cast< int >(val5
);
32203 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
32204 if (!SWIG_IsOK(ecode6
)) {
32205 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
32207 arg6
= static_cast< double >(val6
);
32208 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
32209 if (!SWIG_IsOK(ecode7
)) {
32210 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
32212 arg7
= static_cast< double >(val7
);
32214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32215 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
32216 wxPyEndAllowThreads(__tstate
);
32217 if (PyErr_Occurred()) SWIG_fail
;
32219 resultobj
= SWIG_Py_Void();
32226 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32227 PyObject
*resultobj
= 0;
32228 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32229 wxPoint
*arg2
= 0 ;
32241 PyObject
* obj0
= 0 ;
32242 PyObject
* obj1
= 0 ;
32243 PyObject
* obj2
= 0 ;
32244 PyObject
* obj3
= 0 ;
32245 PyObject
* obj4
= 0 ;
32246 char * kwnames
[] = {
32247 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
32250 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
32251 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32252 if (!SWIG_IsOK(res1
)) {
32253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32255 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32258 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
32262 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
32264 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
32265 if (!SWIG_IsOK(ecode4
)) {
32266 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
32268 arg4
= static_cast< double >(val4
);
32269 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
32270 if (!SWIG_IsOK(ecode5
)) {
32271 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
32273 arg5
= static_cast< double >(val5
);
32275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32276 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
32277 wxPyEndAllowThreads(__tstate
);
32278 if (PyErr_Occurred()) SWIG_fail
;
32280 resultobj
= SWIG_Py_Void();
32287 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32288 PyObject
*resultobj
= 0;
32289 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32298 PyObject
* obj0
= 0 ;
32299 PyObject
* obj1
= 0 ;
32300 PyObject
* obj2
= 0 ;
32301 char * kwnames
[] = {
32302 (char *) "self",(char *) "x",(char *) "y", NULL
32305 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32306 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32307 if (!SWIG_IsOK(res1
)) {
32308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32310 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32311 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32312 if (!SWIG_IsOK(ecode2
)) {
32313 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
32315 arg2
= static_cast< int >(val2
);
32316 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32317 if (!SWIG_IsOK(ecode3
)) {
32318 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
32320 arg3
= static_cast< int >(val3
);
32322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32323 (arg1
)->DrawPoint(arg2
,arg3
);
32324 wxPyEndAllowThreads(__tstate
);
32325 if (PyErr_Occurred()) SWIG_fail
;
32327 resultobj
= SWIG_Py_Void();
32334 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32335 PyObject
*resultobj
= 0;
32336 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32337 wxPoint
*arg2
= 0 ;
32341 PyObject
* obj0
= 0 ;
32342 PyObject
* obj1
= 0 ;
32343 char * kwnames
[] = {
32344 (char *) "self",(char *) "pt", NULL
32347 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32348 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32349 if (!SWIG_IsOK(res1
)) {
32350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPointPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32352 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32355 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
32358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32359 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
32360 wxPyEndAllowThreads(__tstate
);
32361 if (PyErr_Occurred()) SWIG_fail
;
32363 resultobj
= SWIG_Py_Void();
32370 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32371 PyObject
*resultobj
= 0;
32372 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32387 PyObject
* obj0
= 0 ;
32388 PyObject
* obj1
= 0 ;
32389 PyObject
* obj2
= 0 ;
32390 PyObject
* obj3
= 0 ;
32391 PyObject
* obj4
= 0 ;
32392 char * kwnames
[] = {
32393 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
32396 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
32397 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32398 if (!SWIG_IsOK(res1
)) {
32399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32401 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32402 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32403 if (!SWIG_IsOK(ecode2
)) {
32404 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
32406 arg2
= static_cast< int >(val2
);
32407 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32408 if (!SWIG_IsOK(ecode3
)) {
32409 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
32411 arg3
= static_cast< int >(val3
);
32412 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32413 if (!SWIG_IsOK(ecode4
)) {
32414 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
32416 arg4
= static_cast< int >(val4
);
32417 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32418 if (!SWIG_IsOK(ecode5
)) {
32419 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
32421 arg5
= static_cast< int >(val5
);
32423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32424 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
32425 wxPyEndAllowThreads(__tstate
);
32426 if (PyErr_Occurred()) SWIG_fail
;
32428 resultobj
= SWIG_Py_Void();
32435 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32436 PyObject
*resultobj
= 0;
32437 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32442 PyObject
* obj0
= 0 ;
32443 PyObject
* obj1
= 0 ;
32444 char * kwnames
[] = {
32445 (char *) "self",(char *) "rect", NULL
32448 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32449 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32450 if (!SWIG_IsOK(res1
)) {
32451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32453 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32456 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
32459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32460 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
32461 wxPyEndAllowThreads(__tstate
);
32462 if (PyErr_Occurred()) SWIG_fail
;
32464 resultobj
= SWIG_Py_Void();
32471 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32472 PyObject
*resultobj
= 0;
32473 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32474 wxPoint
*arg2
= 0 ;
32480 PyObject
* obj0
= 0 ;
32481 PyObject
* obj1
= 0 ;
32482 PyObject
* obj2
= 0 ;
32483 char * kwnames
[] = {
32484 (char *) "self",(char *) "pt",(char *) "sz", NULL
32487 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32488 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32489 if (!SWIG_IsOK(res1
)) {
32490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32492 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32495 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
32499 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
32502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32503 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
32504 wxPyEndAllowThreads(__tstate
);
32505 if (PyErr_Occurred()) SWIG_fail
;
32507 resultobj
= SWIG_Py_Void();
32514 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32515 PyObject
*resultobj
= 0;
32516 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32534 PyObject
* obj0
= 0 ;
32535 PyObject
* obj1
= 0 ;
32536 PyObject
* obj2
= 0 ;
32537 PyObject
* obj3
= 0 ;
32538 PyObject
* obj4
= 0 ;
32539 PyObject
* obj5
= 0 ;
32540 char * kwnames
[] = {
32541 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
32544 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PseudoDC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
32545 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32546 if (!SWIG_IsOK(res1
)) {
32547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32549 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32550 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32551 if (!SWIG_IsOK(ecode2
)) {
32552 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
32554 arg2
= static_cast< int >(val2
);
32555 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32556 if (!SWIG_IsOK(ecode3
)) {
32557 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
32559 arg3
= static_cast< int >(val3
);
32560 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32561 if (!SWIG_IsOK(ecode4
)) {
32562 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
32564 arg4
= static_cast< int >(val4
);
32565 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32566 if (!SWIG_IsOK(ecode5
)) {
32567 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
32569 arg5
= static_cast< int >(val5
);
32570 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
32571 if (!SWIG_IsOK(ecode6
)) {
32572 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
32574 arg6
= static_cast< double >(val6
);
32576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32577 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
32578 wxPyEndAllowThreads(__tstate
);
32579 if (PyErr_Occurred()) SWIG_fail
;
32581 resultobj
= SWIG_Py_Void();
32588 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32589 PyObject
*resultobj
= 0;
32590 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32598 PyObject
* obj0
= 0 ;
32599 PyObject
* obj1
= 0 ;
32600 PyObject
* obj2
= 0 ;
32601 char * kwnames
[] = {
32602 (char *) "self",(char *) "r",(char *) "radius", NULL
32605 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32606 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32607 if (!SWIG_IsOK(res1
)) {
32608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32610 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32613 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
32615 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
32616 if (!SWIG_IsOK(ecode3
)) {
32617 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
32619 arg3
= static_cast< double >(val3
);
32621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32622 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
32623 wxPyEndAllowThreads(__tstate
);
32624 if (PyErr_Occurred()) SWIG_fail
;
32626 resultobj
= SWIG_Py_Void();
32633 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32634 PyObject
*resultobj
= 0;
32635 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32636 wxPoint
*arg2
= 0 ;
32645 PyObject
* obj0
= 0 ;
32646 PyObject
* obj1
= 0 ;
32647 PyObject
* obj2
= 0 ;
32648 PyObject
* obj3
= 0 ;
32649 char * kwnames
[] = {
32650 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
32653 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32654 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32655 if (!SWIG_IsOK(res1
)) {
32656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32658 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32661 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
32665 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
32667 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
32668 if (!SWIG_IsOK(ecode4
)) {
32669 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
32671 arg4
= static_cast< double >(val4
);
32673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32674 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
32675 wxPyEndAllowThreads(__tstate
);
32676 if (PyErr_Occurred()) SWIG_fail
;
32678 resultobj
= SWIG_Py_Void();
32685 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32686 PyObject
*resultobj
= 0;
32687 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32699 PyObject
* obj0
= 0 ;
32700 PyObject
* obj1
= 0 ;
32701 PyObject
* obj2
= 0 ;
32702 PyObject
* obj3
= 0 ;
32703 char * kwnames
[] = {
32704 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
32707 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32708 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32709 if (!SWIG_IsOK(res1
)) {
32710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32712 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32713 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32714 if (!SWIG_IsOK(ecode2
)) {
32715 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
32717 arg2
= static_cast< int >(val2
);
32718 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32719 if (!SWIG_IsOK(ecode3
)) {
32720 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
32722 arg3
= static_cast< int >(val3
);
32723 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32724 if (!SWIG_IsOK(ecode4
)) {
32725 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
32727 arg4
= static_cast< int >(val4
);
32729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32730 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
32731 wxPyEndAllowThreads(__tstate
);
32732 if (PyErr_Occurred()) SWIG_fail
;
32734 resultobj
= SWIG_Py_Void();
32741 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32742 PyObject
*resultobj
= 0;
32743 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32744 wxPoint
*arg2
= 0 ;
32751 PyObject
* obj0
= 0 ;
32752 PyObject
* obj1
= 0 ;
32753 PyObject
* obj2
= 0 ;
32754 char * kwnames
[] = {
32755 (char *) "self",(char *) "pt",(char *) "radius", NULL
32758 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32759 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32760 if (!SWIG_IsOK(res1
)) {
32761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32763 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32766 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
32768 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32769 if (!SWIG_IsOK(ecode3
)) {
32770 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
32772 arg3
= static_cast< int >(val3
);
32774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32775 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
32776 wxPyEndAllowThreads(__tstate
);
32777 if (PyErr_Occurred()) SWIG_fail
;
32779 resultobj
= SWIG_Py_Void();
32786 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32787 PyObject
*resultobj
= 0;
32788 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32803 PyObject
* obj0
= 0 ;
32804 PyObject
* obj1
= 0 ;
32805 PyObject
* obj2
= 0 ;
32806 PyObject
* obj3
= 0 ;
32807 PyObject
* obj4
= 0 ;
32808 char * kwnames
[] = {
32809 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
32812 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
32813 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32814 if (!SWIG_IsOK(res1
)) {
32815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32817 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32818 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32819 if (!SWIG_IsOK(ecode2
)) {
32820 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
32822 arg2
= static_cast< int >(val2
);
32823 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32824 if (!SWIG_IsOK(ecode3
)) {
32825 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
32827 arg3
= static_cast< int >(val3
);
32828 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32829 if (!SWIG_IsOK(ecode4
)) {
32830 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
32832 arg4
= static_cast< int >(val4
);
32833 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32834 if (!SWIG_IsOK(ecode5
)) {
32835 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
32837 arg5
= static_cast< int >(val5
);
32839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32840 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
32841 wxPyEndAllowThreads(__tstate
);
32842 if (PyErr_Occurred()) SWIG_fail
;
32844 resultobj
= SWIG_Py_Void();
32851 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32852 PyObject
*resultobj
= 0;
32853 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32858 PyObject
* obj0
= 0 ;
32859 PyObject
* obj1
= 0 ;
32860 char * kwnames
[] = {
32861 (char *) "self",(char *) "rect", NULL
32864 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32865 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32866 if (!SWIG_IsOK(res1
)) {
32867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32869 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32872 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
32875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32876 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
32877 wxPyEndAllowThreads(__tstate
);
32878 if (PyErr_Occurred()) SWIG_fail
;
32880 resultobj
= SWIG_Py_Void();
32887 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32888 PyObject
*resultobj
= 0;
32889 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32890 wxPoint
*arg2
= 0 ;
32896 PyObject
* obj0
= 0 ;
32897 PyObject
* obj1
= 0 ;
32898 PyObject
* obj2
= 0 ;
32899 char * kwnames
[] = {
32900 (char *) "self",(char *) "pt",(char *) "sz", NULL
32903 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32904 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32905 if (!SWIG_IsOK(res1
)) {
32906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32908 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32911 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
32915 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
32918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32919 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
32920 wxPyEndAllowThreads(__tstate
);
32921 if (PyErr_Occurred()) SWIG_fail
;
32923 resultobj
= SWIG_Py_Void();
32930 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32931 PyObject
*resultobj
= 0;
32932 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32944 PyObject
* obj0
= 0 ;
32945 PyObject
* obj1
= 0 ;
32946 PyObject
* obj2
= 0 ;
32947 PyObject
* obj3
= 0 ;
32948 char * kwnames
[] = {
32949 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
32952 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32953 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32954 if (!SWIG_IsOK(res1
)) {
32955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32957 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32958 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
32959 if (!SWIG_IsOK(res2
)) {
32960 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
32963 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
32965 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
32966 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32967 if (!SWIG_IsOK(ecode3
)) {
32968 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
32970 arg3
= static_cast< int >(val3
);
32971 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32972 if (!SWIG_IsOK(ecode4
)) {
32973 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
32975 arg4
= static_cast< int >(val4
);
32977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32978 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
32979 wxPyEndAllowThreads(__tstate
);
32980 if (PyErr_Occurred()) SWIG_fail
;
32982 resultobj
= SWIG_Py_Void();
32989 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32990 PyObject
*resultobj
= 0;
32991 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32993 wxPoint
*arg3
= 0 ;
32999 PyObject
* obj0
= 0 ;
33000 PyObject
* obj1
= 0 ;
33001 PyObject
* obj2
= 0 ;
33002 char * kwnames
[] = {
33003 (char *) "self",(char *) "icon",(char *) "pt", NULL
33006 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33007 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33008 if (!SWIG_IsOK(res1
)) {
33009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33011 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33012 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
33013 if (!SWIG_IsOK(res2
)) {
33014 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
33017 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
33019 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
33022 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33026 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
33027 wxPyEndAllowThreads(__tstate
);
33028 if (PyErr_Occurred()) SWIG_fail
;
33030 resultobj
= SWIG_Py_Void();
33037 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33038 PyObject
*resultobj
= 0;
33039 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33040 wxBitmap
*arg2
= 0 ;
33043 bool arg5
= (bool) false ;
33054 PyObject
* obj0
= 0 ;
33055 PyObject
* obj1
= 0 ;
33056 PyObject
* obj2
= 0 ;
33057 PyObject
* obj3
= 0 ;
33058 PyObject
* obj4
= 0 ;
33059 char * kwnames
[] = {
33060 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
33063 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
33064 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33065 if (!SWIG_IsOK(res1
)) {
33066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33068 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33069 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
33070 if (!SWIG_IsOK(res2
)) {
33071 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
33074 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
33076 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
33077 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33078 if (!SWIG_IsOK(ecode3
)) {
33079 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
33081 arg3
= static_cast< int >(val3
);
33082 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33083 if (!SWIG_IsOK(ecode4
)) {
33084 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
33086 arg4
= static_cast< int >(val4
);
33088 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
33089 if (!SWIG_IsOK(ecode5
)) {
33090 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
33092 arg5
= static_cast< bool >(val5
);
33095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33096 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
33097 wxPyEndAllowThreads(__tstate
);
33098 if (PyErr_Occurred()) SWIG_fail
;
33100 resultobj
= SWIG_Py_Void();
33107 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33108 PyObject
*resultobj
= 0;
33109 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33110 wxBitmap
*arg2
= 0 ;
33111 wxPoint
*arg3
= 0 ;
33112 bool arg4
= (bool) false ;
33120 PyObject
* obj0
= 0 ;
33121 PyObject
* obj1
= 0 ;
33122 PyObject
* obj2
= 0 ;
33123 PyObject
* obj3
= 0 ;
33124 char * kwnames
[] = {
33125 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
33128 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33129 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33130 if (!SWIG_IsOK(res1
)) {
33131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33133 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33134 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
33135 if (!SWIG_IsOK(res2
)) {
33136 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
33139 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
33141 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
33144 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33147 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
33148 if (!SWIG_IsOK(ecode4
)) {
33149 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
33151 arg4
= static_cast< bool >(val4
);
33154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33155 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
33156 wxPyEndAllowThreads(__tstate
);
33157 if (PyErr_Occurred()) SWIG_fail
;
33159 resultobj
= SWIG_Py_Void();
33166 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33167 PyObject
*resultobj
= 0;
33168 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33169 wxString
*arg2
= 0 ;
33174 bool temp2
= false ;
33179 PyObject
* obj0
= 0 ;
33180 PyObject
* obj1
= 0 ;
33181 PyObject
* obj2
= 0 ;
33182 PyObject
* obj3
= 0 ;
33183 char * kwnames
[] = {
33184 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
33187 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33188 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33189 if (!SWIG_IsOK(res1
)) {
33190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33192 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33194 arg2
= wxString_in_helper(obj1
);
33195 if (arg2
== NULL
) SWIG_fail
;
33198 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33199 if (!SWIG_IsOK(ecode3
)) {
33200 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawText" "', expected argument " "3"" of type '" "int""'");
33202 arg3
= static_cast< int >(val3
);
33203 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33204 if (!SWIG_IsOK(ecode4
)) {
33205 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawText" "', expected argument " "4"" of type '" "int""'");
33207 arg4
= static_cast< int >(val4
);
33209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33210 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
33211 wxPyEndAllowThreads(__tstate
);
33212 if (PyErr_Occurred()) SWIG_fail
;
33214 resultobj
= SWIG_Py_Void();
33229 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33230 PyObject
*resultobj
= 0;
33231 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33232 wxString
*arg2
= 0 ;
33233 wxPoint
*arg3
= 0 ;
33236 bool temp2
= false ;
33238 PyObject
* obj0
= 0 ;
33239 PyObject
* obj1
= 0 ;
33240 PyObject
* obj2
= 0 ;
33241 char * kwnames
[] = {
33242 (char *) "self",(char *) "text",(char *) "pt", NULL
33245 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33246 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33247 if (!SWIG_IsOK(res1
)) {
33248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33250 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33252 arg2
= wxString_in_helper(obj1
);
33253 if (arg2
== NULL
) SWIG_fail
;
33258 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33262 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
33263 wxPyEndAllowThreads(__tstate
);
33264 if (PyErr_Occurred()) SWIG_fail
;
33266 resultobj
= SWIG_Py_Void();
33281 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33282 PyObject
*resultobj
= 0;
33283 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33284 wxString
*arg2
= 0 ;
33290 bool temp2
= false ;
33297 PyObject
* obj0
= 0 ;
33298 PyObject
* obj1
= 0 ;
33299 PyObject
* obj2
= 0 ;
33300 PyObject
* obj3
= 0 ;
33301 PyObject
* obj4
= 0 ;
33302 char * kwnames
[] = {
33303 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
33306 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
33307 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33308 if (!SWIG_IsOK(res1
)) {
33309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33311 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33313 arg2
= wxString_in_helper(obj1
);
33314 if (arg2
== NULL
) SWIG_fail
;
33317 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33318 if (!SWIG_IsOK(ecode3
)) {
33319 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
33321 arg3
= static_cast< int >(val3
);
33322 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33323 if (!SWIG_IsOK(ecode4
)) {
33324 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
33326 arg4
= static_cast< int >(val4
);
33327 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
33328 if (!SWIG_IsOK(ecode5
)) {
33329 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
33331 arg5
= static_cast< double >(val5
);
33333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33334 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
33335 wxPyEndAllowThreads(__tstate
);
33336 if (PyErr_Occurred()) SWIG_fail
;
33338 resultobj
= SWIG_Py_Void();
33353 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33354 PyObject
*resultobj
= 0;
33355 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33356 wxString
*arg2
= 0 ;
33357 wxPoint
*arg3
= 0 ;
33361 bool temp2
= false ;
33365 PyObject
* obj0
= 0 ;
33366 PyObject
* obj1
= 0 ;
33367 PyObject
* obj2
= 0 ;
33368 PyObject
* obj3
= 0 ;
33369 char * kwnames
[] = {
33370 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
33373 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33374 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33375 if (!SWIG_IsOK(res1
)) {
33376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33378 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33380 arg2
= wxString_in_helper(obj1
);
33381 if (arg2
== NULL
) SWIG_fail
;
33386 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33388 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
33389 if (!SWIG_IsOK(ecode4
)) {
33390 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
33392 arg4
= static_cast< double >(val4
);
33394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33395 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
33396 wxPyEndAllowThreads(__tstate
);
33397 if (PyErr_Occurred()) SWIG_fail
;
33399 resultobj
= SWIG_Py_Void();
33414 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33415 PyObject
*resultobj
= 0;
33416 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33418 wxPoint
*arg3
= (wxPoint
*) 0 ;
33419 int arg4
= (int) 0 ;
33420 int arg5
= (int) 0 ;
33427 PyObject
* obj0
= 0 ;
33428 PyObject
* obj1
= 0 ;
33429 PyObject
* obj2
= 0 ;
33430 PyObject
* obj3
= 0 ;
33431 char * kwnames
[] = {
33432 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
33435 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:PseudoDC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33436 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33437 if (!SWIG_IsOK(res1
)) {
33438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLines" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33440 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33442 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
33443 if (arg3
== NULL
) SWIG_fail
;
33446 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
33447 if (!SWIG_IsOK(ecode4
)) {
33448 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLines" "', expected argument " "4"" of type '" "int""'");
33450 arg4
= static_cast< int >(val4
);
33453 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
33454 if (!SWIG_IsOK(ecode5
)) {
33455 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLines" "', expected argument " "5"" of type '" "int""'");
33457 arg5
= static_cast< int >(val5
);
33460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33461 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
33462 wxPyEndAllowThreads(__tstate
);
33463 if (PyErr_Occurred()) SWIG_fail
;
33465 resultobj
= SWIG_Py_Void();
33467 if (arg3
) delete [] arg3
;
33472 if (arg3
) delete [] arg3
;
33478 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33479 PyObject
*resultobj
= 0;
33480 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33482 wxPoint
*arg3
= (wxPoint
*) 0 ;
33483 int arg4
= (int) 0 ;
33484 int arg5
= (int) 0 ;
33485 int arg6
= (int) wxODDEVEN_RULE
;
33494 PyObject
* obj0
= 0 ;
33495 PyObject
* obj1
= 0 ;
33496 PyObject
* obj2
= 0 ;
33497 PyObject
* obj3
= 0 ;
33498 PyObject
* obj4
= 0 ;
33499 char * kwnames
[] = {
33500 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
33503 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:PseudoDC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
33504 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33505 if (!SWIG_IsOK(res1
)) {
33506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33508 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33510 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
33511 if (arg3
== NULL
) SWIG_fail
;
33514 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
33515 if (!SWIG_IsOK(ecode4
)) {
33516 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
33518 arg4
= static_cast< int >(val4
);
33521 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
33522 if (!SWIG_IsOK(ecode5
)) {
33523 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
33525 arg5
= static_cast< int >(val5
);
33528 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
33529 if (!SWIG_IsOK(ecode6
)) {
33530 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
33532 arg6
= static_cast< int >(val6
);
33535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33536 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
33537 wxPyEndAllowThreads(__tstate
);
33538 if (PyErr_Occurred()) SWIG_fail
;
33540 resultobj
= SWIG_Py_Void();
33542 if (arg3
) delete [] arg3
;
33547 if (arg3
) delete [] arg3
;
33553 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33554 PyObject
*resultobj
= 0;
33555 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33556 wxString
*arg2
= 0 ;
33558 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
33559 int arg5
= (int) -1 ;
33562 bool temp2
= false ;
33568 PyObject
* obj0
= 0 ;
33569 PyObject
* obj1
= 0 ;
33570 PyObject
* obj2
= 0 ;
33571 PyObject
* obj3
= 0 ;
33572 PyObject
* obj4
= 0 ;
33573 char * kwnames
[] = {
33574 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
33577 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
33578 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33579 if (!SWIG_IsOK(res1
)) {
33580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33582 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33584 arg2
= wxString_in_helper(obj1
);
33585 if (arg2
== NULL
) SWIG_fail
;
33590 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
33593 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33594 if (!SWIG_IsOK(ecode4
)) {
33595 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
33597 arg4
= static_cast< int >(val4
);
33600 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
33601 if (!SWIG_IsOK(ecode5
)) {
33602 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
33604 arg5
= static_cast< int >(val5
);
33607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33608 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
33609 wxPyEndAllowThreads(__tstate
);
33610 if (PyErr_Occurred()) SWIG_fail
;
33612 resultobj
= SWIG_Py_Void();
33627 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33628 PyObject
*resultobj
= 0;
33629 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33630 wxString
*arg2
= 0 ;
33631 wxBitmap
*arg3
= 0 ;
33633 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
33634 int arg6
= (int) -1 ;
33637 bool temp2
= false ;
33645 PyObject
* obj0
= 0 ;
33646 PyObject
* obj1
= 0 ;
33647 PyObject
* obj2
= 0 ;
33648 PyObject
* obj3
= 0 ;
33649 PyObject
* obj4
= 0 ;
33650 PyObject
* obj5
= 0 ;
33651 char * kwnames
[] = {
33652 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
33655 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PseudoDC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
33656 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33657 if (!SWIG_IsOK(res1
)) {
33658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33660 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33662 arg2
= wxString_in_helper(obj1
);
33663 if (arg2
== NULL
) SWIG_fail
;
33666 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
33667 if (!SWIG_IsOK(res3
)) {
33668 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
33671 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
33673 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
33676 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
33679 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
33680 if (!SWIG_IsOK(ecode5
)) {
33681 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
33683 arg5
= static_cast< int >(val5
);
33686 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
33687 if (!SWIG_IsOK(ecode6
)) {
33688 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
33690 arg6
= static_cast< int >(val6
);
33693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33694 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
33695 wxPyEndAllowThreads(__tstate
);
33696 if (PyErr_Occurred()) SWIG_fail
;
33698 resultobj
= SWIG_Py_Void();
33713 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33714 PyObject
*resultobj
= 0;
33715 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33717 wxPoint
*arg3
= (wxPoint
*) 0 ;
33720 PyObject
* obj0
= 0 ;
33721 PyObject
* obj1
= 0 ;
33722 char * kwnames
[] = {
33723 (char *) "self",(char *) "points", NULL
33726 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33727 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33728 if (!SWIG_IsOK(res1
)) {
33729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawSpline" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33731 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33733 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
33734 if (arg3
== NULL
) SWIG_fail
;
33737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33738 (arg1
)->DrawSpline(arg2
,arg3
);
33739 wxPyEndAllowThreads(__tstate
);
33740 if (PyErr_Occurred()) SWIG_fail
;
33742 resultobj
= SWIG_Py_Void();
33744 if (arg3
) delete [] arg3
;
33749 if (arg3
) delete [] arg3
;
33755 SWIGINTERN PyObject
*_wrap_PseudoDC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33756 PyObject
*resultobj
= 0;
33757 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33760 PyObject
*swig_obj
[1] ;
33762 if (!args
) SWIG_fail
;
33763 swig_obj
[0] = args
;
33764 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33765 if (!SWIG_IsOK(res1
)) {
33766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_Clear" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33768 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33772 wxPyEndAllowThreads(__tstate
);
33773 if (PyErr_Occurred()) SWIG_fail
;
33775 resultobj
= SWIG_Py_Void();
33782 SWIGINTERN PyObject
*_wrap_PseudoDC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33783 PyObject
*resultobj
= 0;
33784 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33790 PyObject
* obj0
= 0 ;
33791 PyObject
* obj1
= 0 ;
33792 char * kwnames
[] = {
33793 (char *) "self",(char *) "font", NULL
33796 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33797 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33798 if (!SWIG_IsOK(res1
)) {
33799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetFont" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33801 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33802 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
33803 if (!SWIG_IsOK(res2
)) {
33804 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
33807 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
33809 arg2
= reinterpret_cast< wxFont
* >(argp2
);
33811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33812 (arg1
)->SetFont((wxFont
const &)*arg2
);
33813 wxPyEndAllowThreads(__tstate
);
33814 if (PyErr_Occurred()) SWIG_fail
;
33816 resultobj
= SWIG_Py_Void();
33823 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33824 PyObject
*resultobj
= 0;
33825 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33831 PyObject
* obj0
= 0 ;
33832 PyObject
* obj1
= 0 ;
33833 char * kwnames
[] = {
33834 (char *) "self",(char *) "pen", NULL
33837 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33838 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33839 if (!SWIG_IsOK(res1
)) {
33840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33842 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33843 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
33844 if (!SWIG_IsOK(res2
)) {
33845 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
33848 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
33850 arg2
= reinterpret_cast< wxPen
* >(argp2
);
33852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33853 (arg1
)->SetPen((wxPen
const &)*arg2
);
33854 wxPyEndAllowThreads(__tstate
);
33855 if (PyErr_Occurred()) SWIG_fail
;
33857 resultobj
= SWIG_Py_Void();
33864 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33865 PyObject
*resultobj
= 0;
33866 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33867 wxBrush
*arg2
= 0 ;
33872 PyObject
* obj0
= 0 ;
33873 PyObject
* obj1
= 0 ;
33874 char * kwnames
[] = {
33875 (char *) "self",(char *) "brush", NULL
33878 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33879 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33880 if (!SWIG_IsOK(res1
)) {
33881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBrush" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33883 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33884 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
33885 if (!SWIG_IsOK(res2
)) {
33886 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
33889 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
33891 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
33893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33894 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
33895 wxPyEndAllowThreads(__tstate
);
33896 if (PyErr_Occurred()) SWIG_fail
;
33898 resultobj
= SWIG_Py_Void();
33905 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33906 PyObject
*resultobj
= 0;
33907 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33908 wxBrush
*arg2
= 0 ;
33913 PyObject
* obj0
= 0 ;
33914 PyObject
* obj1
= 0 ;
33915 char * kwnames
[] = {
33916 (char *) "self",(char *) "brush", NULL
33919 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33920 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33921 if (!SWIG_IsOK(res1
)) {
33922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33924 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33925 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
33926 if (!SWIG_IsOK(res2
)) {
33927 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
33930 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
33932 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
33934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33935 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
33936 wxPyEndAllowThreads(__tstate
);
33937 if (PyErr_Occurred()) SWIG_fail
;
33939 resultobj
= SWIG_Py_Void();
33946 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33947 PyObject
*resultobj
= 0;
33948 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33954 PyObject
* obj0
= 0 ;
33955 PyObject
* obj1
= 0 ;
33956 char * kwnames
[] = {
33957 (char *) "self",(char *) "mode", NULL
33960 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33961 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33962 if (!SWIG_IsOK(res1
)) {
33963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33965 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33966 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33967 if (!SWIG_IsOK(ecode2
)) {
33968 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
33970 arg2
= static_cast< int >(val2
);
33972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33973 (arg1
)->SetBackgroundMode(arg2
);
33974 wxPyEndAllowThreads(__tstate
);
33975 if (PyErr_Occurred()) SWIG_fail
;
33977 resultobj
= SWIG_Py_Void();
33984 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33985 PyObject
*resultobj
= 0;
33986 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33987 wxPalette
*arg2
= 0 ;
33992 PyObject
* obj0
= 0 ;
33993 PyObject
* obj1
= 0 ;
33994 char * kwnames
[] = {
33995 (char *) "self",(char *) "palette", NULL
33998 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33999 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34000 if (!SWIG_IsOK(res1
)) {
34001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPalette" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34003 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34004 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
34005 if (!SWIG_IsOK(res2
)) {
34006 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
34009 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
34011 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
34013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34014 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
34015 wxPyEndAllowThreads(__tstate
);
34016 if (PyErr_Occurred()) SWIG_fail
;
34018 resultobj
= SWIG_Py_Void();
34025 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34026 PyObject
*resultobj
= 0;
34027 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34028 wxColour
*arg2
= 0 ;
34032 PyObject
* obj0
= 0 ;
34033 PyObject
* obj1
= 0 ;
34034 char * kwnames
[] = {
34035 (char *) "self",(char *) "colour", NULL
34038 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34039 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34040 if (!SWIG_IsOK(res1
)) {
34041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextForeground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34043 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34046 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
34049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34050 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
34051 wxPyEndAllowThreads(__tstate
);
34052 if (PyErr_Occurred()) SWIG_fail
;
34054 resultobj
= SWIG_Py_Void();
34061 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34062 PyObject
*resultobj
= 0;
34063 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34064 wxColour
*arg2
= 0 ;
34068 PyObject
* obj0
= 0 ;
34069 PyObject
* obj1
= 0 ;
34070 char * kwnames
[] = {
34071 (char *) "self",(char *) "colour", NULL
34074 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34075 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34076 if (!SWIG_IsOK(res1
)) {
34077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34079 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34082 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
34085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34086 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
34087 wxPyEndAllowThreads(__tstate
);
34088 if (PyErr_Occurred()) SWIG_fail
;
34090 resultobj
= SWIG_Py_Void();
34097 SWIGINTERN PyObject
*_wrap_PseudoDC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34098 PyObject
*resultobj
= 0;
34099 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34105 PyObject
* obj0
= 0 ;
34106 PyObject
* obj1
= 0 ;
34107 char * kwnames
[] = {
34108 (char *) "self",(char *) "function", NULL
34111 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34112 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34113 if (!SWIG_IsOK(res1
)) {
34114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34116 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34117 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34118 if (!SWIG_IsOK(ecode2
)) {
34119 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
34121 arg2
= static_cast< int >(val2
);
34123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34124 (arg1
)->SetLogicalFunction(arg2
);
34125 wxPyEndAllowThreads(__tstate
);
34126 if (PyErr_Occurred()) SWIG_fail
;
34128 resultobj
= SWIG_Py_Void();
34135 SWIGINTERN PyObject
*PseudoDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34137 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34138 SWIG_TypeNewClientData(SWIGTYPE_p_wxPseudoDC
, SWIG_NewClientData(obj
));
34139 return SWIG_Py_Void();
34142 SWIGINTERN PyObject
*PseudoDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34143 return SWIG_Python_InitShadowInstance(args
);
34146 static PyMethodDef SwigMethods
[] = {
34147 { (char *)"new_GDIObject", (PyCFunction
)_wrap_new_GDIObject
, METH_NOARGS
, NULL
},
34148 { (char *)"delete_GDIObject", (PyCFunction
)_wrap_delete_GDIObject
, METH_O
, NULL
},
34149 { (char *)"GDIObject_IsNull", (PyCFunction
)_wrap_GDIObject_IsNull
, METH_O
, NULL
},
34150 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
, NULL
},
34151 { (char *)"GDIObject_swiginit", GDIObject_swiginit
, METH_VARARGS
, NULL
},
34152 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34153 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34154 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34155 { (char *)"delete_Colour", (PyCFunction
)_wrap_delete_Colour
, METH_O
, NULL
},
34156 { (char *)"Colour_Red", (PyCFunction
)_wrap_Colour_Red
, METH_O
, NULL
},
34157 { (char *)"Colour_Green", (PyCFunction
)_wrap_Colour_Green
, METH_O
, NULL
},
34158 { (char *)"Colour_Blue", (PyCFunction
)_wrap_Colour_Blue
, METH_O
, NULL
},
34159 { (char *)"Colour_Alpha", (PyCFunction
)_wrap_Colour_Alpha
, METH_O
, NULL
},
34160 { (char *)"Colour_IsOk", (PyCFunction
)_wrap_Colour_IsOk
, METH_O
, NULL
},
34161 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34162 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34163 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34164 { (char *)"Colour_GetAsString", (PyCFunction
) _wrap_Colour_GetAsString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34165 { (char *)"Colour_GetPixel", (PyCFunction
)_wrap_Colour_GetPixel
, METH_O
, NULL
},
34166 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34167 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34168 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34169 { (char *)"Colour_GetRGB", (PyCFunction
)_wrap_Colour_GetRGB
, METH_O
, NULL
},
34170 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
, NULL
},
34171 { (char *)"Colour_swiginit", Colour_swiginit
, METH_VARARGS
, NULL
},
34172 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34173 { (char *)"delete_Palette", (PyCFunction
)_wrap_delete_Palette
, METH_O
, NULL
},
34174 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34175 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34176 { (char *)"Palette_GetColoursCount", (PyCFunction
)_wrap_Palette_GetColoursCount
, METH_O
, NULL
},
34177 { (char *)"Palette_IsOk", (PyCFunction
)_wrap_Palette_IsOk
, METH_O
, NULL
},
34178 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
, NULL
},
34179 { (char *)"Palette_swiginit", Palette_swiginit
, METH_VARARGS
, NULL
},
34180 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34181 { (char *)"delete_Pen", (PyCFunction
)_wrap_delete_Pen
, METH_O
, NULL
},
34182 { (char *)"Pen_GetCap", (PyCFunction
)_wrap_Pen_GetCap
, METH_O
, NULL
},
34183 { (char *)"Pen_GetColour", (PyCFunction
)_wrap_Pen_GetColour
, METH_O
, NULL
},
34184 { (char *)"Pen_GetJoin", (PyCFunction
)_wrap_Pen_GetJoin
, METH_O
, NULL
},
34185 { (char *)"Pen_GetStyle", (PyCFunction
)_wrap_Pen_GetStyle
, METH_O
, NULL
},
34186 { (char *)"Pen_GetWidth", (PyCFunction
)_wrap_Pen_GetWidth
, METH_O
, NULL
},
34187 { (char *)"Pen_IsOk", (PyCFunction
)_wrap_Pen_IsOk
, METH_O
, NULL
},
34188 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34189 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34190 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34191 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34192 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34193 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34194 { (char *)"Pen_GetDashes", (PyCFunction
)_wrap_Pen_GetDashes
, METH_O
, NULL
},
34195 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34196 { (char *)"Pen_GetDashCount", (PyCFunction
)_wrap_Pen_GetDashCount
, METH_O
, NULL
},
34197 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34198 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34199 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
, NULL
},
34200 { (char *)"Pen_swiginit", Pen_swiginit
, METH_VARARGS
, NULL
},
34201 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34202 { (char *)"new_BrushFromBitmap", (PyCFunction
) _wrap_new_BrushFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34203 { (char *)"delete_Brush", (PyCFunction
)_wrap_delete_Brush
, METH_O
, NULL
},
34204 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34205 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34206 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34207 { (char *)"Brush_GetColour", (PyCFunction
)_wrap_Brush_GetColour
, METH_O
, NULL
},
34208 { (char *)"Brush_GetStyle", (PyCFunction
)_wrap_Brush_GetStyle
, METH_O
, NULL
},
34209 { (char *)"Brush_GetStipple", (PyCFunction
)_wrap_Brush_GetStipple
, METH_O
, NULL
},
34210 { (char *)"Brush_IsHatch", (PyCFunction
)_wrap_Brush_IsHatch
, METH_O
, NULL
},
34211 { (char *)"Brush_IsOk", (PyCFunction
)_wrap_Brush_IsOk
, METH_O
, NULL
},
34212 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
, NULL
},
34213 { (char *)"Brush_swiginit", Brush_swiginit
, METH_VARARGS
, NULL
},
34214 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34215 { (char *)"delete_Bitmap", (PyCFunction
)_wrap_delete_Bitmap
, METH_O
, NULL
},
34216 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34217 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34218 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34219 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34220 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34221 { (char *)"Bitmap_IsOk", (PyCFunction
)_wrap_Bitmap_IsOk
, METH_O
, NULL
},
34222 { (char *)"Bitmap_GetWidth", (PyCFunction
)_wrap_Bitmap_GetWidth
, METH_O
, NULL
},
34223 { (char *)"Bitmap_GetHeight", (PyCFunction
)_wrap_Bitmap_GetHeight
, METH_O
, NULL
},
34224 { (char *)"Bitmap_GetDepth", (PyCFunction
)_wrap_Bitmap_GetDepth
, METH_O
, NULL
},
34225 { (char *)"Bitmap_GetSize", (PyCFunction
)_wrap_Bitmap_GetSize
, METH_O
, NULL
},
34226 { (char *)"Bitmap_ConvertToImage", (PyCFunction
)_wrap_Bitmap_ConvertToImage
, METH_O
, NULL
},
34227 { (char *)"Bitmap_GetMask", (PyCFunction
)_wrap_Bitmap_GetMask
, METH_O
, NULL
},
34228 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34229 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34230 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34231 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34232 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34233 { (char *)"Bitmap_GetPalette", (PyCFunction
)_wrap_Bitmap_GetPalette
, METH_O
, NULL
},
34234 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34235 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34236 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34237 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34238 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34239 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34240 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34241 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
, NULL
},
34242 { (char *)"Bitmap_swiginit", Bitmap_swiginit
, METH_VARARGS
, NULL
},
34243 { (char *)"_BitmapFromBufferAlpha", (PyCFunction
) _wrap__BitmapFromBufferAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34244 { (char *)"_BitmapFromBuffer", (PyCFunction
) _wrap__BitmapFromBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34245 { (char *)"_BitmapFromBufferRGBA", (PyCFunction
) _wrap__BitmapFromBufferRGBA
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34246 { (char *)"PixelDataBase_GetOrigin", (PyCFunction
)_wrap_PixelDataBase_GetOrigin
, METH_O
, NULL
},
34247 { (char *)"PixelDataBase_GetWidth", (PyCFunction
)_wrap_PixelDataBase_GetWidth
, METH_O
, NULL
},
34248 { (char *)"PixelDataBase_GetHeight", (PyCFunction
)_wrap_PixelDataBase_GetHeight
, METH_O
, NULL
},
34249 { (char *)"PixelDataBase_GetSize", (PyCFunction
)_wrap_PixelDataBase_GetSize
, METH_O
, NULL
},
34250 { (char *)"PixelDataBase_GetRowStride", (PyCFunction
)_wrap_PixelDataBase_GetRowStride
, METH_O
, NULL
},
34251 { (char *)"PixelDataBase_swigregister", PixelDataBase_swigregister
, METH_VARARGS
, NULL
},
34252 { (char *)"new_NativePixelData", _wrap_new_NativePixelData
, METH_VARARGS
, NULL
},
34253 { (char *)"delete_NativePixelData", (PyCFunction
)_wrap_delete_NativePixelData
, METH_O
, NULL
},
34254 { (char *)"NativePixelData_GetPixels", (PyCFunction
)_wrap_NativePixelData_GetPixels
, METH_O
, NULL
},
34255 { (char *)"NativePixelData_UseAlpha", (PyCFunction
)_wrap_NativePixelData_UseAlpha
, METH_O
, NULL
},
34256 { (char *)"NativePixelData___nonzero__", (PyCFunction
)_wrap_NativePixelData___nonzero__
, METH_O
, NULL
},
34257 { (char *)"NativePixelData_swigregister", NativePixelData_swigregister
, METH_VARARGS
, NULL
},
34258 { (char *)"NativePixelData_swiginit", NativePixelData_swiginit
, METH_VARARGS
, NULL
},
34259 { (char *)"new_NativePixelData_Accessor", _wrap_new_NativePixelData_Accessor
, METH_VARARGS
, NULL
},
34260 { (char *)"delete_NativePixelData_Accessor", (PyCFunction
)_wrap_delete_NativePixelData_Accessor
, METH_O
, NULL
},
34261 { (char *)"NativePixelData_Accessor_Reset", (PyCFunction
) _wrap_NativePixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34262 { (char *)"NativePixelData_Accessor_IsOk", (PyCFunction
)_wrap_NativePixelData_Accessor_IsOk
, METH_O
, NULL
},
34263 { (char *)"NativePixelData_Accessor_nextPixel", (PyCFunction
)_wrap_NativePixelData_Accessor_nextPixel
, METH_O
, NULL
},
34264 { (char *)"NativePixelData_Accessor_Offset", (PyCFunction
) _wrap_NativePixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34265 { (char *)"NativePixelData_Accessor_OffsetX", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34266 { (char *)"NativePixelData_Accessor_OffsetY", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34267 { (char *)"NativePixelData_Accessor_MoveTo", (PyCFunction
) _wrap_NativePixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34268 { (char *)"NativePixelData_Accessor_Set", (PyCFunction
) _wrap_NativePixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34269 { (char *)"NativePixelData_Accessor_Get", (PyCFunction
)_wrap_NativePixelData_Accessor_Get
, METH_O
, NULL
},
34270 { (char *)"NativePixelData_Accessor_swigregister", NativePixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
34271 { (char *)"NativePixelData_Accessor_swiginit", NativePixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
34272 { (char *)"new_AlphaPixelData", _wrap_new_AlphaPixelData
, METH_VARARGS
, NULL
},
34273 { (char *)"delete_AlphaPixelData", (PyCFunction
)_wrap_delete_AlphaPixelData
, METH_O
, NULL
},
34274 { (char *)"AlphaPixelData_GetPixels", (PyCFunction
)_wrap_AlphaPixelData_GetPixels
, METH_O
, NULL
},
34275 { (char *)"AlphaPixelData_UseAlpha", (PyCFunction
)_wrap_AlphaPixelData_UseAlpha
, METH_O
, NULL
},
34276 { (char *)"AlphaPixelData___nonzero__", (PyCFunction
)_wrap_AlphaPixelData___nonzero__
, METH_O
, NULL
},
34277 { (char *)"AlphaPixelData_swigregister", AlphaPixelData_swigregister
, METH_VARARGS
, NULL
},
34278 { (char *)"AlphaPixelData_swiginit", AlphaPixelData_swiginit
, METH_VARARGS
, NULL
},
34279 { (char *)"new_AlphaPixelData_Accessor", _wrap_new_AlphaPixelData_Accessor
, METH_VARARGS
, NULL
},
34280 { (char *)"delete_AlphaPixelData_Accessor", (PyCFunction
)_wrap_delete_AlphaPixelData_Accessor
, METH_O
, NULL
},
34281 { (char *)"AlphaPixelData_Accessor_Reset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34282 { (char *)"AlphaPixelData_Accessor_IsOk", (PyCFunction
)_wrap_AlphaPixelData_Accessor_IsOk
, METH_O
, NULL
},
34283 { (char *)"AlphaPixelData_Accessor_nextPixel", (PyCFunction
)_wrap_AlphaPixelData_Accessor_nextPixel
, METH_O
, NULL
},
34284 { (char *)"AlphaPixelData_Accessor_Offset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34285 { (char *)"AlphaPixelData_Accessor_OffsetX", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34286 { (char *)"AlphaPixelData_Accessor_OffsetY", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34287 { (char *)"AlphaPixelData_Accessor_MoveTo", (PyCFunction
) _wrap_AlphaPixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34288 { (char *)"AlphaPixelData_Accessor_Set", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34289 { (char *)"AlphaPixelData_Accessor_Get", (PyCFunction
)_wrap_AlphaPixelData_Accessor_Get
, METH_O
, NULL
},
34290 { (char *)"AlphaPixelData_Accessor_swigregister", AlphaPixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
34291 { (char *)"AlphaPixelData_Accessor_swiginit", AlphaPixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
34292 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34293 { (char *)"delete_Mask", (PyCFunction
)_wrap_delete_Mask
, METH_O
, NULL
},
34294 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
, NULL
},
34295 { (char *)"Mask_swiginit", Mask_swiginit
, METH_VARARGS
, NULL
},
34296 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34297 { (char *)"delete_Icon", (PyCFunction
)_wrap_delete_Icon
, METH_O
, NULL
},
34298 { (char *)"new_EmptyIcon", (PyCFunction
)_wrap_new_EmptyIcon
, METH_NOARGS
, NULL
},
34299 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34300 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34301 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34302 { (char *)"Icon_LoadFile", (PyCFunction
) _wrap_Icon_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34303 { (char *)"Icon_IsOk", (PyCFunction
)_wrap_Icon_IsOk
, METH_O
, NULL
},
34304 { (char *)"Icon_GetWidth", (PyCFunction
)_wrap_Icon_GetWidth
, METH_O
, NULL
},
34305 { (char *)"Icon_GetHeight", (PyCFunction
)_wrap_Icon_GetHeight
, METH_O
, NULL
},
34306 { (char *)"Icon_GetDepth", (PyCFunction
)_wrap_Icon_GetDepth
, METH_O
, NULL
},
34307 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34308 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34309 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34310 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34311 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
, NULL
},
34312 { (char *)"Icon_swiginit", Icon_swiginit
, METH_VARARGS
, NULL
},
34313 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34314 { (char *)"delete_IconLocation", (PyCFunction
)_wrap_delete_IconLocation
, METH_O
, NULL
},
34315 { (char *)"IconLocation_IsOk", (PyCFunction
)_wrap_IconLocation_IsOk
, METH_O
, NULL
},
34316 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34317 { (char *)"IconLocation_GetFileName", (PyCFunction
)_wrap_IconLocation_GetFileName
, METH_O
, NULL
},
34318 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34319 { (char *)"IconLocation_GetIndex", (PyCFunction
)_wrap_IconLocation_GetIndex
, METH_O
, NULL
},
34320 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
, NULL
},
34321 { (char *)"IconLocation_swiginit", IconLocation_swiginit
, METH_VARARGS
, NULL
},
34322 { (char *)"new_IconBundle", (PyCFunction
)_wrap_new_IconBundle
, METH_NOARGS
, NULL
},
34323 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34324 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34325 { (char *)"delete_IconBundle", (PyCFunction
)_wrap_delete_IconBundle
, METH_O
, NULL
},
34326 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34327 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34328 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34329 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
, NULL
},
34330 { (char *)"IconBundle_swiginit", IconBundle_swiginit
, METH_VARARGS
, NULL
},
34331 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34332 { (char *)"delete_Cursor", (PyCFunction
)_wrap_delete_Cursor
, METH_O
, NULL
},
34333 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34334 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34335 { (char *)"Cursor_IsOk", (PyCFunction
)_wrap_Cursor_IsOk
, METH_O
, NULL
},
34336 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
, NULL
},
34337 { (char *)"Cursor_swiginit", Cursor_swiginit
, METH_VARARGS
, NULL
},
34338 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34339 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34340 { (char *)"new_RegionFromBitmapColour", (PyCFunction
) _wrap_new_RegionFromBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34341 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34342 { (char *)"delete_Region", (PyCFunction
)_wrap_delete_Region
, METH_O
, NULL
},
34343 { (char *)"Region_Clear", (PyCFunction
)_wrap_Region_Clear
, METH_O
, NULL
},
34344 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34345 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34346 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34347 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34348 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34349 { (char *)"Region_GetBox", (PyCFunction
)_wrap_Region_GetBox
, METH_O
, NULL
},
34350 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34351 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34352 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34353 { (char *)"Region_IsEmpty", (PyCFunction
)_wrap_Region_IsEmpty
, METH_O
, NULL
},
34354 { (char *)"Region_IsEqual", (PyCFunction
) _wrap_Region_IsEqual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34355 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34356 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34357 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34358 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34359 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34360 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34361 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34362 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34363 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34364 { (char *)"Region_ConvertToBitmap", (PyCFunction
)_wrap_Region_ConvertToBitmap
, METH_O
, NULL
},
34365 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34366 { (char *)"Region_UnionBitmapColour", (PyCFunction
) _wrap_Region_UnionBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34367 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
, NULL
},
34368 { (char *)"Region_swiginit", Region_swiginit
, METH_VARARGS
, NULL
},
34369 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34370 { (char *)"delete_RegionIterator", (PyCFunction
)_wrap_delete_RegionIterator
, METH_O
, NULL
},
34371 { (char *)"RegionIterator_GetX", (PyCFunction
)_wrap_RegionIterator_GetX
, METH_O
, NULL
},
34372 { (char *)"RegionIterator_GetY", (PyCFunction
)_wrap_RegionIterator_GetY
, METH_O
, NULL
},
34373 { (char *)"RegionIterator_GetW", (PyCFunction
)_wrap_RegionIterator_GetW
, METH_O
, NULL
},
34374 { (char *)"RegionIterator_GetWidth", (PyCFunction
)_wrap_RegionIterator_GetWidth
, METH_O
, NULL
},
34375 { (char *)"RegionIterator_GetH", (PyCFunction
)_wrap_RegionIterator_GetH
, METH_O
, NULL
},
34376 { (char *)"RegionIterator_GetHeight", (PyCFunction
)_wrap_RegionIterator_GetHeight
, METH_O
, NULL
},
34377 { (char *)"RegionIterator_GetRect", (PyCFunction
)_wrap_RegionIterator_GetRect
, METH_O
, NULL
},
34378 { (char *)"RegionIterator_HaveRects", (PyCFunction
)_wrap_RegionIterator_HaveRects
, METH_O
, NULL
},
34379 { (char *)"RegionIterator_Reset", (PyCFunction
)_wrap_RegionIterator_Reset
, METH_O
, NULL
},
34380 { (char *)"RegionIterator_Next", (PyCFunction
)_wrap_RegionIterator_Next
, METH_O
, NULL
},
34381 { (char *)"RegionIterator___nonzero__", (PyCFunction
)_wrap_RegionIterator___nonzero__
, METH_O
, NULL
},
34382 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
, NULL
},
34383 { (char *)"RegionIterator_swiginit", RegionIterator_swiginit
, METH_VARARGS
, NULL
},
34384 { (char *)"new_NativeFontInfo", (PyCFunction
)_wrap_new_NativeFontInfo
, METH_NOARGS
, NULL
},
34385 { (char *)"delete_NativeFontInfo", (PyCFunction
)_wrap_delete_NativeFontInfo
, METH_O
, NULL
},
34386 { (char *)"NativeFontInfo_Init", (PyCFunction
)_wrap_NativeFontInfo_Init
, METH_O
, NULL
},
34387 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34388 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
)_wrap_NativeFontInfo_GetPointSize
, METH_O
, NULL
},
34389 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
)_wrap_NativeFontInfo_GetStyle
, METH_O
, NULL
},
34390 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
)_wrap_NativeFontInfo_GetWeight
, METH_O
, NULL
},
34391 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
)_wrap_NativeFontInfo_GetUnderlined
, METH_O
, NULL
},
34392 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
)_wrap_NativeFontInfo_GetFaceName
, METH_O
, NULL
},
34393 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
)_wrap_NativeFontInfo_GetFamily
, METH_O
, NULL
},
34394 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
)_wrap_NativeFontInfo_GetEncoding
, METH_O
, NULL
},
34395 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34396 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34397 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34398 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34399 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34400 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34401 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34402 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34403 { (char *)"NativeFontInfo_ToString", (PyCFunction
)_wrap_NativeFontInfo_ToString
, METH_O
, NULL
},
34404 { (char *)"NativeFontInfo___str__", (PyCFunction
)_wrap_NativeFontInfo___str__
, METH_O
, NULL
},
34405 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34406 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
)_wrap_NativeFontInfo_ToUserString
, METH_O
, NULL
},
34407 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
, NULL
},
34408 { (char *)"NativeFontInfo_swiginit", NativeFontInfo_swiginit
, METH_VARARGS
, NULL
},
34409 { (char *)"NativeEncodingInfo_facename_set", _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
, NULL
},
34410 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
)_wrap_NativeEncodingInfo_facename_get
, METH_O
, NULL
},
34411 { (char *)"NativeEncodingInfo_encoding_set", _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
, NULL
},
34412 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
)_wrap_NativeEncodingInfo_encoding_get
, METH_O
, NULL
},
34413 { (char *)"new_NativeEncodingInfo", (PyCFunction
)_wrap_new_NativeEncodingInfo
, METH_NOARGS
, NULL
},
34414 { (char *)"delete_NativeEncodingInfo", (PyCFunction
)_wrap_delete_NativeEncodingInfo
, METH_O
, NULL
},
34415 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34416 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
)_wrap_NativeEncodingInfo_ToString
, METH_O
, NULL
},
34417 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
, NULL
},
34418 { (char *)"NativeEncodingInfo_swiginit", NativeEncodingInfo_swiginit
, METH_VARARGS
, NULL
},
34419 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34420 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34421 { (char *)"new_FontMapper", (PyCFunction
)_wrap_new_FontMapper
, METH_NOARGS
, NULL
},
34422 { (char *)"delete_FontMapper", (PyCFunction
)_wrap_delete_FontMapper
, METH_O
, NULL
},
34423 { (char *)"FontMapper_Get", (PyCFunction
)_wrap_FontMapper_Get
, METH_NOARGS
, NULL
},
34424 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34425 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34426 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
)_wrap_FontMapper_GetSupportedEncodingsCount
, METH_NOARGS
, NULL
},
34427 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34428 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34429 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34430 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34431 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34432 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
)_wrap_FontMapper_GetDefaultConfigPath
, METH_NOARGS
, NULL
},
34433 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34434 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34435 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34436 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34437 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
, NULL
},
34438 { (char *)"FontMapper_swiginit", FontMapper_swiginit
, METH_VARARGS
, NULL
},
34439 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34440 { (char *)"delete_Font", (PyCFunction
)_wrap_delete_Font
, METH_O
, NULL
},
34441 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34442 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34443 { (char *)"new_FFont", (PyCFunction
) _wrap_new_FFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34444 { (char *)"new_FontFromPixelSize", (PyCFunction
) _wrap_new_FontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34445 { (char *)"new_FFontFromPixelSize", (PyCFunction
) _wrap_new_FFontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34446 { (char *)"Font_IsOk", (PyCFunction
)_wrap_Font_IsOk
, METH_O
, NULL
},
34447 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34448 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34449 { (char *)"Font_GetPointSize", (PyCFunction
)_wrap_Font_GetPointSize
, METH_O
, NULL
},
34450 { (char *)"Font_GetPixelSize", (PyCFunction
)_wrap_Font_GetPixelSize
, METH_O
, NULL
},
34451 { (char *)"Font_IsUsingSizeInPixels", (PyCFunction
)_wrap_Font_IsUsingSizeInPixels
, METH_O
, NULL
},
34452 { (char *)"Font_GetFamily", (PyCFunction
)_wrap_Font_GetFamily
, METH_O
, NULL
},
34453 { (char *)"Font_GetStyle", (PyCFunction
)_wrap_Font_GetStyle
, METH_O
, NULL
},
34454 { (char *)"Font_GetWeight", (PyCFunction
)_wrap_Font_GetWeight
, METH_O
, NULL
},
34455 { (char *)"Font_GetUnderlined", (PyCFunction
)_wrap_Font_GetUnderlined
, METH_O
, NULL
},
34456 { (char *)"Font_GetFaceName", (PyCFunction
)_wrap_Font_GetFaceName
, METH_O
, NULL
},
34457 { (char *)"Font_GetEncoding", (PyCFunction
)_wrap_Font_GetEncoding
, METH_O
, NULL
},
34458 { (char *)"Font_GetNativeFontInfo", (PyCFunction
)_wrap_Font_GetNativeFontInfo
, METH_O
, NULL
},
34459 { (char *)"Font_IsFixedWidth", (PyCFunction
)_wrap_Font_IsFixedWidth
, METH_O
, NULL
},
34460 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoDesc
, METH_O
, NULL
},
34461 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoUserDesc
, METH_O
, NULL
},
34462 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34463 { (char *)"Font_SetPixelSize", (PyCFunction
) _wrap_Font_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34464 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34465 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34466 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34467 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34468 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34469 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34470 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34471 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34472 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34473 { (char *)"Font_GetFamilyString", (PyCFunction
)_wrap_Font_GetFamilyString
, METH_O
, NULL
},
34474 { (char *)"Font_GetStyleString", (PyCFunction
)_wrap_Font_GetStyleString
, METH_O
, NULL
},
34475 { (char *)"Font_GetWeightString", (PyCFunction
)_wrap_Font_GetWeightString
, METH_O
, NULL
},
34476 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34477 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
)_wrap_Font_GetNoAntiAliasing
, METH_O
, NULL
},
34478 { (char *)"Font_GetDefaultEncoding", (PyCFunction
)_wrap_Font_GetDefaultEncoding
, METH_NOARGS
, NULL
},
34479 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34480 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
, NULL
},
34481 { (char *)"Font_swiginit", Font_swiginit
, METH_VARARGS
, NULL
},
34482 { (char *)"new_FontEnumerator", (PyCFunction
)_wrap_new_FontEnumerator
, METH_NOARGS
, NULL
},
34483 { (char *)"delete_FontEnumerator", (PyCFunction
)_wrap_delete_FontEnumerator
, METH_O
, NULL
},
34484 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34485 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34486 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34487 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
)_wrap_FontEnumerator_GetEncodings
, METH_NOARGS
, NULL
},
34488 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
)_wrap_FontEnumerator_GetFacenames
, METH_NOARGS
, NULL
},
34489 { (char *)"FontEnumerator_IsValidFacename", (PyCFunction
) _wrap_FontEnumerator_IsValidFacename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34490 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
, NULL
},
34491 { (char *)"FontEnumerator_swiginit", FontEnumerator_swiginit
, METH_VARARGS
, NULL
},
34492 { (char *)"LanguageInfo_Language_set", _wrap_LanguageInfo_Language_set
, METH_VARARGS
, NULL
},
34493 { (char *)"LanguageInfo_Language_get", (PyCFunction
)_wrap_LanguageInfo_Language_get
, METH_O
, NULL
},
34494 { (char *)"LanguageInfo_CanonicalName_set", _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
, NULL
},
34495 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
)_wrap_LanguageInfo_CanonicalName_get
, METH_O
, NULL
},
34496 { (char *)"LanguageInfo_Description_set", _wrap_LanguageInfo_Description_set
, METH_VARARGS
, NULL
},
34497 { (char *)"LanguageInfo_Description_get", (PyCFunction
)_wrap_LanguageInfo_Description_get
, METH_O
, NULL
},
34498 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
, NULL
},
34499 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34500 { (char *)"delete_Locale", (PyCFunction
)_wrap_delete_Locale
, METH_O
, NULL
},
34501 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34502 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34503 { (char *)"Locale_GetSystemLanguage", (PyCFunction
)_wrap_Locale_GetSystemLanguage
, METH_NOARGS
, NULL
},
34504 { (char *)"Locale_GetSystemEncoding", (PyCFunction
)_wrap_Locale_GetSystemEncoding
, METH_NOARGS
, NULL
},
34505 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
)_wrap_Locale_GetSystemEncodingName
, METH_NOARGS
, NULL
},
34506 { (char *)"Locale_IsOk", (PyCFunction
)_wrap_Locale_IsOk
, METH_O
, NULL
},
34507 { (char *)"Locale_GetLocale", (PyCFunction
)_wrap_Locale_GetLocale
, METH_O
, NULL
},
34508 { (char *)"Locale_GetLanguage", (PyCFunction
)_wrap_Locale_GetLanguage
, METH_O
, NULL
},
34509 { (char *)"Locale_GetSysName", (PyCFunction
)_wrap_Locale_GetSysName
, METH_O
, NULL
},
34510 { (char *)"Locale_GetCanonicalName", (PyCFunction
)_wrap_Locale_GetCanonicalName
, METH_O
, NULL
},
34511 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34512 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34513 { (char *)"Locale_IsAvailable", (PyCFunction
) _wrap_Locale_IsAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34514 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34515 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34516 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34517 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34518 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34519 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34520 { (char *)"Locale_GetName", (PyCFunction
)_wrap_Locale_GetName
, METH_O
, NULL
},
34521 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
, NULL
},
34522 { (char *)"Locale_swiginit", Locale_swiginit
, METH_VARARGS
, NULL
},
34523 { (char *)"new_PyLocale", (PyCFunction
) _wrap_new_PyLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34524 { (char *)"delete_PyLocale", (PyCFunction
)_wrap_delete_PyLocale
, METH_O
, NULL
},
34525 { (char *)"PyLocale__setCallbackInfo", (PyCFunction
) _wrap_PyLocale__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34526 { (char *)"PyLocale_GetSingularString", (PyCFunction
) _wrap_PyLocale_GetSingularString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34527 { (char *)"PyLocale_GetPluralString", (PyCFunction
) _wrap_PyLocale_GetPluralString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34528 { (char *)"PyLocale_swigregister", PyLocale_swigregister
, METH_VARARGS
, NULL
},
34529 { (char *)"PyLocale_swiginit", PyLocale_swiginit
, METH_VARARGS
, NULL
},
34530 { (char *)"GetLocale", (PyCFunction
)_wrap_GetLocale
, METH_NOARGS
, NULL
},
34531 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
, NULL
},
34532 { (char *)"new_EncodingConverter", (PyCFunction
)_wrap_new_EncodingConverter
, METH_NOARGS
, NULL
},
34533 { (char *)"delete_EncodingConverter", (PyCFunction
)_wrap_delete_EncodingConverter
, METH_O
, NULL
},
34534 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34535 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34536 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34537 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34538 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34539 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
, NULL
},
34540 { (char *)"EncodingConverter_swiginit", EncodingConverter_swiginit
, METH_VARARGS
, NULL
},
34541 { (char *)"delete_DC", (PyCFunction
)_wrap_delete_DC
, METH_O
, NULL
},
34542 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34543 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34544 { (char *)"DC_GradientFillConcentric", (PyCFunction
) _wrap_DC_GradientFillConcentric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34545 { (char *)"DC_GradientFillLinear", (PyCFunction
) _wrap_DC_GradientFillLinear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34546 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34547 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34548 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34549 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34550 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34551 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34552 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34553 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34554 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34555 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34556 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34557 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34558 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34559 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34560 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34561 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34562 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34563 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34564 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34565 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34566 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34567 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34568 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34569 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34570 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34571 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34572 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34573 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34574 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34575 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34576 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34577 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34578 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34579 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34580 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34581 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34582 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34583 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34584 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34585 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34586 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34587 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34588 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34589 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34590 { (char *)"DC_Clear", (PyCFunction
)_wrap_DC_Clear
, METH_O
, NULL
},
34591 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34592 { (char *)"DC_EndDoc", (PyCFunction
)_wrap_DC_EndDoc
, METH_O
, NULL
},
34593 { (char *)"DC_StartPage", (PyCFunction
)_wrap_DC_StartPage
, METH_O
, NULL
},
34594 { (char *)"DC_EndPage", (PyCFunction
)_wrap_DC_EndPage
, METH_O
, NULL
},
34595 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34596 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34597 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34598 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34599 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34600 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34601 { (char *)"DC_DestroyClippingRegion", (PyCFunction
)_wrap_DC_DestroyClippingRegion
, METH_O
, NULL
},
34602 { (char *)"DC_GetClippingBox", (PyCFunction
)_wrap_DC_GetClippingBox
, METH_O
, NULL
},
34603 { (char *)"DC_GetClippingRect", (PyCFunction
)_wrap_DC_GetClippingRect
, METH_O
, NULL
},
34604 { (char *)"DC_GetCharHeight", (PyCFunction
)_wrap_DC_GetCharHeight
, METH_O
, NULL
},
34605 { (char *)"DC_GetCharWidth", (PyCFunction
)_wrap_DC_GetCharWidth
, METH_O
, NULL
},
34606 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34607 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34608 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34609 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34610 { (char *)"DC_GetSize", (PyCFunction
)_wrap_DC_GetSize
, METH_O
, NULL
},
34611 { (char *)"DC_GetSizeTuple", (PyCFunction
)_wrap_DC_GetSizeTuple
, METH_O
, NULL
},
34612 { (char *)"DC_GetSizeMM", (PyCFunction
)_wrap_DC_GetSizeMM
, METH_O
, NULL
},
34613 { (char *)"DC_GetSizeMMTuple", (PyCFunction
)_wrap_DC_GetSizeMMTuple
, METH_O
, NULL
},
34614 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34615 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34616 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34617 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34618 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34619 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34620 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34621 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34622 { (char *)"DC_CanDrawBitmap", (PyCFunction
)_wrap_DC_CanDrawBitmap
, METH_O
, NULL
},
34623 { (char *)"DC_CanGetTextExtent", (PyCFunction
)_wrap_DC_CanGetTextExtent
, METH_O
, NULL
},
34624 { (char *)"DC_GetDepth", (PyCFunction
)_wrap_DC_GetDepth
, METH_O
, NULL
},
34625 { (char *)"DC_GetPPI", (PyCFunction
)_wrap_DC_GetPPI
, METH_O
, NULL
},
34626 { (char *)"DC_IsOk", (PyCFunction
)_wrap_DC_IsOk
, METH_O
, NULL
},
34627 { (char *)"DC_GetBackgroundMode", (PyCFunction
)_wrap_DC_GetBackgroundMode
, METH_O
, NULL
},
34628 { (char *)"DC_GetBackground", (PyCFunction
)_wrap_DC_GetBackground
, METH_O
, NULL
},
34629 { (char *)"DC_GetBrush", (PyCFunction
)_wrap_DC_GetBrush
, METH_O
, NULL
},
34630 { (char *)"DC_GetFont", (PyCFunction
)_wrap_DC_GetFont
, METH_O
, NULL
},
34631 { (char *)"DC_GetPen", (PyCFunction
)_wrap_DC_GetPen
, METH_O
, NULL
},
34632 { (char *)"DC_GetTextBackground", (PyCFunction
)_wrap_DC_GetTextBackground
, METH_O
, NULL
},
34633 { (char *)"DC_GetTextForeground", (PyCFunction
)_wrap_DC_GetTextForeground
, METH_O
, NULL
},
34634 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34635 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34636 { (char *)"DC_GetMapMode", (PyCFunction
)_wrap_DC_GetMapMode
, METH_O
, NULL
},
34637 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34638 { (char *)"DC_GetUserScale", (PyCFunction
)_wrap_DC_GetUserScale
, METH_O
, NULL
},
34639 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34640 { (char *)"DC_GetLogicalScale", (PyCFunction
)_wrap_DC_GetLogicalScale
, METH_O
, NULL
},
34641 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34642 { (char *)"DC_GetLogicalOrigin", (PyCFunction
)_wrap_DC_GetLogicalOrigin
, METH_O
, NULL
},
34643 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
)_wrap_DC_GetLogicalOriginTuple
, METH_O
, NULL
},
34644 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34645 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34646 { (char *)"DC_GetDeviceOrigin", (PyCFunction
)_wrap_DC_GetDeviceOrigin
, METH_O
, NULL
},
34647 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
)_wrap_DC_GetDeviceOriginTuple
, METH_O
, NULL
},
34648 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34649 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34650 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34651 { (char *)"DC_GetLogicalFunction", (PyCFunction
)_wrap_DC_GetLogicalFunction
, METH_O
, NULL
},
34652 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34653 { (char *)"DC_ComputeScaleAndOrigin", (PyCFunction
)_wrap_DC_ComputeScaleAndOrigin
, METH_O
, NULL
},
34654 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34655 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34656 { (char *)"DC_ResetBoundingBox", (PyCFunction
)_wrap_DC_ResetBoundingBox
, METH_O
, NULL
},
34657 { (char *)"DC_MinX", (PyCFunction
)_wrap_DC_MinX
, METH_O
, NULL
},
34658 { (char *)"DC_MaxX", (PyCFunction
)_wrap_DC_MaxX
, METH_O
, NULL
},
34659 { (char *)"DC_MinY", (PyCFunction
)_wrap_DC_MinY
, METH_O
, NULL
},
34660 { (char *)"DC_MaxY", (PyCFunction
)_wrap_DC_MaxY
, METH_O
, NULL
},
34661 { (char *)"DC_GetBoundingBox", (PyCFunction
)_wrap_DC_GetBoundingBox
, METH_O
, NULL
},
34662 { (char *)"DC_GetLayoutDirection", (PyCFunction
)_wrap_DC_GetLayoutDirection
, METH_O
, NULL
},
34663 { (char *)"DC_SetLayoutDirection", (PyCFunction
) _wrap_DC_SetLayoutDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34664 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34665 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34666 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34667 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34668 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34669 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34670 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
, NULL
},
34671 { (char *)"new_MemoryDC", (PyCFunction
) _wrap_new_MemoryDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34672 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34673 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34674 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
, NULL
},
34675 { (char *)"MemoryDC_swiginit", MemoryDC_swiginit
, METH_VARARGS
, NULL
},
34676 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
, NULL
},
34677 { (char *)"delete_BufferedDC", (PyCFunction
)_wrap_delete_BufferedDC
, METH_O
, NULL
},
34678 { (char *)"BufferedDC_UnMask", (PyCFunction
)_wrap_BufferedDC_UnMask
, METH_O
, NULL
},
34679 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
, NULL
},
34680 { (char *)"BufferedDC_swiginit", BufferedDC_swiginit
, METH_VARARGS
, NULL
},
34681 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34682 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
34683 { (char *)"BufferedPaintDC_swiginit", BufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
34684 { (char *)"new_ScreenDC", (PyCFunction
)_wrap_new_ScreenDC
, METH_NOARGS
, NULL
},
34685 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34686 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34687 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
)_wrap_ScreenDC_EndDrawingOnTop
, METH_O
, NULL
},
34688 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
, NULL
},
34689 { (char *)"ScreenDC_swiginit", ScreenDC_swiginit
, METH_VARARGS
, NULL
},
34690 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34691 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
, NULL
},
34692 { (char *)"WindowDC_swiginit", WindowDC_swiginit
, METH_VARARGS
, NULL
},
34693 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34694 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
, NULL
},
34695 { (char *)"ClientDC_swiginit", ClientDC_swiginit
, METH_VARARGS
, NULL
},
34696 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34697 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
, NULL
},
34698 { (char *)"PaintDC_swiginit", PaintDC_swiginit
, METH_VARARGS
, NULL
},
34699 { (char *)"AutoBufferedPaintDCFactory", (PyCFunction
) _wrap_AutoBufferedPaintDCFactory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34700 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34701 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
, NULL
},
34702 { (char *)"MirrorDC_swiginit", MirrorDC_swiginit
, METH_VARARGS
, NULL
},
34703 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34704 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
)_wrap_PostScriptDC_GetPrintData
, METH_O
, NULL
},
34705 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34706 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34707 { (char *)"PostScriptDC_GetResolution", (PyCFunction
)_wrap_PostScriptDC_GetResolution
, METH_NOARGS
, NULL
},
34708 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
, NULL
},
34709 { (char *)"PostScriptDC_swiginit", PostScriptDC_swiginit
, METH_VARARGS
, NULL
},
34710 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34711 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
, NULL
},
34712 { (char *)"MetaFile_swiginit", MetaFile_swiginit
, METH_VARARGS
, NULL
},
34713 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34714 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
, NULL
},
34715 { (char *)"MetaFileDC_swiginit", MetaFileDC_swiginit
, METH_VARARGS
, NULL
},
34716 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34717 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
, NULL
},
34718 { (char *)"PrinterDC_swiginit", PrinterDC_swiginit
, METH_VARARGS
, NULL
},
34719 { (char *)"delete_GraphicsPath", (PyCFunction
)_wrap_delete_GraphicsPath
, METH_O
, NULL
},
34720 { (char *)"GraphicsPath_MoveToPoint", (PyCFunction
) _wrap_GraphicsPath_MoveToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34721 { (char *)"GraphicsPath_AddLineToPoint", (PyCFunction
) _wrap_GraphicsPath_AddLineToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34722 { (char *)"GraphicsPath_AddCurveToPoint", (PyCFunction
) _wrap_GraphicsPath_AddCurveToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34723 { (char *)"GraphicsPath_CloseSubpath", (PyCFunction
)_wrap_GraphicsPath_CloseSubpath
, METH_O
, NULL
},
34724 { (char *)"GraphicsPath_GetCurrentPoint", (PyCFunction
)_wrap_GraphicsPath_GetCurrentPoint
, METH_O
, NULL
},
34725 { (char *)"GraphicsPath_AddArc", (PyCFunction
) _wrap_GraphicsPath_AddArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34726 { (char *)"GraphicsPath_AddQuadCurveToPoint", (PyCFunction
) _wrap_GraphicsPath_AddQuadCurveToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34727 { (char *)"GraphicsPath_AddRectangle", (PyCFunction
) _wrap_GraphicsPath_AddRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34728 { (char *)"GraphicsPath_AddCircle", (PyCFunction
) _wrap_GraphicsPath_AddCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34729 { (char *)"GraphicsPath_AddArcToPoint", (PyCFunction
) _wrap_GraphicsPath_AddArcToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34730 { (char *)"GraphicsPath_swigregister", GraphicsPath_swigregister
, METH_VARARGS
, NULL
},
34731 { (char *)"delete_GraphicsContext", (PyCFunction
)_wrap_delete_GraphicsContext
, METH_O
, NULL
},
34732 { (char *)"GraphicsContext_Create", (PyCFunction
) _wrap_GraphicsContext_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34733 { (char *)"GraphicsContext_CreatePath", (PyCFunction
)_wrap_GraphicsContext_CreatePath
, METH_O
, NULL
},
34734 { (char *)"GraphicsContext_PushState", (PyCFunction
)_wrap_GraphicsContext_PushState
, METH_O
, NULL
},
34735 { (char *)"GraphicsContext_PopState", (PyCFunction
)_wrap_GraphicsContext_PopState
, METH_O
, NULL
},
34736 { (char *)"GraphicsContext_Clip", (PyCFunction
) _wrap_GraphicsContext_Clip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34737 { (char *)"GraphicsContext_Translate", (PyCFunction
) _wrap_GraphicsContext_Translate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34738 { (char *)"GraphicsContext_Scale", (PyCFunction
) _wrap_GraphicsContext_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34739 { (char *)"GraphicsContext_Rotate", (PyCFunction
) _wrap_GraphicsContext_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34740 { (char *)"GraphicsContext_SetPen", (PyCFunction
) _wrap_GraphicsContext_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34741 { (char *)"GraphicsContext_SetBrush", (PyCFunction
) _wrap_GraphicsContext_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34742 { (char *)"GraphicsContext_SetLinearGradientBrush", (PyCFunction
) _wrap_GraphicsContext_SetLinearGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34743 { (char *)"GraphicsContext_SetRadialGradientBrush", (PyCFunction
) _wrap_GraphicsContext_SetRadialGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34744 { (char *)"GraphicsContext_SetFont", (PyCFunction
) _wrap_GraphicsContext_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34745 { (char *)"GraphicsContext_SetTextColor", (PyCFunction
) _wrap_GraphicsContext_SetTextColor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34746 { (char *)"GraphicsContext_StrokePath", (PyCFunction
) _wrap_GraphicsContext_StrokePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34747 { (char *)"GraphicsContext_FillPath", (PyCFunction
) _wrap_GraphicsContext_FillPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34748 { (char *)"GraphicsContext_DrawPath", (PyCFunction
) _wrap_GraphicsContext_DrawPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34749 { (char *)"GraphicsContext_DrawText", (PyCFunction
) _wrap_GraphicsContext_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34750 { (char *)"GraphicsContext_DrawRotatedText", (PyCFunction
) _wrap_GraphicsContext_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34751 { (char *)"GraphicsContext_GetTextExtent", (PyCFunction
) _wrap_GraphicsContext_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34752 { (char *)"GraphicsContext_GetPartialTextExtents", (PyCFunction
) _wrap_GraphicsContext_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34753 { (char *)"GraphicsContext_DrawBitmap", (PyCFunction
) _wrap_GraphicsContext_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34754 { (char *)"GraphicsContext_DrawIcon", (PyCFunction
) _wrap_GraphicsContext_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34755 { (char *)"GraphicsContext_StrokeLine", (PyCFunction
) _wrap_GraphicsContext_StrokeLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34756 { (char *)"GraphicsContext_StrokeLines", (PyCFunction
) _wrap_GraphicsContext_StrokeLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34757 { (char *)"GraphicsContext_StrokeLineSegements", (PyCFunction
) _wrap_GraphicsContext_StrokeLineSegements
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34758 { (char *)"GraphicsContext_DrawLines", (PyCFunction
) _wrap_GraphicsContext_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34759 { (char *)"GraphicsContext_DrawRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34760 { (char *)"GraphicsContext_DrawEllipse", (PyCFunction
) _wrap_GraphicsContext_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34761 { (char *)"GraphicsContext_DrawRoundedRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34762 { (char *)"GraphicsContext_swigregister", GraphicsContext_swigregister
, METH_VARARGS
, NULL
},
34763 { (char *)"new_GCDC", (PyCFunction
) _wrap_new_GCDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34764 { (char *)"delete_GCDC", (PyCFunction
)_wrap_delete_GCDC
, METH_O
, NULL
},
34765 { (char *)"GCDC_GetGraphicContext", (PyCFunction
)_wrap_GCDC_GetGraphicContext
, METH_O
, NULL
},
34766 { (char *)"GCDC_swigregister", GCDC_swigregister
, METH_VARARGS
, NULL
},
34767 { (char *)"GCDC_swiginit", GCDC_swiginit
, METH_VARARGS
, NULL
},
34768 { (char *)"new_Overlay", (PyCFunction
)_wrap_new_Overlay
, METH_NOARGS
, NULL
},
34769 { (char *)"delete_Overlay", (PyCFunction
)_wrap_delete_Overlay
, METH_O
, NULL
},
34770 { (char *)"Overlay_Reset", (PyCFunction
)_wrap_Overlay_Reset
, METH_O
, NULL
},
34771 { (char *)"Overlay_swigregister", Overlay_swigregister
, METH_VARARGS
, NULL
},
34772 { (char *)"Overlay_swiginit", Overlay_swiginit
, METH_VARARGS
, NULL
},
34773 { (char *)"new_DCOverlay", _wrap_new_DCOverlay
, METH_VARARGS
, NULL
},
34774 { (char *)"delete_DCOverlay", (PyCFunction
)_wrap_delete_DCOverlay
, METH_O
, NULL
},
34775 { (char *)"DCOverlay_Clear", (PyCFunction
)_wrap_DCOverlay_Clear
, METH_O
, NULL
},
34776 { (char *)"DCOverlay_swigregister", DCOverlay_swigregister
, METH_VARARGS
, NULL
},
34777 { (char *)"DCOverlay_swiginit", DCOverlay_swiginit
, METH_VARARGS
, NULL
},
34778 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34779 { (char *)"delete_ImageList", (PyCFunction
)_wrap_delete_ImageList
, METH_O
, NULL
},
34780 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34781 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34782 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34783 { (char *)"ImageList_GetBitmap", (PyCFunction
) _wrap_ImageList_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34784 { (char *)"ImageList_GetIcon", (PyCFunction
) _wrap_ImageList_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34785 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34786 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34787 { (char *)"ImageList_GetImageCount", (PyCFunction
)_wrap_ImageList_GetImageCount
, METH_O
, NULL
},
34788 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34789 { (char *)"ImageList_RemoveAll", (PyCFunction
)_wrap_ImageList_RemoveAll
, METH_O
, NULL
},
34790 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34791 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
, NULL
},
34792 { (char *)"ImageList_swiginit", ImageList_swiginit
, METH_VARARGS
, NULL
},
34793 { (char *)"new_StockGDI", (PyCFunction
)_wrap_new_StockGDI
, METH_NOARGS
, NULL
},
34794 { (char *)"delete_StockGDI", (PyCFunction
)_wrap_delete_StockGDI
, METH_O
, NULL
},
34795 { (char *)"StockGDI_DeleteAll", (PyCFunction
)_wrap_StockGDI_DeleteAll
, METH_NOARGS
, NULL
},
34796 { (char *)"StockGDI_instance", (PyCFunction
)_wrap_StockGDI_instance
, METH_NOARGS
, NULL
},
34797 { (char *)"StockGDI_GetBrush", (PyCFunction
) _wrap_StockGDI_GetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34798 { (char *)"StockGDI_GetColour", (PyCFunction
) _wrap_StockGDI_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34799 { (char *)"StockGDI_GetCursor", (PyCFunction
) _wrap_StockGDI_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34800 { (char *)"StockGDI_GetPen", (PyCFunction
) _wrap_StockGDI_GetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34801 { (char *)"StockGDI_GetFont", (PyCFunction
) _wrap_StockGDI_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34802 { (char *)"StockGDI_swigregister", StockGDI_swigregister
, METH_VARARGS
, NULL
},
34803 { (char *)"StockGDI_swiginit", StockGDI_swiginit
, METH_VARARGS
, NULL
},
34804 { (char *)"new_GDIObjListBase", (PyCFunction
)_wrap_new_GDIObjListBase
, METH_NOARGS
, NULL
},
34805 { (char *)"delete_GDIObjListBase", (PyCFunction
)_wrap_delete_GDIObjListBase
, METH_O
, NULL
},
34806 { (char *)"GDIObjListBase_swigregister", GDIObjListBase_swigregister
, METH_VARARGS
, NULL
},
34807 { (char *)"GDIObjListBase_swiginit", GDIObjListBase_swiginit
, METH_VARARGS
, NULL
},
34808 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34809 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34810 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34811 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
, NULL
},
34812 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34813 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34814 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34815 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
, NULL
},
34816 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34817 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34818 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34819 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
, NULL
},
34820 { (char *)"new_ColourDatabase", (PyCFunction
)_wrap_new_ColourDatabase
, METH_NOARGS
, NULL
},
34821 { (char *)"delete_ColourDatabase", (PyCFunction
)_wrap_delete_ColourDatabase
, METH_O
, NULL
},
34822 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34823 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34824 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34825 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34826 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
, NULL
},
34827 { (char *)"ColourDatabase_swiginit", ColourDatabase_swiginit
, METH_VARARGS
, NULL
},
34828 { (char *)"_wxPyInitTheFontList", (PyCFunction
)_wrap__wxPyInitTheFontList
, METH_NOARGS
, NULL
},
34829 { (char *)"_wxPyInitThePenList", (PyCFunction
)_wrap__wxPyInitThePenList
, METH_NOARGS
, NULL
},
34830 { (char *)"_wxPyInitTheBrushList", (PyCFunction
)_wrap__wxPyInitTheBrushList
, METH_NOARGS
, NULL
},
34831 { (char *)"_wxPyInitTheColourDatabase", (PyCFunction
)_wrap__wxPyInitTheColourDatabase
, METH_NOARGS
, NULL
},
34832 { (char *)"new_Effects", (PyCFunction
)_wrap_new_Effects
, METH_NOARGS
, NULL
},
34833 { (char *)"Effects_GetHighlightColour", (PyCFunction
)_wrap_Effects_GetHighlightColour
, METH_O
, NULL
},
34834 { (char *)"Effects_GetLightShadow", (PyCFunction
)_wrap_Effects_GetLightShadow
, METH_O
, NULL
},
34835 { (char *)"Effects_GetFaceColour", (PyCFunction
)_wrap_Effects_GetFaceColour
, METH_O
, NULL
},
34836 { (char *)"Effects_GetMediumShadow", (PyCFunction
)_wrap_Effects_GetMediumShadow
, METH_O
, NULL
},
34837 { (char *)"Effects_GetDarkShadow", (PyCFunction
)_wrap_Effects_GetDarkShadow
, METH_O
, NULL
},
34838 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34839 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34840 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34841 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34842 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34843 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34844 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34845 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34846 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
, NULL
},
34847 { (char *)"Effects_swiginit", Effects_swiginit
, METH_VARARGS
, NULL
},
34848 { (char *)"new_SplitterRenderParams", (PyCFunction
) _wrap_new_SplitterRenderParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34849 { (char *)"delete_SplitterRenderParams", (PyCFunction
)_wrap_delete_SplitterRenderParams
, METH_O
, NULL
},
34850 { (char *)"SplitterRenderParams_widthSash_get", (PyCFunction
)_wrap_SplitterRenderParams_widthSash_get
, METH_O
, NULL
},
34851 { (char *)"SplitterRenderParams_border_get", (PyCFunction
)_wrap_SplitterRenderParams_border_get
, METH_O
, NULL
},
34852 { (char *)"SplitterRenderParams_isHotSensitive_get", (PyCFunction
)_wrap_SplitterRenderParams_isHotSensitive_get
, METH_O
, NULL
},
34853 { (char *)"SplitterRenderParams_swigregister", SplitterRenderParams_swigregister
, METH_VARARGS
, NULL
},
34854 { (char *)"SplitterRenderParams_swiginit", SplitterRenderParams_swiginit
, METH_VARARGS
, NULL
},
34855 { (char *)"new_HeaderButtonParams", (PyCFunction
)_wrap_new_HeaderButtonParams
, METH_NOARGS
, NULL
},
34856 { (char *)"delete_HeaderButtonParams", (PyCFunction
)_wrap_delete_HeaderButtonParams
, METH_O
, NULL
},
34857 { (char *)"HeaderButtonParams_m_arrowColour_set", _wrap_HeaderButtonParams_m_arrowColour_set
, METH_VARARGS
, NULL
},
34858 { (char *)"HeaderButtonParams_m_arrowColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_arrowColour_get
, METH_O
, NULL
},
34859 { (char *)"HeaderButtonParams_m_selectionColour_set", _wrap_HeaderButtonParams_m_selectionColour_set
, METH_VARARGS
, NULL
},
34860 { (char *)"HeaderButtonParams_m_selectionColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_selectionColour_get
, METH_O
, NULL
},
34861 { (char *)"HeaderButtonParams_m_labelText_set", _wrap_HeaderButtonParams_m_labelText_set
, METH_VARARGS
, NULL
},
34862 { (char *)"HeaderButtonParams_m_labelText_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelText_get
, METH_O
, NULL
},
34863 { (char *)"HeaderButtonParams_m_labelFont_set", _wrap_HeaderButtonParams_m_labelFont_set
, METH_VARARGS
, NULL
},
34864 { (char *)"HeaderButtonParams_m_labelFont_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelFont_get
, METH_O
, NULL
},
34865 { (char *)"HeaderButtonParams_m_labelColour_set", _wrap_HeaderButtonParams_m_labelColour_set
, METH_VARARGS
, NULL
},
34866 { (char *)"HeaderButtonParams_m_labelColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelColour_get
, METH_O
, NULL
},
34867 { (char *)"HeaderButtonParams_m_labelBitmap_set", _wrap_HeaderButtonParams_m_labelBitmap_set
, METH_VARARGS
, NULL
},
34868 { (char *)"HeaderButtonParams_m_labelBitmap_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelBitmap_get
, METH_O
, NULL
},
34869 { (char *)"HeaderButtonParams_m_labelAlignment_set", _wrap_HeaderButtonParams_m_labelAlignment_set
, METH_VARARGS
, NULL
},
34870 { (char *)"HeaderButtonParams_m_labelAlignment_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelAlignment_get
, METH_O
, NULL
},
34871 { (char *)"HeaderButtonParams_swigregister", HeaderButtonParams_swigregister
, METH_VARARGS
, NULL
},
34872 { (char *)"HeaderButtonParams_swiginit", HeaderButtonParams_swiginit
, METH_VARARGS
, NULL
},
34873 { (char *)"new_RendererVersion", (PyCFunction
) _wrap_new_RendererVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34874 { (char *)"delete_RendererVersion", (PyCFunction
)_wrap_delete_RendererVersion
, METH_O
, NULL
},
34875 { (char *)"RendererVersion_IsCompatible", (PyCFunction
) _wrap_RendererVersion_IsCompatible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34876 { (char *)"RendererVersion_version_get", (PyCFunction
)_wrap_RendererVersion_version_get
, METH_O
, NULL
},
34877 { (char *)"RendererVersion_age_get", (PyCFunction
)_wrap_RendererVersion_age_get
, METH_O
, NULL
},
34878 { (char *)"RendererVersion_swigregister", RendererVersion_swigregister
, METH_VARARGS
, NULL
},
34879 { (char *)"RendererVersion_swiginit", RendererVersion_swiginit
, METH_VARARGS
, NULL
},
34880 { (char *)"RendererNative_DrawHeaderButton", (PyCFunction
) _wrap_RendererNative_DrawHeaderButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34881 { (char *)"RendererNative_DrawHeaderButtonContents", (PyCFunction
) _wrap_RendererNative_DrawHeaderButtonContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34882 { (char *)"RendererNative_GetHeaderButtonHeight", (PyCFunction
) _wrap_RendererNative_GetHeaderButtonHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34883 { (char *)"RendererNative_DrawTreeItemButton", (PyCFunction
) _wrap_RendererNative_DrawTreeItemButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34884 { (char *)"RendererNative_DrawSplitterBorder", (PyCFunction
) _wrap_RendererNative_DrawSplitterBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34885 { (char *)"RendererNative_DrawSplitterSash", (PyCFunction
) _wrap_RendererNative_DrawSplitterSash
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34886 { (char *)"RendererNative_DrawComboBoxDropButton", (PyCFunction
) _wrap_RendererNative_DrawComboBoxDropButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34887 { (char *)"RendererNative_DrawDropArrow", (PyCFunction
) _wrap_RendererNative_DrawDropArrow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34888 { (char *)"RendererNative_DrawCheckBox", (PyCFunction
) _wrap_RendererNative_DrawCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34889 { (char *)"RendererNative_DrawPushButton", (PyCFunction
) _wrap_RendererNative_DrawPushButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34890 { (char *)"RendererNative_DrawItemSelectionRect", (PyCFunction
) _wrap_RendererNative_DrawItemSelectionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34891 { (char *)"RendererNative_GetSplitterParams", (PyCFunction
) _wrap_RendererNative_GetSplitterParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34892 { (char *)"RendererNative_Get", (PyCFunction
)_wrap_RendererNative_Get
, METH_NOARGS
, NULL
},
34893 { (char *)"RendererNative_GetGeneric", (PyCFunction
)_wrap_RendererNative_GetGeneric
, METH_NOARGS
, NULL
},
34894 { (char *)"RendererNative_GetDefault", (PyCFunction
)_wrap_RendererNative_GetDefault
, METH_NOARGS
, NULL
},
34895 { (char *)"RendererNative_Set", (PyCFunction
) _wrap_RendererNative_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34896 { (char *)"RendererNative_GetVersion", (PyCFunction
)_wrap_RendererNative_GetVersion
, METH_O
, NULL
},
34897 { (char *)"RendererNative_swigregister", RendererNative_swigregister
, METH_VARARGS
, NULL
},
34898 { (char *)"new_PseudoDC", (PyCFunction
)_wrap_new_PseudoDC
, METH_NOARGS
, NULL
},
34899 { (char *)"PseudoDC_BeginDrawing", (PyCFunction
)_wrap_PseudoDC_BeginDrawing
, METH_O
, NULL
},
34900 { (char *)"PseudoDC_EndDrawing", (PyCFunction
)_wrap_PseudoDC_EndDrawing
, METH_O
, NULL
},
34901 { (char *)"delete_PseudoDC", (PyCFunction
)_wrap_delete_PseudoDC
, METH_O
, NULL
},
34902 { (char *)"PseudoDC_RemoveAll", (PyCFunction
)_wrap_PseudoDC_RemoveAll
, METH_O
, NULL
},
34903 { (char *)"PseudoDC_GetLen", (PyCFunction
)_wrap_PseudoDC_GetLen
, METH_O
, NULL
},
34904 { (char *)"PseudoDC_SetId", (PyCFunction
) _wrap_PseudoDC_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34905 { (char *)"PseudoDC_ClearId", (PyCFunction
) _wrap_PseudoDC_ClearId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34906 { (char *)"PseudoDC_RemoveId", (PyCFunction
) _wrap_PseudoDC_RemoveId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34907 { (char *)"PseudoDC_TranslateId", (PyCFunction
) _wrap_PseudoDC_TranslateId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34908 { (char *)"PseudoDC_SetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_SetIdGreyedOut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34909 { (char *)"PseudoDC_GetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_GetIdGreyedOut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34910 { (char *)"PseudoDC_FindObjects", (PyCFunction
) _wrap_PseudoDC_FindObjects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34911 { (char *)"PseudoDC_FindObjectsByBBox", (PyCFunction
) _wrap_PseudoDC_FindObjectsByBBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34912 { (char *)"PseudoDC_DrawIdToDC", (PyCFunction
) _wrap_PseudoDC_DrawIdToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34913 { (char *)"PseudoDC_SetIdBounds", (PyCFunction
) _wrap_PseudoDC_SetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34914 { (char *)"PseudoDC_GetIdBounds", (PyCFunction
) _wrap_PseudoDC_GetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34915 { (char *)"PseudoDC_DrawToDCClipped", (PyCFunction
) _wrap_PseudoDC_DrawToDCClipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34916 { (char *)"PseudoDC_DrawToDCClippedRgn", (PyCFunction
) _wrap_PseudoDC_DrawToDCClippedRgn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34917 { (char *)"PseudoDC_DrawToDC", (PyCFunction
) _wrap_PseudoDC_DrawToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34918 { (char *)"PseudoDC_FloodFill", (PyCFunction
) _wrap_PseudoDC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34919 { (char *)"PseudoDC_FloodFillPoint", (PyCFunction
) _wrap_PseudoDC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34920 { (char *)"PseudoDC_DrawLine", (PyCFunction
) _wrap_PseudoDC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34921 { (char *)"PseudoDC_DrawLinePoint", (PyCFunction
) _wrap_PseudoDC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34922 { (char *)"PseudoDC_CrossHair", (PyCFunction
) _wrap_PseudoDC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34923 { (char *)"PseudoDC_CrossHairPoint", (PyCFunction
) _wrap_PseudoDC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34924 { (char *)"PseudoDC_DrawArc", (PyCFunction
) _wrap_PseudoDC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34925 { (char *)"PseudoDC_DrawArcPoint", (PyCFunction
) _wrap_PseudoDC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34926 { (char *)"PseudoDC_DrawCheckMark", (PyCFunction
) _wrap_PseudoDC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34927 { (char *)"PseudoDC_DrawCheckMarkRect", (PyCFunction
) _wrap_PseudoDC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34928 { (char *)"PseudoDC_DrawEllipticArc", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34929 { (char *)"PseudoDC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34930 { (char *)"PseudoDC_DrawPoint", (PyCFunction
) _wrap_PseudoDC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34931 { (char *)"PseudoDC_DrawPointPoint", (PyCFunction
) _wrap_PseudoDC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34932 { (char *)"PseudoDC_DrawRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34933 { (char *)"PseudoDC_DrawRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34934 { (char *)"PseudoDC_DrawRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34935 { (char *)"PseudoDC_DrawRoundedRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34936 { (char *)"PseudoDC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34937 { (char *)"PseudoDC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34938 { (char *)"PseudoDC_DrawCircle", (PyCFunction
) _wrap_PseudoDC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34939 { (char *)"PseudoDC_DrawCirclePoint", (PyCFunction
) _wrap_PseudoDC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34940 { (char *)"PseudoDC_DrawEllipse", (PyCFunction
) _wrap_PseudoDC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34941 { (char *)"PseudoDC_DrawEllipseRect", (PyCFunction
) _wrap_PseudoDC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34942 { (char *)"PseudoDC_DrawEllipsePointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34943 { (char *)"PseudoDC_DrawIcon", (PyCFunction
) _wrap_PseudoDC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34944 { (char *)"PseudoDC_DrawIconPoint", (PyCFunction
) _wrap_PseudoDC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34945 { (char *)"PseudoDC_DrawBitmap", (PyCFunction
) _wrap_PseudoDC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34946 { (char *)"PseudoDC_DrawBitmapPoint", (PyCFunction
) _wrap_PseudoDC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34947 { (char *)"PseudoDC_DrawText", (PyCFunction
) _wrap_PseudoDC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34948 { (char *)"PseudoDC_DrawTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34949 { (char *)"PseudoDC_DrawRotatedText", (PyCFunction
) _wrap_PseudoDC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34950 { (char *)"PseudoDC_DrawRotatedTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34951 { (char *)"PseudoDC_DrawLines", (PyCFunction
) _wrap_PseudoDC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34952 { (char *)"PseudoDC_DrawPolygon", (PyCFunction
) _wrap_PseudoDC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34953 { (char *)"PseudoDC_DrawLabel", (PyCFunction
) _wrap_PseudoDC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34954 { (char *)"PseudoDC_DrawImageLabel", (PyCFunction
) _wrap_PseudoDC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34955 { (char *)"PseudoDC_DrawSpline", (PyCFunction
) _wrap_PseudoDC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34956 { (char *)"PseudoDC_Clear", (PyCFunction
)_wrap_PseudoDC_Clear
, METH_O
, NULL
},
34957 { (char *)"PseudoDC_SetFont", (PyCFunction
) _wrap_PseudoDC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34958 { (char *)"PseudoDC_SetPen", (PyCFunction
) _wrap_PseudoDC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34959 { (char *)"PseudoDC_SetBrush", (PyCFunction
) _wrap_PseudoDC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34960 { (char *)"PseudoDC_SetBackground", (PyCFunction
) _wrap_PseudoDC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34961 { (char *)"PseudoDC_SetBackgroundMode", (PyCFunction
) _wrap_PseudoDC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34962 { (char *)"PseudoDC_SetPalette", (PyCFunction
) _wrap_PseudoDC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34963 { (char *)"PseudoDC_SetTextForeground", (PyCFunction
) _wrap_PseudoDC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34964 { (char *)"PseudoDC_SetTextBackground", (PyCFunction
) _wrap_PseudoDC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34965 { (char *)"PseudoDC_SetLogicalFunction", (PyCFunction
) _wrap_PseudoDC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34966 { (char *)"PseudoDC_swigregister", PseudoDC_swigregister
, METH_VARARGS
, NULL
},
34967 { (char *)"PseudoDC_swiginit", PseudoDC_swiginit
, METH_VARARGS
, NULL
},
34968 { NULL
, NULL
, 0, NULL
}
34972 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
34974 static void *_p_wxPaintDCTo_p_wxClientDC(void *x
) {
34975 return (void *)((wxClientDC
*) ((wxPaintDC
*) x
));
34977 static void *_p_wxBufferedDCTo_p_wxMemoryDC(void *x
) {
34978 return (void *)((wxMemoryDC
*) ((wxBufferedDC
*) x
));
34980 static void *_p_wxBufferedPaintDCTo_p_wxMemoryDC(void *x
) {
34981 return (void *)((wxMemoryDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
34983 static void *_p_wxClientDCTo_p_wxWindowDC(void *x
) {
34984 return (void *)((wxWindowDC
*) ((wxClientDC
*) x
));
34986 static void *_p_wxPaintDCTo_p_wxWindowDC(void *x
) {
34987 return (void *)((wxWindowDC
*) (wxClientDC
*) ((wxPaintDC
*) x
));
34989 static void *_p_wxPyLocaleTo_p_wxLocale(void *x
) {
34990 return (void *)((wxLocale
*) ((wxPyLocale
*) x
));
34992 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
34993 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
34995 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
34996 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
34998 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
34999 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
35001 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
35002 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
35004 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
35005 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
35007 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
35008 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
35010 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
35011 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
35013 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
35014 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
35016 static void *_p_wxGCDCTo_p_wxDC(void *x
) {
35017 return (void *)((wxDC
*) ((wxGCDC
*) x
));
35019 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
35020 return (void *)((wxDC
*) (wxMemoryDC
*) ((wxBufferedDC
*) x
));
35022 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
35023 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
35025 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
35026 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
35028 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
35029 return (void *)((wxDC
*) ((wxMemoryDC
*) x
));
35031 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
35032 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
35034 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
35035 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
35037 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
35038 return (void *)((wxDC
*) (wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
35040 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
35041 return (void *)((wxDC
*) (wxWindowDC
*) ((wxClientDC
*) x
));
35043 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
35044 return (void *)((wxDC
*) (wxWindowDC
*)(wxClientDC
*) ((wxPaintDC
*) x
));
35046 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
35047 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
35049 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
35050 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
35052 static void *_p_wxBrushListTo_p_wxGDIObjListBase(void *x
) {
35053 return (void *)((wxGDIObjListBase
*) ((wxBrushList
*) x
));
35055 static void *_p_wxFontListTo_p_wxGDIObjListBase(void *x
) {
35056 return (void *)((wxGDIObjListBase
*) ((wxFontList
*) x
));
35058 static void *_p_wxPenListTo_p_wxGDIObjListBase(void *x
) {
35059 return (void *)((wxGDIObjListBase
*) ((wxPenList
*) x
));
35061 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
35062 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
35064 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
35065 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
35067 static void *_p_wxPenTo_p_wxObject(void *x
) {
35068 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
35070 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
35071 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
35073 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
35074 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
35076 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
35077 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
35079 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
35080 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
35082 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
35083 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
35085 static void *_p_wxIconTo_p_wxObject(void *x
) {
35086 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
35088 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
35089 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
35091 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
35092 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
35094 static void *_p_wxSizerTo_p_wxObject(void *x
) {
35095 return (void *)((wxObject
*) ((wxSizer
*) x
));
35097 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
35098 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
35100 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
35101 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
35103 static void *_p_wxEventTo_p_wxObject(void *x
) {
35104 return (void *)((wxObject
*) ((wxEvent
*) x
));
35106 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
35107 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
35109 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
35110 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
35112 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
35113 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
35115 static void *_p_wxPseudoDCTo_p_wxObject(void *x
) {
35116 return (void *)((wxObject
*) ((wxPseudoDC
*) x
));
35118 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
35119 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
35121 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
35122 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
35124 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
35125 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
35127 static void *_p_wxDCTo_p_wxObject(void *x
) {
35128 return (void *)((wxObject
*) ((wxDC
*) x
));
35130 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
35131 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
35133 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
35134 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
35136 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
35137 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
35139 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
35140 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
35142 static void *_p_wxControlTo_p_wxObject(void *x
) {
35143 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
35145 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
35146 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
35148 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
35149 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*) ((wxClientDC
*) x
));
35151 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
35152 return (void *)((wxObject
*) ((wxFSFile
*) x
));
35154 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
35155 return (void *)((wxObject
*) (wxDC
*) ((wxMemoryDC
*) x
));
35157 static void *_p_wxRegionTo_p_wxObject(void *x
) {
35158 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
35160 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
35161 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
35163 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
35164 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
35166 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
35167 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
35169 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
35170 return (void *)((wxObject
*) ((wxEffects
*) x
));
35172 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
35173 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
35175 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
35176 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
35178 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
35179 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
35181 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
35182 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
35184 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
35185 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
35187 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
35188 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
35190 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
35191 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
35193 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
35194 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
35196 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
35197 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
35199 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
35200 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
35202 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
35203 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
35205 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
35206 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
35208 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
35209 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
35211 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
35212 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
35214 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
35215 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
35217 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
35218 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
35220 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
35221 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
35223 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
35224 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
35226 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
35227 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
35229 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
35230 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
35232 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
35233 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
35235 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
35236 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
35238 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
35239 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
35241 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
35242 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
35244 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
35245 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
35247 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
35248 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
35250 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
35251 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
35253 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
35254 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
35256 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
35257 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
35259 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
35260 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
35262 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
35263 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxClientDC
*) ((wxPaintDC
*) x
));
35265 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
35266 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
35268 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
35269 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
35271 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
35272 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
35274 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
35275 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
35277 static void *_p_wxImageTo_p_wxObject(void *x
) {
35278 return (void *)((wxObject
*) ((wxImage
*) x
));
35280 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
35281 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
35283 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
35284 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
35286 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
35287 return (void *)((wxObject
*) (wxDC
*)(wxMemoryDC
*) ((wxBufferedDC
*) x
));
35289 static void *_p_wxImageListTo_p_wxObject(void *x
) {
35290 return (void *)((wxObject
*) ((wxImageList
*) x
));
35292 static void *_p_wxGCDCTo_p_wxObject(void *x
) {
35293 return (void *)((wxObject
*) (wxDC
*) ((wxGCDC
*) x
));
35295 static void *_p_wxCursorTo_p_wxObject(void *x
) {
35296 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
35298 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
35299 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
35301 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
35302 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
35304 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
35305 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
35307 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
35308 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
35310 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
35311 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
35313 static void *_p_wxWindowTo_p_wxObject(void *x
) {
35314 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
35316 static void *_p_wxMenuTo_p_wxObject(void *x
) {
35317 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
35319 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
35320 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
35322 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
35323 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
35325 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
35326 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
35328 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
35329 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
35331 static void *_p_wxMaskTo_p_wxObject(void *x
) {
35332 return (void *)((wxObject
*) ((wxMask
*) x
));
35334 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
35335 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
35337 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
35338 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
35340 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
35341 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
35343 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
35344 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
35346 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
35347 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
35349 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
35350 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
35352 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
35353 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
35355 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
35356 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
35358 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
35359 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
35361 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
35362 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
35364 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
35365 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
35367 static void *_p_wxFontTo_p_wxObject(void *x
) {
35368 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
35370 static void *_p_wxBrushTo_p_wxObject(void *x
) {
35371 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
35373 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
35374 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
35376 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
35377 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
35379 static void *_p_wxColourTo_p_wxObject(void *x
) {
35380 return (void *)((wxObject
*) ((wxColour
*) x
));
35382 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
35383 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
35385 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
35386 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
35388 static void *_p_wxControlTo_p_wxWindow(void *x
) {
35389 return (void *)((wxWindow
*) ((wxControl
*) x
));
35391 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
35392 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
35394 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
35395 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
35397 static void *_p_wxNativePixelDataTo_p_wxPixelDataBase(void *x
) {
35398 return (void *)((wxPixelDataBase
*) ((wxNativePixelData
*) x
));
35400 static void *_p_wxAlphaPixelDataTo_p_wxPixelDataBase(void *x
) {
35401 return (void *)((wxPixelDataBase
*) ((wxAlphaPixelData
*) x
));
35403 static swig_type_info _swigt__p_buffer
= {"_p_buffer", "buffer *", 0, 0, (void*)0, 0};
35404 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
35405 static swig_type_info _swigt__p_double
= {"_p_double", "double *|wxDouble *", 0, 0, (void*)0, 0};
35406 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};
35407 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
35408 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
35409 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
35410 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
35411 static swig_type_info _swigt__p_wxAlphaPixelData
= {"_p_wxAlphaPixelData", "wxAlphaPixelData *", 0, 0, (void*)0, 0};
35412 static swig_type_info _swigt__p_wxAlphaPixelData_Accessor
= {"_p_wxAlphaPixelData_Accessor", "wxAlphaPixelData_Accessor *", 0, 0, (void*)0, 0};
35413 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
35414 static swig_type_info _swigt__p_wxBrush
= {"_p_wxBrush", "wxBrush *", 0, 0, (void*)0, 0};
35415 static swig_type_info _swigt__p_wxBrushList
= {"_p_wxBrushList", "wxBrushList *", 0, 0, (void*)0, 0};
35416 static swig_type_info _swigt__p_wxBufferedDC
= {"_p_wxBufferedDC", "wxBufferedDC *", 0, 0, (void*)0, 0};
35417 static swig_type_info _swigt__p_wxBufferedPaintDC
= {"_p_wxBufferedPaintDC", "wxBufferedPaintDC *", 0, 0, (void*)0, 0};
35418 static swig_type_info _swigt__p_wxChar
= {"_p_wxChar", "wxChar *", 0, 0, (void*)0, 0};
35419 static swig_type_info _swigt__p_wxClientDC
= {"_p_wxClientDC", "wxClientDC *", 0, 0, (void*)0, 0};
35420 static swig_type_info _swigt__p_wxColor
= {"_p_wxColor", "wxColor *", 0, 0, (void*)0, 0};
35421 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
35422 static swig_type_info _swigt__p_wxColourDatabase
= {"_p_wxColourDatabase", "wxColourDatabase *", 0, 0, (void*)0, 0};
35423 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
35424 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
35425 static swig_type_info _swigt__p_wxDCOverlay
= {"_p_wxDCOverlay", "wxDCOverlay *", 0, 0, (void*)0, 0};
35426 static swig_type_info _swigt__p_wxDash
= {"_p_wxDash", "wxDash *", 0, 0, (void*)0, 0};
35427 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
35428 static swig_type_info _swigt__p_wxEffects
= {"_p_wxEffects", "wxEffects *", 0, 0, (void*)0, 0};
35429 static swig_type_info _swigt__p_wxEncodingConverter
= {"_p_wxEncodingConverter", "wxEncodingConverter *", 0, 0, (void*)0, 0};
35430 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
35431 static swig_type_info _swigt__p_wxFontList
= {"_p_wxFontList", "wxFontList *", 0, 0, (void*)0, 0};
35432 static swig_type_info _swigt__p_wxFontMapper
= {"_p_wxFontMapper", "wxFontMapper *", 0, 0, (void*)0, 0};
35433 static swig_type_info _swigt__p_wxGCDC
= {"_p_wxGCDC", "wxGCDC *", 0, 0, (void*)0, 0};
35434 static swig_type_info _swigt__p_wxGDIObjListBase
= {"_p_wxGDIObjListBase", "wxGDIObjListBase *", 0, 0, (void*)0, 0};
35435 static swig_type_info _swigt__p_wxGDIObject
= {"_p_wxGDIObject", "wxGDIObject *", 0, 0, (void*)0, 0};
35436 static swig_type_info _swigt__p_wxGraphicsContext
= {"_p_wxGraphicsContext", "wxGraphicsContext *", 0, 0, (void*)0, 0};
35437 static swig_type_info _swigt__p_wxGraphicsPath
= {"_p_wxGraphicsPath", "wxGraphicsPath *", 0, 0, (void*)0, 0};
35438 static swig_type_info _swigt__p_wxHeaderButtonParams
= {"_p_wxHeaderButtonParams", "wxHeaderButtonParams *", 0, 0, (void*)0, 0};
35439 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
35440 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
35441 static swig_type_info _swigt__p_wxIconLocation
= {"_p_wxIconLocation", "wxIconLocation *", 0, 0, (void*)0, 0};
35442 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", "wxImage *", 0, 0, (void*)0, 0};
35443 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
35444 static swig_type_info _swigt__p_wxLanguageInfo
= {"_p_wxLanguageInfo", "wxLanguageInfo *", 0, 0, (void*)0, 0};
35445 static swig_type_info _swigt__p_wxLocale
= {"_p_wxLocale", "wxLocale *", 0, 0, (void*)0, 0};
35446 static swig_type_info _swigt__p_wxMask
= {"_p_wxMask", "wxMask *", 0, 0, (void*)0, 0};
35447 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
35448 static swig_type_info _swigt__p_wxMetaFile
= {"_p_wxMetaFile", "wxMetaFile *", 0, 0, (void*)0, 0};
35449 static swig_type_info _swigt__p_wxMetaFileDC
= {"_p_wxMetaFileDC", "wxMetaFileDC *", 0, 0, (void*)0, 0};
35450 static swig_type_info _swigt__p_wxMirrorDC
= {"_p_wxMirrorDC", "wxMirrorDC *", 0, 0, (void*)0, 0};
35451 static swig_type_info _swigt__p_wxNativeEncodingInfo
= {"_p_wxNativeEncodingInfo", "wxNativeEncodingInfo *", 0, 0, (void*)0, 0};
35452 static swig_type_info _swigt__p_wxNativeFontInfo
= {"_p_wxNativeFontInfo", "wxNativeFontInfo *", 0, 0, (void*)0, 0};
35453 static swig_type_info _swigt__p_wxNativePixelData
= {"_p_wxNativePixelData", "wxNativePixelData *", 0, 0, (void*)0, 0};
35454 static swig_type_info _swigt__p_wxNativePixelData_Accessor
= {"_p_wxNativePixelData_Accessor", "wxNativePixelData_Accessor *", 0, 0, (void*)0, 0};
35455 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
35456 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
35457 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
35458 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
35459 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
35460 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
35461 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
35462 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
35463 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
35464 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
35465 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
35466 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
35467 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", 0, 0, 0, 0, 0};
35468 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
35469 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
35470 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
35471 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
35472 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
35473 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
35474 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
35475 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
35476 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
35477 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
35478 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
35479 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
35480 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
35481 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
35482 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
35483 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
35484 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
35485 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
35486 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
35487 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
35488 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
35489 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
35490 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
35491 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
35492 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
35493 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
35494 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
35495 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
35496 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
35497 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
35498 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
35499 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
35500 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
35501 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
35502 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", 0, 0, 0, 0, 0};
35503 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
35504 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
35505 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
35506 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
35507 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
35508 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
35509 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
35510 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
35511 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
35512 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
35513 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
35514 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
35515 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
35516 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
35517 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
35518 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
35519 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
35520 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
35521 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
35522 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
35523 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
35524 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
35525 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0, 0};
35526 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
35527 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
35528 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
35529 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
35530 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
35531 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
35532 static swig_type_info _swigt__p_wxOverlay
= {"_p_wxOverlay", "wxOverlay *", 0, 0, (void*)0, 0};
35533 static swig_type_info _swigt__p_wxPaintDC
= {"_p_wxPaintDC", "wxPaintDC *", 0, 0, (void*)0, 0};
35534 static swig_type_info _swigt__p_wxPalette
= {"_p_wxPalette", "wxPalette *", 0, 0, (void*)0, 0};
35535 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
35536 static swig_type_info _swigt__p_wxPen
= {"_p_wxPen", "wxPen *", 0, 0, (void*)0, 0};
35537 static swig_type_info _swigt__p_wxPenList
= {"_p_wxPenList", "wxPenList *", 0, 0, (void*)0, 0};
35538 static swig_type_info _swigt__p_wxPixelDataBase
= {"_p_wxPixelDataBase", "wxPixelDataBase *", 0, 0, (void*)0, 0};
35539 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
35540 static swig_type_info _swigt__p_wxPoint2D
= {"_p_wxPoint2D", "wxPoint2D *", 0, 0, (void*)0, 0};
35541 static swig_type_info _swigt__p_wxPostScriptDC
= {"_p_wxPostScriptDC", "wxPostScriptDC *", 0, 0, (void*)0, 0};
35542 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
35543 static swig_type_info _swigt__p_wxPrinterDC
= {"_p_wxPrinterDC", "wxPrinterDC *", 0, 0, (void*)0, 0};
35544 static swig_type_info _swigt__p_wxPseudoDC
= {"_p_wxPseudoDC", "wxPseudoDC *", 0, 0, (void*)0, 0};
35545 static swig_type_info _swigt__p_wxPyFontEnumerator
= {"_p_wxPyFontEnumerator", "wxPyFontEnumerator *", 0, 0, (void*)0, 0};
35546 static swig_type_info _swigt__p_wxPyLocale
= {"_p_wxPyLocale", "wxPyLocale *", 0, 0, (void*)0, 0};
35547 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
35548 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
35549 static swig_type_info _swigt__p_wxRegionIterator
= {"_p_wxRegionIterator", "wxRegionIterator *", 0, 0, (void*)0, 0};
35550 static swig_type_info _swigt__p_wxRendererNative
= {"_p_wxRendererNative", "wxRendererNative *", 0, 0, (void*)0, 0};
35551 static swig_type_info _swigt__p_wxRendererVersion
= {"_p_wxRendererVersion", "wxRendererVersion *", 0, 0, (void*)0, 0};
35552 static swig_type_info _swigt__p_wxScreenDC
= {"_p_wxScreenDC", "wxScreenDC *", 0, 0, (void*)0, 0};
35553 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
35554 static swig_type_info _swigt__p_wxSplitterRenderParams
= {"_p_wxSplitterRenderParams", "wxSplitterRenderParams *", 0, 0, (void*)0, 0};
35555 static swig_type_info _swigt__p_wxStockGDI
= {"_p_wxStockGDI", "wxStockGDI *", 0, 0, (void*)0, 0};
35556 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
35557 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
35558 static swig_type_info _swigt__p_wxWindowDC
= {"_p_wxWindowDC", "wxWindowDC *", 0, 0, (void*)0, 0};
35560 static swig_type_info
*swig_type_initial
[] = {
35564 &_swigt__p_form_ops_t
,
35566 &_swigt__p_unsigned_char
,
35567 &_swigt__p_unsigned_int
,
35568 &_swigt__p_unsigned_long
,
35569 &_swigt__p_wxANIHandler
,
35570 &_swigt__p_wxAcceleratorTable
,
35571 &_swigt__p_wxActivateEvent
,
35572 &_swigt__p_wxAlphaPixelData
,
35573 &_swigt__p_wxAlphaPixelData_Accessor
,
35574 &_swigt__p_wxBMPHandler
,
35575 &_swigt__p_wxBitmap
,
35576 &_swigt__p_wxBoxSizer
,
35577 &_swigt__p_wxBrush
,
35578 &_swigt__p_wxBrushList
,
35579 &_swigt__p_wxBufferedDC
,
35580 &_swigt__p_wxBufferedPaintDC
,
35581 &_swigt__p_wxCURHandler
,
35583 &_swigt__p_wxChildFocusEvent
,
35584 &_swigt__p_wxClientDC
,
35585 &_swigt__p_wxClipboardTextEvent
,
35586 &_swigt__p_wxCloseEvent
,
35587 &_swigt__p_wxColor
,
35588 &_swigt__p_wxColour
,
35589 &_swigt__p_wxColourDatabase
,
35590 &_swigt__p_wxCommandEvent
,
35591 &_swigt__p_wxContextMenuEvent
,
35592 &_swigt__p_wxControl
,
35593 &_swigt__p_wxControlWithItems
,
35594 &_swigt__p_wxCursor
,
35596 &_swigt__p_wxDCOverlay
,
35598 &_swigt__p_wxDateEvent
,
35599 &_swigt__p_wxDisplayChangedEvent
,
35600 &_swigt__p_wxDropFilesEvent
,
35601 &_swigt__p_wxDuplexMode
,
35602 &_swigt__p_wxEffects
,
35603 &_swigt__p_wxEncodingConverter
,
35604 &_swigt__p_wxEraseEvent
,
35605 &_swigt__p_wxEvent
,
35606 &_swigt__p_wxEvtHandler
,
35607 &_swigt__p_wxFSFile
,
35608 &_swigt__p_wxFileSystem
,
35609 &_swigt__p_wxFlexGridSizer
,
35610 &_swigt__p_wxFocusEvent
,
35612 &_swigt__p_wxFontList
,
35613 &_swigt__p_wxFontMapper
,
35614 &_swigt__p_wxGBSizerItem
,
35616 &_swigt__p_wxGDIObjListBase
,
35617 &_swigt__p_wxGDIObject
,
35618 &_swigt__p_wxGIFHandler
,
35619 &_swigt__p_wxGraphicsContext
,
35620 &_swigt__p_wxGraphicsPath
,
35621 &_swigt__p_wxGridBagSizer
,
35622 &_swigt__p_wxGridSizer
,
35623 &_swigt__p_wxHeaderButtonParams
,
35624 &_swigt__p_wxICOHandler
,
35626 &_swigt__p_wxIconBundle
,
35627 &_swigt__p_wxIconLocation
,
35628 &_swigt__p_wxIconizeEvent
,
35629 &_swigt__p_wxIdleEvent
,
35630 &_swigt__p_wxImage
,
35631 &_swigt__p_wxImageHandler
,
35632 &_swigt__p_wxImageList
,
35633 &_swigt__p_wxIndividualLayoutConstraint
,
35634 &_swigt__p_wxInitDialogEvent
,
35635 &_swigt__p_wxJPEGHandler
,
35636 &_swigt__p_wxKeyEvent
,
35637 &_swigt__p_wxLanguageInfo
,
35638 &_swigt__p_wxLayoutConstraints
,
35639 &_swigt__p_wxLocale
,
35641 &_swigt__p_wxMaximizeEvent
,
35642 &_swigt__p_wxMemoryDC
,
35644 &_swigt__p_wxMenuBar
,
35645 &_swigt__p_wxMenuEvent
,
35646 &_swigt__p_wxMenuItem
,
35647 &_swigt__p_wxMetaFile
,
35648 &_swigt__p_wxMetaFileDC
,
35649 &_swigt__p_wxMirrorDC
,
35650 &_swigt__p_wxMouseCaptureChangedEvent
,
35651 &_swigt__p_wxMouseCaptureLostEvent
,
35652 &_swigt__p_wxMouseEvent
,
35653 &_swigt__p_wxMoveEvent
,
35654 &_swigt__p_wxNativeEncodingInfo
,
35655 &_swigt__p_wxNativeFontInfo
,
35656 &_swigt__p_wxNativePixelData
,
35657 &_swigt__p_wxNativePixelData_Accessor
,
35658 &_swigt__p_wxNavigationKeyEvent
,
35659 &_swigt__p_wxNcPaintEvent
,
35660 &_swigt__p_wxNotifyEvent
,
35661 &_swigt__p_wxObject
,
35662 &_swigt__p_wxOverlay
,
35663 &_swigt__p_wxPCXHandler
,
35664 &_swigt__p_wxPNGHandler
,
35665 &_swigt__p_wxPNMHandler
,
35666 &_swigt__p_wxPaintDC
,
35667 &_swigt__p_wxPaintEvent
,
35668 &_swigt__p_wxPalette
,
35669 &_swigt__p_wxPaletteChangedEvent
,
35670 &_swigt__p_wxPaperSize
,
35672 &_swigt__p_wxPenList
,
35673 &_swigt__p_wxPixelDataBase
,
35674 &_swigt__p_wxPoint
,
35675 &_swigt__p_wxPoint2D
,
35676 &_swigt__p_wxPostScriptDC
,
35677 &_swigt__p_wxPrintData
,
35678 &_swigt__p_wxPrinterDC
,
35679 &_swigt__p_wxPseudoDC
,
35680 &_swigt__p_wxPyApp
,
35681 &_swigt__p_wxPyCommandEvent
,
35682 &_swigt__p_wxPyEvent
,
35683 &_swigt__p_wxPyFontEnumerator
,
35684 &_swigt__p_wxPyImageHandler
,
35685 &_swigt__p_wxPyLocale
,
35686 &_swigt__p_wxPySizer
,
35687 &_swigt__p_wxPyValidator
,
35688 &_swigt__p_wxQueryNewPaletteEvent
,
35690 &_swigt__p_wxRegion
,
35691 &_swigt__p_wxRegionIterator
,
35692 &_swigt__p_wxRendererNative
,
35693 &_swigt__p_wxRendererVersion
,
35694 &_swigt__p_wxScreenDC
,
35695 &_swigt__p_wxScrollEvent
,
35696 &_swigt__p_wxScrollWinEvent
,
35697 &_swigt__p_wxSetCursorEvent
,
35698 &_swigt__p_wxShowEvent
,
35700 &_swigt__p_wxSizeEvent
,
35701 &_swigt__p_wxSizer
,
35702 &_swigt__p_wxSizerItem
,
35703 &_swigt__p_wxSplitterRenderParams
,
35704 &_swigt__p_wxStaticBoxSizer
,
35705 &_swigt__p_wxStdDialogButtonSizer
,
35706 &_swigt__p_wxStockGDI
,
35707 &_swigt__p_wxString
,
35708 &_swigt__p_wxSysColourChangedEvent
,
35709 &_swigt__p_wxTIFFHandler
,
35710 &_swigt__p_wxUpdateUIEvent
,
35711 &_swigt__p_wxValidator
,
35712 &_swigt__p_wxWindow
,
35713 &_swigt__p_wxWindowCreateEvent
,
35714 &_swigt__p_wxWindowDC
,
35715 &_swigt__p_wxWindowDestroyEvent
,
35716 &_swigt__p_wxXPMHandler
,
35719 static swig_cast_info _swigc__p_buffer
[] = { {&_swigt__p_buffer
, 0, 0, 0},{0, 0, 0, 0}};
35720 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
35721 static swig_cast_info _swigc__p_double
[] = { {&_swigt__p_double
, 0, 0, 0},{0, 0, 0, 0}};
35722 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
35723 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
35724 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
35725 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
35726 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
35727 static swig_cast_info _swigc__p_wxAlphaPixelData
[] = { {&_swigt__p_wxAlphaPixelData
, 0, 0, 0},{0, 0, 0, 0}};
35728 static swig_cast_info _swigc__p_wxAlphaPixelData_Accessor
[] = { {&_swigt__p_wxAlphaPixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
35729 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
35730 static swig_cast_info _swigc__p_wxBrush
[] = { {&_swigt__p_wxBrush
, 0, 0, 0},{0, 0, 0, 0}};
35731 static swig_cast_info _swigc__p_wxBrushList
[] = { {&_swigt__p_wxBrushList
, 0, 0, 0},{0, 0, 0, 0}};
35732 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}};
35733 static swig_cast_info _swigc__p_wxBufferedPaintDC
[] = { {&_swigt__p_wxBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
35734 static swig_cast_info _swigc__p_wxChar
[] = { {&_swigt__p_wxChar
, 0, 0, 0},{0, 0, 0, 0}};
35735 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}};
35736 static swig_cast_info _swigc__p_wxColor
[] = { {&_swigt__p_wxColor
, 0, 0, 0},{0, 0, 0, 0}};
35737 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
35738 static swig_cast_info _swigc__p_wxColourDatabase
[] = { {&_swigt__p_wxColourDatabase
, 0, 0, 0},{0, 0, 0, 0}};
35739 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
35740 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}};
35741 static swig_cast_info _swigc__p_wxDCOverlay
[] = { {&_swigt__p_wxDCOverlay
, 0, 0, 0},{0, 0, 0, 0}};
35742 static swig_cast_info _swigc__p_wxDash
[] = { {&_swigt__p_wxDash
, 0, 0, 0},{0, 0, 0, 0}};
35743 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
35744 static swig_cast_info _swigc__p_wxEffects
[] = { {&_swigt__p_wxEffects
, 0, 0, 0},{0, 0, 0, 0}};
35745 static swig_cast_info _swigc__p_wxEncodingConverter
[] = { {&_swigt__p_wxEncodingConverter
, 0, 0, 0},{0, 0, 0, 0}};
35746 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
35747 static swig_cast_info _swigc__p_wxFontList
[] = { {&_swigt__p_wxFontList
, 0, 0, 0},{0, 0, 0, 0}};
35748 static swig_cast_info _swigc__p_wxFontMapper
[] = { {&_swigt__p_wxFontMapper
, 0, 0, 0},{0, 0, 0, 0}};
35749 static swig_cast_info _swigc__p_wxGCDC
[] = { {&_swigt__p_wxGCDC
, 0, 0, 0},{0, 0, 0, 0}};
35750 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}};
35751 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}};
35752 static swig_cast_info _swigc__p_wxGraphicsContext
[] = { {&_swigt__p_wxGraphicsContext
, 0, 0, 0},{0, 0, 0, 0}};
35753 static swig_cast_info _swigc__p_wxGraphicsPath
[] = { {&_swigt__p_wxGraphicsPath
, 0, 0, 0},{0, 0, 0, 0}};
35754 static swig_cast_info _swigc__p_wxHeaderButtonParams
[] = { {&_swigt__p_wxHeaderButtonParams
, 0, 0, 0},{0, 0, 0, 0}};
35755 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
35756 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
35757 static swig_cast_info _swigc__p_wxIconLocation
[] = { {&_swigt__p_wxIconLocation
, 0, 0, 0},{0, 0, 0, 0}};
35758 static swig_cast_info _swigc__p_wxImage
[] = { {&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
35759 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
35760 static swig_cast_info _swigc__p_wxLanguageInfo
[] = { {&_swigt__p_wxLanguageInfo
, 0, 0, 0},{0, 0, 0, 0}};
35761 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}};
35762 static swig_cast_info _swigc__p_wxMask
[] = { {&_swigt__p_wxMask
, 0, 0, 0},{0, 0, 0, 0}};
35763 static swig_cast_info _swigc__p_wxMemoryDC
[] = { {&_swigt__p_wxBufferedDC
, _p_wxBufferedDCTo_p_wxMemoryDC
, 0, 0}, {&_swigt__p_wxMemoryDC
, 0, 0, 0}, {&_swigt__p_wxBufferedPaintDC
, _p_wxBufferedPaintDCTo_p_wxMemoryDC
, 0, 0},{0, 0, 0, 0}};
35764 static swig_cast_info _swigc__p_wxMetaFile
[] = { {&_swigt__p_wxMetaFile
, 0, 0, 0},{0, 0, 0, 0}};
35765 static swig_cast_info _swigc__p_wxMetaFileDC
[] = { {&_swigt__p_wxMetaFileDC
, 0, 0, 0},{0, 0, 0, 0}};
35766 static swig_cast_info _swigc__p_wxMirrorDC
[] = { {&_swigt__p_wxMirrorDC
, 0, 0, 0},{0, 0, 0, 0}};
35767 static swig_cast_info _swigc__p_wxNativeEncodingInfo
[] = { {&_swigt__p_wxNativeEncodingInfo
, 0, 0, 0},{0, 0, 0, 0}};
35768 static swig_cast_info _swigc__p_wxNativeFontInfo
[] = { {&_swigt__p_wxNativeFontInfo
, 0, 0, 0},{0, 0, 0, 0}};
35769 static swig_cast_info _swigc__p_wxNativePixelData
[] = { {&_swigt__p_wxNativePixelData
, 0, 0, 0},{0, 0, 0, 0}};
35770 static swig_cast_info _swigc__p_wxNativePixelData_Accessor
[] = { {&_swigt__p_wxNativePixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
35771 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
35772 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
35773 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
35774 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
35775 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
35776 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
35777 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
35778 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
35779 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
35780 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
35781 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
35782 static swig_cast_info _swigc__p_wxEvent
[] = {{&_swigt__p_wxEvent
, 0, 0, 0},{0, 0, 0, 0}};
35783 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
35784 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
35785 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
35786 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
35787 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
35788 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
35789 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
35790 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
35791 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
35792 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
35793 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
35794 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
35795 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
35796 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
35797 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
35798 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
35799 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
35800 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
35801 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
35802 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
35803 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
35804 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
35805 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
35806 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
35807 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
35808 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
35809 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
35810 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
35811 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
35812 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
35813 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
35814 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
35815 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
35816 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
35817 static swig_cast_info _swigc__p_wxEvtHandler
[] = {{&_swigt__p_wxEvtHandler
, 0, 0, 0},{0, 0, 0, 0}};
35818 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
35819 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
35820 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
35821 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
35822 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
35823 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
35824 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
35825 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
35826 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
35827 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
35828 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
35829 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
35830 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
35831 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
35832 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
35833 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
35834 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
35835 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
35836 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
35837 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
35838 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
35839 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
35840 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
35841 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
35842 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
35843 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
35844 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
35845 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
35846 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
35847 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}};
35848 static swig_cast_info _swigc__p_wxOverlay
[] = { {&_swigt__p_wxOverlay
, 0, 0, 0},{0, 0, 0, 0}};
35849 static swig_cast_info _swigc__p_wxPaintDC
[] = { {&_swigt__p_wxPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
35850 static swig_cast_info _swigc__p_wxPalette
[] = { {&_swigt__p_wxPalette
, 0, 0, 0},{0, 0, 0, 0}};
35851 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
35852 static swig_cast_info _swigc__p_wxPen
[] = { {&_swigt__p_wxPen
, 0, 0, 0},{0, 0, 0, 0}};
35853 static swig_cast_info _swigc__p_wxPenList
[] = { {&_swigt__p_wxPenList
, 0, 0, 0},{0, 0, 0, 0}};
35854 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}};
35855 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
35856 static swig_cast_info _swigc__p_wxPoint2D
[] = { {&_swigt__p_wxPoint2D
, 0, 0, 0},{0, 0, 0, 0}};
35857 static swig_cast_info _swigc__p_wxPostScriptDC
[] = { {&_swigt__p_wxPostScriptDC
, 0, 0, 0},{0, 0, 0, 0}};
35858 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
35859 static swig_cast_info _swigc__p_wxPrinterDC
[] = { {&_swigt__p_wxPrinterDC
, 0, 0, 0},{0, 0, 0, 0}};
35860 static swig_cast_info _swigc__p_wxPseudoDC
[] = { {&_swigt__p_wxPseudoDC
, 0, 0, 0},{0, 0, 0, 0}};
35861 static swig_cast_info _swigc__p_wxPyFontEnumerator
[] = { {&_swigt__p_wxPyFontEnumerator
, 0, 0, 0},{0, 0, 0, 0}};
35862 static swig_cast_info _swigc__p_wxPyLocale
[] = { {&_swigt__p_wxPyLocale
, 0, 0, 0},{0, 0, 0, 0}};
35863 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
35864 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
35865 static swig_cast_info _swigc__p_wxRegionIterator
[] = { {&_swigt__p_wxRegionIterator
, 0, 0, 0},{0, 0, 0, 0}};
35866 static swig_cast_info _swigc__p_wxRendererNative
[] = { {&_swigt__p_wxRendererNative
, 0, 0, 0},{0, 0, 0, 0}};
35867 static swig_cast_info _swigc__p_wxRendererVersion
[] = { {&_swigt__p_wxRendererVersion
, 0, 0, 0},{0, 0, 0, 0}};
35868 static swig_cast_info _swigc__p_wxScreenDC
[] = { {&_swigt__p_wxScreenDC
, 0, 0, 0},{0, 0, 0, 0}};
35869 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
35870 static swig_cast_info _swigc__p_wxSplitterRenderParams
[] = { {&_swigt__p_wxSplitterRenderParams
, 0, 0, 0},{0, 0, 0, 0}};
35871 static swig_cast_info _swigc__p_wxStockGDI
[] = { {&_swigt__p_wxStockGDI
, 0, 0, 0},{0, 0, 0, 0}};
35872 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
35873 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}};
35874 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}};
35876 static swig_cast_info
*swig_cast_initial
[] = {
35880 _swigc__p_form_ops_t
,
35882 _swigc__p_unsigned_char
,
35883 _swigc__p_unsigned_int
,
35884 _swigc__p_unsigned_long
,
35885 _swigc__p_wxANIHandler
,
35886 _swigc__p_wxAcceleratorTable
,
35887 _swigc__p_wxActivateEvent
,
35888 _swigc__p_wxAlphaPixelData
,
35889 _swigc__p_wxAlphaPixelData_Accessor
,
35890 _swigc__p_wxBMPHandler
,
35891 _swigc__p_wxBitmap
,
35892 _swigc__p_wxBoxSizer
,
35894 _swigc__p_wxBrushList
,
35895 _swigc__p_wxBufferedDC
,
35896 _swigc__p_wxBufferedPaintDC
,
35897 _swigc__p_wxCURHandler
,
35899 _swigc__p_wxChildFocusEvent
,
35900 _swigc__p_wxClientDC
,
35901 _swigc__p_wxClipboardTextEvent
,
35902 _swigc__p_wxCloseEvent
,
35904 _swigc__p_wxColour
,
35905 _swigc__p_wxColourDatabase
,
35906 _swigc__p_wxCommandEvent
,
35907 _swigc__p_wxContextMenuEvent
,
35908 _swigc__p_wxControl
,
35909 _swigc__p_wxControlWithItems
,
35910 _swigc__p_wxCursor
,
35912 _swigc__p_wxDCOverlay
,
35914 _swigc__p_wxDateEvent
,
35915 _swigc__p_wxDisplayChangedEvent
,
35916 _swigc__p_wxDropFilesEvent
,
35917 _swigc__p_wxDuplexMode
,
35918 _swigc__p_wxEffects
,
35919 _swigc__p_wxEncodingConverter
,
35920 _swigc__p_wxEraseEvent
,
35922 _swigc__p_wxEvtHandler
,
35923 _swigc__p_wxFSFile
,
35924 _swigc__p_wxFileSystem
,
35925 _swigc__p_wxFlexGridSizer
,
35926 _swigc__p_wxFocusEvent
,
35928 _swigc__p_wxFontList
,
35929 _swigc__p_wxFontMapper
,
35930 _swigc__p_wxGBSizerItem
,
35932 _swigc__p_wxGDIObjListBase
,
35933 _swigc__p_wxGDIObject
,
35934 _swigc__p_wxGIFHandler
,
35935 _swigc__p_wxGraphicsContext
,
35936 _swigc__p_wxGraphicsPath
,
35937 _swigc__p_wxGridBagSizer
,
35938 _swigc__p_wxGridSizer
,
35939 _swigc__p_wxHeaderButtonParams
,
35940 _swigc__p_wxICOHandler
,
35942 _swigc__p_wxIconBundle
,
35943 _swigc__p_wxIconLocation
,
35944 _swigc__p_wxIconizeEvent
,
35945 _swigc__p_wxIdleEvent
,
35947 _swigc__p_wxImageHandler
,
35948 _swigc__p_wxImageList
,
35949 _swigc__p_wxIndividualLayoutConstraint
,
35950 _swigc__p_wxInitDialogEvent
,
35951 _swigc__p_wxJPEGHandler
,
35952 _swigc__p_wxKeyEvent
,
35953 _swigc__p_wxLanguageInfo
,
35954 _swigc__p_wxLayoutConstraints
,
35955 _swigc__p_wxLocale
,
35957 _swigc__p_wxMaximizeEvent
,
35958 _swigc__p_wxMemoryDC
,
35960 _swigc__p_wxMenuBar
,
35961 _swigc__p_wxMenuEvent
,
35962 _swigc__p_wxMenuItem
,
35963 _swigc__p_wxMetaFile
,
35964 _swigc__p_wxMetaFileDC
,
35965 _swigc__p_wxMirrorDC
,
35966 _swigc__p_wxMouseCaptureChangedEvent
,
35967 _swigc__p_wxMouseCaptureLostEvent
,
35968 _swigc__p_wxMouseEvent
,
35969 _swigc__p_wxMoveEvent
,
35970 _swigc__p_wxNativeEncodingInfo
,
35971 _swigc__p_wxNativeFontInfo
,
35972 _swigc__p_wxNativePixelData
,
35973 _swigc__p_wxNativePixelData_Accessor
,
35974 _swigc__p_wxNavigationKeyEvent
,
35975 _swigc__p_wxNcPaintEvent
,
35976 _swigc__p_wxNotifyEvent
,
35977 _swigc__p_wxObject
,
35978 _swigc__p_wxOverlay
,
35979 _swigc__p_wxPCXHandler
,
35980 _swigc__p_wxPNGHandler
,
35981 _swigc__p_wxPNMHandler
,
35982 _swigc__p_wxPaintDC
,
35983 _swigc__p_wxPaintEvent
,
35984 _swigc__p_wxPalette
,
35985 _swigc__p_wxPaletteChangedEvent
,
35986 _swigc__p_wxPaperSize
,
35988 _swigc__p_wxPenList
,
35989 _swigc__p_wxPixelDataBase
,
35991 _swigc__p_wxPoint2D
,
35992 _swigc__p_wxPostScriptDC
,
35993 _swigc__p_wxPrintData
,
35994 _swigc__p_wxPrinterDC
,
35995 _swigc__p_wxPseudoDC
,
35997 _swigc__p_wxPyCommandEvent
,
35998 _swigc__p_wxPyEvent
,
35999 _swigc__p_wxPyFontEnumerator
,
36000 _swigc__p_wxPyImageHandler
,
36001 _swigc__p_wxPyLocale
,
36002 _swigc__p_wxPySizer
,
36003 _swigc__p_wxPyValidator
,
36004 _swigc__p_wxQueryNewPaletteEvent
,
36006 _swigc__p_wxRegion
,
36007 _swigc__p_wxRegionIterator
,
36008 _swigc__p_wxRendererNative
,
36009 _swigc__p_wxRendererVersion
,
36010 _swigc__p_wxScreenDC
,
36011 _swigc__p_wxScrollEvent
,
36012 _swigc__p_wxScrollWinEvent
,
36013 _swigc__p_wxSetCursorEvent
,
36014 _swigc__p_wxShowEvent
,
36016 _swigc__p_wxSizeEvent
,
36018 _swigc__p_wxSizerItem
,
36019 _swigc__p_wxSplitterRenderParams
,
36020 _swigc__p_wxStaticBoxSizer
,
36021 _swigc__p_wxStdDialogButtonSizer
,
36022 _swigc__p_wxStockGDI
,
36023 _swigc__p_wxString
,
36024 _swigc__p_wxSysColourChangedEvent
,
36025 _swigc__p_wxTIFFHandler
,
36026 _swigc__p_wxUpdateUIEvent
,
36027 _swigc__p_wxValidator
,
36028 _swigc__p_wxWindow
,
36029 _swigc__p_wxWindowCreateEvent
,
36030 _swigc__p_wxWindowDC
,
36031 _swigc__p_wxWindowDestroyEvent
,
36032 _swigc__p_wxXPMHandler
,
36036 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
36038 static swig_const_info swig_const_table
[] = {
36039 {0, 0, 0, 0.0, 0, 0}};
36044 /* -----------------------------------------------------------------------------
36045 * Type initialization:
36046 * This problem is tough by the requirement that no dynamic
36047 * memory is used. Also, since swig_type_info structures store pointers to
36048 * swig_cast_info structures and swig_cast_info structures store pointers back
36049 * to swig_type_info structures, we need some lookup code at initialization.
36050 * The idea is that swig generates all the structures that are needed.
36051 * The runtime then collects these partially filled structures.
36052 * The SWIG_InitializeModule function takes these initial arrays out of
36053 * swig_module, and does all the lookup, filling in the swig_module.types
36054 * array with the correct data and linking the correct swig_cast_info
36055 * structures together.
36057 * The generated swig_type_info structures are assigned staticly to an initial
36058 * array. We just loop though that array, and handle each type individually.
36059 * First we lookup if this type has been already loaded, and if so, use the
36060 * loaded structure instead of the generated one. Then we have to fill in the
36061 * cast linked list. The cast data is initially stored in something like a
36062 * two-dimensional array. Each row corresponds to a type (there are the same
36063 * number of rows as there are in the swig_type_initial array). Each entry in
36064 * a column is one of the swig_cast_info structures for that type.
36065 * The cast_initial array is actually an array of arrays, because each row has
36066 * a variable number of columns. So to actually build the cast linked list,
36067 * we find the array of casts associated with the type, and loop through it
36068 * adding the casts to the list. The one last trick we need to do is making
36069 * sure the type pointer in the swig_cast_info struct is correct.
36071 * First off, we lookup the cast->type name to see if it is already loaded.
36072 * There are three cases to handle:
36073 * 1) If the cast->type has already been loaded AND the type we are adding
36074 * casting info to has not been loaded (it is in this module), THEN we
36075 * replace the cast->type pointer with the type pointer that has already
36077 * 2) If BOTH types (the one we are adding casting info to, and the
36078 * cast->type) are loaded, THEN the cast info has already been loaded by
36079 * the previous module so we just ignore it.
36080 * 3) Finally, if cast->type has not already been loaded, then we add that
36081 * swig_cast_info to the linked list (because the cast->type) pointer will
36083 * ----------------------------------------------------------------------------- */
36093 #define SWIGRUNTIME_DEBUG
36097 SWIG_InitializeModule(void *clientdata
) {
36099 swig_module_info
*module_head
;
36100 static int init_run
= 0;
36102 clientdata
= clientdata
;
36104 if (init_run
) return;
36107 /* Initialize the swig_module */
36108 swig_module
.type_initial
= swig_type_initial
;
36109 swig_module
.cast_initial
= swig_cast_initial
;
36111 /* Try and load any already created modules */
36112 module_head
= SWIG_GetModule(clientdata
);
36114 swig_module
.next
= module_head
->next
;
36115 module_head
->next
= &swig_module
;
36117 /* This is the first module loaded */
36118 swig_module
.next
= &swig_module
;
36119 SWIG_SetModule(clientdata
, &swig_module
);
36122 /* Now work on filling in swig_module.types */
36123 #ifdef SWIGRUNTIME_DEBUG
36124 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
36126 for (i
= 0; i
< swig_module
.size
; ++i
) {
36127 swig_type_info
*type
= 0;
36128 swig_type_info
*ret
;
36129 swig_cast_info
*cast
;
36131 #ifdef SWIGRUNTIME_DEBUG
36132 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
36135 /* if there is another module already loaded */
36136 if (swig_module
.next
!= &swig_module
) {
36137 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
36140 /* Overwrite clientdata field */
36141 #ifdef SWIGRUNTIME_DEBUG
36142 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
36144 if (swig_module
.type_initial
[i
]->clientdata
) {
36145 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
36146 #ifdef SWIGRUNTIME_DEBUG
36147 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
36151 type
= swig_module
.type_initial
[i
];
36154 /* Insert casting types */
36155 cast
= swig_module
.cast_initial
[i
];
36156 while (cast
->type
) {
36157 /* Don't need to add information already in the list */
36159 #ifdef SWIGRUNTIME_DEBUG
36160 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
36162 if (swig_module
.next
!= &swig_module
) {
36163 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
36164 #ifdef SWIGRUNTIME_DEBUG
36165 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
36169 if (type
== swig_module
.type_initial
[i
]) {
36170 #ifdef SWIGRUNTIME_DEBUG
36171 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
36176 /* Check for casting already in the list */
36177 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
36178 #ifdef SWIGRUNTIME_DEBUG
36179 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
36181 if (!ocast
) ret
= 0;
36186 #ifdef SWIGRUNTIME_DEBUG
36187 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
36190 type
->cast
->prev
= cast
;
36191 cast
->next
= type
->cast
;
36197 /* Set entry in modules->types array equal to the type */
36198 swig_module
.types
[i
] = type
;
36200 swig_module
.types
[i
] = 0;
36202 #ifdef SWIGRUNTIME_DEBUG
36203 printf("**** SWIG_InitializeModule: Cast List ******\n");
36204 for (i
= 0; i
< swig_module
.size
; ++i
) {
36206 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
36207 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
36208 while (cast
->type
) {
36209 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
36213 printf("---- Total casts: %d\n",j
);
36215 printf("**** SWIG_InitializeModule: Cast List ******\n");
36219 /* This function will propagate the clientdata field of type to
36220 * any new swig_type_info structures that have been added into the list
36221 * of equivalent types. It is like calling
36222 * SWIG_TypeClientData(type, clientdata) a second time.
36225 SWIG_PropagateClientData(void) {
36227 swig_cast_info
*equiv
;
36228 static int init_run
= 0;
36230 if (init_run
) return;
36233 for (i
= 0; i
< swig_module
.size
; i
++) {
36234 if (swig_module
.types
[i
]->clientdata
) {
36235 equiv
= swig_module
.types
[i
]->cast
;
36237 if (!equiv
->converter
) {
36238 if (equiv
->type
&& !equiv
->type
->clientdata
)
36239 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
36241 equiv
= equiv
->next
;
36261 /* Python-specific SWIG API */
36262 #define SWIG_newvarlink() SWIG_Python_newvarlink()
36263 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
36264 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
36266 /* -----------------------------------------------------------------------------
36267 * global variable support code.
36268 * ----------------------------------------------------------------------------- */
36270 typedef struct swig_globalvar
{
36271 char *name
; /* Name of global variable */
36272 PyObject
*(*get_attr
)(void); /* Return the current value */
36273 int (*set_attr
)(PyObject
*); /* Set the value */
36274 struct swig_globalvar
*next
;
36277 typedef struct swig_varlinkobject
{
36279 swig_globalvar
*vars
;
36280 } swig_varlinkobject
;
36282 SWIGINTERN PyObject
*
36283 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
36284 return PyString_FromString("<Swig global variables>");
36287 SWIGINTERN PyObject
*
36288 swig_varlink_str(swig_varlinkobject
*v
) {
36289 PyObject
*str
= PyString_FromString("(");
36290 swig_globalvar
*var
;
36291 for (var
= v
->vars
; var
; var
=var
->next
) {
36292 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
36293 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
36295 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
36300 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
36301 PyObject
*str
= swig_varlink_str(v
);
36302 fprintf(fp
,"Swig global variables ");
36303 fprintf(fp
,"%s\n", PyString_AsString(str
));
36309 swig_varlink_dealloc(swig_varlinkobject
*v
) {
36310 swig_globalvar
*var
= v
->vars
;
36312 swig_globalvar
*n
= var
->next
;
36319 SWIGINTERN PyObject
*
36320 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
36321 PyObject
*res
= NULL
;
36322 swig_globalvar
*var
= v
->vars
;
36324 if (strcmp(var
->name
,n
) == 0) {
36325 res
= (*var
->get_attr
)();
36330 if (res
== NULL
&& !PyErr_Occurred()) {
36331 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
36337 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
36339 swig_globalvar
*var
= v
->vars
;
36341 if (strcmp(var
->name
,n
) == 0) {
36342 res
= (*var
->set_attr
)(p
);
36347 if (res
== 1 && !PyErr_Occurred()) {
36348 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
36353 SWIGINTERN PyTypeObject
*
36354 swig_varlink_type(void) {
36355 static char varlink__doc__
[] = "Swig var link object";
36356 static PyTypeObject varlink_type
;
36357 static int type_init
= 0;
36359 const PyTypeObject tmp
36361 PyObject_HEAD_INIT(NULL
)
36362 0, /* Number of items in variable part (ob_size) */
36363 (char *)"swigvarlink", /* Type name (tp_name) */
36364 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
36365 0, /* Itemsize (tp_itemsize) */
36366 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
36367 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
36368 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
36369 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
36370 0, /* tp_compare */
36371 (reprfunc
) swig_varlink_repr
, /* tp_repr */
36372 0, /* tp_as_number */
36373 0, /* tp_as_sequence */
36374 0, /* tp_as_mapping */
36377 (reprfunc
)swig_varlink_str
, /* tp_str */
36378 0, /* tp_getattro */
36379 0, /* tp_setattro */
36380 0, /* tp_as_buffer */
36382 varlink__doc__
, /* tp_doc */
36383 0, /* tp_traverse */
36385 0, /* tp_richcompare */
36386 0, /* tp_weaklistoffset */
36387 #if PY_VERSION_HEX >= 0x02020000
36388 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
36390 #if PY_VERSION_HEX >= 0x02030000
36393 #ifdef COUNT_ALLOCS
36394 0,0,0,0 /* tp_alloc -> tp_next */
36397 varlink_type
= tmp
;
36398 varlink_type
.ob_type
= &PyType_Type
;
36401 return &varlink_type
;
36404 /* Create a variable linking object for use later */
36405 SWIGINTERN PyObject
*
36406 SWIG_Python_newvarlink(void) {
36407 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
36411 return ((PyObject
*) result
);
36415 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
36416 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
36417 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
36419 size_t size
= strlen(name
)+1;
36420 gv
->name
= (char *)malloc(size
);
36422 strncpy(gv
->name
,name
,size
);
36423 gv
->get_attr
= get_attr
;
36424 gv
->set_attr
= set_attr
;
36425 gv
->next
= v
->vars
;
36431 SWIGINTERN PyObject
*
36433 static PyObject
*_SWIG_globals
= 0;
36434 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
36435 return _SWIG_globals
;
36438 /* -----------------------------------------------------------------------------
36439 * constants/methods manipulation
36440 * ----------------------------------------------------------------------------- */
36442 /* Install Constants */
36444 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
36447 for (i
= 0; constants
[i
].type
; ++i
) {
36448 switch(constants
[i
].type
) {
36449 case SWIG_PY_POINTER
:
36450 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
36452 case SWIG_PY_BINARY
:
36453 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
36460 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
36466 /* -----------------------------------------------------------------------------*/
36467 /* Fix SwigMethods to carry the callback ptrs when needed */
36468 /* -----------------------------------------------------------------------------*/
36471 SWIG_Python_FixMethods(PyMethodDef
*methods
,
36472 swig_const_info
*const_table
,
36473 swig_type_info
**types
,
36474 swig_type_info
**types_initial
) {
36476 for (i
= 0; methods
[i
].ml_name
; ++i
) {
36477 const char *c
= methods
[i
].ml_doc
;
36478 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
36480 swig_const_info
*ci
= 0;
36481 const char *name
= c
+ 10;
36482 for (j
= 0; const_table
[j
].type
; ++j
) {
36483 if (strncmp(const_table
[j
].name
, name
,
36484 strlen(const_table
[j
].name
)) == 0) {
36485 ci
= &(const_table
[j
]);
36490 size_t shift
= (ci
->ptype
) - types
;
36491 swig_type_info
*ty
= types_initial
[shift
];
36492 size_t ldoc
= (c
- methods
[i
].ml_doc
);
36493 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
36494 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
36497 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
36499 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
36501 strncpy(buff
, "swig_ptr: ", 10);
36503 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
36504 methods
[i
].ml_doc
= ndoc
;
36516 /* -----------------------------------------------------------------------------*
36517 * Partial Init method
36518 * -----------------------------------------------------------------------------*/
36523 SWIGEXPORT
void SWIG_init(void) {
36526 /* Fix SwigMethods to carry the callback ptrs when needed */
36527 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
36529 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
36530 d
= PyModule_GetDict(m
);
36532 SWIG_InitializeModule(0);
36533 SWIG_InstallConstants(d
,swig_const_table
);
36536 SWIG_Python_SetConstant(d
, "C2S_NAME",SWIG_From_int(static_cast< int >(wxC2S_NAME
)));
36537 SWIG_Python_SetConstant(d
, "C2S_CSS_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_CSS_SYNTAX
)));
36538 SWIG_Python_SetConstant(d
, "C2S_HTML_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_HTML_SYNTAX
)));
36539 SWIG_Python_SetConstant(d
, "ALPHA_TRANSPARENT",SWIG_From_int(static_cast< int >(wxALPHA_TRANSPARENT
)));
36540 SWIG_Python_SetConstant(d
, "ALPHA_OPAQUE",SWIG_From_int(static_cast< int >(wxALPHA_OPAQUE
)));
36541 SWIG_Python_SetConstant(d
, "OutRegion",SWIG_From_int(static_cast< int >(wxOutRegion
)));
36542 SWIG_Python_SetConstant(d
, "PartRegion",SWIG_From_int(static_cast< int >(wxPartRegion
)));
36543 SWIG_Python_SetConstant(d
, "InRegion",SWIG_From_int(static_cast< int >(wxInRegion
)));
36544 SWIG_Python_SetConstant(d
, "FONTFAMILY_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DEFAULT
)));
36545 SWIG_Python_SetConstant(d
, "FONTFAMILY_DECORATIVE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DECORATIVE
)));
36546 SWIG_Python_SetConstant(d
, "FONTFAMILY_ROMAN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_ROMAN
)));
36547 SWIG_Python_SetConstant(d
, "FONTFAMILY_SCRIPT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SCRIPT
)));
36548 SWIG_Python_SetConstant(d
, "FONTFAMILY_SWISS",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SWISS
)));
36549 SWIG_Python_SetConstant(d
, "FONTFAMILY_MODERN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MODERN
)));
36550 SWIG_Python_SetConstant(d
, "FONTFAMILY_TELETYPE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_TELETYPE
)));
36551 SWIG_Python_SetConstant(d
, "FONTFAMILY_MAX",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MAX
)));
36552 SWIG_Python_SetConstant(d
, "FONTFAMILY_UNKNOWN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_UNKNOWN
)));
36553 SWIG_Python_SetConstant(d
, "FONTSTYLE_NORMAL",SWIG_From_int(static_cast< int >(wxFONTSTYLE_NORMAL
)));
36554 SWIG_Python_SetConstant(d
, "FONTSTYLE_ITALIC",SWIG_From_int(static_cast< int >(wxFONTSTYLE_ITALIC
)));
36555 SWIG_Python_SetConstant(d
, "FONTSTYLE_SLANT",SWIG_From_int(static_cast< int >(wxFONTSTYLE_SLANT
)));
36556 SWIG_Python_SetConstant(d
, "FONTSTYLE_MAX",SWIG_From_int(static_cast< int >(wxFONTSTYLE_MAX
)));
36557 SWIG_Python_SetConstant(d
, "FONTWEIGHT_NORMAL",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_NORMAL
)));
36558 SWIG_Python_SetConstant(d
, "FONTWEIGHT_LIGHT",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_LIGHT
)));
36559 SWIG_Python_SetConstant(d
, "FONTWEIGHT_BOLD",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_BOLD
)));
36560 SWIG_Python_SetConstant(d
, "FONTWEIGHT_MAX",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_MAX
)));
36561 SWIG_Python_SetConstant(d
, "FONTFLAG_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFLAG_DEFAULT
)));
36562 SWIG_Python_SetConstant(d
, "FONTFLAG_ITALIC",SWIG_From_int(static_cast< int >(wxFONTFLAG_ITALIC
)));
36563 SWIG_Python_SetConstant(d
, "FONTFLAG_SLANT",SWIG_From_int(static_cast< int >(wxFONTFLAG_SLANT
)));
36564 SWIG_Python_SetConstant(d
, "FONTFLAG_LIGHT",SWIG_From_int(static_cast< int >(wxFONTFLAG_LIGHT
)));
36565 SWIG_Python_SetConstant(d
, "FONTFLAG_BOLD",SWIG_From_int(static_cast< int >(wxFONTFLAG_BOLD
)));
36566 SWIG_Python_SetConstant(d
, "FONTFLAG_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_ANTIALIASED
)));
36567 SWIG_Python_SetConstant(d
, "FONTFLAG_NOT_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_NOT_ANTIALIASED
)));
36568 SWIG_Python_SetConstant(d
, "FONTFLAG_UNDERLINED",SWIG_From_int(static_cast< int >(wxFONTFLAG_UNDERLINED
)));
36569 SWIG_Python_SetConstant(d
, "FONTFLAG_STRIKETHROUGH",SWIG_From_int(static_cast< int >(wxFONTFLAG_STRIKETHROUGH
)));
36570 SWIG_Python_SetConstant(d
, "FONTFLAG_MASK",SWIG_From_int(static_cast< int >(wxFONTFLAG_MASK
)));
36571 SWIG_Python_SetConstant(d
, "FONTENCODING_SYSTEM",SWIG_From_int(static_cast< int >(wxFONTENCODING_SYSTEM
)));
36572 SWIG_Python_SetConstant(d
, "FONTENCODING_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTENCODING_DEFAULT
)));
36573 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_1",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_1
)));
36574 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_2",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_2
)));
36575 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_3",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_3
)));
36576 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_4",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_4
)));
36577 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_5",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_5
)));
36578 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_6",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_6
)));
36579 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_7",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_7
)));
36580 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_8",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_8
)));
36581 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_9",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_9
)));
36582 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_10",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_10
)));
36583 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_11",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_11
)));
36584 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_12",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_12
)));
36585 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_13",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_13
)));
36586 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_14",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_14
)));
36587 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_15",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_15
)));
36588 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_MAX
)));
36589 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8
)));
36590 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8_U",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8_U
)));
36591 SWIG_Python_SetConstant(d
, "FONTENCODING_ALTERNATIVE",SWIG_From_int(static_cast< int >(wxFONTENCODING_ALTERNATIVE
)));
36592 SWIG_Python_SetConstant(d
, "FONTENCODING_BULGARIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_BULGARIAN
)));
36593 SWIG_Python_SetConstant(d
, "FONTENCODING_CP437",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP437
)));
36594 SWIG_Python_SetConstant(d
, "FONTENCODING_CP850",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP850
)));
36595 SWIG_Python_SetConstant(d
, "FONTENCODING_CP852",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP852
)));
36596 SWIG_Python_SetConstant(d
, "FONTENCODING_CP855",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP855
)));
36597 SWIG_Python_SetConstant(d
, "FONTENCODING_CP866",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP866
)));
36598 SWIG_Python_SetConstant(d
, "FONTENCODING_CP874",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP874
)));
36599 SWIG_Python_SetConstant(d
, "FONTENCODING_CP932",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP932
)));
36600 SWIG_Python_SetConstant(d
, "FONTENCODING_CP936",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP936
)));
36601 SWIG_Python_SetConstant(d
, "FONTENCODING_CP949",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP949
)));
36602 SWIG_Python_SetConstant(d
, "FONTENCODING_CP950",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP950
)));
36603 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1250",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1250
)));
36604 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1251",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1251
)));
36605 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1252",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1252
)));
36606 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1253",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1253
)));
36607 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1254",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1254
)));
36608 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1255",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1255
)));
36609 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1256",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1256
)));
36610 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1257",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1257
)));
36611 SWIG_Python_SetConstant(d
, "FONTENCODING_CP12_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP12_MAX
)));
36612 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF7",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF7
)));
36613 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF8",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF8
)));
36614 SWIG_Python_SetConstant(d
, "FONTENCODING_EUC_JP",SWIG_From_int(static_cast< int >(wxFONTENCODING_EUC_JP
)));
36615 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16BE
)));
36616 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16LE
)));
36617 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32BE
)));
36618 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32LE
)));
36619 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMAN
)));
36620 SWIG_Python_SetConstant(d
, "FONTENCODING_MACJAPANESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACJAPANESE
)));
36621 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESETRAD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESETRAD
)));
36622 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKOREAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKOREAN
)));
36623 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABIC
)));
36624 SWIG_Python_SetConstant(d
, "FONTENCODING_MACHEBREW",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACHEBREW
)));
36625 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGREEK",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGREEK
)));
36626 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCYRILLIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCYRILLIC
)));
36627 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDEVANAGARI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDEVANAGARI
)));
36628 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGURMUKHI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGURMUKHI
)));
36629 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGUJARATI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGUJARATI
)));
36630 SWIG_Python_SetConstant(d
, "FONTENCODING_MACORIYA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACORIYA
)));
36631 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBENGALI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBENGALI
)));
36632 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTAMIL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTAMIL
)));
36633 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTELUGU",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTELUGU
)));
36634 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKANNADA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKANNADA
)));
36635 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMALAJALAM",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMALAJALAM
)));
36636 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSINHALESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSINHALESE
)));
36637 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBURMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBURMESE
)));
36638 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKHMER",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKHMER
)));
36639 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTHAI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTHAI
)));
36640 SWIG_Python_SetConstant(d
, "FONTENCODING_MACLAOTIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACLAOTIAN
)));
36641 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGEORGIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGEORGIAN
)));
36642 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARMENIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARMENIAN
)));
36643 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESESIMP",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESESIMP
)));
36644 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTIBETAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTIBETAN
)));
36645 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMONGOLIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMONGOLIAN
)));
36646 SWIG_Python_SetConstant(d
, "FONTENCODING_MACETHIOPIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACETHIOPIC
)));
36647 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCENTRALEUR",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCENTRALEUR
)));
36648 SWIG_Python_SetConstant(d
, "FONTENCODING_MACVIATNAMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACVIATNAMESE
)));
36649 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABICEXT",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABICEXT
)));
36650 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSYMBOL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSYMBOL
)));
36651 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDINGBATS",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDINGBATS
)));
36652 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTURKISH",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTURKISH
)));
36653 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCROATIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCROATIAN
)));
36654 SWIG_Python_SetConstant(d
, "FONTENCODING_MACICELANDIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACICELANDIC
)));
36655 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMANIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMANIAN
)));
36656 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCELTIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCELTIC
)));
36657 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGAELIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGAELIC
)));
36658 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKEYBOARD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKEYBOARD
)));
36659 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMIN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMIN
)));
36660 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMAX
)));
36661 SWIG_Python_SetConstant(d
, "FONTENCODING_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MAX
)));
36662 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16
)));
36663 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32
)));
36664 SWIG_Python_SetConstant(d
, "FONTENCODING_UNICODE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UNICODE
)));
36665 SWIG_Python_SetConstant(d
, "FONTENCODING_GB2312",SWIG_From_int(static_cast< int >(wxFONTENCODING_GB2312
)));
36666 SWIG_Python_SetConstant(d
, "FONTENCODING_BIG5",SWIG_From_int(static_cast< int >(wxFONTENCODING_BIG5
)));
36667 SWIG_Python_SetConstant(d
, "FONTENCODING_SHIFT_JIS",SWIG_From_int(static_cast< int >(wxFONTENCODING_SHIFT_JIS
)));
36669 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
36671 SWIG_Python_SetConstant(d
, "LANGUAGE_DEFAULT",SWIG_From_int(static_cast< int >(wxLANGUAGE_DEFAULT
)));
36672 SWIG_Python_SetConstant(d
, "LANGUAGE_UNKNOWN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UNKNOWN
)));
36673 SWIG_Python_SetConstant(d
, "LANGUAGE_ABKHAZIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ABKHAZIAN
)));
36674 SWIG_Python_SetConstant(d
, "LANGUAGE_AFAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFAR
)));
36675 SWIG_Python_SetConstant(d
, "LANGUAGE_AFRIKAANS",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFRIKAANS
)));
36676 SWIG_Python_SetConstant(d
, "LANGUAGE_ALBANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ALBANIAN
)));
36677 SWIG_Python_SetConstant(d
, "LANGUAGE_AMHARIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AMHARIC
)));
36678 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC
)));
36679 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_ALGERIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_ALGERIA
)));
36680 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_BAHRAIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_BAHRAIN
)));
36681 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_EGYPT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_EGYPT
)));
36682 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_IRAQ",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_IRAQ
)));
36683 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_JORDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_JORDAN
)));
36684 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_KUWAIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_KUWAIT
)));
36685 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LEBANON",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LEBANON
)));
36686 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LIBYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LIBYA
)));
36687 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_MOROCCO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_MOROCCO
)));
36688 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_OMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_OMAN
)));
36689 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_QATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_QATAR
)));
36690 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SAUDI_ARABIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SAUDI_ARABIA
)));
36691 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SUDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SUDAN
)));
36692 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SYRIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SYRIA
)));
36693 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_TUNISIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_TUNISIA
)));
36694 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_UAE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_UAE
)));
36695 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_YEMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_YEMEN
)));
36696 SWIG_Python_SetConstant(d
, "LANGUAGE_ARMENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARMENIAN
)));
36697 SWIG_Python_SetConstant(d
, "LANGUAGE_ASSAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ASSAMESE
)));
36698 SWIG_Python_SetConstant(d
, "LANGUAGE_AYMARA",SWIG_From_int(static_cast< int >(wxLANGUAGE_AYMARA
)));
36699 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI
)));
36700 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_CYRILLIC
)));
36701 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_LATIN
)));
36702 SWIG_Python_SetConstant(d
, "LANGUAGE_BASHKIR",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASHKIR
)));
36703 SWIG_Python_SetConstant(d
, "LANGUAGE_BASQUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASQUE
)));
36704 SWIG_Python_SetConstant(d
, "LANGUAGE_BELARUSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BELARUSIAN
)));
36705 SWIG_Python_SetConstant(d
, "LANGUAGE_BENGALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BENGALI
)));
36706 SWIG_Python_SetConstant(d
, "LANGUAGE_BHUTANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BHUTANI
)));
36707 SWIG_Python_SetConstant(d
, "LANGUAGE_BIHARI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BIHARI
)));
36708 SWIG_Python_SetConstant(d
, "LANGUAGE_BISLAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_BISLAMA
)));
36709 SWIG_Python_SetConstant(d
, "LANGUAGE_BRETON",SWIG_From_int(static_cast< int >(wxLANGUAGE_BRETON
)));
36710 SWIG_Python_SetConstant(d
, "LANGUAGE_BULGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BULGARIAN
)));
36711 SWIG_Python_SetConstant(d
, "LANGUAGE_BURMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BURMESE
)));
36712 SWIG_Python_SetConstant(d
, "LANGUAGE_CAMBODIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CAMBODIAN
)));
36713 SWIG_Python_SetConstant(d
, "LANGUAGE_CATALAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CATALAN
)));
36714 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE
)));
36715 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SIMPLIFIED",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SIMPLIFIED
)));
36716 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TRADITIONAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TRADITIONAL
)));
36717 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_HONGKONG",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_HONGKONG
)));
36718 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_MACAU",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_MACAU
)));
36719 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SINGAPORE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SINGAPORE
)));
36720 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TAIWAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TAIWAN
)));
36721 SWIG_Python_SetConstant(d
, "LANGUAGE_CORSICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CORSICAN
)));
36722 SWIG_Python_SetConstant(d
, "LANGUAGE_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CROATIAN
)));
36723 SWIG_Python_SetConstant(d
, "LANGUAGE_CZECH",SWIG_From_int(static_cast< int >(wxLANGUAGE_CZECH
)));
36724 SWIG_Python_SetConstant(d
, "LANGUAGE_DANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DANISH
)));
36725 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH
)));
36726 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH_BELGIAN
)));
36727 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH
)));
36728 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_UK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_UK
)));
36729 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_US
)));
36730 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_AUSTRALIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_AUSTRALIA
)));
36731 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BELIZE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BELIZE
)));
36732 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BOTSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BOTSWANA
)));
36733 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CANADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CANADA
)));
36734 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CARIBBEAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CARIBBEAN
)));
36735 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_DENMARK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_DENMARK
)));
36736 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_EIRE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_EIRE
)));
36737 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_JAMAICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_JAMAICA
)));
36738 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_NEW_ZEALAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_NEW_ZEALAND
)));
36739 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_PHILIPPINES",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_PHILIPPINES
)));
36740 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_SOUTH_AFRICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_SOUTH_AFRICA
)));
36741 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_TRINIDAD",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_TRINIDAD
)));
36742 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_ZIMBABWE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_ZIMBABWE
)));
36743 SWIG_Python_SetConstant(d
, "LANGUAGE_ESPERANTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESPERANTO
)));
36744 SWIG_Python_SetConstant(d
, "LANGUAGE_ESTONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESTONIAN
)));
36745 SWIG_Python_SetConstant(d
, "LANGUAGE_FAEROESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_FAEROESE
)));
36746 SWIG_Python_SetConstant(d
, "LANGUAGE_FARSI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FARSI
)));
36747 SWIG_Python_SetConstant(d
, "LANGUAGE_FIJI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FIJI
)));
36748 SWIG_Python_SetConstant(d
, "LANGUAGE_FINNISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FINNISH
)));
36749 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH
)));
36750 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_BELGIAN
)));
36751 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_CANADIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_CANADIAN
)));
36752 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_LUXEMBOURG
)));
36753 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_MONACO",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_MONACO
)));
36754 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_SWISS
)));
36755 SWIG_Python_SetConstant(d
, "LANGUAGE_FRISIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRISIAN
)));
36756 SWIG_Python_SetConstant(d
, "LANGUAGE_GALICIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GALICIAN
)));
36757 SWIG_Python_SetConstant(d
, "LANGUAGE_GEORGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GEORGIAN
)));
36758 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN
)));
36759 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_AUSTRIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_AUSTRIAN
)));
36760 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_BELGIUM",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_BELGIUM
)));
36761 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LIECHTENSTEIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LIECHTENSTEIN
)));
36762 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LUXEMBOURG
)));
36763 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_SWISS
)));
36764 SWIG_Python_SetConstant(d
, "LANGUAGE_GREEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREEK
)));
36765 SWIG_Python_SetConstant(d
, "LANGUAGE_GREENLANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREENLANDIC
)));
36766 SWIG_Python_SetConstant(d
, "LANGUAGE_GUARANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUARANI
)));
36767 SWIG_Python_SetConstant(d
, "LANGUAGE_GUJARATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUJARATI
)));
36768 SWIG_Python_SetConstant(d
, "LANGUAGE_HAUSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_HAUSA
)));
36769 SWIG_Python_SetConstant(d
, "LANGUAGE_HEBREW",SWIG_From_int(static_cast< int >(wxLANGUAGE_HEBREW
)));
36770 SWIG_Python_SetConstant(d
, "LANGUAGE_HINDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_HINDI
)));
36771 SWIG_Python_SetConstant(d
, "LANGUAGE_HUNGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_HUNGARIAN
)));
36772 SWIG_Python_SetConstant(d
, "LANGUAGE_ICELANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ICELANDIC
)));
36773 SWIG_Python_SetConstant(d
, "LANGUAGE_INDONESIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_INDONESIAN
)));
36774 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUA
)));
36775 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUE
)));
36776 SWIG_Python_SetConstant(d
, "LANGUAGE_INUKTITUT",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUKTITUT
)));
36777 SWIG_Python_SetConstant(d
, "LANGUAGE_INUPIAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUPIAK
)));
36778 SWIG_Python_SetConstant(d
, "LANGUAGE_IRISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_IRISH
)));
36779 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN
)));
36780 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN_SWISS
)));
36781 SWIG_Python_SetConstant(d
, "LANGUAGE_JAPANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAPANESE
)));
36782 SWIG_Python_SetConstant(d
, "LANGUAGE_JAVANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAVANESE
)));
36783 SWIG_Python_SetConstant(d
, "LANGUAGE_KANNADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KANNADA
)));
36784 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI
)));
36785 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI_INDIA
)));
36786 SWIG_Python_SetConstant(d
, "LANGUAGE_KAZAKH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KAZAKH
)));
36787 SWIG_Python_SetConstant(d
, "LANGUAGE_KERNEWEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_KERNEWEK
)));
36788 SWIG_Python_SetConstant(d
, "LANGUAGE_KINYARWANDA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KINYARWANDA
)));
36789 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRGHIZ",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRGHIZ
)));
36790 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRUNDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRUNDI
)));
36791 SWIG_Python_SetConstant(d
, "LANGUAGE_KONKANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KONKANI
)));
36792 SWIG_Python_SetConstant(d
, "LANGUAGE_KOREAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_KOREAN
)));
36793 SWIG_Python_SetConstant(d
, "LANGUAGE_KURDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KURDISH
)));
36794 SWIG_Python_SetConstant(d
, "LANGUAGE_LAOTHIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LAOTHIAN
)));
36795 SWIG_Python_SetConstant(d
, "LANGUAGE_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATIN
)));
36796 SWIG_Python_SetConstant(d
, "LANGUAGE_LATVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATVIAN
)));
36797 SWIG_Python_SetConstant(d
, "LANGUAGE_LINGALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_LINGALA
)));
36798 SWIG_Python_SetConstant(d
, "LANGUAGE_LITHUANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LITHUANIAN
)));
36799 SWIG_Python_SetConstant(d
, "LANGUAGE_MACEDONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MACEDONIAN
)));
36800 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAGASY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAGASY
)));
36801 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY
)));
36802 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAYALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAYALAM
)));
36803 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_BRUNEI_DARUSSALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
)));
36804 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_MALAYSIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_MALAYSIA
)));
36805 SWIG_Python_SetConstant(d
, "LANGUAGE_MALTESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALTESE
)));
36806 SWIG_Python_SetConstant(d
, "LANGUAGE_MANIPURI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MANIPURI
)));
36807 SWIG_Python_SetConstant(d
, "LANGUAGE_MAORI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MAORI
)));
36808 SWIG_Python_SetConstant(d
, "LANGUAGE_MARATHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MARATHI
)));
36809 SWIG_Python_SetConstant(d
, "LANGUAGE_MOLDAVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MOLDAVIAN
)));
36810 SWIG_Python_SetConstant(d
, "LANGUAGE_MONGOLIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MONGOLIAN
)));
36811 SWIG_Python_SetConstant(d
, "LANGUAGE_NAURU",SWIG_From_int(static_cast< int >(wxLANGUAGE_NAURU
)));
36812 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI
)));
36813 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI_INDIA
)));
36814 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_BOKMAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_BOKMAL
)));
36815 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_NYNORSK",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_NYNORSK
)));
36816 SWIG_Python_SetConstant(d
, "LANGUAGE_OCCITAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_OCCITAN
)));
36817 SWIG_Python_SetConstant(d
, "LANGUAGE_ORIYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ORIYA
)));
36818 SWIG_Python_SetConstant(d
, "LANGUAGE_OROMO",SWIG_From_int(static_cast< int >(wxLANGUAGE_OROMO
)));
36819 SWIG_Python_SetConstant(d
, "LANGUAGE_PASHTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_PASHTO
)));
36820 SWIG_Python_SetConstant(d
, "LANGUAGE_POLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_POLISH
)));
36821 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE
)));
36822 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE_BRAZILIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE_BRAZILIAN
)));
36823 SWIG_Python_SetConstant(d
, "LANGUAGE_PUNJABI",SWIG_From_int(static_cast< int >(wxLANGUAGE_PUNJABI
)));
36824 SWIG_Python_SetConstant(d
, "LANGUAGE_QUECHUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_QUECHUA
)));
36825 SWIG_Python_SetConstant(d
, "LANGUAGE_RHAETO_ROMANCE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RHAETO_ROMANCE
)));
36826 SWIG_Python_SetConstant(d
, "LANGUAGE_ROMANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ROMANIAN
)));
36827 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN
)));
36828 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN_UKRAINE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN_UKRAINE
)));
36829 SWIG_Python_SetConstant(d
, "LANGUAGE_SAMOAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SAMOAN
)));
36830 SWIG_Python_SetConstant(d
, "LANGUAGE_SANGHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANGHO
)));
36831 SWIG_Python_SetConstant(d
, "LANGUAGE_SANSKRIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANSKRIT
)));
36832 SWIG_Python_SetConstant(d
, "LANGUAGE_SCOTS_GAELIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SCOTS_GAELIC
)));
36833 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN
)));
36834 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_CYRILLIC
)));
36835 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_LATIN
)));
36836 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBO_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBO_CROATIAN
)));
36837 SWIG_Python_SetConstant(d
, "LANGUAGE_SESOTHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SESOTHO
)));
36838 SWIG_Python_SetConstant(d
, "LANGUAGE_SETSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SETSWANA
)));
36839 SWIG_Python_SetConstant(d
, "LANGUAGE_SHONA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SHONA
)));
36840 SWIG_Python_SetConstant(d
, "LANGUAGE_SINDHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINDHI
)));
36841 SWIG_Python_SetConstant(d
, "LANGUAGE_SINHALESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINHALESE
)));
36842 SWIG_Python_SetConstant(d
, "LANGUAGE_SISWATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SISWATI
)));
36843 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVAK
)));
36844 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVENIAN
)));
36845 SWIG_Python_SetConstant(d
, "LANGUAGE_SOMALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SOMALI
)));
36846 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH
)));
36847 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ARGENTINA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ARGENTINA
)));
36848 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_BOLIVIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_BOLIVIA
)));
36849 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_CHILE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_CHILE
)));
36850 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COLOMBIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COLOMBIA
)));
36851 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COSTA_RICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COSTA_RICA
)));
36852 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_DOMINICAN_REPUBLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
)));
36853 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ECUADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ECUADOR
)));
36854 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_EL_SALVADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_EL_SALVADOR
)));
36855 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_GUATEMALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_GUATEMALA
)));
36856 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_HONDURAS",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_HONDURAS
)));
36857 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MEXICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MEXICAN
)));
36858 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MODERN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MODERN
)));
36859 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_NICARAGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_NICARAGUA
)));
36860 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PANAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PANAMA
)));
36861 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PARAGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PARAGUAY
)));
36862 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PERU",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PERU
)));
36863 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PUERTO_RICO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PUERTO_RICO
)));
36864 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_URUGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_URUGUAY
)));
36865 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_US
)));
36866 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_VENEZUELA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_VENEZUELA
)));
36867 SWIG_Python_SetConstant(d
, "LANGUAGE_SUNDANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SUNDANESE
)));
36868 SWIG_Python_SetConstant(d
, "LANGUAGE_SWAHILI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWAHILI
)));
36869 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH
)));
36870 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH_FINLAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH_FINLAND
)));
36871 SWIG_Python_SetConstant(d
, "LANGUAGE_TAGALOG",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAGALOG
)));
36872 SWIG_Python_SetConstant(d
, "LANGUAGE_TAJIK",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAJIK
)));
36873 SWIG_Python_SetConstant(d
, "LANGUAGE_TAMIL",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAMIL
)));
36874 SWIG_Python_SetConstant(d
, "LANGUAGE_TATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_TATAR
)));
36875 SWIG_Python_SetConstant(d
, "LANGUAGE_TELUGU",SWIG_From_int(static_cast< int >(wxLANGUAGE_TELUGU
)));
36876 SWIG_Python_SetConstant(d
, "LANGUAGE_THAI",SWIG_From_int(static_cast< int >(wxLANGUAGE_THAI
)));
36877 SWIG_Python_SetConstant(d
, "LANGUAGE_TIBETAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIBETAN
)));
36878 SWIG_Python_SetConstant(d
, "LANGUAGE_TIGRINYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIGRINYA
)));
36879 SWIG_Python_SetConstant(d
, "LANGUAGE_TONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TONGA
)));
36880 SWIG_Python_SetConstant(d
, "LANGUAGE_TSONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TSONGA
)));
36881 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKISH
)));
36882 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKMEN
)));
36883 SWIG_Python_SetConstant(d
, "LANGUAGE_TWI",SWIG_From_int(static_cast< int >(wxLANGUAGE_TWI
)));
36884 SWIG_Python_SetConstant(d
, "LANGUAGE_UIGHUR",SWIG_From_int(static_cast< int >(wxLANGUAGE_UIGHUR
)));
36885 SWIG_Python_SetConstant(d
, "LANGUAGE_UKRAINIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UKRAINIAN
)));
36886 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU
)));
36887 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_INDIA
)));
36888 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_PAKISTAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_PAKISTAN
)));
36889 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK
)));
36890 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_CYRILLIC
)));
36891 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_LATIN
)));
36892 SWIG_Python_SetConstant(d
, "LANGUAGE_VIETNAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_VIETNAMESE
)));
36893 SWIG_Python_SetConstant(d
, "LANGUAGE_VOLAPUK",SWIG_From_int(static_cast< int >(wxLANGUAGE_VOLAPUK
)));
36894 SWIG_Python_SetConstant(d
, "LANGUAGE_WELSH",SWIG_From_int(static_cast< int >(wxLANGUAGE_WELSH
)));
36895 SWIG_Python_SetConstant(d
, "LANGUAGE_WOLOF",SWIG_From_int(static_cast< int >(wxLANGUAGE_WOLOF
)));
36896 SWIG_Python_SetConstant(d
, "LANGUAGE_XHOSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_XHOSA
)));
36897 SWIG_Python_SetConstant(d
, "LANGUAGE_YIDDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_YIDDISH
)));
36898 SWIG_Python_SetConstant(d
, "LANGUAGE_YORUBA",SWIG_From_int(static_cast< int >(wxLANGUAGE_YORUBA
)));
36899 SWIG_Python_SetConstant(d
, "LANGUAGE_ZHUANG",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZHUANG
)));
36900 SWIG_Python_SetConstant(d
, "LANGUAGE_ZULU",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZULU
)));
36901 SWIG_Python_SetConstant(d
, "LANGUAGE_USER_DEFINED",SWIG_From_int(static_cast< int >(wxLANGUAGE_USER_DEFINED
)));
36902 SWIG_Python_SetConstant(d
, "LOCALE_CAT_NUMBER",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_NUMBER
)));
36903 SWIG_Python_SetConstant(d
, "LOCALE_CAT_DATE",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_DATE
)));
36904 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MONEY",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MONEY
)));
36905 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MAX",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MAX
)));
36906 SWIG_Python_SetConstant(d
, "LOCALE_THOUSANDS_SEP",SWIG_From_int(static_cast< int >(wxLOCALE_THOUSANDS_SEP
)));
36907 SWIG_Python_SetConstant(d
, "LOCALE_DECIMAL_POINT",SWIG_From_int(static_cast< int >(wxLOCALE_DECIMAL_POINT
)));
36908 SWIG_Python_SetConstant(d
, "LOCALE_LOAD_DEFAULT",SWIG_From_int(static_cast< int >(wxLOCALE_LOAD_DEFAULT
)));
36909 SWIG_Python_SetConstant(d
, "LOCALE_CONV_ENCODING",SWIG_From_int(static_cast< int >(wxLOCALE_CONV_ENCODING
)));
36910 SWIG_Python_SetConstant(d
, "CONVERT_STRICT",SWIG_From_int(static_cast< int >(wxCONVERT_STRICT
)));
36911 SWIG_Python_SetConstant(d
, "CONVERT_SUBSTITUTE",SWIG_From_int(static_cast< int >(wxCONVERT_SUBSTITUTE
)));
36912 SWIG_Python_SetConstant(d
, "PLATFORM_CURRENT",SWIG_From_int(static_cast< int >(wxPLATFORM_CURRENT
)));
36913 SWIG_Python_SetConstant(d
, "PLATFORM_UNIX",SWIG_From_int(static_cast< int >(wxPLATFORM_UNIX
)));
36914 SWIG_Python_SetConstant(d
, "PLATFORM_WINDOWS",SWIG_From_int(static_cast< int >(wxPLATFORM_WINDOWS
)));
36915 SWIG_Python_SetConstant(d
, "PLATFORM_OS2",SWIG_From_int(static_cast< int >(wxPLATFORM_OS2
)));
36916 SWIG_Python_SetConstant(d
, "PLATFORM_MAC",SWIG_From_int(static_cast< int >(wxPLATFORM_MAC
)));
36917 SWIG_Python_SetConstant(d
, "BUFFER_VIRTUAL_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_VIRTUAL_AREA
)));
36918 SWIG_Python_SetConstant(d
, "BUFFER_CLIENT_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_CLIENT_AREA
)));
36919 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_NORMAL
)));
36920 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_TRANSPARENT",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_TRANSPARENT
)));
36921 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_SELECTED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_SELECTED
)));
36922 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_FOCUSED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_FOCUSED
)));
36923 SWIG_Python_SetConstant(d
, "IMAGE_LIST_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_NORMAL
)));
36924 SWIG_Python_SetConstant(d
, "IMAGE_LIST_SMALL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_SMALL
)));
36925 SWIG_Python_SetConstant(d
, "IMAGE_LIST_STATE",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_STATE
)));
36926 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLACK
)));
36927 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLUE
)));
36928 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_CYAN
)));
36929 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREEN
)));
36930 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREY
)));
36931 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_LIGHTGREY
)));
36932 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_MEDIUMGREY
)));
36933 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_RED",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_RED
)));
36934 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_TRANSPARENT
)));
36935 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_WHITE
)));
36936 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLACK
)));
36937 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLUE
)));
36938 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_CYAN
)));
36939 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_GREEN
)));
36940 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_LIGHTGREY
)));
36941 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_RED",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_RED
)));
36942 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_WHITE
)));
36943 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_CROSS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_CROSS
)));
36944 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_HOURGLASS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_HOURGLASS
)));
36945 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_STANDARD",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_STANDARD
)));
36946 SWIG_Python_SetConstant(d
, "StockGDI_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_ITALIC
)));
36947 SWIG_Python_SetConstant(d
, "StockGDI_FONT_NORMAL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_NORMAL
)));
36948 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SMALL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SMALL
)));
36949 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SWISS",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SWISS
)));
36950 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACK
)));
36951 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACKDASHED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACKDASHED
)));
36952 SWIG_Python_SetConstant(d
, "StockGDI_PEN_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_CYAN
)));
36953 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREEN
)));
36954 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREY
)));
36955 SWIG_Python_SetConstant(d
, "StockGDI_PEN_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_LIGHTGREY
)));
36956 SWIG_Python_SetConstant(d
, "StockGDI_PEN_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_MEDIUMGREY
)));
36957 SWIG_Python_SetConstant(d
, "StockGDI_PEN_RED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_RED
)));
36958 SWIG_Python_SetConstant(d
, "StockGDI_PEN_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_TRANSPARENT
)));
36959 SWIG_Python_SetConstant(d
, "StockGDI_PEN_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_WHITE
)));
36960 SWIG_Python_SetConstant(d
, "StockGDI_ITEMCOUNT",SWIG_From_int(static_cast< int >(wxStockGDI::ITEMCOUNT
)));
36961 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
36962 SWIG_addvarlink(SWIG_globals(),(char*)"NullBitmap",NullBitmap_get
, NullBitmap_set
);
36963 SWIG_addvarlink(SWIG_globals(),(char*)"NullIcon",NullIcon_get
, NullIcon_set
);
36964 SWIG_addvarlink(SWIG_globals(),(char*)"NullCursor",NullCursor_get
, NullCursor_set
);
36965 SWIG_addvarlink(SWIG_globals(),(char*)"NullPen",NullPen_get
, NullPen_set
);
36966 SWIG_addvarlink(SWIG_globals(),(char*)"NullBrush",NullBrush_get
, NullBrush_set
);
36967 SWIG_addvarlink(SWIG_globals(),(char*)"NullPalette",NullPalette_get
, NullPalette_set
);
36968 SWIG_addvarlink(SWIG_globals(),(char*)"NullFont",NullFont_get
, NullFont_set
);
36969 SWIG_addvarlink(SWIG_globals(),(char*)"NullColour",NullColour_get
, NullColour_set
);
36970 SWIG_Python_SetConstant(d
, "CONTROL_DISABLED",SWIG_From_int(static_cast< int >(wxCONTROL_DISABLED
)));
36971 SWIG_Python_SetConstant(d
, "CONTROL_FOCUSED",SWIG_From_int(static_cast< int >(wxCONTROL_FOCUSED
)));
36972 SWIG_Python_SetConstant(d
, "CONTROL_PRESSED",SWIG_From_int(static_cast< int >(wxCONTROL_PRESSED
)));
36973 SWIG_Python_SetConstant(d
, "CONTROL_SPECIAL",SWIG_From_int(static_cast< int >(wxCONTROL_SPECIAL
)));
36974 SWIG_Python_SetConstant(d
, "CONTROL_ISDEFAULT",SWIG_From_int(static_cast< int >(wxCONTROL_ISDEFAULT
)));
36975 SWIG_Python_SetConstant(d
, "CONTROL_ISSUBMENU",SWIG_From_int(static_cast< int >(wxCONTROL_ISSUBMENU
)));
36976 SWIG_Python_SetConstant(d
, "CONTROL_EXPANDED",SWIG_From_int(static_cast< int >(wxCONTROL_EXPANDED
)));
36977 SWIG_Python_SetConstant(d
, "CONTROL_SIZEGRIP",SWIG_From_int(static_cast< int >(wxCONTROL_SIZEGRIP
)));
36978 SWIG_Python_SetConstant(d
, "CONTROL_CURRENT",SWIG_From_int(static_cast< int >(wxCONTROL_CURRENT
)));
36979 SWIG_Python_SetConstant(d
, "CONTROL_SELECTED",SWIG_From_int(static_cast< int >(wxCONTROL_SELECTED
)));
36980 SWIG_Python_SetConstant(d
, "CONTROL_CHECKED",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKED
)));
36981 SWIG_Python_SetConstant(d
, "CONTROL_CHECKABLE",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKABLE
)));
36982 SWIG_Python_SetConstant(d
, "CONTROL_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCONTROL_UNDETERMINED
)));
36983 SWIG_Python_SetConstant(d
, "CONTROL_FLAGS_MASK",SWIG_From_int(static_cast< int >(wxCONTROL_FLAGS_MASK
)));
36984 SWIG_Python_SetConstant(d
, "CONTROL_DIRTY",SWIG_From_int(static_cast< int >(wxCONTROL_DIRTY
)));
36985 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_NONE",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_NONE
)));
36986 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_UP",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_UP
)));
36987 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_DOWN",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_DOWN
)));
36988 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Version",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Version
)));
36989 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Age",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Age
)));
36991 // Work around a chicken/egg problem in drawlist.cpp
36992 wxPyDrawList_SetAPIPtr();