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 SWIGINTERNINLINE PyObject
*
2913 SWIG_From_short (short value
)
2915 return SWIG_From_long (value
);
2920 SWIG_AsVal_short (PyObject
* obj
, short *val
)
2923 int res
= SWIG_AsVal_long (obj
, &v
);
2924 if (SWIG_IsOK(res
)) {
2925 if ((v
< SHRT_MIN
|| v
> SHRT_MAX
)) {
2926 return SWIG_OverflowError
;
2928 if (val
) *val
= static_cast< short >(v
);
2935 #include <wx/rawbmp.h>
2938 #include <wx/image.h>
2940 static char** ConvertListOfStrings(PyObject
* listOfStrings
) {
2941 char** cArray
= NULL
;
2944 if (!PyList_Check(listOfStrings
)) {
2945 PyErr_SetString(PyExc_TypeError
, "Expected a list of strings.");
2948 count
= PyList_Size(listOfStrings
);
2949 cArray
= new char*[count
];
2951 for(int x
=0; x
<count
; x
++) {
2952 // TODO: Need some validation and error checking here
2953 cArray
[x
] = PyString_AsString(PyList_GET_ITEM(listOfStrings
, x
));
2959 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*listOfStrings
){
2960 char** cArray
= NULL
;
2963 cArray
= ConvertListOfStrings(listOfStrings
);
2966 bmp
= new wxBitmap(cArray
);
2970 SWIGINTERN wxBitmap
*new_wxBitmap(PyObject
*bits
,int width
,int height
,int depth
=1){
2973 PyString_AsStringAndSize(bits
, &buf
, &length
);
2974 return new wxBitmap(buf
, width
, height
, depth
);
2976 SWIGINTERN wxSize
wxBitmap_GetSize(wxBitmap
*self
){
2977 wxSize
size(self
->GetWidth(), self
->GetHeight());
2980 SWIGINTERN
void wxBitmap_SetMaskColour(wxBitmap
*self
,wxColour
const &colour
){
2981 wxMask
*mask
= new wxMask(*self
, colour
);
2982 self
->SetMask(mask
);
2984 SWIGINTERN
void wxBitmap_SetSize(wxBitmap
*self
,wxSize
const &size
){
2985 self
->SetWidth(size
.x
);
2986 self
->SetHeight(size
.y
);
2988 SWIGINTERN
bool wxBitmap___eq__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
== *other
) : false; }
2989 SWIGINTERN
bool wxBitmap___ne__(wxBitmap
*self
,wxBitmap
const *other
){ return other
? (*self
!= *other
) : true; }
2991 // See http://tinyurl.com/e5adr for what premultiplying alpha means. It
2992 // appears to me that the other platforms are already doing it, so I'll just
2993 // automatically do it for wxMSW here.
2995 #define wxPy_premultiply(p, a) ((p) * (a) / 0xff)
2996 #define wxPy_unpremultiply(p, a) ((a) ? ((p) * 0xff / (a)) : (p))
2998 #define wxPy_premultiply(p, a) (p)
2999 #define wxPy_unpremultiply(p, a) (p)
3003 wxBitmap
* _BitmapFromBufferAlpha(int width
, int height
,
3004 buffer data
, int DATASIZE
,
3005 buffer alpha
, int ALPHASIZE
)
3007 if (DATASIZE
!= width
*height
*3) {
3008 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3012 if (ALPHASIZE
!= width
*height
) {
3013 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
3017 wxBitmap
* bmp
= new wxBitmap(width
, height
, 32);
3018 wxAlphaPixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3020 // raise an exception...
3021 wxPyErr_SetString(PyExc_RuntimeError
,
3022 "Failed to gain raw access to bitmap data.");
3027 wxAlphaPixelData::Iterator
p(pixData
);
3028 for (int y
=0; y
<height
; y
++) {
3029 wxAlphaPixelData::Iterator rowStart
= p
;
3030 for (int x
=0; x
<width
; x
++) {
3031 byte a
= *(alpha
++);
3032 p
.Red() = wxPy_premultiply(*(data
++), a
);
3033 p
.Green() = wxPy_premultiply(*(data
++), a
);
3034 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3039 p
.OffsetY(pixData
, 1);
3044 wxBitmap
* _BitmapFromBuffer(int width
, int height
, buffer data
, int DATASIZE
)
3046 if (DATASIZE
!= width
*height
*3) {
3047 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3051 wxBitmap
* bmp
= new wxBitmap(width
, height
, 24);
3052 wxNativePixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3054 // raise an exception...
3055 wxPyErr_SetString(PyExc_RuntimeError
,
3056 "Failed to gain raw access to bitmap data.");
3060 wxNativePixelData::Iterator
p(pixData
);
3061 for (int y
=0; y
<height
; y
++) {
3062 wxNativePixelData::Iterator rowStart
= p
;
3063 for (int x
=0; x
<width
; x
++) {
3064 p
.Red() = *(data
++);
3065 p
.Green() = *(data
++);
3066 p
.Blue() = *(data
++);
3070 p
.OffsetY(pixData
, 1);
3076 wxBitmap
* _BitmapFromBufferRGBA(int width
, int height
, buffer data
, int DATASIZE
)
3078 if (DATASIZE
!= width
*height
*4) {
3079 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3083 wxBitmap
* bmp
= new wxBitmap(width
, height
, 32);
3084 wxAlphaPixelData
pixData(*bmp
, wxPoint(0,0), wxSize(width
,height
));
3086 // raise an exception...
3087 wxPyErr_SetString(PyExc_RuntimeError
,
3088 "Failed to gain raw access to bitmap data.");
3093 wxAlphaPixelData::Iterator
p(pixData
);
3094 for (int y
=0; y
<height
; y
++) {
3095 wxAlphaPixelData::Iterator rowStart
= p
;
3096 for (int x
=0; x
<width
; x
++) {
3098 p
.Red() = wxPy_premultiply(*(data
++), a
);
3099 p
.Green() = wxPy_premultiply(*(data
++), a
);
3100 p
.Blue() = wxPy_premultiply(*(data
++), a
);
3101 p
.Alpha() = a
; data
++;
3105 p
.OffsetY(pixData
, 1);
3111 typedef wxNativePixelData::Iterator wxNativePixelData_Accessor
;
3113 SWIGINTERN
bool wxNativePixelData___nonzero__(wxNativePixelData
*self
){ return self
->operator bool(); }
3114 SWIGINTERN
void wxNativePixelData_Accessor_nextPixel(wxNativePixelData_Accessor
*self
){ ++(*self
); }
3115 SWIGINTERN
void wxNativePixelData_Accessor_Set(wxNativePixelData_Accessor
*self
,byte red
,byte green
,byte blue
){
3117 self
->Green() = green
;
3118 self
->Blue() = blue
;
3120 SWIGINTERN PyObject
*wxNativePixelData_Accessor_Get(wxNativePixelData_Accessor
*self
){
3121 PyObject
* rv
= PyTuple_New(3);
3122 PyTuple_SetItem(rv
, 0, PyInt_FromLong(self
->Red()));
3123 PyTuple_SetItem(rv
, 1, PyInt_FromLong(self
->Green()));
3124 PyTuple_SetItem(rv
, 2, PyInt_FromLong(self
->Blue()));
3128 typedef wxAlphaPixelData::Iterator wxAlphaPixelData_Accessor
;
3130 SWIGINTERN
bool wxAlphaPixelData___nonzero__(wxAlphaPixelData
*self
){ return self
->operator bool(); }
3131 SWIGINTERN
void wxAlphaPixelData_Accessor_nextPixel(wxAlphaPixelData_Accessor
*self
){ ++(*self
); }
3132 SWIGINTERN
void wxAlphaPixelData_Accessor_Set(wxAlphaPixelData_Accessor
*self
,byte red
,byte green
,byte blue
,byte alpha
){
3133 self
->Red() = wxPy_premultiply(red
, alpha
);
3134 self
->Green() = wxPy_premultiply(green
, alpha
);
3135 self
->Blue() = wxPy_premultiply(blue
, alpha
);
3136 self
->Alpha() = alpha
;
3138 SWIGINTERN PyObject
*wxAlphaPixelData_Accessor_Get(wxAlphaPixelData_Accessor
*self
){
3139 PyObject
* rv
= PyTuple_New(4);
3140 int red
= self
->Red();
3141 int green
= self
->Green();
3142 int blue
= self
->Blue();
3143 int alpha
= self
->Alpha();
3145 PyTuple_SetItem(rv
, 0, PyInt_FromLong( wxPy_unpremultiply(red
, alpha
) ));
3146 PyTuple_SetItem(rv
, 1, PyInt_FromLong( wxPy_unpremultiply(green
, alpha
) ));
3147 PyTuple_SetItem(rv
, 2, PyInt_FromLong( wxPy_unpremultiply(blue
, alpha
) ));
3148 PyTuple_SetItem(rv
, 3, PyInt_FromLong( alpha
));
3151 SWIGINTERN wxMask
*new_wxMask(wxBitmap
const &bitmap
,wxColour
const &colour
=wxNullColour
){
3152 if ( !colour
.IsOk() )
3153 return new wxMask(bitmap
, *wxBLACK
);
3155 return new wxMask(bitmap
, colour
);
3158 #include <wx/iconbndl.h>
3160 SWIGINTERN wxIcon
*new_wxIcon(wxBitmap
const &bmp
){
3161 wxIcon
* icon
= new wxIcon();
3162 icon
->CopyFromBitmap(bmp
);
3165 SWIGINTERN wxIcon
*new_wxIcon(PyObject
*listOfStrings
){
3166 char** cArray
= NULL
;
3169 cArray
= ConvertListOfStrings(listOfStrings
);
3172 icon
= new wxIcon(cArray
);
3176 SWIGINTERN wxIconLocation
*new_wxIconLocation(wxString
const *filename
=&wxPyEmptyString
,int num
=0){
3180 return new wxIconLocation(*filename
);
3183 SWIGINTERN
void wxIconLocation_SetIndex(wxIconLocation
*self
,int num
){
3190 SWIGINTERN
int wxIconLocation_GetIndex(wxIconLocation
*self
){
3197 SWIGINTERN wxCursor
*new_wxCursor(wxString
const &cursorName
,long type
,int hotSpotX
=0,int hotSpotY
=0){
3199 wxImage
img(cursorName
, type
);
3200 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_X
, hotSpotX
);
3201 img
.SetOption(wxIMAGE_OPTION_CUR_HOTSPOT_Y
, hotSpotY
);
3202 return new wxCursor(img
);
3204 return new wxCursor(cursorName
, type
, hotSpotX
, hotSpotY
);
3209 SWIGINTERN
void wxRegionIterator_Next(wxRegionIterator
*self
){
3212 SWIGINTERN
bool wxRegionIterator___nonzero__(wxRegionIterator
*self
){
3213 return self
->operator bool();
3216 #include <wx/fontutil.h>
3217 #include <wx/fontmap.h>
3218 #include <wx/fontenum.h>
3220 SWIGINTERN wxString
wxNativeFontInfo___str__(wxNativeFontInfo
*self
){
3221 return self
->ToString();
3224 wxNativeEncodingInfo
* wxGetNativeFontEncoding(wxFontEncoding encoding
) {
3225 static wxNativeEncodingInfo info
;
3226 if ( wxGetNativeFontEncoding(encoding
, &info
) )
3233 SWIGINTERNINLINE PyObject
*
3234 SWIG_From_size_t (size_t value
)
3236 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
3240 SWIGINTERNINLINE
int
3241 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
3244 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
3245 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
3249 SWIGINTERN PyObject
*wxFontMapper_GetAltForEncoding(wxFontMapper
*self
,wxFontEncoding encoding
,wxString
const &facename
=wxPyEmptyString
,bool interactive
=true){
3250 wxFontEncoding alt_enc
;
3251 if (self
->GetAltForEncoding(encoding
, &alt_enc
, facename
, interactive
))
3252 return PyInt_FromLong(alt_enc
);
3258 SWIGINTERN wxFont
*new_wxFont(wxString
const &info
){
3259 wxNativeFontInfo nfi
;
3260 nfi
.FromString(info
);
3261 return new wxFont(nfi
);
3263 SWIGINTERN wxFont
*new_wxFont(int pointSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxPyEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3264 return wxFont::New(pointSize
, family
, flags
, face
, encoding
);
3266 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,int family
,int style
,int weight
,bool underlined
=false,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3267 return wxFontBase::New(pixelSize
, family
,
3268 style
, weight
, underlined
,
3271 SWIGINTERN wxFont
*new_wxFont(wxSize
const &pixelSize
,wxFontFamily family
,int flags
=wxFONTFLAG_DEFAULT
,wxString
const &face
=wxEmptyString
,wxFontEncoding encoding
=wxFONTENCODING_DEFAULT
){
3272 return wxFontBase::New(pixelSize
, family
, flags
, face
, encoding
);
3274 SWIGINTERN
bool wxFont___eq__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
== *other
) : false; }
3275 SWIGINTERN
bool wxFont___ne__(wxFont
*self
,wxFont
const *other
){ return other
? (*self
!= *other
) : true; }
3277 class wxPyFontEnumerator
: public wxFontEnumerator
{
3279 wxPyFontEnumerator() {}
3280 ~wxPyFontEnumerator() {}
3282 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
3283 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
3288 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
3289 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
3292 SWIGINTERN PyObject
*wxPyFontEnumerator_GetEncodings(){
3294 wxArrayString arr
= wxFontEnumerator::GetEncodings();
3295 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3296 ret
= wxArrayString2PyList_helper(arr
);
3297 wxPyEndBlockThreads(blocked
);
3300 SWIGINTERN PyObject
*wxPyFontEnumerator_GetFacenames(){
3302 wxArrayString arr
= wxFontEnumerator::GetFacenames();
3303 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3304 ret
= wxArrayString2PyList_helper(arr
);
3305 wxPyEndBlockThreads(blocked
);
3311 SWIGINTERN wxLocale
*new_wxLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3314 loc
= new wxLocale();
3316 loc
= new wxLocale(language
, flags
);
3317 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3318 // for the floating point conversions and such to work right.
3319 #if PY_VERSION_HEX < 0x02040000
3320 setlocale(LC_NUMERIC
, "C");
3324 SWIGINTERN
bool wxLocale_Init1(wxLocale
*self
,wxString
const &szName
,wxString
const &szShort
=wxPyEmptyString
,wxString
const &szLocale
=wxPyEmptyString
,bool bLoadDefault
=true,bool bConvertEncoding
=false){
3325 bool rc
= self
->Init(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
);
3326 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3327 // for the floating point conversions and such to work right.
3328 #if PY_VERSION_HEX < 0x02040000
3329 setlocale(LC_NUMERIC
, "C");
3333 SWIGINTERN
bool wxLocale_Init2(wxLocale
*self
,int language
=wxLANGUAGE_DEFAULT
,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3334 bool rc
= self
->Init(language
, flags
);
3335 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3336 // for the floating point conversions and such to work right.
3337 #if PY_VERSION_HEX < 0x02040000
3338 setlocale(LC_NUMERIC
, "C");
3343 class wxPyLocale
: public wxLocale
3348 wxPyLocale(const wxChar
*szName
, // name (for messages)
3349 const wxChar
*szShort
= (const wxChar
*) NULL
, // dir prefix (for msg files)
3350 const wxChar
*szLocale
= (const wxChar
*) NULL
, // locale (for setlocale)
3351 bool bLoadDefault
= true, // preload wxstd.mo?
3352 bool bConvertEncoding
= false); // convert Win<->Unix if necessary?
3354 wxPyLocale(int language
, // wxLanguage id or custom language
3355 int flags
= wxLOCALE_LOAD_DEFAULT
| wxLOCALE_CONV_ENCODING
);
3359 virtual const wxChar
*GetString(const wxChar
*szOrigString
,
3360 const wxChar
*szDomain
= NULL
) const;
3361 virtual const wxChar
*GetString(const wxChar
*szOrigString
,
3362 const wxChar
*szOrigString2
, size_t n
,
3363 const wxChar
*szDomain
= NULL
) const;
3365 virtual wxChar
*GetSingularString(const wxChar
*szOrigString
,
3366 const wxChar
*szDomain
= NULL
) const;
3367 virtual wxChar
*GetPluralString(const wxChar
*szOrigString
,
3368 const wxChar
*szOrigString2
, size_t n
,
3369 const wxChar
*szDomain
= NULL
) const;
3373 DECLARE_NO_COPY_CLASS(wxPyLocale
)
3376 wxPyLocale::wxPyLocale() : wxLocale()
3380 wxPyLocale::wxPyLocale(const wxChar
*szName
, // name (for messages)
3381 const wxChar
*szShort
, // dir prefix (for msg files)
3382 const wxChar
*szLocale
, // locale (for setlocale)
3383 bool bLoadDefault
, // preload wxstd.mo?
3384 bool bConvertEncoding
) // convert Win<->Unix if necessary?
3385 : wxLocale(szName
, szShort
, szLocale
, bLoadDefault
, bConvertEncoding
)
3389 wxPyLocale::wxPyLocale(int language
, // wxLanguage id or custom language
3390 int flags
) : wxLocale(language
, flags
)
3394 wxPyLocale::~wxPyLocale()
3398 const wxChar
*wxPyLocale::GetString(const wxChar
*szOrigString
,
3399 const wxChar
*szDomain
) const
3401 wxChar
*str
= GetSingularString(szOrigString
, szDomain
);
3402 return (str
!= NULL
) ? str
: wxLocale::GetString(szOrigString
, szDomain
);
3405 const wxChar
*wxPyLocale::GetString(const wxChar
*szOrigString
,
3406 const wxChar
*szOrigString2
, size_t n
,
3407 const wxChar
*szDomain
) const
3409 wxChar
*str
= GetPluralString(szOrigString
, szOrigString2
, n
, szDomain
);
3410 return (str
!= NULL
) ? str
: wxLocale::GetString(szOrigString
, szOrigString2
, n
, szDomain
);
3413 wxChar
*wxPyLocale::GetSingularString(const wxChar
*szOrigString
,
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
, "GetSingularString"))) {
3421 PyObject
* param1
= wx2PyString(szOrigString
);
3422 PyObject
* param2
= wx2PyString(szDomain
);
3423 PyObject
* ret
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OO)", param1
, param2
));
3427 str
= Py2wxString(ret
);
3431 wxPyEndBlockThreads(blocked
);
3432 return (found
? (wxChar
*)str
.c_str() : NULL
);
3435 wxChar
*wxPyLocale::GetPluralString(const wxChar
*szOrigString
,
3436 const wxChar
*szOrigString2
, size_t n
,
3437 const wxChar
*szDomain
) const
3440 static wxString str
;
3441 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.
3442 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3443 if((found
=wxPyCBH_findCallback(m_myInst
, "GetPluralString"))) {
3444 PyObject
* param1
= wx2PyString(szOrigString
);
3445 PyObject
* param2
= wx2PyString(szOrigString2
);
3446 PyObject
* param4
= wx2PyString(szDomain
);
3447 PyObject
* ret
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOiO)", param1
, param2
, (int)n
, param4
));
3452 str
= Py2wxString(ret
);
3456 wxPyEndBlockThreads(blocked
);
3457 return (found
? (wxChar
*)str
.c_str() : NULL
);
3460 SWIGINTERN wxPyLocale
*new_wxPyLocale(int language
=-1,int flags
=wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
){
3463 loc
= new wxPyLocale();
3465 loc
= new wxPyLocale(language
, flags
);
3466 // Python before 2.4 needs to have LC_NUMERIC set to "C" in order
3467 // for the floating point conversions and such to work right.
3468 #if PY_VERSION_HEX < 0x02040000
3469 setlocale(LC_NUMERIC
, "C");
3474 #include "wx/wxPython/pydrawxxx.h"
3476 SWIGINTERN wxColour
wxDC_GetPixel(wxDC
*self
,int x
,int y
){
3478 self
->GetPixel(x
, y
, &col
);
3481 SWIGINTERN wxColour
wxDC_GetPixelPoint(wxDC
*self
,wxPoint
const &pt
){
3483 self
->GetPixel(pt
, &col
);
3488 SWIG_AsVal_double (PyObject
*obj
, double* val
)
3490 if (PyNumber_Check(obj
)) {
3491 if (val
) *val
= PyFloat_AsDouble(obj
);
3494 return SWIG_TypeError
;
3497 SWIGINTERN wxRect
wxDC_DrawImageLabel(wxDC
*self
,wxString
const &text
,wxBitmap
const &image
,wxRect
const &rect
,int alignment
=wxALIGN_LEFT
|wxALIGN_TOP
,int indexAccel
=-1){
3499 self
->DrawLabel(text
, image
, rect
, alignment
, indexAccel
, &rv
);
3502 SWIGINTERN wxRect
wxDC_GetClippingRect(wxDC
*self
){
3504 self
->GetClippingBox(rect
);
3507 SWIGINTERN wxArrayInt
wxDC_GetPartialTextExtents(wxDC
*self
,wxString
const &text
){
3509 self
->GetPartialTextExtents(text
, widths
);
3513 #define SWIG_From_double PyFloat_FromDouble
3515 SWIGINTERN
void wxDC_SetLogicalOriginPoint(wxDC
*self
,wxPoint
const &point
){
3516 self
->SetLogicalOrigin(point
.x
, point
.y
);
3518 SWIGINTERN
void wxDC_SetDeviceOriginPoint(wxDC
*self
,wxPoint
const &point
){
3519 self
->SetDeviceOrigin(point
.x
, point
.y
);
3521 SWIGINTERN
void wxDC_CalcBoundingBoxPoint(wxDC
*self
,wxPoint
const &point
){
3522 self
->CalcBoundingBox(point
.x
, point
.y
);
3524 SWIGINTERN PyObject
*wxDC__DrawPointList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3525 return wxPyDrawXXXList(*self
, wxPyDrawXXXPoint
, pyCoords
, pyPens
, pyBrushes
);
3527 SWIGINTERN PyObject
*wxDC__DrawLineList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3528 return wxPyDrawXXXList(*self
, wxPyDrawXXXLine
, pyCoords
, pyPens
, pyBrushes
);
3530 SWIGINTERN PyObject
*wxDC__DrawRectangleList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3531 return wxPyDrawXXXList(*self
, wxPyDrawXXXRectangle
, pyCoords
, pyPens
, pyBrushes
);
3533 SWIGINTERN PyObject
*wxDC__DrawEllipseList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3534 return wxPyDrawXXXList(*self
, wxPyDrawXXXEllipse
, pyCoords
, pyPens
, pyBrushes
);
3536 SWIGINTERN PyObject
*wxDC__DrawPolygonList(wxDC
*self
,PyObject
*pyCoords
,PyObject
*pyPens
,PyObject
*pyBrushes
){
3537 return wxPyDrawXXXList(*self
, wxPyDrawXXXPolygon
, pyCoords
, pyPens
, pyBrushes
);
3539 SWIGINTERN PyObject
*wxDC__DrawTextList(wxDC
*self
,PyObject
*textList
,PyObject
*pyPoints
,PyObject
*foregroundList
,PyObject
*backgroundList
){
3540 return wxPyDrawTextList(*self
, textList
, pyPoints
, foregroundList
, backgroundList
);
3543 static void wxDC_GetBoundingBox(wxDC
* dc
, int* x1
, int* y1
, int* x2
, int* y2
) {
3551 #include <wx/dcbuffer.h>
3554 #include <wx/dcps.h>
3557 #include <wx/metafile.h>
3560 #include <wx/graphics.h>
3563 #if !wxUSE_GRAPHICS_CONTEXT
3564 // C++ stub classes for platforms that don't have wxGraphicsContext yet.
3566 class wxGraphicsPath
3570 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3571 PyErr_SetString(PyExc_NotImplementedError
,
3572 "wxGraphicsPath is not available on this platform.");
3573 wxPyEndBlockThreads(blocked
);
3575 virtual ~wxGraphicsPath() {}
3577 void MoveToPoint( wxDouble
, wxDouble
) {}
3578 void AddLineToPoint( wxDouble
, wxDouble
) {}
3579 void AddCurveToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3580 void CloseSubpath() {}
3581 void GetCurrentPoint( wxDouble
&, wxDouble
&) {}
3582 void AddArc( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
, bool ) {}
3584 void AddQuadCurveToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3585 void AddRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3586 void AddCircle( wxDouble
, wxDouble
, wxDouble
) {}
3587 void AddArcToPoint( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3589 wxPoint2DDouble
GetCurrentPoint() { return wxPoint2DDouble(0,0); }
3590 void MoveToPoint( const wxPoint2DDouble
& ) {}
3591 void AddLineToPoint( const wxPoint2DDouble
&) {}
3592 void AddCurveToPoint( const wxPoint2DDouble
&, const wxPoint2DDouble
&, const wxPoint2DDouble
&) {}
3593 void AddArc( const wxPoint2DDouble
&, wxDouble
, wxDouble
, wxDouble
, bool) {}
3597 class wxGraphicsContext
3600 wxGraphicsContext() {
3601 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3602 PyErr_SetString(PyExc_NotImplementedError
,
3603 "wxGraphicsContext is not available on this platform.");
3604 wxPyEndBlockThreads(blocked
);
3606 virtual ~wxGraphicsContext() {}
3608 static wxGraphicsContext
* Create( const wxWindowDC
&) {
3609 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3610 PyErr_SetString(PyExc_NotImplementedError
,
3611 "wxGraphicsPath is not available on this platform.");
3612 wxPyEndBlockThreads(blocked
);
3616 wxGraphicsPath
* CreatePath() { return NULL
; }
3619 void Clip( const wxRegion
& ) {}
3620 void Translate( wxDouble
, wxDouble
) {}
3621 void Scale( wxDouble
, wxDouble
) {}
3622 void Rotate( wxDouble
) {}
3623 void SetPen( const wxPen
& ) {}
3624 void SetBrush( const wxBrush
& ) {}
3625 void SetLinearGradientBrush( wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3626 const wxColour
&, const wxColour
&) {}
3627 void SetRadialGradientBrush( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
,
3628 const wxColour
&, const wxColour
&) {}
3629 void SetFont( const wxFont
& ) {}
3630 void SetTextColor( const wxColour
& ) {}
3631 void StrokePath( const wxGraphicsPath
* ) {}
3632 void FillPath( const wxGraphicsPath
*, int ) {}
3633 void DrawPath( const wxGraphicsPath
*, int ) {}
3634 void DrawText( const wxString
&, wxDouble
, wxDouble
) {}
3635 void DrawText( const wxString
&, wxDouble
, wxDouble
, wxDouble
) {}
3636 void GetTextExtent( const wxString
&, wxDouble
*, wxDouble
*,
3637 wxDouble
*, wxDouble
* ) const {}
3638 void GetPartialTextExtents(const wxString
& , wxArrayDouble
& ) const {}
3639 void DrawBitmap( const wxBitmap
&, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3640 void DrawIcon( const wxIcon
&, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3641 void StrokeLine( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3642 void StrokeLines( size_t , const wxPoint2DDouble
*) {}
3643 void StrokeLines( size_t , const wxPoint2DDouble
*, const wxPoint2DDouble
*) {}
3644 void DrawLines( size_t , const wxPoint2DDouble
*, int ) {}
3645 void DrawRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3646 void DrawEllipse( wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3647 void DrawRoundedRectangle( wxDouble
, wxDouble
, wxDouble
, wxDouble
, wxDouble
) {}
3651 class wxGCDC
: public wxWindowDC
3654 wxGCDC(const wxWindowDC
&) {
3655 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3656 PyErr_SetString(PyExc_NotImplementedError
,
3657 "wxGCDC is not available on this platform.");
3658 wxPyEndBlockThreads(blocked
);
3662 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3663 PyErr_SetString(PyExc_NotImplementedError
,
3664 "wxGCDC is not available on this platform.");
3665 wxPyEndBlockThreads(blocked
);
3668 virtual ~wxGCDC() {}
3670 wxGraphicsContext
* GetGraphicContext() { return NULL
; }
3675 SWIGINTERN wxArrayDouble
wxGraphicsContext_GetPartialTextExtents(wxGraphicsContext
*self
,wxString
const &text
){
3676 wxArrayDouble widths
;
3677 self
->GetPartialTextExtents(text
, widths
);
3680 SWIGINTERN
void wxGraphicsContext_StrokeDisconnectedLines(wxGraphicsContext
*self
,PyObject
*beginPoints
,PyObject
*endPoints
){
3681 size_t c1
, c2
, count
;
3682 wxPoint2D
* beginP
= wxPoint2D_LIST_helper(beginPoints
, &c1
);
3683 wxPoint2D
* endP
= wxPoint2D_LIST_helper(endPoints
, &c2
);
3685 if ( beginP
!= NULL
&& endP
!= NULL
)
3687 count
= wxMin(c1
, c2
);
3688 self
->StrokeLines(count
, beginP
, endP
);
3695 SWIGINTERN
void wxColourDatabase_Append(wxColourDatabase
*self
,wxString
const &name
,int red
,int green
,int blue
){
3696 self
->AddColour(name
, wxColour(red
, green
, blue
));
3699 wxFontList
* _wxPyInitTheFontList() { return wxTheFontList
; }
3700 wxPenList
* _wxPyInitThePenList() { return wxThePenList
; }
3701 wxBrushList
* _wxPyInitTheBrushList() { return wxTheBrushList
; }
3702 wxColourDatabase
* _wxPyInitTheColourDatabase() { return wxTheColourDatabase
; }
3705 #include <wx/effects.h>
3708 #include "wx/renderer.h"
3711 SWIGINTERNINLINE PyObject
*
3712 SWIG_From_bool (bool value
)
3714 return PyBool_FromLong(value
? 1 : 0);
3718 #include "wx/wxPython/pseudodc.h"
3720 SWIGINTERN wxRect
wxPseudoDC_GetIdBounds(wxPseudoDC
*self
,int id
){
3722 self
->GetIdBounds(id
, rect
);
3728 SWIGINTERN PyObject
*_wrap_new_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3729 PyObject
*resultobj
= 0;
3730 wxGDIObject
*result
= 0 ;
3732 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObject",0,0,0)) SWIG_fail
;
3734 if (!wxPyCheckForApp()) SWIG_fail
;
3735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3736 result
= (wxGDIObject
*)new wxGDIObject();
3737 wxPyEndAllowThreads(__tstate
);
3738 if (PyErr_Occurred()) SWIG_fail
;
3740 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_NEW
| 0 );
3747 SWIGINTERN PyObject
*_wrap_delete_GDIObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3748 PyObject
*resultobj
= 0;
3749 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
3752 PyObject
*swig_obj
[1] ;
3754 if (!args
) SWIG_fail
;
3756 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, SWIG_POINTER_DISOWN
| 0 );
3757 if (!SWIG_IsOK(res1
)) {
3758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObject" "', expected argument " "1"" of type '" "wxGDIObject *""'");
3760 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
3762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3765 wxPyEndAllowThreads(__tstate
);
3766 if (PyErr_Occurred()) SWIG_fail
;
3768 resultobj
= SWIG_Py_Void();
3775 SWIGINTERN PyObject
*_wrap_GDIObject_IsNull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3776 PyObject
*resultobj
= 0;
3777 wxGDIObject
*arg1
= (wxGDIObject
*) 0 ;
3781 PyObject
*swig_obj
[1] ;
3783 if (!args
) SWIG_fail
;
3785 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObject
, 0 | 0 );
3786 if (!SWIG_IsOK(res1
)) {
3787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GDIObject_IsNull" "', expected argument " "1"" of type '" "wxGDIObject *""'");
3789 arg1
= reinterpret_cast< wxGDIObject
* >(argp1
);
3791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3792 result
= (bool)(arg1
)->IsNull();
3793 wxPyEndAllowThreads(__tstate
);
3794 if (PyErr_Occurred()) SWIG_fail
;
3797 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3805 SWIGINTERN PyObject
*GDIObject_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3807 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3808 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObject
, SWIG_NewClientData(obj
));
3809 return SWIG_Py_Void();
3812 SWIGINTERN PyObject
*GDIObject_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3813 return SWIG_Python_InitShadowInstance(args
);
3816 SWIGINTERN PyObject
*_wrap_new_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3817 PyObject
*resultobj
= 0;
3818 byte arg1
= (byte
) 0 ;
3819 byte arg2
= (byte
) 0 ;
3820 byte arg3
= (byte
) 0 ;
3821 byte arg4
= (byte
) wxALPHA_OPAQUE
;
3822 wxColour
*result
= 0 ;
3823 unsigned char val1
;
3825 unsigned char val2
;
3827 unsigned char val3
;
3829 unsigned char val4
;
3831 PyObject
* obj0
= 0 ;
3832 PyObject
* obj1
= 0 ;
3833 PyObject
* obj2
= 0 ;
3834 PyObject
* obj3
= 0 ;
3835 char * kwnames
[] = {
3836 (char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
3839 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Colour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
3841 ecode1
= SWIG_AsVal_unsigned_SS_char(obj0
, &val1
);
3842 if (!SWIG_IsOK(ecode1
)) {
3843 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Colour" "', expected argument " "1"" of type '" "byte""'");
3845 arg1
= static_cast< byte
>(val1
);
3848 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
3849 if (!SWIG_IsOK(ecode2
)) {
3850 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Colour" "', expected argument " "2"" of type '" "byte""'");
3852 arg2
= static_cast< byte
>(val2
);
3855 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
3856 if (!SWIG_IsOK(ecode3
)) {
3857 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Colour" "', expected argument " "3"" of type '" "byte""'");
3859 arg3
= static_cast< byte
>(val3
);
3862 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
3863 if (!SWIG_IsOK(ecode4
)) {
3864 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Colour" "', expected argument " "4"" of type '" "byte""'");
3866 arg4
= static_cast< byte
>(val4
);
3869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3870 result
= (wxColour
*)new wxColour(arg1
,arg2
,arg3
,arg4
);
3871 wxPyEndAllowThreads(__tstate
);
3872 if (PyErr_Occurred()) SWIG_fail
;
3874 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_NEW
| 0 );
3881 SWIGINTERN PyObject
*_wrap_new_NamedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3882 PyObject
*resultobj
= 0;
3883 wxString
*arg1
= 0 ;
3884 wxColour
*result
= 0 ;
3885 bool temp1
= false ;
3886 PyObject
* obj0
= 0 ;
3887 char * kwnames
[] = {
3888 (char *) "colorName", NULL
3891 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NamedColour",kwnames
,&obj0
)) SWIG_fail
;
3893 arg1
= wxString_in_helper(obj0
);
3894 if (arg1
== NULL
) SWIG_fail
;
3898 if (!wxPyCheckForApp()) SWIG_fail
;
3899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3900 result
= (wxColour
*)new wxColour((wxString
const &)*arg1
);
3901 wxPyEndAllowThreads(__tstate
);
3902 if (PyErr_Occurred()) SWIG_fail
;
3904 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
3919 SWIGINTERN PyObject
*_wrap_new_ColourRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3920 PyObject
*resultobj
= 0;
3921 unsigned long arg1
;
3922 wxColour
*result
= 0 ;
3923 unsigned long val1
;
3925 PyObject
* obj0
= 0 ;
3926 char * kwnames
[] = {
3927 (char *) "colRGB", NULL
3930 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ColourRGB",kwnames
,&obj0
)) SWIG_fail
;
3931 ecode1
= SWIG_AsVal_unsigned_SS_long(obj0
, &val1
);
3932 if (!SWIG_IsOK(ecode1
)) {
3933 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ColourRGB" "', expected argument " "1"" of type '" "unsigned long""'");
3935 arg1
= static_cast< unsigned long >(val1
);
3937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3938 result
= (wxColour
*)new wxColour(arg1
);
3939 wxPyEndAllowThreads(__tstate
);
3940 if (PyErr_Occurred()) SWIG_fail
;
3942 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
3949 SWIGINTERN PyObject
*_wrap_delete_Colour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3950 PyObject
*resultobj
= 0;
3951 wxColour
*arg1
= (wxColour
*) 0 ;
3954 PyObject
*swig_obj
[1] ;
3956 if (!args
) SWIG_fail
;
3958 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, SWIG_POINTER_DISOWN
| 0 );
3959 if (!SWIG_IsOK(res1
)) {
3960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Colour" "', expected argument " "1"" of type '" "wxColour *""'");
3962 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3967 wxPyEndAllowThreads(__tstate
);
3968 if (PyErr_Occurred()) SWIG_fail
;
3970 resultobj
= SWIG_Py_Void();
3977 SWIGINTERN PyObject
*_wrap_Colour_Red(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3978 PyObject
*resultobj
= 0;
3979 wxColour
*arg1
= (wxColour
*) 0 ;
3983 PyObject
*swig_obj
[1] ;
3985 if (!args
) SWIG_fail
;
3987 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
3988 if (!SWIG_IsOK(res1
)) {
3989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Red" "', expected argument " "1"" of type '" "wxColour *""'");
3991 arg1
= reinterpret_cast< wxColour
* >(argp1
);
3993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3994 result
= (byte
)(arg1
)->Red();
3995 wxPyEndAllowThreads(__tstate
);
3996 if (PyErr_Occurred()) SWIG_fail
;
3998 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4005 SWIGINTERN PyObject
*_wrap_Colour_Green(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4006 PyObject
*resultobj
= 0;
4007 wxColour
*arg1
= (wxColour
*) 0 ;
4011 PyObject
*swig_obj
[1] ;
4013 if (!args
) SWIG_fail
;
4015 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4016 if (!SWIG_IsOK(res1
)) {
4017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Green" "', expected argument " "1"" of type '" "wxColour *""'");
4019 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4022 result
= (byte
)(arg1
)->Green();
4023 wxPyEndAllowThreads(__tstate
);
4024 if (PyErr_Occurred()) SWIG_fail
;
4026 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4033 SWIGINTERN PyObject
*_wrap_Colour_Blue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4034 PyObject
*resultobj
= 0;
4035 wxColour
*arg1
= (wxColour
*) 0 ;
4039 PyObject
*swig_obj
[1] ;
4041 if (!args
) SWIG_fail
;
4043 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4044 if (!SWIG_IsOK(res1
)) {
4045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Blue" "', expected argument " "1"" of type '" "wxColour *""'");
4047 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4050 result
= (byte
)(arg1
)->Blue();
4051 wxPyEndAllowThreads(__tstate
);
4052 if (PyErr_Occurred()) SWIG_fail
;
4054 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4061 SWIGINTERN PyObject
*_wrap_Colour_Alpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4062 PyObject
*resultobj
= 0;
4063 wxColour
*arg1
= (wxColour
*) 0 ;
4067 PyObject
*swig_obj
[1] ;
4069 if (!args
) SWIG_fail
;
4071 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4072 if (!SWIG_IsOK(res1
)) {
4073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Alpha" "', expected argument " "1"" of type '" "wxColour *""'");
4075 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4078 result
= (byte
)(arg1
)->Alpha();
4079 wxPyEndAllowThreads(__tstate
);
4080 if (PyErr_Occurred()) SWIG_fail
;
4082 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
4089 SWIGINTERN PyObject
*_wrap_Colour_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4090 PyObject
*resultobj
= 0;
4091 wxColour
*arg1
= (wxColour
*) 0 ;
4095 PyObject
*swig_obj
[1] ;
4097 if (!args
) SWIG_fail
;
4099 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4100 if (!SWIG_IsOK(res1
)) {
4101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_IsOk" "', expected argument " "1"" of type '" "wxColour *""'");
4103 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4106 result
= (bool)(arg1
)->IsOk();
4107 wxPyEndAllowThreads(__tstate
);
4108 if (PyErr_Occurred()) SWIG_fail
;
4111 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4119 SWIGINTERN PyObject
*_wrap_Colour_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4120 PyObject
*resultobj
= 0;
4121 wxColour
*arg1
= (wxColour
*) 0 ;
4125 byte arg5
= (byte
) wxALPHA_OPAQUE
;
4128 unsigned char val2
;
4130 unsigned char val3
;
4132 unsigned char val4
;
4134 unsigned char val5
;
4136 PyObject
* obj0
= 0 ;
4137 PyObject
* obj1
= 0 ;
4138 PyObject
* obj2
= 0 ;
4139 PyObject
* obj3
= 0 ;
4140 PyObject
* obj4
= 0 ;
4141 char * kwnames
[] = {
4142 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
4145 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Colour_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
4146 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4147 if (!SWIG_IsOK(res1
)) {
4148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Set" "', expected argument " "1"" of type '" "wxColour *""'");
4150 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4151 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4152 if (!SWIG_IsOK(ecode2
)) {
4153 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Set" "', expected argument " "2"" of type '" "byte""'");
4155 arg2
= static_cast< byte
>(val2
);
4156 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4157 if (!SWIG_IsOK(ecode3
)) {
4158 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Colour_Set" "', expected argument " "3"" of type '" "byte""'");
4160 arg3
= static_cast< byte
>(val3
);
4161 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4162 if (!SWIG_IsOK(ecode4
)) {
4163 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Colour_Set" "', expected argument " "4"" of type '" "byte""'");
4165 arg4
= static_cast< byte
>(val4
);
4167 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
4168 if (!SWIG_IsOK(ecode5
)) {
4169 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Colour_Set" "', expected argument " "5"" of type '" "byte""'");
4171 arg5
= static_cast< byte
>(val5
);
4174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4175 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
4176 wxPyEndAllowThreads(__tstate
);
4177 if (PyErr_Occurred()) SWIG_fail
;
4179 resultobj
= SWIG_Py_Void();
4186 SWIGINTERN PyObject
*_wrap_Colour_SetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4187 PyObject
*resultobj
= 0;
4188 wxColour
*arg1
= (wxColour
*) 0 ;
4189 unsigned long arg2
;
4192 unsigned long val2
;
4194 PyObject
* obj0
= 0 ;
4195 PyObject
* obj1
= 0 ;
4196 char * kwnames
[] = {
4197 (char *) "self",(char *) "colRGB", NULL
4200 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4201 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4202 if (!SWIG_IsOK(res1
)) {
4203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4205 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4206 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
4207 if (!SWIG_IsOK(ecode2
)) {
4208 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_SetRGB" "', expected argument " "2"" of type '" "unsigned long""'");
4210 arg2
= static_cast< unsigned long >(val2
);
4212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4214 wxPyEndAllowThreads(__tstate
);
4215 if (PyErr_Occurred()) SWIG_fail
;
4217 resultobj
= SWIG_Py_Void();
4224 SWIGINTERN PyObject
*_wrap_Colour_SetFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4225 PyObject
*resultobj
= 0;
4226 wxColour
*arg1
= (wxColour
*) 0 ;
4227 wxString
*arg2
= 0 ;
4230 bool temp2
= false ;
4231 PyObject
* obj0
= 0 ;
4232 PyObject
* obj1
= 0 ;
4233 char * kwnames
[] = {
4234 (char *) "self",(char *) "colourName", NULL
4237 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour_SetFromName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4238 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4239 if (!SWIG_IsOK(res1
)) {
4240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_SetFromName" "', expected argument " "1"" of type '" "wxColour *""'");
4242 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4244 arg2
= wxString_in_helper(obj1
);
4245 if (arg2
== NULL
) SWIG_fail
;
4249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4250 (arg1
)->Set((wxString
const &)*arg2
);
4251 wxPyEndAllowThreads(__tstate
);
4252 if (PyErr_Occurred()) SWIG_fail
;
4254 resultobj
= SWIG_Py_Void();
4269 SWIGINTERN PyObject
*_wrap_Colour_GetAsString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4270 PyObject
*resultobj
= 0;
4271 wxColour
*arg1
= (wxColour
*) 0 ;
4272 long arg2
= (long) wxC2S_NAME
|wxC2S_CSS_SYNTAX
;
4278 PyObject
* obj0
= 0 ;
4279 PyObject
* obj1
= 0 ;
4280 char * kwnames
[] = {
4281 (char *) "self",(char *) "flags", NULL
4284 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_GetAsString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4285 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4286 if (!SWIG_IsOK(res1
)) {
4287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetAsString" "', expected argument " "1"" of type '" "wxColour const *""'");
4289 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4291 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
4292 if (!SWIG_IsOK(ecode2
)) {
4293 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_GetAsString" "', expected argument " "2"" of type '" "long""'");
4295 arg2
= static_cast< long >(val2
);
4298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4299 result
= ((wxColour
const *)arg1
)->GetAsString(arg2
);
4300 wxPyEndAllowThreads(__tstate
);
4301 if (PyErr_Occurred()) SWIG_fail
;
4305 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4307 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4316 SWIGINTERN PyObject
*_wrap_Colour_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4317 PyObject
*resultobj
= 0;
4318 wxColour
*arg1
= (wxColour
*) 0 ;
4322 PyObject
*swig_obj
[1] ;
4324 if (!args
) SWIG_fail
;
4326 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4327 if (!SWIG_IsOK(res1
)) {
4328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetPixel" "', expected argument " "1"" of type '" "wxColour const *""'");
4330 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4333 result
= (long)((wxColour
const *)arg1
)->GetPixel();
4334 wxPyEndAllowThreads(__tstate
);
4335 if (PyErr_Occurred()) SWIG_fail
;
4337 resultobj
= SWIG_From_long(static_cast< long >(result
));
4344 SWIGINTERN PyObject
*_wrap_Colour___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4345 PyObject
*resultobj
= 0;
4346 wxColour
*arg1
= (wxColour
*) 0 ;
4347 PyObject
*arg2
= (PyObject
*) 0 ;
4351 PyObject
* obj0
= 0 ;
4352 PyObject
* obj1
= 0 ;
4353 char * kwnames
[] = {
4354 (char *) "self",(char *) "other", NULL
4357 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4358 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4359 if (!SWIG_IsOK(res1
)) {
4360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___eq__" "', expected argument " "1"" of type '" "wxColour *""'");
4362 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4365 result
= (bool)wxColour___eq__(arg1
,arg2
);
4366 if (PyErr_Occurred()) SWIG_fail
;
4369 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4377 SWIGINTERN PyObject
*_wrap_Colour___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4378 PyObject
*resultobj
= 0;
4379 wxColour
*arg1
= (wxColour
*) 0 ;
4380 PyObject
*arg2
= (PyObject
*) 0 ;
4384 PyObject
* obj0
= 0 ;
4385 PyObject
* obj1
= 0 ;
4386 char * kwnames
[] = {
4387 (char *) "self",(char *) "other", NULL
4390 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Colour___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4391 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4392 if (!SWIG_IsOK(res1
)) {
4393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour___ne__" "', expected argument " "1"" of type '" "wxColour *""'");
4395 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4398 result
= (bool)wxColour___ne__(arg1
,arg2
);
4399 if (PyErr_Occurred()) SWIG_fail
;
4402 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4410 SWIGINTERN PyObject
*_wrap_Colour_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4411 PyObject
*resultobj
= 0;
4412 wxColour
*arg1
= (wxColour
*) 0 ;
4413 bool arg2
= (bool) false ;
4414 PyObject
*result
= 0 ;
4419 PyObject
* obj0
= 0 ;
4420 PyObject
* obj1
= 0 ;
4421 char * kwnames
[] = {
4422 (char *) "self",(char *) "includeAlpha", NULL
4425 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Colour_Get",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4426 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4427 if (!SWIG_IsOK(res1
)) {
4428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_Get" "', expected argument " "1"" of type '" "wxColour *""'");
4430 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4432 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4433 if (!SWIG_IsOK(ecode2
)) {
4434 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Colour_Get" "', expected argument " "2"" of type '" "bool""'");
4436 arg2
= static_cast< bool >(val2
);
4439 result
= (PyObject
*)wxColour_Get(arg1
,arg2
);
4440 if (PyErr_Occurred()) SWIG_fail
;
4449 SWIGINTERN PyObject
*_wrap_Colour_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4450 PyObject
*resultobj
= 0;
4451 wxColour
*arg1
= (wxColour
*) 0 ;
4452 unsigned long result
;
4455 PyObject
*swig_obj
[1] ;
4457 if (!args
) SWIG_fail
;
4459 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColour
, 0 | 0 );
4460 if (!SWIG_IsOK(res1
)) {
4461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Colour_GetRGB" "', expected argument " "1"" of type '" "wxColour *""'");
4463 arg1
= reinterpret_cast< wxColour
* >(argp1
);
4465 result
= (unsigned long)wxColour_GetRGB(arg1
);
4466 if (PyErr_Occurred()) SWIG_fail
;
4468 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
4475 SWIGINTERN PyObject
*Colour_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4477 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4478 SWIG_TypeNewClientData(SWIGTYPE_p_wxColour
, SWIG_NewClientData(obj
));
4479 return SWIG_Py_Void();
4482 SWIGINTERN PyObject
*Colour_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4483 return SWIG_Python_InitShadowInstance(args
);
4486 SWIGINTERN PyObject
*_wrap_new_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4487 PyObject
*resultobj
= 0;
4489 unsigned char *arg2
= (unsigned char *) 0 ;
4490 unsigned char *arg3
= (unsigned char *) 0 ;
4491 unsigned char *arg4
= (unsigned char *) 0 ;
4492 wxPalette
*result
= 0 ;
4501 PyObject
* obj0
= 0 ;
4502 PyObject
* obj1
= 0 ;
4503 PyObject
* obj2
= 0 ;
4504 PyObject
* obj3
= 0 ;
4505 char * kwnames
[] = {
4506 (char *) "n",(char *) "red",(char *) "green",(char *) "blue", NULL
4509 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_Palette",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4510 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4511 if (!SWIG_IsOK(ecode1
)) {
4512 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Palette" "', expected argument " "1"" of type '" "int""'");
4514 arg1
= static_cast< int >(val1
);
4515 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4516 if (!SWIG_IsOK(res2
)) {
4517 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_Palette" "', expected argument " "2"" of type '" "unsigned char const *""'");
4519 arg2
= reinterpret_cast< unsigned char * >(argp2
);
4520 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4521 if (!SWIG_IsOK(res3
)) {
4522 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_Palette" "', expected argument " "3"" of type '" "unsigned char const *""'");
4524 arg3
= reinterpret_cast< unsigned char * >(argp3
);
4525 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_unsigned_char
, 0 | 0 );
4526 if (!SWIG_IsOK(res4
)) {
4527 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_Palette" "', expected argument " "4"" of type '" "unsigned char const *""'");
4529 arg4
= reinterpret_cast< unsigned char * >(argp4
);
4531 if (!wxPyCheckForApp()) SWIG_fail
;
4532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4533 result
= (wxPalette
*)new wxPalette(arg1
,(unsigned char const *)arg2
,(unsigned char const *)arg3
,(unsigned char const *)arg4
);
4534 wxPyEndAllowThreads(__tstate
);
4535 if (PyErr_Occurred()) SWIG_fail
;
4537 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, SWIG_POINTER_NEW
| 0 );
4544 SWIGINTERN PyObject
*_wrap_delete_Palette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4545 PyObject
*resultobj
= 0;
4546 wxPalette
*arg1
= (wxPalette
*) 0 ;
4549 PyObject
*swig_obj
[1] ;
4551 if (!args
) SWIG_fail
;
4553 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, SWIG_POINTER_DISOWN
| 0 );
4554 if (!SWIG_IsOK(res1
)) {
4555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Palette" "', expected argument " "1"" of type '" "wxPalette *""'");
4557 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4562 wxPyEndAllowThreads(__tstate
);
4563 if (PyErr_Occurred()) SWIG_fail
;
4565 resultobj
= SWIG_Py_Void();
4572 SWIGINTERN PyObject
*_wrap_Palette_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4573 PyObject
*resultobj
= 0;
4574 wxPalette
*arg1
= (wxPalette
*) 0 ;
4581 unsigned char val2
;
4583 unsigned char val3
;
4585 unsigned char val4
;
4587 PyObject
* obj0
= 0 ;
4588 PyObject
* obj1
= 0 ;
4589 PyObject
* obj2
= 0 ;
4590 PyObject
* obj3
= 0 ;
4591 char * kwnames
[] = {
4592 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
4595 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Palette_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
4596 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4597 if (!SWIG_IsOK(res1
)) {
4598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetPixel" "', expected argument " "1"" of type '" "wxPalette *""'");
4600 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4601 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
4602 if (!SWIG_IsOK(ecode2
)) {
4603 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetPixel" "', expected argument " "2"" of type '" "byte""'");
4605 arg2
= static_cast< byte
>(val2
);
4606 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
4607 if (!SWIG_IsOK(ecode3
)) {
4608 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Palette_GetPixel" "', expected argument " "3"" of type '" "byte""'");
4610 arg3
= static_cast< byte
>(val3
);
4611 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
4612 if (!SWIG_IsOK(ecode4
)) {
4613 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Palette_GetPixel" "', expected argument " "4"" of type '" "byte""'");
4615 arg4
= static_cast< byte
>(val4
);
4617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4618 result
= (int)(arg1
)->GetPixel(arg2
,arg3
,arg4
);
4619 wxPyEndAllowThreads(__tstate
);
4620 if (PyErr_Occurred()) SWIG_fail
;
4622 resultobj
= SWIG_From_int(static_cast< int >(result
));
4629 SWIGINTERN PyObject
*_wrap_Palette_GetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4630 PyObject
*resultobj
= 0;
4631 wxPalette
*arg1
= (wxPalette
*) 0 ;
4633 byte
*arg3
= (byte
*) 0 ;
4634 byte
*arg4
= (byte
*) 0 ;
4635 byte
*arg5
= (byte
*) 0 ;
4642 int res3
= SWIG_TMPOBJ
;
4644 int res4
= SWIG_TMPOBJ
;
4646 int res5
= SWIG_TMPOBJ
;
4647 PyObject
* obj0
= 0 ;
4648 PyObject
* obj1
= 0 ;
4649 char * kwnames
[] = {
4650 (char *) "self",(char *) "pixel", NULL
4656 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Palette_GetRGB",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4657 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4658 if (!SWIG_IsOK(res1
)) {
4659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetRGB" "', expected argument " "1"" of type '" "wxPalette *""'");
4661 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4662 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4663 if (!SWIG_IsOK(ecode2
)) {
4664 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Palette_GetRGB" "', expected argument " "2"" of type '" "int""'");
4666 arg2
= static_cast< int >(val2
);
4668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4669 result
= (bool)(arg1
)->GetRGB(arg2
,arg3
,arg4
,arg5
);
4670 wxPyEndAllowThreads(__tstate
);
4671 if (PyErr_Occurred()) SWIG_fail
;
4674 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4676 if (SWIG_IsTmpObj(res3
)) {
4677 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg3
)));
4679 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4680 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, new_flags
));
4682 if (SWIG_IsTmpObj(res4
)) {
4683 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg4
)));
4685 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4686 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, new_flags
));
4688 if (SWIG_IsTmpObj(res5
)) {
4689 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg5
)));
4691 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4692 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_unsigned_char
, new_flags
));
4700 SWIGINTERN PyObject
*_wrap_Palette_GetColoursCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4701 PyObject
*resultobj
= 0;
4702 wxPalette
*arg1
= (wxPalette
*) 0 ;
4706 PyObject
*swig_obj
[1] ;
4708 if (!args
) SWIG_fail
;
4710 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4711 if (!SWIG_IsOK(res1
)) {
4712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_GetColoursCount" "', expected argument " "1"" of type '" "wxPalette const *""'");
4714 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4717 result
= (int)((wxPalette
const *)arg1
)->GetColoursCount();
4718 wxPyEndAllowThreads(__tstate
);
4719 if (PyErr_Occurred()) SWIG_fail
;
4721 resultobj
= SWIG_From_int(static_cast< int >(result
));
4728 SWIGINTERN PyObject
*_wrap_Palette_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4729 PyObject
*resultobj
= 0;
4730 wxPalette
*arg1
= (wxPalette
*) 0 ;
4734 PyObject
*swig_obj
[1] ;
4736 if (!args
) SWIG_fail
;
4738 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPalette
, 0 | 0 );
4739 if (!SWIG_IsOK(res1
)) {
4740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Palette_IsOk" "', expected argument " "1"" of type '" "wxPalette *""'");
4742 arg1
= reinterpret_cast< wxPalette
* >(argp1
);
4744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4745 result
= (bool)(arg1
)->IsOk();
4746 wxPyEndAllowThreads(__tstate
);
4747 if (PyErr_Occurred()) SWIG_fail
;
4750 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4758 SWIGINTERN PyObject
*Palette_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4760 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4761 SWIG_TypeNewClientData(SWIGTYPE_p_wxPalette
, SWIG_NewClientData(obj
));
4762 return SWIG_Py_Void();
4765 SWIGINTERN PyObject
*Palette_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4766 return SWIG_Python_InitShadowInstance(args
);
4769 SWIGINTERN PyObject
*_wrap_new_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4770 PyObject
*resultobj
= 0;
4771 wxColour
*arg1
= 0 ;
4772 int arg2
= (int) 1 ;
4773 int arg3
= (int) wxSOLID
;
4780 PyObject
* obj0
= 0 ;
4781 PyObject
* obj1
= 0 ;
4782 PyObject
* obj2
= 0 ;
4783 char * kwnames
[] = {
4784 (char *) "colour",(char *) "width",(char *) "style", NULL
4787 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Pen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4790 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
4793 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4794 if (!SWIG_IsOK(ecode2
)) {
4795 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Pen" "', expected argument " "2"" of type '" "int""'");
4797 arg2
= static_cast< int >(val2
);
4800 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4801 if (!SWIG_IsOK(ecode3
)) {
4802 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Pen" "', expected argument " "3"" of type '" "int""'");
4804 arg3
= static_cast< int >(val3
);
4807 if (!wxPyCheckForApp()) SWIG_fail
;
4808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4809 result
= (wxPen
*)new wxPen(*arg1
,arg2
,arg3
);
4810 wxPyEndAllowThreads(__tstate
);
4811 if (PyErr_Occurred()) SWIG_fail
;
4813 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, SWIG_POINTER_NEW
| 0 );
4820 SWIGINTERN PyObject
*_wrap_delete_Pen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4821 PyObject
*resultobj
= 0;
4822 wxPen
*arg1
= (wxPen
*) 0 ;
4825 PyObject
*swig_obj
[1] ;
4827 if (!args
) SWIG_fail
;
4829 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, SWIG_POINTER_DISOWN
| 0 );
4830 if (!SWIG_IsOK(res1
)) {
4831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Pen" "', expected argument " "1"" of type '" "wxPen *""'");
4833 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4838 wxPyEndAllowThreads(__tstate
);
4839 if (PyErr_Occurred()) SWIG_fail
;
4841 resultobj
= SWIG_Py_Void();
4848 SWIGINTERN PyObject
*_wrap_Pen_GetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4849 PyObject
*resultobj
= 0;
4850 wxPen
*arg1
= (wxPen
*) 0 ;
4854 PyObject
*swig_obj
[1] ;
4856 if (!args
) SWIG_fail
;
4858 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4859 if (!SWIG_IsOK(res1
)) {
4860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetCap" "', expected argument " "1"" of type '" "wxPen *""'");
4862 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4865 result
= (int)(arg1
)->GetCap();
4866 wxPyEndAllowThreads(__tstate
);
4867 if (PyErr_Occurred()) SWIG_fail
;
4869 resultobj
= SWIG_From_int(static_cast< int >(result
));
4876 SWIGINTERN PyObject
*_wrap_Pen_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4877 PyObject
*resultobj
= 0;
4878 wxPen
*arg1
= (wxPen
*) 0 ;
4882 PyObject
*swig_obj
[1] ;
4884 if (!args
) SWIG_fail
;
4886 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4887 if (!SWIG_IsOK(res1
)) {
4888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetColour" "', expected argument " "1"" of type '" "wxPen *""'");
4890 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4893 result
= (arg1
)->GetColour();
4894 wxPyEndAllowThreads(__tstate
);
4895 if (PyErr_Occurred()) SWIG_fail
;
4897 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
4904 SWIGINTERN PyObject
*_wrap_Pen_GetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4905 PyObject
*resultobj
= 0;
4906 wxPen
*arg1
= (wxPen
*) 0 ;
4910 PyObject
*swig_obj
[1] ;
4912 if (!args
) SWIG_fail
;
4914 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4915 if (!SWIG_IsOK(res1
)) {
4916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
4918 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4921 result
= (int)(arg1
)->GetJoin();
4922 wxPyEndAllowThreads(__tstate
);
4923 if (PyErr_Occurred()) SWIG_fail
;
4925 resultobj
= SWIG_From_int(static_cast< int >(result
));
4932 SWIGINTERN PyObject
*_wrap_Pen_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4933 PyObject
*resultobj
= 0;
4934 wxPen
*arg1
= (wxPen
*) 0 ;
4938 PyObject
*swig_obj
[1] ;
4940 if (!args
) SWIG_fail
;
4942 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4943 if (!SWIG_IsOK(res1
)) {
4944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
4946 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4949 result
= (int)(arg1
)->GetStyle();
4950 wxPyEndAllowThreads(__tstate
);
4951 if (PyErr_Occurred()) SWIG_fail
;
4953 resultobj
= SWIG_From_int(static_cast< int >(result
));
4960 SWIGINTERN PyObject
*_wrap_Pen_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4961 PyObject
*resultobj
= 0;
4962 wxPen
*arg1
= (wxPen
*) 0 ;
4966 PyObject
*swig_obj
[1] ;
4968 if (!args
) SWIG_fail
;
4970 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4971 if (!SWIG_IsOK(res1
)) {
4972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
4974 arg1
= reinterpret_cast< wxPen
* >(argp1
);
4976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4977 result
= (int)(arg1
)->GetWidth();
4978 wxPyEndAllowThreads(__tstate
);
4979 if (PyErr_Occurred()) SWIG_fail
;
4981 resultobj
= SWIG_From_int(static_cast< int >(result
));
4988 SWIGINTERN PyObject
*_wrap_Pen_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4989 PyObject
*resultobj
= 0;
4990 wxPen
*arg1
= (wxPen
*) 0 ;
4994 PyObject
*swig_obj
[1] ;
4996 if (!args
) SWIG_fail
;
4998 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
4999 if (!SWIG_IsOK(res1
)) {
5000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_IsOk" "', expected argument " "1"" of type '" "wxPen *""'");
5002 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5005 result
= (bool)(arg1
)->IsOk();
5006 wxPyEndAllowThreads(__tstate
);
5007 if (PyErr_Occurred()) SWIG_fail
;
5010 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5018 SWIGINTERN PyObject
*_wrap_Pen_SetCap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5019 PyObject
*resultobj
= 0;
5020 wxPen
*arg1
= (wxPen
*) 0 ;
5026 PyObject
* obj0
= 0 ;
5027 PyObject
* obj1
= 0 ;
5028 char * kwnames
[] = {
5029 (char *) "self",(char *) "cap_style", NULL
5032 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetCap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5033 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5034 if (!SWIG_IsOK(res1
)) {
5035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetCap" "', expected argument " "1"" of type '" "wxPen *""'");
5037 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5038 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5039 if (!SWIG_IsOK(ecode2
)) {
5040 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetCap" "', expected argument " "2"" of type '" "int""'");
5042 arg2
= static_cast< int >(val2
);
5044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5045 (arg1
)->SetCap(arg2
);
5046 wxPyEndAllowThreads(__tstate
);
5047 if (PyErr_Occurred()) SWIG_fail
;
5049 resultobj
= SWIG_Py_Void();
5056 SWIGINTERN PyObject
*_wrap_Pen_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5057 PyObject
*resultobj
= 0;
5058 wxPen
*arg1
= (wxPen
*) 0 ;
5059 wxColour
*arg2
= 0 ;
5063 PyObject
* obj0
= 0 ;
5064 PyObject
* obj1
= 0 ;
5065 char * kwnames
[] = {
5066 (char *) "self",(char *) "colour", NULL
5069 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5070 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5071 if (!SWIG_IsOK(res1
)) {
5072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetColour" "', expected argument " "1"" of type '" "wxPen *""'");
5074 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5077 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5081 (arg1
)->SetColour(*arg2
);
5082 wxPyEndAllowThreads(__tstate
);
5083 if (PyErr_Occurred()) SWIG_fail
;
5085 resultobj
= SWIG_Py_Void();
5092 SWIGINTERN PyObject
*_wrap_Pen_SetJoin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5093 PyObject
*resultobj
= 0;
5094 wxPen
*arg1
= (wxPen
*) 0 ;
5100 PyObject
* obj0
= 0 ;
5101 PyObject
* obj1
= 0 ;
5102 char * kwnames
[] = {
5103 (char *) "self",(char *) "join_style", NULL
5106 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetJoin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5107 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5108 if (!SWIG_IsOK(res1
)) {
5109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetJoin" "', expected argument " "1"" of type '" "wxPen *""'");
5111 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5112 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5113 if (!SWIG_IsOK(ecode2
)) {
5114 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetJoin" "', expected argument " "2"" of type '" "int""'");
5116 arg2
= static_cast< int >(val2
);
5118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5119 (arg1
)->SetJoin(arg2
);
5120 wxPyEndAllowThreads(__tstate
);
5121 if (PyErr_Occurred()) SWIG_fail
;
5123 resultobj
= SWIG_Py_Void();
5130 SWIGINTERN PyObject
*_wrap_Pen_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5131 PyObject
*resultobj
= 0;
5132 wxPen
*arg1
= (wxPen
*) 0 ;
5138 PyObject
* obj0
= 0 ;
5139 PyObject
* obj1
= 0 ;
5140 char * kwnames
[] = {
5141 (char *) "self",(char *) "style", NULL
5144 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5145 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5146 if (!SWIG_IsOK(res1
)) {
5147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetStyle" "', expected argument " "1"" of type '" "wxPen *""'");
5149 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5150 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5151 if (!SWIG_IsOK(ecode2
)) {
5152 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetStyle" "', expected argument " "2"" of type '" "int""'");
5154 arg2
= static_cast< int >(val2
);
5156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5157 (arg1
)->SetStyle(arg2
);
5158 wxPyEndAllowThreads(__tstate
);
5159 if (PyErr_Occurred()) SWIG_fail
;
5161 resultobj
= SWIG_Py_Void();
5168 SWIGINTERN PyObject
*_wrap_Pen_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5169 PyObject
*resultobj
= 0;
5170 wxPen
*arg1
= (wxPen
*) 0 ;
5176 PyObject
* obj0
= 0 ;
5177 PyObject
* obj1
= 0 ;
5178 char * kwnames
[] = {
5179 (char *) "self",(char *) "width", NULL
5182 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5183 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5184 if (!SWIG_IsOK(res1
)) {
5185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetWidth" "', expected argument " "1"" of type '" "wxPen *""'");
5187 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5188 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5189 if (!SWIG_IsOK(ecode2
)) {
5190 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Pen_SetWidth" "', expected argument " "2"" of type '" "int""'");
5192 arg2
= static_cast< int >(val2
);
5194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5195 (arg1
)->SetWidth(arg2
);
5196 wxPyEndAllowThreads(__tstate
);
5197 if (PyErr_Occurred()) SWIG_fail
;
5199 resultobj
= SWIG_Py_Void();
5206 SWIGINTERN PyObject
*_wrap_Pen_SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5207 PyObject
*resultobj
= 0;
5208 wxPen
*arg1
= (wxPen
*) 0 ;
5210 wxDash
*arg3
= (wxDash
*) 0 ;
5213 PyObject
* obj0
= 0 ;
5214 PyObject
* obj1
= 0 ;
5215 char * kwnames
[] = {
5216 (char *) "self",(char *) "dashes", NULL
5219 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen_SetDashes",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5220 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5221 if (!SWIG_IsOK(res1
)) {
5222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5224 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5226 arg2
= PyList_Size(obj1
);
5227 arg3
= (wxDash
*)byte_LIST_helper(obj1
);
5228 if (arg3
== NULL
) SWIG_fail
;
5231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5232 (arg1
)->SetDashes(arg2
,arg3
);
5233 wxPyEndAllowThreads(__tstate
);
5234 if (PyErr_Occurred()) SWIG_fail
;
5236 resultobj
= SWIG_Py_Void();
5238 if (arg3
) delete [] arg3
;
5243 if (arg3
) delete [] arg3
;
5249 SWIGINTERN PyObject
*_wrap_Pen_GetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5250 PyObject
*resultobj
= 0;
5251 wxPen
*arg1
= (wxPen
*) 0 ;
5252 PyObject
*result
= 0 ;
5255 PyObject
*swig_obj
[1] ;
5257 if (!args
) SWIG_fail
;
5259 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5260 if (!SWIG_IsOK(res1
)) {
5261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen_GetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5263 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5266 result
= (PyObject
*)wxPen_GetDashes(arg1
);
5267 wxPyEndAllowThreads(__tstate
);
5268 if (PyErr_Occurred()) SWIG_fail
;
5277 SWIGINTERN PyObject
*_wrap_Pen__SetDashes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5278 PyObject
*resultobj
= 0;
5279 wxPen
*arg1
= (wxPen
*) 0 ;
5280 PyObject
*arg2
= (PyObject
*) 0 ;
5281 PyObject
*arg3
= (PyObject
*) 0 ;
5284 PyObject
* obj0
= 0 ;
5285 PyObject
* obj1
= 0 ;
5286 PyObject
* obj2
= 0 ;
5287 char * kwnames
[] = {
5288 (char *) "self",(char *) "_self",(char *) "pyDashes", NULL
5291 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Pen__SetDashes",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5292 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5293 if (!SWIG_IsOK(res1
)) {
5294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen__SetDashes" "', expected argument " "1"" of type '" "wxPen *""'");
5296 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5301 wxPen__SetDashes(arg1
,arg2
,arg3
);
5302 wxPyEndAllowThreads(__tstate
);
5303 if (PyErr_Occurred()) SWIG_fail
;
5305 resultobj
= SWIG_Py_Void();
5312 SWIGINTERN PyObject
*_wrap_Pen___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5313 PyObject
*resultobj
= 0;
5314 wxPen
*arg1
= (wxPen
*) 0 ;
5315 wxPen
*arg2
= (wxPen
*) 0 ;
5321 PyObject
* obj0
= 0 ;
5322 PyObject
* obj1
= 0 ;
5323 char * kwnames
[] = {
5324 (char *) "self",(char *) "other", NULL
5327 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5328 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5329 if (!SWIG_IsOK(res1
)) {
5330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___eq__" "', expected argument " "1"" of type '" "wxPen *""'");
5332 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5333 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5334 if (!SWIG_IsOK(res2
)) {
5335 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___eq__" "', expected argument " "2"" of type '" "wxPen const *""'");
5337 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5340 result
= (bool)wxPen___eq__(arg1
,(wxPen
const *)arg2
);
5341 wxPyEndAllowThreads(__tstate
);
5342 if (PyErr_Occurred()) SWIG_fail
;
5345 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5353 SWIGINTERN PyObject
*_wrap_Pen___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5354 PyObject
*resultobj
= 0;
5355 wxPen
*arg1
= (wxPen
*) 0 ;
5356 wxPen
*arg2
= (wxPen
*) 0 ;
5362 PyObject
* obj0
= 0 ;
5363 PyObject
* obj1
= 0 ;
5364 char * kwnames
[] = {
5365 (char *) "self",(char *) "other", NULL
5368 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Pen___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5369 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPen
, 0 | 0 );
5370 if (!SWIG_IsOK(res1
)) {
5371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Pen___ne__" "', expected argument " "1"" of type '" "wxPen *""'");
5373 arg1
= reinterpret_cast< wxPen
* >(argp1
);
5374 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
5375 if (!SWIG_IsOK(res2
)) {
5376 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Pen___ne__" "', expected argument " "2"" of type '" "wxPen const *""'");
5378 arg2
= reinterpret_cast< wxPen
* >(argp2
);
5380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5381 result
= (bool)wxPen___ne__(arg1
,(wxPen
const *)arg2
);
5382 wxPyEndAllowThreads(__tstate
);
5383 if (PyErr_Occurred()) SWIG_fail
;
5386 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5394 SWIGINTERN PyObject
*Pen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5396 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5397 SWIG_TypeNewClientData(SWIGTYPE_p_wxPen
, SWIG_NewClientData(obj
));
5398 return SWIG_Py_Void();
5401 SWIGINTERN PyObject
*Pen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5402 return SWIG_Python_InitShadowInstance(args
);
5405 SWIGINTERN PyObject
*_wrap_new_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5406 PyObject
*resultobj
= 0;
5407 wxColour
*arg1
= 0 ;
5408 int arg2
= (int) wxSOLID
;
5409 wxBrush
*result
= 0 ;
5413 PyObject
* obj0
= 0 ;
5414 PyObject
* obj1
= 0 ;
5415 char * kwnames
[] = {
5416 (char *) "colour",(char *) "style", NULL
5419 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Brush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5422 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
5425 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5426 if (!SWIG_IsOK(ecode2
)) {
5427 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Brush" "', expected argument " "2"" of type '" "int""'");
5429 arg2
= static_cast< int >(val2
);
5432 if (!wxPyCheckForApp()) SWIG_fail
;
5433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5434 result
= (wxBrush
*)new wxBrush((wxColour
const &)*arg1
,arg2
);
5435 wxPyEndAllowThreads(__tstate
);
5436 if (PyErr_Occurred()) SWIG_fail
;
5438 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_NEW
| 0 );
5445 SWIGINTERN PyObject
*_wrap_new_BrushFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5446 PyObject
*resultobj
= 0;
5447 wxBitmap
*arg1
= 0 ;
5448 wxBrush
*result
= 0 ;
5451 PyObject
* obj0
= 0 ;
5452 char * kwnames
[] = {
5453 (char *) "stippleBitmap", NULL
5456 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BrushFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
5457 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5458 if (!SWIG_IsOK(res1
)) {
5459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5462 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BrushFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
5464 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5466 if (!wxPyCheckForApp()) SWIG_fail
;
5467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5468 result
= (wxBrush
*)new wxBrush((wxBitmap
const &)*arg1
);
5469 wxPyEndAllowThreads(__tstate
);
5470 if (PyErr_Occurred()) SWIG_fail
;
5472 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, SWIG_POINTER_OWN
| 0 );
5479 SWIGINTERN PyObject
*_wrap_delete_Brush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5480 PyObject
*resultobj
= 0;
5481 wxBrush
*arg1
= (wxBrush
*) 0 ;
5484 PyObject
*swig_obj
[1] ;
5486 if (!args
) SWIG_fail
;
5488 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, SWIG_POINTER_DISOWN
| 0 );
5489 if (!SWIG_IsOK(res1
)) {
5490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Brush" "', expected argument " "1"" of type '" "wxBrush *""'");
5492 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5497 wxPyEndAllowThreads(__tstate
);
5498 if (PyErr_Occurred()) SWIG_fail
;
5500 resultobj
= SWIG_Py_Void();
5507 SWIGINTERN PyObject
*_wrap_Brush_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5508 PyObject
*resultobj
= 0;
5509 wxBrush
*arg1
= (wxBrush
*) 0 ;
5510 wxColour
*arg2
= 0 ;
5514 PyObject
* obj0
= 0 ;
5515 PyObject
* obj1
= 0 ;
5516 char * kwnames
[] = {
5517 (char *) "self",(char *) "col", NULL
5520 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5521 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5522 if (!SWIG_IsOK(res1
)) {
5523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetColour" "', expected argument " "1"" of type '" "wxBrush *""'");
5525 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5528 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
5531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5532 (arg1
)->SetColour((wxColour
const &)*arg2
);
5533 wxPyEndAllowThreads(__tstate
);
5534 if (PyErr_Occurred()) SWIG_fail
;
5536 resultobj
= SWIG_Py_Void();
5543 SWIGINTERN PyObject
*_wrap_Brush_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5544 PyObject
*resultobj
= 0;
5545 wxBrush
*arg1
= (wxBrush
*) 0 ;
5551 PyObject
* obj0
= 0 ;
5552 PyObject
* obj1
= 0 ;
5553 char * kwnames
[] = {
5554 (char *) "self",(char *) "style", NULL
5557 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5558 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5559 if (!SWIG_IsOK(res1
)) {
5560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStyle" "', expected argument " "1"" of type '" "wxBrush *""'");
5562 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5563 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5564 if (!SWIG_IsOK(ecode2
)) {
5565 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Brush_SetStyle" "', expected argument " "2"" of type '" "int""'");
5567 arg2
= static_cast< int >(val2
);
5569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5570 (arg1
)->SetStyle(arg2
);
5571 wxPyEndAllowThreads(__tstate
);
5572 if (PyErr_Occurred()) SWIG_fail
;
5574 resultobj
= SWIG_Py_Void();
5581 SWIGINTERN PyObject
*_wrap_Brush_SetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5582 PyObject
*resultobj
= 0;
5583 wxBrush
*arg1
= (wxBrush
*) 0 ;
5584 wxBitmap
*arg2
= 0 ;
5589 PyObject
* obj0
= 0 ;
5590 PyObject
* obj1
= 0 ;
5591 char * kwnames
[] = {
5592 (char *) "self",(char *) "stipple", NULL
5595 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_SetStipple",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5596 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5597 if (!SWIG_IsOK(res1
)) {
5598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_SetStipple" "', expected argument " "1"" of type '" "wxBrush *""'");
5600 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5601 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
5602 if (!SWIG_IsOK(res2
)) {
5603 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5606 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Brush_SetStipple" "', expected argument " "2"" of type '" "wxBitmap const &""'");
5608 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
5610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5611 (arg1
)->SetStipple((wxBitmap
const &)*arg2
);
5612 wxPyEndAllowThreads(__tstate
);
5613 if (PyErr_Occurred()) SWIG_fail
;
5615 resultobj
= SWIG_Py_Void();
5622 SWIGINTERN PyObject
*_wrap_Brush_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5623 PyObject
*resultobj
= 0;
5624 wxBrush
*arg1
= (wxBrush
*) 0 ;
5628 PyObject
*swig_obj
[1] ;
5630 if (!args
) SWIG_fail
;
5632 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5633 if (!SWIG_IsOK(res1
)) {
5634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetColour" "', expected argument " "1"" of type '" "wxBrush const *""'");
5636 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5639 result
= ((wxBrush
const *)arg1
)->GetColour();
5640 wxPyEndAllowThreads(__tstate
);
5641 if (PyErr_Occurred()) SWIG_fail
;
5643 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
5650 SWIGINTERN PyObject
*_wrap_Brush_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5651 PyObject
*resultobj
= 0;
5652 wxBrush
*arg1
= (wxBrush
*) 0 ;
5656 PyObject
*swig_obj
[1] ;
5658 if (!args
) SWIG_fail
;
5660 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5661 if (!SWIG_IsOK(res1
)) {
5662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStyle" "', expected argument " "1"" of type '" "wxBrush const *""'");
5664 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5667 result
= (int)((wxBrush
const *)arg1
)->GetStyle();
5668 wxPyEndAllowThreads(__tstate
);
5669 if (PyErr_Occurred()) SWIG_fail
;
5671 resultobj
= SWIG_From_int(static_cast< int >(result
));
5678 SWIGINTERN PyObject
*_wrap_Brush_GetStipple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5679 PyObject
*resultobj
= 0;
5680 wxBrush
*arg1
= (wxBrush
*) 0 ;
5681 wxBitmap
*result
= 0 ;
5684 PyObject
*swig_obj
[1] ;
5686 if (!args
) SWIG_fail
;
5688 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5689 if (!SWIG_IsOK(res1
)) {
5690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_GetStipple" "', expected argument " "1"" of type '" "wxBrush const *""'");
5692 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5695 result
= (wxBitmap
*)((wxBrush
const *)arg1
)->GetStipple();
5696 wxPyEndAllowThreads(__tstate
);
5697 if (PyErr_Occurred()) SWIG_fail
;
5699 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
5706 SWIGINTERN PyObject
*_wrap_Brush_IsHatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5707 PyObject
*resultobj
= 0;
5708 wxBrush
*arg1
= (wxBrush
*) 0 ;
5712 PyObject
*swig_obj
[1] ;
5714 if (!args
) SWIG_fail
;
5716 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5717 if (!SWIG_IsOK(res1
)) {
5718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsHatch" "', expected argument " "1"" of type '" "wxBrush const *""'");
5720 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5723 result
= (bool)((wxBrush
const *)arg1
)->IsHatch();
5724 wxPyEndAllowThreads(__tstate
);
5725 if (PyErr_Occurred()) SWIG_fail
;
5728 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5736 SWIGINTERN PyObject
*_wrap_Brush_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5737 PyObject
*resultobj
= 0;
5738 wxBrush
*arg1
= (wxBrush
*) 0 ;
5742 PyObject
*swig_obj
[1] ;
5744 if (!args
) SWIG_fail
;
5746 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5747 if (!SWIG_IsOK(res1
)) {
5748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_IsOk" "', expected argument " "1"" of type '" "wxBrush *""'");
5750 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5753 result
= (bool)(arg1
)->IsOk();
5754 wxPyEndAllowThreads(__tstate
);
5755 if (PyErr_Occurred()) SWIG_fail
;
5758 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5766 SWIGINTERN PyObject
*_wrap_Brush_MacGetTheme(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5767 PyObject
*resultobj
= 0;
5768 wxBrush
*arg1
= (wxBrush
*) 0 ;
5772 PyObject
*swig_obj
[1] ;
5774 if (!args
) SWIG_fail
;
5776 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5777 if (!SWIG_IsOK(res1
)) {
5778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_MacGetTheme" "', expected argument " "1"" of type '" "wxBrush *""'");
5780 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5783 result
= (short)(arg1
)->MacGetTheme();
5784 wxPyEndAllowThreads(__tstate
);
5785 if (PyErr_Occurred()) SWIG_fail
;
5787 resultobj
= SWIG_From_short(static_cast< short >(result
));
5794 SWIGINTERN PyObject
*_wrap_Brush_MacSetTheme(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5795 PyObject
*resultobj
= 0;
5796 wxBrush
*arg1
= (wxBrush
*) 0 ;
5802 PyObject
* obj0
= 0 ;
5803 PyObject
* obj1
= 0 ;
5804 char * kwnames
[] = {
5805 (char *) "self",(char *) "macThemeBrush", NULL
5808 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Brush_MacSetTheme",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5809 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrush
, 0 | 0 );
5810 if (!SWIG_IsOK(res1
)) {
5811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Brush_MacSetTheme" "', expected argument " "1"" of type '" "wxBrush *""'");
5813 arg1
= reinterpret_cast< wxBrush
* >(argp1
);
5814 ecode2
= SWIG_AsVal_short(obj1
, &val2
);
5815 if (!SWIG_IsOK(ecode2
)) {
5816 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Brush_MacSetTheme" "', expected argument " "2"" of type '" "short""'");
5818 arg2
= static_cast< short >(val2
);
5820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5821 (arg1
)->MacSetTheme(arg2
);
5822 wxPyEndAllowThreads(__tstate
);
5823 if (PyErr_Occurred()) SWIG_fail
;
5825 resultobj
= SWIG_Py_Void();
5832 SWIGINTERN PyObject
*Brush_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5834 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5835 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrush
, SWIG_NewClientData(obj
));
5836 return SWIG_Py_Void();
5839 SWIGINTERN PyObject
*Brush_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5840 return SWIG_Python_InitShadowInstance(args
);
5843 SWIGINTERN PyObject
*_wrap_new_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5844 PyObject
*resultobj
= 0;
5845 wxString
*arg1
= 0 ;
5846 wxBitmapType arg2
= (wxBitmapType
) wxBITMAP_TYPE_ANY
;
5847 wxBitmap
*result
= 0 ;
5848 bool temp1
= false ;
5851 PyObject
* obj0
= 0 ;
5852 PyObject
* obj1
= 0 ;
5853 char * kwnames
[] = {
5854 (char *) "name",(char *) "type", NULL
5857 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Bitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5859 arg1
= wxString_in_helper(obj0
);
5860 if (arg1
== NULL
) SWIG_fail
;
5864 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5865 if (!SWIG_IsOK(ecode2
)) {
5866 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Bitmap" "', expected argument " "2"" of type '" "wxBitmapType""'");
5868 arg2
= static_cast< wxBitmapType
>(val2
);
5871 if (!wxPyCheckForApp()) SWIG_fail
;
5872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5873 result
= (wxBitmap
*)new wxBitmap((wxString
const &)*arg1
,arg2
);
5874 wxPyEndAllowThreads(__tstate
);
5875 if (PyErr_Occurred()) SWIG_fail
;
5877 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_NEW
| 0 );
5892 SWIGINTERN PyObject
*_wrap_delete_Bitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5893 PyObject
*resultobj
= 0;
5894 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
5897 PyObject
*swig_obj
[1] ;
5899 if (!args
) SWIG_fail
;
5901 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, SWIG_POINTER_DISOWN
| 0 );
5902 if (!SWIG_IsOK(res1
)) {
5903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Bitmap" "', expected argument " "1"" of type '" "wxBitmap *""'");
5905 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
5909 if (PyErr_Occurred()) SWIG_fail
;
5911 resultobj
= SWIG_Py_Void();
5918 SWIGINTERN PyObject
*_wrap_new_EmptyBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5919 PyObject
*resultobj
= 0;
5922 int arg3
= (int) -1 ;
5923 wxBitmap
*result
= 0 ;
5930 PyObject
* obj0
= 0 ;
5931 PyObject
* obj1
= 0 ;
5932 PyObject
* obj2
= 0 ;
5933 char * kwnames
[] = {
5934 (char *) "width",(char *) "height",(char *) "depth", NULL
5937 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_EmptyBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5938 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5939 if (!SWIG_IsOK(ecode1
)) {
5940 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_EmptyBitmap" "', expected argument " "1"" of type '" "int""'");
5942 arg1
= static_cast< int >(val1
);
5943 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5944 if (!SWIG_IsOK(ecode2
)) {
5945 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_EmptyBitmap" "', expected argument " "2"" of type '" "int""'");
5947 arg2
= static_cast< int >(val2
);
5949 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5950 if (!SWIG_IsOK(ecode3
)) {
5951 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_EmptyBitmap" "', expected argument " "3"" of type '" "int""'");
5953 arg3
= static_cast< int >(val3
);
5956 if (!wxPyCheckForApp()) SWIG_fail
;
5957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5958 result
= (wxBitmap
*)new wxBitmap(arg1
,arg2
,arg3
);
5959 wxPyEndAllowThreads(__tstate
);
5960 if (PyErr_Occurred()) SWIG_fail
;
5962 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
5969 SWIGINTERN PyObject
*_wrap_new_BitmapFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5970 PyObject
*resultobj
= 0;
5972 wxBitmap
*result
= 0 ;
5975 PyObject
* obj0
= 0 ;
5976 char * kwnames
[] = {
5977 (char *) "icon", NULL
5980 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromIcon",kwnames
,&obj0
)) SWIG_fail
;
5981 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
5982 if (!SWIG_IsOK(res1
)) {
5983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
5986 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
5988 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
5990 if (!wxPyCheckForApp()) SWIG_fail
;
5991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5992 result
= (wxBitmap
*)new wxBitmap((wxIcon
const &)*arg1
);
5993 wxPyEndAllowThreads(__tstate
);
5994 if (PyErr_Occurred()) SWIG_fail
;
5996 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6003 SWIGINTERN PyObject
*_wrap_new_BitmapFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6004 PyObject
*resultobj
= 0;
6006 int arg2
= (int) -1 ;
6007 wxBitmap
*result
= 0 ;
6012 PyObject
* obj0
= 0 ;
6013 PyObject
* obj1
= 0 ;
6014 char * kwnames
[] = {
6015 (char *) "image",(char *) "depth", NULL
6018 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_BitmapFromImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6019 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
6020 if (!SWIG_IsOK(res1
)) {
6021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
6024 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
6026 arg1
= reinterpret_cast< wxImage
* >(argp1
);
6028 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6029 if (!SWIG_IsOK(ecode2
)) {
6030 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromImage" "', expected argument " "2"" of type '" "int""'");
6032 arg2
= static_cast< int >(val2
);
6035 if (!wxPyCheckForApp()) SWIG_fail
;
6036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6037 result
= (wxBitmap
*)new wxBitmap((wxImage
const &)*arg1
,arg2
);
6038 wxPyEndAllowThreads(__tstate
);
6039 if (PyErr_Occurred()) SWIG_fail
;
6041 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6048 SWIGINTERN PyObject
*_wrap_new_BitmapFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6049 PyObject
*resultobj
= 0;
6050 PyObject
*arg1
= (PyObject
*) 0 ;
6051 wxBitmap
*result
= 0 ;
6052 PyObject
* obj0
= 0 ;
6053 char * kwnames
[] = {
6054 (char *) "listOfStrings", NULL
6057 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BitmapFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
6060 if (!wxPyCheckForApp()) SWIG_fail
;
6061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6062 result
= (wxBitmap
*)new_wxBitmap(arg1
);
6063 wxPyEndAllowThreads(__tstate
);
6064 if (PyErr_Occurred()) SWIG_fail
;
6066 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6073 SWIGINTERN PyObject
*_wrap_new_BitmapFromBits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6074 PyObject
*resultobj
= 0;
6075 PyObject
*arg1
= (PyObject
*) 0 ;
6078 int arg4
= (int) 1 ;
6079 wxBitmap
*result
= 0 ;
6086 PyObject
* obj0
= 0 ;
6087 PyObject
* obj1
= 0 ;
6088 PyObject
* obj2
= 0 ;
6089 PyObject
* obj3
= 0 ;
6090 char * kwnames
[] = {
6091 (char *) "bits",(char *) "width",(char *) "height",(char *) "depth", NULL
6094 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_BitmapFromBits",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6096 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6097 if (!SWIG_IsOK(ecode2
)) {
6098 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapFromBits" "', expected argument " "2"" of type '" "int""'");
6100 arg2
= static_cast< int >(val2
);
6101 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6102 if (!SWIG_IsOK(ecode3
)) {
6103 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BitmapFromBits" "', expected argument " "3"" of type '" "int""'");
6105 arg3
= static_cast< int >(val3
);
6107 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6108 if (!SWIG_IsOK(ecode4
)) {
6109 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BitmapFromBits" "', expected argument " "4"" of type '" "int""'");
6111 arg4
= static_cast< int >(val4
);
6114 if (!wxPyCheckForApp()) SWIG_fail
;
6115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6116 result
= (wxBitmap
*)new_wxBitmap(arg1
,arg2
,arg3
,arg4
);
6117 wxPyEndAllowThreads(__tstate
);
6118 if (PyErr_Occurred()) SWIG_fail
;
6120 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6127 SWIGINTERN PyObject
*_wrap_Bitmap_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6128 PyObject
*resultobj
= 0;
6129 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6133 PyObject
*swig_obj
[1] ;
6135 if (!args
) SWIG_fail
;
6137 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6138 if (!SWIG_IsOK(res1
)) {
6139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_IsOk" "', expected argument " "1"" of type '" "wxBitmap *""'");
6141 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6143 result
= (bool)(arg1
)->IsOk();
6144 if (PyErr_Occurred()) SWIG_fail
;
6147 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6155 SWIGINTERN PyObject
*_wrap_Bitmap_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6156 PyObject
*resultobj
= 0;
6157 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6161 PyObject
*swig_obj
[1] ;
6163 if (!args
) SWIG_fail
;
6165 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6166 if (!SWIG_IsOK(res1
)) {
6167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6169 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6171 result
= (int)(arg1
)->GetWidth();
6172 if (PyErr_Occurred()) SWIG_fail
;
6174 resultobj
= SWIG_From_int(static_cast< int >(result
));
6181 SWIGINTERN PyObject
*_wrap_Bitmap_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6182 PyObject
*resultobj
= 0;
6183 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6187 PyObject
*swig_obj
[1] ;
6189 if (!args
) SWIG_fail
;
6191 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6192 if (!SWIG_IsOK(res1
)) {
6193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6195 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6197 result
= (int)(arg1
)->GetHeight();
6198 if (PyErr_Occurred()) SWIG_fail
;
6200 resultobj
= SWIG_From_int(static_cast< int >(result
));
6207 SWIGINTERN PyObject
*_wrap_Bitmap_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6208 PyObject
*resultobj
= 0;
6209 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6213 PyObject
*swig_obj
[1] ;
6215 if (!args
) SWIG_fail
;
6217 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6218 if (!SWIG_IsOK(res1
)) {
6219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6221 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6223 result
= (int)(arg1
)->GetDepth();
6224 if (PyErr_Occurred()) SWIG_fail
;
6226 resultobj
= SWIG_From_int(static_cast< int >(result
));
6233 SWIGINTERN PyObject
*_wrap_Bitmap_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6234 PyObject
*resultobj
= 0;
6235 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6239 PyObject
*swig_obj
[1] ;
6241 if (!args
) SWIG_fail
;
6243 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6244 if (!SWIG_IsOK(res1
)) {
6245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6247 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6249 result
= wxBitmap_GetSize(arg1
);
6250 if (PyErr_Occurred()) SWIG_fail
;
6252 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6259 SWIGINTERN PyObject
*_wrap_Bitmap_ConvertToImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6260 PyObject
*resultobj
= 0;
6261 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6262 SwigValueWrapper
<wxImage
> result
;
6265 PyObject
*swig_obj
[1] ;
6267 if (!args
) SWIG_fail
;
6269 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6270 if (!SWIG_IsOK(res1
)) {
6271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_ConvertToImage" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6273 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6275 result
= ((wxBitmap
const *)arg1
)->ConvertToImage();
6276 if (PyErr_Occurred()) SWIG_fail
;
6278 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
6285 SWIGINTERN PyObject
*_wrap_Bitmap_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6286 PyObject
*resultobj
= 0;
6287 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6288 wxMask
*result
= 0 ;
6291 PyObject
*swig_obj
[1] ;
6293 if (!args
) SWIG_fail
;
6295 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6296 if (!SWIG_IsOK(res1
)) {
6297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetMask" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6299 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6301 result
= (wxMask
*)((wxBitmap
const *)arg1
)->GetMask();
6302 if (PyErr_Occurred()) SWIG_fail
;
6304 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, 0 | 0 );
6311 SWIGINTERN PyObject
*_wrap_Bitmap_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6312 PyObject
*resultobj
= 0;
6313 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6314 wxMask
*arg2
= (wxMask
*) 0 ;
6318 PyObject
* obj0
= 0 ;
6319 PyObject
* obj1
= 0 ;
6320 char * kwnames
[] = {
6321 (char *) "self",(char *) "mask", NULL
6324 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6325 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6326 if (!SWIG_IsOK(res1
)) {
6327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMask" "', expected argument " "1"" of type '" "wxBitmap *""'");
6329 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6330 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
6331 if (!SWIG_IsOK(res2
)) {
6332 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_SetMask" "', expected argument " "2"" of type '" "wxMask *""'");
6335 (arg1
)->SetMask(arg2
);
6336 if (PyErr_Occurred()) SWIG_fail
;
6338 resultobj
= SWIG_Py_Void();
6345 SWIGINTERN PyObject
*_wrap_Bitmap_SetMaskColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6346 PyObject
*resultobj
= 0;
6347 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6348 wxColour
*arg2
= 0 ;
6352 PyObject
* obj0
= 0 ;
6353 PyObject
* obj1
= 0 ;
6354 char * kwnames
[] = {
6355 (char *) "self",(char *) "colour", NULL
6358 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetMaskColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6359 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6360 if (!SWIG_IsOK(res1
)) {
6361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetMaskColour" "', expected argument " "1"" of type '" "wxBitmap *""'");
6363 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6366 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
6369 wxBitmap_SetMaskColour(arg1
,(wxColour
const &)*arg2
);
6370 if (PyErr_Occurred()) SWIG_fail
;
6372 resultobj
= SWIG_Py_Void();
6379 SWIGINTERN PyObject
*_wrap_Bitmap_GetSubBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6380 PyObject
*resultobj
= 0;
6381 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6383 SwigValueWrapper
<wxBitmap
> result
;
6387 PyObject
* obj0
= 0 ;
6388 PyObject
* obj1
= 0 ;
6389 char * kwnames
[] = {
6390 (char *) "self",(char *) "rect", NULL
6393 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_GetSubBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6394 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6395 if (!SWIG_IsOK(res1
)) {
6396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetSubBitmap" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6398 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6401 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
6404 result
= ((wxBitmap
const *)arg1
)->GetSubBitmap((wxRect
const &)*arg2
);
6405 if (PyErr_Occurred()) SWIG_fail
;
6407 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6414 SWIGINTERN PyObject
*_wrap_Bitmap_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6415 PyObject
*resultobj
= 0;
6416 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6417 wxString
*arg2
= 0 ;
6419 wxPalette
*arg4
= (wxPalette
*) NULL
;
6423 bool temp2
= false ;
6428 PyObject
* obj0
= 0 ;
6429 PyObject
* obj1
= 0 ;
6430 PyObject
* obj2
= 0 ;
6431 PyObject
* obj3
= 0 ;
6432 char * kwnames
[] = {
6433 (char *) "self",(char *) "name",(char *) "type",(char *) "palette", NULL
6436 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Bitmap_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6437 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6438 if (!SWIG_IsOK(res1
)) {
6439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SaveFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6441 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6443 arg2
= wxString_in_helper(obj1
);
6444 if (arg2
== NULL
) SWIG_fail
;
6447 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6448 if (!SWIG_IsOK(ecode3
)) {
6449 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_SaveFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6451 arg3
= static_cast< wxBitmapType
>(val3
);
6453 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxPalette
, 0 | 0 );
6454 if (!SWIG_IsOK(res4
)) {
6455 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Bitmap_SaveFile" "', expected argument " "4"" of type '" "wxPalette *""'");
6457 arg4
= reinterpret_cast< wxPalette
* >(argp4
);
6460 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
,arg4
);
6461 if (PyErr_Occurred()) SWIG_fail
;
6464 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6480 SWIGINTERN PyObject
*_wrap_Bitmap_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6481 PyObject
*resultobj
= 0;
6482 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6483 wxString
*arg2
= 0 ;
6488 bool temp2
= false ;
6491 PyObject
* obj0
= 0 ;
6492 PyObject
* obj1
= 0 ;
6493 PyObject
* obj2
= 0 ;
6494 char * kwnames
[] = {
6495 (char *) "self",(char *) "name",(char *) "type", NULL
6498 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Bitmap_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6499 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6500 if (!SWIG_IsOK(res1
)) {
6501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_LoadFile" "', expected argument " "1"" of type '" "wxBitmap *""'");
6503 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6505 arg2
= wxString_in_helper(obj1
);
6506 if (arg2
== NULL
) SWIG_fail
;
6509 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6510 if (!SWIG_IsOK(ecode3
)) {
6511 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Bitmap_LoadFile" "', expected argument " "3"" of type '" "wxBitmapType""'");
6513 arg3
= static_cast< wxBitmapType
>(val3
);
6515 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
6516 if (PyErr_Occurred()) SWIG_fail
;
6519 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6535 SWIGINTERN PyObject
*_wrap_Bitmap_GetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6536 PyObject
*resultobj
= 0;
6537 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6538 wxPalette
*result
= 0 ;
6541 PyObject
*swig_obj
[1] ;
6543 if (!args
) SWIG_fail
;
6545 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6546 if (!SWIG_IsOK(res1
)) {
6547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_GetPalette" "', expected argument " "1"" of type '" "wxBitmap const *""'");
6549 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6551 result
= (wxPalette
*)((wxBitmap
const *)arg1
)->GetPalette();
6552 if (PyErr_Occurred()) SWIG_fail
;
6554 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPalette
, 0 | 0 );
6561 SWIGINTERN PyObject
*_wrap_Bitmap_CopyFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6562 PyObject
*resultobj
= 0;
6563 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6570 PyObject
* obj0
= 0 ;
6571 PyObject
* obj1
= 0 ;
6572 char * kwnames
[] = {
6573 (char *) "self",(char *) "icon", NULL
6576 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_CopyFromIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6577 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6578 if (!SWIG_IsOK(res1
)) {
6579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "1"" of type '" "wxBitmap *""'");
6581 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6582 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
6583 if (!SWIG_IsOK(res2
)) {
6584 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6587 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Bitmap_CopyFromIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
6589 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
6591 result
= (bool)(arg1
)->CopyFromIcon((wxIcon
const &)*arg2
);
6592 if (PyErr_Occurred()) SWIG_fail
;
6595 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6603 SWIGINTERN PyObject
*_wrap_Bitmap_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6604 PyObject
*resultobj
= 0;
6605 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6611 PyObject
* obj0
= 0 ;
6612 PyObject
* obj1
= 0 ;
6613 char * kwnames
[] = {
6614 (char *) "self",(char *) "height", NULL
6617 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6618 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6619 if (!SWIG_IsOK(res1
)) {
6620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetHeight" "', expected argument " "1"" of type '" "wxBitmap *""'");
6622 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6623 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6624 if (!SWIG_IsOK(ecode2
)) {
6625 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetHeight" "', expected argument " "2"" of type '" "int""'");
6627 arg2
= static_cast< int >(val2
);
6629 (arg1
)->SetHeight(arg2
);
6630 if (PyErr_Occurred()) SWIG_fail
;
6632 resultobj
= SWIG_Py_Void();
6639 SWIGINTERN PyObject
*_wrap_Bitmap_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6640 PyObject
*resultobj
= 0;
6641 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6647 PyObject
* obj0
= 0 ;
6648 PyObject
* obj1
= 0 ;
6649 char * kwnames
[] = {
6650 (char *) "self",(char *) "width", NULL
6653 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6654 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6655 if (!SWIG_IsOK(res1
)) {
6656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetWidth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6658 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6659 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6660 if (!SWIG_IsOK(ecode2
)) {
6661 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetWidth" "', expected argument " "2"" of type '" "int""'");
6663 arg2
= static_cast< int >(val2
);
6665 (arg1
)->SetWidth(arg2
);
6666 if (PyErr_Occurred()) SWIG_fail
;
6668 resultobj
= SWIG_Py_Void();
6675 SWIGINTERN PyObject
*_wrap_Bitmap_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6676 PyObject
*resultobj
= 0;
6677 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6683 PyObject
* obj0
= 0 ;
6684 PyObject
* obj1
= 0 ;
6685 char * kwnames
[] = {
6686 (char *) "self",(char *) "depth", NULL
6689 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6690 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6691 if (!SWIG_IsOK(res1
)) {
6692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetDepth" "', expected argument " "1"" of type '" "wxBitmap *""'");
6694 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6695 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6696 if (!SWIG_IsOK(ecode2
)) {
6697 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Bitmap_SetDepth" "', expected argument " "2"" of type '" "int""'");
6699 arg2
= static_cast< int >(val2
);
6701 (arg1
)->SetDepth(arg2
);
6702 if (PyErr_Occurred()) SWIG_fail
;
6704 resultobj
= SWIG_Py_Void();
6711 SWIGINTERN PyObject
*_wrap_Bitmap_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6712 PyObject
*resultobj
= 0;
6713 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6718 PyObject
* obj0
= 0 ;
6719 PyObject
* obj1
= 0 ;
6720 char * kwnames
[] = {
6721 (char *) "self",(char *) "size", NULL
6724 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6725 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6726 if (!SWIG_IsOK(res1
)) {
6727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap_SetSize" "', expected argument " "1"" of type '" "wxBitmap *""'");
6729 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6732 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6735 wxBitmap_SetSize(arg1
,(wxSize
const &)*arg2
);
6736 if (PyErr_Occurred()) SWIG_fail
;
6738 resultobj
= SWIG_Py_Void();
6745 SWIGINTERN PyObject
*_wrap_Bitmap___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6746 PyObject
*resultobj
= 0;
6747 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6748 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
6754 PyObject
* obj0
= 0 ;
6755 PyObject
* obj1
= 0 ;
6756 char * kwnames
[] = {
6757 (char *) "self",(char *) "other", NULL
6760 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6761 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6762 if (!SWIG_IsOK(res1
)) {
6763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___eq__" "', expected argument " "1"" of type '" "wxBitmap *""'");
6765 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6766 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6767 if (!SWIG_IsOK(res2
)) {
6768 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___eq__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
6770 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
6772 result
= (bool)wxBitmap___eq__(arg1
,(wxBitmap
const *)arg2
);
6773 if (PyErr_Occurred()) SWIG_fail
;
6776 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6784 SWIGINTERN PyObject
*_wrap_Bitmap___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6785 PyObject
*resultobj
= 0;
6786 wxBitmap
*arg1
= (wxBitmap
*) 0 ;
6787 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
6793 PyObject
* obj0
= 0 ;
6794 PyObject
* obj1
= 0 ;
6795 char * kwnames
[] = {
6796 (char *) "self",(char *) "other", NULL
6799 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Bitmap___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6800 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6801 if (!SWIG_IsOK(res1
)) {
6802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Bitmap___ne__" "', expected argument " "1"" of type '" "wxBitmap *""'");
6804 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
6805 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
6806 if (!SWIG_IsOK(res2
)) {
6807 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Bitmap___ne__" "', expected argument " "2"" of type '" "wxBitmap const *""'");
6809 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
6811 result
= (bool)wxBitmap___ne__(arg1
,(wxBitmap
const *)arg2
);
6812 if (PyErr_Occurred()) SWIG_fail
;
6815 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6823 SWIGINTERN PyObject
*Bitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6825 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6826 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmap
, SWIG_NewClientData(obj
));
6827 return SWIG_Py_Void();
6830 SWIGINTERN PyObject
*Bitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6831 return SWIG_Python_InitShadowInstance(args
);
6834 SWIGINTERN PyObject
*_wrap__BitmapFromBufferAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6835 PyObject
*resultobj
= 0;
6842 wxBitmap
*result
= 0 ;
6849 PyObject
* obj0
= 0 ;
6850 PyObject
* obj1
= 0 ;
6851 PyObject
* obj2
= 0 ;
6852 PyObject
* obj3
= 0 ;
6853 char * kwnames
[] = {
6854 (char *) "width",(char *) "height",(char *) "data",(char *) "alpha", NULL
6857 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:_BitmapFromBufferAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6858 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6859 if (!SWIG_IsOK(ecode1
)) {
6860 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "1"" of type '" "int""'");
6862 arg1
= static_cast< int >(val1
);
6863 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6864 if (!SWIG_IsOK(ecode2
)) {
6865 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferAlpha" "', expected argument " "2"" of type '" "int""'");
6867 arg2
= static_cast< int >(val2
);
6869 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
6873 if (obj3
!= Py_None
) {
6874 if (PyObject_AsReadBuffer(obj3
, (const void**)(&arg5
), &temp5
) == -1) SWIG_fail
;
6879 result
= (wxBitmap
*)_BitmapFromBufferAlpha(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
6880 if (PyErr_Occurred()) SWIG_fail
;
6882 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6889 SWIGINTERN PyObject
*_wrap__BitmapFromBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6890 PyObject
*resultobj
= 0;
6895 wxBitmap
*result
= 0 ;
6901 PyObject
* obj0
= 0 ;
6902 PyObject
* obj1
= 0 ;
6903 PyObject
* obj2
= 0 ;
6904 char * kwnames
[] = {
6905 (char *) "width",(char *) "height",(char *) "data", NULL
6908 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBuffer",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6909 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6910 if (!SWIG_IsOK(ecode1
)) {
6911 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBuffer" "', expected argument " "1"" of type '" "int""'");
6913 arg1
= static_cast< int >(val1
);
6914 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6915 if (!SWIG_IsOK(ecode2
)) {
6916 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBuffer" "', expected argument " "2"" of type '" "int""'");
6918 arg2
= static_cast< int >(val2
);
6920 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
6924 result
= (wxBitmap
*)_BitmapFromBuffer(arg1
,arg2
,arg3
,arg4
);
6925 if (PyErr_Occurred()) SWIG_fail
;
6927 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6934 SWIGINTERN PyObject
*_wrap__BitmapFromBufferRGBA(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6935 PyObject
*resultobj
= 0;
6940 wxBitmap
*result
= 0 ;
6946 PyObject
* obj0
= 0 ;
6947 PyObject
* obj1
= 0 ;
6948 PyObject
* obj2
= 0 ;
6949 char * kwnames
[] = {
6950 (char *) "width",(char *) "height",(char *) "data", NULL
6953 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:_BitmapFromBufferRGBA",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6954 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6955 if (!SWIG_IsOK(ecode1
)) {
6956 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "1"" of type '" "int""'");
6958 arg1
= static_cast< int >(val1
);
6959 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6960 if (!SWIG_IsOK(ecode2
)) {
6961 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "_BitmapFromBufferRGBA" "', expected argument " "2"" of type '" "int""'");
6963 arg2
= static_cast< int >(val2
);
6965 if (PyObject_AsReadBuffer(obj2
, (const void**)(&arg3
), &temp3
) == -1) SWIG_fail
;
6969 result
= (wxBitmap
*)_BitmapFromBufferRGBA(arg1
,arg2
,arg3
,arg4
);
6970 if (PyErr_Occurred()) SWIG_fail
;
6972 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
6979 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6980 PyObject
*resultobj
= 0;
6981 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
6985 PyObject
*swig_obj
[1] ;
6987 if (!args
) SWIG_fail
;
6989 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
6990 if (!SWIG_IsOK(res1
)) {
6991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetOrigin" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
6993 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
6995 result
= ((wxPixelDataBase
const *)arg1
)->GetOrigin();
6996 if (PyErr_Occurred()) SWIG_fail
;
6998 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
7005 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7006 PyObject
*resultobj
= 0;
7007 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7011 PyObject
*swig_obj
[1] ;
7013 if (!args
) SWIG_fail
;
7015 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7016 if (!SWIG_IsOK(res1
)) {
7017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetWidth" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7019 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7021 result
= (int)((wxPixelDataBase
const *)arg1
)->GetWidth();
7022 if (PyErr_Occurred()) SWIG_fail
;
7024 resultobj
= SWIG_From_int(static_cast< int >(result
));
7031 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7032 PyObject
*resultobj
= 0;
7033 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7037 PyObject
*swig_obj
[1] ;
7039 if (!args
) SWIG_fail
;
7041 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7042 if (!SWIG_IsOK(res1
)) {
7043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetHeight" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7045 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7047 result
= (int)((wxPixelDataBase
const *)arg1
)->GetHeight();
7048 if (PyErr_Occurred()) SWIG_fail
;
7050 resultobj
= SWIG_From_int(static_cast< int >(result
));
7057 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7058 PyObject
*resultobj
= 0;
7059 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7063 PyObject
*swig_obj
[1] ;
7065 if (!args
) SWIG_fail
;
7067 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7068 if (!SWIG_IsOK(res1
)) {
7069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetSize" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7071 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7073 result
= ((wxPixelDataBase
const *)arg1
)->GetSize();
7074 if (PyErr_Occurred()) SWIG_fail
;
7076 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
7083 SWIGINTERN PyObject
*_wrap_PixelDataBase_GetRowStride(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7084 PyObject
*resultobj
= 0;
7085 wxPixelDataBase
*arg1
= (wxPixelDataBase
*) 0 ;
7089 PyObject
*swig_obj
[1] ;
7091 if (!args
) SWIG_fail
;
7093 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPixelDataBase
, 0 | 0 );
7094 if (!SWIG_IsOK(res1
)) {
7095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PixelDataBase_GetRowStride" "', expected argument " "1"" of type '" "wxPixelDataBase const *""'");
7097 arg1
= reinterpret_cast< wxPixelDataBase
* >(argp1
);
7099 result
= (int)((wxPixelDataBase
const *)arg1
)->GetRowStride();
7100 if (PyErr_Occurred()) SWIG_fail
;
7102 resultobj
= SWIG_From_int(static_cast< int >(result
));
7109 SWIGINTERN PyObject
*PixelDataBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7111 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7112 SWIG_TypeNewClientData(SWIGTYPE_p_wxPixelDataBase
, SWIG_NewClientData(obj
));
7113 return SWIG_Py_Void();
7116 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7117 PyObject
*resultobj
= 0;
7118 wxBitmap
*arg1
= 0 ;
7119 wxNativePixelData
*result
= 0 ;
7123 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7124 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7125 if (!SWIG_IsOK(res1
)) {
7126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7129 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7131 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7133 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
);
7134 if (PyErr_Occurred()) SWIG_fail
;
7136 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7143 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7144 PyObject
*resultobj
= 0;
7145 wxBitmap
*arg1
= 0 ;
7147 wxNativePixelData
*result
= 0 ;
7152 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7153 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7154 if (!SWIG_IsOK(res1
)) {
7155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7158 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7160 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7163 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7166 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxRect
const &)*arg2
);
7167 if (PyErr_Occurred()) SWIG_fail
;
7169 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7176 SWIGINTERN PyObject
*_wrap_new_NativePixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7177 PyObject
*resultobj
= 0;
7178 wxBitmap
*arg1
= 0 ;
7181 wxNativePixelData
*result
= 0 ;
7187 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
7188 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7189 if (!SWIG_IsOK(res1
)) {
7190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7193 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7195 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7198 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7202 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
7205 result
= (wxNativePixelData
*)new wxNativePixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
7206 if (PyErr_Occurred()) SWIG_fail
;
7208 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_NEW
| 0 );
7215 SWIGINTERN PyObject
*_wrap_new_NativePixelData(PyObject
*self
, PyObject
*args
) {
7219 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData",0,3,argv
))) SWIG_fail
;
7222 return _wrap_new_NativePixelData__SWIG_0(self
, argc
, argv
);
7225 return _wrap_new_NativePixelData__SWIG_1(self
, argc
, argv
);
7228 return _wrap_new_NativePixelData__SWIG_2(self
, argc
, argv
);
7232 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData'");
7237 SWIGINTERN PyObject
*_wrap_delete_NativePixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7238 PyObject
*resultobj
= 0;
7239 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7242 PyObject
*swig_obj
[1] ;
7244 if (!args
) SWIG_fail
;
7246 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, SWIG_POINTER_DISOWN
| 0 );
7247 if (!SWIG_IsOK(res1
)) {
7248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7250 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7254 if (PyErr_Occurred()) SWIG_fail
;
7256 resultobj
= SWIG_Py_Void();
7263 SWIGINTERN PyObject
*_wrap_NativePixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7264 PyObject
*resultobj
= 0;
7265 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7266 wxNativePixelData_Accessor result
;
7269 PyObject
*swig_obj
[1] ;
7271 if (!args
) SWIG_fail
;
7273 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7274 if (!SWIG_IsOK(res1
)) {
7275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_GetPixels" "', expected argument " "1"" of type '" "wxNativePixelData const *""'");
7277 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7279 result
= ((wxNativePixelData
const *)arg1
)->GetPixels();
7280 if (PyErr_Occurred()) SWIG_fail
;
7282 resultobj
= SWIG_NewPointerObj((new wxNativePixelData_Accessor(static_cast< const wxNativePixelData_Accessor
& >(result
))), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
7289 SWIGINTERN PyObject
*_wrap_NativePixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7290 PyObject
*resultobj
= 0;
7291 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7294 PyObject
*swig_obj
[1] ;
7296 if (!args
) SWIG_fail
;
7298 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7299 if (!SWIG_IsOK(res1
)) {
7300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_UseAlpha" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7302 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7305 if (PyErr_Occurred()) SWIG_fail
;
7307 resultobj
= SWIG_Py_Void();
7314 SWIGINTERN PyObject
*_wrap_NativePixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7315 PyObject
*resultobj
= 0;
7316 wxNativePixelData
*arg1
= (wxNativePixelData
*) 0 ;
7320 PyObject
*swig_obj
[1] ;
7322 if (!args
) SWIG_fail
;
7324 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData
, 0 | 0 );
7325 if (!SWIG_IsOK(res1
)) {
7326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData___nonzero__" "', expected argument " "1"" of type '" "wxNativePixelData *""'");
7328 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7330 result
= (bool)wxNativePixelData___nonzero__(arg1
);
7331 if (PyErr_Occurred()) SWIG_fail
;
7334 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7342 SWIGINTERN PyObject
*NativePixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7344 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7345 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData
, SWIG_NewClientData(obj
));
7346 return SWIG_Py_Void();
7349 SWIGINTERN PyObject
*NativePixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7350 return SWIG_Python_InitShadowInstance(args
);
7353 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7354 PyObject
*resultobj
= 0;
7355 wxNativePixelData
*arg1
= 0 ;
7356 wxNativePixelData_Accessor
*result
= 0 ;
7360 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7361 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxNativePixelData
, 0 );
7362 if (!SWIG_IsOK(res1
)) {
7363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7366 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData &""'");
7368 arg1
= reinterpret_cast< wxNativePixelData
* >(argp1
);
7370 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
);
7371 if (PyErr_Occurred()) SWIG_fail
;
7373 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7380 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7381 PyObject
*resultobj
= 0;
7382 wxBitmap
*arg1
= 0 ;
7383 wxNativePixelData
*arg2
= 0 ;
7384 wxNativePixelData_Accessor
*result
= 0 ;
7390 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7391 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7392 if (!SWIG_IsOK(res1
)) {
7393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7396 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
7398 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7399 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 );
7400 if (!SWIG_IsOK(res2
)) {
7401 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7404 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_NativePixelData_Accessor" "', expected argument " "2"" of type '" "wxNativePixelData &""'");
7406 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7408 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor(*arg1
,*arg2
);
7409 if (PyErr_Occurred()) SWIG_fail
;
7411 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7418 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
7419 PyObject
*resultobj
= 0;
7420 wxNativePixelData_Accessor
*result
= 0 ;
7422 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
7424 result
= (wxNativePixelData_Accessor
*)new wxNativePixelData_Accessor();
7425 if (PyErr_Occurred()) SWIG_fail
;
7427 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
7434 SWIGINTERN PyObject
*_wrap_new_NativePixelData_Accessor(PyObject
*self
, PyObject
*args
) {
7438 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_NativePixelData_Accessor",0,2,argv
))) SWIG_fail
;
7441 return _wrap_new_NativePixelData_Accessor__SWIG_2(self
, argc
, argv
);
7444 return _wrap_new_NativePixelData_Accessor__SWIG_0(self
, argc
, argv
);
7447 return _wrap_new_NativePixelData_Accessor__SWIG_1(self
, argc
, argv
);
7451 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_NativePixelData_Accessor'");
7456 SWIGINTERN PyObject
*_wrap_delete_NativePixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7457 PyObject
*resultobj
= 0;
7458 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7461 PyObject
*swig_obj
[1] ;
7463 if (!args
) SWIG_fail
;
7465 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
7466 if (!SWIG_IsOK(res1
)) {
7467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativePixelData_Accessor" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7469 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7473 if (PyErr_Occurred()) SWIG_fail
;
7475 resultobj
= SWIG_Py_Void();
7482 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7483 PyObject
*resultobj
= 0;
7484 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7485 wxNativePixelData
*arg2
= 0 ;
7490 PyObject
* obj0
= 0 ;
7491 PyObject
* obj1
= 0 ;
7492 char * kwnames
[] = {
7493 (char *) "self",(char *) "data", NULL
7496 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativePixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7497 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7498 if (!SWIG_IsOK(res1
)) {
7499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7501 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7502 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7503 if (!SWIG_IsOK(res2
)) {
7504 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7507 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7509 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7511 (arg1
)->Reset((wxNativePixelData
const &)*arg2
);
7512 if (PyErr_Occurred()) SWIG_fail
;
7514 resultobj
= SWIG_Py_Void();
7521 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7522 PyObject
*resultobj
= 0;
7523 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7527 PyObject
*swig_obj
[1] ;
7529 if (!args
) SWIG_fail
;
7531 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7532 if (!SWIG_IsOK(res1
)) {
7533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor const *""'");
7535 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7537 result
= (bool)((wxNativePixelData_Accessor
const *)arg1
)->IsOk();
7538 if (PyErr_Occurred()) SWIG_fail
;
7541 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7549 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7550 PyObject
*resultobj
= 0;
7551 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7554 PyObject
*swig_obj
[1] ;
7556 if (!args
) SWIG_fail
;
7558 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7559 if (!SWIG_IsOK(res1
)) {
7560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7562 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7564 wxNativePixelData_Accessor_nextPixel(arg1
);
7565 if (PyErr_Occurred()) SWIG_fail
;
7567 resultobj
= SWIG_Py_Void();
7574 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7575 PyObject
*resultobj
= 0;
7576 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7577 wxNativePixelData
*arg2
= 0 ;
7588 PyObject
* obj0
= 0 ;
7589 PyObject
* obj1
= 0 ;
7590 PyObject
* obj2
= 0 ;
7591 PyObject
* obj3
= 0 ;
7592 char * kwnames
[] = {
7593 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
7596 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7597 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7598 if (!SWIG_IsOK(res1
)) {
7599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7601 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7602 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7603 if (!SWIG_IsOK(res2
)) {
7604 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7607 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7609 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7610 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7611 if (!SWIG_IsOK(ecode3
)) {
7612 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
7614 arg3
= static_cast< int >(val3
);
7615 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7616 if (!SWIG_IsOK(ecode4
)) {
7617 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
7619 arg4
= static_cast< int >(val4
);
7621 (arg1
)->Offset((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
7622 if (PyErr_Occurred()) SWIG_fail
;
7624 resultobj
= SWIG_Py_Void();
7631 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7632 PyObject
*resultobj
= 0;
7633 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7634 wxNativePixelData
*arg2
= 0 ;
7642 PyObject
* obj0
= 0 ;
7643 PyObject
* obj1
= 0 ;
7644 PyObject
* obj2
= 0 ;
7645 char * kwnames
[] = {
7646 (char *) "self",(char *) "data",(char *) "x", NULL
7649 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7650 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7651 if (!SWIG_IsOK(res1
)) {
7652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7654 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7655 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7656 if (!SWIG_IsOK(res2
)) {
7657 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7660 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7662 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7663 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7664 if (!SWIG_IsOK(ecode3
)) {
7665 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
7667 arg3
= static_cast< int >(val3
);
7669 (arg1
)->OffsetX((wxNativePixelData
const &)*arg2
,arg3
);
7670 if (PyErr_Occurred()) SWIG_fail
;
7672 resultobj
= SWIG_Py_Void();
7679 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7680 PyObject
*resultobj
= 0;
7681 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7682 wxNativePixelData
*arg2
= 0 ;
7690 PyObject
* obj0
= 0 ;
7691 PyObject
* obj1
= 0 ;
7692 PyObject
* obj2
= 0 ;
7693 char * kwnames
[] = {
7694 (char *) "self",(char *) "data",(char *) "y", NULL
7697 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:NativePixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7698 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7699 if (!SWIG_IsOK(res1
)) {
7700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7702 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7703 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7704 if (!SWIG_IsOK(res2
)) {
7705 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7708 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7710 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7711 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7712 if (!SWIG_IsOK(ecode3
)) {
7713 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
7715 arg3
= static_cast< int >(val3
);
7717 (arg1
)->OffsetY((wxNativePixelData
const &)*arg2
,arg3
);
7718 if (PyErr_Occurred()) SWIG_fail
;
7720 resultobj
= SWIG_Py_Void();
7727 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7728 PyObject
*resultobj
= 0;
7729 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7730 wxNativePixelData
*arg2
= 0 ;
7741 PyObject
* obj0
= 0 ;
7742 PyObject
* obj1
= 0 ;
7743 PyObject
* obj2
= 0 ;
7744 PyObject
* obj3
= 0 ;
7745 char * kwnames
[] = {
7746 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
7749 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7750 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7751 if (!SWIG_IsOK(res1
)) {
7752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7754 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7755 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativePixelData
, 0 | 0);
7756 if (!SWIG_IsOK(res2
)) {
7757 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7760 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxNativePixelData const &""'");
7762 arg2
= reinterpret_cast< wxNativePixelData
* >(argp2
);
7763 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7764 if (!SWIG_IsOK(ecode3
)) {
7765 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
7767 arg3
= static_cast< int >(val3
);
7768 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7769 if (!SWIG_IsOK(ecode4
)) {
7770 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
7772 arg4
= static_cast< int >(val4
);
7774 (arg1
)->MoveTo((wxNativePixelData
const &)*arg2
,arg3
,arg4
);
7775 if (PyErr_Occurred()) SWIG_fail
;
7777 resultobj
= SWIG_Py_Void();
7784 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7785 PyObject
*resultobj
= 0;
7786 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7792 unsigned char val2
;
7794 unsigned char val3
;
7796 unsigned char val4
;
7798 PyObject
* obj0
= 0 ;
7799 PyObject
* obj1
= 0 ;
7800 PyObject
* obj2
= 0 ;
7801 PyObject
* obj3
= 0 ;
7802 char * kwnames
[] = {
7803 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
7806 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:NativePixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7807 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7808 if (!SWIG_IsOK(res1
)) {
7809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7811 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7812 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
7813 if (!SWIG_IsOK(ecode2
)) {
7814 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
7816 arg2
= static_cast< byte
>(val2
);
7817 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
7818 if (!SWIG_IsOK(ecode3
)) {
7819 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
7821 arg3
= static_cast< byte
>(val3
);
7822 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
7823 if (!SWIG_IsOK(ecode4
)) {
7824 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "NativePixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
7826 arg4
= static_cast< byte
>(val4
);
7828 wxNativePixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
);
7829 if (PyErr_Occurred()) SWIG_fail
;
7831 resultobj
= SWIG_Py_Void();
7838 SWIGINTERN PyObject
*_wrap_NativePixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7839 PyObject
*resultobj
= 0;
7840 wxNativePixelData_Accessor
*arg1
= (wxNativePixelData_Accessor
*) 0 ;
7841 PyObject
*result
= 0 ;
7844 PyObject
*swig_obj
[1] ;
7846 if (!args
) SWIG_fail
;
7848 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativePixelData_Accessor
, 0 | 0 );
7849 if (!SWIG_IsOK(res1
)) {
7850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativePixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxNativePixelData_Accessor *""'");
7852 arg1
= reinterpret_cast< wxNativePixelData_Accessor
* >(argp1
);
7854 result
= (PyObject
*)wxNativePixelData_Accessor_Get(arg1
);
7855 if (PyErr_Occurred()) SWIG_fail
;
7864 SWIGINTERN PyObject
*NativePixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7866 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7867 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativePixelData_Accessor
, SWIG_NewClientData(obj
));
7868 return SWIG_Py_Void();
7871 SWIGINTERN PyObject
*NativePixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7872 return SWIG_Python_InitShadowInstance(args
);
7875 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7876 PyObject
*resultobj
= 0;
7877 wxBitmap
*arg1
= 0 ;
7878 wxAlphaPixelData
*result
= 0 ;
7882 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
7883 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7884 if (!SWIG_IsOK(res1
)) {
7885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7888 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7890 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7892 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
);
7893 if (PyErr_Occurred()) SWIG_fail
;
7895 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
7902 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7903 PyObject
*resultobj
= 0;
7904 wxBitmap
*arg1
= 0 ;
7906 wxAlphaPixelData
*result
= 0 ;
7911 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
7912 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7913 if (!SWIG_IsOK(res1
)) {
7914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7917 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7919 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7922 if ( ! wxRect_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7925 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxRect
const &)*arg2
);
7926 if (PyErr_Occurred()) SWIG_fail
;
7928 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
7935 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
7936 PyObject
*resultobj
= 0;
7937 wxBitmap
*arg1
= 0 ;
7940 wxAlphaPixelData
*result
= 0 ;
7946 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
7947 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
7948 if (!SWIG_IsOK(res1
)) {
7949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7952 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData" "', expected argument " "1"" of type '" "wxBitmap &""'");
7954 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
7957 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
7961 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
7964 result
= (wxAlphaPixelData
*)new wxAlphaPixelData(*arg1
,(wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
7965 if (PyErr_Occurred()) SWIG_fail
;
7967 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_NEW
| 0 );
7974 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData(PyObject
*self
, PyObject
*args
) {
7978 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData",0,3,argv
))) SWIG_fail
;
7981 return _wrap_new_AlphaPixelData__SWIG_0(self
, argc
, argv
);
7984 return _wrap_new_AlphaPixelData__SWIG_1(self
, argc
, argv
);
7987 return _wrap_new_AlphaPixelData__SWIG_2(self
, argc
, argv
);
7991 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData'");
7996 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7997 PyObject
*resultobj
= 0;
7998 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8001 PyObject
*swig_obj
[1] ;
8003 if (!args
) SWIG_fail
;
8005 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, SWIG_POINTER_DISOWN
| 0 );
8006 if (!SWIG_IsOK(res1
)) {
8007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8009 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8013 if (PyErr_Occurred()) SWIG_fail
;
8015 resultobj
= SWIG_Py_Void();
8022 SWIGINTERN PyObject
*_wrap_AlphaPixelData_GetPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8023 PyObject
*resultobj
= 0;
8024 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8025 wxAlphaPixelData_Accessor result
;
8028 PyObject
*swig_obj
[1] ;
8030 if (!args
) SWIG_fail
;
8032 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8033 if (!SWIG_IsOK(res1
)) {
8034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_GetPixels" "', expected argument " "1"" of type '" "wxAlphaPixelData const *""'");
8036 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8038 result
= ((wxAlphaPixelData
const *)arg1
)->GetPixels();
8039 if (PyErr_Occurred()) SWIG_fail
;
8041 resultobj
= SWIG_NewPointerObj((new wxAlphaPixelData_Accessor(static_cast< const wxAlphaPixelData_Accessor
& >(result
))), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_OWN
| 0 );
8048 SWIGINTERN PyObject
*_wrap_AlphaPixelData_UseAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8049 PyObject
*resultobj
= 0;
8050 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8053 PyObject
*swig_obj
[1] ;
8055 if (!args
) SWIG_fail
;
8057 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8058 if (!SWIG_IsOK(res1
)) {
8059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_UseAlpha" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8061 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8064 if (PyErr_Occurred()) SWIG_fail
;
8066 resultobj
= SWIG_Py_Void();
8073 SWIGINTERN PyObject
*_wrap_AlphaPixelData___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8074 PyObject
*resultobj
= 0;
8075 wxAlphaPixelData
*arg1
= (wxAlphaPixelData
*) 0 ;
8079 PyObject
*swig_obj
[1] ;
8081 if (!args
) SWIG_fail
;
8083 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData
, 0 | 0 );
8084 if (!SWIG_IsOK(res1
)) {
8085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData___nonzero__" "', expected argument " "1"" of type '" "wxAlphaPixelData *""'");
8087 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8089 result
= (bool)wxAlphaPixelData___nonzero__(arg1
);
8090 if (PyErr_Occurred()) SWIG_fail
;
8093 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8101 SWIGINTERN PyObject
*AlphaPixelData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8103 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8104 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData
, SWIG_NewClientData(obj
));
8105 return SWIG_Py_Void();
8108 SWIGINTERN PyObject
*AlphaPixelData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8109 return SWIG_Python_InitShadowInstance(args
);
8112 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8113 PyObject
*resultobj
= 0;
8114 wxAlphaPixelData
*arg1
= 0 ;
8115 wxAlphaPixelData_Accessor
*result
= 0 ;
8119 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
8120 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8121 if (!SWIG_IsOK(res1
)) {
8122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
8125 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData &""'");
8127 arg1
= reinterpret_cast< wxAlphaPixelData
* >(argp1
);
8129 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
);
8130 if (PyErr_Occurred()) SWIG_fail
;
8132 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8139 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
8140 PyObject
*resultobj
= 0;
8141 wxBitmap
*arg1
= 0 ;
8142 wxAlphaPixelData
*arg2
= 0 ;
8143 wxAlphaPixelData_Accessor
*result
= 0 ;
8149 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
8150 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxBitmap
, 0 );
8151 if (!SWIG_IsOK(res1
)) {
8152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8155 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxBitmap &""'");
8157 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8158 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 );
8159 if (!SWIG_IsOK(res2
)) {
8160 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8163 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_AlphaPixelData_Accessor" "', expected argument " "2"" of type '" "wxAlphaPixelData &""'");
8165 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8167 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor(*arg1
,*arg2
);
8168 if (PyErr_Occurred()) SWIG_fail
;
8170 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8177 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
8178 PyObject
*resultobj
= 0;
8179 wxAlphaPixelData_Accessor
*result
= 0 ;
8181 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
8183 result
= (wxAlphaPixelData_Accessor
*)new wxAlphaPixelData_Accessor();
8184 if (PyErr_Occurred()) SWIG_fail
;
8186 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_NEW
| 0 );
8193 SWIGINTERN PyObject
*_wrap_new_AlphaPixelData_Accessor(PyObject
*self
, PyObject
*args
) {
8197 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_AlphaPixelData_Accessor",0,2,argv
))) SWIG_fail
;
8200 return _wrap_new_AlphaPixelData_Accessor__SWIG_2(self
, argc
, argv
);
8203 return _wrap_new_AlphaPixelData_Accessor__SWIG_0(self
, argc
, argv
);
8206 return _wrap_new_AlphaPixelData_Accessor__SWIG_1(self
, argc
, argv
);
8210 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_AlphaPixelData_Accessor'");
8215 SWIGINTERN PyObject
*_wrap_delete_AlphaPixelData_Accessor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8216 PyObject
*resultobj
= 0;
8217 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8220 PyObject
*swig_obj
[1] ;
8222 if (!args
) SWIG_fail
;
8224 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_POINTER_DISOWN
| 0 );
8225 if (!SWIG_IsOK(res1
)) {
8226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AlphaPixelData_Accessor" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8228 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8232 if (PyErr_Occurred()) SWIG_fail
;
8234 resultobj
= SWIG_Py_Void();
8241 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8242 PyObject
*resultobj
= 0;
8243 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8244 wxAlphaPixelData
*arg2
= 0 ;
8249 PyObject
* obj0
= 0 ;
8250 PyObject
* obj1
= 0 ;
8251 char * kwnames
[] = {
8252 (char *) "self",(char *) "data", NULL
8255 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AlphaPixelData_Accessor_Reset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8256 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8257 if (!SWIG_IsOK(res1
)) {
8258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8260 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8261 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8262 if (!SWIG_IsOK(res2
)) {
8263 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8266 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Reset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8268 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8270 (arg1
)->Reset((wxAlphaPixelData
const &)*arg2
);
8271 if (PyErr_Occurred()) SWIG_fail
;
8273 resultobj
= SWIG_Py_Void();
8280 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8281 PyObject
*resultobj
= 0;
8282 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8286 PyObject
*swig_obj
[1] ;
8288 if (!args
) SWIG_fail
;
8290 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8291 if (!SWIG_IsOK(res1
)) {
8292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_IsOk" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor const *""'");
8294 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8296 result
= (bool)((wxAlphaPixelData_Accessor
const *)arg1
)->IsOk();
8297 if (PyErr_Occurred()) SWIG_fail
;
8300 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8308 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_nextPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8309 PyObject
*resultobj
= 0;
8310 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8313 PyObject
*swig_obj
[1] ;
8315 if (!args
) SWIG_fail
;
8317 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8318 if (!SWIG_IsOK(res1
)) {
8319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_nextPixel" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8321 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8323 wxAlphaPixelData_Accessor_nextPixel(arg1
);
8324 if (PyErr_Occurred()) SWIG_fail
;
8326 resultobj
= SWIG_Py_Void();
8333 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8334 PyObject
*resultobj
= 0;
8335 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8336 wxAlphaPixelData
*arg2
= 0 ;
8347 PyObject
* obj0
= 0 ;
8348 PyObject
* obj1
= 0 ;
8349 PyObject
* obj2
= 0 ;
8350 PyObject
* obj3
= 0 ;
8351 char * kwnames
[] = {
8352 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8355 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_Offset",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8356 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8357 if (!SWIG_IsOK(res1
)) {
8358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8360 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8361 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8362 if (!SWIG_IsOK(res2
)) {
8363 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8366 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8368 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8369 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8370 if (!SWIG_IsOK(ecode3
)) {
8371 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "3"" of type '" "int""'");
8373 arg3
= static_cast< int >(val3
);
8374 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8375 if (!SWIG_IsOK(ecode4
)) {
8376 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Offset" "', expected argument " "4"" of type '" "int""'");
8378 arg4
= static_cast< int >(val4
);
8380 (arg1
)->Offset((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8381 if (PyErr_Occurred()) SWIG_fail
;
8383 resultobj
= SWIG_Py_Void();
8390 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8391 PyObject
*resultobj
= 0;
8392 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8393 wxAlphaPixelData
*arg2
= 0 ;
8401 PyObject
* obj0
= 0 ;
8402 PyObject
* obj1
= 0 ;
8403 PyObject
* obj2
= 0 ;
8404 char * kwnames
[] = {
8405 (char *) "self",(char *) "data",(char *) "x", NULL
8408 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetX",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8409 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8410 if (!SWIG_IsOK(res1
)) {
8411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8413 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8414 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8415 if (!SWIG_IsOK(res2
)) {
8416 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8419 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8421 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8422 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8423 if (!SWIG_IsOK(ecode3
)) {
8424 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetX" "', expected argument " "3"" of type '" "int""'");
8426 arg3
= static_cast< int >(val3
);
8428 (arg1
)->OffsetX((wxAlphaPixelData
const &)*arg2
,arg3
);
8429 if (PyErr_Occurred()) SWIG_fail
;
8431 resultobj
= SWIG_Py_Void();
8438 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_OffsetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8439 PyObject
*resultobj
= 0;
8440 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8441 wxAlphaPixelData
*arg2
= 0 ;
8449 PyObject
* obj0
= 0 ;
8450 PyObject
* obj1
= 0 ;
8451 PyObject
* obj2
= 0 ;
8452 char * kwnames
[] = {
8453 (char *) "self",(char *) "data",(char *) "y", NULL
8456 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:AlphaPixelData_Accessor_OffsetY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8457 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8458 if (!SWIG_IsOK(res1
)) {
8459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8461 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8462 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8463 if (!SWIG_IsOK(res2
)) {
8464 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8467 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8469 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8470 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8471 if (!SWIG_IsOK(ecode3
)) {
8472 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_OffsetY" "', expected argument " "3"" of type '" "int""'");
8474 arg3
= static_cast< int >(val3
);
8476 (arg1
)->OffsetY((wxAlphaPixelData
const &)*arg2
,arg3
);
8477 if (PyErr_Occurred()) SWIG_fail
;
8479 resultobj
= SWIG_Py_Void();
8486 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_MoveTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8487 PyObject
*resultobj
= 0;
8488 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8489 wxAlphaPixelData
*arg2
= 0 ;
8500 PyObject
* obj0
= 0 ;
8501 PyObject
* obj1
= 0 ;
8502 PyObject
* obj2
= 0 ;
8503 PyObject
* obj3
= 0 ;
8504 char * kwnames
[] = {
8505 (char *) "self",(char *) "data",(char *) "x",(char *) "y", NULL
8508 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AlphaPixelData_Accessor_MoveTo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8509 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8510 if (!SWIG_IsOK(res1
)) {
8511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8513 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8514 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAlphaPixelData
, 0 | 0);
8515 if (!SWIG_IsOK(res2
)) {
8516 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8519 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "2"" of type '" "wxAlphaPixelData const &""'");
8521 arg2
= reinterpret_cast< wxAlphaPixelData
* >(argp2
);
8522 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8523 if (!SWIG_IsOK(ecode3
)) {
8524 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "3"" of type '" "int""'");
8526 arg3
= static_cast< int >(val3
);
8527 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8528 if (!SWIG_IsOK(ecode4
)) {
8529 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_MoveTo" "', expected argument " "4"" of type '" "int""'");
8531 arg4
= static_cast< int >(val4
);
8533 (arg1
)->MoveTo((wxAlphaPixelData
const &)*arg2
,arg3
,arg4
);
8534 if (PyErr_Occurred()) SWIG_fail
;
8536 resultobj
= SWIG_Py_Void();
8543 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8544 PyObject
*resultobj
= 0;
8545 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8552 unsigned char val2
;
8554 unsigned char val3
;
8556 unsigned char val4
;
8558 unsigned char val5
;
8560 PyObject
* obj0
= 0 ;
8561 PyObject
* obj1
= 0 ;
8562 PyObject
* obj2
= 0 ;
8563 PyObject
* obj3
= 0 ;
8564 PyObject
* obj4
= 0 ;
8565 char * kwnames
[] = {
8566 (char *) "self",(char *) "red",(char *) "green",(char *) "blue",(char *) "alpha", NULL
8569 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:AlphaPixelData_Accessor_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8570 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8571 if (!SWIG_IsOK(res1
)) {
8572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8574 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8575 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
8576 if (!SWIG_IsOK(ecode2
)) {
8577 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "2"" of type '" "byte""'");
8579 arg2
= static_cast< byte
>(val2
);
8580 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
8581 if (!SWIG_IsOK(ecode3
)) {
8582 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "3"" of type '" "byte""'");
8584 arg3
= static_cast< byte
>(val3
);
8585 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
8586 if (!SWIG_IsOK(ecode4
)) {
8587 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "4"" of type '" "byte""'");
8589 arg4
= static_cast< byte
>(val4
);
8590 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
8591 if (!SWIG_IsOK(ecode5
)) {
8592 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "AlphaPixelData_Accessor_Set" "', expected argument " "5"" of type '" "byte""'");
8594 arg5
= static_cast< byte
>(val5
);
8596 wxAlphaPixelData_Accessor_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
8597 if (PyErr_Occurred()) SWIG_fail
;
8599 resultobj
= SWIG_Py_Void();
8606 SWIGINTERN PyObject
*_wrap_AlphaPixelData_Accessor_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8607 PyObject
*resultobj
= 0;
8608 wxAlphaPixelData_Accessor
*arg1
= (wxAlphaPixelData_Accessor
*) 0 ;
8609 PyObject
*result
= 0 ;
8612 PyObject
*swig_obj
[1] ;
8614 if (!args
) SWIG_fail
;
8616 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAlphaPixelData_Accessor
, 0 | 0 );
8617 if (!SWIG_IsOK(res1
)) {
8618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AlphaPixelData_Accessor_Get" "', expected argument " "1"" of type '" "wxAlphaPixelData_Accessor *""'");
8620 arg1
= reinterpret_cast< wxAlphaPixelData_Accessor
* >(argp1
);
8622 result
= (PyObject
*)wxAlphaPixelData_Accessor_Get(arg1
);
8623 if (PyErr_Occurred()) SWIG_fail
;
8632 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8634 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8635 SWIG_TypeNewClientData(SWIGTYPE_p_wxAlphaPixelData_Accessor
, SWIG_NewClientData(obj
));
8636 return SWIG_Py_Void();
8639 SWIGINTERN PyObject
*AlphaPixelData_Accessor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8640 return SWIG_Python_InitShadowInstance(args
);
8643 SWIGINTERN PyObject
*_wrap_new_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8644 PyObject
*resultobj
= 0;
8645 wxBitmap
*arg1
= 0 ;
8646 wxColour
const &arg2_defvalue
= wxNullColour
;
8647 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
8648 wxMask
*result
= 0 ;
8652 PyObject
* obj0
= 0 ;
8653 PyObject
* obj1
= 0 ;
8654 char * kwnames
[] = {
8655 (char *) "bitmap",(char *) "colour", NULL
8658 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Mask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8659 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8660 if (!SWIG_IsOK(res1
)) {
8661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8664 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Mask" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8666 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8670 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
8674 if (!wxPyCheckForApp()) SWIG_fail
;
8675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8676 result
= (wxMask
*)new_wxMask((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
);
8677 wxPyEndAllowThreads(__tstate
);
8678 if (PyErr_Occurred()) SWIG_fail
;
8680 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMask
, SWIG_POINTER_NEW
| 0 );
8687 SWIGINTERN PyObject
*_wrap_delete_Mask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8688 PyObject
*resultobj
= 0;
8689 wxMask
*arg1
= (wxMask
*) 0 ;
8692 PyObject
*swig_obj
[1] ;
8694 if (!args
) SWIG_fail
;
8696 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMask
, SWIG_POINTER_DISOWN
| 0 );
8697 if (!SWIG_IsOK(res1
)) {
8698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Mask" "', expected argument " "1"" of type '" "wxMask *""'");
8700 arg1
= reinterpret_cast< wxMask
* >(argp1
);
8704 if (PyErr_Occurred()) SWIG_fail
;
8706 resultobj
= SWIG_Py_Void();
8713 SWIGINTERN PyObject
*Mask_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8715 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8716 SWIG_TypeNewClientData(SWIGTYPE_p_wxMask
, SWIG_NewClientData(obj
));
8717 return SWIG_Py_Void();
8720 SWIGINTERN PyObject
*Mask_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8721 return SWIG_Python_InitShadowInstance(args
);
8724 SWIGINTERN PyObject
*_wrap_new_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8725 PyObject
*resultobj
= 0;
8726 wxString
*arg1
= 0 ;
8728 int arg3
= (int) -1 ;
8729 int arg4
= (int) -1 ;
8730 wxIcon
*result
= 0 ;
8731 bool temp1
= false ;
8738 PyObject
* obj0
= 0 ;
8739 PyObject
* obj1
= 0 ;
8740 PyObject
* obj2
= 0 ;
8741 PyObject
* obj3
= 0 ;
8742 char * kwnames
[] = {
8743 (char *) "name",(char *) "type",(char *) "desiredWidth",(char *) "desiredHeight", NULL
8746 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Icon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8748 arg1
= wxString_in_helper(obj0
);
8749 if (arg1
== NULL
) SWIG_fail
;
8752 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8753 if (!SWIG_IsOK(ecode2
)) {
8754 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Icon" "', expected argument " "2"" of type '" "wxBitmapType""'");
8756 arg2
= static_cast< wxBitmapType
>(val2
);
8758 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8759 if (!SWIG_IsOK(ecode3
)) {
8760 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Icon" "', expected argument " "3"" of type '" "int""'");
8762 arg3
= static_cast< int >(val3
);
8765 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
8766 if (!SWIG_IsOK(ecode4
)) {
8767 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Icon" "', expected argument " "4"" of type '" "int""'");
8769 arg4
= static_cast< int >(val4
);
8772 if (!wxPyCheckForApp()) SWIG_fail
;
8773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8774 result
= (wxIcon
*)new wxIcon((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
8775 wxPyEndAllowThreads(__tstate
);
8776 if (PyErr_Occurred()) SWIG_fail
;
8778 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_NEW
| 0 );
8793 SWIGINTERN PyObject
*_wrap_delete_Icon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8794 PyObject
*resultobj
= 0;
8795 wxIcon
*arg1
= (wxIcon
*) 0 ;
8798 PyObject
*swig_obj
[1] ;
8800 if (!args
) SWIG_fail
;
8802 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, SWIG_POINTER_DISOWN
| 0 );
8803 if (!SWIG_IsOK(res1
)) {
8804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Icon" "', expected argument " "1"" of type '" "wxIcon *""'");
8806 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
8808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8811 wxPyEndAllowThreads(__tstate
);
8812 if (PyErr_Occurred()) SWIG_fail
;
8814 resultobj
= SWIG_Py_Void();
8821 SWIGINTERN PyObject
*_wrap_new_EmptyIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8822 PyObject
*resultobj
= 0;
8823 wxIcon
*result
= 0 ;
8825 if (!SWIG_Python_UnpackTuple(args
,"new_EmptyIcon",0,0,0)) SWIG_fail
;
8827 if (!wxPyCheckForApp()) SWIG_fail
;
8828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8829 result
= (wxIcon
*)new wxIcon();
8830 wxPyEndAllowThreads(__tstate
);
8831 if (PyErr_Occurred()) SWIG_fail
;
8833 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
8840 SWIGINTERN PyObject
*_wrap_new_IconFromLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8841 PyObject
*resultobj
= 0;
8842 wxIconLocation
*arg1
= 0 ;
8843 wxIcon
*result
= 0 ;
8846 PyObject
* obj0
= 0 ;
8847 char * kwnames
[] = {
8848 (char *) "loc", NULL
8851 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromLocation",kwnames
,&obj0
)) SWIG_fail
;
8852 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIconLocation
, 0 | 0);
8853 if (!SWIG_IsOK(res1
)) {
8854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
8857 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromLocation" "', expected argument " "1"" of type '" "wxIconLocation const &""'");
8859 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
8861 if (!wxPyCheckForApp()) SWIG_fail
;
8862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8863 result
= (wxIcon
*)new wxIcon((wxIconLocation
const &)*arg1
);
8864 wxPyEndAllowThreads(__tstate
);
8865 if (PyErr_Occurred()) SWIG_fail
;
8867 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
8874 SWIGINTERN PyObject
*_wrap_new_IconFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8875 PyObject
*resultobj
= 0;
8876 wxBitmap
*arg1
= 0 ;
8877 wxIcon
*result
= 0 ;
8880 PyObject
* obj0
= 0 ;
8881 char * kwnames
[] = {
8882 (char *) "bmp", NULL
8885 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
8886 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8887 if (!SWIG_IsOK(res1
)) {
8888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8891 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8893 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8895 if (!wxPyCheckForApp()) SWIG_fail
;
8896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8897 result
= (wxIcon
*)new_wxIcon((wxBitmap
const &)*arg1
);
8898 wxPyEndAllowThreads(__tstate
);
8899 if (PyErr_Occurred()) SWIG_fail
;
8901 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
8908 SWIGINTERN PyObject
*_wrap_new_IconFromXPMData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8909 PyObject
*resultobj
= 0;
8910 PyObject
*arg1
= (PyObject
*) 0 ;
8911 wxIcon
*result
= 0 ;
8912 PyObject
* obj0
= 0 ;
8913 char * kwnames
[] = {
8914 (char *) "listOfStrings", NULL
8917 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconFromXPMData",kwnames
,&obj0
)) SWIG_fail
;
8920 if (!wxPyCheckForApp()) SWIG_fail
;
8921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8922 result
= (wxIcon
*)new_wxIcon(arg1
);
8923 wxPyEndAllowThreads(__tstate
);
8924 if (PyErr_Occurred()) SWIG_fail
;
8926 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
8933 SWIGINTERN PyObject
*_wrap_Icon_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8934 PyObject
*resultobj
= 0;
8935 wxIcon
*arg1
= (wxIcon
*) 0 ;
8939 PyObject
*swig_obj
[1] ;
8941 if (!args
) SWIG_fail
;
8943 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
8944 if (!SWIG_IsOK(res1
)) {
8945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_IsOk" "', expected argument " "1"" of type '" "wxIcon *""'");
8947 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
8949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8950 result
= (bool)(arg1
)->IsOk();
8951 wxPyEndAllowThreads(__tstate
);
8952 if (PyErr_Occurred()) SWIG_fail
;
8955 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8963 SWIGINTERN PyObject
*_wrap_Icon_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8964 PyObject
*resultobj
= 0;
8965 wxIcon
*arg1
= (wxIcon
*) 0 ;
8969 PyObject
*swig_obj
[1] ;
8971 if (!args
) SWIG_fail
;
8973 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
8974 if (!SWIG_IsOK(res1
)) {
8975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
8977 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
8979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8980 result
= (int)(arg1
)->GetWidth();
8981 wxPyEndAllowThreads(__tstate
);
8982 if (PyErr_Occurred()) SWIG_fail
;
8984 resultobj
= SWIG_From_int(static_cast< int >(result
));
8991 SWIGINTERN PyObject
*_wrap_Icon_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8992 PyObject
*resultobj
= 0;
8993 wxIcon
*arg1
= (wxIcon
*) 0 ;
8997 PyObject
*swig_obj
[1] ;
8999 if (!args
) SWIG_fail
;
9001 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9002 if (!SWIG_IsOK(res1
)) {
9003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
9005 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9008 result
= (int)(arg1
)->GetHeight();
9009 wxPyEndAllowThreads(__tstate
);
9010 if (PyErr_Occurred()) SWIG_fail
;
9012 resultobj
= SWIG_From_int(static_cast< int >(result
));
9019 SWIGINTERN PyObject
*_wrap_Icon_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9020 PyObject
*resultobj
= 0;
9021 wxIcon
*arg1
= (wxIcon
*) 0 ;
9025 PyObject
*swig_obj
[1] ;
9027 if (!args
) SWIG_fail
;
9029 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9030 if (!SWIG_IsOK(res1
)) {
9031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_GetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9033 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9036 result
= (int)(arg1
)->GetDepth();
9037 wxPyEndAllowThreads(__tstate
);
9038 if (PyErr_Occurred()) SWIG_fail
;
9040 resultobj
= SWIG_From_int(static_cast< int >(result
));
9047 SWIGINTERN PyObject
*_wrap_Icon_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9048 PyObject
*resultobj
= 0;
9049 wxIcon
*arg1
= (wxIcon
*) 0 ;
9055 PyObject
* obj0
= 0 ;
9056 PyObject
* obj1
= 0 ;
9057 char * kwnames
[] = {
9058 (char *) "self",(char *) "w", NULL
9061 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9062 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9063 if (!SWIG_IsOK(res1
)) {
9064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetWidth" "', expected argument " "1"" of type '" "wxIcon *""'");
9066 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9067 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9068 if (!SWIG_IsOK(ecode2
)) {
9069 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetWidth" "', expected argument " "2"" of type '" "int""'");
9071 arg2
= static_cast< int >(val2
);
9073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9074 (arg1
)->SetWidth(arg2
);
9075 wxPyEndAllowThreads(__tstate
);
9076 if (PyErr_Occurred()) SWIG_fail
;
9078 resultobj
= SWIG_Py_Void();
9085 SWIGINTERN PyObject
*_wrap_Icon_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9086 PyObject
*resultobj
= 0;
9087 wxIcon
*arg1
= (wxIcon
*) 0 ;
9093 PyObject
* obj0
= 0 ;
9094 PyObject
* obj1
= 0 ;
9095 char * kwnames
[] = {
9096 (char *) "self",(char *) "h", NULL
9099 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9100 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9101 if (!SWIG_IsOK(res1
)) {
9102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetHeight" "', expected argument " "1"" of type '" "wxIcon *""'");
9104 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9105 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9106 if (!SWIG_IsOK(ecode2
)) {
9107 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetHeight" "', expected argument " "2"" of type '" "int""'");
9109 arg2
= static_cast< int >(val2
);
9111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9112 (arg1
)->SetHeight(arg2
);
9113 wxPyEndAllowThreads(__tstate
);
9114 if (PyErr_Occurred()) SWIG_fail
;
9116 resultobj
= SWIG_Py_Void();
9123 SWIGINTERN PyObject
*_wrap_Icon_SetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9124 PyObject
*resultobj
= 0;
9125 wxIcon
*arg1
= (wxIcon
*) 0 ;
9131 PyObject
* obj0
= 0 ;
9132 PyObject
* obj1
= 0 ;
9133 char * kwnames
[] = {
9134 (char *) "self",(char *) "d", NULL
9137 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_SetDepth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9138 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9139 if (!SWIG_IsOK(res1
)) {
9140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_SetDepth" "', expected argument " "1"" of type '" "wxIcon *""'");
9142 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9143 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9144 if (!SWIG_IsOK(ecode2
)) {
9145 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Icon_SetDepth" "', expected argument " "2"" of type '" "int""'");
9147 arg2
= static_cast< int >(val2
);
9149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9150 (arg1
)->SetDepth(arg2
);
9151 wxPyEndAllowThreads(__tstate
);
9152 if (PyErr_Occurred()) SWIG_fail
;
9154 resultobj
= SWIG_Py_Void();
9161 SWIGINTERN PyObject
*_wrap_Icon_CopyFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9162 PyObject
*resultobj
= 0;
9163 wxIcon
*arg1
= (wxIcon
*) 0 ;
9164 wxBitmap
*arg2
= 0 ;
9169 PyObject
* obj0
= 0 ;
9170 PyObject
* obj1
= 0 ;
9171 char * kwnames
[] = {
9172 (char *) "self",(char *) "bmp", NULL
9175 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Icon_CopyFromBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9176 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIcon
, 0 | 0 );
9177 if (!SWIG_IsOK(res1
)) {
9178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "1"" of type '" "wxIcon *""'");
9180 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9181 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
9182 if (!SWIG_IsOK(res2
)) {
9183 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9186 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Icon_CopyFromBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
9188 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
9190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9191 (arg1
)->CopyFromBitmap((wxBitmap
const &)*arg2
);
9192 wxPyEndAllowThreads(__tstate
);
9193 if (PyErr_Occurred()) SWIG_fail
;
9195 resultobj
= SWIG_Py_Void();
9202 SWIGINTERN PyObject
*Icon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9204 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9205 SWIG_TypeNewClientData(SWIGTYPE_p_wxIcon
, SWIG_NewClientData(obj
));
9206 return SWIG_Py_Void();
9209 SWIGINTERN PyObject
*Icon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9210 return SWIG_Python_InitShadowInstance(args
);
9213 SWIGINTERN PyObject
*_wrap_new_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9214 PyObject
*resultobj
= 0;
9215 wxString
*arg1
= (wxString
*) &wxPyEmptyString
;
9216 int arg2
= (int) 0 ;
9217 wxIconLocation
*result
= 0 ;
9218 bool temp1
= false ;
9221 PyObject
* obj0
= 0 ;
9222 PyObject
* obj1
= 0 ;
9223 char * kwnames
[] = {
9224 (char *) "filename",(char *) "num", NULL
9227 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconLocation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9230 arg1
= wxString_in_helper(obj0
);
9231 if (arg1
== NULL
) SWIG_fail
;
9236 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9237 if (!SWIG_IsOK(ecode2
)) {
9238 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconLocation" "', expected argument " "2"" of type '" "int""'");
9240 arg2
= static_cast< int >(val2
);
9243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9244 result
= (wxIconLocation
*)new_wxIconLocation((wxString
const *)arg1
,arg2
);
9245 wxPyEndAllowThreads(__tstate
);
9246 if (PyErr_Occurred()) SWIG_fail
;
9248 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_NEW
| 0 );
9263 SWIGINTERN PyObject
*_wrap_delete_IconLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9264 PyObject
*resultobj
= 0;
9265 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9268 PyObject
*swig_obj
[1] ;
9270 if (!args
) SWIG_fail
;
9272 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, SWIG_POINTER_DISOWN
| 0 );
9273 if (!SWIG_IsOK(res1
)) {
9274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconLocation" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9276 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9281 wxPyEndAllowThreads(__tstate
);
9282 if (PyErr_Occurred()) SWIG_fail
;
9284 resultobj
= SWIG_Py_Void();
9291 SWIGINTERN PyObject
*_wrap_IconLocation_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9292 PyObject
*resultobj
= 0;
9293 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9297 PyObject
*swig_obj
[1] ;
9299 if (!args
) SWIG_fail
;
9301 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9302 if (!SWIG_IsOK(res1
)) {
9303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_IsOk" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9305 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9308 result
= (bool)((wxIconLocation
const *)arg1
)->IsOk();
9309 wxPyEndAllowThreads(__tstate
);
9310 if (PyErr_Occurred()) SWIG_fail
;
9313 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9321 SWIGINTERN PyObject
*_wrap_IconLocation_SetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9322 PyObject
*resultobj
= 0;
9323 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9324 wxString
*arg2
= 0 ;
9327 bool temp2
= false ;
9328 PyObject
* obj0
= 0 ;
9329 PyObject
* obj1
= 0 ;
9330 char * kwnames
[] = {
9331 (char *) "self",(char *) "filename", NULL
9334 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetFileName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9335 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9336 if (!SWIG_IsOK(res1
)) {
9337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetFileName" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9339 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9341 arg2
= wxString_in_helper(obj1
);
9342 if (arg2
== NULL
) SWIG_fail
;
9346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9347 (arg1
)->SetFileName((wxString
const &)*arg2
);
9348 wxPyEndAllowThreads(__tstate
);
9349 if (PyErr_Occurred()) SWIG_fail
;
9351 resultobj
= SWIG_Py_Void();
9366 SWIGINTERN PyObject
*_wrap_IconLocation_GetFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9367 PyObject
*resultobj
= 0;
9368 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9369 wxString
*result
= 0 ;
9372 PyObject
*swig_obj
[1] ;
9374 if (!args
) SWIG_fail
;
9376 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9377 if (!SWIG_IsOK(res1
)) {
9378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetFileName" "', expected argument " "1"" of type '" "wxIconLocation const *""'");
9380 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9384 wxString
const &_result_ref
= ((wxIconLocation
const *)arg1
)->GetFileName();
9385 result
= (wxString
*) &_result_ref
;
9387 wxPyEndAllowThreads(__tstate
);
9388 if (PyErr_Occurred()) SWIG_fail
;
9392 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9394 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9403 SWIGINTERN PyObject
*_wrap_IconLocation_SetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9404 PyObject
*resultobj
= 0;
9405 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9411 PyObject
* obj0
= 0 ;
9412 PyObject
* obj1
= 0 ;
9413 char * kwnames
[] = {
9414 (char *) "self",(char *) "num", NULL
9417 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconLocation_SetIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9418 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9419 if (!SWIG_IsOK(res1
)) {
9420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_SetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9422 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9423 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9424 if (!SWIG_IsOK(ecode2
)) {
9425 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IconLocation_SetIndex" "', expected argument " "2"" of type '" "int""'");
9427 arg2
= static_cast< int >(val2
);
9429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9430 wxIconLocation_SetIndex(arg1
,arg2
);
9431 wxPyEndAllowThreads(__tstate
);
9432 if (PyErr_Occurred()) SWIG_fail
;
9434 resultobj
= SWIG_Py_Void();
9441 SWIGINTERN PyObject
*_wrap_IconLocation_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9442 PyObject
*resultobj
= 0;
9443 wxIconLocation
*arg1
= (wxIconLocation
*) 0 ;
9447 PyObject
*swig_obj
[1] ;
9449 if (!args
) SWIG_fail
;
9451 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconLocation
, 0 | 0 );
9452 if (!SWIG_IsOK(res1
)) {
9453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconLocation_GetIndex" "', expected argument " "1"" of type '" "wxIconLocation *""'");
9455 arg1
= reinterpret_cast< wxIconLocation
* >(argp1
);
9457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9458 result
= (int)wxIconLocation_GetIndex(arg1
);
9459 wxPyEndAllowThreads(__tstate
);
9460 if (PyErr_Occurred()) SWIG_fail
;
9462 resultobj
= SWIG_From_int(static_cast< int >(result
));
9469 SWIGINTERN PyObject
*IconLocation_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9471 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9472 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconLocation
, SWIG_NewClientData(obj
));
9473 return SWIG_Py_Void();
9476 SWIGINTERN PyObject
*IconLocation_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9477 return SWIG_Python_InitShadowInstance(args
);
9480 SWIGINTERN PyObject
*_wrap_new_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9481 PyObject
*resultobj
= 0;
9482 wxIconBundle
*result
= 0 ;
9484 if (!SWIG_Python_UnpackTuple(args
,"new_IconBundle",0,0,0)) SWIG_fail
;
9486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9487 result
= (wxIconBundle
*)new wxIconBundle();
9488 wxPyEndAllowThreads(__tstate
);
9489 if (PyErr_Occurred()) SWIG_fail
;
9491 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_NEW
| 0 );
9498 SWIGINTERN PyObject
*_wrap_new_IconBundleFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9499 PyObject
*resultobj
= 0;
9500 wxString
*arg1
= 0 ;
9502 wxIconBundle
*result
= 0 ;
9503 bool temp1
= false ;
9506 PyObject
* obj0
= 0 ;
9507 PyObject
* obj1
= 0 ;
9508 char * kwnames
[] = {
9509 (char *) "file",(char *) "type", NULL
9512 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_IconBundleFromFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9514 arg1
= wxString_in_helper(obj0
);
9515 if (arg1
== NULL
) SWIG_fail
;
9518 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9519 if (!SWIG_IsOK(ecode2
)) {
9520 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconBundleFromFile" "', expected argument " "2"" of type '" "long""'");
9522 arg2
= static_cast< long >(val2
);
9524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9525 result
= (wxIconBundle
*)new wxIconBundle((wxString
const &)*arg1
,arg2
);
9526 wxPyEndAllowThreads(__tstate
);
9527 if (PyErr_Occurred()) SWIG_fail
;
9529 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
9544 SWIGINTERN PyObject
*_wrap_new_IconBundleFromIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9545 PyObject
*resultobj
= 0;
9547 wxIconBundle
*result
= 0 ;
9550 PyObject
* obj0
= 0 ;
9551 char * kwnames
[] = {
9552 (char *) "icon", NULL
9555 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_IconBundleFromIcon",kwnames
,&obj0
)) SWIG_fail
;
9556 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
9557 if (!SWIG_IsOK(res1
)) {
9558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
9561 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_IconBundleFromIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
9563 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
9565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9566 result
= (wxIconBundle
*)new wxIconBundle((wxIcon
const &)*arg1
);
9567 wxPyEndAllowThreads(__tstate
);
9568 if (PyErr_Occurred()) SWIG_fail
;
9570 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_OWN
| 0 );
9577 SWIGINTERN PyObject
*_wrap_delete_IconBundle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9578 PyObject
*resultobj
= 0;
9579 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9582 PyObject
*swig_obj
[1] ;
9584 if (!args
) SWIG_fail
;
9586 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_DISOWN
| 0 );
9587 if (!SWIG_IsOK(res1
)) {
9588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_IconBundle" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9590 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9595 wxPyEndAllowThreads(__tstate
);
9596 if (PyErr_Occurred()) SWIG_fail
;
9598 resultobj
= SWIG_Py_Void();
9605 SWIGINTERN PyObject
*_wrap_IconBundle_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9606 PyObject
*resultobj
= 0;
9607 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9613 PyObject
* obj0
= 0 ;
9614 PyObject
* obj1
= 0 ;
9615 char * kwnames
[] = {
9616 (char *) "self",(char *) "icon", NULL
9619 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9620 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
9621 if (!SWIG_IsOK(res1
)) {
9622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIcon" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9624 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9625 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
9626 if (!SWIG_IsOK(res2
)) {
9627 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
9630 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "IconBundle_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
9632 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
9634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9635 (arg1
)->AddIcon((wxIcon
const &)*arg2
);
9636 wxPyEndAllowThreads(__tstate
);
9637 if (PyErr_Occurred()) SWIG_fail
;
9639 resultobj
= SWIG_Py_Void();
9646 SWIGINTERN PyObject
*_wrap_IconBundle_AddIconFromFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9647 PyObject
*resultobj
= 0;
9648 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9649 wxString
*arg2
= 0 ;
9653 bool temp2
= false ;
9656 PyObject
* obj0
= 0 ;
9657 PyObject
* obj1
= 0 ;
9658 PyObject
* obj2
= 0 ;
9659 char * kwnames
[] = {
9660 (char *) "self",(char *) "file",(char *) "type", NULL
9663 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IconBundle_AddIconFromFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9664 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
9665 if (!SWIG_IsOK(res1
)) {
9666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "1"" of type '" "wxIconBundle *""'");
9668 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9670 arg2
= wxString_in_helper(obj1
);
9671 if (arg2
== NULL
) SWIG_fail
;
9674 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
9675 if (!SWIG_IsOK(ecode3
)) {
9676 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IconBundle_AddIconFromFile" "', expected argument " "3"" of type '" "long""'");
9678 arg3
= static_cast< long >(val3
);
9680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9681 (arg1
)->AddIcon((wxString
const &)*arg2
,arg3
);
9682 wxPyEndAllowThreads(__tstate
);
9683 if (PyErr_Occurred()) SWIG_fail
;
9685 resultobj
= SWIG_Py_Void();
9700 SWIGINTERN PyObject
*_wrap_IconBundle_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9701 PyObject
*resultobj
= 0;
9702 wxIconBundle
*arg1
= (wxIconBundle
*) 0 ;
9704 wxIcon
*result
= 0 ;
9708 PyObject
* obj0
= 0 ;
9709 PyObject
* obj1
= 0 ;
9710 char * kwnames
[] = {
9711 (char *) "self",(char *) "size", NULL
9714 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IconBundle_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9715 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIconBundle
, 0 | 0 );
9716 if (!SWIG_IsOK(res1
)) {
9717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconBundle_GetIcon" "', expected argument " "1"" of type '" "wxIconBundle const *""'");
9719 arg1
= reinterpret_cast< wxIconBundle
* >(argp1
);
9722 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
9725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9727 wxIcon
const &_result_ref
= ((wxIconBundle
const *)arg1
)->GetIcon((wxSize
const &)*arg2
);
9728 result
= (wxIcon
*) &_result_ref
;
9730 wxPyEndAllowThreads(__tstate
);
9731 if (PyErr_Occurred()) SWIG_fail
;
9734 wxIcon
* resultptr
= new wxIcon(*result
);
9735 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
9743 SWIGINTERN PyObject
*IconBundle_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9745 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9746 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconBundle
, SWIG_NewClientData(obj
));
9747 return SWIG_Py_Void();
9750 SWIGINTERN PyObject
*IconBundle_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9751 return SWIG_Python_InitShadowInstance(args
);
9754 SWIGINTERN PyObject
*_wrap_new_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9755 PyObject
*resultobj
= 0;
9756 wxString
*arg1
= 0 ;
9758 int arg3
= (int) 0 ;
9759 int arg4
= (int) 0 ;
9760 wxCursor
*result
= 0 ;
9761 bool temp1
= false ;
9768 PyObject
* obj0
= 0 ;
9769 PyObject
* obj1
= 0 ;
9770 PyObject
* obj2
= 0 ;
9771 PyObject
* obj3
= 0 ;
9772 char * kwnames
[] = {
9773 (char *) "cursorName",(char *) "type",(char *) "hotSpotX",(char *) "hotSpotY", NULL
9776 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_Cursor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9778 arg1
= wxString_in_helper(obj0
);
9779 if (arg1
== NULL
) SWIG_fail
;
9782 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9783 if (!SWIG_IsOK(ecode2
)) {
9784 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Cursor" "', expected argument " "2"" of type '" "long""'");
9786 arg2
= static_cast< long >(val2
);
9788 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9789 if (!SWIG_IsOK(ecode3
)) {
9790 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Cursor" "', expected argument " "3"" of type '" "int""'");
9792 arg3
= static_cast< int >(val3
);
9795 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9796 if (!SWIG_IsOK(ecode4
)) {
9797 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Cursor" "', expected argument " "4"" of type '" "int""'");
9799 arg4
= static_cast< int >(val4
);
9802 if (!wxPyCheckForApp()) SWIG_fail
;
9803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9804 result
= (wxCursor
*)new_wxCursor((wxString
const &)*arg1
,arg2
,arg3
,arg4
);
9805 wxPyEndAllowThreads(__tstate
);
9806 if (PyErr_Occurred()) SWIG_fail
;
9808 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_NEW
| 0 );
9823 SWIGINTERN PyObject
*_wrap_delete_Cursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9824 PyObject
*resultobj
= 0;
9825 wxCursor
*arg1
= (wxCursor
*) 0 ;
9828 PyObject
*swig_obj
[1] ;
9830 if (!args
) SWIG_fail
;
9832 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, SWIG_POINTER_DISOWN
| 0 );
9833 if (!SWIG_IsOK(res1
)) {
9834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Cursor" "', expected argument " "1"" of type '" "wxCursor *""'");
9836 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
9838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9841 wxPyEndAllowThreads(__tstate
);
9842 if (PyErr_Occurred()) SWIG_fail
;
9844 resultobj
= SWIG_Py_Void();
9851 SWIGINTERN PyObject
*_wrap_new_StockCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9852 PyObject
*resultobj
= 0;
9854 wxCursor
*result
= 0 ;
9857 PyObject
* obj0
= 0 ;
9858 char * kwnames
[] = {
9862 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_StockCursor",kwnames
,&obj0
)) SWIG_fail
;
9863 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9864 if (!SWIG_IsOK(ecode1
)) {
9865 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_StockCursor" "', expected argument " "1"" of type '" "int""'");
9867 arg1
= static_cast< int >(val1
);
9869 if (!wxPyCheckForApp()) SWIG_fail
;
9870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9871 result
= (wxCursor
*)new wxCursor(arg1
);
9872 wxPyEndAllowThreads(__tstate
);
9873 if (PyErr_Occurred()) SWIG_fail
;
9875 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
9882 SWIGINTERN PyObject
*_wrap_new_CursorFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9883 PyObject
*resultobj
= 0;
9885 wxCursor
*result
= 0 ;
9888 PyObject
* obj0
= 0 ;
9889 char * kwnames
[] = {
9890 (char *) "image", NULL
9893 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CursorFromImage",kwnames
,&obj0
)) SWIG_fail
;
9894 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
9895 if (!SWIG_IsOK(res1
)) {
9896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
9899 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CursorFromImage" "', expected argument " "1"" of type '" "wxImage const &""'");
9901 arg1
= reinterpret_cast< wxImage
* >(argp1
);
9903 if (!wxPyCheckForApp()) SWIG_fail
;
9904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9905 result
= (wxCursor
*)new wxCursor((wxImage
const &)*arg1
);
9906 wxPyEndAllowThreads(__tstate
);
9907 if (PyErr_Occurred()) SWIG_fail
;
9909 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
9916 SWIGINTERN PyObject
*_wrap_Cursor_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9917 PyObject
*resultobj
= 0;
9918 wxCursor
*arg1
= (wxCursor
*) 0 ;
9922 PyObject
*swig_obj
[1] ;
9924 if (!args
) SWIG_fail
;
9926 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCursor
, 0 | 0 );
9927 if (!SWIG_IsOK(res1
)) {
9928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Cursor_IsOk" "', expected argument " "1"" of type '" "wxCursor *""'");
9930 arg1
= reinterpret_cast< wxCursor
* >(argp1
);
9932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9933 result
= (bool)(arg1
)->IsOk();
9934 wxPyEndAllowThreads(__tstate
);
9935 if (PyErr_Occurred()) SWIG_fail
;
9938 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9946 SWIGINTERN PyObject
*Cursor_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9948 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9949 SWIG_TypeNewClientData(SWIGTYPE_p_wxCursor
, SWIG_NewClientData(obj
));
9950 return SWIG_Py_Void();
9953 SWIGINTERN PyObject
*Cursor_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9954 return SWIG_Python_InitShadowInstance(args
);
9957 SWIGINTERN PyObject
*_wrap_new_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9958 PyObject
*resultobj
= 0;
9959 int arg1
= (int) 0 ;
9960 int arg2
= (int) 0 ;
9961 int arg3
= (int) 0 ;
9962 int arg4
= (int) 0 ;
9963 wxRegion
*result
= 0 ;
9972 PyObject
* obj0
= 0 ;
9973 PyObject
* obj1
= 0 ;
9974 PyObject
* obj2
= 0 ;
9975 PyObject
* obj3
= 0 ;
9976 char * kwnames
[] = {
9977 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
9980 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Region",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9982 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9983 if (!SWIG_IsOK(ecode1
)) {
9984 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Region" "', expected argument " "1"" of type '" "int""'");
9986 arg1
= static_cast< int >(val1
);
9989 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9990 if (!SWIG_IsOK(ecode2
)) {
9991 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Region" "', expected argument " "2"" of type '" "int""'");
9993 arg2
= static_cast< int >(val2
);
9996 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9997 if (!SWIG_IsOK(ecode3
)) {
9998 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Region" "', expected argument " "3"" of type '" "int""'");
10000 arg3
= static_cast< int >(val3
);
10003 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10004 if (!SWIG_IsOK(ecode4
)) {
10005 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Region" "', expected argument " "4"" of type '" "int""'");
10007 arg4
= static_cast< int >(val4
);
10010 if (!wxPyCheckForApp()) SWIG_fail
;
10011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10012 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
,arg4
);
10013 wxPyEndAllowThreads(__tstate
);
10014 if (PyErr_Occurred()) SWIG_fail
;
10016 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_NEW
| 0 );
10023 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10024 PyObject
*resultobj
= 0;
10025 wxBitmap
*arg1
= 0 ;
10026 wxRegion
*result
= 0 ;
10029 PyObject
* obj0
= 0 ;
10030 char * kwnames
[] = {
10031 (char *) "bmp", NULL
10034 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
10035 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
10036 if (!SWIG_IsOK(res1
)) {
10037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10040 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10042 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
10044 if (!wxPyCheckForApp()) SWIG_fail
;
10045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10046 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
);
10047 wxPyEndAllowThreads(__tstate
);
10048 if (PyErr_Occurred()) SWIG_fail
;
10050 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10057 SWIGINTERN PyObject
*_wrap_new_RegionFromBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10058 PyObject
*resultobj
= 0;
10059 wxBitmap
*arg1
= 0 ;
10060 wxColour
*arg2
= 0 ;
10061 int arg3
= (int) 0 ;
10062 wxRegion
*result
= 0 ;
10068 PyObject
* obj0
= 0 ;
10069 PyObject
* obj1
= 0 ;
10070 PyObject
* obj2
= 0 ;
10071 char * kwnames
[] = {
10072 (char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
10075 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_RegionFromBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10076 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
10077 if (!SWIG_IsOK(res1
)) {
10078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10081 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionFromBitmapColour" "', expected argument " "1"" of type '" "wxBitmap const &""'");
10083 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
10086 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10089 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10090 if (!SWIG_IsOK(ecode3
)) {
10091 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromBitmapColour" "', expected argument " "3"" of type '" "int""'");
10093 arg3
= static_cast< int >(val3
);
10096 if (!wxPyCheckForApp()) SWIG_fail
;
10097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10098 result
= (wxRegion
*)new wxRegion((wxBitmap
const &)*arg1
,(wxColour
const &)*arg2
,arg3
);
10099 wxPyEndAllowThreads(__tstate
);
10100 if (PyErr_Occurred()) SWIG_fail
;
10102 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10109 SWIGINTERN PyObject
*_wrap_new_RegionFromPoints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10110 PyObject
*resultobj
= 0;
10112 wxPoint
*arg2
= (wxPoint
*) 0 ;
10113 int arg3
= (int) wxWINDING_RULE
;
10114 wxRegion
*result
= 0 ;
10117 PyObject
* obj0
= 0 ;
10118 PyObject
* obj1
= 0 ;
10119 char * kwnames
[] = {
10120 (char *) "points",(char *) "fillStyle", NULL
10123 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_RegionFromPoints",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10125 arg2
= wxPoint_LIST_helper(obj0
, &arg1
);
10126 if (arg2
== NULL
) SWIG_fail
;
10129 ecode3
= SWIG_AsVal_int(obj1
, &val3
);
10130 if (!SWIG_IsOK(ecode3
)) {
10131 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_RegionFromPoints" "', expected argument " "3"" of type '" "int""'");
10133 arg3
= static_cast< int >(val3
);
10136 if (!wxPyCheckForApp()) SWIG_fail
;
10137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10138 result
= (wxRegion
*)new wxRegion(arg1
,arg2
,arg3
);
10139 wxPyEndAllowThreads(__tstate
);
10140 if (PyErr_Occurred()) SWIG_fail
;
10142 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, SWIG_POINTER_OWN
| 0 );
10144 if (arg2
) delete [] arg2
;
10149 if (arg2
) delete [] arg2
;
10155 SWIGINTERN PyObject
*_wrap_delete_Region(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10156 PyObject
*resultobj
= 0;
10157 wxRegion
*arg1
= (wxRegion
*) 0 ;
10160 PyObject
*swig_obj
[1] ;
10162 if (!args
) SWIG_fail
;
10163 swig_obj
[0] = args
;
10164 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, SWIG_POINTER_DISOWN
| 0 );
10165 if (!SWIG_IsOK(res1
)) {
10166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Region" "', expected argument " "1"" of type '" "wxRegion *""'");
10168 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10173 wxPyEndAllowThreads(__tstate
);
10174 if (PyErr_Occurred()) SWIG_fail
;
10176 resultobj
= SWIG_Py_Void();
10183 SWIGINTERN PyObject
*_wrap_Region_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10184 PyObject
*resultobj
= 0;
10185 wxRegion
*arg1
= (wxRegion
*) 0 ;
10188 PyObject
*swig_obj
[1] ;
10190 if (!args
) SWIG_fail
;
10191 swig_obj
[0] = args
;
10192 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10193 if (!SWIG_IsOK(res1
)) {
10194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Clear" "', expected argument " "1"" of type '" "wxRegion *""'");
10196 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10200 wxPyEndAllowThreads(__tstate
);
10201 if (PyErr_Occurred()) SWIG_fail
;
10203 resultobj
= SWIG_Py_Void();
10210 SWIGINTERN PyObject
*_wrap_Region_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10211 PyObject
*resultobj
= 0;
10212 wxRegion
*arg1
= (wxRegion
*) 0 ;
10222 PyObject
* obj0
= 0 ;
10223 PyObject
* obj1
= 0 ;
10224 PyObject
* obj2
= 0 ;
10225 char * kwnames
[] = {
10226 (char *) "self",(char *) "x",(char *) "y", NULL
10229 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Offset",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10230 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10231 if (!SWIG_IsOK(res1
)) {
10232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Offset" "', expected argument " "1"" of type '" "wxRegion *""'");
10234 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10235 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10236 if (!SWIG_IsOK(ecode2
)) {
10237 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Offset" "', expected argument " "2"" of type '" "int""'");
10239 arg2
= static_cast< int >(val2
);
10240 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10241 if (!SWIG_IsOK(ecode3
)) {
10242 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Offset" "', expected argument " "3"" of type '" "int""'");
10244 arg3
= static_cast< int >(val3
);
10246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10247 result
= (bool)(arg1
)->Offset(arg2
,arg3
);
10248 wxPyEndAllowThreads(__tstate
);
10249 if (PyErr_Occurred()) SWIG_fail
;
10252 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10260 SWIGINTERN PyObject
*_wrap_Region_Contains(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10261 PyObject
*resultobj
= 0;
10262 wxRegion
*arg1
= (wxRegion
*) 0 ;
10265 wxRegionContain result
;
10272 PyObject
* obj0
= 0 ;
10273 PyObject
* obj1
= 0 ;
10274 PyObject
* obj2
= 0 ;
10275 char * kwnames
[] = {
10276 (char *) "self",(char *) "x",(char *) "y", NULL
10279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Region_Contains",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10280 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10281 if (!SWIG_IsOK(res1
)) {
10282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Contains" "', expected argument " "1"" of type '" "wxRegion *""'");
10284 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10285 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10286 if (!SWIG_IsOK(ecode2
)) {
10287 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Contains" "', expected argument " "2"" of type '" "int""'");
10289 arg2
= static_cast< int >(val2
);
10290 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10291 if (!SWIG_IsOK(ecode3
)) {
10292 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Contains" "', expected argument " "3"" of type '" "int""'");
10294 arg3
= static_cast< int >(val3
);
10296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10297 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
);
10298 wxPyEndAllowThreads(__tstate
);
10299 if (PyErr_Occurred()) SWIG_fail
;
10301 resultobj
= SWIG_From_int(static_cast< int >(result
));
10308 SWIGINTERN PyObject
*_wrap_Region_ContainsPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10309 PyObject
*resultobj
= 0;
10310 wxRegion
*arg1
= (wxRegion
*) 0 ;
10311 wxPoint
*arg2
= 0 ;
10312 wxRegionContain result
;
10316 PyObject
* obj0
= 0 ;
10317 PyObject
* obj1
= 0 ;
10318 char * kwnames
[] = {
10319 (char *) "self",(char *) "pt", NULL
10322 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10323 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10324 if (!SWIG_IsOK(res1
)) {
10325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsPoint" "', expected argument " "1"" of type '" "wxRegion *""'");
10327 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10330 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10334 result
= (wxRegionContain
)(arg1
)->Contains((wxPoint
const &)*arg2
);
10335 wxPyEndAllowThreads(__tstate
);
10336 if (PyErr_Occurred()) SWIG_fail
;
10338 resultobj
= SWIG_From_int(static_cast< int >(result
));
10345 SWIGINTERN PyObject
*_wrap_Region_ContainsRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10346 PyObject
*resultobj
= 0;
10347 wxRegion
*arg1
= (wxRegion
*) 0 ;
10349 wxRegionContain result
;
10353 PyObject
* obj0
= 0 ;
10354 PyObject
* obj1
= 0 ;
10355 char * kwnames
[] = {
10356 (char *) "self",(char *) "rect", NULL
10359 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_ContainsRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10360 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10361 if (!SWIG_IsOK(res1
)) {
10362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10364 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10367 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10371 result
= (wxRegionContain
)(arg1
)->Contains((wxRect
const &)*arg2
);
10372 wxPyEndAllowThreads(__tstate
);
10373 if (PyErr_Occurred()) SWIG_fail
;
10375 resultobj
= SWIG_From_int(static_cast< int >(result
));
10382 SWIGINTERN PyObject
*_wrap_Region_ContainsRectDim(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10383 PyObject
*resultobj
= 0;
10384 wxRegion
*arg1
= (wxRegion
*) 0 ;
10389 wxRegionContain result
;
10400 PyObject
* obj0
= 0 ;
10401 PyObject
* obj1
= 0 ;
10402 PyObject
* obj2
= 0 ;
10403 PyObject
* obj3
= 0 ;
10404 PyObject
* obj4
= 0 ;
10405 char * kwnames
[] = {
10406 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
10409 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_ContainsRectDim",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10410 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10411 if (!SWIG_IsOK(res1
)) {
10412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ContainsRectDim" "', expected argument " "1"" of type '" "wxRegion *""'");
10414 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10415 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10416 if (!SWIG_IsOK(ecode2
)) {
10417 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_ContainsRectDim" "', expected argument " "2"" of type '" "int""'");
10419 arg2
= static_cast< int >(val2
);
10420 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10421 if (!SWIG_IsOK(ecode3
)) {
10422 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_ContainsRectDim" "', expected argument " "3"" of type '" "int""'");
10424 arg3
= static_cast< int >(val3
);
10425 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10426 if (!SWIG_IsOK(ecode4
)) {
10427 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_ContainsRectDim" "', expected argument " "4"" of type '" "int""'");
10429 arg4
= static_cast< int >(val4
);
10430 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10431 if (!SWIG_IsOK(ecode5
)) {
10432 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_ContainsRectDim" "', expected argument " "5"" of type '" "int""'");
10434 arg5
= static_cast< int >(val5
);
10436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10437 result
= (wxRegionContain
)(arg1
)->Contains(arg2
,arg3
,arg4
,arg5
);
10438 wxPyEndAllowThreads(__tstate
);
10439 if (PyErr_Occurred()) SWIG_fail
;
10441 resultobj
= SWIG_From_int(static_cast< int >(result
));
10448 SWIGINTERN PyObject
*_wrap_Region_GetBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10449 PyObject
*resultobj
= 0;
10450 wxRegion
*arg1
= (wxRegion
*) 0 ;
10454 PyObject
*swig_obj
[1] ;
10456 if (!args
) SWIG_fail
;
10457 swig_obj
[0] = args
;
10458 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10459 if (!SWIG_IsOK(res1
)) {
10460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_GetBox" "', expected argument " "1"" of type '" "wxRegion *""'");
10462 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10465 result
= (arg1
)->GetBox();
10466 wxPyEndAllowThreads(__tstate
);
10467 if (PyErr_Occurred()) SWIG_fail
;
10469 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
10476 SWIGINTERN PyObject
*_wrap_Region_Intersect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10477 PyObject
*resultobj
= 0;
10478 wxRegion
*arg1
= (wxRegion
*) 0 ;
10494 PyObject
* obj0
= 0 ;
10495 PyObject
* obj1
= 0 ;
10496 PyObject
* obj2
= 0 ;
10497 PyObject
* obj3
= 0 ;
10498 PyObject
* obj4
= 0 ;
10499 char * kwnames
[] = {
10500 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10503 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Intersect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10504 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10505 if (!SWIG_IsOK(res1
)) {
10506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Intersect" "', expected argument " "1"" of type '" "wxRegion *""'");
10508 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10509 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10510 if (!SWIG_IsOK(ecode2
)) {
10511 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Intersect" "', expected argument " "2"" of type '" "int""'");
10513 arg2
= static_cast< int >(val2
);
10514 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10515 if (!SWIG_IsOK(ecode3
)) {
10516 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Intersect" "', expected argument " "3"" of type '" "int""'");
10518 arg3
= static_cast< int >(val3
);
10519 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10520 if (!SWIG_IsOK(ecode4
)) {
10521 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Intersect" "', expected argument " "4"" of type '" "int""'");
10523 arg4
= static_cast< int >(val4
);
10524 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10525 if (!SWIG_IsOK(ecode5
)) {
10526 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Intersect" "', expected argument " "5"" of type '" "int""'");
10528 arg5
= static_cast< int >(val5
);
10530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10531 result
= (bool)(arg1
)->Intersect(arg2
,arg3
,arg4
,arg5
);
10532 wxPyEndAllowThreads(__tstate
);
10533 if (PyErr_Occurred()) SWIG_fail
;
10536 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10544 SWIGINTERN PyObject
*_wrap_Region_IntersectRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10545 PyObject
*resultobj
= 0;
10546 wxRegion
*arg1
= (wxRegion
*) 0 ;
10552 PyObject
* obj0
= 0 ;
10553 PyObject
* obj1
= 0 ;
10554 char * kwnames
[] = {
10555 (char *) "self",(char *) "rect", NULL
10558 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10559 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10560 if (!SWIG_IsOK(res1
)) {
10561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10563 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10566 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10570 result
= (bool)(arg1
)->Intersect((wxRect
const &)*arg2
);
10571 wxPyEndAllowThreads(__tstate
);
10572 if (PyErr_Occurred()) SWIG_fail
;
10575 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10583 SWIGINTERN PyObject
*_wrap_Region_IntersectRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10584 PyObject
*resultobj
= 0;
10585 wxRegion
*arg1
= (wxRegion
*) 0 ;
10586 wxRegion
*arg2
= 0 ;
10592 PyObject
* obj0
= 0 ;
10593 PyObject
* obj1
= 0 ;
10594 char * kwnames
[] = {
10595 (char *) "self",(char *) "region", NULL
10598 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IntersectRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10599 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10600 if (!SWIG_IsOK(res1
)) {
10601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IntersectRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
10603 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10604 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
10605 if (!SWIG_IsOK(res2
)) {
10606 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10609 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IntersectRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10611 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
10613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10614 result
= (bool)(arg1
)->Intersect((wxRegion
const &)*arg2
);
10615 wxPyEndAllowThreads(__tstate
);
10616 if (PyErr_Occurred()) SWIG_fail
;
10619 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10627 SWIGINTERN PyObject
*_wrap_Region_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10628 PyObject
*resultobj
= 0;
10629 wxRegion
*arg1
= (wxRegion
*) 0 ;
10633 PyObject
*swig_obj
[1] ;
10635 if (!args
) SWIG_fail
;
10636 swig_obj
[0] = args
;
10637 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10638 if (!SWIG_IsOK(res1
)) {
10639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEmpty" "', expected argument " "1"" of type '" "wxRegion *""'");
10641 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10644 result
= (bool)(arg1
)->IsEmpty();
10645 wxPyEndAllowThreads(__tstate
);
10646 if (PyErr_Occurred()) SWIG_fail
;
10649 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10657 SWIGINTERN PyObject
*_wrap_Region_IsEqual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10658 PyObject
*resultobj
= 0;
10659 wxRegion
*arg1
= (wxRegion
*) 0 ;
10660 wxRegion
*arg2
= 0 ;
10666 PyObject
* obj0
= 0 ;
10667 PyObject
* obj1
= 0 ;
10668 char * kwnames
[] = {
10669 (char *) "self",(char *) "region", NULL
10672 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_IsEqual",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10673 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10674 if (!SWIG_IsOK(res1
)) {
10675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_IsEqual" "', expected argument " "1"" of type '" "wxRegion const *""'");
10677 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10678 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
10679 if (!SWIG_IsOK(res2
)) {
10680 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_IsEqual" "', expected argument " "2"" of type '" "wxRegion const &""'");
10683 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_IsEqual" "', expected argument " "2"" of type '" "wxRegion const &""'");
10685 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
10687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10688 result
= (bool)((wxRegion
const *)arg1
)->IsEqual((wxRegion
const &)*arg2
);
10689 wxPyEndAllowThreads(__tstate
);
10690 if (PyErr_Occurred()) SWIG_fail
;
10693 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10701 SWIGINTERN PyObject
*_wrap_Region_Union(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10702 PyObject
*resultobj
= 0;
10703 wxRegion
*arg1
= (wxRegion
*) 0 ;
10719 PyObject
* obj0
= 0 ;
10720 PyObject
* obj1
= 0 ;
10721 PyObject
* obj2
= 0 ;
10722 PyObject
* obj3
= 0 ;
10723 PyObject
* obj4
= 0 ;
10724 char * kwnames
[] = {
10725 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10728 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Union",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10729 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10730 if (!SWIG_IsOK(res1
)) {
10731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Union" "', expected argument " "1"" of type '" "wxRegion *""'");
10733 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10734 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10735 if (!SWIG_IsOK(ecode2
)) {
10736 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Union" "', expected argument " "2"" of type '" "int""'");
10738 arg2
= static_cast< int >(val2
);
10739 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10740 if (!SWIG_IsOK(ecode3
)) {
10741 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Union" "', expected argument " "3"" of type '" "int""'");
10743 arg3
= static_cast< int >(val3
);
10744 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10745 if (!SWIG_IsOK(ecode4
)) {
10746 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Union" "', expected argument " "4"" of type '" "int""'");
10748 arg4
= static_cast< int >(val4
);
10749 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10750 if (!SWIG_IsOK(ecode5
)) {
10751 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Union" "', expected argument " "5"" of type '" "int""'");
10753 arg5
= static_cast< int >(val5
);
10755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10756 result
= (bool)(arg1
)->Union(arg2
,arg3
,arg4
,arg5
);
10757 wxPyEndAllowThreads(__tstate
);
10758 if (PyErr_Occurred()) SWIG_fail
;
10761 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10769 SWIGINTERN PyObject
*_wrap_Region_UnionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10770 PyObject
*resultobj
= 0;
10771 wxRegion
*arg1
= (wxRegion
*) 0 ;
10777 PyObject
* obj0
= 0 ;
10778 PyObject
* obj1
= 0 ;
10779 char * kwnames
[] = {
10780 (char *) "self",(char *) "rect", NULL
10783 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10784 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10785 if (!SWIG_IsOK(res1
)) {
10786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10788 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10791 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10795 result
= (bool)(arg1
)->Union((wxRect
const &)*arg2
);
10796 wxPyEndAllowThreads(__tstate
);
10797 if (PyErr_Occurred()) SWIG_fail
;
10800 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10808 SWIGINTERN PyObject
*_wrap_Region_UnionRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10809 PyObject
*resultobj
= 0;
10810 wxRegion
*arg1
= (wxRegion
*) 0 ;
10811 wxRegion
*arg2
= 0 ;
10817 PyObject
* obj0
= 0 ;
10818 PyObject
* obj1
= 0 ;
10819 char * kwnames
[] = {
10820 (char *) "self",(char *) "region", NULL
10823 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10824 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10825 if (!SWIG_IsOK(res1
)) {
10826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
10828 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10829 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
10830 if (!SWIG_IsOK(res2
)) {
10831 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10834 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10836 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
10838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10839 result
= (bool)(arg1
)->Union((wxRegion
const &)*arg2
);
10840 wxPyEndAllowThreads(__tstate
);
10841 if (PyErr_Occurred()) SWIG_fail
;
10844 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10852 SWIGINTERN PyObject
*_wrap_Region_Subtract(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10853 PyObject
*resultobj
= 0;
10854 wxRegion
*arg1
= (wxRegion
*) 0 ;
10870 PyObject
* obj0
= 0 ;
10871 PyObject
* obj1
= 0 ;
10872 PyObject
* obj2
= 0 ;
10873 PyObject
* obj3
= 0 ;
10874 PyObject
* obj4
= 0 ;
10875 char * kwnames
[] = {
10876 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
10879 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Subtract",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
10880 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10881 if (!SWIG_IsOK(res1
)) {
10882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Subtract" "', expected argument " "1"" of type '" "wxRegion *""'");
10884 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10885 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10886 if (!SWIG_IsOK(ecode2
)) {
10887 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Subtract" "', expected argument " "2"" of type '" "int""'");
10889 arg2
= static_cast< int >(val2
);
10890 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10891 if (!SWIG_IsOK(ecode3
)) {
10892 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Subtract" "', expected argument " "3"" of type '" "int""'");
10894 arg3
= static_cast< int >(val3
);
10895 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10896 if (!SWIG_IsOK(ecode4
)) {
10897 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Subtract" "', expected argument " "4"" of type '" "int""'");
10899 arg4
= static_cast< int >(val4
);
10900 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
10901 if (!SWIG_IsOK(ecode5
)) {
10902 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Subtract" "', expected argument " "5"" of type '" "int""'");
10904 arg5
= static_cast< int >(val5
);
10906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10907 result
= (bool)(arg1
)->Subtract(arg2
,arg3
,arg4
,arg5
);
10908 wxPyEndAllowThreads(__tstate
);
10909 if (PyErr_Occurred()) SWIG_fail
;
10912 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10920 SWIGINTERN PyObject
*_wrap_Region_SubtractRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10921 PyObject
*resultobj
= 0;
10922 wxRegion
*arg1
= (wxRegion
*) 0 ;
10928 PyObject
* obj0
= 0 ;
10929 PyObject
* obj1
= 0 ;
10930 char * kwnames
[] = {
10931 (char *) "self",(char *) "rect", NULL
10934 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10935 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10936 if (!SWIG_IsOK(res1
)) {
10937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRect" "', expected argument " "1"" of type '" "wxRegion *""'");
10939 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10942 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10946 result
= (bool)(arg1
)->Subtract((wxRect
const &)*arg2
);
10947 wxPyEndAllowThreads(__tstate
);
10948 if (PyErr_Occurred()) SWIG_fail
;
10951 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10959 SWIGINTERN PyObject
*_wrap_Region_SubtractRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10960 PyObject
*resultobj
= 0;
10961 wxRegion
*arg1
= (wxRegion
*) 0 ;
10962 wxRegion
*arg2
= 0 ;
10968 PyObject
* obj0
= 0 ;
10969 PyObject
* obj1
= 0 ;
10970 char * kwnames
[] = {
10971 (char *) "self",(char *) "region", NULL
10974 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_SubtractRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10975 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
10976 if (!SWIG_IsOK(res1
)) {
10977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_SubtractRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
10979 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
10980 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
10981 if (!SWIG_IsOK(res2
)) {
10982 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10985 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_SubtractRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
10987 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
10989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10990 result
= (bool)(arg1
)->Subtract((wxRegion
const &)*arg2
);
10991 wxPyEndAllowThreads(__tstate
);
10992 if (PyErr_Occurred()) SWIG_fail
;
10995 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11003 SWIGINTERN PyObject
*_wrap_Region_Xor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11004 PyObject
*resultobj
= 0;
11005 wxRegion
*arg1
= (wxRegion
*) 0 ;
11021 PyObject
* obj0
= 0 ;
11022 PyObject
* obj1
= 0 ;
11023 PyObject
* obj2
= 0 ;
11024 PyObject
* obj3
= 0 ;
11025 PyObject
* obj4
= 0 ;
11026 char * kwnames
[] = {
11027 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
11030 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Region_Xor",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
11031 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11032 if (!SWIG_IsOK(res1
)) {
11033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_Xor" "', expected argument " "1"" of type '" "wxRegion *""'");
11035 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11036 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11037 if (!SWIG_IsOK(ecode2
)) {
11038 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Region_Xor" "', expected argument " "2"" of type '" "int""'");
11040 arg2
= static_cast< int >(val2
);
11041 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11042 if (!SWIG_IsOK(ecode3
)) {
11043 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Region_Xor" "', expected argument " "3"" of type '" "int""'");
11045 arg3
= static_cast< int >(val3
);
11046 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11047 if (!SWIG_IsOK(ecode4
)) {
11048 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_Xor" "', expected argument " "4"" of type '" "int""'");
11050 arg4
= static_cast< int >(val4
);
11051 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
11052 if (!SWIG_IsOK(ecode5
)) {
11053 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Region_Xor" "', expected argument " "5"" of type '" "int""'");
11055 arg5
= static_cast< int >(val5
);
11057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11058 result
= (bool)(arg1
)->Xor(arg2
,arg3
,arg4
,arg5
);
11059 wxPyEndAllowThreads(__tstate
);
11060 if (PyErr_Occurred()) SWIG_fail
;
11063 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11071 SWIGINTERN PyObject
*_wrap_Region_XorRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11072 PyObject
*resultobj
= 0;
11073 wxRegion
*arg1
= (wxRegion
*) 0 ;
11079 PyObject
* obj0
= 0 ;
11080 PyObject
* obj1
= 0 ;
11081 char * kwnames
[] = {
11082 (char *) "self",(char *) "rect", NULL
11085 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11086 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11087 if (!SWIG_IsOK(res1
)) {
11088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRect" "', expected argument " "1"" of type '" "wxRegion *""'");
11090 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11093 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11097 result
= (bool)(arg1
)->Xor((wxRect
const &)*arg2
);
11098 wxPyEndAllowThreads(__tstate
);
11099 if (PyErr_Occurred()) SWIG_fail
;
11102 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11110 SWIGINTERN PyObject
*_wrap_Region_XorRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11111 PyObject
*resultobj
= 0;
11112 wxRegion
*arg1
= (wxRegion
*) 0 ;
11113 wxRegion
*arg2
= 0 ;
11119 PyObject
* obj0
= 0 ;
11120 PyObject
* obj1
= 0 ;
11121 char * kwnames
[] = {
11122 (char *) "self",(char *) "region", NULL
11125 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_XorRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11126 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11127 if (!SWIG_IsOK(res1
)) {
11128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_XorRegion" "', expected argument " "1"" of type '" "wxRegion *""'");
11130 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11131 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
11132 if (!SWIG_IsOK(res2
)) {
11133 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11136 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_XorRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
11138 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
11140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11141 result
= (bool)(arg1
)->Xor((wxRegion
const &)*arg2
);
11142 wxPyEndAllowThreads(__tstate
);
11143 if (PyErr_Occurred()) SWIG_fail
;
11146 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11154 SWIGINTERN PyObject
*_wrap_Region_ConvertToBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11155 PyObject
*resultobj
= 0;
11156 wxRegion
*arg1
= (wxRegion
*) 0 ;
11157 SwigValueWrapper
<wxBitmap
> result
;
11160 PyObject
*swig_obj
[1] ;
11162 if (!args
) SWIG_fail
;
11163 swig_obj
[0] = args
;
11164 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11165 if (!SWIG_IsOK(res1
)) {
11166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_ConvertToBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
11168 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11171 result
= (arg1
)->ConvertToBitmap();
11172 wxPyEndAllowThreads(__tstate
);
11173 if (PyErr_Occurred()) SWIG_fail
;
11175 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
11182 SWIGINTERN PyObject
*_wrap_Region_UnionBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11183 PyObject
*resultobj
= 0;
11184 wxRegion
*arg1
= (wxRegion
*) 0 ;
11185 wxBitmap
*arg2
= 0 ;
11191 PyObject
* obj0
= 0 ;
11192 PyObject
* obj1
= 0 ;
11193 char * kwnames
[] = {
11194 (char *) "self",(char *) "bmp", NULL
11197 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Region_UnionBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11198 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11199 if (!SWIG_IsOK(res1
)) {
11200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmap" "', expected argument " "1"" of type '" "wxRegion *""'");
11202 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11203 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11204 if (!SWIG_IsOK(res2
)) {
11205 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11208 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11210 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
11212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11213 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
);
11214 wxPyEndAllowThreads(__tstate
);
11215 if (PyErr_Occurred()) SWIG_fail
;
11218 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11226 SWIGINTERN PyObject
*_wrap_Region_UnionBitmapColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11227 PyObject
*resultobj
= 0;
11228 wxRegion
*arg1
= (wxRegion
*) 0 ;
11229 wxBitmap
*arg2
= 0 ;
11230 wxColour
*arg3
= 0 ;
11231 int arg4
= (int) 0 ;
11240 PyObject
* obj0
= 0 ;
11241 PyObject
* obj1
= 0 ;
11242 PyObject
* obj2
= 0 ;
11243 PyObject
* obj3
= 0 ;
11244 char * kwnames
[] = {
11245 (char *) "self",(char *) "bmp",(char *) "transColour",(char *) "tolerance", NULL
11248 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Region_UnionBitmapColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11249 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRegion
, 0 | 0 );
11250 if (!SWIG_IsOK(res1
)) {
11251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Region_UnionBitmapColour" "', expected argument " "1"" of type '" "wxRegion *""'");
11253 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11254 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11255 if (!SWIG_IsOK(res2
)) {
11256 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11259 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Region_UnionBitmapColour" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11261 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
11264 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
11267 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11268 if (!SWIG_IsOK(ecode4
)) {
11269 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Region_UnionBitmapColour" "', expected argument " "4"" of type '" "int""'");
11271 arg4
= static_cast< int >(val4
);
11274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11275 result
= (bool)(arg1
)->Union((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
11276 wxPyEndAllowThreads(__tstate
);
11277 if (PyErr_Occurred()) SWIG_fail
;
11280 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11288 SWIGINTERN PyObject
*Region_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11290 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11291 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegion
, SWIG_NewClientData(obj
));
11292 return SWIG_Py_Void();
11295 SWIGINTERN PyObject
*Region_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11296 return SWIG_Python_InitShadowInstance(args
);
11299 SWIGINTERN PyObject
*_wrap_new_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11300 PyObject
*resultobj
= 0;
11301 wxRegion
*arg1
= 0 ;
11302 wxRegionIterator
*result
= 0 ;
11305 PyObject
* obj0
= 0 ;
11306 char * kwnames
[] = {
11307 (char *) "region", NULL
11310 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RegionIterator",kwnames
,&obj0
)) SWIG_fail
;
11311 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRegion
, 0 | 0);
11312 if (!SWIG_IsOK(res1
)) {
11313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
11316 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RegionIterator" "', expected argument " "1"" of type '" "wxRegion const &""'");
11318 arg1
= reinterpret_cast< wxRegion
* >(argp1
);
11320 if (!wxPyCheckForApp()) SWIG_fail
;
11321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11322 result
= (wxRegionIterator
*)new wxRegionIterator((wxRegion
const &)*arg1
);
11323 wxPyEndAllowThreads(__tstate
);
11324 if (PyErr_Occurred()) SWIG_fail
;
11326 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_NEW
| 0 );
11333 SWIGINTERN PyObject
*_wrap_delete_RegionIterator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11334 PyObject
*resultobj
= 0;
11335 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11338 PyObject
*swig_obj
[1] ;
11340 if (!args
) SWIG_fail
;
11341 swig_obj
[0] = args
;
11342 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, SWIG_POINTER_DISOWN
| 0 );
11343 if (!SWIG_IsOK(res1
)) {
11344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RegionIterator" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11346 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11351 wxPyEndAllowThreads(__tstate
);
11352 if (PyErr_Occurred()) SWIG_fail
;
11354 resultobj
= SWIG_Py_Void();
11361 SWIGINTERN PyObject
*_wrap_RegionIterator_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11362 PyObject
*resultobj
= 0;
11363 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11367 PyObject
*swig_obj
[1] ;
11369 if (!args
) SWIG_fail
;
11370 swig_obj
[0] = args
;
11371 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11372 if (!SWIG_IsOK(res1
)) {
11373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetX" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11375 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11378 result
= (int)(arg1
)->GetX();
11379 wxPyEndAllowThreads(__tstate
);
11380 if (PyErr_Occurred()) SWIG_fail
;
11382 resultobj
= SWIG_From_int(static_cast< int >(result
));
11389 SWIGINTERN PyObject
*_wrap_RegionIterator_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11390 PyObject
*resultobj
= 0;
11391 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11395 PyObject
*swig_obj
[1] ;
11397 if (!args
) SWIG_fail
;
11398 swig_obj
[0] = args
;
11399 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11400 if (!SWIG_IsOK(res1
)) {
11401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetY" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11403 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11406 result
= (int)(arg1
)->GetY();
11407 wxPyEndAllowThreads(__tstate
);
11408 if (PyErr_Occurred()) SWIG_fail
;
11410 resultobj
= SWIG_From_int(static_cast< int >(result
));
11417 SWIGINTERN PyObject
*_wrap_RegionIterator_GetW(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11418 PyObject
*resultobj
= 0;
11419 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11423 PyObject
*swig_obj
[1] ;
11425 if (!args
) SWIG_fail
;
11426 swig_obj
[0] = args
;
11427 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11428 if (!SWIG_IsOK(res1
)) {
11429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetW" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11431 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11434 result
= (int)(arg1
)->GetW();
11435 wxPyEndAllowThreads(__tstate
);
11436 if (PyErr_Occurred()) SWIG_fail
;
11438 resultobj
= SWIG_From_int(static_cast< int >(result
));
11445 SWIGINTERN PyObject
*_wrap_RegionIterator_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11446 PyObject
*resultobj
= 0;
11447 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11451 PyObject
*swig_obj
[1] ;
11453 if (!args
) SWIG_fail
;
11454 swig_obj
[0] = args
;
11455 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11456 if (!SWIG_IsOK(res1
)) {
11457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetWidth" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11459 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11462 result
= (int)(arg1
)->GetWidth();
11463 wxPyEndAllowThreads(__tstate
);
11464 if (PyErr_Occurred()) SWIG_fail
;
11466 resultobj
= SWIG_From_int(static_cast< int >(result
));
11473 SWIGINTERN PyObject
*_wrap_RegionIterator_GetH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11474 PyObject
*resultobj
= 0;
11475 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11479 PyObject
*swig_obj
[1] ;
11481 if (!args
) SWIG_fail
;
11482 swig_obj
[0] = args
;
11483 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11484 if (!SWIG_IsOK(res1
)) {
11485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetH" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11487 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11490 result
= (int)(arg1
)->GetH();
11491 wxPyEndAllowThreads(__tstate
);
11492 if (PyErr_Occurred()) SWIG_fail
;
11494 resultobj
= SWIG_From_int(static_cast< int >(result
));
11501 SWIGINTERN PyObject
*_wrap_RegionIterator_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11502 PyObject
*resultobj
= 0;
11503 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11507 PyObject
*swig_obj
[1] ;
11509 if (!args
) SWIG_fail
;
11510 swig_obj
[0] = args
;
11511 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11512 if (!SWIG_IsOK(res1
)) {
11513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetHeight" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11515 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11518 result
= (int)(arg1
)->GetHeight();
11519 wxPyEndAllowThreads(__tstate
);
11520 if (PyErr_Occurred()) SWIG_fail
;
11522 resultobj
= SWIG_From_int(static_cast< int >(result
));
11529 SWIGINTERN PyObject
*_wrap_RegionIterator_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11530 PyObject
*resultobj
= 0;
11531 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11535 PyObject
*swig_obj
[1] ;
11537 if (!args
) SWIG_fail
;
11538 swig_obj
[0] = args
;
11539 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11540 if (!SWIG_IsOK(res1
)) {
11541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_GetRect" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11543 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11546 result
= (arg1
)->GetRect();
11547 wxPyEndAllowThreads(__tstate
);
11548 if (PyErr_Occurred()) SWIG_fail
;
11550 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
11557 SWIGINTERN PyObject
*_wrap_RegionIterator_HaveRects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11558 PyObject
*resultobj
= 0;
11559 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11563 PyObject
*swig_obj
[1] ;
11565 if (!args
) SWIG_fail
;
11566 swig_obj
[0] = args
;
11567 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11568 if (!SWIG_IsOK(res1
)) {
11569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_HaveRects" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11571 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11574 result
= (bool)(arg1
)->HaveRects();
11575 wxPyEndAllowThreads(__tstate
);
11576 if (PyErr_Occurred()) SWIG_fail
;
11579 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11587 SWIGINTERN PyObject
*_wrap_RegionIterator_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11588 PyObject
*resultobj
= 0;
11589 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11592 PyObject
*swig_obj
[1] ;
11594 if (!args
) SWIG_fail
;
11595 swig_obj
[0] = args
;
11596 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11597 if (!SWIG_IsOK(res1
)) {
11598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Reset" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11600 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11604 wxPyEndAllowThreads(__tstate
);
11605 if (PyErr_Occurred()) SWIG_fail
;
11607 resultobj
= SWIG_Py_Void();
11614 SWIGINTERN PyObject
*_wrap_RegionIterator_Next(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11615 PyObject
*resultobj
= 0;
11616 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11619 PyObject
*swig_obj
[1] ;
11621 if (!args
) SWIG_fail
;
11622 swig_obj
[0] = args
;
11623 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11624 if (!SWIG_IsOK(res1
)) {
11625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator_Next" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11627 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11630 wxRegionIterator_Next(arg1
);
11631 wxPyEndAllowThreads(__tstate
);
11632 if (PyErr_Occurred()) SWIG_fail
;
11634 resultobj
= SWIG_Py_Void();
11641 SWIGINTERN PyObject
*_wrap_RegionIterator___nonzero__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11642 PyObject
*resultobj
= 0;
11643 wxRegionIterator
*arg1
= (wxRegionIterator
*) 0 ;
11647 PyObject
*swig_obj
[1] ;
11649 if (!args
) SWIG_fail
;
11650 swig_obj
[0] = args
;
11651 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRegionIterator
, 0 | 0 );
11652 if (!SWIG_IsOK(res1
)) {
11653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RegionIterator___nonzero__" "', expected argument " "1"" of type '" "wxRegionIterator *""'");
11655 arg1
= reinterpret_cast< wxRegionIterator
* >(argp1
);
11657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11658 result
= (bool)wxRegionIterator___nonzero__(arg1
);
11659 wxPyEndAllowThreads(__tstate
);
11660 if (PyErr_Occurred()) SWIG_fail
;
11663 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11671 SWIGINTERN PyObject
*RegionIterator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11673 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11674 SWIG_TypeNewClientData(SWIGTYPE_p_wxRegionIterator
, SWIG_NewClientData(obj
));
11675 return SWIG_Py_Void();
11678 SWIGINTERN PyObject
*RegionIterator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11679 return SWIG_Python_InitShadowInstance(args
);
11682 SWIGINTERN PyObject
*_wrap_new_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11683 PyObject
*resultobj
= 0;
11684 wxNativeFontInfo
*result
= 0 ;
11686 if (!SWIG_Python_UnpackTuple(args
,"new_NativeFontInfo",0,0,0)) SWIG_fail
;
11688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11689 result
= (wxNativeFontInfo
*)new wxNativeFontInfo();
11690 wxPyEndAllowThreads(__tstate
);
11691 if (PyErr_Occurred()) SWIG_fail
;
11693 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_NEW
| 0 );
11700 SWIGINTERN PyObject
*_wrap_delete_NativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11701 PyObject
*resultobj
= 0;
11702 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11705 PyObject
*swig_obj
[1] ;
11707 if (!args
) SWIG_fail
;
11708 swig_obj
[0] = args
;
11709 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, SWIG_POINTER_DISOWN
| 0 );
11710 if (!SWIG_IsOK(res1
)) {
11711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeFontInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
11713 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11718 wxPyEndAllowThreads(__tstate
);
11719 if (PyErr_Occurred()) SWIG_fail
;
11721 resultobj
= SWIG_Py_Void();
11728 SWIGINTERN PyObject
*_wrap_NativeFontInfo_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11729 PyObject
*resultobj
= 0;
11730 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11733 PyObject
*swig_obj
[1] ;
11735 if (!args
) SWIG_fail
;
11736 swig_obj
[0] = args
;
11737 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11738 if (!SWIG_IsOK(res1
)) {
11739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_Init" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
11741 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11745 wxPyEndAllowThreads(__tstate
);
11746 if (PyErr_Occurred()) SWIG_fail
;
11748 resultobj
= SWIG_Py_Void();
11755 SWIGINTERN PyObject
*_wrap_NativeFontInfo_InitFromFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11756 PyObject
*resultobj
= 0;
11757 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11763 PyObject
* obj0
= 0 ;
11764 PyObject
* obj1
= 0 ;
11765 char * kwnames
[] = {
11766 (char *) "self",(char *) "font", NULL
11769 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_InitFromFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11770 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11771 if (!SWIG_IsOK(res1
)) {
11772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
11774 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11775 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
11776 if (!SWIG_IsOK(res2
)) {
11777 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
11780 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "NativeFontInfo_InitFromFont" "', expected argument " "2"" of type '" "wxFont const &""'");
11782 arg2
= reinterpret_cast< wxFont
* >(argp2
);
11784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11785 (arg1
)->InitFromFont((wxFont
const &)*arg2
);
11786 wxPyEndAllowThreads(__tstate
);
11787 if (PyErr_Occurred()) SWIG_fail
;
11789 resultobj
= SWIG_Py_Void();
11796 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11797 PyObject
*resultobj
= 0;
11798 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11802 PyObject
*swig_obj
[1] ;
11804 if (!args
) SWIG_fail
;
11805 swig_obj
[0] = args
;
11806 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11807 if (!SWIG_IsOK(res1
)) {
11808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
11810 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11813 result
= (int)((wxNativeFontInfo
const *)arg1
)->GetPointSize();
11814 wxPyEndAllowThreads(__tstate
);
11815 if (PyErr_Occurred()) SWIG_fail
;
11817 resultobj
= SWIG_From_int(static_cast< int >(result
));
11824 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11825 PyObject
*resultobj
= 0;
11826 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11827 wxFontStyle result
;
11830 PyObject
*swig_obj
[1] ;
11832 if (!args
) SWIG_fail
;
11833 swig_obj
[0] = args
;
11834 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11835 if (!SWIG_IsOK(res1
)) {
11836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
11838 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11841 result
= (wxFontStyle
)((wxNativeFontInfo
const *)arg1
)->GetStyle();
11842 wxPyEndAllowThreads(__tstate
);
11843 if (PyErr_Occurred()) SWIG_fail
;
11845 resultobj
= SWIG_From_int(static_cast< int >(result
));
11852 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11853 PyObject
*resultobj
= 0;
11854 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11855 wxFontWeight result
;
11858 PyObject
*swig_obj
[1] ;
11860 if (!args
) SWIG_fail
;
11861 swig_obj
[0] = args
;
11862 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11863 if (!SWIG_IsOK(res1
)) {
11864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
11866 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11869 result
= (wxFontWeight
)((wxNativeFontInfo
const *)arg1
)->GetWeight();
11870 wxPyEndAllowThreads(__tstate
);
11871 if (PyErr_Occurred()) SWIG_fail
;
11873 resultobj
= SWIG_From_int(static_cast< int >(result
));
11880 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11881 PyObject
*resultobj
= 0;
11882 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11886 PyObject
*swig_obj
[1] ;
11888 if (!args
) SWIG_fail
;
11889 swig_obj
[0] = args
;
11890 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11891 if (!SWIG_IsOK(res1
)) {
11892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
11894 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11897 result
= (bool)((wxNativeFontInfo
const *)arg1
)->GetUnderlined();
11898 wxPyEndAllowThreads(__tstate
);
11899 if (PyErr_Occurred()) SWIG_fail
;
11902 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11910 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11911 PyObject
*resultobj
= 0;
11912 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11916 PyObject
*swig_obj
[1] ;
11918 if (!args
) SWIG_fail
;
11919 swig_obj
[0] = args
;
11920 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11921 if (!SWIG_IsOK(res1
)) {
11922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
11924 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11927 result
= ((wxNativeFontInfo
const *)arg1
)->GetFaceName();
11928 wxPyEndAllowThreads(__tstate
);
11929 if (PyErr_Occurred()) SWIG_fail
;
11933 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11935 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11944 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11945 PyObject
*resultobj
= 0;
11946 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11947 wxFontFamily result
;
11950 PyObject
*swig_obj
[1] ;
11952 if (!args
) SWIG_fail
;
11953 swig_obj
[0] = args
;
11954 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11955 if (!SWIG_IsOK(res1
)) {
11956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
11958 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11961 result
= (wxFontFamily
)((wxNativeFontInfo
const *)arg1
)->GetFamily();
11962 wxPyEndAllowThreads(__tstate
);
11963 if (PyErr_Occurred()) SWIG_fail
;
11965 resultobj
= SWIG_From_int(static_cast< int >(result
));
11972 SWIGINTERN PyObject
*_wrap_NativeFontInfo_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11973 PyObject
*resultobj
= 0;
11974 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
11975 wxFontEncoding result
;
11978 PyObject
*swig_obj
[1] ;
11980 if (!args
) SWIG_fail
;
11981 swig_obj
[0] = args
;
11982 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
11983 if (!SWIG_IsOK(res1
)) {
11984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_GetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
11986 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
11988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11989 result
= (wxFontEncoding
)((wxNativeFontInfo
const *)arg1
)->GetEncoding();
11990 wxPyEndAllowThreads(__tstate
);
11991 if (PyErr_Occurred()) SWIG_fail
;
11993 resultobj
= SWIG_From_int(static_cast< int >(result
));
12000 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12001 PyObject
*resultobj
= 0;
12002 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12008 PyObject
* obj0
= 0 ;
12009 PyObject
* obj1
= 0 ;
12010 char * kwnames
[] = {
12011 (char *) "self",(char *) "pointsize", NULL
12014 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12015 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12016 if (!SWIG_IsOK(res1
)) {
12017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12019 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12020 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12021 if (!SWIG_IsOK(ecode2
)) {
12022 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetPointSize" "', expected argument " "2"" of type '" "int""'");
12024 arg2
= static_cast< int >(val2
);
12026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12027 (arg1
)->SetPointSize(arg2
);
12028 wxPyEndAllowThreads(__tstate
);
12029 if (PyErr_Occurred()) SWIG_fail
;
12031 resultobj
= SWIG_Py_Void();
12038 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12039 PyObject
*resultobj
= 0;
12040 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12046 PyObject
* obj0
= 0 ;
12047 PyObject
* obj1
= 0 ;
12048 char * kwnames
[] = {
12049 (char *) "self",(char *) "style", NULL
12052 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12053 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12054 if (!SWIG_IsOK(res1
)) {
12055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12057 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12058 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12059 if (!SWIG_IsOK(ecode2
)) {
12060 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetStyle" "', expected argument " "2"" of type '" "wxFontStyle""'");
12062 arg2
= static_cast< wxFontStyle
>(val2
);
12064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12065 (arg1
)->SetStyle(arg2
);
12066 wxPyEndAllowThreads(__tstate
);
12067 if (PyErr_Occurred()) SWIG_fail
;
12069 resultobj
= SWIG_Py_Void();
12076 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12077 PyObject
*resultobj
= 0;
12078 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12079 wxFontWeight arg2
;
12084 PyObject
* obj0
= 0 ;
12085 PyObject
* obj1
= 0 ;
12086 char * kwnames
[] = {
12087 (char *) "self",(char *) "weight", NULL
12090 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12091 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12092 if (!SWIG_IsOK(res1
)) {
12093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12095 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12096 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12097 if (!SWIG_IsOK(ecode2
)) {
12098 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetWeight" "', expected argument " "2"" of type '" "wxFontWeight""'");
12100 arg2
= static_cast< wxFontWeight
>(val2
);
12102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12103 (arg1
)->SetWeight(arg2
);
12104 wxPyEndAllowThreads(__tstate
);
12105 if (PyErr_Occurred()) SWIG_fail
;
12107 resultobj
= SWIG_Py_Void();
12114 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12115 PyObject
*resultobj
= 0;
12116 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12122 PyObject
* obj0
= 0 ;
12123 PyObject
* obj1
= 0 ;
12124 char * kwnames
[] = {
12125 (char *) "self",(char *) "underlined", NULL
12128 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12129 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12130 if (!SWIG_IsOK(res1
)) {
12131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12133 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12134 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12135 if (!SWIG_IsOK(ecode2
)) {
12136 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
12138 arg2
= static_cast< bool >(val2
);
12140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12141 (arg1
)->SetUnderlined(arg2
);
12142 wxPyEndAllowThreads(__tstate
);
12143 if (PyErr_Occurred()) SWIG_fail
;
12145 resultobj
= SWIG_Py_Void();
12152 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12153 PyObject
*resultobj
= 0;
12154 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12159 PyObject
* obj0
= 0 ;
12160 PyObject
* obj1
= 0 ;
12161 char * kwnames
[] = {
12162 (char *) "self",(char *) "facename", NULL
12165 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12166 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12167 if (!SWIG_IsOK(res1
)) {
12168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFaceName" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12170 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12172 wxString
* sptr
= wxString_in_helper(obj1
);
12173 if (sptr
== NULL
) SWIG_fail
;
12178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12179 result
= (bool)(arg1
)->SetFaceName(arg2
);
12180 wxPyEndAllowThreads(__tstate
);
12181 if (PyErr_Occurred()) SWIG_fail
;
12184 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12192 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12193 PyObject
*resultobj
= 0;
12194 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12195 wxFontFamily arg2
;
12200 PyObject
* obj0
= 0 ;
12201 PyObject
* obj1
= 0 ;
12202 char * kwnames
[] = {
12203 (char *) "self",(char *) "family", NULL
12206 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12207 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12208 if (!SWIG_IsOK(res1
)) {
12209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12211 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12212 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12213 if (!SWIG_IsOK(ecode2
)) {
12214 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetFamily" "', expected argument " "2"" of type '" "wxFontFamily""'");
12216 arg2
= static_cast< wxFontFamily
>(val2
);
12218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12219 (arg1
)->SetFamily(arg2
);
12220 wxPyEndAllowThreads(__tstate
);
12221 if (PyErr_Occurred()) SWIG_fail
;
12223 resultobj
= SWIG_Py_Void();
12230 SWIGINTERN PyObject
*_wrap_NativeFontInfo_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12231 PyObject
*resultobj
= 0;
12232 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12233 wxFontEncoding arg2
;
12238 PyObject
* obj0
= 0 ;
12239 PyObject
* obj1
= 0 ;
12240 char * kwnames
[] = {
12241 (char *) "self",(char *) "encoding", NULL
12244 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12245 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12246 if (!SWIG_IsOK(res1
)) {
12247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12249 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12250 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12251 if (!SWIG_IsOK(ecode2
)) {
12252 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeFontInfo_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
12254 arg2
= static_cast< wxFontEncoding
>(val2
);
12256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12257 (arg1
)->SetEncoding(arg2
);
12258 wxPyEndAllowThreads(__tstate
);
12259 if (PyErr_Occurred()) SWIG_fail
;
12261 resultobj
= SWIG_Py_Void();
12268 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12269 PyObject
*resultobj
= 0;
12270 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12271 wxString
*arg2
= 0 ;
12275 bool temp2
= false ;
12276 PyObject
* obj0
= 0 ;
12277 PyObject
* obj1
= 0 ;
12278 char * kwnames
[] = {
12279 (char *) "self",(char *) "s", NULL
12282 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12283 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12284 if (!SWIG_IsOK(res1
)) {
12285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12287 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12289 arg2
= wxString_in_helper(obj1
);
12290 if (arg2
== NULL
) SWIG_fail
;
12294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12295 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
12296 wxPyEndAllowThreads(__tstate
);
12297 if (PyErr_Occurred()) SWIG_fail
;
12300 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12316 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12317 PyObject
*resultobj
= 0;
12318 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12322 PyObject
*swig_obj
[1] ;
12324 if (!args
) SWIG_fail
;
12325 swig_obj
[0] = args
;
12326 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12327 if (!SWIG_IsOK(res1
)) {
12328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12330 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12333 result
= ((wxNativeFontInfo
const *)arg1
)->ToString();
12334 wxPyEndAllowThreads(__tstate
);
12335 if (PyErr_Occurred()) SWIG_fail
;
12339 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12341 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12350 SWIGINTERN PyObject
*_wrap_NativeFontInfo___str__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12351 PyObject
*resultobj
= 0;
12352 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12356 PyObject
*swig_obj
[1] ;
12358 if (!args
) SWIG_fail
;
12359 swig_obj
[0] = args
;
12360 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12361 if (!SWIG_IsOK(res1
)) {
12362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo___str__" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12364 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12367 result
= wxNativeFontInfo___str__(arg1
);
12368 wxPyEndAllowThreads(__tstate
);
12369 if (PyErr_Occurred()) SWIG_fail
;
12373 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12375 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12384 SWIGINTERN PyObject
*_wrap_NativeFontInfo_FromUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12385 PyObject
*resultobj
= 0;
12386 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12387 wxString
*arg2
= 0 ;
12391 bool temp2
= false ;
12392 PyObject
* obj0
= 0 ;
12393 PyObject
* obj1
= 0 ;
12394 char * kwnames
[] = {
12395 (char *) "self",(char *) "s", NULL
12398 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeFontInfo_FromUserString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12399 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12400 if (!SWIG_IsOK(res1
)) {
12401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_FromUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo *""'");
12403 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12405 arg2
= wxString_in_helper(obj1
);
12406 if (arg2
== NULL
) SWIG_fail
;
12410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12411 result
= (bool)(arg1
)->FromUserString((wxString
const &)*arg2
);
12412 wxPyEndAllowThreads(__tstate
);
12413 if (PyErr_Occurred()) SWIG_fail
;
12416 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12432 SWIGINTERN PyObject
*_wrap_NativeFontInfo_ToUserString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12433 PyObject
*resultobj
= 0;
12434 wxNativeFontInfo
*arg1
= (wxNativeFontInfo
*) 0 ;
12438 PyObject
*swig_obj
[1] ;
12440 if (!args
) SWIG_fail
;
12441 swig_obj
[0] = args
;
12442 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
12443 if (!SWIG_IsOK(res1
)) {
12444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeFontInfo_ToUserString" "', expected argument " "1"" of type '" "wxNativeFontInfo const *""'");
12446 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
12448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12449 result
= ((wxNativeFontInfo
const *)arg1
)->ToUserString();
12450 wxPyEndAllowThreads(__tstate
);
12451 if (PyErr_Occurred()) SWIG_fail
;
12455 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12457 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12466 SWIGINTERN PyObject
*NativeFontInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12468 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12469 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeFontInfo
, SWIG_NewClientData(obj
));
12470 return SWIG_Py_Void();
12473 SWIGINTERN PyObject
*NativeFontInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12474 return SWIG_Python_InitShadowInstance(args
);
12477 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12478 PyObject
*resultobj
= 0;
12479 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12480 wxString
*arg2
= (wxString
*) 0 ;
12483 bool temp2
= false ;
12484 PyObject
*swig_obj
[2] ;
12486 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_facename_set",2,2,swig_obj
)) SWIG_fail
;
12487 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12488 if (!SWIG_IsOK(res1
)) {
12489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12491 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12493 arg2
= wxString_in_helper(swig_obj
[1]);
12494 if (arg2
== NULL
) SWIG_fail
;
12497 if (arg1
) (arg1
)->facename
= *arg2
;
12499 resultobj
= SWIG_Py_Void();
12514 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_facename_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12515 PyObject
*resultobj
= 0;
12516 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12517 wxString
*result
= 0 ;
12520 PyObject
*swig_obj
[1] ;
12522 if (!args
) SWIG_fail
;
12523 swig_obj
[0] = args
;
12524 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12525 if (!SWIG_IsOK(res1
)) {
12526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_facename_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12528 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12529 result
= (wxString
*)& ((arg1
)->facename
);
12532 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12534 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12543 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12544 PyObject
*resultobj
= 0;
12545 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12546 wxFontEncoding arg2
;
12551 PyObject
*swig_obj
[2] ;
12553 if (!SWIG_Python_UnpackTuple(args
,"NativeEncodingInfo_encoding_set",2,2,swig_obj
)) SWIG_fail
;
12554 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12555 if (!SWIG_IsOK(res1
)) {
12556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12558 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12559 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
12560 if (!SWIG_IsOK(ecode2
)) {
12561 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NativeEncodingInfo_encoding_set" "', expected argument " "2"" of type '" "wxFontEncoding""'");
12563 arg2
= static_cast< wxFontEncoding
>(val2
);
12564 if (arg1
) (arg1
)->encoding
= arg2
;
12566 resultobj
= SWIG_Py_Void();
12573 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_encoding_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12574 PyObject
*resultobj
= 0;
12575 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12576 wxFontEncoding result
;
12579 PyObject
*swig_obj
[1] ;
12581 if (!args
) SWIG_fail
;
12582 swig_obj
[0] = args
;
12583 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12584 if (!SWIG_IsOK(res1
)) {
12585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_encoding_get" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12587 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12588 result
= (wxFontEncoding
) ((arg1
)->encoding
);
12589 resultobj
= SWIG_From_int(static_cast< int >(result
));
12596 SWIGINTERN PyObject
*_wrap_new_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12597 PyObject
*resultobj
= 0;
12598 wxNativeEncodingInfo
*result
= 0 ;
12600 if (!SWIG_Python_UnpackTuple(args
,"new_NativeEncodingInfo",0,0,0)) SWIG_fail
;
12602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12603 result
= (wxNativeEncodingInfo
*)new wxNativeEncodingInfo();
12604 wxPyEndAllowThreads(__tstate
);
12605 if (PyErr_Occurred()) SWIG_fail
;
12607 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_NEW
| 0 );
12614 SWIGINTERN PyObject
*_wrap_delete_NativeEncodingInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12615 PyObject
*resultobj
= 0;
12616 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12619 PyObject
*swig_obj
[1] ;
12621 if (!args
) SWIG_fail
;
12622 swig_obj
[0] = args
;
12623 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_POINTER_DISOWN
| 0 );
12624 if (!SWIG_IsOK(res1
)) {
12625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_NativeEncodingInfo" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12627 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12632 wxPyEndAllowThreads(__tstate
);
12633 if (PyErr_Occurred()) SWIG_fail
;
12635 resultobj
= SWIG_Py_Void();
12642 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_FromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12643 PyObject
*resultobj
= 0;
12644 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12645 wxString
*arg2
= 0 ;
12649 bool temp2
= false ;
12650 PyObject
* obj0
= 0 ;
12651 PyObject
* obj1
= 0 ;
12652 char * kwnames
[] = {
12653 (char *) "self",(char *) "s", NULL
12656 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NativeEncodingInfo_FromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12657 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12658 if (!SWIG_IsOK(res1
)) {
12659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_FromString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo *""'");
12661 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12663 arg2
= wxString_in_helper(obj1
);
12664 if (arg2
== NULL
) SWIG_fail
;
12668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12669 result
= (bool)(arg1
)->FromString((wxString
const &)*arg2
);
12670 wxPyEndAllowThreads(__tstate
);
12671 if (PyErr_Occurred()) SWIG_fail
;
12674 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12690 SWIGINTERN PyObject
*_wrap_NativeEncodingInfo_ToString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12691 PyObject
*resultobj
= 0;
12692 wxNativeEncodingInfo
*arg1
= (wxNativeEncodingInfo
*) 0 ;
12696 PyObject
*swig_obj
[1] ;
12698 if (!args
) SWIG_fail
;
12699 swig_obj
[0] = args
;
12700 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12701 if (!SWIG_IsOK(res1
)) {
12702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NativeEncodingInfo_ToString" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const *""'");
12704 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12707 result
= ((wxNativeEncodingInfo
const *)arg1
)->ToString();
12708 wxPyEndAllowThreads(__tstate
);
12709 if (PyErr_Occurred()) SWIG_fail
;
12713 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12715 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12724 SWIGINTERN PyObject
*NativeEncodingInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12726 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12727 SWIG_TypeNewClientData(SWIGTYPE_p_wxNativeEncodingInfo
, SWIG_NewClientData(obj
));
12728 return SWIG_Py_Void();
12731 SWIGINTERN PyObject
*NativeEncodingInfo_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12732 return SWIG_Python_InitShadowInstance(args
);
12735 SWIGINTERN PyObject
*_wrap_GetNativeFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12736 PyObject
*resultobj
= 0;
12737 wxFontEncoding arg1
;
12738 wxNativeEncodingInfo
*result
= 0 ;
12741 PyObject
* obj0
= 0 ;
12742 char * kwnames
[] = {
12743 (char *) "encoding", NULL
12746 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetNativeFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
12747 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
12748 if (!SWIG_IsOK(ecode1
)) {
12749 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "GetNativeFontEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
12751 arg1
= static_cast< wxFontEncoding
>(val1
);
12753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12754 result
= (wxNativeEncodingInfo
*)wxGetNativeFontEncoding(arg1
);
12755 wxPyEndAllowThreads(__tstate
);
12756 if (PyErr_Occurred()) SWIG_fail
;
12758 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0 );
12765 SWIGINTERN PyObject
*_wrap_TestFontEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12766 PyObject
*resultobj
= 0;
12767 wxNativeEncodingInfo
*arg1
= 0 ;
12771 PyObject
* obj0
= 0 ;
12772 char * kwnames
[] = {
12773 (char *) "info", NULL
12776 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TestFontEncoding",kwnames
,&obj0
)) SWIG_fail
;
12777 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeEncodingInfo
, 0 | 0);
12778 if (!SWIG_IsOK(res1
)) {
12779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
12782 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TestFontEncoding" "', expected argument " "1"" of type '" "wxNativeEncodingInfo const &""'");
12784 arg1
= reinterpret_cast< wxNativeEncodingInfo
* >(argp1
);
12786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12787 result
= (bool)wxTestFontEncoding((wxNativeEncodingInfo
const &)*arg1
);
12788 wxPyEndAllowThreads(__tstate
);
12789 if (PyErr_Occurred()) SWIG_fail
;
12792 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12800 SWIGINTERN PyObject
*_wrap_new_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12801 PyObject
*resultobj
= 0;
12802 wxFontMapper
*result
= 0 ;
12804 if (!SWIG_Python_UnpackTuple(args
,"new_FontMapper",0,0,0)) SWIG_fail
;
12806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12807 result
= (wxFontMapper
*)new wxFontMapper();
12808 wxPyEndAllowThreads(__tstate
);
12809 if (PyErr_Occurred()) SWIG_fail
;
12811 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_NEW
| 0 );
12818 SWIGINTERN PyObject
*_wrap_delete_FontMapper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12819 PyObject
*resultobj
= 0;
12820 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
12823 PyObject
*swig_obj
[1] ;
12825 if (!args
) SWIG_fail
;
12826 swig_obj
[0] = args
;
12827 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontMapper
, SWIG_POINTER_DISOWN
| 0 );
12828 if (!SWIG_IsOK(res1
)) {
12829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontMapper" "', expected argument " "1"" of type '" "wxFontMapper *""'");
12831 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
12833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12836 wxPyEndAllowThreads(__tstate
);
12837 if (PyErr_Occurred()) SWIG_fail
;
12839 resultobj
= SWIG_Py_Void();
12846 SWIGINTERN PyObject
*_wrap_FontMapper_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12847 PyObject
*resultobj
= 0;
12848 wxFontMapper
*result
= 0 ;
12850 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_Get",0,0,0)) SWIG_fail
;
12852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12853 result
= (wxFontMapper
*)wxFontMapper::Get();
12854 wxPyEndAllowThreads(__tstate
);
12855 if (PyErr_Occurred()) SWIG_fail
;
12857 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
12864 SWIGINTERN PyObject
*_wrap_FontMapper_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12865 PyObject
*resultobj
= 0;
12866 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
12867 wxFontMapper
*result
= 0 ;
12870 PyObject
* obj0
= 0 ;
12871 char * kwnames
[] = {
12872 (char *) "mapper", NULL
12875 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_Set",kwnames
,&obj0
)) SWIG_fail
;
12876 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
12877 if (!SWIG_IsOK(res1
)) {
12878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_Set" "', expected argument " "1"" of type '" "wxFontMapper *""'");
12880 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
12882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12883 result
= (wxFontMapper
*)wxFontMapper::Set(arg1
);
12884 wxPyEndAllowThreads(__tstate
);
12885 if (PyErr_Occurred()) SWIG_fail
;
12887 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontMapper
, 0 | 0 );
12894 SWIGINTERN PyObject
*_wrap_FontMapper_CharsetToEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12895 PyObject
*resultobj
= 0;
12896 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
12897 wxString
*arg2
= 0 ;
12898 bool arg3
= (bool) true ;
12899 wxFontEncoding result
;
12902 bool temp2
= false ;
12905 PyObject
* obj0
= 0 ;
12906 PyObject
* obj1
= 0 ;
12907 PyObject
* obj2
= 0 ;
12908 char * kwnames
[] = {
12909 (char *) "self",(char *) "charset",(char *) "interactive", NULL
12912 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_CharsetToEncoding",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12913 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
12914 if (!SWIG_IsOK(res1
)) {
12915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
12917 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
12919 arg2
= wxString_in_helper(obj1
);
12920 if (arg2
== NULL
) SWIG_fail
;
12924 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
12925 if (!SWIG_IsOK(ecode3
)) {
12926 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontMapper_CharsetToEncoding" "', expected argument " "3"" of type '" "bool""'");
12928 arg3
= static_cast< bool >(val3
);
12931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12932 result
= (wxFontEncoding
)(arg1
)->CharsetToEncoding((wxString
const &)*arg2
,arg3
);
12933 wxPyEndAllowThreads(__tstate
);
12934 if (PyErr_Occurred()) SWIG_fail
;
12936 resultobj
= SWIG_From_int(static_cast< int >(result
));
12951 SWIGINTERN PyObject
*_wrap_FontMapper_GetSupportedEncodingsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12952 PyObject
*resultobj
= 0;
12955 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetSupportedEncodingsCount",0,0,0)) SWIG_fail
;
12957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12958 result
= (size_t)wxFontMapper::GetSupportedEncodingsCount();
12959 wxPyEndAllowThreads(__tstate
);
12960 if (PyErr_Occurred()) SWIG_fail
;
12962 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
12969 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12970 PyObject
*resultobj
= 0;
12972 wxFontEncoding result
;
12975 PyObject
* obj0
= 0 ;
12976 char * kwnames
[] = {
12980 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncoding",kwnames
,&obj0
)) SWIG_fail
;
12981 ecode1
= SWIG_AsVal_size_t(obj0
, &val1
);
12982 if (!SWIG_IsOK(ecode1
)) {
12983 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncoding" "', expected argument " "1"" of type '" "size_t""'");
12985 arg1
= static_cast< size_t >(val1
);
12987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12988 result
= (wxFontEncoding
)wxFontMapper::GetEncoding(arg1
);
12989 wxPyEndAllowThreads(__tstate
);
12990 if (PyErr_Occurred()) SWIG_fail
;
12992 resultobj
= SWIG_From_int(static_cast< int >(result
));
12999 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13000 PyObject
*resultobj
= 0;
13001 wxFontEncoding arg1
;
13005 PyObject
* obj0
= 0 ;
13006 char * kwnames
[] = {
13007 (char *) "encoding", NULL
13010 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingName",kwnames
,&obj0
)) SWIG_fail
;
13011 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13012 if (!SWIG_IsOK(ecode1
)) {
13013 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingName" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13015 arg1
= static_cast< wxFontEncoding
>(val1
);
13017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13018 result
= wxFontMapper::GetEncodingName(arg1
);
13019 wxPyEndAllowThreads(__tstate
);
13020 if (PyErr_Occurred()) SWIG_fail
;
13024 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13026 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13035 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingDescription(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13036 PyObject
*resultobj
= 0;
13037 wxFontEncoding arg1
;
13041 PyObject
* obj0
= 0 ;
13042 char * kwnames
[] = {
13043 (char *) "encoding", NULL
13046 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingDescription",kwnames
,&obj0
)) SWIG_fail
;
13047 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13048 if (!SWIG_IsOK(ecode1
)) {
13049 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FontMapper_GetEncodingDescription" "', expected argument " "1"" of type '" "wxFontEncoding""'");
13051 arg1
= static_cast< wxFontEncoding
>(val1
);
13053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13054 result
= wxFontMapper::GetEncodingDescription(arg1
);
13055 wxPyEndAllowThreads(__tstate
);
13056 if (PyErr_Occurred()) SWIG_fail
;
13060 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13062 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13071 SWIGINTERN PyObject
*_wrap_FontMapper_GetEncodingFromName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13072 PyObject
*resultobj
= 0;
13073 wxString
*arg1
= 0 ;
13074 wxFontEncoding result
;
13075 bool temp1
= false ;
13076 PyObject
* obj0
= 0 ;
13077 char * kwnames
[] = {
13078 (char *) "name", NULL
13081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontMapper_GetEncodingFromName",kwnames
,&obj0
)) SWIG_fail
;
13083 arg1
= wxString_in_helper(obj0
);
13084 if (arg1
== NULL
) SWIG_fail
;
13088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13089 result
= (wxFontEncoding
)wxFontMapper::GetEncodingFromName((wxString
const &)*arg1
);
13090 wxPyEndAllowThreads(__tstate
);
13091 if (PyErr_Occurred()) SWIG_fail
;
13093 resultobj
= SWIG_From_int(static_cast< int >(result
));
13108 SWIGINTERN PyObject
*_wrap_FontMapper_SetConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13109 PyObject
*resultobj
= 0;
13110 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13111 wxString
*arg2
= 0 ;
13114 bool temp2
= false ;
13115 PyObject
* obj0
= 0 ;
13116 PyObject
* obj1
= 0 ;
13117 char * kwnames
[] = {
13118 (char *) "self",(char *) "prefix", NULL
13121 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetConfigPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13122 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13123 if (!SWIG_IsOK(res1
)) {
13124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetConfigPath" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13126 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13128 arg2
= wxString_in_helper(obj1
);
13129 if (arg2
== NULL
) SWIG_fail
;
13133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13134 (arg1
)->SetConfigPath((wxString
const &)*arg2
);
13135 wxPyEndAllowThreads(__tstate
);
13136 if (PyErr_Occurred()) SWIG_fail
;
13138 resultobj
= SWIG_Py_Void();
13153 SWIGINTERN PyObject
*_wrap_FontMapper_GetDefaultConfigPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13154 PyObject
*resultobj
= 0;
13157 if (!SWIG_Python_UnpackTuple(args
,"FontMapper_GetDefaultConfigPath",0,0,0)) SWIG_fail
;
13159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13160 result
= wxFontMapper::GetDefaultConfigPath();
13161 wxPyEndAllowThreads(__tstate
);
13162 if (PyErr_Occurred()) SWIG_fail
;
13166 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13168 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13177 SWIGINTERN PyObject
*_wrap_FontMapper_GetAltForEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13178 PyObject
*resultobj
= 0;
13179 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13180 wxFontEncoding arg2
;
13181 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13182 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13183 bool arg4
= (bool) true ;
13184 PyObject
*result
= 0 ;
13189 bool temp3
= false ;
13192 PyObject
* obj0
= 0 ;
13193 PyObject
* obj1
= 0 ;
13194 PyObject
* obj2
= 0 ;
13195 PyObject
* obj3
= 0 ;
13196 char * kwnames
[] = {
13197 (char *) "self",(char *) "encoding",(char *) "facename",(char *) "interactive", NULL
13200 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:FontMapper_GetAltForEncoding",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13201 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13202 if (!SWIG_IsOK(res1
)) {
13203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13205 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13206 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13207 if (!SWIG_IsOK(ecode2
)) {
13208 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13210 arg2
= static_cast< wxFontEncoding
>(val2
);
13213 arg3
= wxString_in_helper(obj2
);
13214 if (arg3
== NULL
) SWIG_fail
;
13219 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
13220 if (!SWIG_IsOK(ecode4
)) {
13221 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontMapper_GetAltForEncoding" "', expected argument " "4"" of type '" "bool""'");
13223 arg4
= static_cast< bool >(val4
);
13226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13227 result
= (PyObject
*)wxFontMapper_GetAltForEncoding(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
13228 wxPyEndAllowThreads(__tstate
);
13229 if (PyErr_Occurred()) SWIG_fail
;
13231 resultobj
= result
;
13246 SWIGINTERN PyObject
*_wrap_FontMapper_IsEncodingAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13247 PyObject
*resultobj
= 0;
13248 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13249 wxFontEncoding arg2
;
13250 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13251 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13257 bool temp3
= false ;
13258 PyObject
* obj0
= 0 ;
13259 PyObject
* obj1
= 0 ;
13260 PyObject
* obj2
= 0 ;
13261 char * kwnames
[] = {
13262 (char *) "self",(char *) "encoding",(char *) "facename", NULL
13265 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FontMapper_IsEncodingAvailable",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13266 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13267 if (!SWIG_IsOK(res1
)) {
13268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13270 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13271 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13272 if (!SWIG_IsOK(ecode2
)) {
13273 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontMapper_IsEncodingAvailable" "', expected argument " "2"" of type '" "wxFontEncoding""'");
13275 arg2
= static_cast< wxFontEncoding
>(val2
);
13278 arg3
= wxString_in_helper(obj2
);
13279 if (arg3
== NULL
) SWIG_fail
;
13284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13285 result
= (bool)(arg1
)->IsEncodingAvailable(arg2
,(wxString
const &)*arg3
);
13286 wxPyEndAllowThreads(__tstate
);
13287 if (PyErr_Occurred()) SWIG_fail
;
13290 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13306 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13307 PyObject
*resultobj
= 0;
13308 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13309 wxWindow
*arg2
= (wxWindow
*) 0 ;
13314 PyObject
* obj0
= 0 ;
13315 PyObject
* obj1
= 0 ;
13316 char * kwnames
[] = {
13317 (char *) "self",(char *) "parent", NULL
13320 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13321 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13322 if (!SWIG_IsOK(res1
)) {
13323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13325 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13326 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13327 if (!SWIG_IsOK(res2
)) {
13328 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontMapper_SetDialogParent" "', expected argument " "2"" of type '" "wxWindow *""'");
13330 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13333 (arg1
)->SetDialogParent(arg2
);
13334 wxPyEndAllowThreads(__tstate
);
13335 if (PyErr_Occurred()) SWIG_fail
;
13337 resultobj
= SWIG_Py_Void();
13344 SWIGINTERN PyObject
*_wrap_FontMapper_SetDialogTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13345 PyObject
*resultobj
= 0;
13346 wxFontMapper
*arg1
= (wxFontMapper
*) 0 ;
13347 wxString
*arg2
= 0 ;
13350 bool temp2
= false ;
13351 PyObject
* obj0
= 0 ;
13352 PyObject
* obj1
= 0 ;
13353 char * kwnames
[] = {
13354 (char *) "self",(char *) "title", NULL
13357 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontMapper_SetDialogTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13358 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontMapper
, 0 | 0 );
13359 if (!SWIG_IsOK(res1
)) {
13360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontMapper_SetDialogTitle" "', expected argument " "1"" of type '" "wxFontMapper *""'");
13362 arg1
= reinterpret_cast< wxFontMapper
* >(argp1
);
13364 arg2
= wxString_in_helper(obj1
);
13365 if (arg2
== NULL
) SWIG_fail
;
13369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13370 (arg1
)->SetDialogTitle((wxString
const &)*arg2
);
13371 wxPyEndAllowThreads(__tstate
);
13372 if (PyErr_Occurred()) SWIG_fail
;
13374 resultobj
= SWIG_Py_Void();
13389 SWIGINTERN PyObject
*FontMapper_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13391 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13392 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontMapper
, SWIG_NewClientData(obj
));
13393 return SWIG_Py_Void();
13396 SWIGINTERN PyObject
*FontMapper_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13397 return SWIG_Python_InitShadowInstance(args
);
13400 SWIGINTERN PyObject
*_wrap_new_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13401 PyObject
*resultobj
= 0;
13406 bool arg5
= (bool) false ;
13407 wxString
const &arg6_defvalue
= wxPyEmptyString
;
13408 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13409 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13410 wxFont
*result
= 0 ;
13421 bool temp6
= false ;
13424 PyObject
* obj0
= 0 ;
13425 PyObject
* obj1
= 0 ;
13426 PyObject
* obj2
= 0 ;
13427 PyObject
* obj3
= 0 ;
13428 PyObject
* obj4
= 0 ;
13429 PyObject
* obj5
= 0 ;
13430 PyObject
* obj6
= 0 ;
13431 char * kwnames
[] = {
13432 (char *) "pointSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "face",(char *) "encoding", NULL
13435 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_Font",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
13436 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13437 if (!SWIG_IsOK(ecode1
)) {
13438 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Font" "', expected argument " "1"" of type '" "int""'");
13440 arg1
= static_cast< int >(val1
);
13441 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13442 if (!SWIG_IsOK(ecode2
)) {
13443 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Font" "', expected argument " "2"" of type '" "int""'");
13445 arg2
= static_cast< int >(val2
);
13446 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13447 if (!SWIG_IsOK(ecode3
)) {
13448 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Font" "', expected argument " "3"" of type '" "int""'");
13450 arg3
= static_cast< int >(val3
);
13451 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
13452 if (!SWIG_IsOK(ecode4
)) {
13453 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Font" "', expected argument " "4"" of type '" "int""'");
13455 arg4
= static_cast< int >(val4
);
13457 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
13458 if (!SWIG_IsOK(ecode5
)) {
13459 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Font" "', expected argument " "5"" of type '" "bool""'");
13461 arg5
= static_cast< bool >(val5
);
13465 arg6
= wxString_in_helper(obj5
);
13466 if (arg6
== NULL
) SWIG_fail
;
13471 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
13472 if (!SWIG_IsOK(ecode7
)) {
13473 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_Font" "', expected argument " "7"" of type '" "wxFontEncoding""'");
13475 arg7
= static_cast< wxFontEncoding
>(val7
);
13478 if (!wxPyCheckForApp()) SWIG_fail
;
13479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13480 result
= (wxFont
*)new wxFont(arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
13481 wxPyEndAllowThreads(__tstate
);
13482 if (PyErr_Occurred()) SWIG_fail
;
13484 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_NEW
| 0 );
13499 SWIGINTERN PyObject
*_wrap_delete_Font(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13500 PyObject
*resultobj
= 0;
13501 wxFont
*arg1
= (wxFont
*) 0 ;
13504 PyObject
*swig_obj
[1] ;
13506 if (!args
) SWIG_fail
;
13507 swig_obj
[0] = args
;
13508 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, SWIG_POINTER_DISOWN
| 0 );
13509 if (!SWIG_IsOK(res1
)) {
13510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Font" "', expected argument " "1"" of type '" "wxFont *""'");
13512 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13517 wxPyEndAllowThreads(__tstate
);
13518 if (PyErr_Occurred()) SWIG_fail
;
13520 resultobj
= SWIG_Py_Void();
13527 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13528 PyObject
*resultobj
= 0;
13529 wxNativeFontInfo
*arg1
= 0 ;
13530 wxFont
*result
= 0 ;
13533 PyObject
* obj0
= 0 ;
13534 char * kwnames
[] = {
13535 (char *) "info", NULL
13538 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfo",kwnames
,&obj0
)) SWIG_fail
;
13539 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
13540 if (!SWIG_IsOK(res1
)) {
13541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
13544 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontFromNativeInfo" "', expected argument " "1"" of type '" "wxNativeFontInfo const &""'");
13546 arg1
= reinterpret_cast< wxNativeFontInfo
* >(argp1
);
13548 if (!wxPyCheckForApp()) SWIG_fail
;
13549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13550 result
= (wxFont
*)new wxFont((wxNativeFontInfo
const &)*arg1
);
13551 wxPyEndAllowThreads(__tstate
);
13552 if (PyErr_Occurred()) SWIG_fail
;
13554 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13561 SWIGINTERN PyObject
*_wrap_new_FontFromNativeInfoString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13562 PyObject
*resultobj
= 0;
13563 wxString
*arg1
= 0 ;
13564 wxFont
*result
= 0 ;
13565 bool temp1
= false ;
13566 PyObject
* obj0
= 0 ;
13567 char * kwnames
[] = {
13568 (char *) "info", NULL
13571 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FontFromNativeInfoString",kwnames
,&obj0
)) SWIG_fail
;
13573 arg1
= wxString_in_helper(obj0
);
13574 if (arg1
== NULL
) SWIG_fail
;
13578 if (!wxPyCheckForApp()) SWIG_fail
;
13579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13580 result
= (wxFont
*)new_wxFont((wxString
const &)*arg1
);
13581 wxPyEndAllowThreads(__tstate
);
13582 if (PyErr_Occurred()) SWIG_fail
;
13584 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13599 SWIGINTERN PyObject
*_wrap_new_FFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13600 PyObject
*resultobj
= 0;
13602 wxFontFamily arg2
;
13603 int arg3
= (int) wxFONTFLAG_DEFAULT
;
13604 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13605 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13606 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13607 wxFont
*result
= 0 ;
13614 bool temp4
= false ;
13617 PyObject
* obj0
= 0 ;
13618 PyObject
* obj1
= 0 ;
13619 PyObject
* obj2
= 0 ;
13620 PyObject
* obj3
= 0 ;
13621 PyObject
* obj4
= 0 ;
13622 char * kwnames
[] = {
13623 (char *) "pointSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
13626 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
13627 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13628 if (!SWIG_IsOK(ecode1
)) {
13629 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FFont" "', expected argument " "1"" of type '" "int""'");
13631 arg1
= static_cast< int >(val1
);
13632 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13633 if (!SWIG_IsOK(ecode2
)) {
13634 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFont" "', expected argument " "2"" of type '" "wxFontFamily""'");
13636 arg2
= static_cast< wxFontFamily
>(val2
);
13638 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13639 if (!SWIG_IsOK(ecode3
)) {
13640 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFont" "', expected argument " "3"" of type '" "int""'");
13642 arg3
= static_cast< int >(val3
);
13646 arg4
= wxString_in_helper(obj3
);
13647 if (arg4
== NULL
) SWIG_fail
;
13652 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
13653 if (!SWIG_IsOK(ecode5
)) {
13654 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFont" "', expected argument " "5"" of type '" "wxFontEncoding""'");
13656 arg5
= static_cast< wxFontEncoding
>(val5
);
13659 if (!wxPyCheckForApp()) SWIG_fail
;
13660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13661 result
= (wxFont
*)new_wxFont(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
13662 wxPyEndAllowThreads(__tstate
);
13663 if (PyErr_Occurred()) SWIG_fail
;
13665 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13680 SWIGINTERN PyObject
*_wrap_new_FontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13681 PyObject
*resultobj
= 0;
13686 bool arg5
= (bool) false ;
13687 wxString
const &arg6_defvalue
= wxEmptyString
;
13688 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13689 wxFontEncoding arg7
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13690 wxFont
*result
= 0 ;
13700 bool temp6
= false ;
13703 PyObject
* obj0
= 0 ;
13704 PyObject
* obj1
= 0 ;
13705 PyObject
* obj2
= 0 ;
13706 PyObject
* obj3
= 0 ;
13707 PyObject
* obj4
= 0 ;
13708 PyObject
* obj5
= 0 ;
13709 PyObject
* obj6
= 0 ;
13710 char * kwnames
[] = {
13711 (char *) "pixelSize",(char *) "family",(char *) "style",(char *) "weight",(char *) "underlined",(char *) "face",(char *) "encoding", NULL
13714 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:new_FontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
13717 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
13719 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13720 if (!SWIG_IsOK(ecode2
)) {
13721 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontFromPixelSize" "', expected argument " "2"" of type '" "int""'");
13723 arg2
= static_cast< int >(val2
);
13724 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13725 if (!SWIG_IsOK(ecode3
)) {
13726 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
13728 arg3
= static_cast< int >(val3
);
13729 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
13730 if (!SWIG_IsOK(ecode4
)) {
13731 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FontFromPixelSize" "', expected argument " "4"" of type '" "int""'");
13733 arg4
= static_cast< int >(val4
);
13735 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
13736 if (!SWIG_IsOK(ecode5
)) {
13737 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FontFromPixelSize" "', expected argument " "5"" of type '" "bool""'");
13739 arg5
= static_cast< bool >(val5
);
13743 arg6
= wxString_in_helper(obj5
);
13744 if (arg6
== NULL
) SWIG_fail
;
13749 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
13750 if (!SWIG_IsOK(ecode7
)) {
13751 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_FontFromPixelSize" "', expected argument " "7"" of type '" "wxFontEncoding""'");
13753 arg7
= static_cast< wxFontEncoding
>(val7
);
13756 if (!wxPyCheckForApp()) SWIG_fail
;
13757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13758 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxString
const &)*arg6
,arg7
);
13759 wxPyEndAllowThreads(__tstate
);
13760 if (PyErr_Occurred()) SWIG_fail
;
13762 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13777 SWIGINTERN PyObject
*_wrap_new_FFontFromPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13778 PyObject
*resultobj
= 0;
13780 wxFontFamily arg2
;
13781 int arg3
= (int) wxFONTFLAG_DEFAULT
;
13782 wxString
const &arg4_defvalue
= wxEmptyString
;
13783 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13784 wxFontEncoding arg5
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
13785 wxFont
*result
= 0 ;
13791 bool temp4
= false ;
13794 PyObject
* obj0
= 0 ;
13795 PyObject
* obj1
= 0 ;
13796 PyObject
* obj2
= 0 ;
13797 PyObject
* obj3
= 0 ;
13798 PyObject
* obj4
= 0 ;
13799 char * kwnames
[] = {
13800 (char *) "pixelSize",(char *) "family",(char *) "flags",(char *) "face",(char *) "encoding", NULL
13803 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_FFontFromPixelSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
13806 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
13808 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13809 if (!SWIG_IsOK(ecode2
)) {
13810 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FFontFromPixelSize" "', expected argument " "2"" of type '" "wxFontFamily""'");
13812 arg2
= static_cast< wxFontFamily
>(val2
);
13814 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13815 if (!SWIG_IsOK(ecode3
)) {
13816 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FFontFromPixelSize" "', expected argument " "3"" of type '" "int""'");
13818 arg3
= static_cast< int >(val3
);
13822 arg4
= wxString_in_helper(obj3
);
13823 if (arg4
== NULL
) SWIG_fail
;
13828 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
13829 if (!SWIG_IsOK(ecode5
)) {
13830 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_FFontFromPixelSize" "', expected argument " "5"" of type '" "wxFontEncoding""'");
13832 arg5
= static_cast< wxFontEncoding
>(val5
);
13835 if (!wxPyCheckForApp()) SWIG_fail
;
13836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13837 result
= (wxFont
*)new_wxFont((wxSize
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
13838 wxPyEndAllowThreads(__tstate
);
13839 if (PyErr_Occurred()) SWIG_fail
;
13841 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
13856 SWIGINTERN PyObject
*_wrap_Font_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13857 PyObject
*resultobj
= 0;
13858 wxFont
*arg1
= (wxFont
*) 0 ;
13862 PyObject
*swig_obj
[1] ;
13864 if (!args
) SWIG_fail
;
13865 swig_obj
[0] = args
;
13866 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13867 if (!SWIG_IsOK(res1
)) {
13868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsOk" "', expected argument " "1"" of type '" "wxFont const *""'");
13870 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13873 result
= (bool)((wxFont
const *)arg1
)->IsOk();
13874 wxPyEndAllowThreads(__tstate
);
13875 if (PyErr_Occurred()) SWIG_fail
;
13878 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13886 SWIGINTERN PyObject
*_wrap_Font___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13887 PyObject
*resultobj
= 0;
13888 wxFont
*arg1
= (wxFont
*) 0 ;
13889 wxFont
*arg2
= (wxFont
*) 0 ;
13895 PyObject
* obj0
= 0 ;
13896 PyObject
* obj1
= 0 ;
13897 char * kwnames
[] = {
13898 (char *) "self",(char *) "other", NULL
13901 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13902 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13903 if (!SWIG_IsOK(res1
)) {
13904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___eq__" "', expected argument " "1"" of type '" "wxFont *""'");
13906 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13907 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
13908 if (!SWIG_IsOK(res2
)) {
13909 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___eq__" "', expected argument " "2"" of type '" "wxFont const *""'");
13911 arg2
= reinterpret_cast< wxFont
* >(argp2
);
13913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13914 result
= (bool)wxFont___eq__(arg1
,(wxFont
const *)arg2
);
13915 wxPyEndAllowThreads(__tstate
);
13916 if (PyErr_Occurred()) SWIG_fail
;
13919 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13927 SWIGINTERN PyObject
*_wrap_Font___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13928 PyObject
*resultobj
= 0;
13929 wxFont
*arg1
= (wxFont
*) 0 ;
13930 wxFont
*arg2
= (wxFont
*) 0 ;
13936 PyObject
* obj0
= 0 ;
13937 PyObject
* obj1
= 0 ;
13938 char * kwnames
[] = {
13939 (char *) "self",(char *) "other", NULL
13942 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13943 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13944 if (!SWIG_IsOK(res1
)) {
13945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font___ne__" "', expected argument " "1"" of type '" "wxFont *""'");
13947 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13948 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
13949 if (!SWIG_IsOK(res2
)) {
13950 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font___ne__" "', expected argument " "2"" of type '" "wxFont const *""'");
13952 arg2
= reinterpret_cast< wxFont
* >(argp2
);
13954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13955 result
= (bool)wxFont___ne__(arg1
,(wxFont
const *)arg2
);
13956 wxPyEndAllowThreads(__tstate
);
13957 if (PyErr_Occurred()) SWIG_fail
;
13960 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13968 SWIGINTERN PyObject
*_wrap_Font_GetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13969 PyObject
*resultobj
= 0;
13970 wxFont
*arg1
= (wxFont
*) 0 ;
13974 PyObject
*swig_obj
[1] ;
13976 if (!args
) SWIG_fail
;
13977 swig_obj
[0] = args
;
13978 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
13979 if (!SWIG_IsOK(res1
)) {
13980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPointSize" "', expected argument " "1"" of type '" "wxFont const *""'");
13982 arg1
= reinterpret_cast< wxFont
* >(argp1
);
13984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13985 result
= (int)((wxFont
const *)arg1
)->GetPointSize();
13986 wxPyEndAllowThreads(__tstate
);
13987 if (PyErr_Occurred()) SWIG_fail
;
13989 resultobj
= SWIG_From_int(static_cast< int >(result
));
13996 SWIGINTERN PyObject
*_wrap_Font_GetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13997 PyObject
*resultobj
= 0;
13998 wxFont
*arg1
= (wxFont
*) 0 ;
14002 PyObject
*swig_obj
[1] ;
14004 if (!args
) SWIG_fail
;
14005 swig_obj
[0] = args
;
14006 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14007 if (!SWIG_IsOK(res1
)) {
14008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetPixelSize" "', expected argument " "1"" of type '" "wxFont const *""'");
14010 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14013 result
= ((wxFont
const *)arg1
)->GetPixelSize();
14014 wxPyEndAllowThreads(__tstate
);
14015 if (PyErr_Occurred()) SWIG_fail
;
14017 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
14024 SWIGINTERN PyObject
*_wrap_Font_IsUsingSizeInPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14025 PyObject
*resultobj
= 0;
14026 wxFont
*arg1
= (wxFont
*) 0 ;
14030 PyObject
*swig_obj
[1] ;
14032 if (!args
) SWIG_fail
;
14033 swig_obj
[0] = args
;
14034 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14035 if (!SWIG_IsOK(res1
)) {
14036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsUsingSizeInPixels" "', expected argument " "1"" of type '" "wxFont const *""'");
14038 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14041 result
= (bool)((wxFont
const *)arg1
)->IsUsingSizeInPixels();
14042 wxPyEndAllowThreads(__tstate
);
14043 if (PyErr_Occurred()) SWIG_fail
;
14046 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14054 SWIGINTERN PyObject
*_wrap_Font_GetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14055 PyObject
*resultobj
= 0;
14056 wxFont
*arg1
= (wxFont
*) 0 ;
14060 PyObject
*swig_obj
[1] ;
14062 if (!args
) SWIG_fail
;
14063 swig_obj
[0] = args
;
14064 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14065 if (!SWIG_IsOK(res1
)) {
14066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamily" "', expected argument " "1"" of type '" "wxFont const *""'");
14068 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14071 result
= (int)((wxFont
const *)arg1
)->GetFamily();
14072 wxPyEndAllowThreads(__tstate
);
14073 if (PyErr_Occurred()) SWIG_fail
;
14075 resultobj
= SWIG_From_int(static_cast< int >(result
));
14082 SWIGINTERN PyObject
*_wrap_Font_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14083 PyObject
*resultobj
= 0;
14084 wxFont
*arg1
= (wxFont
*) 0 ;
14088 PyObject
*swig_obj
[1] ;
14090 if (!args
) SWIG_fail
;
14091 swig_obj
[0] = args
;
14092 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14093 if (!SWIG_IsOK(res1
)) {
14094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyle" "', expected argument " "1"" of type '" "wxFont const *""'");
14096 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14099 result
= (int)((wxFont
const *)arg1
)->GetStyle();
14100 wxPyEndAllowThreads(__tstate
);
14101 if (PyErr_Occurred()) SWIG_fail
;
14103 resultobj
= SWIG_From_int(static_cast< int >(result
));
14110 SWIGINTERN PyObject
*_wrap_Font_GetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14111 PyObject
*resultobj
= 0;
14112 wxFont
*arg1
= (wxFont
*) 0 ;
14116 PyObject
*swig_obj
[1] ;
14118 if (!args
) SWIG_fail
;
14119 swig_obj
[0] = args
;
14120 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14121 if (!SWIG_IsOK(res1
)) {
14122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeight" "', expected argument " "1"" of type '" "wxFont const *""'");
14124 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14127 result
= (int)((wxFont
const *)arg1
)->GetWeight();
14128 wxPyEndAllowThreads(__tstate
);
14129 if (PyErr_Occurred()) SWIG_fail
;
14131 resultobj
= SWIG_From_int(static_cast< int >(result
));
14138 SWIGINTERN PyObject
*_wrap_Font_GetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14139 PyObject
*resultobj
= 0;
14140 wxFont
*arg1
= (wxFont
*) 0 ;
14144 PyObject
*swig_obj
[1] ;
14146 if (!args
) SWIG_fail
;
14147 swig_obj
[0] = args
;
14148 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14149 if (!SWIG_IsOK(res1
)) {
14150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetUnderlined" "', expected argument " "1"" of type '" "wxFont const *""'");
14152 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14155 result
= (bool)((wxFont
const *)arg1
)->GetUnderlined();
14156 wxPyEndAllowThreads(__tstate
);
14157 if (PyErr_Occurred()) SWIG_fail
;
14160 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14168 SWIGINTERN PyObject
*_wrap_Font_GetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14169 PyObject
*resultobj
= 0;
14170 wxFont
*arg1
= (wxFont
*) 0 ;
14174 PyObject
*swig_obj
[1] ;
14176 if (!args
) SWIG_fail
;
14177 swig_obj
[0] = args
;
14178 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14179 if (!SWIG_IsOK(res1
)) {
14180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFaceName" "', expected argument " "1"" of type '" "wxFont const *""'");
14182 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14185 result
= ((wxFont
const *)arg1
)->GetFaceName();
14186 wxPyEndAllowThreads(__tstate
);
14187 if (PyErr_Occurred()) SWIG_fail
;
14191 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14193 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14202 SWIGINTERN PyObject
*_wrap_Font_GetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14203 PyObject
*resultobj
= 0;
14204 wxFont
*arg1
= (wxFont
*) 0 ;
14205 wxFontEncoding result
;
14208 PyObject
*swig_obj
[1] ;
14210 if (!args
) SWIG_fail
;
14211 swig_obj
[0] = args
;
14212 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14213 if (!SWIG_IsOK(res1
)) {
14214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetEncoding" "', expected argument " "1"" of type '" "wxFont const *""'");
14216 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14219 result
= (wxFontEncoding
)((wxFont
const *)arg1
)->GetEncoding();
14220 wxPyEndAllowThreads(__tstate
);
14221 if (PyErr_Occurred()) SWIG_fail
;
14223 resultobj
= SWIG_From_int(static_cast< int >(result
));
14230 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14231 PyObject
*resultobj
= 0;
14232 wxFont
*arg1
= (wxFont
*) 0 ;
14233 wxNativeFontInfo
*result
= 0 ;
14236 PyObject
*swig_obj
[1] ;
14238 if (!args
) SWIG_fail
;
14239 swig_obj
[0] = args
;
14240 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14241 if (!SWIG_IsOK(res1
)) {
14242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont const *""'");
14244 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14247 result
= (wxNativeFontInfo
*)((wxFont
const *)arg1
)->GetNativeFontInfo();
14248 wxPyEndAllowThreads(__tstate
);
14249 if (PyErr_Occurred()) SWIG_fail
;
14251 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNativeFontInfo
, 0 | 0 );
14258 SWIGINTERN PyObject
*_wrap_Font_IsFixedWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14259 PyObject
*resultobj
= 0;
14260 wxFont
*arg1
= (wxFont
*) 0 ;
14264 PyObject
*swig_obj
[1] ;
14266 if (!args
) SWIG_fail
;
14267 swig_obj
[0] = args
;
14268 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14269 if (!SWIG_IsOK(res1
)) {
14270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_IsFixedWidth" "', expected argument " "1"" of type '" "wxFont const *""'");
14272 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14275 result
= (bool)((wxFont
const *)arg1
)->IsFixedWidth();
14276 wxPyEndAllowThreads(__tstate
);
14277 if (PyErr_Occurred()) SWIG_fail
;
14280 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14288 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14289 PyObject
*resultobj
= 0;
14290 wxFont
*arg1
= (wxFont
*) 0 ;
14294 PyObject
*swig_obj
[1] ;
14296 if (!args
) SWIG_fail
;
14297 swig_obj
[0] = args
;
14298 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14299 if (!SWIG_IsOK(res1
)) {
14300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
14302 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14305 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoDesc();
14306 wxPyEndAllowThreads(__tstate
);
14307 if (PyErr_Occurred()) SWIG_fail
;
14311 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14313 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14322 SWIGINTERN PyObject
*_wrap_Font_GetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14323 PyObject
*resultobj
= 0;
14324 wxFont
*arg1
= (wxFont
*) 0 ;
14328 PyObject
*swig_obj
[1] ;
14330 if (!args
) SWIG_fail
;
14331 swig_obj
[0] = args
;
14332 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14333 if (!SWIG_IsOK(res1
)) {
14334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont const *""'");
14336 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14339 result
= ((wxFont
const *)arg1
)->GetNativeFontInfoUserDesc();
14340 wxPyEndAllowThreads(__tstate
);
14341 if (PyErr_Occurred()) SWIG_fail
;
14345 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14347 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14356 SWIGINTERN PyObject
*_wrap_Font_SetPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14357 PyObject
*resultobj
= 0;
14358 wxFont
*arg1
= (wxFont
*) 0 ;
14364 PyObject
* obj0
= 0 ;
14365 PyObject
* obj1
= 0 ;
14366 char * kwnames
[] = {
14367 (char *) "self",(char *) "pointSize", NULL
14370 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14371 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14372 if (!SWIG_IsOK(res1
)) {
14373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPointSize" "', expected argument " "1"" of type '" "wxFont *""'");
14375 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14376 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14377 if (!SWIG_IsOK(ecode2
)) {
14378 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetPointSize" "', expected argument " "2"" of type '" "int""'");
14380 arg2
= static_cast< int >(val2
);
14382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14383 (arg1
)->SetPointSize(arg2
);
14384 wxPyEndAllowThreads(__tstate
);
14385 if (PyErr_Occurred()) SWIG_fail
;
14387 resultobj
= SWIG_Py_Void();
14394 SWIGINTERN PyObject
*_wrap_Font_SetPixelSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14395 PyObject
*resultobj
= 0;
14396 wxFont
*arg1
= (wxFont
*) 0 ;
14401 PyObject
* obj0
= 0 ;
14402 PyObject
* obj1
= 0 ;
14403 char * kwnames
[] = {
14404 (char *) "self",(char *) "pixelSize", NULL
14407 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetPixelSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14408 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14409 if (!SWIG_IsOK(res1
)) {
14410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetPixelSize" "', expected argument " "1"" of type '" "wxFont *""'");
14412 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14415 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14419 (arg1
)->SetPixelSize((wxSize
const &)*arg2
);
14420 wxPyEndAllowThreads(__tstate
);
14421 if (PyErr_Occurred()) SWIG_fail
;
14423 resultobj
= SWIG_Py_Void();
14430 SWIGINTERN PyObject
*_wrap_Font_SetFamily(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14431 PyObject
*resultobj
= 0;
14432 wxFont
*arg1
= (wxFont
*) 0 ;
14438 PyObject
* obj0
= 0 ;
14439 PyObject
* obj1
= 0 ;
14440 char * kwnames
[] = {
14441 (char *) "self",(char *) "family", NULL
14444 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFamily",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14445 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14446 if (!SWIG_IsOK(res1
)) {
14447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFamily" "', expected argument " "1"" of type '" "wxFont *""'");
14449 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14450 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14451 if (!SWIG_IsOK(ecode2
)) {
14452 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetFamily" "', expected argument " "2"" of type '" "int""'");
14454 arg2
= static_cast< int >(val2
);
14456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14457 (arg1
)->SetFamily(arg2
);
14458 wxPyEndAllowThreads(__tstate
);
14459 if (PyErr_Occurred()) SWIG_fail
;
14461 resultobj
= SWIG_Py_Void();
14468 SWIGINTERN PyObject
*_wrap_Font_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14469 PyObject
*resultobj
= 0;
14470 wxFont
*arg1
= (wxFont
*) 0 ;
14476 PyObject
* obj0
= 0 ;
14477 PyObject
* obj1
= 0 ;
14478 char * kwnames
[] = {
14479 (char *) "self",(char *) "style", NULL
14482 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14483 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14484 if (!SWIG_IsOK(res1
)) {
14485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetStyle" "', expected argument " "1"" of type '" "wxFont *""'");
14487 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14488 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14489 if (!SWIG_IsOK(ecode2
)) {
14490 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetStyle" "', expected argument " "2"" of type '" "int""'");
14492 arg2
= static_cast< int >(val2
);
14494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14495 (arg1
)->SetStyle(arg2
);
14496 wxPyEndAllowThreads(__tstate
);
14497 if (PyErr_Occurred()) SWIG_fail
;
14499 resultobj
= SWIG_Py_Void();
14506 SWIGINTERN PyObject
*_wrap_Font_SetWeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14507 PyObject
*resultobj
= 0;
14508 wxFont
*arg1
= (wxFont
*) 0 ;
14514 PyObject
* obj0
= 0 ;
14515 PyObject
* obj1
= 0 ;
14516 char * kwnames
[] = {
14517 (char *) "self",(char *) "weight", NULL
14520 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetWeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14521 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14522 if (!SWIG_IsOK(res1
)) {
14523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetWeight" "', expected argument " "1"" of type '" "wxFont *""'");
14525 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14526 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14527 if (!SWIG_IsOK(ecode2
)) {
14528 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetWeight" "', expected argument " "2"" of type '" "int""'");
14530 arg2
= static_cast< int >(val2
);
14532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14533 (arg1
)->SetWeight(arg2
);
14534 wxPyEndAllowThreads(__tstate
);
14535 if (PyErr_Occurred()) SWIG_fail
;
14537 resultobj
= SWIG_Py_Void();
14544 SWIGINTERN PyObject
*_wrap_Font_SetFaceName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14545 PyObject
*resultobj
= 0;
14546 wxFont
*arg1
= (wxFont
*) 0 ;
14547 wxString
*arg2
= 0 ;
14551 bool temp2
= false ;
14552 PyObject
* obj0
= 0 ;
14553 PyObject
* obj1
= 0 ;
14554 char * kwnames
[] = {
14555 (char *) "self",(char *) "faceName", NULL
14558 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetFaceName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14559 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14560 if (!SWIG_IsOK(res1
)) {
14561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetFaceName" "', expected argument " "1"" of type '" "wxFont *""'");
14563 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14565 arg2
= wxString_in_helper(obj1
);
14566 if (arg2
== NULL
) SWIG_fail
;
14570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14571 result
= (bool)(arg1
)->SetFaceName((wxString
const &)*arg2
);
14572 wxPyEndAllowThreads(__tstate
);
14573 if (PyErr_Occurred()) SWIG_fail
;
14576 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14592 SWIGINTERN PyObject
*_wrap_Font_SetUnderlined(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14593 PyObject
*resultobj
= 0;
14594 wxFont
*arg1
= (wxFont
*) 0 ;
14600 PyObject
* obj0
= 0 ;
14601 PyObject
* obj1
= 0 ;
14602 char * kwnames
[] = {
14603 (char *) "self",(char *) "underlined", NULL
14606 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetUnderlined",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14607 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14608 if (!SWIG_IsOK(res1
)) {
14609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetUnderlined" "', expected argument " "1"" of type '" "wxFont *""'");
14611 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14612 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
14613 if (!SWIG_IsOK(ecode2
)) {
14614 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetUnderlined" "', expected argument " "2"" of type '" "bool""'");
14616 arg2
= static_cast< bool >(val2
);
14618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14619 (arg1
)->SetUnderlined(arg2
);
14620 wxPyEndAllowThreads(__tstate
);
14621 if (PyErr_Occurred()) SWIG_fail
;
14623 resultobj
= SWIG_Py_Void();
14630 SWIGINTERN PyObject
*_wrap_Font_SetEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14631 PyObject
*resultobj
= 0;
14632 wxFont
*arg1
= (wxFont
*) 0 ;
14633 wxFontEncoding arg2
;
14638 PyObject
* obj0
= 0 ;
14639 PyObject
* obj1
= 0 ;
14640 char * kwnames
[] = {
14641 (char *) "self",(char *) "encoding", NULL
14644 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetEncoding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14645 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14646 if (!SWIG_IsOK(res1
)) {
14647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetEncoding" "', expected argument " "1"" of type '" "wxFont *""'");
14649 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14650 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14651 if (!SWIG_IsOK(ecode2
)) {
14652 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetEncoding" "', expected argument " "2"" of type '" "wxFontEncoding""'");
14654 arg2
= static_cast< wxFontEncoding
>(val2
);
14656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14657 (arg1
)->SetEncoding(arg2
);
14658 wxPyEndAllowThreads(__tstate
);
14659 if (PyErr_Occurred()) SWIG_fail
;
14661 resultobj
= SWIG_Py_Void();
14668 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14669 PyObject
*resultobj
= 0;
14670 wxFont
*arg1
= (wxFont
*) 0 ;
14671 wxNativeFontInfo
*arg2
= 0 ;
14676 PyObject
* obj0
= 0 ;
14677 PyObject
* obj1
= 0 ;
14678 char * kwnames
[] = {
14679 (char *) "self",(char *) "info", NULL
14682 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14683 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14684 if (!SWIG_IsOK(res1
)) {
14685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "1"" of type '" "wxFont *""'");
14687 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14688 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxNativeFontInfo
, 0 | 0);
14689 if (!SWIG_IsOK(res2
)) {
14690 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
14693 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Font_SetNativeFontInfo" "', expected argument " "2"" of type '" "wxNativeFontInfo const &""'");
14695 arg2
= reinterpret_cast< wxNativeFontInfo
* >(argp2
);
14697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14698 (arg1
)->SetNativeFontInfo((wxNativeFontInfo
const &)*arg2
);
14699 wxPyEndAllowThreads(__tstate
);
14700 if (PyErr_Occurred()) SWIG_fail
;
14702 resultobj
= SWIG_Py_Void();
14709 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoFromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14710 PyObject
*resultobj
= 0;
14711 wxFont
*arg1
= (wxFont
*) 0 ;
14712 wxString
*arg2
= 0 ;
14716 bool temp2
= false ;
14717 PyObject
* obj0
= 0 ;
14718 PyObject
* obj1
= 0 ;
14719 char * kwnames
[] = {
14720 (char *) "self",(char *) "info", NULL
14723 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoFromString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14724 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14725 if (!SWIG_IsOK(res1
)) {
14726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoFromString" "', expected argument " "1"" of type '" "wxFont *""'");
14728 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14730 arg2
= wxString_in_helper(obj1
);
14731 if (arg2
== NULL
) SWIG_fail
;
14735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14736 result
= (bool)(arg1
)->SetNativeFontInfo((wxString
const &)*arg2
);
14737 wxPyEndAllowThreads(__tstate
);
14738 if (PyErr_Occurred()) SWIG_fail
;
14741 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14757 SWIGINTERN PyObject
*_wrap_Font_SetNativeFontInfoUserDesc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14758 PyObject
*resultobj
= 0;
14759 wxFont
*arg1
= (wxFont
*) 0 ;
14760 wxString
*arg2
= 0 ;
14764 bool temp2
= false ;
14765 PyObject
* obj0
= 0 ;
14766 PyObject
* obj1
= 0 ;
14767 char * kwnames
[] = {
14768 (char *) "self",(char *) "info", NULL
14771 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Font_SetNativeFontInfoUserDesc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14772 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14773 if (!SWIG_IsOK(res1
)) {
14774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNativeFontInfoUserDesc" "', expected argument " "1"" of type '" "wxFont *""'");
14776 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14778 arg2
= wxString_in_helper(obj1
);
14779 if (arg2
== NULL
) SWIG_fail
;
14783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14784 result
= (bool)(arg1
)->SetNativeFontInfoUserDesc((wxString
const &)*arg2
);
14785 wxPyEndAllowThreads(__tstate
);
14786 if (PyErr_Occurred()) SWIG_fail
;
14789 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14805 SWIGINTERN PyObject
*_wrap_Font_GetFamilyString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14806 PyObject
*resultobj
= 0;
14807 wxFont
*arg1
= (wxFont
*) 0 ;
14811 PyObject
*swig_obj
[1] ;
14813 if (!args
) SWIG_fail
;
14814 swig_obj
[0] = args
;
14815 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14816 if (!SWIG_IsOK(res1
)) {
14817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetFamilyString" "', expected argument " "1"" of type '" "wxFont const *""'");
14819 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14822 result
= ((wxFont
const *)arg1
)->GetFamilyString();
14823 wxPyEndAllowThreads(__tstate
);
14824 if (PyErr_Occurred()) SWIG_fail
;
14828 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14830 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14839 SWIGINTERN PyObject
*_wrap_Font_GetStyleString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14840 PyObject
*resultobj
= 0;
14841 wxFont
*arg1
= (wxFont
*) 0 ;
14845 PyObject
*swig_obj
[1] ;
14847 if (!args
) SWIG_fail
;
14848 swig_obj
[0] = args
;
14849 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14850 if (!SWIG_IsOK(res1
)) {
14851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetStyleString" "', expected argument " "1"" of type '" "wxFont const *""'");
14853 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14856 result
= ((wxFont
const *)arg1
)->GetStyleString();
14857 wxPyEndAllowThreads(__tstate
);
14858 if (PyErr_Occurred()) SWIG_fail
;
14862 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14864 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14873 SWIGINTERN PyObject
*_wrap_Font_GetWeightString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14874 PyObject
*resultobj
= 0;
14875 wxFont
*arg1
= (wxFont
*) 0 ;
14879 PyObject
*swig_obj
[1] ;
14881 if (!args
) SWIG_fail
;
14882 swig_obj
[0] = args
;
14883 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14884 if (!SWIG_IsOK(res1
)) {
14885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetWeightString" "', expected argument " "1"" of type '" "wxFont const *""'");
14887 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14890 result
= ((wxFont
const *)arg1
)->GetWeightString();
14891 wxPyEndAllowThreads(__tstate
);
14892 if (PyErr_Occurred()) SWIG_fail
;
14896 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14898 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14907 SWIGINTERN PyObject
*_wrap_Font_SetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14908 PyObject
*resultobj
= 0;
14909 wxFont
*arg1
= (wxFont
*) 0 ;
14910 bool arg2
= (bool) true ;
14915 PyObject
* obj0
= 0 ;
14916 PyObject
* obj1
= 0 ;
14917 char * kwnames
[] = {
14918 (char *) "self",(char *) "no", NULL
14921 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Font_SetNoAntiAliasing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14922 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14923 if (!SWIG_IsOK(res1
)) {
14924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont *""'");
14926 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14928 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
14929 if (!SWIG_IsOK(ecode2
)) {
14930 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Font_SetNoAntiAliasing" "', expected argument " "2"" of type '" "bool""'");
14932 arg2
= static_cast< bool >(val2
);
14935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14936 (arg1
)->SetNoAntiAliasing(arg2
);
14937 wxPyEndAllowThreads(__tstate
);
14938 if (PyErr_Occurred()) SWIG_fail
;
14940 resultobj
= SWIG_Py_Void();
14947 SWIGINTERN PyObject
*_wrap_Font_GetNoAntiAliasing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14948 PyObject
*resultobj
= 0;
14949 wxFont
*arg1
= (wxFont
*) 0 ;
14953 PyObject
*swig_obj
[1] ;
14955 if (!args
) SWIG_fail
;
14956 swig_obj
[0] = args
;
14957 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFont
, 0 | 0 );
14958 if (!SWIG_IsOK(res1
)) {
14959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Font_GetNoAntiAliasing" "', expected argument " "1"" of type '" "wxFont const *""'");
14961 arg1
= reinterpret_cast< wxFont
* >(argp1
);
14963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14964 result
= (bool)((wxFont
const *)arg1
)->GetNoAntiAliasing();
14965 wxPyEndAllowThreads(__tstate
);
14966 if (PyErr_Occurred()) SWIG_fail
;
14969 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14977 SWIGINTERN PyObject
*_wrap_Font_GetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14978 PyObject
*resultobj
= 0;
14979 wxFontEncoding result
;
14981 if (!SWIG_Python_UnpackTuple(args
,"Font_GetDefaultEncoding",0,0,0)) SWIG_fail
;
14983 if (!wxPyCheckForApp()) SWIG_fail
;
14984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14985 result
= (wxFontEncoding
)wxFont::GetDefaultEncoding();
14986 wxPyEndAllowThreads(__tstate
);
14987 if (PyErr_Occurred()) SWIG_fail
;
14989 resultobj
= SWIG_From_int(static_cast< int >(result
));
14996 SWIGINTERN PyObject
*_wrap_Font_SetDefaultEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14997 PyObject
*resultobj
= 0;
14998 wxFontEncoding arg1
;
15001 PyObject
* obj0
= 0 ;
15002 char * kwnames
[] = {
15003 (char *) "encoding", NULL
15006 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Font_SetDefaultEncoding",kwnames
,&obj0
)) SWIG_fail
;
15007 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15008 if (!SWIG_IsOK(ecode1
)) {
15009 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Font_SetDefaultEncoding" "', expected argument " "1"" of type '" "wxFontEncoding""'");
15011 arg1
= static_cast< wxFontEncoding
>(val1
);
15013 if (!wxPyCheckForApp()) SWIG_fail
;
15014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15015 wxFont::SetDefaultEncoding(arg1
);
15016 wxPyEndAllowThreads(__tstate
);
15017 if (PyErr_Occurred()) SWIG_fail
;
15019 resultobj
= SWIG_Py_Void();
15026 SWIGINTERN PyObject
*Font_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15028 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15029 SWIG_TypeNewClientData(SWIGTYPE_p_wxFont
, SWIG_NewClientData(obj
));
15030 return SWIG_Py_Void();
15033 SWIGINTERN PyObject
*Font_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15034 return SWIG_Python_InitShadowInstance(args
);
15037 SWIGINTERN PyObject
*_wrap_new_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15038 PyObject
*resultobj
= 0;
15039 wxPyFontEnumerator
*result
= 0 ;
15041 if (!SWIG_Python_UnpackTuple(args
,"new_FontEnumerator",0,0,0)) SWIG_fail
;
15043 if (!wxPyCheckForApp()) SWIG_fail
;
15044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15045 result
= (wxPyFontEnumerator
*)new wxPyFontEnumerator();
15046 wxPyEndAllowThreads(__tstate
);
15047 if (PyErr_Occurred()) SWIG_fail
;
15049 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_NEW
| 0 );
15056 SWIGINTERN PyObject
*_wrap_delete_FontEnumerator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15057 PyObject
*resultobj
= 0;
15058 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15061 PyObject
*swig_obj
[1] ;
15063 if (!args
) SWIG_fail
;
15064 swig_obj
[0] = args
;
15065 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, SWIG_POINTER_DISOWN
| 0 );
15066 if (!SWIG_IsOK(res1
)) {
15067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontEnumerator" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15069 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15074 wxPyEndAllowThreads(__tstate
);
15075 if (PyErr_Occurred()) SWIG_fail
;
15077 resultobj
= SWIG_Py_Void();
15084 SWIGINTERN PyObject
*_wrap_FontEnumerator__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15085 PyObject
*resultobj
= 0;
15086 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15087 PyObject
*arg2
= (PyObject
*) 0 ;
15088 PyObject
*arg3
= (PyObject
*) 0 ;
15094 PyObject
* obj0
= 0 ;
15095 PyObject
* obj1
= 0 ;
15096 PyObject
* obj2
= 0 ;
15097 PyObject
* obj3
= 0 ;
15098 char * kwnames
[] = {
15099 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
15102 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FontEnumerator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15103 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15104 if (!SWIG_IsOK(res1
)) {
15105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15107 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15110 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
15111 if (!SWIG_IsOK(ecode4
)) {
15112 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontEnumerator__setCallbackInfo" "', expected argument " "4"" of type '" "bool""'");
15114 arg4
= static_cast< bool >(val4
);
15116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15117 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
15118 wxPyEndAllowThreads(__tstate
);
15119 if (PyErr_Occurred()) SWIG_fail
;
15121 resultobj
= SWIG_Py_Void();
15128 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15129 PyObject
*resultobj
= 0;
15130 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15131 wxFontEncoding arg2
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
15132 bool arg3
= (bool) false ;
15140 PyObject
* obj0
= 0 ;
15141 PyObject
* obj1
= 0 ;
15142 PyObject
* obj2
= 0 ;
15143 char * kwnames
[] = {
15144 (char *) "self",(char *) "encoding",(char *) "fixedWidthOnly", NULL
15147 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FontEnumerator_EnumerateFacenames",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15148 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15149 if (!SWIG_IsOK(res1
)) {
15150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15152 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15154 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15155 if (!SWIG_IsOK(ecode2
)) {
15156 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "2"" of type '" "wxFontEncoding""'");
15158 arg2
= static_cast< wxFontEncoding
>(val2
);
15161 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
15162 if (!SWIG_IsOK(ecode3
)) {
15163 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontEnumerator_EnumerateFacenames" "', expected argument " "3"" of type '" "bool""'");
15165 arg3
= static_cast< bool >(val3
);
15168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15169 result
= (bool)(arg1
)->EnumerateFacenames(arg2
,arg3
);
15170 wxPyEndAllowThreads(__tstate
);
15171 if (PyErr_Occurred()) SWIG_fail
;
15174 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15182 SWIGINTERN PyObject
*_wrap_FontEnumerator_EnumerateEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15183 PyObject
*resultobj
= 0;
15184 wxPyFontEnumerator
*arg1
= (wxPyFontEnumerator
*) 0 ;
15185 wxString
const &arg2_defvalue
= wxPyEmptyString
;
15186 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
15190 bool temp2
= false ;
15191 PyObject
* obj0
= 0 ;
15192 PyObject
* obj1
= 0 ;
15193 char * kwnames
[] = {
15194 (char *) "self",(char *) "facename", NULL
15197 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FontEnumerator_EnumerateEncodings",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15198 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFontEnumerator
, 0 | 0 );
15199 if (!SWIG_IsOK(res1
)) {
15200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontEnumerator_EnumerateEncodings" "', expected argument " "1"" of type '" "wxPyFontEnumerator *""'");
15202 arg1
= reinterpret_cast< wxPyFontEnumerator
* >(argp1
);
15205 arg2
= wxString_in_helper(obj1
);
15206 if (arg2
== NULL
) SWIG_fail
;
15211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15212 result
= (bool)(arg1
)->EnumerateEncodings((wxString
const &)*arg2
);
15213 wxPyEndAllowThreads(__tstate
);
15214 if (PyErr_Occurred()) SWIG_fail
;
15217 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15233 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetEncodings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15234 PyObject
*resultobj
= 0;
15235 PyObject
*result
= 0 ;
15237 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetEncodings",0,0,0)) SWIG_fail
;
15239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15240 result
= (PyObject
*)wxPyFontEnumerator_GetEncodings();
15241 wxPyEndAllowThreads(__tstate
);
15242 if (PyErr_Occurred()) SWIG_fail
;
15244 resultobj
= result
;
15251 SWIGINTERN PyObject
*_wrap_FontEnumerator_GetFacenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15252 PyObject
*resultobj
= 0;
15253 PyObject
*result
= 0 ;
15255 if (!SWIG_Python_UnpackTuple(args
,"FontEnumerator_GetFacenames",0,0,0)) SWIG_fail
;
15257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15258 result
= (PyObject
*)wxPyFontEnumerator_GetFacenames();
15259 wxPyEndAllowThreads(__tstate
);
15260 if (PyErr_Occurred()) SWIG_fail
;
15262 resultobj
= result
;
15269 SWIGINTERN PyObject
*_wrap_FontEnumerator_IsValidFacename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15270 PyObject
*resultobj
= 0;
15271 wxString
*arg1
= 0 ;
15273 bool temp1
= false ;
15274 PyObject
* obj0
= 0 ;
15275 char * kwnames
[] = {
15276 (char *) "str", NULL
15279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontEnumerator_IsValidFacename",kwnames
,&obj0
)) SWIG_fail
;
15281 arg1
= wxString_in_helper(obj0
);
15282 if (arg1
== NULL
) SWIG_fail
;
15286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15287 result
= (bool)wxPyFontEnumerator::IsValidFacename((wxString
const &)*arg1
);
15288 wxPyEndAllowThreads(__tstate
);
15289 if (PyErr_Occurred()) SWIG_fail
;
15292 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15308 SWIGINTERN PyObject
*FontEnumerator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15310 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15311 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyFontEnumerator
, SWIG_NewClientData(obj
));
15312 return SWIG_Py_Void();
15315 SWIGINTERN PyObject
*FontEnumerator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15316 return SWIG_Python_InitShadowInstance(args
);
15319 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15320 PyObject
*resultobj
= 0;
15321 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15327 PyObject
*swig_obj
[2] ;
15329 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Language_set",2,2,swig_obj
)) SWIG_fail
;
15330 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15331 if (!SWIG_IsOK(res1
)) {
15332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15334 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15335 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
15336 if (!SWIG_IsOK(ecode2
)) {
15337 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "LanguageInfo_Language_set" "', expected argument " "2"" of type '" "int""'");
15339 arg2
= static_cast< int >(val2
);
15340 if (arg1
) (arg1
)->Language
= arg2
;
15342 resultobj
= SWIG_Py_Void();
15349 SWIGINTERN PyObject
*_wrap_LanguageInfo_Language_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15350 PyObject
*resultobj
= 0;
15351 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15355 PyObject
*swig_obj
[1] ;
15357 if (!args
) SWIG_fail
;
15358 swig_obj
[0] = args
;
15359 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15360 if (!SWIG_IsOK(res1
)) {
15361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Language_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15363 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15364 result
= (int) ((arg1
)->Language
);
15365 resultobj
= SWIG_From_int(static_cast< int >(result
));
15372 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15373 PyObject
*resultobj
= 0;
15374 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15375 wxString
*arg2
= (wxString
*) 0 ;
15378 bool temp2
= false ;
15379 PyObject
*swig_obj
[2] ;
15381 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_CanonicalName_set",2,2,swig_obj
)) SWIG_fail
;
15382 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15383 if (!SWIG_IsOK(res1
)) {
15384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15386 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15388 arg2
= wxString_in_helper(swig_obj
[1]);
15389 if (arg2
== NULL
) SWIG_fail
;
15392 if (arg1
) (arg1
)->CanonicalName
= *arg2
;
15394 resultobj
= SWIG_Py_Void();
15409 SWIGINTERN PyObject
*_wrap_LanguageInfo_CanonicalName_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15410 PyObject
*resultobj
= 0;
15411 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15412 wxString
*result
= 0 ;
15415 PyObject
*swig_obj
[1] ;
15417 if (!args
) SWIG_fail
;
15418 swig_obj
[0] = args
;
15419 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15420 if (!SWIG_IsOK(res1
)) {
15421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_CanonicalName_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15423 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15424 result
= (wxString
*)& ((arg1
)->CanonicalName
);
15427 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15429 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15438 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15439 PyObject
*resultobj
= 0;
15440 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15441 wxString
*arg2
= (wxString
*) 0 ;
15444 bool temp2
= false ;
15445 PyObject
*swig_obj
[2] ;
15447 if (!SWIG_Python_UnpackTuple(args
,"LanguageInfo_Description_set",2,2,swig_obj
)) SWIG_fail
;
15448 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15449 if (!SWIG_IsOK(res1
)) {
15450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_set" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15452 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15454 arg2
= wxString_in_helper(swig_obj
[1]);
15455 if (arg2
== NULL
) SWIG_fail
;
15458 if (arg1
) (arg1
)->Description
= *arg2
;
15460 resultobj
= SWIG_Py_Void();
15475 SWIGINTERN PyObject
*_wrap_LanguageInfo_Description_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15476 PyObject
*resultobj
= 0;
15477 wxLanguageInfo
*arg1
= (wxLanguageInfo
*) 0 ;
15478 wxString
*result
= 0 ;
15481 PyObject
*swig_obj
[1] ;
15483 if (!args
) SWIG_fail
;
15484 swig_obj
[0] = args
;
15485 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
15486 if (!SWIG_IsOK(res1
)) {
15487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LanguageInfo_Description_get" "', expected argument " "1"" of type '" "wxLanguageInfo *""'");
15489 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
15490 result
= (wxString
*)& ((arg1
)->Description
);
15493 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
15495 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
15504 SWIGINTERN PyObject
*LanguageInfo_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15506 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15507 SWIG_TypeNewClientData(SWIGTYPE_p_wxLanguageInfo
, SWIG_NewClientData(obj
));
15508 return SWIG_Py_Void();
15511 SWIGINTERN PyObject
*_wrap_new_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15512 PyObject
*resultobj
= 0;
15513 int arg1
= (int) -1 ;
15514 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
15515 wxLocale
*result
= 0 ;
15520 PyObject
* obj0
= 0 ;
15521 PyObject
* obj1
= 0 ;
15522 char * kwnames
[] = {
15523 (char *) "language",(char *) "flags", NULL
15526 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Locale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15528 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15529 if (!SWIG_IsOK(ecode1
)) {
15530 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Locale" "', expected argument " "1"" of type '" "int""'");
15532 arg1
= static_cast< int >(val1
);
15535 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15536 if (!SWIG_IsOK(ecode2
)) {
15537 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Locale" "', expected argument " "2"" of type '" "int""'");
15539 arg2
= static_cast< int >(val2
);
15542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15543 result
= (wxLocale
*)new_wxLocale(arg1
,arg2
);
15544 wxPyEndAllowThreads(__tstate
);
15545 if (PyErr_Occurred()) SWIG_fail
;
15547 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, SWIG_POINTER_NEW
| 0 );
15554 SWIGINTERN PyObject
*_wrap_delete_Locale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15555 PyObject
*resultobj
= 0;
15556 wxLocale
*arg1
= (wxLocale
*) 0 ;
15559 PyObject
*swig_obj
[1] ;
15561 if (!args
) SWIG_fail
;
15562 swig_obj
[0] = args
;
15563 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, SWIG_POINTER_DISOWN
| 0 );
15564 if (!SWIG_IsOK(res1
)) {
15565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Locale" "', expected argument " "1"" of type '" "wxLocale *""'");
15567 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15572 wxPyEndAllowThreads(__tstate
);
15573 if (PyErr_Occurred()) SWIG_fail
;
15575 resultobj
= SWIG_Py_Void();
15582 SWIGINTERN PyObject
*_wrap_Locale_Init1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15583 PyObject
*resultobj
= 0;
15584 wxLocale
*arg1
= (wxLocale
*) 0 ;
15585 wxString
*arg2
= 0 ;
15586 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15587 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15588 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15589 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15590 bool arg5
= (bool) true ;
15591 bool arg6
= (bool) false ;
15595 bool temp2
= false ;
15596 bool temp3
= false ;
15597 bool temp4
= false ;
15602 PyObject
* obj0
= 0 ;
15603 PyObject
* obj1
= 0 ;
15604 PyObject
* obj2
= 0 ;
15605 PyObject
* obj3
= 0 ;
15606 PyObject
* obj4
= 0 ;
15607 PyObject
* obj5
= 0 ;
15608 char * kwnames
[] = {
15609 (char *) "self",(char *) "szName",(char *) "szShort",(char *) "szLocale",(char *) "bLoadDefault",(char *) "bConvertEncoding", NULL
15612 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Locale_Init1",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
15613 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15614 if (!SWIG_IsOK(res1
)) {
15615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init1" "', expected argument " "1"" of type '" "wxLocale *""'");
15617 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15619 arg2
= wxString_in_helper(obj1
);
15620 if (arg2
== NULL
) SWIG_fail
;
15625 arg3
= wxString_in_helper(obj2
);
15626 if (arg3
== NULL
) SWIG_fail
;
15632 arg4
= wxString_in_helper(obj3
);
15633 if (arg4
== NULL
) SWIG_fail
;
15638 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
15639 if (!SWIG_IsOK(ecode5
)) {
15640 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Locale_Init1" "', expected argument " "5"" of type '" "bool""'");
15642 arg5
= static_cast< bool >(val5
);
15645 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
15646 if (!SWIG_IsOK(ecode6
)) {
15647 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Locale_Init1" "', expected argument " "6"" of type '" "bool""'");
15649 arg6
= static_cast< bool >(val6
);
15652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15653 result
= (bool)wxLocale_Init1(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
15654 wxPyEndAllowThreads(__tstate
);
15655 if (PyErr_Occurred()) SWIG_fail
;
15658 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15690 SWIGINTERN PyObject
*_wrap_Locale_Init2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15691 PyObject
*resultobj
= 0;
15692 wxLocale
*arg1
= (wxLocale
*) 0 ;
15693 int arg2
= (int) wxLANGUAGE_DEFAULT
;
15694 int arg3
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
15702 PyObject
* obj0
= 0 ;
15703 PyObject
* obj1
= 0 ;
15704 PyObject
* obj2
= 0 ;
15705 char * kwnames
[] = {
15706 (char *) "self",(char *) "language",(char *) "flags", NULL
15709 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Locale_Init2",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15710 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15711 if (!SWIG_IsOK(res1
)) {
15712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_Init2" "', expected argument " "1"" of type '" "wxLocale *""'");
15714 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15716 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15717 if (!SWIG_IsOK(ecode2
)) {
15718 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Locale_Init2" "', expected argument " "2"" of type '" "int""'");
15720 arg2
= static_cast< int >(val2
);
15723 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15724 if (!SWIG_IsOK(ecode3
)) {
15725 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Locale_Init2" "', expected argument " "3"" of type '" "int""'");
15727 arg3
= static_cast< int >(val3
);
15730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15731 result
= (bool)wxLocale_Init2(arg1
,arg2
,arg3
);
15732 wxPyEndAllowThreads(__tstate
);
15733 if (PyErr_Occurred()) SWIG_fail
;
15736 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15744 SWIGINTERN PyObject
*_wrap_Locale_GetSystemLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15745 PyObject
*resultobj
= 0;
15748 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemLanguage",0,0,0)) SWIG_fail
;
15750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15751 result
= (int)wxLocale::GetSystemLanguage();
15752 wxPyEndAllowThreads(__tstate
);
15753 if (PyErr_Occurred()) SWIG_fail
;
15755 resultobj
= SWIG_From_int(static_cast< int >(result
));
15762 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15763 PyObject
*resultobj
= 0;
15764 wxFontEncoding result
;
15766 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncoding",0,0,0)) SWIG_fail
;
15768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15769 result
= (wxFontEncoding
)wxLocale::GetSystemEncoding();
15770 wxPyEndAllowThreads(__tstate
);
15771 if (PyErr_Occurred()) SWIG_fail
;
15773 resultobj
= SWIG_From_int(static_cast< int >(result
));
15780 SWIGINTERN PyObject
*_wrap_Locale_GetSystemEncodingName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15781 PyObject
*resultobj
= 0;
15784 if (!SWIG_Python_UnpackTuple(args
,"Locale_GetSystemEncodingName",0,0,0)) SWIG_fail
;
15786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15787 result
= wxLocale::GetSystemEncodingName();
15788 wxPyEndAllowThreads(__tstate
);
15789 if (PyErr_Occurred()) SWIG_fail
;
15793 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15795 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15804 SWIGINTERN PyObject
*_wrap_Locale_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15805 PyObject
*resultobj
= 0;
15806 wxLocale
*arg1
= (wxLocale
*) 0 ;
15810 PyObject
*swig_obj
[1] ;
15812 if (!args
) SWIG_fail
;
15813 swig_obj
[0] = args
;
15814 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15815 if (!SWIG_IsOK(res1
)) {
15816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsOk" "', expected argument " "1"" of type '" "wxLocale const *""'");
15818 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15821 result
= (bool)((wxLocale
const *)arg1
)->IsOk();
15822 wxPyEndAllowThreads(__tstate
);
15823 if (PyErr_Occurred()) SWIG_fail
;
15826 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15834 SWIGINTERN PyObject
*_wrap_Locale_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15835 PyObject
*resultobj
= 0;
15836 wxLocale
*arg1
= (wxLocale
*) 0 ;
15840 PyObject
*swig_obj
[1] ;
15842 if (!args
) SWIG_fail
;
15843 swig_obj
[0] = args
;
15844 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15845 if (!SWIG_IsOK(res1
)) {
15846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLocale" "', expected argument " "1"" of type '" "wxLocale const *""'");
15848 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15851 result
= ((wxLocale
const *)arg1
)->GetLocale();
15852 wxPyEndAllowThreads(__tstate
);
15853 if (PyErr_Occurred()) SWIG_fail
;
15857 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15859 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15868 SWIGINTERN PyObject
*_wrap_Locale_GetLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15869 PyObject
*resultobj
= 0;
15870 wxLocale
*arg1
= (wxLocale
*) 0 ;
15874 PyObject
*swig_obj
[1] ;
15876 if (!args
) SWIG_fail
;
15877 swig_obj
[0] = args
;
15878 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15879 if (!SWIG_IsOK(res1
)) {
15880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetLanguage" "', expected argument " "1"" of type '" "wxLocale const *""'");
15882 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15885 result
= (int)((wxLocale
const *)arg1
)->GetLanguage();
15886 wxPyEndAllowThreads(__tstate
);
15887 if (PyErr_Occurred()) SWIG_fail
;
15889 resultobj
= SWIG_From_int(static_cast< int >(result
));
15896 SWIGINTERN PyObject
*_wrap_Locale_GetSysName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15897 PyObject
*resultobj
= 0;
15898 wxLocale
*arg1
= (wxLocale
*) 0 ;
15902 PyObject
*swig_obj
[1] ;
15904 if (!args
) SWIG_fail
;
15905 swig_obj
[0] = args
;
15906 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15907 if (!SWIG_IsOK(res1
)) {
15908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetSysName" "', expected argument " "1"" of type '" "wxLocale const *""'");
15910 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15913 result
= ((wxLocale
const *)arg1
)->GetSysName();
15914 wxPyEndAllowThreads(__tstate
);
15915 if (PyErr_Occurred()) SWIG_fail
;
15919 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15921 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15930 SWIGINTERN PyObject
*_wrap_Locale_GetCanonicalName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15931 PyObject
*resultobj
= 0;
15932 wxLocale
*arg1
= (wxLocale
*) 0 ;
15936 PyObject
*swig_obj
[1] ;
15938 if (!args
) SWIG_fail
;
15939 swig_obj
[0] = args
;
15940 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
15941 if (!SWIG_IsOK(res1
)) {
15942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetCanonicalName" "', expected argument " "1"" of type '" "wxLocale const *""'");
15944 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
15946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15947 result
= ((wxLocale
const *)arg1
)->GetCanonicalName();
15948 wxPyEndAllowThreads(__tstate
);
15949 if (PyErr_Occurred()) SWIG_fail
;
15953 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15955 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15964 SWIGINTERN PyObject
*_wrap_Locale_AddCatalogLookupPathPrefix(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15965 PyObject
*resultobj
= 0;
15966 wxString
*arg1
= 0 ;
15967 bool temp1
= false ;
15968 PyObject
* obj0
= 0 ;
15969 char * kwnames
[] = {
15970 (char *) "prefix", NULL
15973 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddCatalogLookupPathPrefix",kwnames
,&obj0
)) SWIG_fail
;
15975 arg1
= wxString_in_helper(obj0
);
15976 if (arg1
== NULL
) SWIG_fail
;
15980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15981 wxLocale::AddCatalogLookupPathPrefix((wxString
const &)*arg1
);
15982 wxPyEndAllowThreads(__tstate
);
15983 if (PyErr_Occurred()) SWIG_fail
;
15985 resultobj
= SWIG_Py_Void();
16000 SWIGINTERN PyObject
*_wrap_Locale_AddCatalog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16001 PyObject
*resultobj
= 0;
16002 wxLocale
*arg1
= (wxLocale
*) 0 ;
16003 wxString
*arg2
= 0 ;
16007 bool temp2
= false ;
16008 PyObject
* obj0
= 0 ;
16009 PyObject
* obj1
= 0 ;
16010 char * kwnames
[] = {
16011 (char *) "self",(char *) "szDomain", NULL
16014 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_AddCatalog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16015 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16016 if (!SWIG_IsOK(res1
)) {
16017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddCatalog" "', expected argument " "1"" of type '" "wxLocale *""'");
16019 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16021 arg2
= wxString_in_helper(obj1
);
16022 if (arg2
== NULL
) SWIG_fail
;
16026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16027 result
= (bool)(arg1
)->AddCatalog((wxString
const &)*arg2
);
16028 wxPyEndAllowThreads(__tstate
);
16029 if (PyErr_Occurred()) SWIG_fail
;
16032 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16048 SWIGINTERN PyObject
*_wrap_Locale_IsAvailable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16049 PyObject
*resultobj
= 0;
16054 PyObject
* obj0
= 0 ;
16055 char * kwnames
[] = {
16056 (char *) "lang", NULL
16059 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_IsAvailable",kwnames
,&obj0
)) SWIG_fail
;
16060 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16061 if (!SWIG_IsOK(ecode1
)) {
16062 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_IsAvailable" "', expected argument " "1"" of type '" "int""'");
16064 arg1
= static_cast< int >(val1
);
16066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16067 result
= (bool)wxLocale::IsAvailable(arg1
);
16068 wxPyEndAllowThreads(__tstate
);
16069 if (PyErr_Occurred()) SWIG_fail
;
16072 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16080 SWIGINTERN PyObject
*_wrap_Locale_IsLoaded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16081 PyObject
*resultobj
= 0;
16082 wxLocale
*arg1
= (wxLocale
*) 0 ;
16083 wxString
*arg2
= 0 ;
16087 bool temp2
= false ;
16088 PyObject
* obj0
= 0 ;
16089 PyObject
* obj1
= 0 ;
16090 char * kwnames
[] = {
16091 (char *) "self",(char *) "szDomain", NULL
16094 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Locale_IsLoaded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16095 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16096 if (!SWIG_IsOK(res1
)) {
16097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_IsLoaded" "', expected argument " "1"" of type '" "wxLocale const *""'");
16099 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16101 arg2
= wxString_in_helper(obj1
);
16102 if (arg2
== NULL
) SWIG_fail
;
16106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16107 result
= (bool)((wxLocale
const *)arg1
)->IsLoaded((wxString
const &)*arg2
);
16108 wxPyEndAllowThreads(__tstate
);
16109 if (PyErr_Occurred()) SWIG_fail
;
16112 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16128 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16129 PyObject
*resultobj
= 0;
16131 wxLanguageInfo
*result
= 0 ;
16134 PyObject
* obj0
= 0 ;
16135 char * kwnames
[] = {
16136 (char *) "lang", NULL
16139 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
16140 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16141 if (!SWIG_IsOK(ecode1
)) {
16142 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageInfo" "', expected argument " "1"" of type '" "int""'");
16144 arg1
= static_cast< int >(val1
);
16146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16147 result
= (wxLanguageInfo
*)wxLocale::GetLanguageInfo(arg1
);
16148 wxPyEndAllowThreads(__tstate
);
16149 if (PyErr_Occurred()) SWIG_fail
;
16151 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16158 SWIGINTERN PyObject
*_wrap_Locale_GetLanguageName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16159 PyObject
*resultobj
= 0;
16164 PyObject
* obj0
= 0 ;
16165 char * kwnames
[] = {
16166 (char *) "lang", NULL
16169 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_GetLanguageName",kwnames
,&obj0
)) SWIG_fail
;
16170 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16171 if (!SWIG_IsOK(ecode1
)) {
16172 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Locale_GetLanguageName" "', expected argument " "1"" of type '" "int""'");
16174 arg1
= static_cast< int >(val1
);
16176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16177 result
= wxLocale::GetLanguageName(arg1
);
16178 wxPyEndAllowThreads(__tstate
);
16179 if (PyErr_Occurred()) SWIG_fail
;
16183 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16185 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16194 SWIGINTERN PyObject
*_wrap_Locale_FindLanguageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16195 PyObject
*resultobj
= 0;
16196 wxString
*arg1
= 0 ;
16197 wxLanguageInfo
*result
= 0 ;
16198 bool temp1
= false ;
16199 PyObject
* obj0
= 0 ;
16200 char * kwnames
[] = {
16201 (char *) "locale", NULL
16204 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_FindLanguageInfo",kwnames
,&obj0
)) SWIG_fail
;
16206 arg1
= wxString_in_helper(obj0
);
16207 if (arg1
== NULL
) SWIG_fail
;
16211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16212 result
= (wxLanguageInfo
*)wxLocale::FindLanguageInfo((wxString
const &)*arg1
);
16213 wxPyEndAllowThreads(__tstate
);
16214 if (PyErr_Occurred()) SWIG_fail
;
16216 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLanguageInfo
, 0 | 0 );
16231 SWIGINTERN PyObject
*_wrap_Locale_AddLanguage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16232 PyObject
*resultobj
= 0;
16233 wxLanguageInfo
*arg1
= 0 ;
16236 PyObject
* obj0
= 0 ;
16237 char * kwnames
[] = {
16238 (char *) "info", NULL
16241 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Locale_AddLanguage",kwnames
,&obj0
)) SWIG_fail
;
16242 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxLanguageInfo
, 0 | 0);
16243 if (!SWIG_IsOK(res1
)) {
16244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
16247 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Locale_AddLanguage" "', expected argument " "1"" of type '" "wxLanguageInfo const &""'");
16249 arg1
= reinterpret_cast< wxLanguageInfo
* >(argp1
);
16251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16252 wxLocale::AddLanguage((wxLanguageInfo
const &)*arg1
);
16253 wxPyEndAllowThreads(__tstate
);
16254 if (PyErr_Occurred()) SWIG_fail
;
16256 resultobj
= SWIG_Py_Void();
16263 SWIGINTERN PyObject
*_wrap_Locale_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16264 PyObject
*resultobj
= 0;
16265 wxLocale
*arg1
= (wxLocale
*) 0 ;
16266 wxString
*arg2
= 0 ;
16267 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16268 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16272 bool temp2
= false ;
16273 bool temp3
= false ;
16274 PyObject
* obj0
= 0 ;
16275 PyObject
* obj1
= 0 ;
16276 PyObject
* obj2
= 0 ;
16277 char * kwnames
[] = {
16278 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
16281 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Locale_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16282 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16283 if (!SWIG_IsOK(res1
)) {
16284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetString" "', expected argument " "1"" of type '" "wxLocale const *""'");
16286 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16288 arg2
= wxString_in_helper(obj1
);
16289 if (arg2
== NULL
) SWIG_fail
;
16294 arg3
= wxString_in_helper(obj2
);
16295 if (arg3
== NULL
) SWIG_fail
;
16300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16301 result
= ((wxLocale
const *)arg1
)->GetString((wxString
const &)*arg2
,(wxString
const &)*arg3
);
16302 wxPyEndAllowThreads(__tstate
);
16303 if (PyErr_Occurred()) SWIG_fail
;
16307 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16309 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16334 SWIGINTERN PyObject
*_wrap_Locale_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16335 PyObject
*resultobj
= 0;
16336 wxLocale
*arg1
= (wxLocale
*) 0 ;
16337 wxString
*result
= 0 ;
16340 PyObject
*swig_obj
[1] ;
16342 if (!args
) SWIG_fail
;
16343 swig_obj
[0] = args
;
16344 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLocale
, 0 | 0 );
16345 if (!SWIG_IsOK(res1
)) {
16346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Locale_GetName" "', expected argument " "1"" of type '" "wxLocale const *""'");
16348 arg1
= reinterpret_cast< wxLocale
* >(argp1
);
16350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16352 wxString
const &_result_ref
= ((wxLocale
const *)arg1
)->GetName();
16353 result
= (wxString
*) &_result_ref
;
16355 wxPyEndAllowThreads(__tstate
);
16356 if (PyErr_Occurred()) SWIG_fail
;
16360 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16362 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16371 SWIGINTERN PyObject
*Locale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16373 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16374 SWIG_TypeNewClientData(SWIGTYPE_p_wxLocale
, SWIG_NewClientData(obj
));
16375 return SWIG_Py_Void();
16378 SWIGINTERN PyObject
*Locale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16379 return SWIG_Python_InitShadowInstance(args
);
16382 SWIGINTERN PyObject
*_wrap_new_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16383 PyObject
*resultobj
= 0;
16384 int arg1
= (int) -1 ;
16385 int arg2
= (int) wxLOCALE_LOAD_DEFAULT
|wxLOCALE_CONV_ENCODING
;
16386 wxPyLocale
*result
= 0 ;
16391 PyObject
* obj0
= 0 ;
16392 PyObject
* obj1
= 0 ;
16393 char * kwnames
[] = {
16394 (char *) "language",(char *) "flags", NULL
16397 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyLocale",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16399 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16400 if (!SWIG_IsOK(ecode1
)) {
16401 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PyLocale" "', expected argument " "1"" of type '" "int""'");
16403 arg1
= static_cast< int >(val1
);
16406 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16407 if (!SWIG_IsOK(ecode2
)) {
16408 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyLocale" "', expected argument " "2"" of type '" "int""'");
16410 arg2
= static_cast< int >(val2
);
16413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16414 result
= (wxPyLocale
*)new_wxPyLocale(arg1
,arg2
);
16415 wxPyEndAllowThreads(__tstate
);
16416 if (PyErr_Occurred()) SWIG_fail
;
16418 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_NEW
| 0 );
16425 SWIGINTERN PyObject
*_wrap_delete_PyLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16426 PyObject
*resultobj
= 0;
16427 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16430 PyObject
*swig_obj
[1] ;
16432 if (!args
) SWIG_fail
;
16433 swig_obj
[0] = args
;
16434 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyLocale
, SWIG_POINTER_DISOWN
| 0 );
16435 if (!SWIG_IsOK(res1
)) {
16436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PyLocale" "', expected argument " "1"" of type '" "wxPyLocale *""'");
16438 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16443 wxPyEndAllowThreads(__tstate
);
16444 if (PyErr_Occurred()) SWIG_fail
;
16446 resultobj
= SWIG_Py_Void();
16453 SWIGINTERN PyObject
*_wrap_PyLocale__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16454 PyObject
*resultobj
= 0;
16455 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16456 PyObject
*arg2
= (PyObject
*) 0 ;
16457 PyObject
*arg3
= (PyObject
*) 0 ;
16460 PyObject
* obj0
= 0 ;
16461 PyObject
* obj1
= 0 ;
16462 PyObject
* obj2
= 0 ;
16463 char * kwnames
[] = {
16464 (char *) "self",(char *) "self",(char *) "_class", NULL
16467 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLocale__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16468 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16469 if (!SWIG_IsOK(res1
)) {
16470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyLocale *""'");
16472 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16477 (arg1
)->_setCallbackInfo(arg2
,arg3
);
16478 wxPyEndAllowThreads(__tstate
);
16479 if (PyErr_Occurred()) SWIG_fail
;
16481 resultobj
= SWIG_Py_Void();
16488 SWIGINTERN PyObject
*_wrap_PyLocale_GetSingularString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16489 PyObject
*resultobj
= 0;
16490 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16491 wxChar
*arg2
= (wxChar
*) 0 ;
16492 wxChar
*arg3
= (wxChar
*) NULL
;
16493 wxChar
*result
= 0 ;
16500 PyObject
* obj0
= 0 ;
16501 PyObject
* obj1
= 0 ;
16502 PyObject
* obj2
= 0 ;
16503 char * kwnames
[] = {
16504 (char *) "self",(char *) "szOrigString",(char *) "szDomain", NULL
16507 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PyLocale_GetSingularString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16508 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16509 if (!SWIG_IsOK(res1
)) {
16510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetSingularString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
16512 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16513 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
16514 if (!SWIG_IsOK(res2
)) {
16515 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetSingularString" "', expected argument " "2"" of type '" "wxChar const *""'");
16517 arg2
= reinterpret_cast< wxChar
* >(argp2
);
16519 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
16520 if (!SWIG_IsOK(res3
)) {
16521 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetSingularString" "', expected argument " "3"" of type '" "wxChar const *""'");
16523 arg3
= reinterpret_cast< wxChar
* >(argp3
);
16526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16527 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetSingularString((wxChar
const *)arg2
,(wxChar
const *)arg3
);
16528 wxPyEndAllowThreads(__tstate
);
16529 if (PyErr_Occurred()) SWIG_fail
;
16531 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
16538 SWIGINTERN PyObject
*_wrap_PyLocale_GetPluralString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16539 PyObject
*resultobj
= 0;
16540 wxPyLocale
*arg1
= (wxPyLocale
*) 0 ;
16541 wxChar
*arg2
= (wxChar
*) 0 ;
16542 wxChar
*arg3
= (wxChar
*) 0 ;
16544 wxChar
*arg5
= (wxChar
*) NULL
;
16545 wxChar
*result
= 0 ;
16556 PyObject
* obj0
= 0 ;
16557 PyObject
* obj1
= 0 ;
16558 PyObject
* obj2
= 0 ;
16559 PyObject
* obj3
= 0 ;
16560 PyObject
* obj4
= 0 ;
16561 char * kwnames
[] = {
16562 (char *) "self",(char *) "szOrigString",(char *) "szOrigString2",(char *) "n",(char *) "szDomain", NULL
16565 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PyLocale_GetPluralString",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
16566 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyLocale
, 0 | 0 );
16567 if (!SWIG_IsOK(res1
)) {
16568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyLocale_GetPluralString" "', expected argument " "1"" of type '" "wxPyLocale const *""'");
16570 arg1
= reinterpret_cast< wxPyLocale
* >(argp1
);
16571 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxChar
, 0 | 0 );
16572 if (!SWIG_IsOK(res2
)) {
16573 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyLocale_GetPluralString" "', expected argument " "2"" of type '" "wxChar const *""'");
16575 arg2
= reinterpret_cast< wxChar
* >(argp2
);
16576 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxChar
, 0 | 0 );
16577 if (!SWIG_IsOK(res3
)) {
16578 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyLocale_GetPluralString" "', expected argument " "3"" of type '" "wxChar const *""'");
16580 arg3
= reinterpret_cast< wxChar
* >(argp3
);
16581 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
16582 if (!SWIG_IsOK(ecode4
)) {
16583 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyLocale_GetPluralString" "', expected argument " "4"" of type '" "size_t""'");
16585 arg4
= static_cast< size_t >(val4
);
16587 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxChar
, 0 | 0 );
16588 if (!SWIG_IsOK(res5
)) {
16589 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "PyLocale_GetPluralString" "', expected argument " "5"" of type '" "wxChar const *""'");
16591 arg5
= reinterpret_cast< wxChar
* >(argp5
);
16594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16595 result
= (wxChar
*)((wxPyLocale
const *)arg1
)->GetPluralString((wxChar
const *)arg2
,(wxChar
const *)arg3
,arg4
,(wxChar
const *)arg5
);
16596 wxPyEndAllowThreads(__tstate
);
16597 if (PyErr_Occurred()) SWIG_fail
;
16599 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChar
, 0 | 0 );
16606 SWIGINTERN PyObject
*PyLocale_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16608 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16609 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyLocale
, SWIG_NewClientData(obj
));
16610 return SWIG_Py_Void();
16613 SWIGINTERN PyObject
*PyLocale_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16614 return SWIG_Python_InitShadowInstance(args
);
16617 SWIGINTERN PyObject
*_wrap_GetLocale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16618 PyObject
*resultobj
= 0;
16619 wxLocale
*result
= 0 ;
16621 if (!SWIG_Python_UnpackTuple(args
,"GetLocale",0,0,0)) SWIG_fail
;
16623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16624 result
= (wxLocale
*)wxGetLocale();
16625 wxPyEndAllowThreads(__tstate
);
16626 if (PyErr_Occurred()) SWIG_fail
;
16628 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLocale
, 0 | 0 );
16635 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
16636 PyObject
*resultobj
= 0;
16637 wxString
*arg1
= 0 ;
16639 bool temp1
= false ;
16641 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
16643 arg1
= wxString_in_helper(swig_obj
[0]);
16644 if (arg1
== NULL
) SWIG_fail
;
16648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16649 result
= wxGetTranslation((wxString
const &)*arg1
);
16650 wxPyEndAllowThreads(__tstate
);
16651 if (PyErr_Occurred()) SWIG_fail
;
16655 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16657 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16674 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
16675 PyObject
*resultobj
= 0;
16676 wxString
*arg1
= 0 ;
16677 wxString
*arg2
= 0 ;
16679 bool temp1
= false ;
16680 bool temp2
= false ;
16682 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
16684 arg1
= wxString_in_helper(swig_obj
[0]);
16685 if (arg1
== NULL
) SWIG_fail
;
16689 arg2
= wxString_in_helper(swig_obj
[1]);
16690 if (arg2
== NULL
) SWIG_fail
;
16694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16695 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
);
16696 wxPyEndAllowThreads(__tstate
);
16697 if (PyErr_Occurred()) SWIG_fail
;
16701 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16703 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16728 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
16729 PyObject
*resultobj
= 0;
16730 wxString
*arg1
= 0 ;
16731 wxString
*arg2
= 0 ;
16734 bool temp1
= false ;
16735 bool temp2
= false ;
16739 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
16741 arg1
= wxString_in_helper(swig_obj
[0]);
16742 if (arg1
== NULL
) SWIG_fail
;
16746 arg2
= wxString_in_helper(swig_obj
[1]);
16747 if (arg2
== NULL
) SWIG_fail
;
16750 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
16751 if (!SWIG_IsOK(ecode3
)) {
16752 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
16754 arg3
= static_cast< size_t >(val3
);
16756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16757 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
16758 wxPyEndAllowThreads(__tstate
);
16759 if (PyErr_Occurred()) SWIG_fail
;
16763 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16765 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16790 SWIGINTERN PyObject
*_wrap_GetTranslation__SWIG_3(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
16791 PyObject
*resultobj
= 0;
16792 wxString
*arg1
= 0 ;
16793 wxString
*arg2
= 0 ;
16795 wxString
*arg4
= 0 ;
16797 bool temp1
= false ;
16798 bool temp2
= false ;
16801 bool temp4
= false ;
16803 if ((nobjs
< 4) || (nobjs
> 4)) SWIG_fail
;
16805 arg1
= wxString_in_helper(swig_obj
[0]);
16806 if (arg1
== NULL
) SWIG_fail
;
16810 arg2
= wxString_in_helper(swig_obj
[1]);
16811 if (arg2
== NULL
) SWIG_fail
;
16814 ecode3
= SWIG_AsVal_size_t(swig_obj
[2], &val3
);
16815 if (!SWIG_IsOK(ecode3
)) {
16816 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GetTranslation" "', expected argument " "3"" of type '" "size_t""'");
16818 arg3
= static_cast< size_t >(val3
);
16820 arg4
= wxString_in_helper(swig_obj
[3]);
16821 if (arg4
== NULL
) SWIG_fail
;
16825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16826 result
= wxGetTranslation((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxString
const &)*arg4
);
16827 wxPyEndAllowThreads(__tstate
);
16828 if (PyErr_Occurred()) SWIG_fail
;
16832 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16834 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16867 SWIGINTERN PyObject
*_wrap_GetTranslation(PyObject
*self
, PyObject
*args
) {
16871 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GetTranslation",0,4,argv
))) SWIG_fail
;
16874 return _wrap_GetTranslation__SWIG_0(self
, argc
, argv
);
16877 return _wrap_GetTranslation__SWIG_1(self
, argc
, argv
);
16880 return _wrap_GetTranslation__SWIG_2(self
, argc
, argv
);
16883 return _wrap_GetTranslation__SWIG_3(self
, argc
, argv
);
16887 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GetTranslation'");
16892 SWIGINTERN PyObject
*_wrap_new_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16893 PyObject
*resultobj
= 0;
16894 wxEncodingConverter
*result
= 0 ;
16896 if (!SWIG_Python_UnpackTuple(args
,"new_EncodingConverter",0,0,0)) SWIG_fail
;
16898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16899 result
= (wxEncodingConverter
*)new wxEncodingConverter();
16900 wxPyEndAllowThreads(__tstate
);
16901 if (PyErr_Occurred()) SWIG_fail
;
16903 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_NEW
| 0 );
16910 SWIGINTERN PyObject
*_wrap_delete_EncodingConverter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16911 PyObject
*resultobj
= 0;
16912 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
16915 PyObject
*swig_obj
[1] ;
16917 if (!args
) SWIG_fail
;
16918 swig_obj
[0] = args
;
16919 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEncodingConverter
, SWIG_POINTER_DISOWN
| 0 );
16920 if (!SWIG_IsOK(res1
)) {
16921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_EncodingConverter" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
16923 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
16925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16928 wxPyEndAllowThreads(__tstate
);
16929 if (PyErr_Occurred()) SWIG_fail
;
16931 resultobj
= SWIG_Py_Void();
16938 SWIGINTERN PyObject
*_wrap_EncodingConverter_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16939 PyObject
*resultobj
= 0;
16940 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
16941 wxFontEncoding arg2
;
16942 wxFontEncoding arg3
;
16943 int arg4
= (int) wxCONVERT_STRICT
;
16953 PyObject
* obj0
= 0 ;
16954 PyObject
* obj1
= 0 ;
16955 PyObject
* obj2
= 0 ;
16956 PyObject
* obj3
= 0 ;
16957 char * kwnames
[] = {
16958 (char *) "self",(char *) "input_enc",(char *) "output_enc",(char *) "method", NULL
16961 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:EncodingConverter_Init",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16962 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
16963 if (!SWIG_IsOK(res1
)) {
16964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Init" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
16966 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
16967 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16968 if (!SWIG_IsOK(ecode2
)) {
16969 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_Init" "', expected argument " "2"" of type '" "wxFontEncoding""'");
16971 arg2
= static_cast< wxFontEncoding
>(val2
);
16972 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16973 if (!SWIG_IsOK(ecode3
)) {
16974 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "EncodingConverter_Init" "', expected argument " "3"" of type '" "wxFontEncoding""'");
16976 arg3
= static_cast< wxFontEncoding
>(val3
);
16978 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16979 if (!SWIG_IsOK(ecode4
)) {
16980 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "EncodingConverter_Init" "', expected argument " "4"" of type '" "int""'");
16982 arg4
= static_cast< int >(val4
);
16985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16986 result
= (bool)(arg1
)->Init(arg2
,arg3
,arg4
);
16987 wxPyEndAllowThreads(__tstate
);
16988 if (PyErr_Occurred()) SWIG_fail
;
16991 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16999 SWIGINTERN PyObject
*_wrap_EncodingConverter_Convert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17000 PyObject
*resultobj
= 0;
17001 wxEncodingConverter
*arg1
= (wxEncodingConverter
*) 0 ;
17002 wxString
*arg2
= 0 ;
17006 bool temp2
= false ;
17007 PyObject
* obj0
= 0 ;
17008 PyObject
* obj1
= 0 ;
17009 char * kwnames
[] = {
17010 (char *) "self",(char *) "input", NULL
17013 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_Convert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17014 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEncodingConverter
, 0 | 0 );
17015 if (!SWIG_IsOK(res1
)) {
17016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EncodingConverter_Convert" "', expected argument " "1"" of type '" "wxEncodingConverter *""'");
17018 arg1
= reinterpret_cast< wxEncodingConverter
* >(argp1
);
17020 arg2
= wxString_in_helper(obj1
);
17021 if (arg2
== NULL
) SWIG_fail
;
17025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17026 result
= (arg1
)->Convert((wxString
const &)*arg2
);
17027 wxPyEndAllowThreads(__tstate
);
17028 if (PyErr_Occurred()) SWIG_fail
;
17032 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17034 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17051 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetPlatformEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17052 PyObject
*resultobj
= 0;
17053 wxFontEncoding arg1
;
17054 int arg2
= (int) wxPLATFORM_CURRENT
;
17055 wxFontEncodingArray result
;
17060 PyObject
* obj0
= 0 ;
17061 PyObject
* obj1
= 0 ;
17062 char * kwnames
[] = {
17063 (char *) "enc",(char *) "platform", NULL
17066 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EncodingConverter_GetPlatformEquivalents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17067 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17068 if (!SWIG_IsOK(ecode1
)) {
17069 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17071 arg1
= static_cast< wxFontEncoding
>(val1
);
17073 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17074 if (!SWIG_IsOK(ecode2
)) {
17075 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_GetPlatformEquivalents" "', expected argument " "2"" of type '" "int""'");
17077 arg2
= static_cast< int >(val2
);
17080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17081 result
= wxEncodingConverter::GetPlatformEquivalents(arg1
,arg2
);
17082 wxPyEndAllowThreads(__tstate
);
17083 if (PyErr_Occurred()) SWIG_fail
;
17086 resultobj
= PyList_New(0);
17087 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
17088 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
17089 PyList_Append(resultobj
, number
);
17099 SWIGINTERN PyObject
*_wrap_EncodingConverter_GetAllEquivalents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17100 PyObject
*resultobj
= 0;
17101 wxFontEncoding arg1
;
17102 wxFontEncodingArray result
;
17105 PyObject
* obj0
= 0 ;
17106 char * kwnames
[] = {
17107 (char *) "enc", NULL
17110 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EncodingConverter_GetAllEquivalents",kwnames
,&obj0
)) SWIG_fail
;
17111 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17112 if (!SWIG_IsOK(ecode1
)) {
17113 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_GetAllEquivalents" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17115 arg1
= static_cast< wxFontEncoding
>(val1
);
17117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17118 result
= wxEncodingConverter::GetAllEquivalents(arg1
);
17119 wxPyEndAllowThreads(__tstate
);
17120 if (PyErr_Occurred()) SWIG_fail
;
17123 resultobj
= PyList_New(0);
17124 for (size_t i
=0; i
< (&result
)->GetCount(); i
++) {
17125 PyObject
* number
= PyInt_FromLong((&result
)->Item(i
));
17126 PyList_Append(resultobj
, number
);
17136 SWIGINTERN PyObject
*_wrap_EncodingConverter_CanConvert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17137 PyObject
*resultobj
= 0;
17138 wxFontEncoding arg1
;
17139 wxFontEncoding arg2
;
17145 PyObject
* obj0
= 0 ;
17146 PyObject
* obj1
= 0 ;
17147 char * kwnames
[] = {
17148 (char *) "encIn",(char *) "encOut", NULL
17151 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EncodingConverter_CanConvert",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17152 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17153 if (!SWIG_IsOK(ecode1
)) {
17154 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "1"" of type '" "wxFontEncoding""'");
17156 arg1
= static_cast< wxFontEncoding
>(val1
);
17157 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17158 if (!SWIG_IsOK(ecode2
)) {
17159 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EncodingConverter_CanConvert" "', expected argument " "2"" of type '" "wxFontEncoding""'");
17161 arg2
= static_cast< wxFontEncoding
>(val2
);
17163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17164 result
= (bool)wxEncodingConverter::CanConvert(arg1
,arg2
);
17165 wxPyEndAllowThreads(__tstate
);
17166 if (PyErr_Occurred()) SWIG_fail
;
17169 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17177 SWIGINTERN PyObject
*EncodingConverter_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17179 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17180 SWIG_TypeNewClientData(SWIGTYPE_p_wxEncodingConverter
, SWIG_NewClientData(obj
));
17181 return SWIG_Py_Void();
17184 SWIGINTERN PyObject
*EncodingConverter_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17185 return SWIG_Python_InitShadowInstance(args
);
17188 SWIGINTERN PyObject
*_wrap_delete_DC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17189 PyObject
*resultobj
= 0;
17190 wxDC
*arg1
= (wxDC
*) 0 ;
17193 PyObject
*swig_obj
[1] ;
17195 if (!args
) SWIG_fail
;
17196 swig_obj
[0] = args
;
17197 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, SWIG_POINTER_DISOWN
| 0 );
17198 if (!SWIG_IsOK(res1
)) {
17199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DC" "', expected argument " "1"" of type '" "wxDC *""'");
17201 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17206 wxPyEndAllowThreads(__tstate
);
17207 if (PyErr_Occurred()) SWIG_fail
;
17209 resultobj
= SWIG_Py_Void();
17216 SWIGINTERN PyObject
*_wrap_DC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17217 PyObject
*resultobj
= 0;
17218 wxDC
*arg1
= (wxDC
*) 0 ;
17221 wxColour
*arg4
= 0 ;
17222 int arg5
= (int) wxFLOOD_SURFACE
;
17233 PyObject
* obj0
= 0 ;
17234 PyObject
* obj1
= 0 ;
17235 PyObject
* obj2
= 0 ;
17236 PyObject
* obj3
= 0 ;
17237 PyObject
* obj4
= 0 ;
17238 char * kwnames
[] = {
17239 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
17242 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17243 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17244 if (!SWIG_IsOK(res1
)) {
17245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFill" "', expected argument " "1"" of type '" "wxDC *""'");
17247 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17248 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17249 if (!SWIG_IsOK(ecode2
)) {
17250 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_FloodFill" "', expected argument " "2"" of type '" "int""'");
17252 arg2
= static_cast< int >(val2
);
17253 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17254 if (!SWIG_IsOK(ecode3
)) {
17255 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_FloodFill" "', expected argument " "3"" of type '" "int""'");
17257 arg3
= static_cast< int >(val3
);
17260 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17263 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17264 if (!SWIG_IsOK(ecode5
)) {
17265 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_FloodFill" "', expected argument " "5"" of type '" "int""'");
17267 arg5
= static_cast< int >(val5
);
17270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17271 result
= (bool)(arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
17272 wxPyEndAllowThreads(__tstate
);
17273 if (PyErr_Occurred()) SWIG_fail
;
17276 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17284 SWIGINTERN PyObject
*_wrap_DC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17285 PyObject
*resultobj
= 0;
17286 wxDC
*arg1
= (wxDC
*) 0 ;
17287 wxPoint
*arg2
= 0 ;
17288 wxColour
*arg3
= 0 ;
17289 int arg4
= (int) wxFLOOD_SURFACE
;
17297 PyObject
* obj0
= 0 ;
17298 PyObject
* obj1
= 0 ;
17299 PyObject
* obj2
= 0 ;
17300 PyObject
* obj3
= 0 ;
17301 char * kwnames
[] = {
17302 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
17305 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17306 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17307 if (!SWIG_IsOK(res1
)) {
17308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_FloodFillPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17310 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17313 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17317 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17320 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17321 if (!SWIG_IsOK(ecode4
)) {
17322 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
17324 arg4
= static_cast< int >(val4
);
17327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17328 result
= (bool)(arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
17329 wxPyEndAllowThreads(__tstate
);
17330 if (PyErr_Occurred()) SWIG_fail
;
17333 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17341 SWIGINTERN PyObject
*_wrap_DC_GradientFillConcentric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17342 PyObject
*resultobj
= 0;
17343 wxDC
*arg1
= (wxDC
*) 0 ;
17345 wxColour
*arg3
= 0 ;
17346 wxColour
*arg4
= 0 ;
17347 wxPoint
*arg5
= 0 ;
17354 PyObject
* obj0
= 0 ;
17355 PyObject
* obj1
= 0 ;
17356 PyObject
* obj2
= 0 ;
17357 PyObject
* obj3
= 0 ;
17358 PyObject
* obj4
= 0 ;
17359 char * kwnames
[] = {
17360 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "circleCenter", NULL
17363 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_GradientFillConcentric",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17364 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17365 if (!SWIG_IsOK(res1
)) {
17366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillConcentric" "', expected argument " "1"" of type '" "wxDC *""'");
17368 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17371 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17375 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17379 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17383 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17387 (arg1
)->GradientFillConcentric((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
);
17388 wxPyEndAllowThreads(__tstate
);
17389 if (PyErr_Occurred()) SWIG_fail
;
17391 resultobj
= SWIG_Py_Void();
17398 SWIGINTERN PyObject
*_wrap_DC_GradientFillLinear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17399 PyObject
*resultobj
= 0;
17400 wxDC
*arg1
= (wxDC
*) 0 ;
17402 wxColour
*arg3
= 0 ;
17403 wxColour
*arg4
= 0 ;
17404 wxDirection arg5
= (wxDirection
) wxEAST
;
17412 PyObject
* obj0
= 0 ;
17413 PyObject
* obj1
= 0 ;
17414 PyObject
* obj2
= 0 ;
17415 PyObject
* obj3
= 0 ;
17416 PyObject
* obj4
= 0 ;
17417 char * kwnames
[] = {
17418 (char *) "self",(char *) "rect",(char *) "initialColour",(char *) "destColour",(char *) "nDirection", NULL
17421 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_GradientFillLinear",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17422 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17423 if (!SWIG_IsOK(res1
)) {
17424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GradientFillLinear" "', expected argument " "1"" of type '" "wxDC *""'");
17426 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17429 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17433 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
17437 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
17440 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17441 if (!SWIG_IsOK(ecode5
)) {
17442 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_GradientFillLinear" "', expected argument " "5"" of type '" "wxDirection""'");
17444 arg5
= static_cast< wxDirection
>(val5
);
17447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17448 (arg1
)->GradientFillLinear((wxRect
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,arg5
);
17449 wxPyEndAllowThreads(__tstate
);
17450 if (PyErr_Occurred()) SWIG_fail
;
17452 resultobj
= SWIG_Py_Void();
17459 SWIGINTERN PyObject
*_wrap_DC_GetPixel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17460 PyObject
*resultobj
= 0;
17461 wxDC
*arg1
= (wxDC
*) 0 ;
17471 PyObject
* obj0
= 0 ;
17472 PyObject
* obj1
= 0 ;
17473 PyObject
* obj2
= 0 ;
17474 char * kwnames
[] = {
17475 (char *) "self",(char *) "x",(char *) "y", NULL
17478 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_GetPixel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17479 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17480 if (!SWIG_IsOK(res1
)) {
17481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixel" "', expected argument " "1"" of type '" "wxDC *""'");
17483 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17484 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17485 if (!SWIG_IsOK(ecode2
)) {
17486 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_GetPixel" "', expected argument " "2"" of type '" "int""'");
17488 arg2
= static_cast< int >(val2
);
17489 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17490 if (!SWIG_IsOK(ecode3
)) {
17491 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_GetPixel" "', expected argument " "3"" of type '" "int""'");
17493 arg3
= static_cast< int >(val3
);
17495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17496 result
= wxDC_GetPixel(arg1
,arg2
,arg3
);
17497 wxPyEndAllowThreads(__tstate
);
17498 if (PyErr_Occurred()) SWIG_fail
;
17500 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
17507 SWIGINTERN PyObject
*_wrap_DC_GetPixelPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17508 PyObject
*resultobj
= 0;
17509 wxDC
*arg1
= (wxDC
*) 0 ;
17510 wxPoint
*arg2
= 0 ;
17515 PyObject
* obj0
= 0 ;
17516 PyObject
* obj1
= 0 ;
17517 char * kwnames
[] = {
17518 (char *) "self",(char *) "pt", NULL
17521 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPixelPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17522 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17523 if (!SWIG_IsOK(res1
)) {
17524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPixelPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17526 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17529 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17533 result
= wxDC_GetPixelPoint(arg1
,(wxPoint
const &)*arg2
);
17534 wxPyEndAllowThreads(__tstate
);
17535 if (PyErr_Occurred()) SWIG_fail
;
17537 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
17544 SWIGINTERN PyObject
*_wrap_DC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17545 PyObject
*resultobj
= 0;
17546 wxDC
*arg1
= (wxDC
*) 0 ;
17561 PyObject
* obj0
= 0 ;
17562 PyObject
* obj1
= 0 ;
17563 PyObject
* obj2
= 0 ;
17564 PyObject
* obj3
= 0 ;
17565 PyObject
* obj4
= 0 ;
17566 char * kwnames
[] = {
17567 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
17570 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17571 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17572 if (!SWIG_IsOK(res1
)) {
17573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLine" "', expected argument " "1"" of type '" "wxDC *""'");
17575 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17576 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17577 if (!SWIG_IsOK(ecode2
)) {
17578 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawLine" "', expected argument " "2"" of type '" "int""'");
17580 arg2
= static_cast< int >(val2
);
17581 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17582 if (!SWIG_IsOK(ecode3
)) {
17583 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawLine" "', expected argument " "3"" of type '" "int""'");
17585 arg3
= static_cast< int >(val3
);
17586 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17587 if (!SWIG_IsOK(ecode4
)) {
17588 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLine" "', expected argument " "4"" of type '" "int""'");
17590 arg4
= static_cast< int >(val4
);
17591 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17592 if (!SWIG_IsOK(ecode5
)) {
17593 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLine" "', expected argument " "5"" of type '" "int""'");
17595 arg5
= static_cast< int >(val5
);
17597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17598 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
17599 wxPyEndAllowThreads(__tstate
);
17600 if (PyErr_Occurred()) SWIG_fail
;
17602 resultobj
= SWIG_Py_Void();
17609 SWIGINTERN PyObject
*_wrap_DC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17610 PyObject
*resultobj
= 0;
17611 wxDC
*arg1
= (wxDC
*) 0 ;
17612 wxPoint
*arg2
= 0 ;
17613 wxPoint
*arg3
= 0 ;
17618 PyObject
* obj0
= 0 ;
17619 PyObject
* obj1
= 0 ;
17620 PyObject
* obj2
= 0 ;
17621 char * kwnames
[] = {
17622 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
17625 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17626 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17627 if (!SWIG_IsOK(res1
)) {
17628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLinePoint" "', expected argument " "1"" of type '" "wxDC *""'");
17630 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17633 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17637 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17641 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
17642 wxPyEndAllowThreads(__tstate
);
17643 if (PyErr_Occurred()) SWIG_fail
;
17645 resultobj
= SWIG_Py_Void();
17652 SWIGINTERN PyObject
*_wrap_DC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17653 PyObject
*resultobj
= 0;
17654 wxDC
*arg1
= (wxDC
*) 0 ;
17663 PyObject
* obj0
= 0 ;
17664 PyObject
* obj1
= 0 ;
17665 PyObject
* obj2
= 0 ;
17666 char * kwnames
[] = {
17667 (char *) "self",(char *) "x",(char *) "y", NULL
17670 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17671 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17672 if (!SWIG_IsOK(res1
)) {
17673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHair" "', expected argument " "1"" of type '" "wxDC *""'");
17675 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17676 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17677 if (!SWIG_IsOK(ecode2
)) {
17678 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CrossHair" "', expected argument " "2"" of type '" "int""'");
17680 arg2
= static_cast< int >(val2
);
17681 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17682 if (!SWIG_IsOK(ecode3
)) {
17683 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CrossHair" "', expected argument " "3"" of type '" "int""'");
17685 arg3
= static_cast< int >(val3
);
17687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17688 (arg1
)->CrossHair(arg2
,arg3
);
17689 wxPyEndAllowThreads(__tstate
);
17690 if (PyErr_Occurred()) SWIG_fail
;
17692 resultobj
= SWIG_Py_Void();
17699 SWIGINTERN PyObject
*_wrap_DC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17700 PyObject
*resultobj
= 0;
17701 wxDC
*arg1
= (wxDC
*) 0 ;
17702 wxPoint
*arg2
= 0 ;
17706 PyObject
* obj0
= 0 ;
17707 PyObject
* obj1
= 0 ;
17708 char * kwnames
[] = {
17709 (char *) "self",(char *) "pt", NULL
17712 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17713 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17714 if (!SWIG_IsOK(res1
)) {
17715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CrossHairPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17717 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17720 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17724 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
17725 wxPyEndAllowThreads(__tstate
);
17726 if (PyErr_Occurred()) SWIG_fail
;
17728 resultobj
= SWIG_Py_Void();
17735 SWIGINTERN PyObject
*_wrap_DC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17736 PyObject
*resultobj
= 0;
17737 wxDC
*arg1
= (wxDC
*) 0 ;
17758 PyObject
* obj0
= 0 ;
17759 PyObject
* obj1
= 0 ;
17760 PyObject
* obj2
= 0 ;
17761 PyObject
* obj3
= 0 ;
17762 PyObject
* obj4
= 0 ;
17763 PyObject
* obj5
= 0 ;
17764 PyObject
* obj6
= 0 ;
17765 char * kwnames
[] = {
17766 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
17769 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
17770 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17771 if (!SWIG_IsOK(res1
)) {
17772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArc" "', expected argument " "1"" of type '" "wxDC *""'");
17774 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17775 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17776 if (!SWIG_IsOK(ecode2
)) {
17777 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawArc" "', expected argument " "2"" of type '" "int""'");
17779 arg2
= static_cast< int >(val2
);
17780 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17781 if (!SWIG_IsOK(ecode3
)) {
17782 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawArc" "', expected argument " "3"" of type '" "int""'");
17784 arg3
= static_cast< int >(val3
);
17785 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17786 if (!SWIG_IsOK(ecode4
)) {
17787 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawArc" "', expected argument " "4"" of type '" "int""'");
17789 arg4
= static_cast< int >(val4
);
17790 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17791 if (!SWIG_IsOK(ecode5
)) {
17792 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawArc" "', expected argument " "5"" of type '" "int""'");
17794 arg5
= static_cast< int >(val5
);
17795 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
17796 if (!SWIG_IsOK(ecode6
)) {
17797 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawArc" "', expected argument " "6"" of type '" "int""'");
17799 arg6
= static_cast< int >(val6
);
17800 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
17801 if (!SWIG_IsOK(ecode7
)) {
17802 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawArc" "', expected argument " "7"" of type '" "int""'");
17804 arg7
= static_cast< int >(val7
);
17806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17807 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
17808 wxPyEndAllowThreads(__tstate
);
17809 if (PyErr_Occurred()) SWIG_fail
;
17811 resultobj
= SWIG_Py_Void();
17818 SWIGINTERN PyObject
*_wrap_DC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17819 PyObject
*resultobj
= 0;
17820 wxDC
*arg1
= (wxDC
*) 0 ;
17821 wxPoint
*arg2
= 0 ;
17822 wxPoint
*arg3
= 0 ;
17823 wxPoint
*arg4
= 0 ;
17829 PyObject
* obj0
= 0 ;
17830 PyObject
* obj1
= 0 ;
17831 PyObject
* obj2
= 0 ;
17832 PyObject
* obj3
= 0 ;
17833 char * kwnames
[] = {
17834 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
17837 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17838 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17839 if (!SWIG_IsOK(res1
)) {
17840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawArcPoint" "', expected argument " "1"" of type '" "wxDC *""'");
17842 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17845 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
17849 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17853 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17857 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
17858 wxPyEndAllowThreads(__tstate
);
17859 if (PyErr_Occurred()) SWIG_fail
;
17861 resultobj
= SWIG_Py_Void();
17868 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17869 PyObject
*resultobj
= 0;
17870 wxDC
*arg1
= (wxDC
*) 0 ;
17885 PyObject
* obj0
= 0 ;
17886 PyObject
* obj1
= 0 ;
17887 PyObject
* obj2
= 0 ;
17888 PyObject
* obj3
= 0 ;
17889 PyObject
* obj4
= 0 ;
17890 char * kwnames
[] = {
17891 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
17894 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17895 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17896 if (!SWIG_IsOK(res1
)) {
17897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMark" "', expected argument " "1"" of type '" "wxDC *""'");
17899 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17900 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17901 if (!SWIG_IsOK(ecode2
)) {
17902 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
17904 arg2
= static_cast< int >(val2
);
17905 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17906 if (!SWIG_IsOK(ecode3
)) {
17907 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
17909 arg3
= static_cast< int >(val3
);
17910 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17911 if (!SWIG_IsOK(ecode4
)) {
17912 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
17914 arg4
= static_cast< int >(val4
);
17915 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17916 if (!SWIG_IsOK(ecode5
)) {
17917 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
17919 arg5
= static_cast< int >(val5
);
17921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17922 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
17923 wxPyEndAllowThreads(__tstate
);
17924 if (PyErr_Occurred()) SWIG_fail
;
17926 resultobj
= SWIG_Py_Void();
17933 SWIGINTERN PyObject
*_wrap_DC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17934 PyObject
*resultobj
= 0;
17935 wxDC
*arg1
= (wxDC
*) 0 ;
17940 PyObject
* obj0
= 0 ;
17941 PyObject
* obj1
= 0 ;
17942 char * kwnames
[] = {
17943 (char *) "self",(char *) "rect", NULL
17946 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17947 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
17948 if (!SWIG_IsOK(res1
)) {
17949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxDC *""'");
17951 arg1
= reinterpret_cast< wxDC
* >(argp1
);
17954 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
17957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17958 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
17959 wxPyEndAllowThreads(__tstate
);
17960 if (PyErr_Occurred()) SWIG_fail
;
17962 resultobj
= SWIG_Py_Void();
17969 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17970 PyObject
*resultobj
= 0;
17971 wxDC
*arg1
= (wxDC
*) 0 ;
17992 PyObject
* obj0
= 0 ;
17993 PyObject
* obj1
= 0 ;
17994 PyObject
* obj2
= 0 ;
17995 PyObject
* obj3
= 0 ;
17996 PyObject
* obj4
= 0 ;
17997 PyObject
* obj5
= 0 ;
17998 PyObject
* obj6
= 0 ;
17999 char * kwnames
[] = {
18000 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
18003 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:DC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
18004 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18005 if (!SWIG_IsOK(res1
)) {
18006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxDC *""'");
18008 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18009 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18010 if (!SWIG_IsOK(ecode2
)) {
18011 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
18013 arg2
= static_cast< int >(val2
);
18014 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18015 if (!SWIG_IsOK(ecode3
)) {
18016 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
18018 arg3
= static_cast< int >(val3
);
18019 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18020 if (!SWIG_IsOK(ecode4
)) {
18021 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
18023 arg4
= static_cast< int >(val4
);
18024 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18025 if (!SWIG_IsOK(ecode5
)) {
18026 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
18028 arg5
= static_cast< int >(val5
);
18029 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
18030 if (!SWIG_IsOK(ecode6
)) {
18031 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
18033 arg6
= static_cast< double >(val6
);
18034 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
18035 if (!SWIG_IsOK(ecode7
)) {
18036 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
18038 arg7
= static_cast< double >(val7
);
18040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18041 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
18042 wxPyEndAllowThreads(__tstate
);
18043 if (PyErr_Occurred()) SWIG_fail
;
18045 resultobj
= SWIG_Py_Void();
18052 SWIGINTERN PyObject
*_wrap_DC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18053 PyObject
*resultobj
= 0;
18054 wxDC
*arg1
= (wxDC
*) 0 ;
18055 wxPoint
*arg2
= 0 ;
18067 PyObject
* obj0
= 0 ;
18068 PyObject
* obj1
= 0 ;
18069 PyObject
* obj2
= 0 ;
18070 PyObject
* obj3
= 0 ;
18071 PyObject
* obj4
= 0 ;
18072 char * kwnames
[] = {
18073 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
18076 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18077 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18078 if (!SWIG_IsOK(res1
)) {
18079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18081 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18084 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18088 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18090 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
18091 if (!SWIG_IsOK(ecode4
)) {
18092 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
18094 arg4
= static_cast< double >(val4
);
18095 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
18096 if (!SWIG_IsOK(ecode5
)) {
18097 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
18099 arg5
= static_cast< double >(val5
);
18101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18102 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
18103 wxPyEndAllowThreads(__tstate
);
18104 if (PyErr_Occurred()) SWIG_fail
;
18106 resultobj
= SWIG_Py_Void();
18113 SWIGINTERN PyObject
*_wrap_DC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18114 PyObject
*resultobj
= 0;
18115 wxDC
*arg1
= (wxDC
*) 0 ;
18124 PyObject
* obj0
= 0 ;
18125 PyObject
* obj1
= 0 ;
18126 PyObject
* obj2
= 0 ;
18127 char * kwnames
[] = {
18128 (char *) "self",(char *) "x",(char *) "y", NULL
18131 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18132 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18133 if (!SWIG_IsOK(res1
)) {
18134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18136 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18137 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18138 if (!SWIG_IsOK(ecode2
)) {
18139 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
18141 arg2
= static_cast< int >(val2
);
18142 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18143 if (!SWIG_IsOK(ecode3
)) {
18144 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
18146 arg3
= static_cast< int >(val3
);
18148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18149 (arg1
)->DrawPoint(arg2
,arg3
);
18150 wxPyEndAllowThreads(__tstate
);
18151 if (PyErr_Occurred()) SWIG_fail
;
18153 resultobj
= SWIG_Py_Void();
18160 SWIGINTERN PyObject
*_wrap_DC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18161 PyObject
*resultobj
= 0;
18162 wxDC
*arg1
= (wxDC
*) 0 ;
18163 wxPoint
*arg2
= 0 ;
18167 PyObject
* obj0
= 0 ;
18168 PyObject
* obj1
= 0 ;
18169 char * kwnames
[] = {
18170 (char *) "self",(char *) "pt", NULL
18173 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18174 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18175 if (!SWIG_IsOK(res1
)) {
18176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPointPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18178 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18181 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18185 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
18186 wxPyEndAllowThreads(__tstate
);
18187 if (PyErr_Occurred()) SWIG_fail
;
18189 resultobj
= SWIG_Py_Void();
18196 SWIGINTERN PyObject
*_wrap_DC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18197 PyObject
*resultobj
= 0;
18198 wxDC
*arg1
= (wxDC
*) 0 ;
18213 PyObject
* obj0
= 0 ;
18214 PyObject
* obj1
= 0 ;
18215 PyObject
* obj2
= 0 ;
18216 PyObject
* obj3
= 0 ;
18217 PyObject
* obj4
= 0 ;
18218 char * kwnames
[] = {
18219 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18222 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18223 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18224 if (!SWIG_IsOK(res1
)) {
18225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
18227 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18228 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18229 if (!SWIG_IsOK(ecode2
)) {
18230 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
18232 arg2
= static_cast< int >(val2
);
18233 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18234 if (!SWIG_IsOK(ecode3
)) {
18235 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
18237 arg3
= static_cast< int >(val3
);
18238 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18239 if (!SWIG_IsOK(ecode4
)) {
18240 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
18242 arg4
= static_cast< int >(val4
);
18243 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18244 if (!SWIG_IsOK(ecode5
)) {
18245 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
18247 arg5
= static_cast< int >(val5
);
18249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18250 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
18251 wxPyEndAllowThreads(__tstate
);
18252 if (PyErr_Occurred()) SWIG_fail
;
18254 resultobj
= SWIG_Py_Void();
18261 SWIGINTERN PyObject
*_wrap_DC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18262 PyObject
*resultobj
= 0;
18263 wxDC
*arg1
= (wxDC
*) 0 ;
18268 PyObject
* obj0
= 0 ;
18269 PyObject
* obj1
= 0 ;
18270 char * kwnames
[] = {
18271 (char *) "self",(char *) "rect", NULL
18274 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18275 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18276 if (!SWIG_IsOK(res1
)) {
18277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
18279 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18282 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18286 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
18287 wxPyEndAllowThreads(__tstate
);
18288 if (PyErr_Occurred()) SWIG_fail
;
18290 resultobj
= SWIG_Py_Void();
18297 SWIGINTERN PyObject
*_wrap_DC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18298 PyObject
*resultobj
= 0;
18299 wxDC
*arg1
= (wxDC
*) 0 ;
18300 wxPoint
*arg2
= 0 ;
18306 PyObject
* obj0
= 0 ;
18307 PyObject
* obj1
= 0 ;
18308 PyObject
* obj2
= 0 ;
18309 char * kwnames
[] = {
18310 (char *) "self",(char *) "pt",(char *) "sz", NULL
18313 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18314 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18315 if (!SWIG_IsOK(res1
)) {
18316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18318 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18321 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18325 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18329 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
18330 wxPyEndAllowThreads(__tstate
);
18331 if (PyErr_Occurred()) SWIG_fail
;
18333 resultobj
= SWIG_Py_Void();
18340 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18341 PyObject
*resultobj
= 0;
18342 wxDC
*arg1
= (wxDC
*) 0 ;
18360 PyObject
* obj0
= 0 ;
18361 PyObject
* obj1
= 0 ;
18362 PyObject
* obj2
= 0 ;
18363 PyObject
* obj3
= 0 ;
18364 PyObject
* obj4
= 0 ;
18365 PyObject
* obj5
= 0 ;
18366 char * kwnames
[] = {
18367 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
18370 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:DC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18371 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18372 if (!SWIG_IsOK(res1
)) {
18373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxDC *""'");
18375 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18376 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18377 if (!SWIG_IsOK(ecode2
)) {
18378 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
18380 arg2
= static_cast< int >(val2
);
18381 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18382 if (!SWIG_IsOK(ecode3
)) {
18383 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
18385 arg3
= static_cast< int >(val3
);
18386 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18387 if (!SWIG_IsOK(ecode4
)) {
18388 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
18390 arg4
= static_cast< int >(val4
);
18391 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18392 if (!SWIG_IsOK(ecode5
)) {
18393 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
18395 arg5
= static_cast< int >(val5
);
18396 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
18397 if (!SWIG_IsOK(ecode6
)) {
18398 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
18400 arg6
= static_cast< double >(val6
);
18402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18403 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
18404 wxPyEndAllowThreads(__tstate
);
18405 if (PyErr_Occurred()) SWIG_fail
;
18407 resultobj
= SWIG_Py_Void();
18414 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18415 PyObject
*resultobj
= 0;
18416 wxDC
*arg1
= (wxDC
*) 0 ;
18424 PyObject
* obj0
= 0 ;
18425 PyObject
* obj1
= 0 ;
18426 PyObject
* obj2
= 0 ;
18427 char * kwnames
[] = {
18428 (char *) "self",(char *) "r",(char *) "radius", NULL
18431 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18432 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18433 if (!SWIG_IsOK(res1
)) {
18434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxDC *""'");
18436 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18439 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18441 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
18442 if (!SWIG_IsOK(ecode3
)) {
18443 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
18445 arg3
= static_cast< double >(val3
);
18447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18448 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
18449 wxPyEndAllowThreads(__tstate
);
18450 if (PyErr_Occurred()) SWIG_fail
;
18452 resultobj
= SWIG_Py_Void();
18459 SWIGINTERN PyObject
*_wrap_DC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18460 PyObject
*resultobj
= 0;
18461 wxDC
*arg1
= (wxDC
*) 0 ;
18462 wxPoint
*arg2
= 0 ;
18471 PyObject
* obj0
= 0 ;
18472 PyObject
* obj1
= 0 ;
18473 PyObject
* obj2
= 0 ;
18474 PyObject
* obj3
= 0 ;
18475 char * kwnames
[] = {
18476 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
18479 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18480 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18481 if (!SWIG_IsOK(res1
)) {
18482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18484 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18487 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18491 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18493 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
18494 if (!SWIG_IsOK(ecode4
)) {
18495 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
18497 arg4
= static_cast< double >(val4
);
18499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18500 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
18501 wxPyEndAllowThreads(__tstate
);
18502 if (PyErr_Occurred()) SWIG_fail
;
18504 resultobj
= SWIG_Py_Void();
18511 SWIGINTERN PyObject
*_wrap_DC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18512 PyObject
*resultobj
= 0;
18513 wxDC
*arg1
= (wxDC
*) 0 ;
18525 PyObject
* obj0
= 0 ;
18526 PyObject
* obj1
= 0 ;
18527 PyObject
* obj2
= 0 ;
18528 PyObject
* obj3
= 0 ;
18529 char * kwnames
[] = {
18530 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
18533 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18534 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18535 if (!SWIG_IsOK(res1
)) {
18536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCircle" "', expected argument " "1"" of type '" "wxDC *""'");
18538 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18539 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18540 if (!SWIG_IsOK(ecode2
)) {
18541 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
18543 arg2
= static_cast< int >(val2
);
18544 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18545 if (!SWIG_IsOK(ecode3
)) {
18546 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
18548 arg3
= static_cast< int >(val3
);
18549 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18550 if (!SWIG_IsOK(ecode4
)) {
18551 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
18553 arg4
= static_cast< int >(val4
);
18555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18556 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
18557 wxPyEndAllowThreads(__tstate
);
18558 if (PyErr_Occurred()) SWIG_fail
;
18560 resultobj
= SWIG_Py_Void();
18567 SWIGINTERN PyObject
*_wrap_DC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18568 PyObject
*resultobj
= 0;
18569 wxDC
*arg1
= (wxDC
*) 0 ;
18570 wxPoint
*arg2
= 0 ;
18577 PyObject
* obj0
= 0 ;
18578 PyObject
* obj1
= 0 ;
18579 PyObject
* obj2
= 0 ;
18580 char * kwnames
[] = {
18581 (char *) "self",(char *) "pt",(char *) "radius", NULL
18584 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18585 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18586 if (!SWIG_IsOK(res1
)) {
18587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxDC *""'");
18589 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18592 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18594 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18595 if (!SWIG_IsOK(ecode3
)) {
18596 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
18598 arg3
= static_cast< int >(val3
);
18600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18601 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
18602 wxPyEndAllowThreads(__tstate
);
18603 if (PyErr_Occurred()) SWIG_fail
;
18605 resultobj
= SWIG_Py_Void();
18612 SWIGINTERN PyObject
*_wrap_DC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18613 PyObject
*resultobj
= 0;
18614 wxDC
*arg1
= (wxDC
*) 0 ;
18629 PyObject
* obj0
= 0 ;
18630 PyObject
* obj1
= 0 ;
18631 PyObject
* obj2
= 0 ;
18632 PyObject
* obj3
= 0 ;
18633 PyObject
* obj4
= 0 ;
18634 char * kwnames
[] = {
18635 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18638 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18639 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18640 if (!SWIG_IsOK(res1
)) {
18641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipse" "', expected argument " "1"" of type '" "wxDC *""'");
18643 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18644 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18645 if (!SWIG_IsOK(ecode2
)) {
18646 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
18648 arg2
= static_cast< int >(val2
);
18649 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18650 if (!SWIG_IsOK(ecode3
)) {
18651 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
18653 arg3
= static_cast< int >(val3
);
18654 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18655 if (!SWIG_IsOK(ecode4
)) {
18656 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
18658 arg4
= static_cast< int >(val4
);
18659 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18660 if (!SWIG_IsOK(ecode5
)) {
18661 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
18663 arg5
= static_cast< int >(val5
);
18665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18666 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
18667 wxPyEndAllowThreads(__tstate
);
18668 if (PyErr_Occurred()) SWIG_fail
;
18670 resultobj
= SWIG_Py_Void();
18677 SWIGINTERN PyObject
*_wrap_DC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18678 PyObject
*resultobj
= 0;
18679 wxDC
*arg1
= (wxDC
*) 0 ;
18684 PyObject
* obj0
= 0 ;
18685 PyObject
* obj1
= 0 ;
18686 char * kwnames
[] = {
18687 (char *) "self",(char *) "rect", NULL
18690 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18691 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18692 if (!SWIG_IsOK(res1
)) {
18693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxDC *""'");
18695 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18698 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
18701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18702 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
18703 wxPyEndAllowThreads(__tstate
);
18704 if (PyErr_Occurred()) SWIG_fail
;
18706 resultobj
= SWIG_Py_Void();
18713 SWIGINTERN PyObject
*_wrap_DC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18714 PyObject
*resultobj
= 0;
18715 wxDC
*arg1
= (wxDC
*) 0 ;
18716 wxPoint
*arg2
= 0 ;
18722 PyObject
* obj0
= 0 ;
18723 PyObject
* obj1
= 0 ;
18724 PyObject
* obj2
= 0 ;
18725 char * kwnames
[] = {
18726 (char *) "self",(char *) "pt",(char *) "sz", NULL
18729 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18730 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18731 if (!SWIG_IsOK(res1
)) {
18732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxDC *""'");
18734 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18737 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18741 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
18744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18745 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
18746 wxPyEndAllowThreads(__tstate
);
18747 if (PyErr_Occurred()) SWIG_fail
;
18749 resultobj
= SWIG_Py_Void();
18756 SWIGINTERN PyObject
*_wrap_DC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18757 PyObject
*resultobj
= 0;
18758 wxDC
*arg1
= (wxDC
*) 0 ;
18770 PyObject
* obj0
= 0 ;
18771 PyObject
* obj1
= 0 ;
18772 PyObject
* obj2
= 0 ;
18773 PyObject
* obj3
= 0 ;
18774 char * kwnames
[] = {
18775 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
18778 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18779 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18780 if (!SWIG_IsOK(res1
)) {
18781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIcon" "', expected argument " "1"" of type '" "wxDC *""'");
18783 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18784 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
18785 if (!SWIG_IsOK(res2
)) {
18786 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
18789 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
18791 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
18792 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18793 if (!SWIG_IsOK(ecode3
)) {
18794 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
18796 arg3
= static_cast< int >(val3
);
18797 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18798 if (!SWIG_IsOK(ecode4
)) {
18799 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
18801 arg4
= static_cast< int >(val4
);
18803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18804 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
18805 wxPyEndAllowThreads(__tstate
);
18806 if (PyErr_Occurred()) SWIG_fail
;
18808 resultobj
= SWIG_Py_Void();
18815 SWIGINTERN PyObject
*_wrap_DC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18816 PyObject
*resultobj
= 0;
18817 wxDC
*arg1
= (wxDC
*) 0 ;
18819 wxPoint
*arg3
= 0 ;
18825 PyObject
* obj0
= 0 ;
18826 PyObject
* obj1
= 0 ;
18827 PyObject
* obj2
= 0 ;
18828 char * kwnames
[] = {
18829 (char *) "self",(char *) "icon",(char *) "pt", NULL
18832 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18833 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18834 if (!SWIG_IsOK(res1
)) {
18835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawIconPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18837 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18838 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
18839 if (!SWIG_IsOK(res2
)) {
18840 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
18843 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
18845 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
18848 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18852 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
18853 wxPyEndAllowThreads(__tstate
);
18854 if (PyErr_Occurred()) SWIG_fail
;
18856 resultobj
= SWIG_Py_Void();
18863 SWIGINTERN PyObject
*_wrap_DC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18864 PyObject
*resultobj
= 0;
18865 wxDC
*arg1
= (wxDC
*) 0 ;
18866 wxBitmap
*arg2
= 0 ;
18869 bool arg5
= (bool) false ;
18880 PyObject
* obj0
= 0 ;
18881 PyObject
* obj1
= 0 ;
18882 PyObject
* obj2
= 0 ;
18883 PyObject
* obj3
= 0 ;
18884 PyObject
* obj4
= 0 ;
18885 char * kwnames
[] = {
18886 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
18889 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:DC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18890 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18891 if (!SWIG_IsOK(res1
)) {
18892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmap" "', expected argument " "1"" of type '" "wxDC *""'");
18894 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18895 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
18896 if (!SWIG_IsOK(res2
)) {
18897 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
18900 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
18902 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
18903 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18904 if (!SWIG_IsOK(ecode3
)) {
18905 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
18907 arg3
= static_cast< int >(val3
);
18908 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18909 if (!SWIG_IsOK(ecode4
)) {
18910 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
18912 arg4
= static_cast< int >(val4
);
18914 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
18915 if (!SWIG_IsOK(ecode5
)) {
18916 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
18918 arg5
= static_cast< bool >(val5
);
18921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18922 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
18923 wxPyEndAllowThreads(__tstate
);
18924 if (PyErr_Occurred()) SWIG_fail
;
18926 resultobj
= SWIG_Py_Void();
18933 SWIGINTERN PyObject
*_wrap_DC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18934 PyObject
*resultobj
= 0;
18935 wxDC
*arg1
= (wxDC
*) 0 ;
18936 wxBitmap
*arg2
= 0 ;
18937 wxPoint
*arg3
= 0 ;
18938 bool arg4
= (bool) false ;
18946 PyObject
* obj0
= 0 ;
18947 PyObject
* obj1
= 0 ;
18948 PyObject
* obj2
= 0 ;
18949 PyObject
* obj3
= 0 ;
18950 char * kwnames
[] = {
18951 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
18954 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:DC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18955 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
18956 if (!SWIG_IsOK(res1
)) {
18957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxDC *""'");
18959 arg1
= reinterpret_cast< wxDC
* >(argp1
);
18960 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
18961 if (!SWIG_IsOK(res2
)) {
18962 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
18965 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
18967 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
18970 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18973 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
18974 if (!SWIG_IsOK(ecode4
)) {
18975 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
18977 arg4
= static_cast< bool >(val4
);
18980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18981 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
18982 wxPyEndAllowThreads(__tstate
);
18983 if (PyErr_Occurred()) SWIG_fail
;
18985 resultobj
= SWIG_Py_Void();
18992 SWIGINTERN PyObject
*_wrap_DC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18993 PyObject
*resultobj
= 0;
18994 wxDC
*arg1
= (wxDC
*) 0 ;
18995 wxString
*arg2
= 0 ;
19000 bool temp2
= false ;
19005 PyObject
* obj0
= 0 ;
19006 PyObject
* obj1
= 0 ;
19007 PyObject
* obj2
= 0 ;
19008 PyObject
* obj3
= 0 ;
19009 char * kwnames
[] = {
19010 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
19013 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19014 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19015 if (!SWIG_IsOK(res1
)) {
19016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawText" "', expected argument " "1"" of type '" "wxDC *""'");
19018 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19020 arg2
= wxString_in_helper(obj1
);
19021 if (arg2
== NULL
) SWIG_fail
;
19024 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19025 if (!SWIG_IsOK(ecode3
)) {
19026 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawText" "', expected argument " "3"" of type '" "int""'");
19028 arg3
= static_cast< int >(val3
);
19029 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19030 if (!SWIG_IsOK(ecode4
)) {
19031 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawText" "', expected argument " "4"" of type '" "int""'");
19033 arg4
= static_cast< int >(val4
);
19035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19036 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
19037 wxPyEndAllowThreads(__tstate
);
19038 if (PyErr_Occurred()) SWIG_fail
;
19040 resultobj
= SWIG_Py_Void();
19055 SWIGINTERN PyObject
*_wrap_DC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19056 PyObject
*resultobj
= 0;
19057 wxDC
*arg1
= (wxDC
*) 0 ;
19058 wxString
*arg2
= 0 ;
19059 wxPoint
*arg3
= 0 ;
19062 bool temp2
= false ;
19064 PyObject
* obj0
= 0 ;
19065 PyObject
* obj1
= 0 ;
19066 PyObject
* obj2
= 0 ;
19067 char * kwnames
[] = {
19068 (char *) "self",(char *) "text",(char *) "pt", NULL
19071 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19072 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19073 if (!SWIG_IsOK(res1
)) {
19074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19076 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19078 arg2
= wxString_in_helper(obj1
);
19079 if (arg2
== NULL
) SWIG_fail
;
19084 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19088 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
19089 wxPyEndAllowThreads(__tstate
);
19090 if (PyErr_Occurred()) SWIG_fail
;
19092 resultobj
= SWIG_Py_Void();
19107 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19108 PyObject
*resultobj
= 0;
19109 wxDC
*arg1
= (wxDC
*) 0 ;
19110 wxString
*arg2
= 0 ;
19116 bool temp2
= false ;
19123 PyObject
* obj0
= 0 ;
19124 PyObject
* obj1
= 0 ;
19125 PyObject
* obj2
= 0 ;
19126 PyObject
* obj3
= 0 ;
19127 PyObject
* obj4
= 0 ;
19128 char * kwnames
[] = {
19129 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
19132 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19133 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19134 if (!SWIG_IsOK(res1
)) {
19135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedText" "', expected argument " "1"" of type '" "wxDC *""'");
19137 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19139 arg2
= wxString_in_helper(obj1
);
19140 if (arg2
== NULL
) SWIG_fail
;
19143 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19144 if (!SWIG_IsOK(ecode3
)) {
19145 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
19147 arg3
= static_cast< int >(val3
);
19148 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19149 if (!SWIG_IsOK(ecode4
)) {
19150 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
19152 arg4
= static_cast< int >(val4
);
19153 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
19154 if (!SWIG_IsOK(ecode5
)) {
19155 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
19157 arg5
= static_cast< double >(val5
);
19159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19160 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
19161 wxPyEndAllowThreads(__tstate
);
19162 if (PyErr_Occurred()) SWIG_fail
;
19164 resultobj
= SWIG_Py_Void();
19179 SWIGINTERN PyObject
*_wrap_DC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19180 PyObject
*resultobj
= 0;
19181 wxDC
*arg1
= (wxDC
*) 0 ;
19182 wxString
*arg2
= 0 ;
19183 wxPoint
*arg3
= 0 ;
19187 bool temp2
= false ;
19191 PyObject
* obj0
= 0 ;
19192 PyObject
* obj1
= 0 ;
19193 PyObject
* obj2
= 0 ;
19194 PyObject
* obj3
= 0 ;
19195 char * kwnames
[] = {
19196 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
19199 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19200 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19201 if (!SWIG_IsOK(res1
)) {
19202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxDC *""'");
19204 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19206 arg2
= wxString_in_helper(obj1
);
19207 if (arg2
== NULL
) SWIG_fail
;
19212 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19214 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
19215 if (!SWIG_IsOK(ecode4
)) {
19216 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
19218 arg4
= static_cast< double >(val4
);
19220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19221 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
19222 wxPyEndAllowThreads(__tstate
);
19223 if (PyErr_Occurred()) SWIG_fail
;
19225 resultobj
= SWIG_Py_Void();
19240 SWIGINTERN PyObject
*_wrap_DC_Blit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19241 PyObject
*resultobj
= 0;
19242 wxDC
*arg1
= (wxDC
*) 0 ;
19247 wxDC
*arg6
= (wxDC
*) 0 ;
19250 int arg9
= (int) wxCOPY
;
19251 bool arg10
= (bool) false ;
19252 int arg11
= (int) -1 ;
19253 int arg12
= (int) -1 ;
19279 PyObject
* obj0
= 0 ;
19280 PyObject
* obj1
= 0 ;
19281 PyObject
* obj2
= 0 ;
19282 PyObject
* obj3
= 0 ;
19283 PyObject
* obj4
= 0 ;
19284 PyObject
* obj5
= 0 ;
19285 PyObject
* obj6
= 0 ;
19286 PyObject
* obj7
= 0 ;
19287 PyObject
* obj8
= 0 ;
19288 PyObject
* obj9
= 0 ;
19289 PyObject
* obj10
= 0 ;
19290 PyObject
* obj11
= 0 ;
19291 char * kwnames
[] = {
19292 (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
19295 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
;
19296 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19297 if (!SWIG_IsOK(res1
)) {
19298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Blit" "', expected argument " "1"" of type '" "wxDC *""'");
19300 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19301 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19302 if (!SWIG_IsOK(ecode2
)) {
19303 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_Blit" "', expected argument " "2"" of type '" "int""'");
19305 arg2
= static_cast< int >(val2
);
19306 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19307 if (!SWIG_IsOK(ecode3
)) {
19308 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_Blit" "', expected argument " "3"" of type '" "int""'");
19310 arg3
= static_cast< int >(val3
);
19311 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19312 if (!SWIG_IsOK(ecode4
)) {
19313 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_Blit" "', expected argument " "4"" of type '" "int""'");
19315 arg4
= static_cast< int >(val4
);
19316 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19317 if (!SWIG_IsOK(ecode5
)) {
19318 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_Blit" "', expected argument " "5"" of type '" "int""'");
19320 arg5
= static_cast< int >(val5
);
19321 res6
= SWIG_ConvertPtr(obj5
, &argp6
,SWIGTYPE_p_wxDC
, 0 | 0 );
19322 if (!SWIG_IsOK(res6
)) {
19323 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_Blit" "', expected argument " "6"" of type '" "wxDC *""'");
19325 arg6
= reinterpret_cast< wxDC
* >(argp6
);
19326 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
19327 if (!SWIG_IsOK(ecode7
)) {
19328 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_Blit" "', expected argument " "7"" of type '" "int""'");
19330 arg7
= static_cast< int >(val7
);
19331 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
19332 if (!SWIG_IsOK(ecode8
)) {
19333 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DC_Blit" "', expected argument " "8"" of type '" "int""'");
19335 arg8
= static_cast< int >(val8
);
19337 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
19338 if (!SWIG_IsOK(ecode9
)) {
19339 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "DC_Blit" "', expected argument " "9"" of type '" "int""'");
19341 arg9
= static_cast< int >(val9
);
19344 ecode10
= SWIG_AsVal_bool(obj9
, &val10
);
19345 if (!SWIG_IsOK(ecode10
)) {
19346 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "DC_Blit" "', expected argument " "10"" of type '" "bool""'");
19348 arg10
= static_cast< bool >(val10
);
19351 ecode11
= SWIG_AsVal_int(obj10
, &val11
);
19352 if (!SWIG_IsOK(ecode11
)) {
19353 SWIG_exception_fail(SWIG_ArgError(ecode11
), "in method '" "DC_Blit" "', expected argument " "11"" of type '" "int""'");
19355 arg11
= static_cast< int >(val11
);
19358 ecode12
= SWIG_AsVal_int(obj11
, &val12
);
19359 if (!SWIG_IsOK(ecode12
)) {
19360 SWIG_exception_fail(SWIG_ArgError(ecode12
), "in method '" "DC_Blit" "', expected argument " "12"" of type '" "int""'");
19362 arg12
= static_cast< int >(val12
);
19365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19366 result
= (bool)(arg1
)->Blit(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
,arg11
,arg12
);
19367 wxPyEndAllowThreads(__tstate
);
19368 if (PyErr_Occurred()) SWIG_fail
;
19371 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19379 SWIGINTERN PyObject
*_wrap_DC_BlitPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19380 PyObject
*resultobj
= 0;
19381 wxDC
*arg1
= (wxDC
*) 0 ;
19382 wxPoint
*arg2
= 0 ;
19384 wxDC
*arg4
= (wxDC
*) 0 ;
19385 wxPoint
*arg5
= 0 ;
19386 int arg6
= (int) wxCOPY
;
19387 bool arg7
= (bool) false ;
19388 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
19389 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
19403 PyObject
* obj0
= 0 ;
19404 PyObject
* obj1
= 0 ;
19405 PyObject
* obj2
= 0 ;
19406 PyObject
* obj3
= 0 ;
19407 PyObject
* obj4
= 0 ;
19408 PyObject
* obj5
= 0 ;
19409 PyObject
* obj6
= 0 ;
19410 PyObject
* obj7
= 0 ;
19411 char * kwnames
[] = {
19412 (char *) "self",(char *) "destPt",(char *) "sz",(char *) "source",(char *) "srcPt",(char *) "rop",(char *) "useMask",(char *) "srcPtMask", NULL
19415 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:DC_BlitPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
19416 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19417 if (!SWIG_IsOK(res1
)) {
19418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_BlitPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19420 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19423 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19427 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19429 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxDC
, 0 | 0 );
19430 if (!SWIG_IsOK(res4
)) {
19431 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DC_BlitPointSize" "', expected argument " "4"" of type '" "wxDC *""'");
19433 arg4
= reinterpret_cast< wxDC
* >(argp4
);
19436 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
19439 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
19440 if (!SWIG_IsOK(ecode6
)) {
19441 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_BlitPointSize" "', expected argument " "6"" of type '" "int""'");
19443 arg6
= static_cast< int >(val6
);
19446 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
19447 if (!SWIG_IsOK(ecode7
)) {
19448 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DC_BlitPointSize" "', expected argument " "7"" of type '" "bool""'");
19450 arg7
= static_cast< bool >(val7
);
19455 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
19459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19460 result
= (bool)(arg1
)->Blit((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
19461 wxPyEndAllowThreads(__tstate
);
19462 if (PyErr_Occurred()) SWIG_fail
;
19465 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19473 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19474 PyObject
*resultobj
= 0;
19475 wxDC
*arg1
= (wxDC
*) 0 ;
19490 PyObject
* obj0
= 0 ;
19491 PyObject
* obj1
= 0 ;
19492 PyObject
* obj2
= 0 ;
19493 PyObject
* obj3
= 0 ;
19494 PyObject
* obj4
= 0 ;
19495 char * kwnames
[] = {
19496 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19499 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC_SetClippingRegion",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19500 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19501 if (!SWIG_IsOK(res1
)) {
19502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
19504 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19505 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19506 if (!SWIG_IsOK(ecode2
)) {
19507 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetClippingRegion" "', expected argument " "2"" of type '" "int""'");
19509 arg2
= static_cast< int >(val2
);
19510 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19511 if (!SWIG_IsOK(ecode3
)) {
19512 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetClippingRegion" "', expected argument " "3"" of type '" "int""'");
19514 arg3
= static_cast< int >(val3
);
19515 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19516 if (!SWIG_IsOK(ecode4
)) {
19517 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_SetClippingRegion" "', expected argument " "4"" of type '" "int""'");
19519 arg4
= static_cast< int >(val4
);
19520 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19521 if (!SWIG_IsOK(ecode5
)) {
19522 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_SetClippingRegion" "', expected argument " "5"" of type '" "int""'");
19524 arg5
= static_cast< int >(val5
);
19526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19527 (arg1
)->SetClippingRegion(arg2
,arg3
,arg4
,arg5
);
19528 wxPyEndAllowThreads(__tstate
);
19529 if (PyErr_Occurred()) SWIG_fail
;
19531 resultobj
= SWIG_Py_Void();
19538 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19539 PyObject
*resultobj
= 0;
19540 wxDC
*arg1
= (wxDC
*) 0 ;
19541 wxPoint
*arg2
= 0 ;
19547 PyObject
* obj0
= 0 ;
19548 PyObject
* obj1
= 0 ;
19549 PyObject
* obj2
= 0 ;
19550 char * kwnames
[] = {
19551 (char *) "self",(char *) "pt",(char *) "sz", NULL
19554 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetClippingRegionPointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19555 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19556 if (!SWIG_IsOK(res1
)) {
19557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionPointSize" "', expected argument " "1"" of type '" "wxDC *""'");
19559 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19562 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19566 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
19569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19570 (arg1
)->SetClippingRegion((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
19571 wxPyEndAllowThreads(__tstate
);
19572 if (PyErr_Occurred()) SWIG_fail
;
19574 resultobj
= SWIG_Py_Void();
19581 SWIGINTERN PyObject
*_wrap_DC_SetClippingRegionAsRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19582 PyObject
*resultobj
= 0;
19583 wxDC
*arg1
= (wxDC
*) 0 ;
19584 wxRegion
*arg2
= 0 ;
19589 PyObject
* obj0
= 0 ;
19590 PyObject
* obj1
= 0 ;
19591 char * kwnames
[] = {
19592 (char *) "self",(char *) "region", NULL
19595 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRegionAsRegion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19596 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19597 if (!SWIG_IsOK(res1
)) {
19598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "1"" of type '" "wxDC *""'");
19600 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19601 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
19602 if (!SWIG_IsOK(res2
)) {
19603 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
19606 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetClippingRegionAsRegion" "', expected argument " "2"" of type '" "wxRegion const &""'");
19608 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
19610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19611 (arg1
)->SetClippingRegion((wxRegion
const &)*arg2
);
19612 wxPyEndAllowThreads(__tstate
);
19613 if (PyErr_Occurred()) SWIG_fail
;
19615 resultobj
= SWIG_Py_Void();
19622 SWIGINTERN PyObject
*_wrap_DC_SetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19623 PyObject
*resultobj
= 0;
19624 wxDC
*arg1
= (wxDC
*) 0 ;
19629 PyObject
* obj0
= 0 ;
19630 PyObject
* obj1
= 0 ;
19631 char * kwnames
[] = {
19632 (char *) "self",(char *) "rect", NULL
19635 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetClippingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19636 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19637 if (!SWIG_IsOK(res1
)) {
19638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
19640 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19643 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19647 (arg1
)->SetClippingRegion((wxRect
const &)*arg2
);
19648 wxPyEndAllowThreads(__tstate
);
19649 if (PyErr_Occurred()) SWIG_fail
;
19651 resultobj
= SWIG_Py_Void();
19658 SWIGINTERN PyObject
*_wrap_DC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19659 PyObject
*resultobj
= 0;
19660 wxDC
*arg1
= (wxDC
*) 0 ;
19662 wxPoint
*arg3
= (wxPoint
*) 0 ;
19663 int arg4
= (int) 0 ;
19664 int arg5
= (int) 0 ;
19671 PyObject
* obj0
= 0 ;
19672 PyObject
* obj1
= 0 ;
19673 PyObject
* obj2
= 0 ;
19674 PyObject
* obj3
= 0 ;
19675 char * kwnames
[] = {
19676 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
19679 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19680 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19681 if (!SWIG_IsOK(res1
)) {
19682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLines" "', expected argument " "1"" of type '" "wxDC *""'");
19684 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19686 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
19687 if (arg3
== NULL
) SWIG_fail
;
19690 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
19691 if (!SWIG_IsOK(ecode4
)) {
19692 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLines" "', expected argument " "4"" of type '" "int""'");
19694 arg4
= static_cast< int >(val4
);
19697 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
19698 if (!SWIG_IsOK(ecode5
)) {
19699 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLines" "', expected argument " "5"" of type '" "int""'");
19701 arg5
= static_cast< int >(val5
);
19704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19705 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
19706 wxPyEndAllowThreads(__tstate
);
19707 if (PyErr_Occurred()) SWIG_fail
;
19709 resultobj
= SWIG_Py_Void();
19711 if (arg3
) delete [] arg3
;
19716 if (arg3
) delete [] arg3
;
19722 SWIGINTERN PyObject
*_wrap_DC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19723 PyObject
*resultobj
= 0;
19724 wxDC
*arg1
= (wxDC
*) 0 ;
19726 wxPoint
*arg3
= (wxPoint
*) 0 ;
19727 int arg4
= (int) 0 ;
19728 int arg5
= (int) 0 ;
19729 int arg6
= (int) wxODDEVEN_RULE
;
19738 PyObject
* obj0
= 0 ;
19739 PyObject
* obj1
= 0 ;
19740 PyObject
* obj2
= 0 ;
19741 PyObject
* obj3
= 0 ;
19742 PyObject
* obj4
= 0 ;
19743 char * kwnames
[] = {
19744 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
19747 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19748 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19749 if (!SWIG_IsOK(res1
)) {
19750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawPolygon" "', expected argument " "1"" of type '" "wxDC *""'");
19752 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19754 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
19755 if (arg3
== NULL
) SWIG_fail
;
19758 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
19759 if (!SWIG_IsOK(ecode4
)) {
19760 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
19762 arg4
= static_cast< int >(val4
);
19765 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
19766 if (!SWIG_IsOK(ecode5
)) {
19767 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
19769 arg5
= static_cast< int >(val5
);
19772 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
19773 if (!SWIG_IsOK(ecode6
)) {
19774 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
19776 arg6
= static_cast< int >(val6
);
19779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19780 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
19781 wxPyEndAllowThreads(__tstate
);
19782 if (PyErr_Occurred()) SWIG_fail
;
19784 resultobj
= SWIG_Py_Void();
19786 if (arg3
) delete [] arg3
;
19791 if (arg3
) delete [] arg3
;
19797 SWIGINTERN PyObject
*_wrap_DC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19798 PyObject
*resultobj
= 0;
19799 wxDC
*arg1
= (wxDC
*) 0 ;
19800 wxString
*arg2
= 0 ;
19802 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
19803 int arg5
= (int) -1 ;
19806 bool temp2
= false ;
19812 PyObject
* obj0
= 0 ;
19813 PyObject
* obj1
= 0 ;
19814 PyObject
* obj2
= 0 ;
19815 PyObject
* obj3
= 0 ;
19816 PyObject
* obj4
= 0 ;
19817 char * kwnames
[] = {
19818 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
19821 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19822 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19823 if (!SWIG_IsOK(res1
)) {
19824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawLabel" "', expected argument " "1"" of type '" "wxDC *""'");
19826 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19828 arg2
= wxString_in_helper(obj1
);
19829 if (arg2
== NULL
) SWIG_fail
;
19834 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
19837 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19838 if (!SWIG_IsOK(ecode4
)) {
19839 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
19841 arg4
= static_cast< int >(val4
);
19844 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19845 if (!SWIG_IsOK(ecode5
)) {
19846 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
19848 arg5
= static_cast< int >(val5
);
19851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19852 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
19853 wxPyEndAllowThreads(__tstate
);
19854 if (PyErr_Occurred()) SWIG_fail
;
19856 resultobj
= SWIG_Py_Void();
19871 SWIGINTERN PyObject
*_wrap_DC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19872 PyObject
*resultobj
= 0;
19873 wxDC
*arg1
= (wxDC
*) 0 ;
19874 wxString
*arg2
= 0 ;
19875 wxBitmap
*arg3
= 0 ;
19877 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
19878 int arg6
= (int) -1 ;
19882 bool temp2
= false ;
19890 PyObject
* obj0
= 0 ;
19891 PyObject
* obj1
= 0 ;
19892 PyObject
* obj2
= 0 ;
19893 PyObject
* obj3
= 0 ;
19894 PyObject
* obj4
= 0 ;
19895 PyObject
* obj5
= 0 ;
19896 char * kwnames
[] = {
19897 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
19900 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:DC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
19901 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19902 if (!SWIG_IsOK(res1
)) {
19903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawImageLabel" "', expected argument " "1"" of type '" "wxDC *""'");
19905 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19907 arg2
= wxString_in_helper(obj1
);
19908 if (arg2
== NULL
) SWIG_fail
;
19911 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
19912 if (!SWIG_IsOK(res3
)) {
19913 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
19916 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
19918 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
19921 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
19924 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19925 if (!SWIG_IsOK(ecode5
)) {
19926 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
19928 arg5
= static_cast< int >(val5
);
19931 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
19932 if (!SWIG_IsOK(ecode6
)) {
19933 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
19935 arg6
= static_cast< int >(val6
);
19938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19939 result
= wxDC_DrawImageLabel(arg1
,(wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
19940 wxPyEndAllowThreads(__tstate
);
19941 if (PyErr_Occurred()) SWIG_fail
;
19943 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
19958 SWIGINTERN PyObject
*_wrap_DC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19959 PyObject
*resultobj
= 0;
19960 wxDC
*arg1
= (wxDC
*) 0 ;
19962 wxPoint
*arg3
= (wxPoint
*) 0 ;
19965 PyObject
* obj0
= 0 ;
19966 PyObject
* obj1
= 0 ;
19967 char * kwnames
[] = {
19968 (char *) "self",(char *) "points", NULL
19971 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19972 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
19973 if (!SWIG_IsOK(res1
)) {
19974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DrawSpline" "', expected argument " "1"" of type '" "wxDC *""'");
19976 arg1
= reinterpret_cast< wxDC
* >(argp1
);
19978 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
19979 if (arg3
== NULL
) SWIG_fail
;
19982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19983 (arg1
)->DrawSpline(arg2
,arg3
);
19984 wxPyEndAllowThreads(__tstate
);
19985 if (PyErr_Occurred()) SWIG_fail
;
19987 resultobj
= SWIG_Py_Void();
19989 if (arg3
) delete [] arg3
;
19994 if (arg3
) delete [] arg3
;
20000 SWIGINTERN PyObject
*_wrap_DC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20001 PyObject
*resultobj
= 0;
20002 wxDC
*arg1
= (wxDC
*) 0 ;
20005 PyObject
*swig_obj
[1] ;
20007 if (!args
) SWIG_fail
;
20008 swig_obj
[0] = args
;
20009 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20010 if (!SWIG_IsOK(res1
)) {
20011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_Clear" "', expected argument " "1"" of type '" "wxDC *""'");
20013 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20017 wxPyEndAllowThreads(__tstate
);
20018 if (PyErr_Occurred()) SWIG_fail
;
20020 resultobj
= SWIG_Py_Void();
20027 SWIGINTERN PyObject
*_wrap_DC_StartDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20028 PyObject
*resultobj
= 0;
20029 wxDC
*arg1
= (wxDC
*) 0 ;
20030 wxString
*arg2
= 0 ;
20034 bool temp2
= false ;
20035 PyObject
* obj0
= 0 ;
20036 PyObject
* obj1
= 0 ;
20037 char * kwnames
[] = {
20038 (char *) "self",(char *) "message", NULL
20041 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_StartDoc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20042 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20043 if (!SWIG_IsOK(res1
)) {
20044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartDoc" "', expected argument " "1"" of type '" "wxDC *""'");
20046 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20048 arg2
= wxString_in_helper(obj1
);
20049 if (arg2
== NULL
) SWIG_fail
;
20053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20054 result
= (bool)(arg1
)->StartDoc((wxString
const &)*arg2
);
20055 wxPyEndAllowThreads(__tstate
);
20056 if (PyErr_Occurred()) SWIG_fail
;
20059 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20075 SWIGINTERN PyObject
*_wrap_DC_EndDoc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20076 PyObject
*resultobj
= 0;
20077 wxDC
*arg1
= (wxDC
*) 0 ;
20080 PyObject
*swig_obj
[1] ;
20082 if (!args
) SWIG_fail
;
20083 swig_obj
[0] = args
;
20084 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20085 if (!SWIG_IsOK(res1
)) {
20086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndDoc" "', expected argument " "1"" of type '" "wxDC *""'");
20088 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20092 wxPyEndAllowThreads(__tstate
);
20093 if (PyErr_Occurred()) SWIG_fail
;
20095 resultobj
= SWIG_Py_Void();
20102 SWIGINTERN PyObject
*_wrap_DC_StartPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20103 PyObject
*resultobj
= 0;
20104 wxDC
*arg1
= (wxDC
*) 0 ;
20107 PyObject
*swig_obj
[1] ;
20109 if (!args
) SWIG_fail
;
20110 swig_obj
[0] = args
;
20111 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20112 if (!SWIG_IsOK(res1
)) {
20113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_StartPage" "', expected argument " "1"" of type '" "wxDC *""'");
20115 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20118 (arg1
)->StartPage();
20119 wxPyEndAllowThreads(__tstate
);
20120 if (PyErr_Occurred()) SWIG_fail
;
20122 resultobj
= SWIG_Py_Void();
20129 SWIGINTERN PyObject
*_wrap_DC_EndPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20130 PyObject
*resultobj
= 0;
20131 wxDC
*arg1
= (wxDC
*) 0 ;
20134 PyObject
*swig_obj
[1] ;
20136 if (!args
) SWIG_fail
;
20137 swig_obj
[0] = args
;
20138 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20139 if (!SWIG_IsOK(res1
)) {
20140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_EndPage" "', expected argument " "1"" of type '" "wxDC *""'");
20142 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20146 wxPyEndAllowThreads(__tstate
);
20147 if (PyErr_Occurred()) SWIG_fail
;
20149 resultobj
= SWIG_Py_Void();
20156 SWIGINTERN PyObject
*_wrap_DC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20157 PyObject
*resultobj
= 0;
20158 wxDC
*arg1
= (wxDC
*) 0 ;
20164 PyObject
* obj0
= 0 ;
20165 PyObject
* obj1
= 0 ;
20166 char * kwnames
[] = {
20167 (char *) "self",(char *) "font", NULL
20170 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20171 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20172 if (!SWIG_IsOK(res1
)) {
20173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetFont" "', expected argument " "1"" of type '" "wxDC *""'");
20175 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20176 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
20177 if (!SWIG_IsOK(res2
)) {
20178 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
20181 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
20183 arg2
= reinterpret_cast< wxFont
* >(argp2
);
20185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20186 (arg1
)->SetFont((wxFont
const &)*arg2
);
20187 wxPyEndAllowThreads(__tstate
);
20188 if (PyErr_Occurred()) SWIG_fail
;
20190 resultobj
= SWIG_Py_Void();
20197 SWIGINTERN PyObject
*_wrap_DC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20198 PyObject
*resultobj
= 0;
20199 wxDC
*arg1
= (wxDC
*) 0 ;
20205 PyObject
* obj0
= 0 ;
20206 PyObject
* obj1
= 0 ;
20207 char * kwnames
[] = {
20208 (char *) "self",(char *) "pen", NULL
20211 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20212 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20213 if (!SWIG_IsOK(res1
)) {
20214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPen" "', expected argument " "1"" of type '" "wxDC *""'");
20216 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20217 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
20218 if (!SWIG_IsOK(res2
)) {
20219 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
20222 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
20224 arg2
= reinterpret_cast< wxPen
* >(argp2
);
20226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20227 (arg1
)->SetPen((wxPen
const &)*arg2
);
20228 wxPyEndAllowThreads(__tstate
);
20229 if (PyErr_Occurred()) SWIG_fail
;
20231 resultobj
= SWIG_Py_Void();
20238 SWIGINTERN PyObject
*_wrap_DC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20239 PyObject
*resultobj
= 0;
20240 wxDC
*arg1
= (wxDC
*) 0 ;
20241 wxBrush
*arg2
= 0 ;
20246 PyObject
* obj0
= 0 ;
20247 PyObject
* obj1
= 0 ;
20248 char * kwnames
[] = {
20249 (char *) "self",(char *) "brush", NULL
20252 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20253 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20254 if (!SWIG_IsOK(res1
)) {
20255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBrush" "', expected argument " "1"" of type '" "wxDC *""'");
20257 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20258 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
20259 if (!SWIG_IsOK(res2
)) {
20260 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
20263 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
20265 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
20267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20268 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
20269 wxPyEndAllowThreads(__tstate
);
20270 if (PyErr_Occurred()) SWIG_fail
;
20272 resultobj
= SWIG_Py_Void();
20279 SWIGINTERN PyObject
*_wrap_DC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20280 PyObject
*resultobj
= 0;
20281 wxDC
*arg1
= (wxDC
*) 0 ;
20282 wxBrush
*arg2
= 0 ;
20287 PyObject
* obj0
= 0 ;
20288 PyObject
* obj1
= 0 ;
20289 char * kwnames
[] = {
20290 (char *) "self",(char *) "brush", NULL
20293 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20294 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20295 if (!SWIG_IsOK(res1
)) {
20296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackground" "', expected argument " "1"" of type '" "wxDC *""'");
20298 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20299 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
20300 if (!SWIG_IsOK(res2
)) {
20301 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
20304 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
20306 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
20308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20309 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
20310 wxPyEndAllowThreads(__tstate
);
20311 if (PyErr_Occurred()) SWIG_fail
;
20313 resultobj
= SWIG_Py_Void();
20320 SWIGINTERN PyObject
*_wrap_DC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20321 PyObject
*resultobj
= 0;
20322 wxDC
*arg1
= (wxDC
*) 0 ;
20328 PyObject
* obj0
= 0 ;
20329 PyObject
* obj1
= 0 ;
20330 char * kwnames
[] = {
20331 (char *) "self",(char *) "mode", NULL
20334 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20335 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20336 if (!SWIG_IsOK(res1
)) {
20337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxDC *""'");
20339 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20340 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20341 if (!SWIG_IsOK(ecode2
)) {
20342 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
20344 arg2
= static_cast< int >(val2
);
20346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20347 (arg1
)->SetBackgroundMode(arg2
);
20348 wxPyEndAllowThreads(__tstate
);
20349 if (PyErr_Occurred()) SWIG_fail
;
20351 resultobj
= SWIG_Py_Void();
20358 SWIGINTERN PyObject
*_wrap_DC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20359 PyObject
*resultobj
= 0;
20360 wxDC
*arg1
= (wxDC
*) 0 ;
20361 wxPalette
*arg2
= 0 ;
20366 PyObject
* obj0
= 0 ;
20367 PyObject
* obj1
= 0 ;
20368 char * kwnames
[] = {
20369 (char *) "self",(char *) "palette", NULL
20372 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20373 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20374 if (!SWIG_IsOK(res1
)) {
20375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetPalette" "', expected argument " "1"" of type '" "wxDC *""'");
20377 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20378 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
20379 if (!SWIG_IsOK(res2
)) {
20380 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
20383 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
20385 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
20387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20388 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
20389 wxPyEndAllowThreads(__tstate
);
20390 if (PyErr_Occurred()) SWIG_fail
;
20392 resultobj
= SWIG_Py_Void();
20399 SWIGINTERN PyObject
*_wrap_DC_DestroyClippingRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20400 PyObject
*resultobj
= 0;
20401 wxDC
*arg1
= (wxDC
*) 0 ;
20404 PyObject
*swig_obj
[1] ;
20406 if (!args
) SWIG_fail
;
20407 swig_obj
[0] = args
;
20408 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20409 if (!SWIG_IsOK(res1
)) {
20410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DestroyClippingRegion" "', expected argument " "1"" of type '" "wxDC *""'");
20412 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20415 (arg1
)->DestroyClippingRegion();
20416 wxPyEndAllowThreads(__tstate
);
20417 if (PyErr_Occurred()) SWIG_fail
;
20419 resultobj
= SWIG_Py_Void();
20426 SWIGINTERN PyObject
*_wrap_DC_GetClippingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20427 PyObject
*resultobj
= 0;
20428 wxDC
*arg1
= (wxDC
*) 0 ;
20429 int *arg2
= (int *) 0 ;
20430 int *arg3
= (int *) 0 ;
20431 int *arg4
= (int *) 0 ;
20432 int *arg5
= (int *) 0 ;
20436 int res2
= SWIG_TMPOBJ
;
20438 int res3
= SWIG_TMPOBJ
;
20440 int res4
= SWIG_TMPOBJ
;
20442 int res5
= SWIG_TMPOBJ
;
20443 PyObject
*swig_obj
[1] ;
20449 if (!args
) SWIG_fail
;
20450 swig_obj
[0] = args
;
20451 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20452 if (!SWIG_IsOK(res1
)) {
20453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingBox" "', expected argument " "1"" of type '" "wxDC const *""'");
20455 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20458 ((wxDC
const *)arg1
)->GetClippingBox(arg2
,arg3
,arg4
,arg5
);
20459 wxPyEndAllowThreads(__tstate
);
20460 if (PyErr_Occurred()) SWIG_fail
;
20462 resultobj
= SWIG_Py_Void();
20463 if (SWIG_IsTmpObj(res2
)) {
20464 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
20466 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20467 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
20469 if (SWIG_IsTmpObj(res3
)) {
20470 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20472 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20473 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20475 if (SWIG_IsTmpObj(res4
)) {
20476 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
20478 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20479 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
20481 if (SWIG_IsTmpObj(res5
)) {
20482 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
20484 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20485 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
20493 SWIGINTERN PyObject
*_wrap_DC_GetClippingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20494 PyObject
*resultobj
= 0;
20495 wxDC
*arg1
= (wxDC
*) 0 ;
20499 PyObject
*swig_obj
[1] ;
20501 if (!args
) SWIG_fail
;
20502 swig_obj
[0] = args
;
20503 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20504 if (!SWIG_IsOK(res1
)) {
20505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetClippingRect" "', expected argument " "1"" of type '" "wxDC *""'");
20507 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20510 result
= wxDC_GetClippingRect(arg1
);
20511 wxPyEndAllowThreads(__tstate
);
20512 if (PyErr_Occurred()) SWIG_fail
;
20514 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
20521 SWIGINTERN PyObject
*_wrap_DC_GetCharHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20522 PyObject
*resultobj
= 0;
20523 wxDC
*arg1
= (wxDC
*) 0 ;
20527 PyObject
*swig_obj
[1] ;
20529 if (!args
) SWIG_fail
;
20530 swig_obj
[0] = args
;
20531 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20532 if (!SWIG_IsOK(res1
)) {
20533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharHeight" "', expected argument " "1"" of type '" "wxDC const *""'");
20535 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20538 result
= (int)((wxDC
const *)arg1
)->GetCharHeight();
20539 wxPyEndAllowThreads(__tstate
);
20540 if (PyErr_Occurred()) SWIG_fail
;
20542 resultobj
= SWIG_From_int(static_cast< int >(result
));
20549 SWIGINTERN PyObject
*_wrap_DC_GetCharWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20550 PyObject
*resultobj
= 0;
20551 wxDC
*arg1
= (wxDC
*) 0 ;
20555 PyObject
*swig_obj
[1] ;
20557 if (!args
) SWIG_fail
;
20558 swig_obj
[0] = args
;
20559 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20560 if (!SWIG_IsOK(res1
)) {
20561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetCharWidth" "', expected argument " "1"" of type '" "wxDC const *""'");
20563 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20566 result
= (int)((wxDC
const *)arg1
)->GetCharWidth();
20567 wxPyEndAllowThreads(__tstate
);
20568 if (PyErr_Occurred()) SWIG_fail
;
20570 resultobj
= SWIG_From_int(static_cast< int >(result
));
20577 SWIGINTERN PyObject
*_wrap_DC_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20578 PyObject
*resultobj
= 0;
20579 wxDC
*arg1
= (wxDC
*) 0 ;
20580 wxString
*arg2
= 0 ;
20581 int *arg3
= (int *) 0 ;
20582 int *arg4
= (int *) 0 ;
20585 bool temp2
= false ;
20587 int res3
= SWIG_TMPOBJ
;
20589 int res4
= SWIG_TMPOBJ
;
20590 PyObject
* obj0
= 0 ;
20591 PyObject
* obj1
= 0 ;
20592 char * kwnames
[] = {
20593 (char *) "self",(char *) "string", NULL
20598 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20599 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20600 if (!SWIG_IsOK(res1
)) {
20601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
20603 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20605 arg2
= wxString_in_helper(obj1
);
20606 if (arg2
== NULL
) SWIG_fail
;
20610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20611 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
20612 wxPyEndAllowThreads(__tstate
);
20613 if (PyErr_Occurred()) SWIG_fail
;
20615 resultobj
= SWIG_Py_Void();
20616 if (SWIG_IsTmpObj(res3
)) {
20617 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20619 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20620 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20622 if (SWIG_IsTmpObj(res4
)) {
20623 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
20625 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20626 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
20642 SWIGINTERN PyObject
*_wrap_DC_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20643 PyObject
*resultobj
= 0;
20644 wxDC
*arg1
= (wxDC
*) 0 ;
20645 wxString
*arg2
= 0 ;
20646 int *arg3
= (int *) 0 ;
20647 int *arg4
= (int *) 0 ;
20648 int *arg5
= (int *) 0 ;
20649 int *arg6
= (int *) 0 ;
20650 wxFont
*arg7
= (wxFont
*) NULL
;
20653 bool temp2
= false ;
20655 int res3
= SWIG_TMPOBJ
;
20657 int res4
= SWIG_TMPOBJ
;
20659 int res5
= SWIG_TMPOBJ
;
20661 int res6
= SWIG_TMPOBJ
;
20664 PyObject
* obj0
= 0 ;
20665 PyObject
* obj1
= 0 ;
20666 PyObject
* obj2
= 0 ;
20667 char * kwnames
[] = {
20668 (char *) "self",(char *) "string",(char *) "font", NULL
20675 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20676 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20677 if (!SWIG_IsOK(res1
)) {
20678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFullTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
20680 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20682 arg2
= wxString_in_helper(obj1
);
20683 if (arg2
== NULL
) SWIG_fail
;
20687 res7
= SWIG_ConvertPtr(obj2
, &argp7
,SWIGTYPE_p_wxFont
, 0 | 0 );
20688 if (!SWIG_IsOK(res7
)) {
20689 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "DC_GetFullTextExtent" "', expected argument " "7"" of type '" "wxFont *""'");
20691 arg7
= reinterpret_cast< wxFont
* >(argp7
);
20694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20695 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
20696 wxPyEndAllowThreads(__tstate
);
20697 if (PyErr_Occurred()) SWIG_fail
;
20699 resultobj
= SWIG_Py_Void();
20700 if (SWIG_IsTmpObj(res3
)) {
20701 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20703 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20704 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20706 if (SWIG_IsTmpObj(res4
)) {
20707 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
20709 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20710 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
20712 if (SWIG_IsTmpObj(res5
)) {
20713 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
20715 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20716 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
20718 if (SWIG_IsTmpObj(res6
)) {
20719 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg6
)));
20721 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20722 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, new_flags
));
20738 SWIGINTERN PyObject
*_wrap_DC_GetMultiLineTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20739 PyObject
*resultobj
= 0;
20740 wxDC
*arg1
= (wxDC
*) 0 ;
20741 wxString
*arg2
= 0 ;
20742 int *arg3
= (int *) 0 ;
20743 int *arg4
= (int *) 0 ;
20744 int *arg5
= (int *) 0 ;
20745 wxFont
*arg6
= (wxFont
*) NULL
;
20748 bool temp2
= false ;
20750 int res3
= SWIG_TMPOBJ
;
20752 int res4
= SWIG_TMPOBJ
;
20754 int res5
= SWIG_TMPOBJ
;
20757 PyObject
* obj0
= 0 ;
20758 PyObject
* obj1
= 0 ;
20759 PyObject
* obj2
= 0 ;
20760 char * kwnames
[] = {
20761 (char *) "self",(char *) "text",(char *) "font", NULL
20767 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DC_GetMultiLineTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20768 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20769 if (!SWIG_IsOK(res1
)) {
20770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "1"" of type '" "wxDC *""'");
20772 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20774 arg2
= wxString_in_helper(obj1
);
20775 if (arg2
== NULL
) SWIG_fail
;
20779 res6
= SWIG_ConvertPtr(obj2
, &argp6
,SWIGTYPE_p_wxFont
, 0 | 0 );
20780 if (!SWIG_IsOK(res6
)) {
20781 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "DC_GetMultiLineTextExtent" "', expected argument " "6"" of type '" "wxFont *""'");
20783 arg6
= reinterpret_cast< wxFont
* >(argp6
);
20786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20787 (arg1
)->GetMultiLineTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
20788 wxPyEndAllowThreads(__tstate
);
20789 if (PyErr_Occurred()) SWIG_fail
;
20791 resultobj
= SWIG_Py_Void();
20792 if (SWIG_IsTmpObj(res3
)) {
20793 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20795 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20796 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20798 if (SWIG_IsTmpObj(res4
)) {
20799 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
20801 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20802 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
20804 if (SWIG_IsTmpObj(res5
)) {
20805 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
20807 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20808 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
20824 SWIGINTERN PyObject
*_wrap_DC_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20825 PyObject
*resultobj
= 0;
20826 wxDC
*arg1
= (wxDC
*) 0 ;
20827 wxString
*arg2
= 0 ;
20831 bool temp2
= false ;
20832 PyObject
* obj0
= 0 ;
20833 PyObject
* obj1
= 0 ;
20834 char * kwnames
[] = {
20835 (char *) "self",(char *) "text", NULL
20838 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20839 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20840 if (!SWIG_IsOK(res1
)) {
20841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxDC *""'");
20843 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20845 arg2
= wxString_in_helper(obj1
);
20846 if (arg2
== NULL
) SWIG_fail
;
20850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20851 result
= wxDC_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
20852 wxPyEndAllowThreads(__tstate
);
20853 if (PyErr_Occurred()) SWIG_fail
;
20856 resultobj
= wxArrayInt2PyList_helper(result
);
20872 SWIGINTERN PyObject
*_wrap_DC_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20873 PyObject
*resultobj
= 0;
20874 wxDC
*arg1
= (wxDC
*) 0 ;
20878 PyObject
*swig_obj
[1] ;
20880 if (!args
) SWIG_fail
;
20881 swig_obj
[0] = args
;
20882 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20883 if (!SWIG_IsOK(res1
)) {
20884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSize" "', expected argument " "1"" of type '" "wxDC *""'");
20886 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20889 result
= (arg1
)->GetSize();
20890 wxPyEndAllowThreads(__tstate
);
20891 if (PyErr_Occurred()) SWIG_fail
;
20893 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
20900 SWIGINTERN PyObject
*_wrap_DC_GetSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20901 PyObject
*resultobj
= 0;
20902 wxDC
*arg1
= (wxDC
*) 0 ;
20903 int *arg2
= (int *) 0 ;
20904 int *arg3
= (int *) 0 ;
20908 int res2
= SWIG_TMPOBJ
;
20910 int res3
= SWIG_TMPOBJ
;
20911 PyObject
*swig_obj
[1] ;
20915 if (!args
) SWIG_fail
;
20916 swig_obj
[0] = args
;
20917 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20918 if (!SWIG_IsOK(res1
)) {
20919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeTuple" "', expected argument " "1"" of type '" "wxDC *""'");
20921 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20924 (arg1
)->GetSize(arg2
,arg3
);
20925 wxPyEndAllowThreads(__tstate
);
20926 if (PyErr_Occurred()) SWIG_fail
;
20928 resultobj
= SWIG_Py_Void();
20929 if (SWIG_IsTmpObj(res2
)) {
20930 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
20932 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20933 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
20935 if (SWIG_IsTmpObj(res3
)) {
20936 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
20938 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20939 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
20947 SWIGINTERN PyObject
*_wrap_DC_GetSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20948 PyObject
*resultobj
= 0;
20949 wxDC
*arg1
= (wxDC
*) 0 ;
20953 PyObject
*swig_obj
[1] ;
20955 if (!args
) SWIG_fail
;
20956 swig_obj
[0] = args
;
20957 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20958 if (!SWIG_IsOK(res1
)) {
20959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMM" "', expected argument " "1"" of type '" "wxDC const *""'");
20961 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20964 result
= ((wxDC
const *)arg1
)->GetSizeMM();
20965 wxPyEndAllowThreads(__tstate
);
20966 if (PyErr_Occurred()) SWIG_fail
;
20968 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
20975 SWIGINTERN PyObject
*_wrap_DC_GetSizeMMTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20976 PyObject
*resultobj
= 0;
20977 wxDC
*arg1
= (wxDC
*) 0 ;
20978 int *arg2
= (int *) 0 ;
20979 int *arg3
= (int *) 0 ;
20983 int res2
= SWIG_TMPOBJ
;
20985 int res3
= SWIG_TMPOBJ
;
20986 PyObject
*swig_obj
[1] ;
20990 if (!args
) SWIG_fail
;
20991 swig_obj
[0] = args
;
20992 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
20993 if (!SWIG_IsOK(res1
)) {
20994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetSizeMMTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
20996 arg1
= reinterpret_cast< wxDC
* >(argp1
);
20998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20999 ((wxDC
const *)arg1
)->GetSizeMM(arg2
,arg3
);
21000 wxPyEndAllowThreads(__tstate
);
21001 if (PyErr_Occurred()) SWIG_fail
;
21003 resultobj
= SWIG_Py_Void();
21004 if (SWIG_IsTmpObj(res2
)) {
21005 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21007 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21008 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21010 if (SWIG_IsTmpObj(res3
)) {
21011 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21013 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21014 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21022 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21023 PyObject
*resultobj
= 0;
21024 wxDC
*arg1
= (wxDC
*) 0 ;
21031 PyObject
* obj0
= 0 ;
21032 PyObject
* obj1
= 0 ;
21033 char * kwnames
[] = {
21034 (char *) "self",(char *) "x", NULL
21037 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21038 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21039 if (!SWIG_IsOK(res1
)) {
21040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "1"" of type '" "wxDC const *""'");
21042 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21043 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21044 if (!SWIG_IsOK(ecode2
)) {
21045 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalX" "', expected argument " "2"" of type '" "int""'");
21047 arg2
= static_cast< int >(val2
);
21049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21050 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalX(arg2
);
21051 wxPyEndAllowThreads(__tstate
);
21052 if (PyErr_Occurred()) SWIG_fail
;
21054 resultobj
= SWIG_From_int(static_cast< int >(result
));
21061 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21062 PyObject
*resultobj
= 0;
21063 wxDC
*arg1
= (wxDC
*) 0 ;
21070 PyObject
* obj0
= 0 ;
21071 PyObject
* obj1
= 0 ;
21072 char * kwnames
[] = {
21073 (char *) "self",(char *) "y", NULL
21076 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21077 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21078 if (!SWIG_IsOK(res1
)) {
21079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "1"" of type '" "wxDC const *""'");
21081 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21082 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21083 if (!SWIG_IsOK(ecode2
)) {
21084 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalY" "', expected argument " "2"" of type '" "int""'");
21086 arg2
= static_cast< int >(val2
);
21088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21089 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalY(arg2
);
21090 wxPyEndAllowThreads(__tstate
);
21091 if (PyErr_Occurred()) SWIG_fail
;
21093 resultobj
= SWIG_From_int(static_cast< int >(result
));
21100 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21101 PyObject
*resultobj
= 0;
21102 wxDC
*arg1
= (wxDC
*) 0 ;
21109 PyObject
* obj0
= 0 ;
21110 PyObject
* obj1
= 0 ;
21111 char * kwnames
[] = {
21112 (char *) "self",(char *) "x", NULL
21115 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21116 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21117 if (!SWIG_IsOK(res1
)) {
21118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21120 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21121 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21122 if (!SWIG_IsOK(ecode2
)) {
21123 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalXRel" "', expected argument " "2"" of type '" "int""'");
21125 arg2
= static_cast< int >(val2
);
21127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21128 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalXRel(arg2
);
21129 wxPyEndAllowThreads(__tstate
);
21130 if (PyErr_Occurred()) SWIG_fail
;
21132 resultobj
= SWIG_From_int(static_cast< int >(result
));
21139 SWIGINTERN PyObject
*_wrap_DC_DeviceToLogicalYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21140 PyObject
*resultobj
= 0;
21141 wxDC
*arg1
= (wxDC
*) 0 ;
21148 PyObject
* obj0
= 0 ;
21149 PyObject
* obj1
= 0 ;
21150 char * kwnames
[] = {
21151 (char *) "self",(char *) "y", NULL
21154 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_DeviceToLogicalYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21155 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21156 if (!SWIG_IsOK(res1
)) {
21157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21159 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21160 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21161 if (!SWIG_IsOK(ecode2
)) {
21162 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_DeviceToLogicalYRel" "', expected argument " "2"" of type '" "int""'");
21164 arg2
= static_cast< int >(val2
);
21166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21167 result
= (int)((wxDC
const *)arg1
)->DeviceToLogicalYRel(arg2
);
21168 wxPyEndAllowThreads(__tstate
);
21169 if (PyErr_Occurred()) SWIG_fail
;
21171 resultobj
= SWIG_From_int(static_cast< int >(result
));
21178 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21179 PyObject
*resultobj
= 0;
21180 wxDC
*arg1
= (wxDC
*) 0 ;
21187 PyObject
* obj0
= 0 ;
21188 PyObject
* obj1
= 0 ;
21189 char * kwnames
[] = {
21190 (char *) "self",(char *) "x", NULL
21193 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21194 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21195 if (!SWIG_IsOK(res1
)) {
21196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "1"" of type '" "wxDC const *""'");
21198 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21199 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21200 if (!SWIG_IsOK(ecode2
)) {
21201 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceX" "', expected argument " "2"" of type '" "int""'");
21203 arg2
= static_cast< int >(val2
);
21205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21206 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceX(arg2
);
21207 wxPyEndAllowThreads(__tstate
);
21208 if (PyErr_Occurred()) SWIG_fail
;
21210 resultobj
= SWIG_From_int(static_cast< int >(result
));
21217 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21218 PyObject
*resultobj
= 0;
21219 wxDC
*arg1
= (wxDC
*) 0 ;
21226 PyObject
* obj0
= 0 ;
21227 PyObject
* obj1
= 0 ;
21228 char * kwnames
[] = {
21229 (char *) "self",(char *) "y", NULL
21232 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21233 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21234 if (!SWIG_IsOK(res1
)) {
21235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "1"" of type '" "wxDC const *""'");
21237 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21238 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21239 if (!SWIG_IsOK(ecode2
)) {
21240 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceY" "', expected argument " "2"" of type '" "int""'");
21242 arg2
= static_cast< int >(val2
);
21244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21245 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceY(arg2
);
21246 wxPyEndAllowThreads(__tstate
);
21247 if (PyErr_Occurred()) SWIG_fail
;
21249 resultobj
= SWIG_From_int(static_cast< int >(result
));
21256 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceXRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21257 PyObject
*resultobj
= 0;
21258 wxDC
*arg1
= (wxDC
*) 0 ;
21265 PyObject
* obj0
= 0 ;
21266 PyObject
* obj1
= 0 ;
21267 char * kwnames
[] = {
21268 (char *) "self",(char *) "x", NULL
21271 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceXRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21272 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21273 if (!SWIG_IsOK(res1
)) {
21274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21276 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21277 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21278 if (!SWIG_IsOK(ecode2
)) {
21279 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceXRel" "', expected argument " "2"" of type '" "int""'");
21281 arg2
= static_cast< int >(val2
);
21283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21284 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceXRel(arg2
);
21285 wxPyEndAllowThreads(__tstate
);
21286 if (PyErr_Occurred()) SWIG_fail
;
21288 resultobj
= SWIG_From_int(static_cast< int >(result
));
21295 SWIGINTERN PyObject
*_wrap_DC_LogicalToDeviceYRel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21296 PyObject
*resultobj
= 0;
21297 wxDC
*arg1
= (wxDC
*) 0 ;
21304 PyObject
* obj0
= 0 ;
21305 PyObject
* obj1
= 0 ;
21306 char * kwnames
[] = {
21307 (char *) "self",(char *) "y", NULL
21310 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_LogicalToDeviceYRel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21311 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21312 if (!SWIG_IsOK(res1
)) {
21313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "1"" of type '" "wxDC const *""'");
21315 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21316 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21317 if (!SWIG_IsOK(ecode2
)) {
21318 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_LogicalToDeviceYRel" "', expected argument " "2"" of type '" "int""'");
21320 arg2
= static_cast< int >(val2
);
21322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21323 result
= (int)((wxDC
const *)arg1
)->LogicalToDeviceYRel(arg2
);
21324 wxPyEndAllowThreads(__tstate
);
21325 if (PyErr_Occurred()) SWIG_fail
;
21327 resultobj
= SWIG_From_int(static_cast< int >(result
));
21334 SWIGINTERN PyObject
*_wrap_DC_CanDrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21335 PyObject
*resultobj
= 0;
21336 wxDC
*arg1
= (wxDC
*) 0 ;
21340 PyObject
*swig_obj
[1] ;
21342 if (!args
) SWIG_fail
;
21343 swig_obj
[0] = args
;
21344 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21345 if (!SWIG_IsOK(res1
)) {
21346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanDrawBitmap" "', expected argument " "1"" of type '" "wxDC const *""'");
21348 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21351 result
= (bool)((wxDC
const *)arg1
)->CanDrawBitmap();
21352 wxPyEndAllowThreads(__tstate
);
21353 if (PyErr_Occurred()) SWIG_fail
;
21356 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21364 SWIGINTERN PyObject
*_wrap_DC_CanGetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21365 PyObject
*resultobj
= 0;
21366 wxDC
*arg1
= (wxDC
*) 0 ;
21370 PyObject
*swig_obj
[1] ;
21372 if (!args
) SWIG_fail
;
21373 swig_obj
[0] = args
;
21374 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21375 if (!SWIG_IsOK(res1
)) {
21376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CanGetTextExtent" "', expected argument " "1"" of type '" "wxDC const *""'");
21378 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21381 result
= (bool)((wxDC
const *)arg1
)->CanGetTextExtent();
21382 wxPyEndAllowThreads(__tstate
);
21383 if (PyErr_Occurred()) SWIG_fail
;
21386 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21394 SWIGINTERN PyObject
*_wrap_DC_GetDepth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21395 PyObject
*resultobj
= 0;
21396 wxDC
*arg1
= (wxDC
*) 0 ;
21400 PyObject
*swig_obj
[1] ;
21402 if (!args
) SWIG_fail
;
21403 swig_obj
[0] = args
;
21404 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21405 if (!SWIG_IsOK(res1
)) {
21406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDepth" "', expected argument " "1"" of type '" "wxDC const *""'");
21408 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21411 result
= (int)((wxDC
const *)arg1
)->GetDepth();
21412 wxPyEndAllowThreads(__tstate
);
21413 if (PyErr_Occurred()) SWIG_fail
;
21415 resultobj
= SWIG_From_int(static_cast< int >(result
));
21422 SWIGINTERN PyObject
*_wrap_DC_GetPPI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21423 PyObject
*resultobj
= 0;
21424 wxDC
*arg1
= (wxDC
*) 0 ;
21428 PyObject
*swig_obj
[1] ;
21430 if (!args
) SWIG_fail
;
21431 swig_obj
[0] = args
;
21432 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21433 if (!SWIG_IsOK(res1
)) {
21434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPPI" "', expected argument " "1"" of type '" "wxDC const *""'");
21436 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21439 result
= ((wxDC
const *)arg1
)->GetPPI();
21440 wxPyEndAllowThreads(__tstate
);
21441 if (PyErr_Occurred()) SWIG_fail
;
21443 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21450 SWIGINTERN PyObject
*_wrap_DC_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21451 PyObject
*resultobj
= 0;
21452 wxDC
*arg1
= (wxDC
*) 0 ;
21456 PyObject
*swig_obj
[1] ;
21458 if (!args
) SWIG_fail
;
21459 swig_obj
[0] = args
;
21460 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21461 if (!SWIG_IsOK(res1
)) {
21462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_IsOk" "', expected argument " "1"" of type '" "wxDC const *""'");
21464 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21467 result
= (bool)((wxDC
const *)arg1
)->IsOk();
21468 wxPyEndAllowThreads(__tstate
);
21469 if (PyErr_Occurred()) SWIG_fail
;
21472 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21480 SWIGINTERN PyObject
*_wrap_DC_GetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21481 PyObject
*resultobj
= 0;
21482 wxDC
*arg1
= (wxDC
*) 0 ;
21486 PyObject
*swig_obj
[1] ;
21488 if (!args
) SWIG_fail
;
21489 swig_obj
[0] = args
;
21490 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21491 if (!SWIG_IsOK(res1
)) {
21492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackgroundMode" "', expected argument " "1"" of type '" "wxDC const *""'");
21494 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21497 result
= (int)((wxDC
const *)arg1
)->GetBackgroundMode();
21498 wxPyEndAllowThreads(__tstate
);
21499 if (PyErr_Occurred()) SWIG_fail
;
21501 resultobj
= SWIG_From_int(static_cast< int >(result
));
21508 SWIGINTERN PyObject
*_wrap_DC_GetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21509 PyObject
*resultobj
= 0;
21510 wxDC
*arg1
= (wxDC
*) 0 ;
21511 wxBrush
*result
= 0 ;
21514 PyObject
*swig_obj
[1] ;
21516 if (!args
) SWIG_fail
;
21517 swig_obj
[0] = args
;
21518 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21519 if (!SWIG_IsOK(res1
)) {
21520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
21522 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21526 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBackground();
21527 result
= (wxBrush
*) &_result_ref
;
21529 wxPyEndAllowThreads(__tstate
);
21530 if (PyErr_Occurred()) SWIG_fail
;
21533 wxBrush
* resultptr
= new wxBrush(*result
);
21534 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
21542 SWIGINTERN PyObject
*_wrap_DC_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21543 PyObject
*resultobj
= 0;
21544 wxDC
*arg1
= (wxDC
*) 0 ;
21545 wxBrush
*result
= 0 ;
21548 PyObject
*swig_obj
[1] ;
21550 if (!args
) SWIG_fail
;
21551 swig_obj
[0] = args
;
21552 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21553 if (!SWIG_IsOK(res1
)) {
21554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBrush" "', expected argument " "1"" of type '" "wxDC const *""'");
21556 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21560 wxBrush
const &_result_ref
= ((wxDC
const *)arg1
)->GetBrush();
21561 result
= (wxBrush
*) &_result_ref
;
21563 wxPyEndAllowThreads(__tstate
);
21564 if (PyErr_Occurred()) SWIG_fail
;
21567 wxBrush
* resultptr
= new wxBrush(*result
);
21568 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBrush
, 1);
21576 SWIGINTERN PyObject
*_wrap_DC_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21577 PyObject
*resultobj
= 0;
21578 wxDC
*arg1
= (wxDC
*) 0 ;
21579 wxFont
*result
= 0 ;
21582 PyObject
*swig_obj
[1] ;
21584 if (!args
) SWIG_fail
;
21585 swig_obj
[0] = args
;
21586 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21587 if (!SWIG_IsOK(res1
)) {
21588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetFont" "', expected argument " "1"" of type '" "wxDC const *""'");
21590 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21594 wxFont
const &_result_ref
= ((wxDC
const *)arg1
)->GetFont();
21595 result
= (wxFont
*) &_result_ref
;
21597 wxPyEndAllowThreads(__tstate
);
21598 if (PyErr_Occurred()) SWIG_fail
;
21601 wxFont
* resultptr
= new wxFont(*result
);
21602 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
21610 SWIGINTERN PyObject
*_wrap_DC_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21611 PyObject
*resultobj
= 0;
21612 wxDC
*arg1
= (wxDC
*) 0 ;
21613 wxPen
*result
= 0 ;
21616 PyObject
*swig_obj
[1] ;
21618 if (!args
) SWIG_fail
;
21619 swig_obj
[0] = args
;
21620 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21621 if (!SWIG_IsOK(res1
)) {
21622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetPen" "', expected argument " "1"" of type '" "wxDC const *""'");
21624 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21628 wxPen
const &_result_ref
= ((wxDC
const *)arg1
)->GetPen();
21629 result
= (wxPen
*) &_result_ref
;
21631 wxPyEndAllowThreads(__tstate
);
21632 if (PyErr_Occurred()) SWIG_fail
;
21635 wxPen
* resultptr
= new wxPen(*result
);
21636 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxPen
, 1);
21644 SWIGINTERN PyObject
*_wrap_DC_GetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21645 PyObject
*resultobj
= 0;
21646 wxDC
*arg1
= (wxDC
*) 0 ;
21647 wxColour
*result
= 0 ;
21650 PyObject
*swig_obj
[1] ;
21652 if (!args
) SWIG_fail
;
21653 swig_obj
[0] = args
;
21654 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21655 if (!SWIG_IsOK(res1
)) {
21656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextBackground" "', expected argument " "1"" of type '" "wxDC const *""'");
21658 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21662 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextBackground();
21663 result
= (wxColour
*) &_result_ref
;
21665 wxPyEndAllowThreads(__tstate
);
21666 if (PyErr_Occurred()) SWIG_fail
;
21668 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
21675 SWIGINTERN PyObject
*_wrap_DC_GetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21676 PyObject
*resultobj
= 0;
21677 wxDC
*arg1
= (wxDC
*) 0 ;
21678 wxColour
*result
= 0 ;
21681 PyObject
*swig_obj
[1] ;
21683 if (!args
) SWIG_fail
;
21684 swig_obj
[0] = args
;
21685 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21686 if (!SWIG_IsOK(res1
)) {
21687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetTextForeground" "', expected argument " "1"" of type '" "wxDC const *""'");
21689 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21693 wxColour
const &_result_ref
= ((wxDC
const *)arg1
)->GetTextForeground();
21694 result
= (wxColour
*) &_result_ref
;
21696 wxPyEndAllowThreads(__tstate
);
21697 if (PyErr_Occurred()) SWIG_fail
;
21699 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
21706 SWIGINTERN PyObject
*_wrap_DC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21707 PyObject
*resultobj
= 0;
21708 wxDC
*arg1
= (wxDC
*) 0 ;
21709 wxColour
*arg2
= 0 ;
21713 PyObject
* obj0
= 0 ;
21714 PyObject
* obj1
= 0 ;
21715 char * kwnames
[] = {
21716 (char *) "self",(char *) "colour", NULL
21719 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21720 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21721 if (!SWIG_IsOK(res1
)) {
21722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextForeground" "', expected argument " "1"" of type '" "wxDC *""'");
21724 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21727 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21731 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
21732 wxPyEndAllowThreads(__tstate
);
21733 if (PyErr_Occurred()) SWIG_fail
;
21735 resultobj
= SWIG_Py_Void();
21742 SWIGINTERN PyObject
*_wrap_DC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21743 PyObject
*resultobj
= 0;
21744 wxDC
*arg1
= (wxDC
*) 0 ;
21745 wxColour
*arg2
= 0 ;
21749 PyObject
* obj0
= 0 ;
21750 PyObject
* obj1
= 0 ;
21751 char * kwnames
[] = {
21752 (char *) "self",(char *) "colour", NULL
21755 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21756 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21757 if (!SWIG_IsOK(res1
)) {
21758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetTextBackground" "', expected argument " "1"" of type '" "wxDC *""'");
21760 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21763 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21767 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
21768 wxPyEndAllowThreads(__tstate
);
21769 if (PyErr_Occurred()) SWIG_fail
;
21771 resultobj
= SWIG_Py_Void();
21778 SWIGINTERN PyObject
*_wrap_DC_GetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21779 PyObject
*resultobj
= 0;
21780 wxDC
*arg1
= (wxDC
*) 0 ;
21784 PyObject
*swig_obj
[1] ;
21786 if (!args
) SWIG_fail
;
21787 swig_obj
[0] = args
;
21788 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21789 if (!SWIG_IsOK(res1
)) {
21790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetMapMode" "', expected argument " "1"" of type '" "wxDC const *""'");
21792 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21795 result
= (int)((wxDC
const *)arg1
)->GetMapMode();
21796 wxPyEndAllowThreads(__tstate
);
21797 if (PyErr_Occurred()) SWIG_fail
;
21799 resultobj
= SWIG_From_int(static_cast< int >(result
));
21806 SWIGINTERN PyObject
*_wrap_DC_SetMapMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21807 PyObject
*resultobj
= 0;
21808 wxDC
*arg1
= (wxDC
*) 0 ;
21814 PyObject
* obj0
= 0 ;
21815 PyObject
* obj1
= 0 ;
21816 char * kwnames
[] = {
21817 (char *) "self",(char *) "mode", NULL
21820 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetMapMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21821 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21822 if (!SWIG_IsOK(res1
)) {
21823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetMapMode" "', expected argument " "1"" of type '" "wxDC *""'");
21825 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21826 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21827 if (!SWIG_IsOK(ecode2
)) {
21828 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetMapMode" "', expected argument " "2"" of type '" "int""'");
21830 arg2
= static_cast< int >(val2
);
21832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21833 (arg1
)->SetMapMode(arg2
);
21834 wxPyEndAllowThreads(__tstate
);
21835 if (PyErr_Occurred()) SWIG_fail
;
21837 resultobj
= SWIG_Py_Void();
21844 SWIGINTERN PyObject
*_wrap_DC_GetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21845 PyObject
*resultobj
= 0;
21846 wxDC
*arg1
= (wxDC
*) 0 ;
21847 double *arg2
= (double *) 0 ;
21848 double *arg3
= (double *) 0 ;
21852 int res2
= SWIG_TMPOBJ
;
21854 int res3
= SWIG_TMPOBJ
;
21855 PyObject
*swig_obj
[1] ;
21859 if (!args
) SWIG_fail
;
21860 swig_obj
[0] = args
;
21861 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21862 if (!SWIG_IsOK(res1
)) {
21863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetUserScale" "', expected argument " "1"" of type '" "wxDC const *""'");
21865 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21868 ((wxDC
const *)arg1
)->GetUserScale(arg2
,arg3
);
21869 wxPyEndAllowThreads(__tstate
);
21870 if (PyErr_Occurred()) SWIG_fail
;
21872 resultobj
= SWIG_Py_Void();
21873 if (SWIG_IsTmpObj(res2
)) {
21874 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
21876 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21877 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
21879 if (SWIG_IsTmpObj(res3
)) {
21880 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
21882 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21883 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
21891 SWIGINTERN PyObject
*_wrap_DC_SetUserScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21892 PyObject
*resultobj
= 0;
21893 wxDC
*arg1
= (wxDC
*) 0 ;
21902 PyObject
* obj0
= 0 ;
21903 PyObject
* obj1
= 0 ;
21904 PyObject
* obj2
= 0 ;
21905 char * kwnames
[] = {
21906 (char *) "self",(char *) "x",(char *) "y", NULL
21909 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetUserScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21910 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21911 if (!SWIG_IsOK(res1
)) {
21912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetUserScale" "', expected argument " "1"" of type '" "wxDC *""'");
21914 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21915 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
21916 if (!SWIG_IsOK(ecode2
)) {
21917 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetUserScale" "', expected argument " "2"" of type '" "double""'");
21919 arg2
= static_cast< double >(val2
);
21920 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
21921 if (!SWIG_IsOK(ecode3
)) {
21922 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetUserScale" "', expected argument " "3"" of type '" "double""'");
21924 arg3
= static_cast< double >(val3
);
21926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21927 (arg1
)->SetUserScale(arg2
,arg3
);
21928 wxPyEndAllowThreads(__tstate
);
21929 if (PyErr_Occurred()) SWIG_fail
;
21931 resultobj
= SWIG_Py_Void();
21938 SWIGINTERN PyObject
*_wrap_DC_GetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21939 PyObject
*resultobj
= 0;
21940 wxDC
*arg1
= (wxDC
*) 0 ;
21941 double *arg2
= (double *) 0 ;
21942 double *arg3
= (double *) 0 ;
21946 int res2
= SWIG_TMPOBJ
;
21948 int res3
= SWIG_TMPOBJ
;
21949 PyObject
*swig_obj
[1] ;
21953 if (!args
) SWIG_fail
;
21954 swig_obj
[0] = args
;
21955 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
21956 if (!SWIG_IsOK(res1
)) {
21957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
21959 arg1
= reinterpret_cast< wxDC
* >(argp1
);
21961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21962 (arg1
)->GetLogicalScale(arg2
,arg3
);
21963 wxPyEndAllowThreads(__tstate
);
21964 if (PyErr_Occurred()) SWIG_fail
;
21966 resultobj
= SWIG_Py_Void();
21967 if (SWIG_IsTmpObj(res2
)) {
21968 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg2
)));
21970 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21971 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_double
, new_flags
));
21973 if (SWIG_IsTmpObj(res3
)) {
21974 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
21976 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21977 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
21985 SWIGINTERN PyObject
*_wrap_DC_SetLogicalScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21986 PyObject
*resultobj
= 0;
21987 wxDC
*arg1
= (wxDC
*) 0 ;
21996 PyObject
* obj0
= 0 ;
21997 PyObject
* obj1
= 0 ;
21998 PyObject
* obj2
= 0 ;
21999 char * kwnames
[] = {
22000 (char *) "self",(char *) "x",(char *) "y", NULL
22003 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22004 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22005 if (!SWIG_IsOK(res1
)) {
22006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalScale" "', expected argument " "1"" of type '" "wxDC *""'");
22008 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22009 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
22010 if (!SWIG_IsOK(ecode2
)) {
22011 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalScale" "', expected argument " "2"" of type '" "double""'");
22013 arg2
= static_cast< double >(val2
);
22014 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
22015 if (!SWIG_IsOK(ecode3
)) {
22016 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalScale" "', expected argument " "3"" of type '" "double""'");
22018 arg3
= static_cast< double >(val3
);
22020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22021 (arg1
)->SetLogicalScale(arg2
,arg3
);
22022 wxPyEndAllowThreads(__tstate
);
22023 if (PyErr_Occurred()) SWIG_fail
;
22025 resultobj
= SWIG_Py_Void();
22032 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22033 PyObject
*resultobj
= 0;
22034 wxDC
*arg1
= (wxDC
*) 0 ;
22038 PyObject
*swig_obj
[1] ;
22040 if (!args
) SWIG_fail
;
22041 swig_obj
[0] = args
;
22042 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22043 if (!SWIG_IsOK(res1
)) {
22044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
22046 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22049 result
= ((wxDC
const *)arg1
)->GetLogicalOrigin();
22050 wxPyEndAllowThreads(__tstate
);
22051 if (PyErr_Occurred()) SWIG_fail
;
22053 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
22060 SWIGINTERN PyObject
*_wrap_DC_GetLogicalOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22061 PyObject
*resultobj
= 0;
22062 wxDC
*arg1
= (wxDC
*) 0 ;
22063 int *arg2
= (int *) 0 ;
22064 int *arg3
= (int *) 0 ;
22068 int res2
= SWIG_TMPOBJ
;
22070 int res3
= SWIG_TMPOBJ
;
22071 PyObject
*swig_obj
[1] ;
22075 if (!args
) SWIG_fail
;
22076 swig_obj
[0] = args
;
22077 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22078 if (!SWIG_IsOK(res1
)) {
22079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
22081 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22084 ((wxDC
const *)arg1
)->GetLogicalOrigin(arg2
,arg3
);
22085 wxPyEndAllowThreads(__tstate
);
22086 if (PyErr_Occurred()) SWIG_fail
;
22088 resultobj
= SWIG_Py_Void();
22089 if (SWIG_IsTmpObj(res2
)) {
22090 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22092 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22093 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22095 if (SWIG_IsTmpObj(res3
)) {
22096 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22098 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22099 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22107 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22108 PyObject
*resultobj
= 0;
22109 wxDC
*arg1
= (wxDC
*) 0 ;
22118 PyObject
* obj0
= 0 ;
22119 PyObject
* obj1
= 0 ;
22120 PyObject
* obj2
= 0 ;
22121 char * kwnames
[] = {
22122 (char *) "self",(char *) "x",(char *) "y", NULL
22125 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22126 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22127 if (!SWIG_IsOK(res1
)) {
22128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22130 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22131 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22132 if (!SWIG_IsOK(ecode2
)) {
22133 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
22135 arg2
= static_cast< int >(val2
);
22136 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22137 if (!SWIG_IsOK(ecode3
)) {
22138 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
22140 arg3
= static_cast< int >(val3
);
22142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22143 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
22144 wxPyEndAllowThreads(__tstate
);
22145 if (PyErr_Occurred()) SWIG_fail
;
22147 resultobj
= SWIG_Py_Void();
22154 SWIGINTERN PyObject
*_wrap_DC_SetLogicalOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22155 PyObject
*resultobj
= 0;
22156 wxDC
*arg1
= (wxDC
*) 0 ;
22157 wxPoint
*arg2
= 0 ;
22161 PyObject
* obj0
= 0 ;
22162 PyObject
* obj1
= 0 ;
22163 char * kwnames
[] = {
22164 (char *) "self",(char *) "point", NULL
22167 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22168 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22169 if (!SWIG_IsOK(res1
)) {
22170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22172 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22175 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22179 wxDC_SetLogicalOriginPoint(arg1
,(wxPoint
const &)*arg2
);
22180 wxPyEndAllowThreads(__tstate
);
22181 if (PyErr_Occurred()) SWIG_fail
;
22183 resultobj
= SWIG_Py_Void();
22190 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22191 PyObject
*resultobj
= 0;
22192 wxDC
*arg1
= (wxDC
*) 0 ;
22196 PyObject
*swig_obj
[1] ;
22198 if (!args
) SWIG_fail
;
22199 swig_obj
[0] = args
;
22200 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22201 if (!SWIG_IsOK(res1
)) {
22202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC const *""'");
22204 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22207 result
= ((wxDC
const *)arg1
)->GetDeviceOrigin();
22208 wxPyEndAllowThreads(__tstate
);
22209 if (PyErr_Occurred()) SWIG_fail
;
22211 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
22218 SWIGINTERN PyObject
*_wrap_DC_GetDeviceOriginTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22219 PyObject
*resultobj
= 0;
22220 wxDC
*arg1
= (wxDC
*) 0 ;
22221 int *arg2
= (int *) 0 ;
22222 int *arg3
= (int *) 0 ;
22226 int res2
= SWIG_TMPOBJ
;
22228 int res3
= SWIG_TMPOBJ
;
22229 PyObject
*swig_obj
[1] ;
22233 if (!args
) SWIG_fail
;
22234 swig_obj
[0] = args
;
22235 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22236 if (!SWIG_IsOK(res1
)) {
22237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetDeviceOriginTuple" "', expected argument " "1"" of type '" "wxDC const *""'");
22239 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22242 ((wxDC
const *)arg1
)->GetDeviceOrigin(arg2
,arg3
);
22243 wxPyEndAllowThreads(__tstate
);
22244 if (PyErr_Occurred()) SWIG_fail
;
22246 resultobj
= SWIG_Py_Void();
22247 if (SWIG_IsTmpObj(res2
)) {
22248 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22250 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22251 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22253 if (SWIG_IsTmpObj(res3
)) {
22254 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22256 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22257 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22265 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22266 PyObject
*resultobj
= 0;
22267 wxDC
*arg1
= (wxDC
*) 0 ;
22276 PyObject
* obj0
= 0 ;
22277 PyObject
* obj1
= 0 ;
22278 PyObject
* obj2
= 0 ;
22279 char * kwnames
[] = {
22280 (char *) "self",(char *) "x",(char *) "y", NULL
22283 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetDeviceOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22284 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22285 if (!SWIG_IsOK(res1
)) {
22286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22288 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22289 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22290 if (!SWIG_IsOK(ecode2
)) {
22291 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "2"" of type '" "int""'");
22293 arg2
= static_cast< int >(val2
);
22294 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22295 if (!SWIG_IsOK(ecode3
)) {
22296 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetDeviceOrigin" "', expected argument " "3"" of type '" "int""'");
22298 arg3
= static_cast< int >(val3
);
22300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22301 (arg1
)->SetDeviceOrigin(arg2
,arg3
);
22302 wxPyEndAllowThreads(__tstate
);
22303 if (PyErr_Occurred()) SWIG_fail
;
22305 resultobj
= SWIG_Py_Void();
22312 SWIGINTERN PyObject
*_wrap_DC_SetDeviceOriginPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22313 PyObject
*resultobj
= 0;
22314 wxDC
*arg1
= (wxDC
*) 0 ;
22315 wxPoint
*arg2
= 0 ;
22319 PyObject
* obj0
= 0 ;
22320 PyObject
* obj1
= 0 ;
22321 char * kwnames
[] = {
22322 (char *) "self",(char *) "point", NULL
22325 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetDeviceOriginPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22326 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22327 if (!SWIG_IsOK(res1
)) {
22328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetDeviceOriginPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22330 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22333 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22337 wxDC_SetDeviceOriginPoint(arg1
,(wxPoint
const &)*arg2
);
22338 wxPyEndAllowThreads(__tstate
);
22339 if (PyErr_Occurred()) SWIG_fail
;
22341 resultobj
= SWIG_Py_Void();
22348 SWIGINTERN PyObject
*_wrap_DC_SetAxisOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22349 PyObject
*resultobj
= 0;
22350 wxDC
*arg1
= (wxDC
*) 0 ;
22359 PyObject
* obj0
= 0 ;
22360 PyObject
* obj1
= 0 ;
22361 PyObject
* obj2
= 0 ;
22362 char * kwnames
[] = {
22363 (char *) "self",(char *) "xLeftRight",(char *) "yBottomUp", NULL
22366 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_SetAxisOrientation",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22367 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22368 if (!SWIG_IsOK(res1
)) {
22369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetAxisOrientation" "', expected argument " "1"" of type '" "wxDC *""'");
22371 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22372 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
22373 if (!SWIG_IsOK(ecode2
)) {
22374 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetAxisOrientation" "', expected argument " "2"" of type '" "bool""'");
22376 arg2
= static_cast< bool >(val2
);
22377 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
22378 if (!SWIG_IsOK(ecode3
)) {
22379 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_SetAxisOrientation" "', expected argument " "3"" of type '" "bool""'");
22381 arg3
= static_cast< bool >(val3
);
22383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22384 (arg1
)->SetAxisOrientation(arg2
,arg3
);
22385 wxPyEndAllowThreads(__tstate
);
22386 if (PyErr_Occurred()) SWIG_fail
;
22388 resultobj
= SWIG_Py_Void();
22395 SWIGINTERN PyObject
*_wrap_DC_GetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22396 PyObject
*resultobj
= 0;
22397 wxDC
*arg1
= (wxDC
*) 0 ;
22401 PyObject
*swig_obj
[1] ;
22403 if (!args
) SWIG_fail
;
22404 swig_obj
[0] = args
;
22405 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22406 if (!SWIG_IsOK(res1
)) {
22407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLogicalFunction" "', expected argument " "1"" of type '" "wxDC const *""'");
22409 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22412 result
= (int)((wxDC
const *)arg1
)->GetLogicalFunction();
22413 wxPyEndAllowThreads(__tstate
);
22414 if (PyErr_Occurred()) SWIG_fail
;
22416 resultobj
= SWIG_From_int(static_cast< int >(result
));
22423 SWIGINTERN PyObject
*_wrap_DC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22424 PyObject
*resultobj
= 0;
22425 wxDC
*arg1
= (wxDC
*) 0 ;
22431 PyObject
* obj0
= 0 ;
22432 PyObject
* obj1
= 0 ;
22433 char * kwnames
[] = {
22434 (char *) "self",(char *) "function", NULL
22437 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22438 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22439 if (!SWIG_IsOK(res1
)) {
22440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxDC *""'");
22442 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22443 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22444 if (!SWIG_IsOK(ecode2
)) {
22445 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
22447 arg2
= static_cast< int >(val2
);
22449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22450 (arg1
)->SetLogicalFunction(arg2
);
22451 wxPyEndAllowThreads(__tstate
);
22452 if (PyErr_Occurred()) SWIG_fail
;
22454 resultobj
= SWIG_Py_Void();
22461 SWIGINTERN PyObject
*_wrap_DC_ComputeScaleAndOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22462 PyObject
*resultobj
= 0;
22463 wxDC
*arg1
= (wxDC
*) 0 ;
22466 PyObject
*swig_obj
[1] ;
22468 if (!args
) SWIG_fail
;
22469 swig_obj
[0] = args
;
22470 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22471 if (!SWIG_IsOK(res1
)) {
22472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ComputeScaleAndOrigin" "', expected argument " "1"" of type '" "wxDC *""'");
22474 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22477 (arg1
)->ComputeScaleAndOrigin();
22478 wxPyEndAllowThreads(__tstate
);
22479 if (PyErr_Occurred()) SWIG_fail
;
22481 resultobj
= SWIG_Py_Void();
22488 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22489 PyObject
*resultobj
= 0;
22490 wxDC
*arg1
= (wxDC
*) 0 ;
22499 PyObject
* obj0
= 0 ;
22500 PyObject
* obj1
= 0 ;
22501 PyObject
* obj2
= 0 ;
22502 char * kwnames
[] = {
22503 (char *) "self",(char *) "x",(char *) "y", NULL
22506 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DC_CalcBoundingBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22507 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22508 if (!SWIG_IsOK(res1
)) {
22509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
22511 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22512 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22513 if (!SWIG_IsOK(ecode2
)) {
22514 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_CalcBoundingBox" "', expected argument " "2"" of type '" "int""'");
22516 arg2
= static_cast< int >(val2
);
22517 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22518 if (!SWIG_IsOK(ecode3
)) {
22519 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DC_CalcBoundingBox" "', expected argument " "3"" of type '" "int""'");
22521 arg3
= static_cast< int >(val3
);
22523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22524 (arg1
)->CalcBoundingBox(arg2
,arg3
);
22525 wxPyEndAllowThreads(__tstate
);
22526 if (PyErr_Occurred()) SWIG_fail
;
22528 resultobj
= SWIG_Py_Void();
22535 SWIGINTERN PyObject
*_wrap_DC_CalcBoundingBoxPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22536 PyObject
*resultobj
= 0;
22537 wxDC
*arg1
= (wxDC
*) 0 ;
22538 wxPoint
*arg2
= 0 ;
22542 PyObject
* obj0
= 0 ;
22543 PyObject
* obj1
= 0 ;
22544 char * kwnames
[] = {
22545 (char *) "self",(char *) "point", NULL
22548 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_CalcBoundingBoxPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22549 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22550 if (!SWIG_IsOK(res1
)) {
22551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_CalcBoundingBoxPoint" "', expected argument " "1"" of type '" "wxDC *""'");
22553 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22556 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22560 wxDC_CalcBoundingBoxPoint(arg1
,(wxPoint
const &)*arg2
);
22561 wxPyEndAllowThreads(__tstate
);
22562 if (PyErr_Occurred()) SWIG_fail
;
22564 resultobj
= SWIG_Py_Void();
22571 SWIGINTERN PyObject
*_wrap_DC_ResetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22572 PyObject
*resultobj
= 0;
22573 wxDC
*arg1
= (wxDC
*) 0 ;
22576 PyObject
*swig_obj
[1] ;
22578 if (!args
) SWIG_fail
;
22579 swig_obj
[0] = args
;
22580 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22581 if (!SWIG_IsOK(res1
)) {
22582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_ResetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
22584 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22587 (arg1
)->ResetBoundingBox();
22588 wxPyEndAllowThreads(__tstate
);
22589 if (PyErr_Occurred()) SWIG_fail
;
22591 resultobj
= SWIG_Py_Void();
22598 SWIGINTERN PyObject
*_wrap_DC_MinX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22599 PyObject
*resultobj
= 0;
22600 wxDC
*arg1
= (wxDC
*) 0 ;
22604 PyObject
*swig_obj
[1] ;
22606 if (!args
) SWIG_fail
;
22607 swig_obj
[0] = args
;
22608 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22609 if (!SWIG_IsOK(res1
)) {
22610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinX" "', expected argument " "1"" of type '" "wxDC const *""'");
22612 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22615 result
= (int)((wxDC
const *)arg1
)->MinX();
22616 wxPyEndAllowThreads(__tstate
);
22617 if (PyErr_Occurred()) SWIG_fail
;
22619 resultobj
= SWIG_From_int(static_cast< int >(result
));
22626 SWIGINTERN PyObject
*_wrap_DC_MaxX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22627 PyObject
*resultobj
= 0;
22628 wxDC
*arg1
= (wxDC
*) 0 ;
22632 PyObject
*swig_obj
[1] ;
22634 if (!args
) SWIG_fail
;
22635 swig_obj
[0] = args
;
22636 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22637 if (!SWIG_IsOK(res1
)) {
22638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxX" "', expected argument " "1"" of type '" "wxDC const *""'");
22640 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22643 result
= (int)((wxDC
const *)arg1
)->MaxX();
22644 wxPyEndAllowThreads(__tstate
);
22645 if (PyErr_Occurred()) SWIG_fail
;
22647 resultobj
= SWIG_From_int(static_cast< int >(result
));
22654 SWIGINTERN PyObject
*_wrap_DC_MinY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22655 PyObject
*resultobj
= 0;
22656 wxDC
*arg1
= (wxDC
*) 0 ;
22660 PyObject
*swig_obj
[1] ;
22662 if (!args
) SWIG_fail
;
22663 swig_obj
[0] = args
;
22664 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22665 if (!SWIG_IsOK(res1
)) {
22666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MinY" "', expected argument " "1"" of type '" "wxDC const *""'");
22668 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22671 result
= (int)((wxDC
const *)arg1
)->MinY();
22672 wxPyEndAllowThreads(__tstate
);
22673 if (PyErr_Occurred()) SWIG_fail
;
22675 resultobj
= SWIG_From_int(static_cast< int >(result
));
22682 SWIGINTERN PyObject
*_wrap_DC_MaxY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22683 PyObject
*resultobj
= 0;
22684 wxDC
*arg1
= (wxDC
*) 0 ;
22688 PyObject
*swig_obj
[1] ;
22690 if (!args
) SWIG_fail
;
22691 swig_obj
[0] = args
;
22692 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22693 if (!SWIG_IsOK(res1
)) {
22694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_MaxY" "', expected argument " "1"" of type '" "wxDC const *""'");
22696 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22699 result
= (int)((wxDC
const *)arg1
)->MaxY();
22700 wxPyEndAllowThreads(__tstate
);
22701 if (PyErr_Occurred()) SWIG_fail
;
22703 resultobj
= SWIG_From_int(static_cast< int >(result
));
22710 SWIGINTERN PyObject
*_wrap_DC_GetBoundingBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22711 PyObject
*resultobj
= 0;
22712 wxDC
*arg1
= (wxDC
*) 0 ;
22713 int *arg2
= (int *) 0 ;
22714 int *arg3
= (int *) 0 ;
22715 int *arg4
= (int *) 0 ;
22716 int *arg5
= (int *) 0 ;
22720 int res2
= SWIG_TMPOBJ
;
22722 int res3
= SWIG_TMPOBJ
;
22724 int res4
= SWIG_TMPOBJ
;
22726 int res5
= SWIG_TMPOBJ
;
22727 PyObject
*swig_obj
[1] ;
22733 if (!args
) SWIG_fail
;
22734 swig_obj
[0] = args
;
22735 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22736 if (!SWIG_IsOK(res1
)) {
22737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetBoundingBox" "', expected argument " "1"" of type '" "wxDC *""'");
22739 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22742 wxDC_GetBoundingBox(arg1
,arg2
,arg3
,arg4
,arg5
);
22743 wxPyEndAllowThreads(__tstate
);
22744 if (PyErr_Occurred()) SWIG_fail
;
22746 resultobj
= SWIG_Py_Void();
22747 if (SWIG_IsTmpObj(res2
)) {
22748 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22750 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22751 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22753 if (SWIG_IsTmpObj(res3
)) {
22754 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22756 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22757 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22759 if (SWIG_IsTmpObj(res4
)) {
22760 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
22762 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22763 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
22765 if (SWIG_IsTmpObj(res5
)) {
22766 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
22768 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22769 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
22777 SWIGINTERN PyObject
*_wrap_DC_GetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22778 PyObject
*resultobj
= 0;
22779 wxDC
*arg1
= (wxDC
*) 0 ;
22780 wxLayoutDirection result
;
22783 PyObject
*swig_obj
[1] ;
22785 if (!args
) SWIG_fail
;
22786 swig_obj
[0] = args
;
22787 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22788 if (!SWIG_IsOK(res1
)) {
22789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_GetLayoutDirection" "', expected argument " "1"" of type '" "wxDC const *""'");
22791 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22794 result
= (wxLayoutDirection
)((wxDC
const *)arg1
)->GetLayoutDirection();
22795 wxPyEndAllowThreads(__tstate
);
22796 if (PyErr_Occurred()) SWIG_fail
;
22798 resultobj
= SWIG_From_int(static_cast< int >(result
));
22805 SWIGINTERN PyObject
*_wrap_DC_SetLayoutDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22806 PyObject
*resultobj
= 0;
22807 wxDC
*arg1
= (wxDC
*) 0 ;
22808 wxLayoutDirection arg2
;
22813 PyObject
* obj0
= 0 ;
22814 PyObject
* obj1
= 0 ;
22815 char * kwnames
[] = {
22816 (char *) "self",(char *) "dir", NULL
22819 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DC_SetLayoutDirection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22820 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22821 if (!SWIG_IsOK(res1
)) {
22822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC_SetLayoutDirection" "', expected argument " "1"" of type '" "wxDC *""'");
22824 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22825 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22826 if (!SWIG_IsOK(ecode2
)) {
22827 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "DC_SetLayoutDirection" "', expected argument " "2"" of type '" "wxLayoutDirection""'");
22829 arg2
= static_cast< wxLayoutDirection
>(val2
);
22831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22832 (arg1
)->SetLayoutDirection(arg2
);
22833 wxPyEndAllowThreads(__tstate
);
22834 if (PyErr_Occurred()) SWIG_fail
;
22836 resultobj
= SWIG_Py_Void();
22843 SWIGINTERN PyObject
*_wrap_DC__DrawPointList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22844 PyObject
*resultobj
= 0;
22845 wxDC
*arg1
= (wxDC
*) 0 ;
22846 PyObject
*arg2
= (PyObject
*) 0 ;
22847 PyObject
*arg3
= (PyObject
*) 0 ;
22848 PyObject
*arg4
= (PyObject
*) 0 ;
22849 PyObject
*result
= 0 ;
22852 PyObject
* obj0
= 0 ;
22853 PyObject
* obj1
= 0 ;
22854 PyObject
* obj2
= 0 ;
22855 PyObject
* obj3
= 0 ;
22856 char * kwnames
[] = {
22857 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
22860 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPointList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22861 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22862 if (!SWIG_IsOK(res1
)) {
22863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPointList" "', expected argument " "1"" of type '" "wxDC *""'");
22865 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22871 result
= (PyObject
*)wxDC__DrawPointList(arg1
,arg2
,arg3
,arg4
);
22872 wxPyEndAllowThreads(__tstate
);
22873 if (PyErr_Occurred()) SWIG_fail
;
22875 resultobj
= result
;
22882 SWIGINTERN PyObject
*_wrap_DC__DrawLineList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22883 PyObject
*resultobj
= 0;
22884 wxDC
*arg1
= (wxDC
*) 0 ;
22885 PyObject
*arg2
= (PyObject
*) 0 ;
22886 PyObject
*arg3
= (PyObject
*) 0 ;
22887 PyObject
*arg4
= (PyObject
*) 0 ;
22888 PyObject
*result
= 0 ;
22891 PyObject
* obj0
= 0 ;
22892 PyObject
* obj1
= 0 ;
22893 PyObject
* obj2
= 0 ;
22894 PyObject
* obj3
= 0 ;
22895 char * kwnames
[] = {
22896 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
22899 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawLineList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22900 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22901 if (!SWIG_IsOK(res1
)) {
22902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawLineList" "', expected argument " "1"" of type '" "wxDC *""'");
22904 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22910 result
= (PyObject
*)wxDC__DrawLineList(arg1
,arg2
,arg3
,arg4
);
22911 wxPyEndAllowThreads(__tstate
);
22912 if (PyErr_Occurred()) SWIG_fail
;
22914 resultobj
= result
;
22921 SWIGINTERN PyObject
*_wrap_DC__DrawRectangleList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22922 PyObject
*resultobj
= 0;
22923 wxDC
*arg1
= (wxDC
*) 0 ;
22924 PyObject
*arg2
= (PyObject
*) 0 ;
22925 PyObject
*arg3
= (PyObject
*) 0 ;
22926 PyObject
*arg4
= (PyObject
*) 0 ;
22927 PyObject
*result
= 0 ;
22930 PyObject
* obj0
= 0 ;
22931 PyObject
* obj1
= 0 ;
22932 PyObject
* obj2
= 0 ;
22933 PyObject
* obj3
= 0 ;
22934 char * kwnames
[] = {
22935 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
22938 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawRectangleList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22939 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22940 if (!SWIG_IsOK(res1
)) {
22941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawRectangleList" "', expected argument " "1"" of type '" "wxDC *""'");
22943 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22949 result
= (PyObject
*)wxDC__DrawRectangleList(arg1
,arg2
,arg3
,arg4
);
22950 wxPyEndAllowThreads(__tstate
);
22951 if (PyErr_Occurred()) SWIG_fail
;
22953 resultobj
= result
;
22960 SWIGINTERN PyObject
*_wrap_DC__DrawEllipseList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22961 PyObject
*resultobj
= 0;
22962 wxDC
*arg1
= (wxDC
*) 0 ;
22963 PyObject
*arg2
= (PyObject
*) 0 ;
22964 PyObject
*arg3
= (PyObject
*) 0 ;
22965 PyObject
*arg4
= (PyObject
*) 0 ;
22966 PyObject
*result
= 0 ;
22969 PyObject
* obj0
= 0 ;
22970 PyObject
* obj1
= 0 ;
22971 PyObject
* obj2
= 0 ;
22972 PyObject
* obj3
= 0 ;
22973 char * kwnames
[] = {
22974 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
22977 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawEllipseList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22978 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
22979 if (!SWIG_IsOK(res1
)) {
22980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawEllipseList" "', expected argument " "1"" of type '" "wxDC *""'");
22982 arg1
= reinterpret_cast< wxDC
* >(argp1
);
22987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22988 result
= (PyObject
*)wxDC__DrawEllipseList(arg1
,arg2
,arg3
,arg4
);
22989 wxPyEndAllowThreads(__tstate
);
22990 if (PyErr_Occurred()) SWIG_fail
;
22992 resultobj
= result
;
22999 SWIGINTERN PyObject
*_wrap_DC__DrawPolygonList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23000 PyObject
*resultobj
= 0;
23001 wxDC
*arg1
= (wxDC
*) 0 ;
23002 PyObject
*arg2
= (PyObject
*) 0 ;
23003 PyObject
*arg3
= (PyObject
*) 0 ;
23004 PyObject
*arg4
= (PyObject
*) 0 ;
23005 PyObject
*result
= 0 ;
23008 PyObject
* obj0
= 0 ;
23009 PyObject
* obj1
= 0 ;
23010 PyObject
* obj2
= 0 ;
23011 PyObject
* obj3
= 0 ;
23012 char * kwnames
[] = {
23013 (char *) "self",(char *) "pyCoords",(char *) "pyPens",(char *) "pyBrushes", NULL
23016 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DC__DrawPolygonList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
23017 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23018 if (!SWIG_IsOK(res1
)) {
23019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawPolygonList" "', expected argument " "1"" of type '" "wxDC *""'");
23021 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23027 result
= (PyObject
*)wxDC__DrawPolygonList(arg1
,arg2
,arg3
,arg4
);
23028 wxPyEndAllowThreads(__tstate
);
23029 if (PyErr_Occurred()) SWIG_fail
;
23031 resultobj
= result
;
23038 SWIGINTERN PyObject
*_wrap_DC__DrawTextList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23039 PyObject
*resultobj
= 0;
23040 wxDC
*arg1
= (wxDC
*) 0 ;
23041 PyObject
*arg2
= (PyObject
*) 0 ;
23042 PyObject
*arg3
= (PyObject
*) 0 ;
23043 PyObject
*arg4
= (PyObject
*) 0 ;
23044 PyObject
*arg5
= (PyObject
*) 0 ;
23045 PyObject
*result
= 0 ;
23048 PyObject
* obj0
= 0 ;
23049 PyObject
* obj1
= 0 ;
23050 PyObject
* obj2
= 0 ;
23051 PyObject
* obj3
= 0 ;
23052 PyObject
* obj4
= 0 ;
23053 char * kwnames
[] = {
23054 (char *) "self",(char *) "textList",(char *) "pyPoints",(char *) "foregroundList",(char *) "backgroundList", NULL
23057 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DC__DrawTextList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
23058 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23059 if (!SWIG_IsOK(res1
)) {
23060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DC__DrawTextList" "', expected argument " "1"" of type '" "wxDC *""'");
23062 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23069 result
= (PyObject
*)wxDC__DrawTextList(arg1
,arg2
,arg3
,arg4
,arg5
);
23070 wxPyEndAllowThreads(__tstate
);
23071 if (PyErr_Occurred()) SWIG_fail
;
23073 resultobj
= result
;
23080 SWIGINTERN PyObject
*DC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23082 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23083 SWIG_TypeNewClientData(SWIGTYPE_p_wxDC
, SWIG_NewClientData(obj
));
23084 return SWIG_Py_Void();
23087 SWIGINTERN PyObject
*_wrap_new_MemoryDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23088 PyObject
*resultobj
= 0;
23089 wxMemoryDC
*result
= 0 ;
23091 if (!SWIG_Python_UnpackTuple(args
,"new_MemoryDC",0,0,0)) SWIG_fail
;
23093 if (!wxPyCheckForApp()) SWIG_fail
;
23094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23095 result
= (wxMemoryDC
*)new wxMemoryDC();
23096 wxPyEndAllowThreads(__tstate
);
23097 if (PyErr_Occurred()) SWIG_fail
;
23099 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_NEW
| 0 );
23106 SWIGINTERN PyObject
*_wrap_new_MemoryDCFromDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23107 PyObject
*resultobj
= 0;
23108 wxDC
*arg1
= (wxDC
*) 0 ;
23109 wxMemoryDC
*result
= 0 ;
23112 PyObject
* obj0
= 0 ;
23113 char * kwnames
[] = {
23114 (char *) "oldDC", NULL
23117 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_MemoryDCFromDC",kwnames
,&obj0
)) SWIG_fail
;
23118 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23119 if (!SWIG_IsOK(res1
)) {
23120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MemoryDCFromDC" "', expected argument " "1"" of type '" "wxDC *""'");
23122 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23124 if (!wxPyCheckForApp()) SWIG_fail
;
23125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23126 result
= (wxMemoryDC
*)new wxMemoryDC(arg1
);
23127 wxPyEndAllowThreads(__tstate
);
23128 if (PyErr_Occurred()) SWIG_fail
;
23130 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryDC
, SWIG_POINTER_OWN
| 0 );
23137 SWIGINTERN PyObject
*_wrap_MemoryDC_SelectObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23138 PyObject
*resultobj
= 0;
23139 wxMemoryDC
*arg1
= (wxMemoryDC
*) 0 ;
23140 wxBitmap
*arg2
= 0 ;
23145 PyObject
* obj0
= 0 ;
23146 PyObject
* obj1
= 0 ;
23147 char * kwnames
[] = {
23148 (char *) "self",(char *) "bitmap", NULL
23151 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryDC_SelectObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23152 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryDC
, 0 | 0 );
23153 if (!SWIG_IsOK(res1
)) {
23154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryDC_SelectObject" "', expected argument " "1"" of type '" "wxMemoryDC *""'");
23156 arg1
= reinterpret_cast< wxMemoryDC
* >(argp1
);
23157 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23158 if (!SWIG_IsOK(res2
)) {
23159 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23162 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryDC_SelectObject" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23164 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23167 (arg1
)->SelectObject((wxBitmap
const &)*arg2
);
23168 wxPyEndAllowThreads(__tstate
);
23169 if (PyErr_Occurred()) SWIG_fail
;
23171 resultobj
= SWIG_Py_Void();
23178 SWIGINTERN PyObject
*MemoryDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23180 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23181 SWIG_TypeNewClientData(SWIGTYPE_p_wxMemoryDC
, SWIG_NewClientData(obj
));
23182 return SWIG_Py_Void();
23185 SWIGINTERN PyObject
*MemoryDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23186 return SWIG_Python_InitShadowInstance(args
);
23189 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23190 PyObject
*resultobj
= 0;
23191 wxDC
*arg1
= (wxDC
*) 0 ;
23192 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
23193 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
23194 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
23195 wxBufferedDC
*result
= 0 ;
23203 if ((nobjs
< 1) || (nobjs
> 3)) SWIG_fail
;
23204 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23205 if (!SWIG_IsOK(res1
)) {
23206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
23208 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23210 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23211 if (!SWIG_IsOK(res2
)) {
23212 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23215 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23217 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23220 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
23221 if (!SWIG_IsOK(ecode3
)) {
23222 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
23224 arg3
= static_cast< int >(val3
);
23227 if (!wxPyCheckForApp()) SWIG_fail
;
23228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23229 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxBitmap
const &)*arg2
,arg3
);
23230 wxPyEndAllowThreads(__tstate
);
23231 if (PyErr_Occurred()) SWIG_fail
;
23233 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
23240 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23241 PyObject
*resultobj
= 0;
23242 wxDC
*arg1
= (wxDC
*) 0 ;
23244 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
23245 wxBufferedDC
*result
= 0 ;
23252 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
23253 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDC
, 0 | 0 );
23254 if (!SWIG_IsOK(res1
)) {
23255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxDC *""'");
23257 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23260 if ( ! wxSize_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
23263 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
23264 if (!SWIG_IsOK(ecode3
)) {
23265 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedDC" "', expected argument " "3"" of type '" "int""'");
23267 arg3
= static_cast< int >(val3
);
23270 if (!wxPyCheckForApp()) SWIG_fail
;
23271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23272 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,(wxSize
const &)*arg2
,arg3
);
23273 wxPyEndAllowThreads(__tstate
);
23274 if (PyErr_Occurred()) SWIG_fail
;
23276 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
23283 SWIGINTERN PyObject
*_wrap_new_BufferedDC__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23284 PyObject
*resultobj
= 0;
23285 wxWindow
*arg1
= (wxWindow
*) 0 ;
23286 wxDC
*arg2
= (wxDC
*) 0 ;
23288 int arg4
= (int) wxBUFFER_CLIENT_AREA
;
23289 wxBufferedDC
*result
= 0 ;
23298 if ((nobjs
< 3) || (nobjs
> 4)) SWIG_fail
;
23299 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23300 if (!SWIG_IsOK(res1
)) {
23301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedDC" "', expected argument " "1"" of type '" "wxWindow *""'");
23303 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
23304 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
23305 if (!SWIG_IsOK(res2
)) {
23306 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedDC" "', expected argument " "2"" of type '" "wxDC *""'");
23308 arg2
= reinterpret_cast< wxDC
* >(argp2
);
23311 if ( ! wxSize_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
23314 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
23315 if (!SWIG_IsOK(ecode4
)) {
23316 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BufferedDC" "', expected argument " "4"" of type '" "int""'");
23318 arg4
= static_cast< int >(val4
);
23321 if (!wxPyCheckForApp()) SWIG_fail
;
23322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23323 result
= (wxBufferedDC
*)new wxBufferedDC(arg1
,arg2
,(wxSize
const &)*arg3
,arg4
);
23324 wxPyEndAllowThreads(__tstate
);
23325 if (PyErr_Occurred()) SWIG_fail
;
23327 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_NEW
| 0 );
23334 SWIGINTERN PyObject
*_wrap_new_BufferedDC(PyObject
*self
, PyObject
*args
) {
23338 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_BufferedDC",0,4,argv
))) SWIG_fail
;
23340 if ((argc
>= 1) && (argc
<= 3)) {
23344 int res
= SWIG_ConvertPtr(argv
[0], &vptr
, SWIGTYPE_p_wxDC
, 0);
23345 _v
= SWIG_CheckState(res
);
23347 if (!_v
) goto check_1
;
23350 int res
= SWIG_ConvertPtr(argv
[1], 0, SWIGTYPE_p_wxBitmap
, 0);
23351 _v
= SWIG_CheckState(res
);
23353 if (!_v
) goto check_1
;
23357 int res
= SWIG_AsVal_int(argv
[2], NULL
);
23358 _v
= SWIG_CheckState(res
);
23361 if (!_v
) goto check_1
;
23364 return _wrap_new_BufferedDC__SWIG_0(self
, argc
, argv
);
23368 if ((argc
>= 2) && (argc
<= 3)) {
23372 int res
= SWIG_ConvertPtr(argv
[0], &vptr
, SWIGTYPE_p_wxDC
, 0);
23373 _v
= SWIG_CheckState(res
);
23375 if (!_v
) goto check_2
;
23378 _v
= wxPySimple_typecheck(argv
[1], wxT("wxSize"), 2);
23381 if (!_v
) goto check_2
;
23385 int res
= SWIG_AsVal_int(argv
[2], NULL
);
23386 _v
= SWIG_CheckState(res
);
23389 if (!_v
) goto check_2
;
23391 return _wrap_new_BufferedDC__SWIG_1(self
, argc
, argv
);
23395 if ((argc
>= 3) && (argc
<= 4)) {
23396 return _wrap_new_BufferedDC__SWIG_2(self
, argc
, argv
);
23400 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_BufferedDC'");
23405 SWIGINTERN PyObject
*_wrap_delete_BufferedDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23406 PyObject
*resultobj
= 0;
23407 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
23410 PyObject
*swig_obj
[1] ;
23412 if (!args
) SWIG_fail
;
23413 swig_obj
[0] = args
;
23414 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, SWIG_POINTER_DISOWN
| 0 );
23415 if (!SWIG_IsOK(res1
)) {
23416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_BufferedDC" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
23418 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
23420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23423 wxPyEndAllowThreads(__tstate
);
23424 if (PyErr_Occurred()) SWIG_fail
;
23426 resultobj
= SWIG_Py_Void();
23433 SWIGINTERN PyObject
*_wrap_BufferedDC_UnMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23434 PyObject
*resultobj
= 0;
23435 wxBufferedDC
*arg1
= (wxBufferedDC
*) 0 ;
23438 PyObject
*swig_obj
[1] ;
23440 if (!args
) SWIG_fail
;
23441 swig_obj
[0] = args
;
23442 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBufferedDC
, 0 | 0 );
23443 if (!SWIG_IsOK(res1
)) {
23444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BufferedDC_UnMask" "', expected argument " "1"" of type '" "wxBufferedDC *""'");
23446 arg1
= reinterpret_cast< wxBufferedDC
* >(argp1
);
23448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23450 wxPyEndAllowThreads(__tstate
);
23451 if (PyErr_Occurred()) SWIG_fail
;
23453 resultobj
= SWIG_Py_Void();
23460 SWIGINTERN PyObject
*BufferedDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23462 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23463 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedDC
, SWIG_NewClientData(obj
));
23464 return SWIG_Py_Void();
23467 SWIGINTERN PyObject
*BufferedDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23468 return SWIG_Python_InitShadowInstance(args
);
23471 SWIGINTERN PyObject
*_wrap_new_BufferedPaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23472 PyObject
*resultobj
= 0;
23473 wxWindow
*arg1
= (wxWindow
*) 0 ;
23474 wxBitmap
const &arg2_defvalue
= wxNullBitmap
;
23475 wxBitmap
*arg2
= (wxBitmap
*) &arg2_defvalue
;
23476 int arg3
= (int) wxBUFFER_CLIENT_AREA
;
23477 wxBufferedPaintDC
*result
= 0 ;
23484 PyObject
* obj0
= 0 ;
23485 PyObject
* obj1
= 0 ;
23486 PyObject
* obj2
= 0 ;
23487 char * kwnames
[] = {
23488 (char *) "window",(char *) "buffer",(char *) "style", NULL
23491 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_BufferedPaintDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23492 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23493 if (!SWIG_IsOK(res1
)) {
23494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BufferedPaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
23496 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
23498 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23499 if (!SWIG_IsOK(res2
)) {
23500 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23503 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BufferedPaintDC" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23505 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23508 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23509 if (!SWIG_IsOK(ecode3
)) {
23510 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BufferedPaintDC" "', expected argument " "3"" of type '" "int""'");
23512 arg3
= static_cast< int >(val3
);
23515 if (!wxPyCheckForApp()) SWIG_fail
;
23516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23517 result
= (wxBufferedPaintDC
*)new wxBufferedPaintDC(arg1
,(wxBitmap
const &)*arg2
,arg3
);
23518 wxPyEndAllowThreads(__tstate
);
23519 if (PyErr_Occurred()) SWIG_fail
;
23521 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBufferedPaintDC
, SWIG_POINTER_NEW
| 0 );
23528 SWIGINTERN PyObject
*BufferedPaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23530 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23531 SWIG_TypeNewClientData(SWIGTYPE_p_wxBufferedPaintDC
, SWIG_NewClientData(obj
));
23532 return SWIG_Py_Void();
23535 SWIGINTERN PyObject
*BufferedPaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23536 return SWIG_Python_InitShadowInstance(args
);
23539 SWIGINTERN PyObject
*_wrap_new_ScreenDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23540 PyObject
*resultobj
= 0;
23541 wxScreenDC
*result
= 0 ;
23543 if (!SWIG_Python_UnpackTuple(args
,"new_ScreenDC",0,0,0)) SWIG_fail
;
23545 if (!wxPyCheckForApp()) SWIG_fail
;
23546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23547 result
= (wxScreenDC
*)new wxScreenDC();
23548 wxPyEndAllowThreads(__tstate
);
23549 if (PyErr_Occurred()) SWIG_fail
;
23551 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScreenDC
, SWIG_POINTER_NEW
| 0 );
23558 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTopWin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23559 PyObject
*resultobj
= 0;
23560 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
23561 wxWindow
*arg2
= (wxWindow
*) 0 ;
23567 PyObject
* obj0
= 0 ;
23568 PyObject
* obj1
= 0 ;
23569 char * kwnames
[] = {
23570 (char *) "self",(char *) "window", NULL
23573 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScreenDC_StartDrawingOnTopWin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23574 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
23575 if (!SWIG_IsOK(res1
)) {
23576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "1"" of type '" "wxScreenDC *""'");
23578 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
23579 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23580 if (!SWIG_IsOK(res2
)) {
23581 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTopWin" "', expected argument " "2"" of type '" "wxWindow *""'");
23583 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
23585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23586 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
23587 wxPyEndAllowThreads(__tstate
);
23588 if (PyErr_Occurred()) SWIG_fail
;
23591 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23599 SWIGINTERN PyObject
*_wrap_ScreenDC_StartDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23600 PyObject
*resultobj
= 0;
23601 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
23602 wxRect
*arg2
= (wxRect
*) NULL
;
23608 PyObject
* obj0
= 0 ;
23609 PyObject
* obj1
= 0 ;
23610 char * kwnames
[] = {
23611 (char *) "self",(char *) "rect", NULL
23614 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ScreenDC_StartDrawingOnTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23615 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
23616 if (!SWIG_IsOK(res1
)) {
23617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
23619 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
23621 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
23622 if (!SWIG_IsOK(res2
)) {
23623 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScreenDC_StartDrawingOnTop" "', expected argument " "2"" of type '" "wxRect *""'");
23625 arg2
= reinterpret_cast< wxRect
* >(argp2
);
23628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23629 result
= (bool)(arg1
)->StartDrawingOnTop(arg2
);
23630 wxPyEndAllowThreads(__tstate
);
23631 if (PyErr_Occurred()) SWIG_fail
;
23634 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23642 SWIGINTERN PyObject
*_wrap_ScreenDC_EndDrawingOnTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23643 PyObject
*resultobj
= 0;
23644 wxScreenDC
*arg1
= (wxScreenDC
*) 0 ;
23648 PyObject
*swig_obj
[1] ;
23650 if (!args
) SWIG_fail
;
23651 swig_obj
[0] = args
;
23652 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScreenDC
, 0 | 0 );
23653 if (!SWIG_IsOK(res1
)) {
23654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScreenDC_EndDrawingOnTop" "', expected argument " "1"" of type '" "wxScreenDC *""'");
23656 arg1
= reinterpret_cast< wxScreenDC
* >(argp1
);
23658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23659 result
= (bool)(arg1
)->EndDrawingOnTop();
23660 wxPyEndAllowThreads(__tstate
);
23661 if (PyErr_Occurred()) SWIG_fail
;
23664 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23672 SWIGINTERN PyObject
*ScreenDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23674 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23675 SWIG_TypeNewClientData(SWIGTYPE_p_wxScreenDC
, SWIG_NewClientData(obj
));
23676 return SWIG_Py_Void();
23679 SWIGINTERN PyObject
*ScreenDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23680 return SWIG_Python_InitShadowInstance(args
);
23683 SWIGINTERN PyObject
*_wrap_new_WindowDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23684 PyObject
*resultobj
= 0;
23685 wxWindow
*arg1
= (wxWindow
*) 0 ;
23686 wxWindowDC
*result
= 0 ;
23689 PyObject
* obj0
= 0 ;
23690 char * kwnames
[] = {
23691 (char *) "win", NULL
23694 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WindowDC",kwnames
,&obj0
)) SWIG_fail
;
23695 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23696 if (!SWIG_IsOK(res1
)) {
23697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowDC" "', expected argument " "1"" of type '" "wxWindow *""'");
23699 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
23701 if (!wxPyCheckForApp()) SWIG_fail
;
23702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23703 result
= (wxWindowDC
*)new wxWindowDC(arg1
);
23704 wxPyEndAllowThreads(__tstate
);
23705 if (PyErr_Occurred()) SWIG_fail
;
23707 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowDC
, SWIG_POINTER_NEW
| 0 );
23714 SWIGINTERN PyObject
*WindowDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23716 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23717 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowDC
, SWIG_NewClientData(obj
));
23718 return SWIG_Py_Void();
23721 SWIGINTERN PyObject
*WindowDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23722 return SWIG_Python_InitShadowInstance(args
);
23725 SWIGINTERN PyObject
*_wrap_new_ClientDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23726 PyObject
*resultobj
= 0;
23727 wxWindow
*arg1
= (wxWindow
*) 0 ;
23728 wxClientDC
*result
= 0 ;
23731 PyObject
* obj0
= 0 ;
23732 char * kwnames
[] = {
23733 (char *) "win", NULL
23736 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ClientDC",kwnames
,&obj0
)) SWIG_fail
;
23737 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23738 if (!SWIG_IsOK(res1
)) {
23739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ClientDC" "', expected argument " "1"" of type '" "wxWindow *""'");
23741 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
23743 if (!wxPyCheckForApp()) SWIG_fail
;
23744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23745 result
= (wxClientDC
*)new wxClientDC(arg1
);
23746 wxPyEndAllowThreads(__tstate
);
23747 if (PyErr_Occurred()) SWIG_fail
;
23749 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClientDC
, SWIG_POINTER_NEW
| 0 );
23756 SWIGINTERN PyObject
*ClientDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23758 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23759 SWIG_TypeNewClientData(SWIGTYPE_p_wxClientDC
, SWIG_NewClientData(obj
));
23760 return SWIG_Py_Void();
23763 SWIGINTERN PyObject
*ClientDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23764 return SWIG_Python_InitShadowInstance(args
);
23767 SWIGINTERN PyObject
*_wrap_new_PaintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23768 PyObject
*resultobj
= 0;
23769 wxWindow
*arg1
= (wxWindow
*) 0 ;
23770 wxPaintDC
*result
= 0 ;
23773 PyObject
* obj0
= 0 ;
23774 char * kwnames
[] = {
23775 (char *) "win", NULL
23778 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PaintDC",kwnames
,&obj0
)) SWIG_fail
;
23779 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23780 if (!SWIG_IsOK(res1
)) {
23781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PaintDC" "', expected argument " "1"" of type '" "wxWindow *""'");
23783 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
23785 if (!wxPyCheckForApp()) SWIG_fail
;
23786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23787 result
= (wxPaintDC
*)new wxPaintDC(arg1
);
23788 wxPyEndAllowThreads(__tstate
);
23789 if (PyErr_Occurred()) SWIG_fail
;
23791 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPaintDC
, SWIG_POINTER_NEW
| 0 );
23798 SWIGINTERN PyObject
*PaintDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23800 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23801 SWIG_TypeNewClientData(SWIGTYPE_p_wxPaintDC
, SWIG_NewClientData(obj
));
23802 return SWIG_Py_Void();
23805 SWIGINTERN PyObject
*PaintDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23806 return SWIG_Python_InitShadowInstance(args
);
23809 SWIGINTERN PyObject
*_wrap_new_MirrorDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23810 PyObject
*resultobj
= 0;
23813 wxMirrorDC
*result
= 0 ;
23818 PyObject
* obj0
= 0 ;
23819 PyObject
* obj1
= 0 ;
23820 char * kwnames
[] = {
23821 (char *) "dc",(char *) "mirror", NULL
23824 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_MirrorDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23825 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxDC
, 0 );
23826 if (!SWIG_IsOK(res1
)) {
23827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
23830 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_MirrorDC" "', expected argument " "1"" of type '" "wxDC &""'");
23832 arg1
= reinterpret_cast< wxDC
* >(argp1
);
23833 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23834 if (!SWIG_IsOK(ecode2
)) {
23835 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MirrorDC" "', expected argument " "2"" of type '" "bool""'");
23837 arg2
= static_cast< bool >(val2
);
23839 if (!wxPyCheckForApp()) SWIG_fail
;
23840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23841 result
= (wxMirrorDC
*)new wxMirrorDC(*arg1
,arg2
);
23842 wxPyEndAllowThreads(__tstate
);
23843 if (PyErr_Occurred()) SWIG_fail
;
23845 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMirrorDC
, SWIG_POINTER_NEW
| 0 );
23852 SWIGINTERN PyObject
*MirrorDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23854 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23855 SWIG_TypeNewClientData(SWIGTYPE_p_wxMirrorDC
, SWIG_NewClientData(obj
));
23856 return SWIG_Py_Void();
23859 SWIGINTERN PyObject
*MirrorDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23860 return SWIG_Python_InitShadowInstance(args
);
23863 SWIGINTERN PyObject
*_wrap_new_PostScriptDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23864 PyObject
*resultobj
= 0;
23865 wxPrintData
*arg1
= 0 ;
23866 wxPostScriptDC
*result
= 0 ;
23869 PyObject
* obj0
= 0 ;
23870 char * kwnames
[] = {
23871 (char *) "printData", NULL
23874 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PostScriptDC",kwnames
,&obj0
)) SWIG_fail
;
23875 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
23876 if (!SWIG_IsOK(res1
)) {
23877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23880 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PostScriptDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23882 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23884 if (!wxPyCheckForApp()) SWIG_fail
;
23885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23886 result
= (wxPostScriptDC
*)new wxPostScriptDC((wxPrintData
const &)*arg1
);
23887 wxPyEndAllowThreads(__tstate
);
23888 if (PyErr_Occurred()) SWIG_fail
;
23890 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPostScriptDC
, SWIG_POINTER_NEW
| 0 );
23897 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23898 PyObject
*resultobj
= 0;
23899 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
23900 wxPrintData
*result
= 0 ;
23903 PyObject
*swig_obj
[1] ;
23905 if (!args
) SWIG_fail
;
23906 swig_obj
[0] = args
;
23907 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
23908 if (!SWIG_IsOK(res1
)) {
23909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_GetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
23911 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
23913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23915 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
23916 result
= (wxPrintData
*) &_result_ref
;
23918 wxPyEndAllowThreads(__tstate
);
23919 if (PyErr_Occurred()) SWIG_fail
;
23921 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
23928 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23929 PyObject
*resultobj
= 0;
23930 wxPostScriptDC
*arg1
= (wxPostScriptDC
*) 0 ;
23931 wxPrintData
*arg2
= 0 ;
23936 PyObject
* obj0
= 0 ;
23937 PyObject
* obj1
= 0 ;
23938 char * kwnames
[] = {
23939 (char *) "self",(char *) "data", NULL
23942 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostScriptDC_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23943 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPostScriptDC
, 0 | 0 );
23944 if (!SWIG_IsOK(res1
)) {
23945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "1"" of type '" "wxPostScriptDC *""'");
23947 arg1
= reinterpret_cast< wxPostScriptDC
* >(argp1
);
23948 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
23949 if (!SWIG_IsOK(res2
)) {
23950 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
23953 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PostScriptDC_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
23955 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
23957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23958 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
23959 wxPyEndAllowThreads(__tstate
);
23960 if (PyErr_Occurred()) SWIG_fail
;
23962 resultobj
= SWIG_Py_Void();
23969 SWIGINTERN PyObject
*_wrap_PostScriptDC_SetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23970 PyObject
*resultobj
= 0;
23974 PyObject
* obj0
= 0 ;
23975 char * kwnames
[] = {
23976 (char *) "ppi", NULL
23979 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PostScriptDC_SetResolution",kwnames
,&obj0
)) SWIG_fail
;
23980 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23981 if (!SWIG_IsOK(ecode1
)) {
23982 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PostScriptDC_SetResolution" "', expected argument " "1"" of type '" "int""'");
23984 arg1
= static_cast< int >(val1
);
23986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23987 wxPostScriptDC::SetResolution(arg1
);
23988 wxPyEndAllowThreads(__tstate
);
23989 if (PyErr_Occurred()) SWIG_fail
;
23991 resultobj
= SWIG_Py_Void();
23998 SWIGINTERN PyObject
*_wrap_PostScriptDC_GetResolution(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23999 PyObject
*resultobj
= 0;
24002 if (!SWIG_Python_UnpackTuple(args
,"PostScriptDC_GetResolution",0,0,0)) SWIG_fail
;
24004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24005 result
= (int)wxPostScriptDC::GetResolution();
24006 wxPyEndAllowThreads(__tstate
);
24007 if (PyErr_Occurred()) SWIG_fail
;
24009 resultobj
= SWIG_From_int(static_cast< int >(result
));
24016 SWIGINTERN PyObject
*PostScriptDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24018 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24019 SWIG_TypeNewClientData(SWIGTYPE_p_wxPostScriptDC
, SWIG_NewClientData(obj
));
24020 return SWIG_Py_Void();
24023 SWIGINTERN PyObject
*PostScriptDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24024 return SWIG_Python_InitShadowInstance(args
);
24027 SWIGINTERN PyObject
*_wrap_new_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24028 PyObject
*resultobj
= 0;
24029 wxString
const &arg1_defvalue
= wxPyEmptyString
;
24030 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24031 wxMetaFile
*result
= 0 ;
24032 bool temp1
= false ;
24033 PyObject
* obj0
= 0 ;
24034 char * kwnames
[] = {
24035 (char *) "filename", NULL
24038 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MetaFile",kwnames
,&obj0
)) SWIG_fail
;
24041 arg1
= wxString_in_helper(obj0
);
24042 if (arg1
== NULL
) SWIG_fail
;
24047 if (!wxPyCheckForApp()) SWIG_fail
;
24048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24049 result
= (wxMetaFile
*)new wxMetaFile((wxString
const &)*arg1
);
24050 wxPyEndAllowThreads(__tstate
);
24051 if (PyErr_Occurred()) SWIG_fail
;
24053 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_NEW
| 0 );
24068 SWIGINTERN PyObject
*_wrap_delete_MetaFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24069 PyObject
*resultobj
= 0;
24070 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
24073 PyObject
*swig_obj
[1] ;
24075 if (!args
) SWIG_fail
;
24076 swig_obj
[0] = args
;
24077 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, SWIG_POINTER_DISOWN
| 0 );
24078 if (!SWIG_IsOK(res1
)) {
24079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MetaFile" "', expected argument " "1"" of type '" "wxMetaFile *""'");
24081 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
24083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24086 wxPyEndAllowThreads(__tstate
);
24087 if (PyErr_Occurred()) SWIG_fail
;
24089 resultobj
= SWIG_Py_Void();
24096 SWIGINTERN PyObject
*_wrap_MetaFile_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24097 PyObject
*resultobj
= 0;
24098 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
24102 PyObject
*swig_obj
[1] ;
24104 if (!args
) SWIG_fail
;
24105 swig_obj
[0] = args
;
24106 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
24107 if (!SWIG_IsOK(res1
)) {
24108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_IsOk" "', expected argument " "1"" of type '" "wxMetaFile *""'");
24110 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
24112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24113 result
= (bool)(arg1
)->IsOk();
24114 wxPyEndAllowThreads(__tstate
);
24115 if (PyErr_Occurred()) SWIG_fail
;
24118 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24126 SWIGINTERN PyObject
*_wrap_MetaFile_SetClipboard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24127 PyObject
*resultobj
= 0;
24128 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
24129 int arg2
= (int) 0 ;
24130 int arg3
= (int) 0 ;
24138 PyObject
* obj0
= 0 ;
24139 PyObject
* obj1
= 0 ;
24140 PyObject
* obj2
= 0 ;
24141 char * kwnames
[] = {
24142 (char *) "self",(char *) "width",(char *) "height", NULL
24145 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MetaFile_SetClipboard",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24146 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
24147 if (!SWIG_IsOK(res1
)) {
24148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_SetClipboard" "', expected argument " "1"" of type '" "wxMetaFile *""'");
24150 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
24152 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24153 if (!SWIG_IsOK(ecode2
)) {
24154 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MetaFile_SetClipboard" "', expected argument " "2"" of type '" "int""'");
24156 arg2
= static_cast< int >(val2
);
24159 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24160 if (!SWIG_IsOK(ecode3
)) {
24161 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MetaFile_SetClipboard" "', expected argument " "3"" of type '" "int""'");
24163 arg3
= static_cast< int >(val3
);
24166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24167 result
= (bool)(arg1
)->SetClipboard(arg2
,arg3
);
24168 wxPyEndAllowThreads(__tstate
);
24169 if (PyErr_Occurred()) SWIG_fail
;
24172 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24180 SWIGINTERN PyObject
*_wrap_MetaFile_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24181 PyObject
*resultobj
= 0;
24182 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
24186 PyObject
*swig_obj
[1] ;
24188 if (!args
) SWIG_fail
;
24189 swig_obj
[0] = args
;
24190 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
24191 if (!SWIG_IsOK(res1
)) {
24192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetSize" "', expected argument " "1"" of type '" "wxMetaFile *""'");
24194 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
24196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24197 result
= (arg1
)->GetSize();
24198 wxPyEndAllowThreads(__tstate
);
24199 if (PyErr_Occurred()) SWIG_fail
;
24201 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
24208 SWIGINTERN PyObject
*_wrap_MetaFile_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24209 PyObject
*resultobj
= 0;
24210 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
24214 PyObject
*swig_obj
[1] ;
24216 if (!args
) SWIG_fail
;
24217 swig_obj
[0] = args
;
24218 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
24219 if (!SWIG_IsOK(res1
)) {
24220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetWidth" "', expected argument " "1"" of type '" "wxMetaFile *""'");
24222 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
24224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24225 result
= (int)(arg1
)->GetWidth();
24226 wxPyEndAllowThreads(__tstate
);
24227 if (PyErr_Occurred()) SWIG_fail
;
24229 resultobj
= SWIG_From_int(static_cast< int >(result
));
24236 SWIGINTERN PyObject
*_wrap_MetaFile_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24237 PyObject
*resultobj
= 0;
24238 wxMetaFile
*arg1
= (wxMetaFile
*) 0 ;
24242 PyObject
*swig_obj
[1] ;
24244 if (!args
) SWIG_fail
;
24245 swig_obj
[0] = args
;
24246 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFile
, 0 | 0 );
24247 if (!SWIG_IsOK(res1
)) {
24248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFile_GetHeight" "', expected argument " "1"" of type '" "wxMetaFile *""'");
24250 arg1
= reinterpret_cast< wxMetaFile
* >(argp1
);
24252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24253 result
= (int)(arg1
)->GetHeight();
24254 wxPyEndAllowThreads(__tstate
);
24255 if (PyErr_Occurred()) SWIG_fail
;
24257 resultobj
= SWIG_From_int(static_cast< int >(result
));
24264 SWIGINTERN PyObject
*MetaFile_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24266 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24267 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFile
, SWIG_NewClientData(obj
));
24268 return SWIG_Py_Void();
24271 SWIGINTERN PyObject
*MetaFile_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24272 return SWIG_Python_InitShadowInstance(args
);
24275 SWIGINTERN PyObject
*_wrap_new_MetaFileDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24276 PyObject
*resultobj
= 0;
24277 wxString
const &arg1_defvalue
= wxPyEmptyString
;
24278 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24279 int arg2
= (int) 0 ;
24280 int arg3
= (int) 0 ;
24281 wxString
const &arg4_defvalue
= wxPyEmptyString
;
24282 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
24283 wxMetaFileDC
*result
= 0 ;
24284 bool temp1
= false ;
24289 bool temp4
= false ;
24290 PyObject
* obj0
= 0 ;
24291 PyObject
* obj1
= 0 ;
24292 PyObject
* obj2
= 0 ;
24293 PyObject
* obj3
= 0 ;
24294 char * kwnames
[] = {
24295 (char *) "filename",(char *) "width",(char *) "height",(char *) "description", NULL
24298 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_MetaFileDC",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24301 arg1
= wxString_in_helper(obj0
);
24302 if (arg1
== NULL
) SWIG_fail
;
24307 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24308 if (!SWIG_IsOK(ecode2
)) {
24309 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MetaFileDC" "', expected argument " "2"" of type '" "int""'");
24311 arg2
= static_cast< int >(val2
);
24314 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24315 if (!SWIG_IsOK(ecode3
)) {
24316 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_MetaFileDC" "', expected argument " "3"" of type '" "int""'");
24318 arg3
= static_cast< int >(val3
);
24322 arg4
= wxString_in_helper(obj3
);
24323 if (arg4
== NULL
) SWIG_fail
;
24328 if (!wxPyCheckForApp()) SWIG_fail
;
24329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24330 result
= (wxMetaFileDC
*)new wxMetaFileDC((wxString
const &)*arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
24331 wxPyEndAllowThreads(__tstate
);
24332 if (PyErr_Occurred()) SWIG_fail
;
24334 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFileDC
, SWIG_POINTER_NEW
| 0 );
24357 SWIGINTERN PyObject
*_wrap_MetaFileDC_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24358 PyObject
*resultobj
= 0;
24359 wxMetaFileDC
*arg1
= (wxMetaFileDC
*) 0 ;
24360 wxMetaFile
*result
= 0 ;
24363 PyObject
*swig_obj
[1] ;
24365 if (!args
) SWIG_fail
;
24366 swig_obj
[0] = args
;
24367 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMetaFileDC
, 0 | 0 );
24368 if (!SWIG_IsOK(res1
)) {
24369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MetaFileDC_Close" "', expected argument " "1"" of type '" "wxMetaFileDC *""'");
24371 arg1
= reinterpret_cast< wxMetaFileDC
* >(argp1
);
24373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24374 result
= (wxMetaFile
*)(arg1
)->Close();
24375 wxPyEndAllowThreads(__tstate
);
24376 if (PyErr_Occurred()) SWIG_fail
;
24378 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMetaFile
, 0 | 0 );
24385 SWIGINTERN PyObject
*MetaFileDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24387 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24388 SWIG_TypeNewClientData(SWIGTYPE_p_wxMetaFileDC
, SWIG_NewClientData(obj
));
24389 return SWIG_Py_Void();
24392 SWIGINTERN PyObject
*MetaFileDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24393 return SWIG_Python_InitShadowInstance(args
);
24396 SWIGINTERN PyObject
*_wrap_new_PrinterDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24397 PyObject
*resultobj
= 0;
24398 wxPrintData
*arg1
= 0 ;
24399 wxPrinterDC
*result
= 0 ;
24402 PyObject
* obj0
= 0 ;
24403 char * kwnames
[] = {
24404 (char *) "printData", NULL
24407 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PrinterDC",kwnames
,&obj0
)) SWIG_fail
;
24408 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24409 if (!SWIG_IsOK(res1
)) {
24410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24413 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrinterDC" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24415 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24417 if (!wxPyCheckForApp()) SWIG_fail
;
24418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24419 result
= (wxPrinterDC
*)new wxPrinterDC((wxPrintData
const &)*arg1
);
24420 wxPyEndAllowThreads(__tstate
);
24421 if (PyErr_Occurred()) SWIG_fail
;
24423 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinterDC
, SWIG_POINTER_NEW
| 0 );
24430 SWIGINTERN PyObject
*PrinterDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24432 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24433 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinterDC
, SWIG_NewClientData(obj
));
24434 return SWIG_Py_Void();
24437 SWIGINTERN PyObject
*PrinterDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24438 return SWIG_Python_InitShadowInstance(args
);
24441 SWIGINTERN PyObject
*_wrap_delete_GraphicsPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24442 PyObject
*resultobj
= 0;
24443 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
24446 PyObject
*swig_obj
[1] ;
24448 if (!args
) SWIG_fail
;
24449 swig_obj
[0] = args
;
24450 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, SWIG_POINTER_DISOWN
| 0 );
24451 if (!SWIG_IsOK(res1
)) {
24452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsPath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
24454 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
24458 if (PyErr_Occurred()) SWIG_fail
;
24460 resultobj
= SWIG_Py_Void();
24467 SWIGINTERN PyObject
*_wrap_GraphicsPath_MoveToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24468 PyObject
*resultobj
= 0;
24469 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
24478 PyObject
* obj0
= 0 ;
24479 PyObject
* obj1
= 0 ;
24480 PyObject
* obj2
= 0 ;
24481 char * kwnames
[] = {
24482 (char *) "self",(char *) "x",(char *) "y", NULL
24485 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsPath_MoveToPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24486 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
24487 if (!SWIG_IsOK(res1
)) {
24488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
24490 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
24491 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
24492 if (!SWIG_IsOK(ecode2
)) {
24493 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
24495 arg2
= static_cast< wxDouble
>(val2
);
24496 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
24497 if (!SWIG_IsOK(ecode3
)) {
24498 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_MoveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
24500 arg3
= static_cast< wxDouble
>(val3
);
24502 (arg1
)->MoveToPoint(arg2
,arg3
);
24503 if (PyErr_Occurred()) SWIG_fail
;
24505 resultobj
= SWIG_Py_Void();
24512 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddLineToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24513 PyObject
*resultobj
= 0;
24514 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
24523 PyObject
* obj0
= 0 ;
24524 PyObject
* obj1
= 0 ;
24525 PyObject
* obj2
= 0 ;
24526 char * kwnames
[] = {
24527 (char *) "self",(char *) "x",(char *) "y", NULL
24530 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsPath_AddLineToPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24531 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
24532 if (!SWIG_IsOK(res1
)) {
24533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
24535 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
24536 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
24537 if (!SWIG_IsOK(ecode2
)) {
24538 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
24540 arg2
= static_cast< wxDouble
>(val2
);
24541 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
24542 if (!SWIG_IsOK(ecode3
)) {
24543 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddLineToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
24545 arg3
= static_cast< wxDouble
>(val3
);
24547 (arg1
)->AddLineToPoint(arg2
,arg3
);
24548 if (PyErr_Occurred()) SWIG_fail
;
24550 resultobj
= SWIG_Py_Void();
24557 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCurveToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24558 PyObject
*resultobj
= 0;
24559 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
24580 PyObject
* obj0
= 0 ;
24581 PyObject
* obj1
= 0 ;
24582 PyObject
* obj2
= 0 ;
24583 PyObject
* obj3
= 0 ;
24584 PyObject
* obj4
= 0 ;
24585 PyObject
* obj5
= 0 ;
24586 PyObject
* obj6
= 0 ;
24587 char * kwnames
[] = {
24588 (char *) "self",(char *) "cx1",(char *) "cy1",(char *) "cx2",(char *) "cy2",(char *) "x",(char *) "y", NULL
24591 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsPath_AddCurveToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
24592 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
24593 if (!SWIG_IsOK(res1
)) {
24594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
24596 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
24597 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
24598 if (!SWIG_IsOK(ecode2
)) {
24599 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
24601 arg2
= static_cast< wxDouble
>(val2
);
24602 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
24603 if (!SWIG_IsOK(ecode3
)) {
24604 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
24606 arg3
= static_cast< wxDouble
>(val3
);
24607 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
24608 if (!SWIG_IsOK(ecode4
)) {
24609 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
24611 arg4
= static_cast< wxDouble
>(val4
);
24612 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
24613 if (!SWIG_IsOK(ecode5
)) {
24614 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
24616 arg5
= static_cast< wxDouble
>(val5
);
24617 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
24618 if (!SWIG_IsOK(ecode6
)) {
24619 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "6"" of type '" "wxDouble""'");
24621 arg6
= static_cast< wxDouble
>(val6
);
24622 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
24623 if (!SWIG_IsOK(ecode7
)) {
24624 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddCurveToPoint" "', expected argument " "7"" of type '" "wxDouble""'");
24626 arg7
= static_cast< wxDouble
>(val7
);
24628 (arg1
)->AddCurveToPoint(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
24629 if (PyErr_Occurred()) SWIG_fail
;
24631 resultobj
= SWIG_Py_Void();
24638 SWIGINTERN PyObject
*_wrap_GraphicsPath_CloseSubpath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24639 PyObject
*resultobj
= 0;
24640 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
24643 PyObject
*swig_obj
[1] ;
24645 if (!args
) SWIG_fail
;
24646 swig_obj
[0] = args
;
24647 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
24648 if (!SWIG_IsOK(res1
)) {
24649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_CloseSubpath" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
24651 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
24653 (arg1
)->CloseSubpath();
24654 if (PyErr_Occurred()) SWIG_fail
;
24656 resultobj
= SWIG_Py_Void();
24663 SWIGINTERN PyObject
*_wrap_GraphicsPath_GetCurrentPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24664 PyObject
*resultobj
= 0;
24665 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
24669 PyObject
*swig_obj
[1] ;
24671 if (!args
) SWIG_fail
;
24672 swig_obj
[0] = args
;
24673 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
24674 if (!SWIG_IsOK(res1
)) {
24675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_GetCurrentPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
24677 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
24679 result
= (arg1
)->GetCurrentPoint();
24680 if (PyErr_Occurred()) SWIG_fail
;
24682 resultobj
= SWIG_NewPointerObj((new wxPoint2D(static_cast< const wxPoint2D
& >(result
))), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
24689 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24690 PyObject
*resultobj
= 0;
24691 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
24712 PyObject
* obj0
= 0 ;
24713 PyObject
* obj1
= 0 ;
24714 PyObject
* obj2
= 0 ;
24715 PyObject
* obj3
= 0 ;
24716 PyObject
* obj4
= 0 ;
24717 PyObject
* obj5
= 0 ;
24718 PyObject
* obj6
= 0 ;
24719 char * kwnames
[] = {
24720 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "startAngle",(char *) "endAngle",(char *) "clockwise", NULL
24723 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsPath_AddArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
24724 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
24725 if (!SWIG_IsOK(res1
)) {
24726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArc" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
24728 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
24729 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
24730 if (!SWIG_IsOK(ecode2
)) {
24731 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArc" "', expected argument " "2"" of type '" "wxDouble""'");
24733 arg2
= static_cast< wxDouble
>(val2
);
24734 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
24735 if (!SWIG_IsOK(ecode3
)) {
24736 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArc" "', expected argument " "3"" of type '" "wxDouble""'");
24738 arg3
= static_cast< wxDouble
>(val3
);
24739 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
24740 if (!SWIG_IsOK(ecode4
)) {
24741 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArc" "', expected argument " "4"" of type '" "wxDouble""'");
24743 arg4
= static_cast< wxDouble
>(val4
);
24744 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
24745 if (!SWIG_IsOK(ecode5
)) {
24746 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArc" "', expected argument " "5"" of type '" "wxDouble""'");
24748 arg5
= static_cast< wxDouble
>(val5
);
24749 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
24750 if (!SWIG_IsOK(ecode6
)) {
24751 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArc" "', expected argument " "6"" of type '" "wxDouble""'");
24753 arg6
= static_cast< wxDouble
>(val6
);
24754 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
24755 if (!SWIG_IsOK(ecode7
)) {
24756 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GraphicsPath_AddArc" "', expected argument " "7"" of type '" "bool""'");
24758 arg7
= static_cast< bool >(val7
);
24760 (arg1
)->AddArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
24761 if (PyErr_Occurred()) SWIG_fail
;
24763 resultobj
= SWIG_Py_Void();
24770 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddQuadCurveToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24771 PyObject
*resultobj
= 0;
24772 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
24787 PyObject
* obj0
= 0 ;
24788 PyObject
* obj1
= 0 ;
24789 PyObject
* obj2
= 0 ;
24790 PyObject
* obj3
= 0 ;
24791 PyObject
* obj4
= 0 ;
24792 char * kwnames
[] = {
24793 (char *) "self",(char *) "cx",(char *) "cy",(char *) "x",(char *) "y", NULL
24796 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddQuadCurveToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
24797 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
24798 if (!SWIG_IsOK(res1
)) {
24799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
24801 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
24802 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
24803 if (!SWIG_IsOK(ecode2
)) {
24804 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
24806 arg2
= static_cast< wxDouble
>(val2
);
24807 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
24808 if (!SWIG_IsOK(ecode3
)) {
24809 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
24811 arg3
= static_cast< wxDouble
>(val3
);
24812 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
24813 if (!SWIG_IsOK(ecode4
)) {
24814 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
24816 arg4
= static_cast< wxDouble
>(val4
);
24817 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
24818 if (!SWIG_IsOK(ecode5
)) {
24819 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddQuadCurveToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
24821 arg5
= static_cast< wxDouble
>(val5
);
24823 (arg1
)->AddQuadCurveToPoint(arg2
,arg3
,arg4
,arg5
);
24824 if (PyErr_Occurred()) SWIG_fail
;
24826 resultobj
= SWIG_Py_Void();
24833 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24834 PyObject
*resultobj
= 0;
24835 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
24850 PyObject
* obj0
= 0 ;
24851 PyObject
* obj1
= 0 ;
24852 PyObject
* obj2
= 0 ;
24853 PyObject
* obj3
= 0 ;
24854 PyObject
* obj4
= 0 ;
24855 char * kwnames
[] = {
24856 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
24859 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsPath_AddRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
24860 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
24861 if (!SWIG_IsOK(res1
)) {
24862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
24864 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
24865 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
24866 if (!SWIG_IsOK(ecode2
)) {
24867 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
24869 arg2
= static_cast< wxDouble
>(val2
);
24870 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
24871 if (!SWIG_IsOK(ecode3
)) {
24872 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
24874 arg3
= static_cast< wxDouble
>(val3
);
24875 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
24876 if (!SWIG_IsOK(ecode4
)) {
24877 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
24879 arg4
= static_cast< wxDouble
>(val4
);
24880 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
24881 if (!SWIG_IsOK(ecode5
)) {
24882 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
24884 arg5
= static_cast< wxDouble
>(val5
);
24886 (arg1
)->AddRectangle(arg2
,arg3
,arg4
,arg5
);
24887 if (PyErr_Occurred()) SWIG_fail
;
24889 resultobj
= SWIG_Py_Void();
24896 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24897 PyObject
*resultobj
= 0;
24898 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
24910 PyObject
* obj0
= 0 ;
24911 PyObject
* obj1
= 0 ;
24912 PyObject
* obj2
= 0 ;
24913 PyObject
* obj3
= 0 ;
24914 char * kwnames
[] = {
24915 (char *) "self",(char *) "x",(char *) "y",(char *) "r", NULL
24918 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GraphicsPath_AddCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24919 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
24920 if (!SWIG_IsOK(res1
)) {
24921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
24923 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
24924 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
24925 if (!SWIG_IsOK(ecode2
)) {
24926 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "2"" of type '" "wxDouble""'");
24928 arg2
= static_cast< wxDouble
>(val2
);
24929 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
24930 if (!SWIG_IsOK(ecode3
)) {
24931 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "3"" of type '" "wxDouble""'");
24933 arg3
= static_cast< wxDouble
>(val3
);
24934 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
24935 if (!SWIG_IsOK(ecode4
)) {
24936 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddCircle" "', expected argument " "4"" of type '" "wxDouble""'");
24938 arg4
= static_cast< wxDouble
>(val4
);
24940 (arg1
)->AddCircle(arg2
,arg3
,arg4
);
24941 if (PyErr_Occurred()) SWIG_fail
;
24943 resultobj
= SWIG_Py_Void();
24950 SWIGINTERN PyObject
*_wrap_GraphicsPath_AddArcToPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24951 PyObject
*resultobj
= 0;
24952 wxGraphicsPath
*arg1
= (wxGraphicsPath
*) 0 ;
24970 PyObject
* obj0
= 0 ;
24971 PyObject
* obj1
= 0 ;
24972 PyObject
* obj2
= 0 ;
24973 PyObject
* obj3
= 0 ;
24974 PyObject
* obj4
= 0 ;
24975 PyObject
* obj5
= 0 ;
24976 char * kwnames
[] = {
24977 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "r", NULL
24980 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsPath_AddArcToPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
24981 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
24982 if (!SWIG_IsOK(res1
)) {
24983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "1"" of type '" "wxGraphicsPath *""'");
24985 arg1
= reinterpret_cast< wxGraphicsPath
* >(argp1
);
24986 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
24987 if (!SWIG_IsOK(ecode2
)) {
24988 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "2"" of type '" "wxDouble""'");
24990 arg2
= static_cast< wxDouble
>(val2
);
24991 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
24992 if (!SWIG_IsOK(ecode3
)) {
24993 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "3"" of type '" "wxDouble""'");
24995 arg3
= static_cast< wxDouble
>(val3
);
24996 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
24997 if (!SWIG_IsOK(ecode4
)) {
24998 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "4"" of type '" "wxDouble""'");
25000 arg4
= static_cast< wxDouble
>(val4
);
25001 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
25002 if (!SWIG_IsOK(ecode5
)) {
25003 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "5"" of type '" "wxDouble""'");
25005 arg5
= static_cast< wxDouble
>(val5
);
25006 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
25007 if (!SWIG_IsOK(ecode6
)) {
25008 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsPath_AddArcToPoint" "', expected argument " "6"" of type '" "wxDouble""'");
25010 arg6
= static_cast< wxDouble
>(val6
);
25012 (arg1
)->AddArcToPoint(arg2
,arg3
,arg4
,arg5
,arg6
);
25013 if (PyErr_Occurred()) SWIG_fail
;
25015 resultobj
= SWIG_Py_Void();
25022 SWIGINTERN PyObject
*GraphicsPath_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25024 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25025 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsPath
, SWIG_NewClientData(obj
));
25026 return SWIG_Py_Void();
25029 SWIGINTERN PyObject
*_wrap_delete_GraphicsContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25030 PyObject
*resultobj
= 0;
25031 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25034 PyObject
*swig_obj
[1] ;
25036 if (!args
) SWIG_fail
;
25037 swig_obj
[0] = args
;
25038 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, SWIG_POINTER_DISOWN
| 0 );
25039 if (!SWIG_IsOK(res1
)) {
25040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GraphicsContext" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25042 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25046 if (PyErr_Occurred()) SWIG_fail
;
25048 resultobj
= SWIG_Py_Void();
25055 SWIGINTERN PyObject
*_wrap_GraphicsContext_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25056 PyObject
*resultobj
= 0;
25057 wxWindowDC
*arg1
= 0 ;
25058 wxGraphicsContext
*result
= 0 ;
25061 PyObject
* obj0
= 0 ;
25062 char * kwnames
[] = {
25063 (char *) "dc", NULL
25066 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GraphicsContext_Create",kwnames
,&obj0
)) SWIG_fail
;
25067 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
25068 if (!SWIG_IsOK(res1
)) {
25069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
25072 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_Create" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
25074 arg1
= reinterpret_cast< wxWindowDC
* >(argp1
);
25076 result
= (wxGraphicsContext
*)wxGraphicsContext::Create((wxWindowDC
const &)*arg1
);
25077 if (PyErr_Occurred()) SWIG_fail
;
25079 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25086 SWIGINTERN PyObject
*_wrap_GraphicsContext_CreatePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25087 PyObject
*resultobj
= 0;
25088 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25089 wxGraphicsPath
*result
= 0 ;
25092 PyObject
*swig_obj
[1] ;
25094 if (!args
) SWIG_fail
;
25095 swig_obj
[0] = args
;
25096 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25097 if (!SWIG_IsOK(res1
)) {
25098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_CreatePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25100 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25102 result
= (wxGraphicsPath
*)(arg1
)->CreatePath();
25103 if (PyErr_Occurred()) SWIG_fail
;
25105 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25112 SWIGINTERN PyObject
*_wrap_GraphicsContext_PushState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25113 PyObject
*resultobj
= 0;
25114 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25117 PyObject
*swig_obj
[1] ;
25119 if (!args
) SWIG_fail
;
25120 swig_obj
[0] = args
;
25121 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25122 if (!SWIG_IsOK(res1
)) {
25123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_PushState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25125 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25127 (arg1
)->PushState();
25128 if (PyErr_Occurred()) SWIG_fail
;
25130 resultobj
= SWIG_Py_Void();
25137 SWIGINTERN PyObject
*_wrap_GraphicsContext_PopState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25138 PyObject
*resultobj
= 0;
25139 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25142 PyObject
*swig_obj
[1] ;
25144 if (!args
) SWIG_fail
;
25145 swig_obj
[0] = args
;
25146 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25147 if (!SWIG_IsOK(res1
)) {
25148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_PopState" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25150 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25152 (arg1
)->PopState();
25153 if (PyErr_Occurred()) SWIG_fail
;
25155 resultobj
= SWIG_Py_Void();
25162 SWIGINTERN PyObject
*_wrap_GraphicsContext_Clip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25163 PyObject
*resultobj
= 0;
25164 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25165 wxRegion
*arg2
= 0 ;
25170 PyObject
* obj0
= 0 ;
25171 PyObject
* obj1
= 0 ;
25172 char * kwnames
[] = {
25173 (char *) "self",(char *) "region", NULL
25176 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_Clip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25177 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25178 if (!SWIG_IsOK(res1
)) {
25179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Clip" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25181 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25182 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
25183 if (!SWIG_IsOK(res2
)) {
25184 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_Clip" "', expected argument " "2"" of type '" "wxRegion const &""'");
25187 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_Clip" "', expected argument " "2"" of type '" "wxRegion const &""'");
25189 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
25191 (arg1
)->Clip((wxRegion
const &)*arg2
);
25192 if (PyErr_Occurred()) SWIG_fail
;
25194 resultobj
= SWIG_Py_Void();
25201 SWIGINTERN PyObject
*_wrap_GraphicsContext_Translate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25202 PyObject
*resultobj
= 0;
25203 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25212 PyObject
* obj0
= 0 ;
25213 PyObject
* obj1
= 0 ;
25214 PyObject
* obj2
= 0 ;
25215 char * kwnames
[] = {
25216 (char *) "self",(char *) "dx",(char *) "dy", NULL
25219 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Translate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25220 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25221 if (!SWIG_IsOK(res1
)) {
25222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Translate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25224 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25225 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25226 if (!SWIG_IsOK(ecode2
)) {
25227 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Translate" "', expected argument " "2"" of type '" "wxDouble""'");
25229 arg2
= static_cast< wxDouble
>(val2
);
25230 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25231 if (!SWIG_IsOK(ecode3
)) {
25232 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Translate" "', expected argument " "3"" of type '" "wxDouble""'");
25234 arg3
= static_cast< wxDouble
>(val3
);
25236 (arg1
)->Translate(arg2
,arg3
);
25237 if (PyErr_Occurred()) SWIG_fail
;
25239 resultobj
= SWIG_Py_Void();
25246 SWIGINTERN PyObject
*_wrap_GraphicsContext_Scale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25247 PyObject
*resultobj
= 0;
25248 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25257 PyObject
* obj0
= 0 ;
25258 PyObject
* obj1
= 0 ;
25259 PyObject
* obj2
= 0 ;
25260 char * kwnames
[] = {
25261 (char *) "self",(char *) "xScale",(char *) "yScale", NULL
25264 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25265 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25266 if (!SWIG_IsOK(res1
)) {
25267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Scale" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25269 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25270 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25271 if (!SWIG_IsOK(ecode2
)) {
25272 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Scale" "', expected argument " "2"" of type '" "wxDouble""'");
25274 arg2
= static_cast< wxDouble
>(val2
);
25275 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25276 if (!SWIG_IsOK(ecode3
)) {
25277 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_Scale" "', expected argument " "3"" of type '" "wxDouble""'");
25279 arg3
= static_cast< wxDouble
>(val3
);
25281 (arg1
)->Scale(arg2
,arg3
);
25282 if (PyErr_Occurred()) SWIG_fail
;
25284 resultobj
= SWIG_Py_Void();
25291 SWIGINTERN PyObject
*_wrap_GraphicsContext_Rotate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25292 PyObject
*resultobj
= 0;
25293 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25299 PyObject
* obj0
= 0 ;
25300 PyObject
* obj1
= 0 ;
25301 char * kwnames
[] = {
25302 (char *) "self",(char *) "angle", NULL
25305 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_Rotate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25306 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25307 if (!SWIG_IsOK(res1
)) {
25308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_Rotate" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25310 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25311 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25312 if (!SWIG_IsOK(ecode2
)) {
25313 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_Rotate" "', expected argument " "2"" of type '" "wxDouble""'");
25315 arg2
= static_cast< wxDouble
>(val2
);
25317 (arg1
)->Rotate(arg2
);
25318 if (PyErr_Occurred()) SWIG_fail
;
25320 resultobj
= SWIG_Py_Void();
25327 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25328 PyObject
*resultobj
= 0;
25329 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25335 PyObject
* obj0
= 0 ;
25336 PyObject
* obj1
= 0 ;
25337 char * kwnames
[] = {
25338 (char *) "self",(char *) "pen", NULL
25341 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25342 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25343 if (!SWIG_IsOK(res1
)) {
25344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetPen" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25346 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25347 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
25348 if (!SWIG_IsOK(res2
)) {
25349 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
25352 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
25354 arg2
= reinterpret_cast< wxPen
* >(argp2
);
25356 (arg1
)->SetPen((wxPen
const &)*arg2
);
25357 if (PyErr_Occurred()) SWIG_fail
;
25359 resultobj
= SWIG_Py_Void();
25366 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25367 PyObject
*resultobj
= 0;
25368 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25369 wxBrush
*arg2
= 0 ;
25374 PyObject
* obj0
= 0 ;
25375 PyObject
* obj1
= 0 ;
25376 char * kwnames
[] = {
25377 (char *) "self",(char *) "brush", NULL
25380 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25381 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25382 if (!SWIG_IsOK(res1
)) {
25383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25385 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25386 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
25387 if (!SWIG_IsOK(res2
)) {
25388 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
25391 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
25393 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
25395 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
25396 if (PyErr_Occurred()) SWIG_fail
;
25398 resultobj
= SWIG_Py_Void();
25405 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetLinearGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25406 PyObject
*resultobj
= 0;
25407 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25412 wxColour
*arg6
= 0 ;
25413 wxColour
*arg7
= 0 ;
25426 PyObject
* obj0
= 0 ;
25427 PyObject
* obj1
= 0 ;
25428 PyObject
* obj2
= 0 ;
25429 PyObject
* obj3
= 0 ;
25430 PyObject
* obj4
= 0 ;
25431 PyObject
* obj5
= 0 ;
25432 PyObject
* obj6
= 0 ;
25433 char * kwnames
[] = {
25434 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "c1",(char *) "c2", NULL
25437 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:GraphicsContext_SetLinearGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
25438 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25439 if (!SWIG_IsOK(res1
)) {
25440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetLinearGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25442 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25443 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25444 if (!SWIG_IsOK(ecode2
)) {
25445 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_SetLinearGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
25447 arg2
= static_cast< wxDouble
>(val2
);
25448 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25449 if (!SWIG_IsOK(ecode3
)) {
25450 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_SetLinearGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
25452 arg3
= static_cast< wxDouble
>(val3
);
25453 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
25454 if (!SWIG_IsOK(ecode4
)) {
25455 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_SetLinearGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
25457 arg4
= static_cast< wxDouble
>(val4
);
25458 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
25459 if (!SWIG_IsOK(ecode5
)) {
25460 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_SetLinearGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
25462 arg5
= static_cast< wxDouble
>(val5
);
25465 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
25469 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
25472 (arg1
)->SetLinearGradientBrush(arg2
,arg3
,arg4
,arg5
,(wxColour
const &)*arg6
,(wxColour
const &)*arg7
);
25473 if (PyErr_Occurred()) SWIG_fail
;
25475 resultobj
= SWIG_Py_Void();
25482 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetRadialGradientBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25483 PyObject
*resultobj
= 0;
25484 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25490 wxColour
*arg7
= 0 ;
25491 wxColour
*arg8
= 0 ;
25506 PyObject
* obj0
= 0 ;
25507 PyObject
* obj1
= 0 ;
25508 PyObject
* obj2
= 0 ;
25509 PyObject
* obj3
= 0 ;
25510 PyObject
* obj4
= 0 ;
25511 PyObject
* obj5
= 0 ;
25512 PyObject
* obj6
= 0 ;
25513 PyObject
* obj7
= 0 ;
25514 char * kwnames
[] = {
25515 (char *) "self",(char *) "xo",(char *) "yo",(char *) "xc",(char *) "yc",(char *) "radius",(char *) "oColor",(char *) "cColor", NULL
25518 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOOO:GraphicsContext_SetRadialGradientBrush",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
25519 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25520 if (!SWIG_IsOK(res1
)) {
25521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetRadialGradientBrush" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25523 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25524 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
25525 if (!SWIG_IsOK(ecode2
)) {
25526 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_SetRadialGradientBrush" "', expected argument " "2"" of type '" "wxDouble""'");
25528 arg2
= static_cast< wxDouble
>(val2
);
25529 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25530 if (!SWIG_IsOK(ecode3
)) {
25531 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_SetRadialGradientBrush" "', expected argument " "3"" of type '" "wxDouble""'");
25533 arg3
= static_cast< wxDouble
>(val3
);
25534 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
25535 if (!SWIG_IsOK(ecode4
)) {
25536 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_SetRadialGradientBrush" "', expected argument " "4"" of type '" "wxDouble""'");
25538 arg4
= static_cast< wxDouble
>(val4
);
25539 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
25540 if (!SWIG_IsOK(ecode5
)) {
25541 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_SetRadialGradientBrush" "', expected argument " "5"" of type '" "wxDouble""'");
25543 arg5
= static_cast< wxDouble
>(val5
);
25544 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
25545 if (!SWIG_IsOK(ecode6
)) {
25546 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_SetRadialGradientBrush" "', expected argument " "6"" of type '" "wxDouble""'");
25548 arg6
= static_cast< wxDouble
>(val6
);
25551 if ( ! wxColour_helper(obj6
, &arg7
)) SWIG_fail
;
25555 if ( ! wxColour_helper(obj7
, &arg8
)) SWIG_fail
;
25558 (arg1
)->SetRadialGradientBrush(arg2
,arg3
,arg4
,arg5
,arg6
,(wxColour
const &)*arg7
,(wxColour
const &)*arg8
);
25559 if (PyErr_Occurred()) SWIG_fail
;
25561 resultobj
= SWIG_Py_Void();
25568 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25569 PyObject
*resultobj
= 0;
25570 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25576 PyObject
* obj0
= 0 ;
25577 PyObject
* obj1
= 0 ;
25578 char * kwnames
[] = {
25579 (char *) "self",(char *) "font", NULL
25582 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25583 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25584 if (!SWIG_IsOK(res1
)) {
25585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetFont" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25587 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25588 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
25589 if (!SWIG_IsOK(res2
)) {
25590 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
25593 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
25595 arg2
= reinterpret_cast< wxFont
* >(argp2
);
25597 (arg1
)->SetFont((wxFont
const &)*arg2
);
25598 if (PyErr_Occurred()) SWIG_fail
;
25600 resultobj
= SWIG_Py_Void();
25607 SWIGINTERN PyObject
*_wrap_GraphicsContext_SetTextColor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25608 PyObject
*resultobj
= 0;
25609 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25610 wxColour
*arg2
= 0 ;
25614 PyObject
* obj0
= 0 ;
25615 PyObject
* obj1
= 0 ;
25616 char * kwnames
[] = {
25617 (char *) "self",(char *) "col", NULL
25620 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_SetTextColor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25621 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25622 if (!SWIG_IsOK(res1
)) {
25623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_SetTextColor" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25625 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25628 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25631 (arg1
)->SetTextColor((wxColour
const &)*arg2
);
25632 if (PyErr_Occurred()) SWIG_fail
;
25634 resultobj
= SWIG_Py_Void();
25641 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25642 PyObject
*resultobj
= 0;
25643 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25644 wxGraphicsPath
*arg2
= (wxGraphicsPath
*) 0 ;
25649 PyObject
* obj0
= 0 ;
25650 PyObject
* obj1
= 0 ;
25651 char * kwnames
[] = {
25652 (char *) "self",(char *) "path", NULL
25655 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_StrokePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25656 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25657 if (!SWIG_IsOK(res1
)) {
25658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25660 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25661 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25662 if (!SWIG_IsOK(res2
)) {
25663 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_StrokePath" "', expected argument " "2"" of type '" "wxGraphicsPath const *""'");
25665 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
25667 (arg1
)->StrokePath((wxGraphicsPath
const *)arg2
);
25668 if (PyErr_Occurred()) SWIG_fail
;
25670 resultobj
= SWIG_Py_Void();
25677 SWIGINTERN PyObject
*_wrap_GraphicsContext_FillPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25678 PyObject
*resultobj
= 0;
25679 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25680 wxGraphicsPath
*arg2
= (wxGraphicsPath
*) 0 ;
25681 int arg3
= (int) wxWINDING_RULE
;
25688 PyObject
* obj0
= 0 ;
25689 PyObject
* obj1
= 0 ;
25690 PyObject
* obj2
= 0 ;
25691 char * kwnames
[] = {
25692 (char *) "self",(char *) "path",(char *) "fillStyle", NULL
25695 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_FillPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25696 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25697 if (!SWIG_IsOK(res1
)) {
25698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_FillPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25700 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25701 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25702 if (!SWIG_IsOK(res2
)) {
25703 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_FillPath" "', expected argument " "2"" of type '" "wxGraphicsPath const *""'");
25705 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
25707 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25708 if (!SWIG_IsOK(ecode3
)) {
25709 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_FillPath" "', expected argument " "3"" of type '" "int""'");
25711 arg3
= static_cast< int >(val3
);
25714 (arg1
)->FillPath((wxGraphicsPath
const *)arg2
,arg3
);
25715 if (PyErr_Occurred()) SWIG_fail
;
25717 resultobj
= SWIG_Py_Void();
25724 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25725 PyObject
*resultobj
= 0;
25726 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25727 wxGraphicsPath
*arg2
= (wxGraphicsPath
*) 0 ;
25728 int arg3
= (int) wxWINDING_RULE
;
25735 PyObject
* obj0
= 0 ;
25736 PyObject
* obj1
= 0 ;
25737 PyObject
* obj2
= 0 ;
25738 char * kwnames
[] = {
25739 (char *) "self",(char *) "path",(char *) "fillStyle", NULL
25742 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_DrawPath",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25743 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25744 if (!SWIG_IsOK(res1
)) {
25745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25747 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25748 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGraphicsPath
, 0 | 0 );
25749 if (!SWIG_IsOK(res2
)) {
25750 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "2"" of type '" "wxGraphicsPath const *""'");
25752 arg2
= reinterpret_cast< wxGraphicsPath
* >(argp2
);
25754 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25755 if (!SWIG_IsOK(ecode3
)) {
25756 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawPath" "', expected argument " "3"" of type '" "int""'");
25758 arg3
= static_cast< int >(val3
);
25761 (arg1
)->DrawPath((wxGraphicsPath
const *)arg2
,arg3
);
25762 if (PyErr_Occurred()) SWIG_fail
;
25764 resultobj
= SWIG_Py_Void();
25771 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25772 PyObject
*resultobj
= 0;
25773 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25774 wxString
*arg2
= 0 ;
25779 bool temp2
= false ;
25784 PyObject
* obj0
= 0 ;
25785 PyObject
* obj1
= 0 ;
25786 PyObject
* obj2
= 0 ;
25787 PyObject
* obj3
= 0 ;
25788 char * kwnames
[] = {
25789 (char *) "self",(char *) "str",(char *) "x",(char *) "y", NULL
25792 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:GraphicsContext_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
25793 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25794 if (!SWIG_IsOK(res1
)) {
25795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25797 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25799 arg2
= wxString_in_helper(obj1
);
25800 if (arg2
== NULL
) SWIG_fail
;
25803 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25804 if (!SWIG_IsOK(ecode3
)) {
25805 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawText" "', expected argument " "3"" of type '" "wxDouble""'");
25807 arg3
= static_cast< wxDouble
>(val3
);
25808 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
25809 if (!SWIG_IsOK(ecode4
)) {
25810 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawText" "', expected argument " "4"" of type '" "wxDouble""'");
25812 arg4
= static_cast< wxDouble
>(val4
);
25814 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
25815 if (PyErr_Occurred()) SWIG_fail
;
25817 resultobj
= SWIG_Py_Void();
25832 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25833 PyObject
*resultobj
= 0;
25834 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25835 wxString
*arg2
= 0 ;
25841 bool temp2
= false ;
25848 PyObject
* obj0
= 0 ;
25849 PyObject
* obj1
= 0 ;
25850 PyObject
* obj2
= 0 ;
25851 PyObject
* obj3
= 0 ;
25852 PyObject
* obj4
= 0 ;
25853 char * kwnames
[] = {
25854 (char *) "self",(char *) "str",(char *) "x",(char *) "y",(char *) "angle", NULL
25857 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
25858 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25859 if (!SWIG_IsOK(res1
)) {
25860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
25862 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25864 arg2
= wxString_in_helper(obj1
);
25865 if (arg2
== NULL
) SWIG_fail
;
25868 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
25869 if (!SWIG_IsOK(ecode3
)) {
25870 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "3"" of type '" "wxDouble""'");
25872 arg3
= static_cast< wxDouble
>(val3
);
25873 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
25874 if (!SWIG_IsOK(ecode4
)) {
25875 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "4"" of type '" "wxDouble""'");
25877 arg4
= static_cast< wxDouble
>(val4
);
25878 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
25879 if (!SWIG_IsOK(ecode5
)) {
25880 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRotatedText" "', expected argument " "5"" of type '" "wxDouble""'");
25882 arg5
= static_cast< wxDouble
>(val5
);
25884 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
25885 if (PyErr_Occurred()) SWIG_fail
;
25887 resultobj
= SWIG_Py_Void();
25902 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25903 PyObject
*resultobj
= 0;
25904 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25905 wxString
*arg2
= 0 ;
25906 wxDouble
*arg3
= (wxDouble
*) 0 ;
25907 wxDouble
*arg4
= (wxDouble
*) 0 ;
25908 wxDouble
*arg5
= (wxDouble
*) 0 ;
25909 wxDouble
*arg6
= (wxDouble
*) 0 ;
25912 bool temp2
= false ;
25914 int res3
= SWIG_TMPOBJ
;
25916 int res4
= SWIG_TMPOBJ
;
25918 int res5
= SWIG_TMPOBJ
;
25920 int res6
= SWIG_TMPOBJ
;
25921 PyObject
* obj0
= 0 ;
25922 PyObject
* obj1
= 0 ;
25923 char * kwnames
[] = {
25924 (char *) "self",(char *) "text", NULL
25931 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25932 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
25933 if (!SWIG_IsOK(res1
)) {
25934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetTextExtent" "', expected argument " "1"" of type '" "wxGraphicsContext const *""'");
25936 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
25938 arg2
= wxString_in_helper(obj1
);
25939 if (arg2
== NULL
) SWIG_fail
;
25943 ((wxGraphicsContext
const *)arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
25944 if (PyErr_Occurred()) SWIG_fail
;
25946 resultobj
= SWIG_Py_Void();
25947 if (SWIG_IsTmpObj(res3
)) {
25948 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg3
)));
25950 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25951 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_double
, new_flags
));
25953 if (SWIG_IsTmpObj(res4
)) {
25954 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg4
)));
25956 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25957 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_double
, new_flags
));
25959 if (SWIG_IsTmpObj(res5
)) {
25960 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg5
)));
25962 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25963 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_double
, new_flags
));
25965 if (SWIG_IsTmpObj(res6
)) {
25966 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_double((*arg6
)));
25968 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
25969 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_double
, new_flags
));
25985 SWIGINTERN PyObject
*_wrap_GraphicsContext_GetPartialTextExtents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25986 PyObject
*resultobj
= 0;
25987 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
25988 wxString
*arg2
= 0 ;
25989 wxArrayDouble result
;
25992 bool temp2
= false ;
25993 PyObject
* obj0
= 0 ;
25994 PyObject
* obj1
= 0 ;
25995 char * kwnames
[] = {
25996 (char *) "self",(char *) "text", NULL
25999 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_GetPartialTextExtents",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26000 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26001 if (!SWIG_IsOK(res1
)) {
26002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_GetPartialTextExtents" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26004 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26006 arg2
= wxString_in_helper(obj1
);
26007 if (arg2
== NULL
) SWIG_fail
;
26011 result
= wxGraphicsContext_GetPartialTextExtents(arg1
,(wxString
const &)*arg2
);
26012 if (PyErr_Occurred()) SWIG_fail
;
26015 resultobj
= wxArrayDouble2PyList_helper(result
);
26031 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26032 PyObject
*resultobj
= 0;
26033 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26034 wxBitmap
*arg2
= 0 ;
26051 PyObject
* obj0
= 0 ;
26052 PyObject
* obj1
= 0 ;
26053 PyObject
* obj2
= 0 ;
26054 PyObject
* obj3
= 0 ;
26055 PyObject
* obj4
= 0 ;
26056 PyObject
* obj5
= 0 ;
26057 char * kwnames
[] = {
26058 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
26061 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
26062 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26063 if (!SWIG_IsOK(res1
)) {
26064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26066 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26067 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
26068 if (!SWIG_IsOK(res2
)) {
26069 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
26072 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
26074 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
26075 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26076 if (!SWIG_IsOK(ecode3
)) {
26077 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "3"" of type '" "wxDouble""'");
26079 arg3
= static_cast< wxDouble
>(val3
);
26080 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26081 if (!SWIG_IsOK(ecode4
)) {
26082 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "4"" of type '" "wxDouble""'");
26084 arg4
= static_cast< wxDouble
>(val4
);
26085 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26086 if (!SWIG_IsOK(ecode5
)) {
26087 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "5"" of type '" "wxDouble""'");
26089 arg5
= static_cast< wxDouble
>(val5
);
26090 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
26091 if (!SWIG_IsOK(ecode6
)) {
26092 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawBitmap" "', expected argument " "6"" of type '" "wxDouble""'");
26094 arg6
= static_cast< wxDouble
>(val6
);
26096 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
26097 if (PyErr_Occurred()) SWIG_fail
;
26099 resultobj
= SWIG_Py_Void();
26106 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26107 PyObject
*resultobj
= 0;
26108 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26126 PyObject
* obj0
= 0 ;
26127 PyObject
* obj1
= 0 ;
26128 PyObject
* obj2
= 0 ;
26129 PyObject
* obj3
= 0 ;
26130 PyObject
* obj4
= 0 ;
26131 PyObject
* obj5
= 0 ;
26132 char * kwnames
[] = {
26133 (char *) "self",(char *) "icon",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
26136 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
26137 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26138 if (!SWIG_IsOK(res1
)) {
26139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26141 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26142 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
26143 if (!SWIG_IsOK(res2
)) {
26144 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
26147 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GraphicsContext_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
26149 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
26150 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26151 if (!SWIG_IsOK(ecode3
)) {
26152 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "3"" of type '" "wxDouble""'");
26154 arg3
= static_cast< wxDouble
>(val3
);
26155 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26156 if (!SWIG_IsOK(ecode4
)) {
26157 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "4"" of type '" "wxDouble""'");
26159 arg4
= static_cast< wxDouble
>(val4
);
26160 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26161 if (!SWIG_IsOK(ecode5
)) {
26162 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "5"" of type '" "wxDouble""'");
26164 arg5
= static_cast< wxDouble
>(val5
);
26165 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
26166 if (!SWIG_IsOK(ecode6
)) {
26167 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawIcon" "', expected argument " "6"" of type '" "wxDouble""'");
26169 arg6
= static_cast< wxDouble
>(val6
);
26171 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
26172 if (PyErr_Occurred()) SWIG_fail
;
26174 resultobj
= SWIG_Py_Void();
26181 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26182 PyObject
*resultobj
= 0;
26183 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26198 PyObject
* obj0
= 0 ;
26199 PyObject
* obj1
= 0 ;
26200 PyObject
* obj2
= 0 ;
26201 PyObject
* obj3
= 0 ;
26202 PyObject
* obj4
= 0 ;
26203 char * kwnames
[] = {
26204 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
26207 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_StrokeLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26208 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26209 if (!SWIG_IsOK(res1
)) {
26210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26212 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26213 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26214 if (!SWIG_IsOK(ecode2
)) {
26215 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "2"" of type '" "wxDouble""'");
26217 arg2
= static_cast< wxDouble
>(val2
);
26218 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26219 if (!SWIG_IsOK(ecode3
)) {
26220 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "3"" of type '" "wxDouble""'");
26222 arg3
= static_cast< wxDouble
>(val3
);
26223 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26224 if (!SWIG_IsOK(ecode4
)) {
26225 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "4"" of type '" "wxDouble""'");
26227 arg4
= static_cast< wxDouble
>(val4
);
26228 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26229 if (!SWIG_IsOK(ecode5
)) {
26230 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_StrokeLine" "', expected argument " "5"" of type '" "wxDouble""'");
26232 arg5
= static_cast< wxDouble
>(val5
);
26234 (arg1
)->StrokeLine(arg2
,arg3
,arg4
,arg5
);
26235 if (PyErr_Occurred()) SWIG_fail
;
26237 resultobj
= SWIG_Py_Void();
26244 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26245 PyObject
*resultobj
= 0;
26246 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26248 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
26251 PyObject
* obj0
= 0 ;
26252 PyObject
* obj1
= 0 ;
26253 char * kwnames
[] = {
26254 (char *) "self",(char *) "points", NULL
26257 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GraphicsContext_StrokeLines",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26258 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26259 if (!SWIG_IsOK(res1
)) {
26260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26262 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26264 arg3
= wxPoint2D_LIST_helper(obj1
, &arg2
);
26265 if (arg3
== NULL
) SWIG_fail
;
26268 (arg1
)->StrokeLines(arg2
,(wxPoint2D
const *)arg3
);
26269 if (PyErr_Occurred()) SWIG_fail
;
26271 resultobj
= SWIG_Py_Void();
26273 if (arg3
) delete [] arg3
;
26278 if (arg3
) delete [] arg3
;
26284 SWIGINTERN PyObject
*_wrap_GraphicsContext_StrokeDisconnectedLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26285 PyObject
*resultobj
= 0;
26286 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26287 PyObject
*arg2
= (PyObject
*) 0 ;
26288 PyObject
*arg3
= (PyObject
*) 0 ;
26291 PyObject
* obj0
= 0 ;
26292 PyObject
* obj1
= 0 ;
26293 PyObject
* obj2
= 0 ;
26294 char * kwnames
[] = {
26295 (char *) "self",(char *) "beginPoints",(char *) "endPoints", NULL
26298 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GraphicsContext_StrokeDisconnectedLines",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26299 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26300 if (!SWIG_IsOK(res1
)) {
26301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_StrokeDisconnectedLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26303 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26307 wxGraphicsContext_StrokeDisconnectedLines(arg1
,arg2
,arg3
);
26308 if (PyErr_Occurred()) SWIG_fail
;
26310 resultobj
= SWIG_Py_Void();
26317 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26318 PyObject
*resultobj
= 0;
26319 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26321 wxPoint2D
*arg3
= (wxPoint2D
*) 0 ;
26322 int arg4
= (int) wxWINDING_RULE
;
26327 PyObject
* obj0
= 0 ;
26328 PyObject
* obj1
= 0 ;
26329 PyObject
* obj2
= 0 ;
26330 char * kwnames
[] = {
26331 (char *) "self",(char *) "points",(char *) "fillStyle", NULL
26334 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GraphicsContext_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26335 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26336 if (!SWIG_IsOK(res1
)) {
26337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26339 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26341 arg3
= wxPoint2D_LIST_helper(obj1
, &arg2
);
26342 if (arg3
== NULL
) SWIG_fail
;
26345 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
26346 if (!SWIG_IsOK(ecode4
)) {
26347 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawLines" "', expected argument " "4"" of type '" "int""'");
26349 arg4
= static_cast< int >(val4
);
26352 (arg1
)->DrawLines(arg2
,(wxPoint2D
const *)arg3
,arg4
);
26353 if (PyErr_Occurred()) SWIG_fail
;
26355 resultobj
= SWIG_Py_Void();
26357 if (arg3
) delete [] arg3
;
26362 if (arg3
) delete [] arg3
;
26368 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26369 PyObject
*resultobj
= 0;
26370 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26385 PyObject
* obj0
= 0 ;
26386 PyObject
* obj1
= 0 ;
26387 PyObject
* obj2
= 0 ;
26388 PyObject
* obj3
= 0 ;
26389 PyObject
* obj4
= 0 ;
26390 char * kwnames
[] = {
26391 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
26394 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26395 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26396 if (!SWIG_IsOK(res1
)) {
26397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26399 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26400 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26401 if (!SWIG_IsOK(ecode2
)) {
26402 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
26404 arg2
= static_cast< wxDouble
>(val2
);
26405 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26406 if (!SWIG_IsOK(ecode3
)) {
26407 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
26409 arg3
= static_cast< wxDouble
>(val3
);
26410 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26411 if (!SWIG_IsOK(ecode4
)) {
26412 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
26414 arg4
= static_cast< wxDouble
>(val4
);
26415 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26416 if (!SWIG_IsOK(ecode5
)) {
26417 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
26419 arg5
= static_cast< wxDouble
>(val5
);
26421 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
26422 if (PyErr_Occurred()) SWIG_fail
;
26424 resultobj
= SWIG_Py_Void();
26431 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26432 PyObject
*resultobj
= 0;
26433 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26448 PyObject
* obj0
= 0 ;
26449 PyObject
* obj1
= 0 ;
26450 PyObject
* obj2
= 0 ;
26451 PyObject
* obj3
= 0 ;
26452 PyObject
* obj4
= 0 ;
26453 char * kwnames
[] = {
26454 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
26457 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:GraphicsContext_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
26458 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26459 if (!SWIG_IsOK(res1
)) {
26460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26462 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26463 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26464 if (!SWIG_IsOK(ecode2
)) {
26465 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "2"" of type '" "wxDouble""'");
26467 arg2
= static_cast< wxDouble
>(val2
);
26468 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26469 if (!SWIG_IsOK(ecode3
)) {
26470 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "3"" of type '" "wxDouble""'");
26472 arg3
= static_cast< wxDouble
>(val3
);
26473 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26474 if (!SWIG_IsOK(ecode4
)) {
26475 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "4"" of type '" "wxDouble""'");
26477 arg4
= static_cast< wxDouble
>(val4
);
26478 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26479 if (!SWIG_IsOK(ecode5
)) {
26480 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawEllipse" "', expected argument " "5"" of type '" "wxDouble""'");
26482 arg5
= static_cast< wxDouble
>(val5
);
26484 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
26485 if (PyErr_Occurred()) SWIG_fail
;
26487 resultobj
= SWIG_Py_Void();
26494 SWIGINTERN PyObject
*_wrap_GraphicsContext_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26495 PyObject
*resultobj
= 0;
26496 wxGraphicsContext
*arg1
= (wxGraphicsContext
*) 0 ;
26514 PyObject
* obj0
= 0 ;
26515 PyObject
* obj1
= 0 ;
26516 PyObject
* obj2
= 0 ;
26517 PyObject
* obj3
= 0 ;
26518 PyObject
* obj4
= 0 ;
26519 PyObject
* obj5
= 0 ;
26520 char * kwnames
[] = {
26521 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "radius", NULL
26524 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:GraphicsContext_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
26525 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26526 if (!SWIG_IsOK(res1
)) {
26527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxGraphicsContext *""'");
26529 arg1
= reinterpret_cast< wxGraphicsContext
* >(argp1
);
26530 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
26531 if (!SWIG_IsOK(ecode2
)) {
26532 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "2"" of type '" "wxDouble""'");
26534 arg2
= static_cast< wxDouble
>(val2
);
26535 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
26536 if (!SWIG_IsOK(ecode3
)) {
26537 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "3"" of type '" "wxDouble""'");
26539 arg3
= static_cast< wxDouble
>(val3
);
26540 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
26541 if (!SWIG_IsOK(ecode4
)) {
26542 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "4"" of type '" "wxDouble""'");
26544 arg4
= static_cast< wxDouble
>(val4
);
26545 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
26546 if (!SWIG_IsOK(ecode5
)) {
26547 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "5"" of type '" "wxDouble""'");
26549 arg5
= static_cast< wxDouble
>(val5
);
26550 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
26551 if (!SWIG_IsOK(ecode6
)) {
26552 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GraphicsContext_DrawRoundedRectangle" "', expected argument " "6"" of type '" "wxDouble""'");
26554 arg6
= static_cast< wxDouble
>(val6
);
26556 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
26557 if (PyErr_Occurred()) SWIG_fail
;
26559 resultobj
= SWIG_Py_Void();
26566 SWIGINTERN PyObject
*GraphicsContext_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26568 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26569 SWIG_TypeNewClientData(SWIGTYPE_p_wxGraphicsContext
, SWIG_NewClientData(obj
));
26570 return SWIG_Py_Void();
26573 SWIGINTERN PyObject
*_wrap_new_GCDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26574 PyObject
*resultobj
= 0;
26575 wxWindowDC
*arg1
= 0 ;
26576 wxGCDC
*result
= 0 ;
26579 PyObject
* obj0
= 0 ;
26580 char * kwnames
[] = {
26581 (char *) "dc", NULL
26584 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_GCDC",kwnames
,&obj0
)) SWIG_fail
;
26585 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxWindowDC
, 0 | 0);
26586 if (!SWIG_IsOK(res1
)) {
26587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
26590 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_GCDC" "', expected argument " "1"" of type '" "wxWindowDC const &""'");
26592 arg1
= reinterpret_cast< wxWindowDC
* >(argp1
);
26594 if (!wxPyCheckForApp()) SWIG_fail
;
26595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26596 result
= (wxGCDC
*)new wxGCDC((wxWindowDC
const &)*arg1
);
26597 wxPyEndAllowThreads(__tstate
);
26598 if (PyErr_Occurred()) SWIG_fail
;
26600 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGCDC
, SWIG_POINTER_NEW
| 0 );
26607 SWIGINTERN PyObject
*_wrap_delete_GCDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26608 PyObject
*resultobj
= 0;
26609 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
26612 PyObject
*swig_obj
[1] ;
26614 if (!args
) SWIG_fail
;
26615 swig_obj
[0] = args
;
26616 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, SWIG_POINTER_DISOWN
| 0 );
26617 if (!SWIG_IsOK(res1
)) {
26618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GCDC" "', expected argument " "1"" of type '" "wxGCDC *""'");
26620 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
26624 if (PyErr_Occurred()) SWIG_fail
;
26626 resultobj
= SWIG_Py_Void();
26633 SWIGINTERN PyObject
*_wrap_GCDC_GetGraphicContext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26634 PyObject
*resultobj
= 0;
26635 wxGCDC
*arg1
= (wxGCDC
*) 0 ;
26636 wxGraphicsContext
*result
= 0 ;
26639 PyObject
*swig_obj
[1] ;
26641 if (!args
) SWIG_fail
;
26642 swig_obj
[0] = args
;
26643 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGCDC
, 0 | 0 );
26644 if (!SWIG_IsOK(res1
)) {
26645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GCDC_GetGraphicContext" "', expected argument " "1"" of type '" "wxGCDC *""'");
26647 arg1
= reinterpret_cast< wxGCDC
* >(argp1
);
26649 result
= (wxGraphicsContext
*)(arg1
)->GetGraphicContext();
26650 if (PyErr_Occurred()) SWIG_fail
;
26652 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGraphicsContext
, 0 | 0 );
26659 SWIGINTERN PyObject
*GCDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26661 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26662 SWIG_TypeNewClientData(SWIGTYPE_p_wxGCDC
, SWIG_NewClientData(obj
));
26663 return SWIG_Py_Void();
26666 SWIGINTERN PyObject
*GCDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26667 return SWIG_Python_InitShadowInstance(args
);
26670 SWIGINTERN PyObject
*_wrap_new_Overlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26671 PyObject
*resultobj
= 0;
26672 wxOverlay
*result
= 0 ;
26674 if (!SWIG_Python_UnpackTuple(args
,"new_Overlay",0,0,0)) SWIG_fail
;
26676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26677 result
= (wxOverlay
*)new wxOverlay();
26678 wxPyEndAllowThreads(__tstate
);
26679 if (PyErr_Occurred()) SWIG_fail
;
26681 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxOverlay
, SWIG_POINTER_NEW
| 0 );
26688 SWIGINTERN PyObject
*_wrap_delete_Overlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26689 PyObject
*resultobj
= 0;
26690 wxOverlay
*arg1
= (wxOverlay
*) 0 ;
26693 PyObject
*swig_obj
[1] ;
26695 if (!args
) SWIG_fail
;
26696 swig_obj
[0] = args
;
26697 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOverlay
, SWIG_POINTER_DISOWN
| 0 );
26698 if (!SWIG_IsOK(res1
)) {
26699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Overlay" "', expected argument " "1"" of type '" "wxOverlay *""'");
26701 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
26703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26706 wxPyEndAllowThreads(__tstate
);
26707 if (PyErr_Occurred()) SWIG_fail
;
26709 resultobj
= SWIG_Py_Void();
26716 SWIGINTERN PyObject
*_wrap_Overlay_Reset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26717 PyObject
*resultobj
= 0;
26718 wxOverlay
*arg1
= (wxOverlay
*) 0 ;
26721 PyObject
*swig_obj
[1] ;
26723 if (!args
) SWIG_fail
;
26724 swig_obj
[0] = args
;
26725 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOverlay
, 0 | 0 );
26726 if (!SWIG_IsOK(res1
)) {
26727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Overlay_Reset" "', expected argument " "1"" of type '" "wxOverlay *""'");
26729 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
26731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26733 wxPyEndAllowThreads(__tstate
);
26734 if (PyErr_Occurred()) SWIG_fail
;
26736 resultobj
= SWIG_Py_Void();
26743 SWIGINTERN PyObject
*Overlay_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26745 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26746 SWIG_TypeNewClientData(SWIGTYPE_p_wxOverlay
, SWIG_NewClientData(obj
));
26747 return SWIG_Py_Void();
26750 SWIGINTERN PyObject
*Overlay_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26751 return SWIG_Python_InitShadowInstance(args
);
26754 SWIGINTERN PyObject
*_wrap_new_DCOverlay__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26755 PyObject
*resultobj
= 0;
26756 wxOverlay
*arg1
= 0 ;
26757 wxWindowDC
*arg2
= (wxWindowDC
*) 0 ;
26762 wxDCOverlay
*result
= 0 ;
26776 if ((nobjs
< 6) || (nobjs
> 6)) SWIG_fail
;
26777 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxOverlay
, 0 );
26778 if (!SWIG_IsOK(res1
)) {
26779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
26782 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
26784 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
26785 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindowDC
, 0 | 0 );
26786 if (!SWIG_IsOK(res2
)) {
26787 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCOverlay" "', expected argument " "2"" of type '" "wxWindowDC *""'");
26789 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
26790 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
26791 if (!SWIG_IsOK(ecode3
)) {
26792 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DCOverlay" "', expected argument " "3"" of type '" "int""'");
26794 arg3
= static_cast< int >(val3
);
26795 ecode4
= SWIG_AsVal_int(swig_obj
[3], &val4
);
26796 if (!SWIG_IsOK(ecode4
)) {
26797 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DCOverlay" "', expected argument " "4"" of type '" "int""'");
26799 arg4
= static_cast< int >(val4
);
26800 ecode5
= SWIG_AsVal_int(swig_obj
[4], &val5
);
26801 if (!SWIG_IsOK(ecode5
)) {
26802 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DCOverlay" "', expected argument " "5"" of type '" "int""'");
26804 arg5
= static_cast< int >(val5
);
26805 ecode6
= SWIG_AsVal_int(swig_obj
[5], &val6
);
26806 if (!SWIG_IsOK(ecode6
)) {
26807 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DCOverlay" "', expected argument " "6"" of type '" "int""'");
26809 arg6
= static_cast< int >(val6
);
26811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26812 result
= (wxDCOverlay
*)new wxDCOverlay(*arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
26813 wxPyEndAllowThreads(__tstate
);
26814 if (PyErr_Occurred()) SWIG_fail
;
26816 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_NEW
| 0 );
26823 SWIGINTERN PyObject
*_wrap_new_DCOverlay__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26824 PyObject
*resultobj
= 0;
26825 wxOverlay
*arg1
= 0 ;
26826 wxWindowDC
*arg2
= (wxWindowDC
*) 0 ;
26827 wxDCOverlay
*result
= 0 ;
26833 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
26834 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxOverlay
, 0 );
26835 if (!SWIG_IsOK(res1
)) {
26836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
26839 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DCOverlay" "', expected argument " "1"" of type '" "wxOverlay &""'");
26841 arg1
= reinterpret_cast< wxOverlay
* >(argp1
);
26842 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindowDC
, 0 | 0 );
26843 if (!SWIG_IsOK(res2
)) {
26844 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DCOverlay" "', expected argument " "2"" of type '" "wxWindowDC *""'");
26846 arg2
= reinterpret_cast< wxWindowDC
* >(argp2
);
26848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26849 result
= (wxDCOverlay
*)new wxDCOverlay(*arg1
,arg2
);
26850 wxPyEndAllowThreads(__tstate
);
26851 if (PyErr_Occurred()) SWIG_fail
;
26853 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_NEW
| 0 );
26860 SWIGINTERN PyObject
*_wrap_new_DCOverlay(PyObject
*self
, PyObject
*args
) {
26864 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_DCOverlay",0,6,argv
))) SWIG_fail
;
26867 return _wrap_new_DCOverlay__SWIG_1(self
, argc
, argv
);
26870 return _wrap_new_DCOverlay__SWIG_0(self
, argc
, argv
);
26874 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_DCOverlay'");
26879 SWIGINTERN PyObject
*_wrap_delete_DCOverlay(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26880 PyObject
*resultobj
= 0;
26881 wxDCOverlay
*arg1
= (wxDCOverlay
*) 0 ;
26884 PyObject
*swig_obj
[1] ;
26886 if (!args
) SWIG_fail
;
26887 swig_obj
[0] = args
;
26888 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCOverlay
, SWIG_POINTER_DISOWN
| 0 );
26889 if (!SWIG_IsOK(res1
)) {
26890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DCOverlay" "', expected argument " "1"" of type '" "wxDCOverlay *""'");
26892 arg1
= reinterpret_cast< wxDCOverlay
* >(argp1
);
26894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26897 wxPyEndAllowThreads(__tstate
);
26898 if (PyErr_Occurred()) SWIG_fail
;
26900 resultobj
= SWIG_Py_Void();
26907 SWIGINTERN PyObject
*_wrap_DCOverlay_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26908 PyObject
*resultobj
= 0;
26909 wxDCOverlay
*arg1
= (wxDCOverlay
*) 0 ;
26912 PyObject
*swig_obj
[1] ;
26914 if (!args
) SWIG_fail
;
26915 swig_obj
[0] = args
;
26916 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDCOverlay
, 0 | 0 );
26917 if (!SWIG_IsOK(res1
)) {
26918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DCOverlay_Clear" "', expected argument " "1"" of type '" "wxDCOverlay *""'");
26920 arg1
= reinterpret_cast< wxDCOverlay
* >(argp1
);
26922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26924 wxPyEndAllowThreads(__tstate
);
26925 if (PyErr_Occurred()) SWIG_fail
;
26927 resultobj
= SWIG_Py_Void();
26934 SWIGINTERN PyObject
*DCOverlay_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26936 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26937 SWIG_TypeNewClientData(SWIGTYPE_p_wxDCOverlay
, SWIG_NewClientData(obj
));
26938 return SWIG_Py_Void();
26941 SWIGINTERN PyObject
*DCOverlay_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26942 return SWIG_Python_InitShadowInstance(args
);
26945 SWIGINTERN PyObject
*_wrap_new_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26946 PyObject
*resultobj
= 0;
26949 int arg3
= (int) true ;
26950 int arg4
= (int) 1 ;
26951 wxImageList
*result
= 0 ;
26960 PyObject
* obj0
= 0 ;
26961 PyObject
* obj1
= 0 ;
26962 PyObject
* obj2
= 0 ;
26963 PyObject
* obj3
= 0 ;
26964 char * kwnames
[] = {
26965 (char *) "width",(char *) "height",(char *) "mask",(char *) "initialCount", NULL
26968 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_ImageList",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
26969 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
26970 if (!SWIG_IsOK(ecode1
)) {
26971 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ImageList" "', expected argument " "1"" of type '" "int""'");
26973 arg1
= static_cast< int >(val1
);
26974 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26975 if (!SWIG_IsOK(ecode2
)) {
26976 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ImageList" "', expected argument " "2"" of type '" "int""'");
26978 arg2
= static_cast< int >(val2
);
26980 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
26981 if (!SWIG_IsOK(ecode3
)) {
26982 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ImageList" "', expected argument " "3"" of type '" "int""'");
26984 arg3
= static_cast< int >(val3
);
26987 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
26988 if (!SWIG_IsOK(ecode4
)) {
26989 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ImageList" "', expected argument " "4"" of type '" "int""'");
26991 arg4
= static_cast< int >(val4
);
26994 if (!wxPyCheckForApp()) SWIG_fail
;
26995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26996 result
= (wxImageList
*)new wxImageList(arg1
,arg2
,arg3
,arg4
);
26997 wxPyEndAllowThreads(__tstate
);
26998 if (PyErr_Occurred()) SWIG_fail
;
27001 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_NEW
);
27009 SWIGINTERN PyObject
*_wrap_delete_ImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27010 PyObject
*resultobj
= 0;
27011 wxImageList
*arg1
= (wxImageList
*) 0 ;
27014 PyObject
*swig_obj
[1] ;
27016 if (!args
) SWIG_fail
;
27017 swig_obj
[0] = args
;
27018 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
27019 if (!SWIG_IsOK(res1
)) {
27020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ImageList" "', expected argument " "1"" of type '" "wxImageList *""'");
27022 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27027 wxPyEndAllowThreads(__tstate
);
27028 if (PyErr_Occurred()) SWIG_fail
;
27030 resultobj
= SWIG_Py_Void();
27037 SWIGINTERN PyObject
*_wrap_ImageList_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27038 PyObject
*resultobj
= 0;
27039 wxImageList
*arg1
= (wxImageList
*) 0 ;
27040 wxBitmap
*arg2
= 0 ;
27041 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
27042 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
27050 PyObject
* obj0
= 0 ;
27051 PyObject
* obj1
= 0 ;
27052 PyObject
* obj2
= 0 ;
27053 char * kwnames
[] = {
27054 (char *) "self",(char *) "bitmap",(char *) "mask", NULL
27057 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ImageList_Add",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27058 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
27059 if (!SWIG_IsOK(res1
)) {
27060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Add" "', expected argument " "1"" of type '" "wxImageList *""'");
27062 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27063 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
27064 if (!SWIG_IsOK(res2
)) {
27065 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
27068 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "2"" of type '" "wxBitmap const &""'");
27070 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
27072 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
27073 if (!SWIG_IsOK(res3
)) {
27074 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
27077 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Add" "', expected argument " "3"" of type '" "wxBitmap const &""'");
27079 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
27082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27083 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
27084 wxPyEndAllowThreads(__tstate
);
27085 if (PyErr_Occurred()) SWIG_fail
;
27087 resultobj
= SWIG_From_int(static_cast< int >(result
));
27094 SWIGINTERN PyObject
*_wrap_ImageList_AddWithColourMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27095 PyObject
*resultobj
= 0;
27096 wxImageList
*arg1
= (wxImageList
*) 0 ;
27097 wxBitmap
*arg2
= 0 ;
27098 wxColour
*arg3
= 0 ;
27105 PyObject
* obj0
= 0 ;
27106 PyObject
* obj1
= 0 ;
27107 PyObject
* obj2
= 0 ;
27108 char * kwnames
[] = {
27109 (char *) "self",(char *) "bitmap",(char *) "maskColour", NULL
27112 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageList_AddWithColourMask",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27113 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
27114 if (!SWIG_IsOK(res1
)) {
27115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "1"" of type '" "wxImageList *""'");
27117 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27118 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
27119 if (!SWIG_IsOK(res2
)) {
27120 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
27123 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddWithColourMask" "', expected argument " "2"" of type '" "wxBitmap const &""'");
27125 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
27128 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
27131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27132 result
= (int)(arg1
)->Add((wxBitmap
const &)*arg2
,(wxColour
const &)*arg3
);
27133 wxPyEndAllowThreads(__tstate
);
27134 if (PyErr_Occurred()) SWIG_fail
;
27136 resultobj
= SWIG_From_int(static_cast< int >(result
));
27143 SWIGINTERN PyObject
*_wrap_ImageList_AddIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27144 PyObject
*resultobj
= 0;
27145 wxImageList
*arg1
= (wxImageList
*) 0 ;
27152 PyObject
* obj0
= 0 ;
27153 PyObject
* obj1
= 0 ;
27154 char * kwnames
[] = {
27155 (char *) "self",(char *) "icon", NULL
27158 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_AddIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27159 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
27160 if (!SWIG_IsOK(res1
)) {
27161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_AddIcon" "', expected argument " "1"" of type '" "wxImageList *""'");
27163 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27164 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
27165 if (!SWIG_IsOK(res2
)) {
27166 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
27169 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_AddIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
27171 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
27173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27174 result
= (int)(arg1
)->Add((wxIcon
const &)*arg2
);
27175 wxPyEndAllowThreads(__tstate
);
27176 if (PyErr_Occurred()) SWIG_fail
;
27178 resultobj
= SWIG_From_int(static_cast< int >(result
));
27185 SWIGINTERN PyObject
*_wrap_ImageList_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27186 PyObject
*resultobj
= 0;
27187 wxImageList
*arg1
= (wxImageList
*) 0 ;
27189 SwigValueWrapper
<wxBitmap
> result
;
27194 PyObject
* obj0
= 0 ;
27195 PyObject
* obj1
= 0 ;
27196 char * kwnames
[] = {
27197 (char *) "self",(char *) "index", NULL
27200 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27201 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
27202 if (!SWIG_IsOK(res1
)) {
27203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetBitmap" "', expected argument " "1"" of type '" "wxImageList const *""'");
27205 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27206 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27207 if (!SWIG_IsOK(ecode2
)) {
27208 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetBitmap" "', expected argument " "2"" of type '" "int""'");
27210 arg2
= static_cast< int >(val2
);
27212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27213 result
= ((wxImageList
const *)arg1
)->GetBitmap(arg2
);
27214 wxPyEndAllowThreads(__tstate
);
27215 if (PyErr_Occurred()) SWIG_fail
;
27217 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
27224 SWIGINTERN PyObject
*_wrap_ImageList_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27225 PyObject
*resultobj
= 0;
27226 wxImageList
*arg1
= (wxImageList
*) 0 ;
27233 PyObject
* obj0
= 0 ;
27234 PyObject
* obj1
= 0 ;
27235 char * kwnames
[] = {
27236 (char *) "self",(char *) "index", NULL
27239 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27240 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
27241 if (!SWIG_IsOK(res1
)) {
27242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetIcon" "', expected argument " "1"" of type '" "wxImageList const *""'");
27244 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27245 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27246 if (!SWIG_IsOK(ecode2
)) {
27247 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetIcon" "', expected argument " "2"" of type '" "int""'");
27249 arg2
= static_cast< int >(val2
);
27251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27252 result
= ((wxImageList
const *)arg1
)->GetIcon(arg2
);
27253 wxPyEndAllowThreads(__tstate
);
27254 if (PyErr_Occurred()) SWIG_fail
;
27256 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
27263 SWIGINTERN PyObject
*_wrap_ImageList_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27264 PyObject
*resultobj
= 0;
27265 wxImageList
*arg1
= (wxImageList
*) 0 ;
27267 wxBitmap
*arg3
= 0 ;
27268 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
27269 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
27279 PyObject
* obj0
= 0 ;
27280 PyObject
* obj1
= 0 ;
27281 PyObject
* obj2
= 0 ;
27282 PyObject
* obj3
= 0 ;
27283 char * kwnames
[] = {
27284 (char *) "self",(char *) "index",(char *) "bitmap",(char *) "mask", NULL
27287 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ImageList_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27288 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
27289 if (!SWIG_IsOK(res1
)) {
27290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Replace" "', expected argument " "1"" of type '" "wxImageList *""'");
27292 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27293 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27294 if (!SWIG_IsOK(ecode2
)) {
27295 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Replace" "', expected argument " "2"" of type '" "int""'");
27297 arg2
= static_cast< int >(val2
);
27298 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
27299 if (!SWIG_IsOK(res3
)) {
27300 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
27303 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "3"" of type '" "wxBitmap const &""'");
27305 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
27307 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
27308 if (!SWIG_IsOK(res4
)) {
27309 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
27312 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Replace" "', expected argument " "4"" of type '" "wxBitmap const &""'");
27314 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
27317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27318 result
= (bool)(arg1
)->Replace(arg2
,(wxBitmap
const &)*arg3
,(wxBitmap
const &)*arg4
);
27319 wxPyEndAllowThreads(__tstate
);
27320 if (PyErr_Occurred()) SWIG_fail
;
27323 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27331 SWIGINTERN PyObject
*_wrap_ImageList_Draw(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27332 PyObject
*resultobj
= 0;
27333 wxImageList
*arg1
= (wxImageList
*) 0 ;
27338 int arg6
= (int) wxIMAGELIST_DRAW_NORMAL
;
27339 bool arg7
= (bool) (bool)false ;
27355 PyObject
* obj0
= 0 ;
27356 PyObject
* obj1
= 0 ;
27357 PyObject
* obj2
= 0 ;
27358 PyObject
* obj3
= 0 ;
27359 PyObject
* obj4
= 0 ;
27360 PyObject
* obj5
= 0 ;
27361 PyObject
* obj6
= 0 ;
27362 char * kwnames
[] = {
27363 (char *) "self",(char *) "index",(char *) "dc",(char *) "x",(char *) "x",(char *) "flags",(char *) "solidBackground", NULL
27366 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OO:ImageList_Draw",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
27367 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
27368 if (!SWIG_IsOK(res1
)) {
27369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Draw" "', expected argument " "1"" of type '" "wxImageList *""'");
27371 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27372 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27373 if (!SWIG_IsOK(ecode2
)) {
27374 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Draw" "', expected argument " "2"" of type '" "int""'");
27376 arg2
= static_cast< int >(val2
);
27377 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
27378 if (!SWIG_IsOK(res3
)) {
27379 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
27382 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ImageList_Draw" "', expected argument " "3"" of type '" "wxDC &""'");
27384 arg3
= reinterpret_cast< wxDC
* >(argp3
);
27385 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
27386 if (!SWIG_IsOK(ecode4
)) {
27387 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ImageList_Draw" "', expected argument " "4"" of type '" "int""'");
27389 arg4
= static_cast< int >(val4
);
27390 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
27391 if (!SWIG_IsOK(ecode5
)) {
27392 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ImageList_Draw" "', expected argument " "5"" of type '" "int""'");
27394 arg5
= static_cast< int >(val5
);
27396 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
27397 if (!SWIG_IsOK(ecode6
)) {
27398 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ImageList_Draw" "', expected argument " "6"" of type '" "int""'");
27400 arg6
= static_cast< int >(val6
);
27403 ecode7
= SWIG_AsVal_bool(obj6
, &val7
);
27404 if (!SWIG_IsOK(ecode7
)) {
27405 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ImageList_Draw" "', expected argument " "7"" of type '" "bool""'");
27407 arg7
= static_cast< bool >(val7
);
27410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27411 result
= (bool)(arg1
)->Draw(arg2
,*arg3
,arg4
,arg5
,arg6
,arg7
);
27412 wxPyEndAllowThreads(__tstate
);
27413 if (PyErr_Occurred()) SWIG_fail
;
27416 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27424 SWIGINTERN PyObject
*_wrap_ImageList_GetImageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27425 PyObject
*resultobj
= 0;
27426 wxImageList
*arg1
= (wxImageList
*) 0 ;
27430 PyObject
*swig_obj
[1] ;
27432 if (!args
) SWIG_fail
;
27433 swig_obj
[0] = args
;
27434 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
27435 if (!SWIG_IsOK(res1
)) {
27436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetImageCount" "', expected argument " "1"" of type '" "wxImageList *""'");
27438 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27441 result
= (int)(arg1
)->GetImageCount();
27442 wxPyEndAllowThreads(__tstate
);
27443 if (PyErr_Occurred()) SWIG_fail
;
27445 resultobj
= SWIG_From_int(static_cast< int >(result
));
27452 SWIGINTERN PyObject
*_wrap_ImageList_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27453 PyObject
*resultobj
= 0;
27454 wxImageList
*arg1
= (wxImageList
*) 0 ;
27461 PyObject
* obj0
= 0 ;
27462 PyObject
* obj1
= 0 ;
27463 char * kwnames
[] = {
27464 (char *) "self",(char *) "index", NULL
27467 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_Remove",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27468 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
27469 if (!SWIG_IsOK(res1
)) {
27470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_Remove" "', expected argument " "1"" of type '" "wxImageList *""'");
27472 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27473 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27474 if (!SWIG_IsOK(ecode2
)) {
27475 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_Remove" "', expected argument " "2"" of type '" "int""'");
27477 arg2
= static_cast< int >(val2
);
27479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27480 result
= (bool)(arg1
)->Remove(arg2
);
27481 wxPyEndAllowThreads(__tstate
);
27482 if (PyErr_Occurred()) SWIG_fail
;
27485 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27493 SWIGINTERN PyObject
*_wrap_ImageList_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27494 PyObject
*resultobj
= 0;
27495 wxImageList
*arg1
= (wxImageList
*) 0 ;
27499 PyObject
*swig_obj
[1] ;
27501 if (!args
) SWIG_fail
;
27502 swig_obj
[0] = args
;
27503 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
27504 if (!SWIG_IsOK(res1
)) {
27505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_RemoveAll" "', expected argument " "1"" of type '" "wxImageList *""'");
27507 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27510 result
= (bool)(arg1
)->RemoveAll();
27511 wxPyEndAllowThreads(__tstate
);
27512 if (PyErr_Occurred()) SWIG_fail
;
27515 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27523 SWIGINTERN PyObject
*_wrap_ImageList_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27524 PyObject
*resultobj
= 0;
27525 wxImageList
*arg1
= (wxImageList
*) 0 ;
27534 int res3
= SWIG_TMPOBJ
;
27536 int res4
= SWIG_TMPOBJ
;
27537 PyObject
* obj0
= 0 ;
27538 PyObject
* obj1
= 0 ;
27539 char * kwnames
[] = {
27540 (char *) "self",(char *) "index", NULL
27545 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageList_GetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27546 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageList
, 0 | 0 );
27547 if (!SWIG_IsOK(res1
)) {
27548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageList_GetSize" "', expected argument " "1"" of type '" "wxImageList *""'");
27550 arg1
= reinterpret_cast< wxImageList
* >(argp1
);
27551 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27552 if (!SWIG_IsOK(ecode2
)) {
27553 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageList_GetSize" "', expected argument " "2"" of type '" "int""'");
27555 arg2
= static_cast< int >(val2
);
27557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27558 (arg1
)->GetSize(arg2
,*arg3
,*arg4
);
27559 wxPyEndAllowThreads(__tstate
);
27560 if (PyErr_Occurred()) SWIG_fail
;
27562 resultobj
= SWIG_Py_Void();
27563 if (SWIG_IsTmpObj(res3
)) {
27564 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
27566 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27567 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
27569 if (SWIG_IsTmpObj(res4
)) {
27570 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
27572 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27573 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
27581 SWIGINTERN PyObject
*ImageList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27583 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27584 SWIG_TypeNewClientData(SWIGTYPE_p_wxImageList
, SWIG_NewClientData(obj
));
27585 return SWIG_Py_Void();
27588 SWIGINTERN PyObject
*ImageList_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27589 return SWIG_Python_InitShadowInstance(args
);
27592 SWIGINTERN PyObject
*_wrap_new_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27593 PyObject
*resultobj
= 0;
27594 wxStockGDI
*result
= 0 ;
27596 if (!SWIG_Python_UnpackTuple(args
,"new_StockGDI",0,0,0)) SWIG_fail
;
27598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27599 result
= (wxStockGDI
*)new wxStockGDI();
27600 wxPyEndAllowThreads(__tstate
);
27601 if (PyErr_Occurred()) SWIG_fail
;
27603 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_NEW
| 0 );
27610 SWIGINTERN PyObject
*_wrap_delete_StockGDI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27611 PyObject
*resultobj
= 0;
27612 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
27615 PyObject
*swig_obj
[1] ;
27617 if (!args
) SWIG_fail
;
27618 swig_obj
[0] = args
;
27619 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStockGDI
, SWIG_POINTER_DISOWN
| 0 );
27620 if (!SWIG_IsOK(res1
)) {
27621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_StockGDI" "', expected argument " "1"" of type '" "wxStockGDI *""'");
27623 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
27625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27628 wxPyEndAllowThreads(__tstate
);
27629 if (PyErr_Occurred()) SWIG_fail
;
27631 resultobj
= SWIG_Py_Void();
27638 SWIGINTERN PyObject
*_wrap_StockGDI_DeleteAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27639 PyObject
*resultobj
= 0;
27641 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_DeleteAll",0,0,0)) SWIG_fail
;
27643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27644 wxStockGDI::DeleteAll();
27645 wxPyEndAllowThreads(__tstate
);
27646 if (PyErr_Occurred()) SWIG_fail
;
27648 resultobj
= SWIG_Py_Void();
27655 SWIGINTERN PyObject
*_wrap_StockGDI_instance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27656 PyObject
*resultobj
= 0;
27657 wxStockGDI
*result
= 0 ;
27659 if (!SWIG_Python_UnpackTuple(args
,"StockGDI_instance",0,0,0)) SWIG_fail
;
27661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27663 wxStockGDI
&_result_ref
= wxStockGDI::instance();
27664 result
= (wxStockGDI
*) &_result_ref
;
27666 wxPyEndAllowThreads(__tstate
);
27667 if (PyErr_Occurred()) SWIG_fail
;
27669 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStockGDI
, 0 | 0 );
27676 SWIGINTERN PyObject
*_wrap_StockGDI_GetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27677 PyObject
*resultobj
= 0;
27678 wxStockGDI::Item arg1
;
27679 wxBrush
*result
= 0 ;
27682 PyObject
* obj0
= 0 ;
27683 char * kwnames
[] = {
27684 (char *) "item", NULL
27687 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetBrush",kwnames
,&obj0
)) SWIG_fail
;
27688 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
27689 if (!SWIG_IsOK(ecode1
)) {
27690 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetBrush" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
27692 arg1
= static_cast< wxStockGDI::Item
>(val1
);
27694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27695 result
= (wxBrush
*)wxStockGDI::GetBrush(arg1
);
27696 wxPyEndAllowThreads(__tstate
);
27697 if (PyErr_Occurred()) SWIG_fail
;
27699 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
27706 SWIGINTERN PyObject
*_wrap_StockGDI_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27707 PyObject
*resultobj
= 0;
27708 wxStockGDI::Item arg1
;
27709 wxColour
*result
= 0 ;
27712 PyObject
* obj0
= 0 ;
27713 char * kwnames
[] = {
27714 (char *) "item", NULL
27717 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetColour",kwnames
,&obj0
)) SWIG_fail
;
27718 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
27719 if (!SWIG_IsOK(ecode1
)) {
27720 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetColour" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
27722 arg1
= static_cast< wxStockGDI::Item
>(val1
);
27724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27725 result
= (wxColour
*)wxStockGDI::GetColour(arg1
);
27726 wxPyEndAllowThreads(__tstate
);
27727 if (PyErr_Occurred()) SWIG_fail
;
27729 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
27736 SWIGINTERN PyObject
*_wrap_StockGDI_GetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27737 PyObject
*resultobj
= 0;
27738 wxStockGDI::Item arg1
;
27739 wxCursor
*result
= 0 ;
27742 PyObject
* obj0
= 0 ;
27743 char * kwnames
[] = {
27744 (char *) "item", NULL
27747 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetCursor",kwnames
,&obj0
)) SWIG_fail
;
27748 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
27749 if (!SWIG_IsOK(ecode1
)) {
27750 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetCursor" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
27752 arg1
= static_cast< wxStockGDI::Item
>(val1
);
27754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27755 result
= (wxCursor
*)wxStockGDI::GetCursor(arg1
);
27756 wxPyEndAllowThreads(__tstate
);
27757 if (PyErr_Occurred()) SWIG_fail
;
27759 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCursor
, 0 | 0 );
27766 SWIGINTERN PyObject
*_wrap_StockGDI_GetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27767 PyObject
*resultobj
= 0;
27768 wxStockGDI::Item arg1
;
27769 wxPen
*result
= 0 ;
27772 PyObject
* obj0
= 0 ;
27773 char * kwnames
[] = {
27774 (char *) "item", NULL
27777 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StockGDI_GetPen",kwnames
,&obj0
)) SWIG_fail
;
27778 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
27779 if (!SWIG_IsOK(ecode1
)) {
27780 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StockGDI_GetPen" "', expected argument " "1"" of type '" "wxStockGDI::Item""'");
27782 arg1
= static_cast< wxStockGDI::Item
>(val1
);
27784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27785 result
= (wxPen
*)wxStockGDI::GetPen(arg1
);
27786 wxPyEndAllowThreads(__tstate
);
27787 if (PyErr_Occurred()) SWIG_fail
;
27789 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
27796 SWIGINTERN PyObject
*_wrap_StockGDI_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27797 PyObject
*resultobj
= 0;
27798 wxStockGDI
*arg1
= (wxStockGDI
*) 0 ;
27799 wxStockGDI::Item arg2
;
27800 wxFont
*result
= 0 ;
27805 PyObject
* obj0
= 0 ;
27806 PyObject
* obj1
= 0 ;
27807 char * kwnames
[] = {
27808 (char *) "self",(char *) "item", NULL
27811 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StockGDI_GetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27812 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStockGDI
, 0 | 0 );
27813 if (!SWIG_IsOK(res1
)) {
27814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StockGDI_GetFont" "', expected argument " "1"" of type '" "wxStockGDI *""'");
27816 arg1
= reinterpret_cast< wxStockGDI
* >(argp1
);
27817 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27818 if (!SWIG_IsOK(ecode2
)) {
27819 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StockGDI_GetFont" "', expected argument " "2"" of type '" "wxStockGDI::Item""'");
27821 arg2
= static_cast< wxStockGDI::Item
>(val2
);
27823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27824 result
= (wxFont
*)(arg1
)->GetFont(arg2
);
27825 wxPyEndAllowThreads(__tstate
);
27826 if (PyErr_Occurred()) SWIG_fail
;
27828 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
27835 SWIGINTERN PyObject
*StockGDI_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27837 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27838 SWIG_TypeNewClientData(SWIGTYPE_p_wxStockGDI
, SWIG_NewClientData(obj
));
27839 return SWIG_Py_Void();
27842 SWIGINTERN PyObject
*StockGDI_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27843 return SWIG_Python_InitShadowInstance(args
);
27846 SWIGINTERN
int NullBitmap_set(PyObject
*) {
27847 SWIG_Error(SWIG_AttributeError
,"Variable NullBitmap is read-only.");
27852 SWIGINTERN PyObject
*NullBitmap_get(void) {
27853 PyObject
*pyobj
= 0;
27855 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBitmap
), SWIGTYPE_p_wxBitmap
, 0 );
27860 SWIGINTERN
int NullIcon_set(PyObject
*) {
27861 SWIG_Error(SWIG_AttributeError
,"Variable NullIcon is read-only.");
27866 SWIGINTERN PyObject
*NullIcon_get(void) {
27867 PyObject
*pyobj
= 0;
27869 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullIcon
), SWIGTYPE_p_wxIcon
, 0 );
27874 SWIGINTERN
int NullCursor_set(PyObject
*) {
27875 SWIG_Error(SWIG_AttributeError
,"Variable NullCursor is read-only.");
27880 SWIGINTERN PyObject
*NullCursor_get(void) {
27881 PyObject
*pyobj
= 0;
27883 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullCursor
), SWIGTYPE_p_wxCursor
, 0 );
27888 SWIGINTERN
int NullPen_set(PyObject
*) {
27889 SWIG_Error(SWIG_AttributeError
,"Variable NullPen is read-only.");
27894 SWIGINTERN PyObject
*NullPen_get(void) {
27895 PyObject
*pyobj
= 0;
27897 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPen
), SWIGTYPE_p_wxPen
, 0 );
27902 SWIGINTERN
int NullBrush_set(PyObject
*) {
27903 SWIG_Error(SWIG_AttributeError
,"Variable NullBrush is read-only.");
27908 SWIGINTERN PyObject
*NullBrush_get(void) {
27909 PyObject
*pyobj
= 0;
27911 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullBrush
), SWIGTYPE_p_wxBrush
, 0 );
27916 SWIGINTERN
int NullPalette_set(PyObject
*) {
27917 SWIG_Error(SWIG_AttributeError
,"Variable NullPalette is read-only.");
27922 SWIGINTERN PyObject
*NullPalette_get(void) {
27923 PyObject
*pyobj
= 0;
27925 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullPalette
), SWIGTYPE_p_wxPalette
, 0 );
27930 SWIGINTERN
int NullFont_set(PyObject
*) {
27931 SWIG_Error(SWIG_AttributeError
,"Variable NullFont is read-only.");
27936 SWIGINTERN PyObject
*NullFont_get(void) {
27937 PyObject
*pyobj
= 0;
27939 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullFont
), SWIGTYPE_p_wxFont
, 0 );
27944 SWIGINTERN
int NullColour_set(PyObject
*) {
27945 SWIG_Error(SWIG_AttributeError
,"Variable NullColour is read-only.");
27950 SWIGINTERN PyObject
*NullColour_get(void) {
27951 PyObject
*pyobj
= 0;
27953 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullColour
), SWIGTYPE_p_wxColour
, 0 );
27958 SWIGINTERN PyObject
*_wrap_new_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27959 PyObject
*resultobj
= 0;
27960 wxGDIObjListBase
*result
= 0 ;
27962 if (!SWIG_Python_UnpackTuple(args
,"new_GDIObjListBase",0,0,0)) SWIG_fail
;
27964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27965 result
= (wxGDIObjListBase
*)new wxGDIObjListBase();
27966 wxPyEndAllowThreads(__tstate
);
27967 if (PyErr_Occurred()) SWIG_fail
;
27969 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_NEW
| 0 );
27976 SWIGINTERN PyObject
*_wrap_delete_GDIObjListBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27977 PyObject
*resultobj
= 0;
27978 wxGDIObjListBase
*arg1
= (wxGDIObjListBase
*) 0 ;
27981 PyObject
*swig_obj
[1] ;
27983 if (!args
) SWIG_fail
;
27984 swig_obj
[0] = args
;
27985 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGDIObjListBase
, SWIG_POINTER_DISOWN
| 0 );
27986 if (!SWIG_IsOK(res1
)) {
27987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GDIObjListBase" "', expected argument " "1"" of type '" "wxGDIObjListBase *""'");
27989 arg1
= reinterpret_cast< wxGDIObjListBase
* >(argp1
);
27991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27994 wxPyEndAllowThreads(__tstate
);
27995 if (PyErr_Occurred()) SWIG_fail
;
27997 resultobj
= SWIG_Py_Void();
28004 SWIGINTERN PyObject
*GDIObjListBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28006 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28007 SWIG_TypeNewClientData(SWIGTYPE_p_wxGDIObjListBase
, SWIG_NewClientData(obj
));
28008 return SWIG_Py_Void();
28011 SWIGINTERN PyObject
*GDIObjListBase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28012 return SWIG_Python_InitShadowInstance(args
);
28015 SWIGINTERN PyObject
*_wrap_PenList_FindOrCreatePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28016 PyObject
*resultobj
= 0;
28017 wxPenList
*arg1
= (wxPenList
*) 0 ;
28018 wxColour
*arg2
= 0 ;
28021 wxPen
*result
= 0 ;
28029 PyObject
* obj0
= 0 ;
28030 PyObject
* obj1
= 0 ;
28031 PyObject
* obj2
= 0 ;
28032 PyObject
* obj3
= 0 ;
28033 char * kwnames
[] = {
28034 (char *) "self",(char *) "colour",(char *) "width",(char *) "style", NULL
28037 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PenList_FindOrCreatePen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
28038 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
28039 if (!SWIG_IsOK(res1
)) {
28040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "1"" of type '" "wxPenList *""'");
28042 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
28045 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
28047 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28048 if (!SWIG_IsOK(ecode3
)) {
28049 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "3"" of type '" "int""'");
28051 arg3
= static_cast< int >(val3
);
28052 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
28053 if (!SWIG_IsOK(ecode4
)) {
28054 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PenList_FindOrCreatePen" "', expected argument " "4"" of type '" "int""'");
28056 arg4
= static_cast< int >(val4
);
28058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28059 result
= (wxPen
*)(arg1
)->FindOrCreatePen((wxColour
const &)*arg2
,arg3
,arg4
);
28060 wxPyEndAllowThreads(__tstate
);
28061 if (PyErr_Occurred()) SWIG_fail
;
28063 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPen
, 0 | 0 );
28070 SWIGINTERN PyObject
*_wrap_PenList_AddPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28071 PyObject
*resultobj
= 0;
28072 wxPenList
*arg1
= (wxPenList
*) 0 ;
28073 wxPen
*arg2
= (wxPen
*) 0 ;
28078 PyObject
* obj0
= 0 ;
28079 PyObject
* obj1
= 0 ;
28080 char * kwnames
[] = {
28081 (char *) "self",(char *) "pen", NULL
28084 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_AddPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28085 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
28086 if (!SWIG_IsOK(res1
)) {
28087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_AddPen" "', expected argument " "1"" of type '" "wxPenList *""'");
28089 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
28090 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
28091 if (!SWIG_IsOK(res2
)) {
28092 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_AddPen" "', expected argument " "2"" of type '" "wxPen *""'");
28094 arg2
= reinterpret_cast< wxPen
* >(argp2
);
28096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28097 (arg1
)->AddPen(arg2
);
28098 wxPyEndAllowThreads(__tstate
);
28099 if (PyErr_Occurred()) SWIG_fail
;
28101 resultobj
= SWIG_Py_Void();
28108 SWIGINTERN PyObject
*_wrap_PenList_RemovePen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28109 PyObject
*resultobj
= 0;
28110 wxPenList
*arg1
= (wxPenList
*) 0 ;
28111 wxPen
*arg2
= (wxPen
*) 0 ;
28116 PyObject
* obj0
= 0 ;
28117 PyObject
* obj1
= 0 ;
28118 char * kwnames
[] = {
28119 (char *) "self",(char *) "pen", NULL
28122 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PenList_RemovePen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28123 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPenList
, 0 | 0 );
28124 if (!SWIG_IsOK(res1
)) {
28125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PenList_RemovePen" "', expected argument " "1"" of type '" "wxPenList *""'");
28127 arg1
= reinterpret_cast< wxPenList
* >(argp1
);
28128 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPen
, 0 | 0 );
28129 if (!SWIG_IsOK(res2
)) {
28130 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PenList_RemovePen" "', expected argument " "2"" of type '" "wxPen *""'");
28132 arg2
= reinterpret_cast< wxPen
* >(argp2
);
28134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28135 (arg1
)->RemovePen(arg2
);
28136 wxPyEndAllowThreads(__tstate
);
28137 if (PyErr_Occurred()) SWIG_fail
;
28139 resultobj
= SWIG_Py_Void();
28146 SWIGINTERN PyObject
*PenList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28148 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28149 SWIG_TypeNewClientData(SWIGTYPE_p_wxPenList
, SWIG_NewClientData(obj
));
28150 return SWIG_Py_Void();
28153 SWIGINTERN PyObject
*_wrap_BrushList_FindOrCreateBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28154 PyObject
*resultobj
= 0;
28155 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
28156 wxColour
*arg2
= 0 ;
28157 int arg3
= (int) wxSOLID
;
28158 wxBrush
*result
= 0 ;
28164 PyObject
* obj0
= 0 ;
28165 PyObject
* obj1
= 0 ;
28166 PyObject
* obj2
= 0 ;
28167 char * kwnames
[] = {
28168 (char *) "self",(char *) "colour",(char *) "style", NULL
28171 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:BrushList_FindOrCreateBrush",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28172 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
28173 if (!SWIG_IsOK(res1
)) {
28174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
28176 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
28179 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
28182 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28183 if (!SWIG_IsOK(ecode3
)) {
28184 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BrushList_FindOrCreateBrush" "', expected argument " "3"" of type '" "int""'");
28186 arg3
= static_cast< int >(val3
);
28189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28190 result
= (wxBrush
*)(arg1
)->FindOrCreateBrush((wxColour
const &)*arg2
,arg3
);
28191 wxPyEndAllowThreads(__tstate
);
28192 if (PyErr_Occurred()) SWIG_fail
;
28194 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrush
, 0 | 0 );
28201 SWIGINTERN PyObject
*_wrap_BrushList_AddBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28202 PyObject
*resultobj
= 0;
28203 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
28204 wxBrush
*arg2
= (wxBrush
*) 0 ;
28209 PyObject
* obj0
= 0 ;
28210 PyObject
* obj1
= 0 ;
28211 char * kwnames
[] = {
28212 (char *) "self",(char *) "brush", NULL
28215 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_AddBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28216 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
28217 if (!SWIG_IsOK(res1
)) {
28218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_AddBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
28220 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
28221 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
28222 if (!SWIG_IsOK(res2
)) {
28223 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_AddBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
28225 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
28227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28228 (arg1
)->AddBrush(arg2
);
28229 wxPyEndAllowThreads(__tstate
);
28230 if (PyErr_Occurred()) SWIG_fail
;
28232 resultobj
= SWIG_Py_Void();
28239 SWIGINTERN PyObject
*_wrap_BrushList_RemoveBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28240 PyObject
*resultobj
= 0;
28241 wxBrushList
*arg1
= (wxBrushList
*) 0 ;
28242 wxBrush
*arg2
= (wxBrush
*) 0 ;
28247 PyObject
* obj0
= 0 ;
28248 PyObject
* obj1
= 0 ;
28249 char * kwnames
[] = {
28250 (char *) "self",(char *) "brush", NULL
28253 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BrushList_RemoveBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28254 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBrushList
, 0 | 0 );
28255 if (!SWIG_IsOK(res1
)) {
28256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BrushList_RemoveBrush" "', expected argument " "1"" of type '" "wxBrushList *""'");
28258 arg1
= reinterpret_cast< wxBrushList
* >(argp1
);
28259 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBrush
, 0 | 0 );
28260 if (!SWIG_IsOK(res2
)) {
28261 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BrushList_RemoveBrush" "', expected argument " "2"" of type '" "wxBrush *""'");
28263 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
28265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28266 (arg1
)->RemoveBrush(arg2
);
28267 wxPyEndAllowThreads(__tstate
);
28268 if (PyErr_Occurred()) SWIG_fail
;
28270 resultobj
= SWIG_Py_Void();
28277 SWIGINTERN PyObject
*BrushList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28279 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28280 SWIG_TypeNewClientData(SWIGTYPE_p_wxBrushList
, SWIG_NewClientData(obj
));
28281 return SWIG_Py_Void();
28284 SWIGINTERN PyObject
*_wrap_FontList_FindOrCreateFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28285 PyObject
*resultobj
= 0;
28286 wxFontList
*arg1
= (wxFontList
*) 0 ;
28291 bool arg6
= (bool) false ;
28292 wxString
const &arg7_defvalue
= wxPyEmptyString
;
28293 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28294 wxFontEncoding arg8
= (wxFontEncoding
) wxFONTENCODING_DEFAULT
;
28295 wxFont
*result
= 0 ;
28308 bool temp7
= false ;
28311 PyObject
* obj0
= 0 ;
28312 PyObject
* obj1
= 0 ;
28313 PyObject
* obj2
= 0 ;
28314 PyObject
* obj3
= 0 ;
28315 PyObject
* obj4
= 0 ;
28316 PyObject
* obj5
= 0 ;
28317 PyObject
* obj6
= 0 ;
28318 PyObject
* obj7
= 0 ;
28319 char * kwnames
[] = {
28320 (char *) "self",(char *) "point_size",(char *) "family",(char *) "style",(char *) "weight",(char *) "underline",(char *) "facename",(char *) "encoding", NULL
28323 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:FontList_FindOrCreateFont",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
28324 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
28325 if (!SWIG_IsOK(res1
)) {
28326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "1"" of type '" "wxFontList *""'");
28328 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
28329 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28330 if (!SWIG_IsOK(ecode2
)) {
28331 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "2"" of type '" "int""'");
28333 arg2
= static_cast< int >(val2
);
28334 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28335 if (!SWIG_IsOK(ecode3
)) {
28336 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "3"" of type '" "int""'");
28338 arg3
= static_cast< int >(val3
);
28339 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
28340 if (!SWIG_IsOK(ecode4
)) {
28341 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "4"" of type '" "int""'");
28343 arg4
= static_cast< int >(val4
);
28344 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
28345 if (!SWIG_IsOK(ecode5
)) {
28346 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "5"" of type '" "int""'");
28348 arg5
= static_cast< int >(val5
);
28350 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
28351 if (!SWIG_IsOK(ecode6
)) {
28352 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "6"" of type '" "bool""'");
28354 arg6
= static_cast< bool >(val6
);
28358 arg7
= wxString_in_helper(obj6
);
28359 if (arg7
== NULL
) SWIG_fail
;
28364 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
28365 if (!SWIG_IsOK(ecode8
)) {
28366 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "FontList_FindOrCreateFont" "', expected argument " "8"" of type '" "wxFontEncoding""'");
28368 arg8
= static_cast< wxFontEncoding
>(val8
);
28371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28372 result
= (wxFont
*)(arg1
)->FindOrCreateFont(arg2
,arg3
,arg4
,arg5
,arg6
,(wxString
const &)*arg7
,arg8
);
28373 wxPyEndAllowThreads(__tstate
);
28374 if (PyErr_Occurred()) SWIG_fail
;
28376 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
28391 SWIGINTERN PyObject
*_wrap_FontList_AddFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28392 PyObject
*resultobj
= 0;
28393 wxFontList
*arg1
= (wxFontList
*) 0 ;
28394 wxFont
*arg2
= (wxFont
*) 0 ;
28399 PyObject
* obj0
= 0 ;
28400 PyObject
* obj1
= 0 ;
28401 char * kwnames
[] = {
28402 (char *) "self",(char *) "font", NULL
28405 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_AddFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28406 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
28407 if (!SWIG_IsOK(res1
)) {
28408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_AddFont" "', expected argument " "1"" of type '" "wxFontList *""'");
28410 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
28411 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
28412 if (!SWIG_IsOK(res2
)) {
28413 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_AddFont" "', expected argument " "2"" of type '" "wxFont *""'");
28415 arg2
= reinterpret_cast< wxFont
* >(argp2
);
28417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28418 (arg1
)->AddFont(arg2
);
28419 wxPyEndAllowThreads(__tstate
);
28420 if (PyErr_Occurred()) SWIG_fail
;
28422 resultobj
= SWIG_Py_Void();
28429 SWIGINTERN PyObject
*_wrap_FontList_RemoveFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28430 PyObject
*resultobj
= 0;
28431 wxFontList
*arg1
= (wxFontList
*) 0 ;
28432 wxFont
*arg2
= (wxFont
*) 0 ;
28437 PyObject
* obj0
= 0 ;
28438 PyObject
* obj1
= 0 ;
28439 char * kwnames
[] = {
28440 (char *) "self",(char *) "font", NULL
28443 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontList_RemoveFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28444 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontList
, 0 | 0 );
28445 if (!SWIG_IsOK(res1
)) {
28446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontList_RemoveFont" "', expected argument " "1"" of type '" "wxFontList *""'");
28448 arg1
= reinterpret_cast< wxFontList
* >(argp1
);
28449 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
28450 if (!SWIG_IsOK(res2
)) {
28451 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontList_RemoveFont" "', expected argument " "2"" of type '" "wxFont *""'");
28453 arg2
= reinterpret_cast< wxFont
* >(argp2
);
28455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28456 (arg1
)->RemoveFont(arg2
);
28457 wxPyEndAllowThreads(__tstate
);
28458 if (PyErr_Occurred()) SWIG_fail
;
28460 resultobj
= SWIG_Py_Void();
28467 SWIGINTERN PyObject
*FontList_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28469 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28470 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontList
, SWIG_NewClientData(obj
));
28471 return SWIG_Py_Void();
28474 SWIGINTERN PyObject
*_wrap_new_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28475 PyObject
*resultobj
= 0;
28476 wxColourDatabase
*result
= 0 ;
28478 if (!SWIG_Python_UnpackTuple(args
,"new_ColourDatabase",0,0,0)) SWIG_fail
;
28480 if (!wxPyCheckForApp()) SWIG_fail
;
28481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28482 result
= (wxColourDatabase
*)new wxColourDatabase();
28483 wxPyEndAllowThreads(__tstate
);
28484 if (PyErr_Occurred()) SWIG_fail
;
28486 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_NEW
| 0 );
28493 SWIGINTERN PyObject
*_wrap_delete_ColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28494 PyObject
*resultobj
= 0;
28495 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
28498 PyObject
*swig_obj
[1] ;
28500 if (!args
) SWIG_fail
;
28501 swig_obj
[0] = args
;
28502 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDatabase
, SWIG_POINTER_DISOWN
| 0 );
28503 if (!SWIG_IsOK(res1
)) {
28504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourDatabase" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
28506 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
28508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28511 wxPyEndAllowThreads(__tstate
);
28512 if (PyErr_Occurred()) SWIG_fail
;
28514 resultobj
= SWIG_Py_Void();
28521 SWIGINTERN PyObject
*_wrap_ColourDatabase_Find(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28522 PyObject
*resultobj
= 0;
28523 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
28524 wxString
*arg2
= 0 ;
28528 bool temp2
= false ;
28529 PyObject
* obj0
= 0 ;
28530 PyObject
* obj1
= 0 ;
28531 char * kwnames
[] = {
28532 (char *) "self",(char *) "name", NULL
28535 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_Find",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28536 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
28537 if (!SWIG_IsOK(res1
)) {
28538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Find" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
28540 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
28542 arg2
= wxString_in_helper(obj1
);
28543 if (arg2
== NULL
) SWIG_fail
;
28547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28548 result
= ((wxColourDatabase
const *)arg1
)->Find((wxString
const &)*arg2
);
28549 wxPyEndAllowThreads(__tstate
);
28550 if (PyErr_Occurred()) SWIG_fail
;
28552 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
28567 SWIGINTERN PyObject
*_wrap_ColourDatabase_FindName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28568 PyObject
*resultobj
= 0;
28569 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
28570 wxColour
*arg2
= 0 ;
28575 PyObject
* obj0
= 0 ;
28576 PyObject
* obj1
= 0 ;
28577 char * kwnames
[] = {
28578 (char *) "self",(char *) "colour", NULL
28581 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourDatabase_FindName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28582 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
28583 if (!SWIG_IsOK(res1
)) {
28584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_FindName" "', expected argument " "1"" of type '" "wxColourDatabase const *""'");
28586 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
28589 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
28592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28593 result
= ((wxColourDatabase
const *)arg1
)->FindName((wxColour
const &)*arg2
);
28594 wxPyEndAllowThreads(__tstate
);
28595 if (PyErr_Occurred()) SWIG_fail
;
28599 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28601 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28610 SWIGINTERN PyObject
*_wrap_ColourDatabase_AddColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28611 PyObject
*resultobj
= 0;
28612 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
28613 wxString
*arg2
= 0 ;
28614 wxColour
*arg3
= 0 ;
28617 bool temp2
= false ;
28619 PyObject
* obj0
= 0 ;
28620 PyObject
* obj1
= 0 ;
28621 PyObject
* obj2
= 0 ;
28622 char * kwnames
[] = {
28623 (char *) "self",(char *) "name",(char *) "colour", NULL
28626 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourDatabase_AddColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28627 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
28628 if (!SWIG_IsOK(res1
)) {
28629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_AddColour" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
28631 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
28633 arg2
= wxString_in_helper(obj1
);
28634 if (arg2
== NULL
) SWIG_fail
;
28639 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
28642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28643 (arg1
)->AddColour((wxString
const &)*arg2
,(wxColour
const &)*arg3
);
28644 wxPyEndAllowThreads(__tstate
);
28645 if (PyErr_Occurred()) SWIG_fail
;
28647 resultobj
= SWIG_Py_Void();
28662 SWIGINTERN PyObject
*_wrap_ColourDatabase_Append(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28663 PyObject
*resultobj
= 0;
28664 wxColourDatabase
*arg1
= (wxColourDatabase
*) 0 ;
28665 wxString
*arg2
= 0 ;
28671 bool temp2
= false ;
28678 PyObject
* obj0
= 0 ;
28679 PyObject
* obj1
= 0 ;
28680 PyObject
* obj2
= 0 ;
28681 PyObject
* obj3
= 0 ;
28682 PyObject
* obj4
= 0 ;
28683 char * kwnames
[] = {
28684 (char *) "self",(char *) "name",(char *) "red",(char *) "green",(char *) "blue", NULL
28687 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:ColourDatabase_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
28688 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
28689 if (!SWIG_IsOK(res1
)) {
28690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDatabase_Append" "', expected argument " "1"" of type '" "wxColourDatabase *""'");
28692 arg1
= reinterpret_cast< wxColourDatabase
* >(argp1
);
28694 arg2
= wxString_in_helper(obj1
);
28695 if (arg2
== NULL
) SWIG_fail
;
28698 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28699 if (!SWIG_IsOK(ecode3
)) {
28700 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourDatabase_Append" "', expected argument " "3"" of type '" "int""'");
28702 arg3
= static_cast< int >(val3
);
28703 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
28704 if (!SWIG_IsOK(ecode4
)) {
28705 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ColourDatabase_Append" "', expected argument " "4"" of type '" "int""'");
28707 arg4
= static_cast< int >(val4
);
28708 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
28709 if (!SWIG_IsOK(ecode5
)) {
28710 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ColourDatabase_Append" "', expected argument " "5"" of type '" "int""'");
28712 arg5
= static_cast< int >(val5
);
28714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28715 wxColourDatabase_Append(arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
28716 wxPyEndAllowThreads(__tstate
);
28717 if (PyErr_Occurred()) SWIG_fail
;
28719 resultobj
= SWIG_Py_Void();
28734 SWIGINTERN PyObject
*ColourDatabase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28736 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28737 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDatabase
, SWIG_NewClientData(obj
));
28738 return SWIG_Py_Void();
28741 SWIGINTERN PyObject
*ColourDatabase_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28742 return SWIG_Python_InitShadowInstance(args
);
28745 SWIGINTERN PyObject
*_wrap__wxPyInitTheFontList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28746 PyObject
*resultobj
= 0;
28747 wxFontList
*result
= 0 ;
28749 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheFontList",0,0,0)) SWIG_fail
;
28751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28752 result
= (wxFontList
*)_wxPyInitTheFontList();
28753 wxPyEndAllowThreads(__tstate
);
28754 if (PyErr_Occurred()) SWIG_fail
;
28756 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontList
, 0 | 0 );
28763 SWIGINTERN PyObject
*_wrap__wxPyInitThePenList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28764 PyObject
*resultobj
= 0;
28765 wxPenList
*result
= 0 ;
28767 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitThePenList",0,0,0)) SWIG_fail
;
28769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28770 result
= (wxPenList
*)_wxPyInitThePenList();
28771 wxPyEndAllowThreads(__tstate
);
28772 if (PyErr_Occurred()) SWIG_fail
;
28774 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPenList
, 0 | 0 );
28781 SWIGINTERN PyObject
*_wrap__wxPyInitTheBrushList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28782 PyObject
*resultobj
= 0;
28783 wxBrushList
*result
= 0 ;
28785 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheBrushList",0,0,0)) SWIG_fail
;
28787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28788 result
= (wxBrushList
*)_wxPyInitTheBrushList();
28789 wxPyEndAllowThreads(__tstate
);
28790 if (PyErr_Occurred()) SWIG_fail
;
28792 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBrushList
, 0 | 0 );
28799 SWIGINTERN PyObject
*_wrap__wxPyInitTheColourDatabase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28800 PyObject
*resultobj
= 0;
28801 wxColourDatabase
*result
= 0 ;
28803 if (!SWIG_Python_UnpackTuple(args
,"_wxPyInitTheColourDatabase",0,0,0)) SWIG_fail
;
28805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28806 result
= (wxColourDatabase
*)_wxPyInitTheColourDatabase();
28807 wxPyEndAllowThreads(__tstate
);
28808 if (PyErr_Occurred()) SWIG_fail
;
28810 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDatabase
, 0 | 0 );
28817 SWIGINTERN PyObject
*_wrap_new_Effects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28818 PyObject
*resultobj
= 0;
28819 wxEffects
*result
= 0 ;
28821 if (!SWIG_Python_UnpackTuple(args
,"new_Effects",0,0,0)) SWIG_fail
;
28823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28824 result
= (wxEffects
*)new wxEffects();
28825 wxPyEndAllowThreads(__tstate
);
28826 if (PyErr_Occurred()) SWIG_fail
;
28828 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEffects
, SWIG_POINTER_NEW
| 0 );
28835 SWIGINTERN PyObject
*_wrap_Effects_GetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28836 PyObject
*resultobj
= 0;
28837 wxEffects
*arg1
= (wxEffects
*) 0 ;
28841 PyObject
*swig_obj
[1] ;
28843 if (!args
) SWIG_fail
;
28844 swig_obj
[0] = args
;
28845 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
28846 if (!SWIG_IsOK(res1
)) {
28847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetHighlightColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
28849 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
28851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28852 result
= ((wxEffects
const *)arg1
)->GetHighlightColour();
28853 wxPyEndAllowThreads(__tstate
);
28854 if (PyErr_Occurred()) SWIG_fail
;
28856 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
28863 SWIGINTERN PyObject
*_wrap_Effects_GetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28864 PyObject
*resultobj
= 0;
28865 wxEffects
*arg1
= (wxEffects
*) 0 ;
28869 PyObject
*swig_obj
[1] ;
28871 if (!args
) SWIG_fail
;
28872 swig_obj
[0] = args
;
28873 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
28874 if (!SWIG_IsOK(res1
)) {
28875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetLightShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
28877 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
28879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28880 result
= ((wxEffects
const *)arg1
)->GetLightShadow();
28881 wxPyEndAllowThreads(__tstate
);
28882 if (PyErr_Occurred()) SWIG_fail
;
28884 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
28891 SWIGINTERN PyObject
*_wrap_Effects_GetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28892 PyObject
*resultobj
= 0;
28893 wxEffects
*arg1
= (wxEffects
*) 0 ;
28897 PyObject
*swig_obj
[1] ;
28899 if (!args
) SWIG_fail
;
28900 swig_obj
[0] = args
;
28901 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
28902 if (!SWIG_IsOK(res1
)) {
28903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetFaceColour" "', expected argument " "1"" of type '" "wxEffects const *""'");
28905 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
28907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28908 result
= ((wxEffects
const *)arg1
)->GetFaceColour();
28909 wxPyEndAllowThreads(__tstate
);
28910 if (PyErr_Occurred()) SWIG_fail
;
28912 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
28919 SWIGINTERN PyObject
*_wrap_Effects_GetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28920 PyObject
*resultobj
= 0;
28921 wxEffects
*arg1
= (wxEffects
*) 0 ;
28925 PyObject
*swig_obj
[1] ;
28927 if (!args
) SWIG_fail
;
28928 swig_obj
[0] = args
;
28929 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
28930 if (!SWIG_IsOK(res1
)) {
28931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetMediumShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
28933 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
28935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28936 result
= ((wxEffects
const *)arg1
)->GetMediumShadow();
28937 wxPyEndAllowThreads(__tstate
);
28938 if (PyErr_Occurred()) SWIG_fail
;
28940 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
28947 SWIGINTERN PyObject
*_wrap_Effects_GetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28948 PyObject
*resultobj
= 0;
28949 wxEffects
*arg1
= (wxEffects
*) 0 ;
28953 PyObject
*swig_obj
[1] ;
28955 if (!args
) SWIG_fail
;
28956 swig_obj
[0] = args
;
28957 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
28958 if (!SWIG_IsOK(res1
)) {
28959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_GetDarkShadow" "', expected argument " "1"" of type '" "wxEffects const *""'");
28961 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
28963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28964 result
= ((wxEffects
const *)arg1
)->GetDarkShadow();
28965 wxPyEndAllowThreads(__tstate
);
28966 if (PyErr_Occurred()) SWIG_fail
;
28968 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
28975 SWIGINTERN PyObject
*_wrap_Effects_SetHighlightColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28976 PyObject
*resultobj
= 0;
28977 wxEffects
*arg1
= (wxEffects
*) 0 ;
28978 wxColour
*arg2
= 0 ;
28982 PyObject
* obj0
= 0 ;
28983 PyObject
* obj1
= 0 ;
28984 char * kwnames
[] = {
28985 (char *) "self",(char *) "c", NULL
28988 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetHighlightColour",kwnames
,&obj0
,&obj1
)) 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_SetHighlightColour" "', expected argument " "1"" of type '" "wxEffects *""'");
28993 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
28996 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
28999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29000 (arg1
)->SetHighlightColour((wxColour
const &)*arg2
);
29001 wxPyEndAllowThreads(__tstate
);
29002 if (PyErr_Occurred()) SWIG_fail
;
29004 resultobj
= SWIG_Py_Void();
29011 SWIGINTERN PyObject
*_wrap_Effects_SetLightShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29012 PyObject
*resultobj
= 0;
29013 wxEffects
*arg1
= (wxEffects
*) 0 ;
29014 wxColour
*arg2
= 0 ;
29018 PyObject
* obj0
= 0 ;
29019 PyObject
* obj1
= 0 ;
29020 char * kwnames
[] = {
29021 (char *) "self",(char *) "c", NULL
29024 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetLightShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29025 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29026 if (!SWIG_IsOK(res1
)) {
29027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetLightShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
29029 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
29032 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29036 (arg1
)->SetLightShadow((wxColour
const &)*arg2
);
29037 wxPyEndAllowThreads(__tstate
);
29038 if (PyErr_Occurred()) SWIG_fail
;
29040 resultobj
= SWIG_Py_Void();
29047 SWIGINTERN PyObject
*_wrap_Effects_SetFaceColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29048 PyObject
*resultobj
= 0;
29049 wxEffects
*arg1
= (wxEffects
*) 0 ;
29050 wxColour
*arg2
= 0 ;
29054 PyObject
* obj0
= 0 ;
29055 PyObject
* obj1
= 0 ;
29056 char * kwnames
[] = {
29057 (char *) "self",(char *) "c", NULL
29060 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetFaceColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29061 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29062 if (!SWIG_IsOK(res1
)) {
29063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetFaceColour" "', expected argument " "1"" of type '" "wxEffects *""'");
29065 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
29068 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29072 (arg1
)->SetFaceColour((wxColour
const &)*arg2
);
29073 wxPyEndAllowThreads(__tstate
);
29074 if (PyErr_Occurred()) SWIG_fail
;
29076 resultobj
= SWIG_Py_Void();
29083 SWIGINTERN PyObject
*_wrap_Effects_SetMediumShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29084 PyObject
*resultobj
= 0;
29085 wxEffects
*arg1
= (wxEffects
*) 0 ;
29086 wxColour
*arg2
= 0 ;
29090 PyObject
* obj0
= 0 ;
29091 PyObject
* obj1
= 0 ;
29092 char * kwnames
[] = {
29093 (char *) "self",(char *) "c", NULL
29096 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetMediumShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29097 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29098 if (!SWIG_IsOK(res1
)) {
29099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetMediumShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
29101 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
29104 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29108 (arg1
)->SetMediumShadow((wxColour
const &)*arg2
);
29109 wxPyEndAllowThreads(__tstate
);
29110 if (PyErr_Occurred()) SWIG_fail
;
29112 resultobj
= SWIG_Py_Void();
29119 SWIGINTERN PyObject
*_wrap_Effects_SetDarkShadow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29120 PyObject
*resultobj
= 0;
29121 wxEffects
*arg1
= (wxEffects
*) 0 ;
29122 wxColour
*arg2
= 0 ;
29126 PyObject
* obj0
= 0 ;
29127 PyObject
* obj1
= 0 ;
29128 char * kwnames
[] = {
29129 (char *) "self",(char *) "c", NULL
29132 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Effects_SetDarkShadow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29133 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29134 if (!SWIG_IsOK(res1
)) {
29135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_SetDarkShadow" "', expected argument " "1"" of type '" "wxEffects *""'");
29137 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
29140 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29144 (arg1
)->SetDarkShadow((wxColour
const &)*arg2
);
29145 wxPyEndAllowThreads(__tstate
);
29146 if (PyErr_Occurred()) SWIG_fail
;
29148 resultobj
= SWIG_Py_Void();
29155 SWIGINTERN PyObject
*_wrap_Effects_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29156 PyObject
*resultobj
= 0;
29157 wxEffects
*arg1
= (wxEffects
*) 0 ;
29158 wxColour
*arg2
= 0 ;
29159 wxColour
*arg3
= 0 ;
29160 wxColour
*arg4
= 0 ;
29161 wxColour
*arg5
= 0 ;
29162 wxColour
*arg6
= 0 ;
29170 PyObject
* obj0
= 0 ;
29171 PyObject
* obj1
= 0 ;
29172 PyObject
* obj2
= 0 ;
29173 PyObject
* obj3
= 0 ;
29174 PyObject
* obj4
= 0 ;
29175 PyObject
* obj5
= 0 ;
29176 char * kwnames
[] = {
29177 (char *) "self",(char *) "highlightColour",(char *) "lightShadow",(char *) "faceColour",(char *) "mediumShadow",(char *) "darkShadow", NULL
29180 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Effects_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29181 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29182 if (!SWIG_IsOK(res1
)) {
29183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_Set" "', expected argument " "1"" of type '" "wxEffects *""'");
29185 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
29188 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29192 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
29196 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
29200 if ( ! wxColour_helper(obj4
, &arg5
)) SWIG_fail
;
29204 if ( ! wxColour_helper(obj5
, &arg6
)) SWIG_fail
;
29207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29208 (arg1
)->Set((wxColour
const &)*arg2
,(wxColour
const &)*arg3
,(wxColour
const &)*arg4
,(wxColour
const &)*arg5
,(wxColour
const &)*arg6
);
29209 wxPyEndAllowThreads(__tstate
);
29210 if (PyErr_Occurred()) SWIG_fail
;
29212 resultobj
= SWIG_Py_Void();
29219 SWIGINTERN PyObject
*_wrap_Effects_DrawSunkenEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29220 PyObject
*resultobj
= 0;
29221 wxEffects
*arg1
= (wxEffects
*) 0 ;
29224 int arg4
= (int) 1 ;
29232 PyObject
* obj0
= 0 ;
29233 PyObject
* obj1
= 0 ;
29234 PyObject
* obj2
= 0 ;
29235 PyObject
* obj3
= 0 ;
29236 char * kwnames
[] = {
29237 (char *) "self",(char *) "dc",(char *) "rect",(char *) "borderSize", NULL
29240 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Effects_DrawSunkenEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29241 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29242 if (!SWIG_IsOK(res1
)) {
29243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "1"" of type '" "wxEffects *""'");
29245 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
29246 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
29247 if (!SWIG_IsOK(res2
)) {
29248 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
29251 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_DrawSunkenEdge" "', expected argument " "2"" of type '" "wxDC &""'");
29253 arg2
= reinterpret_cast< wxDC
* >(argp2
);
29256 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
29259 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29260 if (!SWIG_IsOK(ecode4
)) {
29261 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Effects_DrawSunkenEdge" "', expected argument " "4"" of type '" "int""'");
29263 arg4
= static_cast< int >(val4
);
29266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29267 (arg1
)->DrawSunkenEdge(*arg2
,(wxRect
const &)*arg3
,arg4
);
29268 wxPyEndAllowThreads(__tstate
);
29269 if (PyErr_Occurred()) SWIG_fail
;
29271 resultobj
= SWIG_Py_Void();
29278 SWIGINTERN PyObject
*_wrap_Effects_TileBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29279 PyObject
*resultobj
= 0;
29280 wxEffects
*arg1
= (wxEffects
*) 0 ;
29283 wxBitmap
*arg4
= 0 ;
29292 PyObject
* obj0
= 0 ;
29293 PyObject
* obj1
= 0 ;
29294 PyObject
* obj2
= 0 ;
29295 PyObject
* obj3
= 0 ;
29296 char * kwnames
[] = {
29297 (char *) "self",(char *) "rect",(char *) "dc",(char *) "bitmap", NULL
29300 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Effects_TileBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29301 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEffects
, 0 | 0 );
29302 if (!SWIG_IsOK(res1
)) {
29303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Effects_TileBitmap" "', expected argument " "1"" of type '" "wxEffects *""'");
29305 arg1
= reinterpret_cast< wxEffects
* >(argp1
);
29308 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
29310 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
29311 if (!SWIG_IsOK(res3
)) {
29312 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
29315 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "3"" of type '" "wxDC &""'");
29317 arg3
= reinterpret_cast< wxDC
* >(argp3
);
29318 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 );
29319 if (!SWIG_IsOK(res4
)) {
29320 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
29323 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Effects_TileBitmap" "', expected argument " "4"" of type '" "wxBitmap &""'");
29325 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
29327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29328 result
= (bool)(arg1
)->TileBitmap((wxRect
const &)*arg2
,*arg3
,*arg4
);
29329 wxPyEndAllowThreads(__tstate
);
29330 if (PyErr_Occurred()) SWIG_fail
;
29333 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29341 SWIGINTERN PyObject
*Effects_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29343 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29344 SWIG_TypeNewClientData(SWIGTYPE_p_wxEffects
, SWIG_NewClientData(obj
));
29345 return SWIG_Py_Void();
29348 SWIGINTERN PyObject
*Effects_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29349 return SWIG_Python_InitShadowInstance(args
);
29352 SWIGINTERN PyObject
*_wrap_new_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29353 PyObject
*resultobj
= 0;
29357 wxSplitterRenderParams
*result
= 0 ;
29364 PyObject
* obj0
= 0 ;
29365 PyObject
* obj1
= 0 ;
29366 PyObject
* obj2
= 0 ;
29367 char * kwnames
[] = {
29368 (char *) "widthSash_",(char *) "border_",(char *) "isSens_", NULL
29371 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_SplitterRenderParams",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29372 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
29373 if (!SWIG_IsOK(ecode1
)) {
29374 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterRenderParams" "', expected argument " "1"" of type '" "int""'");
29376 arg1
= static_cast< int >(val1
);
29377 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29378 if (!SWIG_IsOK(ecode2
)) {
29379 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterRenderParams" "', expected argument " "2"" of type '" "int""'");
29381 arg2
= static_cast< int >(val2
);
29382 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
29383 if (!SWIG_IsOK(ecode3
)) {
29384 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplitterRenderParams" "', expected argument " "3"" of type '" "bool""'");
29386 arg3
= static_cast< bool >(val3
);
29388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29389 result
= (wxSplitterRenderParams
*)new wxSplitterRenderParams(arg1
,arg2
,arg3
);
29390 wxPyEndAllowThreads(__tstate
);
29391 if (PyErr_Occurred()) SWIG_fail
;
29393 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_NEW
| 0 );
29400 SWIGINTERN PyObject
*_wrap_delete_SplitterRenderParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29401 PyObject
*resultobj
= 0;
29402 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
29405 PyObject
*swig_obj
[1] ;
29407 if (!args
) SWIG_fail
;
29408 swig_obj
[0] = args
;
29409 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_DISOWN
| 0 );
29410 if (!SWIG_IsOK(res1
)) {
29411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_SplitterRenderParams" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
29413 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
29415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29418 wxPyEndAllowThreads(__tstate
);
29419 if (PyErr_Occurred()) SWIG_fail
;
29421 resultobj
= SWIG_Py_Void();
29428 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_widthSash_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29429 PyObject
*resultobj
= 0;
29430 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
29434 PyObject
*swig_obj
[1] ;
29436 if (!args
) SWIG_fail
;
29437 swig_obj
[0] = args
;
29438 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
29439 if (!SWIG_IsOK(res1
)) {
29440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_widthSash_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
29442 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
29443 result
= (int)(int) ((arg1
)->widthSash
);
29444 resultobj
= SWIG_From_int(static_cast< int >(result
));
29451 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_border_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29452 PyObject
*resultobj
= 0;
29453 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
29457 PyObject
*swig_obj
[1] ;
29459 if (!args
) SWIG_fail
;
29460 swig_obj
[0] = args
;
29461 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
29462 if (!SWIG_IsOK(res1
)) {
29463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_border_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
29465 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
29466 result
= (int)(int) ((arg1
)->border
);
29467 resultobj
= SWIG_From_int(static_cast< int >(result
));
29474 SWIGINTERN PyObject
*_wrap_SplitterRenderParams_isHotSensitive_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29475 PyObject
*resultobj
= 0;
29476 wxSplitterRenderParams
*arg1
= (wxSplitterRenderParams
*) 0 ;
29480 PyObject
*swig_obj
[1] ;
29482 if (!args
) SWIG_fail
;
29483 swig_obj
[0] = args
;
29484 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterRenderParams
, 0 | 0 );
29485 if (!SWIG_IsOK(res1
)) {
29486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterRenderParams_isHotSensitive_get" "', expected argument " "1"" of type '" "wxSplitterRenderParams *""'");
29488 arg1
= reinterpret_cast< wxSplitterRenderParams
* >(argp1
);
29489 result
= (bool)(bool) ((arg1
)->isHotSensitive
);
29490 resultobj
= SWIG_From_bool(static_cast< bool >(result
));
29497 SWIGINTERN PyObject
*SplitterRenderParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29499 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29500 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterRenderParams
, SWIG_NewClientData(obj
));
29501 return SWIG_Py_Void();
29504 SWIGINTERN PyObject
*SplitterRenderParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29505 return SWIG_Python_InitShadowInstance(args
);
29508 SWIGINTERN PyObject
*_wrap_new_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29509 PyObject
*resultobj
= 0;
29510 wxHeaderButtonParams
*result
= 0 ;
29512 if (!SWIG_Python_UnpackTuple(args
,"new_HeaderButtonParams",0,0,0)) SWIG_fail
;
29514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29515 result
= (wxHeaderButtonParams
*)new wxHeaderButtonParams();
29516 wxPyEndAllowThreads(__tstate
);
29517 if (PyErr_Occurred()) SWIG_fail
;
29519 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_NEW
| 0 );
29526 SWIGINTERN PyObject
*_wrap_delete_HeaderButtonParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29527 PyObject
*resultobj
= 0;
29528 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29531 PyObject
*swig_obj
[1] ;
29533 if (!args
) SWIG_fail
;
29534 swig_obj
[0] = args
;
29535 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, SWIG_POINTER_DISOWN
| 0 );
29536 if (!SWIG_IsOK(res1
)) {
29537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HeaderButtonParams" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29539 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29544 wxPyEndAllowThreads(__tstate
);
29545 if (PyErr_Occurred()) SWIG_fail
;
29547 resultobj
= SWIG_Py_Void();
29554 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29555 PyObject
*resultobj
= 0;
29556 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29557 wxColour
*arg2
= (wxColour
*) 0 ;
29561 PyObject
*swig_obj
[2] ;
29563 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_arrowColour_set",2,2,swig_obj
)) SWIG_fail
;
29564 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29565 if (!SWIG_IsOK(res1
)) {
29566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29568 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29571 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
29573 if (arg1
) (arg1
)->m_arrowColour
= *arg2
;
29575 resultobj
= SWIG_Py_Void();
29582 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_arrowColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29583 PyObject
*resultobj
= 0;
29584 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29585 wxColour
*result
= 0 ;
29588 PyObject
*swig_obj
[1] ;
29590 if (!args
) SWIG_fail
;
29591 swig_obj
[0] = args
;
29592 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29593 if (!SWIG_IsOK(res1
)) {
29594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_arrowColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29596 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29597 result
= (wxColour
*)& ((arg1
)->m_arrowColour
);
29598 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
29605 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29606 PyObject
*resultobj
= 0;
29607 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29608 wxColour
*arg2
= (wxColour
*) 0 ;
29612 PyObject
*swig_obj
[2] ;
29614 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_selectionColour_set",2,2,swig_obj
)) SWIG_fail
;
29615 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29616 if (!SWIG_IsOK(res1
)) {
29617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29619 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29622 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
29624 if (arg1
) (arg1
)->m_selectionColour
= *arg2
;
29626 resultobj
= SWIG_Py_Void();
29633 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_selectionColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29634 PyObject
*resultobj
= 0;
29635 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29636 wxColour
*result
= 0 ;
29639 PyObject
*swig_obj
[1] ;
29641 if (!args
) SWIG_fail
;
29642 swig_obj
[0] = args
;
29643 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29644 if (!SWIG_IsOK(res1
)) {
29645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_selectionColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29647 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29648 result
= (wxColour
*)& ((arg1
)->m_selectionColour
);
29649 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
29656 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29657 PyObject
*resultobj
= 0;
29658 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29659 wxString
*arg2
= (wxString
*) 0 ;
29662 bool temp2
= false ;
29663 PyObject
*swig_obj
[2] ;
29665 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelText_set",2,2,swig_obj
)) SWIG_fail
;
29666 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29667 if (!SWIG_IsOK(res1
)) {
29668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29670 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29672 arg2
= wxString_in_helper(swig_obj
[1]);
29673 if (arg2
== NULL
) SWIG_fail
;
29676 if (arg1
) (arg1
)->m_labelText
= *arg2
;
29678 resultobj
= SWIG_Py_Void();
29693 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelText_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29694 PyObject
*resultobj
= 0;
29695 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29696 wxString
*result
= 0 ;
29699 PyObject
*swig_obj
[1] ;
29701 if (!args
) SWIG_fail
;
29702 swig_obj
[0] = args
;
29703 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29704 if (!SWIG_IsOK(res1
)) {
29705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelText_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29707 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29708 result
= (wxString
*)& ((arg1
)->m_labelText
);
29711 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
29713 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
29722 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29723 PyObject
*resultobj
= 0;
29724 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29725 wxFont
*arg2
= (wxFont
*) 0 ;
29730 PyObject
*swig_obj
[2] ;
29732 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelFont_set",2,2,swig_obj
)) SWIG_fail
;
29733 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29734 if (!SWIG_IsOK(res1
)) {
29735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29737 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29738 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
29739 if (!SWIG_IsOK(res2
)) {
29740 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelFont_set" "', expected argument " "2"" of type '" "wxFont *""'");
29742 arg2
= reinterpret_cast< wxFont
* >(argp2
);
29743 if (arg1
) (arg1
)->m_labelFont
= *arg2
;
29745 resultobj
= SWIG_Py_Void();
29752 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelFont_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29753 PyObject
*resultobj
= 0;
29754 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29755 wxFont
*result
= 0 ;
29758 PyObject
*swig_obj
[1] ;
29760 if (!args
) SWIG_fail
;
29761 swig_obj
[0] = args
;
29762 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29763 if (!SWIG_IsOK(res1
)) {
29764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelFont_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29766 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29767 result
= (wxFont
*)& ((arg1
)->m_labelFont
);
29768 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
29775 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29776 PyObject
*resultobj
= 0;
29777 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29778 wxColour
*arg2
= (wxColour
*) 0 ;
29782 PyObject
*swig_obj
[2] ;
29784 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelColour_set",2,2,swig_obj
)) SWIG_fail
;
29785 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29786 if (!SWIG_IsOK(res1
)) {
29787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29789 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29792 if ( ! wxColour_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
29794 if (arg1
) (arg1
)->m_labelColour
= *arg2
;
29796 resultobj
= SWIG_Py_Void();
29803 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelColour_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29804 PyObject
*resultobj
= 0;
29805 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29806 wxColour
*result
= 0 ;
29809 PyObject
*swig_obj
[1] ;
29811 if (!args
) SWIG_fail
;
29812 swig_obj
[0] = args
;
29813 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29814 if (!SWIG_IsOK(res1
)) {
29815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelColour_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29817 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29818 result
= (wxColour
*)& ((arg1
)->m_labelColour
);
29819 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
29826 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29827 PyObject
*resultobj
= 0;
29828 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29829 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
29834 PyObject
*swig_obj
[2] ;
29836 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelBitmap_set",2,2,swig_obj
)) SWIG_fail
;
29837 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29838 if (!SWIG_IsOK(res1
)) {
29839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29841 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29842 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
29843 if (!SWIG_IsOK(res2
)) {
29844 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HeaderButtonParams_m_labelBitmap_set" "', expected argument " "2"" of type '" "wxBitmap *""'");
29846 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
29847 if (arg1
) (arg1
)->m_labelBitmap
= *arg2
;
29849 resultobj
= SWIG_Py_Void();
29856 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelBitmap_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29857 PyObject
*resultobj
= 0;
29858 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29859 wxBitmap
*result
= 0 ;
29862 PyObject
*swig_obj
[1] ;
29864 if (!args
) SWIG_fail
;
29865 swig_obj
[0] = args
;
29866 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29867 if (!SWIG_IsOK(res1
)) {
29868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelBitmap_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29870 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29871 result
= (wxBitmap
*)& ((arg1
)->m_labelBitmap
);
29872 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmap
, 0 | 0 );
29879 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29880 PyObject
*resultobj
= 0;
29881 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29887 PyObject
*swig_obj
[2] ;
29889 if (!SWIG_Python_UnpackTuple(args
,"HeaderButtonParams_m_labelAlignment_set",2,2,swig_obj
)) SWIG_fail
;
29890 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29891 if (!SWIG_IsOK(res1
)) {
29892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29894 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29895 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
29896 if (!SWIG_IsOK(ecode2
)) {
29897 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HeaderButtonParams_m_labelAlignment_set" "', expected argument " "2"" of type '" "int""'");
29899 arg2
= static_cast< int >(val2
);
29900 if (arg1
) (arg1
)->m_labelAlignment
= arg2
;
29902 resultobj
= SWIG_Py_Void();
29909 SWIGINTERN PyObject
*_wrap_HeaderButtonParams_m_labelAlignment_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29910 PyObject
*resultobj
= 0;
29911 wxHeaderButtonParams
*arg1
= (wxHeaderButtonParams
*) 0 ;
29915 PyObject
*swig_obj
[1] ;
29917 if (!args
) SWIG_fail
;
29918 swig_obj
[0] = args
;
29919 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
29920 if (!SWIG_IsOK(res1
)) {
29921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HeaderButtonParams_m_labelAlignment_get" "', expected argument " "1"" of type '" "wxHeaderButtonParams *""'");
29923 arg1
= reinterpret_cast< wxHeaderButtonParams
* >(argp1
);
29924 result
= (int) ((arg1
)->m_labelAlignment
);
29925 resultobj
= SWIG_From_int(static_cast< int >(result
));
29932 SWIGINTERN PyObject
*HeaderButtonParams_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29934 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29935 SWIG_TypeNewClientData(SWIGTYPE_p_wxHeaderButtonParams
, SWIG_NewClientData(obj
));
29936 return SWIG_Py_Void();
29939 SWIGINTERN PyObject
*HeaderButtonParams_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29940 return SWIG_Python_InitShadowInstance(args
);
29943 SWIGINTERN PyObject
*_wrap_new_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29944 PyObject
*resultobj
= 0;
29947 wxRendererVersion
*result
= 0 ;
29952 PyObject
* obj0
= 0 ;
29953 PyObject
* obj1
= 0 ;
29954 char * kwnames
[] = {
29955 (char *) "version_",(char *) "age_", NULL
29958 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RendererVersion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29959 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
29960 if (!SWIG_IsOK(ecode1
)) {
29961 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_RendererVersion" "', expected argument " "1"" of type '" "int""'");
29963 arg1
= static_cast< int >(val1
);
29964 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29965 if (!SWIG_IsOK(ecode2
)) {
29966 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RendererVersion" "', expected argument " "2"" of type '" "int""'");
29968 arg2
= static_cast< int >(val2
);
29970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29971 result
= (wxRendererVersion
*)new wxRendererVersion(arg1
,arg2
);
29972 wxPyEndAllowThreads(__tstate
);
29973 if (PyErr_Occurred()) SWIG_fail
;
29975 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_NEW
| 0 );
29982 SWIGINTERN PyObject
*_wrap_delete_RendererVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29983 PyObject
*resultobj
= 0;
29984 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
29987 PyObject
*swig_obj
[1] ;
29989 if (!args
) SWIG_fail
;
29990 swig_obj
[0] = args
;
29991 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_DISOWN
| 0 );
29992 if (!SWIG_IsOK(res1
)) {
29993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RendererVersion" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
29995 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
29997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30000 wxPyEndAllowThreads(__tstate
);
30001 if (PyErr_Occurred()) SWIG_fail
;
30003 resultobj
= SWIG_Py_Void();
30010 SWIGINTERN PyObject
*_wrap_RendererVersion_IsCompatible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30011 PyObject
*resultobj
= 0;
30012 wxRendererVersion
*arg1
= 0 ;
30016 PyObject
* obj0
= 0 ;
30017 char * kwnames
[] = {
30018 (char *) "ver", NULL
30021 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererVersion_IsCompatible",kwnames
,&obj0
)) SWIG_fail
;
30022 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxRendererVersion
, 0 | 0);
30023 if (!SWIG_IsOK(res1
)) {
30024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
30027 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererVersion_IsCompatible" "', expected argument " "1"" of type '" "wxRendererVersion const &""'");
30029 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
30031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30032 result
= (bool)wxRendererVersion::IsCompatible((wxRendererVersion
const &)*arg1
);
30033 wxPyEndAllowThreads(__tstate
);
30034 if (PyErr_Occurred()) SWIG_fail
;
30037 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30045 SWIGINTERN PyObject
*_wrap_RendererVersion_version_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30046 PyObject
*resultobj
= 0;
30047 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
30051 PyObject
*swig_obj
[1] ;
30053 if (!args
) SWIG_fail
;
30054 swig_obj
[0] = args
;
30055 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
30056 if (!SWIG_IsOK(res1
)) {
30057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_version_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
30059 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
30060 result
= (int)(int) ((arg1
)->version
);
30061 resultobj
= SWIG_From_int(static_cast< int >(result
));
30068 SWIGINTERN PyObject
*_wrap_RendererVersion_age_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30069 PyObject
*resultobj
= 0;
30070 wxRendererVersion
*arg1
= (wxRendererVersion
*) 0 ;
30074 PyObject
*swig_obj
[1] ;
30076 if (!args
) SWIG_fail
;
30077 swig_obj
[0] = args
;
30078 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererVersion
, 0 | 0 );
30079 if (!SWIG_IsOK(res1
)) {
30080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererVersion_age_get" "', expected argument " "1"" of type '" "wxRendererVersion *""'");
30082 arg1
= reinterpret_cast< wxRendererVersion
* >(argp1
);
30083 result
= (int)(int) ((arg1
)->age
);
30084 resultobj
= SWIG_From_int(static_cast< int >(result
));
30091 SWIGINTERN PyObject
*RendererVersion_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30093 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30094 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererVersion
, SWIG_NewClientData(obj
));
30095 return SWIG_Py_Void();
30098 SWIGINTERN PyObject
*RendererVersion_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30099 return SWIG_Python_InitShadowInstance(args
);
30102 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30103 PyObject
*resultobj
= 0;
30104 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30105 wxWindow
*arg2
= (wxWindow
*) 0 ;
30108 int arg5
= (int) 0 ;
30109 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
30110 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
30124 PyObject
* obj0
= 0 ;
30125 PyObject
* obj1
= 0 ;
30126 PyObject
* obj2
= 0 ;
30127 PyObject
* obj3
= 0 ;
30128 PyObject
* obj4
= 0 ;
30129 PyObject
* obj5
= 0 ;
30130 PyObject
* obj6
= 0 ;
30131 char * kwnames
[] = {
30132 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
30135 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30136 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30137 if (!SWIG_IsOK(res1
)) {
30138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30140 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30141 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30142 if (!SWIG_IsOK(res2
)) {
30143 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "2"" of type '" "wxWindow *""'");
30145 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30146 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30147 if (!SWIG_IsOK(res3
)) {
30148 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
30151 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "3"" of type '" "wxDC &""'");
30153 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30156 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
30159 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30160 if (!SWIG_IsOK(ecode5
)) {
30161 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "5"" of type '" "int""'");
30163 arg5
= static_cast< int >(val5
);
30166 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
30167 if (!SWIG_IsOK(ecode6
)) {
30168 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
30170 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
30173 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
30174 if (!SWIG_IsOK(res7
)) {
30175 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButton" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
30177 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
30180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30181 (arg1
)->DrawHeaderButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
30182 wxPyEndAllowThreads(__tstate
);
30183 if (PyErr_Occurred()) SWIG_fail
;
30185 resultobj
= SWIG_Py_Void();
30192 SWIGINTERN PyObject
*_wrap_RendererNative_DrawHeaderButtonContents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30193 PyObject
*resultobj
= 0;
30194 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30195 wxWindow
*arg2
= (wxWindow
*) 0 ;
30198 int arg5
= (int) 0 ;
30199 wxHeaderSortIconType arg6
= (wxHeaderSortIconType
) wxHDR_SORT_ICON_NONE
;
30200 wxHeaderButtonParams
*arg7
= (wxHeaderButtonParams
*) NULL
;
30214 PyObject
* obj0
= 0 ;
30215 PyObject
* obj1
= 0 ;
30216 PyObject
* obj2
= 0 ;
30217 PyObject
* obj3
= 0 ;
30218 PyObject
* obj4
= 0 ;
30219 PyObject
* obj5
= 0 ;
30220 PyObject
* obj6
= 0 ;
30221 char * kwnames
[] = {
30222 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags",(char *) "sortArrow",(char *) "params", NULL
30225 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:RendererNative_DrawHeaderButtonContents",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30226 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30227 if (!SWIG_IsOK(res1
)) {
30228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30230 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30231 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30232 if (!SWIG_IsOK(res2
)) {
30233 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "2"" of type '" "wxWindow *""'");
30235 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30236 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30237 if (!SWIG_IsOK(res3
)) {
30238 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
30241 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "3"" of type '" "wxDC &""'");
30243 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30246 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
30249 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30250 if (!SWIG_IsOK(ecode5
)) {
30251 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "5"" of type '" "int""'");
30253 arg5
= static_cast< int >(val5
);
30256 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
30257 if (!SWIG_IsOK(ecode6
)) {
30258 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "6"" of type '" "wxHeaderSortIconType""'");
30260 arg6
= static_cast< wxHeaderSortIconType
>(val6
);
30263 res7
= SWIG_ConvertPtr(obj6
, &argp7
,SWIGTYPE_p_wxHeaderButtonParams
, 0 | 0 );
30264 if (!SWIG_IsOK(res7
)) {
30265 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "RendererNative_DrawHeaderButtonContents" "', expected argument " "7"" of type '" "wxHeaderButtonParams *""'");
30267 arg7
= reinterpret_cast< wxHeaderButtonParams
* >(argp7
);
30270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30271 (arg1
)->DrawHeaderButtonContents(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
,arg7
);
30272 wxPyEndAllowThreads(__tstate
);
30273 if (PyErr_Occurred()) SWIG_fail
;
30275 resultobj
= SWIG_Py_Void();
30282 SWIGINTERN PyObject
*_wrap_RendererNative_GetHeaderButtonHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30283 PyObject
*resultobj
= 0;
30284 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30285 wxWindow
*arg2
= (wxWindow
*) 0 ;
30291 PyObject
* obj0
= 0 ;
30292 PyObject
* obj1
= 0 ;
30293 char * kwnames
[] = {
30294 (char *) "self",(char *) "win", NULL
30297 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetHeaderButtonHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30298 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30299 if (!SWIG_IsOK(res1
)) {
30300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30302 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30303 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30304 if (!SWIG_IsOK(res2
)) {
30305 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetHeaderButtonHeight" "', expected argument " "2"" of type '" "wxWindow *""'");
30307 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30310 result
= (int)(arg1
)->GetHeaderButtonHeight(arg2
);
30311 wxPyEndAllowThreads(__tstate
);
30312 if (PyErr_Occurred()) SWIG_fail
;
30314 resultobj
= SWIG_From_int(static_cast< int >(result
));
30321 SWIGINTERN PyObject
*_wrap_RendererNative_DrawTreeItemButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30322 PyObject
*resultobj
= 0;
30323 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30324 wxWindow
*arg2
= (wxWindow
*) 0 ;
30327 int arg5
= (int) 0 ;
30337 PyObject
* obj0
= 0 ;
30338 PyObject
* obj1
= 0 ;
30339 PyObject
* obj2
= 0 ;
30340 PyObject
* obj3
= 0 ;
30341 PyObject
* obj4
= 0 ;
30342 char * kwnames
[] = {
30343 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
30346 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawTreeItemButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30347 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30348 if (!SWIG_IsOK(res1
)) {
30349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30351 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30352 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30353 if (!SWIG_IsOK(res2
)) {
30354 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "2"" of type '" "wxWindow *""'");
30356 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30357 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30358 if (!SWIG_IsOK(res3
)) {
30359 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
30362 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "3"" of type '" "wxDC &""'");
30364 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30367 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
30370 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30371 if (!SWIG_IsOK(ecode5
)) {
30372 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawTreeItemButton" "', expected argument " "5"" of type '" "int""'");
30374 arg5
= static_cast< int >(val5
);
30377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30378 (arg1
)->DrawTreeItemButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
30379 wxPyEndAllowThreads(__tstate
);
30380 if (PyErr_Occurred()) SWIG_fail
;
30382 resultobj
= SWIG_Py_Void();
30389 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30390 PyObject
*resultobj
= 0;
30391 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30392 wxWindow
*arg2
= (wxWindow
*) 0 ;
30395 int arg5
= (int) 0 ;
30405 PyObject
* obj0
= 0 ;
30406 PyObject
* obj1
= 0 ;
30407 PyObject
* obj2
= 0 ;
30408 PyObject
* obj3
= 0 ;
30409 PyObject
* obj4
= 0 ;
30410 char * kwnames
[] = {
30411 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
30414 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawSplitterBorder",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30415 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30416 if (!SWIG_IsOK(res1
)) {
30417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30419 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30420 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30421 if (!SWIG_IsOK(res2
)) {
30422 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "2"" of type '" "wxWindow *""'");
30424 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30425 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30426 if (!SWIG_IsOK(res3
)) {
30427 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
30430 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "3"" of type '" "wxDC &""'");
30432 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30435 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
30438 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30439 if (!SWIG_IsOK(ecode5
)) {
30440 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterBorder" "', expected argument " "5"" of type '" "int""'");
30442 arg5
= static_cast< int >(val5
);
30445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30446 (arg1
)->DrawSplitterBorder(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
30447 wxPyEndAllowThreads(__tstate
);
30448 if (PyErr_Occurred()) SWIG_fail
;
30450 resultobj
= SWIG_Py_Void();
30457 SWIGINTERN PyObject
*_wrap_RendererNative_DrawSplitterSash(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30458 PyObject
*resultobj
= 0;
30459 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30460 wxWindow
*arg2
= (wxWindow
*) 0 ;
30464 wxOrientation arg6
;
30465 int arg7
= (int) 0 ;
30479 PyObject
* obj0
= 0 ;
30480 PyObject
* obj1
= 0 ;
30481 PyObject
* obj2
= 0 ;
30482 PyObject
* obj3
= 0 ;
30483 PyObject
* obj4
= 0 ;
30484 PyObject
* obj5
= 0 ;
30485 PyObject
* obj6
= 0 ;
30486 char * kwnames
[] = {
30487 (char *) "self",(char *) "win",(char *) "dc",(char *) "size",(char *) "position",(char *) "orient",(char *) "flags", NULL
30490 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:RendererNative_DrawSplitterSash",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30491 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30492 if (!SWIG_IsOK(res1
)) {
30493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30495 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30496 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30497 if (!SWIG_IsOK(res2
)) {
30498 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "2"" of type '" "wxWindow *""'");
30500 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30501 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30502 if (!SWIG_IsOK(res3
)) {
30503 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
30506 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "3"" of type '" "wxDC &""'");
30508 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30511 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
30513 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30514 if (!SWIG_IsOK(ecode5
)) {
30515 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "5"" of type '" "int""'");
30517 arg5
= static_cast< int >(val5
);
30518 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
30519 if (!SWIG_IsOK(ecode6
)) {
30520 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "6"" of type '" "wxOrientation""'");
30522 arg6
= static_cast< wxOrientation
>(val6
);
30524 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
30525 if (!SWIG_IsOK(ecode7
)) {
30526 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RendererNative_DrawSplitterSash" "', expected argument " "7"" of type '" "int""'");
30528 arg7
= static_cast< int >(val7
);
30531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30532 (arg1
)->DrawSplitterSash(arg2
,*arg3
,(wxSize
const &)*arg4
,arg5
,arg6
,arg7
);
30533 wxPyEndAllowThreads(__tstate
);
30534 if (PyErr_Occurred()) SWIG_fail
;
30536 resultobj
= SWIG_Py_Void();
30543 SWIGINTERN PyObject
*_wrap_RendererNative_DrawComboBoxDropButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30544 PyObject
*resultobj
= 0;
30545 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30546 wxWindow
*arg2
= (wxWindow
*) 0 ;
30549 int arg5
= (int) 0 ;
30559 PyObject
* obj0
= 0 ;
30560 PyObject
* obj1
= 0 ;
30561 PyObject
* obj2
= 0 ;
30562 PyObject
* obj3
= 0 ;
30563 PyObject
* obj4
= 0 ;
30564 char * kwnames
[] = {
30565 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
30568 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawComboBoxDropButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30569 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30570 if (!SWIG_IsOK(res1
)) {
30571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30573 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30574 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30575 if (!SWIG_IsOK(res2
)) {
30576 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "2"" of type '" "wxWindow *""'");
30578 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30579 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30580 if (!SWIG_IsOK(res3
)) {
30581 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
30584 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "3"" of type '" "wxDC &""'");
30586 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30589 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
30592 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30593 if (!SWIG_IsOK(ecode5
)) {
30594 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawComboBoxDropButton" "', expected argument " "5"" of type '" "int""'");
30596 arg5
= static_cast< int >(val5
);
30599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30600 (arg1
)->DrawComboBoxDropButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
30601 wxPyEndAllowThreads(__tstate
);
30602 if (PyErr_Occurred()) SWIG_fail
;
30604 resultobj
= SWIG_Py_Void();
30611 SWIGINTERN PyObject
*_wrap_RendererNative_DrawDropArrow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30612 PyObject
*resultobj
= 0;
30613 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30614 wxWindow
*arg2
= (wxWindow
*) 0 ;
30617 int arg5
= (int) 0 ;
30627 PyObject
* obj0
= 0 ;
30628 PyObject
* obj1
= 0 ;
30629 PyObject
* obj2
= 0 ;
30630 PyObject
* obj3
= 0 ;
30631 PyObject
* obj4
= 0 ;
30632 char * kwnames
[] = {
30633 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
30636 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawDropArrow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30637 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30638 if (!SWIG_IsOK(res1
)) {
30639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30641 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30642 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30643 if (!SWIG_IsOK(res2
)) {
30644 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "2"" of type '" "wxWindow *""'");
30646 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30647 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30648 if (!SWIG_IsOK(res3
)) {
30649 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
30652 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawDropArrow" "', expected argument " "3"" of type '" "wxDC &""'");
30654 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30657 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
30660 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30661 if (!SWIG_IsOK(ecode5
)) {
30662 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawDropArrow" "', expected argument " "5"" of type '" "int""'");
30664 arg5
= static_cast< int >(val5
);
30667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30668 (arg1
)->DrawDropArrow(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
30669 wxPyEndAllowThreads(__tstate
);
30670 if (PyErr_Occurred()) SWIG_fail
;
30672 resultobj
= SWIG_Py_Void();
30679 SWIGINTERN PyObject
*_wrap_RendererNative_DrawCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30680 PyObject
*resultobj
= 0;
30681 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30682 wxWindow
*arg2
= (wxWindow
*) 0 ;
30685 int arg5
= (int) 0 ;
30695 PyObject
* obj0
= 0 ;
30696 PyObject
* obj1
= 0 ;
30697 PyObject
* obj2
= 0 ;
30698 PyObject
* obj3
= 0 ;
30699 PyObject
* obj4
= 0 ;
30700 char * kwnames
[] = {
30701 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
30704 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawCheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30705 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30706 if (!SWIG_IsOK(res1
)) {
30707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30709 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30710 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30711 if (!SWIG_IsOK(res2
)) {
30712 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "2"" of type '" "wxWindow *""'");
30714 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30715 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30716 if (!SWIG_IsOK(res3
)) {
30717 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
30720 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawCheckBox" "', expected argument " "3"" of type '" "wxDC &""'");
30722 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30725 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
30728 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30729 if (!SWIG_IsOK(ecode5
)) {
30730 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawCheckBox" "', expected argument " "5"" of type '" "int""'");
30732 arg5
= static_cast< int >(val5
);
30735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30736 (arg1
)->DrawCheckBox(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
30737 wxPyEndAllowThreads(__tstate
);
30738 if (PyErr_Occurred()) SWIG_fail
;
30740 resultobj
= SWIG_Py_Void();
30747 SWIGINTERN PyObject
*_wrap_RendererNative_DrawPushButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30748 PyObject
*resultobj
= 0;
30749 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30750 wxWindow
*arg2
= (wxWindow
*) 0 ;
30753 int arg5
= (int) 0 ;
30763 PyObject
* obj0
= 0 ;
30764 PyObject
* obj1
= 0 ;
30765 PyObject
* obj2
= 0 ;
30766 PyObject
* obj3
= 0 ;
30767 PyObject
* obj4
= 0 ;
30768 char * kwnames
[] = {
30769 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
30772 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawPushButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30773 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30774 if (!SWIG_IsOK(res1
)) {
30775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30777 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30778 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30779 if (!SWIG_IsOK(res2
)) {
30780 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "2"" of type '" "wxWindow *""'");
30782 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30783 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30784 if (!SWIG_IsOK(res3
)) {
30785 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
30788 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawPushButton" "', expected argument " "3"" of type '" "wxDC &""'");
30790 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30793 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
30796 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30797 if (!SWIG_IsOK(ecode5
)) {
30798 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawPushButton" "', expected argument " "5"" of type '" "int""'");
30800 arg5
= static_cast< int >(val5
);
30803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30804 (arg1
)->DrawPushButton(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
30805 wxPyEndAllowThreads(__tstate
);
30806 if (PyErr_Occurred()) SWIG_fail
;
30808 resultobj
= SWIG_Py_Void();
30815 SWIGINTERN PyObject
*_wrap_RendererNative_DrawItemSelectionRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30816 PyObject
*resultobj
= 0;
30817 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30818 wxWindow
*arg2
= (wxWindow
*) 0 ;
30821 int arg5
= (int) 0 ;
30831 PyObject
* obj0
= 0 ;
30832 PyObject
* obj1
= 0 ;
30833 PyObject
* obj2
= 0 ;
30834 PyObject
* obj3
= 0 ;
30835 PyObject
* obj4
= 0 ;
30836 char * kwnames
[] = {
30837 (char *) "self",(char *) "win",(char *) "dc",(char *) "rect",(char *) "flags", NULL
30840 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:RendererNative_DrawItemSelectionRect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
30841 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30842 if (!SWIG_IsOK(res1
)) {
30843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30845 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30846 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30847 if (!SWIG_IsOK(res2
)) {
30848 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "2"" of type '" "wxWindow *""'");
30850 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30851 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30852 if (!SWIG_IsOK(res3
)) {
30853 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
30856 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "3"" of type '" "wxDC &""'");
30858 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30861 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
30864 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30865 if (!SWIG_IsOK(ecode5
)) {
30866 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "RendererNative_DrawItemSelectionRect" "', expected argument " "5"" of type '" "int""'");
30868 arg5
= static_cast< int >(val5
);
30871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30872 (arg1
)->DrawItemSelectionRect(arg2
,*arg3
,(wxRect
const &)*arg4
,arg5
);
30873 wxPyEndAllowThreads(__tstate
);
30874 if (PyErr_Occurred()) SWIG_fail
;
30876 resultobj
= SWIG_Py_Void();
30883 SWIGINTERN PyObject
*_wrap_RendererNative_GetSplitterParams(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30884 PyObject
*resultobj
= 0;
30885 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30886 wxWindow
*arg2
= (wxWindow
*) 0 ;
30887 SwigValueWrapper
<wxSplitterRenderParams
> result
;
30892 PyObject
* obj0
= 0 ;
30893 PyObject
* obj1
= 0 ;
30894 char * kwnames
[] = {
30895 (char *) "self",(char *) "win", NULL
30898 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RendererNative_GetSplitterParams",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30899 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30900 if (!SWIG_IsOK(res1
)) {
30901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "1"" of type '" "wxRendererNative *""'");
30903 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
30904 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30905 if (!SWIG_IsOK(res2
)) {
30906 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RendererNative_GetSplitterParams" "', expected argument " "2"" of type '" "wxWindow const *""'");
30908 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
30910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30911 result
= (arg1
)->GetSplitterParams((wxWindow
const *)arg2
);
30912 wxPyEndAllowThreads(__tstate
);
30913 if (PyErr_Occurred()) SWIG_fail
;
30915 resultobj
= SWIG_NewPointerObj((new wxSplitterRenderParams(static_cast< const wxSplitterRenderParams
& >(result
))), SWIGTYPE_p_wxSplitterRenderParams
, SWIG_POINTER_OWN
| 0 );
30922 SWIGINTERN PyObject
*_wrap_RendererNative_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30923 PyObject
*resultobj
= 0;
30924 wxRendererNative
*result
= 0 ;
30926 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_Get",0,0,0)) SWIG_fail
;
30928 if (!wxPyCheckForApp()) SWIG_fail
;
30929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30931 wxRendererNative
&_result_ref
= wxRendererNative::Get();
30932 result
= (wxRendererNative
*) &_result_ref
;
30934 wxPyEndAllowThreads(__tstate
);
30935 if (PyErr_Occurred()) SWIG_fail
;
30937 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30944 SWIGINTERN PyObject
*_wrap_RendererNative_GetGeneric(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30945 PyObject
*resultobj
= 0;
30946 wxRendererNative
*result
= 0 ;
30948 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetGeneric",0,0,0)) SWIG_fail
;
30950 if (!wxPyCheckForApp()) SWIG_fail
;
30951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30953 wxRendererNative
&_result_ref
= wxRendererNative::GetGeneric();
30954 result
= (wxRendererNative
*) &_result_ref
;
30956 wxPyEndAllowThreads(__tstate
);
30957 if (PyErr_Occurred()) SWIG_fail
;
30959 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30966 SWIGINTERN PyObject
*_wrap_RendererNative_GetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30967 PyObject
*resultobj
= 0;
30968 wxRendererNative
*result
= 0 ;
30970 if (!SWIG_Python_UnpackTuple(args
,"RendererNative_GetDefault",0,0,0)) SWIG_fail
;
30972 if (!wxPyCheckForApp()) SWIG_fail
;
30973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30975 wxRendererNative
&_result_ref
= wxRendererNative::GetDefault();
30976 result
= (wxRendererNative
*) &_result_ref
;
30978 wxPyEndAllowThreads(__tstate
);
30979 if (PyErr_Occurred()) SWIG_fail
;
30981 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
30988 SWIGINTERN PyObject
*_wrap_RendererNative_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30989 PyObject
*resultobj
= 0;
30990 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
30991 wxRendererNative
*result
= 0 ;
30994 PyObject
* obj0
= 0 ;
30995 char * kwnames
[] = {
30996 (char *) "renderer", NULL
30999 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RendererNative_Set",kwnames
,&obj0
)) SWIG_fail
;
31000 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31001 if (!SWIG_IsOK(res1
)) {
31002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_Set" "', expected argument " "1"" of type '" "wxRendererNative *""'");
31004 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
31006 if (!wxPyCheckForApp()) SWIG_fail
;
31007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31008 result
= (wxRendererNative
*)wxRendererNative::Set(arg1
);
31009 wxPyEndAllowThreads(__tstate
);
31010 if (PyErr_Occurred()) SWIG_fail
;
31012 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31019 SWIGINTERN PyObject
*_wrap_RendererNative_GetVersion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31020 PyObject
*resultobj
= 0;
31021 wxRendererNative
*arg1
= (wxRendererNative
*) 0 ;
31022 SwigValueWrapper
<wxRendererVersion
> result
;
31025 PyObject
*swig_obj
[1] ;
31027 if (!args
) SWIG_fail
;
31028 swig_obj
[0] = args
;
31029 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRendererNative
, 0 | 0 );
31030 if (!SWIG_IsOK(res1
)) {
31031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RendererNative_GetVersion" "', expected argument " "1"" of type '" "wxRendererNative const *""'");
31033 arg1
= reinterpret_cast< wxRendererNative
* >(argp1
);
31035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31036 result
= ((wxRendererNative
const *)arg1
)->GetVersion();
31037 wxPyEndAllowThreads(__tstate
);
31038 if (PyErr_Occurred()) SWIG_fail
;
31040 resultobj
= SWIG_NewPointerObj((new wxRendererVersion(static_cast< const wxRendererVersion
& >(result
))), SWIGTYPE_p_wxRendererVersion
, SWIG_POINTER_OWN
| 0 );
31047 SWIGINTERN PyObject
*RendererNative_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31049 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31050 SWIG_TypeNewClientData(SWIGTYPE_p_wxRendererNative
, SWIG_NewClientData(obj
));
31051 return SWIG_Py_Void();
31054 SWIGINTERN PyObject
*_wrap_new_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31055 PyObject
*resultobj
= 0;
31056 wxPseudoDC
*result
= 0 ;
31058 if (!SWIG_Python_UnpackTuple(args
,"new_PseudoDC",0,0,0)) SWIG_fail
;
31060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31061 result
= (wxPseudoDC
*)new wxPseudoDC();
31062 wxPyEndAllowThreads(__tstate
);
31063 if (PyErr_Occurred()) SWIG_fail
;
31065 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_NEW
| 0 );
31072 SWIGINTERN PyObject
*_wrap_PseudoDC_BeginDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31073 PyObject
*resultobj
= 0;
31074 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31077 PyObject
*swig_obj
[1] ;
31079 if (!args
) SWIG_fail
;
31080 swig_obj
[0] = args
;
31081 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31082 if (!SWIG_IsOK(res1
)) {
31083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_BeginDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31085 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31088 (arg1
)->BeginDrawing();
31089 wxPyEndAllowThreads(__tstate
);
31090 if (PyErr_Occurred()) SWIG_fail
;
31092 resultobj
= SWIG_Py_Void();
31099 SWIGINTERN PyObject
*_wrap_PseudoDC_EndDrawing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31100 PyObject
*resultobj
= 0;
31101 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31104 PyObject
*swig_obj
[1] ;
31106 if (!args
) SWIG_fail
;
31107 swig_obj
[0] = args
;
31108 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31109 if (!SWIG_IsOK(res1
)) {
31110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_EndDrawing" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31112 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31115 (arg1
)->EndDrawing();
31116 wxPyEndAllowThreads(__tstate
);
31117 if (PyErr_Occurred()) SWIG_fail
;
31119 resultobj
= SWIG_Py_Void();
31126 SWIGINTERN PyObject
*_wrap_delete_PseudoDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31127 PyObject
*resultobj
= 0;
31128 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31131 PyObject
*swig_obj
[1] ;
31133 if (!args
) SWIG_fail
;
31134 swig_obj
[0] = args
;
31135 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, SWIG_POINTER_DISOWN
| 0 );
31136 if (!SWIG_IsOK(res1
)) {
31137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PseudoDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31139 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31144 wxPyEndAllowThreads(__tstate
);
31145 if (PyErr_Occurred()) SWIG_fail
;
31147 resultobj
= SWIG_Py_Void();
31154 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31155 PyObject
*resultobj
= 0;
31156 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31159 PyObject
*swig_obj
[1] ;
31161 if (!args
) SWIG_fail
;
31162 swig_obj
[0] = args
;
31163 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31164 if (!SWIG_IsOK(res1
)) {
31165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveAll" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31167 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31170 (arg1
)->RemoveAll();
31171 wxPyEndAllowThreads(__tstate
);
31172 if (PyErr_Occurred()) SWIG_fail
;
31174 resultobj
= SWIG_Py_Void();
31181 SWIGINTERN PyObject
*_wrap_PseudoDC_GetLen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31182 PyObject
*resultobj
= 0;
31183 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31187 PyObject
*swig_obj
[1] ;
31189 if (!args
) SWIG_fail
;
31190 swig_obj
[0] = args
;
31191 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31192 if (!SWIG_IsOK(res1
)) {
31193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetLen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31195 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31198 result
= (int)(arg1
)->GetLen();
31199 wxPyEndAllowThreads(__tstate
);
31200 if (PyErr_Occurred()) SWIG_fail
;
31202 resultobj
= SWIG_From_int(static_cast< int >(result
));
31209 SWIGINTERN PyObject
*_wrap_PseudoDC_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31210 PyObject
*resultobj
= 0;
31211 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31217 PyObject
* obj0
= 0 ;
31218 PyObject
* obj1
= 0 ;
31219 char * kwnames
[] = {
31220 (char *) "self",(char *) "id", NULL
31223 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31224 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31225 if (!SWIG_IsOK(res1
)) {
31226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31228 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31229 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31230 if (!SWIG_IsOK(ecode2
)) {
31231 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetId" "', expected argument " "2"" of type '" "int""'");
31233 arg2
= static_cast< int >(val2
);
31235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31236 (arg1
)->SetId(arg2
);
31237 wxPyEndAllowThreads(__tstate
);
31238 if (PyErr_Occurred()) SWIG_fail
;
31240 resultobj
= SWIG_Py_Void();
31247 SWIGINTERN PyObject
*_wrap_PseudoDC_ClearId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31248 PyObject
*resultobj
= 0;
31249 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31255 PyObject
* obj0
= 0 ;
31256 PyObject
* obj1
= 0 ;
31257 char * kwnames
[] = {
31258 (char *) "self",(char *) "id", NULL
31261 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_ClearId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31262 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31263 if (!SWIG_IsOK(res1
)) {
31264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_ClearId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31266 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31267 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31268 if (!SWIG_IsOK(ecode2
)) {
31269 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_ClearId" "', expected argument " "2"" of type '" "int""'");
31271 arg2
= static_cast< int >(val2
);
31273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31274 (arg1
)->ClearId(arg2
);
31275 wxPyEndAllowThreads(__tstate
);
31276 if (PyErr_Occurred()) SWIG_fail
;
31278 resultobj
= SWIG_Py_Void();
31285 SWIGINTERN PyObject
*_wrap_PseudoDC_RemoveId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31286 PyObject
*resultobj
= 0;
31287 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31293 PyObject
* obj0
= 0 ;
31294 PyObject
* obj1
= 0 ;
31295 char * kwnames
[] = {
31296 (char *) "self",(char *) "id", NULL
31299 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_RemoveId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31300 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31301 if (!SWIG_IsOK(res1
)) {
31302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_RemoveId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31304 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31305 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31306 if (!SWIG_IsOK(ecode2
)) {
31307 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_RemoveId" "', expected argument " "2"" of type '" "int""'");
31309 arg2
= static_cast< int >(val2
);
31311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31312 (arg1
)->RemoveId(arg2
);
31313 wxPyEndAllowThreads(__tstate
);
31314 if (PyErr_Occurred()) SWIG_fail
;
31316 resultobj
= SWIG_Py_Void();
31323 SWIGINTERN PyObject
*_wrap_PseudoDC_TranslateId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31324 PyObject
*resultobj
= 0;
31325 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31337 PyObject
* obj0
= 0 ;
31338 PyObject
* obj1
= 0 ;
31339 PyObject
* obj2
= 0 ;
31340 PyObject
* obj3
= 0 ;
31341 char * kwnames
[] = {
31342 (char *) "self",(char *) "id",(char *) "dx",(char *) "dy", NULL
31345 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_TranslateId",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31346 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31347 if (!SWIG_IsOK(res1
)) {
31348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_TranslateId" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31350 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31351 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31352 if (!SWIG_IsOK(ecode2
)) {
31353 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_TranslateId" "', expected argument " "2"" of type '" "int""'");
31355 arg2
= static_cast< int >(val2
);
31356 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31357 if (!SWIG_IsOK(ecode3
)) {
31358 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_TranslateId" "', expected argument " "3"" of type '" "int""'");
31360 arg3
= static_cast< int >(val3
);
31361 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31362 if (!SWIG_IsOK(ecode4
)) {
31363 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_TranslateId" "', expected argument " "4"" of type '" "int""'");
31365 arg4
= static_cast< int >(val4
);
31367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31368 (arg1
)->TranslateId(arg2
,arg3
,arg4
);
31369 wxPyEndAllowThreads(__tstate
);
31370 if (PyErr_Occurred()) SWIG_fail
;
31372 resultobj
= SWIG_Py_Void();
31379 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdGreyedOut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31380 PyObject
*resultobj
= 0;
31381 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31383 bool arg3
= (bool) true ;
31390 PyObject
* obj0
= 0 ;
31391 PyObject
* obj1
= 0 ;
31392 PyObject
* obj2
= 0 ;
31393 char * kwnames
[] = {
31394 (char *) "self",(char *) "id",(char *) "greyout", NULL
31397 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PseudoDC_SetIdGreyedOut",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31398 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31399 if (!SWIG_IsOK(res1
)) {
31400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31402 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31403 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31404 if (!SWIG_IsOK(ecode2
)) {
31405 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "2"" of type '" "int""'");
31407 arg2
= static_cast< int >(val2
);
31409 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
31410 if (!SWIG_IsOK(ecode3
)) {
31411 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_SetIdGreyedOut" "', expected argument " "3"" of type '" "bool""'");
31413 arg3
= static_cast< bool >(val3
);
31416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31417 (arg1
)->SetIdGreyedOut(arg2
,arg3
);
31418 wxPyEndAllowThreads(__tstate
);
31419 if (PyErr_Occurred()) SWIG_fail
;
31421 resultobj
= SWIG_Py_Void();
31428 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdGreyedOut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31429 PyObject
*resultobj
= 0;
31430 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31437 PyObject
* obj0
= 0 ;
31438 PyObject
* obj1
= 0 ;
31439 char * kwnames
[] = {
31440 (char *) "self",(char *) "id", NULL
31443 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdGreyedOut",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31444 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31445 if (!SWIG_IsOK(res1
)) {
31446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdGreyedOut" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31448 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31449 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31450 if (!SWIG_IsOK(ecode2
)) {
31451 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdGreyedOut" "', expected argument " "2"" of type '" "int""'");
31453 arg2
= static_cast< int >(val2
);
31455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31456 result
= (bool)(arg1
)->GetIdGreyedOut(arg2
);
31457 wxPyEndAllowThreads(__tstate
);
31458 if (PyErr_Occurred()) SWIG_fail
;
31461 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31469 SWIGINTERN PyObject
*_wrap_PseudoDC_FindObjects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31470 PyObject
*resultobj
= 0;
31471 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31474 int arg4
= (int) 1 ;
31475 wxColor
const &arg5_defvalue
= *wxWHITE
;
31476 wxColor
*arg5
= (wxColor
*) &arg5_defvalue
;
31477 PyObject
*result
= 0 ;
31488 PyObject
* obj0
= 0 ;
31489 PyObject
* obj1
= 0 ;
31490 PyObject
* obj2
= 0 ;
31491 PyObject
* obj3
= 0 ;
31492 PyObject
* obj4
= 0 ;
31493 char * kwnames
[] = {
31494 (char *) "self",(char *) "x",(char *) "y",(char *) "radius",(char *) "bg", NULL
31497 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_FindObjects",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31498 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31499 if (!SWIG_IsOK(res1
)) {
31500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FindObjects" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31502 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31503 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31504 if (!SWIG_IsOK(ecode2
)) {
31505 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FindObjects" "', expected argument " "2"" of type '" "int""'");
31507 arg2
= static_cast< int >(val2
);
31508 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31509 if (!SWIG_IsOK(ecode3
)) {
31510 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjects" "', expected argument " "3"" of type '" "int""'");
31512 arg3
= static_cast< int >(val3
);
31514 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31515 if (!SWIG_IsOK(ecode4
)) {
31516 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FindObjects" "', expected argument " "4"" of type '" "int""'");
31518 arg4
= static_cast< int >(val4
);
31521 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxColor
, 0 | 0);
31522 if (!SWIG_IsOK(res5
)) {
31523 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "PseudoDC_FindObjects" "', expected argument " "5"" of type '" "wxColor const &""'");
31526 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_FindObjects" "', expected argument " "5"" of type '" "wxColor const &""'");
31528 arg5
= reinterpret_cast< wxColor
* >(argp5
);
31531 result
= (PyObject
*)(arg1
)->FindObjects(arg2
,arg3
,arg4
,(wxColor
const &)*arg5
);
31532 if (PyErr_Occurred()) SWIG_fail
;
31534 resultobj
= result
;
31541 SWIGINTERN PyObject
*_wrap_PseudoDC_FindObjectsByBBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31542 PyObject
*resultobj
= 0;
31543 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31546 PyObject
*result
= 0 ;
31553 PyObject
* obj0
= 0 ;
31554 PyObject
* obj1
= 0 ;
31555 PyObject
* obj2
= 0 ;
31556 char * kwnames
[] = {
31557 (char *) "self",(char *) "x",(char *) "y", NULL
31560 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_FindObjectsByBBox",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31561 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31562 if (!SWIG_IsOK(res1
)) {
31563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31565 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31566 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31567 if (!SWIG_IsOK(ecode2
)) {
31568 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "2"" of type '" "int""'");
31570 arg2
= static_cast< int >(val2
);
31571 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31572 if (!SWIG_IsOK(ecode3
)) {
31573 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FindObjectsByBBox" "', expected argument " "3"" of type '" "int""'");
31575 arg3
= static_cast< int >(val3
);
31577 result
= (PyObject
*)(arg1
)->FindObjectsByBBox(arg2
,arg3
);
31578 if (PyErr_Occurred()) SWIG_fail
;
31580 resultobj
= result
;
31587 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIdToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31588 PyObject
*resultobj
= 0;
31589 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31591 wxDC
*arg3
= (wxDC
*) 0 ;
31598 PyObject
* obj0
= 0 ;
31599 PyObject
* obj1
= 0 ;
31600 PyObject
* obj2
= 0 ;
31601 char * kwnames
[] = {
31602 (char *) "self",(char *) "id",(char *) "dc", NULL
31605 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIdToDC",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31606 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31607 if (!SWIG_IsOK(res1
)) {
31608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31610 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31611 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31612 if (!SWIG_IsOK(ecode2
)) {
31613 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "2"" of type '" "int""'");
31615 arg2
= static_cast< int >(val2
);
31616 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxDC
, 0 | 0 );
31617 if (!SWIG_IsOK(res3
)) {
31618 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawIdToDC" "', expected argument " "3"" of type '" "wxDC *""'");
31620 arg3
= reinterpret_cast< wxDC
* >(argp3
);
31622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31623 (arg1
)->DrawIdToDC(arg2
,arg3
);
31624 wxPyEndAllowThreads(__tstate
);
31625 if (PyErr_Occurred()) SWIG_fail
;
31627 resultobj
= SWIG_Py_Void();
31634 SWIGINTERN PyObject
*_wrap_PseudoDC_SetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31635 PyObject
*resultobj
= 0;
31636 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31644 PyObject
* obj0
= 0 ;
31645 PyObject
* obj1
= 0 ;
31646 PyObject
* obj2
= 0 ;
31647 char * kwnames
[] = {
31648 (char *) "self",(char *) "id",(char *) "rect", NULL
31651 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_SetIdBounds",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31652 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31653 if (!SWIG_IsOK(res1
)) {
31654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31656 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31657 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31658 if (!SWIG_IsOK(ecode2
)) {
31659 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetIdBounds" "', expected argument " "2"" of type '" "int""'");
31661 arg2
= static_cast< int >(val2
);
31664 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
31667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31668 (arg1
)->SetIdBounds(arg2
,*arg3
);
31669 wxPyEndAllowThreads(__tstate
);
31670 if (PyErr_Occurred()) SWIG_fail
;
31672 resultobj
= SWIG_Py_Void();
31679 SWIGINTERN PyObject
*_wrap_PseudoDC_GetIdBounds(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31680 PyObject
*resultobj
= 0;
31681 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31688 PyObject
* obj0
= 0 ;
31689 PyObject
* obj1
= 0 ;
31690 char * kwnames
[] = {
31691 (char *) "self",(char *) "id", NULL
31694 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_GetIdBounds",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31695 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31696 if (!SWIG_IsOK(res1
)) {
31697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31699 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31700 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31701 if (!SWIG_IsOK(ecode2
)) {
31702 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_GetIdBounds" "', expected argument " "2"" of type '" "int""'");
31704 arg2
= static_cast< int >(val2
);
31706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31707 result
= wxPseudoDC_GetIdBounds(arg1
,arg2
);
31708 wxPyEndAllowThreads(__tstate
);
31709 if (PyErr_Occurred()) SWIG_fail
;
31711 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
31718 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClipped(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31719 PyObject
*resultobj
= 0;
31720 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31721 wxDC
*arg2
= (wxDC
*) 0 ;
31728 PyObject
* obj0
= 0 ;
31729 PyObject
* obj1
= 0 ;
31730 PyObject
* obj2
= 0 ;
31731 char * kwnames
[] = {
31732 (char *) "self",(char *) "dc",(char *) "rect", NULL
31735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClipped",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31736 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31737 if (!SWIG_IsOK(res1
)) {
31738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31740 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31741 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
31742 if (!SWIG_IsOK(res2
)) {
31743 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClipped" "', expected argument " "2"" of type '" "wxDC *""'");
31745 arg2
= reinterpret_cast< wxDC
* >(argp2
);
31748 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
31751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31752 (arg1
)->DrawToDCClipped(arg2
,(wxRect
const &)*arg3
);
31753 wxPyEndAllowThreads(__tstate
);
31754 if (PyErr_Occurred()) SWIG_fail
;
31756 resultobj
= SWIG_Py_Void();
31763 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDCClippedRgn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31764 PyObject
*resultobj
= 0;
31765 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31766 wxDC
*arg2
= (wxDC
*) 0 ;
31767 wxRegion
*arg3
= 0 ;
31774 PyObject
* obj0
= 0 ;
31775 PyObject
* obj1
= 0 ;
31776 PyObject
* obj2
= 0 ;
31777 char * kwnames
[] = {
31778 (char *) "self",(char *) "dc",(char *) "region", NULL
31781 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawToDCClippedRgn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31782 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31783 if (!SWIG_IsOK(res1
)) {
31784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31786 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31787 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
31788 if (!SWIG_IsOK(res2
)) {
31789 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "2"" of type '" "wxDC *""'");
31791 arg2
= reinterpret_cast< wxDC
* >(argp2
);
31792 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxRegion
, 0 | 0);
31793 if (!SWIG_IsOK(res3
)) {
31794 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
31797 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawToDCClippedRgn" "', expected argument " "3"" of type '" "wxRegion const &""'");
31799 arg3
= reinterpret_cast< wxRegion
* >(argp3
);
31801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31802 (arg1
)->DrawToDCClippedRgn(arg2
,(wxRegion
const &)*arg3
);
31803 wxPyEndAllowThreads(__tstate
);
31804 if (PyErr_Occurred()) SWIG_fail
;
31806 resultobj
= SWIG_Py_Void();
31813 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawToDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31814 PyObject
*resultobj
= 0;
31815 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31816 wxDC
*arg2
= (wxDC
*) 0 ;
31821 PyObject
* obj0
= 0 ;
31822 PyObject
* obj1
= 0 ;
31823 char * kwnames
[] = {
31824 (char *) "self",(char *) "dc", NULL
31827 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawToDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31828 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31829 if (!SWIG_IsOK(res1
)) {
31830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31832 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31833 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
31834 if (!SWIG_IsOK(res2
)) {
31835 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawToDC" "', expected argument " "2"" of type '" "wxDC *""'");
31837 arg2
= reinterpret_cast< wxDC
* >(argp2
);
31839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31840 (arg1
)->DrawToDC(arg2
);
31841 wxPyEndAllowThreads(__tstate
);
31842 if (PyErr_Occurred()) SWIG_fail
;
31844 resultobj
= SWIG_Py_Void();
31851 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFill(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31852 PyObject
*resultobj
= 0;
31853 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31856 wxColour
*arg4
= 0 ;
31857 int arg5
= (int) wxFLOOD_SURFACE
;
31867 PyObject
* obj0
= 0 ;
31868 PyObject
* obj1
= 0 ;
31869 PyObject
* obj2
= 0 ;
31870 PyObject
* obj3
= 0 ;
31871 PyObject
* obj4
= 0 ;
31872 char * kwnames
[] = {
31873 (char *) "self",(char *) "x",(char *) "y",(char *) "col",(char *) "style", NULL
31876 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_FloodFill",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31877 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31878 if (!SWIG_IsOK(res1
)) {
31879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFill" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31881 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31882 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31883 if (!SWIG_IsOK(ecode2
)) {
31884 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_FloodFill" "', expected argument " "2"" of type '" "int""'");
31886 arg2
= static_cast< int >(val2
);
31887 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31888 if (!SWIG_IsOK(ecode3
)) {
31889 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_FloodFill" "', expected argument " "3"" of type '" "int""'");
31891 arg3
= static_cast< int >(val3
);
31894 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
31897 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31898 if (!SWIG_IsOK(ecode5
)) {
31899 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_FloodFill" "', expected argument " "5"" of type '" "int""'");
31901 arg5
= static_cast< int >(val5
);
31904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31905 (arg1
)->FloodFill(arg2
,arg3
,(wxColour
const &)*arg4
,arg5
);
31906 wxPyEndAllowThreads(__tstate
);
31907 if (PyErr_Occurred()) SWIG_fail
;
31909 resultobj
= SWIG_Py_Void();
31916 SWIGINTERN PyObject
*_wrap_PseudoDC_FloodFillPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31917 PyObject
*resultobj
= 0;
31918 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31919 wxPoint
*arg2
= 0 ;
31920 wxColour
*arg3
= 0 ;
31921 int arg4
= (int) wxFLOOD_SURFACE
;
31928 PyObject
* obj0
= 0 ;
31929 PyObject
* obj1
= 0 ;
31930 PyObject
* obj2
= 0 ;
31931 PyObject
* obj3
= 0 ;
31932 char * kwnames
[] = {
31933 (char *) "self",(char *) "pt",(char *) "col",(char *) "style", NULL
31936 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_FloodFillPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31937 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31938 if (!SWIG_IsOK(res1
)) {
31939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
31941 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
31944 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31948 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31951 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31952 if (!SWIG_IsOK(ecode4
)) {
31953 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_FloodFillPoint" "', expected argument " "4"" of type '" "int""'");
31955 arg4
= static_cast< int >(val4
);
31958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31959 (arg1
)->FloodFill((wxPoint
const &)*arg2
,(wxColour
const &)*arg3
,arg4
);
31960 wxPyEndAllowThreads(__tstate
);
31961 if (PyErr_Occurred()) SWIG_fail
;
31963 resultobj
= SWIG_Py_Void();
31970 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31971 PyObject
*resultobj
= 0;
31972 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
31987 PyObject
* obj0
= 0 ;
31988 PyObject
* obj1
= 0 ;
31989 PyObject
* obj2
= 0 ;
31990 PyObject
* obj3
= 0 ;
31991 PyObject
* obj4
= 0 ;
31992 char * kwnames
[] = {
31993 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2", NULL
31996 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31997 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
31998 if (!SWIG_IsOK(res1
)) {
31999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLine" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32001 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32002 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32003 if (!SWIG_IsOK(ecode2
)) {
32004 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawLine" "', expected argument " "2"" of type '" "int""'");
32006 arg2
= static_cast< int >(val2
);
32007 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32008 if (!SWIG_IsOK(ecode3
)) {
32009 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawLine" "', expected argument " "3"" of type '" "int""'");
32011 arg3
= static_cast< int >(val3
);
32012 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32013 if (!SWIG_IsOK(ecode4
)) {
32014 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLine" "', expected argument " "4"" of type '" "int""'");
32016 arg4
= static_cast< int >(val4
);
32017 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32018 if (!SWIG_IsOK(ecode5
)) {
32019 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLine" "', expected argument " "5"" of type '" "int""'");
32021 arg5
= static_cast< int >(val5
);
32023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32024 (arg1
)->DrawLine(arg2
,arg3
,arg4
,arg5
);
32025 wxPyEndAllowThreads(__tstate
);
32026 if (PyErr_Occurred()) SWIG_fail
;
32028 resultobj
= SWIG_Py_Void();
32035 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLinePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32036 PyObject
*resultobj
= 0;
32037 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32038 wxPoint
*arg2
= 0 ;
32039 wxPoint
*arg3
= 0 ;
32044 PyObject
* obj0
= 0 ;
32045 PyObject
* obj1
= 0 ;
32046 PyObject
* obj2
= 0 ;
32047 char * kwnames
[] = {
32048 (char *) "self",(char *) "pt1",(char *) "pt2", NULL
32051 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawLinePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32052 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32053 if (!SWIG_IsOK(res1
)) {
32054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLinePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32056 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32059 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
32063 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
32066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32067 (arg1
)->DrawLine((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
);
32068 wxPyEndAllowThreads(__tstate
);
32069 if (PyErr_Occurred()) SWIG_fail
;
32071 resultobj
= SWIG_Py_Void();
32078 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHair(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32079 PyObject
*resultobj
= 0;
32080 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32089 PyObject
* obj0
= 0 ;
32090 PyObject
* obj1
= 0 ;
32091 PyObject
* obj2
= 0 ;
32092 char * kwnames
[] = {
32093 (char *) "self",(char *) "x",(char *) "y", NULL
32096 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_CrossHair",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32097 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32098 if (!SWIG_IsOK(res1
)) {
32099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHair" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32101 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32102 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32103 if (!SWIG_IsOK(ecode2
)) {
32104 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_CrossHair" "', expected argument " "2"" of type '" "int""'");
32106 arg2
= static_cast< int >(val2
);
32107 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32108 if (!SWIG_IsOK(ecode3
)) {
32109 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_CrossHair" "', expected argument " "3"" of type '" "int""'");
32111 arg3
= static_cast< int >(val3
);
32113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32114 (arg1
)->CrossHair(arg2
,arg3
);
32115 wxPyEndAllowThreads(__tstate
);
32116 if (PyErr_Occurred()) SWIG_fail
;
32118 resultobj
= SWIG_Py_Void();
32125 SWIGINTERN PyObject
*_wrap_PseudoDC_CrossHairPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32126 PyObject
*resultobj
= 0;
32127 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32128 wxPoint
*arg2
= 0 ;
32132 PyObject
* obj0
= 0 ;
32133 PyObject
* obj1
= 0 ;
32134 char * kwnames
[] = {
32135 (char *) "self",(char *) "pt", NULL
32138 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_CrossHairPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32139 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32140 if (!SWIG_IsOK(res1
)) {
32141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_CrossHairPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32143 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32146 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
32149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32150 (arg1
)->CrossHair((wxPoint
const &)*arg2
);
32151 wxPyEndAllowThreads(__tstate
);
32152 if (PyErr_Occurred()) SWIG_fail
;
32154 resultobj
= SWIG_Py_Void();
32161 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32162 PyObject
*resultobj
= 0;
32163 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32184 PyObject
* obj0
= 0 ;
32185 PyObject
* obj1
= 0 ;
32186 PyObject
* obj2
= 0 ;
32187 PyObject
* obj3
= 0 ;
32188 PyObject
* obj4
= 0 ;
32189 PyObject
* obj5
= 0 ;
32190 PyObject
* obj6
= 0 ;
32191 char * kwnames
[] = {
32192 (char *) "self",(char *) "x1",(char *) "y1",(char *) "x2",(char *) "y2",(char *) "xc",(char *) "yc", NULL
32195 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
32196 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32197 if (!SWIG_IsOK(res1
)) {
32198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32200 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32201 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32202 if (!SWIG_IsOK(ecode2
)) {
32203 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawArc" "', expected argument " "2"" of type '" "int""'");
32205 arg2
= static_cast< int >(val2
);
32206 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32207 if (!SWIG_IsOK(ecode3
)) {
32208 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawArc" "', expected argument " "3"" of type '" "int""'");
32210 arg3
= static_cast< int >(val3
);
32211 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32212 if (!SWIG_IsOK(ecode4
)) {
32213 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawArc" "', expected argument " "4"" of type '" "int""'");
32215 arg4
= static_cast< int >(val4
);
32216 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32217 if (!SWIG_IsOK(ecode5
)) {
32218 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawArc" "', expected argument " "5"" of type '" "int""'");
32220 arg5
= static_cast< int >(val5
);
32221 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
32222 if (!SWIG_IsOK(ecode6
)) {
32223 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawArc" "', expected argument " "6"" of type '" "int""'");
32225 arg6
= static_cast< int >(val6
);
32226 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
32227 if (!SWIG_IsOK(ecode7
)) {
32228 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawArc" "', expected argument " "7"" of type '" "int""'");
32230 arg7
= static_cast< int >(val7
);
32232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32233 (arg1
)->DrawArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
32234 wxPyEndAllowThreads(__tstate
);
32235 if (PyErr_Occurred()) SWIG_fail
;
32237 resultobj
= SWIG_Py_Void();
32244 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawArcPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32245 PyObject
*resultobj
= 0;
32246 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32247 wxPoint
*arg2
= 0 ;
32248 wxPoint
*arg3
= 0 ;
32249 wxPoint
*arg4
= 0 ;
32255 PyObject
* obj0
= 0 ;
32256 PyObject
* obj1
= 0 ;
32257 PyObject
* obj2
= 0 ;
32258 PyObject
* obj3
= 0 ;
32259 char * kwnames
[] = {
32260 (char *) "self",(char *) "pt1",(char *) "pt2",(char *) "center", NULL
32263 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawArcPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32264 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32265 if (!SWIG_IsOK(res1
)) {
32266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawArcPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32268 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32271 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
32275 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
32279 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
32282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32283 (arg1
)->DrawArc((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,(wxPoint
const &)*arg4
);
32284 wxPyEndAllowThreads(__tstate
);
32285 if (PyErr_Occurred()) SWIG_fail
;
32287 resultobj
= SWIG_Py_Void();
32294 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32295 PyObject
*resultobj
= 0;
32296 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32311 PyObject
* obj0
= 0 ;
32312 PyObject
* obj1
= 0 ;
32313 PyObject
* obj2
= 0 ;
32314 PyObject
* obj3
= 0 ;
32315 PyObject
* obj4
= 0 ;
32316 char * kwnames
[] = {
32317 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
32320 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawCheckMark",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
32321 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32322 if (!SWIG_IsOK(res1
)) {
32323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32325 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32326 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32327 if (!SWIG_IsOK(ecode2
)) {
32328 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "2"" of type '" "int""'");
32330 arg2
= static_cast< int >(val2
);
32331 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32332 if (!SWIG_IsOK(ecode3
)) {
32333 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "3"" of type '" "int""'");
32335 arg3
= static_cast< int >(val3
);
32336 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32337 if (!SWIG_IsOK(ecode4
)) {
32338 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "4"" of type '" "int""'");
32340 arg4
= static_cast< int >(val4
);
32341 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32342 if (!SWIG_IsOK(ecode5
)) {
32343 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawCheckMark" "', expected argument " "5"" of type '" "int""'");
32345 arg5
= static_cast< int >(val5
);
32347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32348 (arg1
)->DrawCheckMark(arg2
,arg3
,arg4
,arg5
);
32349 wxPyEndAllowThreads(__tstate
);
32350 if (PyErr_Occurred()) SWIG_fail
;
32352 resultobj
= SWIG_Py_Void();
32359 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCheckMarkRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32360 PyObject
*resultobj
= 0;
32361 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32366 PyObject
* obj0
= 0 ;
32367 PyObject
* obj1
= 0 ;
32368 char * kwnames
[] = {
32369 (char *) "self",(char *) "rect", NULL
32372 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawCheckMarkRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32373 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32374 if (!SWIG_IsOK(res1
)) {
32375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCheckMarkRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32377 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32380 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
32383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32384 (arg1
)->DrawCheckMark((wxRect
const &)*arg2
);
32385 wxPyEndAllowThreads(__tstate
);
32386 if (PyErr_Occurred()) SWIG_fail
;
32388 resultobj
= SWIG_Py_Void();
32395 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32396 PyObject
*resultobj
= 0;
32397 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32418 PyObject
* obj0
= 0 ;
32419 PyObject
* obj1
= 0 ;
32420 PyObject
* obj2
= 0 ;
32421 PyObject
* obj3
= 0 ;
32422 PyObject
* obj4
= 0 ;
32423 PyObject
* obj5
= 0 ;
32424 PyObject
* obj6
= 0 ;
32425 char * kwnames
[] = {
32426 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h",(char *) "start",(char *) "end", NULL
32429 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:PseudoDC_DrawEllipticArc",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
32430 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32431 if (!SWIG_IsOK(res1
)) {
32432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32434 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32435 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32436 if (!SWIG_IsOK(ecode2
)) {
32437 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "2"" of type '" "int""'");
32439 arg2
= static_cast< int >(val2
);
32440 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32441 if (!SWIG_IsOK(ecode3
)) {
32442 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "3"" of type '" "int""'");
32444 arg3
= static_cast< int >(val3
);
32445 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32446 if (!SWIG_IsOK(ecode4
)) {
32447 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "4"" of type '" "int""'");
32449 arg4
= static_cast< int >(val4
);
32450 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32451 if (!SWIG_IsOK(ecode5
)) {
32452 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "5"" of type '" "int""'");
32454 arg5
= static_cast< int >(val5
);
32455 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
32456 if (!SWIG_IsOK(ecode6
)) {
32457 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "6"" of type '" "double""'");
32459 arg6
= static_cast< double >(val6
);
32460 ecode7
= SWIG_AsVal_double(obj6
, &val7
);
32461 if (!SWIG_IsOK(ecode7
)) {
32462 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PseudoDC_DrawEllipticArc" "', expected argument " "7"" of type '" "double""'");
32464 arg7
= static_cast< double >(val7
);
32466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32467 (arg1
)->DrawEllipticArc(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
32468 wxPyEndAllowThreads(__tstate
);
32469 if (PyErr_Occurred()) SWIG_fail
;
32471 resultobj
= SWIG_Py_Void();
32478 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipticArcPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32479 PyObject
*resultobj
= 0;
32480 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32481 wxPoint
*arg2
= 0 ;
32493 PyObject
* obj0
= 0 ;
32494 PyObject
* obj1
= 0 ;
32495 PyObject
* obj2
= 0 ;
32496 PyObject
* obj3
= 0 ;
32497 PyObject
* obj4
= 0 ;
32498 char * kwnames
[] = {
32499 (char *) "self",(char *) "pt",(char *) "sz",(char *) "start",(char *) "end", NULL
32502 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipticArcPointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
32503 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32504 if (!SWIG_IsOK(res1
)) {
32505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32507 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32510 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
32514 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
32516 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
32517 if (!SWIG_IsOK(ecode4
)) {
32518 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "4"" of type '" "double""'");
32520 arg4
= static_cast< double >(val4
);
32521 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
32522 if (!SWIG_IsOK(ecode5
)) {
32523 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipticArcPointSize" "', expected argument " "5"" of type '" "double""'");
32525 arg5
= static_cast< double >(val5
);
32527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32528 (arg1
)->DrawEllipticArc((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
,arg5
);
32529 wxPyEndAllowThreads(__tstate
);
32530 if (PyErr_Occurred()) SWIG_fail
;
32532 resultobj
= SWIG_Py_Void();
32539 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32540 PyObject
*resultobj
= 0;
32541 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32550 PyObject
* obj0
= 0 ;
32551 PyObject
* obj1
= 0 ;
32552 PyObject
* obj2
= 0 ;
32553 char * kwnames
[] = {
32554 (char *) "self",(char *) "x",(char *) "y", NULL
32557 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32558 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32559 if (!SWIG_IsOK(res1
)) {
32560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32562 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32563 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32564 if (!SWIG_IsOK(ecode2
)) {
32565 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "2"" of type '" "int""'");
32567 arg2
= static_cast< int >(val2
);
32568 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32569 if (!SWIG_IsOK(ecode3
)) {
32570 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawPoint" "', expected argument " "3"" of type '" "int""'");
32572 arg3
= static_cast< int >(val3
);
32574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32575 (arg1
)->DrawPoint(arg2
,arg3
);
32576 wxPyEndAllowThreads(__tstate
);
32577 if (PyErr_Occurred()) SWIG_fail
;
32579 resultobj
= SWIG_Py_Void();
32586 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPointPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32587 PyObject
*resultobj
= 0;
32588 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32589 wxPoint
*arg2
= 0 ;
32593 PyObject
* obj0
= 0 ;
32594 PyObject
* obj1
= 0 ;
32595 char * kwnames
[] = {
32596 (char *) "self",(char *) "pt", NULL
32599 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawPointPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32600 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32601 if (!SWIG_IsOK(res1
)) {
32602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPointPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32604 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32607 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
32610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32611 (arg1
)->DrawPoint((wxPoint
const &)*arg2
);
32612 wxPyEndAllowThreads(__tstate
);
32613 if (PyErr_Occurred()) SWIG_fail
;
32615 resultobj
= SWIG_Py_Void();
32622 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32623 PyObject
*resultobj
= 0;
32624 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32639 PyObject
* obj0
= 0 ;
32640 PyObject
* obj1
= 0 ;
32641 PyObject
* obj2
= 0 ;
32642 PyObject
* obj3
= 0 ;
32643 PyObject
* obj4
= 0 ;
32644 char * kwnames
[] = {
32645 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
32648 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
32649 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32650 if (!SWIG_IsOK(res1
)) {
32651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32653 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32654 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32655 if (!SWIG_IsOK(ecode2
)) {
32656 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "2"" of type '" "int""'");
32658 arg2
= static_cast< int >(val2
);
32659 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32660 if (!SWIG_IsOK(ecode3
)) {
32661 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "3"" of type '" "int""'");
32663 arg3
= static_cast< int >(val3
);
32664 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32665 if (!SWIG_IsOK(ecode4
)) {
32666 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "4"" of type '" "int""'");
32668 arg4
= static_cast< int >(val4
);
32669 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32670 if (!SWIG_IsOK(ecode5
)) {
32671 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRectangle" "', expected argument " "5"" of type '" "int""'");
32673 arg5
= static_cast< int >(val5
);
32675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32676 (arg1
)->DrawRectangle(arg2
,arg3
,arg4
,arg5
);
32677 wxPyEndAllowThreads(__tstate
);
32678 if (PyErr_Occurred()) SWIG_fail
;
32680 resultobj
= SWIG_Py_Void();
32687 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32688 PyObject
*resultobj
= 0;
32689 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32694 PyObject
* obj0
= 0 ;
32695 PyObject
* obj1
= 0 ;
32696 char * kwnames
[] = {
32697 (char *) "self",(char *) "rect", NULL
32700 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawRectangleRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32701 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32702 if (!SWIG_IsOK(res1
)) {
32703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32705 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32708 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
32711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32712 (arg1
)->DrawRectangle((wxRect
const &)*arg2
);
32713 wxPyEndAllowThreads(__tstate
);
32714 if (PyErr_Occurred()) SWIG_fail
;
32716 resultobj
= SWIG_Py_Void();
32723 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32724 PyObject
*resultobj
= 0;
32725 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32726 wxPoint
*arg2
= 0 ;
32732 PyObject
* obj0
= 0 ;
32733 PyObject
* obj1
= 0 ;
32734 PyObject
* obj2
= 0 ;
32735 char * kwnames
[] = {
32736 (char *) "self",(char *) "pt",(char *) "sz", NULL
32739 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32740 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32741 if (!SWIG_IsOK(res1
)) {
32742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32744 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32747 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
32751 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
32754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32755 (arg1
)->DrawRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
32756 wxPyEndAllowThreads(__tstate
);
32757 if (PyErr_Occurred()) SWIG_fail
;
32759 resultobj
= SWIG_Py_Void();
32766 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32767 PyObject
*resultobj
= 0;
32768 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32786 PyObject
* obj0
= 0 ;
32787 PyObject
* obj1
= 0 ;
32788 PyObject
* obj2
= 0 ;
32789 PyObject
* obj3
= 0 ;
32790 PyObject
* obj4
= 0 ;
32791 PyObject
* obj5
= 0 ;
32792 char * kwnames
[] = {
32793 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "radius", NULL
32796 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:PseudoDC_DrawRoundedRectangle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
32797 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32798 if (!SWIG_IsOK(res1
)) {
32799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32801 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32802 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32803 if (!SWIG_IsOK(ecode2
)) {
32804 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "2"" of type '" "int""'");
32806 arg2
= static_cast< int >(val2
);
32807 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32808 if (!SWIG_IsOK(ecode3
)) {
32809 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "3"" of type '" "int""'");
32811 arg3
= static_cast< int >(val3
);
32812 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32813 if (!SWIG_IsOK(ecode4
)) {
32814 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "4"" of type '" "int""'");
32816 arg4
= static_cast< int >(val4
);
32817 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
32818 if (!SWIG_IsOK(ecode5
)) {
32819 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "5"" of type '" "int""'");
32821 arg5
= static_cast< int >(val5
);
32822 ecode6
= SWIG_AsVal_double(obj5
, &val6
);
32823 if (!SWIG_IsOK(ecode6
)) {
32824 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawRoundedRectangle" "', expected argument " "6"" of type '" "double""'");
32826 arg6
= static_cast< double >(val6
);
32828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32829 (arg1
)->DrawRoundedRectangle(arg2
,arg3
,arg4
,arg5
,arg6
);
32830 wxPyEndAllowThreads(__tstate
);
32831 if (PyErr_Occurred()) SWIG_fail
;
32833 resultobj
= SWIG_Py_Void();
32840 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectangleRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32841 PyObject
*resultobj
= 0;
32842 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32850 PyObject
* obj0
= 0 ;
32851 PyObject
* obj1
= 0 ;
32852 PyObject
* obj2
= 0 ;
32853 char * kwnames
[] = {
32854 (char *) "self",(char *) "r",(char *) "radius", NULL
32857 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawRoundedRectangleRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32858 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32859 if (!SWIG_IsOK(res1
)) {
32860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32862 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32865 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
32867 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
32868 if (!SWIG_IsOK(ecode3
)) {
32869 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRoundedRectangleRect" "', expected argument " "3"" of type '" "double""'");
32871 arg3
= static_cast< double >(val3
);
32873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32874 (arg1
)->DrawRoundedRectangle((wxRect
const &)*arg2
,arg3
);
32875 wxPyEndAllowThreads(__tstate
);
32876 if (PyErr_Occurred()) SWIG_fail
;
32878 resultobj
= SWIG_Py_Void();
32885 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRoundedRectanglePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32886 PyObject
*resultobj
= 0;
32887 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32888 wxPoint
*arg2
= 0 ;
32897 PyObject
* obj0
= 0 ;
32898 PyObject
* obj1
= 0 ;
32899 PyObject
* obj2
= 0 ;
32900 PyObject
* obj3
= 0 ;
32901 char * kwnames
[] = {
32902 (char *) "self",(char *) "pt",(char *) "sz",(char *) "radius", NULL
32905 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRoundedRectanglePointSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32906 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32907 if (!SWIG_IsOK(res1
)) {
32908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32910 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32913 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
32917 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
32919 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
32920 if (!SWIG_IsOK(ecode4
)) {
32921 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRoundedRectanglePointSize" "', expected argument " "4"" of type '" "double""'");
32923 arg4
= static_cast< double >(val4
);
32925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32926 (arg1
)->DrawRoundedRectangle((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
,arg4
);
32927 wxPyEndAllowThreads(__tstate
);
32928 if (PyErr_Occurred()) SWIG_fail
;
32930 resultobj
= SWIG_Py_Void();
32937 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCircle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32938 PyObject
*resultobj
= 0;
32939 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32951 PyObject
* obj0
= 0 ;
32952 PyObject
* obj1
= 0 ;
32953 PyObject
* obj2
= 0 ;
32954 PyObject
* obj3
= 0 ;
32955 char * kwnames
[] = {
32956 (char *) "self",(char *) "x",(char *) "y",(char *) "radius", NULL
32959 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawCircle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
32960 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
32961 if (!SWIG_IsOK(res1
)) {
32962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
32964 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
32965 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32966 if (!SWIG_IsOK(ecode2
)) {
32967 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "2"" of type '" "int""'");
32969 arg2
= static_cast< int >(val2
);
32970 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32971 if (!SWIG_IsOK(ecode3
)) {
32972 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "3"" of type '" "int""'");
32974 arg3
= static_cast< int >(val3
);
32975 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
32976 if (!SWIG_IsOK(ecode4
)) {
32977 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawCircle" "', expected argument " "4"" of type '" "int""'");
32979 arg4
= static_cast< int >(val4
);
32981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32982 (arg1
)->DrawCircle(arg2
,arg3
,arg4
);
32983 wxPyEndAllowThreads(__tstate
);
32984 if (PyErr_Occurred()) SWIG_fail
;
32986 resultobj
= SWIG_Py_Void();
32993 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawCirclePoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32994 PyObject
*resultobj
= 0;
32995 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
32996 wxPoint
*arg2
= 0 ;
33003 PyObject
* obj0
= 0 ;
33004 PyObject
* obj1
= 0 ;
33005 PyObject
* obj2
= 0 ;
33006 char * kwnames
[] = {
33007 (char *) "self",(char *) "pt",(char *) "radius", NULL
33010 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawCirclePoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33011 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33012 if (!SWIG_IsOK(res1
)) {
33013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33015 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33018 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33020 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33021 if (!SWIG_IsOK(ecode3
)) {
33022 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawCirclePoint" "', expected argument " "3"" of type '" "int""'");
33024 arg3
= static_cast< int >(val3
);
33026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33027 (arg1
)->DrawCircle((wxPoint
const &)*arg2
,arg3
);
33028 wxPyEndAllowThreads(__tstate
);
33029 if (PyErr_Occurred()) SWIG_fail
;
33031 resultobj
= SWIG_Py_Void();
33038 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33039 PyObject
*resultobj
= 0;
33040 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33055 PyObject
* obj0
= 0 ;
33056 PyObject
* obj1
= 0 ;
33057 PyObject
* obj2
= 0 ;
33058 PyObject
* obj3
= 0 ;
33059 PyObject
* obj4
= 0 ;
33060 char * kwnames
[] = {
33061 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
33064 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawEllipse",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
33065 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33066 if (!SWIG_IsOK(res1
)) {
33067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33069 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33070 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33071 if (!SWIG_IsOK(ecode2
)) {
33072 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "2"" of type '" "int""'");
33074 arg2
= static_cast< int >(val2
);
33075 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33076 if (!SWIG_IsOK(ecode3
)) {
33077 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "3"" of type '" "int""'");
33079 arg3
= static_cast< int >(val3
);
33080 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33081 if (!SWIG_IsOK(ecode4
)) {
33082 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "4"" of type '" "int""'");
33084 arg4
= static_cast< int >(val4
);
33085 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
33086 if (!SWIG_IsOK(ecode5
)) {
33087 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawEllipse" "', expected argument " "5"" of type '" "int""'");
33089 arg5
= static_cast< int >(val5
);
33091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33092 (arg1
)->DrawEllipse(arg2
,arg3
,arg4
,arg5
);
33093 wxPyEndAllowThreads(__tstate
);
33094 if (PyErr_Occurred()) SWIG_fail
;
33096 resultobj
= SWIG_Py_Void();
33103 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipseRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33104 PyObject
*resultobj
= 0;
33105 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33110 PyObject
* obj0
= 0 ;
33111 PyObject
* obj1
= 0 ;
33112 char * kwnames
[] = {
33113 (char *) "self",(char *) "rect", NULL
33116 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawEllipseRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33117 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33118 if (!SWIG_IsOK(res1
)) {
33119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipseRect" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33121 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33124 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
33127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33128 (arg1
)->DrawEllipse((wxRect
const &)*arg2
);
33129 wxPyEndAllowThreads(__tstate
);
33130 if (PyErr_Occurred()) SWIG_fail
;
33132 resultobj
= SWIG_Py_Void();
33139 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawEllipsePointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33140 PyObject
*resultobj
= 0;
33141 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33142 wxPoint
*arg2
= 0 ;
33148 PyObject
* obj0
= 0 ;
33149 PyObject
* obj1
= 0 ;
33150 PyObject
* obj2
= 0 ;
33151 char * kwnames
[] = {
33152 (char *) "self",(char *) "pt",(char *) "sz", NULL
33155 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawEllipsePointSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33156 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33157 if (!SWIG_IsOK(res1
)) {
33158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawEllipsePointSize" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33160 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33163 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33167 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
33170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33171 (arg1
)->DrawEllipse((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
33172 wxPyEndAllowThreads(__tstate
);
33173 if (PyErr_Occurred()) SWIG_fail
;
33175 resultobj
= SWIG_Py_Void();
33182 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33183 PyObject
*resultobj
= 0;
33184 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33196 PyObject
* obj0
= 0 ;
33197 PyObject
* obj1
= 0 ;
33198 PyObject
* obj2
= 0 ;
33199 PyObject
* obj3
= 0 ;
33200 char * kwnames
[] = {
33201 (char *) "self",(char *) "icon",(char *) "x",(char *) "y", NULL
33204 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawIcon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33205 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33206 if (!SWIG_IsOK(res1
)) {
33207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33209 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33210 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
33211 if (!SWIG_IsOK(res2
)) {
33212 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
33215 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
33217 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
33218 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33219 if (!SWIG_IsOK(ecode3
)) {
33220 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "3"" of type '" "int""'");
33222 arg3
= static_cast< int >(val3
);
33223 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33224 if (!SWIG_IsOK(ecode4
)) {
33225 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawIcon" "', expected argument " "4"" of type '" "int""'");
33227 arg4
= static_cast< int >(val4
);
33229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33230 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,arg3
,arg4
);
33231 wxPyEndAllowThreads(__tstate
);
33232 if (PyErr_Occurred()) SWIG_fail
;
33234 resultobj
= SWIG_Py_Void();
33241 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawIconPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33242 PyObject
*resultobj
= 0;
33243 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33245 wxPoint
*arg3
= 0 ;
33251 PyObject
* obj0
= 0 ;
33252 PyObject
* obj1
= 0 ;
33253 PyObject
* obj2
= 0 ;
33254 char * kwnames
[] = {
33255 (char *) "self",(char *) "icon",(char *) "pt", NULL
33258 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawIconPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33259 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33260 if (!SWIG_IsOK(res1
)) {
33261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33263 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33264 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
33265 if (!SWIG_IsOK(res2
)) {
33266 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
33269 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawIconPoint" "', expected argument " "2"" of type '" "wxIcon const &""'");
33271 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
33274 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33278 (arg1
)->DrawIcon((wxIcon
const &)*arg2
,(wxPoint
const &)*arg3
);
33279 wxPyEndAllowThreads(__tstate
);
33280 if (PyErr_Occurred()) SWIG_fail
;
33282 resultobj
= SWIG_Py_Void();
33289 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33290 PyObject
*resultobj
= 0;
33291 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33292 wxBitmap
*arg2
= 0 ;
33295 bool arg5
= (bool) false ;
33306 PyObject
* obj0
= 0 ;
33307 PyObject
* obj1
= 0 ;
33308 PyObject
* obj2
= 0 ;
33309 PyObject
* obj3
= 0 ;
33310 PyObject
* obj4
= 0 ;
33311 char * kwnames
[] = {
33312 (char *) "self",(char *) "bmp",(char *) "x",(char *) "y",(char *) "useMask", NULL
33315 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:PseudoDC_DrawBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
33316 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33317 if (!SWIG_IsOK(res1
)) {
33318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33320 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33321 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
33322 if (!SWIG_IsOK(res2
)) {
33323 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
33326 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
33328 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
33329 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33330 if (!SWIG_IsOK(ecode3
)) {
33331 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "3"" of type '" "int""'");
33333 arg3
= static_cast< int >(val3
);
33334 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33335 if (!SWIG_IsOK(ecode4
)) {
33336 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "4"" of type '" "int""'");
33338 arg4
= static_cast< int >(val4
);
33340 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
33341 if (!SWIG_IsOK(ecode5
)) {
33342 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawBitmap" "', expected argument " "5"" of type '" "bool""'");
33344 arg5
= static_cast< bool >(val5
);
33347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33348 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,arg3
,arg4
,arg5
);
33349 wxPyEndAllowThreads(__tstate
);
33350 if (PyErr_Occurred()) SWIG_fail
;
33352 resultobj
= SWIG_Py_Void();
33359 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawBitmapPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33360 PyObject
*resultobj
= 0;
33361 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33362 wxBitmap
*arg2
= 0 ;
33363 wxPoint
*arg3
= 0 ;
33364 bool arg4
= (bool) false ;
33372 PyObject
* obj0
= 0 ;
33373 PyObject
* obj1
= 0 ;
33374 PyObject
* obj2
= 0 ;
33375 PyObject
* obj3
= 0 ;
33376 char * kwnames
[] = {
33377 (char *) "self",(char *) "bmp",(char *) "pt",(char *) "useMask", NULL
33380 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PseudoDC_DrawBitmapPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33381 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33382 if (!SWIG_IsOK(res1
)) {
33383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33385 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33386 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
33387 if (!SWIG_IsOK(res2
)) {
33388 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
33391 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "2"" of type '" "wxBitmap const &""'");
33393 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
33396 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33399 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
33400 if (!SWIG_IsOK(ecode4
)) {
33401 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawBitmapPoint" "', expected argument " "4"" of type '" "bool""'");
33403 arg4
= static_cast< bool >(val4
);
33406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33407 (arg1
)->DrawBitmap((wxBitmap
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
33408 wxPyEndAllowThreads(__tstate
);
33409 if (PyErr_Occurred()) SWIG_fail
;
33411 resultobj
= SWIG_Py_Void();
33418 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33419 PyObject
*resultobj
= 0;
33420 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33421 wxString
*arg2
= 0 ;
33426 bool temp2
= false ;
33431 PyObject
* obj0
= 0 ;
33432 PyObject
* obj1
= 0 ;
33433 PyObject
* obj2
= 0 ;
33434 PyObject
* obj3
= 0 ;
33435 char * kwnames
[] = {
33436 (char *) "self",(char *) "text",(char *) "x",(char *) "y", NULL
33439 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33440 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33441 if (!SWIG_IsOK(res1
)) {
33442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33444 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33446 arg2
= wxString_in_helper(obj1
);
33447 if (arg2
== NULL
) SWIG_fail
;
33450 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33451 if (!SWIG_IsOK(ecode3
)) {
33452 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawText" "', expected argument " "3"" of type '" "int""'");
33454 arg3
= static_cast< int >(val3
);
33455 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33456 if (!SWIG_IsOK(ecode4
)) {
33457 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawText" "', expected argument " "4"" of type '" "int""'");
33459 arg4
= static_cast< int >(val4
);
33461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33462 (arg1
)->DrawText((wxString
const &)*arg2
,arg3
,arg4
);
33463 wxPyEndAllowThreads(__tstate
);
33464 if (PyErr_Occurred()) SWIG_fail
;
33466 resultobj
= SWIG_Py_Void();
33481 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33482 PyObject
*resultobj
= 0;
33483 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33484 wxString
*arg2
= 0 ;
33485 wxPoint
*arg3
= 0 ;
33488 bool temp2
= false ;
33490 PyObject
* obj0
= 0 ;
33491 PyObject
* obj1
= 0 ;
33492 PyObject
* obj2
= 0 ;
33493 char * kwnames
[] = {
33494 (char *) "self",(char *) "text",(char *) "pt", NULL
33497 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PseudoDC_DrawTextPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33498 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33499 if (!SWIG_IsOK(res1
)) {
33500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33502 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33504 arg2
= wxString_in_helper(obj1
);
33505 if (arg2
== NULL
) SWIG_fail
;
33510 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33514 (arg1
)->DrawText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
);
33515 wxPyEndAllowThreads(__tstate
);
33516 if (PyErr_Occurred()) SWIG_fail
;
33518 resultobj
= SWIG_Py_Void();
33533 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33534 PyObject
*resultobj
= 0;
33535 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33536 wxString
*arg2
= 0 ;
33542 bool temp2
= false ;
33549 PyObject
* obj0
= 0 ;
33550 PyObject
* obj1
= 0 ;
33551 PyObject
* obj2
= 0 ;
33552 PyObject
* obj3
= 0 ;
33553 PyObject
* obj4
= 0 ;
33554 char * kwnames
[] = {
33555 (char *) "self",(char *) "text",(char *) "x",(char *) "y",(char *) "angle", NULL
33558 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PseudoDC_DrawRotatedText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
33559 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33560 if (!SWIG_IsOK(res1
)) {
33561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33563 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33565 arg2
= wxString_in_helper(obj1
);
33566 if (arg2
== NULL
) SWIG_fail
;
33569 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33570 if (!SWIG_IsOK(ecode3
)) {
33571 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "3"" of type '" "int""'");
33573 arg3
= static_cast< int >(val3
);
33574 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33575 if (!SWIG_IsOK(ecode4
)) {
33576 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "4"" of type '" "int""'");
33578 arg4
= static_cast< int >(val4
);
33579 ecode5
= SWIG_AsVal_double(obj4
, &val5
);
33580 if (!SWIG_IsOK(ecode5
)) {
33581 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawRotatedText" "', expected argument " "5"" of type '" "double""'");
33583 arg5
= static_cast< double >(val5
);
33585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33586 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
33587 wxPyEndAllowThreads(__tstate
);
33588 if (PyErr_Occurred()) SWIG_fail
;
33590 resultobj
= SWIG_Py_Void();
33605 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawRotatedTextPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33606 PyObject
*resultobj
= 0;
33607 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33608 wxString
*arg2
= 0 ;
33609 wxPoint
*arg3
= 0 ;
33613 bool temp2
= false ;
33617 PyObject
* obj0
= 0 ;
33618 PyObject
* obj1
= 0 ;
33619 PyObject
* obj2
= 0 ;
33620 PyObject
* obj3
= 0 ;
33621 char * kwnames
[] = {
33622 (char *) "self",(char *) "text",(char *) "pt",(char *) "angle", NULL
33625 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PseudoDC_DrawRotatedTextPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33626 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33627 if (!SWIG_IsOK(res1
)) {
33628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33630 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33632 arg2
= wxString_in_helper(obj1
);
33633 if (arg2
== NULL
) SWIG_fail
;
33638 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33640 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
33641 if (!SWIG_IsOK(ecode4
)) {
33642 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawRotatedTextPoint" "', expected argument " "4"" of type '" "double""'");
33644 arg4
= static_cast< double >(val4
);
33646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33647 (arg1
)->DrawRotatedText((wxString
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
);
33648 wxPyEndAllowThreads(__tstate
);
33649 if (PyErr_Occurred()) SWIG_fail
;
33651 resultobj
= SWIG_Py_Void();
33666 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33667 PyObject
*resultobj
= 0;
33668 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33670 wxPoint
*arg3
= (wxPoint
*) 0 ;
33671 int arg4
= (int) 0 ;
33672 int arg5
= (int) 0 ;
33679 PyObject
* obj0
= 0 ;
33680 PyObject
* obj1
= 0 ;
33681 PyObject
* obj2
= 0 ;
33682 PyObject
* obj3
= 0 ;
33683 char * kwnames
[] = {
33684 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset", NULL
33687 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:PseudoDC_DrawLines",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33688 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33689 if (!SWIG_IsOK(res1
)) {
33690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLines" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33692 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33694 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
33695 if (arg3
== NULL
) SWIG_fail
;
33698 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
33699 if (!SWIG_IsOK(ecode4
)) {
33700 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLines" "', expected argument " "4"" of type '" "int""'");
33702 arg4
= static_cast< int >(val4
);
33705 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
33706 if (!SWIG_IsOK(ecode5
)) {
33707 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLines" "', expected argument " "5"" of type '" "int""'");
33709 arg5
= static_cast< int >(val5
);
33712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33713 (arg1
)->DrawLines(arg2
,arg3
,arg4
,arg5
);
33714 wxPyEndAllowThreads(__tstate
);
33715 if (PyErr_Occurred()) SWIG_fail
;
33717 resultobj
= SWIG_Py_Void();
33719 if (arg3
) delete [] arg3
;
33724 if (arg3
) delete [] arg3
;
33730 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawPolygon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33731 PyObject
*resultobj
= 0;
33732 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33734 wxPoint
*arg3
= (wxPoint
*) 0 ;
33735 int arg4
= (int) 0 ;
33736 int arg5
= (int) 0 ;
33737 int arg6
= (int) wxODDEVEN_RULE
;
33746 PyObject
* obj0
= 0 ;
33747 PyObject
* obj1
= 0 ;
33748 PyObject
* obj2
= 0 ;
33749 PyObject
* obj3
= 0 ;
33750 PyObject
* obj4
= 0 ;
33751 char * kwnames
[] = {
33752 (char *) "self",(char *) "points",(char *) "xoffset",(char *) "yoffset",(char *) "fillStyle", NULL
33755 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:PseudoDC_DrawPolygon",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
33756 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33757 if (!SWIG_IsOK(res1
)) {
33758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33760 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33762 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
33763 if (arg3
== NULL
) SWIG_fail
;
33766 ecode4
= SWIG_AsVal_int(obj2
, &val4
);
33767 if (!SWIG_IsOK(ecode4
)) {
33768 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "4"" of type '" "int""'");
33770 arg4
= static_cast< int >(val4
);
33773 ecode5
= SWIG_AsVal_int(obj3
, &val5
);
33774 if (!SWIG_IsOK(ecode5
)) {
33775 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "5"" of type '" "int""'");
33777 arg5
= static_cast< int >(val5
);
33780 ecode6
= SWIG_AsVal_int(obj4
, &val6
);
33781 if (!SWIG_IsOK(ecode6
)) {
33782 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawPolygon" "', expected argument " "6"" of type '" "int""'");
33784 arg6
= static_cast< int >(val6
);
33787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33788 (arg1
)->DrawPolygon(arg2
,arg3
,arg4
,arg5
,arg6
);
33789 wxPyEndAllowThreads(__tstate
);
33790 if (PyErr_Occurred()) SWIG_fail
;
33792 resultobj
= SWIG_Py_Void();
33794 if (arg3
) delete [] arg3
;
33799 if (arg3
) delete [] arg3
;
33805 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33806 PyObject
*resultobj
= 0;
33807 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33808 wxString
*arg2
= 0 ;
33810 int arg4
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
33811 int arg5
= (int) -1 ;
33814 bool temp2
= false ;
33820 PyObject
* obj0
= 0 ;
33821 PyObject
* obj1
= 0 ;
33822 PyObject
* obj2
= 0 ;
33823 PyObject
* obj3
= 0 ;
33824 PyObject
* obj4
= 0 ;
33825 char * kwnames
[] = {
33826 (char *) "self",(char *) "text",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
33829 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:PseudoDC_DrawLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
33830 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33831 if (!SWIG_IsOK(res1
)) {
33832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33834 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33836 arg2
= wxString_in_helper(obj1
);
33837 if (arg2
== NULL
) SWIG_fail
;
33842 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
33845 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33846 if (!SWIG_IsOK(ecode4
)) {
33847 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "4"" of type '" "int""'");
33849 arg4
= static_cast< int >(val4
);
33852 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
33853 if (!SWIG_IsOK(ecode5
)) {
33854 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawLabel" "', expected argument " "5"" of type '" "int""'");
33856 arg5
= static_cast< int >(val5
);
33859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33860 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxRect
const &)*arg3
,arg4
,arg5
);
33861 wxPyEndAllowThreads(__tstate
);
33862 if (PyErr_Occurred()) SWIG_fail
;
33864 resultobj
= SWIG_Py_Void();
33879 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawImageLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33880 PyObject
*resultobj
= 0;
33881 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33882 wxString
*arg2
= 0 ;
33883 wxBitmap
*arg3
= 0 ;
33885 int arg5
= (int) wxALIGN_LEFT
|wxALIGN_TOP
;
33886 int arg6
= (int) -1 ;
33889 bool temp2
= false ;
33897 PyObject
* obj0
= 0 ;
33898 PyObject
* obj1
= 0 ;
33899 PyObject
* obj2
= 0 ;
33900 PyObject
* obj3
= 0 ;
33901 PyObject
* obj4
= 0 ;
33902 PyObject
* obj5
= 0 ;
33903 char * kwnames
[] = {
33904 (char *) "self",(char *) "text",(char *) "image",(char *) "rect",(char *) "alignment",(char *) "indexAccel", NULL
33907 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:PseudoDC_DrawImageLabel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
33908 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33909 if (!SWIG_IsOK(res1
)) {
33910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33912 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33914 arg2
= wxString_in_helper(obj1
);
33915 if (arg2
== NULL
) SWIG_fail
;
33918 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
33919 if (!SWIG_IsOK(res3
)) {
33920 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
33923 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "3"" of type '" "wxBitmap const &""'");
33925 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
33928 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
33931 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
33932 if (!SWIG_IsOK(ecode5
)) {
33933 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "5"" of type '" "int""'");
33935 arg5
= static_cast< int >(val5
);
33938 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
33939 if (!SWIG_IsOK(ecode6
)) {
33940 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PseudoDC_DrawImageLabel" "', expected argument " "6"" of type '" "int""'");
33942 arg6
= static_cast< int >(val6
);
33945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33946 (arg1
)->DrawLabel((wxString
const &)*arg2
,(wxBitmap
const &)*arg3
,(wxRect
const &)*arg4
,arg5
,arg6
);
33947 wxPyEndAllowThreads(__tstate
);
33948 if (PyErr_Occurred()) SWIG_fail
;
33950 resultobj
= SWIG_Py_Void();
33965 SWIGINTERN PyObject
*_wrap_PseudoDC_DrawSpline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33966 PyObject
*resultobj
= 0;
33967 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
33969 wxPoint
*arg3
= (wxPoint
*) 0 ;
33972 PyObject
* obj0
= 0 ;
33973 PyObject
* obj1
= 0 ;
33974 char * kwnames
[] = {
33975 (char *) "self",(char *) "points", NULL
33978 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_DrawSpline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33979 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
33980 if (!SWIG_IsOK(res1
)) {
33981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_DrawSpline" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
33983 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
33985 arg3
= wxPoint_LIST_helper(obj1
, &arg2
);
33986 if (arg3
== NULL
) SWIG_fail
;
33989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33990 (arg1
)->DrawSpline(arg2
,arg3
);
33991 wxPyEndAllowThreads(__tstate
);
33992 if (PyErr_Occurred()) SWIG_fail
;
33994 resultobj
= SWIG_Py_Void();
33996 if (arg3
) delete [] arg3
;
34001 if (arg3
) delete [] arg3
;
34007 SWIGINTERN PyObject
*_wrap_PseudoDC_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34008 PyObject
*resultobj
= 0;
34009 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34012 PyObject
*swig_obj
[1] ;
34014 if (!args
) SWIG_fail
;
34015 swig_obj
[0] = args
;
34016 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34017 if (!SWIG_IsOK(res1
)) {
34018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_Clear" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34020 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34024 wxPyEndAllowThreads(__tstate
);
34025 if (PyErr_Occurred()) SWIG_fail
;
34027 resultobj
= SWIG_Py_Void();
34034 SWIGINTERN PyObject
*_wrap_PseudoDC_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34035 PyObject
*resultobj
= 0;
34036 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34042 PyObject
* obj0
= 0 ;
34043 PyObject
* obj1
= 0 ;
34044 char * kwnames
[] = {
34045 (char *) "self",(char *) "font", NULL
34048 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34049 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34050 if (!SWIG_IsOK(res1
)) {
34051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetFont" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34053 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34054 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
34055 if (!SWIG_IsOK(res2
)) {
34056 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
34059 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
34061 arg2
= reinterpret_cast< wxFont
* >(argp2
);
34063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34064 (arg1
)->SetFont((wxFont
const &)*arg2
);
34065 wxPyEndAllowThreads(__tstate
);
34066 if (PyErr_Occurred()) SWIG_fail
;
34068 resultobj
= SWIG_Py_Void();
34075 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34076 PyObject
*resultobj
= 0;
34077 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34083 PyObject
* obj0
= 0 ;
34084 PyObject
* obj1
= 0 ;
34085 char * kwnames
[] = {
34086 (char *) "self",(char *) "pen", NULL
34089 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34090 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34091 if (!SWIG_IsOK(res1
)) {
34092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPen" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34094 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34095 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPen
, 0 | 0);
34096 if (!SWIG_IsOK(res2
)) {
34097 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
34100 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPen" "', expected argument " "2"" of type '" "wxPen const &""'");
34102 arg2
= reinterpret_cast< wxPen
* >(argp2
);
34104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34105 (arg1
)->SetPen((wxPen
const &)*arg2
);
34106 wxPyEndAllowThreads(__tstate
);
34107 if (PyErr_Occurred()) SWIG_fail
;
34109 resultobj
= SWIG_Py_Void();
34116 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBrush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34117 PyObject
*resultobj
= 0;
34118 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34119 wxBrush
*arg2
= 0 ;
34124 PyObject
* obj0
= 0 ;
34125 PyObject
* obj1
= 0 ;
34126 char * kwnames
[] = {
34127 (char *) "self",(char *) "brush", NULL
34130 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBrush",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34131 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34132 if (!SWIG_IsOK(res1
)) {
34133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBrush" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34135 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34136 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
34137 if (!SWIG_IsOK(res2
)) {
34138 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
34141 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBrush" "', expected argument " "2"" of type '" "wxBrush const &""'");
34143 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
34145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34146 (arg1
)->SetBrush((wxBrush
const &)*arg2
);
34147 wxPyEndAllowThreads(__tstate
);
34148 if (PyErr_Occurred()) SWIG_fail
;
34150 resultobj
= SWIG_Py_Void();
34157 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34158 PyObject
*resultobj
= 0;
34159 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34160 wxBrush
*arg2
= 0 ;
34165 PyObject
* obj0
= 0 ;
34166 PyObject
* obj1
= 0 ;
34167 char * kwnames
[] = {
34168 (char *) "self",(char *) "brush", NULL
34171 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34172 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34173 if (!SWIG_IsOK(res1
)) {
34174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34176 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34177 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBrush
, 0 | 0);
34178 if (!SWIG_IsOK(res2
)) {
34179 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
34182 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetBackground" "', expected argument " "2"" of type '" "wxBrush const &""'");
34184 arg2
= reinterpret_cast< wxBrush
* >(argp2
);
34186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34187 (arg1
)->SetBackground((wxBrush
const &)*arg2
);
34188 wxPyEndAllowThreads(__tstate
);
34189 if (PyErr_Occurred()) SWIG_fail
;
34191 resultobj
= SWIG_Py_Void();
34198 SWIGINTERN PyObject
*_wrap_PseudoDC_SetBackgroundMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34199 PyObject
*resultobj
= 0;
34200 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34206 PyObject
* obj0
= 0 ;
34207 PyObject
* obj1
= 0 ;
34208 char * kwnames
[] = {
34209 (char *) "self",(char *) "mode", NULL
34212 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetBackgroundMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34213 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34214 if (!SWIG_IsOK(res1
)) {
34215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34217 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34218 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34219 if (!SWIG_IsOK(ecode2
)) {
34220 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetBackgroundMode" "', expected argument " "2"" of type '" "int""'");
34222 arg2
= static_cast< int >(val2
);
34224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34225 (arg1
)->SetBackgroundMode(arg2
);
34226 wxPyEndAllowThreads(__tstate
);
34227 if (PyErr_Occurred()) SWIG_fail
;
34229 resultobj
= SWIG_Py_Void();
34236 SWIGINTERN PyObject
*_wrap_PseudoDC_SetPalette(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34237 PyObject
*resultobj
= 0;
34238 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34239 wxPalette
*arg2
= 0 ;
34244 PyObject
* obj0
= 0 ;
34245 PyObject
* obj1
= 0 ;
34246 char * kwnames
[] = {
34247 (char *) "self",(char *) "palette", NULL
34250 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetPalette",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34251 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34252 if (!SWIG_IsOK(res1
)) {
34253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetPalette" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34255 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34256 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPalette
, 0 | 0);
34257 if (!SWIG_IsOK(res2
)) {
34258 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
34261 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PseudoDC_SetPalette" "', expected argument " "2"" of type '" "wxPalette const &""'");
34263 arg2
= reinterpret_cast< wxPalette
* >(argp2
);
34265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34266 (arg1
)->SetPalette((wxPalette
const &)*arg2
);
34267 wxPyEndAllowThreads(__tstate
);
34268 if (PyErr_Occurred()) SWIG_fail
;
34270 resultobj
= SWIG_Py_Void();
34277 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextForeground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34278 PyObject
*resultobj
= 0;
34279 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34280 wxColour
*arg2
= 0 ;
34284 PyObject
* obj0
= 0 ;
34285 PyObject
* obj1
= 0 ;
34286 char * kwnames
[] = {
34287 (char *) "self",(char *) "colour", NULL
34290 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextForeground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34291 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34292 if (!SWIG_IsOK(res1
)) {
34293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextForeground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34295 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34298 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
34301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34302 (arg1
)->SetTextForeground((wxColour
const &)*arg2
);
34303 wxPyEndAllowThreads(__tstate
);
34304 if (PyErr_Occurred()) SWIG_fail
;
34306 resultobj
= SWIG_Py_Void();
34313 SWIGINTERN PyObject
*_wrap_PseudoDC_SetTextBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34314 PyObject
*resultobj
= 0;
34315 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34316 wxColour
*arg2
= 0 ;
34320 PyObject
* obj0
= 0 ;
34321 PyObject
* obj1
= 0 ;
34322 char * kwnames
[] = {
34323 (char *) "self",(char *) "colour", NULL
34326 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetTextBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34327 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34328 if (!SWIG_IsOK(res1
)) {
34329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetTextBackground" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34331 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34334 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
34337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34338 (arg1
)->SetTextBackground((wxColour
const &)*arg2
);
34339 wxPyEndAllowThreads(__tstate
);
34340 if (PyErr_Occurred()) SWIG_fail
;
34342 resultobj
= SWIG_Py_Void();
34349 SWIGINTERN PyObject
*_wrap_PseudoDC_SetLogicalFunction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34350 PyObject
*resultobj
= 0;
34351 wxPseudoDC
*arg1
= (wxPseudoDC
*) 0 ;
34357 PyObject
* obj0
= 0 ;
34358 PyObject
* obj1
= 0 ;
34359 char * kwnames
[] = {
34360 (char *) "self",(char *) "function", NULL
34363 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PseudoDC_SetLogicalFunction",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34364 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPseudoDC
, 0 | 0 );
34365 if (!SWIG_IsOK(res1
)) {
34366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "1"" of type '" "wxPseudoDC *""'");
34368 arg1
= reinterpret_cast< wxPseudoDC
* >(argp1
);
34369 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34370 if (!SWIG_IsOK(ecode2
)) {
34371 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PseudoDC_SetLogicalFunction" "', expected argument " "2"" of type '" "int""'");
34373 arg2
= static_cast< int >(val2
);
34375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34376 (arg1
)->SetLogicalFunction(arg2
);
34377 wxPyEndAllowThreads(__tstate
);
34378 if (PyErr_Occurred()) SWIG_fail
;
34380 resultobj
= SWIG_Py_Void();
34387 SWIGINTERN PyObject
*PseudoDC_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34389 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34390 SWIG_TypeNewClientData(SWIGTYPE_p_wxPseudoDC
, SWIG_NewClientData(obj
));
34391 return SWIG_Py_Void();
34394 SWIGINTERN PyObject
*PseudoDC_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34395 return SWIG_Python_InitShadowInstance(args
);
34398 static PyMethodDef SwigMethods
[] = {
34399 { (char *)"new_GDIObject", (PyCFunction
)_wrap_new_GDIObject
, METH_NOARGS
, NULL
},
34400 { (char *)"delete_GDIObject", (PyCFunction
)_wrap_delete_GDIObject
, METH_O
, NULL
},
34401 { (char *)"GDIObject_IsNull", (PyCFunction
)_wrap_GDIObject_IsNull
, METH_O
, NULL
},
34402 { (char *)"GDIObject_swigregister", GDIObject_swigregister
, METH_VARARGS
, NULL
},
34403 { (char *)"GDIObject_swiginit", GDIObject_swiginit
, METH_VARARGS
, NULL
},
34404 { (char *)"new_Colour", (PyCFunction
) _wrap_new_Colour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34405 { (char *)"new_NamedColour", (PyCFunction
) _wrap_new_NamedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34406 { (char *)"new_ColourRGB", (PyCFunction
) _wrap_new_ColourRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34407 { (char *)"delete_Colour", (PyCFunction
)_wrap_delete_Colour
, METH_O
, NULL
},
34408 { (char *)"Colour_Red", (PyCFunction
)_wrap_Colour_Red
, METH_O
, NULL
},
34409 { (char *)"Colour_Green", (PyCFunction
)_wrap_Colour_Green
, METH_O
, NULL
},
34410 { (char *)"Colour_Blue", (PyCFunction
)_wrap_Colour_Blue
, METH_O
, NULL
},
34411 { (char *)"Colour_Alpha", (PyCFunction
)_wrap_Colour_Alpha
, METH_O
, NULL
},
34412 { (char *)"Colour_IsOk", (PyCFunction
)_wrap_Colour_IsOk
, METH_O
, NULL
},
34413 { (char *)"Colour_Set", (PyCFunction
) _wrap_Colour_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34414 { (char *)"Colour_SetRGB", (PyCFunction
) _wrap_Colour_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34415 { (char *)"Colour_SetFromName", (PyCFunction
) _wrap_Colour_SetFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34416 { (char *)"Colour_GetAsString", (PyCFunction
) _wrap_Colour_GetAsString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34417 { (char *)"Colour_GetPixel", (PyCFunction
)_wrap_Colour_GetPixel
, METH_O
, NULL
},
34418 { (char *)"Colour___eq__", (PyCFunction
) _wrap_Colour___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34419 { (char *)"Colour___ne__", (PyCFunction
) _wrap_Colour___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34420 { (char *)"Colour_Get", (PyCFunction
) _wrap_Colour_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34421 { (char *)"Colour_GetRGB", (PyCFunction
)_wrap_Colour_GetRGB
, METH_O
, NULL
},
34422 { (char *)"Colour_swigregister", Colour_swigregister
, METH_VARARGS
, NULL
},
34423 { (char *)"Colour_swiginit", Colour_swiginit
, METH_VARARGS
, NULL
},
34424 { (char *)"new_Palette", (PyCFunction
) _wrap_new_Palette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34425 { (char *)"delete_Palette", (PyCFunction
)_wrap_delete_Palette
, METH_O
, NULL
},
34426 { (char *)"Palette_GetPixel", (PyCFunction
) _wrap_Palette_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34427 { (char *)"Palette_GetRGB", (PyCFunction
) _wrap_Palette_GetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34428 { (char *)"Palette_GetColoursCount", (PyCFunction
)_wrap_Palette_GetColoursCount
, METH_O
, NULL
},
34429 { (char *)"Palette_IsOk", (PyCFunction
)_wrap_Palette_IsOk
, METH_O
, NULL
},
34430 { (char *)"Palette_swigregister", Palette_swigregister
, METH_VARARGS
, NULL
},
34431 { (char *)"Palette_swiginit", Palette_swiginit
, METH_VARARGS
, NULL
},
34432 { (char *)"new_Pen", (PyCFunction
) _wrap_new_Pen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34433 { (char *)"delete_Pen", (PyCFunction
)_wrap_delete_Pen
, METH_O
, NULL
},
34434 { (char *)"Pen_GetCap", (PyCFunction
)_wrap_Pen_GetCap
, METH_O
, NULL
},
34435 { (char *)"Pen_GetColour", (PyCFunction
)_wrap_Pen_GetColour
, METH_O
, NULL
},
34436 { (char *)"Pen_GetJoin", (PyCFunction
)_wrap_Pen_GetJoin
, METH_O
, NULL
},
34437 { (char *)"Pen_GetStyle", (PyCFunction
)_wrap_Pen_GetStyle
, METH_O
, NULL
},
34438 { (char *)"Pen_GetWidth", (PyCFunction
)_wrap_Pen_GetWidth
, METH_O
, NULL
},
34439 { (char *)"Pen_IsOk", (PyCFunction
)_wrap_Pen_IsOk
, METH_O
, NULL
},
34440 { (char *)"Pen_SetCap", (PyCFunction
) _wrap_Pen_SetCap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34441 { (char *)"Pen_SetColour", (PyCFunction
) _wrap_Pen_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34442 { (char *)"Pen_SetJoin", (PyCFunction
) _wrap_Pen_SetJoin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34443 { (char *)"Pen_SetStyle", (PyCFunction
) _wrap_Pen_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34444 { (char *)"Pen_SetWidth", (PyCFunction
) _wrap_Pen_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34445 { (char *)"Pen_SetDashes", (PyCFunction
) _wrap_Pen_SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34446 { (char *)"Pen_GetDashes", (PyCFunction
)_wrap_Pen_GetDashes
, METH_O
, NULL
},
34447 { (char *)"Pen__SetDashes", (PyCFunction
) _wrap_Pen__SetDashes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34448 { (char *)"Pen___eq__", (PyCFunction
) _wrap_Pen___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34449 { (char *)"Pen___ne__", (PyCFunction
) _wrap_Pen___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34450 { (char *)"Pen_swigregister", Pen_swigregister
, METH_VARARGS
, NULL
},
34451 { (char *)"Pen_swiginit", Pen_swiginit
, METH_VARARGS
, NULL
},
34452 { (char *)"new_Brush", (PyCFunction
) _wrap_new_Brush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34453 { (char *)"new_BrushFromBitmap", (PyCFunction
) _wrap_new_BrushFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34454 { (char *)"delete_Brush", (PyCFunction
)_wrap_delete_Brush
, METH_O
, NULL
},
34455 { (char *)"Brush_SetColour", (PyCFunction
) _wrap_Brush_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34456 { (char *)"Brush_SetStyle", (PyCFunction
) _wrap_Brush_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34457 { (char *)"Brush_SetStipple", (PyCFunction
) _wrap_Brush_SetStipple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34458 { (char *)"Brush_GetColour", (PyCFunction
)_wrap_Brush_GetColour
, METH_O
, NULL
},
34459 { (char *)"Brush_GetStyle", (PyCFunction
)_wrap_Brush_GetStyle
, METH_O
, NULL
},
34460 { (char *)"Brush_GetStipple", (PyCFunction
)_wrap_Brush_GetStipple
, METH_O
, NULL
},
34461 { (char *)"Brush_IsHatch", (PyCFunction
)_wrap_Brush_IsHatch
, METH_O
, NULL
},
34462 { (char *)"Brush_IsOk", (PyCFunction
)_wrap_Brush_IsOk
, METH_O
, NULL
},
34463 { (char *)"Brush_MacGetTheme", (PyCFunction
)_wrap_Brush_MacGetTheme
, METH_O
, NULL
},
34464 { (char *)"Brush_MacSetTheme", (PyCFunction
) _wrap_Brush_MacSetTheme
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34465 { (char *)"Brush_swigregister", Brush_swigregister
, METH_VARARGS
, NULL
},
34466 { (char *)"Brush_swiginit", Brush_swiginit
, METH_VARARGS
, NULL
},
34467 { (char *)"new_Bitmap", (PyCFunction
) _wrap_new_Bitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34468 { (char *)"delete_Bitmap", (PyCFunction
)_wrap_delete_Bitmap
, METH_O
, NULL
},
34469 { (char *)"new_EmptyBitmap", (PyCFunction
) _wrap_new_EmptyBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34470 { (char *)"new_BitmapFromIcon", (PyCFunction
) _wrap_new_BitmapFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34471 { (char *)"new_BitmapFromImage", (PyCFunction
) _wrap_new_BitmapFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34472 { (char *)"new_BitmapFromXPMData", (PyCFunction
) _wrap_new_BitmapFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34473 { (char *)"new_BitmapFromBits", (PyCFunction
) _wrap_new_BitmapFromBits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34474 { (char *)"Bitmap_IsOk", (PyCFunction
)_wrap_Bitmap_IsOk
, METH_O
, NULL
},
34475 { (char *)"Bitmap_GetWidth", (PyCFunction
)_wrap_Bitmap_GetWidth
, METH_O
, NULL
},
34476 { (char *)"Bitmap_GetHeight", (PyCFunction
)_wrap_Bitmap_GetHeight
, METH_O
, NULL
},
34477 { (char *)"Bitmap_GetDepth", (PyCFunction
)_wrap_Bitmap_GetDepth
, METH_O
, NULL
},
34478 { (char *)"Bitmap_GetSize", (PyCFunction
)_wrap_Bitmap_GetSize
, METH_O
, NULL
},
34479 { (char *)"Bitmap_ConvertToImage", (PyCFunction
)_wrap_Bitmap_ConvertToImage
, METH_O
, NULL
},
34480 { (char *)"Bitmap_GetMask", (PyCFunction
)_wrap_Bitmap_GetMask
, METH_O
, NULL
},
34481 { (char *)"Bitmap_SetMask", (PyCFunction
) _wrap_Bitmap_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34482 { (char *)"Bitmap_SetMaskColour", (PyCFunction
) _wrap_Bitmap_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34483 { (char *)"Bitmap_GetSubBitmap", (PyCFunction
) _wrap_Bitmap_GetSubBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34484 { (char *)"Bitmap_SaveFile", (PyCFunction
) _wrap_Bitmap_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34485 { (char *)"Bitmap_LoadFile", (PyCFunction
) _wrap_Bitmap_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34486 { (char *)"Bitmap_GetPalette", (PyCFunction
)_wrap_Bitmap_GetPalette
, METH_O
, NULL
},
34487 { (char *)"Bitmap_CopyFromIcon", (PyCFunction
) _wrap_Bitmap_CopyFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34488 { (char *)"Bitmap_SetHeight", (PyCFunction
) _wrap_Bitmap_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34489 { (char *)"Bitmap_SetWidth", (PyCFunction
) _wrap_Bitmap_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34490 { (char *)"Bitmap_SetDepth", (PyCFunction
) _wrap_Bitmap_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34491 { (char *)"Bitmap_SetSize", (PyCFunction
) _wrap_Bitmap_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34492 { (char *)"Bitmap___eq__", (PyCFunction
) _wrap_Bitmap___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34493 { (char *)"Bitmap___ne__", (PyCFunction
) _wrap_Bitmap___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34494 { (char *)"Bitmap_swigregister", Bitmap_swigregister
, METH_VARARGS
, NULL
},
34495 { (char *)"Bitmap_swiginit", Bitmap_swiginit
, METH_VARARGS
, NULL
},
34496 { (char *)"_BitmapFromBufferAlpha", (PyCFunction
) _wrap__BitmapFromBufferAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34497 { (char *)"_BitmapFromBuffer", (PyCFunction
) _wrap__BitmapFromBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34498 { (char *)"_BitmapFromBufferRGBA", (PyCFunction
) _wrap__BitmapFromBufferRGBA
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34499 { (char *)"PixelDataBase_GetOrigin", (PyCFunction
)_wrap_PixelDataBase_GetOrigin
, METH_O
, NULL
},
34500 { (char *)"PixelDataBase_GetWidth", (PyCFunction
)_wrap_PixelDataBase_GetWidth
, METH_O
, NULL
},
34501 { (char *)"PixelDataBase_GetHeight", (PyCFunction
)_wrap_PixelDataBase_GetHeight
, METH_O
, NULL
},
34502 { (char *)"PixelDataBase_GetSize", (PyCFunction
)_wrap_PixelDataBase_GetSize
, METH_O
, NULL
},
34503 { (char *)"PixelDataBase_GetRowStride", (PyCFunction
)_wrap_PixelDataBase_GetRowStride
, METH_O
, NULL
},
34504 { (char *)"PixelDataBase_swigregister", PixelDataBase_swigregister
, METH_VARARGS
, NULL
},
34505 { (char *)"new_NativePixelData", _wrap_new_NativePixelData
, METH_VARARGS
, NULL
},
34506 { (char *)"delete_NativePixelData", (PyCFunction
)_wrap_delete_NativePixelData
, METH_O
, NULL
},
34507 { (char *)"NativePixelData_GetPixels", (PyCFunction
)_wrap_NativePixelData_GetPixels
, METH_O
, NULL
},
34508 { (char *)"NativePixelData_UseAlpha", (PyCFunction
)_wrap_NativePixelData_UseAlpha
, METH_O
, NULL
},
34509 { (char *)"NativePixelData___nonzero__", (PyCFunction
)_wrap_NativePixelData___nonzero__
, METH_O
, NULL
},
34510 { (char *)"NativePixelData_swigregister", NativePixelData_swigregister
, METH_VARARGS
, NULL
},
34511 { (char *)"NativePixelData_swiginit", NativePixelData_swiginit
, METH_VARARGS
, NULL
},
34512 { (char *)"new_NativePixelData_Accessor", _wrap_new_NativePixelData_Accessor
, METH_VARARGS
, NULL
},
34513 { (char *)"delete_NativePixelData_Accessor", (PyCFunction
)_wrap_delete_NativePixelData_Accessor
, METH_O
, NULL
},
34514 { (char *)"NativePixelData_Accessor_Reset", (PyCFunction
) _wrap_NativePixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34515 { (char *)"NativePixelData_Accessor_IsOk", (PyCFunction
)_wrap_NativePixelData_Accessor_IsOk
, METH_O
, NULL
},
34516 { (char *)"NativePixelData_Accessor_nextPixel", (PyCFunction
)_wrap_NativePixelData_Accessor_nextPixel
, METH_O
, NULL
},
34517 { (char *)"NativePixelData_Accessor_Offset", (PyCFunction
) _wrap_NativePixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34518 { (char *)"NativePixelData_Accessor_OffsetX", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34519 { (char *)"NativePixelData_Accessor_OffsetY", (PyCFunction
) _wrap_NativePixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34520 { (char *)"NativePixelData_Accessor_MoveTo", (PyCFunction
) _wrap_NativePixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34521 { (char *)"NativePixelData_Accessor_Set", (PyCFunction
) _wrap_NativePixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34522 { (char *)"NativePixelData_Accessor_Get", (PyCFunction
)_wrap_NativePixelData_Accessor_Get
, METH_O
, NULL
},
34523 { (char *)"NativePixelData_Accessor_swigregister", NativePixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
34524 { (char *)"NativePixelData_Accessor_swiginit", NativePixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
34525 { (char *)"new_AlphaPixelData", _wrap_new_AlphaPixelData
, METH_VARARGS
, NULL
},
34526 { (char *)"delete_AlphaPixelData", (PyCFunction
)_wrap_delete_AlphaPixelData
, METH_O
, NULL
},
34527 { (char *)"AlphaPixelData_GetPixels", (PyCFunction
)_wrap_AlphaPixelData_GetPixels
, METH_O
, NULL
},
34528 { (char *)"AlphaPixelData_UseAlpha", (PyCFunction
)_wrap_AlphaPixelData_UseAlpha
, METH_O
, NULL
},
34529 { (char *)"AlphaPixelData___nonzero__", (PyCFunction
)_wrap_AlphaPixelData___nonzero__
, METH_O
, NULL
},
34530 { (char *)"AlphaPixelData_swigregister", AlphaPixelData_swigregister
, METH_VARARGS
, NULL
},
34531 { (char *)"AlphaPixelData_swiginit", AlphaPixelData_swiginit
, METH_VARARGS
, NULL
},
34532 { (char *)"new_AlphaPixelData_Accessor", _wrap_new_AlphaPixelData_Accessor
, METH_VARARGS
, NULL
},
34533 { (char *)"delete_AlphaPixelData_Accessor", (PyCFunction
)_wrap_delete_AlphaPixelData_Accessor
, METH_O
, NULL
},
34534 { (char *)"AlphaPixelData_Accessor_Reset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Reset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34535 { (char *)"AlphaPixelData_Accessor_IsOk", (PyCFunction
)_wrap_AlphaPixelData_Accessor_IsOk
, METH_O
, NULL
},
34536 { (char *)"AlphaPixelData_Accessor_nextPixel", (PyCFunction
)_wrap_AlphaPixelData_Accessor_nextPixel
, METH_O
, NULL
},
34537 { (char *)"AlphaPixelData_Accessor_Offset", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34538 { (char *)"AlphaPixelData_Accessor_OffsetX", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34539 { (char *)"AlphaPixelData_Accessor_OffsetY", (PyCFunction
) _wrap_AlphaPixelData_Accessor_OffsetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34540 { (char *)"AlphaPixelData_Accessor_MoveTo", (PyCFunction
) _wrap_AlphaPixelData_Accessor_MoveTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34541 { (char *)"AlphaPixelData_Accessor_Set", (PyCFunction
) _wrap_AlphaPixelData_Accessor_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34542 { (char *)"AlphaPixelData_Accessor_Get", (PyCFunction
)_wrap_AlphaPixelData_Accessor_Get
, METH_O
, NULL
},
34543 { (char *)"AlphaPixelData_Accessor_swigregister", AlphaPixelData_Accessor_swigregister
, METH_VARARGS
, NULL
},
34544 { (char *)"AlphaPixelData_Accessor_swiginit", AlphaPixelData_Accessor_swiginit
, METH_VARARGS
, NULL
},
34545 { (char *)"new_Mask", (PyCFunction
) _wrap_new_Mask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34546 { (char *)"delete_Mask", (PyCFunction
)_wrap_delete_Mask
, METH_O
, NULL
},
34547 { (char *)"Mask_swigregister", Mask_swigregister
, METH_VARARGS
, NULL
},
34548 { (char *)"Mask_swiginit", Mask_swiginit
, METH_VARARGS
, NULL
},
34549 { (char *)"new_Icon", (PyCFunction
) _wrap_new_Icon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34550 { (char *)"delete_Icon", (PyCFunction
)_wrap_delete_Icon
, METH_O
, NULL
},
34551 { (char *)"new_EmptyIcon", (PyCFunction
)_wrap_new_EmptyIcon
, METH_NOARGS
, NULL
},
34552 { (char *)"new_IconFromLocation", (PyCFunction
) _wrap_new_IconFromLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34553 { (char *)"new_IconFromBitmap", (PyCFunction
) _wrap_new_IconFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34554 { (char *)"new_IconFromXPMData", (PyCFunction
) _wrap_new_IconFromXPMData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34555 { (char *)"Icon_IsOk", (PyCFunction
)_wrap_Icon_IsOk
, METH_O
, NULL
},
34556 { (char *)"Icon_GetWidth", (PyCFunction
)_wrap_Icon_GetWidth
, METH_O
, NULL
},
34557 { (char *)"Icon_GetHeight", (PyCFunction
)_wrap_Icon_GetHeight
, METH_O
, NULL
},
34558 { (char *)"Icon_GetDepth", (PyCFunction
)_wrap_Icon_GetDepth
, METH_O
, NULL
},
34559 { (char *)"Icon_SetWidth", (PyCFunction
) _wrap_Icon_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34560 { (char *)"Icon_SetHeight", (PyCFunction
) _wrap_Icon_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34561 { (char *)"Icon_SetDepth", (PyCFunction
) _wrap_Icon_SetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34562 { (char *)"Icon_CopyFromBitmap", (PyCFunction
) _wrap_Icon_CopyFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34563 { (char *)"Icon_swigregister", Icon_swigregister
, METH_VARARGS
, NULL
},
34564 { (char *)"Icon_swiginit", Icon_swiginit
, METH_VARARGS
, NULL
},
34565 { (char *)"new_IconLocation", (PyCFunction
) _wrap_new_IconLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34566 { (char *)"delete_IconLocation", (PyCFunction
)_wrap_delete_IconLocation
, METH_O
, NULL
},
34567 { (char *)"IconLocation_IsOk", (PyCFunction
)_wrap_IconLocation_IsOk
, METH_O
, NULL
},
34568 { (char *)"IconLocation_SetFileName", (PyCFunction
) _wrap_IconLocation_SetFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34569 { (char *)"IconLocation_GetFileName", (PyCFunction
)_wrap_IconLocation_GetFileName
, METH_O
, NULL
},
34570 { (char *)"IconLocation_SetIndex", (PyCFunction
) _wrap_IconLocation_SetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34571 { (char *)"IconLocation_GetIndex", (PyCFunction
)_wrap_IconLocation_GetIndex
, METH_O
, NULL
},
34572 { (char *)"IconLocation_swigregister", IconLocation_swigregister
, METH_VARARGS
, NULL
},
34573 { (char *)"IconLocation_swiginit", IconLocation_swiginit
, METH_VARARGS
, NULL
},
34574 { (char *)"new_IconBundle", (PyCFunction
)_wrap_new_IconBundle
, METH_NOARGS
, NULL
},
34575 { (char *)"new_IconBundleFromFile", (PyCFunction
) _wrap_new_IconBundleFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34576 { (char *)"new_IconBundleFromIcon", (PyCFunction
) _wrap_new_IconBundleFromIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34577 { (char *)"delete_IconBundle", (PyCFunction
)_wrap_delete_IconBundle
, METH_O
, NULL
},
34578 { (char *)"IconBundle_AddIcon", (PyCFunction
) _wrap_IconBundle_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34579 { (char *)"IconBundle_AddIconFromFile", (PyCFunction
) _wrap_IconBundle_AddIconFromFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34580 { (char *)"IconBundle_GetIcon", (PyCFunction
) _wrap_IconBundle_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34581 { (char *)"IconBundle_swigregister", IconBundle_swigregister
, METH_VARARGS
, NULL
},
34582 { (char *)"IconBundle_swiginit", IconBundle_swiginit
, METH_VARARGS
, NULL
},
34583 { (char *)"new_Cursor", (PyCFunction
) _wrap_new_Cursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34584 { (char *)"delete_Cursor", (PyCFunction
)_wrap_delete_Cursor
, METH_O
, NULL
},
34585 { (char *)"new_StockCursor", (PyCFunction
) _wrap_new_StockCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34586 { (char *)"new_CursorFromImage", (PyCFunction
) _wrap_new_CursorFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34587 { (char *)"Cursor_IsOk", (PyCFunction
)_wrap_Cursor_IsOk
, METH_O
, NULL
},
34588 { (char *)"Cursor_swigregister", Cursor_swigregister
, METH_VARARGS
, NULL
},
34589 { (char *)"Cursor_swiginit", Cursor_swiginit
, METH_VARARGS
, NULL
},
34590 { (char *)"new_Region", (PyCFunction
) _wrap_new_Region
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34591 { (char *)"new_RegionFromBitmap", (PyCFunction
) _wrap_new_RegionFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34592 { (char *)"new_RegionFromBitmapColour", (PyCFunction
) _wrap_new_RegionFromBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34593 { (char *)"new_RegionFromPoints", (PyCFunction
) _wrap_new_RegionFromPoints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34594 { (char *)"delete_Region", (PyCFunction
)_wrap_delete_Region
, METH_O
, NULL
},
34595 { (char *)"Region_Clear", (PyCFunction
)_wrap_Region_Clear
, METH_O
, NULL
},
34596 { (char *)"Region_Offset", (PyCFunction
) _wrap_Region_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34597 { (char *)"Region_Contains", (PyCFunction
) _wrap_Region_Contains
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34598 { (char *)"Region_ContainsPoint", (PyCFunction
) _wrap_Region_ContainsPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34599 { (char *)"Region_ContainsRect", (PyCFunction
) _wrap_Region_ContainsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34600 { (char *)"Region_ContainsRectDim", (PyCFunction
) _wrap_Region_ContainsRectDim
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34601 { (char *)"Region_GetBox", (PyCFunction
)_wrap_Region_GetBox
, METH_O
, NULL
},
34602 { (char *)"Region_Intersect", (PyCFunction
) _wrap_Region_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34603 { (char *)"Region_IntersectRect", (PyCFunction
) _wrap_Region_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34604 { (char *)"Region_IntersectRegion", (PyCFunction
) _wrap_Region_IntersectRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34605 { (char *)"Region_IsEmpty", (PyCFunction
)_wrap_Region_IsEmpty
, METH_O
, NULL
},
34606 { (char *)"Region_IsEqual", (PyCFunction
) _wrap_Region_IsEqual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34607 { (char *)"Region_Union", (PyCFunction
) _wrap_Region_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34608 { (char *)"Region_UnionRect", (PyCFunction
) _wrap_Region_UnionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34609 { (char *)"Region_UnionRegion", (PyCFunction
) _wrap_Region_UnionRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34610 { (char *)"Region_Subtract", (PyCFunction
) _wrap_Region_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34611 { (char *)"Region_SubtractRect", (PyCFunction
) _wrap_Region_SubtractRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34612 { (char *)"Region_SubtractRegion", (PyCFunction
) _wrap_Region_SubtractRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34613 { (char *)"Region_Xor", (PyCFunction
) _wrap_Region_Xor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34614 { (char *)"Region_XorRect", (PyCFunction
) _wrap_Region_XorRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34615 { (char *)"Region_XorRegion", (PyCFunction
) _wrap_Region_XorRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34616 { (char *)"Region_ConvertToBitmap", (PyCFunction
)_wrap_Region_ConvertToBitmap
, METH_O
, NULL
},
34617 { (char *)"Region_UnionBitmap", (PyCFunction
) _wrap_Region_UnionBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34618 { (char *)"Region_UnionBitmapColour", (PyCFunction
) _wrap_Region_UnionBitmapColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34619 { (char *)"Region_swigregister", Region_swigregister
, METH_VARARGS
, NULL
},
34620 { (char *)"Region_swiginit", Region_swiginit
, METH_VARARGS
, NULL
},
34621 { (char *)"new_RegionIterator", (PyCFunction
) _wrap_new_RegionIterator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34622 { (char *)"delete_RegionIterator", (PyCFunction
)_wrap_delete_RegionIterator
, METH_O
, NULL
},
34623 { (char *)"RegionIterator_GetX", (PyCFunction
)_wrap_RegionIterator_GetX
, METH_O
, NULL
},
34624 { (char *)"RegionIterator_GetY", (PyCFunction
)_wrap_RegionIterator_GetY
, METH_O
, NULL
},
34625 { (char *)"RegionIterator_GetW", (PyCFunction
)_wrap_RegionIterator_GetW
, METH_O
, NULL
},
34626 { (char *)"RegionIterator_GetWidth", (PyCFunction
)_wrap_RegionIterator_GetWidth
, METH_O
, NULL
},
34627 { (char *)"RegionIterator_GetH", (PyCFunction
)_wrap_RegionIterator_GetH
, METH_O
, NULL
},
34628 { (char *)"RegionIterator_GetHeight", (PyCFunction
)_wrap_RegionIterator_GetHeight
, METH_O
, NULL
},
34629 { (char *)"RegionIterator_GetRect", (PyCFunction
)_wrap_RegionIterator_GetRect
, METH_O
, NULL
},
34630 { (char *)"RegionIterator_HaveRects", (PyCFunction
)_wrap_RegionIterator_HaveRects
, METH_O
, NULL
},
34631 { (char *)"RegionIterator_Reset", (PyCFunction
)_wrap_RegionIterator_Reset
, METH_O
, NULL
},
34632 { (char *)"RegionIterator_Next", (PyCFunction
)_wrap_RegionIterator_Next
, METH_O
, NULL
},
34633 { (char *)"RegionIterator___nonzero__", (PyCFunction
)_wrap_RegionIterator___nonzero__
, METH_O
, NULL
},
34634 { (char *)"RegionIterator_swigregister", RegionIterator_swigregister
, METH_VARARGS
, NULL
},
34635 { (char *)"RegionIterator_swiginit", RegionIterator_swiginit
, METH_VARARGS
, NULL
},
34636 { (char *)"new_NativeFontInfo", (PyCFunction
)_wrap_new_NativeFontInfo
, METH_NOARGS
, NULL
},
34637 { (char *)"delete_NativeFontInfo", (PyCFunction
)_wrap_delete_NativeFontInfo
, METH_O
, NULL
},
34638 { (char *)"NativeFontInfo_Init", (PyCFunction
)_wrap_NativeFontInfo_Init
, METH_O
, NULL
},
34639 { (char *)"NativeFontInfo_InitFromFont", (PyCFunction
) _wrap_NativeFontInfo_InitFromFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34640 { (char *)"NativeFontInfo_GetPointSize", (PyCFunction
)_wrap_NativeFontInfo_GetPointSize
, METH_O
, NULL
},
34641 { (char *)"NativeFontInfo_GetStyle", (PyCFunction
)_wrap_NativeFontInfo_GetStyle
, METH_O
, NULL
},
34642 { (char *)"NativeFontInfo_GetWeight", (PyCFunction
)_wrap_NativeFontInfo_GetWeight
, METH_O
, NULL
},
34643 { (char *)"NativeFontInfo_GetUnderlined", (PyCFunction
)_wrap_NativeFontInfo_GetUnderlined
, METH_O
, NULL
},
34644 { (char *)"NativeFontInfo_GetFaceName", (PyCFunction
)_wrap_NativeFontInfo_GetFaceName
, METH_O
, NULL
},
34645 { (char *)"NativeFontInfo_GetFamily", (PyCFunction
)_wrap_NativeFontInfo_GetFamily
, METH_O
, NULL
},
34646 { (char *)"NativeFontInfo_GetEncoding", (PyCFunction
)_wrap_NativeFontInfo_GetEncoding
, METH_O
, NULL
},
34647 { (char *)"NativeFontInfo_SetPointSize", (PyCFunction
) _wrap_NativeFontInfo_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34648 { (char *)"NativeFontInfo_SetStyle", (PyCFunction
) _wrap_NativeFontInfo_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34649 { (char *)"NativeFontInfo_SetWeight", (PyCFunction
) _wrap_NativeFontInfo_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34650 { (char *)"NativeFontInfo_SetUnderlined", (PyCFunction
) _wrap_NativeFontInfo_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34651 { (char *)"NativeFontInfo_SetFaceName", (PyCFunction
) _wrap_NativeFontInfo_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34652 { (char *)"NativeFontInfo_SetFamily", (PyCFunction
) _wrap_NativeFontInfo_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34653 { (char *)"NativeFontInfo_SetEncoding", (PyCFunction
) _wrap_NativeFontInfo_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34654 { (char *)"NativeFontInfo_FromString", (PyCFunction
) _wrap_NativeFontInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34655 { (char *)"NativeFontInfo_ToString", (PyCFunction
)_wrap_NativeFontInfo_ToString
, METH_O
, NULL
},
34656 { (char *)"NativeFontInfo___str__", (PyCFunction
)_wrap_NativeFontInfo___str__
, METH_O
, NULL
},
34657 { (char *)"NativeFontInfo_FromUserString", (PyCFunction
) _wrap_NativeFontInfo_FromUserString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34658 { (char *)"NativeFontInfo_ToUserString", (PyCFunction
)_wrap_NativeFontInfo_ToUserString
, METH_O
, NULL
},
34659 { (char *)"NativeFontInfo_swigregister", NativeFontInfo_swigregister
, METH_VARARGS
, NULL
},
34660 { (char *)"NativeFontInfo_swiginit", NativeFontInfo_swiginit
, METH_VARARGS
, NULL
},
34661 { (char *)"NativeEncodingInfo_facename_set", _wrap_NativeEncodingInfo_facename_set
, METH_VARARGS
, NULL
},
34662 { (char *)"NativeEncodingInfo_facename_get", (PyCFunction
)_wrap_NativeEncodingInfo_facename_get
, METH_O
, NULL
},
34663 { (char *)"NativeEncodingInfo_encoding_set", _wrap_NativeEncodingInfo_encoding_set
, METH_VARARGS
, NULL
},
34664 { (char *)"NativeEncodingInfo_encoding_get", (PyCFunction
)_wrap_NativeEncodingInfo_encoding_get
, METH_O
, NULL
},
34665 { (char *)"new_NativeEncodingInfo", (PyCFunction
)_wrap_new_NativeEncodingInfo
, METH_NOARGS
, NULL
},
34666 { (char *)"delete_NativeEncodingInfo", (PyCFunction
)_wrap_delete_NativeEncodingInfo
, METH_O
, NULL
},
34667 { (char *)"NativeEncodingInfo_FromString", (PyCFunction
) _wrap_NativeEncodingInfo_FromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34668 { (char *)"NativeEncodingInfo_ToString", (PyCFunction
)_wrap_NativeEncodingInfo_ToString
, METH_O
, NULL
},
34669 { (char *)"NativeEncodingInfo_swigregister", NativeEncodingInfo_swigregister
, METH_VARARGS
, NULL
},
34670 { (char *)"NativeEncodingInfo_swiginit", NativeEncodingInfo_swiginit
, METH_VARARGS
, NULL
},
34671 { (char *)"GetNativeFontEncoding", (PyCFunction
) _wrap_GetNativeFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34672 { (char *)"TestFontEncoding", (PyCFunction
) _wrap_TestFontEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34673 { (char *)"new_FontMapper", (PyCFunction
)_wrap_new_FontMapper
, METH_NOARGS
, NULL
},
34674 { (char *)"delete_FontMapper", (PyCFunction
)_wrap_delete_FontMapper
, METH_O
, NULL
},
34675 { (char *)"FontMapper_Get", (PyCFunction
)_wrap_FontMapper_Get
, METH_NOARGS
, NULL
},
34676 { (char *)"FontMapper_Set", (PyCFunction
) _wrap_FontMapper_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34677 { (char *)"FontMapper_CharsetToEncoding", (PyCFunction
) _wrap_FontMapper_CharsetToEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34678 { (char *)"FontMapper_GetSupportedEncodingsCount", (PyCFunction
)_wrap_FontMapper_GetSupportedEncodingsCount
, METH_NOARGS
, NULL
},
34679 { (char *)"FontMapper_GetEncoding", (PyCFunction
) _wrap_FontMapper_GetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34680 { (char *)"FontMapper_GetEncodingName", (PyCFunction
) _wrap_FontMapper_GetEncodingName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34681 { (char *)"FontMapper_GetEncodingDescription", (PyCFunction
) _wrap_FontMapper_GetEncodingDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34682 { (char *)"FontMapper_GetEncodingFromName", (PyCFunction
) _wrap_FontMapper_GetEncodingFromName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34683 { (char *)"FontMapper_SetConfigPath", (PyCFunction
) _wrap_FontMapper_SetConfigPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34684 { (char *)"FontMapper_GetDefaultConfigPath", (PyCFunction
)_wrap_FontMapper_GetDefaultConfigPath
, METH_NOARGS
, NULL
},
34685 { (char *)"FontMapper_GetAltForEncoding", (PyCFunction
) _wrap_FontMapper_GetAltForEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34686 { (char *)"FontMapper_IsEncodingAvailable", (PyCFunction
) _wrap_FontMapper_IsEncodingAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34687 { (char *)"FontMapper_SetDialogParent", (PyCFunction
) _wrap_FontMapper_SetDialogParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34688 { (char *)"FontMapper_SetDialogTitle", (PyCFunction
) _wrap_FontMapper_SetDialogTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34689 { (char *)"FontMapper_swigregister", FontMapper_swigregister
, METH_VARARGS
, NULL
},
34690 { (char *)"FontMapper_swiginit", FontMapper_swiginit
, METH_VARARGS
, NULL
},
34691 { (char *)"new_Font", (PyCFunction
) _wrap_new_Font
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34692 { (char *)"delete_Font", (PyCFunction
)_wrap_delete_Font
, METH_O
, NULL
},
34693 { (char *)"new_FontFromNativeInfo", (PyCFunction
) _wrap_new_FontFromNativeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34694 { (char *)"new_FontFromNativeInfoString", (PyCFunction
) _wrap_new_FontFromNativeInfoString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34695 { (char *)"new_FFont", (PyCFunction
) _wrap_new_FFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34696 { (char *)"new_FontFromPixelSize", (PyCFunction
) _wrap_new_FontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34697 { (char *)"new_FFontFromPixelSize", (PyCFunction
) _wrap_new_FFontFromPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34698 { (char *)"Font_IsOk", (PyCFunction
)_wrap_Font_IsOk
, METH_O
, NULL
},
34699 { (char *)"Font___eq__", (PyCFunction
) _wrap_Font___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34700 { (char *)"Font___ne__", (PyCFunction
) _wrap_Font___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34701 { (char *)"Font_GetPointSize", (PyCFunction
)_wrap_Font_GetPointSize
, METH_O
, NULL
},
34702 { (char *)"Font_GetPixelSize", (PyCFunction
)_wrap_Font_GetPixelSize
, METH_O
, NULL
},
34703 { (char *)"Font_IsUsingSizeInPixels", (PyCFunction
)_wrap_Font_IsUsingSizeInPixels
, METH_O
, NULL
},
34704 { (char *)"Font_GetFamily", (PyCFunction
)_wrap_Font_GetFamily
, METH_O
, NULL
},
34705 { (char *)"Font_GetStyle", (PyCFunction
)_wrap_Font_GetStyle
, METH_O
, NULL
},
34706 { (char *)"Font_GetWeight", (PyCFunction
)_wrap_Font_GetWeight
, METH_O
, NULL
},
34707 { (char *)"Font_GetUnderlined", (PyCFunction
)_wrap_Font_GetUnderlined
, METH_O
, NULL
},
34708 { (char *)"Font_GetFaceName", (PyCFunction
)_wrap_Font_GetFaceName
, METH_O
, NULL
},
34709 { (char *)"Font_GetEncoding", (PyCFunction
)_wrap_Font_GetEncoding
, METH_O
, NULL
},
34710 { (char *)"Font_GetNativeFontInfo", (PyCFunction
)_wrap_Font_GetNativeFontInfo
, METH_O
, NULL
},
34711 { (char *)"Font_IsFixedWidth", (PyCFunction
)_wrap_Font_IsFixedWidth
, METH_O
, NULL
},
34712 { (char *)"Font_GetNativeFontInfoDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoDesc
, METH_O
, NULL
},
34713 { (char *)"Font_GetNativeFontInfoUserDesc", (PyCFunction
)_wrap_Font_GetNativeFontInfoUserDesc
, METH_O
, NULL
},
34714 { (char *)"Font_SetPointSize", (PyCFunction
) _wrap_Font_SetPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34715 { (char *)"Font_SetPixelSize", (PyCFunction
) _wrap_Font_SetPixelSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34716 { (char *)"Font_SetFamily", (PyCFunction
) _wrap_Font_SetFamily
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34717 { (char *)"Font_SetStyle", (PyCFunction
) _wrap_Font_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34718 { (char *)"Font_SetWeight", (PyCFunction
) _wrap_Font_SetWeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34719 { (char *)"Font_SetFaceName", (PyCFunction
) _wrap_Font_SetFaceName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34720 { (char *)"Font_SetUnderlined", (PyCFunction
) _wrap_Font_SetUnderlined
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34721 { (char *)"Font_SetEncoding", (PyCFunction
) _wrap_Font_SetEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34722 { (char *)"Font_SetNativeFontInfo", (PyCFunction
) _wrap_Font_SetNativeFontInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34723 { (char *)"Font_SetNativeFontInfoFromString", (PyCFunction
) _wrap_Font_SetNativeFontInfoFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34724 { (char *)"Font_SetNativeFontInfoUserDesc", (PyCFunction
) _wrap_Font_SetNativeFontInfoUserDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34725 { (char *)"Font_GetFamilyString", (PyCFunction
)_wrap_Font_GetFamilyString
, METH_O
, NULL
},
34726 { (char *)"Font_GetStyleString", (PyCFunction
)_wrap_Font_GetStyleString
, METH_O
, NULL
},
34727 { (char *)"Font_GetWeightString", (PyCFunction
)_wrap_Font_GetWeightString
, METH_O
, NULL
},
34728 { (char *)"Font_SetNoAntiAliasing", (PyCFunction
) _wrap_Font_SetNoAntiAliasing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34729 { (char *)"Font_GetNoAntiAliasing", (PyCFunction
)_wrap_Font_GetNoAntiAliasing
, METH_O
, NULL
},
34730 { (char *)"Font_GetDefaultEncoding", (PyCFunction
)_wrap_Font_GetDefaultEncoding
, METH_NOARGS
, NULL
},
34731 { (char *)"Font_SetDefaultEncoding", (PyCFunction
) _wrap_Font_SetDefaultEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34732 { (char *)"Font_swigregister", Font_swigregister
, METH_VARARGS
, NULL
},
34733 { (char *)"Font_swiginit", Font_swiginit
, METH_VARARGS
, NULL
},
34734 { (char *)"new_FontEnumerator", (PyCFunction
)_wrap_new_FontEnumerator
, METH_NOARGS
, NULL
},
34735 { (char *)"delete_FontEnumerator", (PyCFunction
)_wrap_delete_FontEnumerator
, METH_O
, NULL
},
34736 { (char *)"FontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_FontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34737 { (char *)"FontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_FontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34738 { (char *)"FontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_FontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34739 { (char *)"FontEnumerator_GetEncodings", (PyCFunction
)_wrap_FontEnumerator_GetEncodings
, METH_NOARGS
, NULL
},
34740 { (char *)"FontEnumerator_GetFacenames", (PyCFunction
)_wrap_FontEnumerator_GetFacenames
, METH_NOARGS
, NULL
},
34741 { (char *)"FontEnumerator_IsValidFacename", (PyCFunction
) _wrap_FontEnumerator_IsValidFacename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34742 { (char *)"FontEnumerator_swigregister", FontEnumerator_swigregister
, METH_VARARGS
, NULL
},
34743 { (char *)"FontEnumerator_swiginit", FontEnumerator_swiginit
, METH_VARARGS
, NULL
},
34744 { (char *)"LanguageInfo_Language_set", _wrap_LanguageInfo_Language_set
, METH_VARARGS
, NULL
},
34745 { (char *)"LanguageInfo_Language_get", (PyCFunction
)_wrap_LanguageInfo_Language_get
, METH_O
, NULL
},
34746 { (char *)"LanguageInfo_CanonicalName_set", _wrap_LanguageInfo_CanonicalName_set
, METH_VARARGS
, NULL
},
34747 { (char *)"LanguageInfo_CanonicalName_get", (PyCFunction
)_wrap_LanguageInfo_CanonicalName_get
, METH_O
, NULL
},
34748 { (char *)"LanguageInfo_Description_set", _wrap_LanguageInfo_Description_set
, METH_VARARGS
, NULL
},
34749 { (char *)"LanguageInfo_Description_get", (PyCFunction
)_wrap_LanguageInfo_Description_get
, METH_O
, NULL
},
34750 { (char *)"LanguageInfo_swigregister", LanguageInfo_swigregister
, METH_VARARGS
, NULL
},
34751 { (char *)"new_Locale", (PyCFunction
) _wrap_new_Locale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34752 { (char *)"delete_Locale", (PyCFunction
)_wrap_delete_Locale
, METH_O
, NULL
},
34753 { (char *)"Locale_Init1", (PyCFunction
) _wrap_Locale_Init1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34754 { (char *)"Locale_Init2", (PyCFunction
) _wrap_Locale_Init2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34755 { (char *)"Locale_GetSystemLanguage", (PyCFunction
)_wrap_Locale_GetSystemLanguage
, METH_NOARGS
, NULL
},
34756 { (char *)"Locale_GetSystemEncoding", (PyCFunction
)_wrap_Locale_GetSystemEncoding
, METH_NOARGS
, NULL
},
34757 { (char *)"Locale_GetSystemEncodingName", (PyCFunction
)_wrap_Locale_GetSystemEncodingName
, METH_NOARGS
, NULL
},
34758 { (char *)"Locale_IsOk", (PyCFunction
)_wrap_Locale_IsOk
, METH_O
, NULL
},
34759 { (char *)"Locale_GetLocale", (PyCFunction
)_wrap_Locale_GetLocale
, METH_O
, NULL
},
34760 { (char *)"Locale_GetLanguage", (PyCFunction
)_wrap_Locale_GetLanguage
, METH_O
, NULL
},
34761 { (char *)"Locale_GetSysName", (PyCFunction
)_wrap_Locale_GetSysName
, METH_O
, NULL
},
34762 { (char *)"Locale_GetCanonicalName", (PyCFunction
)_wrap_Locale_GetCanonicalName
, METH_O
, NULL
},
34763 { (char *)"Locale_AddCatalogLookupPathPrefix", (PyCFunction
) _wrap_Locale_AddCatalogLookupPathPrefix
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34764 { (char *)"Locale_AddCatalog", (PyCFunction
) _wrap_Locale_AddCatalog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34765 { (char *)"Locale_IsAvailable", (PyCFunction
) _wrap_Locale_IsAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34766 { (char *)"Locale_IsLoaded", (PyCFunction
) _wrap_Locale_IsLoaded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34767 { (char *)"Locale_GetLanguageInfo", (PyCFunction
) _wrap_Locale_GetLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34768 { (char *)"Locale_GetLanguageName", (PyCFunction
) _wrap_Locale_GetLanguageName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34769 { (char *)"Locale_FindLanguageInfo", (PyCFunction
) _wrap_Locale_FindLanguageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34770 { (char *)"Locale_AddLanguage", (PyCFunction
) _wrap_Locale_AddLanguage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34771 { (char *)"Locale_GetString", (PyCFunction
) _wrap_Locale_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34772 { (char *)"Locale_GetName", (PyCFunction
)_wrap_Locale_GetName
, METH_O
, NULL
},
34773 { (char *)"Locale_swigregister", Locale_swigregister
, METH_VARARGS
, NULL
},
34774 { (char *)"Locale_swiginit", Locale_swiginit
, METH_VARARGS
, NULL
},
34775 { (char *)"new_PyLocale", (PyCFunction
) _wrap_new_PyLocale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34776 { (char *)"delete_PyLocale", (PyCFunction
)_wrap_delete_PyLocale
, METH_O
, NULL
},
34777 { (char *)"PyLocale__setCallbackInfo", (PyCFunction
) _wrap_PyLocale__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34778 { (char *)"PyLocale_GetSingularString", (PyCFunction
) _wrap_PyLocale_GetSingularString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34779 { (char *)"PyLocale_GetPluralString", (PyCFunction
) _wrap_PyLocale_GetPluralString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34780 { (char *)"PyLocale_swigregister", PyLocale_swigregister
, METH_VARARGS
, NULL
},
34781 { (char *)"PyLocale_swiginit", PyLocale_swiginit
, METH_VARARGS
, NULL
},
34782 { (char *)"GetLocale", (PyCFunction
)_wrap_GetLocale
, METH_NOARGS
, NULL
},
34783 { (char *)"GetTranslation", _wrap_GetTranslation
, METH_VARARGS
, NULL
},
34784 { (char *)"new_EncodingConverter", (PyCFunction
)_wrap_new_EncodingConverter
, METH_NOARGS
, NULL
},
34785 { (char *)"delete_EncodingConverter", (PyCFunction
)_wrap_delete_EncodingConverter
, METH_O
, NULL
},
34786 { (char *)"EncodingConverter_Init", (PyCFunction
) _wrap_EncodingConverter_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34787 { (char *)"EncodingConverter_Convert", (PyCFunction
) _wrap_EncodingConverter_Convert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34788 { (char *)"EncodingConverter_GetPlatformEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetPlatformEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34789 { (char *)"EncodingConverter_GetAllEquivalents", (PyCFunction
) _wrap_EncodingConverter_GetAllEquivalents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34790 { (char *)"EncodingConverter_CanConvert", (PyCFunction
) _wrap_EncodingConverter_CanConvert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34791 { (char *)"EncodingConverter_swigregister", EncodingConverter_swigregister
, METH_VARARGS
, NULL
},
34792 { (char *)"EncodingConverter_swiginit", EncodingConverter_swiginit
, METH_VARARGS
, NULL
},
34793 { (char *)"delete_DC", (PyCFunction
)_wrap_delete_DC
, METH_O
, NULL
},
34794 { (char *)"DC_FloodFill", (PyCFunction
) _wrap_DC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34795 { (char *)"DC_FloodFillPoint", (PyCFunction
) _wrap_DC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34796 { (char *)"DC_GradientFillConcentric", (PyCFunction
) _wrap_DC_GradientFillConcentric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34797 { (char *)"DC_GradientFillLinear", (PyCFunction
) _wrap_DC_GradientFillLinear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34798 { (char *)"DC_GetPixel", (PyCFunction
) _wrap_DC_GetPixel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34799 { (char *)"DC_GetPixelPoint", (PyCFunction
) _wrap_DC_GetPixelPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34800 { (char *)"DC_DrawLine", (PyCFunction
) _wrap_DC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34801 { (char *)"DC_DrawLinePoint", (PyCFunction
) _wrap_DC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34802 { (char *)"DC_CrossHair", (PyCFunction
) _wrap_DC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34803 { (char *)"DC_CrossHairPoint", (PyCFunction
) _wrap_DC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34804 { (char *)"DC_DrawArc", (PyCFunction
) _wrap_DC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34805 { (char *)"DC_DrawArcPoint", (PyCFunction
) _wrap_DC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34806 { (char *)"DC_DrawCheckMark", (PyCFunction
) _wrap_DC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34807 { (char *)"DC_DrawCheckMarkRect", (PyCFunction
) _wrap_DC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34808 { (char *)"DC_DrawEllipticArc", (PyCFunction
) _wrap_DC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34809 { (char *)"DC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_DC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34810 { (char *)"DC_DrawPoint", (PyCFunction
) _wrap_DC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34811 { (char *)"DC_DrawPointPoint", (PyCFunction
) _wrap_DC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34812 { (char *)"DC_DrawRectangle", (PyCFunction
) _wrap_DC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34813 { (char *)"DC_DrawRectangleRect", (PyCFunction
) _wrap_DC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34814 { (char *)"DC_DrawRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34815 { (char *)"DC_DrawRoundedRectangle", (PyCFunction
) _wrap_DC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34816 { (char *)"DC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_DC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34817 { (char *)"DC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_DC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34818 { (char *)"DC_DrawCircle", (PyCFunction
) _wrap_DC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34819 { (char *)"DC_DrawCirclePoint", (PyCFunction
) _wrap_DC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34820 { (char *)"DC_DrawEllipse", (PyCFunction
) _wrap_DC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34821 { (char *)"DC_DrawEllipseRect", (PyCFunction
) _wrap_DC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34822 { (char *)"DC_DrawEllipsePointSize", (PyCFunction
) _wrap_DC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34823 { (char *)"DC_DrawIcon", (PyCFunction
) _wrap_DC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34824 { (char *)"DC_DrawIconPoint", (PyCFunction
) _wrap_DC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34825 { (char *)"DC_DrawBitmap", (PyCFunction
) _wrap_DC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34826 { (char *)"DC_DrawBitmapPoint", (PyCFunction
) _wrap_DC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34827 { (char *)"DC_DrawText", (PyCFunction
) _wrap_DC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34828 { (char *)"DC_DrawTextPoint", (PyCFunction
) _wrap_DC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34829 { (char *)"DC_DrawRotatedText", (PyCFunction
) _wrap_DC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34830 { (char *)"DC_DrawRotatedTextPoint", (PyCFunction
) _wrap_DC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34831 { (char *)"DC_Blit", (PyCFunction
) _wrap_DC_Blit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34832 { (char *)"DC_BlitPointSize", (PyCFunction
) _wrap_DC_BlitPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34833 { (char *)"DC_SetClippingRegion", (PyCFunction
) _wrap_DC_SetClippingRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34834 { (char *)"DC_SetClippingRegionPointSize", (PyCFunction
) _wrap_DC_SetClippingRegionPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34835 { (char *)"DC_SetClippingRegionAsRegion", (PyCFunction
) _wrap_DC_SetClippingRegionAsRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34836 { (char *)"DC_SetClippingRect", (PyCFunction
) _wrap_DC_SetClippingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34837 { (char *)"DC_DrawLines", (PyCFunction
) _wrap_DC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34838 { (char *)"DC_DrawPolygon", (PyCFunction
) _wrap_DC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34839 { (char *)"DC_DrawLabel", (PyCFunction
) _wrap_DC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34840 { (char *)"DC_DrawImageLabel", (PyCFunction
) _wrap_DC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34841 { (char *)"DC_DrawSpline", (PyCFunction
) _wrap_DC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34842 { (char *)"DC_Clear", (PyCFunction
)_wrap_DC_Clear
, METH_O
, NULL
},
34843 { (char *)"DC_StartDoc", (PyCFunction
) _wrap_DC_StartDoc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34844 { (char *)"DC_EndDoc", (PyCFunction
)_wrap_DC_EndDoc
, METH_O
, NULL
},
34845 { (char *)"DC_StartPage", (PyCFunction
)_wrap_DC_StartPage
, METH_O
, NULL
},
34846 { (char *)"DC_EndPage", (PyCFunction
)_wrap_DC_EndPage
, METH_O
, NULL
},
34847 { (char *)"DC_SetFont", (PyCFunction
) _wrap_DC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34848 { (char *)"DC_SetPen", (PyCFunction
) _wrap_DC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34849 { (char *)"DC_SetBrush", (PyCFunction
) _wrap_DC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34850 { (char *)"DC_SetBackground", (PyCFunction
) _wrap_DC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34851 { (char *)"DC_SetBackgroundMode", (PyCFunction
) _wrap_DC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34852 { (char *)"DC_SetPalette", (PyCFunction
) _wrap_DC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34853 { (char *)"DC_DestroyClippingRegion", (PyCFunction
)_wrap_DC_DestroyClippingRegion
, METH_O
, NULL
},
34854 { (char *)"DC_GetClippingBox", (PyCFunction
)_wrap_DC_GetClippingBox
, METH_O
, NULL
},
34855 { (char *)"DC_GetClippingRect", (PyCFunction
)_wrap_DC_GetClippingRect
, METH_O
, NULL
},
34856 { (char *)"DC_GetCharHeight", (PyCFunction
)_wrap_DC_GetCharHeight
, METH_O
, NULL
},
34857 { (char *)"DC_GetCharWidth", (PyCFunction
)_wrap_DC_GetCharWidth
, METH_O
, NULL
},
34858 { (char *)"DC_GetTextExtent", (PyCFunction
) _wrap_DC_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34859 { (char *)"DC_GetFullTextExtent", (PyCFunction
) _wrap_DC_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34860 { (char *)"DC_GetMultiLineTextExtent", (PyCFunction
) _wrap_DC_GetMultiLineTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34861 { (char *)"DC_GetPartialTextExtents", (PyCFunction
) _wrap_DC_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34862 { (char *)"DC_GetSize", (PyCFunction
)_wrap_DC_GetSize
, METH_O
, NULL
},
34863 { (char *)"DC_GetSizeTuple", (PyCFunction
)_wrap_DC_GetSizeTuple
, METH_O
, NULL
},
34864 { (char *)"DC_GetSizeMM", (PyCFunction
)_wrap_DC_GetSizeMM
, METH_O
, NULL
},
34865 { (char *)"DC_GetSizeMMTuple", (PyCFunction
)_wrap_DC_GetSizeMMTuple
, METH_O
, NULL
},
34866 { (char *)"DC_DeviceToLogicalX", (PyCFunction
) _wrap_DC_DeviceToLogicalX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34867 { (char *)"DC_DeviceToLogicalY", (PyCFunction
) _wrap_DC_DeviceToLogicalY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34868 { (char *)"DC_DeviceToLogicalXRel", (PyCFunction
) _wrap_DC_DeviceToLogicalXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34869 { (char *)"DC_DeviceToLogicalYRel", (PyCFunction
) _wrap_DC_DeviceToLogicalYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34870 { (char *)"DC_LogicalToDeviceX", (PyCFunction
) _wrap_DC_LogicalToDeviceX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34871 { (char *)"DC_LogicalToDeviceY", (PyCFunction
) _wrap_DC_LogicalToDeviceY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34872 { (char *)"DC_LogicalToDeviceXRel", (PyCFunction
) _wrap_DC_LogicalToDeviceXRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34873 { (char *)"DC_LogicalToDeviceYRel", (PyCFunction
) _wrap_DC_LogicalToDeviceYRel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34874 { (char *)"DC_CanDrawBitmap", (PyCFunction
)_wrap_DC_CanDrawBitmap
, METH_O
, NULL
},
34875 { (char *)"DC_CanGetTextExtent", (PyCFunction
)_wrap_DC_CanGetTextExtent
, METH_O
, NULL
},
34876 { (char *)"DC_GetDepth", (PyCFunction
)_wrap_DC_GetDepth
, METH_O
, NULL
},
34877 { (char *)"DC_GetPPI", (PyCFunction
)_wrap_DC_GetPPI
, METH_O
, NULL
},
34878 { (char *)"DC_IsOk", (PyCFunction
)_wrap_DC_IsOk
, METH_O
, NULL
},
34879 { (char *)"DC_GetBackgroundMode", (PyCFunction
)_wrap_DC_GetBackgroundMode
, METH_O
, NULL
},
34880 { (char *)"DC_GetBackground", (PyCFunction
)_wrap_DC_GetBackground
, METH_O
, NULL
},
34881 { (char *)"DC_GetBrush", (PyCFunction
)_wrap_DC_GetBrush
, METH_O
, NULL
},
34882 { (char *)"DC_GetFont", (PyCFunction
)_wrap_DC_GetFont
, METH_O
, NULL
},
34883 { (char *)"DC_GetPen", (PyCFunction
)_wrap_DC_GetPen
, METH_O
, NULL
},
34884 { (char *)"DC_GetTextBackground", (PyCFunction
)_wrap_DC_GetTextBackground
, METH_O
, NULL
},
34885 { (char *)"DC_GetTextForeground", (PyCFunction
)_wrap_DC_GetTextForeground
, METH_O
, NULL
},
34886 { (char *)"DC_SetTextForeground", (PyCFunction
) _wrap_DC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34887 { (char *)"DC_SetTextBackground", (PyCFunction
) _wrap_DC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34888 { (char *)"DC_GetMapMode", (PyCFunction
)_wrap_DC_GetMapMode
, METH_O
, NULL
},
34889 { (char *)"DC_SetMapMode", (PyCFunction
) _wrap_DC_SetMapMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34890 { (char *)"DC_GetUserScale", (PyCFunction
)_wrap_DC_GetUserScale
, METH_O
, NULL
},
34891 { (char *)"DC_SetUserScale", (PyCFunction
) _wrap_DC_SetUserScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34892 { (char *)"DC_GetLogicalScale", (PyCFunction
)_wrap_DC_GetLogicalScale
, METH_O
, NULL
},
34893 { (char *)"DC_SetLogicalScale", (PyCFunction
) _wrap_DC_SetLogicalScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34894 { (char *)"DC_GetLogicalOrigin", (PyCFunction
)_wrap_DC_GetLogicalOrigin
, METH_O
, NULL
},
34895 { (char *)"DC_GetLogicalOriginTuple", (PyCFunction
)_wrap_DC_GetLogicalOriginTuple
, METH_O
, NULL
},
34896 { (char *)"DC_SetLogicalOrigin", (PyCFunction
) _wrap_DC_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34897 { (char *)"DC_SetLogicalOriginPoint", (PyCFunction
) _wrap_DC_SetLogicalOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34898 { (char *)"DC_GetDeviceOrigin", (PyCFunction
)_wrap_DC_GetDeviceOrigin
, METH_O
, NULL
},
34899 { (char *)"DC_GetDeviceOriginTuple", (PyCFunction
)_wrap_DC_GetDeviceOriginTuple
, METH_O
, NULL
},
34900 { (char *)"DC_SetDeviceOrigin", (PyCFunction
) _wrap_DC_SetDeviceOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34901 { (char *)"DC_SetDeviceOriginPoint", (PyCFunction
) _wrap_DC_SetDeviceOriginPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34902 { (char *)"DC_SetAxisOrientation", (PyCFunction
) _wrap_DC_SetAxisOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34903 { (char *)"DC_GetLogicalFunction", (PyCFunction
)_wrap_DC_GetLogicalFunction
, METH_O
, NULL
},
34904 { (char *)"DC_SetLogicalFunction", (PyCFunction
) _wrap_DC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34905 { (char *)"DC_ComputeScaleAndOrigin", (PyCFunction
)_wrap_DC_ComputeScaleAndOrigin
, METH_O
, NULL
},
34906 { (char *)"DC_CalcBoundingBox", (PyCFunction
) _wrap_DC_CalcBoundingBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34907 { (char *)"DC_CalcBoundingBoxPoint", (PyCFunction
) _wrap_DC_CalcBoundingBoxPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34908 { (char *)"DC_ResetBoundingBox", (PyCFunction
)_wrap_DC_ResetBoundingBox
, METH_O
, NULL
},
34909 { (char *)"DC_MinX", (PyCFunction
)_wrap_DC_MinX
, METH_O
, NULL
},
34910 { (char *)"DC_MaxX", (PyCFunction
)_wrap_DC_MaxX
, METH_O
, NULL
},
34911 { (char *)"DC_MinY", (PyCFunction
)_wrap_DC_MinY
, METH_O
, NULL
},
34912 { (char *)"DC_MaxY", (PyCFunction
)_wrap_DC_MaxY
, METH_O
, NULL
},
34913 { (char *)"DC_GetBoundingBox", (PyCFunction
)_wrap_DC_GetBoundingBox
, METH_O
, NULL
},
34914 { (char *)"DC_GetLayoutDirection", (PyCFunction
)_wrap_DC_GetLayoutDirection
, METH_O
, NULL
},
34915 { (char *)"DC_SetLayoutDirection", (PyCFunction
) _wrap_DC_SetLayoutDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34916 { (char *)"DC__DrawPointList", (PyCFunction
) _wrap_DC__DrawPointList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34917 { (char *)"DC__DrawLineList", (PyCFunction
) _wrap_DC__DrawLineList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34918 { (char *)"DC__DrawRectangleList", (PyCFunction
) _wrap_DC__DrawRectangleList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34919 { (char *)"DC__DrawEllipseList", (PyCFunction
) _wrap_DC__DrawEllipseList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34920 { (char *)"DC__DrawPolygonList", (PyCFunction
) _wrap_DC__DrawPolygonList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34921 { (char *)"DC__DrawTextList", (PyCFunction
) _wrap_DC__DrawTextList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34922 { (char *)"DC_swigregister", DC_swigregister
, METH_VARARGS
, NULL
},
34923 { (char *)"new_MemoryDC", (PyCFunction
)_wrap_new_MemoryDC
, METH_NOARGS
, NULL
},
34924 { (char *)"new_MemoryDCFromDC", (PyCFunction
) _wrap_new_MemoryDCFromDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34925 { (char *)"MemoryDC_SelectObject", (PyCFunction
) _wrap_MemoryDC_SelectObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34926 { (char *)"MemoryDC_swigregister", MemoryDC_swigregister
, METH_VARARGS
, NULL
},
34927 { (char *)"MemoryDC_swiginit", MemoryDC_swiginit
, METH_VARARGS
, NULL
},
34928 { (char *)"new_BufferedDC", _wrap_new_BufferedDC
, METH_VARARGS
, NULL
},
34929 { (char *)"delete_BufferedDC", (PyCFunction
)_wrap_delete_BufferedDC
, METH_O
, NULL
},
34930 { (char *)"BufferedDC_UnMask", (PyCFunction
)_wrap_BufferedDC_UnMask
, METH_O
, NULL
},
34931 { (char *)"BufferedDC_swigregister", BufferedDC_swigregister
, METH_VARARGS
, NULL
},
34932 { (char *)"BufferedDC_swiginit", BufferedDC_swiginit
, METH_VARARGS
, NULL
},
34933 { (char *)"new_BufferedPaintDC", (PyCFunction
) _wrap_new_BufferedPaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34934 { (char *)"BufferedPaintDC_swigregister", BufferedPaintDC_swigregister
, METH_VARARGS
, NULL
},
34935 { (char *)"BufferedPaintDC_swiginit", BufferedPaintDC_swiginit
, METH_VARARGS
, NULL
},
34936 { (char *)"new_ScreenDC", (PyCFunction
)_wrap_new_ScreenDC
, METH_NOARGS
, NULL
},
34937 { (char *)"ScreenDC_StartDrawingOnTopWin", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTopWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34938 { (char *)"ScreenDC_StartDrawingOnTop", (PyCFunction
) _wrap_ScreenDC_StartDrawingOnTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34939 { (char *)"ScreenDC_EndDrawingOnTop", (PyCFunction
)_wrap_ScreenDC_EndDrawingOnTop
, METH_O
, NULL
},
34940 { (char *)"ScreenDC_swigregister", ScreenDC_swigregister
, METH_VARARGS
, NULL
},
34941 { (char *)"ScreenDC_swiginit", ScreenDC_swiginit
, METH_VARARGS
, NULL
},
34942 { (char *)"new_WindowDC", (PyCFunction
) _wrap_new_WindowDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34943 { (char *)"WindowDC_swigregister", WindowDC_swigregister
, METH_VARARGS
, NULL
},
34944 { (char *)"WindowDC_swiginit", WindowDC_swiginit
, METH_VARARGS
, NULL
},
34945 { (char *)"new_ClientDC", (PyCFunction
) _wrap_new_ClientDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34946 { (char *)"ClientDC_swigregister", ClientDC_swigregister
, METH_VARARGS
, NULL
},
34947 { (char *)"ClientDC_swiginit", ClientDC_swiginit
, METH_VARARGS
, NULL
},
34948 { (char *)"new_PaintDC", (PyCFunction
) _wrap_new_PaintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34949 { (char *)"PaintDC_swigregister", PaintDC_swigregister
, METH_VARARGS
, NULL
},
34950 { (char *)"PaintDC_swiginit", PaintDC_swiginit
, METH_VARARGS
, NULL
},
34951 { (char *)"new_MirrorDC", (PyCFunction
) _wrap_new_MirrorDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34952 { (char *)"MirrorDC_swigregister", MirrorDC_swigregister
, METH_VARARGS
, NULL
},
34953 { (char *)"MirrorDC_swiginit", MirrorDC_swiginit
, METH_VARARGS
, NULL
},
34954 { (char *)"new_PostScriptDC", (PyCFunction
) _wrap_new_PostScriptDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34955 { (char *)"PostScriptDC_GetPrintData", (PyCFunction
)_wrap_PostScriptDC_GetPrintData
, METH_O
, NULL
},
34956 { (char *)"PostScriptDC_SetPrintData", (PyCFunction
) _wrap_PostScriptDC_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34957 { (char *)"PostScriptDC_SetResolution", (PyCFunction
) _wrap_PostScriptDC_SetResolution
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34958 { (char *)"PostScriptDC_GetResolution", (PyCFunction
)_wrap_PostScriptDC_GetResolution
, METH_NOARGS
, NULL
},
34959 { (char *)"PostScriptDC_swigregister", PostScriptDC_swigregister
, METH_VARARGS
, NULL
},
34960 { (char *)"PostScriptDC_swiginit", PostScriptDC_swiginit
, METH_VARARGS
, NULL
},
34961 { (char *)"new_MetaFile", (PyCFunction
) _wrap_new_MetaFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34962 { (char *)"delete_MetaFile", (PyCFunction
)_wrap_delete_MetaFile
, METH_O
, NULL
},
34963 { (char *)"MetaFile_IsOk", (PyCFunction
)_wrap_MetaFile_IsOk
, METH_O
, NULL
},
34964 { (char *)"MetaFile_SetClipboard", (PyCFunction
) _wrap_MetaFile_SetClipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34965 { (char *)"MetaFile_GetSize", (PyCFunction
)_wrap_MetaFile_GetSize
, METH_O
, NULL
},
34966 { (char *)"MetaFile_GetWidth", (PyCFunction
)_wrap_MetaFile_GetWidth
, METH_O
, NULL
},
34967 { (char *)"MetaFile_GetHeight", (PyCFunction
)_wrap_MetaFile_GetHeight
, METH_O
, NULL
},
34968 { (char *)"MetaFile_swigregister", MetaFile_swigregister
, METH_VARARGS
, NULL
},
34969 { (char *)"MetaFile_swiginit", MetaFile_swiginit
, METH_VARARGS
, NULL
},
34970 { (char *)"new_MetaFileDC", (PyCFunction
) _wrap_new_MetaFileDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34971 { (char *)"MetaFileDC_Close", (PyCFunction
)_wrap_MetaFileDC_Close
, METH_O
, NULL
},
34972 { (char *)"MetaFileDC_swigregister", MetaFileDC_swigregister
, METH_VARARGS
, NULL
},
34973 { (char *)"MetaFileDC_swiginit", MetaFileDC_swiginit
, METH_VARARGS
, NULL
},
34974 { (char *)"new_PrinterDC", (PyCFunction
) _wrap_new_PrinterDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34975 { (char *)"PrinterDC_swigregister", PrinterDC_swigregister
, METH_VARARGS
, NULL
},
34976 { (char *)"PrinterDC_swiginit", PrinterDC_swiginit
, METH_VARARGS
, NULL
},
34977 { (char *)"delete_GraphicsPath", (PyCFunction
)_wrap_delete_GraphicsPath
, METH_O
, NULL
},
34978 { (char *)"GraphicsPath_MoveToPoint", (PyCFunction
) _wrap_GraphicsPath_MoveToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34979 { (char *)"GraphicsPath_AddLineToPoint", (PyCFunction
) _wrap_GraphicsPath_AddLineToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34980 { (char *)"GraphicsPath_AddCurveToPoint", (PyCFunction
) _wrap_GraphicsPath_AddCurveToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34981 { (char *)"GraphicsPath_CloseSubpath", (PyCFunction
)_wrap_GraphicsPath_CloseSubpath
, METH_O
, NULL
},
34982 { (char *)"GraphicsPath_GetCurrentPoint", (PyCFunction
)_wrap_GraphicsPath_GetCurrentPoint
, METH_O
, NULL
},
34983 { (char *)"GraphicsPath_AddArc", (PyCFunction
) _wrap_GraphicsPath_AddArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34984 { (char *)"GraphicsPath_AddQuadCurveToPoint", (PyCFunction
) _wrap_GraphicsPath_AddQuadCurveToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34985 { (char *)"GraphicsPath_AddRectangle", (PyCFunction
) _wrap_GraphicsPath_AddRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34986 { (char *)"GraphicsPath_AddCircle", (PyCFunction
) _wrap_GraphicsPath_AddCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34987 { (char *)"GraphicsPath_AddArcToPoint", (PyCFunction
) _wrap_GraphicsPath_AddArcToPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34988 { (char *)"GraphicsPath_swigregister", GraphicsPath_swigregister
, METH_VARARGS
, NULL
},
34989 { (char *)"delete_GraphicsContext", (PyCFunction
)_wrap_delete_GraphicsContext
, METH_O
, NULL
},
34990 { (char *)"GraphicsContext_Create", (PyCFunction
) _wrap_GraphicsContext_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34991 { (char *)"GraphicsContext_CreatePath", (PyCFunction
)_wrap_GraphicsContext_CreatePath
, METH_O
, NULL
},
34992 { (char *)"GraphicsContext_PushState", (PyCFunction
)_wrap_GraphicsContext_PushState
, METH_O
, NULL
},
34993 { (char *)"GraphicsContext_PopState", (PyCFunction
)_wrap_GraphicsContext_PopState
, METH_O
, NULL
},
34994 { (char *)"GraphicsContext_Clip", (PyCFunction
) _wrap_GraphicsContext_Clip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34995 { (char *)"GraphicsContext_Translate", (PyCFunction
) _wrap_GraphicsContext_Translate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34996 { (char *)"GraphicsContext_Scale", (PyCFunction
) _wrap_GraphicsContext_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34997 { (char *)"GraphicsContext_Rotate", (PyCFunction
) _wrap_GraphicsContext_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34998 { (char *)"GraphicsContext_SetPen", (PyCFunction
) _wrap_GraphicsContext_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
34999 { (char *)"GraphicsContext_SetBrush", (PyCFunction
) _wrap_GraphicsContext_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35000 { (char *)"GraphicsContext_SetLinearGradientBrush", (PyCFunction
) _wrap_GraphicsContext_SetLinearGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35001 { (char *)"GraphicsContext_SetRadialGradientBrush", (PyCFunction
) _wrap_GraphicsContext_SetRadialGradientBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35002 { (char *)"GraphicsContext_SetFont", (PyCFunction
) _wrap_GraphicsContext_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35003 { (char *)"GraphicsContext_SetTextColor", (PyCFunction
) _wrap_GraphicsContext_SetTextColor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35004 { (char *)"GraphicsContext_StrokePath", (PyCFunction
) _wrap_GraphicsContext_StrokePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35005 { (char *)"GraphicsContext_FillPath", (PyCFunction
) _wrap_GraphicsContext_FillPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35006 { (char *)"GraphicsContext_DrawPath", (PyCFunction
) _wrap_GraphicsContext_DrawPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35007 { (char *)"GraphicsContext_DrawText", (PyCFunction
) _wrap_GraphicsContext_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35008 { (char *)"GraphicsContext_DrawRotatedText", (PyCFunction
) _wrap_GraphicsContext_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35009 { (char *)"GraphicsContext_GetTextExtent", (PyCFunction
) _wrap_GraphicsContext_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35010 { (char *)"GraphicsContext_GetPartialTextExtents", (PyCFunction
) _wrap_GraphicsContext_GetPartialTextExtents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35011 { (char *)"GraphicsContext_DrawBitmap", (PyCFunction
) _wrap_GraphicsContext_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35012 { (char *)"GraphicsContext_DrawIcon", (PyCFunction
) _wrap_GraphicsContext_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35013 { (char *)"GraphicsContext_StrokeLine", (PyCFunction
) _wrap_GraphicsContext_StrokeLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35014 { (char *)"GraphicsContext_StrokeLines", (PyCFunction
) _wrap_GraphicsContext_StrokeLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35015 { (char *)"GraphicsContext_StrokeDisconnectedLines", (PyCFunction
) _wrap_GraphicsContext_StrokeDisconnectedLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35016 { (char *)"GraphicsContext_DrawLines", (PyCFunction
) _wrap_GraphicsContext_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35017 { (char *)"GraphicsContext_DrawRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35018 { (char *)"GraphicsContext_DrawEllipse", (PyCFunction
) _wrap_GraphicsContext_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35019 { (char *)"GraphicsContext_DrawRoundedRectangle", (PyCFunction
) _wrap_GraphicsContext_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35020 { (char *)"GraphicsContext_swigregister", GraphicsContext_swigregister
, METH_VARARGS
, NULL
},
35021 { (char *)"new_GCDC", (PyCFunction
) _wrap_new_GCDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35022 { (char *)"delete_GCDC", (PyCFunction
)_wrap_delete_GCDC
, METH_O
, NULL
},
35023 { (char *)"GCDC_GetGraphicContext", (PyCFunction
)_wrap_GCDC_GetGraphicContext
, METH_O
, NULL
},
35024 { (char *)"GCDC_swigregister", GCDC_swigregister
, METH_VARARGS
, NULL
},
35025 { (char *)"GCDC_swiginit", GCDC_swiginit
, METH_VARARGS
, NULL
},
35026 { (char *)"new_Overlay", (PyCFunction
)_wrap_new_Overlay
, METH_NOARGS
, NULL
},
35027 { (char *)"delete_Overlay", (PyCFunction
)_wrap_delete_Overlay
, METH_O
, NULL
},
35028 { (char *)"Overlay_Reset", (PyCFunction
)_wrap_Overlay_Reset
, METH_O
, NULL
},
35029 { (char *)"Overlay_swigregister", Overlay_swigregister
, METH_VARARGS
, NULL
},
35030 { (char *)"Overlay_swiginit", Overlay_swiginit
, METH_VARARGS
, NULL
},
35031 { (char *)"new_DCOverlay", _wrap_new_DCOverlay
, METH_VARARGS
, NULL
},
35032 { (char *)"delete_DCOverlay", (PyCFunction
)_wrap_delete_DCOverlay
, METH_O
, NULL
},
35033 { (char *)"DCOverlay_Clear", (PyCFunction
)_wrap_DCOverlay_Clear
, METH_O
, NULL
},
35034 { (char *)"DCOverlay_swigregister", DCOverlay_swigregister
, METH_VARARGS
, NULL
},
35035 { (char *)"DCOverlay_swiginit", DCOverlay_swiginit
, METH_VARARGS
, NULL
},
35036 { (char *)"new_ImageList", (PyCFunction
) _wrap_new_ImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35037 { (char *)"delete_ImageList", (PyCFunction
)_wrap_delete_ImageList
, METH_O
, NULL
},
35038 { (char *)"ImageList_Add", (PyCFunction
) _wrap_ImageList_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35039 { (char *)"ImageList_AddWithColourMask", (PyCFunction
) _wrap_ImageList_AddWithColourMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35040 { (char *)"ImageList_AddIcon", (PyCFunction
) _wrap_ImageList_AddIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35041 { (char *)"ImageList_GetBitmap", (PyCFunction
) _wrap_ImageList_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35042 { (char *)"ImageList_GetIcon", (PyCFunction
) _wrap_ImageList_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35043 { (char *)"ImageList_Replace", (PyCFunction
) _wrap_ImageList_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35044 { (char *)"ImageList_Draw", (PyCFunction
) _wrap_ImageList_Draw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35045 { (char *)"ImageList_GetImageCount", (PyCFunction
)_wrap_ImageList_GetImageCount
, METH_O
, NULL
},
35046 { (char *)"ImageList_Remove", (PyCFunction
) _wrap_ImageList_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35047 { (char *)"ImageList_RemoveAll", (PyCFunction
)_wrap_ImageList_RemoveAll
, METH_O
, NULL
},
35048 { (char *)"ImageList_GetSize", (PyCFunction
) _wrap_ImageList_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35049 { (char *)"ImageList_swigregister", ImageList_swigregister
, METH_VARARGS
, NULL
},
35050 { (char *)"ImageList_swiginit", ImageList_swiginit
, METH_VARARGS
, NULL
},
35051 { (char *)"new_StockGDI", (PyCFunction
)_wrap_new_StockGDI
, METH_NOARGS
, NULL
},
35052 { (char *)"delete_StockGDI", (PyCFunction
)_wrap_delete_StockGDI
, METH_O
, NULL
},
35053 { (char *)"StockGDI_DeleteAll", (PyCFunction
)_wrap_StockGDI_DeleteAll
, METH_NOARGS
, NULL
},
35054 { (char *)"StockGDI_instance", (PyCFunction
)_wrap_StockGDI_instance
, METH_NOARGS
, NULL
},
35055 { (char *)"StockGDI_GetBrush", (PyCFunction
) _wrap_StockGDI_GetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35056 { (char *)"StockGDI_GetColour", (PyCFunction
) _wrap_StockGDI_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35057 { (char *)"StockGDI_GetCursor", (PyCFunction
) _wrap_StockGDI_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35058 { (char *)"StockGDI_GetPen", (PyCFunction
) _wrap_StockGDI_GetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35059 { (char *)"StockGDI_GetFont", (PyCFunction
) _wrap_StockGDI_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35060 { (char *)"StockGDI_swigregister", StockGDI_swigregister
, METH_VARARGS
, NULL
},
35061 { (char *)"StockGDI_swiginit", StockGDI_swiginit
, METH_VARARGS
, NULL
},
35062 { (char *)"new_GDIObjListBase", (PyCFunction
)_wrap_new_GDIObjListBase
, METH_NOARGS
, NULL
},
35063 { (char *)"delete_GDIObjListBase", (PyCFunction
)_wrap_delete_GDIObjListBase
, METH_O
, NULL
},
35064 { (char *)"GDIObjListBase_swigregister", GDIObjListBase_swigregister
, METH_VARARGS
, NULL
},
35065 { (char *)"GDIObjListBase_swiginit", GDIObjListBase_swiginit
, METH_VARARGS
, NULL
},
35066 { (char *)"PenList_FindOrCreatePen", (PyCFunction
) _wrap_PenList_FindOrCreatePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35067 { (char *)"PenList_AddPen", (PyCFunction
) _wrap_PenList_AddPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35068 { (char *)"PenList_RemovePen", (PyCFunction
) _wrap_PenList_RemovePen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35069 { (char *)"PenList_swigregister", PenList_swigregister
, METH_VARARGS
, NULL
},
35070 { (char *)"BrushList_FindOrCreateBrush", (PyCFunction
) _wrap_BrushList_FindOrCreateBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35071 { (char *)"BrushList_AddBrush", (PyCFunction
) _wrap_BrushList_AddBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35072 { (char *)"BrushList_RemoveBrush", (PyCFunction
) _wrap_BrushList_RemoveBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35073 { (char *)"BrushList_swigregister", BrushList_swigregister
, METH_VARARGS
, NULL
},
35074 { (char *)"FontList_FindOrCreateFont", (PyCFunction
) _wrap_FontList_FindOrCreateFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35075 { (char *)"FontList_AddFont", (PyCFunction
) _wrap_FontList_AddFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35076 { (char *)"FontList_RemoveFont", (PyCFunction
) _wrap_FontList_RemoveFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35077 { (char *)"FontList_swigregister", FontList_swigregister
, METH_VARARGS
, NULL
},
35078 { (char *)"new_ColourDatabase", (PyCFunction
)_wrap_new_ColourDatabase
, METH_NOARGS
, NULL
},
35079 { (char *)"delete_ColourDatabase", (PyCFunction
)_wrap_delete_ColourDatabase
, METH_O
, NULL
},
35080 { (char *)"ColourDatabase_Find", (PyCFunction
) _wrap_ColourDatabase_Find
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35081 { (char *)"ColourDatabase_FindName", (PyCFunction
) _wrap_ColourDatabase_FindName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35082 { (char *)"ColourDatabase_AddColour", (PyCFunction
) _wrap_ColourDatabase_AddColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35083 { (char *)"ColourDatabase_Append", (PyCFunction
) _wrap_ColourDatabase_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35084 { (char *)"ColourDatabase_swigregister", ColourDatabase_swigregister
, METH_VARARGS
, NULL
},
35085 { (char *)"ColourDatabase_swiginit", ColourDatabase_swiginit
, METH_VARARGS
, NULL
},
35086 { (char *)"_wxPyInitTheFontList", (PyCFunction
)_wrap__wxPyInitTheFontList
, METH_NOARGS
, NULL
},
35087 { (char *)"_wxPyInitThePenList", (PyCFunction
)_wrap__wxPyInitThePenList
, METH_NOARGS
, NULL
},
35088 { (char *)"_wxPyInitTheBrushList", (PyCFunction
)_wrap__wxPyInitTheBrushList
, METH_NOARGS
, NULL
},
35089 { (char *)"_wxPyInitTheColourDatabase", (PyCFunction
)_wrap__wxPyInitTheColourDatabase
, METH_NOARGS
, NULL
},
35090 { (char *)"new_Effects", (PyCFunction
)_wrap_new_Effects
, METH_NOARGS
, NULL
},
35091 { (char *)"Effects_GetHighlightColour", (PyCFunction
)_wrap_Effects_GetHighlightColour
, METH_O
, NULL
},
35092 { (char *)"Effects_GetLightShadow", (PyCFunction
)_wrap_Effects_GetLightShadow
, METH_O
, NULL
},
35093 { (char *)"Effects_GetFaceColour", (PyCFunction
)_wrap_Effects_GetFaceColour
, METH_O
, NULL
},
35094 { (char *)"Effects_GetMediumShadow", (PyCFunction
)_wrap_Effects_GetMediumShadow
, METH_O
, NULL
},
35095 { (char *)"Effects_GetDarkShadow", (PyCFunction
)_wrap_Effects_GetDarkShadow
, METH_O
, NULL
},
35096 { (char *)"Effects_SetHighlightColour", (PyCFunction
) _wrap_Effects_SetHighlightColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35097 { (char *)"Effects_SetLightShadow", (PyCFunction
) _wrap_Effects_SetLightShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35098 { (char *)"Effects_SetFaceColour", (PyCFunction
) _wrap_Effects_SetFaceColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35099 { (char *)"Effects_SetMediumShadow", (PyCFunction
) _wrap_Effects_SetMediumShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35100 { (char *)"Effects_SetDarkShadow", (PyCFunction
) _wrap_Effects_SetDarkShadow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35101 { (char *)"Effects_Set", (PyCFunction
) _wrap_Effects_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35102 { (char *)"Effects_DrawSunkenEdge", (PyCFunction
) _wrap_Effects_DrawSunkenEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35103 { (char *)"Effects_TileBitmap", (PyCFunction
) _wrap_Effects_TileBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35104 { (char *)"Effects_swigregister", Effects_swigregister
, METH_VARARGS
, NULL
},
35105 { (char *)"Effects_swiginit", Effects_swiginit
, METH_VARARGS
, NULL
},
35106 { (char *)"new_SplitterRenderParams", (PyCFunction
) _wrap_new_SplitterRenderParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35107 { (char *)"delete_SplitterRenderParams", (PyCFunction
)_wrap_delete_SplitterRenderParams
, METH_O
, NULL
},
35108 { (char *)"SplitterRenderParams_widthSash_get", (PyCFunction
)_wrap_SplitterRenderParams_widthSash_get
, METH_O
, NULL
},
35109 { (char *)"SplitterRenderParams_border_get", (PyCFunction
)_wrap_SplitterRenderParams_border_get
, METH_O
, NULL
},
35110 { (char *)"SplitterRenderParams_isHotSensitive_get", (PyCFunction
)_wrap_SplitterRenderParams_isHotSensitive_get
, METH_O
, NULL
},
35111 { (char *)"SplitterRenderParams_swigregister", SplitterRenderParams_swigregister
, METH_VARARGS
, NULL
},
35112 { (char *)"SplitterRenderParams_swiginit", SplitterRenderParams_swiginit
, METH_VARARGS
, NULL
},
35113 { (char *)"new_HeaderButtonParams", (PyCFunction
)_wrap_new_HeaderButtonParams
, METH_NOARGS
, NULL
},
35114 { (char *)"delete_HeaderButtonParams", (PyCFunction
)_wrap_delete_HeaderButtonParams
, METH_O
, NULL
},
35115 { (char *)"HeaderButtonParams_m_arrowColour_set", _wrap_HeaderButtonParams_m_arrowColour_set
, METH_VARARGS
, NULL
},
35116 { (char *)"HeaderButtonParams_m_arrowColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_arrowColour_get
, METH_O
, NULL
},
35117 { (char *)"HeaderButtonParams_m_selectionColour_set", _wrap_HeaderButtonParams_m_selectionColour_set
, METH_VARARGS
, NULL
},
35118 { (char *)"HeaderButtonParams_m_selectionColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_selectionColour_get
, METH_O
, NULL
},
35119 { (char *)"HeaderButtonParams_m_labelText_set", _wrap_HeaderButtonParams_m_labelText_set
, METH_VARARGS
, NULL
},
35120 { (char *)"HeaderButtonParams_m_labelText_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelText_get
, METH_O
, NULL
},
35121 { (char *)"HeaderButtonParams_m_labelFont_set", _wrap_HeaderButtonParams_m_labelFont_set
, METH_VARARGS
, NULL
},
35122 { (char *)"HeaderButtonParams_m_labelFont_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelFont_get
, METH_O
, NULL
},
35123 { (char *)"HeaderButtonParams_m_labelColour_set", _wrap_HeaderButtonParams_m_labelColour_set
, METH_VARARGS
, NULL
},
35124 { (char *)"HeaderButtonParams_m_labelColour_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelColour_get
, METH_O
, NULL
},
35125 { (char *)"HeaderButtonParams_m_labelBitmap_set", _wrap_HeaderButtonParams_m_labelBitmap_set
, METH_VARARGS
, NULL
},
35126 { (char *)"HeaderButtonParams_m_labelBitmap_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelBitmap_get
, METH_O
, NULL
},
35127 { (char *)"HeaderButtonParams_m_labelAlignment_set", _wrap_HeaderButtonParams_m_labelAlignment_set
, METH_VARARGS
, NULL
},
35128 { (char *)"HeaderButtonParams_m_labelAlignment_get", (PyCFunction
)_wrap_HeaderButtonParams_m_labelAlignment_get
, METH_O
, NULL
},
35129 { (char *)"HeaderButtonParams_swigregister", HeaderButtonParams_swigregister
, METH_VARARGS
, NULL
},
35130 { (char *)"HeaderButtonParams_swiginit", HeaderButtonParams_swiginit
, METH_VARARGS
, NULL
},
35131 { (char *)"new_RendererVersion", (PyCFunction
) _wrap_new_RendererVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35132 { (char *)"delete_RendererVersion", (PyCFunction
)_wrap_delete_RendererVersion
, METH_O
, NULL
},
35133 { (char *)"RendererVersion_IsCompatible", (PyCFunction
) _wrap_RendererVersion_IsCompatible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35134 { (char *)"RendererVersion_version_get", (PyCFunction
)_wrap_RendererVersion_version_get
, METH_O
, NULL
},
35135 { (char *)"RendererVersion_age_get", (PyCFunction
)_wrap_RendererVersion_age_get
, METH_O
, NULL
},
35136 { (char *)"RendererVersion_swigregister", RendererVersion_swigregister
, METH_VARARGS
, NULL
},
35137 { (char *)"RendererVersion_swiginit", RendererVersion_swiginit
, METH_VARARGS
, NULL
},
35138 { (char *)"RendererNative_DrawHeaderButton", (PyCFunction
) _wrap_RendererNative_DrawHeaderButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35139 { (char *)"RendererNative_DrawHeaderButtonContents", (PyCFunction
) _wrap_RendererNative_DrawHeaderButtonContents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35140 { (char *)"RendererNative_GetHeaderButtonHeight", (PyCFunction
) _wrap_RendererNative_GetHeaderButtonHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35141 { (char *)"RendererNative_DrawTreeItemButton", (PyCFunction
) _wrap_RendererNative_DrawTreeItemButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35142 { (char *)"RendererNative_DrawSplitterBorder", (PyCFunction
) _wrap_RendererNative_DrawSplitterBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35143 { (char *)"RendererNative_DrawSplitterSash", (PyCFunction
) _wrap_RendererNative_DrawSplitterSash
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35144 { (char *)"RendererNative_DrawComboBoxDropButton", (PyCFunction
) _wrap_RendererNative_DrawComboBoxDropButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35145 { (char *)"RendererNative_DrawDropArrow", (PyCFunction
) _wrap_RendererNative_DrawDropArrow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35146 { (char *)"RendererNative_DrawCheckBox", (PyCFunction
) _wrap_RendererNative_DrawCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35147 { (char *)"RendererNative_DrawPushButton", (PyCFunction
) _wrap_RendererNative_DrawPushButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35148 { (char *)"RendererNative_DrawItemSelectionRect", (PyCFunction
) _wrap_RendererNative_DrawItemSelectionRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35149 { (char *)"RendererNative_GetSplitterParams", (PyCFunction
) _wrap_RendererNative_GetSplitterParams
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35150 { (char *)"RendererNative_Get", (PyCFunction
)_wrap_RendererNative_Get
, METH_NOARGS
, NULL
},
35151 { (char *)"RendererNative_GetGeneric", (PyCFunction
)_wrap_RendererNative_GetGeneric
, METH_NOARGS
, NULL
},
35152 { (char *)"RendererNative_GetDefault", (PyCFunction
)_wrap_RendererNative_GetDefault
, METH_NOARGS
, NULL
},
35153 { (char *)"RendererNative_Set", (PyCFunction
) _wrap_RendererNative_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35154 { (char *)"RendererNative_GetVersion", (PyCFunction
)_wrap_RendererNative_GetVersion
, METH_O
, NULL
},
35155 { (char *)"RendererNative_swigregister", RendererNative_swigregister
, METH_VARARGS
, NULL
},
35156 { (char *)"new_PseudoDC", (PyCFunction
)_wrap_new_PseudoDC
, METH_NOARGS
, NULL
},
35157 { (char *)"PseudoDC_BeginDrawing", (PyCFunction
)_wrap_PseudoDC_BeginDrawing
, METH_O
, NULL
},
35158 { (char *)"PseudoDC_EndDrawing", (PyCFunction
)_wrap_PseudoDC_EndDrawing
, METH_O
, NULL
},
35159 { (char *)"delete_PseudoDC", (PyCFunction
)_wrap_delete_PseudoDC
, METH_O
, NULL
},
35160 { (char *)"PseudoDC_RemoveAll", (PyCFunction
)_wrap_PseudoDC_RemoveAll
, METH_O
, NULL
},
35161 { (char *)"PseudoDC_GetLen", (PyCFunction
)_wrap_PseudoDC_GetLen
, METH_O
, NULL
},
35162 { (char *)"PseudoDC_SetId", (PyCFunction
) _wrap_PseudoDC_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35163 { (char *)"PseudoDC_ClearId", (PyCFunction
) _wrap_PseudoDC_ClearId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35164 { (char *)"PseudoDC_RemoveId", (PyCFunction
) _wrap_PseudoDC_RemoveId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35165 { (char *)"PseudoDC_TranslateId", (PyCFunction
) _wrap_PseudoDC_TranslateId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35166 { (char *)"PseudoDC_SetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_SetIdGreyedOut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35167 { (char *)"PseudoDC_GetIdGreyedOut", (PyCFunction
) _wrap_PseudoDC_GetIdGreyedOut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35168 { (char *)"PseudoDC_FindObjects", (PyCFunction
) _wrap_PseudoDC_FindObjects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35169 { (char *)"PseudoDC_FindObjectsByBBox", (PyCFunction
) _wrap_PseudoDC_FindObjectsByBBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35170 { (char *)"PseudoDC_DrawIdToDC", (PyCFunction
) _wrap_PseudoDC_DrawIdToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35171 { (char *)"PseudoDC_SetIdBounds", (PyCFunction
) _wrap_PseudoDC_SetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35172 { (char *)"PseudoDC_GetIdBounds", (PyCFunction
) _wrap_PseudoDC_GetIdBounds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35173 { (char *)"PseudoDC_DrawToDCClipped", (PyCFunction
) _wrap_PseudoDC_DrawToDCClipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35174 { (char *)"PseudoDC_DrawToDCClippedRgn", (PyCFunction
) _wrap_PseudoDC_DrawToDCClippedRgn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35175 { (char *)"PseudoDC_DrawToDC", (PyCFunction
) _wrap_PseudoDC_DrawToDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35176 { (char *)"PseudoDC_FloodFill", (PyCFunction
) _wrap_PseudoDC_FloodFill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35177 { (char *)"PseudoDC_FloodFillPoint", (PyCFunction
) _wrap_PseudoDC_FloodFillPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35178 { (char *)"PseudoDC_DrawLine", (PyCFunction
) _wrap_PseudoDC_DrawLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35179 { (char *)"PseudoDC_DrawLinePoint", (PyCFunction
) _wrap_PseudoDC_DrawLinePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35180 { (char *)"PseudoDC_CrossHair", (PyCFunction
) _wrap_PseudoDC_CrossHair
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35181 { (char *)"PseudoDC_CrossHairPoint", (PyCFunction
) _wrap_PseudoDC_CrossHairPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35182 { (char *)"PseudoDC_DrawArc", (PyCFunction
) _wrap_PseudoDC_DrawArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35183 { (char *)"PseudoDC_DrawArcPoint", (PyCFunction
) _wrap_PseudoDC_DrawArcPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35184 { (char *)"PseudoDC_DrawCheckMark", (PyCFunction
) _wrap_PseudoDC_DrawCheckMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35185 { (char *)"PseudoDC_DrawCheckMarkRect", (PyCFunction
) _wrap_PseudoDC_DrawCheckMarkRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35186 { (char *)"PseudoDC_DrawEllipticArc", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35187 { (char *)"PseudoDC_DrawEllipticArcPointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipticArcPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35188 { (char *)"PseudoDC_DrawPoint", (PyCFunction
) _wrap_PseudoDC_DrawPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35189 { (char *)"PseudoDC_DrawPointPoint", (PyCFunction
) _wrap_PseudoDC_DrawPointPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35190 { (char *)"PseudoDC_DrawRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35191 { (char *)"PseudoDC_DrawRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35192 { (char *)"PseudoDC_DrawRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35193 { (char *)"PseudoDC_DrawRoundedRectangle", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35194 { (char *)"PseudoDC_DrawRoundedRectangleRect", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectangleRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35195 { (char *)"PseudoDC_DrawRoundedRectanglePointSize", (PyCFunction
) _wrap_PseudoDC_DrawRoundedRectanglePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35196 { (char *)"PseudoDC_DrawCircle", (PyCFunction
) _wrap_PseudoDC_DrawCircle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35197 { (char *)"PseudoDC_DrawCirclePoint", (PyCFunction
) _wrap_PseudoDC_DrawCirclePoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35198 { (char *)"PseudoDC_DrawEllipse", (PyCFunction
) _wrap_PseudoDC_DrawEllipse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35199 { (char *)"PseudoDC_DrawEllipseRect", (PyCFunction
) _wrap_PseudoDC_DrawEllipseRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35200 { (char *)"PseudoDC_DrawEllipsePointSize", (PyCFunction
) _wrap_PseudoDC_DrawEllipsePointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35201 { (char *)"PseudoDC_DrawIcon", (PyCFunction
) _wrap_PseudoDC_DrawIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35202 { (char *)"PseudoDC_DrawIconPoint", (PyCFunction
) _wrap_PseudoDC_DrawIconPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35203 { (char *)"PseudoDC_DrawBitmap", (PyCFunction
) _wrap_PseudoDC_DrawBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35204 { (char *)"PseudoDC_DrawBitmapPoint", (PyCFunction
) _wrap_PseudoDC_DrawBitmapPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35205 { (char *)"PseudoDC_DrawText", (PyCFunction
) _wrap_PseudoDC_DrawText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35206 { (char *)"PseudoDC_DrawTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35207 { (char *)"PseudoDC_DrawRotatedText", (PyCFunction
) _wrap_PseudoDC_DrawRotatedText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35208 { (char *)"PseudoDC_DrawRotatedTextPoint", (PyCFunction
) _wrap_PseudoDC_DrawRotatedTextPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35209 { (char *)"PseudoDC_DrawLines", (PyCFunction
) _wrap_PseudoDC_DrawLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35210 { (char *)"PseudoDC_DrawPolygon", (PyCFunction
) _wrap_PseudoDC_DrawPolygon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35211 { (char *)"PseudoDC_DrawLabel", (PyCFunction
) _wrap_PseudoDC_DrawLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35212 { (char *)"PseudoDC_DrawImageLabel", (PyCFunction
) _wrap_PseudoDC_DrawImageLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35213 { (char *)"PseudoDC_DrawSpline", (PyCFunction
) _wrap_PseudoDC_DrawSpline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35214 { (char *)"PseudoDC_Clear", (PyCFunction
)_wrap_PseudoDC_Clear
, METH_O
, NULL
},
35215 { (char *)"PseudoDC_SetFont", (PyCFunction
) _wrap_PseudoDC_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35216 { (char *)"PseudoDC_SetPen", (PyCFunction
) _wrap_PseudoDC_SetPen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35217 { (char *)"PseudoDC_SetBrush", (PyCFunction
) _wrap_PseudoDC_SetBrush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35218 { (char *)"PseudoDC_SetBackground", (PyCFunction
) _wrap_PseudoDC_SetBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35219 { (char *)"PseudoDC_SetBackgroundMode", (PyCFunction
) _wrap_PseudoDC_SetBackgroundMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35220 { (char *)"PseudoDC_SetPalette", (PyCFunction
) _wrap_PseudoDC_SetPalette
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35221 { (char *)"PseudoDC_SetTextForeground", (PyCFunction
) _wrap_PseudoDC_SetTextForeground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35222 { (char *)"PseudoDC_SetTextBackground", (PyCFunction
) _wrap_PseudoDC_SetTextBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35223 { (char *)"PseudoDC_SetLogicalFunction", (PyCFunction
) _wrap_PseudoDC_SetLogicalFunction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
35224 { (char *)"PseudoDC_swigregister", PseudoDC_swigregister
, METH_VARARGS
, NULL
},
35225 { (char *)"PseudoDC_swiginit", PseudoDC_swiginit
, METH_VARARGS
, NULL
},
35226 { NULL
, NULL
, 0, NULL
}
35230 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
35232 static void *_p_wxPaintDCTo_p_wxClientDC(void *x
) {
35233 return (void *)((wxClientDC
*) ((wxPaintDC
*) x
));
35235 static void *_p_wxClientDCTo_p_wxWindowDC(void *x
) {
35236 return (void *)((wxWindowDC
*) ((wxClientDC
*) x
));
35238 static void *_p_wxPaintDCTo_p_wxWindowDC(void *x
) {
35239 return (void *)((wxWindowDC
*) (wxClientDC
*) ((wxPaintDC
*) x
));
35241 static void *_p_wxPyLocaleTo_p_wxLocale(void *x
) {
35242 return (void *)((wxLocale
*) ((wxPyLocale
*) x
));
35244 static void *_p_wxIconTo_p_wxGDIObject(void *x
) {
35245 return (void *)((wxGDIObject
*) ((wxIcon
*) x
));
35247 static void *_p_wxPaletteTo_p_wxGDIObject(void *x
) {
35248 return (void *)((wxGDIObject
*) ((wxPalette
*) x
));
35250 static void *_p_wxPenTo_p_wxGDIObject(void *x
) {
35251 return (void *)((wxGDIObject
*) ((wxPen
*) x
));
35253 static void *_p_wxFontTo_p_wxGDIObject(void *x
) {
35254 return (void *)((wxGDIObject
*) ((wxFont
*) x
));
35256 static void *_p_wxCursorTo_p_wxGDIObject(void *x
) {
35257 return (void *)((wxGDIObject
*) ((wxCursor
*) x
));
35259 static void *_p_wxBitmapTo_p_wxGDIObject(void *x
) {
35260 return (void *)((wxGDIObject
*) ((wxBitmap
*) x
));
35262 static void *_p_wxRegionTo_p_wxGDIObject(void *x
) {
35263 return (void *)((wxGDIObject
*) ((wxRegion
*) x
));
35265 static void *_p_wxBrushTo_p_wxGDIObject(void *x
) {
35266 return (void *)((wxGDIObject
*) ((wxBrush
*) x
));
35268 static void *_p_wxGCDCTo_p_wxDC(void *x
) {
35269 return (void *)((wxDC
*) ((wxGCDC
*) x
));
35271 static void *_p_wxBufferedDCTo_p_wxDC(void *x
) {
35272 return (void *)((wxDC
*) ((wxBufferedDC
*) x
));
35274 static void *_p_wxScreenDCTo_p_wxDC(void *x
) {
35275 return (void *)((wxDC
*) ((wxScreenDC
*) x
));
35277 static void *_p_wxMirrorDCTo_p_wxDC(void *x
) {
35278 return (void *)((wxDC
*) ((wxMirrorDC
*) x
));
35280 static void *_p_wxMemoryDCTo_p_wxDC(void *x
) {
35281 return (void *)((wxDC
*) ((wxMemoryDC
*) x
));
35283 static void *_p_wxWindowDCTo_p_wxDC(void *x
) {
35284 return (void *)((wxDC
*) ((wxWindowDC
*) x
));
35286 static void *_p_wxMetaFileDCTo_p_wxDC(void *x
) {
35287 return (void *)((wxDC
*) ((wxMetaFileDC
*) x
));
35289 static void *_p_wxBufferedPaintDCTo_p_wxDC(void *x
) {
35290 return (void *)((wxDC
*) (wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
35292 static void *_p_wxClientDCTo_p_wxDC(void *x
) {
35293 return (void *)((wxDC
*) (wxWindowDC
*) ((wxClientDC
*) x
));
35295 static void *_p_wxPaintDCTo_p_wxDC(void *x
) {
35296 return (void *)((wxDC
*) (wxWindowDC
*)(wxClientDC
*) ((wxPaintDC
*) x
));
35298 static void *_p_wxPostScriptDCTo_p_wxDC(void *x
) {
35299 return (void *)((wxDC
*) ((wxPostScriptDC
*) x
));
35301 static void *_p_wxPrinterDCTo_p_wxDC(void *x
) {
35302 return (void *)((wxDC
*) ((wxPrinterDC
*) x
));
35304 static void *_p_wxBrushListTo_p_wxGDIObjListBase(void *x
) {
35305 return (void *)((wxGDIObjListBase
*) ((wxBrushList
*) x
));
35307 static void *_p_wxFontListTo_p_wxGDIObjListBase(void *x
) {
35308 return (void *)((wxGDIObjListBase
*) ((wxFontList
*) x
));
35310 static void *_p_wxPenListTo_p_wxGDIObjListBase(void *x
) {
35311 return (void *)((wxGDIObjListBase
*) ((wxPenList
*) x
));
35313 static void *_p_wxBufferedPaintDCTo_p_wxBufferedDC(void *x
) {
35314 return (void *)((wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
35316 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
35317 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
35319 static void *_p_wxPenTo_p_wxObject(void *x
) {
35320 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPen
*) x
));
35322 static void *_p_wxRegionIteratorTo_p_wxObject(void *x
) {
35323 return (void *)((wxObject
*) ((wxRegionIterator
*) x
));
35325 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
35326 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
35328 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
35329 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
35331 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
35332 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
35334 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
35335 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
35337 static void *_p_wxIconTo_p_wxObject(void *x
) {
35338 return (void *)((wxObject
*) (wxGDIObject
*) ((wxIcon
*) x
));
35340 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
35341 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
35343 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
35344 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
35346 static void *_p_wxSizerTo_p_wxObject(void *x
) {
35347 return (void *)((wxObject
*) ((wxSizer
*) x
));
35349 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
35350 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
35352 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
35353 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
35355 static void *_p_wxEventTo_p_wxObject(void *x
) {
35356 return (void *)((wxObject
*) ((wxEvent
*) x
));
35358 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
35359 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
35361 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
35362 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
35364 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
35365 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
35367 static void *_p_wxPseudoDCTo_p_wxObject(void *x
) {
35368 return (void *)((wxObject
*) ((wxPseudoDC
*) x
));
35370 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
35371 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
35373 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
35374 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
35376 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
35377 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
35379 static void *_p_wxDCTo_p_wxObject(void *x
) {
35380 return (void *)((wxObject
*) ((wxDC
*) x
));
35382 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
35383 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
35385 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
35386 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
35388 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
35389 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
35391 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
35392 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
35394 static void *_p_wxControlTo_p_wxObject(void *x
) {
35395 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
35397 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
35398 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
35400 static void *_p_wxClientDCTo_p_wxObject(void *x
) {
35401 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*) ((wxClientDC
*) x
));
35403 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
35404 return (void *)((wxObject
*) ((wxFSFile
*) x
));
35406 static void *_p_wxMemoryDCTo_p_wxObject(void *x
) {
35407 return (void *)((wxObject
*) (wxDC
*) ((wxMemoryDC
*) x
));
35409 static void *_p_wxRegionTo_p_wxObject(void *x
) {
35410 return (void *)((wxObject
*) (wxGDIObject
*) ((wxRegion
*) x
));
35412 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
35413 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
35415 static void *_p_wxWindowDCTo_p_wxObject(void *x
) {
35416 return (void *)((wxObject
*) (wxDC
*) ((wxWindowDC
*) x
));
35418 static void *_p_wxGDIObjectTo_p_wxObject(void *x
) {
35419 return (void *)((wxObject
*) ((wxGDIObject
*) x
));
35421 static void *_p_wxEffectsTo_p_wxObject(void *x
) {
35422 return (void *)((wxObject
*) ((wxEffects
*) x
));
35424 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
35425 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
35427 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
35428 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
35430 static void *_p_wxPostScriptDCTo_p_wxObject(void *x
) {
35431 return (void *)((wxObject
*) (wxDC
*) ((wxPostScriptDC
*) x
));
35433 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
35434 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
35436 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
35437 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
35439 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
35440 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
35442 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
35443 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
35445 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
35446 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
35448 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
35449 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
35451 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
35452 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
35454 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
35455 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
35457 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
35458 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
35460 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
35461 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
35463 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
35464 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
35466 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
35467 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
35469 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
35470 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
35472 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
35473 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
35475 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
35476 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
35478 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
35479 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
35481 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
35482 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
35484 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
35485 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
35487 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
35488 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
35490 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
35491 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
35493 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
35494 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
35496 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
35497 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
35499 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
35500 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
35502 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
35503 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
35505 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
35506 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
35508 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
35509 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
35511 static void *_p_wxBufferedPaintDCTo_p_wxObject(void *x
) {
35512 return (void *)((wxObject
*) (wxDC
*)(wxBufferedDC
*) ((wxBufferedPaintDC
*) x
));
35514 static void *_p_wxPaintDCTo_p_wxObject(void *x
) {
35515 return (void *)((wxObject
*) (wxDC
*)(wxWindowDC
*)(wxClientDC
*) ((wxPaintDC
*) x
));
35517 static void *_p_wxPrinterDCTo_p_wxObject(void *x
) {
35518 return (void *)((wxObject
*) (wxDC
*) ((wxPrinterDC
*) x
));
35520 static void *_p_wxScreenDCTo_p_wxObject(void *x
) {
35521 return (void *)((wxObject
*) (wxDC
*) ((wxScreenDC
*) x
));
35523 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
35524 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
35526 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
35527 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
35529 static void *_p_wxImageTo_p_wxObject(void *x
) {
35530 return (void *)((wxObject
*) ((wxImage
*) x
));
35532 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
35533 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
35535 static void *_p_wxPaletteTo_p_wxObject(void *x
) {
35536 return (void *)((wxObject
*) (wxGDIObject
*) ((wxPalette
*) x
));
35538 static void *_p_wxBufferedDCTo_p_wxObject(void *x
) {
35539 return (void *)((wxObject
*) (wxDC
*) ((wxBufferedDC
*) x
));
35541 static void *_p_wxImageListTo_p_wxObject(void *x
) {
35542 return (void *)((wxObject
*) ((wxImageList
*) x
));
35544 static void *_p_wxGCDCTo_p_wxObject(void *x
) {
35545 return (void *)((wxObject
*) (wxDC
*) ((wxGCDC
*) x
));
35547 static void *_p_wxCursorTo_p_wxObject(void *x
) {
35548 return (void *)((wxObject
*) (wxGDIObject
*) ((wxCursor
*) x
));
35550 static void *_p_wxEncodingConverterTo_p_wxObject(void *x
) {
35551 return (void *)((wxObject
*) ((wxEncodingConverter
*) x
));
35553 static void *_p_wxMirrorDCTo_p_wxObject(void *x
) {
35554 return (void *)((wxObject
*) (wxDC
*) ((wxMirrorDC
*) x
));
35556 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
35557 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
35559 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
35560 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
35562 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
35563 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
35565 static void *_p_wxWindowTo_p_wxObject(void *x
) {
35566 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
35568 static void *_p_wxMenuTo_p_wxObject(void *x
) {
35569 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
35571 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
35572 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
35574 static void *_p_wxMetaFileDCTo_p_wxObject(void *x
) {
35575 return (void *)((wxObject
*) (wxDC
*) ((wxMetaFileDC
*) x
));
35577 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
35578 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
35580 static void *_p_wxBitmapTo_p_wxObject(void *x
) {
35581 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBitmap
*) x
));
35583 static void *_p_wxMaskTo_p_wxObject(void *x
) {
35584 return (void *)((wxObject
*) ((wxMask
*) x
));
35586 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
35587 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
35589 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
35590 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
35592 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
35593 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
35595 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
35596 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
35598 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
35599 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
35601 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
35602 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
35604 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
35605 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
35607 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
35608 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
35610 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
35611 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
35613 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
35614 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
35616 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
35617 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
35619 static void *_p_wxFontTo_p_wxObject(void *x
) {
35620 return (void *)((wxObject
*) (wxGDIObject
*) ((wxFont
*) x
));
35622 static void *_p_wxBrushTo_p_wxObject(void *x
) {
35623 return (void *)((wxObject
*) (wxGDIObject
*) ((wxBrush
*) x
));
35625 static void *_p_wxMetaFileTo_p_wxObject(void *x
) {
35626 return (void *)((wxObject
*) ((wxMetaFile
*) x
));
35628 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
35629 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
35631 static void *_p_wxColourTo_p_wxObject(void *x
) {
35632 return (void *)((wxObject
*) ((wxColour
*) x
));
35634 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
35635 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
35637 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
35638 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
35640 static void *_p_wxControlTo_p_wxWindow(void *x
) {
35641 return (void *)((wxWindow
*) ((wxControl
*) x
));
35643 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
35644 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
35646 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
35647 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
35649 static void *_p_wxNativePixelDataTo_p_wxPixelDataBase(void *x
) {
35650 return (void *)((wxPixelDataBase
*) ((wxNativePixelData
*) x
));
35652 static void *_p_wxAlphaPixelDataTo_p_wxPixelDataBase(void *x
) {
35653 return (void *)((wxPixelDataBase
*) ((wxAlphaPixelData
*) x
));
35655 static swig_type_info _swigt__p_buffer
= {"_p_buffer", "buffer *", 0, 0, (void*)0, 0};
35656 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
35657 static swig_type_info _swigt__p_double
= {"_p_double", "double *|wxDouble *", 0, 0, (void*)0, 0};
35658 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};
35659 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
35660 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
35661 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
35662 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
35663 static swig_type_info _swigt__p_wxAlphaPixelData
= {"_p_wxAlphaPixelData", "wxAlphaPixelData *", 0, 0, (void*)0, 0};
35664 static swig_type_info _swigt__p_wxAlphaPixelData_Accessor
= {"_p_wxAlphaPixelData_Accessor", "wxAlphaPixelData_Accessor *", 0, 0, (void*)0, 0};
35665 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
35666 static swig_type_info _swigt__p_wxBrush
= {"_p_wxBrush", "wxBrush *", 0, 0, (void*)0, 0};
35667 static swig_type_info _swigt__p_wxBrushList
= {"_p_wxBrushList", "wxBrushList *", 0, 0, (void*)0, 0};
35668 static swig_type_info _swigt__p_wxBufferedDC
= {"_p_wxBufferedDC", "wxBufferedDC *", 0, 0, (void*)0, 0};
35669 static swig_type_info _swigt__p_wxBufferedPaintDC
= {"_p_wxBufferedPaintDC", "wxBufferedPaintDC *", 0, 0, (void*)0, 0};
35670 static swig_type_info _swigt__p_wxChar
= {"_p_wxChar", "wxChar *", 0, 0, (void*)0, 0};
35671 static swig_type_info _swigt__p_wxClientDC
= {"_p_wxClientDC", "wxClientDC *", 0, 0, (void*)0, 0};
35672 static swig_type_info _swigt__p_wxColor
= {"_p_wxColor", "wxColor *", 0, 0, (void*)0, 0};
35673 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
35674 static swig_type_info _swigt__p_wxColourDatabase
= {"_p_wxColourDatabase", "wxColourDatabase *", 0, 0, (void*)0, 0};
35675 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
35676 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
35677 static swig_type_info _swigt__p_wxDCOverlay
= {"_p_wxDCOverlay", "wxDCOverlay *", 0, 0, (void*)0, 0};
35678 static swig_type_info _swigt__p_wxDash
= {"_p_wxDash", "wxDash *", 0, 0, (void*)0, 0};
35679 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
35680 static swig_type_info _swigt__p_wxEffects
= {"_p_wxEffects", "wxEffects *", 0, 0, (void*)0, 0};
35681 static swig_type_info _swigt__p_wxEncodingConverter
= {"_p_wxEncodingConverter", "wxEncodingConverter *", 0, 0, (void*)0, 0};
35682 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
35683 static swig_type_info _swigt__p_wxFontList
= {"_p_wxFontList", "wxFontList *", 0, 0, (void*)0, 0};
35684 static swig_type_info _swigt__p_wxFontMapper
= {"_p_wxFontMapper", "wxFontMapper *", 0, 0, (void*)0, 0};
35685 static swig_type_info _swigt__p_wxGCDC
= {"_p_wxGCDC", "wxGCDC *", 0, 0, (void*)0, 0};
35686 static swig_type_info _swigt__p_wxGDIObjListBase
= {"_p_wxGDIObjListBase", "wxGDIObjListBase *", 0, 0, (void*)0, 0};
35687 static swig_type_info _swigt__p_wxGDIObject
= {"_p_wxGDIObject", "wxGDIObject *", 0, 0, (void*)0, 0};
35688 static swig_type_info _swigt__p_wxGraphicsContext
= {"_p_wxGraphicsContext", "wxGraphicsContext *", 0, 0, (void*)0, 0};
35689 static swig_type_info _swigt__p_wxGraphicsPath
= {"_p_wxGraphicsPath", "wxGraphicsPath *", 0, 0, (void*)0, 0};
35690 static swig_type_info _swigt__p_wxHeaderButtonParams
= {"_p_wxHeaderButtonParams", "wxHeaderButtonParams *", 0, 0, (void*)0, 0};
35691 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
35692 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
35693 static swig_type_info _swigt__p_wxIconLocation
= {"_p_wxIconLocation", "wxIconLocation *", 0, 0, (void*)0, 0};
35694 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", "wxImage *", 0, 0, (void*)0, 0};
35695 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
35696 static swig_type_info _swigt__p_wxLanguageInfo
= {"_p_wxLanguageInfo", "wxLanguageInfo *", 0, 0, (void*)0, 0};
35697 static swig_type_info _swigt__p_wxLocale
= {"_p_wxLocale", "wxLocale *", 0, 0, (void*)0, 0};
35698 static swig_type_info _swigt__p_wxMask
= {"_p_wxMask", "wxMask *", 0, 0, (void*)0, 0};
35699 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
35700 static swig_type_info _swigt__p_wxMetaFile
= {"_p_wxMetaFile", "wxMetaFile *", 0, 0, (void*)0, 0};
35701 static swig_type_info _swigt__p_wxMetaFileDC
= {"_p_wxMetaFileDC", "wxMetaFileDC *", 0, 0, (void*)0, 0};
35702 static swig_type_info _swigt__p_wxMirrorDC
= {"_p_wxMirrorDC", "wxMirrorDC *", 0, 0, (void*)0, 0};
35703 static swig_type_info _swigt__p_wxNativeEncodingInfo
= {"_p_wxNativeEncodingInfo", "wxNativeEncodingInfo *", 0, 0, (void*)0, 0};
35704 static swig_type_info _swigt__p_wxNativeFontInfo
= {"_p_wxNativeFontInfo", "wxNativeFontInfo *", 0, 0, (void*)0, 0};
35705 static swig_type_info _swigt__p_wxNativePixelData
= {"_p_wxNativePixelData", "wxNativePixelData *", 0, 0, (void*)0, 0};
35706 static swig_type_info _swigt__p_wxNativePixelData_Accessor
= {"_p_wxNativePixelData_Accessor", "wxNativePixelData_Accessor *", 0, 0, (void*)0, 0};
35707 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
35708 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
35709 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
35710 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
35711 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
35712 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
35713 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
35714 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
35715 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
35716 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
35717 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
35718 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
35719 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", 0, 0, 0, 0, 0};
35720 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
35721 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
35722 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
35723 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
35724 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
35725 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
35726 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
35727 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
35728 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
35729 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
35730 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
35731 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
35732 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
35733 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
35734 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
35735 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
35736 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
35737 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
35738 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
35739 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
35740 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
35741 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
35742 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
35743 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
35744 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
35745 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
35746 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
35747 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
35748 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
35749 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
35750 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
35751 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
35752 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
35753 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
35754 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", 0, 0, 0, 0, 0};
35755 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
35756 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
35757 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
35758 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
35759 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
35760 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
35761 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
35762 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
35763 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
35764 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
35765 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
35766 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
35767 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
35768 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
35769 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
35770 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
35771 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
35772 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
35773 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
35774 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
35775 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
35776 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
35777 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", 0, 0, 0, 0, 0};
35778 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
35779 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
35780 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
35781 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
35782 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
35783 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
35784 static swig_type_info _swigt__p_wxOverlay
= {"_p_wxOverlay", "wxOverlay *", 0, 0, (void*)0, 0};
35785 static swig_type_info _swigt__p_wxPaintDC
= {"_p_wxPaintDC", "wxPaintDC *", 0, 0, (void*)0, 0};
35786 static swig_type_info _swigt__p_wxPalette
= {"_p_wxPalette", "wxPalette *", 0, 0, (void*)0, 0};
35787 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
35788 static swig_type_info _swigt__p_wxPen
= {"_p_wxPen", "wxPen *", 0, 0, (void*)0, 0};
35789 static swig_type_info _swigt__p_wxPenList
= {"_p_wxPenList", "wxPenList *", 0, 0, (void*)0, 0};
35790 static swig_type_info _swigt__p_wxPixelDataBase
= {"_p_wxPixelDataBase", "wxPixelDataBase *", 0, 0, (void*)0, 0};
35791 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
35792 static swig_type_info _swigt__p_wxPoint2D
= {"_p_wxPoint2D", "wxPoint2D *", 0, 0, (void*)0, 0};
35793 static swig_type_info _swigt__p_wxPostScriptDC
= {"_p_wxPostScriptDC", "wxPostScriptDC *", 0, 0, (void*)0, 0};
35794 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
35795 static swig_type_info _swigt__p_wxPrinterDC
= {"_p_wxPrinterDC", "wxPrinterDC *", 0, 0, (void*)0, 0};
35796 static swig_type_info _swigt__p_wxPseudoDC
= {"_p_wxPseudoDC", "wxPseudoDC *", 0, 0, (void*)0, 0};
35797 static swig_type_info _swigt__p_wxPyFontEnumerator
= {"_p_wxPyFontEnumerator", "wxPyFontEnumerator *", 0, 0, (void*)0, 0};
35798 static swig_type_info _swigt__p_wxPyLocale
= {"_p_wxPyLocale", "wxPyLocale *", 0, 0, (void*)0, 0};
35799 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
35800 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
35801 static swig_type_info _swigt__p_wxRegionIterator
= {"_p_wxRegionIterator", "wxRegionIterator *", 0, 0, (void*)0, 0};
35802 static swig_type_info _swigt__p_wxRendererNative
= {"_p_wxRendererNative", "wxRendererNative *", 0, 0, (void*)0, 0};
35803 static swig_type_info _swigt__p_wxRendererVersion
= {"_p_wxRendererVersion", "wxRendererVersion *", 0, 0, (void*)0, 0};
35804 static swig_type_info _swigt__p_wxScreenDC
= {"_p_wxScreenDC", "wxScreenDC *", 0, 0, (void*)0, 0};
35805 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
35806 static swig_type_info _swigt__p_wxSplitterRenderParams
= {"_p_wxSplitterRenderParams", "wxSplitterRenderParams *", 0, 0, (void*)0, 0};
35807 static swig_type_info _swigt__p_wxStockGDI
= {"_p_wxStockGDI", "wxStockGDI *", 0, 0, (void*)0, 0};
35808 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
35809 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
35810 static swig_type_info _swigt__p_wxWindowDC
= {"_p_wxWindowDC", "wxWindowDC *", 0, 0, (void*)0, 0};
35812 static swig_type_info
*swig_type_initial
[] = {
35816 &_swigt__p_form_ops_t
,
35818 &_swigt__p_unsigned_char
,
35819 &_swigt__p_unsigned_int
,
35820 &_swigt__p_unsigned_long
,
35821 &_swigt__p_wxANIHandler
,
35822 &_swigt__p_wxAcceleratorTable
,
35823 &_swigt__p_wxActivateEvent
,
35824 &_swigt__p_wxAlphaPixelData
,
35825 &_swigt__p_wxAlphaPixelData_Accessor
,
35826 &_swigt__p_wxBMPHandler
,
35827 &_swigt__p_wxBitmap
,
35828 &_swigt__p_wxBoxSizer
,
35829 &_swigt__p_wxBrush
,
35830 &_swigt__p_wxBrushList
,
35831 &_swigt__p_wxBufferedDC
,
35832 &_swigt__p_wxBufferedPaintDC
,
35833 &_swigt__p_wxCURHandler
,
35835 &_swigt__p_wxChildFocusEvent
,
35836 &_swigt__p_wxClientDC
,
35837 &_swigt__p_wxClipboardTextEvent
,
35838 &_swigt__p_wxCloseEvent
,
35839 &_swigt__p_wxColor
,
35840 &_swigt__p_wxColour
,
35841 &_swigt__p_wxColourDatabase
,
35842 &_swigt__p_wxCommandEvent
,
35843 &_swigt__p_wxContextMenuEvent
,
35844 &_swigt__p_wxControl
,
35845 &_swigt__p_wxControlWithItems
,
35846 &_swigt__p_wxCursor
,
35848 &_swigt__p_wxDCOverlay
,
35850 &_swigt__p_wxDateEvent
,
35851 &_swigt__p_wxDisplayChangedEvent
,
35852 &_swigt__p_wxDropFilesEvent
,
35853 &_swigt__p_wxDuplexMode
,
35854 &_swigt__p_wxEffects
,
35855 &_swigt__p_wxEncodingConverter
,
35856 &_swigt__p_wxEraseEvent
,
35857 &_swigt__p_wxEvent
,
35858 &_swigt__p_wxEvtHandler
,
35859 &_swigt__p_wxFSFile
,
35860 &_swigt__p_wxFileSystem
,
35861 &_swigt__p_wxFlexGridSizer
,
35862 &_swigt__p_wxFocusEvent
,
35864 &_swigt__p_wxFontList
,
35865 &_swigt__p_wxFontMapper
,
35866 &_swigt__p_wxGBSizerItem
,
35868 &_swigt__p_wxGDIObjListBase
,
35869 &_swigt__p_wxGDIObject
,
35870 &_swigt__p_wxGIFHandler
,
35871 &_swigt__p_wxGraphicsContext
,
35872 &_swigt__p_wxGraphicsPath
,
35873 &_swigt__p_wxGridBagSizer
,
35874 &_swigt__p_wxGridSizer
,
35875 &_swigt__p_wxHeaderButtonParams
,
35876 &_swigt__p_wxICOHandler
,
35878 &_swigt__p_wxIconBundle
,
35879 &_swigt__p_wxIconLocation
,
35880 &_swigt__p_wxIconizeEvent
,
35881 &_swigt__p_wxIdleEvent
,
35882 &_swigt__p_wxImage
,
35883 &_swigt__p_wxImageHandler
,
35884 &_swigt__p_wxImageList
,
35885 &_swigt__p_wxIndividualLayoutConstraint
,
35886 &_swigt__p_wxInitDialogEvent
,
35887 &_swigt__p_wxJPEGHandler
,
35888 &_swigt__p_wxKeyEvent
,
35889 &_swigt__p_wxLanguageInfo
,
35890 &_swigt__p_wxLayoutConstraints
,
35891 &_swigt__p_wxLocale
,
35893 &_swigt__p_wxMaximizeEvent
,
35894 &_swigt__p_wxMemoryDC
,
35896 &_swigt__p_wxMenuBar
,
35897 &_swigt__p_wxMenuEvent
,
35898 &_swigt__p_wxMenuItem
,
35899 &_swigt__p_wxMetaFile
,
35900 &_swigt__p_wxMetaFileDC
,
35901 &_swigt__p_wxMirrorDC
,
35902 &_swigt__p_wxMouseCaptureChangedEvent
,
35903 &_swigt__p_wxMouseCaptureLostEvent
,
35904 &_swigt__p_wxMouseEvent
,
35905 &_swigt__p_wxMoveEvent
,
35906 &_swigt__p_wxNativeEncodingInfo
,
35907 &_swigt__p_wxNativeFontInfo
,
35908 &_swigt__p_wxNativePixelData
,
35909 &_swigt__p_wxNativePixelData_Accessor
,
35910 &_swigt__p_wxNavigationKeyEvent
,
35911 &_swigt__p_wxNcPaintEvent
,
35912 &_swigt__p_wxNotifyEvent
,
35913 &_swigt__p_wxObject
,
35914 &_swigt__p_wxOverlay
,
35915 &_swigt__p_wxPCXHandler
,
35916 &_swigt__p_wxPNGHandler
,
35917 &_swigt__p_wxPNMHandler
,
35918 &_swigt__p_wxPaintDC
,
35919 &_swigt__p_wxPaintEvent
,
35920 &_swigt__p_wxPalette
,
35921 &_swigt__p_wxPaletteChangedEvent
,
35922 &_swigt__p_wxPaperSize
,
35924 &_swigt__p_wxPenList
,
35925 &_swigt__p_wxPixelDataBase
,
35926 &_swigt__p_wxPoint
,
35927 &_swigt__p_wxPoint2D
,
35928 &_swigt__p_wxPostScriptDC
,
35929 &_swigt__p_wxPrintData
,
35930 &_swigt__p_wxPrinterDC
,
35931 &_swigt__p_wxPseudoDC
,
35932 &_swigt__p_wxPyApp
,
35933 &_swigt__p_wxPyCommandEvent
,
35934 &_swigt__p_wxPyEvent
,
35935 &_swigt__p_wxPyFontEnumerator
,
35936 &_swigt__p_wxPyImageHandler
,
35937 &_swigt__p_wxPyLocale
,
35938 &_swigt__p_wxPySizer
,
35939 &_swigt__p_wxPyValidator
,
35940 &_swigt__p_wxQueryNewPaletteEvent
,
35942 &_swigt__p_wxRegion
,
35943 &_swigt__p_wxRegionIterator
,
35944 &_swigt__p_wxRendererNative
,
35945 &_swigt__p_wxRendererVersion
,
35946 &_swigt__p_wxScreenDC
,
35947 &_swigt__p_wxScrollEvent
,
35948 &_swigt__p_wxScrollWinEvent
,
35949 &_swigt__p_wxSetCursorEvent
,
35950 &_swigt__p_wxShowEvent
,
35952 &_swigt__p_wxSizeEvent
,
35953 &_swigt__p_wxSizer
,
35954 &_swigt__p_wxSizerItem
,
35955 &_swigt__p_wxSplitterRenderParams
,
35956 &_swigt__p_wxStaticBoxSizer
,
35957 &_swigt__p_wxStdDialogButtonSizer
,
35958 &_swigt__p_wxStockGDI
,
35959 &_swigt__p_wxString
,
35960 &_swigt__p_wxSysColourChangedEvent
,
35961 &_swigt__p_wxTIFFHandler
,
35962 &_swigt__p_wxUpdateUIEvent
,
35963 &_swigt__p_wxValidator
,
35964 &_swigt__p_wxWindow
,
35965 &_swigt__p_wxWindowCreateEvent
,
35966 &_swigt__p_wxWindowDC
,
35967 &_swigt__p_wxWindowDestroyEvent
,
35968 &_swigt__p_wxXPMHandler
,
35971 static swig_cast_info _swigc__p_buffer
[] = { {&_swigt__p_buffer
, 0, 0, 0},{0, 0, 0, 0}};
35972 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
35973 static swig_cast_info _swigc__p_double
[] = { {&_swigt__p_double
, 0, 0, 0},{0, 0, 0, 0}};
35974 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
35975 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
35976 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
35977 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
35978 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
35979 static swig_cast_info _swigc__p_wxAlphaPixelData
[] = { {&_swigt__p_wxAlphaPixelData
, 0, 0, 0},{0, 0, 0, 0}};
35980 static swig_cast_info _swigc__p_wxAlphaPixelData_Accessor
[] = { {&_swigt__p_wxAlphaPixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
35981 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
35982 static swig_cast_info _swigc__p_wxBrush
[] = { {&_swigt__p_wxBrush
, 0, 0, 0},{0, 0, 0, 0}};
35983 static swig_cast_info _swigc__p_wxBrushList
[] = { {&_swigt__p_wxBrushList
, 0, 0, 0},{0, 0, 0, 0}};
35984 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}};
35985 static swig_cast_info _swigc__p_wxBufferedPaintDC
[] = { {&_swigt__p_wxBufferedPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
35986 static swig_cast_info _swigc__p_wxChar
[] = { {&_swigt__p_wxChar
, 0, 0, 0},{0, 0, 0, 0}};
35987 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}};
35988 static swig_cast_info _swigc__p_wxColor
[] = { {&_swigt__p_wxColor
, 0, 0, 0},{0, 0, 0, 0}};
35989 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
35990 static swig_cast_info _swigc__p_wxColourDatabase
[] = { {&_swigt__p_wxColourDatabase
, 0, 0, 0},{0, 0, 0, 0}};
35991 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
35992 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}};
35993 static swig_cast_info _swigc__p_wxDCOverlay
[] = { {&_swigt__p_wxDCOverlay
, 0, 0, 0},{0, 0, 0, 0}};
35994 static swig_cast_info _swigc__p_wxDash
[] = { {&_swigt__p_wxDash
, 0, 0, 0},{0, 0, 0, 0}};
35995 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
35996 static swig_cast_info _swigc__p_wxEffects
[] = { {&_swigt__p_wxEffects
, 0, 0, 0},{0, 0, 0, 0}};
35997 static swig_cast_info _swigc__p_wxEncodingConverter
[] = { {&_swigt__p_wxEncodingConverter
, 0, 0, 0},{0, 0, 0, 0}};
35998 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
35999 static swig_cast_info _swigc__p_wxFontList
[] = { {&_swigt__p_wxFontList
, 0, 0, 0},{0, 0, 0, 0}};
36000 static swig_cast_info _swigc__p_wxFontMapper
[] = { {&_swigt__p_wxFontMapper
, 0, 0, 0},{0, 0, 0, 0}};
36001 static swig_cast_info _swigc__p_wxGCDC
[] = { {&_swigt__p_wxGCDC
, 0, 0, 0},{0, 0, 0, 0}};
36002 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}};
36003 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}};
36004 static swig_cast_info _swigc__p_wxGraphicsContext
[] = { {&_swigt__p_wxGraphicsContext
, 0, 0, 0},{0, 0, 0, 0}};
36005 static swig_cast_info _swigc__p_wxGraphicsPath
[] = { {&_swigt__p_wxGraphicsPath
, 0, 0, 0},{0, 0, 0, 0}};
36006 static swig_cast_info _swigc__p_wxHeaderButtonParams
[] = { {&_swigt__p_wxHeaderButtonParams
, 0, 0, 0},{0, 0, 0, 0}};
36007 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
36008 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
36009 static swig_cast_info _swigc__p_wxIconLocation
[] = { {&_swigt__p_wxIconLocation
, 0, 0, 0},{0, 0, 0, 0}};
36010 static swig_cast_info _swigc__p_wxImage
[] = { {&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
36011 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
36012 static swig_cast_info _swigc__p_wxLanguageInfo
[] = { {&_swigt__p_wxLanguageInfo
, 0, 0, 0},{0, 0, 0, 0}};
36013 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}};
36014 static swig_cast_info _swigc__p_wxMask
[] = { {&_swigt__p_wxMask
, 0, 0, 0},{0, 0, 0, 0}};
36015 static swig_cast_info _swigc__p_wxMemoryDC
[] = { {&_swigt__p_wxMemoryDC
, 0, 0, 0},{0, 0, 0, 0}};
36016 static swig_cast_info _swigc__p_wxMetaFile
[] = { {&_swigt__p_wxMetaFile
, 0, 0, 0},{0, 0, 0, 0}};
36017 static swig_cast_info _swigc__p_wxMetaFileDC
[] = { {&_swigt__p_wxMetaFileDC
, 0, 0, 0},{0, 0, 0, 0}};
36018 static swig_cast_info _swigc__p_wxMirrorDC
[] = { {&_swigt__p_wxMirrorDC
, 0, 0, 0},{0, 0, 0, 0}};
36019 static swig_cast_info _swigc__p_wxNativeEncodingInfo
[] = { {&_swigt__p_wxNativeEncodingInfo
, 0, 0, 0},{0, 0, 0, 0}};
36020 static swig_cast_info _swigc__p_wxNativeFontInfo
[] = { {&_swigt__p_wxNativeFontInfo
, 0, 0, 0},{0, 0, 0, 0}};
36021 static swig_cast_info _swigc__p_wxNativePixelData
[] = { {&_swigt__p_wxNativePixelData
, 0, 0, 0},{0, 0, 0, 0}};
36022 static swig_cast_info _swigc__p_wxNativePixelData_Accessor
[] = { {&_swigt__p_wxNativePixelData_Accessor
, 0, 0, 0},{0, 0, 0, 0}};
36023 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
36024 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
36025 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
36026 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
36027 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
36028 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
36029 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
36030 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
36031 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
36032 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
36033 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
36034 static swig_cast_info _swigc__p_wxEvent
[] = {{&_swigt__p_wxEvent
, 0, 0, 0},{0, 0, 0, 0}};
36035 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
36036 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
36037 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
36038 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
36039 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
36040 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
36041 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
36042 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
36043 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
36044 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
36045 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
36046 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
36047 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
36048 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
36049 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
36050 static swig_cast_info _swigc__p_wxNotifyEvent
[] = {{&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
36051 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
36052 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
36053 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
36054 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
36055 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
36056 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
36057 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
36058 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
36059 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
36060 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
36061 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
36062 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
36063 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
36064 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
36065 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
36066 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
36067 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
36068 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
36069 static swig_cast_info _swigc__p_wxEvtHandler
[] = {{&_swigt__p_wxEvtHandler
, 0, 0, 0},{0, 0, 0, 0}};
36070 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
36071 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
36072 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
36073 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
36074 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
36075 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
36076 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
36077 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
36078 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
36079 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
36080 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
36081 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
36082 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
36083 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
36084 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
36085 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
36086 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
36087 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
36088 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
36089 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
36090 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
36091 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
36092 static swig_cast_info _swigc__p_wxCommandEvent
[] = {{&_swigt__p_wxCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
36093 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
36094 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
36095 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
36096 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
36097 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
36098 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
36099 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}};
36100 static swig_cast_info _swigc__p_wxOverlay
[] = { {&_swigt__p_wxOverlay
, 0, 0, 0},{0, 0, 0, 0}};
36101 static swig_cast_info _swigc__p_wxPaintDC
[] = { {&_swigt__p_wxPaintDC
, 0, 0, 0},{0, 0, 0, 0}};
36102 static swig_cast_info _swigc__p_wxPalette
[] = { {&_swigt__p_wxPalette
, 0, 0, 0},{0, 0, 0, 0}};
36103 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
36104 static swig_cast_info _swigc__p_wxPen
[] = { {&_swigt__p_wxPen
, 0, 0, 0},{0, 0, 0, 0}};
36105 static swig_cast_info _swigc__p_wxPenList
[] = { {&_swigt__p_wxPenList
, 0, 0, 0},{0, 0, 0, 0}};
36106 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}};
36107 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
36108 static swig_cast_info _swigc__p_wxPoint2D
[] = { {&_swigt__p_wxPoint2D
, 0, 0, 0},{0, 0, 0, 0}};
36109 static swig_cast_info _swigc__p_wxPostScriptDC
[] = { {&_swigt__p_wxPostScriptDC
, 0, 0, 0},{0, 0, 0, 0}};
36110 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
36111 static swig_cast_info _swigc__p_wxPrinterDC
[] = { {&_swigt__p_wxPrinterDC
, 0, 0, 0},{0, 0, 0, 0}};
36112 static swig_cast_info _swigc__p_wxPseudoDC
[] = { {&_swigt__p_wxPseudoDC
, 0, 0, 0},{0, 0, 0, 0}};
36113 static swig_cast_info _swigc__p_wxPyFontEnumerator
[] = { {&_swigt__p_wxPyFontEnumerator
, 0, 0, 0},{0, 0, 0, 0}};
36114 static swig_cast_info _swigc__p_wxPyLocale
[] = { {&_swigt__p_wxPyLocale
, 0, 0, 0},{0, 0, 0, 0}};
36115 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
36116 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
36117 static swig_cast_info _swigc__p_wxRegionIterator
[] = { {&_swigt__p_wxRegionIterator
, 0, 0, 0},{0, 0, 0, 0}};
36118 static swig_cast_info _swigc__p_wxRendererNative
[] = { {&_swigt__p_wxRendererNative
, 0, 0, 0},{0, 0, 0, 0}};
36119 static swig_cast_info _swigc__p_wxRendererVersion
[] = { {&_swigt__p_wxRendererVersion
, 0, 0, 0},{0, 0, 0, 0}};
36120 static swig_cast_info _swigc__p_wxScreenDC
[] = { {&_swigt__p_wxScreenDC
, 0, 0, 0},{0, 0, 0, 0}};
36121 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
36122 static swig_cast_info _swigc__p_wxSplitterRenderParams
[] = { {&_swigt__p_wxSplitterRenderParams
, 0, 0, 0},{0, 0, 0, 0}};
36123 static swig_cast_info _swigc__p_wxStockGDI
[] = { {&_swigt__p_wxStockGDI
, 0, 0, 0},{0, 0, 0, 0}};
36124 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
36125 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}};
36126 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}};
36128 static swig_cast_info
*swig_cast_initial
[] = {
36132 _swigc__p_form_ops_t
,
36134 _swigc__p_unsigned_char
,
36135 _swigc__p_unsigned_int
,
36136 _swigc__p_unsigned_long
,
36137 _swigc__p_wxANIHandler
,
36138 _swigc__p_wxAcceleratorTable
,
36139 _swigc__p_wxActivateEvent
,
36140 _swigc__p_wxAlphaPixelData
,
36141 _swigc__p_wxAlphaPixelData_Accessor
,
36142 _swigc__p_wxBMPHandler
,
36143 _swigc__p_wxBitmap
,
36144 _swigc__p_wxBoxSizer
,
36146 _swigc__p_wxBrushList
,
36147 _swigc__p_wxBufferedDC
,
36148 _swigc__p_wxBufferedPaintDC
,
36149 _swigc__p_wxCURHandler
,
36151 _swigc__p_wxChildFocusEvent
,
36152 _swigc__p_wxClientDC
,
36153 _swigc__p_wxClipboardTextEvent
,
36154 _swigc__p_wxCloseEvent
,
36156 _swigc__p_wxColour
,
36157 _swigc__p_wxColourDatabase
,
36158 _swigc__p_wxCommandEvent
,
36159 _swigc__p_wxContextMenuEvent
,
36160 _swigc__p_wxControl
,
36161 _swigc__p_wxControlWithItems
,
36162 _swigc__p_wxCursor
,
36164 _swigc__p_wxDCOverlay
,
36166 _swigc__p_wxDateEvent
,
36167 _swigc__p_wxDisplayChangedEvent
,
36168 _swigc__p_wxDropFilesEvent
,
36169 _swigc__p_wxDuplexMode
,
36170 _swigc__p_wxEffects
,
36171 _swigc__p_wxEncodingConverter
,
36172 _swigc__p_wxEraseEvent
,
36174 _swigc__p_wxEvtHandler
,
36175 _swigc__p_wxFSFile
,
36176 _swigc__p_wxFileSystem
,
36177 _swigc__p_wxFlexGridSizer
,
36178 _swigc__p_wxFocusEvent
,
36180 _swigc__p_wxFontList
,
36181 _swigc__p_wxFontMapper
,
36182 _swigc__p_wxGBSizerItem
,
36184 _swigc__p_wxGDIObjListBase
,
36185 _swigc__p_wxGDIObject
,
36186 _swigc__p_wxGIFHandler
,
36187 _swigc__p_wxGraphicsContext
,
36188 _swigc__p_wxGraphicsPath
,
36189 _swigc__p_wxGridBagSizer
,
36190 _swigc__p_wxGridSizer
,
36191 _swigc__p_wxHeaderButtonParams
,
36192 _swigc__p_wxICOHandler
,
36194 _swigc__p_wxIconBundle
,
36195 _swigc__p_wxIconLocation
,
36196 _swigc__p_wxIconizeEvent
,
36197 _swigc__p_wxIdleEvent
,
36199 _swigc__p_wxImageHandler
,
36200 _swigc__p_wxImageList
,
36201 _swigc__p_wxIndividualLayoutConstraint
,
36202 _swigc__p_wxInitDialogEvent
,
36203 _swigc__p_wxJPEGHandler
,
36204 _swigc__p_wxKeyEvent
,
36205 _swigc__p_wxLanguageInfo
,
36206 _swigc__p_wxLayoutConstraints
,
36207 _swigc__p_wxLocale
,
36209 _swigc__p_wxMaximizeEvent
,
36210 _swigc__p_wxMemoryDC
,
36212 _swigc__p_wxMenuBar
,
36213 _swigc__p_wxMenuEvent
,
36214 _swigc__p_wxMenuItem
,
36215 _swigc__p_wxMetaFile
,
36216 _swigc__p_wxMetaFileDC
,
36217 _swigc__p_wxMirrorDC
,
36218 _swigc__p_wxMouseCaptureChangedEvent
,
36219 _swigc__p_wxMouseCaptureLostEvent
,
36220 _swigc__p_wxMouseEvent
,
36221 _swigc__p_wxMoveEvent
,
36222 _swigc__p_wxNativeEncodingInfo
,
36223 _swigc__p_wxNativeFontInfo
,
36224 _swigc__p_wxNativePixelData
,
36225 _swigc__p_wxNativePixelData_Accessor
,
36226 _swigc__p_wxNavigationKeyEvent
,
36227 _swigc__p_wxNcPaintEvent
,
36228 _swigc__p_wxNotifyEvent
,
36229 _swigc__p_wxObject
,
36230 _swigc__p_wxOverlay
,
36231 _swigc__p_wxPCXHandler
,
36232 _swigc__p_wxPNGHandler
,
36233 _swigc__p_wxPNMHandler
,
36234 _swigc__p_wxPaintDC
,
36235 _swigc__p_wxPaintEvent
,
36236 _swigc__p_wxPalette
,
36237 _swigc__p_wxPaletteChangedEvent
,
36238 _swigc__p_wxPaperSize
,
36240 _swigc__p_wxPenList
,
36241 _swigc__p_wxPixelDataBase
,
36243 _swigc__p_wxPoint2D
,
36244 _swigc__p_wxPostScriptDC
,
36245 _swigc__p_wxPrintData
,
36246 _swigc__p_wxPrinterDC
,
36247 _swigc__p_wxPseudoDC
,
36249 _swigc__p_wxPyCommandEvent
,
36250 _swigc__p_wxPyEvent
,
36251 _swigc__p_wxPyFontEnumerator
,
36252 _swigc__p_wxPyImageHandler
,
36253 _swigc__p_wxPyLocale
,
36254 _swigc__p_wxPySizer
,
36255 _swigc__p_wxPyValidator
,
36256 _swigc__p_wxQueryNewPaletteEvent
,
36258 _swigc__p_wxRegion
,
36259 _swigc__p_wxRegionIterator
,
36260 _swigc__p_wxRendererNative
,
36261 _swigc__p_wxRendererVersion
,
36262 _swigc__p_wxScreenDC
,
36263 _swigc__p_wxScrollEvent
,
36264 _swigc__p_wxScrollWinEvent
,
36265 _swigc__p_wxSetCursorEvent
,
36266 _swigc__p_wxShowEvent
,
36268 _swigc__p_wxSizeEvent
,
36270 _swigc__p_wxSizerItem
,
36271 _swigc__p_wxSplitterRenderParams
,
36272 _swigc__p_wxStaticBoxSizer
,
36273 _swigc__p_wxStdDialogButtonSizer
,
36274 _swigc__p_wxStockGDI
,
36275 _swigc__p_wxString
,
36276 _swigc__p_wxSysColourChangedEvent
,
36277 _swigc__p_wxTIFFHandler
,
36278 _swigc__p_wxUpdateUIEvent
,
36279 _swigc__p_wxValidator
,
36280 _swigc__p_wxWindow
,
36281 _swigc__p_wxWindowCreateEvent
,
36282 _swigc__p_wxWindowDC
,
36283 _swigc__p_wxWindowDestroyEvent
,
36284 _swigc__p_wxXPMHandler
,
36288 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
36290 static swig_const_info swig_const_table
[] = {
36291 {0, 0, 0, 0.0, 0, 0}};
36296 /* -----------------------------------------------------------------------------
36297 * Type initialization:
36298 * This problem is tough by the requirement that no dynamic
36299 * memory is used. Also, since swig_type_info structures store pointers to
36300 * swig_cast_info structures and swig_cast_info structures store pointers back
36301 * to swig_type_info structures, we need some lookup code at initialization.
36302 * The idea is that swig generates all the structures that are needed.
36303 * The runtime then collects these partially filled structures.
36304 * The SWIG_InitializeModule function takes these initial arrays out of
36305 * swig_module, and does all the lookup, filling in the swig_module.types
36306 * array with the correct data and linking the correct swig_cast_info
36307 * structures together.
36309 * The generated swig_type_info structures are assigned staticly to an initial
36310 * array. We just loop though that array, and handle each type individually.
36311 * First we lookup if this type has been already loaded, and if so, use the
36312 * loaded structure instead of the generated one. Then we have to fill in the
36313 * cast linked list. The cast data is initially stored in something like a
36314 * two-dimensional array. Each row corresponds to a type (there are the same
36315 * number of rows as there are in the swig_type_initial array). Each entry in
36316 * a column is one of the swig_cast_info structures for that type.
36317 * The cast_initial array is actually an array of arrays, because each row has
36318 * a variable number of columns. So to actually build the cast linked list,
36319 * we find the array of casts associated with the type, and loop through it
36320 * adding the casts to the list. The one last trick we need to do is making
36321 * sure the type pointer in the swig_cast_info struct is correct.
36323 * First off, we lookup the cast->type name to see if it is already loaded.
36324 * There are three cases to handle:
36325 * 1) If the cast->type has already been loaded AND the type we are adding
36326 * casting info to has not been loaded (it is in this module), THEN we
36327 * replace the cast->type pointer with the type pointer that has already
36329 * 2) If BOTH types (the one we are adding casting info to, and the
36330 * cast->type) are loaded, THEN the cast info has already been loaded by
36331 * the previous module so we just ignore it.
36332 * 3) Finally, if cast->type has not already been loaded, then we add that
36333 * swig_cast_info to the linked list (because the cast->type) pointer will
36335 * ----------------------------------------------------------------------------- */
36345 #define SWIGRUNTIME_DEBUG
36349 SWIG_InitializeModule(void *clientdata
) {
36351 swig_module_info
*module_head
;
36352 static int init_run
= 0;
36354 clientdata
= clientdata
;
36356 if (init_run
) return;
36359 /* Initialize the swig_module */
36360 swig_module
.type_initial
= swig_type_initial
;
36361 swig_module
.cast_initial
= swig_cast_initial
;
36363 /* Try and load any already created modules */
36364 module_head
= SWIG_GetModule(clientdata
);
36366 swig_module
.next
= module_head
->next
;
36367 module_head
->next
= &swig_module
;
36369 /* This is the first module loaded */
36370 swig_module
.next
= &swig_module
;
36371 SWIG_SetModule(clientdata
, &swig_module
);
36374 /* Now work on filling in swig_module.types */
36375 #ifdef SWIGRUNTIME_DEBUG
36376 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
36378 for (i
= 0; i
< swig_module
.size
; ++i
) {
36379 swig_type_info
*type
= 0;
36380 swig_type_info
*ret
;
36381 swig_cast_info
*cast
;
36383 #ifdef SWIGRUNTIME_DEBUG
36384 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
36387 /* if there is another module already loaded */
36388 if (swig_module
.next
!= &swig_module
) {
36389 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
36392 /* Overwrite clientdata field */
36393 #ifdef SWIGRUNTIME_DEBUG
36394 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
36396 if (swig_module
.type_initial
[i
]->clientdata
) {
36397 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
36398 #ifdef SWIGRUNTIME_DEBUG
36399 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
36403 type
= swig_module
.type_initial
[i
];
36406 /* Insert casting types */
36407 cast
= swig_module
.cast_initial
[i
];
36408 while (cast
->type
) {
36409 /* Don't need to add information already in the list */
36411 #ifdef SWIGRUNTIME_DEBUG
36412 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
36414 if (swig_module
.next
!= &swig_module
) {
36415 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
36416 #ifdef SWIGRUNTIME_DEBUG
36417 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
36421 if (type
== swig_module
.type_initial
[i
]) {
36422 #ifdef SWIGRUNTIME_DEBUG
36423 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
36428 /* Check for casting already in the list */
36429 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
36430 #ifdef SWIGRUNTIME_DEBUG
36431 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
36433 if (!ocast
) ret
= 0;
36438 #ifdef SWIGRUNTIME_DEBUG
36439 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
36442 type
->cast
->prev
= cast
;
36443 cast
->next
= type
->cast
;
36449 /* Set entry in modules->types array equal to the type */
36450 swig_module
.types
[i
] = type
;
36452 swig_module
.types
[i
] = 0;
36454 #ifdef SWIGRUNTIME_DEBUG
36455 printf("**** SWIG_InitializeModule: Cast List ******\n");
36456 for (i
= 0; i
< swig_module
.size
; ++i
) {
36458 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
36459 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
36460 while (cast
->type
) {
36461 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
36465 printf("---- Total casts: %d\n",j
);
36467 printf("**** SWIG_InitializeModule: Cast List ******\n");
36471 /* This function will propagate the clientdata field of type to
36472 * any new swig_type_info structures that have been added into the list
36473 * of equivalent types. It is like calling
36474 * SWIG_TypeClientData(type, clientdata) a second time.
36477 SWIG_PropagateClientData(void) {
36479 swig_cast_info
*equiv
;
36480 static int init_run
= 0;
36482 if (init_run
) return;
36485 for (i
= 0; i
< swig_module
.size
; i
++) {
36486 if (swig_module
.types
[i
]->clientdata
) {
36487 equiv
= swig_module
.types
[i
]->cast
;
36489 if (!equiv
->converter
) {
36490 if (equiv
->type
&& !equiv
->type
->clientdata
)
36491 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
36493 equiv
= equiv
->next
;
36513 /* Python-specific SWIG API */
36514 #define SWIG_newvarlink() SWIG_Python_newvarlink()
36515 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
36516 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
36518 /* -----------------------------------------------------------------------------
36519 * global variable support code.
36520 * ----------------------------------------------------------------------------- */
36522 typedef struct swig_globalvar
{
36523 char *name
; /* Name of global variable */
36524 PyObject
*(*get_attr
)(void); /* Return the current value */
36525 int (*set_attr
)(PyObject
*); /* Set the value */
36526 struct swig_globalvar
*next
;
36529 typedef struct swig_varlinkobject
{
36531 swig_globalvar
*vars
;
36532 } swig_varlinkobject
;
36534 SWIGINTERN PyObject
*
36535 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
36536 return PyString_FromString("<Swig global variables>");
36539 SWIGINTERN PyObject
*
36540 swig_varlink_str(swig_varlinkobject
*v
) {
36541 PyObject
*str
= PyString_FromString("(");
36542 swig_globalvar
*var
;
36543 for (var
= v
->vars
; var
; var
=var
->next
) {
36544 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
36545 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
36547 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
36552 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
36553 PyObject
*str
= swig_varlink_str(v
);
36554 fprintf(fp
,"Swig global variables ");
36555 fprintf(fp
,"%s\n", PyString_AsString(str
));
36561 swig_varlink_dealloc(swig_varlinkobject
*v
) {
36562 swig_globalvar
*var
= v
->vars
;
36564 swig_globalvar
*n
= var
->next
;
36571 SWIGINTERN PyObject
*
36572 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
36573 PyObject
*res
= NULL
;
36574 swig_globalvar
*var
= v
->vars
;
36576 if (strcmp(var
->name
,n
) == 0) {
36577 res
= (*var
->get_attr
)();
36582 if (res
== NULL
&& !PyErr_Occurred()) {
36583 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
36589 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
36591 swig_globalvar
*var
= v
->vars
;
36593 if (strcmp(var
->name
,n
) == 0) {
36594 res
= (*var
->set_attr
)(p
);
36599 if (res
== 1 && !PyErr_Occurred()) {
36600 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
36605 SWIGINTERN PyTypeObject
*
36606 swig_varlink_type(void) {
36607 static char varlink__doc__
[] = "Swig var link object";
36608 static PyTypeObject varlink_type
;
36609 static int type_init
= 0;
36611 const PyTypeObject tmp
36613 PyObject_HEAD_INIT(NULL
)
36614 0, /* Number of items in variable part (ob_size) */
36615 (char *)"swigvarlink", /* Type name (tp_name) */
36616 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
36617 0, /* Itemsize (tp_itemsize) */
36618 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
36619 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
36620 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
36621 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
36622 0, /* tp_compare */
36623 (reprfunc
) swig_varlink_repr
, /* tp_repr */
36624 0, /* tp_as_number */
36625 0, /* tp_as_sequence */
36626 0, /* tp_as_mapping */
36629 (reprfunc
)swig_varlink_str
, /* tp_str */
36630 0, /* tp_getattro */
36631 0, /* tp_setattro */
36632 0, /* tp_as_buffer */
36634 varlink__doc__
, /* tp_doc */
36635 0, /* tp_traverse */
36637 0, /* tp_richcompare */
36638 0, /* tp_weaklistoffset */
36639 #if PY_VERSION_HEX >= 0x02020000
36640 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
36642 #if PY_VERSION_HEX >= 0x02030000
36645 #ifdef COUNT_ALLOCS
36646 0,0,0,0 /* tp_alloc -> tp_next */
36649 varlink_type
= tmp
;
36650 varlink_type
.ob_type
= &PyType_Type
;
36653 return &varlink_type
;
36656 /* Create a variable linking object for use later */
36657 SWIGINTERN PyObject
*
36658 SWIG_Python_newvarlink(void) {
36659 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
36663 return ((PyObject
*) result
);
36667 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
36668 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
36669 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
36671 size_t size
= strlen(name
)+1;
36672 gv
->name
= (char *)malloc(size
);
36674 strncpy(gv
->name
,name
,size
);
36675 gv
->get_attr
= get_attr
;
36676 gv
->set_attr
= set_attr
;
36677 gv
->next
= v
->vars
;
36683 SWIGINTERN PyObject
*
36685 static PyObject
*_SWIG_globals
= 0;
36686 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
36687 return _SWIG_globals
;
36690 /* -----------------------------------------------------------------------------
36691 * constants/methods manipulation
36692 * ----------------------------------------------------------------------------- */
36694 /* Install Constants */
36696 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
36699 for (i
= 0; constants
[i
].type
; ++i
) {
36700 switch(constants
[i
].type
) {
36701 case SWIG_PY_POINTER
:
36702 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
36704 case SWIG_PY_BINARY
:
36705 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
36712 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
36718 /* -----------------------------------------------------------------------------*/
36719 /* Fix SwigMethods to carry the callback ptrs when needed */
36720 /* -----------------------------------------------------------------------------*/
36723 SWIG_Python_FixMethods(PyMethodDef
*methods
,
36724 swig_const_info
*const_table
,
36725 swig_type_info
**types
,
36726 swig_type_info
**types_initial
) {
36728 for (i
= 0; methods
[i
].ml_name
; ++i
) {
36729 const char *c
= methods
[i
].ml_doc
;
36730 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
36732 swig_const_info
*ci
= 0;
36733 const char *name
= c
+ 10;
36734 for (j
= 0; const_table
[j
].type
; ++j
) {
36735 if (strncmp(const_table
[j
].name
, name
,
36736 strlen(const_table
[j
].name
)) == 0) {
36737 ci
= &(const_table
[j
]);
36742 size_t shift
= (ci
->ptype
) - types
;
36743 swig_type_info
*ty
= types_initial
[shift
];
36744 size_t ldoc
= (c
- methods
[i
].ml_doc
);
36745 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
36746 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
36749 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
36751 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
36753 strncpy(buff
, "swig_ptr: ", 10);
36755 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
36756 methods
[i
].ml_doc
= ndoc
;
36768 /* -----------------------------------------------------------------------------*
36769 * Partial Init method
36770 * -----------------------------------------------------------------------------*/
36775 SWIGEXPORT
void SWIG_init(void) {
36778 /* Fix SwigMethods to carry the callback ptrs when needed */
36779 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
36781 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
36782 d
= PyModule_GetDict(m
);
36784 SWIG_InitializeModule(0);
36785 SWIG_InstallConstants(d
,swig_const_table
);
36788 SWIG_Python_SetConstant(d
, "C2S_NAME",SWIG_From_int(static_cast< int >(wxC2S_NAME
)));
36789 SWIG_Python_SetConstant(d
, "C2S_CSS_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_CSS_SYNTAX
)));
36790 SWIG_Python_SetConstant(d
, "C2S_HTML_SYNTAX",SWIG_From_int(static_cast< int >(wxC2S_HTML_SYNTAX
)));
36791 SWIG_Python_SetConstant(d
, "ALPHA_TRANSPARENT",SWIG_From_int(static_cast< int >(wxALPHA_TRANSPARENT
)));
36792 SWIG_Python_SetConstant(d
, "ALPHA_OPAQUE",SWIG_From_int(static_cast< int >(wxALPHA_OPAQUE
)));
36793 SWIG_Python_SetConstant(d
, "OutRegion",SWIG_From_int(static_cast< int >(wxOutRegion
)));
36794 SWIG_Python_SetConstant(d
, "PartRegion",SWIG_From_int(static_cast< int >(wxPartRegion
)));
36795 SWIG_Python_SetConstant(d
, "InRegion",SWIG_From_int(static_cast< int >(wxInRegion
)));
36796 SWIG_Python_SetConstant(d
, "FONTFAMILY_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DEFAULT
)));
36797 SWIG_Python_SetConstant(d
, "FONTFAMILY_DECORATIVE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_DECORATIVE
)));
36798 SWIG_Python_SetConstant(d
, "FONTFAMILY_ROMAN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_ROMAN
)));
36799 SWIG_Python_SetConstant(d
, "FONTFAMILY_SCRIPT",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SCRIPT
)));
36800 SWIG_Python_SetConstant(d
, "FONTFAMILY_SWISS",SWIG_From_int(static_cast< int >(wxFONTFAMILY_SWISS
)));
36801 SWIG_Python_SetConstant(d
, "FONTFAMILY_MODERN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MODERN
)));
36802 SWIG_Python_SetConstant(d
, "FONTFAMILY_TELETYPE",SWIG_From_int(static_cast< int >(wxFONTFAMILY_TELETYPE
)));
36803 SWIG_Python_SetConstant(d
, "FONTFAMILY_MAX",SWIG_From_int(static_cast< int >(wxFONTFAMILY_MAX
)));
36804 SWIG_Python_SetConstant(d
, "FONTFAMILY_UNKNOWN",SWIG_From_int(static_cast< int >(wxFONTFAMILY_UNKNOWN
)));
36805 SWIG_Python_SetConstant(d
, "FONTSTYLE_NORMAL",SWIG_From_int(static_cast< int >(wxFONTSTYLE_NORMAL
)));
36806 SWIG_Python_SetConstant(d
, "FONTSTYLE_ITALIC",SWIG_From_int(static_cast< int >(wxFONTSTYLE_ITALIC
)));
36807 SWIG_Python_SetConstant(d
, "FONTSTYLE_SLANT",SWIG_From_int(static_cast< int >(wxFONTSTYLE_SLANT
)));
36808 SWIG_Python_SetConstant(d
, "FONTSTYLE_MAX",SWIG_From_int(static_cast< int >(wxFONTSTYLE_MAX
)));
36809 SWIG_Python_SetConstant(d
, "FONTWEIGHT_NORMAL",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_NORMAL
)));
36810 SWIG_Python_SetConstant(d
, "FONTWEIGHT_LIGHT",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_LIGHT
)));
36811 SWIG_Python_SetConstant(d
, "FONTWEIGHT_BOLD",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_BOLD
)));
36812 SWIG_Python_SetConstant(d
, "FONTWEIGHT_MAX",SWIG_From_int(static_cast< int >(wxFONTWEIGHT_MAX
)));
36813 SWIG_Python_SetConstant(d
, "FONTFLAG_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTFLAG_DEFAULT
)));
36814 SWIG_Python_SetConstant(d
, "FONTFLAG_ITALIC",SWIG_From_int(static_cast< int >(wxFONTFLAG_ITALIC
)));
36815 SWIG_Python_SetConstant(d
, "FONTFLAG_SLANT",SWIG_From_int(static_cast< int >(wxFONTFLAG_SLANT
)));
36816 SWIG_Python_SetConstant(d
, "FONTFLAG_LIGHT",SWIG_From_int(static_cast< int >(wxFONTFLAG_LIGHT
)));
36817 SWIG_Python_SetConstant(d
, "FONTFLAG_BOLD",SWIG_From_int(static_cast< int >(wxFONTFLAG_BOLD
)));
36818 SWIG_Python_SetConstant(d
, "FONTFLAG_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_ANTIALIASED
)));
36819 SWIG_Python_SetConstant(d
, "FONTFLAG_NOT_ANTIALIASED",SWIG_From_int(static_cast< int >(wxFONTFLAG_NOT_ANTIALIASED
)));
36820 SWIG_Python_SetConstant(d
, "FONTFLAG_UNDERLINED",SWIG_From_int(static_cast< int >(wxFONTFLAG_UNDERLINED
)));
36821 SWIG_Python_SetConstant(d
, "FONTFLAG_STRIKETHROUGH",SWIG_From_int(static_cast< int >(wxFONTFLAG_STRIKETHROUGH
)));
36822 SWIG_Python_SetConstant(d
, "FONTFLAG_MASK",SWIG_From_int(static_cast< int >(wxFONTFLAG_MASK
)));
36823 SWIG_Python_SetConstant(d
, "FONTENCODING_SYSTEM",SWIG_From_int(static_cast< int >(wxFONTENCODING_SYSTEM
)));
36824 SWIG_Python_SetConstant(d
, "FONTENCODING_DEFAULT",SWIG_From_int(static_cast< int >(wxFONTENCODING_DEFAULT
)));
36825 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_1",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_1
)));
36826 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_2",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_2
)));
36827 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_3",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_3
)));
36828 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_4",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_4
)));
36829 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_5",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_5
)));
36830 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_6",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_6
)));
36831 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_7",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_7
)));
36832 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_8",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_8
)));
36833 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_9",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_9
)));
36834 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_10",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_10
)));
36835 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_11",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_11
)));
36836 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_12",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_12
)));
36837 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_13",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_13
)));
36838 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_14",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_14
)));
36839 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_15",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_15
)));
36840 SWIG_Python_SetConstant(d
, "FONTENCODING_ISO8859_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_ISO8859_MAX
)));
36841 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8
)));
36842 SWIG_Python_SetConstant(d
, "FONTENCODING_KOI8_U",SWIG_From_int(static_cast< int >(wxFONTENCODING_KOI8_U
)));
36843 SWIG_Python_SetConstant(d
, "FONTENCODING_ALTERNATIVE",SWIG_From_int(static_cast< int >(wxFONTENCODING_ALTERNATIVE
)));
36844 SWIG_Python_SetConstant(d
, "FONTENCODING_BULGARIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_BULGARIAN
)));
36845 SWIG_Python_SetConstant(d
, "FONTENCODING_CP437",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP437
)));
36846 SWIG_Python_SetConstant(d
, "FONTENCODING_CP850",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP850
)));
36847 SWIG_Python_SetConstant(d
, "FONTENCODING_CP852",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP852
)));
36848 SWIG_Python_SetConstant(d
, "FONTENCODING_CP855",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP855
)));
36849 SWIG_Python_SetConstant(d
, "FONTENCODING_CP866",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP866
)));
36850 SWIG_Python_SetConstant(d
, "FONTENCODING_CP874",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP874
)));
36851 SWIG_Python_SetConstant(d
, "FONTENCODING_CP932",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP932
)));
36852 SWIG_Python_SetConstant(d
, "FONTENCODING_CP936",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP936
)));
36853 SWIG_Python_SetConstant(d
, "FONTENCODING_CP949",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP949
)));
36854 SWIG_Python_SetConstant(d
, "FONTENCODING_CP950",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP950
)));
36855 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1250",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1250
)));
36856 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1251",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1251
)));
36857 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1252",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1252
)));
36858 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1253",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1253
)));
36859 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1254",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1254
)));
36860 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1255",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1255
)));
36861 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1256",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1256
)));
36862 SWIG_Python_SetConstant(d
, "FONTENCODING_CP1257",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP1257
)));
36863 SWIG_Python_SetConstant(d
, "FONTENCODING_CP12_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_CP12_MAX
)));
36864 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF7",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF7
)));
36865 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF8",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF8
)));
36866 SWIG_Python_SetConstant(d
, "FONTENCODING_EUC_JP",SWIG_From_int(static_cast< int >(wxFONTENCODING_EUC_JP
)));
36867 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16BE
)));
36868 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16LE
)));
36869 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32BE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32BE
)));
36870 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32LE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32LE
)));
36871 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMAN
)));
36872 SWIG_Python_SetConstant(d
, "FONTENCODING_MACJAPANESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACJAPANESE
)));
36873 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESETRAD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESETRAD
)));
36874 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKOREAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKOREAN
)));
36875 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABIC
)));
36876 SWIG_Python_SetConstant(d
, "FONTENCODING_MACHEBREW",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACHEBREW
)));
36877 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGREEK",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGREEK
)));
36878 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCYRILLIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCYRILLIC
)));
36879 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDEVANAGARI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDEVANAGARI
)));
36880 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGURMUKHI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGURMUKHI
)));
36881 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGUJARATI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGUJARATI
)));
36882 SWIG_Python_SetConstant(d
, "FONTENCODING_MACORIYA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACORIYA
)));
36883 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBENGALI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBENGALI
)));
36884 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTAMIL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTAMIL
)));
36885 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTELUGU",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTELUGU
)));
36886 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKANNADA",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKANNADA
)));
36887 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMALAJALAM",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMALAJALAM
)));
36888 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSINHALESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSINHALESE
)));
36889 SWIG_Python_SetConstant(d
, "FONTENCODING_MACBURMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACBURMESE
)));
36890 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKHMER",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKHMER
)));
36891 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTHAI",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTHAI
)));
36892 SWIG_Python_SetConstant(d
, "FONTENCODING_MACLAOTIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACLAOTIAN
)));
36893 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGEORGIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGEORGIAN
)));
36894 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARMENIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARMENIAN
)));
36895 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCHINESESIMP",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCHINESESIMP
)));
36896 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTIBETAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTIBETAN
)));
36897 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMONGOLIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMONGOLIAN
)));
36898 SWIG_Python_SetConstant(d
, "FONTENCODING_MACETHIOPIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACETHIOPIC
)));
36899 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCENTRALEUR",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCENTRALEUR
)));
36900 SWIG_Python_SetConstant(d
, "FONTENCODING_MACVIATNAMESE",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACVIATNAMESE
)));
36901 SWIG_Python_SetConstant(d
, "FONTENCODING_MACARABICEXT",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACARABICEXT
)));
36902 SWIG_Python_SetConstant(d
, "FONTENCODING_MACSYMBOL",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACSYMBOL
)));
36903 SWIG_Python_SetConstant(d
, "FONTENCODING_MACDINGBATS",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACDINGBATS
)));
36904 SWIG_Python_SetConstant(d
, "FONTENCODING_MACTURKISH",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACTURKISH
)));
36905 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCROATIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCROATIAN
)));
36906 SWIG_Python_SetConstant(d
, "FONTENCODING_MACICELANDIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACICELANDIC
)));
36907 SWIG_Python_SetConstant(d
, "FONTENCODING_MACROMANIAN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACROMANIAN
)));
36908 SWIG_Python_SetConstant(d
, "FONTENCODING_MACCELTIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACCELTIC
)));
36909 SWIG_Python_SetConstant(d
, "FONTENCODING_MACGAELIC",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACGAELIC
)));
36910 SWIG_Python_SetConstant(d
, "FONTENCODING_MACKEYBOARD",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACKEYBOARD
)));
36911 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMIN",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMIN
)));
36912 SWIG_Python_SetConstant(d
, "FONTENCODING_MACMAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MACMAX
)));
36913 SWIG_Python_SetConstant(d
, "FONTENCODING_MAX",SWIG_From_int(static_cast< int >(wxFONTENCODING_MAX
)));
36914 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF16",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF16
)));
36915 SWIG_Python_SetConstant(d
, "FONTENCODING_UTF32",SWIG_From_int(static_cast< int >(wxFONTENCODING_UTF32
)));
36916 SWIG_Python_SetConstant(d
, "FONTENCODING_UNICODE",SWIG_From_int(static_cast< int >(wxFONTENCODING_UNICODE
)));
36917 SWIG_Python_SetConstant(d
, "FONTENCODING_GB2312",SWIG_From_int(static_cast< int >(wxFONTENCODING_GB2312
)));
36918 SWIG_Python_SetConstant(d
, "FONTENCODING_BIG5",SWIG_From_int(static_cast< int >(wxFONTENCODING_BIG5
)));
36919 SWIG_Python_SetConstant(d
, "FONTENCODING_SHIFT_JIS",SWIG_From_int(static_cast< int >(wxFONTENCODING_SHIFT_JIS
)));
36921 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
36923 SWIG_Python_SetConstant(d
, "LANGUAGE_DEFAULT",SWIG_From_int(static_cast< int >(wxLANGUAGE_DEFAULT
)));
36924 SWIG_Python_SetConstant(d
, "LANGUAGE_UNKNOWN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UNKNOWN
)));
36925 SWIG_Python_SetConstant(d
, "LANGUAGE_ABKHAZIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ABKHAZIAN
)));
36926 SWIG_Python_SetConstant(d
, "LANGUAGE_AFAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFAR
)));
36927 SWIG_Python_SetConstant(d
, "LANGUAGE_AFRIKAANS",SWIG_From_int(static_cast< int >(wxLANGUAGE_AFRIKAANS
)));
36928 SWIG_Python_SetConstant(d
, "LANGUAGE_ALBANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ALBANIAN
)));
36929 SWIG_Python_SetConstant(d
, "LANGUAGE_AMHARIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AMHARIC
)));
36930 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC
)));
36931 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_ALGERIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_ALGERIA
)));
36932 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_BAHRAIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_BAHRAIN
)));
36933 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_EGYPT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_EGYPT
)));
36934 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_IRAQ",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_IRAQ
)));
36935 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_JORDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_JORDAN
)));
36936 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_KUWAIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_KUWAIT
)));
36937 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LEBANON",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LEBANON
)));
36938 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_LIBYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_LIBYA
)));
36939 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_MOROCCO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_MOROCCO
)));
36940 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_OMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_OMAN
)));
36941 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_QATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_QATAR
)));
36942 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SAUDI_ARABIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SAUDI_ARABIA
)));
36943 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SUDAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SUDAN
)));
36944 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_SYRIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_SYRIA
)));
36945 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_TUNISIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_TUNISIA
)));
36946 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_UAE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_UAE
)));
36947 SWIG_Python_SetConstant(d
, "LANGUAGE_ARABIC_YEMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARABIC_YEMEN
)));
36948 SWIG_Python_SetConstant(d
, "LANGUAGE_ARMENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ARMENIAN
)));
36949 SWIG_Python_SetConstant(d
, "LANGUAGE_ASSAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ASSAMESE
)));
36950 SWIG_Python_SetConstant(d
, "LANGUAGE_AYMARA",SWIG_From_int(static_cast< int >(wxLANGUAGE_AYMARA
)));
36951 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI
)));
36952 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_CYRILLIC
)));
36953 SWIG_Python_SetConstant(d
, "LANGUAGE_AZERI_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_AZERI_LATIN
)));
36954 SWIG_Python_SetConstant(d
, "LANGUAGE_BASHKIR",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASHKIR
)));
36955 SWIG_Python_SetConstant(d
, "LANGUAGE_BASQUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BASQUE
)));
36956 SWIG_Python_SetConstant(d
, "LANGUAGE_BELARUSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BELARUSIAN
)));
36957 SWIG_Python_SetConstant(d
, "LANGUAGE_BENGALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BENGALI
)));
36958 SWIG_Python_SetConstant(d
, "LANGUAGE_BHUTANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BHUTANI
)));
36959 SWIG_Python_SetConstant(d
, "LANGUAGE_BIHARI",SWIG_From_int(static_cast< int >(wxLANGUAGE_BIHARI
)));
36960 SWIG_Python_SetConstant(d
, "LANGUAGE_BISLAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_BISLAMA
)));
36961 SWIG_Python_SetConstant(d
, "LANGUAGE_BRETON",SWIG_From_int(static_cast< int >(wxLANGUAGE_BRETON
)));
36962 SWIG_Python_SetConstant(d
, "LANGUAGE_BULGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_BULGARIAN
)));
36963 SWIG_Python_SetConstant(d
, "LANGUAGE_BURMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_BURMESE
)));
36964 SWIG_Python_SetConstant(d
, "LANGUAGE_CAMBODIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CAMBODIAN
)));
36965 SWIG_Python_SetConstant(d
, "LANGUAGE_CATALAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CATALAN
)));
36966 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE
)));
36967 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SIMPLIFIED",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SIMPLIFIED
)));
36968 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TRADITIONAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TRADITIONAL
)));
36969 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_HONGKONG",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_HONGKONG
)));
36970 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_MACAU",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_MACAU
)));
36971 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_SINGAPORE",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_SINGAPORE
)));
36972 SWIG_Python_SetConstant(d
, "LANGUAGE_CHINESE_TAIWAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CHINESE_TAIWAN
)));
36973 SWIG_Python_SetConstant(d
, "LANGUAGE_CORSICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CORSICAN
)));
36974 SWIG_Python_SetConstant(d
, "LANGUAGE_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_CROATIAN
)));
36975 SWIG_Python_SetConstant(d
, "LANGUAGE_CZECH",SWIG_From_int(static_cast< int >(wxLANGUAGE_CZECH
)));
36976 SWIG_Python_SetConstant(d
, "LANGUAGE_DANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DANISH
)));
36977 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH
)));
36978 SWIG_Python_SetConstant(d
, "LANGUAGE_DUTCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_DUTCH_BELGIAN
)));
36979 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH
)));
36980 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_UK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_UK
)));
36981 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_US
)));
36982 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_AUSTRALIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_AUSTRALIA
)));
36983 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BELIZE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BELIZE
)));
36984 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_BOTSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_BOTSWANA
)));
36985 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CANADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CANADA
)));
36986 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_CARIBBEAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_CARIBBEAN
)));
36987 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_DENMARK",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_DENMARK
)));
36988 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_EIRE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_EIRE
)));
36989 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_JAMAICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_JAMAICA
)));
36990 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_NEW_ZEALAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_NEW_ZEALAND
)));
36991 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_PHILIPPINES",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_PHILIPPINES
)));
36992 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_SOUTH_AFRICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_SOUTH_AFRICA
)));
36993 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_TRINIDAD",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_TRINIDAD
)));
36994 SWIG_Python_SetConstant(d
, "LANGUAGE_ENGLISH_ZIMBABWE",SWIG_From_int(static_cast< int >(wxLANGUAGE_ENGLISH_ZIMBABWE
)));
36995 SWIG_Python_SetConstant(d
, "LANGUAGE_ESPERANTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESPERANTO
)));
36996 SWIG_Python_SetConstant(d
, "LANGUAGE_ESTONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ESTONIAN
)));
36997 SWIG_Python_SetConstant(d
, "LANGUAGE_FAEROESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_FAEROESE
)));
36998 SWIG_Python_SetConstant(d
, "LANGUAGE_FARSI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FARSI
)));
36999 SWIG_Python_SetConstant(d
, "LANGUAGE_FIJI",SWIG_From_int(static_cast< int >(wxLANGUAGE_FIJI
)));
37000 SWIG_Python_SetConstant(d
, "LANGUAGE_FINNISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FINNISH
)));
37001 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH
)));
37002 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_BELGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_BELGIAN
)));
37003 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_CANADIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_CANADIAN
)));
37004 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_LUXEMBOURG
)));
37005 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_MONACO",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_MONACO
)));
37006 SWIG_Python_SetConstant(d
, "LANGUAGE_FRENCH_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRENCH_SWISS
)));
37007 SWIG_Python_SetConstant(d
, "LANGUAGE_FRISIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_FRISIAN
)));
37008 SWIG_Python_SetConstant(d
, "LANGUAGE_GALICIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GALICIAN
)));
37009 SWIG_Python_SetConstant(d
, "LANGUAGE_GEORGIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GEORGIAN
)));
37010 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN
)));
37011 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_AUSTRIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_AUSTRIAN
)));
37012 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_BELGIUM",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_BELGIUM
)));
37013 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LIECHTENSTEIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LIECHTENSTEIN
)));
37014 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_LUXEMBOURG",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_LUXEMBOURG
)));
37015 SWIG_Python_SetConstant(d
, "LANGUAGE_GERMAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_GERMAN_SWISS
)));
37016 SWIG_Python_SetConstant(d
, "LANGUAGE_GREEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREEK
)));
37017 SWIG_Python_SetConstant(d
, "LANGUAGE_GREENLANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_GREENLANDIC
)));
37018 SWIG_Python_SetConstant(d
, "LANGUAGE_GUARANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUARANI
)));
37019 SWIG_Python_SetConstant(d
, "LANGUAGE_GUJARATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_GUJARATI
)));
37020 SWIG_Python_SetConstant(d
, "LANGUAGE_HAUSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_HAUSA
)));
37021 SWIG_Python_SetConstant(d
, "LANGUAGE_HEBREW",SWIG_From_int(static_cast< int >(wxLANGUAGE_HEBREW
)));
37022 SWIG_Python_SetConstant(d
, "LANGUAGE_HINDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_HINDI
)));
37023 SWIG_Python_SetConstant(d
, "LANGUAGE_HUNGARIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_HUNGARIAN
)));
37024 SWIG_Python_SetConstant(d
, "LANGUAGE_ICELANDIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_ICELANDIC
)));
37025 SWIG_Python_SetConstant(d
, "LANGUAGE_INDONESIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_INDONESIAN
)));
37026 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUA
)));
37027 SWIG_Python_SetConstant(d
, "LANGUAGE_INTERLINGUE",SWIG_From_int(static_cast< int >(wxLANGUAGE_INTERLINGUE
)));
37028 SWIG_Python_SetConstant(d
, "LANGUAGE_INUKTITUT",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUKTITUT
)));
37029 SWIG_Python_SetConstant(d
, "LANGUAGE_INUPIAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_INUPIAK
)));
37030 SWIG_Python_SetConstant(d
, "LANGUAGE_IRISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_IRISH
)));
37031 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN
)));
37032 SWIG_Python_SetConstant(d
, "LANGUAGE_ITALIAN_SWISS",SWIG_From_int(static_cast< int >(wxLANGUAGE_ITALIAN_SWISS
)));
37033 SWIG_Python_SetConstant(d
, "LANGUAGE_JAPANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAPANESE
)));
37034 SWIG_Python_SetConstant(d
, "LANGUAGE_JAVANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_JAVANESE
)));
37035 SWIG_Python_SetConstant(d
, "LANGUAGE_KANNADA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KANNADA
)));
37036 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI
)));
37037 SWIG_Python_SetConstant(d
, "LANGUAGE_KASHMIRI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KASHMIRI_INDIA
)));
37038 SWIG_Python_SetConstant(d
, "LANGUAGE_KAZAKH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KAZAKH
)));
37039 SWIG_Python_SetConstant(d
, "LANGUAGE_KERNEWEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_KERNEWEK
)));
37040 SWIG_Python_SetConstant(d
, "LANGUAGE_KINYARWANDA",SWIG_From_int(static_cast< int >(wxLANGUAGE_KINYARWANDA
)));
37041 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRGHIZ",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRGHIZ
)));
37042 SWIG_Python_SetConstant(d
, "LANGUAGE_KIRUNDI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KIRUNDI
)));
37043 SWIG_Python_SetConstant(d
, "LANGUAGE_KONKANI",SWIG_From_int(static_cast< int >(wxLANGUAGE_KONKANI
)));
37044 SWIG_Python_SetConstant(d
, "LANGUAGE_KOREAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_KOREAN
)));
37045 SWIG_Python_SetConstant(d
, "LANGUAGE_KURDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_KURDISH
)));
37046 SWIG_Python_SetConstant(d
, "LANGUAGE_LAOTHIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LAOTHIAN
)));
37047 SWIG_Python_SetConstant(d
, "LANGUAGE_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATIN
)));
37048 SWIG_Python_SetConstant(d
, "LANGUAGE_LATVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LATVIAN
)));
37049 SWIG_Python_SetConstant(d
, "LANGUAGE_LINGALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_LINGALA
)));
37050 SWIG_Python_SetConstant(d
, "LANGUAGE_LITHUANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_LITHUANIAN
)));
37051 SWIG_Python_SetConstant(d
, "LANGUAGE_MACEDONIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MACEDONIAN
)));
37052 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAGASY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAGASY
)));
37053 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY
)));
37054 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAYALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAYALAM
)));
37055 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_BRUNEI_DARUSSALAM",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_BRUNEI_DARUSSALAM
)));
37056 SWIG_Python_SetConstant(d
, "LANGUAGE_MALAY_MALAYSIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALAY_MALAYSIA
)));
37057 SWIG_Python_SetConstant(d
, "LANGUAGE_MALTESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_MALTESE
)));
37058 SWIG_Python_SetConstant(d
, "LANGUAGE_MANIPURI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MANIPURI
)));
37059 SWIG_Python_SetConstant(d
, "LANGUAGE_MAORI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MAORI
)));
37060 SWIG_Python_SetConstant(d
, "LANGUAGE_MARATHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_MARATHI
)));
37061 SWIG_Python_SetConstant(d
, "LANGUAGE_MOLDAVIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MOLDAVIAN
)));
37062 SWIG_Python_SetConstant(d
, "LANGUAGE_MONGOLIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_MONGOLIAN
)));
37063 SWIG_Python_SetConstant(d
, "LANGUAGE_NAURU",SWIG_From_int(static_cast< int >(wxLANGUAGE_NAURU
)));
37064 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI
)));
37065 SWIG_Python_SetConstant(d
, "LANGUAGE_NEPALI_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_NEPALI_INDIA
)));
37066 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_BOKMAL",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_BOKMAL
)));
37067 SWIG_Python_SetConstant(d
, "LANGUAGE_NORWEGIAN_NYNORSK",SWIG_From_int(static_cast< int >(wxLANGUAGE_NORWEGIAN_NYNORSK
)));
37068 SWIG_Python_SetConstant(d
, "LANGUAGE_OCCITAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_OCCITAN
)));
37069 SWIG_Python_SetConstant(d
, "LANGUAGE_ORIYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_ORIYA
)));
37070 SWIG_Python_SetConstant(d
, "LANGUAGE_OROMO",SWIG_From_int(static_cast< int >(wxLANGUAGE_OROMO
)));
37071 SWIG_Python_SetConstant(d
, "LANGUAGE_PASHTO",SWIG_From_int(static_cast< int >(wxLANGUAGE_PASHTO
)));
37072 SWIG_Python_SetConstant(d
, "LANGUAGE_POLISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_POLISH
)));
37073 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE
)));
37074 SWIG_Python_SetConstant(d
, "LANGUAGE_PORTUGUESE_BRAZILIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_PORTUGUESE_BRAZILIAN
)));
37075 SWIG_Python_SetConstant(d
, "LANGUAGE_PUNJABI",SWIG_From_int(static_cast< int >(wxLANGUAGE_PUNJABI
)));
37076 SWIG_Python_SetConstant(d
, "LANGUAGE_QUECHUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_QUECHUA
)));
37077 SWIG_Python_SetConstant(d
, "LANGUAGE_RHAETO_ROMANCE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RHAETO_ROMANCE
)));
37078 SWIG_Python_SetConstant(d
, "LANGUAGE_ROMANIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_ROMANIAN
)));
37079 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN
)));
37080 SWIG_Python_SetConstant(d
, "LANGUAGE_RUSSIAN_UKRAINE",SWIG_From_int(static_cast< int >(wxLANGUAGE_RUSSIAN_UKRAINE
)));
37081 SWIG_Python_SetConstant(d
, "LANGUAGE_SAMOAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SAMOAN
)));
37082 SWIG_Python_SetConstant(d
, "LANGUAGE_SANGHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANGHO
)));
37083 SWIG_Python_SetConstant(d
, "LANGUAGE_SANSKRIT",SWIG_From_int(static_cast< int >(wxLANGUAGE_SANSKRIT
)));
37084 SWIG_Python_SetConstant(d
, "LANGUAGE_SCOTS_GAELIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SCOTS_GAELIC
)));
37085 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN
)));
37086 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_CYRILLIC
)));
37087 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBIAN_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBIAN_LATIN
)));
37088 SWIG_Python_SetConstant(d
, "LANGUAGE_SERBO_CROATIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SERBO_CROATIAN
)));
37089 SWIG_Python_SetConstant(d
, "LANGUAGE_SESOTHO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SESOTHO
)));
37090 SWIG_Python_SetConstant(d
, "LANGUAGE_SETSWANA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SETSWANA
)));
37091 SWIG_Python_SetConstant(d
, "LANGUAGE_SHONA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SHONA
)));
37092 SWIG_Python_SetConstant(d
, "LANGUAGE_SINDHI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINDHI
)));
37093 SWIG_Python_SetConstant(d
, "LANGUAGE_SINHALESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SINHALESE
)));
37094 SWIG_Python_SetConstant(d
, "LANGUAGE_SISWATI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SISWATI
)));
37095 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVAK",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVAK
)));
37096 SWIG_Python_SetConstant(d
, "LANGUAGE_SLOVENIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SLOVENIAN
)));
37097 SWIG_Python_SetConstant(d
, "LANGUAGE_SOMALI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SOMALI
)));
37098 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH
)));
37099 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ARGENTINA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ARGENTINA
)));
37100 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_BOLIVIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_BOLIVIA
)));
37101 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_CHILE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_CHILE
)));
37102 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COLOMBIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COLOMBIA
)));
37103 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_COSTA_RICA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_COSTA_RICA
)));
37104 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_DOMINICAN_REPUBLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_DOMINICAN_REPUBLIC
)));
37105 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_ECUADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_ECUADOR
)));
37106 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_EL_SALVADOR",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_EL_SALVADOR
)));
37107 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_GUATEMALA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_GUATEMALA
)));
37108 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_HONDURAS",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_HONDURAS
)));
37109 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MEXICAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MEXICAN
)));
37110 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_MODERN",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_MODERN
)));
37111 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_NICARAGUA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_NICARAGUA
)));
37112 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PANAMA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PANAMA
)));
37113 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PARAGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PARAGUAY
)));
37114 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PERU",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PERU
)));
37115 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_PUERTO_RICO",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_PUERTO_RICO
)));
37116 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_URUGUAY",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_URUGUAY
)));
37117 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_US",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_US
)));
37118 SWIG_Python_SetConstant(d
, "LANGUAGE_SPANISH_VENEZUELA",SWIG_From_int(static_cast< int >(wxLANGUAGE_SPANISH_VENEZUELA
)));
37119 SWIG_Python_SetConstant(d
, "LANGUAGE_SUNDANESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_SUNDANESE
)));
37120 SWIG_Python_SetConstant(d
, "LANGUAGE_SWAHILI",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWAHILI
)));
37121 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH
)));
37122 SWIG_Python_SetConstant(d
, "LANGUAGE_SWEDISH_FINLAND",SWIG_From_int(static_cast< int >(wxLANGUAGE_SWEDISH_FINLAND
)));
37123 SWIG_Python_SetConstant(d
, "LANGUAGE_TAGALOG",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAGALOG
)));
37124 SWIG_Python_SetConstant(d
, "LANGUAGE_TAJIK",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAJIK
)));
37125 SWIG_Python_SetConstant(d
, "LANGUAGE_TAMIL",SWIG_From_int(static_cast< int >(wxLANGUAGE_TAMIL
)));
37126 SWIG_Python_SetConstant(d
, "LANGUAGE_TATAR",SWIG_From_int(static_cast< int >(wxLANGUAGE_TATAR
)));
37127 SWIG_Python_SetConstant(d
, "LANGUAGE_TELUGU",SWIG_From_int(static_cast< int >(wxLANGUAGE_TELUGU
)));
37128 SWIG_Python_SetConstant(d
, "LANGUAGE_THAI",SWIG_From_int(static_cast< int >(wxLANGUAGE_THAI
)));
37129 SWIG_Python_SetConstant(d
, "LANGUAGE_TIBETAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIBETAN
)));
37130 SWIG_Python_SetConstant(d
, "LANGUAGE_TIGRINYA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TIGRINYA
)));
37131 SWIG_Python_SetConstant(d
, "LANGUAGE_TONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TONGA
)));
37132 SWIG_Python_SetConstant(d
, "LANGUAGE_TSONGA",SWIG_From_int(static_cast< int >(wxLANGUAGE_TSONGA
)));
37133 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKISH
)));
37134 SWIG_Python_SetConstant(d
, "LANGUAGE_TURKMEN",SWIG_From_int(static_cast< int >(wxLANGUAGE_TURKMEN
)));
37135 SWIG_Python_SetConstant(d
, "LANGUAGE_TWI",SWIG_From_int(static_cast< int >(wxLANGUAGE_TWI
)));
37136 SWIG_Python_SetConstant(d
, "LANGUAGE_UIGHUR",SWIG_From_int(static_cast< int >(wxLANGUAGE_UIGHUR
)));
37137 SWIG_Python_SetConstant(d
, "LANGUAGE_UKRAINIAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UKRAINIAN
)));
37138 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU
)));
37139 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_INDIA",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_INDIA
)));
37140 SWIG_Python_SetConstant(d
, "LANGUAGE_URDU_PAKISTAN",SWIG_From_int(static_cast< int >(wxLANGUAGE_URDU_PAKISTAN
)));
37141 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK
)));
37142 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_CYRILLIC",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_CYRILLIC
)));
37143 SWIG_Python_SetConstant(d
, "LANGUAGE_UZBEK_LATIN",SWIG_From_int(static_cast< int >(wxLANGUAGE_UZBEK_LATIN
)));
37144 SWIG_Python_SetConstant(d
, "LANGUAGE_VIETNAMESE",SWIG_From_int(static_cast< int >(wxLANGUAGE_VIETNAMESE
)));
37145 SWIG_Python_SetConstant(d
, "LANGUAGE_VOLAPUK",SWIG_From_int(static_cast< int >(wxLANGUAGE_VOLAPUK
)));
37146 SWIG_Python_SetConstant(d
, "LANGUAGE_WELSH",SWIG_From_int(static_cast< int >(wxLANGUAGE_WELSH
)));
37147 SWIG_Python_SetConstant(d
, "LANGUAGE_WOLOF",SWIG_From_int(static_cast< int >(wxLANGUAGE_WOLOF
)));
37148 SWIG_Python_SetConstant(d
, "LANGUAGE_XHOSA",SWIG_From_int(static_cast< int >(wxLANGUAGE_XHOSA
)));
37149 SWIG_Python_SetConstant(d
, "LANGUAGE_YIDDISH",SWIG_From_int(static_cast< int >(wxLANGUAGE_YIDDISH
)));
37150 SWIG_Python_SetConstant(d
, "LANGUAGE_YORUBA",SWIG_From_int(static_cast< int >(wxLANGUAGE_YORUBA
)));
37151 SWIG_Python_SetConstant(d
, "LANGUAGE_ZHUANG",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZHUANG
)));
37152 SWIG_Python_SetConstant(d
, "LANGUAGE_ZULU",SWIG_From_int(static_cast< int >(wxLANGUAGE_ZULU
)));
37153 SWIG_Python_SetConstant(d
, "LANGUAGE_USER_DEFINED",SWIG_From_int(static_cast< int >(wxLANGUAGE_USER_DEFINED
)));
37154 SWIG_Python_SetConstant(d
, "LOCALE_CAT_NUMBER",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_NUMBER
)));
37155 SWIG_Python_SetConstant(d
, "LOCALE_CAT_DATE",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_DATE
)));
37156 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MONEY",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MONEY
)));
37157 SWIG_Python_SetConstant(d
, "LOCALE_CAT_MAX",SWIG_From_int(static_cast< int >(wxLOCALE_CAT_MAX
)));
37158 SWIG_Python_SetConstant(d
, "LOCALE_THOUSANDS_SEP",SWIG_From_int(static_cast< int >(wxLOCALE_THOUSANDS_SEP
)));
37159 SWIG_Python_SetConstant(d
, "LOCALE_DECIMAL_POINT",SWIG_From_int(static_cast< int >(wxLOCALE_DECIMAL_POINT
)));
37160 SWIG_Python_SetConstant(d
, "LOCALE_LOAD_DEFAULT",SWIG_From_int(static_cast< int >(wxLOCALE_LOAD_DEFAULT
)));
37161 SWIG_Python_SetConstant(d
, "LOCALE_CONV_ENCODING",SWIG_From_int(static_cast< int >(wxLOCALE_CONV_ENCODING
)));
37162 SWIG_Python_SetConstant(d
, "CONVERT_STRICT",SWIG_From_int(static_cast< int >(wxCONVERT_STRICT
)));
37163 SWIG_Python_SetConstant(d
, "CONVERT_SUBSTITUTE",SWIG_From_int(static_cast< int >(wxCONVERT_SUBSTITUTE
)));
37164 SWIG_Python_SetConstant(d
, "PLATFORM_CURRENT",SWIG_From_int(static_cast< int >(wxPLATFORM_CURRENT
)));
37165 SWIG_Python_SetConstant(d
, "PLATFORM_UNIX",SWIG_From_int(static_cast< int >(wxPLATFORM_UNIX
)));
37166 SWIG_Python_SetConstant(d
, "PLATFORM_WINDOWS",SWIG_From_int(static_cast< int >(wxPLATFORM_WINDOWS
)));
37167 SWIG_Python_SetConstant(d
, "PLATFORM_OS2",SWIG_From_int(static_cast< int >(wxPLATFORM_OS2
)));
37168 SWIG_Python_SetConstant(d
, "PLATFORM_MAC",SWIG_From_int(static_cast< int >(wxPLATFORM_MAC
)));
37169 SWIG_Python_SetConstant(d
, "BUFFER_VIRTUAL_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_VIRTUAL_AREA
)));
37170 SWIG_Python_SetConstant(d
, "BUFFER_CLIENT_AREA",SWIG_From_int(static_cast< int >(wxBUFFER_CLIENT_AREA
)));
37171 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_NORMAL
)));
37172 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_TRANSPARENT",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_TRANSPARENT
)));
37173 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_SELECTED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_SELECTED
)));
37174 SWIG_Python_SetConstant(d
, "IMAGELIST_DRAW_FOCUSED",SWIG_From_int(static_cast< int >(wxIMAGELIST_DRAW_FOCUSED
)));
37175 SWIG_Python_SetConstant(d
, "IMAGE_LIST_NORMAL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_NORMAL
)));
37176 SWIG_Python_SetConstant(d
, "IMAGE_LIST_SMALL",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_SMALL
)));
37177 SWIG_Python_SetConstant(d
, "IMAGE_LIST_STATE",SWIG_From_int(static_cast< int >(wxIMAGE_LIST_STATE
)));
37178 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLACK
)));
37179 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_BLUE
)));
37180 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_CYAN
)));
37181 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREEN
)));
37182 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_GREY
)));
37183 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_LIGHTGREY
)));
37184 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_MEDIUMGREY
)));
37185 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_RED",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_RED
)));
37186 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_TRANSPARENT
)));
37187 SWIG_Python_SetConstant(d
, "StockGDI_BRUSH_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::BRUSH_WHITE
)));
37188 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLACK
)));
37189 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_BLUE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_BLUE
)));
37190 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_CYAN
)));
37191 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_GREEN
)));
37192 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_LIGHTGREY
)));
37193 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_RED",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_RED
)));
37194 SWIG_Python_SetConstant(d
, "StockGDI_COLOUR_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::COLOUR_WHITE
)));
37195 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_CROSS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_CROSS
)));
37196 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_HOURGLASS",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_HOURGLASS
)));
37197 SWIG_Python_SetConstant(d
, "StockGDI_CURSOR_STANDARD",SWIG_From_int(static_cast< int >(wxStockGDI::CURSOR_STANDARD
)));
37198 SWIG_Python_SetConstant(d
, "StockGDI_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_ITALIC
)));
37199 SWIG_Python_SetConstant(d
, "StockGDI_FONT_NORMAL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_NORMAL
)));
37200 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SMALL",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SMALL
)));
37201 SWIG_Python_SetConstant(d
, "StockGDI_FONT_SWISS",SWIG_From_int(static_cast< int >(wxStockGDI::FONT_SWISS
)));
37202 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACK",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACK
)));
37203 SWIG_Python_SetConstant(d
, "StockGDI_PEN_BLACKDASHED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_BLACKDASHED
)));
37204 SWIG_Python_SetConstant(d
, "StockGDI_PEN_CYAN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_CYAN
)));
37205 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREEN",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREEN
)));
37206 SWIG_Python_SetConstant(d
, "StockGDI_PEN_GREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_GREY
)));
37207 SWIG_Python_SetConstant(d
, "StockGDI_PEN_LIGHTGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_LIGHTGREY
)));
37208 SWIG_Python_SetConstant(d
, "StockGDI_PEN_MEDIUMGREY",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_MEDIUMGREY
)));
37209 SWIG_Python_SetConstant(d
, "StockGDI_PEN_RED",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_RED
)));
37210 SWIG_Python_SetConstant(d
, "StockGDI_PEN_TRANSPARENT",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_TRANSPARENT
)));
37211 SWIG_Python_SetConstant(d
, "StockGDI_PEN_WHITE",SWIG_From_int(static_cast< int >(wxStockGDI::PEN_WHITE
)));
37212 SWIG_Python_SetConstant(d
, "StockGDI_ITEMCOUNT",SWIG_From_int(static_cast< int >(wxStockGDI::ITEMCOUNT
)));
37213 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
37214 SWIG_addvarlink(SWIG_globals(),(char*)"NullBitmap",NullBitmap_get
, NullBitmap_set
);
37215 SWIG_addvarlink(SWIG_globals(),(char*)"NullIcon",NullIcon_get
, NullIcon_set
);
37216 SWIG_addvarlink(SWIG_globals(),(char*)"NullCursor",NullCursor_get
, NullCursor_set
);
37217 SWIG_addvarlink(SWIG_globals(),(char*)"NullPen",NullPen_get
, NullPen_set
);
37218 SWIG_addvarlink(SWIG_globals(),(char*)"NullBrush",NullBrush_get
, NullBrush_set
);
37219 SWIG_addvarlink(SWIG_globals(),(char*)"NullPalette",NullPalette_get
, NullPalette_set
);
37220 SWIG_addvarlink(SWIG_globals(),(char*)"NullFont",NullFont_get
, NullFont_set
);
37221 SWIG_addvarlink(SWIG_globals(),(char*)"NullColour",NullColour_get
, NullColour_set
);
37222 SWIG_Python_SetConstant(d
, "CONTROL_DISABLED",SWIG_From_int(static_cast< int >(wxCONTROL_DISABLED
)));
37223 SWIG_Python_SetConstant(d
, "CONTROL_FOCUSED",SWIG_From_int(static_cast< int >(wxCONTROL_FOCUSED
)));
37224 SWIG_Python_SetConstant(d
, "CONTROL_PRESSED",SWIG_From_int(static_cast< int >(wxCONTROL_PRESSED
)));
37225 SWIG_Python_SetConstant(d
, "CONTROL_SPECIAL",SWIG_From_int(static_cast< int >(wxCONTROL_SPECIAL
)));
37226 SWIG_Python_SetConstant(d
, "CONTROL_ISDEFAULT",SWIG_From_int(static_cast< int >(wxCONTROL_ISDEFAULT
)));
37227 SWIG_Python_SetConstant(d
, "CONTROL_ISSUBMENU",SWIG_From_int(static_cast< int >(wxCONTROL_ISSUBMENU
)));
37228 SWIG_Python_SetConstant(d
, "CONTROL_EXPANDED",SWIG_From_int(static_cast< int >(wxCONTROL_EXPANDED
)));
37229 SWIG_Python_SetConstant(d
, "CONTROL_SIZEGRIP",SWIG_From_int(static_cast< int >(wxCONTROL_SIZEGRIP
)));
37230 SWIG_Python_SetConstant(d
, "CONTROL_CURRENT",SWIG_From_int(static_cast< int >(wxCONTROL_CURRENT
)));
37231 SWIG_Python_SetConstant(d
, "CONTROL_SELECTED",SWIG_From_int(static_cast< int >(wxCONTROL_SELECTED
)));
37232 SWIG_Python_SetConstant(d
, "CONTROL_CHECKED",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKED
)));
37233 SWIG_Python_SetConstant(d
, "CONTROL_CHECKABLE",SWIG_From_int(static_cast< int >(wxCONTROL_CHECKABLE
)));
37234 SWIG_Python_SetConstant(d
, "CONTROL_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCONTROL_UNDETERMINED
)));
37235 SWIG_Python_SetConstant(d
, "CONTROL_FLAGS_MASK",SWIG_From_int(static_cast< int >(wxCONTROL_FLAGS_MASK
)));
37236 SWIG_Python_SetConstant(d
, "CONTROL_DIRTY",SWIG_From_int(static_cast< int >(wxCONTROL_DIRTY
)));
37237 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_NONE",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_NONE
)));
37238 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_UP",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_UP
)));
37239 SWIG_Python_SetConstant(d
, "HDR_SORT_ICON_DOWN",SWIG_From_int(static_cast< int >(wxHDR_SORT_ICON_DOWN
)));
37240 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Version",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Version
)));
37241 SWIG_Python_SetConstant(d
, "RendererVersion_Current_Age",SWIG_From_int(static_cast< int >(wxRendererVersion::Current_Age
)));
37243 // Work around a chicken/egg problem in drawlist.cpp
37244 wxPyDrawList_SetAPIPtr();